@mastra/agent-builder 0.0.1-alpha.1 → 0.0.1-alpha.2

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 (73) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/agent/index.d.ts +5885 -0
  3. package/dist/agent/index.d.ts.map +1 -0
  4. package/dist/defaults.d.ts +6529 -0
  5. package/dist/defaults.d.ts.map +1 -0
  6. package/dist/index.d.ts +4 -4
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +1810 -36
  9. package/dist/index.js.map +1 -0
  10. package/dist/processors/tool-summary.d.ts +29 -0
  11. package/dist/processors/tool-summary.d.ts.map +1 -0
  12. package/dist/processors/write-file.d.ts +10 -0
  13. package/dist/processors/write-file.d.ts.map +1 -0
  14. package/dist/types.d.ts +1121 -0
  15. package/dist/types.d.ts.map +1 -0
  16. package/dist/utils.d.ts +63 -0
  17. package/dist/utils.d.ts.map +1 -0
  18. package/dist/workflows/index.d.ts +5 -0
  19. package/dist/workflows/index.d.ts.map +1 -0
  20. package/dist/workflows/shared/schema.d.ts +139 -0
  21. package/dist/workflows/shared/schema.d.ts.map +1 -0
  22. package/dist/workflows/task-planning/prompts.d.ts +37 -0
  23. package/dist/workflows/task-planning/prompts.d.ts.map +1 -0
  24. package/dist/workflows/task-planning/schema.d.ts +548 -0
  25. package/dist/workflows/task-planning/schema.d.ts.map +1 -0
  26. package/dist/workflows/task-planning/task-planning.d.ts +992 -0
  27. package/dist/workflows/task-planning/task-planning.d.ts.map +1 -0
  28. package/dist/workflows/template-builder/template-builder.d.ts +1910 -0
  29. package/dist/workflows/template-builder/template-builder.d.ts.map +1 -0
  30. package/dist/workflows/workflow-builder/prompts.d.ts +44 -0
  31. package/dist/workflows/workflow-builder/prompts.d.ts.map +1 -0
  32. package/dist/workflows/workflow-builder/schema.d.ts +1170 -0
  33. package/dist/workflows/workflow-builder/schema.d.ts.map +1 -0
  34. package/dist/workflows/workflow-builder/tools.d.ts +309 -0
  35. package/dist/workflows/workflow-builder/tools.d.ts.map +1 -0
  36. package/dist/workflows/workflow-builder/workflow-builder.d.ts +2714 -0
  37. package/dist/workflows/workflow-builder/workflow-builder.d.ts.map +1 -0
  38. package/dist/workflows/workflow-map.d.ts +3735 -0
  39. package/dist/workflows/workflow-map.d.ts.map +1 -0
  40. package/package.json +20 -9
  41. package/.turbo/turbo-build.log +0 -12
  42. package/dist/_tsup-dts-rollup.d.cts +0 -14933
  43. package/dist/_tsup-dts-rollup.d.ts +0 -14933
  44. package/dist/index.cjs +0 -4357
  45. package/dist/index.d.cts +0 -4
  46. package/eslint.config.js +0 -11
  47. package/integration-tests/CHANGELOG.md +0 -9
  48. package/integration-tests/README.md +0 -154
  49. package/integration-tests/docker-compose.yml +0 -39
  50. package/integration-tests/package.json +0 -38
  51. package/integration-tests/src/agent-template-behavior.test.ts +0 -103
  52. package/integration-tests/src/fixtures/minimal-mastra-project/env.example +0 -6
  53. package/integration-tests/src/fixtures/minimal-mastra-project/package.json +0 -17
  54. package/integration-tests/src/fixtures/minimal-mastra-project/src/mastra/agents/weather.ts +0 -34
  55. package/integration-tests/src/fixtures/minimal-mastra-project/src/mastra/index.ts +0 -15
  56. package/integration-tests/src/fixtures/minimal-mastra-project/src/mastra/mcp/index.ts +0 -46
  57. package/integration-tests/src/fixtures/minimal-mastra-project/src/mastra/tools/weather.ts +0 -14
  58. package/integration-tests/src/fixtures/minimal-mastra-project/tsconfig.json +0 -17
  59. package/integration-tests/src/template-integration.test.ts +0 -312
  60. package/integration-tests/tsconfig.json +0 -9
  61. package/integration-tests/vitest.config.ts +0 -18
  62. package/src/agent/index.ts +0 -187
  63. package/src/agent-builder.test.ts +0 -313
  64. package/src/defaults.ts +0 -2876
  65. package/src/index.ts +0 -3
  66. package/src/processors/tool-summary.ts +0 -145
  67. package/src/processors/write-file.ts +0 -17
  68. package/src/types.ts +0 -305
  69. package/src/utils.ts +0 -409
  70. package/src/workflows/index.ts +0 -1
  71. package/src/workflows/template-builder.ts +0 -1682
  72. package/tsconfig.json +0 -5
  73. package/vitest.config.ts +0 -11
