@mastra/agent-builder 0.0.0-toolOptionTypes-20250917085558 → 0.0.0-trace-timeline-update-20251121114225

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,5 +1,9 @@
1
1
  import type { z } from 'zod';
2
- export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core").DefaultEngineType, (import("@mastra/core/workflows").Workflow<import("@mastra/core").DefaultEngineType, (import("@mastra/core").Step<"planning-iteration", z.ZodObject<{
2
+ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core/workflows").DefaultEngineType, (import("@mastra/core/workflows").Workflow<import("@mastra/core/workflows").DefaultEngineType, (import("@mastra/core/workflows").Step<"planning-iteration", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
3
+ [x: string]: any;
4
+ }, {
5
+ [x: string]: any;
6
+ }>, z.ZodObject<{
3
7
  action: z.ZodEnum<["create", "edit"]>;
4
8
  workflowName: z.ZodOptional<z.ZodString>;
5
9
  description: z.ZodOptional<z.ZodString>;
@@ -15,16 +19,16 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
15
19
  file: string;
16
20
  name: string;
17
21
  description?: string | undefined;
18
- steps?: string[] | undefined;
19
22
  outputSchema?: any;
20
23
  inputSchema?: any;
24
+ steps?: string[] | undefined;
21
25
  }, {
22
26
  file: string;
23
27
  name: string;
24
28
  description?: string | undefined;
25
- steps?: string[] | undefined;
26
29
  outputSchema?: any;
27
30
  inputSchema?: any;
31
+ steps?: string[] | undefined;
28
32
  }>, "many">;
29
33
  projectStructure: z.ZodObject<{
30
34
  success: z.ZodBoolean;
@@ -106,14 +110,14 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
106
110
  snippet: z.ZodString;
107
111
  relevance: z.ZodNumber;
108
112
  }, "strip", z.ZodTypeAny, {
113
+ url: string;
109
114
  relevance: number;
110
115
  title: string;
111
- url: string;
112
116
  snippet: string;
113
117
  }, {
118
+ url: string;
114
119
  relevance: number;
115
120
  title: string;
116
- url: string;
117
121
  snippet: string;
118
122
  }>, "many">;
119
123
  message: z.ZodString;
@@ -127,9 +131,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
127
131
  bestPractices: string[];
128
132
  };
129
133
  webResources: {
134
+ url: string;
130
135
  relevance: number;
131
136
  title: string;
132
- url: string;
133
137
  snippet: string;
134
138
  }[];
135
139
  error?: string | undefined;
@@ -142,9 +146,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
142
146
  bestPractices: string[];
143
147
  };
144
148
  webResources: {
149
+ url: string;
145
150
  relevance: number;
146
151
  title: string;
147
- url: string;
148
152
  snippet: string;
149
153
  }[];
150
154
  error?: string | undefined;
@@ -156,9 +160,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
156
160
  file: string;
157
161
  name: string;
158
162
  description?: string | undefined;
159
- steps?: string[] | undefined;
160
163
  outputSchema?: any;
161
164
  inputSchema?: any;
165
+ steps?: string[] | undefined;
162
166
  }[];
163
167
  projectStructure: {
164
168
  message: string;
@@ -184,9 +188,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
184
188
  bestPractices: string[];
185
189
  };
186
190
  webResources: {
191
+ url: string;
187
192
  relevance: number;
188
193
  title: string;
189
- url: string;
190
194
  snippet: string;
191
195
  }[];
192
196
  error?: string | undefined;
@@ -201,9 +205,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
201
205
  file: string;
202
206
  name: string;
203
207
  description?: string | undefined;
204
- steps?: string[] | undefined;
205
208
  outputSchema?: any;
206
209
  inputSchema?: any;
210
+ steps?: string[] | undefined;
207
211
  }[];
208
212
  projectStructure: {
209
213
  message: string;
@@ -229,9 +233,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
229
233
  bestPractices: string[];
230
234
  };
231
235
  webResources: {
236
+ url: string;
232
237
  relevance: number;
233
238
  title: string;
234
- url: string;
235
239
  snippet: string;
236
240
  }[];
237
241
  error?: string | undefined;
