@mastra/agent-builder 0.0.1 → 0.0.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,32 +4,38 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
4
4
  ref: z.ZodOptional<z.ZodString>;
5
5
  slug: z.ZodOptional<z.ZodString>;
6
6
  targetPath: z.ZodOptional<z.ZodString>;
7
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7
8
  }, "strip", z.ZodTypeAny, {
8
9
  repo: string;
9
10
  slug?: string | undefined;
10
11
  ref?: string | undefined;
11
12
  targetPath?: string | undefined;
13
+ variables?: Record<string, string> | undefined;
12
14
  }, {
13
15
  repo: string;
14
16
  slug?: string | undefined;
15
17
  ref?: string | undefined;
16
18
  targetPath?: string | undefined;
19
+ variables?: Record<string, string> | undefined;
17
20
  }>, z.ZodObject<{
18
21
  templateDir: z.ZodString;
19
22
  commitSha: z.ZodString;
20
23
  slug: z.ZodString;
21
24
  success: z.ZodOptional<z.ZodBoolean>;
22
25
  error: z.ZodOptional<z.ZodString>;
26
+ targetPath: z.ZodOptional<z.ZodString>;
23
27
  }, "strip", z.ZodTypeAny, {
24
28
  slug: string;
25
29
  commitSha: string;
26
30
  templateDir: string;
31
+ targetPath?: string | undefined;
27
32
  success?: boolean | undefined;
28
33
  error?: string | undefined;
29
34
  }, {
30
35
  slug: string;
31
36
  commitSha: string;
32
37
  templateDir: string;
38
+ targetPath?: string | undefined;
33
39
  success?: boolean | undefined;
34
40
  error?: string | undefined;
35
41
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"analyze-package", z.ZodObject<{
@@ -38,16 +44,19 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
38
44
  slug: z.ZodString;
39
45
  success: z.ZodOptional<z.ZodBoolean>;
40
46
  error: z.ZodOptional<z.ZodString>;
47
+ targetPath: z.ZodOptional<z.ZodString>;
41
48
  }, "strip", z.ZodTypeAny, {
42
49
  slug: string;
43
50
  commitSha: string;
44
51
  templateDir: string;
52
+ targetPath?: string | undefined;
45
53
  success?: boolean | undefined;
46
54
  error?: string | undefined;
47
55
  }, {
48
56
  slug: string;
49
57
  commitSha: string;
50
58
  templateDir: string;
59
+ targetPath?: string | undefined;
51
60
  success?: boolean | undefined;
52
61
  error?: string | undefined;
53
62
  }>, z.ZodObject<{
@@ -86,16 +95,19 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
86
95
  slug: z.ZodString;
87
96
  success: z.ZodOptional<z.ZodBoolean>;
88
97
  error: z.ZodOptional<z.ZodString>;
98
+ targetPath: z.ZodOptional<z.ZodString>;
89
99
  }, "strip", z.ZodTypeAny, {
90
100
  slug: string;
91
101
  commitSha: string;
92
102
  templateDir: string;
103
+ targetPath?: string | undefined;
93
104
  success?: boolean | undefined;
94
105
  error?: string | undefined;
95
106
  }, {
96
107
  slug: string;
97
108
  commitSha: string;
98
109
  templateDir: string;
110
+ targetPath?: string | undefined;
99
111
  success?: boolean | undefined;
100
112
  error?: string | undefined;
101
113
  }>, z.ZodObject<{
@@ -307,6 +319,7 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
307
319
  commitSha: z.ZodString;
308
320
  slug: z.ZodString;
309
321
  targetPath: z.ZodOptional<z.ZodString>;
322
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
310
323
  }, "strip", z.ZodTypeAny, {
311
324
  slug: string;
312
325
  commitSha: string;
@@ -317,6 +330,7 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
317
330
  file: string;
318
331
  }[];
319
332
  targetPath?: string | undefined;
333
+ variables?: Record<string, string> | undefined;
320
334
  }, {
321
335
  slug: string;
322
336
  commitSha: string;
@@ -327,6 +341,7 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
327
341
  file: string;
328
342
  }[];
329
343
  targetPath?: string | undefined;
