mcp-probe-kit 1.15.0 → 2.0.0
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 +113 -1642
- package/build/index.js +75 -42
- package/build/lib/elicitation-helper.d.ts +73 -0
- package/build/lib/elicitation-helper.js +130 -0
- package/build/lib/response.d.ts +32 -0
- package/build/lib/response.js +28 -0
- package/build/lib/tasks-manager.d.ts +116 -0
- package/build/lib/tasks-manager.js +217 -0
- package/build/lib/toolset-manager.d.ts +48 -0
- package/build/lib/toolset-manager.js +112 -0
- package/build/schemas/basic-tools.d.ts +0 -32
- package/build/schemas/basic-tools.js +0 -34
- package/build/schemas/code-analysis-tools.d.ts +0 -36
- package/build/schemas/code-analysis-tools.js +0 -38
- package/build/schemas/code-gen-tools.d.ts +0 -44
- package/build/schemas/code-gen-tools.js +0 -46
- package/build/schemas/doc-util-tools.d.ts +0 -54
- package/build/schemas/doc-util-tools.js +0 -58
- package/build/schemas/index.d.ts +0 -188
- package/build/schemas/orchestration-tools.d.ts +0 -22
- package/build/schemas/orchestration-tools.js +0 -23
- package/build/schemas/output/core-tools.d.ts +817 -0
- package/build/schemas/output/core-tools.js +421 -0
- package/build/schemas/output/generation-tools.d.ts +936 -0
- package/build/schemas/output/generation-tools.js +446 -0
- package/build/schemas/output/helper-tools.d.ts +243 -0
- package/build/schemas/output/helper-tools.js +138 -0
- package/build/schemas/output/index.d.ts +76 -0
- package/build/schemas/output/index.js +96 -0
- package/build/schemas/output/project-tools.d.ts +702 -0
- package/build/schemas/output/project-tools.js +339 -0
- package/build/schemas/output/ui-ux-tools.d.ts +469 -0
- package/build/schemas/output/ui-ux-tools.js +218 -0
- package/build/schemas/output/workflow-tools.d.ts +267 -0
- package/build/schemas/output/workflow-tools.js +179 -0
- package/build/schemas/structured-output.d.ts +1317 -0
- package/build/schemas/structured-output.js +1017 -0
- package/build/tools/__tests__/start_ui.integration.test.js +5 -5
- package/build/tools/__tests__/start_ui.property.test.js +11 -11
- package/build/tools/add_feature.d.ts +1 -13
- package/build/tools/add_feature.js +48 -13
- package/build/tools/analyze_project.js +57 -18
- package/build/tools/check_deps.d.ts +1 -13
- package/build/tools/check_deps.js +24 -15
- package/build/tools/code_review.d.ts +1 -13
- package/build/tools/code_review.js +19 -16
- package/build/tools/css_order.js +55 -55
- package/build/tools/debug.d.ts +1 -13
- package/build/tools/debug.js +18 -16
- package/build/tools/estimate.d.ts +1 -19
- package/build/tools/estimate.js +36 -6
- package/build/tools/fix_bug.d.ts +1 -13
- package/build/tools/fix_bug.js +24 -6
- package/build/tools/gen_mock.d.ts +1 -19
- package/build/tools/gen_mock.js +42 -227
- package/build/tools/genapi.d.ts +1 -13
- package/build/tools/genapi.js +18 -15
- package/build/tools/genchangelog.d.ts +1 -13
- package/build/tools/genchangelog.js +36 -212
- package/build/tools/gencommit.d.ts +1 -7
- package/build/tools/gencommit.js +21 -13
- package/build/tools/gendoc.d.ts +1 -13
- package/build/tools/gendoc.js +18 -15
- package/build/tools/genpr.d.ts +1 -13
- package/build/tools/genpr.js +28 -157
- package/build/tools/genreadme.d.ts +1 -13
- package/build/tools/genreadme.js +22 -587
- package/build/tools/gensql.d.ts +1 -13
- package/build/tools/gensql.js +24 -283
- package/build/tools/gentest.d.ts +1 -13
- package/build/tools/gentest.js +49 -16
- package/build/tools/index.d.ts +0 -10
- package/build/tools/index.js +0 -10
- package/build/tools/init_component_catalog.d.ts +3 -20
- package/build/tools/init_component_catalog.js +141 -786
- package/build/tools/init_project.d.ts +7 -13
- package/build/tools/init_project.js +54 -16
- package/build/tools/init_project_context.d.ts +1 -13
- package/build/tools/init_project_context.js +41 -14
- package/build/tools/perf.d.ts +1 -13
- package/build/tools/perf.js +18 -15
- package/build/tools/refactor.d.ts +1 -13
- package/build/tools/refactor.js +54 -15
- package/build/tools/render_ui.d.ts +2 -19
- package/build/tools/render_ui.js +201 -347
- package/build/tools/resolve_conflict.d.ts +1 -13
- package/build/tools/resolve_conflict.js +18 -15
- package/build/tools/security_scan.d.ts +1 -13
- package/build/tools/security_scan.js +16 -5
- package/build/tools/start_api.d.ts +7 -13
- package/build/tools/start_api.js +69 -157
- package/build/tools/start_bugfix.d.ts +1 -7
- package/build/tools/start_bugfix.js +38 -2
- package/build/tools/start_doc.d.ts +7 -13
- package/build/tools/start_doc.js +76 -169
- package/build/tools/start_feature.d.ts +1 -7
- package/build/tools/start_feature.js +54 -2
- package/build/tools/start_onboard.d.ts +1 -7
- package/build/tools/start_onboard.js +40 -2
- package/build/tools/start_ralph.d.ts +1 -7
- package/build/tools/start_ralph.js +88 -2
- package/build/tools/start_refactor.d.ts +7 -13
- package/build/tools/start_refactor.js +75 -148
- package/build/tools/start_release.d.ts +7 -13
- package/build/tools/start_release.js +56 -131
- package/build/tools/start_review.d.ts +7 -13
- package/build/tools/start_review.js +70 -142
- package/build/tools/start_ui.d.ts +1 -7
- package/build/tools/start_ui.js +98 -8
- package/build/tools/ui-ux-tools.d.ts +3 -39
- package/build/tools/ui-ux-tools.js +201 -125
- package/docs/data/tools.js +864 -0
- package/docs/index.html +594 -0
- package/docs/pages/all-tools.html +649 -0
- package/docs/pages/examples.html +564 -0
- package/docs/pages/getting-started.html +529 -0
- package/docs/pages/migration.html +308 -0
- package/docs/specs/algorithm-enhancement/roadmap.md +619 -0
- package/docs/specs/vnext-upgrade/00-OVERVIEW.md +258 -0
- package/docs/specs/vnext-upgrade/BETA_RELEASE_GUIDE.md +328 -0
- package/docs/specs/vnext-upgrade/GITHUB_DISCUSSION_TEMPLATE.md +236 -0
- package/docs/specs/vnext-upgrade/M8.9-PROGRESS-UPDATE.md +248 -0
- package/docs/specs/vnext-upgrade/PROGRESS-SUMMARY.md +195 -0
- package/docs/specs/vnext-upgrade/QUICK_REFERENCE.md +338 -0
- package/docs/specs/vnext-upgrade/README.md +125 -0
- package/docs/specs/vnext-upgrade/STATUS-UPDATE-2026-01-26.md +230 -0
- package/docs/specs/vnext-upgrade/TOOL_CLEANUP.md +343 -0
- package/docs/specs/vnext-upgrade/completed/M1-M2-SUMMARY.md +27 -0
- package/docs/specs/vnext-upgrade/completed/M3_COMPLETION_SUMMARY.md +273 -0
- package/docs/specs/vnext-upgrade/completed/M4-SUMMARY.md +19 -0
- package/docs/specs/vnext-upgrade/completed/M5_COMPLETION_SUMMARY.md +0 -0
- package/docs/specs/vnext-upgrade/completed/M8.1-SUMMARY.md +247 -0
- package/docs/specs/vnext-upgrade/completed/M8.2-SUMMARY.md +296 -0
- package/docs/specs/vnext-upgrade/completed/M8.3-SUMMARY.md +241 -0
- package/docs/specs/vnext-upgrade/completed/M8.3-TEST-SUMMARY.md +216 -0
- package/docs/specs/vnext-upgrade/completed/M8.4-SUMMARY.md +217 -0
- package/docs/specs/vnext-upgrade/completed/M8.4-TEST-SUMMARY.md +198 -0
- package/docs/specs/vnext-upgrade/completed/M8.5-SUMMARY.md +202 -0
- package/docs/specs/vnext-upgrade/completed/M8.5-TEST-SUMMARY.md +223 -0
- package/docs/specs/vnext-upgrade/completed/M8.6-SUMMARY.md +299 -0
- package/docs/specs/vnext-upgrade/completed/M8.8-TEST-SUMMARY.md +216 -0
- package/docs/specs/vnext-upgrade/completed/TOOL-CLEANUP-SUMMARY.md +210 -0
- package/docs/specs/vnext-upgrade/design.md +848 -0
- package/docs/specs/vnext-upgrade/requirements.md +221 -0
- package/docs/specs/vnext-upgrade/tasks/00-INDEX.md +335 -0
- package/docs/specs/vnext-upgrade/tasks/M8.1-SCHEMA-DEFINITION.md +300 -0
- package/docs/specs/vnext-upgrade/tasks/M8.2-P1-TOOLS.md +249 -0
- package/docs/specs/vnext-upgrade/tasks/M8.3-GENERATION-TOOLS.md +49 -0
- package/docs/specs/vnext-upgrade/tasks/M8.4-ORCHESTRATION-TOOLS.md +28 -0
- package/docs/specs/vnext-upgrade/tasks/M8.5-PROJECT-TOOLS.md +29 -0
- package/docs/specs/vnext-upgrade/tasks/M8.6-UI-TOOLS.md +66 -0
- package/docs/specs/vnext-upgrade/tasks/M8.7-HELPER-TOOLS.md +24 -0
- package/docs/specs/vnext-upgrade/tasks/M8.8-INTEGRATION-TESTS.md +90 -0
- package/docs/specs/vnext-upgrade/tasks/M8.9-DOCUMENTATION.md +103 -0
- package/docs/styles/docs.css +556 -0
- package/docs/styles/page.css +815 -0
- package/docs/vnext/MCP_2025-11-25_GUIDE.md +276 -0
- package/docs/vnext/vNext-PRD.md +488 -0
- package/package.json +4 -4
- package/build/utils/design-docs-generator.d.ts +0 -1
- package/build/utils/design-docs-generator.js +0 -1
- package/docs/BEST_PRACTICES.md +0 -1185
- package/docs/HOW_TO_TRIGGER.md +0 -1141
- package/docs/MCP-Probe-Kit-/344/275/277/347/224/250/346/211/213/345/206/214.html +0 -544
- package/docs/MCP-Probe-Kit-/344/275/277/347/224/250/346/211/213/345/206/214.md +0 -1447
|
@@ -28,58 +28,4 @@ export declare const docUtilToolSchemas: readonly [{
|
|
|
28
28
|
readonly required: readonly [];
|
|
29
29
|
readonly additionalProperties: true;
|
|
30
30
|
};
|
|
31
|
-
}, {
|
|
32
|
-
readonly name: "convert";
|
|
33
|
-
readonly description: "当用户需要转换代码格式或框架时使用。转换代码(JS→TS/Class→Hooks/Vue2→Vue3),保持逻辑不变";
|
|
34
|
-
readonly inputSchema: {
|
|
35
|
-
readonly type: "object";
|
|
36
|
-
readonly properties: {
|
|
37
|
-
readonly code: {
|
|
38
|
-
readonly type: "string";
|
|
39
|
-
readonly description: "要转换的代码";
|
|
40
|
-
};
|
|
41
|
-
readonly from: {
|
|
42
|
-
readonly type: "string";
|
|
43
|
-
readonly description: "源格式:js、class、vue2。可选,会自动识别";
|
|
44
|
-
};
|
|
45
|
-
readonly to: {
|
|
46
|
-
readonly type: "string";
|
|
47
|
-
readonly description: "目标格式:ts、hooks、vue3。可选,会自动识别";
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
readonly required: readonly [];
|
|
51
|
-
readonly additionalProperties: true;
|
|
52
|
-
};
|
|
53
|
-
}, {
|
|
54
|
-
readonly name: "css_order";
|
|
55
|
-
readonly description: "当用户需要整理 CSS 属性顺序时使用。重排 CSS 属性顺序,按布局→盒模型→视觉→其他规则整理";
|
|
56
|
-
readonly inputSchema: {
|
|
57
|
-
readonly type: "object";
|
|
58
|
-
readonly properties: {
|
|
59
|
-
readonly css: {
|
|
60
|
-
readonly type: "string";
|
|
61
|
-
readonly description: "CSS 代码。可选,如果不提供会处理当前文件";
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
readonly required: readonly [];
|
|
65
|
-
readonly additionalProperties: true;
|
|
66
|
-
};
|
|
67
|
-
}, {
|
|
68
|
-
readonly name: "split";
|
|
69
|
-
readonly description: "当用户需要拆分大文件、模块化代码时使用。将大文件拆分为小模块,按类型/功能/组件策略拆分";
|
|
70
|
-
readonly inputSchema: {
|
|
71
|
-
readonly type: "object";
|
|
72
|
-
readonly properties: {
|
|
73
|
-
readonly file: {
|
|
74
|
-
readonly type: "string";
|
|
75
|
-
readonly description: "要拆分的文件内容";
|
|
76
|
-
};
|
|
77
|
-
readonly strategy: {
|
|
78
|
-
readonly type: "string";
|
|
79
|
-
readonly description: "拆分策略:auto(自动)、by-type(按类型)、by-function(按功能)。可选,默认 auto";
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
readonly required: readonly [];
|
|
83
|
-
readonly additionalProperties: true;
|
|
84
|
-
};
|
|
85
31
|
}];
|
|
@@ -32,62 +32,4 @@ export const docUtilToolSchemas = [
|
|
|
32
32
|
additionalProperties: true,
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
|
-
// 工具类
|
|
36
|
-
{
|
|
37
|
-
name: "convert",
|
|
38
|
-
description: "当用户需要转换代码格式或框架时使用。转换代码(JS→TS/Class→Hooks/Vue2→Vue3),保持逻辑不变",
|
|
39
|
-
inputSchema: {
|
|
40
|
-
type: "object",
|
|
41
|
-
properties: {
|
|
42
|
-
code: {
|
|
43
|
-
type: "string",
|
|
44
|
-
description: "要转换的代码",
|
|
45
|
-
},
|
|
46
|
-
from: {
|
|
47
|
-
type: "string",
|
|
48
|
-
description: "源格式:js、class、vue2。可选,会自动识别",
|
|
49
|
-
},
|
|
50
|
-
to: {
|
|
51
|
-
type: "string",
|
|
52
|
-
description: "目标格式:ts、hooks、vue3。可选,会自动识别",
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
required: [],
|
|
56
|
-
additionalProperties: true,
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
name: "css_order",
|
|
61
|
-
description: "当用户需要整理 CSS 属性顺序时使用。重排 CSS 属性顺序,按布局→盒模型→视觉→其他规则整理",
|
|
62
|
-
inputSchema: {
|
|
63
|
-
type: "object",
|
|
64
|
-
properties: {
|
|
65
|
-
css: {
|
|
66
|
-
type: "string",
|
|
67
|
-
description: "CSS 代码。可选,如果不提供会处理当前文件",
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
required: [],
|
|
71
|
-
additionalProperties: true,
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
name: "split",
|
|
76
|
-
description: "当用户需要拆分大文件、模块化代码时使用。将大文件拆分为小模块,按类型/功能/组件策略拆分",
|
|
77
|
-
inputSchema: {
|
|
78
|
-
type: "object",
|
|
79
|
-
properties: {
|
|
80
|
-
file: {
|
|
81
|
-
type: "string",
|
|
82
|
-
description: "要拆分的文件内容",
|
|
83
|
-
},
|
|
84
|
-
strategy: {
|
|
85
|
-
type: "string",
|
|
86
|
-
description: "拆分策略:auto(自动)、by-type(按类型)、by-function(按功能)。可选,默认 auto",
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
required: [],
|
|
90
|
-
additionalProperties: true,
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
35
|
];
|
package/build/schemas/index.d.ts
CHANGED
|
@@ -2,38 +2,6 @@
|
|
|
2
2
|
* 所有工具 Schema 的统一导出
|
|
3
3
|
*/
|
|
4
4
|
export declare const allToolSchemas: ({
|
|
5
|
-
readonly name: "detect_shell";
|
|
6
|
-
readonly description: "当用户询问当前 AI 环境、是否为套壳产品时使用。检测 AI 应用环境指纹,返回 JSON 检测报告";
|
|
7
|
-
readonly inputSchema: {
|
|
8
|
-
readonly type: "object";
|
|
9
|
-
readonly properties: {
|
|
10
|
-
readonly nonce: {
|
|
11
|
-
readonly type: "string";
|
|
12
|
-
readonly description: "随机数,用于网络检测。可选";
|
|
13
|
-
};
|
|
14
|
-
readonly skip_network: {
|
|
15
|
-
readonly type: "boolean";
|
|
16
|
-
readonly description: "是否跳过网络检测。可选,默认 false";
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
readonly required: readonly [];
|
|
20
|
-
readonly additionalProperties: true;
|
|
21
|
-
};
|
|
22
|
-
} | {
|
|
23
|
-
readonly name: "init_setting";
|
|
24
|
-
readonly description: "当用户需要初始化或配置 Cursor IDE 设置时使用。写入推荐的 AI 配置到 .cursor/settings.json";
|
|
25
|
-
readonly inputSchema: {
|
|
26
|
-
readonly type: "object";
|
|
27
|
-
readonly properties: {
|
|
28
|
-
readonly project_path: {
|
|
29
|
-
readonly type: "string";
|
|
30
|
-
readonly description: "项目路径。可选,默认为当前工作区路径";
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
readonly required: readonly [];
|
|
34
|
-
readonly additionalProperties: true;
|
|
35
|
-
};
|
|
36
|
-
} | {
|
|
37
5
|
readonly name: "init_project";
|
|
38
6
|
readonly description: "当用户需要创建新项目、生成项目结构时使用。按 Spec-Driven Development 方式生成需求/设计/任务文档";
|
|
39
7
|
readonly inputSchema: {
|
|
@@ -159,24 +127,6 @@ export declare const allToolSchemas: ({
|
|
|
159
127
|
readonly required: readonly [];
|
|
160
128
|
readonly additionalProperties: true;
|
|
161
129
|
};
|
|
162
|
-
} | {
|
|
163
|
-
readonly name: "explain";
|
|
164
|
-
readonly description: "当用户不理解某段代码、需要代码解释时使用。解释代码逻辑和实现原理,包含执行流程、关键概念";
|
|
165
|
-
readonly inputSchema: {
|
|
166
|
-
readonly type: "object";
|
|
167
|
-
readonly properties: {
|
|
168
|
-
readonly code: {
|
|
169
|
-
readonly type: "string";
|
|
170
|
-
readonly description: "要解释的代码。可以是代码片段或完整函数";
|
|
171
|
-
};
|
|
172
|
-
readonly context: {
|
|
173
|
-
readonly type: "string";
|
|
174
|
-
readonly description: "业务背景或上下文。可选,有助于更好的解释";
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
readonly required: readonly [];
|
|
178
|
-
readonly additionalProperties: true;
|
|
179
|
-
};
|
|
180
130
|
} | {
|
|
181
131
|
readonly name: "perf";
|
|
182
132
|
readonly description: "当用户关注代码性能、需要优化性能时使用。分析性能瓶颈(算法/内存/数据库/React渲染),输出瓶颈清单和优化建议";
|
|
@@ -235,24 +185,6 @@ export declare const allToolSchemas: ({
|
|
|
235
185
|
readonly required: readonly [];
|
|
236
186
|
readonly additionalProperties: true;
|
|
237
187
|
};
|
|
238
|
-
} | {
|
|
239
|
-
readonly name: "fix";
|
|
240
|
-
readonly description: "当用户需要自动修复代码问题(Lint/格式化/类型错误)时使用。自动修复可机械化问题,输出补丁(unified diff)";
|
|
241
|
-
readonly inputSchema: {
|
|
242
|
-
readonly type: "object";
|
|
243
|
-
readonly properties: {
|
|
244
|
-
readonly code: {
|
|
245
|
-
readonly type: "string";
|
|
246
|
-
readonly description: "要修复的代码";
|
|
247
|
-
};
|
|
248
|
-
readonly type: {
|
|
249
|
-
readonly type: "string";
|
|
250
|
-
readonly description: "修复类型:lint(代码规范)、ts(TypeScript错误)、format(格式化)、import(导入)。可选,会自动识别";
|
|
251
|
-
};
|
|
252
|
-
};
|
|
253
|
-
readonly required: readonly [];
|
|
254
|
-
readonly additionalProperties: true;
|
|
255
|
-
};
|
|
256
188
|
} | {
|
|
257
189
|
readonly name: "fix_bug";
|
|
258
190
|
readonly description: "当用户需要修复 Bug、获取修复指导时使用。提供 Bug 修复流程指导,包含根因分析、修复方案、验证步骤";
|
|
@@ -333,24 +265,6 @@ export declare const allToolSchemas: ({
|
|
|
333
265
|
readonly required: readonly [];
|
|
334
266
|
readonly additionalProperties: true;
|
|
335
267
|
};
|
|
336
|
-
} | {
|
|
337
|
-
readonly name: "genui";
|
|
338
|
-
readonly description: "当用户需要生成 UI 组件代码时使用。根据描述生成 UI 组件代码(React/Vue/HTML),包含 Props 和样式";
|
|
339
|
-
readonly inputSchema: {
|
|
340
|
-
readonly type: "object";
|
|
341
|
-
readonly properties: {
|
|
342
|
-
readonly description: {
|
|
343
|
-
readonly type: "string";
|
|
344
|
-
readonly description: "组件描述。可以是简短描述(如'登录表单组件')或详细的UI需求";
|
|
345
|
-
};
|
|
346
|
-
readonly framework: {
|
|
347
|
-
readonly type: "string";
|
|
348
|
-
readonly description: "前端框架:react、vue、html。可选,默认 react";
|
|
349
|
-
};
|
|
350
|
-
};
|
|
351
|
-
readonly required: readonly [];
|
|
352
|
-
readonly additionalProperties: true;
|
|
353
|
-
};
|
|
354
268
|
} | {
|
|
355
269
|
readonly name: "gensql";
|
|
356
270
|
readonly description: "当用户需要根据自然语言生成 SQL 查询时使用。将自然语言描述转换为 SQL 语句(PostgreSQL/MySQL/SQLite)";
|
|
@@ -395,32 +309,6 @@ export declare const allToolSchemas: ({
|
|
|
395
309
|
readonly required: readonly [];
|
|
396
310
|
readonly additionalProperties: true;
|
|
397
311
|
};
|
|
398
|
-
} | {
|
|
399
|
-
readonly name: "design2code";
|
|
400
|
-
readonly description: "当用户需要将设计稿转换为代码时使用。将设计稿(图片URL/描述/HTML)转换为前端代码(React/Vue),1:1 还原布局和样式";
|
|
401
|
-
readonly inputSchema: {
|
|
402
|
-
readonly type: "object";
|
|
403
|
-
readonly properties: {
|
|
404
|
-
readonly input: {
|
|
405
|
-
readonly type: "string";
|
|
406
|
-
readonly description: "设计稿输入:图片 URL、base64 图片、HTML 代码或设计稿描述";
|
|
407
|
-
};
|
|
408
|
-
readonly framework: {
|
|
409
|
-
readonly type: "string";
|
|
410
|
-
readonly description: "目标框架:vue、react。可选,默认为 vue";
|
|
411
|
-
};
|
|
412
|
-
readonly style_solution: {
|
|
413
|
-
readonly type: "string";
|
|
414
|
-
readonly description: "样式方案:tailwind、css-modules、styled-components。可选,默认为 tailwind";
|
|
415
|
-
};
|
|
416
|
-
readonly component_type: {
|
|
417
|
-
readonly type: "string";
|
|
418
|
-
readonly description: "组件类型:page(页面组件)、component(通用组件)。可选,默认为 page";
|
|
419
|
-
};
|
|
420
|
-
};
|
|
421
|
-
readonly required: readonly [];
|
|
422
|
-
readonly additionalProperties: true;
|
|
423
|
-
};
|
|
424
312
|
} | {
|
|
425
313
|
readonly name: "genreadme";
|
|
426
314
|
readonly description: "当用户需要生成项目 README 文档时使用。生成 README 文档,包含项目介绍/安装/使用/脚本/FAQ";
|
|
@@ -448,60 +336,6 @@ export declare const allToolSchemas: ({
|
|
|
448
336
|
readonly required: readonly [];
|
|
449
337
|
readonly additionalProperties: true;
|
|
450
338
|
};
|
|
451
|
-
} | {
|
|
452
|
-
readonly name: "convert";
|
|
453
|
-
readonly description: "当用户需要转换代码格式或框架时使用。转换代码(JS→TS/Class→Hooks/Vue2→Vue3),保持逻辑不变";
|
|
454
|
-
readonly inputSchema: {
|
|
455
|
-
readonly type: "object";
|
|
456
|
-
readonly properties: {
|
|
457
|
-
readonly code: {
|
|
458
|
-
readonly type: "string";
|
|
459
|
-
readonly description: "要转换的代码";
|
|
460
|
-
};
|
|
461
|
-
readonly from: {
|
|
462
|
-
readonly type: "string";
|
|
463
|
-
readonly description: "源格式:js、class、vue2。可选,会自动识别";
|
|
464
|
-
};
|
|
465
|
-
readonly to: {
|
|
466
|
-
readonly type: "string";
|
|
467
|
-
readonly description: "目标格式:ts、hooks、vue3。可选,会自动识别";
|
|
468
|
-
};
|
|
469
|
-
};
|
|
470
|
-
readonly required: readonly [];
|
|
471
|
-
readonly additionalProperties: true;
|
|
472
|
-
};
|
|
473
|
-
} | {
|
|
474
|
-
readonly name: "css_order";
|
|
475
|
-
readonly description: "当用户需要整理 CSS 属性顺序时使用。重排 CSS 属性顺序,按布局→盒模型→视觉→其他规则整理";
|
|
476
|
-
readonly inputSchema: {
|
|
477
|
-
readonly type: "object";
|
|
478
|
-
readonly properties: {
|
|
479
|
-
readonly css: {
|
|
480
|
-
readonly type: "string";
|
|
481
|
-
readonly description: "CSS 代码。可选,如果不提供会处理当前文件";
|
|
482
|
-
};
|
|
483
|
-
};
|
|
484
|
-
readonly required: readonly [];
|
|
485
|
-
readonly additionalProperties: true;
|
|
486
|
-
};
|
|
487
|
-
} | {
|
|
488
|
-
readonly name: "split";
|
|
489
|
-
readonly description: "当用户需要拆分大文件、模块化代码时使用。将大文件拆分为小模块,按类型/功能/组件策略拆分";
|
|
490
|
-
readonly inputSchema: {
|
|
491
|
-
readonly type: "object";
|
|
492
|
-
readonly properties: {
|
|
493
|
-
readonly file: {
|
|
494
|
-
readonly type: "string";
|
|
495
|
-
readonly description: "要拆分的文件内容";
|
|
496
|
-
};
|
|
497
|
-
readonly strategy: {
|
|
498
|
-
readonly type: "string";
|
|
499
|
-
readonly description: "拆分策略:auto(自动)、by-type(按类型)、by-function(按功能)。可选,默认 auto";
|
|
500
|
-
};
|
|
501
|
-
};
|
|
502
|
-
readonly required: readonly [];
|
|
503
|
-
readonly additionalProperties: true;
|
|
504
|
-
};
|
|
505
339
|
} | {
|
|
506
340
|
readonly name: "analyze_project";
|
|
507
341
|
readonly description: "当用户需要了解项目结构、分析项目技术栈时使用。分析项目结构、技术栈、架构模式,输出项目全景报告";
|
|
@@ -742,28 +576,6 @@ export declare const allToolSchemas: ({
|
|
|
742
576
|
readonly required: readonly [];
|
|
743
577
|
readonly additionalProperties: true;
|
|
744
578
|
};
|
|
745
|
-
} | {
|
|
746
|
-
readonly name: "gen_skill";
|
|
747
|
-
readonly description: "当用户需要生成 Agent Skills 文档时使用。为 MCP Probe Kit 工具生成符合开放标准的技能文档,输出到 skills/ 目录";
|
|
748
|
-
readonly inputSchema: {
|
|
749
|
-
readonly type: "object";
|
|
750
|
-
readonly properties: {
|
|
751
|
-
readonly scope: {
|
|
752
|
-
readonly type: "string";
|
|
753
|
-
readonly description: "生成范围:all(所有工具)、single(单个工具)。可选,默认 all";
|
|
754
|
-
};
|
|
755
|
-
readonly tool_name: {
|
|
756
|
-
readonly type: "string";
|
|
757
|
-
readonly description: "工具名称。当 scope 为 single 时必填";
|
|
758
|
-
};
|
|
759
|
-
readonly lang: {
|
|
760
|
-
readonly type: "string";
|
|
761
|
-
readonly description: "文档语言:zh(中文)、en(英文)。可选,默认 zh";
|
|
762
|
-
};
|
|
763
|
-
};
|
|
764
|
-
readonly required: readonly [];
|
|
765
|
-
readonly additionalProperties: true;
|
|
766
|
-
};
|
|
767
579
|
} | {
|
|
768
580
|
readonly name: "start_ralph";
|
|
769
581
|
readonly description: "当用户需要启动 Ralph Wiggum Loop 循环开发时使用。生成 .ralph/ 目录结构、安全模式脚本和执行指南。默认启用多重安全保护,防止无人值守时费用失控";
|
|
@@ -161,28 +161,6 @@ export declare const orchestrationToolSchemas: readonly [{
|
|
|
161
161
|
readonly required: readonly [];
|
|
162
162
|
readonly additionalProperties: true;
|
|
163
163
|
};
|
|
164
|
-
}, {
|
|
165
|
-
readonly name: "gen_skill";
|
|
166
|
-
readonly description: "当用户需要生成 Agent Skills 文档时使用。为 MCP Probe Kit 工具生成符合开放标准的技能文档,输出到 skills/ 目录";
|
|
167
|
-
readonly inputSchema: {
|
|
168
|
-
readonly type: "object";
|
|
169
|
-
readonly properties: {
|
|
170
|
-
readonly scope: {
|
|
171
|
-
readonly type: "string";
|
|
172
|
-
readonly description: "生成范围:all(所有工具)、single(单个工具)。可选,默认 all";
|
|
173
|
-
};
|
|
174
|
-
readonly tool_name: {
|
|
175
|
-
readonly type: "string";
|
|
176
|
-
readonly description: "工具名称。当 scope 为 single 时必填";
|
|
177
|
-
};
|
|
178
|
-
readonly lang: {
|
|
179
|
-
readonly type: "string";
|
|
180
|
-
readonly description: "文档语言:zh(中文)、en(英文)。可选,默认 zh";
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
readonly required: readonly [];
|
|
184
|
-
readonly additionalProperties: true;
|
|
185
|
-
};
|
|
186
164
|
}, {
|
|
187
165
|
readonly name: "start_ralph";
|
|
188
166
|
readonly description: "当用户需要启动 Ralph Wiggum Loop 循环开发时使用。生成 .ralph/ 目录结构、安全模式脚本和执行指南。默认启用多重安全保护,防止无人值守时费用失控";
|
|
@@ -170,29 +170,6 @@ export const orchestrationToolSchemas = [
|
|
|
170
170
|
additionalProperties: true,
|
|
171
171
|
},
|
|
172
172
|
},
|
|
173
|
-
{
|
|
174
|
-
name: "gen_skill",
|
|
175
|
-
description: "当用户需要生成 Agent Skills 文档时使用。为 MCP Probe Kit 工具生成符合开放标准的技能文档,输出到 skills/ 目录",
|
|
176
|
-
inputSchema: {
|
|
177
|
-
type: "object",
|
|
178
|
-
properties: {
|
|
179
|
-
scope: {
|
|
180
|
-
type: "string",
|
|
181
|
-
description: "生成范围:all(所有工具)、single(单个工具)。可选,默认 all",
|
|
182
|
-
},
|
|
183
|
-
tool_name: {
|
|
184
|
-
type: "string",
|
|
185
|
-
description: "工具名称。当 scope 为 single 时必填",
|
|
186
|
-
},
|
|
187
|
-
lang: {
|
|
188
|
-
type: "string",
|
|
189
|
-
description: "文档语言:zh(中文)、en(英文)。可选,默认 zh",
|
|
190
|
-
},
|
|
191
|
-
},
|
|
192
|
-
required: [],
|
|
193
|
-
additionalProperties: true,
|
|
194
|
-
},
|
|
195
|
-
},
|
|
196
173
|
{
|
|
197
174
|
name: "start_ralph",
|
|
198
175
|
description: "当用户需要启动 Ralph Wiggum Loop 循环开发时使用。生成 .ralph/ 目录结构、安全模式脚本和执行指南。默认启用多重安全保护,防止无人值守时费用失控",
|