ccg-workflow 1.7.61 → 1.7.62

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.60 | [Issues](https://github.com/fengshao1227/ccg-workflow/issues)
240
+ v1.7.62 | [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.DRQxix1F.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.DbiYrRv1.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.DRQxix1F.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.DbiYrRv1.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.61";
13
+ const version = "1.7.62";
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.61",
3
+ "version": "1.7.62",
4
4
  "description": "Claude-Codex-Gemini 多模型协作系统 - 智能路由多模型开发工作流",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.17.1",
@@ -49,7 +49,7 @@ EOF",
49
49
  ```
50
50
 
51
51
  **模型参数说明**:
52
- - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
52
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3.1-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
53
53
 
54
54
  **角色提示词**:
55
55
 
@@ -44,7 +44,7 @@ EOF
44
44
 
45
45
  **Gemini 前端诊断**:
46
46
  ```bash
47
- ~/.claude/bin/codeagent-wrapper --backend gemini --gemini-model gemini-3-pro-preview - "$(pwd)" <<'EOF'
47
+ ~/.claude/bin/codeagent-wrapper --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
  需求:<增强后的需求>
@@ -86,7 +86,7 @@ EOF",
86
86
  ```
87
87
 
88
88
  **模型参数说明**:
89
- - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
89
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3.1-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
90
90
 
91
91
  **角色提示词**:
92
92
 
@@ -51,7 +51,7 @@ EOF",
51
51
  ```
52
52
 
53
53
  **模型参数说明**:
54
- - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
54
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3.1-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
55
55
 
56
56
  **角色提示词**:
57
57
 
@@ -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-pro-preview - \"{{WORKDIR}}\" <<'EOF'
43
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--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-pro-preview resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EOF'
58
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend gemini --gemini-model gemini-3.1-pro-preview resume <SESSION_ID> - \"{{WORKDIR}}\" <<'EOF'
59
59
  ROLE_FILE: <角色提示词路径>
60
60
  <TASK>
61
61
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -54,7 +54,7 @@ EOF",
54
54
  ```
55
55
 
56
56
  **模型参数说明**:
57
- - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
57
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3.1-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
58
58
 
59
59
  **角色提示词**:
60
60
 
@@ -45,7 +45,7 @@ EOF",
45
45
  ```
46
46
 
47
47
  **模型参数说明**:
48
- - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
48
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3.1-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
49
49
 
50
50
  **角色提示词**:
51
51
 
@@ -44,7 +44,7 @@ EOF",
44
44
  ```
45
45
 
46
46
  **模型参数说明**:
47
- - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
47
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3.1-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
48
48
 
49
49
  **角色提示词**:
50
50
 
@@ -37,7 +37,7 @@ description: '按规范执行 + 多模型协作 + 归档'
37
37
 
38
38
  For each task:
39
39
  ```
40
- codeagent-wrapper --backend <codex|gemini> --gemini-model gemini-3-pro-preview - "{{WORKDIR}}" <<'EOF'
40
+ codeagent-wrapper --backend <codex|gemini> --gemini-model gemini-3.1-pro-preview - "{{WORKDIR}}" <<'EOF'
41
41
  TASK: <task description from tasks.md>
42
42
  CONTEXT: <relevant code context>
43
43
  CONSTRAINTS: <constraints from spec>
@@ -83,7 +83,7 @@ description: '按规范执行 + 多模型协作 + 归档'
83
83
  **SECOND Bash call (Gemini) - IN THE SAME MESSAGE**:
84
84
  ```
85
85
  Bash({
86
- command: "~/.claude/bin/codeagent-wrapper --backend gemini --gemini-model gemini-3-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",
86
+ 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",
87
87
  run_in_background: true,
88
88
  timeout: 300000,
89
89
  description: "Gemini: maintainability/patterns review"
@@ -62,7 +62,7 @@ description: '初始化 OpenSpec (OPSX) 环境 + 验证多模型 MCP 工具'
62
62
  ```
63
63
  - Test Gemini backend:
64
64
  ```bash
65
- ~/.claude/bin/codeagent-wrapper --backend gemini --gemini-model gemini-3-pro-preview - "{{WORKDIR}}" <<< "echo test"
65
+ ~/.claude/bin/codeagent-wrapper --backend gemini --gemini-model gemini-3.1-pro-preview - "{{WORKDIR}}" <<< "echo test"
66
66
  ```
67
67
  - For each unavailable tool, display warning with installation instructions.
68
68
 
@@ -40,7 +40,7 @@ description: '多模型分析 → 消除歧义 → 零决策可执行计划'
40
40
  **SECOND Bash call (Gemini) - IN THE SAME MESSAGE**:
41
41
  ```
42
42
  Bash({
43
- command: "~/.claude/bin/codeagent-wrapper --backend gemini --gemini-model gemini-3-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",
43
+ 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",
44
44
  run_in_background: true,
45
45
  timeout: 300000,
46
46
  description: "Gemini: frontend analysis"
@@ -58,7 +58,7 @@ EOF",
58
58
  ```
59
59
 
60
60
  **模型参数说明**:
61
- - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
61
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3.1-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
62
62
 
63
63
  **角色提示词**:
64
64
 
@@ -73,7 +73,7 @@ EOF",
73
73
  ```
74
74
 
75
75
  **模型参数说明**:
76
- - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
76
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3.1-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
77
77
 
78
78
  **角色提示词**:
79
79