344
+ variables?: Record<string, string> | undefined;
330
345
  }>, z.ZodObject<{
331
346
  success: z.ZodBoolean;
332
347
  copiedFiles: z.ZodArray<z.ZodObject<{
@@ -739,14 +754,17 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
739
754
  valid: z.ZodBoolean;
740
755
  errorsFixed: z.ZodNumber;
741
756
  remainingErrors: z.ZodNumber;
757
+ errors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
742
758
  }, "strip", z.ZodTypeAny, {
743
759
  valid: boolean;
744
760
  errorsFixed: number;
745
761
  remainingErrors: number;
762
+ errors?: any[] | undefined;
746
763
  }, {
747
764
  valid: boolean;
748
765
  errorsFixed: number;
749
766
  remainingErrors: number;
767
+ errors?: any[] | undefined;
750
768
  }>;
751
769
  error: z.ZodOptional<z.ZodString>;
752
770
  }, "strip", z.ZodTypeAny, {
@@ -757,6 +775,7 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
757
775
  valid: boolean;
758
776
  errorsFixed: number;
759
777
  remainingErrors: number;
778
+ errors?: any[] | undefined;
760
779
  };
761
780
  error?: string | undefined;
762
781
  }, {
@@ -767,6 +786,7 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
767
786
  valid: boolean;
768
787
  errorsFixed: number;
769
788
  remainingErrors: number;
789
+ errors?: any[] | undefined;
770
790
  };
771
791
  error?: string | undefined;
772
792
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType>)[], "agent-builder-template", z.ZodObject<{
@@ -774,16 +794,19 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
774
794
  ref: z.ZodOptional<z.ZodString>;
775
795
  slug: z.ZodOptional<z.ZodString>;
776
796
  targetPath: z.ZodOptional<z.ZodString>;
797
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
777
798
  }, "strip", z.ZodTypeAny, {
778
799
  repo: string;
779
800
  slug?: string | undefined;
780
801
  ref?: string | undefined;
781
802
  targetPath?: string | undefined;
803
+ variables?: Record<string, string> | undefined;
782
804
  }, {
783
805
  repo: string;
784
806
  slug?: string | undefined;
785
807
  ref?: string | undefined;
786
808
  targetPath?: string | undefined;
809
+ variables?: Record<string, string> | undefined;
787
810
  }>, z.ZodObject<{
788
811
  success: z.ZodBoolean;
789
812
  applied: z.ZodBoolean;
@@ -793,14 +816,17 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
793
816
  valid: z.ZodBoolean;
794
817
  errorsFixed: z.ZodNumber;
795
818
  remainingErrors: z.ZodNumber;
819
+ errors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
796
820
  }, "strip", z.ZodTypeAny, {
797
821
  valid: boolean;
798
822
  errorsFixed: number;
799
823
  remainingErrors: number;
824
+ errors?: any[] | undefined;
800
825
  }, {
801
826
  valid: boolean;
802
827
  errorsFixed: number;
803
828
  remainingErrors: number;
829
+ errors?: any[] | undefined;
804
830
  }>>;
805
831
  error: z.ZodOptional<z.ZodString>;
806
832
  errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -853,12 +879,13 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
853
879
  applied: boolean;
854
880
  error?: string | undefined;
855
881
  branchName?: string | undefined;
882
+ errors?: string[] | undefined;
856
883
  validationResults?: {
857
884
  valid: boolean;
858
885
  errorsFixed: number;
859
886
  remainingErrors: number;
887
+ errors?: any[] | undefined;
860
888
  } | undefined;
