ccg-workflow 1.7.53 → 1.7.55

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
@@ -43,36 +43,34 @@ npx ccg-workflow
43
43
  | `/ccg:worktree` | Worktree 管理 |
44
44
  | `/ccg:init` | 初始化 CLAUDE.md |
45
45
  | `/ccg:enhance` | Prompt 增强 |
46
-
47
- **注意**:v1.7.52 起,`/ccg:spec-*` 命令已迁移到 OPSX 架构。请使用 `/opsx:*` 命令代替:
48
- - `/opsx:init` - 初始化 OPSX 环境
49
- - `/opsx:research` - 需求 约束集
50
- - `/opsx:plan` - 约束 → 零决策计划
51
- - `/opsx:impl` - 按计划执行 + 归档
52
- - `/opsx:review` - 双模型交叉审查
46
+ | `/ccg:spec-init` | 初始化 OPSX 环境 |
47
+ | `/ccg:spec-research` | 需求 约束集 |
48
+ | `/ccg:spec-plan` | 约束 零决策计划 |
49
+ | `/ccg:spec-impl` | 按计划执行 + 归档 |
50
+ | `/ccg:spec-review` | 双模型交叉审查 |
53
51
 
54
52
  ### OPSX 规范驱动(v1.7.52+)
55
53
 
