修复 1: ace-tool MCP 配置兼容性 - 改用参数传递模式(--base-url, --token)替代环境变量 - 修复代码准备了参数数组但未使用的问题 - 提高兼容性,不依赖 ace-tool 的环境变量支持 修复 2: Subagents 安装路径修正 - 从 ~/.claude/commands/ccg/agents/ 修正为 ~/.claude/agents/ccg/ - 确保 Claude Code 可以正确识别 subagents - 更新 TypeScript 和 Python 安装器 修改文件: - src/utils/installer.ts (installAceTool + agents 路径) - config.json (添加 agents 安装配置) - package.json (版本号 1.3.6 → 1.3.7) - CHANGELOG.md (添加详细更新日志)
62 lines
1.7 KiB
JSON
62 lines
1.7 KiB
JSON
{
|
||
"version": "1.0",
|
||
"name": "ccg",
|
||
"description": "CCG: Claude Code + Codex + Gemini 多模型协作系统",
|
||
"install_dir": "~/.claude",
|
||
"log_file": "install.log",
|
||
"modules": {
|
||
"core": {
|
||
"enabled": true,
|
||
"description": "核心工作流 - 多模型协作 (Codex + Gemini)",
|
||
"operations": [
|
||
{
|
||
"type": "merge_dir",
|
||
"source": "commands",
|
||
"target": "commands",
|
||
"description": "安装 /ccg:xxx 命令 (17个斜杠命令)"
|
||
},
|
||
{
|
||
"type": "copy_dir",
|
||
"source": "templates/commands/agents",
|
||
"target": "agents/ccg",
|
||
"description": "安装 CCG subagents 到 ~/.claude/agents/ccg/ (4个子智能体)"
|
||
},
|
||
{
|
||
"type": "build_go",
|
||
"source": "codeagent-wrapper",
|
||
"binary": "codeagent-wrapper",
|
||
"description": "编译 codeagent-wrapper"
|
||
},
|
||
{
|
||
"type": "install_mcp",
|
||
"description": "交互式选择并安装 MCP 工具(ace-tool 或 auggie)"
|
||
}
|
||
]
|
||
},
|
||
"codex-only": {
|
||
"enabled": false,
|
||
"description": "仅 Codex 后端(无 Gemini)",
|
||
"operations": [
|
||
{
|
||
"type": "build_go",
|
||
"source": "codeagent-wrapper",
|
||
"binary": "codeagent-wrapper",
|
||
"description": "编译 codeagent-wrapper"
|
||
}
|
||
]
|
||
},
|
||
"gemini-only": {
|
||
"enabled": false,
|
||
"description": "仅 Gemini 后端(无 Codex)",
|
||
"operations": [
|
||
{
|
||
"type": "build_go",
|
||
"source": "codeagent-wrapper",
|
||
"binary": "codeagent-wrapper",
|
||
"description": "编译 codeagent-wrapper"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|