861
- errors?: string[] | undefined;
862
889
  stepResults?: {
863
890
  conflictsResolved: number;
864
891
  filesCopied: number;
@@ -880,12 +907,13 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
880
907
  applied: boolean;
881
908
  error?: string | undefined;
882
909
  branchName?: string | undefined;
910
+ errors?: string[] | undefined;
883
911
  validationResults?: {
884
912
  valid: boolean;
885
913
  errorsFixed: number;
886
914
  remainingErrors: number;
915
+ errors?: any[] | undefined;
887
916
  } | undefined;
888
- errors?: string[] | undefined;
889
917
  stepResults?: {
890
918
  conflictsResolved: number;
891
919
  filesCopied: number;
@@ -910,14 +938,17 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
910
938
  valid: z.ZodBoolean;
911
939
  errorsFixed: z.ZodNumber;
912
940
  remainingErrors: z.ZodNumber;
941
+ errors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
913
942
  }, "strip", z.ZodTypeAny, {
914
943
  valid: boolean;
915
944
  errorsFixed: number;
916
945
  remainingErrors: number;
946
+ errors?: any[] | undefined;
917
947
  }, {
918
948
  valid: boolean;
919
949
  errorsFixed: number;
920
950
  remainingErrors: number;
951
+ errors?: any[] | undefined;
921
952
  }>>;
922
953
  error: z.ZodOptional<z.ZodString>;
923
954
  errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -970,12 +1001,13 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
970
1001
  applied: boolean;
971
1002
  error?: string | undefined;
972
1003
  branchName?: string | undefined;
1004
+ errors?: string[] | undefined;
973
1005
  validationResults?: {
974
1006
  valid: boolean;
975
1007
  errorsFixed: number;
976
1008
  remainingErrors: number;
1009
+ errors?: any[] | undefined;
977
1010
  } | undefined;
978
- errors?: string[] | undefined;
979
1011
  stepResults?: {
980
1012
  conflictsResolved: number;
981
1013
  filesCopied: number;
@@ -997,12 +1029,13 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
997
1029
  applied: boolean;
998
1030
  error?: string | undefined;
999
1031
  branchName?: string | undefined;
1032
+ errors?: string[] | undefined;
1000
1033
  validationResults?: {
1001
1034
  valid: boolean;
1002
1035
  errorsFixed: number;
1003
1036
  remainingErrors: number;
1037
+ errors?: any[] | undefined;
1004
1038
  } | undefined;
1005
- errors?: string[] | undefined;
1006
1039
  stepResults?: {
1007
1040
  conflictsResolved: number;
1008
1041
  filesCopied: number;
@@ -1028,14 +1061,17 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
1028
1061
  valid: z.ZodBoolean;
1029
1062
  errorsFixed: z.ZodNumber;
1030
1063
  remainingErrors: z.ZodNumber;
1064
+ errors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1031
1065
  }, "strip", z.ZodTypeAny, {
1032
1066
  valid: boolean;
1033
1067
  errorsFixed: number;
1034
1068
  remainingErrors: number;
1069
+ errors?: any[] | undefined;
1035
1070
  }, {
1036
1071
  valid: boolean;
1037
1072
  errorsFixed: number;
1038
1073
  remainingErrors: number;
1074
+ errors?: any[] | undefined;
1039
1075
  }>>;
1040
1076
  error: z.ZodOptional<z.ZodString>;
1041
1077
  errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1088,12 +1124,13 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
1088
1124
  applied: boolean;
1089
1125
  error?: string | undefined;
1090
1126
  branchName?: string | undefined;
1127
+ errors?: string[] | undefined;
1091
1128
  validationResults?: {
1092
1129
  valid: boolean;
1093
1130
  errorsFixed: number;
1094
1131
  remainingErrors: number;
1132
+ errors?: any[] | undefined;
1095
1133
  } | undefined;
1096
- errors?: string[] | undefined;
1097
1134
  stepResults?: {
1098
1135
  conflictsResolved: number;
1099
1136
  filesCopied: number;
@@ -1115,12 +1152,13 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
1115
1152
  applied: boolean;
1116
1153
  error?: string | undefined;
1117
1154
  branchName?: string | undefined;
1155
+ errors?: string[] | undefined;
1118
1156
  validationResults?: {
1119
1157
  valid: boolean;
1120
1158
  errorsFixed: number;
1121
1159
  remainingErrors: number;
1160
+ errors?: any[] | undefined;
1122
1161
  } | undefined;
1123
- errors?: string[] | undefined;
1124
1162
  stepResults?: {
1125
1163
  conflictsResolved: number;
1126
1164
  filesCopied: number;
@@ -1141,32 +1179,38 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
1141
1179
  ref: z.ZodOptional<z.ZodString>;
1142
1180
  slug: z.ZodOptional<z.ZodString>;
1143
1181
  targetPath: z.ZodOptional<z.ZodString>;
1182
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1144
1183
  }, "strip", z.ZodTypeAny, {
1145
1184
  repo: string;
1146
1185
  slug?: string | undefined;
1147
1186
  ref?: string | undefined;
1148
1187
  targetPath?: string | undefined;
1188
+ variables?: Record<string, string> | undefined;
1149
1189
  }, {
1150
1190
  repo: string;
1151
1191
  slug?: string | undefined;
1152
1192
  ref?: string | undefined;
1153
1193
  targetPath?: string | undefined;
1194
+ variables?: Record<string, string> | undefined;
1154
1195
  }>, z.ZodObject<{
1155
1196
  templateDir: z.ZodString;
1156
1197
  commitSha: z.ZodString;
1157
1198
  slug: z.ZodString;
1158
1199
  success: z.ZodOptional<z.ZodBoolean>;
1159
1200
  error: z.ZodOptional<z.ZodString>;
1201
+ targetPath: z.ZodOptional<z.ZodString>;
1160
1202
  }, "strip", z.ZodTypeAny, {
1161
1203
  slug: string;
1162
1204
  commitSha: string;
1163
1205
  templateDir: string;
1206
+ targetPath?: string | undefined;
1164
1207
  success?: boolean | undefined;
1165
1208
  error?: string | undefined;
1166
1209
  }, {
1167
1210
  slug: string;
1168
1211
  commitSha: string;
1169
1212
  templateDir: string;
1213
+ targetPath?: string | undefined;
1170
1214
  success?: boolean | undefined;
1171
1215
  error?: string | undefined;
1172
1216
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"analyze-package", z.ZodObject<{
@@ -1175,16 +1219,19 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
1175
1219
  slug: z.ZodString;
1176
1220
  success: z.ZodOptional<z.ZodBoolean>;
1177
1221
  error: z.ZodOptional<z.ZodString>;
1222
+ targetPath: z.ZodOptional<z.ZodString>;
1178
1223
  }, "strip", z.ZodTypeAny, {
1179
1224
  slug: string;
1180
1225
  commitSha: string;
1181
1226
  templateDir: string;
1227
+ targetPath?: string | undefined;
1182
1228
  success?: boolean | undefined;
1183
1229
  error?: string | undefined;
1184
1230
  }, {
1185
1231
  slug: string;
1186
1232
  commitSha: string;
1187
1233
  templateDir: string;
1234
+ targetPath?: string | undefined;
1188
1235
  success?: boolean | undefined;
1189
1236
  error?: string | undefined;
1190
1237
  }>, z.ZodObject<{
@@ -1223,16 +1270,19 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
1223
1270
  slug: z.ZodString;
1224
1271
  success: z.ZodOptional<z.ZodBoolean>;
1225
1272
  error: z.ZodOptional<z.ZodString>;
1273
+ targetPath: z.ZodOptional<z.ZodString>;
1226
1274
  }, "strip", z.ZodTypeAny, {
1227
1275
  slug: string;
1228
1276
  commitSha: string;
1229
1277
  templateDir: string;
1278
+ targetPath?: string | undefined;
1230
1279
  success?: boolean | undefined;
1231
1280
  error?: string | undefined;
1232
1281
  }, {
1233
1282
  slug: string;
1234
1283
  commitSha: string;
1235
1284
  templateDir: string;
1285
+ targetPath?: string | undefined;
1236
1286
  success?: boolean | undefined;
1237
1287
  error?: string | undefined;
1238
1288
  }>, z.ZodObject<{
@@ -1444,6 +1494,7 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
1444
1494
  commitSha: z.ZodString;
1445
1495
  slug: z.ZodString;
1446
1496
  targetPath: z.ZodOptional<z.ZodString>;
1497
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1447
1498
  }, "strip", z.ZodTypeAny, {
1448
1499
  slug: string;
1449
1500
  commitSha: string;
@@ -1454,6 +1505,7 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
1454
1505
  file: string;
1455
1506
  }[];
1456
1507
  targetPath?: string | undefined;
1508
+ variables?: Record<string, string> | undefined;
1457
1509
  }, {
1458
1510
  slug: string;
1459
1511
  commitSha: string;
@@ -1464,6 +1516,7 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
1464
1516
  file: string;
1465
1517
  }[];
1466
1518
  targetPath?: string | undefined;
1519
+ variables?: Record<string, string> | undefined;
1467
1520
  }>, z.ZodObject<{
1468
1521
  success: z.ZodBoolean;
1469
1522
  copiedFiles: z.ZodArray<z.ZodObject<{
@@ -1876,14 +1929,17 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
1876
1929
  valid: z.ZodBoolean;
1877
1930
  errorsFixed: z.ZodNumber;
1878
1931
  remainingErrors: z.ZodNumber;
1932
+ errors: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1879
1933
  }, "strip", z.ZodTypeAny, {
1880
1934
  valid: boolean;
1881
1935
  errorsFixed: number;
1882
1936
  remainingErrors: number;
1937
+ errors?: any[] | undefined;
1883
1938
  }, {
1884
1939
  valid: boolean;
1885
1940
  errorsFixed: number;
1886
1941
  remainingErrors: number;
1942
+ errors?: any[] | undefined;
1887
1943
  }>;
1888
1944
  error: z.ZodOptional<z.ZodString>;
1889
1945
  }, "strip", z.ZodTypeAny, {
@@ -1894,6 +1950,7 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
1894
1950
  valid: boolean;
1895
1951
  errorsFixed: number;
1896
1952
  remainingErrors: number;
1953
+ errors?: any[] | undefined;
1897
1954
  };
1898
1955
  error?: string | undefined;
1899
1956
  }, {
@@ -1904,6 +1961,7 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
1904
1961
  valid: boolean;
1905
1962
  errorsFixed: number;
1906
1963
  remainingErrors: number;
1964
+ errors?: any[] | undefined;
1907
1965
  };
1908
1966
  error?: string | undefined;
1909
1967
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType>)[]>>;
@@ -1 +1 @@
1
- {"version":3,"file":"template-builder.d.ts","sourceRoot":"","sources":["../../../src/workflows/template-builder/template-builder.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yHAU1E"}
@@ -30,15 +30,15 @@ export declare const DiscoveredWorkflowSchema: z.ZodObject<{
30
30
  name: string;
31
31
  description?: string | undefined;
32
32
  steps?: string[] | undefined;
33
- inputSchema?: any;
34
33
  outputSchema?: any;
34
+ inputSchema?: any;
35
35
  }, {
36
36
  file: string;
37
37
  name: string;
38
38
  description?: string | undefined;
39
39
  steps?: string[] | undefined;
40
- inputSchema?: any;
41
40
  outputSchema?: any;
41
+ inputSchema?: any;
42
42
  }>;
43
43
  export declare const WorkflowDiscoveryResultSchema: z.ZodObject<{
44
44
  success: z.ZodBoolean;
@@ -54,15 +54,15 @@ export declare const WorkflowDiscoveryResultSchema: z.ZodObject<{
54
54
  name: string;
55
55
  description?: string | undefined;
56
56
  steps?: string[] | undefined;
57
- inputSchema?: any;
58
57
  outputSchema?: any;
58
+ inputSchema?: any;
59
59
  }, {
60
60
  file: string;
61
61
  name: string;
62
62
  description?: string | undefined;
63
63
  steps?: string[] | undefined;
64
- inputSchema?: any;
65
64
  outputSchema?: any;
65
+ inputSchema?: any;
66
66
  }>, "many">;
67
67
  mastraIndexExists: z.ZodBoolean;
68
68
  message: z.ZodString;
@@ -75,8 +75,8 @@ export declare const WorkflowDiscoveryResultSchema: z.ZodObject<{
75
75
  name: string;
76
76
  description?: string | undefined;
77
77
  steps?: string[] | undefined;
78
- inputSchema?: any;
79
78
  outputSchema?: any;
79
+ inputSchema?: any;
80
80
  }[];
81
81
  mastraIndexExists: boolean;
82
82
  error?: string | undefined;
@@ -88,8 +88,8 @@ export declare const WorkflowDiscoveryResultSchema: z.ZodObject<{
88
88
  name: string;
89
89
  description?: string | undefined;
90
90
  steps?: string[] | undefined;
91
- inputSchema?: any;
92
91
  outputSchema?: any;
92
+ inputSchema?: any;
93
93
  }[];
94
94
  mastraIndexExists: boolean;
95
95
  error?: string | undefined;
@@ -174,14 +174,14 @@ export declare const WorkflowResearchResultSchema: z.ZodObject<{
174
174
  snippet: z.ZodString;
175
175
  relevance: z.ZodNumber;
176
176
  }, "strip", z.ZodTypeAny, {
177
- url: string;
178
177
  relevance: number;
179
178
  title: string;
179
+ url: string;
180
180
  snippet: string;
181
181
  }, {
182
- url: string;
183
182
  relevance: number;
184
183
  title: string;
184
+ url: string;
185
185
  snippet: string;
186
186
  }>, "many">;
187
187
  message: z.ZodString;
@@ -195,9 +195,9 @@ export declare const WorkflowResearchResultSchema: z.ZodObject<{
195
195
  bestPractices: string[];
196
196
  };
197
197
  webResources: {
198
- url: string;
199
198
  relevance: number;
200
199
  title: string;
200
+ url: string;
201
201
  snippet: string;
202
202
  }[];
203
203
  error?: string | undefined;
@@ -210,9 +210,9 @@ export declare const WorkflowResearchResultSchema: z.ZodObject<{
210
210
  bestPractices: string[];
211
211
  };
212
212
  webResources: {
213
- url: string;
214
213
  relevance: number;
215
214
  title: string;
215
+ url: string;
216
216
  snippet: string;
217
217
  }[];
218
218
  error?: string | undefined;
@@ -510,15 +510,15 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
510
510
  name: string;
511
511
  description?: string | undefined;
512
512
  steps?: string[] | undefined;
513
- inputSchema?: any;
514
513
  outputSchema?: any;
514
+ inputSchema?: any;
515
515
  }, {
516
516
  file: string;
517
517
  name: string;
518
518
  description?: string | undefined;
519
519
  steps?: string[] | undefined;
520
- inputSchema?: any;
521
520
  outputSchema?: any;
521
+ inputSchema?: any;
522
522
  }>, "many">;
523
523
  mastraIndexExists: z.ZodBoolean;
524
524
  message: z.ZodString;
@@ -531,8 +531,8 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
531
531
  name: string;
532
532
  description?: string | undefined;
533
533
  steps?: string[] | undefined;
534
- inputSchema?: any;
535
534
  outputSchema?: any;
535
+ inputSchema?: any;
536
536
  }[];
