@mastra/agent-builder 0.0.4 → 0.0.5-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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @mastra/agent-builder
2
2
 
3
+ ## 0.0.5-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Update package.json and README ([#7886](https://github.com/mastra-ai/mastra/pull/7886))
8
+
9
+ - Updated dependencies [[`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`c4dbd12`](https://github.com/mastra-ai/mastra/commit/c4dbd12a05e75db124c5d8abff3d893ea1b88c30), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b)]:
10
+ - @mastra/memory@0.15.2-alpha.1
11
+ - @mastra/core@0.17.0-alpha.4
12
+
13
+ ## 0.0.5-alpha.0
14
+
15
+ ### Patch Changes
16
+
17
+ - Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
18
+
19
+ - Updated dependencies [[`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
20
+ - @mastra/core@0.17.0-alpha.3
21
+ - @mastra/memory@0.15.2-alpha.0
22
+
3
23
  ## 0.0.4
4
24
 
5
25
  ### Patch Changes
package/README.md CHANGED
@@ -90,7 +90,3 @@ The AgentBuilder includes specialized memory processors:
90
90
  2. **Use Project Context**: Let the agent explore your existing codebase structure
91
91
  3. **Validate Output**: Always run the validation tools after code generation
92
92
  4. **Iterative Development**: Start with simple agents and add complexity incrementally
93
-
94
- ## License
95
-
96
- Apache-2.0
@@ -161,7 +161,7 @@ export declare class AgentBuilderDefaults {
161
161
  startLine?: number | undefined;
162
162
  endLine?: number | undefined;
163
163
  encoding?: string | undefined;
164
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
164
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
165
165
  };
166
166
  writeFile: import("@mastra/core/tools").Tool<z.ZodObject<{
167
167
  filePath: z.ZodString;
@@ -262,7 +262,7 @@ export declare class AgentBuilderDefaults {
262
262
  content: string;
263
263
  encoding?: string | undefined;
264
264
  createDirs?: boolean | undefined;
265
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
265
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
266
266
  };
267
267
  listDirectory: import("@mastra/core/tools").Tool<z.ZodObject<{
268
268
  path: z.ZodString;
@@ -463,7 +463,7 @@ export declare class AgentBuilderDefaults {
463
463
  pattern?: string | undefined;
464
464
  maxDepth?: number | undefined;
465
465
  includeMetadata?: boolean | undefined;
466
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
466
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
467
467
  };
468
468
  executeCommand: import("@mastra/core/tools").Tool<z.ZodObject<{
469
469
  command: z.ZodString;
@@ -606,7 +606,7 @@ export declare class AgentBuilderDefaults {
606
606
  captureOutput?: boolean | undefined;
607
607
  shell?: string | undefined;
608
608
  env?: Record<string, string> | undefined;
609
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
609
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
610
610
  };
611
611
  taskManager: import("@mastra/core/tools").Tool<z.ZodObject<{
612
612
  action: z.ZodEnum<["create", "update", "list", "complete", "remove"]>;
@@ -913,7 +913,7 @@ export declare class AgentBuilderDefaults {
913
913
  notes?: string | undefined;
914
914
  }[] | undefined;
915
915
  taskId?: string | undefined;
916
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
916
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
917
917
  };
918
918
  multiEdit: import("@mastra/core/tools").Tool<z.ZodObject<{
919
919
  operations: z.ZodArray<z.ZodObject<{
@@ -1200,7 +1200,7 @@ export declare class AgentBuilderDefaults {
1200
1200
  }[];
1201
1201
  }[];
1202
1202
  createBackup?: boolean | undefined;
1203
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
1203
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
1204
1204
  };
1205
1205
  replaceLines: import("@mastra/core/tools").Tool<z.ZodObject<{
1206
1206
  filePath: z.ZodString;
@@ -1313,7 +1313,7 @@ export declare class AgentBuilderDefaults {
1313
1313
  endLine: number;
1314
1314
  newContent: string;
1315
1315
  createBackup?: boolean | undefined;
1316
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
1316
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
1317
1317
  };
1318
1318
  showFileLines: import("@mastra/core/tools").Tool<z.ZodObject<{
1319
1319
  filePath: z.ZodString;
@@ -1454,7 +1454,7 @@ export declare class AgentBuilderDefaults {
1454
1454
  startLine?: number | undefined;
1455
1455
  endLine?: number | undefined;
1456
1456
  context?: number | undefined;
1457
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
1457
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
1458
1458
  };
1459
1459
  smartSearch: import("@mastra/core/tools").Tool<z.ZodObject<{
1460
1460
  query: z.ZodString;
@@ -1875,7 +1875,7 @@ export declare class AgentBuilderDefaults {
1875
1875
  excludePaths?: string[] | undefined;
1876
1876
  maxResults?: number | undefined;
1877
1877
  } | undefined;
1878
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
1878
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
1879
1879
  };
1880
1880
  validateCode: import("@mastra/core/tools").Tool<z.ZodObject<{
1881
1881
  projectPath: z.ZodOptional<z.ZodString>;
@@ -2082,7 +2082,7 @@ export declare class AgentBuilderDefaults {
2082
2082
  validationType: ("types" | "schemas" | "tests" | "lint" | "build")[];
2083
2083
  projectPath?: string | undefined;
2084
2084
  files?: string[] | undefined;
2085
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
2085
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
2086
2086
  };
2087
2087
  webSearch: import("@mastra/core/tools").Tool<z.ZodObject<{
2088
2088
  query: z.ZodString;
@@ -2289,7 +2289,7 @@ export declare class AgentBuilderDefaults {
2289
2289
  language?: string | undefined;
2290
2290
  includeImages?: boolean | undefined;
2291
2291
  dateRange?: "day" | "week" | "month" | "year" | "all" | undefined;
2292
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
2292
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
2293
2293
  };
2294
2294
  attemptCompletion: import("@mastra/core/tools").Tool<z.ZodObject<{
2295
2295
  summary: z.ZodString;
@@ -2544,7 +2544,7 @@ export declare class AgentBuilderDefaults {
2544
2544
  path?: string | undefined;
2545
2545
  }[];
2546
2546
  nextSteps?: string[] | undefined;
2547
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
2547
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
2548
2548
  };
2549
2549
  manageProject: import("@mastra/core/tools").Tool<z.ZodObject<{
2550
2550
  action: z.ZodEnum<["create", "install", "upgrade"]>;
@@ -2705,7 +2705,7 @@ export declare class AgentBuilderDefaults {
2705
2705
  name: string;
2706
2706
  version?: string | undefined;
2707
2707
  }[] | undefined;
2708
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
2708
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
2709
2709
  };
2710
2710
  manageServer: import("@mastra/core/tools").Tool<z.ZodObject<{
2711
2711
  action: z.ZodEnum<["start", "stop", "restart", "status"]>;
@@ -2800,7 +2800,7 @@ export declare class AgentBuilderDefaults {
2800
2800
  }, {
2801
2801
  action: "status" | "start" | "stop" | "restart";
2802
2802
  port?: number | undefined;
2803
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
2803
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
2804
2804
  };
2805
2805
  httpRequest: import("@mastra/core/tools").Tool<z.ZodObject<{
2806
2806
  method: z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH"]>;
@@ -2943,7 +2943,7 @@ export declare class AgentBuilderDefaults {
2943
2943
  baseUrl?: string | undefined;
2944
2944
  headers?: Record<string, string> | undefined;
2945
2945
  body?: any;
2946
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
2946
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
2947
2947
  };
2948
2948
  }>;
2949
2949
  /**
@@ -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
- }>>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
307
+ }>>, options: import("ai").ToolExecutionOptions | import("ai-v5").ToolCallOptions) => Promise<any>;
308
308
  };
309
309
  //# sourceMappingURL=tools.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/agent-builder",
3
- "version": "0.0.4",
3
+ "version": "0.0.5-alpha.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -37,7 +37,7 @@
37
37
  "ignore": "^7.0.5",
38
38
  "semver": "^7.7.2",
39
39
  "swpm": "^2.6.0",
40
- "@mastra/memory": "0.15.1"
40
+ "@mastra/memory": "0.15.2-alpha.1"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "^20.19.0",
@@ -49,11 +49,11 @@
49
49
  "vitest": "^3.2.4",
50
50
  "zod": "^3.25.76",
51
51
  "@internal/lint": "0.0.39",
52
- "@mastra/core": "0.16.3",
52
+ "@mastra/core": "0.17.0-alpha.4",
53
53
  "@internal/types-builder": "0.0.14"
54
54
  },
55
55
  "peerDependencies": {
56
- "@mastra/core": ">=0.15.3-0 <0.17.0-0",
56
+ "@mastra/core": ">=0.15.3-0 <0.18.0-0",
57
57
  "typescript": ">=5.7.0",
58
58
  "zod": "^3.25.0 || ^4.0.0"
59
59
  },