@mastra/agent-builder 0.0.0-vnext-20251104230439 → 0.0.0-vnext-20251119160359
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 +88 -4
- package/dist/defaults.d.ts +1074 -24
- package/dist/defaults.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/workflows/task-planning/schema.d.ts +6 -6
- package/dist/workflows/task-planning/task-planning.d.ts +12 -12
- 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 +10 -10
- package/dist/workflows/workflow-builder/tools.d.ts +106 -0
- package/dist/workflows/workflow-builder/tools.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/workflow-builder.d.ts +28 -28
- package/package.json +11 -9
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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,9 +1310,9 @@ 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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/agent-builder",
|
|
3
|
-
"version": "0.0.0-vnext-
|
|
3
|
+
"version": "0.0.0-vnext-20251119160359",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -37,25 +37,27 @@
|
|
|
37
37
|
"ignore": "^7.0.5",
|
|
38
38
|
"semver": "^7.7.2",
|
|
39
39
|
"swpm": "^2.6.0",
|
|
40
|
-
"@mastra/memory": "0.0.0-vnext-
|
|
40
|
+
"@mastra/memory": "0.0.0-vnext-20251119160359"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@types/node": "
|
|
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": "^
|
|
51
|
+
"vitest": "^4.0.8",
|
|
50
52
|
"zod": "^3.25.76",
|
|
51
|
-
"@internal/
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
53
|
+
"@internal/lint": "0.0.0-vnext-20251119160359",
|
|
54
|
+
"@mastra/core": "0.0.0-vnext-20251119160359",
|
|
55
|
+
"@internal/types-builder": "0.0.0-vnext-20251119160359"
|
|
54
56
|
},
|
|
55
57
|
"peerDependencies": {
|
|
56
58
|
"typescript": ">=5.7.0",
|
|
57
59
|
"zod": "^3.25.0 || ^4.0.0",
|
|
58
|
-
"@mastra/core": "0.0.0-vnext-
|
|
60
|
+
"@mastra/core": "0.0.0-vnext-20251119160359"
|
|
59
61
|
},
|
|
60
62
|
"peerDependenciesMeta": {
|
|
61
63
|
"typescript": {
|
|
@@ -63,7 +65,7 @@
|
|
|
63
65
|
}
|
|
64
66
|
},
|
|
65
67
|
"engines": {
|
|
66
|
-
"node": ">=
|
|
68
|
+
"node": ">=22.13.0"
|
|
67
69
|
},
|
|
68
70
|
"keywords": [
|
|
69
71
|
"ai",
|