@mastra/agent-builder 0.0.0-main-test-2-20251127211532 → 0.0.0-mastra-auto-detect-server-20260108233416

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,20 +1,21 @@
1
- export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core/workflows").DefaultEngineType, (import("@mastra/core/workflows").Step<"planning-iteration", import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
1
+ import type z from 'zod';
2
+ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core/workflows").DefaultEngineType, (import("@mastra/core/workflows").Step<"planning-iteration", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
2
3
  [x: string]: any;
3
4
  }, {
4
5
  [x: string]: any;
5
- }>, import("zod").ZodObject<{
6
- action: import("zod").ZodEnum<["create", "edit"]>;
7
- workflowName: import("zod").ZodOptional<import("zod").ZodString>;
8
- description: import("zod").ZodOptional<import("zod").ZodString>;
9
- requirements: import("zod").ZodOptional<import("zod").ZodString>;
10
- discoveredWorkflows: import("zod").ZodArray<import("zod").ZodObject<{
11
- name: import("zod").ZodString;
12
- file: import("zod").ZodString;
13
- description: import("zod").ZodOptional<import("zod").ZodString>;
14
- inputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
15
- outputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
16
- steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
17
- }, "strip", import("zod").ZodTypeAny, {
6
+ }>, z.ZodObject<{
7
+ action: z.ZodEnum<["create", "edit"]>;
8
+ workflowName: z.ZodOptional<z.ZodString>;
9
+ description: z.ZodOptional<z.ZodString>;
10
+ requirements: z.ZodOptional<z.ZodString>;
11
+ discoveredWorkflows: z.ZodArray<z.ZodObject<{
12
+ name: z.ZodString;
13
+ file: z.ZodString;
14
+ description: z.ZodOptional<z.ZodString>;
15
+ inputSchema: z.ZodOptional<z.ZodAny>;
16
+ outputSchema: z.ZodOptional<z.ZodAny>;
17
+ steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18
+ }, "strip", z.ZodTypeAny, {
18
19
  file: string;
19
20
  name: string;
20
21
  description?: string | undefined;
@@ -29,17 +30,17 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
29
30
  inputSchema?: any;
30
31
  steps?: string[] | undefined;
31
32
  }>, "many">;
32
- projectStructure: import("zod").ZodObject<{
33
- success: import("zod").ZodBoolean;
34
- structure: import("zod").ZodObject<{
35
- hasWorkflowsDir: import("zod").ZodBoolean;
36
- hasAgentsDir: import("zod").ZodBoolean;
37
- hasToolsDir: import("zod").ZodBoolean;
38
- hasMastraIndex: import("zod").ZodBoolean;
39
- existingWorkflows: import("zod").ZodArray<import("zod").ZodString, "many">;
40
- existingAgents: import("zod").ZodArray<import("zod").ZodString, "many">;
41
- existingTools: import("zod").ZodArray<import("zod").ZodString, "many">;
42
- }, "strip", import("zod").ZodTypeAny, {
33
+ projectStructure: z.ZodObject<{
34
+ success: z.ZodBoolean;
35
+ structure: z.ZodObject<{
36
+ hasWorkflowsDir: z.ZodBoolean;
37
+ hasAgentsDir: z.ZodBoolean;
38
+ hasToolsDir: z.ZodBoolean;
39
+ hasMastraIndex: z.ZodBoolean;
40
+ existingWorkflows: z.ZodArray<z.ZodString, "many">;
41
+ existingAgents: z.ZodArray<z.ZodString, "many">;
42
+ existingTools: z.ZodArray<z.ZodString, "many">;
43
+ }, "strip", z.ZodTypeAny, {
43
44
  hasWorkflowsDir: boolean;
44
45
  hasAgentsDir: boolean;
45
46
  hasToolsDir: boolean;
@@ -56,10 +57,10 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
56
57
  existingAgents: string[];
57
58
  existingTools: string[];
58
59
  }>;
59
- dependencies: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
60
- message: import("zod").ZodString;
61
- error: import("zod").ZodOptional<import("zod").ZodString>;
62
- }, "strip", import("zod").ZodTypeAny, {
60
+ dependencies: z.ZodRecord<z.ZodString, z.ZodString>;
61
+ message: z.ZodString;
62
+ error: z.ZodOptional<z.ZodString>;
63
+ }, "strip", z.ZodTypeAny, {
63
64
  message: string;
64
65
  success: boolean;
65
66
  dependencies: Record<string, string>;
@@ -88,13 +89,13 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
88
89
  };
89
90
  error?: string | undefined;
90
91
  }>;
91
- research: import("zod").ZodObject<{
92
- success: import("zod").ZodBoolean;
93
- documentation: import("zod").ZodObject<{
94
- workflowPatterns: import("zod").ZodArray<import("zod").ZodString, "many">;
95
- stepExamples: import("zod").ZodArray<import("zod").ZodString, "many">;
96
- bestPractices: import("zod").ZodArray<import("zod").ZodString, "many">;
97
- }, "strip", import("zod").ZodTypeAny, {
92
+ research: z.ZodObject<{
93
+ success: z.ZodBoolean;
94
+ documentation: z.ZodObject<{
95
+ workflowPatterns: z.ZodArray<z.ZodString, "many">;
96
+ stepExamples: z.ZodArray<z.ZodString, "many">;
97
+ bestPractices: z.ZodArray<z.ZodString, "many">;
98
+ }, "strip", z.ZodTypeAny, {
98
99
  workflowPatterns: string[];
99
100
  stepExamples: string[];
100
101
  bestPractices: string[];
@@ -103,12 +104,12 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
103
104
  stepExamples: string[];
104
105
  bestPractices: string[];
105
106
  }>;
106
- webResources: import("zod").ZodArray<import("zod").ZodObject<{
107
- title: import("zod").ZodString;
108
- url: import("zod").ZodString;
109
- snippet: import("zod").ZodString;
110
- relevance: import("zod").ZodNumber;
111
- }, "strip", import("zod").ZodTypeAny, {
107
+ webResources: z.ZodArray<z.ZodObject<{
108
+ title: z.ZodString;
109
+ url: z.ZodString;
110
+ snippet: z.ZodString;
111
+ relevance: z.ZodNumber;
112
+ }, "strip", z.ZodTypeAny, {
112
113
  url: string;
113
114
  relevance: number;
114
115
  title: string;
@@ -119,9 +120,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
119
120
  title: string;
120
121
  snippet: string;
121
122
  }>, "many">;
122
- message: import("zod").ZodString;
123
- error: import("zod").ZodOptional<import("zod").ZodString>;
124
- }, "strip", import("zod").ZodTypeAny, {
123
+ message: z.ZodString;
124
+ error: z.ZodOptional<z.ZodString>;
125
+ }, "strip", z.ZodTypeAny, {
125
126
  message: string;
126
127
  success: boolean;
127
128
  documentation: {
@@ -152,8 +153,8 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
152
153
  }[];
153
154
  error?: string | undefined;
154
155
  }>;
155
- userAnswers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
156
- }, "strip", import("zod").ZodTypeAny, {
156
+ userAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
157
+ }, "strip", z.ZodTypeAny, {
157
158
  action: "create" | "edit";
158
159
  discoveredWorkflows: {
159
160
  file: string;
@@ -243,16 +244,16 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
243
244
  workflowName?: string | undefined;
244
245
  requirements?: string | undefined;
245
246
  userAnswers?: Record<string, string> | undefined;
246
- }>, import("zod").ZodObject<{
247
- success: import("zod").ZodBoolean;
248
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
249
- id: import("zod").ZodString;
250
- content: import("zod").ZodString;
251
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
252
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
253
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
254
- notes: import("zod").ZodString;
255
- }, "strip", import("zod").ZodTypeAny, {
247
+ }>, z.ZodObject<{
248
+ success: z.ZodBoolean;
249
+ tasks: z.ZodArray<z.ZodObject<{
250
+ id: z.ZodString;
251
+ content: z.ZodString;
252
+ status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
253
+ priority: z.ZodEnum<["high", "medium", "low"]>;
254
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
255
+ notes: z.ZodString;
256
+ }, "strip", z.ZodTypeAny, {
256
257
  status: "pending" | "in_progress" | "completed" | "blocked";
257
258
  id: string;
258
259
  content: string;
@@ -267,13 +268,13 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
267
268
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
268
269
  dependencies?: string[] | undefined;
269
270
  }>, "many">;
270
- questions: import("zod").ZodArray<import("zod").ZodObject<{
271
- id: import("zod").ZodString;
272
- question: import("zod").ZodString;
273
- type: import("zod").ZodEnum<["choice", "text", "boolean"]>;
274
- options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
275
- context: import("zod").ZodOptional<import("zod").ZodString>;
276
- }, "strip", import("zod").ZodTypeAny, {
271
+ questions: z.ZodArray<z.ZodObject<{
272
+ id: z.ZodString;
273
+ question: z.ZodString;
274
+ type: z.ZodEnum<["choice", "text", "boolean"]>;
275
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
276
+ context: z.ZodOptional<z.ZodString>;
277
+ }, "strip", z.ZodTypeAny, {
277
278
  type: "boolean" | "text" | "choice";
278
279
  id: string;
279
280
  question: string;
@@ -286,13 +287,13 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
286
287
  options?: string[] | undefined;
287
288
  context?: string | undefined;
288
289
  }>, "many">;
289
- reasoning: import("zod").ZodString;
290
- planComplete: import("zod").ZodBoolean;
291
- message: import("zod").ZodString;
292
- error: import("zod").ZodOptional<import("zod").ZodString>;
293
- allPreviousQuestions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
294
- allPreviousAnswers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
295
- }, "strip", import("zod").ZodTypeAny, {
290
+ reasoning: z.ZodString;
291
+ planComplete: z.ZodBoolean;
292
+ message: z.ZodString;
293
+ error: z.ZodOptional<z.ZodString>;
294
+ allPreviousQuestions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
295
+ allPreviousAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
296
+ }, "strip", z.ZodTypeAny, {
296
297
  message: string;
297
298
  success: boolean;
298
299
  reasoning: string;
@@ -338,20 +339,20 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
338
339
  error?: string | undefined;
339
340
  allPreviousQuestions?: any[] | undefined;
340
341
  allPreviousAnswers?: Record<string, string> | undefined;
341
- }>, import("zod").ZodObject<{
342
- answers: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
343
- }, "strip", import("zod").ZodTypeAny, {
342
+ }>, z.ZodObject<{
343
+ answers: z.ZodRecord<z.ZodString, z.ZodString>;
344
+ }, "strip", z.ZodTypeAny, {
344
345
  answers: Record<string, string>;
345
346
  }, {
346
347
  answers: Record<string, string>;
347
- }>, import("zod").ZodObject<{
348
- questions: import("zod").ZodArray<import("zod").ZodObject<{
349
- id: import("zod").ZodString;
350
- question: import("zod").ZodString;
351
- type: import("zod").ZodEnum<["choice", "text", "boolean"]>;
352
- options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
353
- context: import("zod").ZodOptional<import("zod").ZodString>;
354
- }, "strip", import("zod").ZodTypeAny, {
348
+ }>, z.ZodObject<{
349
+ questions: z.ZodArray<z.ZodObject<{
350
+ id: z.ZodString;
351
+ question: z.ZodString;
352
+ type: z.ZodEnum<["choice", "text", "boolean"]>;
353
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
354
+ context: z.ZodOptional<z.ZodString>;
355
+ }, "strip", z.ZodTypeAny, {
355
356
  type: "boolean" | "text" | "choice";
356
357
  id: string;
357
358
  question: string;
@@ -364,16 +365,16 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
364
365
  options?: string[] | undefined;
365
366
  context?: string | undefined;
366
367
  }>, "many">;
367
- message: import("zod").ZodString;
368
- currentPlan: import("zod").ZodObject<{
369
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
370
- id: import("zod").ZodString;
371
- content: import("zod").ZodString;
372
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
373
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
374
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
375
- notes: import("zod").ZodString;
376
- }, "strip", import("zod").ZodTypeAny, {
368
+ message: z.ZodString;
369
+ currentPlan: z.ZodObject<{
370
+ tasks: z.ZodArray<z.ZodObject<{
371
+ id: z.ZodString;
372
+ content: z.ZodString;
373
+ status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
374
+ priority: z.ZodEnum<["high", "medium", "low"]>;
375
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
376
+ notes: z.ZodString;
377
+ }, "strip", z.ZodTypeAny, {
377
378
  status: "pending" | "in_progress" | "completed" | "blocked";
378
379
  id: string;
379
380
  content: string;
@@ -388,8 +389,8 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
388
389
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
389
390
  dependencies?: string[] | undefined;
390
391
  }>, "many">;
391
- reasoning: import("zod").ZodString;
392
- }, "strip", import("zod").ZodTypeAny, {
392
+ reasoning: z.ZodString;
393
+ }, "strip", z.ZodTypeAny, {
393
394
  reasoning: string;
394
395
  tasks: {
395
396
  status: "pending" | "in_progress" | "completed" | "blocked";
@@ -410,7 +411,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
410
411
  dependencies?: string[] | undefined;
411
412
  }[];
412
413
  }>;
413
- }, "strip", import("zod").ZodTypeAny, {
414
+ }, "strip", z.ZodTypeAny, {
414
415
  message: string;
415
416
  questions: {
416
417
  type: "boolean" | "text" | "choice";
@@ -450,20 +451,20 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
450
451
  dependencies?: string[] | undefined;
451
452
  }[];
452
453
  };
453
- }>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").Step<"task-approval", import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
454
+ }>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").Step<"task-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
454
455
  [x: string]: any;
455
456
  }, {
456
457
  [x: string]: any;
457
- }>, import("zod").ZodObject<{
458
- success: import("zod").ZodBoolean;
459
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
460
- id: import("zod").ZodString;
461
- content: import("zod").ZodString;
462
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
463
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
464
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
465
- notes: import("zod").ZodString;
466
- }, "strip", import("zod").ZodTypeAny, {
458
+ }>, z.ZodObject<{
459
+ success: z.ZodBoolean;
460
+ tasks: z.ZodArray<z.ZodObject<{
461
+ id: z.ZodString;
462
+ content: z.ZodString;
463
+ status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
464
+ priority: z.ZodEnum<["high", "medium", "low"]>;
465
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
466
+ notes: z.ZodString;
467
+ }, "strip", z.ZodTypeAny, {
467
468
  status: "pending" | "in_progress" | "completed" | "blocked";
468
469
  id: string;
469
470
  content: string;
@@ -478,13 +479,13 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
478
479
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
479
480
  dependencies?: string[] | undefined;
480
481
  }>, "many">;
481
- questions: import("zod").ZodArray<import("zod").ZodObject<{
482
- id: import("zod").ZodString;
483
- question: import("zod").ZodString;
484
- type: import("zod").ZodEnum<["choice", "text", "boolean"]>;
485
- options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
486
- context: import("zod").ZodOptional<import("zod").ZodString>;
487
- }, "strip", import("zod").ZodTypeAny, {
482
+ questions: z.ZodArray<z.ZodObject<{
483
+ id: z.ZodString;
484
+ question: z.ZodString;
485
+ type: z.ZodEnum<["choice", "text", "boolean"]>;
486
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
487
+ context: z.ZodOptional<z.ZodString>;
488
+ }, "strip", z.ZodTypeAny, {
488
489
  type: "boolean" | "text" | "choice";
489
490
  id: string;
490
491
  question: string;
@@ -497,13 +498,13 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
497
498
  options?: string[] | undefined;
498
499
  context?: string | undefined;
499
500
  }>, "many">;
500
- reasoning: import("zod").ZodString;
501
- planComplete: import("zod").ZodBoolean;
502
- message: import("zod").ZodString;
503
- error: import("zod").ZodOptional<import("zod").ZodString>;
504
- allPreviousQuestions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
505
- allPreviousAnswers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
506
- }, "strip", import("zod").ZodTypeAny, {
501
+ reasoning: z.ZodString;
502
+ planComplete: z.ZodBoolean;
503
+ message: z.ZodString;
504
+ error: z.ZodOptional<z.ZodString>;
505
+ allPreviousQuestions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
506
+ allPreviousAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
507
+ }, "strip", z.ZodTypeAny, {
507
508
  message: string;
508
509
  success: boolean;
509
510
  reasoning: string;
@@ -549,16 +550,16 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
549
550
  error?: string | undefined;
550
551
  allPreviousQuestions?: any[] | undefined;
551
552
  allPreviousAnswers?: Record<string, string> | undefined;
552
- }>, import("zod").ZodObject<{
553
- approved: import("zod").ZodBoolean;
554
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
555
- id: import("zod").ZodString;
556
- content: import("zod").ZodString;
557
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
558
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
559
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
560
- notes: import("zod").ZodString;
561
- }, "strip", import("zod").ZodTypeAny, {
553
+ }>, z.ZodObject<{
554
+ approved: z.ZodBoolean;
555
+ tasks: z.ZodArray<z.ZodObject<{
556
+ id: z.ZodString;
557
+ content: z.ZodString;
558
+ status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
559
+ priority: z.ZodEnum<["high", "medium", "low"]>;
560
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
561
+ notes: z.ZodString;
562
+ }, "strip", z.ZodTypeAny, {
562
563
  status: "pending" | "in_progress" | "completed" | "blocked";
563
564
  id: string;
564
565
  content: string;
@@ -573,9 +574,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
573
574
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
574
575
  dependencies?: string[] | undefined;
575
576
  }>, "many">;
576
- message: import("zod").ZodString;
577
- userFeedback: import("zod").ZodOptional<import("zod").ZodString>;
578
- }, "strip", import("zod").ZodTypeAny, {
577
+ message: z.ZodString;
578
+ userFeedback: z.ZodOptional<z.ZodString>;
579
+ }, "strip", z.ZodTypeAny, {
579
580
  message: string;
580
581
  tasks: {
581
582
  status: "pending" | "in_progress" | "completed" | "blocked";
@@ -599,24 +600,24 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
599
600
  }[];
600
601
  approved: boolean;
601
602
  userFeedback?: string | undefined;
602
- }>, import("zod").ZodObject<{
603
- approved: import("zod").ZodBoolean;
604
- modifications: import("zod").ZodOptional<import("zod").ZodString>;
605
- }, "strip", import("zod").ZodTypeAny, {
603
+ }>, z.ZodObject<{
604
+ approved: z.ZodBoolean;
605
+ modifications: z.ZodOptional<z.ZodString>;
606
+ }, "strip", z.ZodTypeAny, {
606
607
  approved: boolean;
607
608
  modifications?: string | undefined;
608
609
  }, {
609
610
  approved: boolean;
610
611
  modifications?: string | undefined;
611
- }>, import("zod").ZodObject<{
612
- taskList: import("zod").ZodArray<import("zod").ZodObject<{
613
- id: import("zod").ZodString;
614
- content: import("zod").ZodString;
615
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
616
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
617
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
618
- notes: import("zod").ZodString;
619
- }, "strip", import("zod").ZodTypeAny, {
612
+ }>, z.ZodObject<{
613
+ taskList: z.ZodArray<z.ZodObject<{
614
+ id: z.ZodString;
615
+ content: z.ZodString;
616
+ status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
617
+ priority: z.ZodEnum<["high", "medium", "low"]>;
618
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
619
+ notes: z.ZodString;
620
+ }, "strip", z.ZodTypeAny, {
620
621
  status: "pending" | "in_progress" | "completed" | "blocked";
621
622
  id: string;
622
623
  content: string;
@@ -631,9 +632,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
631
632
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
632
633
  dependencies?: string[] | undefined;
633
634
  }>, "many">;
634
- summary: import("zod").ZodString;
635
- message: import("zod").ZodString;
636
- }, "strip", import("zod").ZodTypeAny, {
635
+ summary: z.ZodString;
636
+ message: z.ZodString;
637
+ }, "strip", z.ZodTypeAny, {
637
638
  message: string;
638
639
  summary: string;
639
640
  taskList: {
@@ -655,23 +656,23 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
655
656
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
656
657
  dependencies?: string[] | undefined;
657
658
  }[];
658
- }>, import("@mastra/core/workflows").DefaultEngineType>)[], "planning-and-approval", import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
659
+ }>, import("@mastra/core/workflows").DefaultEngineType>)[], "planning-and-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
659
660
  [x: string]: any;
660
661
  }, {
661
662
  [x: string]: any;
662
- }>, import("zod").ZodObject<{
663
- action: import("zod").ZodEnum<["create", "edit"]>;
664
- workflowName: import("zod").ZodOptional<import("zod").ZodString>;
665
- description: import("zod").ZodOptional<import("zod").ZodString>;
666
- requirements: import("zod").ZodOptional<import("zod").ZodString>;
667
- discoveredWorkflows: import("zod").ZodArray<import("zod").ZodObject<{
668
- name: import("zod").ZodString;
669
- file: import("zod").ZodString;
670
- description: import("zod").ZodOptional<import("zod").ZodString>;
671
- inputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
672
- outputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
673
- steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
674
- }, "strip", import("zod").ZodTypeAny, {
663
+ }>, z.ZodObject<{
664
+ action: z.ZodEnum<["create", "edit"]>;
665
+ workflowName: z.ZodOptional<z.ZodString>;
666
+ description: z.ZodOptional<z.ZodString>;
667
+ requirements: z.ZodOptional<z.ZodString>;
668
+ discoveredWorkflows: z.ZodArray<z.ZodObject<{
669
+ name: z.ZodString;
670
+ file: z.ZodString;
671
+ description: z.ZodOptional<z.ZodString>;
672
+ inputSchema: z.ZodOptional<z.ZodAny>;
673
+ outputSchema: z.ZodOptional<z.ZodAny>;
674
+ steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
675
+ }, "strip", z.ZodTypeAny, {
675
676
  file: string;
676
677
  name: string;
677
678
  description?: string | undefined;
@@ -686,17 +687,17 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
686
687
  inputSchema?: any;
687
688
  steps?: string[] | undefined;
688
689
  }>, "many">;
689
- projectStructure: import("zod").ZodObject<{
690
- success: import("zod").ZodBoolean;
691
- structure: import("zod").ZodObject<{
692
- hasWorkflowsDir: import("zod").ZodBoolean;
693
- hasAgentsDir: import("zod").ZodBoolean;
694
- hasToolsDir: import("zod").ZodBoolean;
695
- hasMastraIndex: import("zod").ZodBoolean;
696
- existingWorkflows: import("zod").ZodArray<import("zod").ZodString, "many">;
697
- existingAgents: import("zod").ZodArray<import("zod").ZodString, "many">;
698
- existingTools: import("zod").ZodArray<import("zod").ZodString, "many">;
699
- }, "strip", import("zod").ZodTypeAny, {
690
+ projectStructure: z.ZodObject<{
691
+ success: z.ZodBoolean;
692
+ structure: z.ZodObject<{
693
+ hasWorkflowsDir: z.ZodBoolean;
694
+ hasAgentsDir: z.ZodBoolean;
695
+ hasToolsDir: z.ZodBoolean;
696
+ hasMastraIndex: z.ZodBoolean;
697
+ existingWorkflows: z.ZodArray<z.ZodString, "many">;
698
+ existingAgents: z.ZodArray<z.ZodString, "many">;
699
+ existingTools: z.ZodArray<z.ZodString, "many">;
700
+ }, "strip", z.ZodTypeAny, {
700
701
  hasWorkflowsDir: boolean;
701
702
  hasAgentsDir: boolean;
702
703
  hasToolsDir: boolean;
@@ -713,10 +714,10 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
713
714
  existingAgents: string[];
714
715
  existingTools: string[];
715
716
  }>;
716
- dependencies: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
717
- message: import("zod").ZodString;
718
- error: import("zod").ZodOptional<import("zod").ZodString>;
719
- }, "strip", import("zod").ZodTypeAny, {
717
+ dependencies: z.ZodRecord<z.ZodString, z.ZodString>;
718
+ message: z.ZodString;
719
+ error: z.ZodOptional<z.ZodString>;
720
+ }, "strip", z.ZodTypeAny, {
720
721
  message: string;
721
722
  success: boolean;
722
723
  dependencies: Record<string, string>;
@@ -745,13 +746,13 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
745
746
  };
746
747
  error?: string | undefined;
747
748
  }>;
748
- research: import("zod").ZodObject<{
749
- success: import("zod").ZodBoolean;
750
- documentation: import("zod").ZodObject<{
751
- workflowPatterns: import("zod").ZodArray<import("zod").ZodString, "many">;
752
- stepExamples: import("zod").ZodArray<import("zod").ZodString, "many">;
753
- bestPractices: import("zod").ZodArray<import("zod").ZodString, "many">;
754
- }, "strip", import("zod").ZodTypeAny, {
749
+ research: z.ZodObject<{
750
+ success: z.ZodBoolean;
751
+ documentation: z.ZodObject<{
752
+ workflowPatterns: z.ZodArray<z.ZodString, "many">;
753
+ stepExamples: z.ZodArray<z.ZodString, "many">;
754
+ bestPractices: z.ZodArray<z.ZodString, "many">;
755
+ }, "strip", z.ZodTypeAny, {
755
756
  workflowPatterns: string[];
756
757
  stepExamples: string[];
757
758
  bestPractices: string[];
@@ -760,12 +761,12 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
760
761
  stepExamples: string[];
761
762
  bestPractices: string[];
762
763
  }>;
763
- webResources: import("zod").ZodArray<import("zod").ZodObject<{
764
- title: import("zod").ZodString;
765
- url: import("zod").ZodString;
766
- snippet: import("zod").ZodString;
767
- relevance: import("zod").ZodNumber;
768
- }, "strip", import("zod").ZodTypeAny, {
764
+ webResources: z.ZodArray<z.ZodObject<{
765
+ title: z.ZodString;
766
+ url: z.ZodString;
767
+ snippet: z.ZodString;
768
+ relevance: z.ZodNumber;
769
+ }, "strip", z.ZodTypeAny, {
769
770
  url: string;
770
771
  relevance: number;
771
772
  title: string;
@@ -776,9 +777,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
776
777
  title: string;
777
778
  snippet: string;
778
779
  }>, "many">;
779
- message: import("zod").ZodString;
780
- error: import("zod").ZodOptional<import("zod").ZodString>;
781
- }, "strip", import("zod").ZodTypeAny, {
780
+ message: z.ZodString;
781
+ error: z.ZodOptional<z.ZodString>;
782
+ }, "strip", z.ZodTypeAny, {
782
783
  message: string;
783
784
  success: boolean;
784
785
  documentation: {
@@ -809,8 +810,8 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
809
810
  }[];
810
811
  error?: string | undefined;
811
812
  }>;
812
- userAnswers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
813
- }, "strip", import("zod").ZodTypeAny, {
813
+ userAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
814
+ }, "strip", z.ZodTypeAny, {
814
815
  action: "create" | "edit";
815
816
  discoveredWorkflows: {
816
817
  file: string;
@@ -900,16 +901,16 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
900
901
  workflowName?: string | undefined;
901
902
  requirements?: string | undefined;
902
903
  userAnswers?: Record<string, string> | undefined;
903
- }>, import("zod").ZodObject<{
904
- approved: import("zod").ZodBoolean;
905
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
906
- id: import("zod").ZodString;
907
- content: import("zod").ZodString;
908
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
909
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
910
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
911
- notes: import("zod").ZodString;
912
- }, "strip", import("zod").ZodTypeAny, {
904
+ }>, z.ZodObject<{
905
+ approved: z.ZodBoolean;
906
+ tasks: z.ZodArray<z.ZodObject<{
907
+ id: z.ZodString;
908
+ content: z.ZodString;
909
+ status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
910
+ priority: z.ZodEnum<["high", "medium", "low"]>;
911
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
912
+ notes: z.ZodString;
913
+ }, "strip", z.ZodTypeAny, {
913
914
  status: "pending" | "in_progress" | "completed" | "blocked";
914
915
  id: string;
915
916
  content: string;
@@ -924,9 +925,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
924
925
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
925
926
  dependencies?: string[] | undefined;
926
927
  }>, "many">;
927
- message: import("zod").ZodString;
928
- userFeedback: import("zod").ZodOptional<import("zod").ZodString>;
929
- }, "strip", import("zod").ZodTypeAny, {
928
+ message: z.ZodString;
929
+ userFeedback: z.ZodOptional<z.ZodString>;
930
+ }, "strip", z.ZodTypeAny, {
930
931
  message: string;
931
932
  tasks: {
932
933
  status: "pending" | "in_progress" | "completed" | "blocked";
@@ -950,16 +951,16 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
950
951
  }[];
951
952
  approved: boolean;
952
953
  userFeedback?: string | undefined;
953
- }>, import("zod").ZodObject<{
954
- approved: import("zod").ZodBoolean;
955
- tasks: import("zod").ZodArray<import("zod").ZodObject<{
956
- id: import("zod").ZodString;
957
- content: import("zod").ZodString;
958
- status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
959
- priority: import("zod").ZodEnum<["high", "medium", "low"]>;
960
- dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
961
- notes: import("zod").ZodString;
962
- }, "strip", import("zod").ZodTypeAny, {
954
+ }>, z.ZodObject<{
955
+ approved: z.ZodBoolean;
956
+ tasks: z.ZodArray<z.ZodObject<{
957
+ id: z.ZodString;
958
+ content: z.ZodString;
959
+ status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
960
+ priority: z.ZodEnum<["high", "medium", "low"]>;
961
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
962
+ notes: z.ZodString;
963
+ }, "strip", z.ZodTypeAny, {
963
964
  status: "pending" | "in_progress" | "completed" | "blocked";
964
965
  id: string;
965
966
  content: string;
@@ -974,9 +975,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
974
975
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
975
976
  dependencies?: string[] | undefined;
976
977
  }>, "many">;
977
- message: import("zod").ZodString;
978
- userFeedback: import("zod").ZodOptional<import("zod").ZodString>;
979
- }, "strip", import("zod").ZodTypeAny, {
978
+ message: z.ZodString;
979
+ userFeedback: z.ZodOptional<z.ZodString>;
980
+ }, "strip", z.ZodTypeAny, {
980
981
  message: string;
981
982
  tasks: {
982
983
  status: "pending" | "in_progress" | "completed" | "blocked";