intention-coding 0.6.6 → 0.6.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/tech-spec-generator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgiBxB,eAAO,MAAM,yBAAyB;;;;;;oBAMd,GAAG;;;;;;;;;;;;;CA8C1B,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;oBAMjB,GAAG;;;;;;CAiB1B,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBASjB,GAAG;;;;;;CAmB1B,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;oBAMd,GAAG;;;;;;CAiB1B,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;oBAMZ,GAAG;;;;;;CAiB1B,CAAC;AAEF,eAAO,MAAM,6BAA6B;;;;;;oBAMlB,GAAG;;;;;;CAiB1B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;oBAMT,GAAG;;;;;;CAsB1B,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA3zBV,GAAG;;;;;;;;;;;;;CA2zBmC,CAAC;AAC/D,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/tech-spec-generator/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,yBAAyB,EACzB,gBAAgB,GACjB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAwB9B;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAalC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;CAA4B,CAAC;AAG/D,cAAc,SAAS,CAAC"}
@@ -0,0 +1,156 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * 保存服务接口清单
4
+ */
5
+ export declare const saveServiceInterfacesTool: {
6
+ name: string;
7
+ description: string;
8
+ inputSchema: {
9
+ projectUuid: z.ZodString;
10
+ serviceType: z.ZodString;
11
+ serviceEnglishName: z.ZodString;
12
+ serviceChineseName: z.ZodString;
13
+ serviceDescription: z.ZodString;
14
+ interfaces: z.ZodString;
15
+ };
16
+ handler: (args: any) => Promise<{
17
+ content: {
18
+ type: string;
19
+ text: string;
20
+ }[];
21
+ isError: boolean;
22
+ } | {
23
+ content: {
24
+ type: string;
25
+ text: string;
26
+ }[];
27
+ isError?: undefined;
28
+ }>;
29
+ };
30
+ /**
31
+ * 保存接口设计详情
32
+ */
33
+ export declare const saveInterfaceDesignTool: {
34
+ name: string;
35
+ description: string;
36
+ inputSchema: {
37
+ projectUuid: z.ZodString;
38
+ serviceName: z.ZodString;
39
+ serviceDesc: z.ZodString;
40
+ designs: z.ZodString;
41
+ };
42
+ handler: (args: any) => Promise<{
43
+ content: {
44
+ type: string;
45
+ text: string;
46
+ }[];
47
+ isError: boolean;
48
+ } | {
49
+ content: {
50
+ type: string;
51
+ text: string;
52
+ }[];
53
+ isError?: undefined;
54
+ }>;
55
+ };
56
+ /**
57
+ * 保存数据库表结构
58
+ */
59
+ export declare const saveDatabaseTableTool: {
60
+ name: string;
61
+ description: string;
62
+ inputSchema: {
63
+ projectUuid: z.ZodString;
64
+ tableName: z.ZodString;
65
+ entityName: z.ZodString;
66
+ tableDescription: z.ZodString;
67
+ fields: z.ZodString;
68
+ };
69
+ handler: (args: any) => Promise<{
70
+ content: {
71
+ type: string;
72
+ text: string;
73
+ }[];
74
+ isError: boolean;
75
+ } | {
76
+ content: {
77
+ type: string;
78
+ text: string;
79
+ }[];
80
+ isError?: undefined;
81
+ }>;
82
+ };
83
+ /**
84
+ * 保存技术方案
85
+ */
86
+ export declare const saveTechSolutionTool: {
87
+ name: string;
88
+ description: string;
89
+ inputSchema: {
90
+ projectUuid: z.ZodString;
91
+ content: z.ZodString;
92
+ };
93
+ handler: (args: any) => Promise<{
94
+ content: {
95
+ type: string;
96
+ text: string;
97
+ }[];
98
+ isError: boolean;
99
+ } | {
100
+ content: {
101
+ type: string;
102
+ text: string;
103
+ }[];
104
+ isError?: undefined;
105
+ }>;
106
+ };
107
+ /**
108
+ * 保存业务异常处理
109
+ */
110
+ export declare const saveBusinessExceptionTool: {
111
+ name: string;
112
+ description: string;
113
+ inputSchema: {
114
+ projectUuid: z.ZodString;
115
+ content: z.ZodString;
116
+ };
117
+ handler: (args: any) => Promise<{
118
+ content: {
119
+ type: string;
120
+ text: string;
121
+ }[];
122
+ isError: boolean;
123
+ } | {
124
+ content: {
125
+ type: string;
126
+ text: string;
127
+ }[];
128
+ isError?: undefined;
129
+ }>;
130
+ };
131
+ /**
132
+ * 保存附录
133
+ */
134
+ export declare const saveAppendixTool: {
135
+ name: string;
136
+ description: string;
137
+ inputSchema: {
138
+ projectUuid: z.ZodString;
139
+ exceptionCodes: z.ZodOptional<z.ZodString>;
140
+ codeValues: z.ZodOptional<z.ZodString>;
141
+ };
142
+ handler: (args: any) => Promise<{
143
+ content: {
144
+ type: string;
145
+ text: string;
146
+ }[];
147
+ isError: boolean;
148
+ } | {
149
+ content: {
150
+ type: string;
151
+ text: string;
152
+ }[];
153
+ isError?: undefined;
154
+ }>;
155
+ };
156
+ //# sourceMappingURL=chapter-save-tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chapter-save-tools.d.ts","sourceRoot":"","sources":["../../../../src/services/tech-spec-generator/tools/chapter-save-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;oBAed,GAAG;;;;;;;;;;;;;CAuF1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;oBAcZ,GAAG;;;;;;;;;;;;;CA8F1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;oBAcV,GAAG;;;;;;;;;;;;;CA8E1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;oBAOT,GAAG;;;;;;;;;;;;;CAuD1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;oBAOd,GAAG;;;;;;;;;;;;;CAuD1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;oBAgBL,GAAG;;;;;;;;;;;;;CA0F1B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./project-tools";
2
+ export * from "./chapter-save-tools";
3
+ export * from "./render-tools";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/services/tech-spec-generator/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,73 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * 创建技术规格项目
4
+ */
5
+ export declare const createTechSpecProjectTool: {
6
+ name: string;
7
+ description: string;
8
+ inputSchema: {
9
+ projectPath: z.ZodString;
10
+ projectName: z.ZodString;
11
+ moduleName: z.ZodString;
12
+ };
13
+ handler: (args: any) => Promise<{
14
+ content: {
15
+ type: string;
16
+ text: string;
17
+ }[];
18
+ isError: boolean;
19
+ } | {
20
+ content: {
21
+ type: string;
22
+ text: string;
23
+ }[];
24
+ isError?: undefined;
25
+ }>;
26
+ };
27
+ /**
28
+ * 获取项目进度
29
+ */
30
+ export declare const getProjectProgressTool: {
31
+ name: string;
32
+ description: string;
33
+ inputSchema: {
34
+ projectUuid: z.ZodString;
35
+ };
36
+ handler: (args: any) => Promise<{
37
+ content: {
38
+ type: string;
39
+ text: string;
40
+ }[];
41
+ isError: boolean;
42
+ } | {
43
+ content: {
44
+ type: string;
45
+ text: string;
46
+ }[];
47
+ isError?: undefined;
48
+ }>;
49
+ };
50
+ /**
51
+ * 列出所有项目
52
+ */
53
+ export declare const listTechSpecProjectsTool: {
54
+ name: string;
55
+ description: string;
56
+ inputSchema: {
57
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
58
+ };
59
+ handler: (args: any) => Promise<{
60
+ content: {
61
+ type: string;
62
+ text: string;
63
+ }[];
64
+ isError?: undefined;
65
+ } | {
66
+ content: {
67
+ type: string;
68
+ text: string;
69
+ }[];
70
+ isError: boolean;
71
+ }>;
72
+ };
73
+ //# sourceMappingURL=project-tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-tools.d.ts","sourceRoot":"","sources":["../../../../src/services/tech-spec-generator/tools/project-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;oBASd,GAAG;;;;;;;;;;;;;CAoE1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;oBAMX,GAAG;;;;;;;;;;;;;CA0D1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;oBAMb,GAAG;;;;;;;;;;;;;CA2C1B,CAAC"}
@@ -0,0 +1,74 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * 渲染生成最终文档
4
+ */
5
+ export declare const renderTechSpecDocumentTool: {
6
+ name: string;
7
+ description: string;
8
+ inputSchema: {
9
+ projectUuid: z.ZodString;
10
+ outputDir: z.ZodOptional<z.ZodString>;
11
+ };
12
+ handler: (args: any) => Promise<{
13
+ content: {
14
+ type: string;
15
+ text: string;
16
+ }[];
17
+ isError: boolean;
18
+ } | {
19
+ content: {
20
+ type: string;
21
+ text: string;
22
+ }[];
23
+ isError?: undefined;
24
+ }>;
25
+ };
26
+ /**
27
+ * 分析项目结构
28
+ */
29
+ export declare const analyzeProjectStructureTool: {
30
+ name: string;
31
+ description: string;
32
+ inputSchema: {
33
+ projectPath: z.ZodString;
34
+ };
35
+ handler: (args: any) => Promise<{
36
+ content: {
37
+ type: string;
38
+ text: string;
39
+ }[];
40
+ isError: boolean;
41
+ } | {
42
+ content: {
43
+ type: string;
44
+ text: string;
45
+ }[];
46
+ isError?: undefined;
47
+ }>;
48
+ };
49
+ /**
50
+ * 大型项目分析
51
+ */
52
+ export declare const analyzeLargeProjectTool: {
53
+ name: string;
54
+ description: string;
55
+ inputSchema: {
56
+ projectPath: z.ZodString;
57
+ projectName: z.ZodOptional<z.ZodString>;
58
+ moduleName: z.ZodOptional<z.ZodString>;
59
+ };
60
+ handler: (args: any) => Promise<{
61
+ content: {
62
+ type: string;
63
+ text: string;
64
+ }[];
65
+ isError: boolean;
66
+ } | {
67
+ content: {
68
+ type: string;
69
+ text: string;
70
+ }[];
71
+ isError?: undefined;
72
+ }>;
73
+ };
74
+ //# sourceMappingURL=render-tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render-tools.d.ts","sourceRoot":"","sources":["../../../../src/services/tech-spec-generator/tools/render-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;;oBAQf,GAAG;;;;;;;;;;;;;CA8F1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;oBAMhB,GAAG;;;;;;;;;;;;;CAuD1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;oBASZ,GAAG;;;;;;;;;;;;;CA8E1B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intention-coding",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
4
4
  "description": "软件工程化的需求分析,功能设计,代码编写,测试运行和发布部署",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.11.0",