@@ -292,6 +296,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
292
296
  }, "strip", z.ZodTypeAny, {
293
297
  message: string;
294
298
  success: boolean;
299
+ reasoning: string;
295
300
  tasks: {
296
301
  status: "pending" | "in_progress" | "completed" | "blocked";
297
302
  id: string;
@@ -300,7 +305,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
300
305
  notes: string;
301
306
  dependencies?: string[] | undefined;
302
307
  }[];
303
- reasoning: string;
304
308
  questions: {
305
309
  type: "boolean" | "text" | "choice";
306
310
  id: string;
@@ -315,6 +319,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
315
319
  }, {
316
320
  message: string;
317
321
  success: boolean;
322
+ reasoning: string;
318
323
  tasks: {
319
324
  id: string;
320
325
  content: string;
@@ -323,7 +328,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
323
328
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
324
329
  dependencies?: string[] | undefined;
325
330
  }[];
326
- reasoning: string;
327
331
  questions: {
328
332
  type: "boolean" | "text" | "choice";
329
333
  id: string;
@@ -387,6 +391,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
387
391
  }>, "many">;
388
392
  reasoning: z.ZodString;
389
393
  }, "strip", z.ZodTypeAny, {
394
+ reasoning: string;
390
395
  tasks: {
391
396
  status: "pending" | "in_progress" | "completed" | "blocked";
392
397
  id: string;
@@ -395,8 +400,8 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
395
400
  notes: string;
396
401
  dependencies?: string[] | undefined;
397
402
  }[];
398
- reasoning: string;
399
403
  }, {
404
+ reasoning: string;
400
405
  tasks: {
401
406
  id: string;
402
407
  content: string;
@@ -405,7 +410,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
405
410
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
406
411
  dependencies?: string[] | undefined;
407
412
  }[];
408
- reasoning: string;
409
413
  }>;
410
414
  }, "strip", z.ZodTypeAny, {
411
415
  message: string;
@@ -417,6 +421,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
417
421
  context?: string | undefined;
418
422
  }[];
419
423
  currentPlan: {
424
+ reasoning: string;
420
425
  tasks: {
421
426
  status: "pending" | "in_progress" | "completed" | "blocked";
422
427
  id: string;
@@ -425,7 +430,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
425
430
  notes: string;
426
431
  dependencies?: string[] | undefined;
427
432
  }[];
428
- reasoning: string;
429
433
  };
430
434
  }, {
431
435
  message: string;
@@ -437,6 +441,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
437
441
  context?: string | undefined;
438
442
  }[];
439
443
  currentPlan: {
444
+ reasoning: string;
440
445
  tasks: {
441
446
  id: string;
442
447
  content: string;
@@ -445,9 +450,12 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
445
450
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
446
451
  dependencies?: string[] | undefined;
447
452
  }[];
448
- reasoning: string;
449
453
  };
450
- }>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"task-approval", z.ZodObject<{
454
+ }>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").Step<"task-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
455
+ [x: string]: any;
456
+ }, {
457
+ [x: string]: any;
458
+ }>, z.ZodObject<{
451
459
  success: z.ZodBoolean;
452
460
  tasks: z.ZodArray<z.ZodObject<{
453
461
  id: z.ZodString;
@@ -499,6 +507,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
499
507
  }, "strip", z.ZodTypeAny, {
500
508
  message: string;
501
509
  success: boolean;
510
+ reasoning: string;
502
511
  tasks: {
503
512
  status: "pending" | "in_progress" | "completed" | "blocked";
504
513
  id: string;
@@ -507,7 +516,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
507
516
  notes: string;
508
517
  dependencies?: string[] | undefined;
509
518
  }[];
510
- reasoning: string;
511
519
  questions: {
512
520
  type: "boolean" | "text" | "choice";
513
521
  id: string;
@@ -522,6 +530,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
522
530
  }, {
523
531
  message: string;
524
532
  success: boolean;
533
+ reasoning: string;
525
534
  tasks: {
526
535
  id: string;
527
536
  content: string;
@@ -530,7 +539,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
530
539
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
531
540
  dependencies?: string[] | undefined;
532
541
  }[];
533
- reasoning: string;
534
542
  questions: {
535
543
  type: "boolean" | "text" | "choice";
536
544
  id: string;
@@ -648,7 +656,11 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
648
656
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
649
657
  dependencies?: string[] | undefined;
650
658
  }[];
651
- }>, import("@mastra/core").DefaultEngineType>)[], "planning-and-approval", z.ZodObject<{
659
+ }>, import("@mastra/core/workflows").DefaultEngineType>)[], "planning-and-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
660
+ [x: string]: any;
661
+ }, {
662
+ [x: string]: any;
663
+ }>, z.ZodObject<{
652
664
  action: z.ZodEnum<["create", "edit"]>;
653
665
  workflowName: z.ZodOptional<z.ZodString>;
654
666
  description: z.ZodOptional<z.ZodString>;
@@ -664,16 +676,16 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
664
676
  file: string;
665
677
  name: string;
666
678
  description?: string | undefined;
667
- steps?: string[] | undefined;
668
679
  outputSchema?: any;
669
680
  inputSchema?: any;
681
+ steps?: string[] | undefined;
670
682
  }, {
671
683
  file: string;
672
684
  name: string;
673
685
  description?: string | undefined;
674
- steps?: string[] | undefined;
675
686
  outputSchema?: any;
676
687
  inputSchema?: any;
688
+ steps?: string[] | undefined;
677
689
  }>, "many">;
