@mastra/agent-builder 0.2.4 → 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
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<any, z.UnknownKeysParam, z.ZodTypeAny, {
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
3
  [x: string]: any;
4
4
  }, {
5
5
  [x: string]: any;
@@ -110,14 +110,14 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
110
110
  snippet: z.ZodString;
111
111
  relevance: z.ZodNumber;
112
112
  }, "strip", z.ZodTypeAny, {
113
+ url: string;
113
114
  relevance: number;
114
115
  title: string;
115
- url: string;
116
116
  snippet: string;
117
117
  }, {
118
+ url: string;
118
119
  relevance: number;
119
120
  title: string;
120
- url: string;
121
121
  snippet: string;
122
122
  }>, "many">;
123
123
  message: z.ZodString;
@@ -131,9 +131,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
131
131
  bestPractices: string[];
132
132
  };
133
133
  webResources: {
134
+ url: string;
134
135
  relevance: number;
135
136
  title: string;
136
- url: string;
137
137
  snippet: string;
138
138
  }[];
139
139
  error?: string | undefined;
@@ -146,9 +146,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
146
146
  bestPractices: string[];
147
147
  };
148
148
  webResources: {
149
+ url: string;
149
150
  relevance: number;
150
151
  title: string;
151
- url: string;
152
152
  snippet: string;
153
153
  }[];
154
154
  error?: string | undefined;
@@ -188,9 +188,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
188
188
  bestPractices: string[];
189
189
  };
190
190
  webResources: {
191
+ url: string;
191
192
  relevance: number;
192
193
  title: string;
193
- url: string;
194
194
  snippet: string;
195
195
  }[];
196
196
  error?: string | undefined;
@@ -233,9 +233,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
233
233
  bestPractices: string[];
234
234
  };
235
235
  webResources: {
236
+ url: string;
236
237
  relevance: number;
237
238
  title: string;
238
- url: string;
239
239
  snippet: string;
240
240
  }[];
241
241
  error?: string | undefined;
@@ -296,6 +296,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
296
296
  }, "strip", z.ZodTypeAny, {
297
297
  message: string;
298
298
  success: boolean;
299
+ reasoning: string;
299
300
  tasks: {
300
301
  status: "pending" | "in_progress" | "completed" | "blocked";
301
302
  id: string;
@@ -304,7 +305,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
304
305
  notes: string;
305
306
  dependencies?: string[] | undefined;
306
307
  }[];
307
- reasoning: string;
308
308
  questions: {
309
309
  type: "boolean" | "text" | "choice";
310
310
  id: string;
@@ -319,6 +319,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
319
319
  }, {
320
320
  message: string;
321
321
  success: boolean;
322
+ reasoning: string;
322
323
  tasks: {
323
324
  id: string;
324
325
  content: string;
@@ -327,7 +328,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
327
328
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
328
329
  dependencies?: string[] | undefined;
329
330
  }[];
330
- reasoning: string;
331
331
  questions: {
332
332
  type: "boolean" | "text" | "choice";
333
333
  id: string;
@@ -391,6 +391,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
391
391
  }>, "many">;
392
392
  reasoning: z.ZodString;
393
393
  }, "strip", z.ZodTypeAny, {
394
+ reasoning: string;
394
395
  tasks: {
395
396
  status: "pending" | "in_progress" | "completed" | "blocked";
396
397
  id: string;
@@ -399,8 +400,8 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
399
400
  notes: string;
400
401
  dependencies?: string[] | undefined;
401
402
  }[];
402
- reasoning: string;
403
403
  }, {
404
+ reasoning: string;
404
405
  tasks: {
405
406
  id: string;
406
407
  content: string;
@@ -409,7 +410,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
409
410
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
410
411
  dependencies?: string[] | undefined;
411
412
  }[];
412
- reasoning: string;
413
413
  }>;
414
414
  }, "strip", z.ZodTypeAny, {
415
415
  message: string;
@@ -421,6 +421,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
421
421
  context?: string | undefined;
422
422
  }[];
423
423
  currentPlan: {
424
+ reasoning: string;
424
425
  tasks: {
425
426
  status: "pending" | "in_progress" | "completed" | "blocked";
426
427
  id: string;
@@ -429,7 +430,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
429
430
  notes: string;
430
431
  dependencies?: string[] | undefined;
431
432
  }[];
432
- reasoning: string;
433
433
  };
434
434
  }, {
435
435
  message: string;
@@ -441,6 +441,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
441
441
  context?: string | undefined;
442
442
  }[];
443
443
  currentPlan: {
444
+ reasoning: string;
444
445
  tasks: {
445
446
  id: string;
446
447
  content: string;
@@ -449,9 +450,8 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
449
450
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
450
451
  dependencies?: string[] | undefined;
451
452
  }[];
452
- reasoning: string;
453
453
  };
454
- }>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"task-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
454
+ }>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").Step<"task-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
455
455
  [x: string]: any;
456
456
  }, {
457
457
  [x: string]: any;
@@ -507,6 +507,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
507
507
  }, "strip", z.ZodTypeAny, {
508
508
  message: string;
509
509
  success: boolean;
510
+ reasoning: string;
510
511
  tasks: {
511
512
  status: "pending" | "in_progress" | "completed" | "blocked";
512
513
  id: string;
@@ -515,7 +516,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
515
516
  notes: string;
516
517
  dependencies?: string[] | undefined;
517
518
  }[];
518
- reasoning: string;
519
519
  questions: {
520
520
  type: "boolean" | "text" | "choice";
521
521
  id: string;
@@ -530,6 +530,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
530
530
  }, {
531
531
  message: string;
532
532
  success: boolean;
533
+ reasoning: string;
533
534
  tasks: {
534
535
  id: string;
535
536
  content: string;
@@ -538,7 +539,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
538
539
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
539
540
  dependencies?: string[] | undefined;
540
541
  }[];
541
- reasoning: string;
542
542
  questions: {
543
543
  type: "boolean" | "text" | "choice";
544
544
  id: string;
@@ -656,7 +656,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
656
656
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
657
657
  dependencies?: string[] | undefined;
658
658
  }[];
659
- }>, import("@mastra/core").DefaultEngineType>)[], "planning-and-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
659
+ }>, import("@mastra/core/workflows").DefaultEngineType>)[], "planning-and-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
660
660
  [x: string]: any;
661
661
  }, {
662
662
  [x: string]: any;
@@ -767,14 +767,14 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
767
767
  snippet: z.ZodString;
768
768
  relevance: z.ZodNumber;
769
769
  }, "strip", z.ZodTypeAny, {
770
+ url: string;
770
771
  relevance: number;
771
772
  title: string;
772
- url: string;
773
773
  snippet: string;
774
774
  }, {
775
+ url: string;
775
776
  relevance: number;
776
777
  title: string;
777
- url: string;
778
778
  snippet: string;
779
779
  }>, "many">;
780
780
  message: z.ZodString;
@@ -788,9 +788,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
788
788
  bestPractices: string[];
789
789
  };
790
790
  webResources: {
791
+ url: string;
791
792
  relevance: number;
792
793
  title: string;
793
- url: string;
794
794
  snippet: string;
795
795
  }[];
796
796
  error?: string | undefined;
@@ -803,9 +803,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
803
803
  bestPractices: string[];
804
804
  };
805
805
  webResources: {
806
+ url: string;
806
807
  relevance: number;
807
808
  title: string;
808
- url: string;
809
809
  snippet: string;
810
810
  }[];
811
811
  error?: string | undefined;
@@ -845,9 +845,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
845
845
  bestPractices: string[];
846
846
  };
847
847
  webResources: {
848
+ url: string;
848
849
  relevance: number;
849
850
  title: string;
850
- url: string;
851
851
  snippet: string;
852
852
  }[];
853
853
  error?: string | undefined;
@@ -890,9 +890,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
890
890
  bestPractices: string[];
891
891
  };
892
892
  webResources: {
893
+ url: string;
893
894
  relevance: number;
894
895
  title: string;
895
- url: string;
896
896
  snippet: string;
897
897
  }[];
898
898
  error?: string | undefined;
@@ -1001,7 +1001,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1001
1001
  }[];
1002
1002
  approved: boolean;
1003
1003
  userFeedback?: string | undefined;
1004
- }>> | import("@mastra/core").Step<"workflow-discovery", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
1004
+ }>> | import("@mastra/core/workflows").Step<"workflow-discovery", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
1005
1005
  [x: string]: any;
1006
1006
  }, {
1007
1007
  [x: string]: any;
@@ -1076,7 +1076,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1076
1076
  }[];
1077
1077
  mastraIndexExists: boolean;
1078
1078
  error?: string | undefined;
1079
- }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"project-discovery", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
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
1080
  [x: string]: any;
1081
1081
  }, {
1082
1082
  [x: string]: any;
@@ -1191,7 +1191,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1191
1191
  existingTools: string[];
1192
1192
  };
