@mastra/agent-builder 1.1.2 → 1.1.3-alpha.1

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.
@@ -48,9 +48,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
48
48
  tasks: {
49
49
  id: string;
50
50
  content: string;
51
+ status: "pending" | "in_progress" | "completed" | "blocked";
51
52
  priority: "high" | "medium" | "low";
52
53
  notes: string;
53
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
54
54
  dependencies?: string[] | undefined;
55
55
  }[];
56
56
  questions: {
@@ -81,9 +81,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
81
81
  tasks: {
82
82
  id: string;
83
83
  content: string;
84
+ status: "pending" | "in_progress" | "completed" | "blocked";
84
85
  priority: "high" | "medium" | "low";
85
86
  notes: string;
86
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
87
87
  dependencies?: string[] | undefined;
88
88
  }[];
89
89
  reasoning: string;
@@ -93,9 +93,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
93
93
  tasks: {
94
94
  id: string;
95
95
  content: string;
96
+ status: "pending" | "in_progress" | "completed" | "blocked";
96
97
  priority: "high" | "medium" | "low";
97
98
  notes: string;
98
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
99
99
  dependencies?: string[] | undefined;
100
100
  }[];
101
101
  questions: {
@@ -116,9 +116,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
116
116
  tasks: {
117
117
  id: string;
118
118
  content: string;
119
+ status: "pending" | "in_progress" | "completed" | "blocked";
119
120
  priority: "high" | "medium" | "low";
120
121
  notes: string;
121
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
122
122
  dependencies?: string[] | undefined;
123
123
  }[];
124
124
  message: string;
@@ -130,9 +130,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
130
130
  taskList: {
131
131
  id: string;
132
132
  content: string;
133
+ status: "pending" | "in_progress" | "completed" | "blocked";
133
134
  priority: "high" | "medium" | "low";
134
135
  notes: string;
135
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
136
136
  dependencies?: string[] | undefined;
137
137
  }[];
138
138
  summary: string;
@@ -187,9 +187,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
187
187
  tasks: {
188
188
  id: string;
189
189
  content: string;
190
+ status: "pending" | "in_progress" | "completed" | "blocked";
190
191
  priority: "high" | "medium" | "low";
191
192
  notes: string;
192
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
193
193
  dependencies?: string[] | undefined;
194
194
  }[];
195
195
  message: string;
@@ -199,9 +199,9 @@ export declare const planningAndApprovalWorkflow: import("@mastra/core/workflows
199
199
  tasks: {
200
200
  id: string;
201
201
  content: string;
202
+ status: "pending" | "in_progress" | "completed" | "blocked";
202
203
  priority: "high" | "medium" | "low";
203
204
  notes: string;
204
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
205
205
  dependencies?: string[] | undefined;
206
206
  }[];
207
207
  message: string;
@@ -169,6 +169,7 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
169
169
  id: string;
170
170
  };
171
171
  }[];
172
+ maxIterations: number;
172
173
  targetPath?: string | undefined;
173
174
  conflictsResolved?: {
174
175
  unit: {
@@ -178,7 +179,6 @@ export declare const agentBuilderTemplateWorkflow: import("@mastra/core/workflow
178
179
  issue: string;
179
180
  resolution: string;
180
181
  }[] | undefined;
181
- maxIterations?: number | undefined;
182
182
  }, {
183
183
  success: boolean;
184
184
  applied: boolean;
@@ -458,6 +458,7 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
458
458
  id: string;
459
459
  };
460
460
  }[];
461
+ maxIterations: number;
461
462
  targetPath?: string | undefined;
462
463
  conflictsResolved?: {
463
464
  unit: {
@@ -467,7 +468,6 @@ export declare function mergeTemplateBySlug(slug: string, targetPath?: string):
467
468
  issue: string;
468
469
  resolution: string;
469
470
  }[] | undefined;
470
- maxIterations?: number | undefined;
471
471
  }, {
472
472
  success: boolean;
473
473
  applied: boolean;
@@ -48,9 +48,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
48
48
  tasks: {
49
49
  id: string;
50
50
  content: string;
51
+ status: "pending" | "in_progress" | "completed" | "blocked";
51
52
  priority: "high" | "medium" | "low";
52
53
  notes: string;
53
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
54
54
  dependencies?: string[] | undefined;
55
55
  }[];
56
56
  questions: {
@@ -81,9 +81,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
81
81
  tasks: {
82
82
  id: string;
83
83
  content: string;
84
+ status: "pending" | "in_progress" | "completed" | "blocked";
84
85
  priority: "high" | "medium" | "low";
85
86
  notes: string;
86
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
87
87
  dependencies?: string[] | undefined;
88
88
  }[];
89
89
  reasoning: string;
@@ -93,9 +93,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
93
93
  tasks: {
94
94
  id: string;
95
95
  content: string;
96
+ status: "pending" | "in_progress" | "completed" | "blocked";
96
97
  priority: "high" | "medium" | "low";
97
98
  notes: string;
98
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
99
99
  dependencies?: string[] | undefined;
100
100
  }[];
101
101
  questions: {
@@ -116,9 +116,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
116
116
  tasks: {
117
117
  id: string;
118
118
  content: string;
119
+ status: "pending" | "in_progress" | "completed" | "blocked";
119
120
  priority: "high" | "medium" | "low";
120
121
  notes: string;
121
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
122
122
  dependencies?: string[] | undefined;
123
123
  }[];
124
124
  message: string;
@@ -130,9 +130,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
130
130
  taskList: {
131
131
  id: string;
132
132
  content: string;
133
+ status: "pending" | "in_progress" | "completed" | "blocked";
133
134
  priority: "high" | "medium" | "low";
134
135
  notes: string;
135
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
136
136
  dependencies?: string[] | undefined;
137
137
  }[];
138
138
  summary: string;
@@ -187,9 +187,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
187
187
  tasks: {
188
188
  id: string;
189
189
  content: string;
190
+ status: "pending" | "in_progress" | "completed" | "blocked";
190
191
  priority: "high" | "medium" | "low";
191
192
  notes: string;
192
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
193
193
  dependencies?: string[] | undefined;
194
194
  }[];
195
195
  message: string;
@@ -199,9 +199,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
199
199
  tasks: {
200
200
  id: string;
201
201
  content: string;
202
+ status: "pending" | "in_progress" | "completed" | "blocked";
202
203
  priority: "high" | "medium" | "low";
203
204
  notes: string;
204
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
205
205
  dependencies?: string[] | undefined;
206
206
  }[];
207
207
  message: string;
@@ -286,9 +286,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
286
286
  tasks: {
287
287
  id: string;
288
288
  content: string;
289
+ status: "pending" | "in_progress" | "completed" | "blocked";
289
290
  priority: "high" | "medium" | "low";
290
291
  notes: string;
291
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
292
292
  dependencies?: string[] | undefined;
293
293
  }[];
294
294
  discoveredWorkflows: any[];
@@ -387,9 +387,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
387
387
  tasks: {
388
388
  id: string;
389
389
  content: string;
390
+ status: "pending" | "in_progress" | "completed" | "blocked";
390
391
  priority: "high" | "medium" | "low";
391
392
  notes: string;
392
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
393
393
  dependencies?: string[] | undefined;
394
394
  }[];
395
395
  questions: {
@@ -411,9 +411,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
411
411
  tasks: {
412
412
  id: string;
413
413
  content: string;
414
+ status: "pending" | "in_progress" | "completed" | "blocked";
414
415
  priority: "high" | "medium" | "low";
415
416
  notes: string;
416
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
417
417
  dependencies?: string[] | undefined;
418
418
  }[];
419
419
  message: string;
@@ -497,9 +497,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
497
497
  tasks: {
498
498
  id: string;
499
499
  content: string;
500
+ status: "pending" | "in_progress" | "completed" | "blocked";
500
501
  priority: "high" | "medium" | "low";
501
502
  notes: string;
502
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
503
503
  dependencies?: string[] | undefined;
504
504
  }[];
505
505
  questions: {
@@ -521,9 +521,9 @@ export declare const workflowBuilderWorkflow: import("@mastra/core/workflows").W
521
521
  tasks: {
522
522
  id: string;
523
523
  content: string;
524
+ status: "pending" | "in_progress" | "completed" | "blocked";
524
525
  priority: "high" | "medium" | "low";
525
526
  notes: string;
526
- status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
527
527
  dependencies?: string[] | undefined;
528
528
  }[];
529
529
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/agent-builder",
3
- "version": "1.1.2",
3
+ "version": "1.1.3-alpha.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -35,8 +35,8 @@
35
35
  "@ai-sdk/xai-v5": "npm:@ai-sdk/xai@2.0.72",
36
36
  "ignore": "^7.0.5",
37
37
  "semver": "^7.7.4",
38
- "@mastra/memory": "1.21.2",
39
- "@mastra/schema-compat": "1.3.1"
38
+ "@mastra/memory": "1.21.3-alpha.1",
39
+ "@mastra/schema-compat": "1.3.2-alpha.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/node": "22.19.21",
@@ -50,10 +50,10 @@
50
50
  "typescript-eslint": "^8.57.0",
51
51
  "vitest": "4.1.8",
52
52
  "zod": "^4.4.3",
53
- "@internal/lint": "0.0.109",
54
- "@internal/ai-sdk-v5": "0.0.56",
55
53
  "@internal/types-builder": "0.0.84",
56
- "@mastra/core": "1.47.0"
54
+ "@internal/lint": "0.0.109",
55
+ "@mastra/core": "1.48.0-alpha.5",
56
+ "@internal/ai-sdk-v5": "0.0.56"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "@mastra/core": ">=1.4.1-0 <2.0.0-0",