@mastra/agent-builder 1.0.0-beta.9 → 1.0.1-alpha.0
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 +294 -0
- package/dist/agent/index.d.ts +17 -5
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/{chunk-2CIPVDK5.js → chunk-2XSP7TVS.js} +5 -5
- package/dist/chunk-2XSP7TVS.js.map +1 -0
- package/dist/{chunk-E53QBCQN.js → chunk-RQJR2QYC.js} +3 -3
- package/dist/chunk-RQJR2QYC.js.map +1 -0
- package/dist/defaults.d.ts +56 -2203
- package/dist/defaults.d.ts.map +1 -1
- package/dist/index.js +25 -22
- package/dist/index.js.map +1 -1
- package/dist/{token-6GSAFR2W-KVDFAJ2M.js → token-6GSAFR2W-F2L44NEJ.js} +5 -5
- package/dist/token-6GSAFR2W-F2L44NEJ.js.map +1 -0
- package/dist/token-util-NEHG7TUY-4YJ4EPCL.js +9 -0
- package/dist/{token-util-NEHG7TUY-DJYRKLRD.js.map → token-util-NEHG7TUY-4YJ4EPCL.js.map} +1 -1
- package/dist/workflows/task-planning/task-planning.d.ts +20 -814
- package/dist/workflows/task-planning/task-planning.d.ts.map +1 -1
- package/dist/workflows/template-builder/template-builder.d.ts +65 -1648
- package/dist/workflows/template-builder/template-builder.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/tools.d.ts +3 -227
- package/dist/workflows/workflow-builder/tools.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/workflow-builder.d.ts +239 -2430
- package/dist/workflows/workflow-builder/workflow-builder.d.ts.map +1 -1
- package/package.json +11 -11
- package/dist/chunk-2CIPVDK5.js.map +0 -1
- package/dist/chunk-E53QBCQN.js.map +0 -1
- package/dist/token-6GSAFR2W-KVDFAJ2M.js.map +0 -1
- package/dist/token-util-NEHG7TUY-DJYRKLRD.js +0 -9
|
@@ -1,159 +1,4 @@
|
|
|
1
|
-
export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core/workflows").DefaultEngineType, (import("@mastra/core/workflows").Step<"planning-iteration",
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
}, {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
}>, import("zod").ZodObject<{
|
|
6
|
-
action: import("zod").ZodEnum<["create", "edit"]>;
|
|
7
|
-
workflowName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
|
-
requirements: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10
|
-
discoveredWorkflows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
11
|
-
name: import("zod").ZodString;
|
|
12
|
-
file: import("zod").ZodString;
|
|
13
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
|
-
inputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
15
|
-
outputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
16
|
-
steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
17
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
18
|
-
file: string;
|
|
19
|
-
name: string;
|
|
20
|
-
description?: string | undefined;
|
|
21
|
-
outputSchema?: any;
|
|
22
|
-
inputSchema?: any;
|
|
23
|
-
steps?: string[] | undefined;
|
|
24
|
-
}, {
|
|
25
|
-
file: string;
|
|
26
|
-
name: string;
|
|
27
|
-
description?: string | undefined;
|
|
28
|
-
outputSchema?: any;
|
|
29
|
-
inputSchema?: any;
|
|
30
|
-
steps?: string[] | undefined;
|
|
31
|
-
}>, "many">;
|
|
32
|
-
projectStructure: import("zod").ZodObject<{
|
|
33
|
-
success: import("zod").ZodBoolean;
|
|
34
|
-
structure: import("zod").ZodObject<{
|
|
35
|
-
hasWorkflowsDir: import("zod").ZodBoolean;
|
|
36
|
-
hasAgentsDir: import("zod").ZodBoolean;
|
|
37
|
-
hasToolsDir: import("zod").ZodBoolean;
|
|
38
|
-
hasMastraIndex: import("zod").ZodBoolean;
|
|
39
|
-
existingWorkflows: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
40
|
-
existingAgents: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
41
|
-
existingTools: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
42
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
43
|
-
hasWorkflowsDir: boolean;
|
|
44
|
-
hasAgentsDir: boolean;
|
|
45
|
-
hasToolsDir: boolean;
|
|
46
|
-
hasMastraIndex: boolean;
|
|
47
|
-
existingWorkflows: string[];
|
|
48
|
-
existingAgents: string[];
|
|
49
|
-
existingTools: string[];
|
|
50
|
-
}, {
|
|
51
|
-
hasWorkflowsDir: boolean;
|
|
52
|
-
hasAgentsDir: boolean;
|
|
53
|
-
hasToolsDir: boolean;
|
|
54
|
-
hasMastraIndex: boolean;
|
|
55
|
-
existingWorkflows: string[];
|
|
56
|
-
existingAgents: string[];
|
|
57
|
-
existingTools: string[];
|
|
58
|
-
}>;
|
|
59
|
-
dependencies: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
60
|
-
message: import("zod").ZodString;
|
|
61
|
-
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
62
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
63
|
-
message: string;
|
|
64
|
-
success: boolean;
|
|
65
|
-
dependencies: Record<string, string>;
|
|
66
|
-
structure: {
|
|
67
|
-
hasWorkflowsDir: boolean;
|
|
68
|
-
hasAgentsDir: boolean;
|
|
69
|
-
hasToolsDir: boolean;
|
|
70
|
-
hasMastraIndex: boolean;
|
|
71
|
-
existingWorkflows: string[];
|
|
72
|
-
existingAgents: string[];
|
|
73
|
-
existingTools: string[];
|
|
74
|
-
};
|
|
75
|
-
error?: string | undefined;
|
|
76
|
-
}, {
|
|
77
|
-
message: string;
|
|
78
|
-
success: boolean;
|
|
79
|
-
dependencies: Record<string, string>;
|
|
80
|
-
structure: {
|
|
81
|
-
hasWorkflowsDir: boolean;
|
|
82
|
-
hasAgentsDir: boolean;
|
|
83
|
-
hasToolsDir: boolean;
|
|
84
|
-
hasMastraIndex: boolean;
|
|
85
|
-
existingWorkflows: string[];
|
|
86
|
-
existingAgents: string[];
|
|
87
|
-
existingTools: string[];
|
|
88
|
-
};
|
|
89
|
-
error?: string | undefined;
|
|
90
|
-
}>;
|
|
91
|
-
research: import("zod").ZodObject<{
|
|
92
|
-
success: import("zod").ZodBoolean;
|
|
93
|
-
documentation: import("zod").ZodObject<{
|
|
94
|
-
workflowPatterns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
95
|
-
stepExamples: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
96
|
-
bestPractices: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
97
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
98
|
-
workflowPatterns: string[];
|
|
99
|
-
stepExamples: string[];
|
|
100
|
-
bestPractices: string[];
|
|
101
|
-
}, {
|
|
102
|
-
workflowPatterns: string[];
|
|
103
|
-
stepExamples: string[];
|
|
104
|
-
bestPractices: string[];
|
|
105
|
-
}>;
|
|
106
|
-
webResources: import("zod").ZodArray<import("zod").ZodObject<{
|
|
107
|
-
title: import("zod").ZodString;
|
|
108
|
-
url: import("zod").ZodString;
|
|
109
|
-
snippet: import("zod").ZodString;
|
|
110
|
-
relevance: import("zod").ZodNumber;
|
|
111
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
112
|
-
url: string;
|
|
113
|
-
relevance: number;
|
|
114
|
-
title: string;
|
|
115
|
-
snippet: string;
|
|
116
|
-
}, {
|
|
117
|
-
url: string;
|
|
118
|
-
relevance: number;
|
|
119
|
-
title: string;
|
|
120
|
-
snippet: string;
|
|
121
|
-
}>, "many">;
|
|
122
|
-
message: import("zod").ZodString;
|
|
123
|
-
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
124
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
125
|
-
message: string;
|
|
126
|
-
success: boolean;
|
|
127
|
-
documentation: {
|
|
128
|
-
workflowPatterns: string[];
|
|
129
|
-
stepExamples: string[];
|
|
130
|
-
bestPractices: string[];
|
|
131
|
-
};
|
|
132
|
-
webResources: {
|
|
133
|
-
url: string;
|
|
134
|
-
relevance: number;
|
|
135
|
-
title: string;
|
|
136
|
-
snippet: string;
|
|
137
|
-
}[];
|
|
138
|
-
error?: string | undefined;
|
|
139
|
-
}, {
|
|
140
|
-
message: string;
|
|
141
|
-
success: boolean;
|
|
142
|
-
documentation: {
|
|
143
|
-
workflowPatterns: string[];
|
|
144
|
-
stepExamples: string[];
|
|
145
|
-
bestPractices: string[];
|
|
146
|
-
};
|
|
147
|
-
webResources: {
|
|
148
|
-
url: string;
|
|
149
|
-
relevance: number;
|
|
150
|
-
title: string;
|
|
151
|
-
snippet: string;
|
|
152
|
-
}[];
|
|
153
|
-
error?: string | undefined;
|
|
154
|
-
}>;
|
|
155
|
-
userAnswers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
156
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1
|
+
export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core/workflows").DefaultEngineType, (import("@mastra/core/workflows").Step<"planning-iteration", any, {
|
|
157
2
|
action: "create" | "edit";
|
|
158
3
|
discoveredWorkflows: {
|
|
159
4
|
file: string;
|
|
@@ -199,100 +44,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
199
44
|
requirements?: string | undefined;
|
|
200
45
|
userAnswers?: Record<string, string> | undefined;
|
|
201
46
|
}, {
|
|
202
|
-
action: "create" | "edit";
|
|
203
|
-
discoveredWorkflows: {
|
|
204
|
-
file: string;
|
|
205
|
-
name: string;
|
|
206
|
-
description?: string | undefined;
|
|
207
|
-
outputSchema?: any;
|
|
208
|
-
inputSchema?: any;
|
|
209
|
-
steps?: string[] | undefined;
|
|
210
|
-
}[];
|
|
211
|
-
projectStructure: {
|
|
212
|
-
message: string;
|
|
213
|
-
success: boolean;
|
|
214
|
-
dependencies: Record<string, string>;
|
|
215
|
-
structure: {
|
|
216
|
-
hasWorkflowsDir: boolean;
|
|
217
|
-
hasAgentsDir: boolean;
|
|
218
|
-
hasToolsDir: boolean;
|
|
219
|
-
hasMastraIndex: boolean;
|
|
220
|
-
existingWorkflows: string[];
|
|
221
|
-
existingAgents: string[];
|
|
222
|
-
existingTools: string[];
|
|
223
|
-
};
|
|
224
|
-
error?: string | undefined;
|
|
225
|
-
};
|
|
226
|
-
research: {
|
|
227
|
-
message: string;
|
|
228
|
-
success: boolean;
|
|
229
|
-
documentation: {
|
|
230
|
-
workflowPatterns: string[];
|
|
231
|
-
stepExamples: string[];
|
|
232
|
-
bestPractices: string[];
|
|
233
|
-
};
|
|
234
|
-
webResources: {
|
|
235
|
-
url: string;
|
|
236
|
-
relevance: number;
|
|
237
|
-
title: string;
|
|
238
|
-
snippet: string;
|
|
239
|
-
}[];
|
|
240
|
-
error?: string | undefined;
|
|
241
|
-
};
|
|
242
|
-
description?: string | undefined;
|
|
243
|
-
workflowName?: string | undefined;
|
|
244
|
-
requirements?: string | undefined;
|
|
245
|
-
userAnswers?: Record<string, string> | undefined;
|
|
246
|
-
}>, import("zod").ZodObject<{
|
|
247
|
-
success: import("zod").ZodBoolean;
|
|
248
|
-
tasks: import("zod").ZodArray<import("zod").ZodObject<{
|
|
249
|
-
id: import("zod").ZodString;
|
|
250
|
-
content: import("zod").ZodString;
|
|
251
|
-
status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
|
|
252
|
-
priority: import("zod").ZodEnum<["high", "medium", "low"]>;
|
|
253
|
-
dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
254
|
-
notes: import("zod").ZodString;
|
|
255
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
256
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
257
|
-
id: string;
|
|
258
|
-
content: string;
|
|
259
|
-
priority: "high" | "medium" | "low";
|
|
260
|
-
notes: string;
|
|
261
|
-
dependencies?: string[] | undefined;
|
|
262
|
-
}, {
|
|
263
|
-
id: string;
|
|
264
|
-
content: string;
|
|
265
|
-
priority: "high" | "medium" | "low";
|
|
266
|
-
notes: string;
|
|
267
|
-
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
268
|
-
dependencies?: string[] | undefined;
|
|
269
|
-
}>, "many">;
|
|
270
|
-
questions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
271
|
-
id: import("zod").ZodString;
|
|
272
|
-
question: import("zod").ZodString;
|
|
273
|
-
type: import("zod").ZodEnum<["choice", "text", "boolean"]>;
|
|
274
|
-
options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
275
|
-
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
276
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
277
|
-
type: "boolean" | "text" | "choice";
|
|
278
|
-
id: string;
|
|
279
|
-
question: string;
|
|
280
|
-
options?: string[] | undefined;
|
|
281
|
-
context?: string | undefined;
|
|
282
|
-
}, {
|
|
283
|
-
type: "boolean" | "text" | "choice";
|
|
284
|
-
id: string;
|
|
285
|
-
question: string;
|
|
286
|
-
options?: string[] | undefined;
|
|
287
|
-
context?: string | undefined;
|
|
288
|
-
}>, "many">;
|
|
289
|
-
reasoning: import("zod").ZodString;
|
|
290
|
-
planComplete: import("zod").ZodBoolean;
|
|
291
|
-
message: import("zod").ZodString;
|
|
292
|
-
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
293
|
-
allPreviousQuestions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
294
|
-
allPreviousAnswers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
295
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
296
47
|
message: string;
|
|
297
48
|
success: boolean;
|
|
298
49
|
reasoning: string;
|
|
@@ -316,205 +67,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
316
67
|
allPreviousQuestions?: any[] | undefined;
|
|
317
68
|
allPreviousAnswers?: Record<string, string> | undefined;
|
|
318
69
|
}, {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
tasks: {
|
|
323
|
-
id: string;
|
|
324
|
-
content: string;
|
|
325
|
-
priority: "high" | "medium" | "low";
|
|
326
|
-
notes: string;
|
|
327
|
-
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
328
|
-
dependencies?: string[] | undefined;
|
|
329
|
-
}[];
|
|
330
|
-
questions: {
|
|
331
|
-
type: "boolean" | "text" | "choice";
|
|
332
|
-
id: string;
|
|
333
|
-
question: string;
|
|
334
|
-
options?: string[] | undefined;
|
|
335
|
-
context?: string | undefined;
|
|
336
|
-
}[];
|
|
337
|
-
planComplete: boolean;
|
|
338
|
-
error?: string | undefined;
|
|
339
|
-
allPreviousQuestions?: any[] | undefined;
|
|
340
|
-
allPreviousAnswers?: Record<string, string> | undefined;
|
|
341
|
-
}>, import("zod").ZodObject<{
|
|
342
|
-
answers: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
343
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
344
|
-
answers: Record<string, string>;
|
|
345
|
-
}, {
|
|
346
|
-
answers: Record<string, string>;
|
|
347
|
-
}>, import("zod").ZodObject<{
|
|
348
|
-
questions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
349
|
-
id: import("zod").ZodString;
|
|
350
|
-
question: import("zod").ZodString;
|
|
351
|
-
type: import("zod").ZodEnum<["choice", "text", "boolean"]>;
|
|
352
|
-
options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
353
|
-
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
354
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
355
|
-
type: "boolean" | "text" | "choice";
|
|
356
|
-
id: string;
|
|
357
|
-
question: string;
|
|
358
|
-
options?: string[] | undefined;
|
|
359
|
-
context?: string | undefined;
|
|
360
|
-
}, {
|
|
361
|
-
type: "boolean" | "text" | "choice";
|
|
362
|
-
id: string;
|
|
363
|
-
question: string;
|
|
364
|
-
options?: string[] | undefined;
|
|
365
|
-
context?: string | undefined;
|
|
366
|
-
}>, "many">;
|
|
367
|
-
message: import("zod").ZodString;
|
|
368
|
-
currentPlan: import("zod").ZodObject<{
|
|
369
|
-
tasks: import("zod").ZodArray<import("zod").ZodObject<{
|
|
370
|
-
id: import("zod").ZodString;
|
|
371
|
-
content: import("zod").ZodString;
|
|
372
|
-
status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
|
|
373
|
-
priority: import("zod").ZodEnum<["high", "medium", "low"]>;
|
|
374
|
-
dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
375
|
-
notes: import("zod").ZodString;
|
|
376
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
377
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
378
|
-
id: string;
|
|
379
|
-
content: string;
|
|
380
|
-
priority: "high" | "medium" | "low";
|
|
381
|
-
notes: string;
|
|
382
|
-
dependencies?: string[] | undefined;
|
|
383
|
-
}, {
|
|
384
|
-
id: string;
|
|
385
|
-
content: string;
|
|
386
|
-
priority: "high" | "medium" | "low";
|
|
387
|
-
notes: string;
|
|
388
|
-
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
389
|
-
dependencies?: string[] | undefined;
|
|
390
|
-
}>, "many">;
|
|
391
|
-
reasoning: import("zod").ZodString;
|
|
392
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
393
|
-
reasoning: string;
|
|
394
|
-
tasks: {
|
|
395
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
396
|
-
id: string;
|
|
397
|
-
content: string;
|
|
398
|
-
priority: "high" | "medium" | "low";
|
|
399
|
-
notes: string;
|
|
400
|
-
dependencies?: string[] | undefined;
|
|
401
|
-
}[];
|
|
402
|
-
}, {
|
|
403
|
-
reasoning: string;
|
|
404
|
-
tasks: {
|
|
405
|
-
id: string;
|
|
406
|
-
content: string;
|
|
407
|
-
priority: "high" | "medium" | "low";
|
|
408
|
-
notes: string;
|
|
409
|
-
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
410
|
-
dependencies?: string[] | undefined;
|
|
411
|
-
}[];
|
|
412
|
-
}>;
|
|
413
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
414
|
-
message: string;
|
|
415
|
-
questions: {
|
|
416
|
-
type: "boolean" | "text" | "choice";
|
|
417
|
-
id: string;
|
|
418
|
-
question: string;
|
|
419
|
-
options?: string[] | undefined;
|
|
420
|
-
context?: string | undefined;
|
|
421
|
-
}[];
|
|
422
|
-
currentPlan: {
|
|
423
|
-
reasoning: string;
|
|
424
|
-
tasks: {
|
|
425
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
426
|
-
id: string;
|
|
427
|
-
content: string;
|
|
428
|
-
priority: "high" | "medium" | "low";
|
|
429
|
-
notes: string;
|
|
430
|
-
dependencies?: string[] | undefined;
|
|
431
|
-
}[];
|
|
432
|
-
};
|
|
433
|
-
}, {
|
|
434
|
-
message: string;
|
|
435
|
-
questions: {
|
|
436
|
-
type: "boolean" | "text" | "choice";
|
|
437
|
-
id: string;
|
|
438
|
-
question: string;
|
|
439
|
-
options?: string[] | undefined;
|
|
440
|
-
context?: string | undefined;
|
|
441
|
-
}[];
|
|
442
|
-
currentPlan: {
|
|
443
|
-
reasoning: string;
|
|
444
|
-
tasks: {
|
|
445
|
-
id: string;
|
|
446
|
-
content: string;
|
|
447
|
-
priority: "high" | "medium" | "low";
|
|
448
|
-
notes: string;
|
|
449
|
-
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
450
|
-
dependencies?: string[] | undefined;
|
|
451
|
-
}[];
|
|
452
|
-
};
|
|
453
|
-
}>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").Step<"task-approval", import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
454
|
-
[x: string]: any;
|
|
455
|
-
}, {
|
|
456
|
-
[x: string]: any;
|
|
457
|
-
}>, import("zod").ZodObject<{
|
|
458
|
-
success: import("zod").ZodBoolean;
|
|
459
|
-
tasks: import("zod").ZodArray<import("zod").ZodObject<{
|
|
460
|
-
id: import("zod").ZodString;
|
|
461
|
-
content: import("zod").ZodString;
|
|
462
|
-
status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
|
|
463
|
-
priority: import("zod").ZodEnum<["high", "medium", "low"]>;
|
|
464
|
-
dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
465
|
-
notes: import("zod").ZodString;
|
|
466
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
467
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
468
|
-
id: string;
|
|
469
|
-
content: string;
|
|
470
|
-
priority: "high" | "medium" | "low";
|
|
471
|
-
notes: string;
|
|
472
|
-
dependencies?: string[] | undefined;
|
|
473
|
-
}, {
|
|
474
|
-
id: string;
|
|
475
|
-
content: string;
|
|
476
|
-
priority: "high" | "medium" | "low";
|
|
477
|
-
notes: string;
|
|
478
|
-
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
479
|
-
dependencies?: string[] | undefined;
|
|
480
|
-
}>, "many">;
|
|
481
|
-
questions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
482
|
-
id: import("zod").ZodString;
|
|
483
|
-
question: import("zod").ZodString;
|
|
484
|
-
type: import("zod").ZodEnum<["choice", "text", "boolean"]>;
|
|
485
|
-
options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
486
|
-
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
487
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
488
|
-
type: "boolean" | "text" | "choice";
|
|
489
|
-
id: string;
|
|
490
|
-
question: string;
|
|
491
|
-
options?: string[] | undefined;
|
|
492
|
-
context?: string | undefined;
|
|
493
|
-
}, {
|
|
494
|
-
type: "boolean" | "text" | "choice";
|
|
495
|
-
id: string;
|
|
496
|
-
question: string;
|
|
497
|
-
options?: string[] | undefined;
|
|
498
|
-
context?: string | undefined;
|
|
499
|
-
}>, "many">;
|
|
500
|
-
reasoning: import("zod").ZodString;
|
|
501
|
-
planComplete: import("zod").ZodBoolean;
|
|
502
|
-
message: import("zod").ZodString;
|
|
503
|
-
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
504
|
-
allPreviousQuestions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
|
505
|
-
allPreviousAnswers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
506
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
507
|
-
message: string;
|
|
508
|
-
success: boolean;
|
|
509
|
-
reasoning: string;
|
|
510
|
-
tasks: {
|
|
511
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
512
|
-
id: string;
|
|
513
|
-
content: string;
|
|
514
|
-
priority: "high" | "medium" | "low";
|
|
515
|
-
notes: string;
|
|
516
|
-
dependencies?: string[] | undefined;
|
|
517
|
-
}[];
|
|
70
|
+
answers: Record<string, string>;
|
|
71
|
+
}, {
|
|
72
|
+
message: string;
|
|
518
73
|
questions: {
|
|
519
74
|
type: "boolean" | "text" | "choice";
|
|
520
75
|
id: string;
|
|
@@ -522,20 +77,27 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
522
77
|
options?: string[] | undefined;
|
|
523
78
|
context?: string | undefined;
|
|
524
79
|
}[];
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
80
|
+
currentPlan: {
|
|
81
|
+
reasoning: string;
|
|
82
|
+
tasks: {
|
|
83
|
+
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
84
|
+
id: string;
|
|
85
|
+
content: string;
|
|
86
|
+
priority: "high" | "medium" | "low";
|
|
87
|
+
notes: string;
|
|
88
|
+
dependencies?: string[] | undefined;
|
|
89
|
+
}[];
|
|
90
|
+
};
|
|
91
|
+
}, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"task-approval", any, {
|
|
530
92
|
message: string;
|
|
531
93
|
success: boolean;
|
|
532
94
|
reasoning: string;
|
|
533
95
|
tasks: {
|
|
96
|
+
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
534
97
|
id: string;
|
|
535
98
|
content: string;
|
|
536
99
|
priority: "high" | "medium" | "low";
|
|
537
100
|
notes: string;
|
|
538
|
-
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
539
101
|
dependencies?: string[] | undefined;
|
|
540
102
|
}[];
|
|
541
103
|
questions: {
|
|
@@ -549,33 +111,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
549
111
|
error?: string | undefined;
|
|
550
112
|
allPreviousQuestions?: any[] | undefined;
|
|
551
113
|
allPreviousAnswers?: Record<string, string> | undefined;
|
|
552
|
-
}
|
|
553
|
-
approved: import("zod").ZodBoolean;
|
|
554
|
-
tasks: import("zod").ZodArray<import("zod").ZodObject<{
|
|
555
|
-
id: import("zod").ZodString;
|
|
556
|
-
content: import("zod").ZodString;
|
|
557
|
-
status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
|
|
558
|
-
priority: import("zod").ZodEnum<["high", "medium", "low"]>;
|
|
559
|
-
dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
560
|
-
notes: import("zod").ZodString;
|
|
561
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
562
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
563
|
-
id: string;
|
|
564
|
-
content: string;
|
|
565
|
-
priority: "high" | "medium" | "low";
|
|
566
|
-
notes: string;
|
|
567
|
-
dependencies?: string[] | undefined;
|
|
568
|
-
}, {
|
|
569
|
-
id: string;
|
|
570
|
-
content: string;
|
|
571
|
-
priority: "high" | "medium" | "low";
|
|
572
|
-
notes: string;
|
|
573
|
-
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
574
|
-
dependencies?: string[] | undefined;
|
|
575
|
-
}>, "many">;
|
|
576
|
-
message: import("zod").ZodString;
|
|
577
|
-
userFeedback: import("zod").ZodOptional<import("zod").ZodString>;
|
|
578
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
114
|
+
}, {
|
|
579
115
|
message: string;
|
|
580
116
|
tasks: {
|
|
581
117
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
@@ -588,52 +124,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
588
124
|
approved: boolean;
|
|
589
125
|
userFeedback?: string | undefined;
|
|
590
126
|
}, {
|
|
591
|
-
message: string;
|
|
592
|
-
tasks: {
|
|
593
|
-
id: string;
|
|
594
|
-
content: string;
|
|
595
|
-
priority: "high" | "medium" | "low";
|
|
596
|
-
notes: string;
|
|
597
|
-
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
598
|
-
dependencies?: string[] | undefined;
|
|
599
|
-
}[];
|
|
600
|
-
approved: boolean;
|
|
601
|
-
userFeedback?: string | undefined;
|
|
602
|
-
}>, import("zod").ZodObject<{
|
|
603
|
-
approved: import("zod").ZodBoolean;
|
|
604
|
-
modifications: import("zod").ZodOptional<import("zod").ZodString>;
|
|
605
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
606
127
|
approved: boolean;
|
|
607
128
|
modifications?: string | undefined;
|
|
608
129
|
}, {
|
|
609
|
-
approved: boolean;
|
|
610
|
-
modifications?: string | undefined;
|
|
611
|
-
}>, import("zod").ZodObject<{
|
|
612
|
-
taskList: import("zod").ZodArray<import("zod").ZodObject<{
|
|
613
|
-
id: import("zod").ZodString;
|
|
614
|
-
content: import("zod").ZodString;
|
|
615
|
-
status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
|
|
616
|
-
priority: import("zod").ZodEnum<["high", "medium", "low"]>;
|
|
617
|
-
dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
618
|
-
notes: import("zod").ZodString;
|
|
619
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
620
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
621
|
-
id: string;
|
|
622
|
-
content: string;
|
|
623
|
-
priority: "high" | "medium" | "low";
|
|
624
|
-
notes: string;
|
|
625
|
-
dependencies?: string[] | undefined;
|
|
626
|
-
}, {
|
|
627
|
-
id: string;
|
|
628
|
-
content: string;
|
|
629
|
-
priority: "high" | "medium" | "low";
|
|
630
|
-
notes: string;
|
|
631
|
-
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
632
|
-
dependencies?: string[] | undefined;
|
|
633
|
-
}>, "many">;
|
|
634
|
-
summary: import("zod").ZodString;
|
|
635
|
-
message: import("zod").ZodString;
|
|
636
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
637
130
|
message: string;
|
|
638
131
|
summary: string;
|
|
639
132
|
taskList: {
|
|
@@ -644,218 +137,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
644
137
|
notes: string;
|
|
645
138
|
dependencies?: string[] | undefined;
|
|
646
139
|
}[];
|
|
647
|
-
}, {
|
|
648
|
-
message: string;
|
|
649
|
-
summary: string;
|
|
650
|
-
taskList: {
|
|
651
|
-
id: string;
|
|
652
|
-
content: string;
|
|
653
|
-
priority: "high" | "medium" | "low";
|
|
654
|
-
notes: string;
|
|
655
|
-
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
656
|
-
dependencies?: string[] | undefined;
|
|
657
|
-
}[];
|
|
658
|
-
}>, import("@mastra/core/workflows").DefaultEngineType>)[], "planning-and-approval", import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
659
|
-
[x: string]: any;
|
|
660
|
-
}, {
|
|
661
|
-
[x: string]: any;
|
|
662
|
-
}>, import("zod").ZodObject<{
|
|
663
|
-
action: import("zod").ZodEnum<["create", "edit"]>;
|
|
664
|
-
workflowName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
665
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
666
|
-
requirements: import("zod").ZodOptional<import("zod").ZodString>;
|
|
667
|
-
discoveredWorkflows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
668
|
-
name: import("zod").ZodString;
|
|
669
|
-
file: import("zod").ZodString;
|
|
670
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
671
|
-
inputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
672
|
-
outputSchema: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
673
|
-
steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
674
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
675
|
-
file: string;
|
|
676
|
-
name: string;
|
|
677
|
-
description?: string | undefined;
|
|
678
|
-
outputSchema?: any;
|
|
679
|
-
inputSchema?: any;
|
|
680
|
-
steps?: string[] | undefined;
|
|
681
|
-
}, {
|
|
682
|
-
file: string;
|
|
683
|
-
name: string;
|
|
684
|
-
description?: string | undefined;
|
|
685
|
-
outputSchema?: any;
|
|
686
|
-
inputSchema?: any;
|
|
687
|
-
steps?: string[] | undefined;
|
|
688
|
-
}>, "many">;
|
|
689
|
-
projectStructure: import("zod").ZodObject<{
|
|
690
|
-
success: import("zod").ZodBoolean;
|
|
691
|
-
structure: import("zod").ZodObject<{
|
|
692
|
-
hasWorkflowsDir: import("zod").ZodBoolean;
|
|
693
|
-
hasAgentsDir: import("zod").ZodBoolean;
|
|
694
|
-
hasToolsDir: import("zod").ZodBoolean;
|
|
695
|
-
hasMastraIndex: import("zod").ZodBoolean;
|
|
696
|
-
existingWorkflows: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
697
|
-
existingAgents: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
698
|
-
existingTools: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
699
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
700
|
-
hasWorkflowsDir: boolean;
|
|
701
|
-
hasAgentsDir: boolean;
|
|
702
|
-
hasToolsDir: boolean;
|
|
703
|
-
hasMastraIndex: boolean;
|
|
704
|
-
existingWorkflows: string[];
|
|
705
|
-
existingAgents: string[];
|
|
706
|
-
existingTools: string[];
|
|
707
|
-
}, {
|
|
708
|
-
hasWorkflowsDir: boolean;
|
|
709
|
-
hasAgentsDir: boolean;
|
|
710
|
-
hasToolsDir: boolean;
|
|
711
|
-
hasMastraIndex: boolean;
|
|
712
|
-
existingWorkflows: string[];
|
|
713
|
-
existingAgents: string[];
|
|
714
|
-
existingTools: string[];
|
|
715
|
-
}>;
|
|
716
|
-
dependencies: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
717
|
-
message: import("zod").ZodString;
|
|
718
|
-
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
719
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
720
|
-
message: string;
|
|
721
|
-
success: boolean;
|
|
722
|
-
dependencies: Record<string, string>;
|
|
723
|
-
structure: {
|
|
724
|
-
hasWorkflowsDir: boolean;
|
|
725
|
-
hasAgentsDir: boolean;
|
|
726
|
-
hasToolsDir: boolean;
|
|
727
|
-
hasMastraIndex: boolean;
|
|
728
|
-
existingWorkflows: string[];
|
|
729
|
-
existingAgents: string[];
|
|
730
|
-
existingTools: string[];
|
|
731
|
-
};
|
|
732
|
-
error?: string | undefined;
|
|
733
|
-
}, {
|
|
734
|
-
message: string;
|
|
735
|
-
success: boolean;
|
|
736
|
-
dependencies: Record<string, string>;
|
|
737
|
-
structure: {
|
|
738
|
-
hasWorkflowsDir: boolean;
|
|
739
|
-
hasAgentsDir: boolean;
|
|
740
|
-
hasToolsDir: boolean;
|
|
741
|
-
hasMastraIndex: boolean;
|
|
742
|
-
existingWorkflows: string[];
|
|
743
|
-
existingAgents: string[];
|
|
744
|
-
existingTools: string[];
|
|
745
|
-
};
|
|
746
|
-
error?: string | undefined;
|
|
747
|
-
}>;
|
|
748
|
-
research: import("zod").ZodObject<{
|
|
749
|
-
success: import("zod").ZodBoolean;
|
|
750
|
-
documentation: import("zod").ZodObject<{
|
|
751
|
-
workflowPatterns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
752
|
-
stepExamples: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
753
|
-
bestPractices: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
754
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
755
|
-
workflowPatterns: string[];
|
|
756
|
-
stepExamples: string[];
|
|
757
|
-
bestPractices: string[];
|
|
758
|
-
}, {
|
|
759
|
-
workflowPatterns: string[];
|
|
760
|
-
stepExamples: string[];
|
|
761
|
-
bestPractices: string[];
|
|
762
|
-
}>;
|
|
763
|
-
webResources: import("zod").ZodArray<import("zod").ZodObject<{
|
|
764
|
-
title: import("zod").ZodString;
|
|
765
|
-
url: import("zod").ZodString;
|
|
766
|
-
snippet: import("zod").ZodString;
|
|
767
|
-
relevance: import("zod").ZodNumber;
|
|
768
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
769
|
-
url: string;
|
|
770
|
-
relevance: number;
|
|
771
|
-
title: string;
|
|
772
|
-
snippet: string;
|
|
773
|
-
}, {
|
|
774
|
-
url: string;
|
|
775
|
-
relevance: number;
|
|
776
|
-
title: string;
|
|
777
|
-
snippet: string;
|
|
778
|
-
}>, "many">;
|
|
779
|
-
message: import("zod").ZodString;
|
|
780
|
-
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
781
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
782
|
-
message: string;
|
|
783
|
-
success: boolean;
|
|
784
|
-
documentation: {
|
|
785
|
-
workflowPatterns: string[];
|
|
786
|
-
stepExamples: string[];
|
|
787
|
-
bestPractices: string[];
|
|
788
|
-
};
|
|
789
|
-
webResources: {
|
|
790
|
-
url: string;
|
|
791
|
-
relevance: number;
|
|
792
|
-
title: string;
|
|
793
|
-
snippet: string;
|
|
794
|
-
}[];
|
|
795
|
-
error?: string | undefined;
|
|
796
|
-
}, {
|
|
797
|
-
message: string;
|
|
798
|
-
success: boolean;
|
|
799
|
-
documentation: {
|
|
800
|
-
workflowPatterns: string[];
|
|
801
|
-
stepExamples: string[];
|
|
802
|
-
bestPractices: string[];
|
|
803
|
-
};
|
|
804
|
-
webResources: {
|
|
805
|
-
url: string;
|
|
806
|
-
relevance: number;
|
|
807
|
-
title: string;
|
|
808
|
-
snippet: string;
|
|
809
|
-
}[];
|
|
810
|
-
error?: string | undefined;
|
|
811
|
-
}>;
|
|
812
|
-
userAnswers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
813
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
814
|
-
action: "create" | "edit";
|
|
815
|
-
discoveredWorkflows: {
|
|
816
|
-
file: string;
|
|
817
|
-
name: string;
|
|
818
|
-
description?: string | undefined;
|
|
819
|
-
outputSchema?: any;
|
|
820
|
-
inputSchema?: any;
|
|
821
|
-
steps?: string[] | undefined;
|
|
822
|
-
}[];
|
|
823
|
-
projectStructure: {
|
|
824
|
-
message: string;
|
|
825
|
-
success: boolean;
|
|
826
|
-
dependencies: Record<string, string>;
|
|
827
|
-
structure: {
|
|
828
|
-
hasWorkflowsDir: boolean;
|
|
829
|
-
hasAgentsDir: boolean;
|
|
830
|
-
hasToolsDir: boolean;
|
|
831
|
-
hasMastraIndex: boolean;
|
|
832
|
-
existingWorkflows: string[];
|
|
833
|
-
existingAgents: string[];
|
|
834
|
-
existingTools: string[];
|
|
835
|
-
};
|
|
836
|
-
error?: string | undefined;
|
|
837
|
-
};
|
|
838
|
-
research: {
|
|
839
|
-
message: string;
|
|
840
|
-
success: boolean;
|
|
841
|
-
documentation: {
|
|
842
|
-
workflowPatterns: string[];
|
|
843
|
-
stepExamples: string[];
|
|
844
|
-
bestPractices: string[];
|
|
845
|
-
};
|
|
846
|
-
webResources: {
|
|
847
|
-
url: string;
|
|
848
|
-
relevance: number;
|
|
849
|
-
title: string;
|
|
850
|
-
snippet: string;
|
|
851
|
-
}[];
|
|
852
|
-
error?: string | undefined;
|
|
853
|
-
};
|
|
854
|
-
description?: string | undefined;
|
|
855
|
-
workflowName?: string | undefined;
|
|
856
|
-
requirements?: string | undefined;
|
|
857
|
-
userAnswers?: Record<string, string> | undefined;
|
|
858
|
-
}, {
|
|
140
|
+
}, import("@mastra/core/workflows").DefaultEngineType, unknown>)[], "planning-and-approval", unknown, {
|
|
859
141
|
action: "create" | "edit";
|
|
860
142
|
discoveredWorkflows: {
|
|
861
143
|
file: string;
|
|
@@ -900,44 +182,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
900
182
|
workflowName?: string | undefined;
|
|
901
183
|
requirements?: string | undefined;
|
|
902
184
|
userAnswers?: Record<string, string> | undefined;
|
|
903
|
-
}>, import("zod").ZodObject<{
|
|
904
|
-
approved: import("zod").ZodBoolean;
|
|
905
|
-
tasks: import("zod").ZodArray<import("zod").ZodObject<{
|
|
906
|
-
id: import("zod").ZodString;
|
|
907
|
-
content: import("zod").ZodString;
|
|
908
|
-
status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
|
|
909
|
-
priority: import("zod").ZodEnum<["high", "medium", "low"]>;
|
|
910
|
-
dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
911
|
-
notes: import("zod").ZodString;
|
|
912
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
913
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
914
|
-
id: string;
|
|
915
|
-
content: string;
|
|
916
|
-
priority: "high" | "medium" | "low";
|
|
917
|
-
notes: string;
|
|
918
|
-
dependencies?: string[] | undefined;
|
|
919
|
-
}, {
|
|
920
|
-
id: string;
|
|
921
|
-
content: string;
|
|
922
|
-
priority: "high" | "medium" | "low";
|
|
923
|
-
notes: string;
|
|
924
|
-
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
925
|
-
dependencies?: string[] | undefined;
|
|
926
|
-
}>, "many">;
|
|
927
|
-
message: import("zod").ZodString;
|
|
928
|
-
userFeedback: import("zod").ZodOptional<import("zod").ZodString>;
|
|
929
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
930
|
-
message: string;
|
|
931
|
-
tasks: {
|
|
932
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
933
|
-
id: string;
|
|
934
|
-
content: string;
|
|
935
|
-
priority: "high" | "medium" | "low";
|
|
936
|
-
notes: string;
|
|
937
|
-
dependencies?: string[] | undefined;
|
|
938
|
-
}[];
|
|
939
|
-
approved: boolean;
|
|
940
|
-
userFeedback?: string | undefined;
|
|
941
185
|
}, {
|
|
942
186
|
message: string;
|
|
943
187
|
tasks: {
|
|
@@ -950,44 +194,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
950
194
|
}[];
|
|
951
195
|
approved: boolean;
|
|
952
196
|
userFeedback?: string | undefined;
|
|
953
|
-
}>, import("zod").ZodObject<{
|
|
954
|
-
approved: import("zod").ZodBoolean;
|
|
955
|
-
tasks: import("zod").ZodArray<import("zod").ZodObject<{
|
|
956
|
-
id: import("zod").ZodString;
|
|
957
|
-
content: import("zod").ZodString;
|
|
958
|
-
status: import("zod").ZodDefault<import("zod").ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
|
|
959
|
-
priority: import("zod").ZodEnum<["high", "medium", "low"]>;
|
|
960
|
-
dependencies: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
961
|
-
notes: import("zod").ZodString;
|
|
962
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
963
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
964
|
-
id: string;
|
|
965
|
-
content: string;
|
|
966
|
-
priority: "high" | "medium" | "low";
|
|
967
|
-
notes: string;
|
|
968
|
-
dependencies?: string[] | undefined;
|
|
969
|
-
}, {
|
|
970
|
-
id: string;
|
|
971
|
-
content: string;
|
|
972
|
-
priority: "high" | "medium" | "low";
|
|
973
|
-
notes: string;
|
|
974
|
-
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
975
|
-
dependencies?: string[] | undefined;
|
|
976
|
-
}>, "many">;
|
|
977
|
-
message: import("zod").ZodString;
|
|
978
|
-
userFeedback: import("zod").ZodOptional<import("zod").ZodString>;
|
|
979
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
980
|
-
message: string;
|
|
981
|
-
tasks: {
|
|
982
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
983
|
-
id: string;
|
|
984
|
-
content: string;
|
|
985
|
-
priority: "high" | "medium" | "low";
|
|
986
|
-
notes: string;
|
|
987
|
-
dependencies?: string[] | undefined;
|
|
988
|
-
}[];
|
|
989
|
-
approved: boolean;
|
|
990
|
-
userFeedback?: string | undefined;
|
|
991
197
|
}, {
|
|
992
198
|
message: string;
|
|
993
199
|
tasks: {
|
|
@@ -1000,5 +206,5 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
1000
206
|
}[];
|
|
1001
207
|
approved: boolean;
|
|
1002
208
|
userFeedback?: string | undefined;
|
|
1003
|
-
}
|
|
209
|
+
}, unknown>;
|
|
1004
210
|
//# sourceMappingURL=task-planning.d.ts.map
|