@mastra/agent-builder 0.0.0-toolOptionTypes-20250917085558 → 0.0.0-top-level-fix-20251211111608

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,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
- }>, 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
- }>>> & {
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: (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, {
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
- action: "update" | "list" | "complete";
298
- tasks?: {
299
- status: "pending" | "in_progress" | "completed" | "blocked";
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
- }[] | undefined;
306
- taskId?: string | undefined;
307
- }>>, 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}