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,119 @@
1
+ import { z } from "zod";
2
+ export declare const TestTaskSchema: z.ZodObject<{
3
+ url: z.ZodString;
4
+ method: z.ZodDefault<z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"]>>;
5
+ query: z.ZodOptional<z.ZodString>;
6
+ headers: z.ZodOptional<z.ZodString>;
7
+ body: z.ZodOptional<z.ZodString>;
8
+ hopeRes: z.ZodOptional<z.ZodString>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ url: string;
11
+ method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS";
12
+ query?: string | undefined;
13
+ headers?: string | undefined;
14
+ body?: string | undefined;
15
+ hopeRes?: string | undefined;
16
+ }, {
17
+ url: string;
18
+ method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
19
+ query?: string | undefined;
20
+ headers?: string | undefined;
21
+ body?: string | undefined;
22
+ hopeRes?: string | undefined;
23
+ }>;
24
+ export declare const CreateTestPlanParams: z.ZodObject<{
25
+ planName: z.ZodString;
26
+ tasks: z.ZodArray<z.ZodObject<{
27
+ url: z.ZodString;
28
+ method: z.ZodDefault<z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"]>>;
29
+ query: z.ZodOptional<z.ZodString>;
30
+ headers: z.ZodOptional<z.ZodString>;
31
+ body: z.ZodOptional<z.ZodString>;
32
+ hopeRes: z.ZodOptional<z.ZodString>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ url: string;
35
+ method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS";
36
+ query?: string | undefined;
37
+ headers?: string | undefined;
38
+ body?: string | undefined;
39
+ hopeRes?: string | undefined;
40
+ }, {
41
+ url: string;
42
+ method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
43
+ query?: string | undefined;
44
+ headers?: string | undefined;
45
+ body?: string | undefined;
46
+ hopeRes?: string | undefined;
47
+ }>, "many">;
48
+ }, "strip", z.ZodTypeAny, {
49
+ planName: string;
50
+ tasks: {
51
+ url: string;
52
+ method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS";
53
+ query?: string | undefined;
54
+ headers?: string | undefined;
55
+ body?: string | undefined;
56
+ hopeRes?: string | undefined;
57
+ }[];
58
+ }, {
59
+ planName: string;
60
+ tasks: {
61
+ url: string;
62
+ method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
63
+ query?: string | undefined;
64
+ headers?: string | undefined;
65
+ body?: string | undefined;
66
+ hopeRes?: string | undefined;
67
+ }[];
68
+ }>;
69
+ export type CreateTestPlanRequest = z.infer<typeof CreateTestPlanParams>;
70
+ export declare const createTestPlanTool: {
71
+ name: string;
72
+ description: string;
73
+ parameters: z.ZodObject<{
74
+ planName: z.ZodString;
75
+ tasks: z.ZodArray<z.ZodObject<{
76
+ url: z.ZodString;
77
+ method: z.ZodDefault<z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"]>>;
78
+ query: z.ZodOptional<z.ZodString>;
79
+ headers: z.ZodOptional<z.ZodString>;
80
+ body: z.ZodOptional<z.ZodString>;
81
+ hopeRes: z.ZodOptional<z.ZodString>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ url: string;
84
+ method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS";
85
+ query?: string | undefined;
86
+ headers?: string | undefined;
87
+ body?: string | undefined;
88
+ hopeRes?: string | undefined;
89
+ }, {
90
+ url: string;
91
+ method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
92
+ query?: string | undefined;
93
+ headers?: string | undefined;
94
+ body?: string | undefined;
95
+ hopeRes?: string | undefined;
96
+ }>, "many">;
97
+ }, "strip", z.ZodTypeAny, {
98
+ planName: string;
99
+ tasks: {
100
+ url: string;
101
+ method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS";
102
+ query?: string | undefined;
103
+ headers?: string | undefined;
104
+ body?: string | undefined;
105
+ hopeRes?: string | undefined;
106
+ }[];
107
+ }, {
108
+ planName: string;
109
+ tasks: {
110
+ url: string;
111
+ method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
112
+ query?: string | undefined;
113
+ headers?: string | undefined;
114
+ body?: string | undefined;
115
+ hopeRes?: string | undefined;
116
+ }[];
117
+ }>;
118
+ execute: (params: CreateTestPlanRequest) => Promise<string>;
119
+ };
@@ -0,0 +1,147 @@
1
+ import { z } from "zod";
2
+ export declare const UpdateTaskParams: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ updateData: z.ZodObject<{
5
+ url: z.ZodOptional<z.ZodString>;
6
+ method: z.ZodOptional<z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"]>>;
7
+ query: z.ZodOptional<z.ZodString>;
8
+ headers: z.ZodOptional<z.ZodString>;
9
+ body: z.ZodOptional<z.ZodString>;
10
+ hopeRes: z.ZodOptional<z.ZodString>;
11
+ res: z.ZodOptional<z.ZodString>;
12
+ review: z.ZodOptional<z.ZodString>;
13
+ suggest: z.ZodOptional<z.ZodString>;
14
+ status: z.ZodOptional<z.ZodString>;
15
+ completed: z.ZodOptional<z.ZodBoolean>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ status?: string | undefined;
18
+ completed?: boolean | undefined;
19
+ url?: string | undefined;
20
+ method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
21
+ query?: string | undefined;
22
+ headers?: string | undefined;
23
+ body?: string | undefined;
24
+ hopeRes?: string | undefined;
25
+ res?: string | undefined;
26
+ review?: string | undefined;
27
+ suggest?: string | undefined;
28
+ }, {
29
+ status?: string | undefined;
30
+ completed?: boolean | undefined;
31
+ url?: string | undefined;
32
+ method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
33
+ query?: string | undefined;
34
+ headers?: string | undefined;
35
+ body?: string | undefined;
36
+ hopeRes?: string | undefined;
37
+ res?: string | undefined;
38
+ review?: string | undefined;
39
+ suggest?: string | undefined;
40
+ }>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ uuid: string;
43
+ updateData: {
44
+ status?: string | undefined;
45
+ completed?: boolean | undefined;
46
+ url?: string | undefined;
47
+ method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
48
+ query?: string | undefined;
49
+ headers?: string | undefined;
50
+ body?: string | undefined;
51
+ hopeRes?: string | undefined;
52
+ res?: string | undefined;
53
+ review?: string | undefined;
54
+ suggest?: string | undefined;
55
+ };
56
+ }, {
57
+ uuid: string;
58
+ updateData: {
59
+ status?: string | undefined;
60
+ completed?: boolean | undefined;
61
+ url?: string | undefined;
62
+ method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
63
+ query?: string | undefined;
64
+ headers?: string | undefined;
65
+ body?: string | undefined;
66
+ hopeRes?: string | undefined;
67
+ res?: string | undefined;
68
+ review?: string | undefined;
69
+ suggest?: string | undefined;
70
+ };
71
+ }>;
72
+ export type UpdateTaskRequest = z.infer<typeof UpdateTaskParams>;
73
+ export declare const updateTaskTool: {
74
+ name: string;
75
+ description: string;
76
+ parameters: z.ZodObject<{
77
+ uuid: z.ZodString;
78
+ updateData: z.ZodObject<{
79
+ url: z.ZodOptional<z.ZodString>;
80
+ method: z.ZodOptional<z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"]>>;
81
+ query: z.ZodOptional<z.ZodString>;
82
+ headers: z.ZodOptional<z.ZodString>;
83
+ body: z.ZodOptional<z.ZodString>;
84
+ hopeRes: z.ZodOptional<z.ZodString>;
85
+ res: z.ZodOptional<z.ZodString>;
86
+ review: z.ZodOptional<z.ZodString>;
87
+ suggest: z.ZodOptional<z.ZodString>;
88
+ status: z.ZodOptional<z.ZodString>;
89
+ completed: z.ZodOptional<z.ZodBoolean>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ status?: string | undefined;
92
+ completed?: boolean | undefined;
93
+ url?: string | undefined;
94
+ method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
95
+ query?: string | undefined;
96
+ headers?: string | undefined;
97
+ body?: string | undefined;
98
+ hopeRes?: string | undefined;
99
+ res?: string | undefined;
100
+ review?: string | undefined;
101
+ suggest?: string | undefined;
102
+ }, {
103
+ status?: string | undefined;
104
+ completed?: boolean | undefined;
105
+ url?: string | undefined;
106
+ method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
107
+ query?: string | undefined;
108
+ headers?: string | undefined;
109
+ body?: string | undefined;
110
+ hopeRes?: string | undefined;
111
+ res?: string | undefined;
112
+ review?: string | undefined;
113
+ suggest?: string | undefined;
114
+ }>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ uuid: string;
117
+ updateData: {
118
+ status?: string | undefined;
119
+ completed?: boolean | undefined;
120
+ url?: string | undefined;
121
+ method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
122
+ query?: string | undefined;
123
+ headers?: string | undefined;
124
+ body?: string | undefined;
125
+ hopeRes?: string | undefined;
126
+ res?: string | undefined;
127
+ review?: string | undefined;
128
+ suggest?: string | undefined;
129
+ };
130
+ }, {
131
+ uuid: string;
132
+ updateData: {
133
+ status?: string | undefined;
134
+ completed?: boolean | undefined;
135
+ url?: string | undefined;
136
+ method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
137
+ query?: string | undefined;
138
+ headers?: string | undefined;
139
+ body?: string | undefined;
140
+ hopeRes?: string | undefined;
141
+ res?: string | undefined;
142
+ review?: string | undefined;
143
+ suggest?: string | undefined;
144
+ };
145
+ }>;
146
+ execute: (params: UpdateTaskRequest) => Promise<string>;
147
+ };
@@ -0,0 +1,39 @@
1
+ import { z } from 'zod';
2
+ export declare const ChangeSummarizerParams: z.ZodObject<{
3
+ baseBranch: z.ZodDefault<z.ZodString>;
4
+ requirementFile: z.ZodOptional<z.ZodString>;
5
+ includeUncommitted: z.ZodDefault<z.ZodBoolean>;
6
+ outputFormat: z.ZodDefault<z.ZodEnum<["markdown", "json"]>>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ baseBranch: string;
9
+ includeUncommitted: boolean;
10
+ outputFormat: "json" | "markdown";
11
+ requirementFile?: string | undefined;
12
+ }, {
13
+ baseBranch?: string | undefined;
14
+ requirementFile?: string | undefined;
15
+ includeUncommitted?: boolean | undefined;
16
+ outputFormat?: "json" | "markdown" | undefined;
17
+ }>;
18
+ export type ChangeSummarizerArgs = z.infer<typeof ChangeSummarizerParams>;
19
+ export declare const changeSummarizer: {
20
+ name: string;
21
+ description: string;
22
+ parameters: z.ZodObject<{
23
+ baseBranch: z.ZodDefault<z.ZodString>;
24
+ requirementFile: z.ZodOptional<z.ZodString>;
25
+ includeUncommitted: z.ZodDefault<z.ZodBoolean>;
26
+ outputFormat: z.ZodDefault<z.ZodEnum<["markdown", "json"]>>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ baseBranch: string;
29
+ includeUncommitted: boolean;
30
+ outputFormat: "json" | "markdown";
31
+ requirementFile?: string | undefined;
32
+ }, {
33
+ baseBranch?: string | undefined;
34
+ requirementFile?: string | undefined;
35
+ includeUncommitted?: boolean | undefined;
36
+ outputFormat?: "json" | "markdown" | undefined;
37
+ }>;
38
+ execute: (args: ChangeSummarizerArgs) => Promise<string>;
39
+ };
@@ -0,0 +1,200 @@
1
+ import { z } from 'zod';
2
+ export declare const ClaudeCodeParams: z.ZodObject<{
3
+ prompt: z.ZodString;
4
+ workFolder: z.ZodOptional<z.ZodString>;
5
+ sessionId: z.ZodOptional<z.ZodString>;
6
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7
+ debugMode: z.ZodOptional<z.ZodBoolean>;
8
+ claudePath: z.ZodOptional<z.ZodString>;
9
+ maxRetries: z.ZodOptional<z.ZodNumber>;
10
+ timeout: z.ZodOptional<z.ZodNumber>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ prompt: string;
13
+ sessionId?: string | undefined;
14
+ workFolder?: string | undefined;
15
+ allowedTools?: string[] | undefined;
16
+ debugMode?: boolean | undefined;
17
+ claudePath?: string | undefined;
18
+ maxRetries?: number | undefined;
19
+ timeout?: number | undefined;
20
+ }, {
21
+ prompt: string;
22
+ sessionId?: string | undefined;
23
+ workFolder?: string | undefined;
24
+ allowedTools?: string[] | undefined;
25
+ debugMode?: boolean | undefined;
26
+ claudePath?: string | undefined;
27
+ maxRetries?: number | undefined;
28
+ timeout?: number | undefined;
29
+ }>;
30
+ export declare const ClaudeCodeStreamParams: z.ZodObject<{
31
+ prompt: z.ZodString;
32
+ workFolder: z.ZodOptional<z.ZodString>;
33
+ sessionId: z.ZodOptional<z.ZodString>;
34
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
35
+ debugMode: z.ZodOptional<z.ZodBoolean>;
36
+ claudePath: z.ZodOptional<z.ZodString>;
37
+ maxRetries: z.ZodOptional<z.ZodNumber>;
38
+ timeout: z.ZodOptional<z.ZodNumber>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ prompt: string;
41
+ sessionId?: string | undefined;
42
+ workFolder?: string | undefined;
43
+ allowedTools?: string[] | undefined;
44
+ debugMode?: boolean | undefined;
45
+ claudePath?: string | undefined;
46
+ maxRetries?: number | undefined;
47
+ timeout?: number | undefined;
48
+ }, {
49
+ prompt: string;
50
+ sessionId?: string | undefined;
51
+ workFolder?: string | undefined;
52
+ allowedTools?: string[] | undefined;
53
+ debugMode?: boolean | undefined;
54
+ claudePath?: string | undefined;
55
+ maxRetries?: number | undefined;
56
+ timeout?: number | undefined;
57
+ }>;
58
+ type ClaudeCodeParams = z.infer<typeof ClaudeCodeParams>;
59
+ /**
60
+ * Main Claude Code tool that uses the direct SDK integration
61
+ * Provides seamless integration with Claude Code's capabilities through the official SDK
62
+ */
63
+ export declare const claudeCode: {
64
+ name: string;
65
+ description: string;
66
+ parameters: z.ZodObject<{
67
+ prompt: z.ZodString;
68
+ workFolder: z.ZodOptional<z.ZodString>;
69
+ sessionId: z.ZodOptional<z.ZodString>;
70
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
71
+ debugMode: z.ZodOptional<z.ZodBoolean>;
72
+ claudePath: z.ZodOptional<z.ZodString>;
73
+ maxRetries: z.ZodOptional<z.ZodNumber>;
74
+ timeout: z.ZodOptional<z.ZodNumber>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ prompt: string;
77
+ sessionId?: string | undefined;
78
+ workFolder?: string | undefined;
79
+ allowedTools?: string[] | undefined;
80
+ debugMode?: boolean | undefined;
81
+ claudePath?: string | undefined;
82
+ maxRetries?: number | undefined;
83
+ timeout?: number | undefined;
84
+ }, {
85
+ prompt: string;
86
+ sessionId?: string | undefined;
87
+ workFolder?: string | undefined;
88
+ allowedTools?: string[] | undefined;
89
+ debugMode?: boolean | undefined;
90
+ claudePath?: string | undefined;
91
+ maxRetries?: number | undefined;
92
+ timeout?: number | undefined;
93
+ }>;
94
+ execute: (args: ClaudeCodeParams) => Promise<string>;
95
+ };
96
+ /**
97
+ * Session management tool for Claude Code conversations
98
+ * Allows listing, resuming, and managing conversation sessions
99
+ */
100
+ export declare const claudeCodeSessions: {
101
+ name: string;
102
+ description: string;
103
+ parameters: z.ZodObject<{
104
+ action: z.ZodEnum<["list", "info", "cleanup", "export", "import", "stats"]>;
105
+ sessionId: z.ZodOptional<z.ZodString>;
106
+ filter: z.ZodOptional<z.ZodObject<{
107
+ project: z.ZodOptional<z.ZodString>;
108
+ dateRange: z.ZodOptional<z.ZodObject<{
109
+ start: z.ZodOptional<z.ZodString>;
110
+ end: z.ZodOptional<z.ZodString>;
111
+ }, "strip", z.ZodTypeAny, {
112
+ start?: string | undefined;
113
+ end?: string | undefined;
114
+ }, {
115
+ start?: string | undefined;
116
+ end?: string | undefined;
117
+ }>>;
118
+ sizeLimit: z.ZodOptional<z.ZodNumber>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ project?: string | undefined;
121
+ dateRange?: {
122
+ start?: string | undefined;
123
+ end?: string | undefined;
124
+ } | undefined;
125
+ sizeLimit?: number | undefined;
126
+ }, {
127
+ project?: string | undefined;
128
+ dateRange?: {
129
+ start?: string | undefined;
130
+ end?: string | undefined;
131
+ } | undefined;
132
+ sizeLimit?: number | undefined;
133
+ }>>;
134
+ cleanupOptions: z.ZodOptional<z.ZodObject<{
135
+ maxAgeDays: z.ZodOptional<z.ZodNumber>;
136
+ maxSessions: z.ZodOptional<z.ZodNumber>;
137
+ }, "strip", z.ZodTypeAny, {
138
+ maxAgeDays?: number | undefined;
139
+ maxSessions?: number | undefined;
140
+ }, {
141
+ maxAgeDays?: number | undefined;
142
+ maxSessions?: number | undefined;
143
+ }>>;
144
+ exportPath: z.ZodOptional<z.ZodString>;
145
+ importPath: z.ZodOptional<z.ZodString>;
146
+ }, "strip", z.ZodTypeAny, {
147
+ action: "info" | "list" | "cleanup" | "export" | "import" | "stats";
148
+ filter?: {
149
+ project?: string | undefined;
150
+ dateRange?: {
151
+ start?: string | undefined;
152
+ end?: string | undefined;
153
+ } | undefined;
154
+ sizeLimit?: number | undefined;
155
+ } | undefined;
156
+ sessionId?: string | undefined;
157
+ cleanupOptions?: {
158
+ maxAgeDays?: number | undefined;
159
+ maxSessions?: number | undefined;
160
+ } | undefined;
161
+ exportPath?: string | undefined;
162
+ importPath?: string | undefined;
163
+ }, {
164
+ action: "info" | "list" | "cleanup" | "export" | "import" | "stats";
165
+ filter?: {
166
+ project?: string | undefined;
167
+ dateRange?: {
168
+ start?: string | undefined;
169
+ end?: string | undefined;
170
+ } | undefined;
171
+ sizeLimit?: number | undefined;
172
+ } | undefined;
173
+ sessionId?: string | undefined;
174
+ cleanupOptions?: {
175
+ maxAgeDays?: number | undefined;
176
+ maxSessions?: number | undefined;
177
+ } | undefined;
178
+ exportPath?: string | undefined;
179
+ importPath?: string | undefined;
180
+ }>;
181
+ execute: (args: {
182
+ action: "list" | "info" | "cleanup" | "export" | "import" | "stats";
183
+ sessionId?: string;
184
+ filter?: {
185
+ project?: string;
186
+ dateRange?: {
187
+ start?: string;
188
+ end?: string;
189
+ };
190
+ sizeLimit?: number;
191
+ };
192
+ cleanupOptions?: {
193
+ maxAgeDays?: number;
194
+ maxSessions?: number;
195
+ };
196
+ exportPath?: string;
197
+ importPath?: string;
198
+ }) => Promise<string>;
199
+ };
200
+ export {};
@@ -0,0 +1,65 @@
1
+ import { z } from "zod";
2
+ export declare const GetCodeSessionsParams: z.ZodObject<{
3
+ status: z.ZodOptional<z.ZodEnum<["pending", "in_progress", "completed", "failed", "cancelled"]>>;
4
+ projectName: z.ZodOptional<z.ZodString>;
5
+ programmingLanguage: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
7
+ offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ limit: number;
10
+ offset: number;
11
+ status?: "pending" | "completed" | "failed" | "in_progress" | "cancelled" | undefined;
12
+ projectName?: string | undefined;
13
+ programmingLanguage?: string | undefined;
14
+ }, {
15
+ status?: "pending" | "completed" | "failed" | "in_progress" | "cancelled" | undefined;
16
+ projectName?: string | undefined;
17
+ programmingLanguage?: string | undefined;
18
+ limit?: number | undefined;
19
+ offset?: number | undefined;
20
+ }>;
21
+ export declare const GetCodeSessionDetailParams: z.ZodObject<{
22
+ uuid: z.ZodString;
23
+ }, "strip", z.ZodTypeAny, {
24
+ uuid: string;
25
+ }, {
26
+ uuid: string;
27
+ }>;
28
+ export type GetCodeSessionsRequest = z.infer<typeof GetCodeSessionsParams>;
29
+ export type GetCodeSessionDetailRequest = z.infer<typeof GetCodeSessionDetailParams>;
30
+ export declare const getCodeSessionsTool: {
31
+ name: string;
32
+ description: string;
33
+ parameters: z.ZodObject<{
34
+ status: z.ZodOptional<z.ZodEnum<["pending", "in_progress", "completed", "failed", "cancelled"]>>;
35
+ projectName: z.ZodOptional<z.ZodString>;
36
+ programmingLanguage: z.ZodOptional<z.ZodString>;
37
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
38
+ offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ limit: number;
41
+ offset: number;
42
+ status?: "pending" | "completed" | "failed" | "in_progress" | "cancelled" | undefined;
43
+ projectName?: string | undefined;
44
+ programmingLanguage?: string | undefined;
45
+ }, {
46
+ status?: "pending" | "completed" | "failed" | "in_progress" | "cancelled" | undefined;
47
+ projectName?: string | undefined;
48
+ programmingLanguage?: string | undefined;
49
+ limit?: number | undefined;
50
+ offset?: number | undefined;
51
+ }>;
52
+ execute: (params: GetCodeSessionsRequest) => Promise<string>;
53
+ };
54
+ export declare const getCodeSessionDetailTool: {
55
+ name: string;
56
+ description: string;
57
+ parameters: z.ZodObject<{
58
+ uuid: z.ZodString;
59
+ }, "strip", z.ZodTypeAny, {
60
+ uuid: string;
61
+ }, {
62
+ uuid: string;
63
+ }>;
64
+ execute: (params: GetCodeSessionDetailRequest) => Promise<string>;
65
+ };