intention-coding 0.1.0 → 0.2.1

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 (45) hide show
  1. package/README.md +262 -0
  2. package/dist/config.d.ts +1 -0
  3. package/dist/db/file-storage.d.ts +255 -0
  4. package/dist/index.cjs +10825 -4643
  5. package/dist/index.js +10805 -4634
  6. package/dist/services/api-test/add-tasks-to-plan.d.ts +97 -0
  7. package/dist/services/api-test/api-test.d.ts +86 -0
  8. package/dist/services/api-test/batch-update-task-summaries.d.ts +61 -0
  9. package/dist/services/api-test/execute-test-plan.d.ts +21 -0
  10. package/dist/services/api-test/export-test-results.d.ts +21 -0
  11. package/dist/services/api-test/get-test-plans.d.ts +21 -0
  12. package/dist/services/api-test/index.d.ts +285 -0
  13. package/dist/services/api-test/test-plan.d.ts +119 -0
  14. package/dist/services/api-test/update-task.d.ts +147 -0
  15. package/dist/services/change-summarizer/index.d.ts +39 -0
  16. package/dist/services/claude-code/index.d.ts +200 -0
  17. package/dist/services/code-generator/database-manager.d.ts +65 -0
  18. package/dist/services/code-generator/enhanced-tools.d.ts +392 -0
  19. package/dist/services/code-generator/export-excel.d.ts +21 -0
  20. package/dist/services/code-generator/index.d.ts +102 -0
  21. package/dist/services/code-generator/task-queue.d.ts +114 -0
  22. package/dist/services/integrated-generator/index.d.ts +107 -0
  23. package/dist/services/openai-service.d.ts +29 -0
  24. package/dist/services/pdf2md/index.d.ts +74 -0
  25. package/dist/services/project-template/index.d.ts +51 -0
  26. package/dist/services/requirement-analyzer/auto-trigger.d.ts +1 -0
  27. package/dist/services/requirement-analyzer/index.d.ts +311 -0
  28. package/dist/services/velocity-template/index.d.ts +334 -0
  29. package/dist/services/world2md/index.d.ts +69 -0
  30. package/dist/utils/common.d.ts +1 -1
  31. package/package.json +12 -7
  32. package/dist/prompt/tech.d.ts +0 -1
  33. package/dist/schemas/intent-recognizer.d.ts +0 -33
  34. package/dist/schemas/types.d.ts +0 -34
  35. package/dist/schemas/word2md.d.ts +0 -34
  36. package/dist/tools/architecture-designer.d.ts +0 -12
  37. package/dist/tools/export-final-document.d.ts +0 -7
  38. package/dist/tools/index.d.ts +0 -6
  39. package/dist/tools/intent-recognizer.d.ts +0 -15
  40. package/dist/tools/requirement-clarifier.d.ts +0 -15
  41. package/dist/tools/requirement-manager.d.ts +0 -18
  42. package/dist/tools/utils.d.ts +0 -0
  43. package/dist/tools/view-requirements-status.d.ts +0 -7
  44. package/dist/tools/word2md.d.ts +0 -36
  45. package/dist/utils/mcp-server.d.ts +0 -28
