ccg-workflow 1.7.65 → 1.7.66

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
@@ -237,4 +237,4 @@ MIT
237
237
 
238
238
  ---
239
239
 
240
- v1.7.65 | [Issues](https://github.com/fengshao1227/ccg-workflow/issues)
240
+ v1.7.66 | [Issues](https://github.com/fengshao1227/ccg-workflow/issues)
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, s as showMainMenu, i as init, E as configMcp, F as version, a as i18n } from './shared/ccg-workflow.DfYEh3he.mjs';
4
+ import { z as diagnoseMcpConfig, A as isWindows, B as readClaudeCodeConfig, C as fixWindowsMcpConfig, D as writeClaudeCodeConfig, r as readCcgConfig, b as initI18n, s as showMainMenu, i as init, E as configMcp, F as version, a as i18n } from './shared/ccg-workflow.DJhRBISe.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.DfYEh3he.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.DJhRBISe.mjs';
2
2
  import 'ansis';
3
3
  import 'inquirer';
4
4
  import 'node:child_process';
@@ -10,7 +10,7 @@ import i18next from 'i18next';
10
10
  import ora from 'ora';
11
11
  import { parse, stringify } from 'smol-toml';
12
12
 
13
- const version = "1.7.65";
13
+ const version = "1.7.66";
14
14
 
15
15
  function isWindows() {
16
16
  return process.platform === "win32";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccg-workflow",
3
- "version": "1.7.65",
3
+ "version": "1.7.66",
4
4
  "description": "Claude-Codex-Gemini 多模型协作系统 - 智能路由多模型开发工作流",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.17.1",
@@ -47,7 +47,11 @@ description: '需求 → 约束集(并行探索 + OPSX 提案)'
47
47
  - Each boundary should be self-contained: no cross-communication needed.
48
48
 
49
49
  4. **Parallel Multi-Model Exploration**
50
- - Dispatch Explore subagents with unified output template:
50
+ - **CRITICAL**: You MUST launch BOTH Codex AND Gemini in a SINGLE message with TWO Bash tool calls.
51
+ - **DO NOT** call one model first and wait. Launch BOTH simultaneously with `run_in_background: true`.
52
+ - **工作目录**:`{{WORKDIR}}` 替换为目标工作目录的绝对路径。如果用户通过 `/add-dir` 添加了多个工作区,先确定任务相关的工作区。
53
+
54
+ **Output Template** (instruct both models to use this format):
51
55
  ```json
52
56
  {
53
57
  "module_name": "context boundary explored",
@@ -60,7 +64,34 @@ description: '需求 → 约束集(并行探索 + OPSX 提案)'
60
64
  "success_criteria_hints": ["observable success behaviors"]
61
65
  }
62
66
  ```
63
- - Run Codex for backend boundaries, Gemini for frontend boundaries.
67
+
68
+ **Step 4.1**: In ONE message, make TWO parallel Bash calls:
69
+
70
+ **FIRST Bash call (Codex — backend boundaries)**:
71
+ ```
72
+ Bash({
73
+ 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",
74
+ run_in_background: true,
75
+ timeout: 300000,
76
+ description: "Codex: backend boundary exploration"
77
+ })
78
+ ```
79
+
80
+ **SECOND Bash call (Gemini — frontend boundaries) - IN THE SAME MESSAGE**:
81
+ ```
82
+ Bash({
83
+ 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",
84
+ run_in_background: true,
85
+ timeout: 300000,
86
+ description: "Gemini: frontend boundary exploration"
87
+ })
88
+ ```
89
+
90
+ **Step 4.2**: After BOTH Bash calls return task IDs, wait for results with TWO TaskOutput calls:
91
+ ```
92
+ TaskOutput({ task_id: "<codex_task_id>", block: true, timeout: 600000 })
93
+ TaskOutput({ task_id: "<gemini_task_id>", block: true, timeout: 600000 })
94
+ ```
64
95
 
65
96
  5. **Aggregate and Synthesize**
66
97
  - Collect all subagent outputs.