Files
ccg-workflow/package.json
T
li 071ceb021e fix: 修复 MCP 配置缺失问题 v1.3.2
问题:
- 安装后 ~/.ccg/config.toml 缺少 [mcp] 配置部分
- TypeScript 类型定义未包含 mcp 字段
- createDefaultConfig 未生成 MCP 配置

修复:
- ✅ 添加 CcgConfig.mcp 类型定义
- ✅ 更新 createDefaultConfig 生成完整 MCP 配置
  - provider = "ace-tool"
  - setup_url 指向配置教程
  - tools: code_search + prompt_enhance (ace + auggie)
  - query_param 参数名映射
- ✅ 配置版本号从 1.0.0 升级到 1.3.2

修改文件:
- src/types/index.ts: 添加 mcp 接口定义
- src/utils/config.ts: createDefaultConfig 生成 MCP 配置
- package.json: 版本号 1.3.1 → 1.3.2
2026-01-05 20:13:46 +08:00

63 lines
1.3 KiB
JSON

{
"name": "ccg-workflow",
"version": "1.3.2",
"description": "Claude-Codex-Gemini 多模型协作系统 - 智能路由多模型开发工作流",
"type": "module",
"packageManager": "pnpm@10.17.1",
"author": {
"name": "CCG Contributors"
},
"license": "MIT",
"keywords": [
"claude",
"codex",
"gemini",
"multi-model",
"ai",
"collaboration",
"cli",
"workflow"
],
"bin": {
"ccg": "bin/ccg.mjs"
},
"main": "dist/index.mjs",
"module": "dist/index.mjs",
"types": "dist/index.d.mts",
"files": [
"bin",
"dist",
"templates"
],
"scripts": {
"dev": "tsx src/cli.ts",
"build": "unbuild",
"start": "node bin/ccg.mjs",
"typecheck": "tsc --noEmit",
"prepublishOnly": "pnpm build",
"lint": "eslint",
"lint:fix": "eslint --fix"
},
"dependencies": {
"ansis": "^4.1.0",
"cac": "^6.7.14",
"fs-extra": "^11.3.2",
"i18next": "^25.5.2",
"i18next-fs-backend": "^2.6.0",
"inquirer": "^12.9.6",
"ora": "^9.0.0",
"pathe": "^2.0.3",
"smol-toml": "^1.4.2"
},
"devDependencies": {
"@antfu/eslint-config": "^5.4.1",
"@types/fs-extra": "^11.0.4",
"@types/inquirer": "^9.0.9",
"@types/node": "^22.0.0",
"eslint": "^9.36.0",
"tsx": "^4.20.5",
"typescript": "^5.9.2",
"unbuild": "^3.6.1"
}
}