1193
1193
  error?: string | undefined;
1194
- }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"workflow-research", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
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
1195
  [x: string]: any;
1196
1196
  }, {
1197
1197
  [x: string]: any;
@@ -1274,14 +1274,14 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1274
1274
  snippet: z.ZodString;
1275
1275
  relevance: z.ZodNumber;
1276
1276
  }, "strip", z.ZodTypeAny, {
1277
+ url: string;
1277
1278
  relevance: number;
1278
1279
  title: string;
1279
- url: string;
1280
1280
  snippet: string;
1281
1281
  }, {
1282
+ url: string;
1282
1283
  relevance: number;
1283
1284
  title: string;
1284
- url: string;
1285
1285
  snippet: string;
1286
1286
  }>, "many">;
1287
1287
  message: z.ZodString;
@@ -1295,9 +1295,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1295
1295
  bestPractices: string[];
1296
1296
  };
1297
1297
  webResources: {
1298
+ url: string;
1298
1299
  relevance: number;
1299
1300
  title: string;
1300
- url: string;
1301
1301
  snippet: string;
1302
1302
  }[];
1303
1303
  error?: string | undefined;
@@ -1310,13 +1310,13 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1310
1310
  bestPractices: string[];
1311
1311
  };
1312
1312
  webResources: {
1313
+ url: string;
1313
1314
  relevance: number;
1314
1315
  title: string;
1315
- url: string;
1316
1316
  snippet: string;
1317
1317
  }[];
1318
1318
  error?: string | undefined;
1319
- }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"task-execution", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
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
1320
  [x: string]: any;
1321
1321
  }, {
1322
1322
  [x: string]: any;
@@ -1492,7 +1492,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1492
1492
  }[];
1493
1493
  currentProgress: string;
1494
1494
  completedTasks: string[];
1495
- }>, import("@mastra/core").DefaultEngineType>)[], "workflow-builder", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
1495
+ }>, import("@mastra/core/workflows").DefaultEngineType>)[], "workflow-builder", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
1496
1496
  [x: string]: any;
1497
1497
  }, {
1498
1498
  [x: string]: any;
@@ -1653,14 +1653,14 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1653
1653
  snippet: z.ZodString;
1654
1654
  relevance: z.ZodNumber;
1655
1655
  }, "strip", z.ZodTypeAny, {
1656
+ url: string;
1656
1657
  relevance: number;
1657
1658
  title: string;
1658
- url: string;
1659
1659
  snippet: string;
1660
1660
  }, {
1661
+ url: string;
1661
1662
  relevance: number;
1662
1663
  title: string;
1663
- url: string;
1664
1664
  snippet: string;
1665
1665
  }>, "many">;
1666
1666
  message: z.ZodString;
@@ -1674,9 +1674,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1674
1674
  bestPractices: string[];
1675
1675
  };
1676
1676
  webResources: {
1677
+ url: string;
1677
1678
  relevance: number;
1678
1679
  title: string;
1679
- url: string;
1680
1680
  snippet: string;
1681
1681
  }[];
1682
1682
  error?: string | undefined;
@@ -1689,9 +1689,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1689
1689
  bestPractices: string[];
1690
1690
  };
1691
1691
  webResources: {
1692
+ url: string;
1692
1693
  relevance: number;
1693
1694
  title: string;
1694
- url: string;
1695
1695
  snippet: string;
1696
1696
  }[];
1697
1697
  error?: string | undefined;
