@mastra/agent-builder 0.0.0-iterate-traces-ui-again-20250912091900 → 0.0.0-main-test-20251105183450

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.
@@ -103,80 +103,8 @@ export declare const restrictedTaskManager: import("@mastra/core/tools").Tool<z.
103
103
  dependencies?: string[] | undefined;
104
104
  notes?: string | undefined;
105
105
  }[];
106
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
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
- }>>> & {
154
- inputSchema: z.ZodObject<{
155
- action: z.ZodEnum<["list", "update", "complete"]>;
156
- tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
157
- id: z.ZodString;
158
- content: z.ZodOptional<z.ZodString>;
159
- status: z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>;
160
- priority: z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>;
161
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
162
- notes: z.ZodOptional<z.ZodString>;
163
- }, "strip", z.ZodTypeAny, {
164
- status: "pending" | "in_progress" | "completed" | "blocked";
165
- id: string;
166
- dependencies?: string[] | undefined;
167
- content?: string | undefined;
168
- priority?: "high" | "medium" | "low" | undefined;
169
- notes?: string | undefined;
170
- }, {
171
- status: "pending" | "in_progress" | "completed" | "blocked";
172
- id: string;
173
- dependencies?: string[] | undefined;
174
- content?: string | undefined;
175
- priority?: "high" | "medium" | "low" | undefined;
176
- notes?: string | undefined;
177
- }>, "many">>;
178
- taskId: z.ZodOptional<z.ZodString>;
179
- }, "strip", z.ZodTypeAny, {
106
+ }>, any, any, import("@mastra/core/tools").ToolExecutionContext<any, any>> & {
107
+ execute: (inputData: {
180
108
  action: "update" | "list" | "complete";
181
109
  tasks?: {
182
110
  status: "pending" | "in_progress" | "completed" | "blocked";
@@ -187,63 +115,7 @@ export declare const restrictedTaskManager: import("@mastra/core/tools").Tool<z.
187
115
  notes?: string | undefined;
188
116
  }[] | undefined;
189
117
  taskId?: string | undefined;
190
- }, {
191
- action: "update" | "list" | "complete";
192
- tasks?: {
193
- status: "pending" | "in_progress" | "completed" | "blocked";
194
- id: string;
195
- dependencies?: string[] | undefined;
196
- content?: string | undefined;
197
- priority?: "high" | "medium" | "low" | undefined;
198
- notes?: string | undefined;
199
- }[] | undefined;
200
- taskId?: string | undefined;
201
- }>;
202
- outputSchema: z.ZodObject<{
203
- success: z.ZodBoolean;
204
- tasks: z.ZodArray<z.ZodObject<{
205
- id: z.ZodString;
206
- content: z.ZodString;
207
- status: z.ZodString;
208
- priority: z.ZodString;
209
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
210
- notes: z.ZodOptional<z.ZodString>;
211
- createdAt: z.ZodString;
212
- updatedAt: z.ZodString;
213
- }, "strip", z.ZodTypeAny, {
214
- status: string;
215
- id: string;
216
- content: string;
217
- priority: string;
218
- createdAt: string;
219
- updatedAt: string;
220
- dependencies?: string[] | undefined;
221
- notes?: string | undefined;
222
- }, {
223
- status: string;
224
- id: string;
225
- content: string;
226
- priority: string;
227
- createdAt: string;
228
- updatedAt: string;
229
- dependencies?: string[] | undefined;
230
- notes?: string | undefined;
231
- }>, "many">;
232
- message: z.ZodString;
233
- }, "strip", z.ZodTypeAny, {
234
- message: string;
235
- success: boolean;
236
- tasks: {
237
- status: string;
238
- id: string;
239
- content: string;
240
- priority: string;
241
- createdAt: string;
242
- updatedAt: string;
243
- dependencies?: string[] | undefined;
244
- notes?: string | undefined;
245
- }[];
246
- }, {
118
+ }, context?: import("@mastra/core/tools").ToolExecutionContext<any, any> | undefined) => Promise<{
247
119
  message: string;
248
120
  success: boolean;
249
121
  tasks: {
@@ -257,53 +129,5 @@ export declare const restrictedTaskManager: import("@mastra/core/tools").Tool<z.
257
129
  notes?: string | undefined;
258
130
  }[];
259
131
  }>;
260
- execute: (context: import("@mastra/core").ToolExecutionContext<z.ZodObject<{
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, {
286
- action: "update" | "list" | "complete";
287
- tasks?: {
288
- status: "pending" | "in_progress" | "completed" | "blocked";
289
- id: string;
290
- dependencies?: string[] | undefined;
291
- content?: string | undefined;
292
- priority?: "high" | "medium" | "low" | undefined;
293
- notes?: string | undefined;
294
- }[] | undefined;
295
- taskId?: string | undefined;
296
- }, {
297
- action: "update" | "list" | "complete";
298
- tasks?: {
299
- status: "pending" | "in_progress" | "completed" | "blocked";
300
- id: string;
301
- dependencies?: string[] | undefined;
302
- content?: string | undefined;
303
- priority?: "high" | "medium" | "low" | undefined;
304
- notes?: string | undefined;
305
- }[] | undefined;
306
- taskId?: string | undefined;
307
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
308
132
  };
309
133
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDhC,CAAC"}
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"}