678
690
  projectStructure: z.ZodObject<{
679
691
  success: z.ZodBoolean;
@@ -755,14 +767,14 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
755
767
  snippet: z.ZodString;
756
768
  relevance: z.ZodNumber;
757
769
  }, "strip", z.ZodTypeAny, {
770
+ url: string;
758
771
  relevance: number;
759
772
  title: string;
760
- url: string;
761
773
  snippet: string;
762
774
  }, {
775
+ url: string;
763
776
  relevance: number;
764
777
  title: string;
765
- url: string;
766
778
  snippet: string;
767
779
  }>, "many">;
768
780
  message: z.ZodString;
@@ -776,9 +788,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
776
788
  bestPractices: string[];
777
789
  };
778
790
  webResources: {
791
+ url: string;
779
792
  relevance: number;
780
793
  title: string;
781
- url: string;
782
794
  snippet: string;
783
795
  }[];
784
796
  error?: string | undefined;
@@ -791,9 +803,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
791
803
  bestPractices: string[];
792
804
  };
793
805
  webResources: {
806
+ url: string;
794
807
  relevance: number;
795
808
  title: string;
796
- url: string;
797
809
  snippet: string;
798
810
  }[];
799
811
  error?: string | undefined;
@@ -805,9 +817,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
805
817
  file: string;
806
818
  name: string;
807
819
  description?: string | undefined;
808
- steps?: string[] | undefined;
809
820
  outputSchema?: any;
810
821
  inputSchema?: any;
822
+ steps?: string[] | undefined;
811
823
  }[];
812
824
  projectStructure: {
813
825
  message: string;
@@ -833,9 +845,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
833
845
  bestPractices: string[];
834
846
  };
835
847
  webResources: {
848
+ url: string;
836
849
  relevance: number;
837
850
  title: string;
838
- url: string;
839
851
  snippet: string;
840
852
  }[];
841
853
  error?: string | undefined;
@@ -850,9 +862,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
850
862
  file: string;
851
863
  name: string;
852
864
  description?: string | undefined;
853
- steps?: string[] | undefined;
854
865
  outputSchema?: any;
855
866
  inputSchema?: any;
867
+ steps?: string[] | undefined;
856
868
  }[];
857
869
  projectStructure: {
858
870
  message: string;
@@ -878,9 +890,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
878
890
  bestPractices: string[];
879
891
  };
880
892
  webResources: {
893
+ url: string;
881
894
  relevance: number;
882
895
  title: string;
883
- url: string;
884
896
  snippet: string;
885
897
  }[];
886
898
  error?: string | undefined;
@@ -989,7 +1001,11 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
989
1001
  }[];
990
1002
  approved: boolean;
991
1003
  userFeedback?: string | undefined;