537
537
  mastraIndexExists: boolean;
538
538
  error?: string | undefined;
@@ -544,8 +544,8 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
544
544
  name: string;
545
545
  description?: string | undefined;
546
546
  steps?: string[] | undefined;
547
- inputSchema?: any;
548
547
  outputSchema?: any;
548
+ inputSchema?: any;
549
549
  }[];
550
550
  mastraIndexExists: boolean;
551
551
  error?: string | undefined;
@@ -630,14 +630,14 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
630
630
  snippet: z.ZodString;
631
631
  relevance: z.ZodNumber;
632
632
  }, "strip", z.ZodTypeAny, {
633
- url: string;
634
633
  relevance: number;
635
634
  title: string;
635
+ url: string;
636
636
  snippet: string;
637
637
  }, {
638
- url: string;
639
638
  relevance: number;
640
639
  title: string;
640
+ url: string;
641
641
  snippet: string;
642
642
  }>, "many">;
643
643
  message: z.ZodString;
@@ -651,9 +651,9 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
651
651
  bestPractices: string[];
652
652
  };
653
653
  webResources: {
654
- url: string;
655
654
  relevance: number;
656
655
  title: string;
656
+ url: string;
657
657
  snippet: string;
658
658
  }[];
659
659
  error?: string | undefined;
