ccg-workflow 1.7.89 → 1.7.90

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/README.md CHANGED
@@ -319,17 +319,22 @@ Looking for a place to start? Check out issues labeled [`good first issue`](http
319
319
 
320
320
  ## Contributors
321
321
 
322
- <!-- readme: contributors,claude/-,bots/- -start -->
322
+ <!-- readme: contributors -start -->
323
323
  <table>
324
324
  <tr>
325
325
  <td align="center"><a href="https://github.com/fengshao1227"><img src="https://avatars.githubusercontent.com/fengshao1227?v=4&s=100" width="100;" alt="fengshao1227"/><br /><sub><b>fengshao1227</b></sub></a></td>
326
+ <td align="center"><a href="https://github.com/SXP-Simon"><img src="https://avatars.githubusercontent.com/SXP-Simon?v=4&s=100" width="100;" alt="SXP-Simon"/><br /><sub><b>SXP-Simon</b></sub></a></td>
326
327
  <td align="center"><a href="https://github.com/RebornQ"><img src="https://avatars.githubusercontent.com/RebornQ?v=4&s=100" width="100;" alt="RebornQ"/><br /><sub><b>RebornQ</b></sub></a></td>
328
+ <td align="center"><a href="https://github.com/Sakuranda"><img src="https://avatars.githubusercontent.com/Sakuranda?v=4&s=100" width="100;" alt="Sakuranda"/><br /><sub><b>Sakuranda</b></sub></a></td>
329
+ <td align="center"><a href="https://github.com/Mriris"><img src="https://avatars.githubusercontent.com/Mriris?v=4&s=100" width="100;" alt="Mriris"/><br /><sub><b>Mriris</b></sub></a></td>
327
330
  <td align="center"><a href="https://github.com/23q3"><img src="https://avatars.githubusercontent.com/23q3?v=4&s=100" width="100;" alt="23q3"/><br /><sub><b>23q3</b></sub></a></td>
328
331
  <td align="center"><a href="https://github.com/MrNine-666"><img src="https://avatars.githubusercontent.com/MrNine-666?v=4&s=100" width="100;" alt="MrNine-666"/><br /><sub><b>MrNine-666</b></sub></a></td>
332
+ </tr>
333
+ <tr>
329
334
  <td align="center"><a href="https://github.com/GGzili"><img src="https://avatars.githubusercontent.com/GGzili?v=4&s=100" width="100;" alt="GGzili"/><br /><sub><b>GGzili</b></sub></a></td>
330
335
  </tr>
331
336
  </table>
332
- <!-- readme: contributors,claude/-,bots/- -end -->
337
+ <!-- readme: contributors -end -->
333
338
 
334
339
  ## Credits
335
340
 
package/README.zh-CN.md CHANGED
@@ -319,17 +319,22 @@ npm uninstall -g ccg-workflow # npm 全局用户需额外执行
319
319
 
320
320
  ## 贡献者
321
321
 
322
- <!-- readme: contributors,claude/-,bots/- -start -->
322
+ <!-- readme: contributors -start -->
323
323
  <table>
324
324
  <tr>
325
325
  <td align="center"><a href="https://github.com/fengshao1227"><img src="https://avatars.githubusercontent.com/fengshao1227?v=4&s=100" width="100;" alt="fengshao1227"/><br /><sub><b>fengshao1227</b></sub></a></td>
326
+ <td align="center"><a href="https://github.com/SXP-Simon"><img src="https://avatars.githubusercontent.com/SXP-Simon?v=4&s=100" width="100;" alt="SXP-Simon"/><br /><sub><b>SXP-Simon</b></sub></a></td>
326
327
  <td align="center"><a href="https://github.com/RebornQ"><img src="https://avatars.githubusercontent.com/RebornQ?v=4&s=100" width="100;" alt="RebornQ"/><br /><sub><b>RebornQ</b></sub></a></td>
328
+ <td align="center"><a href="https://github.com/Sakuranda"><img src="https://avatars.githubusercontent.com/Sakuranda?v=4&s=100" width="100;" alt="Sakuranda"/><br /><sub><b>Sakuranda</b></sub></a></td>
329
+ <td align="center"><a href="https://github.com/Mriris"><img src="https://avatars.githubusercontent.com/Mriris?v=4&s=100" width="100;" alt="Mriris"/><br /><sub><b>Mriris</b></sub></a></td>
327
330
  <td align="center"><a href="https://github.com/23q3"><img src="https://avatars.githubusercontent.com/23q3?v=4&s=100" width="100;" alt="23q3"/><br /><sub><b>23q3</b></sub></a></td>
328
331
  <td align="center"><a href="https://github.com/MrNine-666"><img src="https://avatars.githubusercontent.com/MrNine-666?v=4&s=100" width="100;" alt="MrNine-666"/><br /><sub><b>MrNine-666</b></sub></a></td>
332
+ </tr>
333
+ <tr>
329
334
  <td align="center"><a href="https://github.com/GGzili"><img src="https://avatars.githubusercontent.com/GGzili?v=4&s=100" width="100;" alt="GGzili"/><br /><sub><b>GGzili</b></sub></a></td>
330
335
  </tr>
331
336
  </table>
332
- <!-- readme: contributors,claude/-,bots/- -end -->
337
+ <!-- readme: contributors -end -->
333
338
 
334
339
  ## 致谢
335
340
 
package/dist/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import cac from 'cac';
3
3
  import ansis from 'ansis';
4
- import { z as diagnoseMcpConfig, A as isWindows, B as readClaudeCodeConfig, C as fixWindowsMcpConfig, D as writeClaudeCodeConfig, r as readCcgConfig, b as initI18n, a as i18n, s as showMainMenu, i as init, E as configMcp, F as version } from './shared/ccg-workflow.BF0FhMt8.mjs';
4
+ import { z as diagnoseMcpConfig, A as isWindows, B as readClaudeCodeConfig, C as fixWindowsMcpConfig, D as writeClaudeCodeConfig, r as readCcgConfig, b as initI18n, a as i18n, s as showMainMenu, i as init, E as configMcp, F as version } from './shared/ccg-workflow.BYNAaRfS.mjs';
5
5
  import 'inquirer';
6
6
  import 'node:child_process';
7
7
  import 'node:util';
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { c as changeLanguage, x as checkForUpdates, y as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, t as getCurrentVersion, v as getLatestVersion, j as getWorkflowById, h as getWorkflowConfigs, a as i18n, i as init, b as initI18n, l as installAceTool, m as installAceToolRs, k as installWorkflows, p as migrateToV1_4_0, q as needsMigration, r as readCcgConfig, s as showMainMenu, o as uninstallAceTool, n as uninstallWorkflows, u as update, w as writeCcgConfig } from './shared/ccg-workflow.BF0FhMt8.mjs';
1
+ export { c as changeLanguage, x as checkForUpdates, y as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, t as getCurrentVersion, v as getLatestVersion, j as getWorkflowById, h as getWorkflowConfigs, a as i18n, i as init, b as initI18n, l as installAceTool, m as installAceToolRs, k as installWorkflows, p as migrateToV1_4_0, q as needsMigration, r as readCcgConfig, s as showMainMenu, o as uninstallAceTool, n as uninstallWorkflows, u as update, w as writeCcgConfig } from './shared/ccg-workflow.BYNAaRfS.mjs';
2
2
  import 'ansis';
3
3
  import 'inquirer';
4
4
  import 'node:child_process';
@@ -10,7 +10,7 @@ import { parse, stringify } from 'smol-toml';
10
10
  import i18next from 'i18next';
11
11
  import ora from 'ora';
12
12
 
13
- const version = "1.7.89";
13
+ const version = "1.7.90";
14
14
 
15
15
  function cmd(id, order, category, name, nameEn, description, descriptionEn, cmdOverride) {
16
16
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccg-workflow",
3
- "version": "1.7.89",
3
+ "version": "1.7.90",
4
4
  "description": "Claude + Codex + Gemini multi-model collaboration system - smart routing development workflow",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.17.1",
@@ -34,7 +34,7 @@ description: '多模型技术分析(并行执行):Codex 后端视角 + Gem
34
34
 
35
35
  ```
36
36
  Bash({
37
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
37
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
38
38
  ROLE_FILE: <角色提示词路径>
39
39
  <TASK>
40
40
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -40,7 +40,7 @@ description: '后端专项工作流(研究→构思→计划→执行→优化
40
40
  ```
41
41
  # 新会话调用
42
42
  Bash({
43
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend codex - \"{{WORKDIR}}\" <<'EOF'
43
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend codex - \"{{WORKDIR}}\" <<'EOF'
44
44
  ROLE_FILE: <角色提示词路径>
45
45
  <TASK>
46
46
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -55,7 +55,7 @@ EOF",
55
55
 
56
56
  # 复用会话调用
57
57
  Bash({
58
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend codex resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EOF'
58
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend codex resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EOF'
59
59
  ROLE_FILE: <角色提示词路径>
60
60
  <TASK>
61
61
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -51,7 +51,7 @@ $ARGUMENTS
51
51
 
52
52
  ```
53
53
  Bash({
54
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend codex - \"{{WORKDIR}}\" <<'EXEC_EOF'
54
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend codex - \"{{WORKDIR}}\" <<'EXEC_EOF'
55
55
  <TASK>
56
56
  <指令内容>
57
57
  </TASK>
@@ -66,7 +66,7 @@ EXEC_EOF",
66
66
 
67
67
  ```
68
68
  Bash({
69
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend codex resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EXEC_EOF'
69
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend codex resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EXEC_EOF'
70
70
  <TASK>
71
71
  <指令内容>
72
72
  </TASK>
@@ -84,7 +84,7 @@ EXEC_EOF",
84
84
 
85
85
  ```
86
86
  Bash({
87
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'REVIEW_EOF'
87
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'REVIEW_EOF'
88
88
  ROLE_FILE: <角色提示词路径>
89
89
  <TASK>
90
90
  Scope: Audit the code changes made by Codex.
@@ -171,7 +171,7 @@ TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
171
171
 
172
172
  ```
173
173
  Bash({
174
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend codex resume <CODEX_SESSION> - \"{{WORKDIR}}\" <<'EXEC_EOF'
174
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend codex resume <CODEX_SESSION> - \"{{WORKDIR}}\" <<'EXEC_EOF'
175
175
  <TASK>
176
176
  You are a full-stack execution agent. Implement the following plan end-to-end.
177
177
 
@@ -271,7 +271,7 @@ EXEC_EOF",
271
271
 
272
272
  ```
273
273
  Bash({
274
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend codex resume <CODEX_EXEC_SESSION> - \"{{WORKDIR}}\" <<'FIXEOF'
274
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend codex resume <CODEX_EXEC_SESSION> - \"{{WORKDIR}}\" <<'FIXEOF'
275
275
  <TASK>
276
276
  The implementation needs corrections:
277
277
 
@@ -32,7 +32,7 @@ description: '多模型调试:Codex 后端诊断 + Gemini 前端诊断,交
32
32
 
33
33
  **Codex 后端诊断**:
34
34
  ```bash
35
- ~/.claude/bin/codeagent-wrapper --backend codex - "$(pwd)" <<'EOF'
35
+ ~/.claude/bin/codeagent-wrapper --progress --backend codex - "$(pwd)" <<'EOF'
36
36
  ROLE_FILE: ~/.claude/.ccg/prompts/codex/debugger.md
37
37
  <TASK>
38
38
  需求:<增强后的需求>
@@ -44,7 +44,7 @@ EOF
44
44
 
45
45
  **Gemini 前端诊断**:
46
46
  ```bash
47
- ~/.claude/bin/codeagent-wrapper --backend gemini --gemini-model gemini-3.1-pro-preview - "$(pwd)" <<'EOF'
47
+ ~/.claude/bin/codeagent-wrapper --progress --backend gemini --gemini-model gemini-3.1-pro-preview - "$(pwd)" <<'EOF'
48
48
  ROLE_FILE: ~/.claude/.ccg/prompts/gemini/debugger.md
49
49
  <TASK>
50
50
  需求:<增强后的需求>
@@ -31,7 +31,7 @@ $ARGUMENTS
31
31
  ```
32
32
  # 复用会话调用(推荐)- 原型生成(Implementation Prototype)
33
33
  Bash({
34
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EOF'
34
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EOF'
35
35
  ROLE_FILE: <角色提示词路径>
36
36
  <TASK>
37
37
  需求:<任务描述>
@@ -46,7 +46,7 @@ EOF",
46
46
 
47
47
  # 新会话调用 - 原型生成(Implementation Prototype)
48
48
  Bash({
49
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
49
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
50
50
  ROLE_FILE: <角色提示词路径>
51
51
  <TASK>
52
52
  需求:<任务描述>
@@ -64,7 +64,7 @@ EOF",
64
64
 
65
65
  ```
66
66
  Bash({
67
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EOF'
67
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EOF'
68
68
  ROLE_FILE: <角色提示词路径>
69
69
  <TASK>
70
70
  Scope: Audit the final code changes.
@@ -21,7 +21,7 @@ $ARGUMENTS
21
21
  ```
22
22
  # 新会话调用
23
23
  Bash({
24
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
24
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
25
25
  ROLE_FILE: <角色提示词路径>
26
26
  <TASK>
27
27
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -36,7 +36,7 @@ EOF",
36
36
 
37
37
  # 复用会话调用
38
38
  Bash({
39
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EOF'
39
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EOF'
40
40
  ROLE_FILE: <角色提示词路径>
41
41
  <TASK>
42
42
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -40,7 +40,7 @@ description: '前端专项工作流(研究→构思→计划→执行→优化
40
40
  ```
41
41
  # 新会话调用
42
42
  Bash({
43
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend gemini --gemini-model gemini-3.1-pro-preview - \"{{WORKDIR}}\" <<'EOF'
43
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend gemini --gemini-model gemini-3.1-pro-preview - \"{{WORKDIR}}\" <<'EOF'
44
44
  ROLE_FILE: <角色提示词路径>
45
45
  <TASK>
46
46
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -55,7 +55,7 @@ EOF",
55
55
 
56
56
  # 复用会话调用
57
57
  Bash({
58
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend gemini --gemini-model gemini-3.1-pro-preview resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EOF'
58
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend gemini --gemini-model gemini-3.1-pro-preview resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EOF'
59
59
  ROLE_FILE: <角色提示词路径>
60
60
  <TASK>
61
61
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -39,7 +39,7 @@ description: '多模型性能优化:Codex 后端优化 + Gemini 前端优化'
39
39
 
40
40
  ```
41
41
  Bash({
42
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
42
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
43
43
  ROLE_FILE: <角色提示词路径>
44
44
  <TASK>
45
45
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -30,7 +30,7 @@ $ARGUMENTS
30
30
 
31
31
  ```
32
32
  Bash({
33
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
33
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
34
34
  ROLE_FILE: <角色提示词路径>
35
35
  <TASK>
36
36
  需求:<增强后的需求>
@@ -29,7 +29,7 @@ description: '多模型代码审查:无参数时自动审查 git diff,双模
29
29
 
30
30
  ```
31
31
  Bash({
32
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
32
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
33
33
  ROLE_FILE: <角色提示词路径>
34
34
  <TASK>
35
35
  审查以下代码变更:
@@ -47,7 +47,7 @@ description: '按规范执行 + 多模型协作 + 归档'
47
47
 
48
48
  For each task:
49
49
  ```
50
- codeagent-wrapper --backend <codex|gemini> --gemini-model gemini-3.1-pro-preview - "{{WORKDIR}}" <<'EOF'
50
+ codeagent-wrapper --progress --backend <codex|gemini> --gemini-model gemini-3.1-pro-preview - "{{WORKDIR}}" <<'EOF'
51
51
  TASK: <task description from tasks.md>
52
52
  CONTEXT: <relevant code context>
53
53
  CONSTRAINTS: <constraints from spec>
@@ -83,7 +83,7 @@ description: '按规范执行 + 多模型协作 + 归档'
83
83
  **FIRST Bash call (Codex)**:
84
84
  ```
85
85
  Bash({
86
- command: "~/.claude/bin/codeagent-wrapper --backend codex - \"{{WORKDIR}}\" <<'EOF'\nReview the implementation changes:\n- Correctness: logic errors, edge cases\n- Security: injection, auth issues\n- Spec compliance: constraints satisfied\nOUTPUT: JSON with findings\nEOF",
86
+ command: "~/.claude/bin/codeagent-wrapper --progress --backend codex - \"{{WORKDIR}}\" <<'EOF'\nReview the implementation changes:\n- Correctness: logic errors, edge cases\n- Security: injection, auth issues\n- Spec compliance: constraints satisfied\nOUTPUT: JSON with findings\nEOF",
87
87
  run_in_background: true,
88
88
  timeout: 300000,
89
89
  description: "Codex: correctness/security review"
@@ -93,7 +93,7 @@ description: '按规范执行 + 多模型协作 + 归档'
93
93
  **SECOND Bash call (Gemini) - IN THE SAME MESSAGE**:
94
94
  ```
95
95
  Bash({
96
- command: "~/.claude/bin/codeagent-wrapper --backend gemini --gemini-model gemini-3.1-pro-preview - \"{{WORKDIR}}\" <<'EOF'\nReview the implementation changes:\n- Maintainability: readability, complexity\n- Patterns: consistency with project style\n- Integration: cross-module impacts\nOUTPUT: JSON with findings\nEOF",
96
+ command: "~/.claude/bin/codeagent-wrapper --progress --backend gemini --gemini-model gemini-3.1-pro-preview - \"{{WORKDIR}}\" <<'EOF'\nReview the implementation changes:\n- Maintainability: readability, complexity\n- Patterns: consistency with project style\n- Integration: cross-module impacts\nOUTPUT: JSON with findings\nEOF",
97
97
  run_in_background: true,
98
98
  timeout: 300000,
99
99
  description: "Gemini: maintainability/patterns review"
@@ -33,7 +33,7 @@ description: '多模型分析 → 消除歧义 → 零决策可执行计划'
33
33
  **FIRST Bash call (Codex)**:
34
34
  ```
35
35
  Bash({
36
- command: "~/.claude/bin/codeagent-wrapper --backend codex - \"{{WORKDIR}}\" <<'EOF'\nAnalyze change <change_id> from backend perspective:\n- Implementation approach\n- Technical risks\n- Alternative architectures\n- Edge cases and failure modes\nOUTPUT: JSON with analysis\nEOF",
36
+ command: "~/.claude/bin/codeagent-wrapper --progress --backend codex - \"{{WORKDIR}}\" <<'EOF'\nAnalyze change <change_id> from backend perspective:\n- Implementation approach\n- Technical risks\n- Alternative architectures\n- Edge cases and failure modes\nOUTPUT: JSON with analysis\nEOF",
37
37
  run_in_background: true,
38
38
  timeout: 300000,
39
39
  description: "Codex: backend analysis"
@@ -43,7 +43,7 @@ description: '多模型分析 → 消除歧义 → 零决策可执行计划'
43
43
  **SECOND Bash call (Gemini) - IN THE SAME MESSAGE**:
44
44
  ```
45
45
  Bash({
46
- command: "~/.claude/bin/codeagent-wrapper --backend gemini --gemini-model gemini-3.1-pro-preview - \"{{WORKDIR}}\" <<'EOF'\nAnalyze change <change_id> from frontend/integration perspective:\n- Maintainability assessment\n- Scalability considerations\n- Integration conflicts\nOUTPUT: JSON with analysis\nEOF",
46
+ command: "~/.claude/bin/codeagent-wrapper --progress --backend gemini --gemini-model gemini-3.1-pro-preview - \"{{WORKDIR}}\" <<'EOF'\nAnalyze change <change_id> from frontend/integration perspective:\n- Maintainability assessment\n- Scalability considerations\n- Integration conflicts\nOUTPUT: JSON with analysis\nEOF",
47
47
  run_in_background: true,
48
48
  timeout: 300000,
49
49
  description: "Gemini: frontend analysis"
@@ -72,7 +72,7 @@ description: '需求 → 约束集(并行探索 + OPSX 提案)'
72
72
  **FIRST Bash call (Codex — backend boundaries)**:
73
73
  ```
74
74
  Bash({
75
- command: "~/.claude/bin/codeagent-wrapper --backend codex - \"{{WORKDIR}}\" <<'EOF'\nExplore backend context boundaries for <change description>:\n- Existing structures and patterns\n- Conventions in use\n- Hard constraints limiting solution space\n- Dependencies and risks\nOUTPUT: JSON using the output template above\nEOF",
75
+ command: "~/.claude/bin/codeagent-wrapper --progress --backend codex - \"{{WORKDIR}}\" <<'EOF'\nExplore backend context boundaries for <change description>:\n- Existing structures and patterns\n- Conventions in use\n- Hard constraints limiting solution space\n- Dependencies and risks\nOUTPUT: JSON using the output template above\nEOF",
76
76
  run_in_background: true,
77
77
  timeout: 300000,
78
78
  description: "Codex: backend boundary exploration"
@@ -82,7 +82,7 @@ description: '需求 → 约束集(并行探索 + OPSX 提案)'
82
82
  **SECOND Bash call (Gemini — frontend boundaries) - IN THE SAME MESSAGE**:
83
83
  ```
84
84
  Bash({
85
- command: "~/.claude/bin/codeagent-wrapper --backend gemini --gemini-model gemini-3.1-pro-preview - \"{{WORKDIR}}\" <<'EOF'\nExplore frontend context boundaries for <change description>:\n- Existing structures and patterns\n- Conventions in use\n- Hard constraints limiting solution space\n- Dependencies and risks\nOUTPUT: JSON using the output template above\nEOF",
85
+ command: "~/.claude/bin/codeagent-wrapper --progress --backend gemini --gemini-model gemini-3.1-pro-preview - \"{{WORKDIR}}\" <<'EOF'\nExplore frontend context boundaries for <change description>:\n- Existing structures and patterns\n- Conventions in use\n- Hard constraints limiting solution space\n- Dependencies and risks\nOUTPUT: JSON using the output template above\nEOF",
86
86
  run_in_background: true,
87
87
  timeout: 300000,
88
88
  description: "Gemini: frontend boundary exploration"
@@ -34,7 +34,7 @@ description: '双模型交叉审查(独立工具,随时可用)'
34
34
  **FIRST Bash call (Codex)**:
35
35
  ```
36
36
  Bash({
37
- command: "~/.claude/bin/codeagent-wrapper --backend codex - \"{{WORKDIR}}\" <<'EOF'\nReview proposal <proposal_id> implementation:\n\n## Codex Review Dimensions\n1. **Spec Compliance**: Verify ALL constraints from spec are satisfied\n2. **PBT Properties**: Check invariants, idempotency, bounds are correctly implemented\n3. **Logic Correctness**: Edge cases, error handling, algorithm correctness\n4. **Backend Security**: Injection vulnerabilities, auth checks, input validation\n5. **Regression Risk**: Interface compatibility, type safety, breaking changes\n\n## Output Format (JSON)\n{\n \"findings\": [\n {\n \"severity\": \"Critical|Warning|Info\",\n \"dimension\": \"spec_compliance|pbt|logic|security|regression\",\n \"file\": \"path/to/file.ts\",\n \"line\": 42,\n \"description\": \"What is wrong\",\n \"constraint_violated\": \"Constraint ID from spec (if applicable)\",\n \"fix_suggestion\": \"How to fix\"\n }\n ],\n \"passed_checks\": [\"List of verified constraints/properties\"],\n \"summary\": \"Overall assessment\"\n}\nEOF",
37
+ command: "~/.claude/bin/codeagent-wrapper --progress --backend codex - \"{{WORKDIR}}\" <<'EOF'\nReview proposal <proposal_id> implementation:\n\n## Codex Review Dimensions\n1. **Spec Compliance**: Verify ALL constraints from spec are satisfied\n2. **PBT Properties**: Check invariants, idempotency, bounds are correctly implemented\n3. **Logic Correctness**: Edge cases, error handling, algorithm correctness\n4. **Backend Security**: Injection vulnerabilities, auth checks, input validation\n5. **Regression Risk**: Interface compatibility, type safety, breaking changes\n\n## Output Format (JSON)\n{\n \"findings\": [\n {\n \"severity\": \"Critical|Warning|Info\",\n \"dimension\": \"spec_compliance|pbt|logic|security|regression\",\n \"file\": \"path/to/file.ts\",\n \"line\": 42,\n \"description\": \"What is wrong\",\n \"constraint_violated\": \"Constraint ID from spec (if applicable)\",\n \"fix_suggestion\": \"How to fix\"\n }\n ],\n \"passed_checks\": [\"List of verified constraints/properties\"],\n \"summary\": \"Overall assessment\"\n}\nEOF",
38
38
  run_in_background: true,
39
39
  timeout: 300000,
40
40
  description: "Codex: backend/logic review"
@@ -44,7 +44,7 @@ description: '双模型交叉审查(独立工具,随时可用)'
44
44
  **SECOND Bash call (Gemini) - IN THE SAME MESSAGE**:
45
45
  ```
46
46
  Bash({
47
- command: "~/.claude/bin/codeagent-wrapper --backend gemini - \"{{WORKDIR}}\" <<'EOF'\nReview proposal <proposal_id> implementation:\n\n## Gemini Review Dimensions\n1. **Pattern Consistency**: Naming conventions, code style, project patterns\n2. **Maintainability**: Readability, complexity, documentation adequacy\n3. **Integration Risk**: Dependency changes, cross-module impacts\n4. **Frontend Security**: XSS, CSRF, sensitive data exposure\n5. **Spec Alignment**: Implementation matches spec intent (not just letter)\n\n## Output Format (JSON)\n{\n \"findings\": [\n {\n \"severity\": \"Critical|Warning|Info\",\n \"dimension\": \"patterns|maintainability|integration|security|alignment\",\n \"file\": \"path/to/file.ts\",\n \"line\": 42,\n \"description\": \"What is wrong\",\n \"spec_reference\": \"Spec section (if applicable)\",\n \"fix_suggestion\": \"How to fix\"\n }\n ],\n \"passed_checks\": [\"List of verified aspects\"],\n \"summary\": \"Overall assessment\"\n}\nEOF",
47
+ command: "~/.claude/bin/codeagent-wrapper --progress --backend gemini - \"{{WORKDIR}}\" <<'EOF'\nReview proposal <proposal_id> implementation:\n\n## Gemini Review Dimensions\n1. **Pattern Consistency**: Naming conventions, code style, project patterns\n2. **Maintainability**: Readability, complexity, documentation adequacy\n3. **Integration Risk**: Dependency changes, cross-module impacts\n4. **Frontend Security**: XSS, CSRF, sensitive data exposure\n5. **Spec Alignment**: Implementation matches spec intent (not just letter)\n\n## Output Format (JSON)\n{\n \"findings\": [\n {\n \"severity\": \"Critical|Warning|Info\",\n \"dimension\": \"patterns|maintainability|integration|security|alignment\",\n \"file\": \"path/to/file.ts\",\n \"line\": 42,\n \"description\": \"What is wrong\",\n \"spec_reference\": \"Spec section (if applicable)\",\n \"fix_suggestion\": \"How to fix\"\n }\n ],\n \"passed_checks\": [\"List of verified aspects\"],\n \"summary\": \"Overall assessment\"\n}\nEOF",
48
48
  run_in_background: true,
49
49
  timeout: 300000,
50
50
  description: "Gemini: patterns/integration review"
@@ -26,7 +26,7 @@ description: 'Agent Teams 规划 - Lead 调用 Codex/Gemini 并行分析,产
26
26
  **FIRST Bash call (Codex)**:
27
27
  ```
28
28
  Bash({
29
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend codex - \"{{WORKDIR}}\" <<'EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/codex/analyzer.md\n<TASK>\n需求:$ARGUMENTS\n上下文:<步骤1收集的项目结构和关键代码>\n</TASK>\nOUTPUT:\n1) 技术可行性评估\n2) 推荐架构方案(精确到文件和函数)\n3) 详细实施步骤\n4) 风险评估\nEOF",
29
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend codex - \"{{WORKDIR}}\" <<'EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/codex/analyzer.md\n<TASK>\n需求:$ARGUMENTS\n上下文:<步骤1收集的项目结构和关键代码>\n</TASK>\nOUTPUT:\n1) 技术可行性评估\n2) 推荐架构方案(精确到文件和函数)\n3) 详细实施步骤\n4) 风险评估\nEOF",
30
30
  run_in_background: true,
31
31
  timeout: 3600000,
32
32
  description: "Codex 后端分析"
@@ -36,7 +36,7 @@ description: 'Agent Teams 规划 - Lead 调用 Codex/Gemini 并行分析,产
36
36
  **SECOND Bash call (Gemini) - IN THE SAME MESSAGE**:
37
37
  ```
38
38
  Bash({
39
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend gemini {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/gemini/analyzer.md\n<TASK>\n需求:$ARGUMENTS\n上下文:<步骤1收集的项目结构和关键代码>\n</TASK>\nOUTPUT:\n1) UI/UX 方案\n2) 组件拆分建议(精确到文件和函数)\n3) 详细实施步骤\n4) 交互设计要点\nEOF",
39
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend gemini {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/gemini/analyzer.md\n<TASK>\n需求:$ARGUMENTS\n上下文:<步骤1收集的项目结构和关键代码>\n</TASK>\nOUTPUT:\n1) UI/UX 方案\n2) 组件拆分建议(精确到文件和函数)\n3) 详细实施步骤\n4) 交互设计要点\nEOF",
40
40
  run_in_background: true,
41
41
  timeout: 3600000,
42
42
  description: "Gemini 前端分析"
@@ -39,7 +39,7 @@ description: 'Agent Teams 需求研究 - 并行探索代码库,产出约束集
39
39
  **FIRST Bash call (Codex)**:
40
40
  ```
41
41
  Bash({
42
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend codex - \"{{WORKDIR}}\" <<'EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/codex/analyzer.md\n<TASK>\n需求:<增强后的需求>\n探索范围:后端相关上下文边界\n</TASK>\nOUTPUT (JSON):\n{\n \"module_name\": \"探索的上下文边界\",\n \"existing_structures\": [\"发现的关键模式\"],\n \"existing_conventions\": [\"使用中的规范\"],\n \"constraints_discovered\": [\"限制解决方案空间的硬约束\"],\n \"open_questions\": [\"需要用户确认的歧义\"],\n \"dependencies\": [\"跨模块依赖\"],\n \"risks\": [\"潜在阻碍\"],\n \"success_criteria_hints\": [\"可观测的成功行为\"]\n}\nEOF",
42
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend codex - \"{{WORKDIR}}\" <<'EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/codex/analyzer.md\n<TASK>\n需求:<增强后的需求>\n探索范围:后端相关上下文边界\n</TASK>\nOUTPUT (JSON):\n{\n \"module_name\": \"探索的上下文边界\",\n \"existing_structures\": [\"发现的关键模式\"],\n \"existing_conventions\": [\"使用中的规范\"],\n \"constraints_discovered\": [\"限制解决方案空间的硬约束\"],\n \"open_questions\": [\"需要用户确认的歧义\"],\n \"dependencies\": [\"跨模块依赖\"],\n \"risks\": [\"潜在阻碍\"],\n \"success_criteria_hints\": [\"可观测的成功行为\"]\n}\nEOF",
43
43
  run_in_background: true,
44
44
  timeout: 3600000,
45
45
  description: "Codex 后端探索"
@@ -49,7 +49,7 @@ description: 'Agent Teams 需求研究 - 并行探索代码库,产出约束集
49
49
  **SECOND Bash call (Gemini) - IN THE SAME MESSAGE**:
50
50
  ```
51
51
  Bash({
52
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend gemini {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/gemini/analyzer.md\n<TASK>\n需求:<增强后的需求>\n探索范围:前端相关上下文边界\n</TASK>\nOUTPUT (JSON):\n{\n \"module_name\": \"探索的上下文边界\",\n \"existing_structures\": [\"发现的关键模式\"],\n \"existing_conventions\": [\"使用中的规范\"],\n \"constraints_discovered\": [\"限制解决方案空间的硬约束\"],\n \"open_questions\": [\"需要用户确认的歧义\"],\n \"dependencies\": [\"跨模块依赖\"],\n \"risks\": [\"潜在阻碍\"],\n \"success_criteria_hints\": [\"可观测的成功行为\"]\n}\nEOF",
52
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend gemini {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/gemini/analyzer.md\n<TASK>\n需求:<增强后的需求>\n探索范围:前端相关上下文边界\n</TASK>\nOUTPUT (JSON):\n{\n \"module_name\": \"探索的上下文边界\",\n \"existing_structures\": [\"发现的关键模式\"],\n \"existing_conventions\": [\"使用中的规范\"],\n \"constraints_discovered\": [\"限制解决方案空间的硬约束\"],\n \"open_questions\": [\"需要用户确认的歧义\"],\n \"dependencies\": [\"跨模块依赖\"],\n \"risks\": [\"潜在阻碍\"],\n \"success_criteria_hints\": [\"可观测的成功行为\"]\n}\nEOF",
53
53
  run_in_background: true,
54
54
  timeout: 3600000,
55
55
  description: "Gemini 前端探索"
@@ -25,7 +25,7 @@ description: 'Agent Teams 审查 - 双模型交叉审查并行实施的产出,
25
25
  **FIRST Bash call (Codex)**:
26
26
  ```
27
27
  Bash({
28
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend codex - \"{{WORKDIR}}\" <<'EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/codex/reviewer.md\n<TASK>\n审查以下变更:\n<git diff 输出或变更文件列表>\n</TASK>\nOUTPUT (JSON):\n{\n \"findings\": [\n {\n \"severity\": \"Critical|Warning|Info\",\n \"dimension\": \"logic|security|performance|error_handling\",\n \"file\": \"path/to/file\",\n \"line\": 42,\n \"description\": \"问题描述\",\n \"fix_suggestion\": \"修复建议\"\n }\n ],\n \"passed_checks\": [\"已验证的检查项\"],\n \"summary\": \"总体评估\"\n}\nEOF",
28
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend codex - \"{{WORKDIR}}\" <<'EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/codex/reviewer.md\n<TASK>\n审查以下变更:\n<git diff 输出或变更文件列表>\n</TASK>\nOUTPUT (JSON):\n{\n \"findings\": [\n {\n \"severity\": \"Critical|Warning|Info\",\n \"dimension\": \"logic|security|performance|error_handling\",\n \"file\": \"path/to/file\",\n \"line\": 42,\n \"description\": \"问题描述\",\n \"fix_suggestion\": \"修复建议\"\n }\n ],\n \"passed_checks\": [\"已验证的检查项\"],\n \"summary\": \"总体评估\"\n}\nEOF",
29
29
  run_in_background: true,
30
30
  timeout: 3600000,
31
31
  description: "Codex 后端审查"
@@ -35,7 +35,7 @@ description: 'Agent Teams 审查 - 双模型交叉审查并行实施的产出,
35
35
  **SECOND Bash call (Gemini) - IN THE SAME MESSAGE**:
36
36
  ```
37
37
  Bash({
38
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend gemini {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/gemini/reviewer.md\n<TASK>\n审查以下变更:\n<git diff 输出或变更文件列表>\n</TASK>\nOUTPUT (JSON):\n{\n \"findings\": [\n {\n \"severity\": \"Critical|Warning|Info\",\n \"dimension\": \"patterns|maintainability|accessibility|ux|frontend_security\",\n \"file\": \"path/to/file\",\n \"line\": 42,\n \"description\": \"问题描述\",\n \"fix_suggestion\": \"修复建议\"\n }\n ],\n \"passed_checks\": [\"已验证的检查项\"],\n \"summary\": \"总体评估\"\n}\nEOF",
38
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend gemini {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/gemini/reviewer.md\n<TASK>\n审查以下变更:\n<git diff 输出或变更文件列表>\n</TASK>\nOUTPUT (JSON):\n{\n \"findings\": [\n {\n \"severity\": \"Critical|Warning|Info\",\n \"dimension\": \"patterns|maintainability|accessibility|ux|frontend_security\",\n \"file\": \"path/to/file\",\n \"line\": 42,\n \"description\": \"问题描述\",\n \"fix_suggestion\": \"修复建议\"\n }\n ],\n \"passed_checks\": [\"已验证的检查项\"],\n \"summary\": \"总体评估\"\n}\nEOF",
39
39
  run_in_background: true,
40
40
  timeout: 3600000,
41
41
  description: "Gemini 前端审查"
@@ -39,7 +39,7 @@ description: '多模型测试生成:智能路由 Codex 后端测试 / Gemini
39
39
 
40
40
  ```
41
41
  Bash({
42
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
42
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
43
43
  ROLE_FILE: <角色提示词路径>
44
44
  <TASK>
45
45
  需求:为以下代码生成测试
@@ -43,7 +43,7 @@ description: '多模型协作开发工作流(研究→构思→计划→执行
43
43
  ```
44
44
  # 新会话调用
45
45
  Bash({
46
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
46
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"{{WORKDIR}}\" <<'EOF'
47
47
  ROLE_FILE: <角色提示词路径>
48
48
  <TASK>
49
49
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -58,7 +58,7 @@ EOF",
58
58
 
59
59
  # 复用会话调用
60
60
  Bash({
61
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EOF'
61
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EOF'
62
62
  ROLE_FILE: <角色提示词路径>
63
63
  <TASK>
64
64
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>