992
- }>> | import("@mastra/core").Step<"workflow-discovery", z.ZodObject<{
1004
+ }>> | import("@mastra/core/workflows").Step<"workflow-discovery", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
1005
+ [x: string]: any;
1006
+ }, {
1007
+ [x: string]: any;
1008
+ }>, z.ZodObject<{
993
1009
  workflowName: z.ZodOptional<z.ZodString>;
994
1010
  action: z.ZodEnum<["create", "edit"]>;
995
1011
  description: z.ZodOptional<z.ZodString>;
@@ -1020,16 +1036,16 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1020
1036
  file: string;
1021
1037
  name: string;
1022
1038
  description?: string | undefined;
1023
- steps?: string[] | undefined;
1024
1039
  outputSchema?: any;
1025
1040
  inputSchema?: any;
1041
+ steps?: string[] | undefined;
1026
1042
  }, {
1027
1043
  file: string;
1028
1044
  name: string;
1029
1045
  description?: string | undefined;
1030
- steps?: string[] | undefined;
1031
1046
  outputSchema?: any;
1032
1047
  inputSchema?: any;
1048
+ steps?: string[] | undefined;
1033
1049
  }>, "many">;
1034
1050
  mastraIndexExists: z.ZodBoolean;
1035
1051
  message: z.ZodString;
@@ -1041,9 +1057,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1041
1057
  file: string;
1042
1058
  name: string;
1043
1059
  description?: string | undefined;
1044
- steps?: string[] | undefined;
1045
1060
  outputSchema?: any;
1046
1061
  inputSchema?: any;
1062
+ steps?: string[] | undefined;
1047
1063
  }[];
1048
1064
  mastraIndexExists: boolean;
1049
1065
  error?: string | undefined;
@@ -1054,13 +1070,17 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1054
1070
  file: string;
1055
1071
  name: string;
1056
1072
  description?: string | undefined;
1057
- steps?: string[] | undefined;
1058
1073
  outputSchema?: any;
1059
1074
  inputSchema?: any;
1075
+ steps?: string[] | undefined;
1060
1076
  }[];
1061
1077
  mastraIndexExists: boolean;
1062
1078
  error?: string | undefined;
1063
- }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"project-discovery", z.ZodObject<{
1079
+ }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").Step<"project-discovery", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
1080
+ [x: string]: any;
1081
+ }, {
1082
+ [x: string]: any;
1083
+ }>, z.ZodObject<{
1064
1084
  success: z.ZodBoolean;
1065
1085
  workflows: z.ZodArray<z.ZodObject<{
1066
1086
  name: z.ZodString;
@@ -1073,16 +1093,16 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1073
1093
  file: string;
1074
1094
  name: string;
1075
1095
  description?: string | undefined;
1076
- steps?: string[] | undefined;
1077
1096
  outputSchema?: any;
1078
1097
  inputSchema?: any;
1098
+ steps?: string[] | undefined;
1079
1099
  }, {
1080
1100
  file: string;
1081
1101
  name: string;
1082
1102
  description?: string | undefined;
1083
- steps?: string[] | undefined;
1084
1103
  outputSchema?: any;
1085
1104
  inputSchema?: any;
1105
+ steps?: string[] | undefined;
1086
1106
  }>, "many">;
1087
1107
  mastraIndexExists: z.ZodBoolean;
1088
1108
  message: z.ZodString;
@@ -1094,9 +1114,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1094
1114
  file: string;
1095
1115
  name: string;
1096
1116
  description?: string | undefined;
1097
- steps?: string[] | undefined;
1098
1117
  outputSchema?: any;
1099
1118
  inputSchema?: any;
1119
+ steps?: string[] | undefined;
1100
1120
  }[];
1101
1121
  mastraIndexExists: boolean;
1102
1122
  error?: string | undefined;
@@ -1107,9 +1127,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1107
1127
  file: string;
1108
1128
  name: string;
1109
1129
  description?: string | undefined;
1110
- steps?: string[] | undefined;
1111
1130
  outputSchema?: any;
1112
1131
  inputSchema?: any;
1132
+ steps?: string[] | undefined;
1113
1133
  }[];
1114
1134
  mastraIndexExists: boolean;
1115
1135
  error?: string | undefined;
@@ -1171,7 +1191,11 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1171
1191
  existingTools: string[];
1172
1192
  };
