@mastra/agent-builder 0.0.0-message-file-url-handling-fix-20250904234524 → 0.0.0-monorepo-binary-20251013210052
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 +273 -4
- package/README.md +0 -4
- package/dist/agent/index.d.ts +4 -6
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/defaults.d.ts +45 -45
- package/dist/index.js +136 -160
- package/dist/index.js.map +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/workflows/task-planning/schema.d.ts +4 -4
- package/dist/workflows/task-planning/task-planning.d.ts +23 -11
- package/dist/workflows/task-planning/task-planning.d.ts.map +1 -1
- package/dist/workflows/template-builder/template-builder.d.ts +118 -20
- package/dist/workflows/template-builder/template-builder.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/schema.d.ts +12 -12
- package/dist/workflows/workflow-builder/tools.d.ts +3 -3
- package/dist/workflows/workflow-builder/workflow-builder.d.ts +68 -36
- package/dist/workflows/workflow-builder/workflow-builder.d.ts.map +1 -1
- package/dist/workflows/workflow-map.d.ts +2 -3767
- package/dist/workflows/workflow-map.d.ts.map +1 -1
- package/package.json +12 -11
package/dist/utils.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ export declare const detectAISDKVersion: (projectPath: string) => Promise<"v1" |
|
|
|
65
65
|
export declare const createModelInstance: (provider: string, modelId: string, version?: "v1" | "v2") => Promise<MastraLanguageModel | null>;
|
|
66
66
|
export declare const resolveModel: ({ runtimeContext, defaultModel, projectPath, }: {
|
|
67
67
|
runtimeContext: RuntimeContext;
|
|
68
|
-
defaultModel?: MastraLanguageModel;
|
|
68
|
+
defaultModel?: MastraLanguageModel | string;
|
|
69
69
|
projectPath?: string;
|
|
70
70
|
}) => Promise<MastraLanguageModel>;
|
|
71
71
|
//# sourceMappingURL=utils.d.ts.map
|
package/dist/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,QAAQ,IAAI,cAAc,EAAsB,MAAM,eAAe,CAAC;AACnG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,QAAQ,IAAI,cAAc,EAAsB,MAAM,eAAe,CAAC;AACnG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAMlD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,eAAO,MAAM,IAAI,iCAAwB,CAAC;AAC1C,eAAO,MAAM,QAAQ,qCAA4B,CAAC;AA0DlD,wBAAgB,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,GAAG,oBAiBlE;AAGD,wBAAsB,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC,CAOvD;AAED,wBAAsB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAQnE;AAGD,wBAAgB,eAAe,CAC7B,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CA6B3D;AAED,wBAAsB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAA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AAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACzC,cAAc,MAAM,KACnB,MAkDF,CAAC;AAGF,eAAO,MAAM,kBAAkB,GAAU,aAAa,MAAM,KAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CA2CjF,CAAC;AAGF,eAAO,MAAM,mBAAmB,GAC9B,UAAU,MAAM,EAChB,SAAS,MAAM,EACf,UAAS,IAAI,GAAG,IAAW,KAC1B,OAAO,CAAC,mBAAmB,GAAG,IAAI,CA6CpC,CAAC;AAGF,eAAO,MAAM,YAAY,GAAU,gDAIhC;IACD,cAAc,EAAE,cAAc,CAAC;IAC/B,YAAY,CAAC,EAAE,mBAAmB,GAAG,MAAM,CAAC;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,KAAG,OAAO,CAAC,mBAAmB,CAiC9B,CAAC"}
|
|
@@ -15,16 +15,16 @@ export declare const PlanningIterationInputSchema: z.ZodObject<{
|
|
|
15
15
|
file: string;
|
|
16
16
|
name: string;
|
|
17
17
|
description?: string | undefined;
|
|
18
|
-
steps?: string[] | undefined;
|
|
19
18
|
outputSchema?: any;
|
|
20
19
|
inputSchema?: any;
|
|
20
|
+
steps?: string[] | undefined;
|
|
21
21
|
}, {
|
|
22
22
|
file: string;
|
|
23
23
|
name: string;
|
|
24
24
|
description?: string | undefined;
|
|
25
|
-
steps?: string[] | undefined;
|
|
26
25
|
outputSchema?: any;
|
|
27
26
|
inputSchema?: any;
|
|
27
|
+
steps?: string[] | undefined;
|
|
28
28
|
}>, "many">;
|
|
29
29
|
projectStructure: z.ZodObject<{
|
|
30
30
|
success: z.ZodBoolean;
|
|
@@ -156,9 +156,9 @@ export declare const PlanningIterationInputSchema: z.ZodObject<{
|
|
|
156
156
|
file: string;
|
|
157
157
|
name: string;
|
|
158
158
|
description?: string | undefined;
|
|
159
|
-
steps?: string[] | undefined;
|
|
160
159
|
outputSchema?: any;
|
|
161
160
|
inputSchema?: any;
|
|
161
|
+
steps?: string[] | undefined;
|
|
162
162
|
}[];
|
|
163
163
|
projectStructure: {
|
|
164
164
|
message: string;
|
|
@@ -201,9 +201,9 @@ export declare const PlanningIterationInputSchema: z.ZodObject<{
|
|
|
201
201
|
file: string;
|
|
202
202
|
name: string;
|
|
203
203
|
description?: string | undefined;
|
|
204
|
-
steps?: string[] | undefined;
|
|
205
204
|
outputSchema?: any;
|
|
206
205
|
inputSchema?: any;
|
|
206
|
+
steps?: string[] | undefined;
|
|
207
207
|
}[];
|
|
208
208
|
projectStructure: {
|
|
209
209
|
message: string;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core").DefaultEngineType, (import("@mastra/core").Step<"planning-iteration", import("zod").ZodObject<{
|
|
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
|
+
[x: string]: any;
|
|
3
|
+
}, {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
}>, import("zod").ZodObject<{
|
|
2
6
|
action: import("zod").ZodEnum<["create", "edit"]>;
|
|
3
7
|
workflowName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4
8
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -14,16 +18,16 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
14
18
|
file: string;
|
|
15
19
|
name: string;
|
|
16
20
|
description?: string | undefined;
|
|
17
|
-
steps?: string[] | undefined;
|
|
18
21
|
outputSchema?: any;
|
|
19
22
|
inputSchema?: any;
|
|
23
|
+
steps?: string[] | undefined;
|
|
20
24
|
}, {
|
|
21
25
|
file: string;
|
|
22
26
|
name: string;
|
|
23
27
|
description?: string | undefined;
|
|
24
|
-
steps?: string[] | undefined;
|
|
25
28
|
outputSchema?: any;
|
|
26
29
|
inputSchema?: any;
|
|
30
|
+
steps?: string[] | undefined;
|
|
27
31
|
}>, "many">;
|
|
28
32
|
projectStructure: import("zod").ZodObject<{
|
|
29
33
|
success: import("zod").ZodBoolean;
|
|
@@ -155,9 +159,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
155
159
|
file: string;
|
|
156
160
|
name: string;
|
|
157
161
|
description?: string | undefined;
|
|
158
|
-
steps?: string[] | undefined;
|
|
159
162
|
outputSchema?: any;
|
|
160
163
|
inputSchema?: any;
|
|
164
|
+
steps?: string[] | undefined;
|
|
161
165
|
}[];
|
|
162
166
|
projectStructure: {
|
|
163
167
|
message: string;
|
|
@@ -200,9 +204,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
200
204
|
file: string;
|
|
201
205
|
name: string;
|
|
202
206
|
description?: string | undefined;
|
|
203
|
-
steps?: string[] | undefined;
|
|
204
207
|
outputSchema?: any;
|
|
205
208
|
inputSchema?: any;
|
|
209
|
+
steps?: string[] | undefined;
|
|
206
210
|
}[];
|
|
207
211
|
projectStructure: {
|
|
208
212
|
message: string;
|
|
@@ -446,7 +450,11 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
446
450
|
}[];
|
|
447
451
|
reasoning: string;
|
|
448
452
|
};
|
|
449
|
-
}>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"task-approval", import("zod").ZodObject<{
|
|
453
|
+
}>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").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<{
|
|
450
458
|
success: import("zod").ZodBoolean;
|
|
451
459
|
tasks: import("zod").ZodArray<import("zod").ZodObject<{
|
|
452
460
|
id: import("zod").ZodString;
|
|
@@ -647,7 +655,11 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
647
655
|
status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
|
|
648
656
|
dependencies?: string[] | undefined;
|
|
649
657
|
}[];
|
|
650
|
-
}>, import("@mastra/core").DefaultEngineType>)[], "planning-and-approval", import("zod").ZodObject<{
|
|
658
|
+
}>, import("@mastra/core").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<{
|
|
651
663
|
action: import("zod").ZodEnum<["create", "edit"]>;
|
|
652
664
|
workflowName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
653
665
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -663,16 +675,16 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
663
675
|
file: string;
|
|
664
676
|
name: string;
|
|
665
677
|
description?: string | undefined;
|
|
666
|
-
steps?: string[] | undefined;
|
|
667
678
|
outputSchema?: any;
|
|
668
679
|
inputSchema?: any;
|
|
680
|
+
steps?: string[] | undefined;
|
|
669
681
|
}, {
|
|
670
682
|
file: string;
|
|
671
683
|
name: string;
|
|
672
684
|
description?: string | undefined;
|
|
673
|
-
steps?: string[] | undefined;
|
|
674
685
|
outputSchema?: any;
|
|
675
686
|
inputSchema?: any;
|
|
687
|
+
steps?: string[] | undefined;
|
|
676
688
|
}>, "many">;
|
|
677
689
|
projectStructure: import("zod").ZodObject<{
|
|
678
690
|
success: import("zod").ZodBoolean;
|
|
@@ -804,9 +816,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
804
816
|
file: string;
|
|
805
817
|
name: string;
|
|
806
818
|
description?: string | undefined;
|
|
807
|
-
steps?: string[] | undefined;
|
|
808
819
|
outputSchema?: any;
|
|
809
820
|
inputSchema?: any;
|
|
821
|
+
steps?: string[] | undefined;
|
|
810
822
|
}[];
|
|
811
823
|
projectStructure: {
|
|
812
824
|
message: string;
|
|
@@ -849,9 +861,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
|
|
|
849
861
|
file: string;
|
|
850
862
|
name: string;
|
|
851
863
|
description?: string | undefined;
|
|
852
|
-
steps?: string[] | undefined;
|
|
853
864
|
outputSchema?: any;
|
|
854
865
|
inputSchema?: any;
|
|
866
|
+
steps?: string[] | undefined;
|
|
855
867
|
}[];
|
|
856
868
|
projectStructure: {
|
|
857
869
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-planning.d.ts","sourceRoot":"","sources":["../../../src/workflows/task-planning/task-planning.ts"],"names":[],"mappings":"AA0PA,eAAO,MAAM,2BAA2B
|
|
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"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core").DefaultEngineType, (import("@mastra/core").Step<"clone-template", z.ZodObject<{
|
|
2
|
+
export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core").DefaultEngineType, (import("@mastra/core").Step<"clone-template", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
}, {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
}>, z.ZodObject<{
|
|
3
7
|
repo: z.ZodString;
|
|
4
8
|
ref: z.ZodOptional<z.ZodString>;
|
|
5
9
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -38,7 +42,11 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
|
|
|
38
42
|
targetPath?: string | undefined;
|
|
39
43
|
success?: boolean | undefined;
|
|
40
44
|
error?: string | undefined;
|
|
41
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"analyze-package", z.ZodObject<{
|
|
45
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"analyze-package", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
46
|
+
[x: string]: any;
|
|
47
|
+
}, {
|
|
48
|
+
[x: string]: any;
|
|
49
|
+
}>, z.ZodObject<{
|
|
42
50
|
templateDir: z.ZodString;
|
|
43
51
|
commitSha: z.ZodString;
|
|
44
52
|
slug: z.ZodString;
|
|
@@ -89,7 +97,11 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
|
|
|
89
97
|
devDependencies?: Record<string, string> | undefined;
|
|
90
98
|
peerDependencies?: Record<string, string> | undefined;
|
|
91
99
|
scripts?: Record<string, string> | undefined;
|
|
92
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"discover-units", z.ZodObject<{
|
|
100
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"discover-units", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
101
|
+
[x: string]: any;
|
|
102
|
+
}, {
|
|
103
|
+
[x: string]: any;
|
|
104
|
+
}>, z.ZodObject<{
|
|
93
105
|
templateDir: z.ZodString;
|
|
94
106
|
commitSha: z.ZodString;
|
|
95
107
|
slug: z.ZodString;
|
|
@@ -142,7 +154,11 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
|
|
|
142
154
|
}[];
|
|
143
155
|
success?: boolean | undefined;
|
|
144
156
|
error?: string | undefined;
|
|
145
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"order-units", z.ZodObject<{
|
|
157
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"order-units", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
158
|
+
[x: string]: any;
|
|
159
|
+
}, {
|
|
160
|
+
[x: string]: any;
|
|
161
|
+
}>, z.ZodObject<{
|
|
146
162
|
units: z.ZodArray<z.ZodObject<{
|
|
147
163
|
kind: z.ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
|
|
148
164
|
id: z.ZodString;
|
|
@@ -206,7 +222,11 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
|
|
|
206
222
|
}[];
|
|
207
223
|
success?: boolean | undefined;
|
|
208
224
|
error?: string | undefined;
|
|
209
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"package-merge", z.ZodObject<{
|
|
225
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"package-merge", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
226
|
+
[x: string]: any;
|
|
227
|
+
}, {
|
|
228
|
+
[x: string]: any;
|
|
229
|
+
}>, z.ZodObject<{
|
|
210
230
|
commitSha: z.ZodString;
|
|
211
231
|
slug: z.ZodString;
|
|
212
232
|
targetPath: z.ZodOptional<z.ZodString>;
|
|
@@ -286,7 +306,11 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
|
|
|
286
306
|
success: boolean;
|
|
287
307
|
applied: boolean;
|
|
288
308
|
error?: string | undefined;
|
|
289
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"install", z.ZodObject<{
|
|
309
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"install", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
310
|
+
[x: string]: any;
|
|
311
|
+
}, {
|
|
312
|
+
[x: string]: any;
|
|
313
|
+
}>, z.ZodObject<{
|
|
290
314
|
targetPath: z.ZodString;
|
|
291
315
|
}, "strip", z.ZodTypeAny, {
|
|
292
316
|
targetPath: string;
|
|
@@ -301,7 +325,11 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
|
|
|
301
325
|
}, {
|
|
302
326
|
success: boolean;
|
|
303
327
|
error?: string | undefined;
|
|
304
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"programmatic-file-copy", z.ZodObject<{
|
|
328
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"programmatic-file-copy", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
329
|
+
[x: string]: any;
|
|
330
|
+
}, {
|
|
331
|
+
[x: string]: any;
|
|
332
|
+
}>, z.ZodObject<{
|
|
305
333
|
orderedUnits: z.ZodArray<z.ZodObject<{
|
|
306
334
|
kind: z.ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
|
|
307
335
|
id: z.ZodString;
|
|
@@ -447,7 +475,11 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
|
|
|
447
475
|
targetFile: string;
|
|
448
476
|
}[];
|
|
449
477
|
error?: string | undefined;
|
|
450
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"intelligent-merge", z.ZodObject<{
|
|
478
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"intelligent-merge", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
479
|
+
[x: string]: any;
|
|
480
|
+
}, {
|
|
481
|
+
[x: string]: any;
|
|
482
|
+
}>, z.ZodObject<{
|
|
451
483
|
conflicts: z.ZodArray<z.ZodObject<{
|
|
452
484
|
unit: z.ZodObject<{
|
|
453
485
|
kind: z.ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
|
|
@@ -617,7 +649,11 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
|
|
|
617
649
|
resolution: string;
|
|
618
650
|
}[];
|
|
619
651
|
error?: string | undefined;
|
|
620
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"validation-and-fix", z.ZodObject<{
|
|
652
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"validation-and-fix", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
653
|
+
[x: string]: any;
|
|
654
|
+
}, {
|
|
655
|
+
[x: string]: any;
|
|
656
|
+
}>, z.ZodObject<{
|
|
621
657
|
commitSha: z.ZodString;
|
|
622
658
|
slug: z.ZodString;
|
|
623
659
|
targetPath: z.ZodOptional<z.ZodString>;
|
|
@@ -789,7 +825,11 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
|
|
|
789
825
|
errors?: any[] | undefined;
|
|
790
826
|
};
|
|
791
827
|
error?: string | undefined;
|
|
792
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType>)[], "agent-builder-template", z.ZodObject<{
|
|
828
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType>)[], "agent-builder-template", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
829
|
+
[x: string]: any;
|
|
830
|
+
}, {
|
|
831
|
+
[x: string]: any;
|
|
832
|
+
}>, z.ZodObject<{
|
|
793
833
|
repo: z.ZodString;
|
|
794
834
|
ref: z.ZodOptional<z.ZodString>;
|
|
795
835
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1052,7 +1092,29 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
|
|
|
1052
1092
|
validationSuccess?: boolean | undefined;
|
|
1053
1093
|
} | undefined;
|
|
1054
1094
|
}>>;
|
|
1055
|
-
export declare function mergeTemplateBySlug(slug: string, targetPath?: string): Promise<import("@mastra/core").WorkflowResult<z.ZodObject<{
|
|
1095
|
+
export declare function mergeTemplateBySlug(slug: string, targetPath?: string): Promise<import("@mastra/core").WorkflowResult<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1096
|
+
[x: string]: any;
|
|
1097
|
+
}, {
|
|
1098
|
+
[x: string]: any;
|
|
1099
|
+
}>, z.ZodObject<{
|
|
1100
|
+
repo: z.ZodString;
|
|
1101
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1103
|
+
targetPath: z.ZodOptional<z.ZodString>;
|
|
1104
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1105
|
+
}, "strip", z.ZodTypeAny, {
|
|
1106
|
+
repo: string;
|
|
1107
|
+
slug?: string | undefined;
|
|
1108
|
+
ref?: string | undefined;
|
|
1109
|
+
targetPath?: string | undefined;
|
|
1110
|
+
variables?: Record<string, string> | undefined;
|
|
1111
|
+
}, {
|
|
1112
|
+
repo: string;
|
|
1113
|
+
slug?: string | undefined;
|
|
1114
|
+
ref?: string | undefined;
|
|
1115
|
+
targetPath?: string | undefined;
|
|
1116
|
+
variables?: Record<string, string> | undefined;
|
|
1117
|
+
}>, z.ZodObject<{
|
|
1056
1118
|
success: z.ZodBoolean;
|
|
1057
1119
|
applied: z.ZodBoolean;
|
|
1058
1120
|
branchName: z.ZodOptional<z.ZodString>;
|
|
@@ -1174,7 +1236,11 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
|
|
|
1174
1236
|
mergeSuccess?: boolean | undefined;
|
|
1175
1237
|
validationSuccess?: boolean | undefined;
|
|
1176
1238
|
} | undefined;
|
|
1177
|
-
}>, (import("@mastra/core").Step<"clone-template", z.ZodObject<{
|
|
1239
|
+
}>, (import("@mastra/core").Step<"clone-template", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1240
|
+
[x: string]: any;
|
|
1241
|
+
}, {
|
|
1242
|
+
[x: string]: any;
|
|
1243
|
+
}>, z.ZodObject<{
|
|
1178
1244
|
repo: z.ZodString;
|
|
1179
1245
|
ref: z.ZodOptional<z.ZodString>;
|
|
1180
1246
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1213,7 +1279,11 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
|
|
|
1213
1279
|
targetPath?: string | undefined;
|
|
1214
1280
|
success?: boolean | undefined;
|
|
1215
1281
|
error?: string | undefined;
|
|
1216
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"analyze-package", z.ZodObject<{
|
|
1282
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"analyze-package", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1283
|
+
[x: string]: any;
|
|
1284
|
+
}, {
|
|
1285
|
+
[x: string]: any;
|
|
1286
|
+
}>, z.ZodObject<{
|
|
1217
1287
|
templateDir: z.ZodString;
|
|
1218
1288
|
commitSha: z.ZodString;
|
|
1219
1289
|
slug: z.ZodString;
|
|
@@ -1264,7 +1334,11 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
|
|
|
1264
1334
|
devDependencies?: Record<string, string> | undefined;
|
|
1265
1335
|
peerDependencies?: Record<string, string> | undefined;
|
|
1266
1336
|
scripts?: Record<string, string> | undefined;
|
|
1267
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"discover-units", z.ZodObject<{
|
|
1337
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"discover-units", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1338
|
+
[x: string]: any;
|
|
1339
|
+
}, {
|
|
1340
|
+
[x: string]: any;
|
|
1341
|
+
}>, z.ZodObject<{
|
|
1268
1342
|
templateDir: z.ZodString;
|
|
1269
1343
|
commitSha: z.ZodString;
|
|
1270
1344
|
slug: z.ZodString;
|
|
@@ -1317,7 +1391,11 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
|
|
|
1317
1391
|
}[];
|
|
1318
1392
|
success?: boolean | undefined;
|
|
1319
1393
|
error?: string | undefined;
|
|
1320
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"order-units", z.ZodObject<{
|
|
1394
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"order-units", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1395
|
+
[x: string]: any;
|
|
1396
|
+
}, {
|
|
1397
|
+
[x: string]: any;
|
|
1398
|
+
}>, z.ZodObject<{
|
|
1321
1399
|
units: z.ZodArray<z.ZodObject<{
|
|
1322
1400
|
kind: z.ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
|
|
1323
1401
|
id: z.ZodString;
|
|
@@ -1381,7 +1459,11 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
|
|
|
1381
1459
|
}[];
|
|
1382
1460
|
success?: boolean | undefined;
|
|
1383
1461
|
error?: string | undefined;
|
|
1384
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"package-merge", z.ZodObject<{
|
|
1462
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"package-merge", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1463
|
+
[x: string]: any;
|
|
1464
|
+
}, {
|
|
1465
|
+
[x: string]: any;
|
|
1466
|
+
}>, z.ZodObject<{
|
|
1385
1467
|
commitSha: z.ZodString;
|
|
1386
1468
|
slug: z.ZodString;
|
|
1387
1469
|
targetPath: z.ZodOptional<z.ZodString>;
|
|
@@ -1461,7 +1543,11 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
|
|
|
1461
1543
|
success: boolean;
|
|
1462
1544
|
applied: boolean;
|
|
1463
1545
|
error?: string | undefined;
|
|
1464
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"install", z.ZodObject<{
|
|
1546
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"install", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1547
|
+
[x: string]: any;
|
|
1548
|
+
}, {
|
|
1549
|
+
[x: string]: any;
|
|
1550
|
+
}>, z.ZodObject<{
|
|
1465
1551
|
targetPath: z.ZodString;
|
|
1466
1552
|
}, "strip", z.ZodTypeAny, {
|
|
1467
1553
|
targetPath: string;
|
|
@@ -1476,7 +1562,11 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
|
|
|
1476
1562
|
}, {
|
|
1477
1563
|
success: boolean;
|
|
1478
1564
|
error?: string | undefined;
|
|
1479
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"programmatic-file-copy", z.ZodObject<{
|
|
1565
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"programmatic-file-copy", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1566
|
+
[x: string]: any;
|
|
1567
|
+
}, {
|
|
1568
|
+
[x: string]: any;
|
|
1569
|
+
}>, z.ZodObject<{
|
|
1480
1570
|
orderedUnits: z.ZodArray<z.ZodObject<{
|
|
1481
1571
|
kind: z.ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
|
|
1482
1572
|
id: z.ZodString;
|
|
@@ -1622,7 +1712,11 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
|
|
|
1622
1712
|
targetFile: string;
|
|
1623
1713
|
}[];
|
|
1624
1714
|
error?: string | undefined;
|
|
1625
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"intelligent-merge", z.ZodObject<{
|
|
1715
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"intelligent-merge", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1716
|
+
[x: string]: any;
|
|
1717
|
+
}, {
|
|
1718
|
+
[x: string]: any;
|
|
1719
|
+
}>, z.ZodObject<{
|
|
1626
1720
|
conflicts: z.ZodArray<z.ZodObject<{
|
|
1627
1721
|
unit: z.ZodObject<{
|
|
1628
1722
|
kind: z.ZodEnum<["mcp-server", "tool", "workflow", "agent", "integration", "network", "other"]>;
|
|
@@ -1792,7 +1886,11 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
|
|
|
1792
1886
|
resolution: string;
|
|
1793
1887
|
}[];
|
|
1794
1888
|
error?: string | undefined;
|
|
1795
|
-
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"validation-and-fix", z.ZodObject<{
|
|
1889
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("@mastra/core").DefaultEngineType> | import("@mastra/core").Step<"validation-and-fix", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1890
|
+
[x: string]: any;
|
|
1891
|
+
}, {
|
|
1892
|
+
[x: string]: any;
|
|
1893
|
+
}>, z.ZodObject<{
|
|
1796
1894
|
commitSha: z.ZodString;
|
|
1797
1895
|
slug: z.ZodString;
|
|
1798
1896
|
targetPath: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-builder.d.ts","sourceRoot":"","sources":["../../../src/workflows/template-builder/template-builder.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"template-builder.d.ts","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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yHAU1E"}
|
|
@@ -29,16 +29,16 @@ export declare const DiscoveredWorkflowSchema: z.ZodObject<{
|
|
|
29
29
|
file: string;
|
|
30
30
|
name: string;
|
|
31
31
|
description?: string | undefined;
|
|
32
|
-
steps?: string[] | undefined;
|
|
33
32
|
outputSchema?: any;
|
|
34
33
|
inputSchema?: any;
|
|
34
|
+
steps?: string[] | undefined;
|
|
35
35
|
}, {
|
|
36
36
|
file: string;
|
|
37
37
|
name: string;
|
|
38
38
|
description?: string | undefined;
|
|
39
|
-
steps?: string[] | undefined;
|
|
40
39
|
outputSchema?: any;
|
|
41
40
|
inputSchema?: any;
|
|
41
|
+
steps?: string[] | undefined;
|
|
42
42
|
}>;
|
|
43
43
|
export declare const WorkflowDiscoveryResultSchema: z.ZodObject<{
|
|
44
44
|
success: z.ZodBoolean;
|
|
@@ -53,16 +53,16 @@ export declare const WorkflowDiscoveryResultSchema: z.ZodObject<{
|
|
|
53
53
|
file: string;
|
|
54
54
|
name: string;
|
|
55
55
|
description?: string | undefined;
|
|
56
|
-
steps?: string[] | undefined;
|
|
57
56
|
outputSchema?: any;
|
|
58
57
|
inputSchema?: any;
|
|
58
|
+
steps?: string[] | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
file: string;
|
|
61
61
|
name: string;
|
|
62
62
|
description?: string | undefined;
|
|
63
|
-
steps?: string[] | undefined;
|
|
64
63
|
outputSchema?: any;
|
|
65
64
|
inputSchema?: any;
|
|
65
|
+
steps?: string[] | undefined;
|
|
66
66
|
}>, "many">;
|
|
67
67
|
mastraIndexExists: z.ZodBoolean;
|
|
68
68
|
message: z.ZodString;
|
|
@@ -74,9 +74,9 @@ export declare const WorkflowDiscoveryResultSchema: z.ZodObject<{
|
|
|
74
74
|
file: string;
|
|
75
75
|
name: string;
|
|
76
76
|
description?: string | undefined;
|
|
77
|
-
steps?: string[] | undefined;
|
|
78
77
|
outputSchema?: any;
|
|
79
78
|
inputSchema?: any;
|
|
79
|
+
steps?: string[] | undefined;
|
|
80
80
|
}[];
|
|
81
81
|
mastraIndexExists: boolean;
|
|
82
82
|
error?: string | undefined;
|
|
@@ -87,9 +87,9 @@ export declare const WorkflowDiscoveryResultSchema: z.ZodObject<{
|
|
|
87
87
|
file: string;
|
|
88
88
|
name: string;
|
|
89
89
|
description?: string | undefined;
|
|
90
|
-
steps?: string[] | undefined;
|
|
91
90
|
outputSchema?: any;
|
|
92
91
|
inputSchema?: any;
|
|
92
|
+
steps?: string[] | undefined;
|
|
93
93
|
}[];
|
|
94
94
|
mastraIndexExists: boolean;
|
|
95
95
|
error?: string | undefined;
|
|
@@ -509,16 +509,16 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
509
509
|
file: string;
|
|
510
510
|
name: string;
|
|
511
511
|
description?: string | undefined;
|
|
512
|
-
steps?: string[] | undefined;
|
|
513
512
|
outputSchema?: any;
|
|
514
513
|
inputSchema?: any;
|
|
514
|
+
steps?: string[] | undefined;
|
|
515
515
|
}, {
|
|
516
516
|
file: string;
|
|
517
517
|
name: string;
|
|
518
518
|
description?: string | undefined;
|
|
519
|
-
steps?: string[] | undefined;
|
|
520
519
|
outputSchema?: any;
|
|
521
520
|
inputSchema?: any;
|
|
521
|
+
steps?: string[] | undefined;
|
|
522
522
|
}>, "many">;
|
|
523
523
|
mastraIndexExists: z.ZodBoolean;
|
|
524
524
|
message: z.ZodString;
|
|
@@ -530,9 +530,9 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
530
530
|
file: string;
|
|
531
531
|
name: string;
|
|
532
532
|
description?: string | undefined;
|
|
533
|
-
steps?: string[] | undefined;
|
|
534
533
|
outputSchema?: any;
|
|
535
534
|
inputSchema?: any;
|
|
535
|
+
steps?: string[] | undefined;
|
|
536
536
|
}[];
|
|
537
537
|
mastraIndexExists: boolean;
|
|
538
538
|
error?: string | undefined;
|
|
@@ -543,9 +543,9 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
543
543
|
file: string;
|
|
544
544
|
name: string;
|
|
545
545
|
description?: string | undefined;
|
|
546
|
-
steps?: string[] | undefined;
|
|
547
546
|
outputSchema?: any;
|
|
548
547
|
inputSchema?: any;
|
|
548
|
+
steps?: string[] | undefined;
|
|
549
549
|
}[];
|
|
550
550
|
mastraIndexExists: boolean;
|
|
551
551
|
error?: string | undefined;
|
|
@@ -938,9 +938,9 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
938
938
|
file: string;
|
|
939
939
|
name: string;
|
|
940
940
|
description?: string | undefined;
|
|
941
|
-
steps?: string[] | undefined;
|
|
942
941
|
outputSchema?: any;
|
|
943
942
|
inputSchema?: any;
|
|
943
|
+
steps?: string[] | undefined;
|
|
944
944
|
}[];
|
|
945
945
|
mastraIndexExists: boolean;
|
|
946
946
|
error?: string | undefined;
|
|
@@ -1048,9 +1048,9 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
|
|
|
1048
1048
|
file: string;
|
|
1049
1049
|
name: string;
|
|
1050
1050
|
description?: string | undefined;
|
|
1051
|
-
steps?: string[] | undefined;
|
|
1052
1051
|
outputSchema?: any;
|
|
1053
1052
|
inputSchema?: any;
|
|
1053
|
+
steps?: string[] | undefined;
|
|
1054
1054
|
}[];
|
|
1055
1055
|
mastraIndexExists: boolean;
|
|
1056
1056
|
error?: string | undefined;
|
|
@@ -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
|
-
}>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
|
|
106
|
+
}>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
|
|
107
107
|
action: z.ZodEnum<["list", "update", "complete"]>;
|
|
108
108
|
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
109
109
|
id: z.ZodString;
|
|
@@ -150,7 +150,7 @@ export declare const restrictedTaskManager: import("@mastra/core/tools").Tool<z.
|
|
|
150
150
|
notes?: string | undefined;
|
|
151
151
|
}[] | undefined;
|
|
152
152
|
taskId?: string | undefined;
|
|
153
|
-
}
|
|
153
|
+
}>, any, any>> & {
|
|
154
154
|
inputSchema: z.ZodObject<{
|
|
155
155
|
action: z.ZodEnum<["list", "update", "complete"]>;
|
|
156
156
|
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -304,6 +304,6 @@ export declare const restrictedTaskManager: import("@mastra/core/tools").Tool<z.
|
|
|
304
304
|
notes?: string | undefined;
|
|
305
305
|
}[] | undefined;
|
|
306
306
|
taskId?: string | undefined;
|
|
307
|
-
}
|
|
307
|
+
}>, any, any>, options: import("@mastra/core").ToolInvocationOptions) => Promise<any>;
|
|
308
308
|
};
|
|
309
309
|
//# sourceMappingURL=tools.d.ts.map
|