@mastra/agent-builder 0.0.0-main-test-05-11-2025-2-20251106053353 → 0.0.0-mastra-auto-detect-server-20260108233416
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 +248 -4
- 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 +164 -134
- package/dist/defaults.d.ts.map +1 -1
- package/dist/index.js +4428 -103
- 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 +7 -6
- package/dist/types.d.ts.map +1 -1
- package/dist/utils.d.ts +8 -7
- 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 +243 -242
- package/dist/workflows/task-planning/task-planning.d.ts.map +1 -1
- package/dist/workflows/template-builder/template-builder.d.ts +6 -6
- package/dist/workflows/template-builder/template-builder.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/schema.d.ts +14 -14
- package/dist/workflows/workflow-builder/tools.d.ts +3 -1
- package/dist/workflows/workflow-builder/tools.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/workflow-builder.d.ts +44 -44
- package/dist/workflows/workflow-builder/workflow-builder.d.ts.map +1 -1
- package/package.json +14 -11
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
import type z from 'zod';
|
|
2
|
+
export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core/workflows").DefaultEngineType, (import("@mastra/core/workflows").Step<"planning-iteration", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2
3
|
[x: string]: any;
|
|
3
4
|
}, {
|
|
4
5
|
[x: string]: any;
|
|
5
|
-
}>,
|
|
6
|
-
action:
|
|
7
|
-
workflowName:
|
|
8
|
-
description:
|
|
9
|
-
requirements:
|
|
10
|
-
discoveredWorkflows:
|
|
11
|
-
name:
|
|
12
|
-
file:
|
|
13
|
-
description:
|
|
14
|
-
inputSchema:
|
|
15
|
-
outputSchema:
|
|
16
|
-
steps:
|
|
17
|
-
}, "strip",
|
|
6
|
+
}>, z.ZodObject<{
|
|
7
|
+
action: z.ZodEnum<["create", "edit"]>;
|
|
8
|
+
workflowName: z.ZodOptional<z.ZodString>;
|
|
9
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10
|
+
requirements: z.ZodOptional<z.ZodString>;
|
|
11
|
+
discoveredWorkflows: z.ZodArray<z.ZodObject<{
|
|
12
|
+
name: z.ZodString;
|
|
13
|
+
file: z.ZodString;
|
|
14
|
+
description: z.ZodOptional<z.ZodString>;
|
|
15
|
+
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
16
|
+
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
17
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
19
|
file: string;
|
|
19
20
|
name: string;
|
|
20
21
|
description?: string | undefined;
|
|
@@ -29,17 +30,17 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
29
30
|
inputSchema?: any;
|
|
30
31
|
steps?: string[] | undefined;
|
|
31
32
|
}>, "many">;
|
|
32
|
-
projectStructure:
|
|
33
|
-
success:
|
|
34
|
-
structure:
|
|
35
|
-
hasWorkflowsDir:
|
|
36
|
-
hasAgentsDir:
|
|
37
|
-
hasToolsDir:
|
|
38
|
-
hasMastraIndex:
|
|
39
|
-
existingWorkflows:
|
|
40
|
-
existingAgents:
|
|
41
|
-
existingTools:
|
|
42
|
-
}, "strip",
|
|
33
|
+
projectStructure: z.ZodObject<{
|
|
34
|
+
success: z.ZodBoolean;
|
|
35
|
+
structure: z.ZodObject<{
|
|
36
|
+
hasWorkflowsDir: z.ZodBoolean;
|
|
37
|
+
hasAgentsDir: z.ZodBoolean;
|
|
38
|
+
hasToolsDir: z.ZodBoolean;
|
|
39
|
+
hasMastraIndex: z.ZodBoolean;
|
|
40
|
+
existingWorkflows: z.ZodArray<z.ZodString, "many">;
|
|
41
|
+
existingAgents: z.ZodArray<z.ZodString, "many">;
|
|
42
|
+
existingTools: z.ZodArray<z.ZodString, "many">;
|
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
44
|
hasWorkflowsDir: boolean;
|
|
44
45
|
hasAgentsDir: boolean;
|
|
45
46
|
hasToolsDir: boolean;
|
|
@@ -56,10 +57,10 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
56
57
|
existingAgents: string[];
|
|
57
58
|
existingTools: string[];
|
|
58
59
|
}>;
|
|
59
|
-
dependencies:
|
|
60
|
-
message:
|
|
61
|
-
error:
|
|
62
|
-
}, "strip",
|
|
60
|
+
dependencies: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
61
|
+
message: z.ZodString;
|
|
62
|
+
error: z.ZodOptional<z.ZodString>;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
64
|
message: string;
|
|
64
65
|
success: boolean;
|
|
65
66
|
dependencies: Record<string, string>;
|
|
@@ -88,13 +89,13 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
88
89
|
};
|
|
89
90
|
error?: string | undefined;
|
|
90
91
|
}>;
|
|
91
|
-
research:
|
|
92
|
-
success:
|
|
93
|
-
documentation:
|
|
94
|
-
workflowPatterns:
|
|
95
|
-
stepExamples:
|
|
96
|
-
bestPractices:
|
|
97
|
-
}, "strip",
|
|
92
|
+
research: z.ZodObject<{
|
|
93
|
+
success: z.ZodBoolean;
|
|
94
|
+
documentation: z.ZodObject<{
|
|
95
|
+
workflowPatterns: z.ZodArray<z.ZodString, "many">;
|
|
96
|
+
stepExamples: z.ZodArray<z.ZodString, "many">;
|
|
97
|
+
bestPractices: z.ZodArray<z.ZodString, "many">;
|
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
|
98
99
|
workflowPatterns: string[];
|
|
99
100
|
stepExamples: string[];
|
|
100
101
|
bestPractices: string[];
|
|
@@ -103,25 +104,25 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
103
104
|
stepExamples: string[];
|
|
104
105
|
bestPractices: string[];
|
|
105
106
|
}>;
|
|
106
|
-
webResources:
|
|
107
|
-
title:
|
|
108
|
-
url:
|
|
109
|
-
snippet:
|
|
110
|
-
relevance:
|
|
111
|
-
}, "strip",
|
|
107
|
+
webResources: z.ZodArray<z.ZodObject<{
|
|
108
|
+
title: z.ZodString;
|
|
109
|
+
url: z.ZodString;
|
|
110
|
+
snippet: z.ZodString;
|
|
111
|
+
relevance: z.ZodNumber;
|
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
|
113
|
+
url: string;
|
|
112
114
|
relevance: number;
|
|
113
115
|
title: string;
|
|
114
|
-
url: string;
|
|
115
116
|
snippet: string;
|
|
116
117
|
}, {
|
|
118
|
+
url: string;
|
|
117
119
|
relevance: number;
|
|
118
120
|
title: string;
|
|
119
|
-
url: string;
|
|
120
121
|
snippet: string;
|
|
121
122
|
}>, "many">;
|
|
122
|
-
message:
|
|
123
|
-
error:
|
|
124
|
-
}, "strip",
|
|
123
|
+
message: z.ZodString;
|
|
124
|
+
error: z.ZodOptional<z.ZodString>;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
125
126
|
message: string;
|
|
126
127
|
success: boolean;
|
|
127
128
|
documentation: {
|
|
@@ -130,9 +131,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
130
131
|
bestPractices: string[];
|
|
131
132
|
};
|
|
132
133
|
webResources: {
|
|
134
|
+
url: string;
|
|
133
135
|
relevance: number;
|
|
134
136
|
title: string;
|
|
135
|
-
url: string;
|
|
136
137
|
snippet: string;
|
|
137
138
|
}[];
|
|
138
139
|
error?: string | undefined;
|
|
@@ -145,15 +146,15 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
145
146
|
bestPractices: string[];
|
|
146
147
|
};
|
|
147
148
|
webResources: {
|
|
149
|
+
url: string;
|
|
148
150
|
relevance: number;
|
|
149
151
|
title: string;
|
|
150
|
-
url: string;
|
|
151
152
|
snippet: string;
|
|
152
153
|
}[];
|
|
153
154
|
error?: string | undefined;
|
|
154
155
|
}>;
|
|
155
|
-
userAnswers:
|
|
156
|
-
}, "strip",
|
|
156
|
+
userAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
157
158
|
action: "create" | "edit";
|
|
158
159
|
discoveredWorkflows: {
|
|
159
160
|
file: string;
|
|
@@ -187,9 +188,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
187
188
|
bestPractices: string[];
|
|
188
189
|
};
|
|
189
190
|
webResources: {
|
|
191
|
+
url: string;
|
|
190
192
|
relevance: number;
|
|
191
193
|
title: string;
|
|
192
|
-
url: string;
|
|
193
194
|
snippet: string;
|
|
194
195
|
}[];
|
|
195
196
|
error?: string | undefined;
|
|
@@ -232,9 +233,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
232
233
|
bestPractices: string[];
|
|
233
234
|
};
|
|
234
235
|
webResources: {
|
|
236
|
+
url: string;
|
|
235
237
|
relevance: number;
|
|
236
238
|
title: string;
|
|
237
|
-
url: string;
|
|
238
239
|
snippet: string;
|
|
239
240
|
}[];
|
|
240
241
|
error?: string | undefined;
|
|
@@ -243,16 +244,16 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
243
244
|
workflowName?: string | undefined;
|
|
244
245
|
requirements?: string | undefined;
|
|
245
246
|
userAnswers?: Record<string, string> | undefined;
|
|
246
|
-
}>,
|
|
247
|
-
success:
|
|
248
|
-
tasks:
|
|
249
|
-
id:
|
|
250
|
-
content:
|
|
251
|
-
status:
|
|
252
|
-
priority:
|
|
253
|
-
dependencies:
|
|
254
|
-
notes:
|
|
255
|
-
}, "strip",
|
|
247
|
+
}>, z.ZodObject<{
|
|
248
|
+
success: z.ZodBoolean;
|
|
249
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
250
|
+
id: z.ZodString;
|
|
251
|
+
content: z.ZodString;
|
|
252
|
+
status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
|
|
253
|
+
priority: z.ZodEnum<["high", "medium", "low"]>;
|
|
254
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
255
|
+
notes: z.ZodString;
|
|
256
|
+
}, "strip", z.ZodTypeAny, {
|
|
256
257
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
257
258
|
id: string;
|
|
258
259
|
content: string;
|
|
@@ -267,13 +268,13 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
267
268
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
268
269
|
dependencies?: string[] | undefined;
|
|
269
270
|
}>, "many">;
|
|
270
|
-
questions:
|
|
271
|
-
id:
|
|
272
|
-
question:
|
|
273
|
-
type:
|
|
274
|
-
options:
|
|
275
|
-
context:
|
|
276
|
-
}, "strip",
|
|
271
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
272
|
+
id: z.ZodString;
|
|
273
|
+
question: z.ZodString;
|
|
274
|
+
type: z.ZodEnum<["choice", "text", "boolean"]>;
|
|
275
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
276
|
+
context: z.ZodOptional<z.ZodString>;
|
|
277
|
+
}, "strip", z.ZodTypeAny, {
|
|
277
278
|
type: "boolean" | "text" | "choice";
|
|
278
279
|
id: string;
|
|
279
280
|
question: string;
|
|
@@ -286,15 +287,16 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
286
287
|
options?: string[] | undefined;
|
|
287
288
|
context?: string | undefined;
|
|
288
289
|
}>, "many">;
|
|
289
|
-
reasoning:
|
|
290
|
-
planComplete:
|
|
291
|
-
message:
|
|
292
|
-
error:
|
|
293
|
-
allPreviousQuestions:
|
|
294
|
-
allPreviousAnswers:
|
|
295
|
-
}, "strip",
|
|
290
|
+
reasoning: z.ZodString;
|
|
291
|
+
planComplete: z.ZodBoolean;
|
|
292
|
+
message: z.ZodString;
|
|
293
|
+
error: z.ZodOptional<z.ZodString>;
|
|
294
|
+
allPreviousQuestions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
295
|
+
allPreviousAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
296
|
+
}, "strip", z.ZodTypeAny, {
|
|
296
297
|
message: string;
|
|
297
298
|
success: boolean;
|
|
299
|
+
reasoning: string;
|
|
298
300
|
tasks: {
|
|
299
301
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
300
302
|
id: string;
|
|
@@ -303,7 +305,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
303
305
|
notes: string;
|
|
304
306
|
dependencies?: string[] | undefined;
|
|
305
307
|
}[];
|
|
306
|
-
reasoning: string;
|
|
307
308
|
questions: {
|
|
308
309
|
type: "boolean" | "text" | "choice";
|
|
309
310
|
id: string;
|
|
@@ -318,6 +319,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
318
319
|
}, {
|
|
319
320
|
message: string;
|
|
320
321
|
success: boolean;
|
|
322
|
+
reasoning: string;
|
|
321
323
|
tasks: {
|
|
322
324
|
id: string;
|
|
323
325
|
content: string;
|
|
@@ -326,7 +328,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
326
328
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
327
329
|
dependencies?: string[] | undefined;
|
|
328
330
|
}[];
|
|
329
|
-
reasoning: string;
|
|
330
331
|
questions: {
|
|
331
332
|
type: "boolean" | "text" | "choice";
|
|
332
333
|
id: string;
|
|
@@ -338,20 +339,20 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
338
339
|
error?: string | undefined;
|
|
339
340
|
allPreviousQuestions?: any[] | undefined;
|
|
340
341
|
allPreviousAnswers?: Record<string, string> | undefined;
|
|
341
|
-
}>,
|
|
342
|
-
answers:
|
|
343
|
-
}, "strip",
|
|
342
|
+
}>, z.ZodObject<{
|
|
343
|
+
answers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
344
|
+
}, "strip", z.ZodTypeAny, {
|
|
344
345
|
answers: Record<string, string>;
|
|
345
346
|
}, {
|
|
346
347
|
answers: Record<string, string>;
|
|
347
|
-
}>,
|
|
348
|
-
questions:
|
|
349
|
-
id:
|
|
350
|
-
question:
|
|
351
|
-
type:
|
|
352
|
-
options:
|
|
353
|
-
context:
|
|
354
|
-
}, "strip",
|
|
348
|
+
}>, z.ZodObject<{
|
|
349
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
350
|
+
id: z.ZodString;
|
|
351
|
+
question: z.ZodString;
|
|
352
|
+
type: z.ZodEnum<["choice", "text", "boolean"]>;
|
|
353
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
354
|
+
context: z.ZodOptional<z.ZodString>;
|
|
355
|
+
}, "strip", z.ZodTypeAny, {
|
|
355
356
|
type: "boolean" | "text" | "choice";
|
|
356
357
|
id: string;
|
|
357
358
|
question: string;
|
|
@@ -364,16 +365,16 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
364
365
|
options?: string[] | undefined;
|
|
365
366
|
context?: string | undefined;
|
|
366
367
|
}>, "many">;
|
|
367
|
-
message:
|
|
368
|
-
currentPlan:
|
|
369
|
-
tasks:
|
|
370
|
-
id:
|
|
371
|
-
content:
|
|
372
|
-
status:
|
|
373
|
-
priority:
|
|
374
|
-
dependencies:
|
|
375
|
-
notes:
|
|
376
|
-
}, "strip",
|
|
368
|
+
message: z.ZodString;
|
|
369
|
+
currentPlan: z.ZodObject<{
|
|
370
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
371
|
+
id: z.ZodString;
|
|
372
|
+
content: z.ZodString;
|
|
373
|
+
status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
|
|
374
|
+
priority: z.ZodEnum<["high", "medium", "low"]>;
|
|
375
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
376
|
+
notes: z.ZodString;
|
|
377
|
+
}, "strip", z.ZodTypeAny, {
|
|
377
378
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
378
379
|
id: string;
|
|
379
380
|
content: string;
|
|
@@ -388,8 +389,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
388
389
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
389
390
|
dependencies?: string[] | undefined;
|
|
390
391
|
}>, "many">;
|
|
391
|
-
reasoning:
|
|
392
|
-
}, "strip",
|
|
392
|
+
reasoning: z.ZodString;
|
|
393
|
+
}, "strip", z.ZodTypeAny, {
|
|
394
|
+
reasoning: string;
|
|
393
395
|
tasks: {
|
|
394
396
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
395
397
|
id: string;
|
|
@@ -398,8 +400,8 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
398
400
|
notes: string;
|
|
399
401
|
dependencies?: string[] | undefined;
|
|
400
402
|
}[];
|
|
401
|
-
reasoning: string;
|
|
402
403
|
}, {
|
|
404
|
+
reasoning: string;
|
|
403
405
|
tasks: {
|
|
404
406
|
id: string;
|
|
405
407
|
content: string;
|
|
@@ -408,9 +410,8 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
408
410
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
409
411
|
dependencies?: string[] | undefined;
|
|
410
412
|
}[];
|
|
411
|
-
reasoning: string;
|
|
412
413
|
}>;
|
|
413
|
-
}, "strip",
|
|
414
|
+
}, "strip", z.ZodTypeAny, {
|
|
414
415
|
message: string;
|
|
415
416
|
questions: {
|
|
416
417
|
type: "boolean" | "text" | "choice";
|
|
@@ -420,6 +421,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
420
421
|
context?: string | undefined;
|
|
421
422
|
}[];
|
|
422
423
|
currentPlan: {
|
|
424
|
+
reasoning: string;
|
|
423
425
|
tasks: {
|
|
424
426
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
425
427
|
id: string;
|
|
@@ -428,7 +430,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
428
430
|
notes: string;
|
|
429
431
|
dependencies?: string[] | undefined;
|
|
430
432
|
}[];
|
|
431
|
-
reasoning: string;
|
|
432
433
|
};
|
|
433
434
|
}, {
|
|
434
435
|
message: string;
|
|
@@ -440,6 +441,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
440
441
|
context?: string | undefined;
|
|
441
442
|
}[];
|
|
442
443
|
currentPlan: {
|
|
444
|
+
reasoning: string;
|
|
443
445
|
tasks: {
|
|
444
446
|
id: string;
|
|
445
447
|
content: string;
|
|
@@ -448,22 +450,21 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
448
450
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
449
451
|
dependencies?: string[] | undefined;
|
|
450
452
|
}[];
|
|
451
|
-
reasoning: string;
|
|
452
453
|
};
|
|
453
|
-
}>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").Step<"task-approval",
|
|
454
|
+
}>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").Step<"task-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
454
455
|
[x: string]: any;
|
|
455
456
|
}, {
|
|
456
457
|
[x: string]: any;
|
|
457
|
-
}>,
|
|
458
|
-
success:
|
|
459
|
-
tasks:
|
|
460
|
-
id:
|
|
461
|
-
content:
|
|
462
|
-
status:
|
|
463
|
-
priority:
|
|
464
|
-
dependencies:
|
|
465
|
-
notes:
|
|
466
|
-
}, "strip",
|
|
458
|
+
}>, z.ZodObject<{
|
|
459
|
+
success: z.ZodBoolean;
|
|
460
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
461
|
+
id: z.ZodString;
|
|
462
|
+
content: z.ZodString;
|
|
463
|
+
status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
|
|
464
|
+
priority: z.ZodEnum<["high", "medium", "low"]>;
|
|
465
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
466
|
+
notes: z.ZodString;
|
|
467
|
+
}, "strip", z.ZodTypeAny, {
|
|
467
468
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
468
469
|
id: string;
|
|
469
470
|
content: string;
|
|
@@ -478,13 +479,13 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
478
479
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
479
480
|
dependencies?: string[] | undefined;
|
|
480
481
|
}>, "many">;
|
|
481
|
-
questions:
|
|
482
|
-
id:
|
|
483
|
-
question:
|
|
484
|
-
type:
|
|
485
|
-
options:
|
|
486
|
-
context:
|
|
487
|
-
}, "strip",
|
|
482
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
483
|
+
id: z.ZodString;
|
|
484
|
+
question: z.ZodString;
|
|
485
|
+
type: z.ZodEnum<["choice", "text", "boolean"]>;
|
|
486
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
487
|
+
context: z.ZodOptional<z.ZodString>;
|
|
488
|
+
}, "strip", z.ZodTypeAny, {
|
|
488
489
|
type: "boolean" | "text" | "choice";
|
|
489
490
|
id: string;
|
|
490
491
|
question: string;
|
|
@@ -497,15 +498,16 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
497
498
|
options?: string[] | undefined;
|
|
498
499
|
context?: string | undefined;
|
|
499
500
|
}>, "many">;
|
|
500
|
-
reasoning:
|
|
501
|
-
planComplete:
|
|
502
|
-
message:
|
|
503
|
-
error:
|
|
504
|
-
allPreviousQuestions:
|
|
505
|
-
allPreviousAnswers:
|
|
506
|
-
}, "strip",
|
|
501
|
+
reasoning: z.ZodString;
|
|
502
|
+
planComplete: z.ZodBoolean;
|
|
503
|
+
message: z.ZodString;
|
|
504
|
+
error: z.ZodOptional<z.ZodString>;
|
|
505
|
+
allPreviousQuestions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
506
|
+
allPreviousAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
507
|
+
}, "strip", z.ZodTypeAny, {
|
|
507
508
|
message: string;
|
|
508
509
|
success: boolean;
|
|
510
|
+
reasoning: string;
|
|
509
511
|
tasks: {
|
|
510
512
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
511
513
|
id: string;
|
|
@@ -514,7 +516,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
514
516
|
notes: string;
|
|
515
517
|
dependencies?: string[] | undefined;
|
|
516
518
|
}[];
|
|
517
|
-
reasoning: string;
|
|
518
519
|
questions: {
|
|
519
520
|
type: "boolean" | "text" | "choice";
|
|
520
521
|
id: string;
|
|
@@ -529,6 +530,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
529
530
|
}, {
|
|
530
531
|
message: string;
|
|
531
532
|
success: boolean;
|
|
533
|
+
reasoning: string;
|
|
532
534
|
tasks: {
|
|
533
535
|
id: string;
|
|
534
536
|
content: string;
|
|
@@ -537,7 +539,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
537
539
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
538
540
|
dependencies?: string[] | undefined;
|
|
539
541
|
}[];
|
|
540
|
-
reasoning: string;
|
|
541
542
|
questions: {
|
|
542
543
|
type: "boolean" | "text" | "choice";
|
|
543
544
|
id: string;
|
|
@@ -549,16 +550,16 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
549
550
|
error?: string | undefined;
|
|
550
551
|
allPreviousQuestions?: any[] | undefined;
|
|
551
552
|
allPreviousAnswers?: Record<string, string> | undefined;
|
|
552
|
-
}>,
|
|
553
|
-
approved:
|
|
554
|
-
tasks:
|
|
555
|
-
id:
|
|
556
|
-
content:
|
|
557
|
-
status:
|
|
558
|
-
priority:
|
|
559
|
-
dependencies:
|
|
560
|
-
notes:
|
|
561
|
-
}, "strip",
|
|
553
|
+
}>, z.ZodObject<{
|
|
554
|
+
approved: z.ZodBoolean;
|
|
555
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
556
|
+
id: z.ZodString;
|
|
557
|
+
content: z.ZodString;
|
|
558
|
+
status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
|
|
559
|
+
priority: z.ZodEnum<["high", "medium", "low"]>;
|
|
560
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
561
|
+
notes: z.ZodString;
|
|
562
|
+
}, "strip", z.ZodTypeAny, {
|
|
562
563
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
563
564
|
id: string;
|
|
564
565
|
content: string;
|
|
@@ -573,9 +574,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
573
574
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
574
575
|
dependencies?: string[] | undefined;
|
|
575
576
|
}>, "many">;
|
|
576
|
-
message:
|
|
577
|
-
userFeedback:
|
|
578
|
-
}, "strip",
|
|
577
|
+
message: z.ZodString;
|
|
578
|
+
userFeedback: z.ZodOptional<z.ZodString>;
|
|
579
|
+
}, "strip", z.ZodTypeAny, {
|
|
579
580
|
message: string;
|
|
580
581
|
tasks: {
|
|
581
582
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
@@ -599,24 +600,24 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
599
600
|
}[];
|
|
600
601
|
approved: boolean;
|
|
601
602
|
userFeedback?: string | undefined;
|
|
602
|
-
}>,
|
|
603
|
-
approved:
|
|
604
|
-
modifications:
|
|
605
|
-
}, "strip",
|
|
603
|
+
}>, z.ZodObject<{
|
|
604
|
+
approved: z.ZodBoolean;
|
|
605
|
+
modifications: z.ZodOptional<z.ZodString>;
|
|
606
|
+
}, "strip", z.ZodTypeAny, {
|
|
606
607
|
approved: boolean;
|
|
607
608
|
modifications?: string | undefined;
|
|
608
609
|
}, {
|
|
609
610
|
approved: boolean;
|
|
610
611
|
modifications?: string | undefined;
|
|
611
|
-
}>,
|
|
612
|
-
taskList:
|
|
613
|
-
id:
|
|
614
|
-
content:
|
|
615
|
-
status:
|
|
616
|
-
priority:
|
|
617
|
-
dependencies:
|
|
618
|
-
notes:
|
|
619
|
-
}, "strip",
|
|
612
|
+
}>, z.ZodObject<{
|
|
613
|
+
taskList: z.ZodArray<z.ZodObject<{
|
|
614
|
+
id: z.ZodString;
|
|
615
|
+
content: z.ZodString;
|
|
616
|
+
status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
|
|
617
|
+
priority: z.ZodEnum<["high", "medium", "low"]>;
|
|
618
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
619
|
+
notes: z.ZodString;
|
|
620
|
+
}, "strip", z.ZodTypeAny, {
|
|
620
621
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
621
622
|
id: string;
|
|
622
623
|
content: string;
|
|
@@ -631,9 +632,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
631
632
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
632
633
|
dependencies?: string[] | undefined;
|
|
633
634
|
}>, "many">;
|
|
634
|
-
summary:
|
|
635
|
-
message:
|
|
636
|
-
}, "strip",
|
|
635
|
+
summary: z.ZodString;
|
|
636
|
+
message: z.ZodString;
|
|
637
|
+
}, "strip", z.ZodTypeAny, {
|
|
637
638
|
message: string;
|
|
638
639
|
summary: string;
|
|
639
640
|
taskList: {
|
|
@@ -655,23 +656,23 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
655
656
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
656
657
|
dependencies?: string[] | undefined;
|
|
657
658
|
}[];
|
|
658
|
-
}>, import("@mastra/core/workflows").DefaultEngineType>)[], "planning-and-approval",
|
|
659
|
+
}>, import("@mastra/core/workflows").DefaultEngineType>)[], "planning-and-approval", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
659
660
|
[x: string]: any;
|
|
660
661
|
}, {
|
|
661
662
|
[x: string]: any;
|
|
662
|
-
}>,
|
|
663
|
-
action:
|
|
664
|
-
workflowName:
|
|
665
|
-
description:
|
|
666
|
-
requirements:
|
|
667
|
-
discoveredWorkflows:
|
|
668
|
-
name:
|
|
669
|
-
file:
|
|
670
|
-
description:
|
|
671
|
-
inputSchema:
|
|
672
|
-
outputSchema:
|
|
673
|
-
steps:
|
|
674
|
-
}, "strip",
|
|
663
|
+
}>, z.ZodObject<{
|
|
664
|
+
action: z.ZodEnum<["create", "edit"]>;
|
|
665
|
+
workflowName: z.ZodOptional<z.ZodString>;
|
|
666
|
+
description: z.ZodOptional<z.ZodString>;
|
|
667
|
+
requirements: z.ZodOptional<z.ZodString>;
|
|
668
|
+
discoveredWorkflows: z.ZodArray<z.ZodObject<{
|
|
669
|
+
name: z.ZodString;
|
|
670
|
+
file: z.ZodString;
|
|
671
|
+
description: z.ZodOptional<z.ZodString>;
|
|
672
|
+
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
673
|
+
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
674
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
675
|
+
}, "strip", z.ZodTypeAny, {
|
|
675
676
|
file: string;
|
|
676
677
|
name: string;
|
|
677
678
|
description?: string | undefined;
|
|
@@ -686,17 +687,17 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
686
687
|
inputSchema?: any;
|
|
687
688
|
steps?: string[] | undefined;
|
|
688
689
|
}>, "many">;
|
|
689
|
-
projectStructure:
|
|
690
|
-
success:
|
|
691
|
-
structure:
|
|
692
|
-
hasWorkflowsDir:
|
|
693
|
-
hasAgentsDir:
|
|
694
|
-
hasToolsDir:
|
|
695
|
-
hasMastraIndex:
|
|
696
|
-
existingWorkflows:
|
|
697
|
-
existingAgents:
|
|
698
|
-
existingTools:
|
|
699
|
-
}, "strip",
|
|
690
|
+
projectStructure: z.ZodObject<{
|
|
691
|
+
success: z.ZodBoolean;
|
|
692
|
+
structure: z.ZodObject<{
|
|
693
|
+
hasWorkflowsDir: z.ZodBoolean;
|
|
694
|
+
hasAgentsDir: z.ZodBoolean;
|
|
695
|
+
hasToolsDir: z.ZodBoolean;
|
|
696
|
+
hasMastraIndex: z.ZodBoolean;
|
|
697
|
+
existingWorkflows: z.ZodArray<z.ZodString, "many">;
|
|
698
|
+
existingAgents: z.ZodArray<z.ZodString, "many">;
|
|
699
|
+
existingTools: z.ZodArray<z.ZodString, "many">;
|
|
700
|
+
}, "strip", z.ZodTypeAny, {
|
|
700
701
|
hasWorkflowsDir: boolean;
|
|
701
702
|
hasAgentsDir: boolean;
|
|
702
703
|
hasToolsDir: boolean;
|
|
@@ -713,10 +714,10 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
713
714
|
existingAgents: string[];
|
|
714
715
|
existingTools: string[];
|
|
715
716
|
}>;
|
|
716
|
-
dependencies:
|
|
717
|
-
message:
|
|
718
|
-
error:
|
|
719
|
-
}, "strip",
|
|
717
|
+
dependencies: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
718
|
+
message: z.ZodString;
|
|
719
|
+
error: z.ZodOptional<z.ZodString>;
|
|
720
|
+
}, "strip", z.ZodTypeAny, {
|
|
720
721
|
message: string;
|
|
721
722
|
success: boolean;
|
|
722
723
|
dependencies: Record<string, string>;
|
|
@@ -745,13 +746,13 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
745
746
|
};
|
|
746
747
|
error?: string | undefined;
|
|
747
748
|
}>;
|
|
748
|
-
research:
|
|
749
|
-
success:
|
|
750
|
-
documentation:
|
|
751
|
-
workflowPatterns:
|
|
752
|
-
stepExamples:
|
|
753
|
-
bestPractices:
|
|
754
|
-
}, "strip",
|
|
749
|
+
research: z.ZodObject<{
|
|
750
|
+
success: z.ZodBoolean;
|
|
751
|
+
documentation: z.ZodObject<{
|
|
752
|
+
workflowPatterns: z.ZodArray<z.ZodString, "many">;
|
|
753
|
+
stepExamples: z.ZodArray<z.ZodString, "many">;
|
|
754
|
+
bestPractices: z.ZodArray<z.ZodString, "many">;
|
|
755
|
+
}, "strip", z.ZodTypeAny, {
|
|
755
756
|
workflowPatterns: string[];
|
|
756
757
|
stepExamples: string[];
|
|
757
758
|
bestPractices: string[];
|
|
@@ -760,25 +761,25 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
760
761
|
stepExamples: string[];
|
|
761
762
|
bestPractices: string[];
|
|
762
763
|
}>;
|
|
763
|
-
webResources:
|
|
764
|
-
title:
|
|
765
|
-
url:
|
|
766
|
-
snippet:
|
|
767
|
-
relevance:
|
|
768
|
-
}, "strip",
|
|
764
|
+
webResources: z.ZodArray<z.ZodObject<{
|
|
765
|
+
title: z.ZodString;
|
|
766
|
+
url: z.ZodString;
|
|
767
|
+
snippet: z.ZodString;
|
|
768
|
+
relevance: z.ZodNumber;
|
|
769
|
+
}, "strip", z.ZodTypeAny, {
|
|
770
|
+
url: string;
|
|
769
771
|
relevance: number;
|
|
770
772
|
title: string;
|
|
771
|
-
url: string;
|
|
772
773
|
snippet: string;
|
|
773
774
|
}, {
|
|
775
|
+
url: string;
|
|
774
776
|
relevance: number;
|
|
775
777
|
title: string;
|
|
776
|
-
url: string;
|
|
777
778
|
snippet: string;
|
|
778
779
|
}>, "many">;
|
|
779
|
-
message:
|
|
780
|
-
error:
|
|
781
|
-
}, "strip",
|
|
780
|
+
message: z.ZodString;
|
|
781
|
+
error: z.ZodOptional<z.ZodString>;
|
|
782
|
+
}, "strip", z.ZodTypeAny, {
|
|
782
783
|
message: string;
|
|
783
784
|
success: boolean;
|
|
784
785
|
documentation: {
|
|
@@ -787,9 +788,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
787
788
|
bestPractices: string[];
|
|
788
789
|
};
|
|
789
790
|
webResources: {
|
|
791
|
+
url: string;
|
|
790
792
|
relevance: number;
|
|
791
793
|
title: string;
|
|
792
|
-
url: string;
|
|
793
794
|
snippet: string;
|
|
794
795
|
}[];
|
|
795
796
|
error?: string | undefined;
|
|
@@ -802,15 +803,15 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
802
803
|
bestPractices: string[];
|
|
803
804
|
};
|
|
804
805
|
webResources: {
|
|
806
|
+
url: string;
|
|
805
807
|
relevance: number;
|
|
806
808
|
title: string;
|
|
807
|
-
url: string;
|
|
808
809
|
snippet: string;
|
|
809
810
|
}[];
|
|
810
811
|
error?: string | undefined;
|
|
811
812
|
}>;
|
|
812
|
-
userAnswers:
|
|
813
|
-
}, "strip",
|
|
813
|
+
userAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
814
|
+
}, "strip", z.ZodTypeAny, {
|
|
814
815
|
action: "create" | "edit";
|
|
815
816
|
discoveredWorkflows: {
|
|
816
817
|
file: string;
|
|
@@ -844,9 +845,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
844
845
|
bestPractices: string[];
|
|
845
846
|
};
|
|
846
847
|
webResources: {
|
|
848
|
+
url: string;
|
|
847
849
|
relevance: number;
|
|
848
850
|
title: string;
|
|
849
|
-
url: string;
|
|
850
851
|
snippet: string;
|
|
851
852
|
}[];
|
|
852
853
|
error?: string | undefined;
|
|
@@ -889,9 +890,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
889
890
|
bestPractices: string[];
|
|
890
891
|
};
|
|
891
892
|
webResources: {
|
|
893
|
+
url: string;
|
|
892
894
|
relevance: number;
|
|
893
895
|
title: string;
|
|
894
|
-
url: string;
|
|
895
896
|
snippet: string;
|
|
896
897
|
}[];
|
|
897
898
|
error?: string | undefined;
|
|
@@ -900,16 +901,16 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
900
901
|
workflowName?: string | undefined;
|
|
901
902
|
requirements?: string | undefined;
|
|
902
903
|
userAnswers?: Record<string, string> | undefined;
|
|
903
|
-
}>,
|
|
904
|
-
approved:
|
|
905
|
-
tasks:
|
|
906
|
-
id:
|
|
907
|
-
content:
|
|
908
|
-
status:
|
|
909
|
-
priority:
|
|
910
|
-
dependencies:
|
|
911
|
-
notes:
|
|
912
|
-
}, "strip",
|
|
904
|
+
}>, z.ZodObject<{
|
|
905
|
+
approved: z.ZodBoolean;
|
|
906
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
907
|
+
id: z.ZodString;
|
|
908
|
+
content: z.ZodString;
|
|
909
|
+
status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
|
|
910
|
+
priority: z.ZodEnum<["high", "medium", "low"]>;
|
|
911
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
912
|
+
notes: z.ZodString;
|
|
913
|
+
}, "strip", z.ZodTypeAny, {
|
|
913
914
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
914
915
|
id: string;
|
|
915
916
|
content: string;
|
|
@@ -924,9 +925,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
924
925
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
925
926
|
dependencies?: string[] | undefined;
|
|
926
927
|
}>, "many">;
|
|
927
|
-
message:
|
|
928
|
-
userFeedback:
|
|
929
|
-
}, "strip",
|
|
928
|
+
message: z.ZodString;
|
|
929
|
+
userFeedback: z.ZodOptional<z.ZodString>;
|
|
930
|
+
}, "strip", z.ZodTypeAny, {
|
|
930
931
|
message: string;
|
|
931
932
|
tasks: {
|
|
932
933
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
@@ -950,16 +951,16 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
950
951
|
}[];
|
|
951
952
|
approved: boolean;
|
|
952
953
|
userFeedback?: string | undefined;
|
|
953
|
-
}>,
|
|
954
|
-
approved:
|
|
955
|
-
tasks:
|
|
956
|
-
id:
|
|
957
|
-
content:
|
|
958
|
-
status:
|
|
959
|
-
priority:
|
|
960
|
-
dependencies:
|
|
961
|
-
notes:
|
|
962
|
-
}, "strip",
|
|
954
|
+
}>, z.ZodObject<{
|
|
955
|
+
approved: z.ZodBoolean;
|
|
956
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
957
|
+
id: z.ZodString;
|
|
958
|
+
content: z.ZodString;
|
|
959
|
+
status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>>;
|
|
960
|
+
priority: z.ZodEnum<["high", "medium", "low"]>;
|
|
961
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
962
|
+
notes: z.ZodString;
|
|
963
|
+
}, "strip", z.ZodTypeAny, {
|
|
963
964
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
964
965
|
id: string;
|
|
965
966
|
content: string;
|
|
@@ -974,9 +975,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
974
975
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
975
976
|
dependencies?: string[] | undefined;
|
|
976
977
|
}>, "many">;
|
|
977
|
-
message:
|
|
978
|
-
userFeedback:
|
|
979
|
-
}, "strip",
|
|
978
|
+
message: z.ZodString;
|
|
979
|
+
userFeedback: z.ZodOptional<z.ZodString>;
|
|
980
|
+
}, "strip", z.ZodTypeAny, {
|
|
980
981
|
message: string;
|
|
981
982
|
tasks: {
|
|
982
983
|
status: "pending" | "in_progress" | "completed" | "blocked";
|