@@ -0,0 +1,334 @@
1
+ import { z } from 'zod';
2
+ declare const VelocityTemplateParamsSchema: z.ZodObject<{
3
+ originalCode: z.ZodString;
4
+ businessName: z.ZodString;
5
+ moduleName: z.ZodString;
6
+ packageName: z.ZodString;
7
+ columns: z.ZodArray<z.ZodObject<{
8
+ name: z.ZodString;
9
+ type: z.ZodEnum<["string", "number", "date", "dict", "multiselect", "boolean", "textarea", "email", "phone"]>;
10
+ label: z.ZodString;
11
+ query: z.ZodBoolean;
12
+ list: z.ZodBoolean;
13
+ insert: z.ZodBoolean;
14
+ edit: z.ZodBoolean;
15
+ required: z.ZodOptional<z.ZodBoolean>;
16
+ dictCode: z.ZodOptional<z.ZodString>;
17
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
18
+ label: z.ZodString;
19
+ value: z.ZodString;
20
+ }, "strip", z.ZodTypeAny, {
21
+ value: string;
22
+ label: string;
23
+ }, {
24
+ value: string;
25
+ label: string;
26
+ }>, "many">>;
27
+ format: z.ZodOptional<z.ZodString>;
28
+ maxLength: z.ZodOptional<z.ZodNumber>;
29
+ minLength: z.ZodOptional<z.ZodNumber>;
30
+ pattern: z.ZodOptional<z.ZodString>;
31
+ placeholder: z.ZodOptional<z.ZodString>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ type: "string" | "number" | "boolean" | "date" | "dict" | "multiselect" | "textarea" | "email" | "phone";
34
+ name: string;
35
+ query: boolean;
36
+ list: boolean;
37
+ label: string;
38
+ insert: boolean;
39
+ edit: boolean;
40
+ format?: string | undefined;
41
+ options?: {
42
+ value: string;
43
+ label: string;
44
+ }[] | undefined;
45
+ pattern?: string | undefined;
46
+ required?: boolean | undefined;
47
+ dictCode?: string | undefined;
48
+ maxLength?: number | undefined;
49
+ minLength?: number | undefined;
50
+ placeholder?: string | undefined;
51
+ }, {
52
+ type: "string" | "number" | "boolean" | "date" | "dict" | "multiselect" | "textarea" | "email" | "phone";
53
+ name: string;
54
+ query: boolean;
55
+ list: boolean;
56
+ label: string;
57
+ insert: boolean;
58
+ edit: boolean;
59
+ format?: string | undefined;
60
+ options?: {
61
+ value: string;
62
+ label: string;
63
+ }[] | undefined;
64
+ pattern?: string | undefined;
65
+ required?: boolean | undefined;
66
+ dictCode?: string | undefined;
67
+ maxLength?: number | undefined;
68
+ minLength?: number | undefined;
69
+ placeholder?: string | undefined;
70
+ }>, "many">;
71
+ permissions: z.ZodOptional<z.ZodObject<{
72
+ add: z.ZodString;
73
+ edit: z.ZodString;
74
+ delete: z.ZodString;
75
+ view: z.ZodString;
76
+ export: z.ZodString;
77
+ }, "strip", z.ZodTypeAny, {
78
+ delete: string;
79
+ export: string;
80
+ edit: string;
81
+ add: string;
82
+ view: string;
83
+ }, {
84
+ delete: string;
85
+ export: string;
86
+ edit: string;
87
+ add: string;
88
+ view: string;
89
+ }>>;
90
+ apiPrefix: z.ZodString;
91
+ }, "strip", z.ZodTypeAny, {
92
+ originalCode: string;
93
+ businessName: string;
94
+ moduleName: string;
95
+ packageName: string;
96
+ columns: {
97
+ type: "string" | "number" | "boolean" | "date" | "dict" | "multiselect" | "textarea" | "email" | "phone";
98
+ name: string;
99
+ query: boolean;
100
+ list: boolean;
101
+ label: string;
102
+ insert: boolean;
103
+ edit: boolean;
104
+ format?: string | undefined;
105
+ options?: {
106
+ value: string;
107
+ label: string;
108
+ }[] | undefined;
109
+ pattern?: string | undefined;
110
+ required?: boolean | undefined;
111
+ dictCode?: string | undefined;
112
+ maxLength?: number | undefined;
113
+ minLength?: number | undefined;
114
+ placeholder?: string | undefined;
115
+ }[];
116
+ apiPrefix: string;
117
+ permissions?: {
118
+ delete: string;
119
+ export: string;
120
+ edit: string;
121
+ add: string;
122
+ view: string;
123
+ } | undefined;
124
+ }, {
125
+ originalCode: string;
126
+ businessName: string;
127
+ moduleName: string;
128
+ packageName: string;
129
+ columns: {
130
+ type: "string" | "number" | "boolean" | "date" | "dict" | "multiselect" | "textarea" | "email" | "phone";
131
+ name: string;
132
+ query: boolean;
133
+ list: boolean;
134
+ label: string;
135
+ insert: boolean;
136
+ edit: boolean;
137
+ format?: string | undefined;
138
+ options?: {
139
+ value: string;
140
+ label: string;
141
+ }[] | undefined;
142
+ pattern?: string | undefined;
143
+ required?: boolean | undefined;
144
+ dictCode?: string | undefined;
145
+ maxLength?: number | undefined;
146
+ minLength?: number | undefined;
147
+ placeholder?: string | undefined;
148
+ }[];
149
+ apiPrefix: string;
150
+ permissions?: {
151
+ delete: string;
152
+ export: string;
153
+ edit: string;
154
+ add: string;
155
+ view: string;
156
+ } | undefined;
157
+ }>;
158
+ export declare const codeToVelocityTemplate: {
159
+ name: string;
160
+ description: string;
161
+ parameters: z.ZodObject<{
162
+ originalCode: z.ZodString;
163
+ businessName: z.ZodString;
164
+ moduleName: z.ZodString;
165
+ packageName: z.ZodString;
166
+ columns: z.ZodArray<z.ZodObject<{
167
+ name: z.ZodString;
168
+ type: z.ZodEnum<["string", "number", "date", "dict", "multiselect", "boolean", "textarea", "email", "phone"]>;
169
+ label: z.ZodString;
170
+ query: z.ZodBoolean;
171
+ list: z.ZodBoolean;
172
+ insert: z.ZodBoolean;
173
+ edit: z.ZodBoolean;
174
+ required: z.ZodOptional<z.ZodBoolean>;
175
+ dictCode: z.ZodOptional<z.ZodString>;
176
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
177
+ label: z.ZodString;
178
+ value: z.ZodString;
179
+ }, "strip", z.ZodTypeAny, {
180
+ value: string;
181
+ label: string;
182
+ }, {
183
+ value: string;
184
+ label: string;
185
+ }>, "many">>;
186
+ format: z.ZodOptional<z.ZodString>;
187
+ maxLength: z.ZodOptional<z.ZodNumber>;
188
+ minLength: z.ZodOptional<z.ZodNumber>;
189
+ pattern: z.ZodOptional<z.ZodString>;
190
+ placeholder: z.ZodOptional<z.ZodString>;
191
+ }, "strip", z.ZodTypeAny, {
192
+ type: "string" | "number" | "boolean" | "date" | "dict" | "multiselect" | "textarea" | "email" | "phone";
193
+ name: string;
194
+ query: boolean;
195
+ list: boolean;
196
+ label: string;
197
+ insert: boolean;
198
+ edit: boolean;
199
+ format?: string | undefined;
200
+ options?: {
201
+ value: string;
202
+ label: string;
203
+ }[] | undefined;
204
+ pattern?: string | undefined;
205
+ required?: boolean | undefined;
206
+ dictCode?: string | undefined;
207
+ maxLength?: number | undefined;
208
+ minLength?: number | undefined;
209
+ placeholder?: string | undefined;
210
+ }, {
211
+ type: "string" | "number" | "boolean" | "date" | "dict" | "multiselect" | "textarea" | "email" | "phone";
212
+ name: string;
213
+ query: boolean;
214
+ list: boolean;
215
+ label: string;
216
+ insert: boolean;
217
+ edit: boolean;
218
+ format?: string | undefined;
219
+ options?: {
220
+ value: string;
221
+ label: string;
222
+ }[] | undefined;
223
+ pattern?: string | undefined;
224
+ required?: boolean | undefined;
225
+ dictCode?: string | undefined;
226
+ maxLength?: number | undefined;
227
+ minLength?: number | undefined;
228
+ placeholder?: string | undefined;
229
+ }>, "many">;
230
+ permissions: z.ZodOptional<z.ZodObject<{
231
+ add: z.ZodString;
232
+ edit: z.ZodString;
233
+ delete: z.ZodString;
234
+ view: z.ZodString;
235
+ export: z.ZodString;
236
+ }, "strip", z.ZodTypeAny, {
237
+ delete: string;
238
+ export: string;
239
+ edit: string;
240
+ add: string;
241
+ view: string;
242
+ }, {
243
+ delete: string;
244
+ export: string;
245
+ edit: string;
246
+ add: string;
247
+ view: string;
248
+ }>>;
249
+ apiPrefix: z.ZodString;
250
+ }, "strip", z.ZodTypeAny, {
251
+ originalCode: string;
252
+ businessName: string;
253
+ moduleName: string;
254
+ packageName: string;
255
+ columns: {
256
+ type: "string" | "number" | "boolean" | "date" | "dict" | "multiselect" | "textarea" | "email" | "phone";
257
+ name: string;
258
+ query: boolean;
259
+ list: boolean;
260
+ label: string;
261
+ insert: boolean;
262
+ edit: boolean;
263
+ format?: string | undefined;
264
+ options?: {
265
+ value: string;
266
+ label: string;
267
+ }[] | undefined;
268
+ pattern?: string | undefined;
269
+ required?: boolean | undefined;
270
+ dictCode?: string | undefined;
271
+ maxLength?: number | undefined;
272
+ minLength?: number | undefined;
273
+ placeholder?: string | undefined;
274
+ }[];
275
+ apiPrefix: string;
276
+ permissions?: {
277
+ delete: string;
278
+ export: string;
279
+ edit: string;
280
+ add: string;
281
+ view: string;
282
+ } | undefined;
283
+ }, {
284
+ originalCode: string;
285
+ businessName: string;
286
+ moduleName: string;
287
+ packageName: string;
288
+ columns: {
289
+ type: "string" | "number" | "boolean" | "date" | "dict" | "multiselect" | "textarea" | "email" | "phone";
290
+ name: string;
291
+ query: boolean;
292
+ list: boolean;
293
+ label: string;
294
+ insert: boolean;
295
+ edit: boolean;
296
+ format?: string | undefined;
297
+ options?: {
298
+ value: string;
299
+ label: string;
300
+ }[] | undefined;
301
+ pattern?: string | undefined;
302
+ required?: boolean | undefined;
303
+ dictCode?: string | undefined;
304
+ maxLength?: number | undefined;
305
+ minLength?: number | undefined;
306
+ placeholder?: string | undefined;
307
+ }[];
308
+ apiPrefix: string;
309
+ permissions?: {
310
+ delete: string;
311
+ export: string;
312
+ edit: string;
313
+ add: string;
314
+ view: string;
315
+ } | undefined;
316
+ }>;
317
+ execute: (params: z.infer<typeof VelocityTemplateParamsSchema>) => Promise<{
318
+ template: string;
319
+ prompt: string;
320
+ validation: {
321
+ valid: boolean;
322
+ issues: string[];
323
+ };
324
+ metadata: {
325
+ businessName: string;
326
+ moduleName: string;
327
+ fieldCount: number;
328
+ queryFields: number;
329
+ listFields: number;
330
+ formFields: number;
331
+ };
332
+ }>;
333
+ };
334
+ export {};
@@ -0,0 +1,69 @@
1
+ import { z } from "zod";
2
+ export declare const Word2MdParams: z.ZodObject<{
3
+ file_path: z.ZodString;
4
+ options: z.ZodDefault<z.ZodOptional<z.ZodObject<{
5
+ skip_images: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6
+ table_style: z.ZodDefault<z.ZodOptional<z.ZodEnum<["simple", "grid", "pipe"]>>>;
7
+ strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ skip_images: boolean;
10
+ table_style: "pipe" | "simple" | "grid";
11
+ strict_mode: boolean;
12
+ }, {
13
+ skip_images?: boolean | undefined;
14
+ table_style?: "pipe" | "simple" | "grid" | undefined;
15
+ strict_mode?: boolean | undefined;
16
+ }>>>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ options: {
19
+ skip_images: boolean;
20
+ table_style: "pipe" | "simple" | "grid";
21
+ strict_mode: boolean;
22
+ };
23
+ file_path: string;
24
+ }, {
25
+ file_path: string;
26
+ options?: {
27
+ skip_images?: boolean | undefined;
28
+ table_style?: "pipe" | "simple" | "grid" | undefined;
29
+ strict_mode?: boolean | undefined;
30
+ } | undefined;
31
+ }>;
32
+ export interface Word2MdParams {
33
+ file_path: string;
34
+ }
35
+ export declare const word2mdTool: {
36
+ name: string;
37
+ description: string;
38
+ parameters: z.ZodObject<{
39
+ file_path: z.ZodString;
40
+ options: z.ZodDefault<z.ZodOptional<z.ZodObject<{
41
+ skip_images: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
42
+ table_style: z.ZodDefault<z.ZodOptional<z.ZodEnum<["simple", "grid", "pipe"]>>>;
43
+ strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ skip_images: boolean;
46
+ table_style: "pipe" | "simple" | "grid";
47
+ strict_mode: boolean;
48
+ }, {
49
+ skip_images?: boolean | undefined;
50
+ table_style?: "pipe" | "simple" | "grid" | undefined;
51
+ strict_mode?: boolean | undefined;
52
+ }>>>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ options: {
55
+ skip_images: boolean;
56
+ table_style: "pipe" | "simple" | "grid";
57
+ strict_mode: boolean;
58
+ };
59
+ file_path: string;
60
+ }, {
61
+ file_path: string;
62
+ options?: {
63
+ skip_images?: boolean | undefined;
64
+ table_style?: "pipe" | "simple" | "grid" | undefined;
65
+ strict_mode?: boolean | undefined;
66
+ } | undefined;
67
+ }>;
68
+ execute: (args: Word2MdParams) => Promise<string>;
69
+ };
@@ -7,6 +7,6 @@ export declare const sanitizeFileName: (input: string) => string;
7
7
  */
