@mastra/agent-builder 0.0.5 → 0.0.6-alpha.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.
@@ -1,3768 +1,3 @@
1
- export declare const agentBuilderWorkflows: {
2
- 'merge-template': import("@mastra/core/workflows").Workflow<import("@mastra/core").DefaultEngineType, (import("@mastra/core").Step<"clone-template", import("zod").ZodObject<{
3
- repo: import("zod").ZodString;
4
- ref: import("zod").ZodOptional<import("zod").ZodString>;
5
- slug: import("zod").ZodOptional<import("zod").ZodString>;
6
- targetPath: import("zod").ZodOptional<import("zod").ZodString>;
7
- variables: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
8
- }, "strip", import("zod").ZodTypeAny, {
9
- repo: string;
10
- slug?: string | undefined;
11
- ref?: string | undefined;
12
- targetPath?: string | undefined;
13
- variables?: Record<string, string> | undefined;
14
- }, {
15
- repo: string;
16
- slug?: string | undefined;
17
- ref?: string | undefined;
18
- targetPath?: string | undefined;
19
- variables?: Record<string, string> | undefined;
20
- }>, import("zod").ZodObject<{
21
- templateDir: import("zod").ZodString;
22
- commitSha: import("zod").ZodString;
23
- slug: import("zod").ZodString;
24
- success: import("zod").ZodOptional<import("zod").ZodBoolean>;
25
- error: import("zod").ZodOptional<import("zod").ZodString>;
26
- targetPath: import("zod").ZodOptional<import("zod").ZodString>;
27
- }, "strip", import("zod").ZodTypeAny, {
28
- slug: string;
29
- commitSha: string;
30
- templateDir: string;
31
- targetPath?: string | undefined;
32
- success?: boolean | undefined;
33
- error?: string | undefined;
34
- }, {
35
- slug: string;
36
- commitSha: string;
37
- templateDir: string;
38
- targetPath?: string | undefined;
39
- success?: boolean | undefined;
40
- error?: string | undefined;
41
- }>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"analyze-package", import("zod").ZodObject<{
42
- templateDir: import("zod").ZodString;
43
- commitSha: import("zod").ZodString;
44
- slug: import("zod").ZodString;
45
- success: import("zod").ZodOptional<import("zod").ZodBoolean>;
46
- error: import("zod").ZodOptional<import("zod").ZodString>;
47
- targetPath: import("zod").ZodOptional<import("zod").ZodString>;
48
- }, "strip", import("zod").ZodTypeAny, {
49
- slug: string;
50
- commitSha: string;
51
- templateDir: string;
52
- targetPath?: string | undefined;
53
- success?: boolean | undefined;
54
- error?: string | undefined;
55
- }, {
56
- slug: string;
57
- commitSha: string;
58
- templateDir: string;
59
- targetPath?: string | undefined;
60
- success?: boolean | undefined;
61
- error?: string | undefined;
62
- }>, import("zod").ZodObject<{
63
- name: import("zod").ZodOptional<import("zod").ZodString>;
64
- version: import("zod").ZodOptional<import("zod").ZodString>;
65
- description: import("zod").ZodOptional<import("zod").ZodString>;
66
- dependencies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
67
- devDependencies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
68
- peerDependencies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
69
- scripts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
70
- success: import("zod").ZodOptional<import("zod").ZodBoolean>;
71
- error: import("zod").ZodOptional<import("zod").ZodString>;
72
- }, "strip", import("zod").ZodTypeAny, {
73
- description?: string | undefined;
74
- success?: boolean | undefined;
75
- error?: string | undefined;
76
- name?: string | undefined;
77
- version?: string | undefined;
78
- dependencies?: Record<string, string> | undefined;
79
- devDependencies?: Record<string, string> | undefined;
80
- peerDependencies?: Record<string, string> | undefined;
81
- scripts?: Record<string, string> | undefined;
82
- }, {
83
- description?: string | undefined;
84
- success?: boolean | undefined;
85
- error?: string | undefined;
86
- name?: string | undefined;
87
- version?: string | undefined;
88
- dependencies?: Record<string, string> | undefined;
89
- devDependencies?: Record<string, string> | undefined;
90
- peerDependencies?: Record<string, string> | undefined;
91
- scripts?: Record<string, string> | undefined;
92
- }>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"discover-units", import("zod").ZodObject<{
93
- templateDir: import("zod").ZodString;
94
- commitSha: import("zod").ZodString;
95
- slug: import("zod").ZodString;
96
- success: import("zod").ZodOptional<import("zod").ZodBoolean>;
97
- error: import("zod").ZodOptional<import("zod").ZodString>;
98
- targetPath: import("zod").ZodOptional<import("zod").ZodString>;
99
- }, "strip", import("zod").ZodTypeAny, {
100
- slug: string;
101
- commitSha: string;
102
- templateDir: string;
103
- targetPath?: string | undefined;
104
- success?: boolean | undefined;
105
- error?: string | undefined;
106
- }, {
107
- slug: string;
108
- commitSha: string;
109
- templateDir: string;
110
- targetPath?: string | undefined;
111
- success?: boolean | undefined;
112
- error?: string | undefined;
113
- }>, import("zod").ZodObject<{
114
- units: import("zod").ZodArray<import("zod").ZodObject<{
115
- kind: import("zod").ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
116
- id: import("zod").ZodString;
117
- file: import("zod").ZodString;
118
- }, "strip", import("zod").ZodTypeAny, {
119
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
120
- id: string;
121
- file: string;
122
- }, {
123
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
124
- id: string;
125
- file: string;
126
- }>, "many">;
127
- success: import("zod").ZodOptional<import("zod").ZodBoolean>;
128
- error: import("zod").ZodOptional<import("zod").ZodString>;
129
- }, "strip", import("zod").ZodTypeAny, {
130
- units: {
131
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
132
- id: string;
133
- file: string;
134
- }[];
135
- success?: boolean | undefined;
136
- error?: string | undefined;
137
- }, {
138
- units: {
139
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
140
- id: string;
141
- file: string;
142
- }[];
143
- success?: boolean | undefined;
144
- error?: string | undefined;
145
- }>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"order-units", import("zod").ZodObject<{
146
- units: import("zod").ZodArray<import("zod").ZodObject<{
147
- kind: import("zod").ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
148
- id: import("zod").ZodString;
149
- file: import("zod").ZodString;
150
- }, "strip", import("zod").ZodTypeAny, {
151
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
152
- id: string;
153
- file: string;
154
- }, {
155
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
156
- id: string;
157
- file: string;
158
- }>, "many">;
159
- success: import("zod").ZodOptional<import("zod").ZodBoolean>;
160
- error: import("zod").ZodOptional<import("zod").ZodString>;
161
- }, "strip", import("zod").ZodTypeAny, {
162
- units: {
163
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
164
- id: string;
165
- file: string;
166
- }[];
167
- success?: boolean | undefined;
168
- error?: string | undefined;
169
- }, {
170
- units: {
171
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
172
- id: string;
173
- file: string;
174
- }[];
175
- success?: boolean | undefined;
176
- error?: string | undefined;
177
- }>, import("zod").ZodObject<{
178
- orderedUnits: import("zod").ZodArray<import("zod").ZodObject<{
179
- kind: import("zod").ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
180
- id: import("zod").ZodString;
181
- file: import("zod").ZodString;
182
- }, "strip", import("zod").ZodTypeAny, {
183
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
184
- id: string;
185
- file: string;
186
- }, {
187
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
188
- id: string;
189
- file: string;
190
- }>, "many">;
191
- success: import("zod").ZodOptional<import("zod").ZodBoolean>;
192
- error: import("zod").ZodOptional<import("zod").ZodString>;
193
- }, "strip", import("zod").ZodTypeAny, {
194
- orderedUnits: {
195
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
196
- id: string;
197
- file: string;
198
- }[];
199
- success?: boolean | undefined;
200
- error?: string | undefined;
201
- }, {
202
- orderedUnits: {
203
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
204
- id: string;
205
- file: string;
206
- }[];
207
- success?: boolean | undefined;
208
- error?: string | undefined;
209
- }>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"package-merge", import("zod").ZodObject<{
210
- commitSha: import("zod").ZodString;
211
- slug: import("zod").ZodString;
212
- targetPath: import("zod").ZodOptional<import("zod").ZodString>;
213
- packageInfo: import("zod").ZodObject<{
214
- name: import("zod").ZodOptional<import("zod").ZodString>;
215
- version: import("zod").ZodOptional<import("zod").ZodString>;
216
- description: import("zod").ZodOptional<import("zod").ZodString>;
217
- dependencies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
218
- devDependencies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
219
- peerDependencies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
220
- scripts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
221
- success: import("zod").ZodOptional<import("zod").ZodBoolean>;
222
- error: import("zod").ZodOptional<import("zod").ZodString>;
223
- }, "strip", import("zod").ZodTypeAny, {
224
- description?: string | undefined;
225
- success?: boolean | undefined;
226
- error?: string | undefined;
227
- name?: string | undefined;
228
- version?: string | undefined;
229
- dependencies?: Record<string, string> | undefined;
230
- devDependencies?: Record<string, string> | undefined;
231
- peerDependencies?: Record<string, string> | undefined;
232
- scripts?: Record<string, string> | undefined;
233
- }, {
234
- description?: string | undefined;
235
- success?: boolean | undefined;
236
- error?: string | undefined;
237
- name?: string | undefined;
238
- version?: string | undefined;
239
- dependencies?: Record<string, string> | undefined;
240
- devDependencies?: Record<string, string> | undefined;
241
- peerDependencies?: Record<string, string> | undefined;
242
- scripts?: Record<string, string> | undefined;
243
- }>;
244
- }, "strip", import("zod").ZodTypeAny, {
245
- slug: string;
246
- commitSha: string;
247
- packageInfo: {
248
- description?: string | undefined;
249
- success?: boolean | undefined;
250
- error?: string | undefined;
251
- name?: string | undefined;
252
- version?: string | undefined;
253
- dependencies?: Record<string, string> | undefined;
254
- devDependencies?: Record<string, string> | undefined;
255
- peerDependencies?: Record<string, string> | undefined;
256
- scripts?: Record<string, string> | undefined;
257
- };
258
- targetPath?: string | undefined;
259
- }, {
260
- slug: string;
261
- commitSha: string;
262
- packageInfo: {
263
- description?: string | undefined;
264
- success?: boolean | undefined;
265
- error?: string | undefined;
266
- name?: string | undefined;
267
- version?: string | undefined;
268
- dependencies?: Record<string, string> | undefined;
269
- devDependencies?: Record<string, string> | undefined;
270
- peerDependencies?: Record<string, string> | undefined;
271
- scripts?: Record<string, string> | undefined;
272
- };
273
- targetPath?: string | undefined;
274
- }>, import("zod").ZodObject<{
275
- success: import("zod").ZodBoolean;
276
- applied: import("zod").ZodBoolean;
277
- message: import("zod").ZodString;
278
- error: import("zod").ZodOptional<import("zod").ZodString>;
279
- }, "strip", import("zod").ZodTypeAny, {
280
- message: string;
281
- success: boolean;
282
- applied: boolean;
283
- error?: string | undefined;
284
- }, {
285
- message: string;
286
- success: boolean;
287
- applied: boolean;
288
- error?: string | undefined;
289
- }>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"install", import("zod").ZodObject<{
290
- targetPath: import("zod").ZodString;
291
- }, "strip", import("zod").ZodTypeAny, {
292
- targetPath: string;
293
- }, {
294
- targetPath: string;
295
- }>, import("zod").ZodObject<{
296
- success: import("zod").ZodBoolean;
297
- error: import("zod").ZodOptional<import("zod").ZodString>;
298
- }, "strip", import("zod").ZodTypeAny, {
299
- success: boolean;
300
- error?: string | undefined;
301
- }, {
302
- success: boolean;
303
- error?: string | undefined;
304
- }>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"programmatic-file-copy", import("zod").ZodObject<{
305
- orderedUnits: import("zod").ZodArray<import("zod").ZodObject<{
306
- kind: import("zod").ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
307
- id: import("zod").ZodString;
308
- file: import("zod").ZodString;
309
- }, "strip", import("zod").ZodTypeAny, {
310
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
311
- id: string;
312
- file: string;
313
- }, {
314
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
315
- id: string;
316
- file: string;
317
- }>, "many">;
318
- templateDir: import("zod").ZodString;
319
- commitSha: import("zod").ZodString;
320
- slug: import("zod").ZodString;
321
- targetPath: import("zod").ZodOptional<import("zod").ZodString>;
322
- variables: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
323
- }, "strip", import("zod").ZodTypeAny, {
324
- slug: string;
325
- commitSha: string;
326
- templateDir: string;
327
- orderedUnits: {
328
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
329
- id: string;
330
- file: string;
331
- }[];
332
- targetPath?: string | undefined;
333
- variables?: Record<string, string> | undefined;
334
- }, {
335
- slug: string;
336
- commitSha: string;
337
- templateDir: string;
338
- orderedUnits: {
339
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
340
- id: string;
341
- file: string;
342
- }[];
343
- targetPath?: string | undefined;
344
- variables?: Record<string, string> | undefined;
345
- }>, import("zod").ZodObject<{
346
- success: import("zod").ZodBoolean;
347
- copiedFiles: import("zod").ZodArray<import("zod").ZodObject<{
348
- source: import("zod").ZodString;
349
- destination: import("zod").ZodString;
350
- unit: import("zod").ZodObject<{
351
- kind: import("zod").ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
352
- id: import("zod").ZodString;
353
- }, "strip", import("zod").ZodTypeAny, {
354
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
355
- id: string;
356
- }, {
357
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
358
- id: string;
359
- }>;
360
- }, "strip", import("zod").ZodTypeAny, {
361
- source: string;
362
- destination: string;
363
- unit: {
364
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
365
- id: string;
366
- };
367
- }, {
368
- source: string;
369
- destination: string;
370
- unit: {
371
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
372
- id: string;
373
- };
374
- }>, "many">;
375
- conflicts: import("zod").ZodArray<import("zod").ZodObject<{
376
- unit: import("zod").ZodObject<{
377
- kind: import("zod").ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
378
- id: import("zod").ZodString;
379
- }, "strip", import("zod").ZodTypeAny, {
380
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
381
- id: string;
382
- }, {
383
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
384
- id: string;
385
- }>;
386
- issue: import("zod").ZodString;
387
- sourceFile: import("zod").ZodString;
388
- targetFile: import("zod").ZodString;
389
- }, "strip", import("zod").ZodTypeAny, {
390
- unit: {
391
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
392
- id: string;
393
- };
394
- issue: string;
395
- sourceFile: string;
396
- targetFile: string;
397
- }, {
398
- unit: {
399
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
400
- id: string;
401
- };
402
- issue: string;
403
- sourceFile: string;
404
- targetFile: string;
405
- }>, "many">;
406
- message: import("zod").ZodString;
407
- error: import("zod").ZodOptional<import("zod").ZodString>;
408
- }, "strip", import("zod").ZodTypeAny, {
409
- message: string;
410
- success: boolean;
411
- copiedFiles: {
412
- source: string;
413
- destination: string;
414
- unit: {
415
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
416
- id: string;
417
- };
418
- }[];
419
- conflicts: {
420
- unit: {
421
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
422
- id: string;
423
- };
424
- issue: string;
425
- sourceFile: string;
426
- targetFile: string;
427
- }[];
428
- error?: string | undefined;
429
- }, {
430
- message: string;
431
- success: boolean;
432
- copiedFiles: {
433
- source: string;
434
- destination: string;
435
- unit: {
436
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
437
- id: string;
438
- };
439
- }[];
440
- conflicts: {
441
- unit: {
442
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
443
- id: string;
444
- };
445
- issue: string;
446
- sourceFile: string;
447
- targetFile: string;
448
- }[];
449
- error?: string | undefined;
450
- }>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"intelligent-merge", import("zod").ZodObject<{
451
- conflicts: import("zod").ZodArray<import("zod").ZodObject<{
452
- unit: import("zod").ZodObject<{
453
- kind: import("zod").ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
454
- id: import("zod").ZodString;
455
- }, "strip", import("zod").ZodTypeAny, {
456
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
457
- id: string;
458
- }, {
459
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
460
- id: string;
461
- }>;
462
- issue: import("zod").ZodString;
463
- sourceFile: import("zod").ZodString;
464
- targetFile: import("zod").ZodString;
465
- }, "strip", import("zod").ZodTypeAny, {
466
- unit: {
467
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
468
- id: string;
469
- };
470
- issue: string;
471
- sourceFile: string;
472
- targetFile: string;
473
- }, {
474
- unit: {
475
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
476
- id: string;
477
- };
478
- issue: string;
479
- sourceFile: string;
480
- targetFile: string;
481
- }>, "many">;
482
- copiedFiles: import("zod").ZodArray<import("zod").ZodObject<{
483
- source: import("zod").ZodString;
484
- destination: import("zod").ZodString;
485
- unit: import("zod").ZodObject<{
486
- kind: import("zod").ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
487
- id: import("zod").ZodString;
488
- }, "strip", import("zod").ZodTypeAny, {
489
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
490
- id: string;
491
- }, {
492
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
493
- id: string;
494
- }>;
495
- }, "strip", import("zod").ZodTypeAny, {
496
- source: string;
497
- destination: string;
498
- unit: {
499
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
500
- id: string;
501
- };
502
- }, {
503
- source: string;
504
- destination: string;
505
- unit: {
506
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
507
- id: string;
508
- };
509
- }>, "many">;
510
- templateDir: import("zod").ZodString;
511
- commitSha: import("zod").ZodString;
512
- slug: import("zod").ZodString;
513
- targetPath: import("zod").ZodOptional<import("zod").ZodString>;
514
- branchName: import("zod").ZodOptional<import("zod").ZodString>;
515
- }, "strip", import("zod").ZodTypeAny, {
516
- slug: string;
517
- commitSha: string;
518
- templateDir: string;
519
- copiedFiles: {
520
- source: string;
521
- destination: string;
522
- unit: {
523
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
524
- id: string;
525
- };
526
- }[];
527
- conflicts: {
528
- unit: {
529
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
530
- id: string;
531
- };
532
- issue: string;
533
- sourceFile: string;
534
- targetFile: string;
535
- }[];
536
- targetPath?: string | undefined;
537
- branchName?: string | undefined;
538
- }, {
539
- slug: string;
540
- commitSha: string;
541
- templateDir: string;
542
- copiedFiles: {
543
- source: string;
544
- destination: string;
545
- unit: {
546
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
547
- id: string;
548
- };
549
- }[];
550
- conflicts: {
551
- unit: {
552
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
553
- id: string;
554
- };
555
- issue: string;
556
- sourceFile: string;
557
- targetFile: string;
558
- }[];
559
- targetPath?: string | undefined;
560
- branchName?: string | undefined;
561
- }>, import("zod").ZodObject<{
562
- success: import("zod").ZodBoolean;
563
- applied: import("zod").ZodBoolean;
564
- message: import("zod").ZodString;
565
- conflictsResolved: import("zod").ZodArray<import("zod").ZodObject<{
566
- unit: import("zod").ZodObject<{
567
- kind: import("zod").ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
568
- id: import("zod").ZodString;
569
- }, "strip", import("zod").ZodTypeAny, {
570
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
571
- id: string;
572
- }, {
573
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
574
- id: string;
575
- }>;
576
- issue: import("zod").ZodString;
577
- resolution: import("zod").ZodString;
578
- }, "strip", import("zod").ZodTypeAny, {
579
- unit: {
580
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
581
- id: string;
582
- };
583
- issue: string;
584
- resolution: string;
585
- }, {
586
- unit: {
587
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
588
- id: string;
589
- };
590
- issue: string;
591
- resolution: string;
592
- }>, "many">;
593
- error: import("zod").ZodOptional<import("zod").ZodString>;
594
- }, "strip", import("zod").ZodTypeAny, {
595
- message: string;
596
- success: boolean;
597
- applied: boolean;
598
- conflictsResolved: {
599
- unit: {
600
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
601
- id: string;
602
- };
603
- issue: string;
604
- resolution: string;
605
- }[];
606
- error?: string | undefined;
607
- }, {
608
- message: string;
609
- success: boolean;
610
- applied: boolean;
611
- conflictsResolved: {
612
- unit: {
613
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
614
- id: string;
615
- };
616
- issue: string;
617
- resolution: string;
618
- }[];
619
- error?: string | undefined;
620
- }>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"validation-and-fix", import("zod").ZodObject<{
621
- commitSha: import("zod").ZodString;
622
- slug: import("zod").ZodString;
623
- targetPath: import("zod").ZodOptional<import("zod").ZodString>;
624
- templateDir: import("zod").ZodString;
625
- orderedUnits: import("zod").ZodArray<import("zod").ZodObject<{
626
- kind: import("zod").ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
627
- id: import("zod").ZodString;
628
- file: import("zod").ZodString;
629
- }, "strip", import("zod").ZodTypeAny, {
630
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
631
- id: string;
632
- file: string;
633
- }, {
634
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
635
- id: string;
636
- file: string;
637
- }>, "many">;
638
- copiedFiles: import("zod").ZodArray<import("zod").ZodObject<{
639
- source: import("zod").ZodString;
640
- destination: import("zod").ZodString;
641
- unit: import("zod").ZodObject<{
642
- kind: import("zod").ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
643
- id: import("zod").ZodString;
644
- }, "strip", import("zod").ZodTypeAny, {
645
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
646
- id: string;
647
- }, {
648
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
649
- id: string;
650
- }>;
651
- }, "strip", import("zod").ZodTypeAny, {
652
- source: string;
653
- destination: string;
654
- unit: {
655
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
656
- id: string;
657
- };
658
- }, {
659
- source: string;
660
- destination: string;
661
- unit: {
662
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
663
- id: string;
664
- };
665
- }>, "many">;
666
- conflictsResolved: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
667
- unit: import("zod").ZodObject<{
668
- kind: import("zod").ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
669
- id: import("zod").ZodString;
670
- }, "strip", import("zod").ZodTypeAny, {
671
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
672
- id: string;
673
- }, {
674
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
675
- id: string;
676
- }>;
677
- issue: import("zod").ZodString;
678
- resolution: import("zod").ZodString;
679
- }, "strip", import("zod").ZodTypeAny, {
680
- unit: {
681
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
682
- id: string;
683
- };
684
- issue: string;
685
- resolution: string;
686
- }, {
687
- unit: {
688
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
689
- id: string;
690
- };
691
- issue: string;
692
- resolution: string;
693
- }>, "many">>;
694
- maxIterations: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
695
- }, "strip", import("zod").ZodTypeAny, {
696
- slug: string;
697
- commitSha: string;
698
- templateDir: string;
699
- orderedUnits: {
700
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
701
- id: string;
702
- file: string;
703
- }[];
704
- copiedFiles: {
705
- source: string;
706
- destination: string;
707
- unit: {
708
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
709
- id: string;
710
- };
711
- }[];
712
- maxIterations: number;
713
- targetPath?: string | undefined;
714
- conflictsResolved?: {
715
- unit: {
716
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
717
- id: string;
718
- };
719
- issue: string;
720
- resolution: string;
721
- }[] | undefined;
722
- }, {
723
- slug: string;
724
- commitSha: string;
725
- templateDir: string;
726
- orderedUnits: {
727
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
728
- id: string;
729
- file: string;
730
- }[];
731
- copiedFiles: {
732
- source: string;
733
- destination: string;
734
- unit: {
735
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
736
- id: string;
737
- };
738
- }[];
739
- targetPath?: string | undefined;
740
- conflictsResolved?: {
741
- unit: {
742
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
743
- id: string;
744
- };
745
- issue: string;
746
- resolution: string;
747
- }[] | undefined;
748
- maxIterations?: number | undefined;
749
- }>, import("zod").ZodObject<{
750
- success: import("zod").ZodBoolean;
751
- applied: import("zod").ZodBoolean;
752
- message: import("zod").ZodString;
753
- validationResults: import("zod").ZodObject<{
754
- valid: import("zod").ZodBoolean;
755
- errorsFixed: import("zod").ZodNumber;
756
- remainingErrors: import("zod").ZodNumber;
757
- errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
758
- }, "strip", import("zod").ZodTypeAny, {
759
- valid: boolean;
760
- errorsFixed: number;
761
- remainingErrors: number;
762
- errors?: any[] | undefined;
763
- }, {
764
- valid: boolean;
765
- errorsFixed: number;
766
- remainingErrors: number;
767
- errors?: any[] | undefined;
768
- }>;
769
- error: import("zod").ZodOptional<import("zod").ZodString>;
770
- }, "strip", import("zod").ZodTypeAny, {
771
- message: string;
772
- success: boolean;
773
- applied: boolean;
774
- validationResults: {
775
- valid: boolean;
776
- errorsFixed: number;
777
- remainingErrors: number;
778
- errors?: any[] | undefined;
779
- };
780
- error?: string | undefined;
781
- }, {
782
- message: string;
783
- success: boolean;
784
- applied: boolean;
785
- validationResults: {
786
- valid: boolean;
787
- errorsFixed: number;
788
- remainingErrors: number;
789
- errors?: any[] | undefined;
790
- };
791
- error?: string | undefined;
792
- }>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").DefaultEngineType>)[], "agent-builder-template", import("zod").ZodObject<{
793
- repo: import("zod").ZodString;
794
- ref: import("zod").ZodOptional<import("zod").ZodString>;
795
- slug: import("zod").ZodOptional<import("zod").ZodString>;
796
- targetPath: import("zod").ZodOptional<import("zod").ZodString>;
797
- variables: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
798
- }, "strip", import("zod").ZodTypeAny, {
799
- repo: string;
800
- slug?: string | undefined;
801
- ref?: string | undefined;
802
- targetPath?: string | undefined;
803
- variables?: Record<string, string> | undefined;
804
- }, {
805
- repo: string;
806
- slug?: string | undefined;
807
- ref?: string | undefined;
808
- targetPath?: string | undefined;
809
- variables?: Record<string, string> | undefined;
810
- }>, import("zod").ZodObject<{
811
- success: import("zod").ZodBoolean;
812
- applied: import("zod").ZodBoolean;
813
- branchName: import("zod").ZodOptional<import("zod").ZodString>;
814
- message: import("zod").ZodString;
815
- validationResults: import("zod").ZodOptional<import("zod").ZodObject<{
816
- valid: import("zod").ZodBoolean;
817
- errorsFixed: import("zod").ZodNumber;
818
- remainingErrors: import("zod").ZodNumber;
819
- errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
820
- }, "strip", import("zod").ZodTypeAny, {
821
- valid: boolean;
822
- errorsFixed: number;
823
- remainingErrors: number;
824
- errors?: any[] | undefined;
825
- }, {
826
- valid: boolean;
827
- errorsFixed: number;
828
- remainingErrors: number;
829
- errors?: any[] | undefined;
830
- }>>;
831
- error: import("zod").ZodOptional<import("zod").ZodString>;
832
- errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
833
- stepResults: import("zod").ZodOptional<import("zod").ZodObject<{
834
- cloneSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
835
- analyzeSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
836
- discoverSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
837
- orderSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
838
- prepareBranchSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
839
- packageMergeSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
840
- installSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
841
- copySuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
842
- mergeSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
843
- validationSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
844
- filesCopied: import("zod").ZodNumber;
845
- conflictsSkipped: import("zod").ZodNumber;
846
- conflictsResolved: import("zod").ZodNumber;
847
- }, "strip", import("zod").ZodTypeAny, {
848
- conflictsResolved: number;
849
- filesCopied: number;
850
- conflictsSkipped: number;
851
- cloneSuccess?: boolean | undefined;
852
- analyzeSuccess?: boolean | undefined;
853
- discoverSuccess?: boolean | undefined;
854
- orderSuccess?: boolean | undefined;
855
- prepareBranchSuccess?: boolean | undefined;
856
- packageMergeSuccess?: boolean | undefined;
857
- installSuccess?: boolean | undefined;
858
- copySuccess?: boolean | undefined;
859
- mergeSuccess?: boolean | undefined;
860
- validationSuccess?: boolean | undefined;
861
- }, {
862
- conflictsResolved: number;
863
- filesCopied: number;
864
- conflictsSkipped: number;
865
- cloneSuccess?: boolean | undefined;
866
- analyzeSuccess?: boolean | undefined;
867
- discoverSuccess?: boolean | undefined;
868
- orderSuccess?: boolean | undefined;
869
- prepareBranchSuccess?: boolean | undefined;
870
- packageMergeSuccess?: boolean | undefined;
871
- installSuccess?: boolean | undefined;
872
- copySuccess?: boolean | undefined;
873
- mergeSuccess?: boolean | undefined;
874
- validationSuccess?: boolean | undefined;
875
- }>>;
876
- }, "strip", import("zod").ZodTypeAny, {
877
- message: string;
878
- success: boolean;
879
- applied: boolean;
880
- error?: string | undefined;
881
- branchName?: string | undefined;
882
- errors?: string[] | undefined;
883
- validationResults?: {
884
- valid: boolean;
885
- errorsFixed: number;
886
- remainingErrors: number;
887
- errors?: any[] | undefined;
888
- } | undefined;
889
- stepResults?: {
890
- conflictsResolved: number;
891
- filesCopied: number;
892
- conflictsSkipped: number;
893
- cloneSuccess?: boolean | undefined;
894
- analyzeSuccess?: boolean | undefined;
895
- discoverSuccess?: boolean | undefined;
896
- orderSuccess?: boolean | undefined;
897
- prepareBranchSuccess?: boolean | undefined;
898
- packageMergeSuccess?: boolean | undefined;
899
- installSuccess?: boolean | undefined;
900
- copySuccess?: boolean | undefined;
901
- mergeSuccess?: boolean | undefined;
902
- validationSuccess?: boolean | undefined;
903
- } | undefined;
904
- }, {
905
- message: string;
906
- success: boolean;
907
- applied: boolean;
908
- error?: string | undefined;
909
- branchName?: string | undefined;
910
- errors?: string[] | undefined;
911
- validationResults?: {
912
- valid: boolean;
913
- errorsFixed: number;
914
- remainingErrors: number;
915
- errors?: any[] | undefined;
916
- } | undefined;
917
- stepResults?: {
918
- conflictsResolved: number;
919
- filesCopied: number;
920
- conflictsSkipped: number;
921
- cloneSuccess?: boolean | undefined;
922
- analyzeSuccess?: boolean | undefined;
923
- discoverSuccess?: boolean | undefined;
924
- orderSuccess?: boolean | undefined;
925
- prepareBranchSuccess?: boolean | undefined;
926
- packageMergeSuccess?: boolean | undefined;
927
- installSuccess?: boolean | undefined;
928
- copySuccess?: boolean | undefined;
929
- mergeSuccess?: boolean | undefined;
930
- validationSuccess?: boolean | undefined;
931
- } | undefined;
932
- }>, import("zod").ZodObject<{
933
- success: import("zod").ZodBoolean;
934
- applied: import("zod").ZodBoolean;
935
- branchName: import("zod").ZodOptional<import("zod").ZodString>;
936
- message: import("zod").ZodString;
937
- validationResults: import("zod").ZodOptional<import("zod").ZodObject<{
938
- valid: import("zod").ZodBoolean;
939
- errorsFixed: import("zod").ZodNumber;
940
- remainingErrors: import("zod").ZodNumber;
941
- errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
942
- }, "strip", import("zod").ZodTypeAny, {
943
- valid: boolean;
944
- errorsFixed: number;
945
- remainingErrors: number;
946
- errors?: any[] | undefined;
947
- }, {
948
- valid: boolean;
949
- errorsFixed: number;
950
- remainingErrors: number;
951
- errors?: any[] | undefined;
952
- }>>;
953
- error: import("zod").ZodOptional<import("zod").ZodString>;
954
- errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
955
- stepResults: import("zod").ZodOptional<import("zod").ZodObject<{
956
- cloneSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
957
- analyzeSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
958
- discoverSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
959
- orderSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
960
- prepareBranchSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
961
- packageMergeSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
962
- installSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
963
- copySuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
964
- mergeSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
965
- validationSuccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
966
- filesCopied: import("zod").ZodNumber;
967
- conflictsSkipped: import("zod").ZodNumber;
968
- conflictsResolved: import("zod").ZodNumber;
969
- }, "strip", import("zod").ZodTypeAny, {
970
- conflictsResolved: number;
971
- filesCopied: number;
972
- conflictsSkipped: number;
973
- cloneSuccess?: boolean | undefined;
974
- analyzeSuccess?: boolean | undefined;
975
- discoverSuccess?: boolean | undefined;
976
- orderSuccess?: boolean | undefined;
977
- prepareBranchSuccess?: boolean | undefined;
978
- packageMergeSuccess?: boolean | undefined;
979
- installSuccess?: boolean | undefined;
980
- copySuccess?: boolean | undefined;
981
- mergeSuccess?: boolean | undefined;
982
- validationSuccess?: boolean | undefined;
983
- }, {
984
- conflictsResolved: number;
985
- filesCopied: number;
986
- conflictsSkipped: number;
987
- cloneSuccess?: boolean | undefined;
988
- analyzeSuccess?: boolean | undefined;
989
- discoverSuccess?: boolean | undefined;
990
- orderSuccess?: boolean | undefined;
991
- prepareBranchSuccess?: boolean | undefined;
992
- packageMergeSuccess?: boolean | undefined;
993
- installSuccess?: boolean | undefined;
994
- copySuccess?: boolean | undefined;
995
- mergeSuccess?: boolean | undefined;
996
- validationSuccess?: boolean | undefined;
997
- }>>;
998
- }, "strip", import("zod").ZodTypeAny, {
999
- message: string;
1000
- success: boolean;
1001
- applied: boolean;
1002
- error?: string | undefined;
1003
- branchName?: string | undefined;
1004
- errors?: string[] | undefined;
1005
- validationResults?: {
1006
- valid: boolean;
1007
- errorsFixed: number;
1008
- remainingErrors: number;
1009
- errors?: any[] | undefined;
1010
- } | undefined;
1011
- stepResults?: {
1012
- conflictsResolved: number;
1013
- filesCopied: number;
1014
- conflictsSkipped: number;
1015
- cloneSuccess?: boolean | undefined;
1016
- analyzeSuccess?: boolean | undefined;
1017
- discoverSuccess?: boolean | undefined;
1018
- orderSuccess?: boolean | undefined;
1019
- prepareBranchSuccess?: boolean | undefined;
1020
- packageMergeSuccess?: boolean | undefined;
1021
- installSuccess?: boolean | undefined;
1022
- copySuccess?: boolean | undefined;
1023
- mergeSuccess?: boolean | undefined;
1024
- validationSuccess?: boolean | undefined;
1025
- } | undefined;
1026
- }, {
1027
- message: string;
1028
- success: boolean;
1029
- applied: boolean;
1030
- error?: string | undefined;
1031
- branchName?: string | undefined;
1032
- errors?: string[] | undefined;
1033
- validationResults?: {
1034
- valid: boolean;
1035
- errorsFixed: number;
1036
- remainingErrors: number;
1037
- errors?: any[] | undefined;
1038
- } | undefined;
1039
- stepResults?: {
1040
- conflictsResolved: number;
1041
- filesCopied: number;
1042
- conflictsSkipped: number;
1043
- cloneSuccess?: boolean | undefined;
1044
- analyzeSuccess?: boolean | undefined;
1045
- discoverSuccess?: boolean | undefined;
1046
- orderSuccess?: boolean | undefined;
1047
- prepareBranchSuccess?: boolean | undefined;
1048
- packageMergeSuccess?: boolean | undefined;
1049
- installSuccess?: boolean | undefined;
1050
- copySuccess?: boolean | undefined;
1051
- mergeSuccess?: boolean | undefined;
1052
- validationSuccess?: boolean | undefined;
1053
- } | undefined;
1054
- }>>;
1055
- 'workflow-builder': import("@mastra/core/workflows").Workflow<import("@mastra/core").DefaultEngineType, (import("@mastra/core/workflows").Workflow<import("@mastra/core").DefaultEngineType, (import("@mastra/core").Step<"planning-iteration", import("zod").ZodObject<{
1056
- action: import("zod").ZodEnum<["create", "edit"]>;
1057
- workflowName: import("zod").ZodOptional<import("zod").ZodString>;
1058
- description: import("zod").ZodOptional<import("zod").ZodString>;
1059
- requirements: import("zod").ZodOptional<import("zod").ZodString>;
1060
- discoveredWorkflows: import("zod").ZodArray<import("zod").ZodObject<{
1061
- name: import("zod").ZodString;
1062
- file: import("zod").ZodString;
1063
- description: import("zod").ZodOptional<import("zod").ZodString>;
1064
- inputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
1065
- outputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
1066
- steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1067
- }, "strip", import("zod").ZodTypeAny, {
1068
- file: string;
1069
- name: string;
1070
- description?: string | undefined;
1071
- steps?: string[] | undefined;
1072
- outputSchema?: any;
1073
- inputSchema?: any;
1074
- }, {
1075
- file: string;
1076
- name: string;
1077
- description?: string | undefined;
1078
- steps?: string[] | undefined;
1079
- outputSchema?: any;
1080
- inputSchema?: any;
1081
- }>, "many">;
1082
- projectStructure: import("zod").ZodObject<{
1083
- success: import("zod").ZodBoolean;
1084
- structure: import("zod").ZodObject<{
1085
- hasWorkflowsDir: import("zod").ZodBoolean;
1086
- hasAgentsDir: import("zod").ZodBoolean;
1087
- hasToolsDir: import("zod").ZodBoolean;
1088
- hasMastraIndex: import("zod").ZodBoolean;
1089
- existingWorkflows: import("zod").ZodArray<import("zod").ZodString, "many">;
1090
- existingAgents: import("zod").ZodArray<import("zod").ZodString, "many">;
1091
- existingTools: import("zod").ZodArray<import("zod").ZodString, "many">;
1092
- }, "strip", import("zod").ZodTypeAny, {
1093
- hasWorkflowsDir: boolean;
1094
- hasAgentsDir: boolean;
1095
- hasToolsDir: boolean;
1096
- hasMastraIndex: boolean;
1097
- existingWorkflows: string[];
1098
- existingAgents: string[];
1099
- existingTools: string[];
1100
- }, {
1101
- hasWorkflowsDir: boolean;
1102
- hasAgentsDir: boolean;
1103
- hasToolsDir: boolean;
1104
- hasMastraIndex: boolean;
1105
- existingWorkflows: string[];
1106
- existingAgents: string[];
1107
- existingTools: string[];
1108
- }>;
1109
- dependencies: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1110
- message: import("zod").ZodString;
1111
- error: import("zod").ZodOptional<import("zod").ZodString>;
1112
- }, "strip", import("zod").ZodTypeAny, {
1113
- message: string;
1114
- success: boolean;
1115
- dependencies: Record<string, string>;
1116
- structure: {
1117
- hasWorkflowsDir: boolean;
1118
- hasAgentsDir: boolean;
1119
- hasToolsDir: boolean;
1120
- hasMastraIndex: boolean;
1121
- existingWorkflows: string[];
1122
- existingAgents: string[];
1123
- existingTools: string[];
1124
- };
1125
- error?: string | undefined;
1126
- }, {
1127
- message: string;
1128
- success: boolean;
1129
- dependencies: Record<string, string>;
1130
- structure: {
1131
- hasWorkflowsDir: boolean;
1132
- hasAgentsDir: boolean;
1133
- hasToolsDir: boolean;
1134
- hasMastraIndex: boolean;
1135
- existingWorkflows: string[];
1136
- existingAgents: string[];
1137
- existingTools: string[];
1138
- };
1139
- error?: string | undefined;
1140
- }>;
1141
- research: import("zod").ZodObject<{
1142
- success: import("zod").ZodBoolean;
1143
- documentation: import("zod").ZodObject<{
1144
- workflowPatterns: import("zod").ZodArray<import("zod").ZodString, "many">;
1145
- stepExamples: import("zod").ZodArray<import("zod").ZodString, "many">;
1146
- bestPractices: import("zod").ZodArray<import("zod").ZodString, "many">;
1147
- }, "strip", import("zod").ZodTypeAny, {
1148
- workflowPatterns: string[];
1149
- stepExamples: string[];
1150
- bestPractices: string[];
1151
- }, {
1152
- workflowPatterns: string[];
1153
- stepExamples: string[];
1154
- bestPractices: string[];
1155
- }>;
1156
- webResources: import("zod").ZodArray<import("zod").ZodObject<{
1157
- title: import("zod").ZodString;
1158
- url: import("zod").ZodString;
1159
- snippet: import("zod").ZodString;
1160
- relevance: import("zod").ZodNumber;
1161
- }, "strip", import("zod").ZodTypeAny, {
1162
- relevance: number;
1163
- title: string;
1164
- url: string;
1165
- snippet: string;
1166
- }, {
1167
- relevance: number;
1168
- title: string;
1169
- url: string;
1170
- snippet: string;
1171
- }>, "many">;
1172
- message: import("zod").ZodString;
1173
- error: import("zod").ZodOptional<import("zod").ZodString>;
1174
- }, "strip", import("zod").ZodTypeAny, {
1175
- message: string;
1176
- success: boolean;
1177
- documentation: {
1178
- workflowPatterns: string[];
1179
- stepExamples: string[];
1180
- bestPractices: string[];
1181
- };
1182
- webResources: {
1183
- relevance: number;
1184
- title: string;
1185
- url: string;
1186
- snippet: string;
1187
- }[];
1188
- error?: string | undefined;
1189
- }, {
1190
- message: string;
1191
- success: boolean;
1192
- documentation: {
1193
- workflowPatterns: string[];
1194
- stepExamples: string[];
1195
- bestPractices: string[];
1196
- };
1197
- webResources: {
1198
- relevance: number;
1199
- title: string;
1200
- url: string;
1201
- snippet: string;
1202
- }[];
1203
- error?: string | undefined;
1204
- }>;
1205
- userAnswers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1206
- }, "strip", import("zod").ZodTypeAny, {
1207
- action: "create" | "edit";
1208
- discoveredWorkflows: {
1209
- file: string;
1210
- name: string;
1211
- description?: string | undefined;
1212
- steps?: string[] | undefined;
1213
- outputSchema?: any;
1214
- inputSchema?: any;
1215
- }[];
1216
- projectStructure: {
1217
- message: string;
1218
- success: boolean;
1219
- dependencies: Record<string, string>;
1220
- structure: {
1221
- hasWorkflowsDir: boolean;
1222
- hasAgentsDir: boolean;
1223
- hasToolsDir: boolean;
1224
- hasMastraIndex: boolean;
1225
- existingWorkflows: string[];
1226
- existingAgents: string[];
1227
- existingTools: string[];
1228
- };
1229
- error?: string | undefined;
1230
- };
1231
- research: {
1232
- message: string;
1233
- success: boolean;
1234
- documentation: {
1235
- workflowPatterns: string[];
1236
- stepExamples: string[];
1237
- bestPractices: string[];
1238
- };
1239
- webResources: {
1240
- relevance: number;
1241
- title: string;
1242
- url: string;
1243
- snippet: string;
1244
- }[];
1245
- error?: string | undefined;
1246
- };
1247
- description?: string | undefined;
1248
- workflowName?: string | undefined;
1249
- requirements?: string | undefined;
1250
- userAnswers?: Record<string, string> | undefined;
1251
- }, {
1252
- action: "create" | "edit";
1253
- discoveredWorkflows: {
1254
- file: string;
1255
- name: string;
1256
- description?: string | undefined;
1257
- steps?: string[] | undefined;
1258
- outputSchema?: any;
1259
- inputSchema?: any;
1260
- }[];
1261
- projectStructure: {
1262
- message: string;
1263
- success: boolean;
1264
- dependencies: Record<string, string>;
1265
- structure: {
1266
- hasWorkflowsDir: boolean;
1267
- hasAgentsDir: boolean;
1268
- hasToolsDir: boolean;
1269
- hasMastraIndex: boolean;
1270
- existingWorkflows: string[];
1271
- existingAgents: string[];
1272
- existingTools: string[];
1273
- };
1274
- error?: string | undefined;
1275
- };
1276
- research: {
1277
- message: string;
1278
- success: boolean;
1279
- documentation: {
1280
- workflowPatterns: string[];
1281
- stepExamples: string[];
1282
- bestPractices: string[];
1283
- };
1284
- webResources: {
1285
- relevance: number;
1286
- title: string;
1287
- url: string;
1288
- snippet: string;
1289
- }[];
1290
- error?: string | undefined;
1291
- };
1292
- description?: string | undefined;
1293
- workflowName?: string | undefined;
1294
- requirements?: string | undefined;
1295
- userAnswers?: Record<string, string> | undefined;
1296
- }>, import("zod").ZodObject<{
1297
- success: import("zod").ZodBoolean;
1298
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
1299
- id: import("zod").ZodString;
1300
- content: import("zod").ZodString;
1301
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
1302
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
1303
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1304
- notes: import("zod").ZodString;
1305
- }, "strip", import("zod").ZodTypeAny, {
1306
- status: "pending" | "in_progress" | "completed" | "blocked";
1307
- id: string;
1308
- content: string;
1309
- priority: "high" | "medium" | "low";
1310
- notes: string;
1311
- dependencies?: string[] | undefined;
1312
- }, {
1313
- id: string;
1314
- content: string;
1315
- priority: "high" | "medium" | "low";
1316
- notes: string;
1317
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1318
- dependencies?: string[] | undefined;
1319
- }>, "many">;
1320
- questions: import("zod").ZodArray<import("zod").ZodObject<{
1321
- id: import("zod").ZodString;
1322
- question: import("zod").ZodString;
1323
- type: import("zod").ZodEnum<["choice", "text", "boolean"]>;
1324
- options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1325
- context: import("zod").ZodOptional<import("zod").ZodString>;
1326
- }, "strip", import("zod").ZodTypeAny, {
1327
- type: "boolean" | "text" | "choice";
1328
- id: string;
1329
- question: string;
1330
- options?: string[] | undefined;
1331
- context?: string | undefined;
1332
- }, {
1333
- type: "boolean" | "text" | "choice";
1334
- id: string;
1335
- question: string;
1336
- options?: string[] | undefined;
1337
- context?: string | undefined;
1338
- }>, "many">;
1339
- reasoning: import("zod").ZodString;
1340
- planComplete: import("zod").ZodBoolean;
1341
- message: import("zod").ZodString;
1342
- error: import("zod").ZodOptional<import("zod").ZodString>;
1343
- allPreviousQuestions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
1344
- allPreviousAnswers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1345
- }, "strip", import("zod").ZodTypeAny, {
1346
- message: string;
1347
- success: boolean;
1348
- tasks: {
1349
- status: "pending" | "in_progress" | "completed" | "blocked";
1350
- id: string;
1351
- content: string;
1352
- priority: "high" | "medium" | "low";
1353
- notes: string;
1354
- dependencies?: string[] | undefined;
1355
- }[];
1356
- reasoning: string;
1357
- questions: {
1358
- type: "boolean" | "text" | "choice";
1359
- id: string;
1360
- question: string;
1361
- options?: string[] | undefined;
1362
- context?: string | undefined;
1363
- }[];
1364
- planComplete: boolean;
1365
- error?: string | undefined;
1366
- allPreviousQuestions?: any[] | undefined;
1367
- allPreviousAnswers?: Record<string, string> | undefined;
1368
- }, {
1369
- message: string;
1370
- success: boolean;
1371
- tasks: {
1372
- id: string;
1373
- content: string;
1374
- priority: "high" | "medium" | "low";
1375
- notes: string;
1376
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1377
- dependencies?: string[] | undefined;
1378
- }[];
1379
- reasoning: string;
1380
- questions: {
1381
- type: "boolean" | "text" | "choice";
1382
- id: string;
1383
- question: string;
1384
- options?: string[] | undefined;
1385
- context?: string | undefined;
1386
- }[];
1387
- planComplete: boolean;
1388
- error?: string | undefined;
1389
- allPreviousQuestions?: any[] | undefined;
1390
- allPreviousAnswers?: Record<string, string> | undefined;
1391
- }>, import("zod").ZodObject<{
1392
- answers: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1393
- }, "strip", import("zod").ZodTypeAny, {
1394
- answers: Record<string, string>;
1395
- }, {
1396
- answers: Record<string, string>;
1397
- }>, import("zod").ZodObject<{
1398
- questions: import("zod").ZodArray<import("zod").ZodObject<{
1399
- id: import("zod").ZodString;
1400
- question: import("zod").ZodString;
1401
- type: import("zod").ZodEnum<["choice", "text", "boolean"]>;
1402
- options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1403
- context: import("zod").ZodOptional<import("zod").ZodString>;
1404
- }, "strip", import("zod").ZodTypeAny, {
1405
- type: "boolean" | "text" | "choice";
1406
- id: string;
1407
- question: string;
1408
- options?: string[] | undefined;
1409
- context?: string | undefined;
1410
- }, {
1411
- type: "boolean" | "text" | "choice";
1412
- id: string;
1413
- question: string;
1414
- options?: string[] | undefined;
1415
- context?: string | undefined;
1416
- }>, "many">;
1417
- message: import("zod").ZodString;
1418
- currentPlan: import("zod").ZodObject<{
1419
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
1420
- id: import("zod").ZodString;
1421
- content: import("zod").ZodString;
1422
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
1423
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
1424
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1425
- notes: import("zod").ZodString;
1426
- }, "strip", import("zod").ZodTypeAny, {
1427
- status: "pending" | "in_progress" | "completed" | "blocked";
1428
- id: string;
1429
- content: string;
1430
- priority: "high" | "medium" | "low";
1431
- notes: string;
1432
- dependencies?: string[] | undefined;
1433
- }, {
1434
- id: string;
1435
- content: string;
1436
- priority: "high" | "medium" | "low";
1437
- notes: string;
1438
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1439
- dependencies?: string[] | undefined;
1440
- }>, "many">;
1441
- reasoning: import("zod").ZodString;
1442
- }, "strip", import("zod").ZodTypeAny, {
1443
- tasks: {
1444
- status: "pending" | "in_progress" | "completed" | "blocked";
1445
- id: string;
1446
- content: string;
1447
- priority: "high" | "medium" | "low";
1448
- notes: string;
1449
- dependencies?: string[] | undefined;
1450
- }[];
1451
- reasoning: string;
1452
- }, {
1453
- tasks: {
1454
- id: string;
1455
- content: string;
1456
- priority: "high" | "medium" | "low";
1457
- notes: string;
1458
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1459
- dependencies?: string[] | undefined;
1460
- }[];
1461
- reasoning: string;
1462
- }>;
1463
- }, "strip", import("zod").ZodTypeAny, {
1464
- message: string;
1465
- questions: {
1466
- type: "boolean" | "text" | "choice";
1467
- id: string;
1468
- question: string;
1469
- options?: string[] | undefined;
1470
- context?: string | undefined;
1471
- }[];
1472
- currentPlan: {
1473
- tasks: {
1474
- status: "pending" | "in_progress" | "completed" | "blocked";
1475
- id: string;
1476
- content: string;
1477
- priority: "high" | "medium" | "low";
1478
- notes: string;
1479
- dependencies?: string[] | undefined;
1480
- }[];
1481
- reasoning: string;
1482
- };
1483
- }, {
1484
- message: string;
1485
- questions: {
1486
- type: "boolean" | "text" | "choice";
1487
- id: string;
1488
- question: string;
1489
- options?: string[] | undefined;
1490
- context?: string | undefined;
1491
- }[];
1492
- currentPlan: {
1493
- tasks: {
1494
- id: string;
1495
- content: string;
1496
- priority: "high" | "medium" | "low";
1497
- notes: string;
1498
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1499
- dependencies?: string[] | undefined;
1500
- }[];
1501
- reasoning: string;
1502
- };
1503
- }>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"task-approval", import("zod").ZodObject<{
1504
- success: import("zod").ZodBoolean;
1505
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
1506
- id: import("zod").ZodString;
1507
- content: import("zod").ZodString;
1508
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
1509
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
1510
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1511
- notes: import("zod").ZodString;
1512
- }, "strip", import("zod").ZodTypeAny, {
1513
- status: "pending" | "in_progress" | "completed" | "blocked";
1514
- id: string;
1515
- content: string;
1516
- priority: "high" | "medium" | "low";
1517
- notes: string;
1518
- dependencies?: string[] | undefined;
1519
- }, {
1520
- id: string;
1521
- content: string;
1522
- priority: "high" | "medium" | "low";
1523
- notes: string;
1524
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1525
- dependencies?: string[] | undefined;
1526
- }>, "many">;
1527
- questions: import("zod").ZodArray<import("zod").ZodObject<{
1528
- id: import("zod").ZodString;
1529
- question: import("zod").ZodString;
1530
- type: import("zod").ZodEnum<["choice", "text", "boolean"]>;
1531
- options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1532
- context: import("zod").ZodOptional<import("zod").ZodString>;
1533
- }, "strip", import("zod").ZodTypeAny, {
1534
- type: "boolean" | "text" | "choice";
1535
- id: string;
1536
- question: string;
1537
- options?: string[] | undefined;
1538
- context?: string | undefined;
1539
- }, {
1540
- type: "boolean" | "text" | "choice";
1541
- id: string;
1542
- question: string;
1543
- options?: string[] | undefined;
1544
- context?: string | undefined;
1545
- }>, "many">;
1546
- reasoning: import("zod").ZodString;
1547
- planComplete: import("zod").ZodBoolean;
1548
- message: import("zod").ZodString;
1549
- error: import("zod").ZodOptional<import("zod").ZodString>;
1550
- allPreviousQuestions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
1551
- allPreviousAnswers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1552
- }, "strip", import("zod").ZodTypeAny, {
1553
- message: string;
1554
- success: boolean;
1555
- tasks: {
1556
- status: "pending" | "in_progress" | "completed" | "blocked";
1557
- id: string;
1558
- content: string;
1559
- priority: "high" | "medium" | "low";
1560
- notes: string;
1561
- dependencies?: string[] | undefined;
1562
- }[];
1563
- reasoning: string;
1564
- questions: {
1565
- type: "boolean" | "text" | "choice";
1566
- id: string;
1567
- question: string;
1568
- options?: string[] | undefined;
1569
- context?: string | undefined;
1570
- }[];
1571
- planComplete: boolean;
1572
- error?: string | undefined;
1573
- allPreviousQuestions?: any[] | undefined;
1574
- allPreviousAnswers?: Record<string, string> | undefined;
1575
- }, {
1576
- message: string;
1577
- success: boolean;
1578
- tasks: {
1579
- id: string;
1580
- content: string;
1581
- priority: "high" | "medium" | "low";
1582
- notes: string;
1583
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1584
- dependencies?: string[] | undefined;
1585
- }[];
1586
- reasoning: string;
1587
- questions: {
1588
- type: "boolean" | "text" | "choice";
1589
- id: string;
1590
- question: string;
1591
- options?: string[] | undefined;
1592
- context?: string | undefined;
1593
- }[];
1594
- planComplete: boolean;
1595
- error?: string | undefined;
1596
- allPreviousQuestions?: any[] | undefined;
1597
- allPreviousAnswers?: Record<string, string> | undefined;
1598
- }>, import("zod").ZodObject<{
1599
- approved: import("zod").ZodBoolean;
1600
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
1601
- id: import("zod").ZodString;
1602
- content: import("zod").ZodString;
1603
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
1604
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
1605
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1606
- notes: import("zod").ZodString;
1607
- }, "strip", import("zod").ZodTypeAny, {
1608
- status: "pending" | "in_progress" | "completed" | "blocked";
1609
- id: string;
1610
- content: string;
1611
- priority: "high" | "medium" | "low";
1612
- notes: string;
1613
- dependencies?: string[] | undefined;
1614
- }, {
1615
- id: string;
1616
- content: string;
1617
- priority: "high" | "medium" | "low";
1618
- notes: string;
1619
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1620
- dependencies?: string[] | undefined;
1621
- }>, "many">;
1622
- message: import("zod").ZodString;
1623
- userFeedback: import("zod").ZodOptional<import("zod").ZodString>;
1624
- }, "strip", import("zod").ZodTypeAny, {
1625
- message: string;
1626
- tasks: {
1627
- status: "pending" | "in_progress" | "completed" | "blocked";
1628
- id: string;
1629
- content: string;
1630
- priority: "high" | "medium" | "low";
1631
- notes: string;
1632
- dependencies?: string[] | undefined;
1633
- }[];
1634
- approved: boolean;
1635
- userFeedback?: string | undefined;
1636
- }, {
1637
- message: string;
1638
- tasks: {
1639
- id: string;
1640
- content: string;
1641
- priority: "high" | "medium" | "low";
1642
- notes: string;
1643
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1644
- dependencies?: string[] | undefined;
1645
- }[];
1646
- approved: boolean;
1647
- userFeedback?: string | undefined;
1648
- }>, import("zod").ZodObject<{
1649
- approved: import("zod").ZodBoolean;
1650
- modifications: import("zod").ZodOptional<import("zod").ZodString>;
1651
- }, "strip", import("zod").ZodTypeAny, {
1652
- approved: boolean;
1653
- modifications?: string | undefined;
1654
- }, {
1655
- approved: boolean;
1656
- modifications?: string | undefined;
1657
- }>, import("zod").ZodObject<{
1658
- taskList: import("zod").ZodArray<import("zod").ZodObject<{
1659
- id: import("zod").ZodString;
1660
- content: import("zod").ZodString;
1661
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
1662
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
1663
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1664
- notes: import("zod").ZodString;
1665
- }, "strip", import("zod").ZodTypeAny, {
1666
- status: "pending" | "in_progress" | "completed" | "blocked";
1667
- id: string;
1668
- content: string;
1669
- priority: "high" | "medium" | "low";
1670
- notes: string;
1671
- dependencies?: string[] | undefined;
1672
- }, {
1673
- id: string;
1674
- content: string;
1675
- priority: "high" | "medium" | "low";
1676
- notes: string;
1677
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1678
- dependencies?: string[] | undefined;
1679
- }>, "many">;
1680
- summary: import("zod").ZodString;
1681
- message: import("zod").ZodString;
1682
- }, "strip", import("zod").ZodTypeAny, {
1683
- message: string;
1684
- summary: string;
1685
- taskList: {
1686
- status: "pending" | "in_progress" | "completed" | "blocked";
1687
- id: string;
1688
- content: string;
1689
- priority: "high" | "medium" | "low";
1690
- notes: string;
1691
- dependencies?: string[] | undefined;
1692
- }[];
1693
- }, {
1694
- message: string;
1695
- summary: string;
1696
- taskList: {
1697
- id: string;
1698
- content: string;
1699
- priority: "high" | "medium" | "low";
1700
- notes: string;
1701
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1702
- dependencies?: string[] | undefined;
1703
- }[];
1704
- }>, import("@mastra/core").DefaultEngineType>)[], "planning-and-approval", import("zod").ZodObject<{
1705
- action: import("zod").ZodEnum<["create", "edit"]>;
1706
- workflowName: import("zod").ZodOptional<import("zod").ZodString>;
1707
- description: import("zod").ZodOptional<import("zod").ZodString>;
1708
- requirements: import("zod").ZodOptional<import("zod").ZodString>;
1709
- discoveredWorkflows: import("zod").ZodArray<import("zod").ZodObject<{
1710
- name: import("zod").ZodString;
1711
- file: import("zod").ZodString;
1712
- description: import("zod").ZodOptional<import("zod").ZodString>;
1713
- inputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
1714
- outputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
1715
- steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1716
- }, "strip", import("zod").ZodTypeAny, {
1717
- file: string;
1718
- name: string;
1719
- description?: string | undefined;
1720
- steps?: string[] | undefined;
1721
- outputSchema?: any;
1722
- inputSchema?: any;
1723
- }, {
1724
- file: string;
1725
- name: string;
1726
- description?: string | undefined;
1727
- steps?: string[] | undefined;
1728
- outputSchema?: any;
1729
- inputSchema?: any;
1730
- }>, "many">;
1731
- projectStructure: import("zod").ZodObject<{
1732
- success: import("zod").ZodBoolean;
1733
- structure: import("zod").ZodObject<{
1734
- hasWorkflowsDir: import("zod").ZodBoolean;
1735
- hasAgentsDir: import("zod").ZodBoolean;
1736
- hasToolsDir: import("zod").ZodBoolean;
1737
- hasMastraIndex: import("zod").ZodBoolean;
1738
- existingWorkflows: import("zod").ZodArray<import("zod").ZodString, "many">;
1739
- existingAgents: import("zod").ZodArray<import("zod").ZodString, "many">;
1740
- existingTools: import("zod").ZodArray<import("zod").ZodString, "many">;
1741
- }, "strip", import("zod").ZodTypeAny, {
1742
- hasWorkflowsDir: boolean;
1743
- hasAgentsDir: boolean;
1744
- hasToolsDir: boolean;
1745
- hasMastraIndex: boolean;
1746
- existingWorkflows: string[];
1747
- existingAgents: string[];
1748
- existingTools: string[];
1749
- }, {
1750
- hasWorkflowsDir: boolean;
1751
- hasAgentsDir: boolean;
1752
- hasToolsDir: boolean;
1753
- hasMastraIndex: boolean;
1754
- existingWorkflows: string[];
1755
- existingAgents: string[];
1756
- existingTools: string[];
1757
- }>;
1758
- dependencies: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1759
- message: import("zod").ZodString;
1760
- error: import("zod").ZodOptional<import("zod").ZodString>;
1761
- }, "strip", import("zod").ZodTypeAny, {
1762
- message: string;
1763
- success: boolean;
1764
- dependencies: Record<string, string>;
1765
- structure: {
1766
- hasWorkflowsDir: boolean;
1767
- hasAgentsDir: boolean;
1768
- hasToolsDir: boolean;
1769
- hasMastraIndex: boolean;
1770
- existingWorkflows: string[];
1771
- existingAgents: string[];
1772
- existingTools: string[];
1773
- };
1774
- error?: string | undefined;
1775
- }, {
1776
- message: string;
1777
- success: boolean;
1778
- dependencies: Record<string, string>;
1779
- structure: {
1780
- hasWorkflowsDir: boolean;
1781
- hasAgentsDir: boolean;
1782
- hasToolsDir: boolean;
1783
- hasMastraIndex: boolean;
1784
- existingWorkflows: string[];
1785
- existingAgents: string[];
1786
- existingTools: string[];
1787
- };
1788
- error?: string | undefined;
1789
- }>;
1790
- research: import("zod").ZodObject<{
1791
- success: import("zod").ZodBoolean;
1792
- documentation: import("zod").ZodObject<{
1793
- workflowPatterns: import("zod").ZodArray<import("zod").ZodString, "many">;
1794
- stepExamples: import("zod").ZodArray<import("zod").ZodString, "many">;
1795
- bestPractices: import("zod").ZodArray<import("zod").ZodString, "many">;
1796
- }, "strip", import("zod").ZodTypeAny, {
1797
- workflowPatterns: string[];
1798
- stepExamples: string[];
1799
- bestPractices: string[];
1800
- }, {
1801
- workflowPatterns: string[];
1802
- stepExamples: string[];
1803
- bestPractices: string[];
1804
- }>;
1805
- webResources: import("zod").ZodArray<import("zod").ZodObject<{
1806
- title: import("zod").ZodString;
1807
- url: import("zod").ZodString;
1808
- snippet: import("zod").ZodString;
1809
- relevance: import("zod").ZodNumber;
1810
- }, "strip", import("zod").ZodTypeAny, {
1811
- relevance: number;
1812
- title: string;
1813
- url: string;
1814
- snippet: string;
1815
- }, {
1816
- relevance: number;
1817
- title: string;
1818
- url: string;
1819
- snippet: string;
1820
- }>, "many">;
1821
- message: import("zod").ZodString;
1822
- error: import("zod").ZodOptional<import("zod").ZodString>;
1823
- }, "strip", import("zod").ZodTypeAny, {
1824
- message: string;
1825
- success: boolean;
1826
- documentation: {
1827
- workflowPatterns: string[];
1828
- stepExamples: string[];
1829
- bestPractices: string[];
1830
- };
1831
- webResources: {
1832
- relevance: number;
1833
- title: string;
1834
- url: string;
1835
- snippet: string;
1836
- }[];
1837
- error?: string | undefined;
1838
- }, {
1839
- message: string;
1840
- success: boolean;
1841
- documentation: {
1842
- workflowPatterns: string[];
1843
- stepExamples: string[];
1844
- bestPractices: string[];
1845
- };
1846
- webResources: {
1847
- relevance: number;
1848
- title: string;
1849
- url: string;
1850
- snippet: string;
1851
- }[];
1852
- error?: string | undefined;
1853
- }>;
1854
- userAnswers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1855
- }, "strip", import("zod").ZodTypeAny, {
1856
- action: "create" | "edit";
1857
- discoveredWorkflows: {
1858
- file: string;
1859
- name: string;
1860
- description?: string | undefined;
1861
- steps?: string[] | undefined;
1862
- outputSchema?: any;
1863
- inputSchema?: any;
1864
- }[];
1865
- projectStructure: {
1866
- message: string;
1867
- success: boolean;
1868
- dependencies: Record<string, string>;
1869
- structure: {
1870
- hasWorkflowsDir: boolean;
1871
- hasAgentsDir: boolean;
1872
- hasToolsDir: boolean;
1873
- hasMastraIndex: boolean;
1874
- existingWorkflows: string[];
1875
- existingAgents: string[];
1876
- existingTools: string[];
1877
- };
1878
- error?: string | undefined;
1879
- };
1880
- research: {
1881
- message: string;
1882
- success: boolean;
1883
- documentation: {
1884
- workflowPatterns: string[];
1885
- stepExamples: string[];
1886
- bestPractices: string[];
1887
- };
1888
- webResources: {
1889
- relevance: number;
1890
- title: string;
1891
- url: string;
1892
- snippet: string;
1893
- }[];
1894
- error?: string | undefined;
1895
- };
1896
- description?: string | undefined;
1897
- workflowName?: string | undefined;
1898
- requirements?: string | undefined;
1899
- userAnswers?: Record<string, string> | undefined;
1900
- }, {
1901
- action: "create" | "edit";
1902
- discoveredWorkflows: {
1903
- file: string;
1904
- name: string;
1905
- description?: string | undefined;
1906
- steps?: string[] | undefined;
1907
- outputSchema?: any;
1908
- inputSchema?: any;
1909
- }[];
1910
- projectStructure: {
1911
- message: string;
1912
- success: boolean;
1913
- dependencies: Record<string, string>;
1914
- structure: {
1915
- hasWorkflowsDir: boolean;
1916
- hasAgentsDir: boolean;
1917
- hasToolsDir: boolean;
1918
- hasMastraIndex: boolean;
1919
- existingWorkflows: string[];
1920
- existingAgents: string[];
1921
- existingTools: string[];
1922
- };
1923
- error?: string | undefined;
1924
- };
1925
- research: {
1926
- message: string;
1927
- success: boolean;
1928
- documentation: {
1929
- workflowPatterns: string[];
1930
- stepExamples: string[];
1931
- bestPractices: string[];
1932
- };
1933
- webResources: {
1934
- relevance: number;
1935
- title: string;
1936
- url: string;
1937
- snippet: string;
1938
- }[];
1939
- error?: string | undefined;
1940
- };
1941
- description?: string | undefined;
1942
- workflowName?: string | undefined;
1943
- requirements?: string | undefined;
1944
- userAnswers?: Record<string, string> | undefined;
1945
- }>, import("zod").ZodObject<{
1946
- approved: import("zod").ZodBoolean;
1947
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
1948
- id: import("zod").ZodString;
1949
- content: import("zod").ZodString;
1950
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
1951
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
1952
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1953
- notes: import("zod").ZodString;
1954
- }, "strip", import("zod").ZodTypeAny, {
1955
- status: "pending" | "in_progress" | "completed" | "blocked";
1956
- id: string;
1957
- content: string;
1958
- priority: "high" | "medium" | "low";
1959
- notes: string;
1960
- dependencies?: string[] | undefined;
1961
- }, {
1962
- id: string;
1963
- content: string;
1964
- priority: "high" | "medium" | "low";
1965
- notes: string;
1966
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1967
- dependencies?: string[] | undefined;
1968
- }>, "many">;
1969
- message: import("zod").ZodString;
1970
- userFeedback: import("zod").ZodOptional<import("zod").ZodString>;
1971
- }, "strip", import("zod").ZodTypeAny, {
1972
- message: string;
1973
- tasks: {
1974
- status: "pending" | "in_progress" | "completed" | "blocked";
1975
- id: string;
1976
- content: string;
1977
- priority: "high" | "medium" | "low";
1978
- notes: string;
1979
- dependencies?: string[] | undefined;
1980
- }[];
1981
- approved: boolean;
1982
- userFeedback?: string | undefined;
1983
- }, {
1984
- message: string;
1985
- tasks: {
1986
- id: string;
1987
- content: string;
1988
- priority: "high" | "medium" | "low";
1989
- notes: string;
1990
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1991
- dependencies?: string[] | undefined;
1992
- }[];
1993
- approved: boolean;
1994
- userFeedback?: string | undefined;
1995
- }>, import("zod").ZodObject<{
1996
- approved: import("zod").ZodBoolean;
1997
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
1998
- id: import("zod").ZodString;
1999
- content: import("zod").ZodString;
2000
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
2001
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
2002
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2003
- notes: import("zod").ZodString;
2004
- }, "strip", import("zod").ZodTypeAny, {
2005
- status: "pending" | "in_progress" | "completed" | "blocked";
2006
- id: string;
2007
- content: string;
2008
- priority: "high" | "medium" | "low";
2009
- notes: string;
2010
- dependencies?: string[] | undefined;
2011
- }, {
2012
- id: string;
2013
- content: string;
2014
- priority: "high" | "medium" | "low";
2015
- notes: string;
2016
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
2017
- dependencies?: string[] | undefined;
2018
- }>, "many">;
2019
- message: import("zod").ZodString;
2020
- userFeedback: import("zod").ZodOptional<import("zod").ZodString>;
2021
- }, "strip", import("zod").ZodTypeAny, {
2022
- message: string;
2023
- tasks: {
2024
- status: "pending" | "in_progress" | "completed" | "blocked";
2025
- id: string;
2026
- content: string;
2027
- priority: "high" | "medium" | "low";
2028
- notes: string;
2029
- dependencies?: string[] | undefined;
2030
- }[];
2031
- approved: boolean;
2032
- userFeedback?: string | undefined;
2033
- }, {
2034
- message: string;
2035
- tasks: {
2036
- id: string;
2037
- content: string;
2038
- priority: "high" | "medium" | "low";
2039
- notes: string;
2040
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
2041
- dependencies?: string[] | undefined;
2042
- }[];
2043
- approved: boolean;
2044
- userFeedback?: string | undefined;
2045
- }>> | import("@mastra/core").Step<"workflow-discovery", import("zod").ZodObject<{
2046
- workflowName: import("zod").ZodOptional<import("zod").ZodString>;
2047
- action: import("zod").ZodEnum<["create", "edit"]>;
2048
- description: import("zod").ZodOptional<import("zod").ZodString>;
2049
- requirements: import("zod").ZodOptional<import("zod").ZodString>;
2050
- projectPath: import("zod").ZodOptional<import("zod").ZodString>;
2051
- }, "strip", import("zod").ZodTypeAny, {
2052
- action: "create" | "edit";
2053
- description?: string | undefined;
2054
- projectPath?: string | undefined;
2055
- workflowName?: string | undefined;
2056
- requirements?: string | undefined;
2057
- }, {
2058
- action: "create" | "edit";
2059
- description?: string | undefined;
2060
- projectPath?: string | undefined;
2061
- workflowName?: string | undefined;
2062
- requirements?: string | undefined;
2063
- }>, import("zod").ZodObject<{
2064
- success: import("zod").ZodBoolean;
2065
- workflows: import("zod").ZodArray<import("zod").ZodObject<{
2066
- name: import("zod").ZodString;
2067
- file: import("zod").ZodString;
2068
- description: import("zod").ZodOptional<import("zod").ZodString>;
2069
- inputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
2070
- outputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
2071
- steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2072
- }, "strip", import("zod").ZodTypeAny, {
2073
- file: string;
2074
- name: string;
2075
- description?: string | undefined;
2076
- steps?: string[] | undefined;
2077
- outputSchema?: any;
2078
- inputSchema?: any;
2079
- }, {
2080
- file: string;
2081
- name: string;
2082
- description?: string | undefined;
2083
- steps?: string[] | undefined;
2084
- outputSchema?: any;
2085
- inputSchema?: any;
2086
- }>, "many">;
2087
- mastraIndexExists: import("zod").ZodBoolean;
2088
- message: import("zod").ZodString;
2089
- error: import("zod").ZodOptional<import("zod").ZodString>;
2090
- }, "strip", import("zod").ZodTypeAny, {
2091
- message: string;
2092
- success: boolean;
2093
- workflows: {
2094
- file: string;
2095
- name: string;
2096
- description?: string | undefined;
2097
- steps?: string[] | undefined;
2098
- outputSchema?: any;
2099
- inputSchema?: any;
2100
- }[];
2101
- mastraIndexExists: boolean;
2102
- error?: string | undefined;
2103
- }, {
2104
- message: string;
2105
- success: boolean;
2106
- workflows: {
2107
- file: string;
2108
- name: string;
2109
- description?: string | undefined;
2110
- steps?: string[] | undefined;
2111
- outputSchema?: any;
2112
- inputSchema?: any;
2113
- }[];
2114
- mastraIndexExists: boolean;
2115
- error?: string | undefined;
2116
- }>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"project-discovery", import("zod").ZodObject<{
2117
- success: import("zod").ZodBoolean;
2118
- workflows: import("zod").ZodArray<import("zod").ZodObject<{
2119
- name: import("zod").ZodString;
2120
- file: import("zod").ZodString;
2121
- description: import("zod").ZodOptional<import("zod").ZodString>;
2122
- inputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
2123
- outputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
2124
- steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2125
- }, "strip", import("zod").ZodTypeAny, {
2126
- file: string;
2127
- name: string;
2128
- description?: string | undefined;
2129
- steps?: string[] | undefined;
2130
- outputSchema?: any;
2131
- inputSchema?: any;
2132
- }, {
2133
- file: string;
2134
- name: string;
2135
- description?: string | undefined;
2136
- steps?: string[] | undefined;
2137
- outputSchema?: any;
2138
- inputSchema?: any;
2139
- }>, "many">;
2140
- mastraIndexExists: import("zod").ZodBoolean;
2141
- message: import("zod").ZodString;
2142
- error: import("zod").ZodOptional<import("zod").ZodString>;
2143
- }, "strip", import("zod").ZodTypeAny, {
2144
- message: string;
2145
- success: boolean;
2146
- workflows: {
2147
- file: string;
2148
- name: string;
2149
- description?: string | undefined;
2150
- steps?: string[] | undefined;
2151
- outputSchema?: any;
2152
- inputSchema?: any;
2153
- }[];
2154
- mastraIndexExists: boolean;
2155
- error?: string | undefined;
2156
- }, {
2157
- message: string;
2158
- success: boolean;
2159
- workflows: {
2160
- file: string;
2161
- name: string;
2162
- description?: string | undefined;
2163
- steps?: string[] | undefined;
2164
- outputSchema?: any;
2165
- inputSchema?: any;
2166
- }[];
2167
- mastraIndexExists: boolean;
2168
- error?: string | undefined;
2169
- }>, import("zod").ZodObject<{
2170
- success: import("zod").ZodBoolean;
2171
- structure: import("zod").ZodObject<{
2172
- hasWorkflowsDir: import("zod").ZodBoolean;
2173
- hasAgentsDir: import("zod").ZodBoolean;
2174
- hasToolsDir: import("zod").ZodBoolean;
2175
- hasMastraIndex: import("zod").ZodBoolean;
2176
- existingWorkflows: import("zod").ZodArray<import("zod").ZodString, "many">;
2177
- existingAgents: import("zod").ZodArray<import("zod").ZodString, "many">;
2178
- existingTools: import("zod").ZodArray<import("zod").ZodString, "many">;
2179
- }, "strip", import("zod").ZodTypeAny, {
2180
- hasWorkflowsDir: boolean;
2181
- hasAgentsDir: boolean;
2182
- hasToolsDir: boolean;
2183
- hasMastraIndex: boolean;
2184
- existingWorkflows: string[];
2185
- existingAgents: string[];
2186
- existingTools: string[];
2187
- }, {
2188
- hasWorkflowsDir: boolean;
2189
- hasAgentsDir: boolean;
2190
- hasToolsDir: boolean;
2191
- hasMastraIndex: boolean;
2192
- existingWorkflows: string[];
2193
- existingAgents: string[];
2194
- existingTools: string[];
2195
- }>;
2196
- dependencies: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2197
- message: import("zod").ZodString;
2198
- error: import("zod").ZodOptional<import("zod").ZodString>;
2199
- }, "strip", import("zod").ZodTypeAny, {
2200
- message: string;
2201
- success: boolean;
2202
- dependencies: Record<string, string>;
2203
- structure: {
2204
- hasWorkflowsDir: boolean;
2205
- hasAgentsDir: boolean;
2206
- hasToolsDir: boolean;
2207
- hasMastraIndex: boolean;
2208
- existingWorkflows: string[];
2209
- existingAgents: string[];
2210
- existingTools: string[];
2211
- };
2212
- error?: string | undefined;
2213
- }, {
2214
- message: string;
2215
- success: boolean;
2216
- dependencies: Record<string, string>;
2217
- structure: {
2218
- hasWorkflowsDir: boolean;
2219
- hasAgentsDir: boolean;
2220
- hasToolsDir: boolean;
2221
- hasMastraIndex: boolean;
2222
- existingWorkflows: string[];
2223
- existingAgents: string[];
2224
- existingTools: string[];
2225
- };
2226
- error?: string | undefined;
2227
- }>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"workflow-research", import("zod").ZodObject<{
2228
- success: import("zod").ZodBoolean;
2229
- structure: import("zod").ZodObject<{
2230
- hasWorkflowsDir: import("zod").ZodBoolean;
2231
- hasAgentsDir: import("zod").ZodBoolean;
2232
- hasToolsDir: import("zod").ZodBoolean;
2233
- hasMastraIndex: import("zod").ZodBoolean;
2234
- existingWorkflows: import("zod").ZodArray<import("zod").ZodString, "many">;
2235
- existingAgents: import("zod").ZodArray<import("zod").ZodString, "many">;
2236
- existingTools: import("zod").ZodArray<import("zod").ZodString, "many">;
2237
- }, "strip", import("zod").ZodTypeAny, {
2238
- hasWorkflowsDir: boolean;
2239
- hasAgentsDir: boolean;
2240
- hasToolsDir: boolean;
2241
- hasMastraIndex: boolean;
2242
- existingWorkflows: string[];
2243
- existingAgents: string[];
2244
- existingTools: string[];
2245
- }, {
2246
- hasWorkflowsDir: boolean;
2247
- hasAgentsDir: boolean;
2248
- hasToolsDir: boolean;
2249
- hasMastraIndex: boolean;
2250
- existingWorkflows: string[];
2251
- existingAgents: string[];
2252
- existingTools: string[];
2253
- }>;
2254
- dependencies: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2255
- message: import("zod").ZodString;
2256
- error: import("zod").ZodOptional<import("zod").ZodString>;
2257
- }, "strip", import("zod").ZodTypeAny, {
2258
- message: string;
2259
- success: boolean;
2260
- dependencies: Record<string, string>;
2261
- structure: {
2262
- hasWorkflowsDir: boolean;
2263
- hasAgentsDir: boolean;
2264
- hasToolsDir: boolean;
2265
- hasMastraIndex: boolean;
2266
- existingWorkflows: string[];
2267
- existingAgents: string[];
2268
- existingTools: string[];
2269
- };
2270
- error?: string | undefined;
2271
- }, {
2272
- message: string;
2273
- success: boolean;
2274
- dependencies: Record<string, string>;
2275
- structure: {
2276
- hasWorkflowsDir: boolean;
2277
- hasAgentsDir: boolean;
2278
- hasToolsDir: boolean;
2279
- hasMastraIndex: boolean;
2280
- existingWorkflows: string[];
2281
- existingAgents: string[];
2282
- existingTools: string[];
2283
- };
2284
- error?: string | undefined;
2285
- }>, import("zod").ZodObject<{
2286
- success: import("zod").ZodBoolean;
2287
- documentation: import("zod").ZodObject<{
2288
- workflowPatterns: import("zod").ZodArray<import("zod").ZodString, "many">;
2289
- stepExamples: import("zod").ZodArray<import("zod").ZodString, "many">;
2290
- bestPractices: import("zod").ZodArray<import("zod").ZodString, "many">;
2291
- }, "strip", import("zod").ZodTypeAny, {
2292
- workflowPatterns: string[];
2293
- stepExamples: string[];
2294
- bestPractices: string[];
2295
- }, {
2296
- workflowPatterns: string[];
2297
- stepExamples: string[];
2298
- bestPractices: string[];
2299
- }>;
2300
- webResources: import("zod").ZodArray<import("zod").ZodObject<{
2301
- title: import("zod").ZodString;
2302
- url: import("zod").ZodString;
2303
- snippet: import("zod").ZodString;
2304
- relevance: import("zod").ZodNumber;
2305
- }, "strip", import("zod").ZodTypeAny, {
2306
- relevance: number;
2307
- title: string;
2308
- url: string;
2309
- snippet: string;
2310
- }, {
2311
- relevance: number;
2312
- title: string;
2313
- url: string;
2314
- snippet: string;
2315
- }>, "many">;
2316
- message: import("zod").ZodString;
2317
- error: import("zod").ZodOptional<import("zod").ZodString>;
2318
- }, "strip", import("zod").ZodTypeAny, {
2319
- message: string;
2320
- success: boolean;
2321
- documentation: {
2322
- workflowPatterns: string[];
2323
- stepExamples: string[];
2324
- bestPractices: string[];
2325
- };
2326
- webResources: {
2327
- relevance: number;
2328
- title: string;
2329
- url: string;
2330
- snippet: string;
2331
- }[];
2332
- error?: string | undefined;
2333
- }, {
2334
- message: string;
2335
- success: boolean;
2336
- documentation: {
2337
- workflowPatterns: string[];
2338
- stepExamples: string[];
2339
- bestPractices: string[];
2340
- };
2341
- webResources: {
2342
- relevance: number;
2343
- title: string;
2344
- url: string;
2345
- snippet: string;
2346
- }[];
2347
- error?: string | undefined;
2348
- }>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"task-execution", import("zod").ZodObject<{
2349
- action: import("zod").ZodEnum<["create", "edit"]>;
2350
- workflowName: import("zod").ZodOptional<import("zod").ZodString>;
2351
- description: import("zod").ZodOptional<import("zod").ZodString>;
2352
- requirements: import("zod").ZodOptional<import("zod").ZodString>;
2353
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
2354
- id: import("zod").ZodString;
2355
- content: import("zod").ZodString;
2356
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
2357
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
2358
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2359
- notes: import("zod").ZodString;
2360
- }, "strip", import("zod").ZodTypeAny, {
2361
- status: "pending" | "in_progress" | "completed" | "blocked";
2362
- id: string;
2363
- content: string;
2364
- priority: "high" | "medium" | "low";
2365
- notes: string;
2366
- dependencies?: string[] | undefined;
2367
- }, {
2368
- id: string;
2369
- content: string;
2370
- priority: "high" | "medium" | "low";
2371
- notes: string;
2372
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
2373
- dependencies?: string[] | undefined;
2374
- }>, "many">;
2375
- discoveredWorkflows: import("zod").ZodArray<import("zod").ZodAny, "many">;
2376
- projectStructure: import("zod").ZodAny;
2377
- research: import("zod").ZodAny;
2378
- projectPath: import("zod").ZodOptional<import("zod").ZodString>;
2379
- }, "strip", import("zod").ZodTypeAny, {
2380
- action: "create" | "edit";
2381
- tasks: {
2382
- status: "pending" | "in_progress" | "completed" | "blocked";
2383
- id: string;
2384
- content: string;
2385
- priority: "high" | "medium" | "low";
2386
- notes: string;
2387
- dependencies?: string[] | undefined;
2388
- }[];
2389
- discoveredWorkflows: any[];
2390
- description?: string | undefined;
2391
- projectPath?: string | undefined;
2392
- workflowName?: string | undefined;
2393
- requirements?: string | undefined;
2394
- projectStructure?: any;
2395
- research?: any;
2396
- }, {
2397
- action: "create" | "edit";
2398
- tasks: {
2399
- id: string;
2400
- content: string;
2401
- priority: "high" | "medium" | "low";
2402
- notes: string;
2403
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
2404
- dependencies?: string[] | undefined;
2405
- }[];
2406
- discoveredWorkflows: any[];
2407
- description?: string | undefined;
2408
- projectPath?: string | undefined;
2409
- workflowName?: string | undefined;
2410
- requirements?: string | undefined;
2411
- projectStructure?: any;
2412
- research?: any;
2413
- }>, import("zod").ZodObject<{
2414
- success: import("zod").ZodBoolean;
2415
- filesModified: import("zod").ZodArray<import("zod").ZodString, "many">;
2416
- validationResults: import("zod").ZodObject<{
2417
- passed: import("zod").ZodBoolean;
2418
- errors: import("zod").ZodArray<import("zod").ZodString, "many">;
2419
- warnings: import("zod").ZodArray<import("zod").ZodString, "many">;
2420
- }, "strip", import("zod").ZodTypeAny, {
2421
- errors: string[];
2422
- warnings: string[];
2423
- passed: boolean;
2424
- }, {
2425
- errors: string[];
2426
- warnings: string[];
2427
- passed: boolean;
2428
- }>;
2429
- completedTasks: import("zod").ZodArray<import("zod").ZodString, "many">;
2430
- message: import("zod").ZodString;
2431
- error: import("zod").ZodOptional<import("zod").ZodString>;
2432
- }, "strip", import("zod").ZodTypeAny, {
2433
- message: string;
2434
- success: boolean;
2435
- validationResults: {
2436
- errors: string[];
2437
- warnings: string[];
2438
- passed: boolean;
2439
- };
2440
- completedTasks: string[];
2441
- filesModified: string[];
2442
- error?: string | undefined;
2443
- }, {
2444
- message: string;
2445
- success: boolean;
2446
- validationResults: {
2447
- errors: string[];
2448
- warnings: string[];
2449
- passed: boolean;
2450
- };
2451
- completedTasks: string[];
2452
- filesModified: string[];
2453
- error?: string | undefined;
2454
- }>, import("zod").ZodObject<{
2455
- answers: import("zod").ZodArray<import("zod").ZodObject<{
2456
- questionId: import("zod").ZodString;
2457
- answer: import("zod").ZodString;
2458
- }, "strip", import("zod").ZodTypeAny, {
2459
- questionId: string;
2460
- answer: string;
2461
- }, {
2462
- questionId: string;
2463
- answer: string;
2464
- }>, "many">;
2465
- }, "strip", import("zod").ZodTypeAny, {
2466
- answers: {
2467
- questionId: string;
2468
- answer: string;
2469
- }[];
2470
- }, {
2471
- answers: {
2472
- questionId: string;
2473
- answer: string;
2474
- }[];
2475
- }>, import("zod").ZodObject<{
2476
- questions: import("zod").ZodArray<import("zod").ZodObject<{
2477
- id: import("zod").ZodString;
2478
- question: import("zod").ZodString;
2479
- type: import("zod").ZodEnum<["choice", "text", "boolean"]>;
2480
- options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2481
- context: import("zod").ZodOptional<import("zod").ZodString>;
2482
- }, "strip", import("zod").ZodTypeAny, {
2483
- type: "boolean" | "text" | "choice";
2484
- id: string;
2485
- question: string;
2486
- options?: string[] | undefined;
2487
- context?: string | undefined;
2488
- }, {
2489
- type: "boolean" | "text" | "choice";
2490
- id: string;
2491
- question: string;
2492
- options?: string[] | undefined;
2493
- context?: string | undefined;
2494
- }>, "many">;
2495
- currentProgress: import("zod").ZodString;
2496
- completedTasks: import("zod").ZodArray<import("zod").ZodString, "many">;
2497
- message: import("zod").ZodString;
2498
- }, "strip", import("zod").ZodTypeAny, {
2499
- message: string;
2500
- questions: {
2501
- type: "boolean" | "text" | "choice";
2502
- id: string;
2503
- question: string;
2504
- options?: string[] | undefined;
2505
- context?: string | undefined;
2506
- }[];
2507
- currentProgress: string;
2508
- completedTasks: string[];
2509
- }, {
2510
- message: string;
2511
- questions: {
2512
- type: "boolean" | "text" | "choice";
2513
- id: string;
2514
- question: string;
2515
- options?: string[] | undefined;
2516
- context?: string | undefined;
2517
- }[];
2518
- currentProgress: string;
2519
- completedTasks: string[];
2520
- }>, import("@mastra/core").DefaultEngineType>)[], "workflow-builder", import("zod").ZodObject<{
2521
- workflowName: import("zod").ZodOptional<import("zod").ZodString>;
2522
- action: import("zod").ZodEnum<["create", "edit"]>;
2523
- description: import("zod").ZodOptional<import("zod").ZodString>;
2524
- requirements: import("zod").ZodOptional<import("zod").ZodString>;
2525
- projectPath: import("zod").ZodOptional<import("zod").ZodString>;
2526
- }, "strip", import("zod").ZodTypeAny, {
2527
- action: "create" | "edit";
2528
- description?: string | undefined;
2529
- projectPath?: string | undefined;
2530
- workflowName?: string | undefined;
2531
- requirements?: string | undefined;
2532
- }, {
2533
- action: "create" | "edit";
2534
- description?: string | undefined;
2535
- projectPath?: string | undefined;
2536
- workflowName?: string | undefined;
2537
- requirements?: string | undefined;
2538
- }>, import("zod").ZodObject<{
2539
- success: import("zod").ZodBoolean;
2540
- action: import("zod").ZodEnum<["create", "edit"]>;
2541
- workflowName: import("zod").ZodOptional<import("zod").ZodString>;
2542
- workflowFile: import("zod").ZodOptional<import("zod").ZodString>;
2543
- discovery: import("zod").ZodOptional<import("zod").ZodObject<{
2544
- success: import("zod").ZodBoolean;
2545
- workflows: import("zod").ZodArray<import("zod").ZodObject<{
2546
- name: import("zod").ZodString;
2547
- file: import("zod").ZodString;
2548
- description: import("zod").ZodOptional<import("zod").ZodString>;
2549
- inputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
2550
- outputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
2551
- steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2552
- }, "strip", import("zod").ZodTypeAny, {
2553
- file: string;
2554
- name: string;
2555
- description?: string | undefined;
2556
- steps?: string[] | undefined;
2557
- outputSchema?: any;
2558
- inputSchema?: any;
2559
- }, {
2560
- file: string;
2561
- name: string;
2562
- description?: string | undefined;
2563
- steps?: string[] | undefined;
2564
- outputSchema?: any;
2565
- inputSchema?: any;
2566
- }>, "many">;
2567
- mastraIndexExists: import("zod").ZodBoolean;
2568
- message: import("zod").ZodString;
2569
- error: import("zod").ZodOptional<import("zod").ZodString>;
2570
- }, "strip", import("zod").ZodTypeAny, {
2571
- message: string;
2572
- success: boolean;
2573
- workflows: {
2574
- file: string;
2575
- name: string;
2576
- description?: string | undefined;
2577
- steps?: string[] | undefined;
2578
- outputSchema?: any;
2579
- inputSchema?: any;
2580
- }[];
2581
- mastraIndexExists: boolean;
2582
- error?: string | undefined;
2583
- }, {
2584
- message: string;
2585
- success: boolean;
2586
- workflows: {
2587
- file: string;
2588
- name: string;
2589
- description?: string | undefined;
2590
- steps?: string[] | undefined;
2591
- outputSchema?: any;
2592
- inputSchema?: any;
2593
- }[];
2594
- mastraIndexExists: boolean;
2595
- error?: string | undefined;
2596
- }>>;
2597
- projectStructure: import("zod").ZodOptional<import("zod").ZodObject<{
2598
- success: import("zod").ZodBoolean;
2599
- structure: import("zod").ZodObject<{
2600
- hasWorkflowsDir: import("zod").ZodBoolean;
2601
- hasAgentsDir: import("zod").ZodBoolean;
2602
- hasToolsDir: import("zod").ZodBoolean;
2603
- hasMastraIndex: import("zod").ZodBoolean;
2604
- existingWorkflows: import("zod").ZodArray<import("zod").ZodString, "many">;
2605
- existingAgents: import("zod").ZodArray<import("zod").ZodString, "many">;
2606
- existingTools: import("zod").ZodArray<import("zod").ZodString, "many">;
2607
- }, "strip", import("zod").ZodTypeAny, {
2608
- hasWorkflowsDir: boolean;
2609
- hasAgentsDir: boolean;
2610
- hasToolsDir: boolean;
2611
- hasMastraIndex: boolean;
2612
- existingWorkflows: string[];
2613
- existingAgents: string[];
2614
- existingTools: string[];
2615
- }, {
2616
- hasWorkflowsDir: boolean;
2617
- hasAgentsDir: boolean;
2618
- hasToolsDir: boolean;
2619
- hasMastraIndex: boolean;
2620
- existingWorkflows: string[];
2621
- existingAgents: string[];
2622
- existingTools: string[];
2623
- }>;
2624
- dependencies: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2625
- message: import("zod").ZodString;
2626
- error: import("zod").ZodOptional<import("zod").ZodString>;
2627
- }, "strip", import("zod").ZodTypeAny, {
2628
- message: string;
2629
- success: boolean;
2630
- dependencies: Record<string, string>;
2631
- structure: {
2632
- hasWorkflowsDir: boolean;
2633
- hasAgentsDir: boolean;
2634
- hasToolsDir: boolean;
2635
- hasMastraIndex: boolean;
2636
- existingWorkflows: string[];
2637
- existingAgents: string[];
2638
- existingTools: string[];
2639
- };
2640
- error?: string | undefined;
2641
- }, {
2642
- message: string;
2643
- success: boolean;
2644
- dependencies: Record<string, string>;
2645
- structure: {
2646
- hasWorkflowsDir: boolean;
2647
- hasAgentsDir: boolean;
2648
- hasToolsDir: boolean;
2649
- hasMastraIndex: boolean;
2650
- existingWorkflows: string[];
2651
- existingAgents: string[];
2652
- existingTools: string[];
2653
- };
2654
- error?: string | undefined;
2655
- }>>;
2656
- research: import("zod").ZodOptional<import("zod").ZodObject<{
2657
- success: import("zod").ZodBoolean;
2658
- documentation: import("zod").ZodObject<{
2659
- workflowPatterns: import("zod").ZodArray<import("zod").ZodString, "many">;
2660
- stepExamples: import("zod").ZodArray<import("zod").ZodString, "many">;
2661
- bestPractices: import("zod").ZodArray<import("zod").ZodString, "many">;
2662
- }, "strip", import("zod").ZodTypeAny, {
2663
- workflowPatterns: string[];
2664
- stepExamples: string[];
2665
- bestPractices: string[];
2666
- }, {
2667
- workflowPatterns: string[];
2668
- stepExamples: string[];
2669
- bestPractices: string[];
2670
- }>;
2671
- webResources: import("zod").ZodArray<import("zod").ZodObject<{
2672
- title: import("zod").ZodString;
2673
- url: import("zod").ZodString;
2674
- snippet: import("zod").ZodString;
2675
- relevance: import("zod").ZodNumber;
2676
- }, "strip", import("zod").ZodTypeAny, {
2677
- relevance: number;
2678
- title: string;
2679
- url: string;
2680
- snippet: string;
2681
- }, {
2682
- relevance: number;
2683
- title: string;
2684
- url: string;
2685
- snippet: string;
2686
- }>, "many">;
2687
- message: import("zod").ZodString;
2688
- error: import("zod").ZodOptional<import("zod").ZodString>;
2689
- }, "strip", import("zod").ZodTypeAny, {
2690
- message: string;
2691
- success: boolean;
2692
- documentation: {
2693
- workflowPatterns: string[];
2694
- stepExamples: string[];
2695
- bestPractices: string[];
2696
- };
2697
- webResources: {
2698
- relevance: number;
2699
- title: string;
2700
- url: string;
2701
- snippet: string;
2702
- }[];
2703
- error?: string | undefined;
2704
- }, {
2705
- message: string;
2706
- success: boolean;
2707
- documentation: {
2708
- workflowPatterns: string[];
2709
- stepExamples: string[];
2710
- bestPractices: string[];
2711
- };
2712
- webResources: {
2713
- relevance: number;
2714
- title: string;
2715
- url: string;
2716
- snippet: string;
2717
- }[];
2718
- error?: string | undefined;
2719
- }>>;
2720
- planning: import("zod").ZodOptional<import("zod").ZodObject<{
2721
- success: import("zod").ZodBoolean;
2722
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
2723
- id: import("zod").ZodString;
2724
- content: import("zod").ZodString;
2725
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
2726
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
2727
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2728
- notes: import("zod").ZodString;
2729
- }, "strip", import("zod").ZodTypeAny, {
2730
- status: "pending" | "in_progress" | "completed" | "blocked";
2731
- id: string;
2732
- content: string;
2733
- priority: "high" | "medium" | "low";
2734
- notes: string;
2735
- dependencies?: string[] | undefined;
2736
- }, {
2737
- id: string;
2738
- content: string;
2739
- priority: "high" | "medium" | "low";
2740
- notes: string;
2741
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
2742
- dependencies?: string[] | undefined;
2743
- }>, "many">;
2744
- questions: import("zod").ZodArray<import("zod").ZodObject<{
2745
- id: import("zod").ZodString;
2746
- question: import("zod").ZodString;
2747
- type: import("zod").ZodEnum<["choice", "text", "boolean"]>;
2748
- options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2749
- context: import("zod").ZodOptional<import("zod").ZodString>;
2750
- }, "strip", import("zod").ZodTypeAny, {
2751
- type: "boolean" | "text" | "choice";
2752
- id: string;
2753
- question: string;
2754
- options?: string[] | undefined;
2755
- context?: string | undefined;
2756
- }, {
2757
- type: "boolean" | "text" | "choice";
2758
- id: string;
2759
- question: string;
2760
- options?: string[] | undefined;
2761
- context?: string | undefined;
2762
- }>, "many">;
2763
- reasoning: import("zod").ZodString;
2764
- planComplete: import("zod").ZodBoolean;
2765
- message: import("zod").ZodString;
2766
- error: import("zod").ZodOptional<import("zod").ZodString>;
2767
- allPreviousQuestions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
2768
- allPreviousAnswers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
2769
- }, "strip", import("zod").ZodTypeAny, {
2770
- message: string;
2771
- success: boolean;
2772
- tasks: {
2773
- status: "pending" | "in_progress" | "completed" | "blocked";
2774
- id: string;
2775
- content: string;
2776
- priority: "high" | "medium" | "low";
2777
- notes: string;
2778
- dependencies?: string[] | undefined;
2779
- }[];
2780
- reasoning: string;
2781
- questions: {
2782
- type: "boolean" | "text" | "choice";
2783
- id: string;
2784
- question: string;
2785
- options?: string[] | undefined;
2786
- context?: string | undefined;
2787
- }[];
2788
- planComplete: boolean;
2789
- error?: string | undefined;
2790
- allPreviousQuestions?: any[] | undefined;
2791
- allPreviousAnswers?: Record<string, string> | undefined;
2792
- }, {
2793
- message: string;
2794
- success: boolean;
2795
- tasks: {
2796
- id: string;
2797
- content: string;
2798
- priority: "high" | "medium" | "low";
2799
- notes: string;
2800
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
2801
- dependencies?: string[] | undefined;
2802
- }[];
2803
- reasoning: string;
2804
- questions: {
2805
- type: "boolean" | "text" | "choice";
2806
- id: string;
2807
- question: string;
2808
- options?: string[] | undefined;
2809
- context?: string | undefined;
2810
- }[];
2811
- planComplete: boolean;
2812
- error?: string | undefined;
2813
- allPreviousQuestions?: any[] | undefined;
2814
- allPreviousAnswers?: Record<string, string> | undefined;
2815
- }>>;
2816
- taskManagement: import("zod").ZodOptional<import("zod").ZodObject<{
2817
- success: import("zod").ZodBoolean;
2818
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
2819
- id: import("zod").ZodString;
2820
- content: import("zod").ZodString;
2821
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
2822
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
2823
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2824
- notes: import("zod").ZodString;
2825
- }, "strip", import("zod").ZodTypeAny, {
2826
- status: "pending" | "in_progress" | "completed" | "blocked";
2827
- id: string;
2828
- content: string;
2829
- priority: "high" | "medium" | "low";
2830
- notes: string;
2831
- dependencies?: string[] | undefined;
2832
- }, {
2833
- id: string;
2834
- content: string;
2835
- priority: "high" | "medium" | "low";
2836
- notes: string;
2837
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
2838
- dependencies?: string[] | undefined;
2839
- }>, "many">;
2840
- message: import("zod").ZodString;
2841
- error: import("zod").ZodOptional<import("zod").ZodString>;
2842
- }, "strip", import("zod").ZodTypeAny, {
2843
- message: string;
2844
- success: boolean;
2845
- tasks: {
2846
- status: "pending" | "in_progress" | "completed" | "blocked";
2847
- id: string;
2848
- content: string;
2849
- priority: "high" | "medium" | "low";
2850
- notes: string;
2851
- dependencies?: string[] | undefined;
2852
- }[];
2853
- error?: string | undefined;
2854
- }, {
2855
- message: string;
2856
- success: boolean;
2857
- tasks: {
2858
- id: string;
2859
- content: string;
2860
- priority: "high" | "medium" | "low";
2861
- notes: string;
2862
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
2863
- dependencies?: string[] | undefined;
2864
- }[];
2865
- error?: string | undefined;
2866
- }>>;
2867
- execution: import("zod").ZodOptional<import("zod").ZodObject<{
2868
- success: import("zod").ZodBoolean;
2869
- filesModified: import("zod").ZodArray<import("zod").ZodString, "many">;
2870
- validationResults: import("zod").ZodObject<{
2871
- passed: import("zod").ZodBoolean;
2872
- errors: import("zod").ZodArray<import("zod").ZodString, "many">;
2873
- warnings: import("zod").ZodArray<import("zod").ZodString, "many">;
2874
- }, "strip", import("zod").ZodTypeAny, {
2875
- errors: string[];
2876
- warnings: string[];
2877
- passed: boolean;
2878
- }, {
2879
- errors: string[];
2880
- warnings: string[];
2881
- passed: boolean;
2882
- }>;
2883
- completedTasks: import("zod").ZodArray<import("zod").ZodString, "many">;
2884
- message: import("zod").ZodString;
2885
- error: import("zod").ZodOptional<import("zod").ZodString>;
2886
- }, "strip", import("zod").ZodTypeAny, {
2887
- message: string;
2888
- success: boolean;
2889
- validationResults: {
2890
- errors: string[];
2891
- warnings: string[];
2892
- passed: boolean;
2893
- };
2894
- completedTasks: string[];
2895
- filesModified: string[];
2896
- error?: string | undefined;
2897
- }, {
2898
- message: string;
2899
- success: boolean;
2900
- validationResults: {
2901
- errors: string[];
2902
- warnings: string[];
2903
- passed: boolean;
2904
- };
2905
- completedTasks: string[];
2906
- filesModified: string[];
2907
- error?: string | undefined;
2908
- }>>;
2909
- needsUserInput: import("zod").ZodOptional<import("zod").ZodBoolean>;
2910
- questions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2911
- id: import("zod").ZodString;
2912
- question: import("zod").ZodString;
2913
- type: import("zod").ZodEnum<["choice", "text", "boolean"]>;
2914
- options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2915
- context: import("zod").ZodOptional<import("zod").ZodString>;
2916
- }, "strip", import("zod").ZodTypeAny, {
2917
- type: "boolean" | "text" | "choice";
2918
- id: string;
2919
- question: string;
2920
- options?: string[] | undefined;
2921
- context?: string | undefined;
2922
- }, {
2923
- type: "boolean" | "text" | "choice";
2924
- id: string;
2925
- question: string;
2926
- options?: string[] | undefined;
2927
- context?: string | undefined;
2928
- }>, "many">>;
2929
- message: import("zod").ZodString;
2930
- nextSteps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2931
- error: import("zod").ZodOptional<import("zod").ZodString>;
2932
- }, "strip", import("zod").ZodTypeAny, {
2933
- message: string;
2934
- success: boolean;
2935
- action: "create" | "edit";
2936
- error?: string | undefined;
2937
- nextSteps?: string[] | undefined;
2938
- questions?: {
2939
- type: "boolean" | "text" | "choice";
2940
- id: string;
2941
- question: string;
2942
- options?: string[] | undefined;
2943
- context?: string | undefined;
2944
- }[] | undefined;
2945
- workflowName?: string | undefined;
2946
- projectStructure?: {
2947
- message: string;
2948
- success: boolean;
2949
- dependencies: Record<string, string>;
2950
- structure: {
2951
- hasWorkflowsDir: boolean;
2952
- hasAgentsDir: boolean;
2953
- hasToolsDir: boolean;
2954
- hasMastraIndex: boolean;
2955
- existingWorkflows: string[];
2956
- existingAgents: string[];
2957
- existingTools: string[];
2958
- };
2959
- error?: string | undefined;
2960
- } | undefined;
2961
- research?: {
2962
- message: string;
2963
- success: boolean;
2964
- documentation: {
2965
- workflowPatterns: string[];
2966
- stepExamples: string[];
2967
- bestPractices: string[];
2968
- };
2969
- webResources: {
2970
- relevance: number;
2971
- title: string;
2972
- url: string;
2973
- snippet: string;
2974
- }[];
2975
- error?: string | undefined;
2976
- } | undefined;
2977
- workflowFile?: string | undefined;
2978
- discovery?: {
2979
- message: string;
2980
- success: boolean;
2981
- workflows: {
2982
- file: string;
2983
- name: string;
2984
- description?: string | undefined;
2985
- steps?: string[] | undefined;
2986
- outputSchema?: any;
2987
- inputSchema?: any;
2988
- }[];
2989
- mastraIndexExists: boolean;
2990
- error?: string | undefined;
2991
- } | undefined;
2992
- planning?: {
2993
- message: string;
2994
- success: boolean;
2995
- tasks: {
2996
- status: "pending" | "in_progress" | "completed" | "blocked";
2997
- id: string;
2998
- content: string;
2999
- priority: "high" | "medium" | "low";
3000
- notes: string;
3001
- dependencies?: string[] | undefined;
3002
- }[];
3003
- reasoning: string;
3004
- questions: {
3005
- type: "boolean" | "text" | "choice";
3006
- id: string;
3007
- question: string;
3008
- options?: string[] | undefined;
3009
- context?: string | undefined;
3010
- }[];
3011
- planComplete: boolean;
3012
- error?: string | undefined;
3013
- allPreviousQuestions?: any[] | undefined;
3014
- allPreviousAnswers?: Record<string, string> | undefined;
3015
- } | undefined;
3016
- taskManagement?: {
3017
- message: string;
3018
- success: boolean;
3019
- tasks: {
3020
- status: "pending" | "in_progress" | "completed" | "blocked";
3021
- id: string;
3022
- content: string;
3023
- priority: "high" | "medium" | "low";
3024
- notes: string;
3025
- dependencies?: string[] | undefined;
3026
- }[];
3027
- error?: string | undefined;
3028
- } | undefined;
3029
- execution?: {
3030
- message: string;
3031
- success: boolean;
3032
- validationResults: {
3033
- errors: string[];
3034
- warnings: string[];
3035
- passed: boolean;
3036
- };
3037
- completedTasks: string[];
3038
- filesModified: string[];
3039
- error?: string | undefined;
3040
- } | undefined;
3041
- needsUserInput?: boolean | undefined;
3042
- }, {
3043
- message: string;
3044
- success: boolean;
3045
- action: "create" | "edit";
3046
- error?: string | undefined;
3047
- nextSteps?: string[] | undefined;
3048
- questions?: {
3049
- type: "boolean" | "text" | "choice";
3050
- id: string;
3051
- question: string;
3052
- options?: string[] | undefined;
3053
- context?: string | undefined;
3054
- }[] | undefined;
3055
- workflowName?: string | undefined;
3056
- projectStructure?: {
3057
- message: string;
3058
- success: boolean;
3059
- dependencies: Record<string, string>;
3060
- structure: {
3061
- hasWorkflowsDir: boolean;
3062
- hasAgentsDir: boolean;
3063
- hasToolsDir: boolean;
3064
- hasMastraIndex: boolean;
3065
- existingWorkflows: string[];
3066
- existingAgents: string[];
3067
- existingTools: string[];
3068
- };
3069
- error?: string | undefined;
3070
- } | undefined;
3071
- research?: {
3072
- message: string;
3073
- success: boolean;
3074
- documentation: {
3075
- workflowPatterns: string[];
3076
- stepExamples: string[];
3077
- bestPractices: string[];
3078
- };
3079
- webResources: {
3080
- relevance: number;
3081
- title: string;
3082
- url: string;
3083
- snippet: string;
3084
- }[];
3085
- error?: string | undefined;
3086
- } | undefined;
3087
- workflowFile?: string | undefined;
3088
- discovery?: {
3089
- message: string;
3090
- success: boolean;
3091
- workflows: {
3092
- file: string;
3093
- name: string;
3094
- description?: string | undefined;
3095
- steps?: string[] | undefined;
3096
- outputSchema?: any;
3097
- inputSchema?: any;
3098
- }[];
3099
- mastraIndexExists: boolean;
3100
- error?: string | undefined;
3101
- } | undefined;
3102
- planning?: {
3103
- message: string;
3104
- success: boolean;
3105
- tasks: {
3106
- id: string;
3107
- content: string;
3108
- priority: "high" | "medium" | "low";
3109
- notes: string;
3110
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
3111
- dependencies?: string[] | undefined;
3112
- }[];
3113
- reasoning: string;
3114
- questions: {
3115
- type: "boolean" | "text" | "choice";
3116
- id: string;
3117
- question: string;
3118
- options?: string[] | undefined;
3119
- context?: string | undefined;
3120
- }[];
3121
- planComplete: boolean;
3122
- error?: string | undefined;
3123
- allPreviousQuestions?: any[] | undefined;
3124
- allPreviousAnswers?: Record<string, string> | undefined;
3125
- } | undefined;
3126
- taskManagement?: {
3127
- message: string;
3128
- success: boolean;
3129
- tasks: {
3130
- id: string;
3131
- content: string;
3132
- priority: "high" | "medium" | "low";
3133
- notes: string;
3134
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
3135
- dependencies?: string[] | undefined;
3136
- }[];
3137
- error?: string | undefined;
3138
- } | undefined;
3139
- execution?: {
3140
- message: string;
3141
- success: boolean;
3142
- validationResults: {
3143
- errors: string[];
3144
- warnings: string[];
3145
- passed: boolean;
3146
- };
3147
- completedTasks: string[];
3148
- filesModified: string[];
3149
- error?: string | undefined;
3150
- } | undefined;
3151
- needsUserInput?: boolean | undefined;
3152
- }>, import("zod").ZodObject<{
3153
- success: import("zod").ZodBoolean;
3154
- action: import("zod").ZodEnum<["create", "edit"]>;
3155
- workflowName: import("zod").ZodOptional<import("zod").ZodString>;
3156
- workflowFile: import("zod").ZodOptional<import("zod").ZodString>;
3157
- discovery: import("zod").ZodOptional<import("zod").ZodObject<{
3158
- success: import("zod").ZodBoolean;
3159
- workflows: import("zod").ZodArray<import("zod").ZodObject<{
3160
- name: import("zod").ZodString;
3161
- file: import("zod").ZodString;
3162
- description: import("zod").ZodOptional<import("zod").ZodString>;
3163
- inputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
3164
- outputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
3165
- steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
3166
- }, "strip", import("zod").ZodTypeAny, {
3167
- file: string;
3168
- name: string;
3169
- description?: string | undefined;
3170
- steps?: string[] | undefined;
3171
- outputSchema?: any;
3172
- inputSchema?: any;
3173
- }, {
3174
- file: string;
3175
- name: string;
3176
- description?: string | undefined;
3177
- steps?: string[] | undefined;
3178
- outputSchema?: any;
3179
- inputSchema?: any;
3180
- }>, "many">;
3181
- mastraIndexExists: import("zod").ZodBoolean;
3182
- message: import("zod").ZodString;
3183
- error: import("zod").ZodOptional<import("zod").ZodString>;
3184
- }, "strip", import("zod").ZodTypeAny, {
3185
- message: string;
3186
- success: boolean;
3187
- workflows: {
3188
- file: string;
3189
- name: string;
3190
- description?: string | undefined;
3191
- steps?: string[] | undefined;
3192
- outputSchema?: any;
3193
- inputSchema?: any;
3194
- }[];
3195
- mastraIndexExists: boolean;
3196
- error?: string | undefined;
3197
- }, {
3198
- message: string;
3199
- success: boolean;
3200
- workflows: {
3201
- file: string;
3202
- name: string;
3203
- description?: string | undefined;
3204
- steps?: string[] | undefined;
3205
- outputSchema?: any;
3206
- inputSchema?: any;
3207
- }[];
3208
- mastraIndexExists: boolean;
3209
- error?: string | undefined;
3210
- }>>;
3211
- projectStructure: import("zod").ZodOptional<import("zod").ZodObject<{
3212
- success: import("zod").ZodBoolean;
3213
- structure: import("zod").ZodObject<{
3214
- hasWorkflowsDir: import("zod").ZodBoolean;
3215
- hasAgentsDir: import("zod").ZodBoolean;
3216
- hasToolsDir: import("zod").ZodBoolean;
3217
- hasMastraIndex: import("zod").ZodBoolean;
3218
- existingWorkflows: import("zod").ZodArray<import("zod").ZodString, "many">;
3219
- existingAgents: import("zod").ZodArray<import("zod").ZodString, "many">;
3220
- existingTools: import("zod").ZodArray<import("zod").ZodString, "many">;
3221
- }, "strip", import("zod").ZodTypeAny, {
3222
- hasWorkflowsDir: boolean;
3223
- hasAgentsDir: boolean;
3224
- hasToolsDir: boolean;
3225
- hasMastraIndex: boolean;
3226
- existingWorkflows: string[];
3227
- existingAgents: string[];
3228
- existingTools: string[];
3229
- }, {
3230
- hasWorkflowsDir: boolean;
3231
- hasAgentsDir: boolean;
3232
- hasToolsDir: boolean;
3233
- hasMastraIndex: boolean;
3234
- existingWorkflows: string[];
3235
- existingAgents: string[];
3236
- existingTools: string[];
3237
- }>;
3238
- dependencies: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3239
- message: import("zod").ZodString;
3240
- error: import("zod").ZodOptional<import("zod").ZodString>;
3241
- }, "strip", import("zod").ZodTypeAny, {
3242
- message: string;
3243
- success: boolean;
3244
- dependencies: Record<string, string>;
3245
- structure: {
3246
- hasWorkflowsDir: boolean;
3247
- hasAgentsDir: boolean;
3248
- hasToolsDir: boolean;
3249
- hasMastraIndex: boolean;
3250
- existingWorkflows: string[];
3251
- existingAgents: string[];
3252
- existingTools: string[];
3253
- };
3254
- error?: string | undefined;
3255
- }, {
3256
- message: string;
3257
- success: boolean;
3258
- dependencies: Record<string, string>;
3259
- structure: {
3260
- hasWorkflowsDir: boolean;
3261
- hasAgentsDir: boolean;
3262
- hasToolsDir: boolean;
3263
- hasMastraIndex: boolean;
3264
- existingWorkflows: string[];
3265
- existingAgents: string[];
3266
- existingTools: string[];
3267
- };
3268
- error?: string | undefined;
3269
- }>>;
3270
- research: import("zod").ZodOptional<import("zod").ZodObject<{
3271
- success: import("zod").ZodBoolean;
3272
- documentation: import("zod").ZodObject<{
3273
- workflowPatterns: import("zod").ZodArray<import("zod").ZodString, "many">;
3274
- stepExamples: import("zod").ZodArray<import("zod").ZodString, "many">;
3275
- bestPractices: import("zod").ZodArray<import("zod").ZodString, "many">;
3276
- }, "strip", import("zod").ZodTypeAny, {
3277
- workflowPatterns: string[];
3278
- stepExamples: string[];
3279
- bestPractices: string[];
3280
- }, {
3281
- workflowPatterns: string[];
3282
- stepExamples: string[];
3283
- bestPractices: string[];
3284
- }>;
3285
- webResources: import("zod").ZodArray<import("zod").ZodObject<{
3286
- title: import("zod").ZodString;
3287
- url: import("zod").ZodString;
3288
- snippet: import("zod").ZodString;
3289
- relevance: import("zod").ZodNumber;
3290
- }, "strip", import("zod").ZodTypeAny, {
3291
- relevance: number;
3292
- title: string;
3293
- url: string;
3294
- snippet: string;
3295
- }, {
3296
- relevance: number;
3297
- title: string;
3298
- url: string;
3299
- snippet: string;
3300
- }>, "many">;
3301
- message: import("zod").ZodString;
3302
- error: import("zod").ZodOptional<import("zod").ZodString>;
3303
- }, "strip", import("zod").ZodTypeAny, {
3304
- message: string;
3305
- success: boolean;
3306
- documentation: {
3307
- workflowPatterns: string[];
3308
- stepExamples: string[];
3309
- bestPractices: string[];
3310
- };
3311
- webResources: {
3312
- relevance: number;
3313
- title: string;
3314
- url: string;
3315
- snippet: string;
3316
- }[];
3317
- error?: string | undefined;
3318
- }, {
3319
- message: string;
3320
- success: boolean;
3321
- documentation: {
3322
- workflowPatterns: string[];
3323
- stepExamples: string[];
3324
- bestPractices: string[];
3325
- };
3326
- webResources: {
3327
- relevance: number;
3328
- title: string;
3329
- url: string;
3330
- snippet: string;
3331
- }[];
3332
- error?: string | undefined;
3333
- }>>;
3334
- planning: import("zod").ZodOptional<import("zod").ZodObject<{
3335
- success: import("zod").ZodBoolean;
3336
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
3337
- id: import("zod").ZodString;
3338
- content: import("zod").ZodString;
3339
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
3340
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
3341
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
3342
- notes: import("zod").ZodString;
3343
- }, "strip", import("zod").ZodTypeAny, {
3344
- status: "pending" | "in_progress" | "completed" | "blocked";
3345
- id: string;
3346
- content: string;
3347
- priority: "high" | "medium" | "low";
3348
- notes: string;
3349
- dependencies?: string[] | undefined;
3350
- }, {
3351
- id: string;
3352
- content: string;
3353
- priority: "high" | "medium" | "low";
3354
- notes: string;
3355
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
3356
- dependencies?: string[] | undefined;
3357
- }>, "many">;
3358
- questions: import("zod").ZodArray<import("zod").ZodObject<{
3359
- id: import("zod").ZodString;
3360
- question: import("zod").ZodString;
3361
- type: import("zod").ZodEnum<["choice", "text", "boolean"]>;
3362
- options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
3363
- context: import("zod").ZodOptional<import("zod").ZodString>;
3364
- }, "strip", import("zod").ZodTypeAny, {
3365
- type: "boolean" | "text" | "choice";
3366
- id: string;
3367
- question: string;
3368
- options?: string[] | undefined;
3369
- context?: string | undefined;
3370
- }, {
3371
- type: "boolean" | "text" | "choice";
3372
- id: string;
3373
- question: string;
3374
- options?: string[] | undefined;
3375
- context?: string | undefined;
3376
- }>, "many">;
3377
- reasoning: import("zod").ZodString;
3378
- planComplete: import("zod").ZodBoolean;
3379
- message: import("zod").ZodString;
3380
- error: import("zod").ZodOptional<import("zod").ZodString>;
3381
- allPreviousQuestions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
3382
- allPreviousAnswers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
3383
- }, "strip", import("zod").ZodTypeAny, {
3384
- message: string;
3385
- success: boolean;
3386
- tasks: {
3387
- status: "pending" | "in_progress" | "completed" | "blocked";
3388
- id: string;
3389
- content: string;
3390
- priority: "high" | "medium" | "low";
3391
- notes: string;
3392
- dependencies?: string[] | undefined;
3393
- }[];
3394
- reasoning: string;
3395
- questions: {
3396
- type: "boolean" | "text" | "choice";
3397
- id: string;
3398
- question: string;
3399
- options?: string[] | undefined;
3400
- context?: string | undefined;
3401
- }[];
3402
- planComplete: boolean;
3403
- error?: string | undefined;
3404
- allPreviousQuestions?: any[] | undefined;
3405
- allPreviousAnswers?: Record<string, string> | undefined;
3406
- }, {
3407
- message: string;
3408
- success: boolean;
3409
- tasks: {
3410
- id: string;
3411
- content: string;
3412
- priority: "high" | "medium" | "low";
3413
- notes: string;
3414
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
3415
- dependencies?: string[] | undefined;
3416
- }[];
3417
- reasoning: string;
3418
- questions: {
3419
- type: "boolean" | "text" | "choice";
3420
- id: string;
3421
- question: string;
3422
- options?: string[] | undefined;
3423
- context?: string | undefined;
3424
- }[];
3425
- planComplete: boolean;
3426
- error?: string | undefined;
3427
- allPreviousQuestions?: any[] | undefined;
3428
- allPreviousAnswers?: Record<string, string> | undefined;
3429
- }>>;
3430
- taskManagement: import("zod").ZodOptional<import("zod").ZodObject<{
3431
- success: import("zod").ZodBoolean;
3432
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
3433
- id: import("zod").ZodString;
3434
- content: import("zod").ZodString;
3435
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
3436
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
3437
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
3438
- notes: import("zod").ZodString;
3439
- }, "strip", import("zod").ZodTypeAny, {
3440
- status: "pending" | "in_progress" | "completed" | "blocked";
3441
- id: string;
3442
- content: string;
3443
- priority: "high" | "medium" | "low";
3444
- notes: string;
3445
- dependencies?: string[] | undefined;
3446
- }, {
3447
- id: string;
3448
- content: string;
3449
- priority: "high" | "medium" | "low";
3450
- notes: string;
3451
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
3452
- dependencies?: string[] | undefined;
3453
- }>, "many">;
3454
- message: import("zod").ZodString;
3455
- error: import("zod").ZodOptional<import("zod").ZodString>;
3456
- }, "strip", import("zod").ZodTypeAny, {
3457
- message: string;
3458
- success: boolean;
3459
- tasks: {
3460
- status: "pending" | "in_progress" | "completed" | "blocked";
3461
- id: string;
3462
- content: string;
3463
- priority: "high" | "medium" | "low";
3464
- notes: string;
3465
- dependencies?: string[] | undefined;
3466
- }[];
3467
- error?: string | undefined;
3468
- }, {
3469
- message: string;
3470
- success: boolean;
3471
- tasks: {
3472
- id: string;
3473
- content: string;
3474
- priority: "high" | "medium" | "low";
3475
- notes: string;
3476
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
3477
- dependencies?: string[] | undefined;
3478
- }[];
3479
- error?: string | undefined;
3480
- }>>;
3481
- execution: import("zod").ZodOptional<import("zod").ZodObject<{
3482
- success: import("zod").ZodBoolean;
3483
- filesModified: import("zod").ZodArray<import("zod").ZodString, "many">;
3484
- validationResults: import("zod").ZodObject<{
3485
- passed: import("zod").ZodBoolean;
3486
- errors: import("zod").ZodArray<import("zod").ZodString, "many">;
3487
- warnings: import("zod").ZodArray<import("zod").ZodString, "many">;
3488
- }, "strip", import("zod").ZodTypeAny, {
3489
- errors: string[];
3490
- warnings: string[];
3491
- passed: boolean;
3492
- }, {
3493
- errors: string[];
3494
- warnings: string[];
3495
- passed: boolean;
3496
- }>;
3497
- completedTasks: import("zod").ZodArray<import("zod").ZodString, "many">;
3498
- message: import("zod").ZodString;
3499
- error: import("zod").ZodOptional<import("zod").ZodString>;
3500
- }, "strip", import("zod").ZodTypeAny, {
3501
- message: string;
3502
- success: boolean;
3503
- validationResults: {
3504
- errors: string[];
3505
- warnings: string[];
3506
- passed: boolean;
3507
- };
3508
- completedTasks: string[];
3509
- filesModified: string[];
3510
- error?: string | undefined;
3511
- }, {
3512
- message: string;
3513
- success: boolean;
3514
- validationResults: {
3515
- errors: string[];
3516
- warnings: string[];
3517
- passed: boolean;
3518
- };
3519
- completedTasks: string[];
3520
- filesModified: string[];
3521
- error?: string | undefined;
3522
- }>>;
3523
- needsUserInput: import("zod").ZodOptional<import("zod").ZodBoolean>;
3524
- questions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3525
- id: import("zod").ZodString;
3526
- question: import("zod").ZodString;
3527
- type: import("zod").ZodEnum<["choice", "text", "boolean"]>;
3528
- options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
3529
- context: import("zod").ZodOptional<import("zod").ZodString>;
3530
- }, "strip", import("zod").ZodTypeAny, {
3531
- type: "boolean" | "text" | "choice";
3532
- id: string;
3533
- question: string;
3534
- options?: string[] | undefined;
3535
- context?: string | undefined;
3536
- }, {
3537
- type: "boolean" | "text" | "choice";
3538
- id: string;
3539
- question: string;
3540
- options?: string[] | undefined;
3541
- context?: string | undefined;
3542
- }>, "many">>;
3543
- message: import("zod").ZodString;
3544
- nextSteps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
3545
- error: import("zod").ZodOptional<import("zod").ZodString>;
3546
- }, "strip", import("zod").ZodTypeAny, {
3547
- message: string;
3548
- success: boolean;
3549
- action: "create" | "edit";
3550
- error?: string | undefined;
3551
- nextSteps?: string[] | undefined;
3552
- questions?: {
3553
- type: "boolean" | "text" | "choice";
3554
- id: string;
3555
- question: string;
3556
- options?: string[] | undefined;
3557
- context?: string | undefined;
3558
- }[] | undefined;
3559
- workflowName?: string | undefined;
3560
- projectStructure?: {
3561
- message: string;
3562
- success: boolean;
3563
- dependencies: Record<string, string>;
3564
- structure: {
3565
- hasWorkflowsDir: boolean;
3566
- hasAgentsDir: boolean;
3567
- hasToolsDir: boolean;
3568
- hasMastraIndex: boolean;
3569
- existingWorkflows: string[];
3570
- existingAgents: string[];
3571
- existingTools: string[];
3572
- };
3573
- error?: string | undefined;
3574
- } | undefined;
3575
- research?: {
3576
- message: string;
3577
- success: boolean;
3578
- documentation: {
3579
- workflowPatterns: string[];
3580
- stepExamples: string[];
3581
- bestPractices: string[];
3582
- };
3583
- webResources: {
3584
- relevance: number;
3585
- title: string;
3586
- url: string;
3587
- snippet: string;
3588
- }[];
3589
- error?: string | undefined;
3590
- } | undefined;
3591
- workflowFile?: string | undefined;
3592
- discovery?: {
3593
- message: string;
3594
- success: boolean;
3595
- workflows: {
3596
- file: string;
3597
- name: string;
3598
- description?: string | undefined;
3599
- steps?: string[] | undefined;
3600
- outputSchema?: any;
3601
- inputSchema?: any;
3602
- }[];
3603
- mastraIndexExists: boolean;
3604
- error?: string | undefined;
3605
- } | undefined;
3606
- planning?: {
3607
- message: string;
3608
- success: boolean;
3609
- tasks: {
3610
- status: "pending" | "in_progress" | "completed" | "blocked";
3611
- id: string;
3612
- content: string;
3613
- priority: "high" | "medium" | "low";
3614
- notes: string;
3615
- dependencies?: string[] | undefined;
3616
- }[];
3617
- reasoning: string;
3618
- questions: {
3619
- type: "boolean" | "text" | "choice";
3620
- id: string;
3621
- question: string;
3622
- options?: string[] | undefined;
3623
- context?: string | undefined;
3624
- }[];
3625
- planComplete: boolean;
3626
- error?: string | undefined;
3627
- allPreviousQuestions?: any[] | undefined;
3628
- allPreviousAnswers?: Record<string, string> | undefined;
3629
- } | undefined;
3630
- taskManagement?: {
3631
- message: string;
3632
- success: boolean;
3633
- tasks: {
3634
- status: "pending" | "in_progress" | "completed" | "blocked";
3635
- id: string;
3636
- content: string;
3637
- priority: "high" | "medium" | "low";
3638
- notes: string;
3639
- dependencies?: string[] | undefined;
3640
- }[];
3641
- error?: string | undefined;
3642
- } | undefined;
3643
- execution?: {
3644
- message: string;
3645
- success: boolean;
3646
- validationResults: {
3647
- errors: string[];
3648
- warnings: string[];
3649
- passed: boolean;
3650
- };
3651
- completedTasks: string[];
3652
- filesModified: string[];
3653
- error?: string | undefined;
3654
- } | undefined;
3655
- needsUserInput?: boolean | undefined;
3656
- }, {
3657
- message: string;
3658
- success: boolean;
3659
- action: "create" | "edit";
3660
- error?: string | undefined;
3661
- nextSteps?: string[] | undefined;
3662
- questions?: {
3663
- type: "boolean" | "text" | "choice";
3664
- id: string;
3665
- question: string;
3666
- options?: string[] | undefined;
3667
- context?: string | undefined;
3668
- }[] | undefined;
3669
- workflowName?: string | undefined;
3670
- projectStructure?: {
3671
- message: string;
3672
- success: boolean;
3673
- dependencies: Record<string, string>;
3674
- structure: {
3675
- hasWorkflowsDir: boolean;
3676
- hasAgentsDir: boolean;
3677
- hasToolsDir: boolean;
3678
- hasMastraIndex: boolean;
3679
- existingWorkflows: string[];
3680
- existingAgents: string[];
3681
- existingTools: string[];
3682
- };
3683
- error?: string | undefined;
3684
- } | undefined;
3685
- research?: {
3686
- message: string;
3687
- success: boolean;
3688
- documentation: {
3689
- workflowPatterns: string[];
3690
- stepExamples: string[];
3691
- bestPractices: string[];
3692
- };
3693
- webResources: {
3694
- relevance: number;
3695
- title: string;
3696
- url: string;
3697
- snippet: string;
3698
- }[];
3699
- error?: string | undefined;
3700
- } | undefined;
3701
- workflowFile?: string | undefined;
3702
- discovery?: {
3703
- message: string;
3704
- success: boolean;
3705
- workflows: {
3706
- file: string;
3707
- name: string;
3708
- description?: string | undefined;
3709
- steps?: string[] | undefined;
3710
- outputSchema?: any;
3711
- inputSchema?: any;
3712
- }[];
3713
- mastraIndexExists: boolean;
3714
- error?: string | undefined;
3715
- } | undefined;
3716
- planning?: {
3717
- message: string;
3718
- success: boolean;
3719
- tasks: {
3720
- id: string;
3721
- content: string;
3722
- priority: "high" | "medium" | "low";
3723
- notes: string;
3724
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
3725
- dependencies?: string[] | undefined;
3726
- }[];
3727
- reasoning: string;
3728
- questions: {
3729
- type: "boolean" | "text" | "choice";
3730
- id: string;
3731
- question: string;
3732
- options?: string[] | undefined;
3733
- context?: string | undefined;
3734
- }[];
3735
- planComplete: boolean;
3736
- error?: string | undefined;
3737
- allPreviousQuestions?: any[] | undefined;
3738
- allPreviousAnswers?: Record<string, string> | undefined;
3739
- } | undefined;
3740
- taskManagement?: {
3741
- message: string;
3742
- success: boolean;
3743
- tasks: {
3744
- id: string;
3745
- content: string;
3746
- priority: "high" | "medium" | "low";
3747
- notes: string;
3748
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
3749
- dependencies?: string[] | undefined;
3750
- }[];
3751
- error?: string | undefined;
3752
- } | undefined;
3753
- execution?: {
3754
- message: string;
3755
- success: boolean;
3756
- validationResults: {
3757
- errors: string[];
3758
- warnings: string[];
3759
- passed: boolean;
3760
- };
3761
- completedTasks: string[];
3762
- filesModified: string[];
3763
- error?: string | undefined;
3764
- } | undefined;
3765
- needsUserInput?: boolean | undefined;
3766
- }>>;
3767
- };
1
+ import type { Workflow } from '@mastra/core/workflows';
2
+ export declare const agentBuilderWorkflows: Record<string, Workflow<any, any, any, any, any, any>>;
3768
3
  //# sourceMappingURL=workflow-map.d.ts.map