ccg-workflow 1.3.1 → 1.3.2
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 +8 -2
- package/dist/cli.mjs +2 -2
- package/dist/index.d.mts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.mjs +1 -1
- package/dist/shared/{ccg-workflow.CDbjzCK1.mjs → ccg-workflow.wnd3y05Z.mjs} +13 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
[](https://opensource.org/licenses/MIT)
|
|
9
9
|
[](https://claude.ai/code)
|
|
10
10
|
|
|
11
|
-
> **最新版本 v1.3.
|
|
11
|
+
> **最新版本 v1.3.1**:命令模板修正 - 澄清 auggie 也支持 Prompt 增强(需配置)
|
|
12
12
|
|
|
13
13
|
</div>
|
|
14
14
|
|
|
@@ -16,6 +16,12 @@
|
|
|
16
16
|
|
|
17
17
|
## 🎉 最新更新
|
|
18
18
|
|
|
19
|
+
### v1.3.1 - 命令模板修正
|
|
20
|
+
- ✅ **说明修正**:澄清 auggie 也支持 Prompt 增强功能(需按教程配置)
|
|
21
|
+
- ✅ **模板更新**:修正 `/ccg:dev` 和 `/ccg:enhance` 命令的提示信息
|
|
22
|
+
- ✅ **配置说明**:`prompt_enhance_auggie = ""` 改为"留空表示未配置,按教程配置后填入工具名"
|
|
23
|
+
- ✅ **用户体验**:提供配置教程链接,不再误导用户认为 auggie 不支持 Prompt 增强
|
|
24
|
+
|
|
19
25
|
### v1.3.0 - MCP 动态选择系统 ⭐
|
|
20
26
|
- ✅ **多 MCP 支持**:安装时可选 ace-tool(开箱即用Prompt增强+代码检索)或 auggie(官方原版,代码检索+可选Prompt增强)
|
|
21
27
|
- ✅ **交互式选择**:友好的 MCP 选择界面,对比功能差异,支持跳过安装
|
|
@@ -340,7 +346,7 @@ pnpm start
|
|
|
340
346
|
|
|
341
347
|
```toml
|
|
342
348
|
[general]
|
|
343
|
-
version = "1.3.
|
|
349
|
+
version = "1.3.1"
|
|
344
350
|
language = "zh-CN"
|
|
345
351
|
|
|
346
352
|
[mcp]
|
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.wnd3y05Z.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.2";
|
|
17
17
|
|
|
18
18
|
function customizeHelp(sections) {
|
|
19
19
|
sections.unshift({
|
package/dist/index.d.mts
CHANGED
|
@@ -47,6 +47,18 @@ interface CcgConfig {
|
|
|
47
47
|
prompts: string;
|
|
48
48
|
backup: string;
|
|
49
49
|
};
|
|
50
|
+
mcp: {
|
|
51
|
+
provider: string;
|
|
52
|
+
setup_url: string;
|
|
53
|
+
tools: {
|
|
54
|
+
code_search_ace: string;
|
|
55
|
+
code_search_auggie: string;
|
|
56
|
+
prompt_enhance_ace: string;
|
|
57
|
+
prompt_enhance_auggie: string;
|
|
58
|
+
query_param_ace: string;
|
|
59
|
+
query_param_auggie: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
50
62
|
}
|
|
51
63
|
interface WorkflowConfig {
|
|
52
64
|
id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -47,6 +47,18 @@ interface CcgConfig {
|
|
|
47
47
|
prompts: string;
|
|
48
48
|
backup: string;
|
|
49
49
|
};
|
|
50
|
+
mcp: {
|
|
51
|
+
provider: string;
|
|
52
|
+
setup_url: string;
|
|
53
|
+
tools: {
|
|
54
|
+
code_search_ace: string;
|
|
55
|
+
code_search_auggie: string;
|
|
56
|
+
prompt_enhance_ace: string;
|
|
57
|
+
prompt_enhance_auggie: string;
|
|
58
|
+
query_param_ace: string;
|
|
59
|
+
query_param_auggie: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
50
62
|
}
|
|
51
63
|
interface WorkflowConfig {
|
|
52
64
|
id: string;
|
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.wnd3y05Z.mjs';
|
|
2
2
|
import 'ansis';
|
|
3
3
|
import 'inquirer';
|
|
4
4
|
import 'node:os';
|
|
@@ -381,7 +381,7 @@ async function writeCcgConfig(config) {
|
|
|
381
381
|
function createDefaultConfig(options) {
|
|
382
382
|
return {
|
|
383
383
|
general: {
|
|
384
|
-
version: "1.
|
|
384
|
+
version: "1.3.2",
|
|
385
385
|
language: options.language,
|
|
386
386
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
387
387
|
},
|
|
@@ -393,6 +393,18 @@ function createDefaultConfig(options) {
|
|
|
393
393
|
commands: join(homedir(), ".claude", "commands", "ccg"),
|
|
394
394
|
prompts: join(homedir(), ".claude", "prompts", "ccg"),
|
|
395
395
|
backup: join(CCG_DIR, "backup")
|
|
396
|
+
},
|
|
397
|
+
mcp: {
|
|
398
|
+
provider: "ace-tool",
|
|
399
|
+
setup_url: "https://linux.do/t/topic/284963",
|
|
400
|
+
tools: {
|
|
401
|
+
code_search_ace: "mcp__ace-tool__search_context",
|
|
402
|
+
code_search_auggie: "mcp__auggie-mcp__codebase-retrieval",
|
|
403
|
+
prompt_enhance_ace: "mcp__ace-tool__enhance_prompt",
|
|
404
|
+
prompt_enhance_auggie: "",
|
|
405
|
+
query_param_ace: "query",
|
|
406
|
+
query_param_auggie: "information_request"
|
|
407
|
+
}
|
|
396
408
|
}
|
|
397
409
|
};
|
|
398
410
|
}
|