@@ -0,0 +1,548 @@
1
+ import { z } from 'zod';
2
+ export declare const PlanningIterationInputSchema: z.ZodObject<{
3
+ action: z.ZodEnum<["create", "edit"]>;
4
+ workflowName: z.ZodOptional<z.ZodString>;
5
+ description: z.ZodOptional<z.ZodString>;
6
+ requirements: z.ZodOptional<z.ZodString>;
7
+ discoveredWorkflows: z.ZodArray<z.ZodObject<{
8
+ name: z.ZodString;
9
+ file: z.ZodString;
10
+ description: z.ZodOptional<z.ZodString>;
11
+ inputSchema: z.ZodOptional<z.ZodAny>;
12
+ outputSchema: z.ZodOptional<z.ZodAny>;
13
+ steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ file: string;
16
+ name: string;
17
+ description?: string | undefined;
18
+ steps?: string[] | undefined;
19
+ inputSchema?: any;
20
+ outputSchema?: any;
21
+ }, {
22
+ file: string;
23
+ name: string;
24
+ description?: string | undefined;
25
+ steps?: string[] | undefined;
26
+ inputSchema?: any;
27
+ outputSchema?: any;
28
+ }>, "many">;
29
+ projectStructure: z.ZodObject<{
30
+ success: z.ZodBoolean;
31
+ structure: z.ZodObject<{
32
+ hasWorkflowsDir: z.ZodBoolean;
33
+ hasAgentsDir: z.ZodBoolean;
34
+ hasToolsDir: z.ZodBoolean;
35
+ hasMastraIndex: z.ZodBoolean;
36
+ existingWorkflows: z.ZodArray<z.ZodString, "many">;
37
+ existingAgents: z.ZodArray<z.ZodString, "many">;
38
+ existingTools: z.ZodArray<z.ZodString, "many">;
39
+ }, "strip", z.ZodTypeAny, {
40
+ hasWorkflowsDir: boolean;
41
+ hasAgentsDir: boolean;
42
+ hasToolsDir: boolean;
43
+ hasMastraIndex: boolean;
44
+ existingWorkflows: string[];
45
+ existingAgents: string[];
46
+ existingTools: string[];
47
+ }, {
48
+ hasWorkflowsDir: boolean;
49
+ hasAgentsDir: boolean;
50
+ hasToolsDir: boolean;
51
+ hasMastraIndex: boolean;
52
+ existingWorkflows: string[];
53
+ existingAgents: string[];
54
+ existingTools: string[];
55
+ }>;
56
+ dependencies: z.ZodRecord<z.ZodString, z.ZodString>;
57
+ message: z.ZodString;
58
+ error: z.ZodOptional<z.ZodString>;
59
+ }, "strip", z.ZodTypeAny, {
60
+ message: string;
61
+ success: boolean;
62
+ dependencies: Record<string, string>;
63
+ structure: {
64
+ hasWorkflowsDir: boolean;
65
+ hasAgentsDir: boolean;
66
+ hasToolsDir: boolean;
67
+ hasMastraIndex: boolean;
68
+ existingWorkflows: string[];
69
+ existingAgents: string[];
70
+ existingTools: string[];
71
+ };
72
+ error?: string | undefined;
73
+ }, {
74
+ message: string;
75
+ success: boolean;
76
+ dependencies: Record<string, string>;
77
+ structure: {
78
+ hasWorkflowsDir: boolean;
79
+ hasAgentsDir: boolean;
80
+ hasToolsDir: boolean;
81
+ hasMastraIndex: boolean;
82
+ existingWorkflows: string[];
83
+ existingAgents: string[];
84
+ existingTools: string[];
85
+ };
86
+ error?: string | undefined;
87
+ }>;
88
+ research: z.ZodObject<{
89
+ success: z.ZodBoolean;
90
+ documentation: z.ZodObject<{
91
+ workflowPatterns: z.ZodArray<z.ZodString, "many">;
92
+ stepExamples: z.ZodArray<z.ZodString, "many">;
93
+ bestPractices: z.ZodArray<z.ZodString, "many">;
94
+ }, "strip", z.ZodTypeAny, {
95
+ workflowPatterns: string[];
96
+ stepExamples: string[];
97
+ bestPractices: string[];
98
+ }, {
99
+ workflowPatterns: string[];
100
+ stepExamples: string[];
101
+ bestPractices: string[];
102
+ }>;
103
+ webResources: z.ZodArray<z.ZodObject<{
104
+ title: z.ZodString;
105
+ url: z.ZodString;
106
+ snippet: z.ZodString;
107
+ relevance: z.ZodNumber;
108
+ }, "strip", z.ZodTypeAny, {
109
+ url: string;
110
+ relevance: number;
111
+ title: string;
112
+ snippet: string;
113
+ }, {
114
+ url: string;
115
+ relevance: number;
116
+ title: string;
117
+ snippet: string;
118
+ }>, "many">;
119
+ message: z.ZodString;
120
+ error: z.ZodOptional<z.ZodString>;
121
+ }, "strip", z.ZodTypeAny, {
122
+ message: string;
123
+ success: boolean;
124
+ documentation: {
125
+ workflowPatterns: string[];
126
+ stepExamples: string[];
127
+ bestPractices: string[];
128
+ };
129
+ webResources: {
130
+ url: string;
131
+ relevance: number;
132
+ title: string;
133
+ snippet: string;
134
+ }[];
135
+ error?: string | undefined;
136
+ }, {
137
+ message: string;
138
+ success: boolean;
139
+ documentation: {
140
+ workflowPatterns: string[];
141
+ stepExamples: string[];
142
+ bestPractices: string[];
143
+ };
144
+ webResources: {
145
+ url: string;
146
+ relevance: number;
147
+ title: string;
148
+ snippet: string;
149
+ }[];
150
+ error?: string | undefined;
151
+ }>;
152
+ userAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ action: "create" | "edit";
155
+ discoveredWorkflows: {
156
+ file: string;
157
+ name: string;
158
+ description?: string | undefined;
159
+ steps?: string[] | undefined;
160
+ inputSchema?: any;
161
+ outputSchema?: any;
162
+ }[];
163
+ projectStructure: {
164
+ message: string;
165
+ success: boolean;
166
+ dependencies: Record<string, string>;
167
+ structure: {
168
+ hasWorkflowsDir: boolean;
169
+ hasAgentsDir: boolean;
170
+ hasToolsDir: boolean;
171
+ hasMastraIndex: boolean;
172
+ existingWorkflows: string[];
173
+ existingAgents: string[];
174
+ existingTools: string[];
175
+ };
176
+ error?: string | undefined;
177
+ };
178
+ research: {
179
+ message: string;
180
+ success: boolean;
181
+ documentation: {
182
+ workflowPatterns: string[];
183
+ stepExamples: string[];
184
+ bestPractices: string[];
185
+ };
186
+ webResources: {
187
+ url: string;
188
+ relevance: number;
189
+ title: string;
190
+ snippet: string;
191
+ }[];
192
+ error?: string | undefined;
193
+ };
194
+ description?: string | undefined;
195
+ workflowName?: string | undefined;
196
+ requirements?: string | undefined;
197
+ userAnswers?: Record<string, string> | undefined;
198
+ }, {
199
+ action: "create" | "edit";
200
+ discoveredWorkflows: {
201
+ file: string;
202
+ name: string;
203
+ description?: string | undefined;
204
+ steps?: string[] | undefined;
205
+ inputSchema?: any;
206
+ outputSchema?: any;
207
+ }[];
208
+ projectStructure: {
209
+ message: string;
210
+ success: boolean;
211
+ dependencies: Record<string, string>;
212
+ structure: {
213
+ hasWorkflowsDir: boolean;
214
+ hasAgentsDir: boolean;
215
+ hasToolsDir: boolean;
216
+ hasMastraIndex: boolean;
217
+ existingWorkflows: string[];
218
+ existingAgents: string[];
219
+ existingTools: string[];
220
+ };
221
+ error?: string | undefined;
222
+ };
223
+ research: {
224
+ message: string;
225
+ success: boolean;
226
+ documentation: {
227
+ workflowPatterns: string[];
228
+ stepExamples: string[];
229
+ bestPractices: string[];
230
+ };
231
+ webResources: {
232
+ url: string;
233
+ relevance: number;
234
+ title: string;
235
+ snippet: string;
236
+ }[];
237
+ error?: string | undefined;
238
+ };
239
+ description?: string | undefined;
240
+ workflowName?: string | undefined;
241
+ requirements?: string | undefined;
242
+ userAnswers?: Record<string, string> | undefined;
243
+ }>;
244
+ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
245
+ questions: z.ZodArray<z.ZodObject<{
246
+ id: z.ZodString;
247
+ question: z.ZodString;
248
+ type: z.ZodEnum<["choice", "text", "boolean"]>;
249
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
250
+ context: z.ZodOptional<z.ZodString>;
251
+ }, "strip", z.ZodTypeAny, {
252
+ type: "boolean" | "text" | "choice";
253
+ id: string;
254
+ question: string;
255
+ options?: string[] | undefined;
256
+ context?: string | undefined;
257
+ }, {
258
+ type: "boolean" | "text" | "choice";
259
+ id: string;
260
+ question: string;
261
+ options?: string[] | undefined;
262
+ context?: string | undefined;
263
+ }>, "many">;
264
+ message: z.ZodString;
265
+ currentPlan: z.ZodObject<{
266
+ tasks: z.ZodArray<z.ZodObject<{
267
+ id: z.ZodString;
268
+ content: z.ZodString;
269
+ status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
270
+ priority: z.ZodEnum<["high", "medium", "low"]>;
271
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
272
+ notes: z.ZodString;
273
+ }, "strip", z.ZodTypeAny, {
274
+ status: "pending" | "in_progress" | "completed" | "blocked";
275
+ id: string;
276
+ content: string;
277
+ priority: "high" | "medium" | "low";
278
+ notes: string;
279
+ dependencies?: string[] | undefined;
280
+ }, {
281
+ id: string;
282
+ content: string;
283
+ priority: "high" | "medium" | "low";
284
+ notes: string;
285
+ status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
286
+ dependencies?: string[] | undefined;
287
+ }>, "many">;
288
+ reasoning: z.ZodString;
289
+ }, "strip", z.ZodTypeAny, {
290
+ tasks: {
291
+ status: "pending" | "in_progress" | "completed" | "blocked";
292
+ id: string;
293
+ content: string;
294
+ priority: "high" | "medium" | "low";
295
+ notes: string;
296
+ dependencies?: string[] | undefined;
297
+ }[];
298
+ reasoning: string;
299
+ }, {
300
+ tasks: {
301
+ id: string;
302
+ content: string;
303
+ priority: "high" | "medium" | "low";
304
+ notes: string;
305
+ status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
306
+ dependencies?: string[] | undefined;
307
+ }[];
308
+ reasoning: string;
309
+ }>;
310
+ }, "strip", z.ZodTypeAny, {
311
+ message: string;
312
+ questions: {
313
+ type: "boolean" | "text" | "choice";
314
+ id: string;
315
+ question: string;
316
+ options?: string[] | undefined;
317
+ context?: string | undefined;
318
+ }[];
319
+ currentPlan: {
320
+ tasks: {
321
+ status: "pending" | "in_progress" | "completed" | "blocked";
322
+ id: string;
323
+ content: string;
324
+ priority: "high" | "medium" | "low";
325
+ notes: string;
326
+ dependencies?: string[] | undefined;
327
+ }[];
328
+ reasoning: string;
329
+ };
330
+ }, {
331
+ message: string;
332
+ questions: {
333
+ type: "boolean" | "text" | "choice";
334
+ id: string;
335
+ question: string;
336
+ options?: string[] | undefined;
337
+ context?: string | undefined;
338
+ }[];
339
+ currentPlan: {
340
+ tasks: {
341
+ id: string;
342
+ content: string;
343
+ priority: "high" | "medium" | "low";
344
+ notes: string;
345
+ status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
346
+ dependencies?: string[] | undefined;
347
+ }[];
348
+ reasoning: string;
349
+ };
350
+ }>;
351
+ export declare const PlanningIterationResumeSchema: z.ZodObject<{
352
+ answers: z.ZodRecord<z.ZodString, z.ZodString>;
353
+ }, "strip", z.ZodTypeAny, {
354
+ answers: Record<string, string>;
355
+ }, {
356
+ answers: Record<string, string>;
357
+ }>;
358
+ export declare const PlanningAgentOutputSchema: z.ZodObject<{
359
+ tasks: z.ZodArray<z.ZodObject<{
360
+ id: z.ZodString;
361
+ content: z.ZodString;
362
+ status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
363
+ priority: z.ZodEnum<["high", "medium", "low"]>;
364
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
365
+ notes: z.ZodString;
366
+ }, "strip", z.ZodTypeAny, {
367
+ status: "pending" | "in_progress" | "completed" | "blocked";
368
+ id: string;
369
+ content: string;
370
+ priority: "high" | "medium" | "low";
371
+ notes: string;
372
+ dependencies?: string[] | undefined;
373
+ }, {
374
+ id: string;
375
+ content: string;
376
+ priority: "high" | "medium" | "low";
377
+ notes: string;
378
+ status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
379
+ dependencies?: string[] | undefined;
380
+ }>, "many">;
381
+ questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
382
+ id: z.ZodString;
383
+ question: z.ZodString;
384
+ type: z.ZodEnum<["choice", "text", "boolean"]>;
385
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
386
+ context: z.ZodOptional<z.ZodString>;
387
+ }, "strip", z.ZodTypeAny, {
388
+ type: "boolean" | "text" | "choice";
389
+ id: string;
390
+ question: string;
391
+ options?: string[] | undefined;
392
+ context?: string | undefined;
393
+ }, {
394
+ type: "boolean" | "text" | "choice";
395
+ id: string;
396
+ question: string;
397
+ options?: string[] | undefined;
398
+ context?: string | undefined;
399
+ }>, "many">>;
400
+ reasoning: z.ZodString;
401
+ planComplete: z.ZodBoolean;
402
+ }, "strip", z.ZodTypeAny, {
403
+ tasks: {
404
+ status: "pending" | "in_progress" | "completed" | "blocked";
405
+ id: string;
406
+ content: string;
407
+ priority: "high" | "medium" | "low";
408
+ notes: string;
409
+ dependencies?: string[] | undefined;
410
+ }[];
411
+ reasoning: string;
412
+ planComplete: boolean;
413
+ questions?: {
414
+ type: "boolean" | "text" | "choice";
415
+ id: string;
416
+ question: string;
417
+ options?: string[] | undefined;
418
+ context?: string | undefined;
419
+ }[] | undefined;
420
+ }, {
421
+ tasks: {
422
+ id: string;
423
+ content: string;
424
+ priority: "high" | "medium" | "low";
425
+ notes: string;
426
+ status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
427
+ dependencies?: string[] | undefined;
428
+ }[];
429
+ reasoning: string;
430
+ planComplete: boolean;
431
+ questions?: {
432
+ type: "boolean" | "text" | "choice";
433
+ id: string;
434
+ question: string;
435
+ options?: string[] | undefined;
436
+ context?: string | undefined;
437
+ }[] | undefined;
438
+ }>;
439
+ export declare const TaskApprovalOutputSchema: z.ZodObject<{
440
+ approved: z.ZodBoolean;
441
+ tasks: z.ZodArray<z.ZodObject<{
442
+ id: z.ZodString;
443
+ content: z.ZodString;
444
+ status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
445
+ priority: z.ZodEnum<["high", "medium", "low"]>;
446
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
447
+ notes: z.ZodString;
448
+ }, "strip", z.ZodTypeAny, {
449
+ status: "pending" | "in_progress" | "completed" | "blocked";
450
+ id: string;
451
+ content: string;
452
+ priority: "high" | "medium" | "low";
453
+ notes: string;
454
+ dependencies?: string[] | undefined;
455
+ }, {
456
+ id: string;
457
+ content: string;
458
+ priority: "high" | "medium" | "low";
459
+ notes: string;
460
+ status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
461
+ dependencies?: string[] | undefined;
462
+ }>, "many">;
463
+ message: z.ZodString;
464
+ userFeedback: z.ZodOptional<z.ZodString>;
465
+ }, "strip", z.ZodTypeAny, {
466
+ message: string;
467
+ tasks: {
468
+ status: "pending" | "in_progress" | "completed" | "blocked";
469
+ id: string;
470
+ content: string;
471
+ priority: "high" | "medium" | "low";
472
+ notes: string;
473
+ dependencies?: string[] | undefined;
474
+ }[];
475
+ approved: boolean;
476
+ userFeedback?: string | undefined;
477
+ }, {
478
+ message: string;
479
+ tasks: {
480
+ id: string;
481
+ content: string;
482
+ priority: "high" | "medium" | "low";
483
+ notes: string;
484
+ status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
485
+ dependencies?: string[] | undefined;
486
+ }[];
487
+ approved: boolean;
488
+ userFeedback?: string | undefined;
489
+ }>;
490
+ export declare const TaskApprovalSuspendSchema: z.ZodObject<{
491
+ taskList: z.ZodArray<z.ZodObject<{
492
+ id: z.ZodString;
493
+ content: z.ZodString;
494
+ status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
495
+ priority: z.ZodEnum<["high", "medium", "low"]>;
496
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
497
+ notes: z.ZodString;
498
+ }, "strip", z.ZodTypeAny, {
499
+ status: "pending" | "in_progress" | "completed" | "blocked";
500
+ id: string;
501
+ content: string;
502
+ priority: "high" | "medium" | "low";
503
+ notes: string;
504
+ dependencies?: string[] | undefined;
505
+ }, {
506
+ id: string;
507
+ content: string;
508
+ priority: "high" | "medium" | "low";
509
+ notes: string;
510
+ status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
511
+ dependencies?: string[] | undefined;
512
+ }>, "many">;
513
+ summary: z.ZodString;
514
+ message: z.ZodString;
515
+ }, "strip", z.ZodTypeAny, {
516
+ message: string;
517
+ summary: string;
518
+ taskList: {
519
+ status: "pending" | "in_progress" | "completed" | "blocked";
520
+ id: string;
521
+ content: string;
522
+ priority: "high" | "medium" | "low";
523
+ notes: string;
524
+ dependencies?: string[] | undefined;
525
+ }[];
526
+ }, {
527
+ message: string;
528
+ summary: string;
529
+ taskList: {
530
+ id: string;
531
+ content: string;
532
+ priority: "high" | "medium" | "low";
533
+ notes: string;
534
+ status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
535
+ dependencies?: string[] | undefined;
536
+ }[];
537
+ }>;
538
+ export declare const TaskApprovalResumeSchema: z.ZodObject<{
539
+ approved: z.ZodBoolean;
540
+ modifications: z.ZodOptional<z.ZodString>;
541
+ }, "strip", z.ZodTypeAny, {
542
+ approved: boolean;
543
+ modifications?: string | undefined;
544
+ }, {
545
+ approved: boolean;
546
+ modifications?: string | undefined;
547
+ }>;
548
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/workflows/task-planning/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUvC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOzC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;EAExC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKpC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKnC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIpC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAC"}