Asia/Shanghai
ProjectsMay 5, 2026

opencode-vibe-island-plugin

opencode-vibe-island-plugin
一个社区维护的 OpenCode 插件,让 Vibe Island 在你装了 oh-my-openagent 时,仍然能正确识别 OpenCode 会话。 OpenCode + oh-my-openagent + Vibe Island 同机使用时,会同时出问题:
  • OpenCode 会话被显示为 Claude —— oh-my-openagent 的 Claude-hook 兼容层在 OpenCode 内重跑了 vibe-island-bridge --source claude,把 OpenCode 会话标成了 Claude。
  • 点击 Ghostty 跳转失效 —— 这些误标的记录没有 tty,Vibe Island 不知道该跳回哪里。
  • 会话标题被污染 —— /save 这类 slash 命令被展开成长长的 <auto-slash-command> 块;图片输入留下 [Image 1] dashboard:... 占位。两者都直接成了 notch 标题。
  • 订阅 OpenCode 插件事件(session.*、message.part.updated、permission.*、question.*)。
  • 通过 Vibe Island 的 Unix socket(~/.vibe-island/run/vibe-island.sock)发送事件,显式带上 source: "opencode"。
  • 沿进程树定位 opencode attach 终端的真实 tty,让点击跳转能回到对应 Ghostty tab。
  • 在 prompt 变成标题前,过滤 <auto-slash-command> / <command-instruction> 块和 [Image N] 占位。
  • 对 PermissionRequest 和 AskUserQuestion 复用 held connection 模式,等 Vibe Island 决策后再 in-process 回复 OpenCode。
Bash
curl -fsSL https://raw.githubusercontent.com/nxxxsooo/opencode-vibe-island-plugin/main/plugin/vibe-island.js \
  -o ~/.config/opencode/plugins/vibe-island.js
在 ~/.config/opencode/opencode.json 里把它列在 oh-my-openagent 之前:
Json
{
  "plugin": [
    "./plugins/vibe-island.js",
    "oh-my-openagent@latest"
  ]
}
再用 ~/.config/opencode/opencode-cc-plugin.json 阻止 Claude bridge 在 OpenCode 内重复触发:
Json
{
  "disabledHooks": {
    "PreToolUse":       ["vibe-island-bridge"],
    "PostToolUse":      ["vibe-island-bridge"],
    "UserPromptSubmit": ["vibe-island-bridge"],
    "Stop":             ["vibe-island-bridge"],
    "PreCompact":       ["vibe-island-bridge"]
  }
}
Bash
tail -f ~/Library/Logs/VibeIsland/vibe-island.log | grep 'recv event'
应该看到 source=opencode 而不是 source=claude,点击 Vibe Island 卡片能跳回 Ghostty。
不隶属于 Vibe Island。Vibe Island 是 Edward Luo / vibeisland.app 的产品。本仓库针对其文档化的 socket 协议做社区集成。

Related projects

OpenCode Annotate terminal review in Dracula theme with two annotations and a reaction toolbar

OpenCode Annotate

An unofficial OpenCode plugin for annotating AI replies, documents, and webpages, with a bundled terminal reviewer and optional browser companion.
another

another

Every coding-agent session in one place: find, resume and organize them, @-mention across agents, or write one into another agent's native store to continue it instead of pasting a summary.
Clean Design

Clean Design

Use the AI tools you already have to create editable visual projects that stay on your Mac.
Codex Minus

Codex Minus

A slimmed-down Codex manager for macOS and Windows: switch providers safely, manage official and custom model catalogs, and protect OAuth and context.
JumpOTP

JumpOTP

An on-demand TOTP helper for authorized SSH and JumpServer sessions. It calls an unlocked Bitwarden CLI only after a strict prompt match, submits at most once per connection, and keeps a visible manual fallback.
Codex Doubao Pets

Codex Doubao Pets

Six Doubao desktop pets you can install straight into Codex Desktop: choose from real character art, then install with one npm command.
loop

loop

One explicit trigger, then artifact readiness chains deep-grill, deep-design and deep-build until the work reaches a confirmed spec or a verified result.
Slash Saver

Slash Saver

A native macOS tool that does one thing for the physical slash key: switch to your chosen ASCII input source before the original keypress reaches the current app.
deep-grill

deep-grill

One Agent Skill, two modes: exploration turns a raw idea into a confirmed Product Brief, audit pressure-tests a formed plan, and ordinary replies keep the current session going.
Mingjian AI Services

Mingjian AI Services

A focused collaboration entry for teams moving from AI ideas to working products, Agent systems, and operable business workflows.
opencode-metrics

opencode-metrics

A per-session sidebar metrics plugin for the OpenCode TUI. It records speed, TTFT, tokens, cache and timing by sessionID and shows only the session you are attached to, not the global serve-mode totals.
opencode-plugin-fixes

opencode-plugin-fixes

Archived OpenCode guardrail experiment. The final source tree covers four narrow tool-call repairs; no npm package was ever published.
OpenCode Themes

OpenCode Themes

Terminal-inspired dark themes for Obsidian, Typora, and Ghostty, all synced to the official OpenCode TUI palette.
wechat-mp-publisher

wechat-mp-publisher

From a personal WeChat Official Account skill to a publicly installable npm package: local validation and sandbox preview first, and only a draft is created after you confirm.
SIGINT

SIGINT

An archived content-intelligence experiment that once connected Xiaohongshu and Douyin collection, AI analysis, n8n orchestration and a live dashboard into one pipeline.
MdictLive

MdictLive

Modern web reader for MDict dictionaries with React 19 SPA, dark mode, and faithful rendering.
SiliconLM

SiliconLM

Local LLM dashboard for Apple Silicon Macs, currently preserved without an active local deployment.
mdx2apple

mdx2apple

Convert complete MDict entries into native macOS dictionaries, with pronunciation, illustrations and Oxford dark-mode styling.