ccg-workflow 1.3.3 → 1.3.4
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
|
@@ -4,11 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
**Claude Code 主导 + Codex CLI + Gemini CLI + Claude CLI 协作工作流系统**
|
|
6
6
|
|
|
7
|
-
[](https://www.npmjs.com/package/ccg-workflow)
|
|
8
|
-
[](https://opensource.org/licenses/MIT)
|
|
9
|
-
[](https://claude.ai/code)
|
|
7
|
+
[](https://www.npmjs.com/package/ccg-workflow) [](https://opensource.org/licenses/MIT) [](https://claude.ai/code) [](https://github.com/openai/openai-python) [](https://ai.google.dev/)
|
|
10
8
|
|
|
11
|
-
> **最新版本 v1.3.
|
|
9
|
+
> **最新版本 v1.3.3**:修复 Windows PATH 配置安全问题
|
|
12
10
|
|
|
13
11
|
</div>
|
|
14
12
|
|
|
@@ -16,18 +14,24 @@
|
|
|
16
14
|
|
|
17
15
|
## 🎉 最新更新
|
|
18
16
|
|
|
19
|
-
### v1.3.
|
|
17
|
+
### v1.3.3 - Windows PATH 配置安全修复 🔒
|
|
18
|
+
- ✅ **安全修复**:Windows PATH 配置改用安全追加方法,避免 `setx` 1024 字符限制
|
|
19
|
+
- ✅ **新方法**:使用 PowerShell `[System.Environment]::GetEnvironmentVariable` 先读取后追加
|
|
20
|
+
- ✅ **重复检测**:自动检查路径是否已存在,避免重复添加
|
|
21
|
+
- ✅ **无字符限制**:支持超长 PATH(最大 32767 字符)
|
|
22
|
+
- ✅ **向下兼容**:不影响现有用户配置
|
|
23
|
+
|
|
24
|
+
<details>
|
|
25
|
+
<summary>v1.3.2 - MCP 配置缺失修复 (2026-01-05)</summary>
|
|
26
|
+
|
|
20
27
|
- ✅ **关键修复**:安装后 `~/.ccg/config.toml` 现在包含完整的 `[mcp]` 配置部分
|
|
21
28
|
- ✅ **类型安全**:添加 `CcgConfig.mcp` TypeScript 接口定义
|
|
22
29
|
- ✅ **默认配置**:`createDefaultConfig` 自动生成完整 MCP 配置
|
|
23
|
-
- `provider = "ace-tool"`(默认)
|
|
24
|
-
- `setup_url` 指向配置教程
|
|
25
|
-
- `tools.*` 工具映射(code_search + prompt_enhance)
|
|
26
|
-
- `query_param_*` 参数名映射
|
|
27
30
|
- ✅ **配置版本**:配置文件版本号从 1.0.0 升级到 1.3.2
|
|
31
|
+
</details>
|
|
28
32
|
|
|
29
33
|
<details>
|
|
30
|
-
<summary>v1.3.1 -
|
|
34
|
+
<summary>v1.3.1 - 命令模板修正 (2026-01-05)</summary>
|
|
31
35
|
|
|
32
36
|
- ✅ **说明修正**:澄清 auggie 也支持 Prompt 增强功能(需按教程配置)
|
|
33
37
|
- ✅ **模板更新**:修正 `/ccg:dev` 和 `/ccg:enhance` 命令的提示信息
|
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 { r as readCcgConfig, b as initI18n, s as showMainMenu, i as init, a as i18n } from './shared/ccg-workflow.
|
|
4
|
+
import { r as readCcgConfig, b as initI18n, s as showMainMenu, i as init, a as i18n } from './shared/ccg-workflow.B-YN9p9d.mjs';
|
|
5
5
|
import 'inquirer';
|
|
6
6
|
import 'node:os';
|
|
7
7
|
import 'pathe';
|
|
@@ -13,7 +13,7 @@ import 'smol-toml';
|
|
|
13
13
|
import 'node:child_process';
|
|
14
14
|
import 'node:util';
|
|
15
15
|
|
|
16
|
-
const version = "1.3.
|
|
16
|
+
const version = "1.3.4";
|
|
17
17
|
|
|
18
18
|
function customizeHelp(sections) {
|
|
19
19
|
sections.unshift({
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as changeLanguage, q as checkForUpdates, t as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, o as getCurrentVersion, p as getLatestVersion, j as getWorkflowById, h as getWorkflowConfigs, a as i18n, i as init, b as initI18n, l as installAceTool, k as installWorkflows, 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, q as checkForUpdates, t as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, o as getCurrentVersion, p as getLatestVersion, j as getWorkflowById, h as getWorkflowConfigs, a as i18n, i as init, b as initI18n, l as installAceTool, k as installWorkflows, r as readCcgConfig, s as showMainMenu, n as uninstallAceTool, m as uninstallWorkflows, u as update, w as writeCcgConfig } from './shared/ccg-workflow.B-YN9p9d.mjs';
|
|
2
2
|
import 'ansis';
|
|
3
3
|
import 'inquirer';
|
|
4
4
|
import 'node:os';
|
|
@@ -331,7 +331,7 @@ const en = {
|
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
|
-
async function initI18n(lang = "
|
|
334
|
+
async function initI18n(lang = "zh-CN") {
|
|
335
335
|
if (!i18n.isInitialized) {
|
|
336
336
|
await i18n.init({
|
|
337
337
|
lng: lang,
|
|
@@ -381,7 +381,7 @@ async function writeCcgConfig(config) {
|
|
|
381
381
|
function createDefaultConfig(options) {
|
|
382
382
|
return {
|
|
383
383
|
general: {
|
|
384
|
-
version: "1.3.
|
|
384
|
+
version: "1.3.4",
|
|
385
385
|
language: options.language,
|
|
386
386
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
387
387
|
},
|