@mastra/agent-builder 0.0.6-alpha.0 → 0.0.6-alpha.2

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,23 @@
1
1
  # @mastra/agent-builder
2
2
 
3
+ ## 0.0.6-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`6b7e804`](https://github.com/mastra-ai/mastra/commit/6b7e80406ba91bd6c6f5789f90e33551a48e66b1), [`4b339b8`](https://github.com/mastra-ai/mastra/commit/4b339b8141c20d6a6d80583c7e8c5c05d8c19492), [`c591dfc`](https://github.com/mastra-ai/mastra/commit/c591dfc1e600fae1dedffe239357d250e146378f), [`1920c5c`](https://github.com/mastra-ai/mastra/commit/1920c5c6d666f687785c73021196aa551e579e0d), [`b6a3b65`](https://github.com/mastra-ai/mastra/commit/b6a3b65d830fa0ca7754ad6481661d1f2c878f21), [`af3abb6`](https://github.com/mastra-ai/mastra/commit/af3abb6f7c7585d856e22d27f4e7d2ece2186b9a)]:
8
+ - @mastra/memory@0.15.3-alpha.1
9
+ - @mastra/core@0.18.0-alpha.3
10
+
11
+ ## 0.0.6-alpha.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
16
+
17
+ - Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55), [`5b1ee71`](https://github.com/mastra-ai/mastra/commit/5b1ee71dc3ac92383226dc1e375642ca5f9b4224)]:
18
+ - @mastra/core@0.18.0-alpha.2
19
+ - @mastra/memory@0.15.3-alpha.0
20
+
3
21
  ## 0.0.6-alpha.0
4
22
 
5
23
  ### Patch Changes
@@ -70,7 +70,7 @@ export declare class AgentBuilderDefaults {
70
70
  totalLines: number;
71
71
  lastModified: string;
72
72
  } | undefined;
73
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
73
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
74
74
  filePath: z.ZodString;
75
75
  startLine: z.ZodOptional<z.ZodNumber>;
76
76
  endLine: z.ZodOptional<z.ZodNumber>;
@@ -85,7 +85,7 @@ export declare class AgentBuilderDefaults {
85
85
  startLine?: number | undefined;
86
86
  endLine?: number | undefined;
87
87
  encoding?: string | undefined;
88
- }>>> & {
88
+ }>, any, any>> & {
89
89
  inputSchema: z.ZodObject<{
90
90
  filePath: z.ZodString;
91
91
  startLine: z.ZodOptional<z.ZodNumber>;
@@ -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("@mastra/core").ToolInvocationOptions) => Promise<any>;
164
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
165
165
  };
166
166
  writeFile: import("@mastra/core/tools").Tool<z.ZodObject<{
167
167
  filePath: z.ZodString;
@@ -196,7 +196,7 @@ export declare class AgentBuilderDefaults {
196
196
  filePath: string;
197
197
  error?: string | undefined;
198
198
  bytesWritten?: number | undefined;
199
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
199
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
200
200
  filePath: z.ZodString;
201
201
  content: z.ZodString;
202
202
  createDirs: z.ZodDefault<z.ZodBoolean>;
@@ -211,7 +211,7 @@ export declare class AgentBuilderDefaults {
211
211
  content: string;
212
212
  encoding?: string | undefined;
213
213
  createDirs?: boolean | undefined;
214
- }>>> & {
214
+ }>, any, any>> & {
215
215
  inputSchema: z.ZodObject<{
216
216
  filePath: z.ZodString;
217
217
  content: 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("@mastra/core").ToolInvocationOptions) => Promise<any>;
265
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
266
266
  };
267
267
  listDirectory: import("@mastra/core/tools").Tool<z.ZodObject<{
268
268
  path: z.ZodString;
@@ -341,7 +341,7 @@ export declare class AgentBuilderDefaults {
341
341
  }[];
342
342
  totalItems: number;
343
343
  error?: string | undefined;
344
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
344
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
345
345
  path: z.ZodString;
346
346
  recursive: z.ZodDefault<z.ZodBoolean>;
347
347
  includeHidden: z.ZodDefault<z.ZodBoolean>;
@@ -362,7 +362,7 @@ export declare class AgentBuilderDefaults {
362
362
  pattern?: string | undefined;
363
363
  maxDepth?: number | undefined;
364
364
  includeMetadata?: boolean | undefined;
365
- }>>> & {
365
+ }>, any, any>> & {
366
366
  inputSchema: z.ZodObject<{
367
367
  path: z.ZodString;
368
368
  recursive: z.ZodDefault<z.ZodBoolean>;
@@ -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("@mastra/core").ToolInvocationOptions) => Promise<any>;
466
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
467
467
  };
468
468
  executeCommand: import("@mastra/core/tools").Tool<z.ZodObject<{
469
469
  command: z.ZodString;
@@ -513,7 +513,7 @@ export declare class AgentBuilderDefaults {
513
513
  workingDirectory?: string | undefined;
514
514
  exitCode?: number | undefined;
515
515
  executionTime?: number | undefined;
516
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
516
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
517
517
  command: z.ZodString;
518
518
  workingDirectory: z.ZodOptional<z.ZodString>;
519
519
  timeout: z.ZodDefault<z.ZodNumber>;
@@ -534,7 +534,7 @@ export declare class AgentBuilderDefaults {
534
534
  captureOutput?: boolean | undefined;
535
535
  shell?: string | undefined;
536
536
  env?: Record<string, string> | undefined;
537
- }>>> & {
537
+ }>, any, any>> & {
538
538
  inputSchema: z.ZodObject<{
539
539
  command: z.ZodString;
540
540
  workingDirectory: z.ZodOptional<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("@mastra/core").ToolInvocationOptions) => Promise<any>;
609
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").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"]>;
@@ -712,7 +712,7 @@ export declare class AgentBuilderDefaults {
712
712
  dependencies?: string[] | undefined;
713
713
  notes?: string | undefined;
714
714
  }[];
715
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
715
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
716
716
  action: z.ZodEnum<["create", "update", "list", "complete", "remove"]>;
717
717
  tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
718
718
  id: z.ZodString;
@@ -759,7 +759,7 @@ export declare class AgentBuilderDefaults {
759
759
  notes?: string | undefined;
760
760
  }[] | undefined;
761
761
  taskId?: string | undefined;
762
- }>>> & {
762
+ }>, any, any>> & {
763
763
  inputSchema: z.ZodObject<{
764
764
  action: z.ZodEnum<["create", "update", "list", "complete", "remove"]>;
765
765
  tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -913,7 +913,7 @@ export declare class AgentBuilderDefaults {
913
913
  notes?: string | undefined;
914
914
  }[] | undefined;
915
915
  taskId?: string | undefined;
916
- }>>, options: import("@mastra/core").ToolInvocationOptions) => Promise<any>;
916
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
917
917
  };
918
918
  multiEdit: import("@mastra/core/tools").Tool<z.ZodObject<{
919
919
  operations: z.ZodArray<z.ZodObject<{
@@ -1004,7 +1004,7 @@ export declare class AgentBuilderDefaults {
1004
1004
  editsApplied: number;
1005
1005
  backup?: string | undefined;
1006
1006
  }[];
1007
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
1007
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
1008
1008
  operations: z.ZodArray<z.ZodObject<{
1009
1009
  filePath: z.ZodString;
1010
1010
  edits: z.ZodArray<z.ZodObject<{
@@ -1056,7 +1056,7 @@ export declare class AgentBuilderDefaults {
1056
1056
  }[];
1057
1057
  }[];
1058
1058
  createBackup?: boolean | undefined;
1059
- }>>> & {
1059
+ }>, any, any>> & {
1060
1060
  inputSchema: z.ZodObject<{
1061
1061
  operations: z.ZodArray<z.ZodObject<{
1062
1062
  filePath: z.ZodString;
@@ -1200,7 +1200,7 @@ export declare class AgentBuilderDefaults {
1200
1200
  }[];
1201
1201
  }[];
1202
1202
  createBackup?: boolean | undefined;
1203
- }>>, options: import("@mastra/core").ToolInvocationOptions) => Promise<any>;
1203
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
1204
1204
  };
1205
1205
  replaceLines: import("@mastra/core/tools").Tool<z.ZodObject<{
1206
1206
  filePath: z.ZodString;
@@ -1238,7 +1238,7 @@ export declare class AgentBuilderDefaults {
1238
1238
  error?: string | undefined;
1239
1239
  backup?: string | undefined;
1240
1240
  linesReplaced?: number | undefined;
1241
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
1241
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
1242
1242
  filePath: z.ZodString;
1243
1243
  startLine: z.ZodNumber;
1244
1244
  endLine: z.ZodNumber;
@@ -1256,7 +1256,7 @@ export declare class AgentBuilderDefaults {
1256
1256
  endLine: number;
1257
1257
  newContent: string;
1258
1258
  createBackup?: boolean | undefined;
1259
- }>>> & {
1259
+ }>, any, any>> & {
1260
1260
  inputSchema: z.ZodObject<{
1261
1261
  filePath: z.ZodString;
1262
1262
  startLine: z.ZodNumber;
@@ -1313,7 +1313,7 @@ export declare class AgentBuilderDefaults {
1313
1313
  endLine: number;
1314
1314
  newContent: string;
1315
1315
  createBackup?: boolean | undefined;
1316
- }>>, options: import("@mastra/core").ToolInvocationOptions) => Promise<any>;
1316
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
1317
1317
  };
1318
1318
  showFileLines: import("@mastra/core/tools").Tool<z.ZodObject<{
1319
1319
  filePath: z.ZodString;
@@ -1368,7 +1368,7 @@ export declare class AgentBuilderDefaults {
1368
1368
  }[];
1369
1369
  totalLines: number;
1370
1370
  error?: string | undefined;
1371
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
1371
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
1372
1372
  filePath: z.ZodString;
1373
1373
  startLine: z.ZodOptional<z.ZodNumber>;
1374
1374
  endLine: z.ZodOptional<z.ZodNumber>;
@@ -1383,7 +1383,7 @@ export declare class AgentBuilderDefaults {
1383
1383
  startLine?: number | undefined;
1384
1384
  endLine?: number | undefined;
1385
1385
  context?: number | undefined;
1386
- }>>> & {
1386
+ }>, any, any>> & {
1387
1387
  inputSchema: z.ZodObject<{
1388
1388
  filePath: z.ZodString;
1389
1389
  startLine: z.ZodOptional<z.ZodNumber>;
@@ -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("@mastra/core").ToolInvocationOptions) => Promise<any>;
1457
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
1458
1458
  };
1459
1459
  smartSearch: import("@mastra/core/tools").Tool<z.ZodObject<{
1460
1460
  query: z.ZodString;
@@ -1604,7 +1604,7 @@ export declare class AgentBuilderDefaults {
1604
1604
  filesSearched: number;
1605
1605
  patterns: string[];
1606
1606
  };
1607
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
1607
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
1608
1608
  query: z.ZodString;
1609
1609
  type: z.ZodDefault<z.ZodEnum<["text", "regex", "fuzzy", "semantic"]>>;
1610
1610
  scope: z.ZodOptional<z.ZodObject<{
@@ -1664,7 +1664,7 @@ export declare class AgentBuilderDefaults {
1664
1664
  excludePaths?: string[] | undefined;
1665
1665
  maxResults?: number | undefined;
1666
1666
  } | undefined;
1667
- }>>> & {
1667
+ }>, any, any>> & {
1668
1668
  inputSchema: z.ZodObject<{
1669
1669
  query: z.ZodString;
1670
1670
  type: z.ZodDefault<z.ZodEnum<["text", "regex", "fuzzy", "semantic"]>>;
@@ -1875,7 +1875,7 @@ export declare class AgentBuilderDefaults {
1875
1875
  excludePaths?: string[] | undefined;
1876
1876
  maxResults?: number | undefined;
1877
1877
  } | undefined;
1878
- }>>, options: import("@mastra/core").ToolInvocationOptions) => Promise<any>;
1878
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
1879
1879
  };
1880
1880
  validateCode: import("@mastra/core/tools").Tool<z.ZodObject<{
1881
1881
  projectPath: z.ZodOptional<z.ZodString>;
@@ -1966,7 +1966,7 @@ export declare class AgentBuilderDefaults {
1966
1966
  validationsPassed: string[];
1967
1967
  validationsFailed: string[];
1968
1968
  };
1969
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
1969
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
1970
1970
  projectPath: z.ZodOptional<z.ZodString>;
1971
1971
  validationType: z.ZodArray<z.ZodEnum<["types", "lint", "schemas", "tests", "build"]>, "many">;
1972
1972
  files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1978,7 +1978,7 @@ export declare class AgentBuilderDefaults {
1978
1978
  validationType: ("types" | "schemas" | "tests" | "lint" | "build")[];
1979
1979
  projectPath?: string | undefined;
1980
1980
  files?: string[] | undefined;
1981
- }>>> & {
1981
+ }>, any, any>> & {
1982
1982
  inputSchema: z.ZodObject<{
1983
1983
  projectPath: z.ZodOptional<z.ZodString>;
1984
1984
  validationType: z.ZodArray<z.ZodEnum<["types", "lint", "schemas", "tests", "build"]>, "many">;
@@ -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("@mastra/core").ToolInvocationOptions) => Promise<any>;
2085
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
2086
2086
  };
2087
2087
  webSearch: import("@mastra/core/tools").Tool<z.ZodObject<{
2088
2088
  query: z.ZodString;
@@ -2164,7 +2164,7 @@ export declare class AgentBuilderDefaults {
2164
2164
  searchTime: number;
2165
2165
  error?: string | undefined;
2166
2166
  suggestions?: string[] | undefined;
2167
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
2167
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
2168
2168
  query: z.ZodString;
2169
2169
  maxResults: z.ZodDefault<z.ZodNumber>;
2170
2170
  region: z.ZodDefault<z.ZodString>;
@@ -2185,7 +2185,7 @@ export declare class AgentBuilderDefaults {
2185
2185
  language?: string | undefined;
2186
2186
  includeImages?: boolean | undefined;
2187
2187
  dateRange?: "day" | "week" | "month" | "year" | "all" | undefined;
2188
- }>>> & {
2188
+ }>, any, any>> & {
2189
2189
  inputSchema: z.ZodObject<{
2190
2190
  query: z.ZodString;
2191
2191
  maxResults: z.ZodDefault<z.ZodNumber>;
@@ -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("@mastra/core").ToolInvocationOptions) => Promise<any>;
2292
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
2293
2293
  };
2294
2294
  attemptCompletion: import("@mastra/core/tools").Tool<z.ZodObject<{
2295
2295
  summary: z.ZodString;
@@ -2361,7 +2361,7 @@ export declare class AgentBuilderDefaults {
2361
2361
  summary: string;
2362
2362
  completionId: string;
2363
2363
  confidence: number;
2364
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
2364
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
2365
2365
  summary: z.ZodString;
2366
2366
  changes: z.ZodArray<z.ZodObject<{
2367
2367
  type: z.ZodEnum<["file_created", "file_modified", "file_deleted", "command_executed", "dependency_added"]>;
@@ -2416,7 +2416,7 @@ export declare class AgentBuilderDefaults {
2416
2416
  path?: string | undefined;
2417
2417
  }[];
2418
2418
  nextSteps?: string[] | undefined;
2419
- }>>> & {
2419
+ }>, any, any>> & {
2420
2420
  inputSchema: z.ZodObject<{
2421
2421
  summary: z.ZodString;
2422
2422
  changes: z.ZodArray<z.ZodObject<{
@@ -2544,7 +2544,7 @@ export declare class AgentBuilderDefaults {
2544
2544
  path?: string | undefined;
2545
2545
  }[];
2546
2546
  nextSteps?: string[] | undefined;
2547
- }>>, options: import("@mastra/core").ToolInvocationOptions) => Promise<any>;
2547
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
2548
2548
  };
2549
2549
  manageProject: import("@mastra/core/tools").Tool<z.ZodObject<{
2550
2550
  action: z.ZodEnum<["create", "install", "upgrade"]>;
@@ -2597,7 +2597,7 @@ export declare class AgentBuilderDefaults {
2597
2597
  upgraded?: string[] | undefined;
2598
2598
  warnings?: string[] | undefined;
2599
2599
  details?: string | undefined;
2600
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
2600
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
2601
2601
  action: z.ZodEnum<["create", "install", "upgrade"]>;
2602
2602
  features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2603
2603
  packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2624,7 +2624,7 @@ export declare class AgentBuilderDefaults {
2624
2624
  name: string;
2625
2625
  version?: string | undefined;
2626
2626
  }[] | undefined;
2627
- }>>> & {
2627
+ }>, any, any>> & {
2628
2628
  inputSchema: z.ZodObject<{
2629
2629
  action: z.ZodEnum<["create", "install", "upgrade"]>;
2630
2630
  features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2705,7 +2705,7 @@ export declare class AgentBuilderDefaults {
2705
2705
  name: string;
2706
2706
  version?: string | undefined;
2707
2707
  }[] | undefined;
2708
- }>>, options: import("@mastra/core").ToolInvocationOptions) => Promise<any>;
2708
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
2709
2709
  };
2710
2710
  manageServer: import("@mastra/core/tools").Tool<z.ZodObject<{
2711
2711
  action: z.ZodEnum<["start", "stop", "restart", "status"]>;
@@ -2743,7 +2743,7 @@ export declare class AgentBuilderDefaults {
2743
2743
  url?: string | undefined;
2744
2744
  port?: number | undefined;
2745
2745
  pid?: number | undefined;
2746
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
2746
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
2747
2747
  action: z.ZodEnum<["start", "stop", "restart", "status"]>;
2748
2748
  port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2749
2749
  }, "strip", z.ZodTypeAny, {
@@ -2752,7 +2752,7 @@ export declare class AgentBuilderDefaults {
2752
2752
  }, {
2753
2753
  action: "status" | "start" | "stop" | "restart";
2754
2754
  port?: number | undefined;
2755
- }>>> & {
2755
+ }>, any, any>> & {
2756
2756
  inputSchema: z.ZodObject<{
2757
2757
  action: z.ZodEnum<["start", "stop", "restart", "status"]>;
2758
2758
  port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -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("@mastra/core").ToolInvocationOptions) => Promise<any>;
2803
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").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"]>;
@@ -2850,7 +2850,7 @@ export declare class AgentBuilderDefaults {
2850
2850
  data?: any;
2851
2851
  headers?: Record<string, string> | undefined;
2852
2852
  statusText?: string | undefined;
2853
- }>, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
2853
+ }>, any, any, import("@mastra/core").ToolExecutionContext<z.ZodObject<{
2854
2854
  method: z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH"]>;
2855
2855
  url: z.ZodString;
2856
2856
  baseUrl: z.ZodOptional<z.ZodString>;
@@ -2871,7 +2871,7 @@ export declare class AgentBuilderDefaults {
2871
2871
  baseUrl?: string | undefined;
2872
2872
  headers?: Record<string, string> | undefined;
2873
2873
  body?: any;
2874
- }>>> & {
2874
+ }>, any, any>> & {
2875
2875
  inputSchema: z.ZodObject<{
2876
2876
  method: z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH"]>;
2877
2877
  url: z.ZodString;
@@ -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("@mastra/core").ToolInvocationOptions) => Promise<any>;
2946
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").ToolCallOptions) => Promise<any>;
2947
2947
  };
2948
2948
  }>;
2949
2949
  /**
@@ -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
- }>>, options: import("@mastra/core").ToolInvocationOptions) => Promise<any>;
307
+ }>, any, any>, options: import("ai").ToolExecutionOptions | import("ai").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.6-alpha.0",
3
+ "version": "0.0.6-alpha.2",
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.2"
40
+ "@mastra/memory": "0.15.3-alpha.1"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "^20.19.0",
@@ -48,12 +48,12 @@
48
48
  "typescript-eslint": "^8.38.0",
49
49
  "vitest": "^3.2.4",
50
50
  "zod": "^3.25.76",
51
+ "@internal/types-builder": "0.0.16",
51
52
  "@internal/lint": "0.0.41",
52
- "@mastra/core": "0.17.2-alpha.0",
53
- "@internal/types-builder": "0.0.16"
53
+ "@mastra/core": "0.18.0-alpha.3"
54
54
  },
55
55
  "peerDependencies": {
56
- "@mastra/core": ">=0.17.2-0 <0.18.0-0",
56
+ "@mastra/core": ">=0.18.0-0 <0.19.0-0",
57
57
  "typescript": ">=5.7.0",
58
58
  "zod": "^3.25.0 || ^4.0.0"
59
59
  },