ccg-workflow 3.0.4 → 3.0.5

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
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import cac from 'cac';
3
3
  import ansis from 'ansis';
4
- import { A as diagnoseMcpConfig, B as isWindows, C as readClaudeCodeConfig, D as fixWindowsMcpConfig, E as writeClaudeCodeConfig, r as readCcgConfig, b as initI18n, a as i18n, s as showMainMenu, i as init, F as configMcp, G as version } from './shared/ccg-workflow.CFYla1yB.mjs';
4
+ import { A as diagnoseMcpConfig, B as isWindows, C as readClaudeCodeConfig, D as fixWindowsMcpConfig, E as writeClaudeCodeConfig, r as readCcgConfig, b as initI18n, a as i18n, s as showMainMenu, i as init, F as configMcp, G as version } from './shared/ccg-workflow.B4dDUxv8.mjs';
5
5
  import 'inquirer';
6
6
  import 'ora';
7
7
  import 'node:child_process';
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { c as changeLanguage, y as checkForUpdates, z as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, v as getCurrentVersion, x as getLatestVersion, j as getWorkflowById, h as getWorkflowConfigs, a as i18n, i as init, b as initI18n, l as installAceTool, m as installAceToolRs, n as installCodexMode, k as installWorkflows, q as migrateToV1_4_0, t as needsMigration, r as readCcgConfig, s as showMainMenu, p as uninstallAceTool, o as uninstallWorkflows, u as update, w as writeCcgConfig } from './shared/ccg-workflow.CFYla1yB.mjs';
1
+ export { c as changeLanguage, y as checkForUpdates, z as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, v as getCurrentVersion, x as getLatestVersion, j as getWorkflowById, h as getWorkflowConfigs, a as i18n, i as init, b as initI18n, l as installAceTool, m as installAceToolRs, n as installCodexMode, k as installWorkflows, q as migrateToV1_4_0, t as needsMigration, r as readCcgConfig, s as showMainMenu, p as uninstallAceTool, o as uninstallWorkflows, u as update, w as writeCcgConfig } from './shared/ccg-workflow.B4dDUxv8.mjs';
2
2
  import 'ansis';
3
3
  import 'inquirer';
4
4
  import 'ora';
@@ -10,7 +10,7 @@ import fs from 'fs-extra';
10
10
  import { parse, stringify } from 'smol-toml';
11
11
  import i18next from 'i18next';
12
12
 
13
- const version = "3.0.4";
13
+ const version = "3.0.5";
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": "3.0.4",
3
+ "version": "3.0.5",
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",
@@ -71,18 +71,17 @@ Gate: 实施已完成 ✓
71
71
 
72
72
  **Gate check**: 需求已增强 ✓ 上下文已收集 ✓
73
73
 
74
- **M 复杂度必须调用外部模型进行分析。** 不可跳过。
74
+ **⛔ M 复杂度必须调用双模型(Gemini + Codex)并行分析。不可只调一个,不可跳过。**
75
+
76
+ 这是多模型协作的核心价值——两个模型从不同角度分析同一个问题,交叉验证,弥补单模型盲区。
75
77
 
76
78
  执行步骤:
77
79
 
78
80
  1. 确定工作目录:`WORKDIR=$(pwd)`
79
- 2. 根据领域选择模型:
80
- - 后端任务 → backend 模型(codex)+ analyzer 角色
81
- - 前端任务 → frontend 模型(gemini)+ analyzer 角色
82
- - 全栈任务 → 双模型并行
83
81
 
84
- 3. **调用 codeagent-wrapper**(必须实际执行,不是读文件):
82
+ 2. **并行调用双模型**(`run_in_background: true`,两个同时启动):
85
83
 
84
+ Backend 模型:
86
85
  ```
87
86
  Bash({
88
87
  command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend codex {{GEMINI_MODEL_FLAG}}- \"$WORKDIR\" <<'CODEAGENT_EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/codex/analyzer.md\n<TASK>\n需求:{增强后的需求}\n上下文:{Phase 2 收集的项目上下文、相关代码摘要}\n</TASK>\nOUTPUT: 技术分析报告(可行性、架构建议、风险评估、实施方案对比)\nCODEAGENT_EOF",
@@ -92,10 +91,10 @@ Bash({
92
91
  })
93
92
  ```
94
93
 
95
- 如果是全栈任务,同时启动 frontend 模型:
94
+ Frontend 模型(**必须同时启动,不是"如果是全栈才调"**):
96
95
  ```
97
96
  Bash({
98
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend gemini {{GEMINI_MODEL_FLAG}}- \"$WORKDIR\" <<'CODEAGENT_EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/gemini/analyzer.md\n<TASK>\n需求:{增强后的需求}\n上下文:{Phase 2 收集的项目上下文}\n</TASK>\nOUTPUT: 前端/UX 视角分析报告\nCODEAGENT_EOF",
97
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--progress --backend gemini {{GEMINI_MODEL_FLAG}}- \"$WORKDIR\" <<'CODEAGENT_EOF'\nROLE_FILE: ~/.claude/.ccg/prompts/gemini/analyzer.md\n<TASK>\n需求:{增强后的需求}\n上下文:{Phase 2 收集的项目上下文}\n</TASK>\nOUTPUT: 从不同视角的分析报告(可行性、设计建议、风险评估)\nCODEAGENT_EOF",
99
98
  run_in_background: true,
100
99
  timeout: 3600000,
101
100
  description: "Frontend 模型分析"