1173
1193
  error?: string | undefined;
1174
- }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"workflow-research", z.ZodObject<{
1194
+ }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").Step<"workflow-research", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
1195
+ [x: string]: any;
1196
+ }, {
1197
+ [x: string]: any;
1198
+ }>, z.ZodObject<{
1175
1199
  success: z.ZodBoolean;
1176
1200
  structure: z.ZodObject<{
1177
1201
  hasWorkflowsDir: z.ZodBoolean;
@@ -1250,14 +1274,14 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1250
1274
  snippet: z.ZodString;
1251
1275
  relevance: z.ZodNumber;
1252
1276
  }, "strip", z.ZodTypeAny, {
1277
+ url: string;
1253
1278
  relevance: number;
1254
1279
  title: string;
1255
- url: string;
1256
1280
  snippet: string;
1257
1281
  }, {
1282
+ url: string;
1258
1283
  relevance: number;
1259
1284
  title: string;
1260
- url: string;
1261
1285
  snippet: string;
1262
1286
  }>, "many">;
1263
1287
  message: z.ZodString;
@@ -1271,9 +1295,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1271
1295
  bestPractices: string[];
1272
1296
  };
1273
1297
  webResources: {
1298
+ url: string;
1274
1299
  relevance: number;
1275
1300
  title: string;
1276
- url: string;
1277
1301
  snippet: string;
1278
1302
  }[];
1279
1303
  error?: string | undefined;
@@ -1286,13 +1310,17 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1286
1310
  bestPractices: string[];
1287
1311
  };
1288
1312
  webResources: {
1313
+ url: string;
1289
1314
  relevance: number;
1290
1315
  title: string;
1291
- url: string;
1292
1316
  snippet: string;
1293
1317
  }[];
1294
1318
  error?: string | undefined;
1295
- }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"task-execution", z.ZodObject<{
1319
+ }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").Step<"task-execution", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
1320
+ [x: string]: any;
1321
+ }, {
1322
+ [x: string]: any;
1323
+ }>, z.ZodObject<{
1296
1324
  action: z.ZodEnum<["create", "edit"]>;
1297
1325
  workflowName: z.ZodOptional<z.ZodString>;
1298
1326
  description: z.ZodOptional<z.ZodString>;
@@ -1464,7 +1492,11 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1464
1492
  }[];
1465
1493
  currentProgress: string;
1466
1494
  completedTasks: string[];
1467
- }>, import("@mastra/core").DefaultEngineType>)[], "workflow-builder", z.ZodObject<{
1495
+ }>, import("@mastra/core/workflows").DefaultEngineType>)[], "workflow-builder", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
1496
+ [x: string]: any;
1497
+ }, {
1498
+ [x: string]: any;
1499
+ }>, z.ZodObject<{
1468
1500
  workflowName: z.ZodOptional<z.ZodString>;
1469
1501
  action: z.ZodEnum<["create", "edit"]>;
1470
1502
  description: z.ZodOptional<z.ZodString>;
@@ -1500,16 +1532,16 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1500
1532
  file: string;
1501
1533
  name: string;
1502
1534
  description?: string | undefined;
1503
- steps?: string[] | undefined;
1504
1535
  outputSchema?: any;
1505
1536
  inputSchema?: any;
1537
+ steps?: string[] | undefined;
1506
1538
  }, {
1507
1539
  file: string;
1508
1540
  name: string;
1509
1541
  description?: string | undefined;
1510
- steps?: string[] | undefined;
1511
1542
  outputSchema?: any;
1512
1543
  inputSchema?: any;
1544
+ steps?: string[] | undefined;
1513
1545
  }>, "many">;
1514
1546
  mastraIndexExists: z.ZodBoolean;
1515
1547
  message: z.ZodString;
@@ -1521,9 +1553,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1521
1553
  file: string;
1522
1554
  name: string;
1523
1555
  description?: string | undefined;
1524
- steps?: string[] | undefined;
1525
1556
  outputSchema?: any;
1526
1557
  inputSchema?: any;
1558
+ steps?: string[] | undefined;
1527
1559
  }[];
1528
1560
  mastraIndexExists: boolean;
1529
1561
  error?: string | undefined;
