## 主要更新 ### 1. MCP 动态选择 - ✨ 支持安装时选择 MCP 提供商(ace-tool 或 auggie) - 🔧 自动生成 ~/.ccg/config.toml 配置文件 - 🔄 命令模板根据配置动态路由 MCP 工具 ### 2. 命令模板简化 - 📝 移除外部文档引用(memorys/MCP_USAGE.md) - 🎯 自包含配置读取说明,减少 50% 提示词长度 - 🔍 统一模式:读取 config → 获取 provider → 调用对应工具 ### 3. 配置驱动架构 - 🗂️ 新增 [mcp.tools] 工具名称映射 - 🏷️ 参数名映射(query vs information_request) - 🚫 优雅处理缺失功能(auggie 无 prompt enhancement) ### 4. 文件更改 - 修改: install.py(新增 MCP 选择逻辑) - 修改: config.json(operation: install_mcp) - 修改: 12 个命令模板(dev, enhance, code, analyze, etc.) - 删除: SLASH_COMMAND_FORMAT.md, UPDATES.md(已合并到文档) - 更新: CHANGELOG.md, README.md, CLAUDE.md ### 5. 兼容性 - ✅ 向后兼容:默认使用 ace-tool - ✅ 支持跳过 MCP 安装 - ✅ 配置不存在时使用默认值 Breaking Changes: 无
56 lines
1.5 KiB
JSON
56 lines
1.5 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": "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"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|