8
8
  export declare function removeImagesFromMarkdown(content: string): string;
9
9
  /**
10
- * 安全验证并标准化路径 (新增)
10
+ * 安全验证并标准化路径
11
11
  */
12
12
  export declare function validateAndResolvePath(filePath: string): Promise<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intention-coding",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "软件工程化的需求分析,功能设计,代码编写,测试运行和发布部署",
5
5
  "type": "module",
6
6
  "exports": {
@@ -26,27 +26,32 @@
26
26
  "prepublish": "npm run build"
27
27
  },
28
28
  "engines": {
29
- "node": ">=16.20.2"
29
+ "node": ">=20.19.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@modelcontextprotocol/inspector": "0.9.0",
33
- "@modelcontextprotocol/sdk": "1.10.2",
34
32
  "@rslib/core": "^0.10.0",
33
+ "@types/better-sqlite3": "^7.6.13",
35
34
  "@types/node": "^18.0.0",
35
+ "@types/uuid": "^10.0.0",
36
36
  "dotenv": "16.4.5",
37
+ "tsx": "^4.20.3",
37
38
  "typescript": "^5.8.3",
38
39
  "vitest": "3.2.3",
39
40
  "zod": "3.25.64"
40
41
  },
41
42
  "dependencies": {
43
+ "@types/pdf-parse": "^1.1.5",
42
44
  "aico-pack": "2.1.0",
43
- "fastmcp": "^3.3.0",
45
+ "axios": "^1.10.0",
46
+ "fastmcp": "^3.8.5",
44
47
  "html-to-md": "^0.8.8",
45
48
  "lru-cache": "^11.1.0",
46
49
  "mammoth": "^1.9.1",
47
- "repomix": "^0.3.9",
50
+ "pdf-parse": "^1.1.1",
51
+ "uuid": "^11.1.0",
48
52
  "winston": "^3.17.0",
49
- "winston-daily-rotate-file": "^5.0.0"
53
+ "winston-daily-rotate-file": "^5.0.0",
54
+ "xlsx": "^0.18.5"
50
55
  },