@@ -1534,9 +1566,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1534
1566
  file: string;
1535
1567
  name: string;
1536
1568
  description?: string | undefined;
1537
- steps?: string[] | undefined;
1538
1569
  outputSchema?: any;
1539
1570
  inputSchema?: any;
1571
+ steps?: string[] | undefined;
1540
1572
  }[];
1541
1573
  mastraIndexExists: boolean;
1542
1574
  error?: string | undefined;
@@ -1621,14 +1653,14 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1621
1653
  snippet: z.ZodString;
1622
1654
  relevance: z.ZodNumber;
1623
1655
  }, "strip", z.ZodTypeAny, {
1656
+ url: string;
1624
1657
  relevance: number;
1625
1658
  title: string;
1626
- url: string;
1627
1659
  snippet: string;
1628
1660
  }, {
1661
+ url: string;
1629
1662
  relevance: number;
1630
1663
  title: string;
1631
- url: string;
1632
1664
  snippet: string;
1633
1665
  }>, "many">;
1634
1666
  message: z.ZodString;
@@ -1642,9 +1674,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1642
1674
  bestPractices: string[];
1643
1675
  };
1644
1676
  webResources: {
1677
+ url: string;
1645
1678
  relevance: number;
1646
1679
  title: string;
1647
- url: string;
1648
1680
  snippet: string;
1649
1681
  }[];
1650
1682
  error?: string | undefined;
@@ -1657,9 +1689,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1657
1689
  bestPractices: string[];
1658
1690
  };
1659
1691
  webResources: {
1692
+ url: string;
1660
1693
  relevance: number;
1661
1694
  title: string;
1662
- url: string;
1663
1695
  snippet: string;
1664
1696
  }[];
1665
1697
  error?: string | undefined;
