@mastra/agent-builder 1.1.31 → 1.1.32-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.
@@ -1,17 +1,4 @@
1
- export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core/workflows").DefaultEngineType, (import("@mastra/core/workflows").Step<"clone-template", unknown, {
2
- repo: string;
3
- ref?: string | undefined;
4
- slug?: string | undefined;
5
- targetPath?: string | undefined;
6
- variables?: Record<string, string> | undefined;
7
- }, {
8
- templateDir: string;
9
- commitSha: string;
10
- slug: string;
11
- success?: boolean | undefined;
12
- error?: string | undefined;
13
- targetPath?: string | undefined;
14
- }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"analyze-package", unknown, {
1
+ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflows").Workflow<import("@mastra/core/workflows").DefaultEngineType, (import("@mastra/core/workflows").Step<"analyze-package", unknown, {
15
2
  templateDir: string;
16
3
  commitSha: string;
17
4
  slug: string;
@@ -28,6 +15,19 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
28
15
  scripts?: Record<string, string> | undefined;
29
16
  success?: boolean | undefined;
30
17
  error?: string | undefined;
18
+ }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"clone-template", unknown, {
19
+ repo: string;
20
+ ref?: string | undefined;
21
+ slug?: string | undefined;
22
+ targetPath?: string | undefined;
23
+ variables?: Record<string, string> | undefined;
24
+ }, {
25
+ templateDir: string;
26
+ commitSha: string;
27
+ slug: string;
28
+ success?: boolean | undefined;
29
+ error?: string | undefined;
30
+ targetPath?: string | undefined;
31
31
  }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"discover-units", unknown, {
32
32
  templateDir: string;
33
33
  commitSha: string;
@@ -37,15 +37,56 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
37
37
  targetPath?: string | undefined;
38
38
  }, {
39
39
  units: {
40
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
40
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
41
41
  id: string;
42
42
  file: string;
43
43
  }[];
44
44
  success?: boolean | undefined;
45
45
  error?: string | undefined;
46
+ }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"install", unknown, {
47
+ targetPath?: string | undefined;
48
+ }, {
49
+ success: boolean;
50
+ error?: string | undefined;
51
+ }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"intelligent-merge", unknown, {
52
+ conflicts: {
53
+ unit: {
54
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
55
+ id: string;
56
+ };
57
+ issue: string;
58
+ sourceFile: string;
59
+ targetFile: string;
60
+ }[];
61
+ copiedFiles: {
62
+ source: string;
63
+ destination: string;
64
+ unit: {
65
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
66
+ id: string;
67
+ };
68
+ }[];
69
+ templateDir: string;
70
+ commitSha: string;
71
+ slug: string;
72
+ targetPath?: string | undefined;
73
+ branchName?: string | undefined;
74
+ }, {
75
+ success: boolean;
76
+ applied: boolean;
77
+ message: string;
78
+ conflictsResolved: {
79
+ unit: {
80
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
81
+ id: string;
82
+ };
83
+ issue: string;
84
+ resolution: string;
85
+ }[];
86
+ error?: string | undefined;
46
87
  }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"order-units", unknown, {
47
88
  units: {
48
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
89
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
49
90
  id: string;
50
91
  file: string;
51
92
  }[];
@@ -53,7 +94,7 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
53
94
  error?: string | undefined;
54
95
  }, {
55
96
  orderedUnits: {
56
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
97
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
57
98
  id: string;
58
99
  file: string;
59
100
  }[];
@@ -62,6 +103,7 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
62
103
  }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"package-merge", unknown, {
63
104
  commitSha: string;
64
105
  slug: string;
106
+ targetPath?: string | undefined;
65
107
  packageInfo: {
66
108
  name?: string | undefined;
67
109
  version?: string | undefined;
@@ -73,20 +115,14 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
73
115
  success?: boolean | undefined;
74
116
  error?: string | undefined;
75
117
  };
76
- targetPath?: string | undefined;
77
118
  }, {
78
119
  success: boolean;
79
120
  applied: boolean;
80
121
  message: string;
81
122
  error?: string | undefined;
82
- }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"install", unknown, {
83
- targetPath?: string | undefined;
84
- }, {
85
- success: boolean;
86
- error?: string | undefined;
87
123
  }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"programmatic-file-copy", unknown, {
88
124
  orderedUnits: {
89
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
125
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
90
126
  id: string;
91
127
  file: string;
92
128
  }[];
@@ -101,13 +137,13 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
101
137
  source: string;
102
138
  destination: string;
103
139
  unit: {
104
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
140
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
105
141
  id: string;
106
142
  };
107
143
  }[];