@@ -666,9 +666,9 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
666
666
  bestPractices: string[];
667
667
  };
668
668
  webResources: {
669
- url: string;
670
669
  relevance: number;
671
670
  title: string;
671
+ url: string;
672
672
  snippet: string;
673
673
  }[];
674
674
  error?: string | undefined;
@@ -923,9 +923,9 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
923
923
  bestPractices: string[];
924
924
  };
925
925
  webResources: {
926
- url: string;
927
926
  relevance: number;
928
927
  title: string;
928
+ url: string;
929
929
  snippet: string;
930
930
  }[];
931
931
  error?: string | undefined;
@@ -939,8 +939,8 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
939
939
  name: string;
940
940
  description?: string | undefined;
941
941
  steps?: string[] | undefined;
942
- inputSchema?: any;
943
942
  outputSchema?: any;
943
+ inputSchema?: any;
944
944
  }[];
945
945
  mastraIndexExists: boolean;
946
946
  error?: string | undefined;
@@ -1033,9 +1033,9 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
1033
1033
  bestPractices: string[];
1034
1034
  };
1035
1035
  webResources: {
1036
- url: string;
1037
1036
  relevance: number;
1038
1037
  title: string;
1038
+ url: string;
1039
1039
  snippet: string;
1040
1040
  }[];
1041
1041
  error?: string | undefined;
@@ -1049,8 +1049,8 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
1049
1049
  name: string;
1050
1050
  description?: string | undefined;
1051
1051
  steps?: string[] | undefined;
1052
- inputSchema?: any;
1053
1052
  outputSchema?: any;
1053
+ inputSchema?: any;
1054
1054
  }[];
1055
1055
  mastraIndexExists: boolean;
1056
1056
  error?: string | undefined;