@@ -1716,6 +1748,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1716
1748
  }, "strip", z.ZodTypeAny, {
1717
1749
  message: string;
1718
1750
  success: boolean;
1751
+ reasoning: string;
1719
1752
  tasks: {
1720
1753
  status: "pending" | "in_progress" | "completed" | "blocked";
1721
1754
  id: string;
@@ -1724,7 +1757,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1724
1757
  notes: string;
1725
1758
  dependencies?: string[] | undefined;
1726
1759
  }[];
1727
- reasoning: string;
1728
1760
  questions: {
1729
1761
  type: "boolean" | "text" | "choice";
1730
1762
  id: string;
@@ -1739,6 +1771,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1739
1771
  }, {
1740
1772
  message: string;
1741
1773
  success: boolean;
1774
+ reasoning: string;
1742
1775
  tasks: {
1743
1776
  id: string;
1744
1777
  content: string;
@@ -1747,7 +1780,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1747
1780
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1748
1781
  dependencies?: string[] | undefined;
1749
1782
  }[];
1750
- reasoning: string;
1751
1783
  questions: {
1752
1784
  type: "boolean" | "text" | "choice";
1753
1785
  id: string;
@@ -1914,9 +1946,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1914
1946
  bestPractices: string[];
1915
1947
  };
1916
1948
  webResources: {
1949
+ url: string;
1917
1950
  relevance: number;
1918
1951
  title: string;
1919
- url: string;
1920
1952
  snippet: string;
1921
1953
  }[];
1922
1954
  error?: string | undefined;
@@ -1929,9 +1961,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1929
1961
  file: string;
1930
1962
  name: string;
1931
1963
  description?: string | undefined;
1932
- steps?: string[] | undefined;
1933
1964
  outputSchema?: any;
1934
1965
  inputSchema?: any;
1966
+ steps?: string[] | undefined;
1935
1967
  }[];
1936
1968
  mastraIndexExists: boolean;
1937
1969
  error?: string | undefined;
@@ -1939,6 +1971,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1939
1971
  planning?: {
1940
1972
  message: string;
1941
1973
  success: boolean;
1974
+ reasoning: string;
1942
1975
  tasks: {
1943
1976
  status: "pending" | "in_progress" | "completed" | "blocked";
1944
1977
  id: string;
@@ -1947,7 +1980,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1947
1980
  notes: string;
1948
1981
  dependencies?: string[] | undefined;
1949
1982
  }[];
1950
- reasoning: string;
1951
1983
  questions: {
1952
1984
  type: "boolean" | "text" | "choice";
1953
1985
  id: string;
@@ -2024,9 +2056,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2024
2056
  bestPractices: string[];
2025
2057
  };
2026
2058
  webResources: {
2059
+ url: string;
2027
2060
  relevance: number;
2028
2061
  title: string;
2029
- url: string;
2030
2062
  snippet: string;
2031
2063
  }[];
2032
2064
  error?: string | undefined;
@@ -2039,9 +2071,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2039
2071
  file: string;
2040
2072
  name: string;
2041
2073
  description?: string | undefined;
2042
- steps?: string[] | undefined;
2043
2074
  outputSchema?: any;
2044
2075
  inputSchema?: any;
2076
+ steps?: string[] | undefined;
2045
2077
  }[];
2046
2078
  mastraIndexExists: boolean;
2047
2079
  error?: string | undefined;
@@ -2049,6 +2081,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2049
2081
  planning?: {
2050
2082
  message: string;
2051
2083
  success: boolean;
2084
+ reasoning: string;
2052
2085
  tasks: {
2053
2086
  id: string;
2054
2087
  content: string;
@@ -2057,7 +2090,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2057
2090
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
2058
2091
  dependencies?: string[] | undefined;
2059
2092
  }[];
2060
- reasoning: string;
2061
2093
  questions: {
2062
2094
  type: "boolean" | "text" | "choice";
2063
2095
  id: string;
@@ -2114,16 +2146,16 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2114
2146
  file: string;
2115
2147
  name: string;
2116
2148
  description?: string | undefined;
2117
- steps?: string[] | undefined;
2118
2149
  outputSchema?: any;
2119
2150
  inputSchema?: any;
2151
+ steps?: string[] | undefined;
2120
2152
  }, {
2121
2153
  file: string;
2122
2154
  name: string;
2123
2155
  description?: string | undefined;
2124
- steps?: string[] | undefined;
2125
2156
  outputSchema?: any;
2126
2157
  inputSchema?: any;
2158
+ steps?: string[] | undefined;
2127
2159
  }>, "many">;
2128
2160
  mastraIndexExists: z.ZodBoolean;
2129
2161
  message: z.ZodString;
@@ -2135,9 +2167,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2135
2167
  file: string;
2136
2168
  name: string;
2137
2169
  description?: string | undefined;
2138
- steps?: string[] | undefined;
2139
2170
  outputSchema?: any;
2140
2171
  inputSchema?: any;
2172
+ steps?: string[] | undefined;
2141
2173
  }[];
2142
2174
  mastraIndexExists: boolean;
2143
2175
  error?: string | undefined;
@@ -2148,9 +2180,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2148
2180
  file: string;
2149
2181
  name: string;
2150
2182
  description?: string | undefined;
2151
- steps?: string[] | undefined;
2152
2183
  outputSchema?: any;
2153
2184
  inputSchema?: any;
2185
+ steps?: string[] | undefined;
2154
2186
  }[];
2155
2187
  mastraIndexExists: boolean;
2156
2188
  error?: string | undefined;
@@ -2235,14 +2267,14 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2235
2267
  snippet: z.ZodString;
2236
2268
  relevance: z.ZodNumber;
2237
2269
  }, "strip", z.ZodTypeAny, {
2270
+ url: string;
2238
2271
  relevance: number;
2239
2272
  title: string;
2240
- url: string;
2241
2273
  snippet: string;
2242
2274
  }, {
2275
+ url: string;
2243
2276
  relevance: number;
2244
2277
  title: string;
2245
- url: string;
2246
2278
  snippet: string;
2247
2279
  }>, "many">;
2248
2280
  message: z.ZodString;
@@ -2256,9 +2288,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2256
2288
  bestPractices: string[];
2257
2289
  };
2258
2290
  webResources: {
2291
+ url: string;
2259
2292
  relevance: number;
2260
2293
  title: string;
2261
- url: string;
2262
2294
  snippet: string;
2263
2295
  }[];
2264
2296
  error?: string | undefined;
@@ -2271,9 +2303,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2271
2303
  bestPractices: string[];
2272
2304
  };
