@mastra/agent-builder 0.0.0-main-test-05-11-2025-2-20251106053353 → 0.0.0-main-test-2-20251127211532
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 +102 -4
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/defaults.d.ts +42 -42
- package/dist/index.js +53 -31
- package/dist/index.js.map +1 -1
- package/dist/processors/tool-summary.d.ts +10 -5
- package/dist/processors/tool-summary.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 +20 -20
- package/dist/workflows/task-planning/task-planning.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/schema.d.ts +14 -14
- package/dist/workflows/workflow-builder/tools.d.ts +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 +10 -8
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type { MastraLanguageModel } from '@mastra/core/agent';
|
|
2
|
-
import type {
|
|
3
|
-
import { MemoryProcessor } from '@mastra/core/memory';
|
|
1
|
+
import type { MastraDBMessage, MastraLanguageModel, MessageList } from '@mastra/core/agent';
|
|
2
|
+
import type { InputProcessor } from '@mastra/core/processors';
|
|
4
3
|
/**
|
|
5
4
|
* Summarizes tool calls and caches results to avoid re-summarizing identical calls
|
|
6
5
|
*/
|
|
7
|
-
export declare class ToolSummaryProcessor
|
|
6
|
+
export declare class ToolSummaryProcessor implements InputProcessor {
|
|
7
|
+
readonly id = "tool-summary-processor";
|
|
8
|
+
readonly name = "ToolSummaryProcessor";
|
|
8
9
|
private summaryAgent;
|
|
9
10
|
private summaryCache;
|
|
10
11
|
constructor({ summaryModel }: {
|
|
@@ -25,6 +26,10 @@ export declare class ToolSummaryProcessor extends MemoryProcessor {
|
|
|
25
26
|
size: number;
|
|
26
27
|
keys: string[];
|
|
27
28
|
};
|
|
28
|
-
|
|
29
|
+
processInput({ messages, messageList: _messageList, }: {
|
|
30
|
+
messages: MastraDBMessage[];
|
|
31
|
+
messageList: MessageList;
|
|
32
|
+
abort: (reason?: string) => never;
|
|
33
|
+
}): Promise<MastraDBMessage[]>;
|
|
29
34
|
}
|
|
30
35
|
//# 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,eAAe,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC5F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D;;GAEG;AACH,qBAAa,oBAAqB,YAAW,cAAc;IACzD,QAAQ,CAAC,EAAE,4BAA4B;IACvC,QAAQ,CAAC,IAAI,0BAA0B;IAEvC,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,YAAY,CAAC,EACjB,QAAQ,EACR,WAAW,EAAE,YAAY,GAC1B,EAAE;QACD,QAAQ,EAAE,eAAe,EAAE,CAAC;QAC5B,WAAW,EAAE,WAAW,CAAC;QACzB,KAAK,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,KAAK,CAAC;KACnC,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;CA6F/B"}
|
|
@@ -92,6 +92,7 @@ export declare const PlanningIterationResultSchema: z.ZodObject<{
|
|
|
92
92
|
}, "strip", z.ZodTypeAny, {
|
|
93
93
|
message: string;
|
|
94
94
|
success: boolean;
|
|
95
|
+
reasoning: string;
|
|
95
96
|
tasks: {
|
|
96
97
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
97
98
|
id: string;
|
|
@@ -100,7 +101,6 @@ export declare const PlanningIterationResultSchema: z.ZodObject<{
|
|
|
100
101
|
notes: string;
|
|
101
102
|
dependencies?: string[] | undefined;
|
|
102
103
|
}[];
|
|
103
|
-
reasoning: string;
|
|
104
104
|
questions: {
|
|
105
105
|
type: "boolean" | "text" | "choice";
|
|
106
106
|
id: string;
|
|
@@ -115,6 +115,7 @@ export declare const PlanningIterationResultSchema: z.ZodObject<{
|
|
|
115
115
|
}, {
|
|
116
116
|
message: string;
|
|
117
117
|
success: boolean;
|
|
118
|
+
reasoning: string;
|
|
118
119
|
tasks: {
|
|
119
120
|
id: string;
|
|
120
121
|
content: string;
|
|
@@ -123,7 +124,6 @@ export declare const PlanningIterationResultSchema: z.ZodObject<{
|
|
|
123
124
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
124
125
|
dependencies?: string[] | undefined;
|
|
125
126
|
}[];
|
|
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;
|
|
109
110
|
relevance: number;
|
|
110
111
|
title: string;
|
|
111
|
-
url: string;
|
|
112
112
|
snippet: string;
|
|
113
113
|
}, {
|
|
114
|
+
url: string;
|
|
114
115
|
relevance: number;
|
|
115
116
|
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;
|
|
130
131
|
relevance: number;
|
|
131
132
|
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;
|
|
145
146
|
relevance: number;
|
|
146
147
|
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;
|
|
187
188
|
relevance: number;
|
|
188
189
|
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;
|
|
232
233
|
relevance: number;
|
|
233
234
|
title: string;
|
|
234
|
-
url: string;
|
|
235
235
|
snippet: string;
|
|
236
236
|
}[];
|
|
237
237
|
error?: string | undefined;
|
|
@@ -287,6 +287,7 @@ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
|
|
|
287
287
|
}>, "many">;
|
|
288
288
|
reasoning: z.ZodString;
|
|
289
289
|
}, "strip", z.ZodTypeAny, {
|
|
290
|
+
reasoning: string;
|
|
290
291
|
tasks: {
|
|
291
292
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
292
293
|
id: string;
|
|
@@ -295,8 +296,8 @@ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
|
|
|
295
296
|
notes: string;
|
|
296
297
|
dependencies?: string[] | undefined;
|
|
297
298
|
}[];
|
|
298
|
-
reasoning: string;
|
|
299
299
|
}, {
|
|
300
|
+
reasoning: string;
|
|
300
301
|
tasks: {
|
|
301
302
|
id: string;
|
|
302
303
|
content: string;
|
|
@@ -305,7 +306,6 @@ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
|
|
|
305
306
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
306
307
|
dependencies?: string[] | undefined;
|
|
307
308
|
}[];
|
|
308
|
-
reasoning: string;
|
|
309
309
|
}>;
|
|
310
310
|
}, "strip", z.ZodTypeAny, {
|
|
311
311
|
message: string;
|
|
@@ -317,6 +317,7 @@ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
|
|
|
317
317
|
context?: string | undefined;
|
|
318
318
|
}[];
|
|
319
319
|
currentPlan: {
|
|
320
|
+
reasoning: string;
|
|
320
321
|
tasks: {
|
|
321
322
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
322
323
|
id: string;
|
|
@@ -325,7 +326,6 @@ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
|
|
|
325
326
|
notes: string;
|
|
326
327
|
dependencies?: string[] | undefined;
|
|
327
328
|
}[];
|
|
328
|
-
reasoning: string;
|
|
329
329
|
};
|
|
330
330
|
}, {
|
|
331
331
|
message: string;
|
|
@@ -337,6 +337,7 @@ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
|
|
|
337
337
|
context?: string | undefined;
|
|
338
338
|
}[];
|
|
339
339
|
currentPlan: {
|
|
340
|
+
reasoning: string;
|
|
340
341
|
tasks: {
|
|
341
342
|
id: string;
|
|
342
343
|
content: string;
|
|
@@ -345,7 +346,6 @@ export declare const PlanningIterationSuspendSchema: z.ZodObject<{
|
|
|
345
346
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
346
347
|
dependencies?: string[] | undefined;
|
|
347
348
|
}[];
|
|
348
|
-
reasoning: string;
|
|
349
349
|
};
|
|
350
350
|
}>;
|
|
351
351
|
export declare const PlanningIterationResumeSchema: z.ZodObject<{
|
|
@@ -400,6 +400,7 @@ export declare const PlanningAgentOutputSchema: z.ZodObject<{
|
|
|
400
400
|
reasoning: z.ZodString;
|
|
401
401
|
planComplete: z.ZodBoolean;
|
|
402
402
|
}, "strip", z.ZodTypeAny, {
|
|
403
|
+
reasoning: string;
|
|
403
404
|
tasks: {
|
|
404
405
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
405
406
|
id: string;
|
|
@@ -408,7 +409,6 @@ export declare const PlanningAgentOutputSchema: z.ZodObject<{
|
|
|
408
409
|
notes: string;
|
|
409
410
|
dependencies?: string[] | undefined;
|
|
410
411
|
}[];
|
|
411
|
-
reasoning: string;
|
|
412
412
|
planComplete: boolean;
|
|
413
413
|
questions?: {
|
|
414
414
|
type: "boolean" | "text" | "choice";
|
|
@@ -418,6 +418,7 @@ export declare const PlanningAgentOutputSchema: z.ZodObject<{
|
|
|
418
418
|
context?: string | undefined;
|
|
419
419
|
}[] | undefined;
|
|
420
420
|
}, {
|
|
421
|
+
reasoning: string;
|
|
421
422
|
tasks: {
|
|
422
423
|
id: string;
|
|
423
424
|
content: string;
|
|
@@ -426,7 +427,6 @@ export declare const PlanningAgentOutputSchema: z.ZodObject<{
|
|
|
426
427
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
427
428
|
dependencies?: string[] | undefined;
|
|
428
429
|
}[];
|
|
429
|
-
reasoning: string;
|
|
430
430
|
planComplete: boolean;
|
|
431
431
|
questions?: {
|
|
432
432
|
type: "boolean" | "text" | "choice";
|
|
@@ -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;
|
|
112
113
|
relevance: number;
|
|
113
114
|
title: string;
|
|
114
|
-
url: string;
|
|
115
115
|
snippet: string;
|
|
116
116
|
}, {
|
|
117
|
+
url: string;
|
|
117
118
|
relevance: number;
|
|
118
119
|
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;
|
|
133
134
|
relevance: number;
|
|
134
135
|
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;
|
|
148
149
|
relevance: number;
|
|
149
150
|
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;
|
|
190
191
|
relevance: number;
|
|
191
192
|
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;
|
|
235
236
|
relevance: number;
|
|
236
237
|
title: string;
|
|
237
|
-
url: string;
|
|
238
238
|
snippet: string;
|
|
239
239
|
}[];
|
|
240
240
|
error?: string | undefined;
|
|
@@ -295,6 +295,7 @@ 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;
|
|
298
299
|
tasks: {
|
|
299
300
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
300
301
|
id: string;
|
|
@@ -303,7 +304,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
303
304
|
notes: string;
|
|
304
305
|
dependencies?: string[] | undefined;
|
|
305
306
|
}[];
|
|
306
|
-
reasoning: string;
|
|
307
307
|
questions: {
|
|
308
308
|
type: "boolean" | "text" | "choice";
|
|
309
309
|
id: string;
|
|
@@ -318,6 +318,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
318
318
|
}, {
|
|
319
319
|
message: string;
|
|
320
320
|
success: boolean;
|
|
321
|
+
reasoning: string;
|
|
321
322
|
tasks: {
|
|
322
323
|
id: string;
|
|
323
324
|
content: string;
|
|
@@ -326,7 +327,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
326
327
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
327
328
|
dependencies?: string[] | undefined;
|
|
328
329
|
}[];
|
|
329
|
-
reasoning: string;
|
|
330
330
|
questions: {
|
|
331
331
|
type: "boolean" | "text" | "choice";
|
|
332
332
|
id: string;
|
|
@@ -390,6 +390,7 @@ 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;
|
|
393
394
|
tasks: {
|
|
394
395
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
395
396
|
id: string;
|
|
@@ -398,8 +399,8 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
398
399
|
notes: string;
|
|
399
400
|
dependencies?: string[] | undefined;
|
|
400
401
|
}[];
|
|
401
|
-
reasoning: string;
|
|
402
402
|
}, {
|
|
403
|
+
reasoning: string;
|
|
403
404
|
tasks: {
|
|
404
405
|
id: string;
|
|
405
406
|
content: string;
|
|
@@ -408,7 +409,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
408
409
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
409
410
|
dependencies?: string[] | undefined;
|
|
410
411
|
}[];
|
|
411
|
-
reasoning: string;
|
|
412
412
|
}>;
|
|
413
413
|
}, "strip", import("zod").ZodTypeAny, {
|
|
414
414
|
message: string;
|
|
@@ -420,6 +420,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
420
420
|
context?: string | undefined;
|
|
421
421
|
}[];
|
|
422
422
|
currentPlan: {
|
|
423
|
+
reasoning: string;
|
|
423
424
|
tasks: {
|
|
424
425
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
425
426
|
id: string;
|
|
@@ -428,7 +429,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
428
429
|
notes: string;
|
|
429
430
|
dependencies?: string[] | undefined;
|
|
430
431
|
}[];
|
|
431
|
-
reasoning: string;
|
|
432
432
|
};
|
|
433
433
|
}, {
|
|
434
434
|
message: string;
|
|
@@ -440,6 +440,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
440
440
|
context?: string | undefined;
|
|
441
441
|
}[];
|
|
442
442
|
currentPlan: {
|
|
443
|
+
reasoning: string;
|
|
443
444
|
tasks: {
|
|
444
445
|
id: string;
|
|
445
446
|
content: string;
|
|
@@ -448,7 +449,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
448
449
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
449
450
|
dependencies?: string[] | undefined;
|
|
450
451
|
}[];
|
|
451
|
-
reasoning: string;
|
|
452
452
|
};
|
|
453
453
|
}>, import("@mastra/core/workflows").DefaultEngineType> | import("@mastra/core/workflows").Step<"task-approval", import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
454
454
|
[x: string]: any;
|
|
@@ -506,6 +506,7 @@ 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;
|
|
509
510
|
tasks: {
|
|
510
511
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
511
512
|
id: string;
|
|
@@ -514,7 +515,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
514
515
|
notes: string;
|
|
515
516
|
dependencies?: string[] | undefined;
|
|
516
517
|
}[];
|
|
517
|
-
reasoning: string;
|
|
518
518
|
questions: {
|
|
519
519
|
type: "boolean" | "text" | "choice";
|
|
520
520
|
id: string;
|
|
@@ -529,6 +529,7 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
529
529
|
}, {
|
|
530
530
|
message: string;
|
|
531
531
|
success: boolean;
|
|
532
|
+
reasoning: string;
|
|
532
533
|
tasks: {
|
|
533
534
|
id: string;
|
|
534
535
|
content: string;
|
|
@@ -537,7 +538,6 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
537
538
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
538
539
|
dependencies?: string[] | undefined;
|
|
539
540
|
}[];
|
|
540
|
-
reasoning: string;
|
|
541
541
|
questions: {
|
|
542
542
|
type: "boolean" | "text" | "choice";
|
|
543
543
|
id: string;
|
|
@@ -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;
|
|
769
770
|
relevance: number;
|
|
770
771
|
title: string;
|
|
771
|
-
url: string;
|
|
772
772
|
snippet: string;
|
|
773
773
|
}, {
|
|
774
|
+
url: string;
|
|
774
775
|
relevance: number;
|
|
775
776
|
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;
|
|
790
791
|
relevance: number;
|
|
791
792
|
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;
|
|
805
806
|
relevance: number;
|
|
806
807
|
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;
|
|
847
848
|
relevance: number;
|
|
848
849
|
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;
|
|
892
893
|
relevance: number;
|
|
893
894
|
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":"AA6PA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0B7B,CAAC"}
|
|
@@ -174,14 +174,14 @@ export declare const WorkflowResearchResultSchema: z.ZodObject<{
|
|
|
174
174
|
snippet: z.ZodString;
|
|
175
175
|
relevance: z.ZodNumber;
|
|
176
176
|
}, "strip", z.ZodTypeAny, {
|
|
177
|
+
url: string;
|
|
177
178
|
relevance: number;
|
|
178
179
|
title: string;
|
|
179
|
-
url: string;
|
|
180
180
|
snippet: string;
|
|
181
181
|
}, {
|
|
182
|
+
url: string;
|
|
182
183
|
relevance: number;
|
|
183
184
|
title: string;
|
|
184
|
-
url: string;
|
|
185
185
|
snippet: string;
|
|
186
186
|
}>, "many">;
|
|
187
187
|
message: z.ZodString;
|
|
@@ -195,9 +195,9 @@ export declare const WorkflowResearchResultSchema: z.ZodObject<{
|
|
|
195
195
|
bestPractices: string[];
|
|
196
196
|
};
|
|
197
197
|
webResources: {
|
|
198
|
+
url: string;
|
|
198
199
|
relevance: number;
|
|
199
200
|
title: string;
|
|
200
|
-
url: string;
|
|
201
201
|
snippet: string;
|
|
202
202
|
}[];
|
|
203
203
|
error?: string | undefined;
|
|
@@ -210,9 +210,9 @@ export declare const WorkflowResearchResultSchema: z.ZodObject<{
|
|
|
210
210
|
bestPractices: string[];
|
|
211
211
|
};
|
|
212
212
|
webResources: {
|
|
213
|
+
url: string;
|
|
213
214
|
relevance: number;
|
|
214
215
|
title: string;
|
|
215
|
-
url: string;
|
|
216
216
|
snippet: string;
|
|
217
217
|
}[];
|
|
218
218
|
error?: string | undefined;
|
|
@@ -630,14 +630,14 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
630
630
|
snippet: z.ZodString;
|
|
631
631
|
relevance: z.ZodNumber;
|
|
632
632
|
}, "strip", z.ZodTypeAny, {
|
|
633
|
+
url: string;
|
|
633
634
|
relevance: number;
|
|
634
635
|
title: string;
|
|
635
|
-
url: string;
|
|
636
636
|
snippet: string;
|
|
637
637
|
}, {
|
|
638
|
+
url: string;
|
|
638
639
|
relevance: number;
|
|
639
640
|
title: string;
|
|
640
|
-
url: string;
|
|
641
641
|
snippet: string;
|
|
642
642
|
}>, "many">;
|
|
643
643
|
message: z.ZodString;
|
|
@@ -651,9 +651,9 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
651
651
|
bestPractices: string[];
|
|
652
652
|
};
|
|
653
653
|
webResources: {
|
|
654
|
+
url: string;
|
|
654
655
|
relevance: number;
|
|
655
656
|
title: string;
|
|
656
|
-
url: string;
|
|
657
657
|
snippet: string;
|
|
658
658
|
}[];
|
|
659
659
|
error?: string | undefined;
|
|
@@ -666,9 +666,9 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
666
666
|
bestPractices: string[];
|
|
667
667
|
};
|
|
668
668
|
webResources: {
|
|
669
|
+
url: string;
|
|
669
670
|
relevance: number;
|
|
670
671
|
title: string;
|
|
671
|
-
url: string;
|
|
672
672
|
snippet: string;
|
|
673
673
|
}[];
|
|
674
674
|
error?: string | undefined;
|
|
@@ -725,6 +725,7 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
725
725
|
}, "strip", z.ZodTypeAny, {
|
|
726
726
|
message: string;
|
|
727
727
|
success: boolean;
|
|
728
|
+
reasoning: string;
|
|
728
729
|
tasks: {
|
|
729
730
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
730
731
|
id: string;
|
|
@@ -733,7 +734,6 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
733
734
|
notes: string;
|
|
734
735
|
dependencies?: string[] | undefined;
|
|
735
736
|
}[];
|
|
736
|
-
reasoning: string;
|
|
737
737
|
questions: {
|
|
738
738
|
type: "boolean" | "text" | "choice";
|
|
739
739
|
id: string;
|
|
@@ -748,6 +748,7 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
748
748
|
}, {
|
|
749
749
|
message: string;
|
|
750
750
|
success: boolean;
|
|
751
|
+
reasoning: string;
|
|
751
752
|
tasks: {
|
|
752
753
|
id: string;
|
|
753
754
|
content: string;
|
|
@@ -756,7 +757,6 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
756
757
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
757
758
|
dependencies?: string[] | undefined;
|
|
758
759
|
}[];
|
|
759
|
-
reasoning: string;
|
|
760
760
|
questions: {
|
|
761
761
|
type: "boolean" | "text" | "choice";
|
|
762
762
|
id: string;
|
|
@@ -923,9 +923,9 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
923
923
|
bestPractices: string[];
|
|
924
924
|
};
|
|
925
925
|
webResources: {
|
|
926
|
+
url: string;
|
|
926
927
|
relevance: number;
|
|
927
928
|
title: string;
|
|
928
|
-
url: string;
|
|
929
929
|
snippet: string;
|
|
930
930
|
}[];
|
|
931
931
|
error?: string | undefined;
|
|
@@ -948,6 +948,7 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
948
948
|
planning?: {
|
|
949
949
|
message: string;
|
|
950
950
|
success: boolean;
|
|
951
|
+
reasoning: string;
|
|
951
952
|
tasks: {
|
|
952
953
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
953
954
|
id: string;
|
|
@@ -956,7 +957,6 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
956
957
|
notes: string;
|
|
957
958
|
dependencies?: string[] | undefined;
|
|
958
959
|
}[];
|
|
959
|
-
reasoning: string;
|
|
960
960
|
questions: {
|
|
961
961
|
type: "boolean" | "text" | "choice";
|
|
962
962
|
id: string;
|
|
@@ -1033,9 +1033,9 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
1033
1033
|
bestPractices: string[];
|
|
1034
1034
|
};
|
|
1035
1035
|
webResources: {
|
|
1036
|
+
url: string;
|
|
1036
1037
|
relevance: number;
|
|
1037
1038
|
title: string;
|
|
1038
|
-
url: string;
|
|
1039
1039
|
snippet: string;
|
|
1040
1040
|
}[];
|
|
1041
1041
|
error?: string | undefined;
|
|
@@ -1058,6 +1058,7 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
1058
1058
|
planning?: {
|
|
1059
1059
|
message: string;
|
|
1060
1060
|
success: boolean;
|
|
1061
|
+
reasoning: string;
|
|
1061
1062
|
tasks: {
|
|
1062
1063
|
id: string;
|
|
1063
1064
|
content: string;
|
|
@@ -1066,7 +1067,6 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
1066
1067
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
1067
1068
|
dependencies?: string[] | undefined;
|
|
1068
1069
|
}[];
|
|
1069
|
-
reasoning: string;
|
|
1070
1070
|
questions: {
|
|
1071
1071
|
type: "boolean" | "text" | "choice";
|
|
1072
1072
|
id: string;
|
|
@@ -103,7 +103,7 @@ export declare const restrictedTaskManager: import("@mastra/core/tools").Tool<z.
|
|
|
103
103
|
dependencies?: string[] | undefined;
|
|
104
104
|
notes?: string | undefined;
|
|
105
105
|
}[];
|
|
106
|
-
}>, any, any, import("@mastra/core/tools").ToolExecutionContext<any, any
|
|
106
|
+
}>, any, any, import("@mastra/core/tools").ToolExecutionContext<any, any>, "task-manager"> & {
|
|
107
107
|
inputSchema: z.ZodObject<{
|
|
108
108
|
action: z.ZodEnum<["list", "update", "complete"]>;
|
|
109
109
|
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|