@mastra/agent-builder 0.0.0-monorepo-binary-20251013210052 → 0.0.0-new-button-export-20251219130424
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 +270 -4
- package/dist/agent/index.d.ts +3 -3
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/chunk-2CIPVDK5.js +250 -0
- package/dist/chunk-2CIPVDK5.js.map +1 -0
- package/dist/chunk-E53QBCQN.js +84 -0
- package/dist/chunk-E53QBCQN.js.map +1 -0
- package/dist/defaults.d.ts +217 -765
- package/dist/defaults.d.ts.map +1 -1
- package/dist/index.js +4741 -412
- package/dist/index.js.map +1 -1
- package/dist/processors/tool-summary.d.ts +12 -6
- package/dist/processors/tool-summary.d.ts.map +1 -1
- package/dist/token-6GSAFR2W-KVDFAJ2M.js +61 -0
- package/dist/token-6GSAFR2W-KVDFAJ2M.js.map +1 -0
- package/dist/token-util-NEHG7TUY-DJYRKLRD.js +9 -0
- package/dist/token-util-NEHG7TUY-DJYRKLRD.js.map +1 -0
- package/dist/types.d.ts +9 -8
- package/dist/types.d.ts.map +1 -1
- package/dist/utils.d.ts +12 -11
- package/dist/utils.d.ts.map +1 -1
- 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 +27 -27
- 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 +13 -83
- 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 +14 -11
|
@@ -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;
|
|
177
178
|
relevance: number;
|
|
178
179
|
title: string;
|
|
179
|
-
url: string;
|
|
180
180
|
snippet: string;
|
|
181
181
|
}, {
|
|
182
|
+
url: string;
|
|
182
183
|
relevance: number;
|
|
183
184
|
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;
|
|
198
199
|
relevance: number;
|
|
199
200
|
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;
|
|
213
214
|
relevance: number;
|
|
214
215
|
title: string;
|
|
215
|
-
url: string;
|
|
216
216
|
snippet: string;
|
|
217
217
|
}[];
|
|
218
218
|
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;
|
|
633
634
|
relevance: number;
|
|
634
635
|
title: string;
|
|
635
|
-
url: string;
|
|
636
636
|
snippet: string;
|
|
637
637
|
}, {
|
|
638
|
+
url: string;
|
|
638
639
|
relevance: number;
|
|
639
640
|
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;
|
|
654
655
|
relevance: number;
|
|
655
656
|
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;
|
|
669
670
|
relevance: number;
|
|
670
671
|
title: string;
|
|
671
|
-
url: string;
|
|
672
672
|
snippet: string;
|
|
673
673
|
}[];
|
|
674
674
|
error?: string | undefined;
|
|
@@ -725,6 +725,7 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
725
725
|
}, "strip", z.ZodTypeAny, {
|
|
726
726
|
message: string;
|
|
727
727
|
success: boolean;
|
|
728
|
+
reasoning: string;
|
|
728
729
|
tasks: {
|
|
729
730
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
730
731
|
id: string;
|
|
@@ -733,7 +734,6 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
733
734
|
notes: string;
|
|
734
735
|
dependencies?: string[] | undefined;
|
|
735
736
|
}[];
|
|
736
|
-
reasoning: string;
|
|
737
737
|
questions: {
|
|
738
738
|
type: "boolean" | "text" | "choice";
|
|
739
739
|
id: string;
|
|
@@ -748,6 +748,7 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
748
748
|
}, {
|
|
749
749
|
message: string;
|
|
750
750
|
success: boolean;
|
|
751
|
+
reasoning: string;
|
|
751
752
|
tasks: {
|
|
752
753
|
id: string;
|
|
753
754
|
content: string;
|
|
@@ -756,7 +757,6 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
756
757
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
757
758
|
dependencies?: string[] | undefined;
|
|
758
759
|
}[];
|
|
759
|
-
reasoning: string;
|
|
760
760
|
questions: {
|
|
761
761
|
type: "boolean" | "text" | "choice";
|
|
762
762
|
id: string;
|
|
@@ -923,9 +923,9 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
923
923
|
bestPractices: string[];
|
|
924
924
|
};
|
|
925
925
|
webResources: {
|
|
926
|
+
url: string;
|
|
926
927
|
relevance: number;
|
|
927
928
|
title: string;
|
|
928
|
-
url: string;
|
|
929
929
|
snippet: string;
|
|
930
930
|
}[];
|
|
931
931
|
error?: string | undefined;
|
|
@@ -948,6 +948,7 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
948
948
|
planning?: {
|
|
949
949
|
message: string;
|
|
950
950
|
success: boolean;
|
|
951
|
+
reasoning: string;
|
|
951
952
|
tasks: {
|
|
952
953
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
953
954
|
id: string;
|
|
@@ -956,7 +957,6 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
956
957
|
notes: string;
|
|
957
958
|
dependencies?: string[] | undefined;
|
|
958
959
|
}[];
|
|
959
|
-
reasoning: string;
|
|
960
960
|
questions: {
|
|
961
961
|
type: "boolean" | "text" | "choice";
|
|
962
962
|
id: string;
|
|
@@ -1033,9 +1033,9 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
1033
1033
|
bestPractices: string[];
|
|
1034
1034
|
};
|
|
1035
1035
|
webResources: {
|
|
1036
|
+
url: string;
|
|
1036
1037
|
relevance: number;
|
|
1037
1038
|
title: string;
|
|
1038
|
-
url: string;
|
|
1039
1039
|
snippet: string;
|
|
1040
1040
|
}[];
|
|
1041
1041
|
error?: string | undefined;
|
|
@@ -1058,6 +1058,7 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
1058
1058
|
planning?: {
|
|
1059
1059
|
message: string;
|
|
1060
1060
|
success: boolean;
|
|
1061
|
+
reasoning: string;
|
|
1061
1062
|
tasks: {
|
|
1062
1063
|
id: string;
|
|
1063
1064
|
content: string;
|
|
@@ -1066,7 +1067,6 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
1066
1067
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
1067
1068
|
dependencies?: string[] | undefined;
|
|
1068
1069
|
}[];
|
|
1069
|
-
reasoning: string;
|
|
1070
1070
|
questions: {
|
|
1071
1071
|
type: "boolean" | "text" | "choice";
|
|
1072
1072
|
id: string;
|
|
@@ -103,54 +103,7 @@ export declare const restrictedTaskManager: import("@mastra/core/tools").Tool<z.
|
|
|
103
103
|
dependencies?: string[] | undefined;
|
|
104
104
|
notes?: string | undefined;
|
|
105
105
|
}[];
|
|
106
|
-
}>, any, any, import("@mastra/core").ToolExecutionContext<
|
|
107
|
-
action: z.ZodEnum<["list", "update", "complete"]>;
|
|
108
|
-
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
109
|
-
id: z.ZodString;
|
|
110
|
-
content: z.ZodOptional<z.ZodString>;
|
|
111
|
-
status: z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>;
|
|
112
|
-
priority: z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>;
|
|
113
|
-
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
114
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
115
|
-
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
117
|
-
id: string;
|
|
118
|
-
dependencies?: string[] | undefined;
|
|
119
|
-
content?: string | undefined;
|
|
120
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
121
|
-
notes?: string | undefined;
|
|
122
|
-
}, {
|
|
123
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
124
|
-
id: string;
|
|
125
|
-
dependencies?: string[] | undefined;
|
|
126
|
-
content?: string | undefined;
|
|
127
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
128
|
-
notes?: string | undefined;
|
|
129
|
-
}>, "many">>;
|
|
130
|
-
taskId: z.ZodOptional<z.ZodString>;
|
|
131
|
-
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
action: "update" | "list" | "complete";
|
|
133
|
-
tasks?: {
|
|
134
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
135
|
-
id: string;
|
|
136
|
-
dependencies?: string[] | undefined;
|
|
137
|
-
content?: string | undefined;
|
|
138
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
139
|
-
notes?: string | undefined;
|
|
140
|
-
}[] | undefined;
|
|
141
|
-
taskId?: string | undefined;
|
|
142
|
-
}, {
|
|
143
|
-
action: "update" | "list" | "complete";
|
|
144
|
-
tasks?: {
|
|
145
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
146
|
-
id: string;
|
|
147
|
-
dependencies?: string[] | undefined;
|
|
148
|
-
content?: string | undefined;
|
|
149
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
150
|
-
notes?: string | undefined;
|
|
151
|
-
}[] | undefined;
|
|
152
|
-
taskId?: string | undefined;
|
|
153
|
-
}>, any, any>> & {
|
|
106
|
+
}>, any, any, import("@mastra/core/tools").ToolExecutionContext<any, any>, "task-manager"> & {
|
|
154
107
|
inputSchema: z.ZodObject<{
|
|
155
108
|
action: z.ZodEnum<["list", "update", "complete"]>;
|
|
156
109
|
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -257,32 +210,7 @@ export declare const restrictedTaskManager: import("@mastra/core/tools").Tool<z.
|
|
|
257
210
|
notes?: string | undefined;
|
|
258
211
|
}[];
|
|
259
212
|
}>;
|
|
260
|
-
execute: (
|
|
261
|
-
action: z.ZodEnum<["list", "update", "complete"]>;
|
|
262
|
-
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
263
|
-
id: z.ZodString;
|
|
264
|
-
content: z.ZodOptional<z.ZodString>;
|
|
265
|
-
status: z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>;
|
|
266
|
-
priority: z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>;
|
|
267
|
-
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
268
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
269
|
-
}, "strip", z.ZodTypeAny, {
|
|
270
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
271
|
-
id: string;
|
|
272
|
-
dependencies?: string[] | undefined;
|
|
273
|
-
content?: string | undefined;
|
|
274
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
275
|
-
notes?: string | undefined;
|
|
276
|
-
}, {
|
|
277
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
278
|
-
id: string;
|
|
279
|
-
dependencies?: string[] | undefined;
|
|
280
|
-
content?: string | undefined;
|
|
281
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
282
|
-
notes?: string | undefined;
|
|
283
|
-
}>, "many">>;
|
|
284
|
-
taskId: z.ZodOptional<z.ZodString>;
|
|
285
|
-
}, "strip", z.ZodTypeAny, {
|
|
213
|
+
execute: (inputData: {
|
|
286
214
|
action: "update" | "list" | "complete";
|
|
287
215
|
tasks?: {
|
|
288
216
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
@@ -293,17 +221,19 @@ export declare const restrictedTaskManager: import("@mastra/core/tools").Tool<z.
|
|
|
293
221
|
notes?: string | undefined;
|
|
294
222
|
}[] | undefined;
|
|
295
223
|
taskId?: string | undefined;
|
|
296
|
-
}, {
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
224
|
+
}, context?: import("@mastra/core/tools").ToolExecutionContext<any, any> | undefined) => Promise<{
|
|
225
|
+
message: string;
|
|
226
|
+
success: boolean;
|
|
227
|
+
tasks: {
|
|
228
|
+
status: string;
|
|
300
229
|
id: string;
|
|
230
|
+
content: string;
|
|
231
|
+
priority: string;
|
|
232
|
+
createdAt: string;
|
|
233
|
+
updatedAt: string;
|
|
301
234
|
dependencies?: string[] | undefined;
|
|
302
|
-
content?: string | undefined;
|
|
303
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
304
235
|
notes?: string | undefined;
|
|
305
|
-
}[]
|
|
306
|
-
|
|
307
|
-
}>, any, any>, options: import("@mastra/core").ToolInvocationOptions) => Promise<any>;
|
|
236
|
+
}[];
|
|
237
|
+
}>;
|
|
308
238
|
};
|
|
309
239
|
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/workflows/workflow-builder/tools.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/workflows/workflow-builder/tools.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDhC,CAAC"}
|