mcp-task-server 0.1.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 +317 -0
- package/dist/agents.d.ts +25 -0
- package/dist/agents.d.ts.map +1 -0
- package/dist/agents.js +93 -0
- package/dist/agents.js.map +1 -0
- package/dist/config.d.ts +14 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +28 -0
- package/dist/config.js.map +1 -0
- package/dist/context.d.ts +38 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +70 -0
- package/dist/context.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +400 -0
- package/dist/index.js.map +1 -0
- package/dist/prompts.d.ts +22 -0
- package/dist/prompts.d.ts.map +1 -0
- package/dist/prompts.js +259 -0
- package/dist/prompts.js.map +1 -0
- package/dist/storage.d.ts +26 -0
- package/dist/storage.d.ts.map +1 -0
- package/dist/storage.js +293 -0
- package/dist/storage.js.map +1 -0
- package/dist/templates.d.ts +18 -0
- package/dist/templates.d.ts.map +1 -0
- package/dist/templates.js +441 -0
- package/dist/templates.js.map +1 -0
- package/dist/tools.d.ts +401 -0
- package/dist/tools.d.ts.map +1 -0
- package/dist/tools.js +732 -0
- package/dist/tools.js.map +1 -0
- package/dist/types.d.ts +89 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +42 -0
package/dist/tools.d.ts
ADDED
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { Config } from "./types.js";
|
|
3
|
+
export declare const ListTasksSchema: z.ZodObject<{
|
|
4
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
5
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
6
|
+
} & {
|
|
7
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "claimed", "in_progress", "review", "approved", "rejected", "completed", "cancelled", "done", "deprecated"]>>;
|
|
8
|
+
assigned_to: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
11
|
+
assigned_to?: string | undefined;
|
|
12
|
+
status?: "pending" | "claimed" | "in_progress" | "review" | "approved" | "rejected" | "completed" | "cancelled" | "done" | "deprecated" | undefined;
|
|
13
|
+
agent_id?: string | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
16
|
+
assigned_to?: string | undefined;
|
|
17
|
+
status?: "pending" | "claimed" | "in_progress" | "review" | "approved" | "rejected" | "completed" | "cancelled" | "done" | "deprecated" | undefined;
|
|
18
|
+
agent_id?: string | undefined;
|
|
19
|
+
}>;
|
|
20
|
+
export declare const GetTaskSchema: z.ZodObject<{
|
|
21
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
22
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
23
|
+
} & {
|
|
24
|
+
task_id: z.ZodString;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
task_id: string;
|
|
27
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
28
|
+
agent_id?: string | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
task_id: string;
|
|
31
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
32
|
+
agent_id?: string | undefined;
|
|
33
|
+
}>;
|
|
34
|
+
export declare const AddTaskSchema: z.ZodObject<{
|
|
35
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
36
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
37
|
+
} & {
|
|
38
|
+
title: z.ZodOptional<z.ZodString>;
|
|
39
|
+
content: z.ZodOptional<z.ZodString>;
|
|
40
|
+
description: z.ZodOptional<z.ZodString>;
|
|
41
|
+
details: z.ZodOptional<z.ZodString>;
|
|
42
|
+
testStrategy: z.ZodOptional<z.ZodString>;
|
|
43
|
+
priority: z.ZodDefault<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
44
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
priority: "low" | "medium" | "high" | "critical";
|
|
47
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
48
|
+
title?: string | undefined;
|
|
49
|
+
description?: string | undefined;
|
|
50
|
+
details?: string | undefined;
|
|
51
|
+
testStrategy?: string | undefined;
|
|
52
|
+
dependencies?: string[] | undefined;
|
|
53
|
+
agent_id?: string | undefined;
|
|
54
|
+
content?: string | undefined;
|
|
55
|
+
}, {
|
|
56
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
57
|
+
title?: string | undefined;
|
|
58
|
+
description?: string | undefined;
|
|
59
|
+
details?: string | undefined;
|
|
60
|
+
testStrategy?: string | undefined;
|
|
61
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
62
|
+
dependencies?: string[] | undefined;
|
|
63
|
+
agent_id?: string | undefined;
|
|
64
|
+
content?: string | undefined;
|
|
65
|
+
}>;
|
|
66
|
+
export declare const UpdateTaskSchema: z.ZodObject<{
|
|
67
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
68
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
69
|
+
} & {
|
|
70
|
+
task_id: z.ZodString;
|
|
71
|
+
title: z.ZodOptional<z.ZodString>;
|
|
72
|
+
content: z.ZodOptional<z.ZodString>;
|
|
73
|
+
description: z.ZodOptional<z.ZodString>;
|
|
74
|
+
details: z.ZodOptional<z.ZodString>;
|
|
75
|
+
testStrategy: z.ZodOptional<z.ZodString>;
|
|
76
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "claimed", "in_progress", "review", "approved", "rejected", "completed", "cancelled", "done", "deprecated"]>>;
|
|
77
|
+
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
78
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
79
|
+
}, "strip", z.ZodTypeAny, {
|
|
80
|
+
task_id: string;
|
|
81
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
82
|
+
title?: string | undefined;
|
|
83
|
+
description?: string | undefined;
|
|
84
|
+
details?: string | undefined;
|
|
85
|
+
testStrategy?: string | undefined;
|
|
86
|
+
status?: "pending" | "claimed" | "in_progress" | "review" | "approved" | "rejected" | "completed" | "cancelled" | "done" | "deprecated" | undefined;
|
|
87
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
88
|
+
metadata?: Record<string, unknown> | undefined;
|
|
89
|
+
agent_id?: string | undefined;
|
|
90
|
+
content?: string | undefined;
|
|
91
|
+
}, {
|
|
92
|
+
task_id: string;
|
|
93
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
94
|
+
title?: string | undefined;
|
|
95
|
+
description?: string | undefined;
|
|
96
|
+
details?: string | undefined;
|
|
97
|
+
testStrategy?: string | undefined;
|
|
98
|
+
status?: "pending" | "claimed" | "in_progress" | "review" | "approved" | "rejected" | "completed" | "cancelled" | "done" | "deprecated" | undefined;
|
|
99
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
100
|
+
metadata?: Record<string, unknown> | undefined;
|
|
101
|
+
agent_id?: string | undefined;
|
|
102
|
+
content?: string | undefined;
|
|
103
|
+
}>;
|
|
104
|
+
export declare const CompleteTaskSchema: z.ZodObject<{
|
|
105
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
106
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
107
|
+
} & {
|
|
108
|
+
task_id: z.ZodString;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
task_id: string;
|
|
111
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
112
|
+
agent_id?: string | undefined;
|
|
113
|
+
}, {
|
|
114
|
+
task_id: string;
|
|
115
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
116
|
+
agent_id?: string | undefined;
|
|
117
|
+
}>;
|
|
118
|
+
export declare const NextTaskSchema: z.ZodObject<{
|
|
119
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
120
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
121
|
+
}, "strip", z.ZodTypeAny, {
|
|
122
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
123
|
+
agent_id?: string | undefined;
|
|
124
|
+
}, {
|
|
125
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
126
|
+
agent_id?: string | undefined;
|
|
127
|
+
}>;
|
|
128
|
+
export declare const ClaimTaskSchema: z.ZodObject<{
|
|
129
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
130
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
131
|
+
} & {
|
|
132
|
+
task_id: z.ZodString;
|
|
133
|
+
}, "strip", z.ZodTypeAny, {
|
|
134
|
+
task_id: string;
|
|
135
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
136
|
+
agent_id?: string | undefined;
|
|
137
|
+
}, {
|
|
138
|
+
task_id: string;
|
|
139
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
140
|
+
agent_id?: string | undefined;
|
|
141
|
+
}>;
|
|
142
|
+
export declare const ReleaseTaskSchema: z.ZodObject<{
|
|
143
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
144
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
145
|
+
} & {
|
|
146
|
+
task_id: z.ZodString;
|
|
147
|
+
}, "strip", z.ZodTypeAny, {
|
|
148
|
+
task_id: string;
|
|
149
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
150
|
+
agent_id?: string | undefined;
|
|
151
|
+
}, {
|
|
152
|
+
task_id: string;
|
|
153
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
154
|
+
agent_id?: string | undefined;
|
|
155
|
+
}>;
|
|
156
|
+
export declare const HandoffTaskSchema: z.ZodObject<{
|
|
157
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
158
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
159
|
+
} & {
|
|
160
|
+
task_id: z.ZodString;
|
|
161
|
+
to_role: z.ZodEnum<["planner", "worker", "judge"]>;
|
|
162
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
|
+
task_id: string;
|
|
165
|
+
to_role: "planner" | "worker" | "judge";
|
|
166
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
167
|
+
agent_id?: string | undefined;
|
|
168
|
+
notes?: string | undefined;
|
|
169
|
+
}, {
|
|
170
|
+
task_id: string;
|
|
171
|
+
to_role: "planner" | "worker" | "judge";
|
|
172
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
173
|
+
agent_id?: string | undefined;
|
|
174
|
+
notes?: string | undefined;
|
|
175
|
+
}>;
|
|
176
|
+
export declare const ReviewTaskSchema: z.ZodObject<{
|
|
177
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
178
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
179
|
+
} & {
|
|
180
|
+
task_id: z.ZodString;
|
|
181
|
+
}, "strip", z.ZodTypeAny, {
|
|
182
|
+
task_id: string;
|
|
183
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
184
|
+
agent_id?: string | undefined;
|
|
185
|
+
}, {
|
|
186
|
+
task_id: string;
|
|
187
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
188
|
+
agent_id?: string | undefined;
|
|
189
|
+
}>;
|
|
190
|
+
export declare const ApproveTaskSchema: z.ZodObject<{
|
|
191
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
192
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
193
|
+
} & {
|
|
194
|
+
task_id: z.ZodString;
|
|
195
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
196
|
+
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
task_id: string;
|
|
198
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
199
|
+
agent_id?: string | undefined;
|
|
200
|
+
notes?: string | undefined;
|
|
201
|
+
}, {
|
|
202
|
+
task_id: string;
|
|
203
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
204
|
+
agent_id?: string | undefined;
|
|
205
|
+
notes?: string | undefined;
|
|
206
|
+
}>;
|
|
207
|
+
export declare const RejectTaskSchema: z.ZodObject<{
|
|
208
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
209
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
210
|
+
} & {
|
|
211
|
+
task_id: z.ZodString;
|
|
212
|
+
feedback: z.ZodString;
|
|
213
|
+
}, "strip", z.ZodTypeAny, {
|
|
214
|
+
task_id: string;
|
|
215
|
+
feedback: string;
|
|
216
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
217
|
+
agent_id?: string | undefined;
|
|
218
|
+
}, {
|
|
219
|
+
task_id: string;
|
|
220
|
+
feedback: string;
|
|
221
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
222
|
+
agent_id?: string | undefined;
|
|
223
|
+
}>;
|
|
224
|
+
export declare const ExpandTaskSchema: z.ZodObject<{
|
|
225
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
226
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
227
|
+
} & {
|
|
228
|
+
task_id: z.ZodString;
|
|
229
|
+
}, "strip", z.ZodTypeAny, {
|
|
230
|
+
task_id: string;
|
|
231
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
232
|
+
agent_id?: string | undefined;
|
|
233
|
+
}, {
|
|
234
|
+
task_id: string;
|
|
235
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
236
|
+
agent_id?: string | undefined;
|
|
237
|
+
}>;
|
|
238
|
+
export declare const AddSubtaskSchema: z.ZodObject<{
|
|
239
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
240
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
241
|
+
} & {
|
|
242
|
+
parent_id: z.ZodString;
|
|
243
|
+
title: z.ZodOptional<z.ZodString>;
|
|
244
|
+
content: z.ZodOptional<z.ZodString>;
|
|
245
|
+
description: z.ZodOptional<z.ZodString>;
|
|
246
|
+
details: z.ZodOptional<z.ZodString>;
|
|
247
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
248
|
+
}, "strip", z.ZodTypeAny, {
|
|
249
|
+
parent_id: string;
|
|
250
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
251
|
+
title?: string | undefined;
|
|
252
|
+
description?: string | undefined;
|
|
253
|
+
details?: string | undefined;
|
|
254
|
+
dependencies?: number[] | undefined;
|
|
255
|
+
agent_id?: string | undefined;
|
|
256
|
+
content?: string | undefined;
|
|
257
|
+
}, {
|
|
258
|
+
parent_id: string;
|
|
259
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
260
|
+
title?: string | undefined;
|
|
261
|
+
description?: string | undefined;
|
|
262
|
+
details?: string | undefined;
|
|
263
|
+
dependencies?: number[] | undefined;
|
|
264
|
+
agent_id?: string | undefined;
|
|
265
|
+
content?: string | undefined;
|
|
266
|
+
}>;
|
|
267
|
+
export declare const SetDependenciesSchema: z.ZodObject<{
|
|
268
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
269
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
270
|
+
} & {
|
|
271
|
+
task_id: z.ZodString;
|
|
272
|
+
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
273
|
+
}, "strip", z.ZodTypeAny, {
|
|
274
|
+
dependencies: string[];
|
|
275
|
+
task_id: string;
|
|
276
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
277
|
+
agent_id?: string | undefined;
|
|
278
|
+
}, {
|
|
279
|
+
dependencies: string[];
|
|
280
|
+
task_id: string;
|
|
281
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
282
|
+
agent_id?: string | undefined;
|
|
283
|
+
}>;
|
|
284
|
+
export declare const RemoveTaskSchema: z.ZodObject<{
|
|
285
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
286
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
287
|
+
} & {
|
|
288
|
+
task_id: z.ZodString;
|
|
289
|
+
}, "strip", z.ZodTypeAny, {
|
|
290
|
+
task_id: string;
|
|
291
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
292
|
+
agent_id?: string | undefined;
|
|
293
|
+
}, {
|
|
294
|
+
task_id: string;
|
|
295
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
296
|
+
agent_id?: string | undefined;
|
|
297
|
+
}>;
|
|
298
|
+
export declare const ParsePrdSchema: z.ZodObject<{
|
|
299
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
300
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
301
|
+
} & {
|
|
302
|
+
prd_content: z.ZodString;
|
|
303
|
+
}, "strip", z.ZodTypeAny, {
|
|
304
|
+
prd_content: string;
|
|
305
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
306
|
+
agent_id?: string | undefined;
|
|
307
|
+
}, {
|
|
308
|
+
prd_content: string;
|
|
309
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
310
|
+
agent_id?: string | undefined;
|
|
311
|
+
}>;
|
|
312
|
+
export declare const ResearchTaskSchema: z.ZodObject<{
|
|
313
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
314
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
315
|
+
} & {
|
|
316
|
+
task_id: z.ZodString;
|
|
317
|
+
topic: z.ZodOptional<z.ZodString>;
|
|
318
|
+
}, "strip", z.ZodTypeAny, {
|
|
319
|
+
task_id: string;
|
|
320
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
321
|
+
agent_id?: string | undefined;
|
|
322
|
+
topic?: string | undefined;
|
|
323
|
+
}, {
|
|
324
|
+
task_id: string;
|
|
325
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
326
|
+
agent_id?: string | undefined;
|
|
327
|
+
topic?: string | undefined;
|
|
328
|
+
}>;
|
|
329
|
+
export declare const AnalyzeComplexitySchema: z.ZodObject<{
|
|
330
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
331
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
332
|
+
} & {
|
|
333
|
+
task_id: z.ZodString;
|
|
334
|
+
}, "strip", z.ZodTypeAny, {
|
|
335
|
+
task_id: string;
|
|
336
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
337
|
+
agent_id?: string | undefined;
|
|
338
|
+
}, {
|
|
339
|
+
task_id: string;
|
|
340
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
341
|
+
agent_id?: string | undefined;
|
|
342
|
+
}>;
|
|
343
|
+
export declare const CheckComplianceSchema: z.ZodObject<{
|
|
344
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
345
|
+
role: z.ZodOptional<z.ZodEnum<["planner", "worker", "judge"]>>;
|
|
346
|
+
} & {
|
|
347
|
+
path: z.ZodString;
|
|
348
|
+
fix: z.ZodDefault<z.ZodBoolean>;
|
|
349
|
+
}, "strip", z.ZodTypeAny, {
|
|
350
|
+
path: string;
|
|
351
|
+
fix: boolean;
|
|
352
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
353
|
+
agent_id?: string | undefined;
|
|
354
|
+
}, {
|
|
355
|
+
path: string;
|
|
356
|
+
role?: "planner" | "worker" | "judge" | undefined;
|
|
357
|
+
agent_id?: string | undefined;
|
|
358
|
+
fix?: boolean | undefined;
|
|
359
|
+
}>;
|
|
360
|
+
export declare const InitProjectSchema: z.ZodObject<{
|
|
361
|
+
project_name: z.ZodOptional<z.ZodString>;
|
|
362
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
363
|
+
}, "strip", z.ZodTypeAny, {
|
|
364
|
+
force: boolean;
|
|
365
|
+
project_name?: string | undefined;
|
|
366
|
+
}, {
|
|
367
|
+
project_name?: string | undefined;
|
|
368
|
+
force?: boolean | undefined;
|
|
369
|
+
}>;
|
|
370
|
+
type ToolResult = {
|
|
371
|
+
content: Array<{
|
|
372
|
+
type: "text";
|
|
373
|
+
text: string;
|
|
374
|
+
}>;
|
|
375
|
+
};
|
|
376
|
+
export declare function listTasks(config: Config, params: z.infer<typeof ListTasksSchema>): Promise<ToolResult>;
|
|
377
|
+
export declare function getTask(config: Config, params: z.infer<typeof GetTaskSchema>): Promise<ToolResult>;
|
|
378
|
+
export declare function addTask(config: Config, params: z.infer<typeof AddTaskSchema>): Promise<ToolResult>;
|
|
379
|
+
export declare function updateTask(config: Config, params: z.infer<typeof UpdateTaskSchema>): Promise<ToolResult>;
|
|
380
|
+
export declare function completeTask(config: Config, params: z.infer<typeof CompleteTaskSchema>): Promise<ToolResult>;
|
|
381
|
+
export declare function nextTask(config: Config, params: z.infer<typeof NextTaskSchema>): Promise<ToolResult>;
|
|
382
|
+
export declare function claimTask(config: Config, params: z.infer<typeof ClaimTaskSchema>): Promise<ToolResult>;
|
|
383
|
+
export declare function releaseTask(config: Config, params: z.infer<typeof ReleaseTaskSchema>): Promise<ToolResult>;
|
|
384
|
+
export declare function handoffTask(config: Config, params: z.infer<typeof HandoffTaskSchema>): Promise<ToolResult>;
|
|
385
|
+
export declare function reviewTask(config: Config, params: z.infer<typeof ReviewTaskSchema>): Promise<ToolResult>;
|
|
386
|
+
export declare function approveTask(config: Config, params: z.infer<typeof ApproveTaskSchema>): Promise<ToolResult>;
|
|
387
|
+
export declare function rejectTask(config: Config, params: z.infer<typeof RejectTaskSchema>): Promise<ToolResult>;
|
|
388
|
+
export declare function expandTask(config: Config, params: z.infer<typeof ExpandTaskSchema>): Promise<ToolResult>;
|
|
389
|
+
export declare function addSubtask(config: Config, params: z.infer<typeof AddSubtaskSchema>): Promise<ToolResult>;
|
|
390
|
+
export declare function setDependencies(config: Config, params: z.infer<typeof SetDependenciesSchema>): Promise<ToolResult>;
|
|
391
|
+
export declare function removeTask(config: Config, params: z.infer<typeof RemoveTaskSchema>): Promise<ToolResult>;
|
|
392
|
+
export declare function parsePrd(config: Config, params: z.infer<typeof ParsePrdSchema>): Promise<ToolResult>;
|
|
393
|
+
export declare function researchTask(config: Config, params: z.infer<typeof ResearchTaskSchema>): Promise<ToolResult>;
|
|
394
|
+
export declare function analyzeComplexity(config: Config, params: z.infer<typeof AnalyzeComplexitySchema>): Promise<ToolResult>;
|
|
395
|
+
export declare function checkCompliance(config: Config, params: z.infer<typeof CheckComplianceSchema>): Promise<ToolResult>;
|
|
396
|
+
/**
|
|
397
|
+
* Initialize a project with agent-kit, memory_bank, and cursor rules
|
|
398
|
+
*/
|
|
399
|
+
export declare function initProject(config: Config, params: z.infer<typeof InitProjectSchema>): Promise<ToolResult>;
|
|
400
|
+
export {};
|
|
401
|
+
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,MAAM,EAAkD,MAAM,YAAY,CAAC;AA6BpF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;EAgB1B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;EAExB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;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