ccg-workflow 1.7.56 → 1.7.58

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.
Files changed (32) hide show
  1. package/README.md +32 -8
  2. package/dist/cli.mjs +2 -2
  3. package/dist/index.d.mts +1 -0
  4. package/dist/index.d.ts +1 -0
  5. package/dist/index.mjs +2 -2
  6. package/dist/shared/{ccg-workflow.FSvBGlYq.mjs → ccg-workflow.Bsattx7d.mjs} +736 -78
  7. package/package.json +3 -2
  8. package/templates/commands/agents/planner.md +2 -2
  9. package/templates/commands/agents/ui-ux-designer.md +2 -2
  10. package/templates/commands/analyze.md +9 -3
  11. package/templates/commands/backend.md +10 -4
  12. package/templates/commands/debug.md +9 -3
  13. package/templates/commands/enhance.md +42 -14
  14. package/templates/commands/execute.md +12 -6
  15. package/templates/commands/feat.md +10 -4
  16. package/templates/commands/frontend.md +10 -4
  17. package/templates/commands/init.md +1 -1
  18. package/templates/commands/optimize.md +9 -3
  19. package/templates/commands/plan.md +13 -7
  20. package/templates/commands/review.md +8 -2
  21. package/templates/commands/spec-impl.md +5 -3
  22. package/templates/commands/spec-init.md +4 -3
  23. package/templates/commands/spec-plan.md +3 -2
  24. package/templates/commands/spec-research.md +5 -5
  25. package/templates/commands/spec-review.md +3 -2
  26. package/templates/commands/test.md +8 -2
  27. package/templates/commands/workflow.md +10 -5
  28. package/templates/output-styles/abyss-cultivator.md +302 -0
  29. package/templates/output-styles/engineer-professional.md +89 -0
  30. package/templates/output-styles/laowang-engineer.md +127 -0
  31. package/templates/output-styles/nekomata-engineer.md +120 -0
  32. package/templates/output-styles/ojousama-engineer.md +121 -0
package/README.md CHANGED
@@ -118,20 +118,44 @@ v1.7.39 新增 `/ccg:plan` 和 `/ccg:execute` 命令,将规划与执行解耦
118
118
  "CODEAGENT_POST_MESSAGE_DELAY": "1",
119
119
  "CODEX_TIMEOUT": "7200",
120
120
  "BASH_DEFAULT_TIMEOUT_MS": "600000",
121
- "BASH_MAX_TIMEOUT_MS": "3600000",
122
- "GEMINI_API_KEY": "your-gemini-api-key",
123
- "GOOGLE_API_KEY": "your-google-api-key"
121
+ "BASH_MAX_TIMEOUT_MS": "3600000"
124
122
  }
125
123
  }
126
124
  ```
127
125
 
128
- > **VSCode 插件用户注意**:VSCode 启动的子进程不会继承终端环境变量,必须在 `settings.json` 中配置 API 密钥,否则 Gemini 会报退出码 41(授权失败)。
129
-
130
126
  ### MCP 配置
131
127
 
132
- ace-tool 用于代码检索和 Prompt 增强,安装时可选配置。
128
+ 代码检索 MCP(二选一):
129
+ - **ContextWeaver**(推荐)- 本地混合搜索,需要硅基流动 API Key(免费)
130
+ - **ace-tool**(收费)- Augment 官方,Token 获取:https://augmentcode.com/
131
+
132
+ 辅助工具 MCP(可选):
133
+ - **Context7** - 获取最新库文档
134
+ - **Playwright** - 浏览器自动化/测试
135
+ - **DeepWiki** - 知识库查询
136
+ - **Exa** - 搜索引擎(需 API Key)
137
+
138
+ ```bash
139
+ # 配置 MCP
140
+ npx ccg-workflow menu # 选择「配置 MCP」
141
+ ```
142
+
143
+ ## 实用工具
144
+
145
+ ```bash
146
+ npx ccg-workflow menu # 选择「实用工具」
147
+ ```
148
+
149
+ - **ccusage** - Claude Code 用量分析
150
+ - **CCometixLine** - 状态栏工具(Git + 用量跟踪)
151
+
152
+ ## 安装 Claude Code
153
+
154
+ ```bash
155
+ npx ccg-workflow menu # 选择「安装 Claude Code」
156
+ ```
133
157
 
134
- Token 获取:https://augmentcode.com/
158
+ 支持多种安装方式:npm、homebrew、curl、powershell、cmd
135
159
 
136
160
  ## 更新 / 卸载
137
161
 
@@ -187,4 +211,4 @@ MIT
187
211
 
188
212
  ---
189
213
 
190
- v1.7.52 | [Issues](https://github.com/fengshao1227/ccg-workflow/issues)
214
+ v1.7.57 | [Issues](https://github.com/fengshao1227/ccg-workflow/issues)
package/dist/cli.mjs CHANGED
@@ -1,14 +1,14 @@
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.FSvBGlYq.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.Bsattx7d.mjs';
5
5
  import 'inquirer';
6
6
  import 'node:child_process';
7
7
  import 'node:util';
8
8
  import 'node:os';
9
+ import 'node:url';
9
10
  import 'pathe';
10
11
  import 'fs-extra';
11
- import 'node:url';
12
12
  import 'i18next';
13
13
  import 'ora';
14
14
  import 'smol-toml';
package/dist/index.d.mts CHANGED
@@ -136,6 +136,7 @@ declare function installWorkflows(workflowIds: string[], installDir: string, for
136
136
  };
137
137
  };
138
138
  liteMode?: boolean;
139
+ mcpProvider?: string;
139
140
  }): Promise<InstallResult>;
140
141
  /**
141
142
  * Install and configure ace-tool MCP for Claude Code
package/dist/index.d.ts CHANGED
@@ -136,6 +136,7 @@ declare function installWorkflows(workflowIds: string[], installDir: string, for
136
136
  };
137
137
  };
138
138
  liteMode?: boolean;
139
+ mcpProvider?: string;
139
140
  }): Promise<InstallResult>;
140
141
  /**
141
142
  * Install and configure ace-tool MCP for Claude Code
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
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.FSvBGlYq.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.Bsattx7d.mjs';
2
2
  import 'ansis';
3
3
  import 'inquirer';
4
4
  import 'node:child_process';
5
5
  import 'node:util';
6
6
  import 'node:os';
7
+ import 'node:url';
7
8
  import 'pathe';
8
9
  import 'fs-extra';
9
- import 'node:url';
10
10
  import 'i18next';
11
11
  import 'ora';
12
12
  import 'smol-toml';