ccg-workflow 1.7.81 → 1.7.83

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
@@ -243,6 +243,7 @@ npx ccg-workflow menu # Select "Configure MCP"
243
243
 
244
244
  **Code retrieval** (choose one):
245
245
  - **ace-tool** (recommended) — Code search via `search_context`. [Official](https://augmentcode.com/) | [Third-party proxy](https://acemcp.heroman.wtf/)
246
+ - **fast-context** (recommended) — Windsurf Fast Context, AI-powered search without full-repo indexing. Requires Windsurf account
246
247
  - **ContextWeaver** (alternative) — Local hybrid search, requires SiliconFlow API Key (free)
247
248
 
248
249
  **Optional tools**:
@@ -353,4 +354,4 @@ MIT
353
354
 
354
355
  ---
355
356
 
356
- v1.7.81 | [Issues](https://github.com/fengshao1227/ccg-workflow/issues) | [Contributing](./CONTRIBUTING.md)
357
+ v1.7.83 | [Issues](https://github.com/fengshao1227/ccg-workflow/issues) | [Contributing](./CONTRIBUTING.md)
package/README.zh-CN.md CHANGED
@@ -241,8 +241,9 @@ npx ccg-workflow menu # 选择「安装 Claude Code」
241
241
  npx ccg-workflow menu # 选择「配置 MCP」
242
242
  ```
243
243
 
244
- **代码检索**(二选一):
244
+ **代码检索**(多选一):
245
245
  - **ace-tool**(推荐)— 代码检索 `search_context` 可用。[官方](https://augmentcode.com/) | [第三方中转](https://acemcp.heroman.wtf/)
246
+ - **fast-context**(推荐)— Windsurf Fast Context,AI 驱动搜索,无需全量索引。需 Windsurf 账号
246
247
  - **ContextWeaver**(备选)— 本地混合搜索,需要硅基流动 API Key(免费)
247
248
 
248
249
  **辅助工具**(可选):
@@ -353,4 +354,4 @@ MIT
353
354
 
354
355
  ---
355
356
 
356
- v1.7.81 | [Issues](https://github.com/fengshao1227/ccg-workflow/issues) | [参与贡献](./CONTRIBUTING.md)
357
+ v1.7.82 | [Issues](https://github.com/fengshao1227/ccg-workflow/issues) | [参与贡献](./CONTRIBUTING.md)
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, a as i18n, s as showMainMenu, i as init, E as configMcp, F as version } from './shared/ccg-workflow.DLkUGirT.mjs';
4
+ import { z as diagnoseMcpConfig, A as isWindows, B as readClaudeCodeConfig, C as fixWindowsMcpConfig, D as writeClaudeCodeConfig, r as readCcgConfig, b as initI18n, a as i18n, s as showMainMenu, i as init, E as configMcp, F as version } from './shared/ccg-workflow.OKd5dIP0.mjs';
5
5
  import 'inquirer';
6
6
  import 'node:child_process';
7
7
  import 'node:util';
package/dist/index.d.mts CHANGED
@@ -93,6 +93,10 @@ interface AceToolConfig {
93
93
  baseUrl: string;
94
94
  token: string;
95
95
  }
96
+ interface FastContextConfig {
97
+ apiKey?: string;
98
+ includeSnippets?: boolean;
99
+ }
96
100
 
97
101
  declare function init(options?: InitOptions): Promise<void>;
98
102
 
@@ -122,6 +126,29 @@ declare function createDefaultRouting(): ModelRouting;
122
126
 
123
127
  declare function getWorkflowConfigs(): WorkflowConfig[];
124
128
  declare function getWorkflowById(id: string): WorkflowConfig | undefined;
129
+
130
+ type McpInstallResult = {
131
+ success: boolean;
132
+ message: string;
133
+ configPath?: string;
134
+ };
135
+ /**
136
+ * Uninstall ace-tool MCP configuration from ~/.claude.json
137
+ */
138
+ declare function uninstallAceTool(): Promise<{
139
+ success: boolean;
140
+ message: string;
141
+ }>;
142
+ /**
143
+ * Install and configure ace-tool MCP for Claude Code.
144
+ */
145
+ declare function installAceTool(config: AceToolConfig): Promise<McpInstallResult>;
146
+ /**
147
+ * Install and configure ace-tool-rs MCP for Claude Code.
148
+ * ace-tool-rs is a Rust implementation — more lightweight and faster.
149
+ */
150
+ declare function installAceToolRs(config: AceToolConfig): Promise<McpInstallResult>;
151
+
125
152
  declare function installWorkflows(workflowIds: string[], installDir: string, force?: boolean, config?: {
126
153
  routing?: {
127
154
  mode?: string;
@@ -140,10 +167,6 @@ declare function installWorkflows(workflowIds: string[], installDir: string, for
140
167
  liteMode?: boolean;
141
168
  mcpProvider?: string;
142
169
  }): Promise<InstallResult>;
143
- /**
144
- * Install and configure ace-tool MCP for Claude Code
145
- * Writes to ~/.claude.json (the correct config file for Claude Code CLI)
146
- */
147
170
  interface UninstallResult {
148
171
  success: boolean;
149
172
  removedCommands: string[];
@@ -158,27 +181,6 @@ interface UninstallResult {
158
181
  * Uninstall workflows by removing their command files
159
182
  */
160
183
  declare function uninstallWorkflows(installDir: string): Promise<UninstallResult>;
161
- /**
162
- * Uninstall ace-tool MCP configuration from ~/.claude.json
163
- */
164
- declare function uninstallAceTool(): Promise<{
165
- success: boolean;
166
- message: string;
167
- }>;
168
- declare function installAceTool(config: AceToolConfig): Promise<{
169
- success: boolean;
170
- message: string;
171
- configPath?: string;
172
- }>;
173
- /**
174
- * Install and configure ace-tool-rs MCP for Claude Code
175
- * ace-tool-rs is a Rust implementation of ace-tool, more lightweight and faster
176
- */
177
- declare function installAceToolRs(config: AceToolConfig): Promise<{
178
- success: boolean;
179
- message: string;
180
- configPath?: string;
181
- }>;
182
184
 
183
185
  /**
184
186
  * Migration utilities for v1.4.0
@@ -226,4 +228,4 @@ declare function checkForUpdates(): Promise<{
226
228
  }>;
227
229
 
228
230
  export { changeLanguage, checkForUpdates, compareVersions, createDefaultConfig, createDefaultRouting, getCcgDir, getConfigPath, getCurrentVersion, getLatestVersion, getWorkflowById, getWorkflowConfigs, i18n, init, initI18n, installAceTool, installAceToolRs, installWorkflows, migrateToV1_4_0, needsMigration, readCcgConfig, showMainMenu, uninstallAceTool, uninstallWorkflows, update, writeCcgConfig };
229
- export type { AceToolConfig, CcgConfig, CliOptions, CollaborationMode, InitOptions, InstallResult, ModelRouting, ModelType, RoutingStrategy, SupportedLang, WorkflowConfig };
231
+ export type { AceToolConfig, CcgConfig, CliOptions, CollaborationMode, FastContextConfig, InitOptions, InstallResult, ModelRouting, ModelType, RoutingStrategy, SupportedLang, WorkflowConfig };
package/dist/index.d.ts CHANGED
@@ -93,6 +93,10 @@ interface AceToolConfig {
93
93
  baseUrl: string;
94
94
  token: string;
95
95
  }
96
+ interface FastContextConfig {
97
+ apiKey?: string;
98
+ includeSnippets?: boolean;
99
+ }
96
100
 
97
101
  declare function init(options?: InitOptions): Promise<void>;
98
102
 
@@ -122,6 +126,29 @@ declare function createDefaultRouting(): ModelRouting;
122
126
 
123
127
  declare function getWorkflowConfigs(): WorkflowConfig[];
124
128
  declare function getWorkflowById(id: string): WorkflowConfig | undefined;
129
+
130
+ type McpInstallResult = {
131
+ success: boolean;
132
+ message: string;
133
+ configPath?: string;
134
+ };
135
+ /**
136
+ * Uninstall ace-tool MCP configuration from ~/.claude.json
137
+ */
138
+ declare function uninstallAceTool(): Promise<{
139
+ success: boolean;
140
+ message: string;
141
+ }>;
142
+ /**
143
+ * Install and configure ace-tool MCP for Claude Code.
144
+ */
145
+ declare function installAceTool(config: AceToolConfig): Promise<McpInstallResult>;
146
+ /**
147
+ * Install and configure ace-tool-rs MCP for Claude Code.
148
+ * ace-tool-rs is a Rust implementation — more lightweight and faster.
149
+ */
150
+ declare function installAceToolRs(config: AceToolConfig): Promise<McpInstallResult>;
151
+
125
152
  declare function installWorkflows(workflowIds: string[], installDir: string, force?: boolean, config?: {
126
153
  routing?: {
127
154
  mode?: string;
@@ -140,10 +167,6 @@ declare function installWorkflows(workflowIds: string[], installDir: string, for
140
167
  liteMode?: boolean;
141
168
  mcpProvider?: string;
142
169
  }): Promise<InstallResult>;
143
- /**
144
- * Install and configure ace-tool MCP for Claude Code
145
- * Writes to ~/.claude.json (the correct config file for Claude Code CLI)
146
- */
147
170
  interface UninstallResult {
148
171
  success: boolean;
149
172
  removedCommands: string[];
@@ -158,27 +181,6 @@ interface UninstallResult {
158
181
  * Uninstall workflows by removing their command files
159
182
  */
160
183
  declare function uninstallWorkflows(installDir: string): Promise<UninstallResult>;
161
- /**
162
- * Uninstall ace-tool MCP configuration from ~/.claude.json
163
- */
164
- declare function uninstallAceTool(): Promise<{
165
- success: boolean;
166
- message: string;
167
- }>;
168
- declare function installAceTool(config: AceToolConfig): Promise<{
169
- success: boolean;
170
- message: string;
171
- configPath?: string;
172
- }>;
173
- /**
174
- * Install and configure ace-tool-rs MCP for Claude Code
175
- * ace-tool-rs is a Rust implementation of ace-tool, more lightweight and faster
176
- */
177
- declare function installAceToolRs(config: AceToolConfig): Promise<{
178
- success: boolean;
179
- message: string;
180
- configPath?: string;
181
- }>;
182
184
 
183
185
  /**
184
186
  * Migration utilities for v1.4.0
@@ -226,4 +228,4 @@ declare function checkForUpdates(): Promise<{
226
228
  }>;
227
229
 
228
230
  export { changeLanguage, checkForUpdates, compareVersions, createDefaultConfig, createDefaultRouting, getCcgDir, getConfigPath, getCurrentVersion, getLatestVersion, getWorkflowById, getWorkflowConfigs, i18n, init, initI18n, installAceTool, installAceToolRs, installWorkflows, migrateToV1_4_0, needsMigration, readCcgConfig, showMainMenu, uninstallAceTool, uninstallWorkflows, update, writeCcgConfig };
229
- export type { AceToolConfig, CcgConfig, CliOptions, CollaborationMode, InitOptions, InstallResult, ModelRouting, ModelType, RoutingStrategy, SupportedLang, WorkflowConfig };
231
+ export type { AceToolConfig, CcgConfig, CliOptions, CollaborationMode, FastContextConfig, InitOptions, InstallResult, ModelRouting, ModelType, RoutingStrategy, SupportedLang, WorkflowConfig };
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.DLkUGirT.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.OKd5dIP0.mjs';
2
2
  import 'ansis';
3
3
  import 'inquirer';
4
4
  import 'node:child_process';