108
144
  conflicts: {
109
145
  unit: {
110
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
146
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
111
147
  id: string;
112
148
  };
113
149
  issue: string;
@@ -116,48 +152,13 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
116
152
  }[];
117
153
  message: string;
118
154
  error?: string | undefined;
119
- }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"intelligent-merge", unknown, {
120
- conflicts: {
121
- unit: {
122
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
123
- id: string;
124
- };
125
- issue: string;
126
- sourceFile: string;
127
- targetFile: string;
128
- }[];
129
- copiedFiles: {
130
- source: string;
131
- destination: string;
132
- unit: {
133
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
134
- id: string;
135
- };
136
- }[];
137
- templateDir: string;
138
- commitSha: string;
139
- slug: string;
140
- targetPath?: string | undefined;
141
- branchName?: string | undefined;
142
- }, {
143
- success: boolean;
144
- applied: boolean;
145
- message: string;
146
- conflictsResolved: {
147
- unit: {
148
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
149
- id: string;
150
- };
151
- issue: string;
152
- resolution: string;
153
- }[];
154
- error?: string | undefined;
155
155
  }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"validation-and-fix", unknown, {
156
156
  commitSha: string;
157
157
  slug: string;
158
+ targetPath?: string | undefined;
158
159
  templateDir: string;
159
160
  orderedUnits: {
160
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
161
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
161
162
  id: string;
162
163
  file: string;
163
164
  }[];
@@ -165,20 +166,19 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
165
166
  source: string;
166
167
  destination: string;
167
168
  unit: {
168
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
169
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
169
170
  id: string;
170
171
  };
171
172
  }[];
172
- maxIterations: number;
173
- targetPath?: string | undefined;
174
173
  conflictsResolved?: {
175
174
  unit: {
176
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
175
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
177
176
  id: string;
178
177
  };
179
178
  issue: string;
180
179
  resolution: string;
181
180
  }[] | undefined;
