@mastra/agent-builder 1.1.2 → 1.1.3-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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @mastra/agent-builder
2
2
 
3
+ ## 1.1.3-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`cdd5f93`](https://github.com/mastra-ai/mastra/commit/cdd5f939cefa67390629704dce92563ccbf492b2), [`1b8728a`](https://github.com/mastra-ai/mastra/commit/1b8728a57fd844205a452b0b4216d20ff60c784a), [`9feeaa0`](https://github.com/mastra-ai/mastra/commit/9feeaa0f9a1af07039e5b4f22b932b0cb18617e8), [`213feb8`](https://github.com/mastra-ai/mastra/commit/213feb87bfdd1d8ec00ea660e218f9bcfcb34e7b)]:
8
+ - @mastra/core@1.48.0-alpha.3
9
+ - @mastra/schema-compat@1.3.2-alpha.0
10
+ - @mastra/memory@1.21.3-alpha.0
11
+
3
12
  ## 1.1.2
4
13
 
5
14
  ### Patch Changes
@@ -13,9 +13,9 @@ export declare class AgentBuilderDefaults {
13
13
  static DEFAULT_TOOLS: (projectPath: string) => Promise<{
14
14
  readFile: import("@mastra/core/tools").Tool<{
15
15
  filePath: string;
16
+ encoding: string;
16
17
  startLine?: number | undefined;
17
18
  endLine?: number | undefined;
18
- encoding?: string | undefined;
19
19
  }, {
20
20
  success: boolean;
21
21
  content?: string | undefined;
@@ -31,8 +31,8 @@ export declare class AgentBuilderDefaults {
31
31
  writeFile: import("@mastra/core/tools").Tool<{
32
32
  filePath: string;
33
33
  content: string;
34
- createDirs?: boolean | undefined;
35
- encoding?: string | undefined;
34
+ createDirs: boolean;
35
+ encoding: string;
36
36
  }, {
37
37
  success: boolean;
38
38
  filePath: string;
@@ -42,11 +42,11 @@ export declare class AgentBuilderDefaults {
42
42
  }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "write-file", unknown>;
43
43
  listDirectory: import("@mastra/core/tools").Tool<{
44
44
  path: string;
45
- recursive?: boolean | undefined;
46
- includeHidden?: boolean | undefined;
47
- pattern?: string | undefined;
48
- maxDepth?: number | undefined;
49
- includeMetadata?: boolean | undefined;
45
+ recursive: boolean;
46
+ includeHidden: boolean;
47
+ pattern: string;
48
+ maxDepth: number;
49
+ includeMetadata: boolean;
50
50
  }, {
51
51
  success: boolean;
52
52
  items: {
@@ -64,9 +64,9 @@ export declare class AgentBuilderDefaults {
64
64
  }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "list-directory", unknown>;
65
65
  executeCommand: import("@mastra/core/tools").Tool<{
66
66
  command: string;
67
+ timeout: number;
68
+ captureOutput: boolean;
67
69
  workingDirectory?: string | undefined;
68
- timeout?: number | undefined;
69
- captureOutput?: boolean | undefined;
70
70
  shell?: string | undefined;
71
71
  env?: Record<string, string> | undefined;
72
72
  }, {
@@ -84,8 +84,8 @@ export declare class AgentBuilderDefaults {
84
84
  tasks?: {
85
85
  id: string;
86
86
  status: "pending" | "in_progress" | "completed" | "blocked";
87
+ priority: "high" | "medium" | "low";
87
88
  content?: string | undefined;
88
- priority?: "high" | "medium" | "low" | undefined;
89
89
  dependencies?: string[] | undefined;
90
90
  notes?: string | undefined;
91
91
  }[] | undefined;
@@ -110,10 +110,10 @@ export declare class AgentBuilderDefaults {
110
110
  edits: {
111
111
  oldString: string;
112
112
  newString: string;
113
- replaceAll?: boolean | undefined;
113
+ replaceAll: boolean;
114
114
  }[];
115
115
  }[];
116
- createBackup?: boolean | undefined;
116
+ createBackup: boolean;
117
117
  }, {
118
118
  success: boolean;
119
119
  results: {
@@ -129,7 +129,7 @@ export declare class AgentBuilderDefaults {
129
129
  startLine: number;
130
130
  endLine: number;
131
131
  newContent: string;
132
- createBackup?: boolean | undefined;
132
+ createBackup: boolean;
133
133
  }, {
134
134
  success: boolean;
135
135
  message: string;
@@ -139,9 +139,9 @@ export declare class AgentBuilderDefaults {
139
139
  }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "replace-lines", unknown>;
140
140
  showFileLines: import("@mastra/core/tools").Tool<{
141
141
  filePath: string;
142
+ context: number;
142
143
  startLine?: number | undefined;
143
144
  endLine?: number | undefined;
144
- context?: number | undefined;
145
145
  }, {
146
146
  success: boolean;
147
147
  lines: {
@@ -155,17 +155,17 @@ export declare class AgentBuilderDefaults {
155
155
  }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "show-file-lines", unknown>;
156
156
  smartSearch: import("@mastra/core/tools").Tool<{
157
157
  query: string;
158
- type?: "text" | "regex" | "fuzzy" | "semantic" | undefined;
158
+ type: "text" | "regex" | "fuzzy" | "semantic";
159
159
  scope?: {
160
+ maxResults: number;
160
161
  paths?: string[] | undefined;
161
162
  fileTypes?: string[] | undefined;
162
163
  excludePaths?: string[] | undefined;
163
- maxResults?: number | undefined;
164
164
  } | undefined;
165
165
  context?: {
166
- beforeLines?: number | undefined;
167
- afterLines?: number | undefined;
168
- includeDefinitions?: boolean | undefined;
166
+ beforeLines: number;
167
+ afterLines: number;
168
+ includeDefinitions: boolean;
169
169
  } | undefined;
170
170
  }, {
171
171
  success: boolean;
@@ -210,11 +210,11 @@ export declare class AgentBuilderDefaults {
210
210
  }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "validate-code", unknown>;
211
211
  webSearch: import("@mastra/core/tools").Tool<{
212
212
  query: string;
213
- maxResults?: number | undefined;
214
- region?: string | undefined;
215
- language?: string | undefined;
216
- includeImages?: boolean | undefined;
217
- dateRange?: "day" | "week" | "month" | "year" | "all" | undefined;
213
+ maxResults: number;
214
+ region: string;
215
+ language: string;
216
+ includeImages: boolean;
217
+ dateRange: "day" | "week" | "month" | "year" | "all";
218
218
  }, {
219
219
  success: boolean;
220
220
  query: string;
@@ -239,9 +239,9 @@ export declare class AgentBuilderDefaults {
239
239
  path?: string | undefined;
240
240
  }[];
241
241
  validation: {
242
- testsRun?: boolean | undefined;
243
- buildsSuccessfully?: boolean | undefined;
244
- manualTestingRequired?: boolean | undefined;
242
+ testsRun: boolean;
243
+ buildsSuccessfully: boolean;
244
+ manualTestingRequired: boolean;
245
245
  };
246
246
  nextSteps?: string[] | undefined;
247
247
  }, {
@@ -268,7 +268,7 @@ export declare class AgentBuilderDefaults {
268
268
  }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "manage-project", unknown>;
269
269
  manageServer: import("@mastra/core/tools").Tool<{
270
270
  action: "status" | "stop" | "start" | "restart";
271
- port?: number | undefined;
271
+ port: number;
272
272
  }, {
273
273
  success: boolean;
274
274
  status: "unknown" | "running" | "stopped" | "starting" | "stopping";
@@ -282,10 +282,10 @@ export declare class AgentBuilderDefaults {
282
282
  httpRequest: import("@mastra/core/tools").Tool<{
283
283
  method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
284
284
  url: string;
285
+ timeout: number;
285
286
  baseUrl?: string | undefined;
286
287
  headers?: Record<string, string> | undefined;
287
288
  body?: any;
288
- timeout?: number | undefined;
289
289
  }, {
290
290
  success: boolean;
291
291
  url: string;