ccg-workflow 1.7.34 → 1.7.36
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/bin/codeagent-wrapper-darwin-amd64 +0 -0
- package/bin/codeagent-wrapper-darwin-arm64 +0 -0
- package/bin/codeagent-wrapper-linux-amd64 +0 -0
- package/bin/codeagent-wrapper-linux-arm64 +0 -0
- package/bin/codeagent-wrapper-windows-amd64.exe +0 -0
- package/bin/codeagent-wrapper-windows-arm64.exe +0 -0
- package/dist/cli.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{ccg-workflow.C1GkMuhn.mjs → ccg-workflow.CWv0qU_o.mjs} +1 -1
- package/package.json +1 -1
- package/templates/commands/analyze.md +6 -2
- package/templates/commands/debug.md +6 -2
- package/templates/commands/feat.md +6 -2
- package/templates/commands/optimize.md +6 -2
- package/templates/commands/review.md +6 -2
- package/templates/commands/test.md +6 -2
- package/templates/commands/workflow.md +6 -2
|
Binary file
|
|
Binary file
|
|
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 { y as diagnoseMcpConfig, z as isWindows, A as readClaudeCodeConfig, B as fixWindowsMcpConfig, C as writeClaudeCodeConfig, r as readCcgConfig, b as initI18n, s as showMainMenu, i as init, D as configMcp, E as version, a as i18n } from './shared/ccg-workflow.
|
|
4
|
+
import { y as diagnoseMcpConfig, z as isWindows, A as readClaudeCodeConfig, B as fixWindowsMcpConfig, C as writeClaudeCodeConfig, r as readCcgConfig, b as initI18n, s as showMainMenu, i as init, D as configMcp, E as version, a as i18n } from './shared/ccg-workflow.CWv0qU_o.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, v as checkForUpdates, x as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, q as getCurrentVersion, t as getLatestVersion, j as getWorkflowById, h as getWorkflowConfigs, a as i18n, i as init, b as initI18n, l as installAceTool, k as installWorkflows, o as migrateToV1_4_0, p as needsMigration, r as readCcgConfig, s as showMainMenu, n as uninstallAceTool, m as uninstallWorkflows, u as update, w as writeCcgConfig } from './shared/ccg-workflow.
|
|
1
|
+
export { c as changeLanguage, v as checkForUpdates, x as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, q as getCurrentVersion, t as getLatestVersion, j as getWorkflowById, h as getWorkflowConfigs, a as i18n, i as init, b as initI18n, l as installAceTool, k as installWorkflows, o as migrateToV1_4_0, p as needsMigration, r as readCcgConfig, s as showMainMenu, n as uninstallAceTool, m as uninstallWorkflows, u as update, w as writeCcgConfig } from './shared/ccg-workflow.CWv0qU_o.mjs';
|
|
2
2
|
import 'ansis';
|
|
3
3
|
import 'inquirer';
|
|
4
4
|
import 'node:child_process';
|
package/package.json
CHANGED
|
@@ -51,14 +51,16 @@ EOF",
|
|
|
51
51
|
|
|
52
52
|
**并行调用**:使用 `run_in_background: true` 启动,用 `TaskOutput` 等待结果。**必须等所有模型返回后才能进入下一阶段**。
|
|
53
53
|
|
|
54
|
-
**等待后台任务**(使用最大超时 600000ms = 10分钟):
|
|
54
|
+
**等待后台任务**(使用最大超时 600000ms = 10 分钟):
|
|
55
55
|
|
|
56
56
|
```
|
|
57
57
|
TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
**重要**:
|
|
61
|
+
- 必须指定 `timeout: 600000`,否则默认只有 30 秒会导致提前超时。
|
|
61
62
|
如果 10 分钟后仍未完成,继续用 `TaskOutput` 轮询,**绝对不要 Kill 进程**。
|
|
63
|
+
- 若因等待时间过长跳过了等待 TaskOutput 结果,则**必须调用 `AskUserQuestion` 工具询问用户选择继续等待还是 Kill Task。禁止直接 Kill Task。**
|
|
62
64
|
|
|
63
65
|
---
|
|
64
66
|
|
|
@@ -94,6 +96,8 @@ TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
|
|
|
94
96
|
|
|
95
97
|
用 `TaskOutput` 等待两个模型的完整结果。**必须等所有模型返回后才能进入下一阶段**。
|
|
96
98
|
|
|
99
|
+
**务必遵循上方 `多模型调用规范` 的 `重要` 指示**
|
|
100
|
+
|
|
97
101
|
### 🔀 阶段 3:交叉验证
|
|
98
102
|
|
|
99
103
|
`[模式:验证]`
|
|
@@ -42,14 +42,16 @@ EOF",
|
|
|
42
42
|
|
|
43
43
|
**并行调用**:使用 `run_in_background: true` 启动,用 `TaskOutput` 等待结果。**必须等所有模型返回后才能进入下一阶段**。
|
|
44
44
|
|
|
45
|
-
**等待后台任务**(使用最大超时 600000ms = 10分钟):
|
|
45
|
+
**等待后台任务**(使用最大超时 600000ms = 10 分钟):
|
|
46
46
|
|
|
47
47
|
```
|
|
48
48
|
TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
**重要**:
|
|
52
|
+
- 必须指定 `timeout: 600000`,否则默认只有 30 秒会导致提前超时。
|
|
52
53
|
如果 10 分钟后仍未完成,继续用 `TaskOutput` 轮询,**绝对不要 Kill 进程**。
|
|
54
|
+
- 若因等待时间过长跳过了等待 TaskOutput 结果,则**必须调用 `AskUserQuestion` 工具询问用户选择继续等待还是 Kill Task。禁止直接 Kill Task。**
|
|
53
55
|
|
|
54
56
|
---
|
|
55
57
|
|
|
@@ -82,6 +84,8 @@ TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
|
|
|
82
84
|
|
|
83
85
|
用 `TaskOutput` 等待两个模型的诊断结果。**必须等所有模型返回后才能进入下一阶段**。
|
|
84
86
|
|
|
87
|
+
**务必遵循上方 `多模型调用规范` 的 `重要` 指示**
|
|
88
|
+
|
|
85
89
|
### 🔀 阶段 3:假设整合
|
|
86
90
|
|
|
87
91
|
`[模式:验证]`
|
|
@@ -57,14 +57,16 @@ EOF",
|
|
|
57
57
|
|
|
58
58
|
**并行调用**:使用 `run_in_background: true` 启动,用 `TaskOutput` 等待结果。**必须等所有模型返回后才能进入下一阶段**。
|
|
59
59
|
|
|
60
|
-
**等待后台任务**(使用最大超时 600000ms = 10分钟):
|
|
60
|
+
**等待后台任务**(使用最大超时 600000ms = 10 分钟):
|
|
61
61
|
|
|
62
62
|
```
|
|
63
63
|
TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
**重要**:
|
|
67
|
+
- 必须指定 `timeout: 600000`,否则默认只有 30 秒会导致提前超时。
|
|
67
68
|
如果 10 分钟后仍未完成,继续用 `TaskOutput` 轮询,**绝对不要 Kill 进程**。
|
|
69
|
+
- 若因等待时间过长跳过了等待 TaskOutput 结果,则**必须调用 `AskUserQuestion` 工具询问用户选择继续等待还是 Kill Task。禁止直接 Kill Task。**
|
|
68
70
|
|
|
69
71
|
---
|
|
70
72
|
|
|
@@ -152,6 +154,8 @@ TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
|
|
|
152
154
|
|
|
153
155
|
**⚠️ 强制规则:必须等待 TaskOutput 返回所有模型的完整结果后才能进入下一阶段**
|
|
154
156
|
|
|
157
|
+
**务必遵循上方 `多模型调用规范` 的 `重要` 指示**
|
|
158
|
+
|
|
155
159
|
#### 3.4 实施后验证
|
|
156
160
|
|
|
157
161
|
```bash
|
|
@@ -48,14 +48,16 @@ EOF",
|
|
|
48
48
|
|
|
49
49
|
**并行调用**:使用 `run_in_background: true` 启动,用 `TaskOutput` 等待结果。**必须等所有模型返回后才能进入下一阶段**。
|
|
50
50
|
|
|
51
|
-
**等待后台任务**(使用最大超时 600000ms = 10分钟):
|
|
51
|
+
**等待后台任务**(使用最大超时 600000ms = 10 分钟):
|
|
52
52
|
|
|
53
53
|
```
|
|
54
54
|
TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
**重要**:
|
|
58
|
+
- 必须指定 `timeout: 600000`,否则默认只有 30 秒会导致提前超时。
|
|
58
59
|
如果 10 分钟后仍未完成,继续用 `TaskOutput` 轮询,**绝对不要 Kill 进程**。
|
|
60
|
+
- 若因等待时间过长跳过了等待 TaskOutput 结果,则**必须调用 `AskUserQuestion` 工具询问用户选择继续等待还是 Kill Task。禁止直接 Kill Task。**
|
|
59
61
|
|
|
60
62
|
---
|
|
61
63
|
|
|
@@ -91,6 +93,8 @@ TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
|
|
|
91
93
|
|
|
92
94
|
用 `TaskOutput` 等待两个模型的完整结果。**必须等所有模型返回后才能进入下一阶段**。
|
|
93
95
|
|
|
96
|
+
**务必遵循上方 `多模型调用规范` 的 `重要` 指示**
|
|
97
|
+
|
|
94
98
|
### 🔀 阶段 3:优化整合
|
|
95
99
|
|
|
96
100
|
`[模式:计划]`
|
|
@@ -38,14 +38,16 @@ EOF",
|
|
|
38
38
|
|
|
39
39
|
**并行调用**:使用 `run_in_background: true` 启动,用 `TaskOutput` 等待结果。**必须等所有模型返回后才能进入下一阶段**。
|
|
40
40
|
|
|
41
|
-
**等待后台任务**(使用最大超时 600000ms = 10分钟):
|
|
41
|
+
**等待后台任务**(使用最大超时 600000ms = 10 分钟):
|
|
42
42
|
|
|
43
43
|
```
|
|
44
44
|
TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
**重要**:
|
|
48
|
+
- 必须指定 `timeout: 600000`,否则默认只有 30 秒会导致提前超时。
|
|
48
49
|
如果 10 分钟后仍未完成,继续用 `TaskOutput` 轮询,**绝对不要 Kill 进程**。
|
|
50
|
+
- 若因等待时间过长跳过了等待 TaskOutput 结果,则**必须调用 `AskUserQuestion` 工具询问用户选择继续等待还是 Kill Task。禁止直接 Kill Task。**
|
|
49
51
|
|
|
50
52
|
---
|
|
51
53
|
|
|
@@ -77,6 +79,8 @@ TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
|
|
|
77
79
|
|
|
78
80
|
用 `TaskOutput` 等待两个模型的审查结果。**必须等所有模型返回后才能进入下一阶段**。
|
|
79
81
|
|
|
82
|
+
**务必遵循上方 `多模型调用规范` 的 `重要` 指示**
|
|
83
|
+
|
|
80
84
|
### 🔀 阶段 3:综合反馈
|
|
81
85
|
|
|
82
86
|
`[模式:综合]`
|
|
@@ -60,14 +60,16 @@ EOF",
|
|
|
60
60
|
|
|
61
61
|
**并行调用**:使用 `run_in_background: true` 启动,用 `TaskOutput` 等待结果。**必须等所有模型返回后才能进入下一阶段**。
|
|
62
62
|
|
|
63
|
-
**等待后台任务**(使用最大超时 600000ms = 10分钟):
|
|
63
|
+
**等待后台任务**(使用最大超时 600000ms = 10 分钟):
|
|
64
64
|
|
|
65
65
|
```
|
|
66
66
|
TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
**重要**:
|
|
70
|
+
- 必须指定 `timeout: 600000`,否则默认只有 30 秒会导致提前超时。
|
|
70
71
|
如果 10 分钟后仍未完成,继续用 `TaskOutput` 轮询,**绝对不要 Kill 进程**。
|
|
72
|
+
- 若因等待时间过长跳过了等待 TaskOutput 结果,则**必须调用 `AskUserQuestion` 工具询问用户选择继续等待还是 Kill Task。禁止直接 Kill Task。**
|
|
71
73
|
|
|
72
74
|
---
|
|
73
75
|
|
|
@@ -105,6 +107,8 @@ OUTPUT:完整测试代码(使用项目现有测试框架,覆盖正常路
|
|
|
105
107
|
|
|
106
108
|
**必须等所有模型返回后才能进入下一阶段**。
|
|
107
109
|
|
|
110
|
+
**务必遵循上方 `多模型调用规范` 的 `重要` 指示**
|
|
111
|
+
|
|
108
112
|
### 🔀 阶段 3:测试整合
|
|
109
113
|
|
|
110
114
|
`[模式:计划]`
|
|
@@ -79,14 +79,16 @@ EOF",
|
|
|
79
79
|
|
|
80
80
|
**并行调用**:使用 `run_in_background: true` 启动,用 `TaskOutput` 等待结果。**必须等所有模型返回后才能进入下一阶段**。
|
|
81
81
|
|
|
82
|
-
**等待后台任务**(使用最大超时 600000ms = 10分钟):
|
|
82
|
+
**等待后台任务**(使用最大超时 600000ms = 10 分钟):
|
|
83
83
|
|
|
84
84
|
```
|
|
85
85
|
TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
**重要**:
|
|
89
|
+
- 必须指定 `timeout: 600000`,否则默认只有 30 秒会导致提前超时。
|
|
89
90
|
如果 10 分钟后仍未完成,继续用 `TaskOutput` 轮询,**绝对不要 Kill 进程**。
|
|
91
|
+
- 若因等待时间过长跳过了等待 TaskOutput 结果,则**必须调用 `AskUserQuestion` 工具询问用户选择继续等待还是 Kill Task。禁止直接 Kill Task。**
|
|
90
92
|
|
|
91
93
|
---
|
|
92
94
|
|
|
@@ -123,6 +125,8 @@ TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 })
|
|
|
123
125
|
|
|
124
126
|
用 `TaskOutput` 等待结果。**📌 保存 SESSION_ID**(`CODEX_SESSION` 和 `GEMINI_SESSION`)。
|
|
125
127
|
|
|
128
|
+
**务必遵循上方 `多模型调用规范` 的 `重要` 指示**
|
|
129
|
+
|
|
126
130
|
综合两方分析,输出方案对比(至少 2 个方案),等待用户选择。
|
|
127
131
|
|
|
128
132
|
### 📋 阶段 3:详细规划
|