feat(devin): add Devin CLI as a harness
维护者通常 1 天内回复
评估
这个 Issue 还没有评估数据。
描述
Devin CLI is a local harness we do not configure yet
Cognition's Devin CLI (devin) is a local terminal agent with user-level skills, MCP servers, hooks, rules and subagents, so the VGV plugins can reach it the way they reach Copilot and Codex.
What the docs say
Everything below comes from docs.devin.ai. Nothing has been run against the binary yet.
- Binary
devin, installed withcurl -fsSL https://cli.devin.ai/install.sh | bashorbrew install --cask devin-cli.devin version"is equivalent todevin --version" (commands). - User-level config lives in
~/.config/devin/, and "On Windows, this path is%APPDATA%\devin\instead" (extensibility). - Skills:
~/.config/devin/skills/<name>/SKILL.md, the sameSKILL.mdformat, frontmattername,description,argument-hint,allowed-tools,triggers,model(creating skills). - MCP:
~/.config/devin/mcp_config.json, standardmcpServersshape. Before v3000.3 servers lived under themcpServerskey ofconfig.jsonand are migrated on startup (MCP configuration). - Hooks: Claude Code's format, user-level under the
"hooks"key of~/.config/devin/config.json, withdecision,reason,hookSpecificOutputand exit code 2 to block (hooks). - Rules:
~/.config/devin/AGENTS.mdapplies to every project (rules). - Subagents:
~/.config/devin/agents/<name>.md, or<name>/AGENT.md(subagents).
Two calls to make first, which is why this is a spike
1. Devin already reads Claude Code's config. With read_config_from.claude on by default it imports rules from ~/.claude/CLAUDE.md, MCP servers from ~/.claude.json, ~/.claude/settings.json and ~/.claude/settings.local.json, and hooks from those same files (configuration import). Someone who installed for Claude too would get our MCP servers and hooks twice. Skills are the real gap: Claude skills are imported from .claude/skills/** in the project only, never from ~/.claude/skills. Decide what we write for Devin and what we leave to the import.
2. Devin installs Claude plugins natively. With no .devin-plugin/plugin.json, devin plugins install <owner/repo> falls back to .claude-plugin/plugin.json and honors the root .mcp.json and ${CLAUDE_PLUGIN_ROOT} (plugins). Same question we answered for Codex: is a translator the right shape, or do we shell out to devin plugins install? Note the docs call plugin hooks "best effort and fail open".
Scope
- Install the CLI, confirm the version banner, and check every path above against the binary before any of it is written down as fact.
- Add
devintoHarnessand follow the four steps in its doc comment: enum entry,DevinTranslatorregistered inharnessTranslators, brick var plus a__brick__folder, regenerate the bundle. - Translate skills, MCP servers, agents and rules, and override
hooks(), since the Claude Code hook format carries over nearly verbatim. %APPDATA%\devindoes not fitHarness._config, which is home-relative with/separators. Decide whether Devin ships macOS and Linux only for now.
Acceptance criteria
-
vgv_ai install --harness devinwrites the plugins' skills, MCP servers and agents where Devin reads them, without clobbering what the user already has. - A translated skill appears in a real
devinsession and the MCP servers connect. - The plugins' hooks run on a Dart edit, proven with
/hooksand a captured payload, or the hooks surface is left out with a note saying why. -
vgv_ai doctorandvgv_ai uninstallcover Devin. - No duplicated MCP server or hook when Claude Code is installed on the same machine.
Verified on
Nothing yet. Docs read 2026-10-15, the CLI is not installed on the machine this was written from.
- 主要语言
- Dart
- 星标
- 3
- 派生
- 0
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 40
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
VeryGoodOpenSource/vgv_ai_cli 的其他 Issue
-
feature
难度 4/5 3-5 天 新手友好度 35/100
VeryGoodOpenSource/vgv_ai_cli#142 ·
维护者通常 1 天内回复
-
feature
难度 4/5 3-5 天 新手友好度 45/100
VeryGoodOpenSource/vgv_ai_cli#141 ·
维护者通常 1 天内回复
-
feature
难度 4/5 3-5 天 新手友好度 48/100
VeryGoodOpenSource/vgv_ai_cli#140 ·
维护者通常 1 天内回复
-
feature
难度 4/5 3-5 天 新手友好度 55/100
VeryGoodOpenSource/vgv_ai_cli#139 ·
维护者通常 1 天内回复
-
feature
难度 4/5 3-5 天 新手友好度 48/100
VeryGoodOpenSource/vgv_ai_cli#138 ·
维护者通常 1 天内回复
查看 VeryGoodOpenSource/vgv_ai_cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
Vinillian/book_tracker#208 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
-
难度 1/5 1-3 小时 新手友好度 76/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
fdittgen-png/deskilo#3753 ·
维护者通常 1 天内回复
-
enhancement good first issue help wanted
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复