intention-coding 0.3.5 → 0.3.6
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 +1 -1
- package/dist/index.cjs +6458 -0
- package/dist/index.d.ts +1 -0
- package/dist/server/index.d.ts +2 -0
- package/dist/services/bug-fix-agent/index.d.ts +10 -24
- package/dist/services/change-summarizer/index.d.ts +10 -24
- package/dist/services/code-generator/index.d.ts +18 -24
- package/dist/services/image-analysis/index.d.ts +36 -56
- package/dist/services/image-converter/index.d.ts +24 -38
- package/dist/services/integrated-generator/index.d.ts +28 -66
- package/dist/services/pdf2md/index.d.ts +4 -48
- package/dist/services/project-template/index.d.ts +2 -18
- package/dist/services/requirement-analyzer/index.d.ts +22 -80
- package/dist/services/world2md/index.d.ts +14 -50
- package/dist/types/index.d.ts +8 -0
- package/package.json +46 -28
- package/dist/cli/analyze-image.d.ts +0 -2
- package/dist/index.js +0 -11527
- package/dist/services/api-test/add-tasks-to-plan.d.ts +0 -97
- package/dist/services/api-test/api-test.d.ts +0 -86
- package/dist/services/api-test/batch-update-task-summaries.d.ts +0 -61
- package/dist/services/api-test/execute-test-plan.d.ts +0 -21
- package/dist/services/api-test/export-test-results.d.ts +0 -21
- package/dist/services/api-test/get-test-plans.d.ts +0 -21
- package/dist/services/api-test/index.d.ts +0 -285
- package/dist/services/api-test/test-plan.d.ts +0 -119
- package/dist/services/api-test/update-task.d.ts +0 -147
- package/dist/services/claude-code/index.d.ts +0 -200
- package/dist/utils/requirements-utils.d.ts +0 -38
- package/dist/utils/storage.d.ts +0 -14
- /package/dist/{config.d.ts → utils/config.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -3,18 +3,11 @@ export declare const BugFixAgentParams: z.ZodObject<{
|
|
|
3
3
|
bug_description: z.ZodString;
|
|
4
4
|
project_path: z.ZodOptional<z.ZodString>;
|
|
5
5
|
project_name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6
|
-
output_format: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
project_path?: string | undefined;
|
|
12
|
-
}, {
|
|
13
|
-
bug_description: string;
|
|
14
|
-
project_name?: string | undefined;
|
|
15
|
-
project_path?: string | undefined;
|
|
16
|
-
output_format?: "json" | "markdown" | undefined;
|
|
17
|
-
}>;
|
|
6
|
+
output_format: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
json: "json";
|
|
8
|
+
markdown: "markdown";
|
|
9
|
+
}>>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
18
11
|
export interface BugFixAgentParams {
|
|
19
12
|
bug_description: string;
|
|
20
13
|
project_path?: string;
|
|
@@ -28,17 +21,10 @@ export declare const bugFixAgentTool: {
|
|
|
28
21
|
bug_description: z.ZodString;
|
|
29
22
|
project_path: z.ZodOptional<z.ZodString>;
|
|
30
23
|
project_name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
31
|
-
output_format: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
project_path?: string | undefined;
|
|
37
|
-
}, {
|
|
38
|
-
bug_description: string;
|
|
39
|
-
project_name?: string | undefined;
|
|
40
|
-
project_path?: string | undefined;
|
|
41
|
-
output_format?: "json" | "markdown" | undefined;
|
|
42
|
-
}>;
|
|
24
|
+
output_format: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
json: "json";
|
|
26
|
+
markdown: "markdown";
|
|
27
|
+
}>>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
43
29
|
execute: (args: BugFixAgentParams) => Promise<string>;
|
|
44
30
|
};
|
|
@@ -3,18 +3,11 @@ export declare const ChangeSummarizerParams: z.ZodObject<{
|
|
|
3
3
|
baseBranch: z.ZodDefault<z.ZodString>;
|
|
4
4
|
requirementFile: z.ZodOptional<z.ZodString>;
|
|
5
5
|
includeUncommitted: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
-
outputFormat: z.ZodDefault<z.ZodEnum<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
requirementFile?: string | undefined;
|
|
12
|
-
}, {
|
|
13
|
-
baseBranch?: string | undefined;
|
|
14
|
-
requirementFile?: string | undefined;
|
|
15
|
-
includeUncommitted?: boolean | undefined;
|
|
16
|
-
outputFormat?: "json" | "markdown" | undefined;
|
|
17
|
-
}>;
|
|
6
|
+
outputFormat: z.ZodDefault<z.ZodEnum<{
|
|
7
|
+
json: "json";
|
|
8
|
+
markdown: "markdown";
|
|
9
|
+
}>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
18
11
|
export type ChangeSummarizerArgs = z.infer<typeof ChangeSummarizerParams>;
|
|
19
12
|
export declare const changeSummarizer: {
|
|
20
13
|
name: string;
|
|
@@ -23,17 +16,10 @@ export declare const changeSummarizer: {
|
|
|
23
16
|
baseBranch: z.ZodDefault<z.ZodString>;
|
|
24
17
|
requirementFile: z.ZodOptional<z.ZodString>;
|
|
25
18
|
includeUncommitted: z.ZodDefault<z.ZodBoolean>;
|
|
26
|
-
outputFormat: z.ZodDefault<z.ZodEnum<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
requirementFile?: string | undefined;
|
|
32
|
-
}, {
|
|
33
|
-
baseBranch?: string | undefined;
|
|
34
|
-
requirementFile?: string | undefined;
|
|
35
|
-
includeUncommitted?: boolean | undefined;
|
|
36
|
-
outputFormat?: "json" | "markdown" | undefined;
|
|
37
|
-
}>;
|
|
19
|
+
outputFormat: z.ZodDefault<z.ZodEnum<{
|
|
20
|
+
json: "json";
|
|
21
|
+
markdown: "markdown";
|
|
22
|
+
}>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
38
24
|
execute: (args: ChangeSummarizerArgs) => Promise<string>;
|
|
39
25
|
};
|
|
@@ -5,20 +5,17 @@
|
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
declare const CodeGeneratorParamsSchema: z.ZodObject<{
|
|
7
7
|
task_description: z.ZodString;
|
|
8
|
-
current_stage: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
8
|
+
current_stage: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
research: "research";
|
|
10
|
+
ideation: "ideation";
|
|
11
|
+
planning: "planning";
|
|
12
|
+
execution: "execution";
|
|
13
|
+
optimization: "optimization";
|
|
14
|
+
review: "review";
|
|
15
|
+
}>>>;
|
|
9
16
|
user_input: z.ZodOptional<z.ZodAny>;
|
|
10
17
|
project_path: z.ZodOptional<z.ZodString>;
|
|
11
|
-
},
|
|
12
|
-
task_description: string;
|
|
13
|
-
current_stage: "review" | "planning" | "research" | "ideation" | "execution" | "optimization";
|
|
14
|
-
project_path?: string | undefined;
|
|
15
|
-
user_input?: any;
|
|
16
|
-
}, {
|
|
17
|
-
task_description: string;
|
|
18
|
-
project_path?: string | undefined;
|
|
19
|
-
current_stage?: "review" | "planning" | "research" | "ideation" | "execution" | "optimization" | undefined;
|
|
20
|
-
user_input?: any;
|
|
21
|
-
}>;
|
|
18
|
+
}, z.core.$strip>;
|
|
22
19
|
export type CodeGeneratorParams = z.infer<typeof CodeGeneratorParamsSchema>;
|
|
23
20
|
/**
|
|
24
21
|
* 编程智能体
|
|
@@ -28,20 +25,17 @@ export declare const codeGeneratorTool: {
|
|
|
28
25
|
description: string;
|
|
29
26
|
parameters: z.ZodObject<{
|
|
30
27
|
task_description: z.ZodString;
|
|
31
|
-
current_stage: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
28
|
+
current_stage: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
29
|
+
research: "research";
|
|
30
|
+
ideation: "ideation";
|
|
31
|
+
planning: "planning";
|
|
32
|
+
execution: "execution";
|
|
33
|
+
optimization: "optimization";
|
|
34
|
+
review: "review";
|
|
35
|
+
}>>>;
|
|
32
36
|
user_input: z.ZodOptional<z.ZodAny>;
|
|
33
37
|
project_path: z.ZodOptional<z.ZodString>;
|
|
34
|
-
},
|
|
35
|
-
task_description: string;
|
|
36
|
-
current_stage: "review" | "planning" | "research" | "ideation" | "execution" | "optimization";
|
|
37
|
-
project_path?: string | undefined;
|
|
38
|
-
user_input?: any;
|
|
39
|
-
}, {
|
|
40
|
-
task_description: string;
|
|
41
|
-
project_path?: string | undefined;
|
|
42
|
-
current_stage?: "review" | "planning" | "research" | "ideation" | "execution" | "optimization" | undefined;
|
|
43
|
-
user_input?: any;
|
|
44
|
-
}>;
|
|
38
|
+
}, z.core.$strip>;
|
|
45
39
|
execute: (args: CodeGeneratorParams) => Promise<string>;
|
|
46
40
|
};
|
|
47
41
|
export {};
|
|
@@ -1,35 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
declare const ImageAnalysisParamsSchema: z.
|
|
2
|
+
declare const ImageAnalysisParamsSchema: z.ZodObject<{
|
|
3
3
|
image_path: z.ZodString;
|
|
4
|
-
analysis_type: z.ZodEnum<
|
|
4
|
+
analysis_type: z.ZodEnum<{
|
|
5
|
+
text: "text";
|
|
6
|
+
general: "general";
|
|
7
|
+
objects: "objects";
|
|
8
|
+
scene: "scene";
|
|
9
|
+
people: "people";
|
|
10
|
+
technical: "technical";
|
|
11
|
+
ui_design: "ui_design";
|
|
12
|
+
requirement: "requirement";
|
|
13
|
+
custom: "custom";
|
|
14
|
+
}>;
|
|
5
15
|
custom_prompt: z.ZodOptional<z.ZodString>;
|
|
6
|
-
detail_level: z.ZodDefault<z.ZodEnum<
|
|
16
|
+
detail_level: z.ZodDefault<z.ZodEnum<{
|
|
17
|
+
detailed: "detailed";
|
|
18
|
+
comprehensive: "comprehensive";
|
|
19
|
+
brief: "brief";
|
|
20
|
+
}>>;
|
|
7
21
|
language: z.ZodDefault<z.ZodString>;
|
|
8
|
-
},
|
|
9
|
-
image_path: string;
|
|
10
|
-
analysis_type: "text" | "custom" | "general" | "objects" | "scene" | "people" | "technical" | "ui_design" | "requirement";
|
|
11
|
-
detail_level: "detailed" | "comprehensive" | "brief";
|
|
12
|
-
language: string;
|
|
13
|
-
custom_prompt?: string | undefined;
|
|
14
|
-
}, {
|
|
15
|
-
image_path: string;
|
|
16
|
-
analysis_type: "text" | "custom" | "general" | "objects" | "scene" | "people" | "technical" | "ui_design" | "requirement";
|
|
17
|
-
custom_prompt?: string | undefined;
|
|
18
|
-
detail_level?: "detailed" | "comprehensive" | "brief" | undefined;
|
|
19
|
-
language?: string | undefined;
|
|
20
|
-
}>, {
|
|
21
|
-
image_path: string;
|
|
22
|
-
analysis_type: "text" | "custom" | "general" | "objects" | "scene" | "people" | "technical" | "ui_design" | "requirement";
|
|
23
|
-
detail_level: "detailed" | "comprehensive" | "brief";
|
|
24
|
-
language: string;
|
|
25
|
-
custom_prompt?: string | undefined;
|
|
26
|
-
}, {
|
|
27
|
-
image_path: string;
|
|
28
|
-
analysis_type: "text" | "custom" | "general" | "objects" | "scene" | "people" | "technical" | "ui_design" | "requirement";
|
|
29
|
-
custom_prompt?: string | undefined;
|
|
30
|
-
detail_level?: "detailed" | "comprehensive" | "brief" | undefined;
|
|
31
|
-
language?: string | undefined;
|
|
32
|
-
}>;
|
|
22
|
+
}, z.core.$strip>;
|
|
33
23
|
export type ImageAnalysisToolParams = z.infer<typeof ImageAnalysisParamsSchema>;
|
|
34
24
|
/**
|
|
35
25
|
* 图片内容理解智能体
|
|
@@ -38,37 +28,27 @@ export type ImageAnalysisToolParams = z.infer<typeof ImageAnalysisParamsSchema>;
|
|
|
38
28
|
export declare const imageAnalysisTool: {
|
|
39
29
|
name: string;
|
|
40
30
|
description: string;
|
|
41
|
-
parameters: z.
|
|
31
|
+
parameters: z.ZodObject<{
|
|
42
32
|
image_path: z.ZodString;
|
|
43
|
-
analysis_type: z.ZodEnum<
|
|
33
|
+
analysis_type: z.ZodEnum<{
|
|
34
|
+
text: "text";
|
|
35
|
+
general: "general";
|
|
36
|
+
objects: "objects";
|
|
37
|
+
scene: "scene";
|
|
38
|
+
people: "people";
|
|
39
|
+
technical: "technical";
|
|
40
|
+
ui_design: "ui_design";
|
|
41
|
+
requirement: "requirement";
|
|
42
|
+
custom: "custom";
|
|
43
|
+
}>;
|
|
44
44
|
custom_prompt: z.ZodOptional<z.ZodString>;
|
|
45
|
-
detail_level: z.ZodDefault<z.ZodEnum<
|
|
45
|
+
detail_level: z.ZodDefault<z.ZodEnum<{
|
|
46
|
+
detailed: "detailed";
|
|
47
|
+
comprehensive: "comprehensive";
|
|
48
|
+
brief: "brief";
|
|
49
|
+
}>>;
|
|
46
50
|
language: z.ZodDefault<z.ZodString>;
|
|
47
|
-
},
|
|
48
|
-
image_path: string;
|
|
49
|
-
analysis_type: "text" | "custom" | "general" | "objects" | "scene" | "people" | "technical" | "ui_design" | "requirement";
|
|
50
|
-
detail_level: "detailed" | "comprehensive" | "brief";
|
|
51
|
-
language: string;
|
|
52
|
-
custom_prompt?: string | undefined;
|
|
53
|
-
}, {
|
|
54
|
-
image_path: string;
|
|
55
|
-
analysis_type: "text" | "custom" | "general" | "objects" | "scene" | "people" | "technical" | "ui_design" | "requirement";
|
|
56
|
-
custom_prompt?: string | undefined;
|
|
57
|
-
detail_level?: "detailed" | "comprehensive" | "brief" | undefined;
|
|
58
|
-
language?: string | undefined;
|
|
59
|
-
}>, {
|
|
60
|
-
image_path: string;
|
|
61
|
-
analysis_type: "text" | "custom" | "general" | "objects" | "scene" | "people" | "technical" | "ui_design" | "requirement";
|
|
62
|
-
detail_level: "detailed" | "comprehensive" | "brief";
|
|
63
|
-
language: string;
|
|
64
|
-
custom_prompt?: string | undefined;
|
|
65
|
-
}, {
|
|
66
|
-
image_path: string;
|
|
67
|
-
analysis_type: "text" | "custom" | "general" | "objects" | "scene" | "people" | "technical" | "ui_design" | "requirement";
|
|
68
|
-
custom_prompt?: string | undefined;
|
|
69
|
-
detail_level?: "detailed" | "comprehensive" | "brief" | undefined;
|
|
70
|
-
language?: string | undefined;
|
|
71
|
-
}>;
|
|
51
|
+
}, z.core.$strip>;
|
|
72
52
|
execute: (args: ImageAnalysisToolParams) => Promise<string>;
|
|
73
53
|
};
|
|
74
54
|
export { ImageAnalyzer } from "./analyzer";
|
|
@@ -1,29 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
declare const ImageConversionParamsSchema: z.ZodObject<{
|
|
3
|
-
input_paths: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
4
|
-
output_format: z.ZodEnum<
|
|
3
|
+
input_paths: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
4
|
+
output_format: z.ZodEnum<{
|
|
5
|
+
jpg: "jpg";
|
|
6
|
+
jpeg: "jpeg";
|
|
7
|
+
png: "png";
|
|
8
|
+
gif: "gif";
|
|
9
|
+
bmp: "bmp";
|
|
10
|
+
tiff: "tiff";
|
|
11
|
+
webp: "webp";
|
|
12
|
+
ico: "ico";
|
|
13
|
+
}>;
|
|
5
14
|
quality: z.ZodOptional<z.ZodNumber>;
|
|
6
15
|
width: z.ZodOptional<z.ZodNumber>;
|
|
7
16
|
height: z.ZodOptional<z.ZodNumber>;
|
|
8
17
|
maintain_aspect_ratio: z.ZodDefault<z.ZodBoolean>;
|
|
9
18
|
output_directory: z.ZodOptional<z.ZodString>;
|
|
10
|
-
},
|
|
11
|
-
input_paths: string | string[];
|
|
12
|
-
output_format: "jpg" | "jpeg" | "png" | "gif" | "bmp" | "tiff" | "webp" | "ico";
|
|
13
|
-
maintain_aspect_ratio: boolean;
|
|
14
|
-
width?: number | undefined;
|
|
15
|
-
height?: number | undefined;
|
|
16
|
-
quality?: number | undefined;
|
|
17
|
-
output_directory?: string | undefined;
|
|
18
|
-
}, {
|
|
19
|
-
input_paths: string | string[];
|
|
20
|
-
output_format: "jpg" | "jpeg" | "png" | "gif" | "bmp" | "tiff" | "webp" | "ico";
|
|
21
|
-
width?: number | undefined;
|
|
22
|
-
height?: number | undefined;
|
|
23
|
-
quality?: number | undefined;
|
|
24
|
-
maintain_aspect_ratio?: boolean | undefined;
|
|
25
|
-
output_directory?: string | undefined;
|
|
26
|
-
}>;
|
|
19
|
+
}, z.core.$strip>;
|
|
27
20
|
export type ImageConversionToolParams = z.infer<typeof ImageConversionParamsSchema>;
|
|
28
21
|
/**
|
|
29
22
|
* 图片格式转换智能体
|
|
@@ -33,30 +26,23 @@ export declare const imageConverterTool: {
|
|
|
33
26
|
name: string;
|
|
34
27
|
description: string;
|
|
35
28
|
parameters: z.ZodObject<{
|
|
36
|
-
input_paths: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
37
|
-
output_format: z.ZodEnum<
|
|
29
|
+
input_paths: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
30
|
+
output_format: z.ZodEnum<{
|
|
31
|
+
jpg: "jpg";
|
|
32
|
+
jpeg: "jpeg";
|
|
33
|
+
png: "png";
|
|
34
|
+
gif: "gif";
|
|
35
|
+
bmp: "bmp";
|
|
36
|
+
tiff: "tiff";
|
|
37
|
+
webp: "webp";
|
|
38
|
+
ico: "ico";
|
|
39
|
+
}>;
|
|
38
40
|
quality: z.ZodOptional<z.ZodNumber>;
|
|
39
41
|
width: z.ZodOptional<z.ZodNumber>;
|
|
40
42
|
height: z.ZodOptional<z.ZodNumber>;
|
|
41
43
|
maintain_aspect_ratio: z.ZodDefault<z.ZodBoolean>;
|
|
42
44
|
output_directory: z.ZodOptional<z.ZodString>;
|
|
43
|
-
},
|
|
44
|
-
input_paths: string | string[];
|
|
45
|
-
output_format: "jpg" | "jpeg" | "png" | "gif" | "bmp" | "tiff" | "webp" | "ico";
|
|
46
|
-
maintain_aspect_ratio: boolean;
|
|
47
|
-
width?: number | undefined;
|
|
48
|
-
height?: number | undefined;
|
|
49
|
-
quality?: number | undefined;
|
|
50
|
-
output_directory?: string | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
input_paths: string | string[];
|
|
53
|
-
output_format: "jpg" | "jpeg" | "png" | "gif" | "bmp" | "tiff" | "webp" | "ico";
|
|
54
|
-
width?: number | undefined;
|
|
55
|
-
height?: number | undefined;
|
|
56
|
-
quality?: number | undefined;
|
|
57
|
-
maintain_aspect_ratio?: boolean | undefined;
|
|
58
|
-
output_directory?: string | undefined;
|
|
59
|
-
}>;
|
|
45
|
+
}, z.core.$strip>;
|
|
60
46
|
execute: (args: ImageConversionToolParams) => Promise<string>;
|
|
61
47
|
};
|
|
62
48
|
export { ImageConverter } from "./converter";
|
|
@@ -3,45 +3,26 @@ export declare const IntegratedGeneratorParams: z.ZodObject<{
|
|
|
3
3
|
project_name: z.ZodString;
|
|
4
4
|
project_description: z.ZodString;
|
|
5
5
|
user_story: z.ZodString;
|
|
6
|
-
acceptance_criteria: z.ZodArray<z.ZodString
|
|
6
|
+
acceptance_criteria: z.ZodArray<z.ZodString>;
|
|
7
7
|
programming_language: z.ZodString;
|
|
8
8
|
framework: z.ZodOptional<z.ZodString>;
|
|
9
|
-
architecture_pattern: z.ZodOptional<z.ZodEnum<
|
|
10
|
-
|
|
9
|
+
architecture_pattern: z.ZodOptional<z.ZodEnum<{
|
|
10
|
+
microservices: "microservices";
|
|
11
|
+
monolithic: "monolithic";
|
|
12
|
+
layered: "layered";
|
|
13
|
+
"event-driven": "event-driven";
|
|
14
|
+
}>>;
|
|
15
|
+
generation_type: z.ZodDefault<z.ZodEnum<{
|
|
16
|
+
full_project: "full_project";
|
|
17
|
+
module_only: "module_only";
|
|
18
|
+
feature_only: "feature_only";
|
|
19
|
+
}>>;
|
|
11
20
|
include_examples: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
12
21
|
include_tests: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13
22
|
custom_context: z.ZodOptional<z.ZodString>;
|
|
14
|
-
business_rules: z.ZodOptional<z.ZodArray<z.ZodString
|
|
23
|
+
business_rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
24
|
technical_requirements: z.ZodOptional<z.ZodString>;
|
|
16
|
-
},
|
|
17
|
-
project_name: string;
|
|
18
|
-
project_description: string;
|
|
19
|
-
user_story: string;
|
|
20
|
-
acceptance_criteria: string[];
|
|
21
|
-
programming_language: string;
|
|
22
|
-
generation_type: "full_project" | "module_only" | "feature_only";
|
|
23
|
-
include_examples: boolean;
|
|
24
|
-
include_tests: boolean;
|
|
25
|
-
framework?: string | undefined;
|
|
26
|
-
business_rules?: string[] | undefined;
|
|
27
|
-
architecture_pattern?: "microservices" | "monolithic" | "layered" | "event-driven" | undefined;
|
|
28
|
-
custom_context?: string | undefined;
|
|
29
|
-
technical_requirements?: string | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
project_name: string;
|
|
32
|
-
project_description: string;
|
|
33
|
-
user_story: string;
|
|
34
|
-
acceptance_criteria: string[];
|
|
35
|
-
programming_language: string;
|
|
36
|
-
framework?: string | undefined;
|
|
37
|
-
business_rules?: string[] | undefined;
|
|
38
|
-
architecture_pattern?: "microservices" | "monolithic" | "layered" | "event-driven" | undefined;
|
|
39
|
-
generation_type?: "full_project" | "module_only" | "feature_only" | undefined;
|
|
40
|
-
include_examples?: boolean | undefined;
|
|
41
|
-
include_tests?: boolean | undefined;
|
|
42
|
-
custom_context?: string | undefined;
|
|
43
|
-
technical_requirements?: string | undefined;
|
|
44
|
-
}>;
|
|
25
|
+
}, z.core.$strip>;
|
|
45
26
|
export interface IntegratedGeneratorParams {
|
|
46
27
|
project_name: string;
|
|
47
28
|
project_description: string;
|
|
@@ -64,44 +45,25 @@ export declare const integratedGenerator: {
|
|
|
64
45
|
project_name: z.ZodString;
|
|
65
46
|
project_description: z.ZodString;
|
|
66
47
|
user_story: z.ZodString;
|
|
67
|
-
acceptance_criteria: z.ZodArray<z.ZodString
|
|
48
|
+
acceptance_criteria: z.ZodArray<z.ZodString>;
|
|
68
49
|
programming_language: z.ZodString;
|
|
69
50
|
framework: z.ZodOptional<z.ZodString>;
|
|
70
|
-
architecture_pattern: z.ZodOptional<z.ZodEnum<
|
|
71
|
-
|
|
51
|
+
architecture_pattern: z.ZodOptional<z.ZodEnum<{
|
|
52
|
+
microservices: "microservices";
|
|
53
|
+
monolithic: "monolithic";
|
|
54
|
+
layered: "layered";
|
|
55
|
+
"event-driven": "event-driven";
|
|
56
|
+
}>>;
|
|
57
|
+
generation_type: z.ZodDefault<z.ZodEnum<{
|
|
58
|
+
full_project: "full_project";
|
|
59
|
+
module_only: "module_only";
|
|
60
|
+
feature_only: "feature_only";
|
|
61
|
+
}>>;
|
|
72
62
|
include_examples: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
73
63
|
include_tests: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
74
64
|
custom_context: z.ZodOptional<z.ZodString>;
|
|
75
|
-
business_rules: z.ZodOptional<z.ZodArray<z.ZodString
|
|
65
|
+
business_rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
76
66
|
technical_requirements: z.ZodOptional<z.ZodString>;
|
|
77
|
-
},
|
|
78
|
-
project_name: string;
|
|
79
|
-
project_description: string;
|
|
80
|
-
user_story: string;
|
|
81
|
-
acceptance_criteria: string[];
|
|
82
|
-
programming_language: string;
|
|
83
|
-
generation_type: "full_project" | "module_only" | "feature_only";
|
|
84
|
-
include_examples: boolean;
|
|
85
|
-
include_tests: boolean;
|
|
86
|
-
framework?: string | undefined;
|
|
87
|
-
business_rules?: string[] | undefined;
|
|
88
|
-
architecture_pattern?: "microservices" | "monolithic" | "layered" | "event-driven" | undefined;
|
|
89
|
-
custom_context?: string | undefined;
|
|
90
|
-
technical_requirements?: string | undefined;
|
|
91
|
-
}, {
|
|
92
|
-
project_name: string;
|
|
93
|
-
project_description: string;
|
|
94
|
-
user_story: string;
|
|
95
|
-
acceptance_criteria: string[];
|
|
96
|
-
programming_language: string;
|
|
97
|
-
framework?: string | undefined;
|
|
98
|
-
business_rules?: string[] | undefined;
|
|
99
|
-
architecture_pattern?: "microservices" | "monolithic" | "layered" | "event-driven" | undefined;
|
|
100
|
-
generation_type?: "full_project" | "module_only" | "feature_only" | undefined;
|
|
101
|
-
include_examples?: boolean | undefined;
|
|
102
|
-
include_tests?: boolean | undefined;
|
|
103
|
-
custom_context?: string | undefined;
|
|
104
|
-
technical_requirements?: string | undefined;
|
|
105
|
-
}>;
|
|
67
|
+
}, z.core.$strip>;
|
|
106
68
|
execute: (args: IntegratedGeneratorParams) => Promise<string>;
|
|
107
69
|
};
|
|
@@ -5,30 +5,8 @@ export declare const Pdf2MdParams: z.ZodObject<{
|
|
|
5
5
|
preserve_formatting: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6
6
|
chunk_size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
7
7
|
extract_metadata: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
chunk_size: number;
|
|
11
|
-
extract_metadata: boolean;
|
|
12
|
-
}, {
|
|
13
|
-
preserve_formatting?: boolean | undefined;
|
|
14
|
-
chunk_size?: number | undefined;
|
|
15
|
-
extract_metadata?: boolean | undefined;
|
|
16
|
-
}>>>;
|
|
17
|
-
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
options: {
|
|
19
|
-
preserve_formatting: boolean;
|
|
20
|
-
chunk_size: number;
|
|
21
|
-
extract_metadata: boolean;
|
|
22
|
-
};
|
|
23
|
-
file_path: string;
|
|
24
|
-
}, {
|
|
25
|
-
file_path: string;
|
|
26
|
-
options?: {
|
|
27
|
-
preserve_formatting?: boolean | undefined;
|
|
28
|
-
chunk_size?: number | undefined;
|
|
29
|
-
extract_metadata?: boolean | undefined;
|
|
30
|
-
} | undefined;
|
|
31
|
-
}>;
|
|
8
|
+
}, z.core.$strip>>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
32
10
|
export interface Pdf2MdParams {
|
|
33
11
|
file_path: string;
|
|
34
12
|
options?: {
|
|
@@ -46,29 +24,7 @@ export declare const pdf2mdTool: {
|
|
|
46
24
|
preserve_formatting: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
47
25
|
chunk_size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
48
26
|
extract_metadata: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
chunk_size: number;
|
|
52
|
-
extract_metadata: boolean;
|
|
53
|
-
}, {
|
|
54
|
-
preserve_formatting?: boolean | undefined;
|
|
55
|
-
chunk_size?: number | undefined;
|
|
56
|
-
extract_metadata?: boolean | undefined;
|
|
57
|
-
}>>>;
|
|
58
|
-
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
options: {
|
|
60
|
-
preserve_formatting: boolean;
|
|
61
|
-
chunk_size: number;
|
|
62
|
-
extract_metadata: boolean;
|
|
63
|
-
};
|
|
64
|
-
file_path: string;
|
|
65
|
-
}, {
|
|
66
|
-
file_path: string;
|
|
67
|
-
options?: {
|
|
68
|
-
preserve_formatting?: boolean | undefined;
|
|
69
|
-
chunk_size?: number | undefined;
|
|
70
|
-
extract_metadata?: boolean | undefined;
|
|
71
|
-
} | undefined;
|
|
72
|
-
}>;
|
|
27
|
+
}, z.core.$strip>>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
73
29
|
execute: (args: Pdf2MdParams) => Promise<string>;
|
|
74
30
|
};
|
|
@@ -3,15 +3,7 @@ export declare const ProjectTemplateParams: z.ZodObject<{
|
|
|
3
3
|
project_name: z.ZodOptional<z.ZodString>;
|
|
4
4
|
project_path: z.ZodOptional<z.ZodString>;
|
|
5
5
|
custom_rules: z.ZodOptional<z.ZodString>;
|
|
6
|
-
},
|
|
7
|
-
project_name?: string | undefined;
|
|
8
|
-
project_path?: string | undefined;
|
|
9
|
-
custom_rules?: string | undefined;
|
|
10
|
-
}, {
|
|
11
|
-
project_name?: string | undefined;
|
|
12
|
-
project_path?: string | undefined;
|
|
13
|
-
custom_rules?: string | undefined;
|
|
14
|
-
}>;
|
|
6
|
+
}, z.core.$strip>;
|
|
15
7
|
export interface ProjectTemplateParams {
|
|
16
8
|
project_name?: string;
|
|
17
9
|
project_path?: string;
|
|
@@ -24,14 +16,6 @@ export declare const initProjectStandard: {
|
|
|
24
16
|
project_name: z.ZodOptional<z.ZodString>;
|
|
25
17
|
project_path: z.ZodOptional<z.ZodString>;
|
|
26
18
|
custom_rules: z.ZodOptional<z.ZodString>;
|
|
27
|
-
},
|
|
28
|
-
project_name?: string | undefined;
|
|
29
|
-
project_path?: string | undefined;
|
|
30
|
-
custom_rules?: string | undefined;
|
|
31
|
-
}, {
|
|
32
|
-
project_name?: string | undefined;
|
|
33
|
-
project_path?: string | undefined;
|
|
34
|
-
custom_rules?: string | undefined;
|
|
35
|
-
}>;
|
|
19
|
+
}, z.core.$strip>;
|
|
36
20
|
execute: (args: ProjectTemplateParams) => Promise<string>;
|
|
37
21
|
};
|