181
+ maxIterations: number;
182
182
  }, {
183
183
  success: boolean;
184
184
  applied: boolean;
@@ -199,8 +199,8 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
199
199
  }, {
200
200
  success: boolean;
201
201
  applied: boolean;
202
- message: string;
203
202
  branchName?: string | undefined;
203
+ message: string;
204
204
  validationResults?: {
205
205
  valid: boolean;
206
206
  errorsFixed: number;
@@ -210,9 +210,6 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
210
210
  error?: string | undefined;
211
211
  errors?: string[] | undefined;
212
212
  stepResults?: {
213
- filesCopied: number;
214
- conflictsSkipped: number;
215
- conflictsResolved: number;
216
213
  cloneSuccess?: boolean | undefined;
217
214
  analyzeSuccess?: boolean | undefined;
218
215
  discoverSuccess?: boolean | undefined;
@@ -223,12 +220,15 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
223
220
  copySuccess?: boolean | undefined;
224
221
  mergeSuccess?: boolean | undefined;
225
222
  validationSuccess?: boolean | undefined;
223
+ filesCopied: number;
224
+ conflictsSkipped: number;
225
+ conflictsResolved: number;
226
226
  } | undefined;
227
227
  }, {
228
228
  success: boolean;
229
229
  applied: boolean;
230
- message: string;
231
230
  branchName?: string | undefined;
231
+ message: string;
232
232
  validationResults?: {
233
233
  valid: boolean;
234
234
  errorsFixed: number;
@@ -238,9 +238,6 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
238
238
  error?: string | undefined;
239
239
  errors?: string[] | undefined;
240
240
  stepResults?: {
241
- filesCopied: number;
242
- conflictsSkipped: number;
243
- conflictsResolved: number;
244
241
  cloneSuccess?: boolean | undefined;
245
242
  analyzeSuccess?: boolean | undefined;
246
243
  discoverSuccess?: boolean | undefined;
@@ -251,6 +248,9 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
251
248
  copySuccess?: boolean | undefined;
252
249
  mergeSuccess?: boolean | undefined;
253
250
  validationSuccess?: boolean | undefined;
251
+ filesCopied: number;
252
+ conflictsSkipped: number;
253
+ conflictsResolved: number;
254
254
  } | undefined;
255
255
  }, unknown>;
256
256
  export declare function mergeTemplateBySlug(slug: string, targetPath?: string): Promise<import("@mastra/core/workflows").WorkflowResult<unknown, {
@@ -262,8 +262,8 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
262
262
  }, {
263
263
  success: boolean;
264
264
  applied: boolean;
265
- message: string;
266
265
  branchName?: string | undefined;
266
+ message: string;
267
267
  validationResults?: {
268
268
  valid: boolean;
269
269
  errorsFixed: number;
@@ -273,9 +273,6 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
273
273
  error?: string | undefined;
274
274
  errors?: string[] | undefined;
275
275
  stepResults?: {
276
- filesCopied: number;
277
- conflictsSkipped: number;
278
- conflictsResolved: number;
279
276
  cloneSuccess?: boolean | undefined;
280
277
  analyzeSuccess?: boolean | undefined;
281
278
  discoverSuccess?: boolean | undefined;
@@ -286,21 +283,11 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
286
283
  copySuccess?: boolean | undefined;
287
284
  mergeSuccess?: boolean | undefined;
288
285
  validationSuccess?: boolean | undefined;
286
+ filesCopied: number;
287
+ conflictsSkipped: number;
288
+ conflictsResolved: number;
289
289
  } | undefined;
290
- }, (import("@mastra/core/workflows").Step<"clone-template", unknown, {
291
- repo: string;
292
- ref?: string | undefined;
293
- slug?: string | undefined;
294
- targetPath?: string | undefined;
295
- variables?: Record<string, string> | undefined;
296
- }, {
297
- templateDir: string;
298
- commitSha: string;
299
- slug: string;
300
- success?: boolean | undefined;
301
- error?: string | undefined;
302
- targetPath?: string | undefined;
303
- }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"analyze-package", unknown, {
290
+ }, (import("@mastra/core/workflows").Step<"analyze-package", unknown, {
304
291
  templateDir: string;
305
292
  commitSha: string;
306
293
  slug: string;
@@ -317,6 +304,19 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
317
304
  scripts?: Record<string, string> | undefined;
318
305
  success?: boolean | undefined;
319
306
  error?: string | undefined;
307
+ }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"clone-template", unknown, {
308
+ repo: string;
309
+ ref?: string | undefined;
310
+ slug?: string | undefined;
311
+ targetPath?: string | undefined;
312
+ variables?: Record<string, string> | undefined;
313
+ }, {
314
+ templateDir: string;
315
+ commitSha: string;
316
+ slug: string;
317
+ success?: boolean | undefined;
318
+ error?: string | undefined;
319
+ targetPath?: string | undefined;
320
320
  }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"discover-units", unknown, {
321
321
  templateDir: string;
322
322
  commitSha: string;
@@ -326,15 +326,56 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
326
326
  targetPath?: string | undefined;
327
327
  }, {
328
328
  units: {
329
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
329
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
330
330
  id: string;
331
331
  file: string;
332
332
  }[];
333
333
  success?: boolean | undefined;
334
334
  error?: string | undefined;
335
+ }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"install", unknown, {
336
+ targetPath?: string | undefined;
337
+ }, {
338
+ success: boolean;
339
+ error?: string | undefined;
340
+ }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"intelligent-merge", unknown, {
341
+ conflicts: {
342
+ unit: {
343
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
344
+ id: string;
345
+ };
346
+ issue: string;
347
+ sourceFile: string;
348
+ targetFile: string;
349
+ }[];
350
+ copiedFiles: {
351
+ source: string;
352
+ destination: string;
353
+ unit: {
354
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
355
+ id: string;
356
+ };
357
+ }[];
358
+ templateDir: string;
359
+ commitSha: string;
360
+ slug: string;
361
+ targetPath?: string | undefined;
362
+ branchName?: string | undefined;
363
+ }, {
364
+ success: boolean;
365
+ applied: boolean;
366
+ message: string;
367
+ conflictsResolved: {
368
+ unit: {
369
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
370
+ id: string;
371
+ };
372
+ issue: string;
373
+ resolution: string;
374
+ }[];
375
+ error?: string | undefined;
335
376
  }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"order-units", unknown, {
336
377
  units: {
337
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
378
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
338
379
  id: string;
339
380
  file: string;
340
381
  }[];
@@ -342,7 +383,7 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
342
383
  error?: string | undefined;
343
384
  }, {
344
385
  orderedUnits: {
345
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
386
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
346
387
  id: string;
347
388
  file: string;
348
389
  }[];
@@ -351,6 +392,7 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
351
392
  }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"package-merge", unknown, {
352
393
  commitSha: string;
353
394
  slug: string;
395
+ targetPath?: string | undefined;
354
396
  packageInfo: {
355
397
  name?: string | undefined;
356
398
  version?: string | undefined;
@@ -362,20 +404,14 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
362
404
  success?: boolean | undefined;
363
405
  error?: string | undefined;
364
406
  };
365
- targetPath?: string | undefined;
366
407
  }, {
367
408
  success: boolean;
368
409
  applied: boolean;
369
410
  message: string;
370
411
  error?: string | undefined;
371
- }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"install", unknown, {
372
- targetPath?: string | undefined;
373
- }, {
374
- success: boolean;
375
- error?: string | undefined;
376
412
  }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"programmatic-file-copy", unknown, {
377
413
  orderedUnits: {
378
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
414
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
379
415
  id: string;
380
416
  file: string;
381
417
  }[];
@@ -390,13 +426,13 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
390
426
  source: string;
391
427
  destination: string;
392
428
  unit: {
393
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
429
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
394
430
  id: string;
395
431
  };
396
432
  }[];
397
433
  conflicts: {
398
434
  unit: {
399
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
435
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
400
436
  id: string;
401
437
  };
402
438
  issue: string;
@@ -405,48 +441,13 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
405
441
  }[];
406
442
  message: string;
407
443
  error?: string | undefined;
408
- }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"intelligent-merge", unknown, {
409
- conflicts: {
410
- unit: {
411
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
412
- id: string;
413
- };
414
- issue: string;
415
- sourceFile: string;
416
- targetFile: string;
417
- }[];
418
- copiedFiles: {
419
- source: string;
420
- destination: string;
421
- unit: {
422
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
423
- id: string;
424
- };
425
- }[];
426
- templateDir: string;
427
- commitSha: string;
428
- slug: string;
429
- targetPath?: string | undefined;
430
- branchName?: string | undefined;
431
- }, {
432
- success: boolean;
433
- applied: boolean;
434
- message: string;
435
- conflictsResolved: {
436
- unit: {
437
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
438
- id: string;
439
- };
440
- issue: string;
441
- resolution: string;
442
- }[];
443
- error?: string | undefined;
444
444
  }, unknown, unknown, import("@mastra/core/workflows").DefaultEngineType, unknown> | import("@mastra/core/workflows").Step<"validation-and-fix", unknown, {
445
445
  commitSha: string;
446
446
  slug: string;
447
+ targetPath?: string | undefined;
447
448
  templateDir: string;
448
449
  orderedUnits: {
449
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
450
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
450
451
  id: string;
451
452
  file: string;
452
453
  }[];
@@ -454,20 +455,19 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
454
455
  source: string;
455
456
  destination: string;
456
457
  unit: {
457
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
458
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
458
459
  id: string;
459
460
  };
460
461
  }[];
461
- maxIterations: number;
462
- targetPath?: string | undefined;
463
462
  conflictsResolved?: {
464
463
  unit: {
465
- kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
464
+ kind: "agent" | "integration" | "mcp-server" | "network" | "other" | "tool" | "workflow";
466
465
  id: string;
467
466
  };
468
467
  issue: string;
469
468
  resolution: string;
470
469
  }[] | undefined;
470
+ maxIterations: number;
471
471
  }, {
472
472
  success: boolean;
473
473
  applied: boolean;
@@ -68,15 +68,15 @@ export declare const TaskManagementResultSchema: z.ZodObject<{
68
68
  id: z.ZodString;
69
69
  content: z.ZodString;
70
70
  status: z.ZodDefault<z.ZodEnum<{
71
- pending: "pending";
72
- in_progress: "in_progress";
73
- completed: "completed";
74
71
  blocked: "blocked";
72
+ completed: "completed";
73
+ in_progress: "in_progress";
74
+ pending: "pending";
75
75
  }>>;
76
76
  priority: z.ZodEnum<{
77
77
  high: "high";
78
- medium: "medium";
79
78
  low: "low";
79
+ medium: "medium";
80
80
  }>;
81
81
  dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
82
82
  notes: z.ZodString;
@@ -96,15 +96,15 @@ export declare const TaskExecutionInputSchema: z.ZodObject<{
96
96
  id: z.ZodString;
97
97
  content: z.ZodString;
98
98
  status: z.ZodDefault<z.ZodEnum<{
99
- pending: "pending";
100
- in_progress: "in_progress";
101
- completed: "completed";
102
99
  blocked: "blocked";
100
+ completed: "completed";
101
+ in_progress: "in_progress";
102
+ pending: "pending";
103
103
  }>>;
104
104
  priority: z.ZodEnum<{
105
105
  high: "high";
106
- medium: "medium";
107
106
  low: "low";
107
+ medium: "medium";
108
108
  }>;
109
109
  dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
110
110
  notes: z.ZodString;
@@ -120,8 +120,8 @@ export declare const TaskExecutionSuspendSchema: z.ZodObject<{
120
120
  question: z.ZodString;
121
121
  type: z.ZodEnum<{
122
122
  boolean: "boolean";
123
- text: "text";
124
123
  choice: "choice";
124
+ text: "text";
125
125
  }>;
126
126
  options: z.ZodOptional<z.ZodArray<z.ZodString>>;
127
127
  context: z.ZodOptional<z.ZodString>;
@@ -154,8 +154,8 @@ export declare const UserClarificationInputSchema: z.ZodObject<{
154
154
  question: z.ZodString;
155
155
  type: z.ZodEnum<{
156
156
  boolean: "boolean";
157
- text: "text";
158
157
  choice: "choice";
158
+ text: "text";
159
159
  }>;
160
160
  options: z.ZodOptional<z.ZodArray<z.ZodString>>;
161
161
  context: z.ZodOptional<z.ZodString>;
@@ -224,15 +224,15 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
224
224
  id: z.ZodString;
225
225
  content: z.ZodString;
226
226
  status: z.ZodDefault<z.ZodEnum<{
227
- pending: "pending";
228
- in_progress: "in_progress";
229
- completed: "completed";
230
227
  blocked: "blocked";
228
+ completed: "completed";
229
+ in_progress: "in_progress";
230
+ pending: "pending";
231
231
  }>>;
232
232
  priority: z.ZodEnum<{
233
233
  high: "high";
234
- medium: "medium";
235
234
  low: "low";
235
+ medium: "medium";
236
236
  }>;
237
237
  dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
238
238
  notes: z.ZodString;
@@ -242,8 +242,8 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
242
242
  question: z.ZodString;
243
243
  type: z.ZodEnum<{
244
244
  boolean: "boolean";
245
- text: "text";
246
245
  choice: "choice";
246
+ text: "text";
247
247
  }>;
248
248
  options: z.ZodOptional<z.ZodArray<z.ZodString>>;
249
249
  context: z.ZodOptional<z.ZodString>;
@@ -261,15 +261,15 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
261
261
  id: z.ZodString;
262
262
  content: z.ZodString;
263
263
  status: z.ZodDefault<z.ZodEnum<{
264
- pending: "pending";
265
- in_progress: "in_progress";
266
- completed: "completed";
267
264
  blocked: "blocked";
265
+ completed: "completed";
266
+ in_progress: "in_progress";
267
+ pending: "pending";
268
268
  }>>;
269
269
  priority: z.ZodEnum<{
270
270
  high: "high";
271
- medium: "medium";
272
271
  low: "low";
272
+ medium: "medium";
273
273
  }>;
274
274
  dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
275
275
  notes: z.ZodString;
@@ -295,8 +295,8 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
295
295
  question: z.ZodString;
296
296
  type: z.ZodEnum<{
297
297
  boolean: "boolean";
298
- text: "text";
299
298
  choice: "choice";
299
+ text: "text";
300
300
  }>;
301
301
  options: z.ZodOptional<z.ZodArray<z.ZodString>>;
302
302
  context: z.ZodOptional<z.ZodString>;
@@ -307,8 +307,8 @@ export declare const WorkflowBuilderResultSchema: z.ZodObject<{
307
307
  }, z.core.$strip>;
308
308
  export declare const TaskExecutionIterationInputSchema: (taskLength: number) => z.ZodObject<{
309
309
  status: z.ZodEnum<{
310
- in_progress: "in_progress";
311
310
  completed: "completed";
311
+ in_progress: "in_progress";
312
312
  needs_clarification: "needs_clarification";
313
313
  }>;
314
314
  progress: z.ZodString;
@@ -321,8 +321,8 @@ export declare const TaskExecutionIterationInputSchema: (taskLength: number) =>
321
321
  question: z.ZodString;
322
322
  type: z.ZodEnum<{
323
323
  boolean: "boolean";
324
- text: "text";
325
324
  choice: "choice";
325
+ text: "text";
326
326
  }>;
327
327
  options: z.ZodOptional<z.ZodArray<z.ZodString>>;
328
328
  context: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/workflows/workflow-builder/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,0BAA0B;;;;;;;;;iBAMrC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;iBAOnC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;iBAMxC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;iBAcvC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;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