@mastra/agent-builder 1.0.0-beta.9 → 1.0.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +294 -0
- package/dist/agent/index.d.ts +17 -5
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/{chunk-2CIPVDK5.js → chunk-2XSP7TVS.js} +5 -5
- package/dist/chunk-2XSP7TVS.js.map +1 -0
- package/dist/{chunk-E53QBCQN.js → chunk-RQJR2QYC.js} +3 -3
- package/dist/chunk-RQJR2QYC.js.map +1 -0
- package/dist/defaults.d.ts +56 -2203
- package/dist/defaults.d.ts.map +1 -1
- package/dist/index.js +25 -22
- package/dist/index.js.map +1 -1
- package/dist/{token-6GSAFR2W-KVDFAJ2M.js → token-6GSAFR2W-F2L44NEJ.js} +5 -5
- package/dist/token-6GSAFR2W-F2L44NEJ.js.map +1 -0
- package/dist/token-util-NEHG7TUY-4YJ4EPCL.js +9 -0
- package/dist/{token-util-NEHG7TUY-DJYRKLRD.js.map → token-util-NEHG7TUY-4YJ4EPCL.js.map} +1 -1
- package/dist/workflows/task-planning/task-planning.d.ts +20 -814
- package/dist/workflows/task-planning/task-planning.d.ts.map +1 -1
- package/dist/workflows/template-builder/template-builder.d.ts +65 -1648
- package/dist/workflows/template-builder/template-builder.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/tools.d.ts +3 -227
- package/dist/workflows/workflow-builder/tools.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/workflow-builder.d.ts +239 -2430
- package/dist/workflows/workflow-builder/workflow-builder.d.ts.map +1 -1
- package/package.json +11 -11
- package/dist/chunk-2CIPVDK5.js.map +0 -1
- package/dist/chunk-E53QBCQN.js.map +0 -1
- package/dist/token-6GSAFR2W-KVDFAJ2M.js.map +0 -1
- package/dist/token-util-NEHG7TUY-DJYRKLRD.js +0 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-builder.d.ts","sourceRoot":"","sources":["../../../src/workflows/template-builder/template-builder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"template-builder.d.ts","sourceRoot":"","sources":["../../../src/workflows/template-builder/template-builder.ts"],"names":[],"mappings":"AAsiDA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA0N9B,CAAC;AAGZ,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uFAU1E"}
|
|
@@ -1,30 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const restrictedTaskManager: import("@mastra/core/tools").Tool<z.ZodObject<{
|
|
3
|
-
action: z.ZodEnum<["list", "update", "complete"]>;
|
|
4
|
-
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5
|
-
id: z.ZodString;
|
|
6
|
-
content: z.ZodOptional<z.ZodString>;
|
|
7
|
-
status: z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>;
|
|
8
|
-
priority: z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>;
|
|
9
|
-
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
13
|
-
id: string;
|
|
14
|
-
dependencies?: string[] | undefined;
|
|
15
|
-
content?: string | undefined;
|
|
16
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
17
|
-
notes?: string | undefined;
|
|
18
|
-
}, {
|
|
19
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
20
|
-
id: string;
|
|
21
|
-
dependencies?: string[] | undefined;
|
|
22
|
-
content?: string | undefined;
|
|
23
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
24
|
-
notes?: string | undefined;
|
|
25
|
-
}>, "many">>;
|
|
26
|
-
taskId: z.ZodOptional<z.ZodString>;
|
|
27
|
-
}, "strip", z.ZodTypeAny, {
|
|
1
|
+
export declare const restrictedTaskManager: import("@mastra/core/tools").Tool<{
|
|
28
2
|
action: "update" | "list" | "complete";
|
|
29
3
|
tasks?: {
|
|
30
4
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
@@ -36,206 +10,8 @@ export declare const restrictedTaskManager: import("@mastra/core/tools").Tool<z.
|
|
|
36
10
|
}[] | undefined;
|
|
37
11
|
taskId?: string | undefined;
|
|
38
12
|
}, {
|
|
39
|
-
action: "update" | "list" | "complete";
|
|
40
|
-
tasks?: {
|
|
41
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
42
|
-
id: string;
|
|
43
|
-
dependencies?: string[] | undefined;
|
|
44
|
-
content?: string | undefined;
|
|
45
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
46
|
-
notes?: string | undefined;
|
|
47
|
-
}[] | undefined;
|
|
48
|
-
taskId?: string | undefined;
|
|
49
|
-
}>, z.ZodObject<{
|
|
50
|
-
success: z.ZodBoolean;
|
|
51
|
-
tasks: z.ZodArray<z.ZodObject<{
|
|
52
|
-
id: z.ZodString;
|
|
53
|
-
content: z.ZodString;
|
|
54
|
-
status: z.ZodString;
|
|
55
|
-
priority: z.ZodString;
|
|
56
|
-
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
57
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
58
|
-
createdAt: z.ZodString;
|
|
59
|
-
updatedAt: z.ZodString;
|
|
60
|
-
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
status: string;
|
|
62
|
-
id: string;
|
|
63
|
-
content: string;
|
|
64
|
-
priority: string;
|
|
65
|
-
createdAt: string;
|
|
66
|
-
updatedAt: string;
|
|
67
|
-
dependencies?: string[] | undefined;
|
|
68
|
-
notes?: string | undefined;
|
|
69
|
-
}, {
|
|
70
|
-
status: string;
|
|
71
|
-
id: string;
|
|
72
|
-
content: string;
|
|
73
|
-
priority: string;
|
|
74
|
-
createdAt: string;
|
|
75
|
-
updatedAt: string;
|
|
76
|
-
dependencies?: string[] | undefined;
|
|
77
|
-
notes?: string | undefined;
|
|
78
|
-
}>, "many">;
|
|
79
|
-
message: z.ZodString;
|
|
80
|
-
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
message: string;
|
|
82
13
|
success: boolean;
|
|
83
|
-
tasks:
|
|
84
|
-
status: string;
|
|
85
|
-
id: string;
|
|
86
|
-
content: string;
|
|
87
|
-
priority: string;
|
|
88
|
-
createdAt: string;
|
|
89
|
-
updatedAt: string;
|
|
90
|
-
dependencies?: string[] | undefined;
|
|
91
|
-
notes?: string | undefined;
|
|
92
|
-
}[];
|
|
93
|
-
}, {
|
|
14
|
+
tasks: any[];
|
|
94
15
|
message: string;
|
|
95
|
-
|
|
96
|
-
tasks: {
|
|
97
|
-
status: string;
|
|
98
|
-
id: string;
|
|
99
|
-
content: string;
|
|
100
|
-
priority: string;
|
|
101
|
-
createdAt: string;
|
|
102
|
-
updatedAt: string;
|
|
103
|
-
dependencies?: string[] | undefined;
|
|
104
|
-
notes?: string | undefined;
|
|
105
|
-
}[];
|
|
106
|
-
}>, any, any, import("@mastra/core/tools").ToolExecutionContext<any, any>, "task-manager"> & {
|
|
107
|
-
inputSchema: z.ZodObject<{
|
|
108
|
-
action: z.ZodEnum<["list", "update", "complete"]>;
|
|
109
|
-
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110
|
-
id: z.ZodString;
|
|
111
|
-
content: z.ZodOptional<z.ZodString>;
|
|
112
|
-
status: z.ZodEnum<["pending", "in_progress", "completed", "blocked"]>;
|
|
113
|
-
priority: z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>;
|
|
114
|
-
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
115
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
116
|
-
}, "strip", z.ZodTypeAny, {
|
|
117
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
118
|
-
id: string;
|
|
119
|
-
dependencies?: string[] | undefined;
|
|
120
|
-
content?: string | undefined;
|
|
121
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
122
|
-
notes?: string | undefined;
|
|
123
|
-
}, {
|
|
124
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
125
|
-
id: string;
|
|
126
|
-
dependencies?: string[] | undefined;
|
|
127
|
-
content?: string | undefined;
|
|
128
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
129
|
-
notes?: string | undefined;
|
|
130
|
-
}>, "many">>;
|
|
131
|
-
taskId: z.ZodOptional<z.ZodString>;
|
|
132
|
-
}, "strip", z.ZodTypeAny, {
|
|
133
|
-
action: "update" | "list" | "complete";
|
|
134
|
-
tasks?: {
|
|
135
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
136
|
-
id: string;
|
|
137
|
-
dependencies?: string[] | undefined;
|
|
138
|
-
content?: string | undefined;
|
|
139
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
140
|
-
notes?: string | undefined;
|
|
141
|
-
}[] | undefined;
|
|
142
|
-
taskId?: string | undefined;
|
|
143
|
-
}, {
|
|
144
|
-
action: "update" | "list" | "complete";
|
|
145
|
-
tasks?: {
|
|
146
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
147
|
-
id: string;
|
|
148
|
-
dependencies?: string[] | undefined;
|
|
149
|
-
content?: string | undefined;
|
|
150
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
151
|
-
notes?: string | undefined;
|
|
152
|
-
}[] | undefined;
|
|
153
|
-
taskId?: string | undefined;
|
|
154
|
-
}>;
|
|
155
|
-
outputSchema: z.ZodObject<{
|
|
156
|
-
success: z.ZodBoolean;
|
|
157
|
-
tasks: z.ZodArray<z.ZodObject<{
|
|
158
|
-
id: z.ZodString;
|
|
159
|
-
content: z.ZodString;
|
|
160
|
-
status: z.ZodString;
|
|
161
|
-
priority: z.ZodString;
|
|
162
|
-
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
163
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
164
|
-
createdAt: z.ZodString;
|
|
165
|
-
updatedAt: z.ZodString;
|
|
166
|
-
}, "strip", z.ZodTypeAny, {
|
|
167
|
-
status: string;
|
|
168
|
-
id: string;
|
|
169
|
-
content: string;
|
|
170
|
-
priority: string;
|
|
171
|
-
createdAt: string;
|
|
172
|
-
updatedAt: string;
|
|
173
|
-
dependencies?: string[] | undefined;
|
|
174
|
-
notes?: string | undefined;
|
|
175
|
-
}, {
|
|
176
|
-
status: string;
|
|
177
|
-
id: string;
|
|
178
|
-
content: string;
|
|
179
|
-
priority: string;
|
|
180
|
-
createdAt: string;
|
|
181
|
-
updatedAt: string;
|
|
182
|
-
dependencies?: string[] | undefined;
|
|
183
|
-
notes?: string | undefined;
|
|
184
|
-
}>, "many">;
|
|
185
|
-
message: z.ZodString;
|
|
186
|
-
}, "strip", z.ZodTypeAny, {
|
|
187
|
-
message: string;
|
|
188
|
-
success: boolean;
|
|
189
|
-
tasks: {
|
|
190
|
-
status: string;
|
|
191
|
-
id: string;
|
|
192
|
-
content: string;
|
|
193
|
-
priority: string;
|
|
194
|
-
createdAt: string;
|
|
195
|
-
updatedAt: string;
|
|
196
|
-
dependencies?: string[] | undefined;
|
|
197
|
-
notes?: string | undefined;
|
|
198
|
-
}[];
|
|
199
|
-
}, {
|
|
200
|
-
message: string;
|
|
201
|
-
success: boolean;
|
|
202
|
-
tasks: {
|
|
203
|
-
status: string;
|
|
204
|
-
id: string;
|
|
205
|
-
content: string;
|
|
206
|
-
priority: string;
|
|
207
|
-
createdAt: string;
|
|
208
|
-
updatedAt: string;
|
|
209
|
-
dependencies?: string[] | undefined;
|
|
210
|
-
notes?: string | undefined;
|
|
211
|
-
}[];
|
|
212
|
-
}>;
|
|
213
|
-
execute: (inputData: {
|
|
214
|
-
action: "update" | "list" | "complete";
|
|
215
|
-
tasks?: {
|
|
216
|
-
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
217
|
-
id: string;
|
|
218
|
-
dependencies?: string[] | undefined;
|
|
219
|
-
content?: string | undefined;
|
|
220
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
221
|
-
notes?: string | undefined;
|
|
222
|
-
}[] | undefined;
|
|
223
|
-
taskId?: string | undefined;
|
|
224
|
-
}, context?: import("@mastra/core/tools").ToolExecutionContext<any, any> | undefined) => Promise<{
|
|
225
|
-
message: string;
|
|
226
|
-
success: boolean;
|
|
227
|
-
tasks: {
|
|
228
|
-
status: string;
|
|
229
|
-
id: string;
|
|
230
|
-
content: string;
|
|
231
|
-
priority: string;
|
|
232
|
-
createdAt: string;
|
|
233
|
-
updatedAt: string;
|
|
234
|
-
dependencies?: string[] | undefined;
|
|
235
|
-
notes?: string | undefined;
|
|
236
|
-
}[];
|
|
237
|
-
} & {
|
|
238
|
-
error?: never;
|
|
239
|
-
}>;
|
|
240
|
-
};
|
|
16
|
+
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "task-manager", unknown>;
|
|
241
17
|
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/workflows/workflow-builder/tools.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/workflows/workflow-builder/tools.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;2HAmDhC,CAAC"}
|