56
54
  集成 [OPSX 架构](https://github.com/fission-ai/opsx),把需求变成约束,让 AI 没法自由发挥:
57
55
 
58
56
  ```bash
59
- # 初始化
60
- /opsx:init
57
+ # 初始化 OPSX 环境
58
+ /ccg:spec-init
61
59
 
62
60
  # 研究需求 → 输出约束集
63
- /opsx:research 实现用户认证
61
+ /ccg:spec-research 实现用户认证
64
62
 
65
63
  # 并行分析 → 零决策计划
66
- /opsx:plan
64
+ /ccg:spec-plan
67
65
 
68
66
  # 按计划执行
69
- /opsx:impl
67
+ /ccg:spec-impl
70
68
 
71
69
  # 独立审查(随时可用)
72
- /opsx:review
70
+ /ccg:spec-review
73
71
  ```
74
72
 
75
- **重要**:v1.7.52 起,旧的 `/ccg:spec-*` 命令已废弃,请使用 `/opsx:*` 命令。每阶段之间可 `/clear`,状态存在 `opsx/` 目录,不怕上下文爆。
73
+ **说明**:`/ccg:spec-*` 命令是 CCG 对 OPSX 的封装,内部调用 `/opsx:*` 命令。每阶段之间可 `/clear`,状态存在 `openspec/` 目录,不怕上下文爆。
76
74
 
77
75
  ### 规划与执行分离
78
76
 
Binary file
Binary file
Binary file
Binary file
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.SwZf2ogk.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.Dyysa7hK.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.SwZf2ogk.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.Dyysa7hK.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.53";
13
+ const version = "1.7.55";
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.53",
3
+ "version": "1.7.55",
4
4
  "description": "Claude-Codex-Gemini 多模型协作系统 - 智能路由多模型开发工作流",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.17.1",
@@ -28,7 +28,7 @@ description: '多模型技术分析(并行执行):Codex 后端视角 + Gem
28
28
 
29
29
  ```
30
30
  Bash({
31
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> - \"$PWD\" <<'EOF'
31
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"$PWD\" <<'EOF'
32
32
  ROLE_FILE: <角色提示词路径>
33
33
  <TASK>
34
34
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -42,6 +42,9 @@ EOF",
42
42
  })
43
43
  ```
44
44
 
45
+ **模型参数说明**:
46
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
47
+
45
48
  **角色提示词**:
46
49
 
47
50
  | 模型 | 提示词 |
@@ -27,7 +27,7 @@ description: '多模型调试:Codex 后端诊断 + Gemini 前端诊断,交
27
27
 
28
28
  ```
29
29
  Bash({
30
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> - \"$PWD\" <<'EOF'
30
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"$PWD\" <<'EOF'
31
31
  ROLE_FILE: <角色提示词路径>
32
32
  <TASK>
33
33
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -41,6 +41,9 @@ EOF",
41
41
  })
42
42
  ```
43
43
 
44
+ **模型参数说明**:
45
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
46
+
44
47
  **角色提示词**:
45
48
 
46
49
  | 模型 | 提示词 |
@@ -25,7 +25,7 @@ $ARGUMENTS
25
25
  ```
26
26
  # 复用会话调用(推荐)- 原型生成(Implementation Prototype)
27
27
  Bash({
28
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> resume <SESSION_ID> - \"$PWD\" <<'EOF'
28
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"$PWD\" <<'EOF'
29
29
  ROLE_FILE: <角色提示词路径>
30
30
  <TASK>
31
31
  需求:<任务描述>
@@ -40,7 +40,7 @@ EOF",
40
40
 
41
41
  # 新会话调用 - 原型生成(Implementation Prototype)
42
42
  Bash({
43
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> - \"$PWD\" <<'EOF'
43
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"$PWD\" <<'EOF'
44
44
  ROLE_FILE: <角色提示词路径>
45
45
  <TASK>
46
46
  需求:<任务描述>
@@ -58,7 +58,7 @@ EOF",
58
58
 
59
59
  ```
60
60
  Bash({
61
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> resume <SESSION_ID> - \"$PWD\" <<'EOF'
61
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"$PWD\" <<'EOF'
62
62
  ROLE_FILE: <角色提示词路径>
63
63
  <TASK>
64
64
  Scope: Audit the final code changes.
@@ -79,6 +79,9 @@ EOF",
79
79
  })
80
80
  ```
81
81
 
82
+ **模型参数说明**:
83
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
84
+
82
85
  **角色提示词**:
83
86
 
84
87
  | 阶段 | Codex | Gemini |
@@ -15,7 +15,7 @@ $ARGUMENTS
15
15
  ```
16
16
  # 新会话调用
17
17
  Bash({
18
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> - \"$PWD\" <<'EOF'
18
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"$PWD\" <<'EOF'
19
19
  ROLE_FILE: <角色提示词路径>
20
20
  <TASK>
21
21
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -30,7 +30,7 @@ EOF",
30
30
 
31
31
  # 复用会话调用
32
32
  Bash({
33
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> resume <SESSION_ID> - \"$PWD\" <<'EOF'
33
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"$PWD\" <<'EOF'
34
34
  ROLE_FILE: <角色提示词路径>
35
35
  <TASK>
36
36
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -44,6 +44,9 @@ EOF",
44
44
  })
45
45
  ```
46
46
 
47
+ **模型参数说明**:
48
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
49
+
47
50
  **角色提示词**:
48
51
 
49
52
  | 阶段 | Codex | Gemini |
@@ -34,7 +34,7 @@ description: '前端专项工作流(研究→构思→计划→执行→优化
34
34
  ```
35
35
  # 新会话调用
36
36
  Bash({
37
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend gemini - \"$PWD\" <<'EOF'
37
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend gemini --gemini-model gemini-3-pro-preview - \"$PWD\" <<'EOF'
38
38
  ROLE_FILE: <角色提示词路径>
39
39
  <TASK>
40
40
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -49,7 +49,7 @@ EOF",
49
49
 
50
50
  # 复用会话调用
51
51
  Bash({
52
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend gemini resume <SESSION_ID> - \"$PWD\" <<'EOF'
52
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend gemini --gemini-model gemini-3-pro-preview resume <SESSION_ID> - \"$PWD\" <<'EOF'
53
53
  ROLE_FILE: <角色提示词路径>
54
54
  <TASK>
55
55
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -33,7 +33,7 @@ description: '多模型性能优化:Codex 后端优化 + Gemini 前端优化'
33
33
 
34
34
  ```
35
35
  Bash({
36
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> - \"$PWD\" <<'EOF'
36
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"$PWD\" <<'EOF'
37
37
  ROLE_FILE: <角色提示词路径>
38
38
  <TASK>
39
39
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -47,6 +47,9 @@ EOF",
47
47
  })
48
48
  ```
49
49
 
50
+ **模型参数说明**:
51
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
52
+
50
53
  **角色提示词**:
51
54
 
52
55
  | 模型 | 提示词 |
@@ -24,7 +24,7 @@ $ARGUMENTS
24
24
 
25
25
  ```
26
26
  Bash({
27
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> - \"$PWD\" <<'EOF'
27
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"$PWD\" <<'EOF'
28
28
  ROLE_FILE: <角色提示词路径>
29
29
  <TASK>
30
30
  需求:<增强后的需求>
@@ -38,6 +38,9 @@ EOF",
38
38
  })
39
39
  ```
40
40
 
41
+ **模型参数说明**:
42
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
43
+
41
44
  **角色提示词**:
42
45
 
43
46
  | 阶段 | Codex | Gemini |
@@ -23,7 +23,7 @@ description: '多模型代码审查:无参数时自动审查 git diff,双模
23
23
 
24
24
  ```
25
25
  Bash({
26
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> - \"$PWD\" <<'EOF'
26
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"$PWD\" <<'EOF'
27
27
  ROLE_FILE: <角色提示词路径>
28
28
  <TASK>
29
29
  审查以下代码变更:
@@ -37,6 +37,9 @@ EOF",
37
37
  })
38
38
  ```
39
39
 
40
+ **模型参数说明**:
41
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
42
+
40
43
  **角色提示词**:
41
44
 
42
45
  | 模型 | 提示词 |
@@ -35,7 +35,7 @@ description: '按规范执行 + 多模型协作 + 归档'
35
35
 
36
36
  For each task:
37
37
  ```
38
- codeagent-wrapper --backend <codex|gemini> - "$PWD" <<'EOF'
38
+ codeagent-wrapper --backend <codex|gemini> --gemini-model gemini-3-pro-preview - "$PWD" <<'EOF'
39
39
  TASK: <task description from tasks.md>
40
40
  CONTEXT: <relevant code context>
41
41
  CONSTRAINTS: <constraints from spec>
@@ -43,6 +43,8 @@ description: '按规范执行 + 多模型协作 + 归档'
43
43
  EOF
44
44
  ```
45
45
 
46
+ Note: `--gemini-model` parameter is only used when `--backend gemini` is specified.
47
+
46
48
  5. **Rewrite Prototype to Production Code**
47
49
  Upon receiving diff patch, **NEVER apply directly**. Rewrite by:
48
50
  - Removing redundancy
@@ -79,7 +81,7 @@ description: '按规范执行 + 多模型协作 + 归档'
79
81
  **SECOND Bash call (Gemini) - IN THE SAME MESSAGE**:
80
82
  ```
81
83
  Bash({
82
- command: "~/.claude/bin/codeagent-wrapper --backend gemini - \"$PWD\" <<'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",
84
+ command: "~/.claude/bin/codeagent-wrapper --backend gemini --gemini-model gemini-3-pro-preview - \"$PWD\" <<'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",
83
85
  run_in_background: true,
84
86
  timeout: 300000,
85
87
  description: "Gemini: maintainability/patterns review"
@@ -18,11 +18,11 @@ description: '初始化 OpenSpec (OPSX) 环境 + 验证多模型 MCP 工具'
18
18
  - Identify OS using `uname -s` (Unix) or environment variables (Windows).
19
19
  - Inform user which OS was detected.
20
20
 
21
- 2. **Check and Install OPSX**
21
+ 2. **Check and Install OpenSpec (OPSX)**
22
22
  - Verify if OPSX commands are available: `/opsx:version`
23
23
  - If not installed or not found:
24
24
  ```bash
25
- npm install -g @opsx/cli@latest
25
+ npm install -g @fission-ai/openspec@latest
26
26
  ```
27
27
  - **Path Verification**:
28
28
  - If `/opsx:version` command is not found after installation:
@@ -48,7 +48,7 @@ description: '初始化 OpenSpec (OPSX) 环境 + 验证多模型 MCP 工具'
48
48
  ```
49
49
  - Test Gemini backend:
50
50
  ```bash
51
- ~/.claude/bin/codeagent-wrapper --backend gemini - "$PWD" <<< "echo test"
51
+ ~/.claude/bin/codeagent-wrapper --backend gemini --gemini-model gemini-3-pro-preview - "$PWD" <<< "echo test"
52
52
  ```
53
53
  - For each unavailable tool, display warning with installation instructions.
54
54
 
@@ -66,7 +66,7 @@ description: '初始化 OpenSpec (OPSX) 环境 + 验证多模型 MCP 工具'
66
66
  ```
67
67
  Component Status
68
68
  ─────────────────────────────────
69
- OPSX CLI ✓/✗
69
+ OpenSpec (OPSX) CLI ✓/✗
70
70
  Project initialized ✓/✗
71
71
  OPSX Skills ✓/✗
72
72
  codeagent-wrapper ✓/✗
@@ -84,8 +84,8 @@ description: '初始化 OpenSpec (OPSX) 环境 + 验证多模型 MCP 工具'
84
84
  - Code Review: `/ccg:spec-review` (Independent dual-model review)
85
85
 
86
86
  **Reference**
87
- - OPSX CLI: `/opsx:help`
87
+ - OpenSpec (OPSX) CLI: `/opsx:help`
88
88
  - CCG Workflow: `npx ccg-workflow`
89
89
  - Codex/Gemini MCP: Bundled with codeagent-wrapper
90
- - Node.js >= 18.x required for OPSX
90
+ - Node.js >= 18.x required for OpenSpec
91
91
  <!-- CCG:SPEC:INIT:END -->
@@ -39,7 +39,7 @@ description: '多模型分析 → 消除歧义 → 零决策可执行计划'
39
39
  **SECOND Bash call (Gemini) - IN THE SAME MESSAGE**:
40
40
  ```
41
41
  Bash({
42
- command: "~/.claude/bin/codeagent-wrapper --backend gemini - \"$PWD\" <<'EOF'\nAnalyze change <change_id> from frontend/integration perspective:\n- Maintainability assessment\n- Scalability considerations\n- Integration conflicts\nOUTPUT: JSON with analysis\nEOF",
42
+ command: "~/.claude/bin/codeagent-wrapper --backend gemini --gemini-model gemini-3-pro-preview - \"$PWD\" <<'EOF'\nAnalyze change <change_id> from frontend/integration perspective:\n- Maintainability assessment\n- Scalability considerations\n- Integration conflicts\nOUTPUT: JSON with analysis\nEOF",
43
43
  run_in_background: true,
44
44
  timeout: 300000,
45
45
  description: "Gemini: frontend analysis"
@@ -33,7 +33,7 @@ description: '多模型测试生成:智能路由 Codex 后端测试 / Gemini
33
33
 
34
34
  ```
35
35
  Bash({
36
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> - \"$PWD\" <<'EOF'
36
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"$PWD\" <<'EOF'
37
37
  ROLE_FILE: <角色提示词路径>
38
38
  <TASK>
39
39
  需求:为以下代码生成测试
@@ -51,6 +51,9 @@ EOF",
51
51
  })
52
52
  ```
53
53
 
54
+ **模型参数说明**:
55
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
56
+
54
57
  **角色提示词**:
55
58
 
56
59
  | 模型 | 提示词 |
@@ -38,7 +38,7 @@ description: '多模型协作开发工作流(研究→构思→计划→执行
38
38
  ```
39
39
  # 新会话调用
40
40
  Bash({
41
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> - \"$PWD\" <<'EOF'
41
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"$PWD\" <<'EOF'
42
42
  ROLE_FILE: <角色提示词路径>
43
43
  <TASK>
44
44
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -53,7 +53,7 @@ EOF",
53
53
 
54
54
  # 复用会话调用
55
55
  Bash({
56
- command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> resume <SESSION_ID> - \"$PWD\" <<'EOF'
56
+ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"$PWD\" <<'EOF'
57
57
  ROLE_FILE: <角色提示词路径>
58
58
  <TASK>
59
59
  需求:<增强后的需求(如未增强则用 $ARGUMENTS)>
@@ -67,6 +67,9 @@ EOF",
67
67
  })
68
68
  ```
69
69
 
70
+ **模型参数说明**:
71
+ - `{{GEMINI_MODEL_FLAG}}`:当使用 `--backend gemini` 时,替换为 `--gemini-model gemini-3-pro-preview `(注意末尾空格);使用 codex 时替换为空字符串
72
+
70
73
  **角色提示词**:
71
74
 
72
75
  | 阶段 | Codex | Gemini |