@mastra/agent-builder 0.0.0-netlify-no-bundle-20251127120354 → 0.0.0-partial-response-backport-20251204204441
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.
- package/CHANGELOG.md +39 -149
- package/dist/agent/index.d.ts +3 -3
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/defaults.d.ts +783 -235
- package/dist/defaults.d.ts.map +1 -1
- package/dist/index.js +137 -163
- package/dist/index.js.map +1 -1
- package/dist/processors/tool-summary.d.ts +5 -10
- package/dist/processors/tool-summary.d.ts.map +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/utils.d.ts +4 -4
- package/dist/workflows/shared/schema.d.ts +2 -2
- package/dist/workflows/task-planning/schema.d.ts +12 -12
- package/dist/workflows/task-planning/task-planning.d.ts +23 -23
- package/dist/workflows/task-planning/task-planning.d.ts.map +1 -1
- package/dist/workflows/template-builder/template-builder.d.ts +21 -21
- package/dist/workflows/template-builder/template-builder.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/prompts.d.ts +1 -1
- package/dist/workflows/workflow-builder/prompts.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/schema.d.ts +14 -14
- package/dist/workflows/workflow-builder/tools.d.ts +83 -13
- package/dist/workflows/workflow-builder/tools.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/workflow-builder.d.ts +52 -52
- package/dist/workflows/workflow-builder/workflow-builder.d.ts.map +1 -1
- package/package.json +16 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
2
|
-
export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core
|
|
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, {
|
|
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;
|
|
114
113
|
relevance: number;
|
|
115
114
|
title: string;
|
|
115
|
+
url: string;
|
|
116
116
|
snippet: string;
|
|
117
117
|
}, {
|
|
118
|
-
url: string;
|
|
119
118
|
relevance: number;
|
|
120
119
|
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;
|
|
135
134
|
relevance: number;
|
|
136
135
|
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;
|
|
150
149
|
relevance: number;
|
|
151
150
|
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;
|
|
192
191
|
relevance: number;
|
|
193
192
|
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;
|
|
237
236
|
relevance: number;
|
|
238
237
|
title: string;
|
|
238
|
+
url: string;
|
|
239
239
|
snippet: string;
|
|
240
240
|
}[];
|
|
241
241
|
error?: string | undefined;
|
|
@@ -296,7 +296,6 @@ 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;
|
|
300
299
|
tasks: {
|
|
301
300
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
302
301
|
id: string;
|
|
@@ -305,6 +304,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
305
304
|
notes: string;
|
|
306
305
|
dependencies?: string[] | undefined;
|
|
307
306
|
}[];
|
|
307
|
+
reasoning: string;
|
|
308
308
|
questions: {
|
|
309
309
|
type: "boolean" | "text" | "choice";
|
|
310
310
|
id: string;
|
|
@@ -319,7 +319,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
319
319
|
}, {
|
|
320
320
|
message: string;
|
|
321
321
|
success: boolean;
|
|
322
|
-
reasoning: string;
|
|
323
322
|
tasks: {
|
|
324
323
|
id: string;
|
|
325
324
|
content: string;
|
|
@@ -328,6 +327,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
328
327
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
329
328
|
dependencies?: string[] | undefined;
|
|
330
329
|
}[];
|
|
330
|
+
reasoning: string;
|
|
331
331
|
questions: {
|
|
332
332
|
type: "boolean" | "text" | "choice";
|
|
333
333
|
id: string;
|
|
@@ -391,7 +391,6 @@ 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;
|
|
395
394
|
tasks: {
|
|
396
395
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
397
396
|
id: string;
|
|
@@ -400,8 +399,8 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
400
399
|
notes: string;
|
|
401
400
|
dependencies?: string[] | undefined;
|
|
402
401
|
}[];
|
|
403
|
-
}, {
|
|
404
402
|
reasoning: string;
|
|
403
|
+
}, {
|
|
405
404
|
tasks: {
|
|
406
405
|
id: string;
|
|
407
406
|
content: string;
|
|
@@ -410,6 +409,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
410
409
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
411
410
|
dependencies?: string[] | undefined;
|
|
412
411
|
}[];
|
|
412
|
+
reasoning: string;
|
|
413
413
|
}>;
|
|
414
414
|
}, "strip", z.ZodTypeAny, {
|
|
415
415
|
message: string;
|
|
@@ -421,7 +421,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
421
421
|
context?: string | undefined;
|
|
422
422
|
}[];
|
|
423
423
|
currentPlan: {
|
|
424
|
-
reasoning: string;
|
|
425
424
|
tasks: {
|
|
426
425
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
427
426
|
id: string;
|
|
@@ -430,6 +429,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
430
429
|
notes: string;
|
|
431
430
|
dependencies?: string[] | undefined;
|
|
432
431
|
}[];
|
|
432
|
+
reasoning: string;
|
|
433
433
|
};
|
|
434
434
|
}, {
|
|
435
435
|
message: string;
|
|
@@ -441,7 +441,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
441
441
|
context?: string | undefined;
|
|
442
442
|
}[];
|
|
443
443
|
currentPlan: {
|
|
444
|
-
reasoning: string;
|
|
445
444
|
tasks: {
|
|
446
445
|
id: string;
|
|
447
446
|
content: string;
|
|
@@ -450,8 +449,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
450
449
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
451
450
|
dependencies?: string[] | undefined;
|
|
452
451
|
}[];
|
|
452
|
+
reasoning: string;
|
|
453
453
|
};
|
|
454
|
-
}>, import("@mastra/core
|
|
454
|
+
}>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"task-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
455
455
|
[x: string]: any;
|
|
456
456
|
}, {
|
|
457
457
|
[x: string]: any;
|
|
@@ -507,7 +507,6 @@ 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;
|
|
511
510
|
tasks: {
|
|
512
511
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
513
512
|
id: string;
|
|
@@ -516,6 +515,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
516
515
|
notes: string;
|
|
517
516
|
dependencies?: string[] | undefined;
|
|
518
517
|
}[];
|
|
518
|
+
reasoning: string;
|
|
519
519
|
questions: {
|
|
520
520
|
type: "boolean" | "text" | "choice";
|
|
521
521
|
id: string;
|
|
@@ -530,7 +530,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
530
530
|
}, {
|
|
531
531
|
message: string;
|
|
532
532
|
success: boolean;
|
|
533
|
-
reasoning: string;
|
|
534
533
|
tasks: {
|
|
535
534
|
id: string;
|
|
536
535
|
content: string;
|
|
@@ -539,6 +538,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
539
538
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
540
539
|
dependencies?: string[] | undefined;
|
|
541
540
|
}[];
|
|
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
|
|
659
|
+
}>, import("@mastra/core").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;
|
|
771
770
|
relevance: number;
|
|
772
771
|
title: string;
|
|
772
|
+
url: string;
|
|
773
773
|
snippet: string;
|
|
774
774
|
}, {
|
|
775
|
-
url: string;
|
|
776
775
|
relevance: number;
|
|
777
776
|
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;
|
|
792
791
|
relevance: number;
|
|
793
792
|
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;
|
|
807
806
|
relevance: number;
|
|
808
807
|
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;
|
|
849
848
|
relevance: number;
|
|
850
849
|
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;
|
|
894
893
|
relevance: number;
|
|
895
894
|
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
|
|
1004
|
+
}>> | import("@mastra/core").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
|
|
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, {
|
|
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
|
|
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, {
|
|
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;
|
|
1278
1277
|
relevance: number;
|
|
1279
1278
|
title: string;
|
|
1279
|
+
url: string;
|
|
1280
1280
|
snippet: string;
|
|
1281
1281
|
}, {
|
|
1282
|
-
url: string;
|
|
1283
1282
|
relevance: number;
|
|
1284
1283
|
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;
|
|
1299
1298
|
relevance: number;
|
|
1300
1299
|
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;
|
|
1314
1313
|
relevance: number;
|
|
1315
1314
|
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
|
|
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, {
|
|
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
|
|
1495
|
+
}>, import("@mastra/core").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;
|
|
1657
1656
|
relevance: number;
|
|
1658
1657
|
title: string;
|
|
1658
|
+
url: string;
|
|
1659
1659
|
snippet: string;
|
|
1660
1660
|
}, {
|
|
1661
|
-
url: string;
|
|
1662
1661
|
relevance: number;
|
|
1663
1662
|
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;
|
|
1678
1677
|
relevance: number;
|
|
1679
1678
|
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;
|
|
1693
1692
|
relevance: number;
|
|
1694
1693
|
title: string;
|
|
1694
|
+
url: string;
|
|
1695
1695
|
snippet: string;
|
|
1696
1696
|
}[];
|
|
1697
1697
|
error?: string | undefined;
|
|
@@ -1748,7 +1748,6 @@ 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;
|
|
1752
1751
|
tasks: {
|
|
1753
1752
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
1754
1753
|
id: string;
|
|
@@ -1757,6 +1756,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
1757
1756
|
notes: string;
|
|
1758
1757
|
dependencies?: string[] | undefined;
|
|
1759
1758
|
}[];
|
|
1759
|
+
reasoning: string;
|
|
1760
1760
|
questions: {
|
|
1761
1761
|
type: "boolean" | "text" | "choice";
|
|
1762
1762
|
id: string;
|
|
@@ -1771,7 +1771,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
1771
1771
|
}, {
|
|
1772
1772
|
message: string;
|
|
1773
1773
|
success: boolean;
|
|
1774
|
-
reasoning: string;
|
|
1775
1774
|
tasks: {
|
|
1776
1775
|
id: string;
|
|
1777
1776
|
content: string;
|
|
@@ -1780,6 +1779,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
1780
1779
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
1781
1780
|
dependencies?: string[] | undefined;
|
|
1782
1781
|
}[];
|
|
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;
|
|
1950
1949
|
relevance: number;
|
|
1951
1950
|
title: string;
|
|
1951
|
+
url: string;
|
|
1952
1952
|
snippet: string;
|
|
1953
1953
|
}[];
|
|
1954
1954
|
error?: string | undefined;
|
|
@@ -1971,7 +1971,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
1971
1971
|
planning?: {
|
|
1972
1972
|
message: string;
|
|
1973
1973
|
success: boolean;
|
|
1974
|
-
reasoning: string;
|
|
1975
1974
|
tasks: {
|
|
1976
1975
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
1977
1976
|
id: string;
|
|
@@ -1980,6 +1979,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
1980
1979
|
notes: string;
|
|
1981
1980
|
dependencies?: string[] | undefined;
|
|
1982
1981
|
}[];
|
|
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;
|
|
2060
2059
|
relevance: number;
|
|
2061
2060
|
title: string;
|
|
2061
|
+
url: string;
|
|
2062
2062
|
snippet: string;
|
|
2063
2063
|
}[];
|
|
2064
2064
|
error?: string | undefined;
|
|
@@ -2081,7 +2081,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2081
2081
|
planning?: {
|
|
2082
2082
|
message: string;
|
|
2083
2083
|
success: boolean;
|
|
2084
|
-
reasoning: string;
|
|
2085
2084
|
tasks: {
|
|
2086
2085
|
id: string;
|
|
2087
2086
|
content: string;
|
|
@@ -2090,6 +2089,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2090
2089
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
2091
2090
|
dependencies?: string[] | undefined;
|
|
2092
2091
|
}[];
|
|
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;
|
|
2271
2270
|
relevance: number;
|
|
2272
2271
|
title: string;
|
|
2272
|
+
url: string;
|
|
2273
2273
|
snippet: string;
|
|
2274
2274
|
}, {
|
|
2275
|
-
url: string;
|
|
2276
2275
|
relevance: number;
|
|
2277
2276
|
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;
|
|
2292
2291
|
relevance: number;
|
|
2293
2292
|
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;
|
|
2307
2306
|
relevance: number;
|
|
2308
2307
|
title: string;
|
|
2308
|
+
url: string;
|
|
2309
2309
|
snippet: string;
|
|
2310
2310
|
}[];
|
|
2311
2311
|
error?: string | undefined;
|
|
@@ -2362,7 +2362,6 @@ 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;
|
|
2366
2365
|
tasks: {
|
|
2367
2366
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
2368
2367
|
id: string;
|
|
@@ -2371,6 +2370,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2371
2370
|
notes: string;
|
|
2372
2371
|
dependencies?: string[] | undefined;
|
|
2373
2372
|
}[];
|
|
2373
|
+
reasoning: string;
|
|
2374
2374
|
questions: {
|
|
2375
2375
|
type: "boolean" | "text" | "choice";
|
|
2376
2376
|
id: string;
|
|
@@ -2385,7 +2385,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2385
2385
|
}, {
|
|
2386
2386
|
message: string;
|
|
2387
2387
|
success: boolean;
|
|
2388
|
-
reasoning: string;
|
|
2389
2388
|
tasks: {
|
|
2390
2389
|
id: string;
|
|
2391
2390
|
content: string;
|
|
@@ -2394,6 +2393,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2394
2393
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
2395
2394
|
dependencies?: string[] | undefined;
|
|
2396
2395
|
}[];
|
|
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;
|
|
2564
2563
|
relevance: number;
|
|
2565
2564
|
title: string;
|
|
2565
|
+
url: string;
|
|
2566
2566
|
snippet: string;
|
|
2567
2567
|
}[];
|
|
2568
2568
|
error?: string | undefined;
|
|
@@ -2585,7 +2585,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2585
2585
|
planning?: {
|
|
2586
2586
|
message: string;
|
|
2587
2587
|
success: boolean;
|
|
2588
|
-
reasoning: string;
|
|
2589
2588
|
tasks: {
|
|
2590
2589
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
2591
2590
|
id: string;
|
|
@@ -2594,6 +2593,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2594
2593
|
notes: string;
|
|
2595
2594
|
dependencies?: string[] | undefined;
|
|
2596
2595
|
}[];
|
|
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;
|
|
2674
2673
|
relevance: number;
|
|
2675
2674
|
title: string;
|
|
2675
|
+
url: string;
|
|
2676
2676
|
snippet: string;
|
|
2677
2677
|
}[];
|
|
2678
2678
|
error?: string | undefined;
|
|
@@ -2695,7 +2695,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2695
2695
|
planning?: {
|
|
2696
2696
|
message: string;
|
|
2697
2697
|
success: boolean;
|
|
2698
|
-
reasoning: string;
|
|
2699
2698
|
tasks: {
|
|
2700
2699
|
id: string;
|
|
2701
2700
|
content: string;
|
|
@@ -2704,6 +2703,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2704
2703
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
2705
2704
|
dependencies?: string[] | undefined;
|
|
2706
2705
|
}[];
|
|
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;
|
|
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.0.0-
|
|
3
|
+
"version": "0.0.0-partial-response-backport-20251204204441",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -37,27 +37,25 @@
|
|
|
37
37
|
"ignore": "^7.0.5",
|
|
38
38
|
"semver": "^7.7.2",
|
|
39
39
|
"swpm": "^2.6.0",
|
|
40
|
-
"@mastra/memory": "0.0.0-
|
|
40
|
+
"@mastra/memory": "0.0.0-partial-response-backport-20251204204441"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@types/node": "
|
|
43
|
+
"@types/node": "^20.19.0",
|
|
44
44
|
"@types/semver": "^7.7.1",
|
|
45
|
-
"@vitest/coverage-v8": "4.0.12",
|
|
46
|
-
"@vitest/ui": "4.0.12",
|
|
47
45
|
"eslint": "^9.37.0",
|
|
48
46
|
"tsup": "^8.5.0",
|
|
49
47
|
"typescript": "^5.8.3",
|
|
50
48
|
"typescript-eslint": "^8.38.0",
|
|
51
|
-
"vitest": "
|
|
49
|
+
"vitest": "^3.2.4",
|
|
52
50
|
"zod": "^3.25.76",
|
|
53
|
-
"@internal/lint": "0.0.0-
|
|
54
|
-
"@internal/types-builder": "0.0.0-
|
|
55
|
-
"@mastra/core": "0.0.0-
|
|
51
|
+
"@internal/lint": "0.0.0-partial-response-backport-20251204204441",
|
|
52
|
+
"@internal/types-builder": "0.0.0-partial-response-backport-20251204204441",
|
|
53
|
+
"@mastra/core": "0.0.0-partial-response-backport-20251204204441"
|
|
56
54
|
},
|
|
57
55
|
"peerDependencies": {
|
|
58
56
|
"typescript": ">=5.7.0",
|
|
59
57
|
"zod": "^3.25.0 || ^4.0.0",
|
|
60
|
-
"@mastra/core": "0.0.0-
|
|
58
|
+
"@mastra/core": "0.0.0-partial-response-backport-20251204204441"
|
|
61
59
|
},
|
|
62
60
|
"peerDependenciesMeta": {
|
|
63
61
|
"typescript": {
|
|
@@ -65,7 +63,7 @@
|
|
|
65
63
|
}
|
|
66
64
|
},
|
|
67
65
|
"engines": {
|
|
68
|
-
"node": ">=
|
|
66
|
+
"node": ">=20"
|
|
69
67
|
},
|
|
70
68
|
"keywords": [
|
|
71
69
|
"ai",
|
|
@@ -85,6 +83,13 @@
|
|
|
85
83
|
"bugs": {
|
|
86
84
|
"url": "https://github.com/mastra-ai/mastra/issues"
|
|
87
85
|
},
|
|
86
|
+
"publishConfig": {
|
|
87
|
+
"access": "public",
|
|
88
|
+
"publish-branch": [
|
|
89
|
+
"main",
|
|
90
|
+
"0.x"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
88
93
|
"scripts": {
|
|
89
94
|
"check": "tsc --noEmit",
|
|
90
95
|
"lint": "eslint .",
|