
Opencode-Raven 将有噪声的工具工作放在专注于 Raven 代理的背后,这样你的主模型就能得到简洁的答案,而不是原始的搜索结果、文档页面、GitHub 示例、MCP 输出或大型 MCP 模式。
概览
opencode-raven 将噪声工具工作排除在主OpenCode上下文之外。 为什么 Raven Raven 将搜索和按需 MCP 检索委派给不同的专注代理,然后返回简洁的证据给调用会话。通过 raven_seek 路由 OpenCode 搜索工具和全局配置的 MCP。通过 raven_mcp 使用可单独配置的模型进行按需 MCP 检索。将可选的按需 MCP 模式排除在主模型工具列表中。预配置 Context7、Exa 和 Grep.app 端点。跟踪通过委派避免的估计主会话上下文。 Raven需要OpenCode 1.15.12或更新版本。添加到opencode.jsonc: 重启 OpenCode,然后运行 /raven 以验证已加载的版本、型号、路由、MCP 健康状况和预计节省。新安装时,选择模型后可能会要求再重启一次。 OpenCode 从 npm 解析包并自动缓存。
概述(AI 翻译)
OpenCode-Raven 将嘈杂的工具工作排除在你的主OpenCode环境中。 支持OpenCode V2(2.0.26+)和OpenCode V1(1.18.29+),合集于一体。
为什么是Raven Raven将搜索和按需MCP检索委派给不同的专注代理,然后将简洁证据返回调用会话。
通过raven_seek路由OpenCode搜索工具和全局配置的MCP。 通过raven_mcp 使用可单独配置的模型进行按需 MCP 检索。 将可选的按需MCP模式排除在主模型工具列表中。 预配置 Context7、Exa 和 Grep.app 端点。 追踪通过委派避免的估计主会话上下文。
安装
Raven 2.3 支持 OpenCode V2 (2.0.26+)。 OpenCode V1 (1.18.29+) 在同一包中依然支持——无需单独插件。
开放代码 V2
在opencode.jsonc中使用v2 plugins键:
开放代码 V1
在 opencode.jsonc 中使用 v1 plugin 键:
重启 OpenCode,然后运行 /raven 以验证已加载的版本、型号、路由、MCP 健康状况及预计节省。新安装时,选择模型后可能会要求额外重启一次。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Install
Raven 2.3 supports OpenCode V2 (2.0.26+). OpenCode V1 (1.18.29+) remains supported in the same package—no separate plugin is needed.
OpenCode V2
In OpenCode’s Install plugin feature, enter opencode-raven.
Or install globally from the CLI:
opencode plugin add opencode-raven
Either way, OpenCode manages the plugin configuration and automatically loads Raven’s terminal companion—no separate terminal plugin install is needed.
For manual configuration, use the v2 plugins key in opencode.jsonc instead:
{
"plugins": ["opencode-raven"]
}
OpenCode V1
Use the v1 plugin key in opencode.jsonc:
{
"plugin": ["opencode-raven"]
}
Restart OpenCode, then run /raven to verify the loaded version, model, routing, MCP health, and estimated savings. A fresh install may ask for one additional restart after selecting its model.
OpenCode resolves the package from npm and caches it automatically.
Upgrading From OpenCode 1 To 2
Keep using opencode-raven; change its OpenCode config entry from plugin to plugins. Raven’s existing ~/.config/opencode/opencode-raven/raven-config.json is shared by both versions, including models, on-demand MCPs, routing settings, and stats. Quit and restart OpenCode after upgrading.
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →