@mastra/agent-builder 0.0.0-netlify-no-bundle-20251127120354 → 0.0.0-partial-response-backport-20251204204441
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 +39 -149
- package/dist/agent/index.d.ts +3 -3
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/defaults.d.ts +783 -235
- package/dist/defaults.d.ts.map +1 -1
- package/dist/index.js +137 -163
- package/dist/index.js.map +1 -1
- package/dist/processors/tool-summary.d.ts +5 -10
- 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 +12 -12
- package/dist/workflows/task-planning/task-planning.d.ts +23 -23
- 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 +14 -14
- package/dist/workflows/workflow-builder/tools.d.ts +83 -13
- package/dist/workflows/workflow-builder/tools.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/workflow-builder.d.ts +52 -52
- package/dist/workflows/workflow-builder/workflow-builder.d.ts.map +1 -1
- package/package.json +16 -11
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { MastraLanguageModel } from '@mastra/core/agent';
|
|
2
|
+
import type { CoreMessage } from '@mastra/core/llm';
|
|
3
|
+
import { MemoryProcessor } from '@mastra/core/memory';
|
|
3
4
|
/**
|
|
4
5
|
* Summarizes tool calls and caches results to avoid re-summarizing identical calls
|
|
5
6
|
*/
|
|
6
|
-
export declare class ToolSummaryProcessor
|
|
7
|
-
readonly id = "tool-summary-processor";
|
|
8
|
-
readonly name = "ToolSummaryProcessor";
|
|
7
|
+
export declare class ToolSummaryProcessor extends MemoryProcessor {
|
|
9
8
|
private summaryAgent;
|
|
10
9
|
private summaryCache;
|
|
11
10
|
constructor({ summaryModel }: {
|
|
@@ -26,10 +25,6 @@ export declare class ToolSummaryProcessor implements InputProcessor {
|
|
|
26
25
|
size: number;
|
|
27
26
|
keys: string[];
|
|
28
27
|
};
|
|
29
|
-
|
|
30
|
-
messages: MastraDBMessage[];
|
|
31
|
-
messageList: MessageList;
|
|
32
|
-
abort: (reason?: string) => never;
|
|
33
|
-
}): Promise<MastraDBMessage[]>;
|
|
28
|
+
process(messages: CoreMessage[]): Promise<CoreMessage[]>;
|
|
34
29
|
}
|
|
35
30
|
//# sourceMappingURL=tool-summary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-summary.d.ts","sourceRoot":"","sources":["../../src/processors/tool-summary.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"tool-summary.d.ts","sourceRoot":"","sources":["../../src/processors/tool-summary.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,eAAe;IACvD,OAAO,CAAC,YAAY,CAAQ;IAC5B,OAAO,CAAC,YAAY,CAAkC;gBAE1C,EAAE,YAAY,EAAE,EAAE;QAAE,YAAY,EAAE,mBAAmB,CAAA;KAAE;IAUnE;;OAEG;IACI,cAAc,CAAC,QAAQ,EAAE,GAAG,GAAG,MAAM;IAkB5C;;OAEG;IACI,UAAU,IAAI,IAAI;IAIzB;;OAEG;IACI,aAAa,IAAI;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE;IAOlD,OAAO,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;CAsF/D"}
|
package/dist/types.d.ts
CHANGED
|
@@ -32,8 +32,8 @@ export interface AgentBuilderConfig {
|
|
|
32
32
|
* Options for generating agents with AgentBuilder
|
|
33
33
|
*/
|
|
34
34
|
export interface GenerateAgentOptions {
|
|
35
|
-
/**
|
|
36
|
-
|
|
35
|
+
/** Runtime context for the generation */
|
|
36
|
+
runtimeContext?: any;
|
|
37
37
|
/** Output format preference */
|
|
38
38
|
outputFormat?: 'code' | 'explanation' | 'both';
|
|
39
39
|
}
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { exec as execNodejs, execFile as execFileNodejs } from 'child_process';
|
|
2
2
|
import type { SpawnOptions } from 'child_process';
|
|
3
3
|
import type { MastraLanguageModel } from '@mastra/core/agent';
|
|
4
|
-
import type {
|
|
4
|
+
import type { RuntimeContext } from '@mastra/core/runtime-context';
|
|
5
5
|
import type { UnitKind } from './types.js';
|
|
6
6
|
export declare const exec: typeof execNodejs.__promisify__;
|
|
7
7
|
export declare const execFile: typeof execFileNodejs.__promisify__;
|
|
@@ -58,13 +58,13 @@ export declare function gitCheckoutBranch(branchName: string, targetPath: string
|
|
|
58
58
|
export declare function backupAndReplaceFile(sourceFile: string, targetFile: string): Promise<void>;
|
|
59
59
|
export declare function renameAndCopyFile(sourceFile: string, targetFile: string): Promise<string>;
|
|
60
60
|
export declare const isValidMastraLanguageModel: (model: any) => model is MastraLanguageModel;
|
|
61
|
-
export declare const resolveTargetPath: (inputData: any,
|
|
61
|
+
export declare const resolveTargetPath: (inputData: any, runtimeContext: any) => string;
|
|
62
62
|
export declare const mergeGitignoreFiles: (targetContent: string, templateContent: string, templateSlug: string) => string;
|
|
63
63
|
export declare const mergeEnvFiles: (targetContent: string, templateVariables: Record<string, string>, templateSlug: string) => string;
|
|
64
64
|
export declare const detectAISDKVersion: (projectPath: string) => Promise<"v1" | "v2">;
|
|
65
65
|
export declare const createModelInstance: (provider: string, modelId: string, version?: "v1" | "v2") => Promise<MastraLanguageModel | null>;
|
|
66
|
-
export declare const resolveModel: ({
|
|
67
|
-
|
|
66
|
+
export declare const resolveModel: ({ runtimeContext, defaultModel, projectPath, }: {
|
|
67
|
+
runtimeContext: RuntimeContext;
|
|
68
68
|
defaultModel?: MastraLanguageModel | string;
|
|
69
69
|
projectPath?: string;
|
|
70
70
|
}) => Promise<MastraLanguageModel>;
|
|
@@ -92,7 +92,6 @@ export declare const PlanningIterationResultSchema: z.ZodObject<{
|
|
|
92
92
|
}, "strip", z.ZodTypeAny, {
|
|
93
93
|
message: string;
|
|
94
94
|
success: boolean;
|
|
95
|
-
reasoning: string;
|
|
96
95
|
tasks: {
|
|
97
96
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
98
97
|
id: string;
|
|
@@ -101,6 +100,7 @@ export declare const PlanningIterationResultSchema: z.ZodObject<{
|
|
|
101
100
|
notes: string;
|
|
102
101
|
dependencies?: string[] | undefined;
|
|
103
102
|
}[];
|
|
103
|
+
reasoning: string;
|
|
104
104
|
questions: {
|
|
105
105
|
type: "boolean" | "text" | "choice";
|
|
106
106
|
id: string;
|
|
@@ -115,7 +115,6 @@ export declare const PlanningIterationResultSchema: z.ZodObject<{
|
|
|
115
115
|
}, {
|
|
116
116
|
message: string;
|
|
117
117
|
success: boolean;
|
|
118
|
-
reasoning: string;
|
|
119
118
|
tasks: {
|
|
120
119
|
id: string;
|
|
121
120
|
content: string;
|
|
@@ -124,6 +123,7 @@ export declare const PlanningIterationResultSchema: z.ZodObject<{
|
|
|
124
123
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
125
124
|
dependencies?: string[] | undefined;
|
|
126
125
|
}[];
|
|
126
|
+
reasoning: string;
|
|
127
127
|
questions: {
|
|
128
128
|
type: "boolean" | "text" | "choice";
|
|
129
129
|
id: string;
|
|
@@ -106,14 +106,14 @@ export declare const PlanningIterationInputSchema: z.ZodObject<{
|
|
|
106
106
|
snippet: z.ZodString;
|
|
107
107
|
relevance: z.ZodNumber;
|
|
108
108
|
}, "strip", z.ZodTypeAny, {
|
|
109
|
-
url: string;
|
|
110
109
|
relevance: number;
|
|
111
110
|
title: string;
|
|
111
|
+
url: string;
|
|
112
112
|
snippet: string;
|
|
113
113
|
}, {
|
|
114
|
-
url: string;
|
|
115
114
|
relevance: number;
|
|
116
115
|
title: string;
|
|
116
|
+
url: string;
|
|
117
117
|
snippet: string;
|
|
118
118
|
}>, "many">;
|
|
119
119
|
message: z.ZodString;
|
|
@@ -127,9 +127,9 @@ export declare const PlanningIterationInputSchema: z.ZodObject<{
|
|
|
127
127
|
bestPractices: string[];
|
|
128
128
|
};
|
|
129
129
|
webResources: {
|
|
130
|
-
url: string;
|
|
131
130
|
relevance: number;
|
|
132
131
|
title: string;
|
|
132
|
+
url: string;
|
|
133
133
|
snippet: string;
|
|
134
134
|
}[];
|
|
135
135
|
error?: string | undefined;
|
|
@@ -142,9 +142,9 @@ export declare const PlanningIterationInputSchema: z.ZodObject<{
|
|
|
142
142
|
bestPractices: string[];
|
|
143
143
|
};
|
|
144
144
|
webResources: {
|
|
145
|
-
url: string;
|
|
146
145
|
relevance: number;
|
|
147
146
|
title: string;
|
|
147
|
+
url: string;
|
|
148
148
|
snippet: string;
|
|
149
149
|
}[];
|
|
150
150
|
error?: string | undefined;
|
|
@@ -184,9 +184,9 @@ export declare const PlanningIterationInputSchema: z.ZodObject<{
|
|
|
184
184
|
bestPractices: string[];
|
|
185
185
|
};
|
|
186
186
|
webResources: {
|
|
187
|
-
url: string;
|
|
188
187
|
relevance: number;
|
|
189
188
|
title: string;
|
|
189
|
+
url: string;
|
|
190
190
|
snippet: string;
|
|
191
191
|
}[];
|
|
192
192
|
error?: string | undefined;
|
|
@@ -229,9 +229,9 @@ export declare const PlanningIterationInputSchema: z.ZodObject<{
|
|
|
229
229
|
bestPractices: string[];
|
|
230
230
|
};
|
|
231
231
|
webResources: {
|
|
232
|
-
url: string;
|
|
233
232
|
relevance: number;
|
|
234
233
|
title: string;
|
|
234
|
+
url: string;
|
|
235
235
|
snippet: string;
|
|
236
236
|
}[];
|
|
237
237
|
error?: string | undefined;
|
|
@@ -287,7 +287,6 @@ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
|
|
|
287
287
|
}>, "many">;
|
|
288
288
|
reasoning: z.ZodString;
|
|
289
289
|
}, "strip", z.ZodTypeAny, {
|
|
290
|
-
reasoning: string;
|
|
291
290
|
tasks: {
|
|
292
291
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
293
292
|
id: string;
|
|
@@ -296,8 +295,8 @@ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
|
|
|
296
295
|
notes: string;
|
|
297
296
|
dependencies?: string[] | undefined;
|
|
298
297
|
}[];
|
|
299
|
-
}, {
|
|
300
298
|
reasoning: string;
|
|
299
|
+
}, {
|
|
301
300
|
tasks: {
|
|
302
301
|
id: string;
|
|
303
302
|
content: string;
|
|
@@ -306,6 +305,7 @@ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
|
|
|
306
305
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
307
306
|
dependencies?: string[] | undefined;
|
|
308
307
|
}[];
|
|
308
|
+
reasoning: string;
|
|
309
309
|
}>;
|
|
310
310
|
}, "strip", z.ZodTypeAny, {
|
|
311
311
|
message: string;
|
|
@@ -317,7 +317,6 @@ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
|
|
|
317
317
|
context?: string | undefined;
|
|
318
318
|
}[];
|
|
319
319
|
currentPlan: {
|
|
320
|
-
reasoning: string;
|
|
321
320
|
tasks: {
|
|
322
321
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
323
322
|
id: string;
|
|
@@ -326,6 +325,7 @@ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
|
|
|
326
325
|
notes: string;
|
|
327
326
|
dependencies?: string[] | undefined;
|
|
328
327
|
}[];
|
|
328
|
+
reasoning: string;
|
|
329
329
|
};
|
|
330
330
|
}, {
|
|
331
331
|
message: string;
|
|
@@ -337,7 +337,6 @@ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
|
|
|
337
337
|
context?: string | undefined;
|
|
338
338
|
}[];
|
|
339
339
|
currentPlan: {
|
|
340
|
-
reasoning: string;
|
|
341
340
|
tasks: {
|
|
342
341
|
id: string;
|
|
343
342
|
content: string;
|
|
@@ -346,6 +345,7 @@ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
|
|
|
346
345
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
347
346
|
dependencies?: string[] | undefined;
|
|
348
347
|
}[];
|
|
348
|
+
reasoning: string;
|
|
349
349
|
};
|
|
350
350
|
}>;
|
|
351
351
|
export declare const PlanningIterationResumeSchema: z.ZodObject<{
|
|
@@ -400,7 +400,6 @@ export declare const PlanningAgentOutputSchema: z.ZodObject<{
|
|
|
400
400
|
reasoning: z.ZodString;
|
|
401
401
|
planComplete: z.ZodBoolean;
|
|
402
402
|
}, "strip", z.ZodTypeAny, {
|
|
403
|
-
reasoning: string;
|
|
404
403
|
tasks: {
|
|
405
404
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
406
405
|
id: string;
|
|
@@ -409,6 +408,7 @@ export declare const PlanningAgentOutputSchema: z.ZodObject<{
|
|
|
409
408
|
notes: string;
|
|
410
409
|
dependencies?: string[] | undefined;
|
|
411
410
|
}[];
|
|
411
|
+
reasoning: string;
|
|
412
412
|
planComplete: boolean;
|
|
413
413
|
questions?: {
|
|
414
414
|
type: "boolean" | "text" | "choice";
|
|
@@ -418,7 +418,6 @@ export declare const PlanningAgentOutputSchema: z.ZodObject<{
|
|
|
418
418
|
context?: string | undefined;
|
|
419
419
|
}[] | undefined;
|
|
420
420
|
}, {
|
|
421
|
-
reasoning: string;
|
|
422
421
|
tasks: {
|
|
423
422
|
id: string;
|
|
424
423
|
content: string;
|
|
@@ -427,6 +426,7 @@ export declare const PlanningAgentOutputSchema: z.ZodObject<{
|
|
|
427
426
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
428
427
|
dependencies?: string[] | undefined;
|
|
429
428
|
}[];
|
|
429
|
+
reasoning: string;
|
|
430
430
|
planComplete: boolean;
|
|
431
431
|
questions?: {
|
|
432
432
|
type: "boolean" | "text" | "choice";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core
|
|
1
|
+
export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core").DefaultEngineType, (import("@mastra/core").Step<"planning-iteration", import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
}, {
|
|
4
4
|
[x: string]: any;
|
|
@@ -109,14 +109,14 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
109
109
|
snippet: import("zod").ZodString;
|
|
110
110
|
relevance: import("zod").ZodNumber;
|
|
111
111
|
}, "strip", import("zod").ZodTypeAny, {
|
|
112
|
-
url: string;
|
|
113
112
|
relevance: number;
|
|
114
113
|
title: string;
|
|
114
|
+
url: string;
|
|
115
115
|
snippet: string;
|
|
116
116
|
}, {
|
|
117
|
-
url: string;
|
|
118
117
|
relevance: number;
|
|
119
118
|
title: string;
|
|
119
|
+
url: string;
|
|
120
120
|
snippet: string;
|
|
121
121
|
}>, "many">;
|
|
122
122
|
message: import("zod").ZodString;
|
|
@@ -130,9 +130,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
130
130
|
bestPractices: string[];
|
|
131
131
|
};
|
|
132
132
|
webResources: {
|
|
133
|
-
url: string;
|
|
134
133
|
relevance: number;
|
|
135
134
|
title: string;
|
|
135
|
+
url: string;
|
|
136
136
|
snippet: string;
|
|
137
137
|
}[];
|
|
138
138
|
error?: string | undefined;
|
|
@@ -145,9 +145,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
145
145
|
bestPractices: string[];
|
|
146
146
|
};
|
|
147
147
|
webResources: {
|
|
148
|
-
url: string;
|
|
149
148
|
relevance: number;
|
|
150
149
|
title: string;
|
|
150
|
+
url: string;
|
|
151
151
|
snippet: string;
|
|
152
152
|
}[];
|
|
153
153
|
error?: string | undefined;
|
|
@@ -187,9 +187,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
187
187
|
bestPractices: string[];
|
|
188
188
|
};
|
|
189
189
|
webResources: {
|
|
190
|
-
url: string;
|
|
191
190
|
relevance: number;
|
|
192
191
|
title: string;
|
|
192
|
+
url: string;
|
|
193
193
|
snippet: string;
|
|
194
194
|
}[];
|
|
195
195
|
error?: string | undefined;
|
|
@@ -232,9 +232,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
232
232
|
bestPractices: string[];
|
|
233
233
|
};
|
|
234
234
|
webResources: {
|
|
235
|
-
url: string;
|
|
236
235
|
relevance: number;
|
|
237
236
|
title: string;
|
|
237
|
+
url: string;
|
|
238
238
|
snippet: string;
|
|
239
239
|
}[];
|
|
240
240
|
error?: string | undefined;
|
|
@@ -295,7 +295,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
295
295
|
}, "strip", import("zod").ZodTypeAny, {
|
|
296
296
|
message: string;
|
|
297
297
|
success: boolean;
|
|
298
|
-
reasoning: string;
|
|
299
298
|
tasks: {
|
|
300
299
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
301
300
|
id: string;
|
|
@@ -304,6 +303,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
304
303
|
notes: string;
|
|
305
304
|
dependencies?: string[] | undefined;
|
|
306
305
|
}[];
|
|
306
|
+
reasoning: string;
|
|
307
307
|
questions: {
|
|
308
308
|
type: "boolean" | "text" | "choice";
|
|
309
309
|
id: string;
|
|
@@ -318,7 +318,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
318
318
|
}, {
|
|
319
319
|
message: string;
|
|
320
320
|
success: boolean;
|
|
321
|
-
reasoning: string;
|
|
322
321
|
tasks: {
|
|
323
322
|
id: string;
|
|
324
323
|
content: string;
|
|
@@ -327,6 +326,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
327
326
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
328
327
|
dependencies?: string[] | undefined;
|
|
329
328
|
}[];
|
|
329
|
+
reasoning: string;
|
|
330
330
|
questions: {
|
|
331
331
|
type: "boolean" | "text" | "choice";
|
|
332
332
|
id: string;
|
|
@@ -390,7 +390,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
390
390
|
}>, "many">;
|
|
391
391
|
reasoning: import("zod").ZodString;
|
|
392
392
|
}, "strip", import("zod").ZodTypeAny, {
|
|
393
|
-
reasoning: string;
|
|
394
393
|
tasks: {
|
|
395
394
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
396
395
|
id: string;
|
|
@@ -399,8 +398,8 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
399
398
|
notes: string;
|
|
400
399
|
dependencies?: string[] | undefined;
|
|
401
400
|
}[];
|
|
402
|
-
}, {
|
|
403
401
|
reasoning: string;
|
|
402
|
+
}, {
|
|
404
403
|
tasks: {
|
|
405
404
|
id: string;
|
|
406
405
|
content: string;
|
|
@@ -409,6 +408,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
409
408
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
410
409
|
dependencies?: string[] | undefined;
|
|
411
410
|
}[];
|
|
411
|
+
reasoning: string;
|
|
412
412
|
}>;
|
|
413
413
|
}, "strip", import("zod").ZodTypeAny, {
|
|
414
414
|
message: string;
|
|
@@ -420,7 +420,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
420
420
|
context?: string | undefined;
|
|
421
421
|
}[];
|
|
422
422
|
currentPlan: {
|
|
423
|
-
reasoning: string;
|
|
424
423
|
tasks: {
|
|
425
424
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
426
425
|
id: string;
|
|
@@ -429,6 +428,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
429
428
|
notes: string;
|
|
430
429
|
dependencies?: string[] | undefined;
|
|
431
430
|
}[];
|
|
431
|
+
reasoning: string;
|
|
432
432
|
};
|
|
433
433
|
}, {
|
|
434
434
|
message: string;
|
|
@@ -440,7 +440,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
440
440
|
context?: string | undefined;
|
|
441
441
|
}[];
|
|
442
442
|
currentPlan: {
|
|
443
|
-
reasoning: string;
|
|
444
443
|
tasks: {
|
|
445
444
|
id: string;
|
|
446
445
|
content: string;
|
|
@@ -449,8 +448,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
449
448
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
450
449
|
dependencies?: string[] | undefined;
|
|
451
450
|
}[];
|
|
451
|
+
reasoning: string;
|
|
452
452
|
};
|
|
453
|
-
}>, import("@mastra/core
|
|
453
|
+
}>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"task-approval", import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
454
454
|
[x: string]: any;
|
|
455
455
|
}, {
|
|
456
456
|
[x: string]: any;
|
|
@@ -506,7 +506,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
506
506
|
}, "strip", import("zod").ZodTypeAny, {
|
|
507
507
|
message: string;
|
|
508
508
|
success: boolean;
|
|
509
|
-
reasoning: string;
|
|
510
509
|
tasks: {
|
|
511
510
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
512
511
|
id: string;
|
|
@@ -515,6 +514,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
515
514
|
notes: string;
|
|
516
515
|
dependencies?: string[] | undefined;
|
|
517
516
|
}[];
|
|
517
|
+
reasoning: string;
|
|
518
518
|
questions: {
|
|
519
519
|
type: "boolean" | "text" | "choice";
|
|
520
520
|
id: string;
|
|
@@ -529,7 +529,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
529
529
|
}, {
|
|
530
530
|
message: string;
|
|
531
531
|
success: boolean;
|
|
532
|
-
reasoning: string;
|
|
533
532
|
tasks: {
|
|
534
533
|
id: string;
|
|
535
534
|
content: string;
|
|
@@ -538,6 +537,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
538
537
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
539
538
|
dependencies?: string[] | undefined;
|
|
540
539
|
}[];
|
|
540
|
+
reasoning: string;
|
|
541
541
|
questions: {
|
|
542
542
|
type: "boolean" | "text" | "choice";
|
|
543
543
|
id: string;
|
|
@@ -655,7 +655,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
655
655
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
656
656
|
dependencies?: string[] | undefined;
|
|
657
657
|
}[];
|
|
658
|
-
}>, import("@mastra/core
|
|
658
|
+
}>, import("@mastra/core").DefaultEngineType>)[], "planning-and-approval", import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
659
659
|
[x: string]: any;
|
|
660
660
|
}, {
|
|
661
661
|
[x: string]: any;
|
|
@@ -766,14 +766,14 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
766
766
|
snippet: import("zod").ZodString;
|
|
767
767
|
relevance: import("zod").ZodNumber;
|
|
768
768
|
}, "strip", import("zod").ZodTypeAny, {
|
|
769
|
-
url: string;
|
|
770
769
|
relevance: number;
|
|
771
770
|
title: string;
|
|
771
|
+
url: string;
|
|
772
772
|
snippet: string;
|
|
773
773
|
}, {
|
|
774
|
-
url: string;
|
|
775
774
|
relevance: number;
|
|
776
775
|
title: string;
|
|
776
|
+
url: string;
|
|
777
777
|
snippet: string;
|
|
778
778
|
}>, "many">;
|
|
779
779
|
message: import("zod").ZodString;
|
|
@@ -787,9 +787,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
787
787
|
bestPractices: string[];
|
|
788
788
|
};
|
|
789
789
|
webResources: {
|
|
790
|
-
url: string;
|
|
791
790
|
relevance: number;
|
|
792
791
|
title: string;
|
|
792
|
+
url: string;
|
|
793
793
|
snippet: string;
|
|
794
794
|
}[];
|
|
795
795
|
error?: string | undefined;
|
|
@@ -802,9 +802,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
802
802
|
bestPractices: string[];
|
|
803
803
|
};
|
|
804
804
|
webResources: {
|
|
805
|
-
url: string;
|
|
806
805
|
relevance: number;
|
|
807
806
|
title: string;
|
|
807
|
+
url: string;
|
|
808
808
|
snippet: string;
|
|
809
809
|
}[];
|
|
810
810
|
error?: string | undefined;
|
|
@@ -844,9 +844,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
844
844
|
bestPractices: string[];
|
|
845
845
|
};
|
|
846
846
|
webResources: {
|
|
847
|
-
url: string;
|
|
848
847
|
relevance: number;
|
|
849
848
|
title: string;
|
|
849
|
+
url: string;
|
|
850
850
|
snippet: string;
|
|
851
851
|
}[];
|
|
852
852
|
error?: string | undefined;
|
|
@@ -889,9 +889,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
889
889
|
bestPractices: string[];
|
|
890
890
|
};
|
|
891
891
|
webResources: {
|
|
892
|
-
url: string;
|
|
893
892
|
relevance: number;
|
|
894
893
|
title: string;
|
|
894
|
+
url: string;
|
|
895
895
|
snippet: string;
|
|
896
896
|
}[];
|
|
897
897
|
error?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-planning.d.ts","sourceRoot":"","sources":["../../../src/workflows/task-planning/task-planning.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"task-planning.d.ts","sourceRoot":"","sources":["../../../src/workflows/task-planning/task-planning.ts"],"names":[],"mappings":"AA0PA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0B7B,CAAC"}
|