@@ -1748,6 +1748,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1748
1748
  }, "strip", z.ZodTypeAny, {
1749
1749
  message: string;
1750
1750
  success: boolean;
1751
+ reasoning: string;
1751
1752
  tasks: {
1752
1753
  status: "pending" | "in_progress" | "completed" | "blocked";
1753
1754
  id: string;
@@ -1756,7 +1757,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1756
1757
  notes: string;
1757
1758
  dependencies?: string[] | undefined;
1758
1759
  }[];
1759
- reasoning: string;
1760
1760
  questions: {
1761
1761
  type: "boolean" | "text" | "choice";
1762
1762
  id: string;
@@ -1771,6 +1771,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1771
1771
  }, {
1772
1772
  message: string;
1773
1773
  success: boolean;
1774
+ reasoning: string;
1774
1775
  tasks: {
1775
1776
  id: string;
1776
1777
  content: string;
@@ -1779,7 +1780,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1779
1780
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
1780
1781
  dependencies?: string[] | undefined;
1781
1782
  }[];
1782
- reasoning: string;
1783
1783
  questions: {
1784
1784
  type: "boolean" | "text" | "choice";
1785
1785
  id: string;
@@ -1946,9 +1946,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1946
1946
  bestPractices: string[];
1947
1947
  };
1948
1948
  webResources: {
1949
+ url: string;
1949
1950
  relevance: number;
1950
1951
  title: string;
1951
- url: string;
1952
1952
  snippet: string;
1953
1953
  }[];
1954
1954
  error?: string | undefined;
@@ -1971,6 +1971,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1971
1971
  planning?: {
1972
1972
  message: string;
1973
1973
  success: boolean;
1974
+ reasoning: string;
1974
1975
  tasks: {
1975
1976
  status: "pending" | "in_progress" | "completed" | "blocked";
1976
1977
  id: string;
@@ -1979,7 +1980,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
1979
1980
  notes: string;
1980
1981
  dependencies?: string[] | undefined;
1981
1982
  }[];
1982
- reasoning: string;
1983
1983
  questions: {
1984
1984
  type: "boolean" | "text" | "choice";
1985
1985
  id: string;
@@ -2056,9 +2056,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2056
2056
  bestPractices: string[];
2057
2057
  };
2058
2058
  webResources: {
2059
+ url: string;
2059
2060
  relevance: number;
2060
2061
  title: string;
2061
- url: string;
2062
2062
  snippet: string;
2063
2063
  }[];
2064
2064
  error?: string | undefined;
@@ -2081,6 +2081,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2081
2081
  planning?: {
2082
2082
  message: string;
2083
2083
  success: boolean;
2084
+ reasoning: string;
2084
2085
  tasks: {
2085
2086
  id: string;
2086
2087
  content: string;
@@ -2089,7 +2090,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2089
2090
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
2090
2091
  dependencies?: string[] | undefined;
2091
2092
  }[];
2092
- reasoning: string;
2093
2093
  questions: {
2094
2094
  type: "boolean" | "text" | "choice";
2095
2095
  id: string;
@@ -2267,14 +2267,14 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2267
2267
  snippet: z.ZodString;
2268
2268
  relevance: z.ZodNumber;
2269
2269
  }, "strip", z.ZodTypeAny, {
2270
+ url: string;
2270
2271
  relevance: number;
2271
2272
  title: string;
2272
- url: string;
2273
2273
  snippet: string;
2274
2274
  }, {
2275
+ url: string;
2275
2276
  relevance: number;
2276
2277
  title: string;
2277
- url: string;
2278
2278
  snippet: string;
2279
2279
  }>, "many">;
2280
2280
  message: z.ZodString;
@@ -2288,9 +2288,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2288
2288
  bestPractices: string[];
2289
2289
  };
2290
2290
  webResources: {
2291
+ url: string;
2291
2292
  relevance: number;
2292
2293
  title: string;
2293
- url: string;
2294
2294
  snippet: string;
2295
2295
  }[];
2296
2296
  error?: string | undefined;
@@ -2303,9 +2303,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2303
2303
  bestPractices: string[];
2304
2304
  };
2305
2305
  webResources: {
2306
+ url: string;
2306
2307
  relevance: number;
2307
2308
  title: string;
2308
- url: string;
2309
2309
  snippet: string;
2310
2310
  }[];
2311
2311
  error?: string | undefined;
@@ -2362,6 +2362,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2362
2362
  }, "strip", z.ZodTypeAny, {
2363
2363
  message: string;
2364
2364
  success: boolean;
2365
+ reasoning: string;
2365
2366
  tasks: {
2366
2367
  status: "pending" | "in_progress" | "completed" | "blocked";
2367
2368
  id: string;
@@ -2370,7 +2371,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2370
2371
  notes: string;
2371
2372
  dependencies?: string[] | undefined;
2372
2373
  }[];
2373
- reasoning: string;
2374
2374
  questions: {
2375
2375
  type: "boolean" | "text" | "choice";
2376
2376
  id: string;
@@ -2385,6 +2385,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2385
2385
  }, {
2386
2386
  message: string;
2387
2387
  success: boolean;
2388
+ reasoning: string;
2388
2389
  tasks: {
2389
2390
  id: string;
2390
2391
  content: string;
@@ -2393,7 +2394,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2393
2394
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
2394
2395
  dependencies?: string[] | undefined;
2395
2396
  }[];
2396
- reasoning: string;
2397
2397
  questions: {
2398
2398
  type: "boolean" | "text" | "choice";
2399
2399
  id: string;
@@ -2560,9 +2560,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2560
2560
  bestPractices: string[];
2561
2561
  };
2562
2562
  webResources: {
2563
+ url: string;
2563
2564
  relevance: number;
2564
2565
  title: string;
2565
- url: string;
2566
2566
  snippet: string;
2567
2567
  }[];
2568
2568
  error?: string | undefined;
@@ -2585,6 +2585,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2585
2585
  planning?: {
2586
2586
  message: string;
2587
2587
  success: boolean;
2588
+ reasoning: string;
2588
2589
  tasks: {
2589
2590
  status: "pending" | "in_progress" | "completed" | "blocked";
2590
2591
  id: string;
@@ -2593,7 +2594,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2593
2594
  notes: string;
2594
2595
  dependencies?: string[] | undefined;
2595
2596
  }[];
2596
- reasoning: string;
2597
2597
  questions: {
2598
2598
  type: "boolean" | "text" | "choice";
2599
2599
  id: string;
@@ -2670,9 +2670,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2670
2670
  bestPractices: string[];
2671
2671
  };
2672
2672
  webResources: {
2673
+ url: string;
2673
2674
  relevance: number;
2674
2675
  title: string;
2675
- url: string;
2676
2676
  snippet: string;
2677
2677
  }[];
2678
2678
  error?: string | undefined;
@@ -2695,6 +2695,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2695
2695
  planning?: {
2696
2696
  message: string;
2697
2697
  success: boolean;
2698
+ reasoning: string;
2698
2699
  tasks: {
2699
2700
  id: string;
2700
2701
  content: string;
@@ -2703,7 +2704,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
2703
2704
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
2704
2705
  dependencies?: string[] | undefined;
2705
2706
  }[];
2706
- reasoning: string;
2707
2707
  questions: {
2708
2708
  type: "boolean" | "text" | "choice";
2709
2709
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-builder.d.ts","sourceRoot":"","sources":["../../../src/workflows/workflow-builder/workflow-builder.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmgB7B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEzB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/agent-builder",
3
- "version": "0.2.4",
3
+ "version": "1.0.0-beta.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -37,23 +37,25 @@
37
37
  "ignore": "^7.0.5",
38
38
  "semver": "^7.7.2",
39
39
  "swpm": "^2.6.0",
40
- "@mastra/memory": "0.15.11"
40
+ "@mastra/memory": "1.0.0-beta.1"
41
41
  },
42
42
  "devDependencies": {
43
- "@types/node": "^20.19.0",
43
+ "@types/node": "22.13.17",
44
44
  "@types/semver": "^7.7.1",
45
+ "@vitest/coverage-v8": "4.0.8",
46
+ "@vitest/ui": "4.0.8",
45
47
  "eslint": "^9.37.0",
46
48
  "tsup": "^8.5.0",
47
49
  "typescript": "^5.8.3",
48
50
  "typescript-eslint": "^8.38.0",
49
- "vitest": "^3.2.4",
51
+ "vitest": "^4.0.8",
50
52
  "zod": "^3.25.76",
51
- "@mastra/core": "0.24.0",
52
- "@internal/lint": "0.0.58",
53
- "@internal/types-builder": "0.0.33"
53
+ "@internal/lint": "0.0.53",
54
+ "@internal/types-builder": "0.0.28",
55
+ "@mastra/core": "1.0.0-beta.3"
54
56
  },
55
57
  "peerDependencies": {
56
- "@mastra/core": ">=0.21.0-0 <0.25.0-0",
58
+ "@mastra/core": ">=1.0.0-0 <2.0.0-0",
57
59
  "typescript": ">=5.7.0",
58
60
  "zod": "^3.25.0 || ^4.0.0"
59
61
  },
@@ -63,7 +65,7 @@
63
65
  }
64
66
  },
65
67
  "engines": {
66
- "node": ">=20"
68
+ "node": ">=22.13.0"
67
69
  },
68
70
  "keywords": [
69
71
  "ai",
@@ -83,13 +85,6 @@
83
85
  "bugs": {
84
86
  "url": "https://github.com/mastra-ai/mastra/issues"
85
87
  },
86
- "publishConfig": {
87
- "access": "public",
88
- "publish-branch": [
89
- "main",
90
- "0.x"
91
- ]
92
- },
93
88
  "scripts": {
94
89
  "check": "tsc --noEmit",
95
90
  "lint": "eslint .",