@mastra/agent-builder 0.0.0-usechat-duplicate-20251016110554 → 0.0.0-vnext-20251104230439
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 +96 -4
- package/dist/agent/index.d.ts +3 -3
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/defaults.d.ts +87 -1685
- package/dist/defaults.d.ts.map +1 -1
- package/dist/index.js +107 -105
- package/dist/index.js.map +1 -1
- 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 +6 -6
- package/dist/workflows/task-planning/task-planning.d.ts +11 -11
- 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 +4 -4
- package/dist/workflows/workflow-builder/tools.d.ts +3 -179
- package/dist/workflows/workflow-builder/tools.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/workflow-builder.d.ts +24 -24
- package/dist/workflows/workflow-builder/workflow-builder.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -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
|
-
}>, any, any, import("@mastra/core").ToolExecutionContext<
|
|
107
|
-
|
|
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>> & {
|
|
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
|
-
}>, any, any>, options: import("@mastra/core").ToolInvocationOptions) => 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
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
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, {
|
|
2
|
+
export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core/workflows").DefaultEngineType, (import("@mastra/core/workflows").Workflow<import("@mastra/core/workflows").DefaultEngineType, (import("@mastra/core/workflows").Step<"planning-iteration", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3
3
|
[x: string]: any;
|
|
4
4
|
}, {
|
|
5
5
|
[x: string]: any;
|
|
@@ -296,6 +296,7 @@ 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;
|
|
299
300
|
tasks: {
|
|
300
301
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
301
302
|
id: string;
|
|
@@ -304,7 +305,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
304
305
|
notes: string;
|
|
305
306
|
dependencies?: string[] | undefined;
|
|
306
307
|
}[];
|
|
307
|
-
reasoning: string;
|
|
308
308
|
questions: {
|
|
309
309
|
type: "boolean" | "text" | "choice";
|
|
310
310
|
id: string;
|
|
@@ -319,6 +319,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
319
319
|
}, {
|
|
320
320
|
message: string;
|
|
321
321
|
success: boolean;
|
|
322
|
+
reasoning: string;
|
|
322
323
|
tasks: {
|
|
323
324
|
id: string;
|
|
324
325
|
content: string;
|
|
@@ -327,7 +328,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
327
328
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
328
329
|
dependencies?: string[] | undefined;
|
|
329
330
|
}[];
|
|
330
|
-
reasoning: string;
|
|
331
331
|
questions: {
|
|
332
332
|
type: "boolean" | "text" | "choice";
|
|
333
333
|
id: string;
|
|
@@ -391,6 +391,7 @@ 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;
|
|
394
395
|
tasks: {
|
|
395
396
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
396
397
|
id: string;
|
|
@@ -399,8 +400,8 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
399
400
|
notes: string;
|
|
400
401
|
dependencies?: string[] | undefined;
|
|
401
402
|
}[];
|
|
402
|
-
reasoning: string;
|
|
403
403
|
}, {
|
|
404
|
+
reasoning: string;
|
|
404
405
|
tasks: {
|
|
405
406
|
id: string;
|
|
406
407
|
content: string;
|
|
@@ -409,7 +410,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
409
410
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
410
411
|
dependencies?: string[] | undefined;
|
|
411
412
|
}[];
|
|
412
|
-
reasoning: string;
|
|
413
413
|
}>;
|
|
414
414
|
}, "strip", z.ZodTypeAny, {
|
|
415
415
|
message: string;
|
|
@@ -421,6 +421,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
421
421
|
context?: string | undefined;
|
|
422
422
|
}[];
|
|
423
423
|
currentPlan: {
|
|
424
|
+
reasoning: string;
|
|
424
425
|
tasks: {
|
|
425
426
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
426
427
|
id: string;
|
|
@@ -429,7 +430,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
429
430
|
notes: string;
|
|
430
431
|
dependencies?: string[] | undefined;
|
|
431
432
|
}[];
|
|
432
|
-
reasoning: string;
|
|
433
433
|
};
|
|
434
434
|
}, {
|
|
435
435
|
message: string;
|
|
@@ -441,6 +441,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
441
441
|
context?: string | undefined;
|
|
442
442
|
}[];
|
|
443
443
|
currentPlan: {
|
|
444
|
+
reasoning: string;
|
|
444
445
|
tasks: {
|
|
445
446
|
id: string;
|
|
446
447
|
content: string;
|
|
@@ -449,9 +450,8 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
449
450
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
450
451
|
dependencies?: string[] | undefined;
|
|
451
452
|
}[];
|
|
452
|
-
reasoning: string;
|
|
453
453
|
};
|
|
454
|
-
}>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"task-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
454
|
+
}>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").Step<"task-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
455
455
|
[x: string]: any;
|
|
456
456
|
}, {
|
|
457
457
|
[x: string]: any;
|
|
@@ -507,6 +507,7 @@ 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;
|
|
510
511
|
tasks: {
|
|
511
512
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
512
513
|
id: string;
|
|
@@ -515,7 +516,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
515
516
|
notes: string;
|
|
516
517
|
dependencies?: string[] | undefined;
|
|
517
518
|
}[];
|
|
518
|
-
reasoning: string;
|
|
519
519
|
questions: {
|
|
520
520
|
type: "boolean" | "text" | "choice";
|
|
521
521
|
id: string;
|
|
@@ -530,6 +530,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
530
530
|
}, {
|
|
531
531
|
message: string;
|
|
532
532
|
success: boolean;
|
|
533
|
+
reasoning: string;
|
|
533
534
|
tasks: {
|
|
534
535
|
id: string;
|
|
535
536
|
content: string;
|
|
@@ -538,7 +539,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
538
539
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
539
540
|
dependencies?: string[] | undefined;
|
|
540
541
|
}[];
|
|
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").DefaultEngineType>)[], "planning-and-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
659
|
+
}>, import("@mastra/core/workflows").DefaultEngineType>)[], "planning-and-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
660
660
|
[x: string]: any;
|
|
661
661
|
}, {
|
|
662
662
|
[x: string]: any;
|
|
@@ -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").Step<"workflow-discovery", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1004
|
+
}>> | import("@mastra/core/workflows").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").DefaultEngineType> | import("@mastra/core").Step<"project-discovery", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1079
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").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").DefaultEngineType> | import("@mastra/core").Step<"workflow-research", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1194
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").Step<"workflow-research", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1195
1195
|
[x: string]: any;
|
|
1196
1196
|
}, {
|
|
1197
1197
|
[x: string]: any;
|
|
@@ -1316,7 +1316,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
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").DefaultEngineType> | import("@mastra/core").Step<"task-execution", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1319
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").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").DefaultEngineType>)[], "workflow-builder", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1495
|
+
}>, import("@mastra/core/workflows").DefaultEngineType>)[], "workflow-builder", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1496
1496
|
[x: string]: any;
|
|
1497
1497
|
}, {
|
|
1498
1498
|
[x: string]: any;
|
|
@@ -1748,6 +1748,7 @@ 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;
|
|
1751
1752
|
tasks: {
|
|
1752
1753
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
1753
1754
|
id: string;
|
|
@@ -1756,7 +1757,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
1756
1757
|
notes: string;
|
|
1757
1758
|
dependencies?: string[] | undefined;
|
|
1758
1759
|
}[];
|
|
1759
|
-
reasoning: string;
|
|
1760
1760
|
questions: {
|
|
1761
1761
|
type: "boolean" | "text" | "choice";
|
|
1762
1762
|
id: string;
|
|
@@ -1771,6 +1771,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
1771
1771
|
}, {
|
|
1772
1772
|
message: string;
|
|
1773
1773
|
success: boolean;
|
|
1774
|
+
reasoning: string;
|
|
1774
1775
|
tasks: {
|
|
1775
1776
|
id: string;
|
|
1776
1777
|
content: string;
|
|
@@ -1779,7 +1780,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
1779
1780
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
1780
1781
|
dependencies?: string[] | undefined;
|
|
1781
1782
|
}[];
|
|
1782
|
-
reasoning: string;
|
|
1783
1783
|
questions: {
|
|
1784
1784
|
type: "boolean" | "text" | "choice";
|
|
1785
1785
|
id: string;
|
|
@@ -1971,6 +1971,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
1971
1971
|
planning?: {
|
|
1972
1972
|
message: string;
|
|
1973
1973
|
success: boolean;
|
|
1974
|
+
reasoning: string;
|
|
1974
1975
|
tasks: {
|
|
1975
1976
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
1976
1977
|
id: string;
|
|
@@ -1979,7 +1980,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
1979
1980
|
notes: string;
|
|
1980
1981
|
dependencies?: string[] | undefined;
|
|
1981
1982
|
}[];
|
|
1982
|
-
reasoning: string;
|
|
1983
1983
|
questions: {
|
|
1984
1984
|
type: "boolean" | "text" | "choice";
|
|
1985
1985
|
id: string;
|
|
@@ -2081,6 +2081,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2081
2081
|
planning?: {
|
|
2082
2082
|
message: string;
|
|
2083
2083
|
success: boolean;
|
|
2084
|
+
reasoning: string;
|
|
2084
2085
|
tasks: {
|
|
2085
2086
|
id: string;
|
|
2086
2087
|
content: string;
|
|
@@ -2089,7 +2090,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2089
2090
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
2090
2091
|
dependencies?: string[] | undefined;
|
|
2091
2092
|
}[];
|
|
2092
|
-
reasoning: string;
|
|
2093
2093
|
questions: {
|
|
2094
2094
|
type: "boolean" | "text" | "choice";
|
|
2095
2095
|
id: string;
|
|
@@ -2362,6 +2362,7 @@ 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;
|
|
2365
2366
|
tasks: {
|
|
2366
2367
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
2367
2368
|
id: string;
|
|
@@ -2370,7 +2371,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2370
2371
|
notes: string;
|
|
2371
2372
|
dependencies?: string[] | undefined;
|
|
2372
2373
|
}[];
|
|
2373
|
-
reasoning: string;
|
|
2374
2374
|
questions: {
|
|
2375
2375
|
type: "boolean" | "text" | "choice";
|
|
2376
2376
|
id: string;
|
|
@@ -2385,6 +2385,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2385
2385
|
}, {
|
|
2386
2386
|
message: string;
|
|
2387
2387
|
success: boolean;
|
|
2388
|
+
reasoning: string;
|
|
2388
2389
|
tasks: {
|
|
2389
2390
|
id: string;
|
|
2390
2391
|
content: string;
|
|
@@ -2393,7 +2394,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2393
2394
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
2394
2395
|
dependencies?: string[] | undefined;
|
|
2395
2396
|
}[];
|
|
2396
|
-
reasoning: string;
|
|
2397
2397
|
questions: {
|
|
2398
2398
|
type: "boolean" | "text" | "choice";
|
|
2399
2399
|
id: string;
|
|
@@ -2585,6 +2585,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2585
2585
|
planning?: {
|
|
2586
2586
|
message: string;
|
|
2587
2587
|
success: boolean;
|
|
2588
|
+
reasoning: string;
|
|
2588
2589
|
tasks: {
|
|
2589
2590
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
2590
2591
|
id: string;
|
|
@@ -2593,7 +2594,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2593
2594
|
notes: string;
|
|
2594
2595
|
dependencies?: string[] | undefined;
|
|
2595
2596
|
}[];
|
|
2596
|
-
reasoning: string;
|
|
2597
2597
|
questions: {
|
|
2598
2598
|
type: "boolean" | "text" | "choice";
|
|
2599
2599
|
id: string;
|
|
@@ -2695,6 +2695,7 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2695
2695
|
planning?: {
|
|
2696
2696
|
message: string;
|
|
2697
2697
|
success: boolean;
|
|
2698
|
+
reasoning: string;
|
|
2698
2699
|
tasks: {
|
|
2699
2700
|
id: string;
|
|
2700
2701
|
content: string;
|
|
@@ -2703,7 +2704,6 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
|
|
|
2703
2704
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
2704
2705
|
dependencies?: string[] | undefined;
|
|
2705
2706
|
}[];
|
|
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,O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|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -37,25 +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-vnext-20251104230439"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "^20.19.0",
|
|
44
44
|
"@types/semver": "^7.7.1",
|
|
45
|
-
"eslint": "^9.
|
|
45
|
+
"eslint": "^9.37.0",
|
|
46
46
|
"tsup": "^8.5.0",
|
|
47
47
|
"typescript": "^5.8.3",
|
|
48
48
|
"typescript-eslint": "^8.38.0",
|
|
49
49
|
"vitest": "^3.2.4",
|
|
50
50
|
"zod": "^3.25.76",
|
|
51
|
-
"@internal/
|
|
52
|
-
"@internal/
|
|
53
|
-
"@mastra/core": "0.0.0-
|
|
51
|
+
"@internal/types-builder": "0.0.0-vnext-20251104230439",
|
|
52
|
+
"@internal/lint": "0.0.0-vnext-20251104230439",
|
|
53
|
+
"@mastra/core": "0.0.0-vnext-20251104230439"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"typescript": ">=5.7.0",
|
|
57
57
|
"zod": "^3.25.0 || ^4.0.0",
|
|
58
|
-
"@mastra/core": "0.0.0-
|
|
58
|
+
"@mastra/core": "0.0.0-vnext-20251104230439"
|
|
59
59
|
},
|
|
60
60
|
"peerDependenciesMeta": {
|
|
61
61
|
"typescript": {
|