ccg-workflow 1.7.98 → 1.7.99

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 { 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.ahSyRaRM.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.C2t36BW6.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.ahSyRaRM.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.C2t36BW6.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.98";
13
+ const version = "1.7.99";
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.98",
3
+ "version": "1.7.99",
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",
@@ -201,7 +201,7 @@ TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
201
201
  - Gemini:处理前端部分
202
202
  - Codex:处理后端部分
203
203
  2. 用 `TaskOutput` 等待两个模型的完整结果
204
- 3. 各自使用计划中对应的 `SESSION_ID` 进行 `resume`(若缺失则创建新会话)
204
+ 3. Codex `resume <CODEX_SESSION>`,Gemini `resume latest`(若缺失则创建新会话)
205
205
 
206
206
  **务必遵循上方 `多模型调用规范` 的 `重要` 指示**
207
207
 
@@ -57,6 +57,8 @@ description: '按规范执行 + 多模型协作 + 归档'
57
57
 
58
58
  Note: `--gemini-model` parameter is only used when `--backend gemini` is specified.
59
59
 
60
+ **会话复用**:保存 Codex 返回的 `SESSION_ID:`(`CODEX_PROTO_SESSION`),Step 7 审查时复用。Gemini 不输出 SESSION_ID,后续用 `resume latest`。
61
+
60
62
  5. **Rewrite Prototype to Production Code**
61
63
  Upon receiving diff patch, **NEVER apply directly**. Rewrite by:
62
64
  - Removing redundancy
@@ -83,7 +85,7 @@ description: '按规范执行 + 多模型协作 + 归档'
83
85
  **FIRST Bash call (Codex)**:
84
86
  ```
85
87
  Bash({
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",
88
+ command: "~/.claude/bin/codeagent-wrapper --progress --backend codex resume <CODEX_PROTO_SESSION> - \"{{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
89
  run_in_background: true,
88
90
  timeout: 300000,
89
91
  description: "Codex: correctness/security review"
@@ -93,7 +95,7 @@ description: '按规范执行 + 多模型协作 + 归档'
93
95
  **SECOND Bash call (Gemini) - IN THE SAME MESSAGE**:
94
96
  ```
95
97
  Bash({
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",
98
+ command: "~/.claude/bin/codeagent-wrapper --progress --backend gemini --gemini-model gemini-3.1-pro-preview resume latest - \"{{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
99
  run_in_background: true,
98
100
  timeout: 300000,
99
101
  description: "Gemini: maintainability/patterns review"