1
268
近 7 天 11
36.0
生态多维模型
1 个月前
2026-09-02
快速安装与配置
opencode.json写入当前项目的 opencode.json,只对这个仓库生效。
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@ranger-testing/opencode-plugin@3.1.8"]
}写入 ~/.config/opencode/opencode.json,对所有项目生效。
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@ranger-testing/opencode-plugin@3.1.8"]
}若你要在本地改造这个插件,先装到项目里再从本地路径引用。
shell
pnpm add -D @ranger-testing/opencode-pluginOpenCode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。
Ranger integrations for AI coding agents. This repo ships the Claude Code plugin and the OpenCode plugin.
Claude Code
- Install the CLI.
npm install -g @ranger-testing/ranger-cli
- Run setup from your project root.
ranger setup
- Restart Claude Code, then run
/ranger:enable.
OpenCode
- Install the CLI.
npm install -g @ranger-testing/ranger-cli
- Run setup from your project root.
ranger setup --opencode
- Confirm
opencode.jsonincludes the plugin.
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@ranger-testing/opencode-plugin"]
}
- Restart OpenCode, then run the
ranger_enabletool.
同类生态推荐
Gavel
@dsolisp/gavel
Minimalism + QA discipline for AI agents. Framework-adaptive test quality enforcement with YAGNI at the core.
Screenshot Vision
opencode-screenshot-vision
OpenCode plugin: let a text-only LLM read browser screenshots via local Ollama with OpenCode Zen fallback.
Browser Tools
opencode-browser-tools
OpenCode plugin wrapping vercel-labs/agent-browser so opencode can drive a real browser and validate UI.