2273
2305
  webResources: {
2306
+ url: string;
2274
2307
  relevance: number;
2275
2308
  title: string;
2276
- url: string;
2277
2309
  snippet: string;
2278
2310
  }[];
2279
2311
  error?: string | undefined;
@@ -2330,6 +2362,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2330
2362
  }, "strip", z.ZodTypeAny, {
2331
2363
  message: string;
2332
2364
  success: boolean;
2365
+ reasoning: string;
2333
2366
  tasks: {
2334
2367
  status: "pending" | "in_progress" | "completed" | "blocked";
2335
2368
  id: string;
@@ -2338,7 +2371,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2338
2371
  notes: string;
2339
2372
  dependencies?: string[] | undefined;
2340
2373
  }[];
2341
- reasoning: string;
2342
2374
  questions: {
2343
2375
  type: "boolean" | "text" | "choice";
2344
2376
  id: string;
@@ -2353,6 +2385,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2353
2385
  }, {
2354
2386
  message: string;
2355
2387
  success: boolean;
2388
+ reasoning: string;
2356
2389
  tasks: {
2357
2390
  id: string;
2358
2391
  content: string;
@@ -2361,7 +2394,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2361
2394
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
2362
2395
  dependencies?: string[] | undefined;
2363
2396
  }[];
2364
- reasoning: string;
2365
2397
  questions: {
2366
2398
  type: "boolean" | "text" | "choice";
2367
2399
  id: string;
@@ -2528,9 +2560,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2528
2560
  bestPractices: string[];
2529
2561
  };
2530
2562
  webResources: {
2563
+ url: string;
2531
2564
  relevance: number;
2532
2565
  title: string;
2533
- url: string;
2534
2566
  snippet: string;
2535
2567
  }[];
2536
2568
  error?: string | undefined;
@@ -2543,9 +2575,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2543
2575
  file: string;
2544
2576
  name: string;
2545
2577
  description?: string | undefined;
2546
- steps?: string[] | undefined;
2547
2578
  outputSchema?: any;
2548
2579
  inputSchema?: any;
2580
+ steps?: string[] | undefined;
2549
2581
  }[];
2550
2582
  mastraIndexExists: boolean;
2551
2583
  error?: string | undefined;
@@ -2553,6 +2585,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2553
2585
  planning?: {
2554
2586
  message: string;
2555
2587
  success: boolean;
2588
+ reasoning: string;
2556
2589
  tasks: {
2557
2590
  status: "pending" | "in_progress" | "completed" | "blocked";
2558
2591
  id: string;
@@ -2561,7 +2594,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2561
2594
  notes: string;
2562
2595
  dependencies?: string[] | undefined;
2563
2596
  }[];
2564
- reasoning: string;
2565
2597
  questions: {
2566
2598
  type: "boolean" | "text" | "choice";
2567
2599
  id: string;
@@ -2638,9 +2670,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2638
2670
  bestPractices: string[];
2639
2671
  };
2640
2672
  webResources: {
2673
+ url: string;
2641
2674
  relevance: number;
2642
2675
  title: string;
2643
- url: string;
2644
2676
  snippet: string;
2645
2677
  }[];
2646
2678
  error?: string | undefined;
@@ -2653,9 +2685,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2653
2685
  file: string;
2654
2686
  name: string;
2655
2687
  description?: string | undefined;
2656
- steps?: string[] | undefined;
2657
2688
  outputSchema?: any;
2658
2689
  inputSchema?: any;
2690
+ steps?: string[] | undefined;
2659
2691
  }[];
2660
2692
  mastraIndexExists: boolean;
2661
2693
  error?: string | undefined;
@@ -2663,6 +2695,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2663
2695
  planning?: {
2664
2696
  message: string;
2665
2697
  success: boolean;
2698
+ reasoning: string;
2666
2699
  tasks: {
2667
2700
  id: string;
2668
2701
  content: string;
@@ -2671,7 +2704,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2671
2704
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
2672
2705
  dependencies?: string[] | undefined;
2673
2706
  }[];
2674
- reasoning: string;
2675
2707
  questions: {
2676
2708
  type: "boolean" | "text" | "choice";
2677
2709
  id: string;