51
56
  "license": "MIT"
52
57
  }
@@ -1 +0,0 @@
1
- export declare const apiPrompt: (path: string) => Promise<string>;
@@ -1,33 +0,0 @@
1
- import { z } from "zod";
2
- export declare const IntentRecognizerParams: z.ZodObject<{
3
- user_input: z.ZodString;
4
- context: z.ZodOptional<z.ZodString>;
5
- }, "strip", z.ZodTypeAny, {
6
- user_input: string;
7
- context?: string | undefined;
8
- }, {
9
- user_input: string;
10
- context?: string | undefined;
11
- }>;
12
- export declare const ContractSchema: z.ZodObject<{
13
- sequence: z.ZodArray<z.ZodObject<{
14
- tool_name: z.ZodString;
15
- arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
16
- }, "strip", z.ZodTypeAny, {
17
- tool_name: string;
18
- arguments?: Record<string, any> | undefined;
19
- }, {
20
- tool_name: string;
21
- arguments?: Record<string, any> | undefined;
22
- }>, "many">;
23
- }, "strip", z.ZodTypeAny, {
24
- sequence: {
25
- tool_name: string;
26
- arguments?: Record<string, any> | undefined;
27
- }[];
28
- }, {
29
- sequence: {
30
- tool_name: string;
31
- arguments?: Record<string, any> | undefined;
32
- }[];
33
- }>;
@@ -1,34 +0,0 @@
1
- import { z } from "zod";
2
- export declare const RequirementClarifierParams: z.ZodObject<{
3
- user_input: z.ZodString;
4
- file_path: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- user_input: string;
7
- file_path: string;
8
- }, {
9
- user_input: string;
10
- file_path: string;
11
- }>;
12
- export declare const RequirementManagerParams: z.ZodObject<{
13
- clarified_info: z.ZodString;
14
- category: z.ZodEnum<["项目概述", "核心功能需求", "功能和UI需求", "功能需求", "技术需求", "技术和设计约束", "设计需求", "部署需求", "AI约束"]>;
15
- }, "strip", z.ZodTypeAny, {
16
- clarified_info: string;
17
- category: "项目概述" | "核心功能需求" | "功能和UI需求" | "功能需求" | "技术需求" | "技术和设计约束" | "设计需求" | "部署需求" | "AI约束";
18
- }, {
19
- clarified_info: string;
20
- category: "项目概述" | "核心功能需求" | "功能和UI需求" | "功能需求" | "技术需求" | "技术和设计约束" | "设计需求" | "部署需求" | "AI约束";
21
- }>;
22
- export declare const ArchitectureDesignerParams: z.ZodObject<{
23
- design_focus: z.ZodDefault<z.ZodOptional<z.ZodString>>;
24
- }, "strip", z.ZodTypeAny, {
25
- design_focus: string;
26
- }, {
27
- design_focus?: string | undefined;
28
- }>;
29
- export interface ToolContract {
30
- sequence: Array<{
31
- tool_name: string;
32
- arguments?: Record<string, any>;
33
- }>;
34
- }
@@ -1,34 +0,0 @@
1
- import { z } from "zod";
2
- export declare const Word2MdParams: z.ZodObject<{
3
- file_path: z.ZodString;
4
- options: z.ZodDefault<z.ZodOptional<z.ZodObject<{
5
- skip_images: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6
- table_style: z.ZodDefault<z.ZodOptional<z.ZodEnum<["simple", "grid", "pipe"]>>>;
7
- strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8
- }, "strip", z.ZodTypeAny, {
9
- skip_images: boolean;
10
- table_style: "pipe" | "simple" | "grid";
11
- strict_mode: boolean;
12
- }, {
13
- skip_images?: boolean | undefined;
14
- table_style?: "pipe" | "simple" | "grid" | undefined;
15
- strict_mode?: boolean | undefined;
16
- }>>>;
17
- }, "strip", z.ZodTypeAny, {
18
- options: {
19
- skip_images: boolean;
20
- table_style: "pipe" | "simple" | "grid";
21
- strict_mode: boolean;
22
- };
23
- file_path: string;
24
- }, {
25
- file_path: string;
26
- options?: {
27
- skip_images?: boolean | undefined;
28
- table_style?: "pipe" | "simple" | "grid" | undefined;
29
- strict_mode?: boolean | undefined;
30
- } | undefined;
31
- }>;
32
- export interface Word2MdParams {
33
- file_path: string;
34
- }
@@ -1,12 +0,0 @@
1
- export declare const architectureDesignerTool: {
2
- name: string;
3
- description: string;
4
- parameters: import("zod").ZodObject<{
5
- design_focus: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
6
- }, "strip", import("zod").ZodTypeAny, {
7
- design_focus: string;
8
- }, {
9
- design_focus?: string | undefined;
10
- }>;
11
- execute: (args: any) => Promise<string>;
12
- };
@@ -1,7 +0,0 @@
1
- import z from "zod";
2
- export declare const exportFinalDocumentTool: {
3
- name: string;
4
- description: string;
5
- parameters: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
6
- execute: () => Promise<string>;
7
- };
@@ -1,6 +0,0 @@
1
- import { FastMCP } from "fastmcp";
2
- /**
3
- * Register all tools with the MCP server
4
- * @param {Object} server - FastMCP server instance
5
- */
6
- export declare function registerTaskMasterTools(server: FastMCP, asyncManager: (server: any, asyncManager: any) => void): void;
@@ -1,15 +0,0 @@
1
- export declare const intentRecognizer: {
2
- name: string;
3
- description: string;
4
- parameters: import("zod").ZodObject<{
5
- user_input: import("zod").ZodString;
6
- context: import("zod").ZodOptional<import("zod").ZodString>;
7
- }, "strip", import("zod").ZodTypeAny, {
8
- user_input: string;
9
- context?: string | undefined;
10
- }, {
11
- user_input: string;
12
- context?: string | undefined;
13
- }>;
14
- execute: (args: any) => Promise<string>;
15
- };
@@ -1,15 +0,0 @@
1
- export declare const requirementClarifier: {
2
- name: string;
3
- description: string;
4
- parameters: import("zod").ZodObject<{
5
- user_input: import("zod").ZodString;
6
- file_path: import("zod").ZodString;
7
- }, "strip", import("zod").ZodTypeAny, {
8
- user_input: string;
9
- file_path: string;
10
- }, {
11
- user_input: string;
12
- file_path: string;
13
- }>;
14
- execute: (args: any) => Promise<string>;
15
- };
@@ -1,18 +0,0 @@
1
- export declare const requirementManagerTool: {
2
- name: string;
3
- description: string;
4
- parameters: import("zod").ZodObject<{
5
- clarified_info: import("zod").ZodString;
6
- category: import("zod").ZodEnum<["项目概述", "核心功能需求", "功能和UI需求", "功能需求", "技术需求", "技术和设计约束", "设计需求", "部署需求", "AI约束"]>;
7
- }, "strip", import("zod").ZodTypeAny, {
8
- clarified_info: string;
9
- category: "项目概述" | "核心功能需求" | "功能和UI需求" | "功能需求" | "技术需求" | "技术和设计约束" | "设计需求" | "部署需求" | "AI约束";
10
- }, {
11
- clarified_info: string;
12
- category: "项目概述" | "核心功能需求" | "功能和UI需求" | "功能需求" | "技术需求" | "技术和设计约束" | "设计需求" | "部署需求" | "AI约束";
13
- }>;
14
- execute: (args: {
15
- clarified_info: any;
16
- category: any;
17
- }) => Promise<string>;
18
- };
File without changes
@@ -1,7 +0,0 @@
1
- import z from "zod";
2
- export declare const viewRequirementsStatusTool: {
3
- name: string;
4
- description: string;
5
- parameters: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
6
- execute: () => Promise<string>;
7
- };