@mastra/agent-builder 0.0.5-alpha.1 → 0.0.5-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 +10 -0
- package/dist/defaults.d.ts +15 -15
- package/dist/index.js +109 -115
- package/dist/index.js.map +1 -1
- package/dist/workflows/workflow-builder/tools.d.ts +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @mastra/agent-builder
|
|
2
2
|
|
|
3
|
+
## 0.0.5-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e)]:
|
|
10
|
+
- @mastra/core@0.17.0-alpha.6
|
|
11
|
+
- @mastra/memory@0.15.2-alpha.2
|
|
12
|
+
|
|
3
13
|
## 0.0.5-alpha.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/defaults.d.ts
CHANGED
|
@@ -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("
|
|
164
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => 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("
|
|
265
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => 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("
|
|
466
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => 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("
|
|
609
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => 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("
|
|
916
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => 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("
|
|
1203
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => 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("
|
|
1316
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => 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("
|
|
1457
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => 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("
|
|
1878
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => 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("
|
|
2085
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => 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("
|
|
2292
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => 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("
|
|
2547
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => 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("
|
|
2708
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => 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("
|
|
2803
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => 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("
|
|
2946
|
+
}>>, options: import("@mastra/core").ToolInvocationOptions) => Promise<any>;
|
|
2947
2947
|
};
|
|
2948
2948
|
}>;
|
|
2949
2949
|
/**
|