ccg-workflow 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.mjs CHANGED
@@ -13,7 +13,7 @@ import 'smol-toml';
13
13
  import 'node:child_process';
14
14
  import 'node:util';
15
15
 
16
- const version = "1.5.0";
16
+ const version = "1.5.1";
17
17
 
18
18
  async function diagnoseMcp() {
19
19
  console.log();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccg-workflow",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Claude-Codex-Gemini 多模型协作系统 - 智能路由多模型开发工作流",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.17.1",
@@ -57,22 +57,18 @@ description: 完整6阶段多模型协作工作流(Prompt增强 → 上下文
57
57
 
58
58
  ### 阶段 2: 多模型分析
59
59
 
60
- **并行调用以下模型进行分析**(使用 `run_in_background: true` 非阻塞执行):
61
- - 前端分析: {{FRONTEND_PRIMARY}}
62
- - 后端分析: {{BACKEND_PRIMARY}}
63
-
64
- **调用方式**: 使用 `Bash` 工具调用 `codeagent-wrapper`
65
-
66
60
  **并行调用所有配置的模型进行分析**(使用 `run_in_background: true`):
67
61
 
68
- 1. **后端模型**:遍历 {{BACKEND_MODELS}} 中的每个模型
62
+ 1. **后端模型**:遍历 {{BACKEND_MODELS}} 中的每个模型进行后端分析
69
63
  - 每个模型使用对应的 `~/.claude/.ccg/prompts/<模型名>/analyzer.md`
70
64
  - 输出:`Structured analysis/diagnostic report`
71
65
 
72
- 2. **前端模型**:遍历 {{FRONTEND_MODELS}} 中的每个模型
66
+ 2. **前端模型**:遍历 {{FRONTEND_MODELS}} 中的每个模型进行前端分析
73
67
  - 每个模型使用对应的 `~/.claude/.ccg/prompts/<模型名>/analyzer.md`
74
68
  - 输出:`Structured analysis/diagnostic report`
75
69
 
70
+ **总共并行调用次数**: {{BACKEND_MODELS}} 长度 + {{FRONTEND_MODELS}} 长度(例如:2个后端模型 + 2个前端模型 = 4次)
71
+
76
72
  调用示例:
77
73
  ```bash
78
74
  # 遍历后端模型列表(假设配置了 codex 和 gemini)
@@ -96,14 +92,16 @@ done
96
92
 
97
93
  **并行调用所有配置的模型生成原型**(使用 `run_in_background: true`):
98
94
 
99
- 1. **后端模型**:遍历 {{BACKEND_MODELS}} 中的每个模型
95
+ 1. **后端模型**:遍历 {{BACKEND_MODELS}} 中的每个模型生成后端原型
100
96
  - 每个模型使用对应的 `~/.claude/.ccg/prompts/<模型名>/architect.md`
101
97
  - 输出:`Unified Diff Patch ONLY`
102
98
 
103
- 2. **前端模型**:遍历 {{FRONTEND_MODELS}} 中的每个模型
99
+ 2. **前端模型**:遍历 {{FRONTEND_MODELS}} 中的每个模型生成前端原型
104
100
  - 每个模型使用对应的 `~/.claude/.ccg/prompts/<模型名>/frontend.md`(如无 frontend 角色,使用 architect)
105
101
  - 输出:`Unified Diff Patch ONLY`
106
102
 
103
+ **总共并行调用次数**: {{BACKEND_MODELS}} 长度 + {{FRONTEND_MODELS}} 长度(例如:2个后端模型 + 2个前端模型 = 4次)
104
+
107
105
  调用示例:
108
106
  ```bash
109
107
  # 遍历后端模型生成原型
@@ -138,6 +136,8 @@ done
138
136
  - 每个模型使用对应的 `~/.claude/.ccg/prompts/<模型名>/reviewer.md`
139
137
  - 输出:`Review comments only`
140
138
 
139
+ **总共并行调用次数**: {{REVIEW_MODELS}} 长度(例如:2个审查模型 = 2次)
140
+
141
141
  调用示例:
142
142
  ```bash
143
143
  # 遍历审查模型列表(默认: codex, gemini)
@@ -41,26 +41,6 @@ Then call `{{MCP_SEARCH_TOOL}}` to get related context:
41
41
 
42
42
  ### Step 2: 并行审查
43
43
 
44
- **并行调用所有配置的审查模型**(使用 `run_in_background: true` 非阻塞执行):
45
-
46
- **调用方式**: 使用 `Bash` 工具调用 `codeagent-wrapper`
47
-
48
- ```bash
49
- # Codex 代码审查示例
50
- codeagent-wrapper --backend {{BACKEND_PRIMARY}} - $PROJECT_DIR <<'EOF'
51
- ROLE_FILE: ~/.claude/.ccg/prompts/{{BACKEND_PRIMARY}}/reviewer.md
52
-
53
- <TASK>
54
- 审查代码: {{待审查的代码变更}}
55
- 关注点: 安全性、性能、错误处理
56
- </TASK>
57
-
58
- OUTPUT: Review comments only. No code modifications.
59
- EOF
60
- ```
61
-
62
- ```
63
-
64
44
  **并行调用所有配置的审查模型**(使用 `run_in_background: true`):
65
45
 
66
46
  遍历 {{REVIEW_MODELS}} 中的每个模型进行代码审查: