@mastra/agent-builder 0.0.0-monorepo-binary-20251013210052 → 0.0.0-playground-studio-cloud-20251031080052
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 +58 -4
- package/dist/defaults.d.ts +15 -15
- package/dist/index.js +9 -12
- package/dist/index.js.map +1 -1
- package/dist/workflows/task-planning/task-planning.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/tools.d.ts +1 -1
- package/dist/workflows/workflow-builder/workflow-builder.d.ts.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,52 @@
|
|
|
1
1
|
# @mastra/agent-builder
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-playground-studio-cloud-20251031080052
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- Remove various deprecated APIs from agent class. ([#9257](https://github.com/mastra-ai/mastra/pull/9257))
|
|
8
|
+
- `agent.llm` → `agent.getLLM()`
|
|
9
|
+
- `agent.tools` → `agent.getTools()`
|
|
10
|
+
- `agent.instructions` → `agent.getInstructions()`
|
|
11
|
+
- `agent.speak()` → `agent.voice.speak()`
|
|
12
|
+
- `agent.getSpeakers()` → `agent.voice.getSpeakers()`
|
|
13
|
+
- `agent.listen` → `agent.voice.listen()`
|
|
14
|
+
- `agent.fetchMemory` → `(await agent.getMemory()).query()`
|
|
15
|
+
- `agent.toStep` → Add agent directly to the step, workflows handle the transformation
|
|
16
|
+
|
|
17
|
+
- Removed old tracing code based on OpenTelemetry ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- Update peer dependencies to match core package version bump (1.0.0) ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [[`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`245820c`](https://github.com/mastra-ai/mastra/commit/245820cdea463218fd1c4e62eb2a349d6520fe71), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019)]:
|
|
26
|
+
- @mastra/core@0.0.0-playground-studio-cloud-20251031080052
|
|
27
|
+
- @mastra/memory@0.0.0-playground-studio-cloud-20251031080052
|
|
28
|
+
|
|
29
|
+
## 0.2.1
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- Update peerdeps to 0.23.0-0 ([#9043](https://github.com/mastra-ai/mastra/pull/9043))
|
|
34
|
+
|
|
35
|
+
- Updated dependencies [[`c67ca32`](https://github.com/mastra-ai/mastra/commit/c67ca32e3c2cf69bfc146580770c720220ca44ac), [`efb5ed9`](https://github.com/mastra-ai/mastra/commit/efb5ed946ae7f410bc68c9430beb4b010afd25ec), [`dbc9e12`](https://github.com/mastra-ai/mastra/commit/dbc9e1216ba575ba59ead4afb727a01215f7de4f), [`99e41b9`](https://github.com/mastra-ai/mastra/commit/99e41b94957cdd25137d3ac12e94e8b21aa01b68), [`c28833c`](https://github.com/mastra-ai/mastra/commit/c28833c5b6d8e10eeffd7f7d39129d53b8bca240), [`8ea07b4`](https://github.com/mastra-ai/mastra/commit/8ea07b4bdc73e4218437dbb6dcb0f4b23e745a44), [`ba201b8`](https://github.com/mastra-ai/mastra/commit/ba201b8f8feac4c72350f2dbd52c13c7297ba7b0), [`f053e89`](https://github.com/mastra-ai/mastra/commit/f053e89160dbd0bd3333fc3492f68231b5c7c349), [`4fc4136`](https://github.com/mastra-ai/mastra/commit/4fc413652866a8d2240694fddb2562e9edbb70df), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`d10baf5`](https://github.com/mastra-ai/mastra/commit/d10baf5a3c924f2a6654e23a3e318ed03f189b76), [`038c55a`](https://github.com/mastra-ai/mastra/commit/038c55a7090fc1b1513a966386d3072617f836ac), [`182f045`](https://github.com/mastra-ai/mastra/commit/182f0458f25bd70aa774e64fd923c8a483eddbf1), [`9a1a485`](https://github.com/mastra-ai/mastra/commit/9a1a4859b855e37239f652bf14b1ecd1029b8c4e), [`9257233`](https://github.com/mastra-ai/mastra/commit/9257233c4ffce09b2bedc2a9adbd70d7a83fa8e2), [`7620d2b`](https://github.com/mastra-ai/mastra/commit/7620d2bddeb4fae4c3c0a0b4e672969795fca11a), [`b2365f0`](https://github.com/mastra-ai/mastra/commit/b2365f038dd4c5f06400428b224af963f399ad50), [`0f1a4c9`](https://github.com/mastra-ai/mastra/commit/0f1a4c984fb4b104b2f0b63ba18c9fa77f567700), [`9029ba3`](https://github.com/mastra-ai/mastra/commit/9029ba34459c8859fed4c6b73efd8e2d0021e7ba), [`426cc56`](https://github.com/mastra-ai/mastra/commit/426cc561c85ae76a112ded2385532a91f9f9f074), [`00931fb`](https://github.com/mastra-ai/mastra/commit/00931fb1a21aa42c4fbc20c2c40dd62466b8fc8f), [`e473bfe`](https://github.com/mastra-ai/mastra/commit/e473bfe416c0b8e876973c2b6a6f13c394b7a93f), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`2db6160`](https://github.com/mastra-ai/mastra/commit/2db6160e2022ff8827c15d30157e684683b934b5), [`8aeea37`](https://github.com/mastra-ai/mastra/commit/8aeea37efdde347c635a67fed56794943b7f74ec), [`02fe153`](https://github.com/mastra-ai/mastra/commit/02fe15351d6021d214da48ec982a0e9e4150bcee), [`648e2ca`](https://github.com/mastra-ai/mastra/commit/648e2ca42da54838c6ccbdaadc6fadd808fa6b86), [`74567b3`](https://github.com/mastra-ai/mastra/commit/74567b3d237ae3915cd0bca3cf55fa0a64e4e4a4), [`b65c5e0`](https://github.com/mastra-ai/mastra/commit/b65c5e0fe6f3c390a9a8bbcf69304d972c3a4afb), [`15a1733`](https://github.com/mastra-ai/mastra/commit/15a1733074cee8bd37370e1af34cd818e89fa7ac), [`fc2a774`](https://github.com/mastra-ai/mastra/commit/fc2a77468981aaddc3e77f83f0c4ad4a4af140da), [`4e08933`](https://github.com/mastra-ai/mastra/commit/4e08933625464dfde178347af5b6278fcf34188e), [`10188d6`](https://github.com/mastra-ai/mastra/commit/10188d632a729010441f9c7e2a41eab60afccb23)]:
|
|
36
|
+
- @mastra/core@0.22.0
|
|
37
|
+
- @mastra/memory@0.15.8
|
|
38
|
+
|
|
39
|
+
## 0.2.1-alpha.0
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- Update peerdeps to 0.23.0-0 ([#9043](https://github.com/mastra-ai/mastra/pull/9043))
|
|
44
|
+
|
|
45
|
+
- Updated dependencies [[`efb5ed9`](https://github.com/mastra-ai/mastra/commit/efb5ed946ae7f410bc68c9430beb4b010afd25ec), [`8ea07b4`](https://github.com/mastra-ai/mastra/commit/8ea07b4bdc73e4218437dbb6dcb0f4b23e745a44), [`ba201b8`](https://github.com/mastra-ai/mastra/commit/ba201b8f8feac4c72350f2dbd52c13c7297ba7b0), [`4fc4136`](https://github.com/mastra-ai/mastra/commit/4fc413652866a8d2240694fddb2562e9edbb70df), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`d10baf5`](https://github.com/mastra-ai/mastra/commit/d10baf5a3c924f2a6654e23a3e318ed03f189b76), [`038c55a`](https://github.com/mastra-ai/mastra/commit/038c55a7090fc1b1513a966386d3072617f836ac), [`182f045`](https://github.com/mastra-ai/mastra/commit/182f0458f25bd70aa774e64fd923c8a483eddbf1), [`7620d2b`](https://github.com/mastra-ai/mastra/commit/7620d2bddeb4fae4c3c0a0b4e672969795fca11a), [`b2365f0`](https://github.com/mastra-ai/mastra/commit/b2365f038dd4c5f06400428b224af963f399ad50), [`9029ba3`](https://github.com/mastra-ai/mastra/commit/9029ba34459c8859fed4c6b73efd8e2d0021e7ba), [`426cc56`](https://github.com/mastra-ai/mastra/commit/426cc561c85ae76a112ded2385532a91f9f9f074), [`00931fb`](https://github.com/mastra-ai/mastra/commit/00931fb1a21aa42c4fbc20c2c40dd62466b8fc8f), [`e473bfe`](https://github.com/mastra-ai/mastra/commit/e473bfe416c0b8e876973c2b6a6f13c394b7a93f), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`648e2ca`](https://github.com/mastra-ai/mastra/commit/648e2ca42da54838c6ccbdaadc6fadd808fa6b86), [`b65c5e0`](https://github.com/mastra-ai/mastra/commit/b65c5e0fe6f3c390a9a8bbcf69304d972c3a4afb), [`10188d6`](https://github.com/mastra-ai/mastra/commit/10188d632a729010441f9c7e2a41eab60afccb23)]:
|
|
46
|
+
- @mastra/core@0.22.0-alpha.1
|
|
47
|
+
- @mastra/memory@0.15.8-alpha.0
|
|
48
|
+
|
|
49
|
+
## 0.2.0
|
|
4
50
|
|
|
5
51
|
### Minor Changes
|
|
6
52
|
|
|
@@ -17,9 +63,17 @@
|
|
|
17
63
|
|
|
18
64
|
- Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
|
|
19
65
|
|
|
20
|
-
- Updated dependencies [[`2288200`](https://github.com/mastra-ai/mastra/commit/22882001be465d960a88f2c7f9ff1502787eefe8), [`f368e7b`](https://github.com/mastra-ai/mastra/commit/f368e7b19436a14e5771c46810e5ae93a2faf2e9), [`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`16f1c10`](https://github.com/mastra-ai/mastra/commit/16f1c1062530419e3dc1c4076dc5e54872b15019), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`2ddb851`](https://github.com/mastra-ai/mastra/commit/2ddb8519c4b6f1d31be10ffd33b41d2b649a04ff), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`
|
|
21
|
-
- @mastra/memory@0.
|
|
22
|
-
- @mastra/core@0.
|
|
66
|
+
- Updated dependencies [[`2288200`](https://github.com/mastra-ai/mastra/commit/22882001be465d960a88f2c7f9ff1502787eefe8), [`f368e7b`](https://github.com/mastra-ai/mastra/commit/f368e7b19436a14e5771c46810e5ae93a2faf2e9), [`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`f59fc1e`](https://github.com/mastra-ai/mastra/commit/f59fc1e406b8912e692f6bff6cfd4754cc8d165c), [`16f1c10`](https://github.com/mastra-ai/mastra/commit/16f1c1062530419e3dc1c4076dc5e54872b15019), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`a1799bc`](https://github.com/mastra-ai/mastra/commit/a1799bcc1b5a1cdc188f2ac0165f17a1c4ac6f7b), [`6ff6094`](https://github.com/mastra-ai/mastra/commit/6ff60946f4ecfebdeef6e21d2b230c2204f2c9b8), [`2ddb851`](https://github.com/mastra-ai/mastra/commit/2ddb8519c4b6f1d31be10ffd33b41d2b649a04ff), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1908ca0`](https://github.com/mastra-ai/mastra/commit/1908ca0521f90e43779cc29ab590173ca560443c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb)]:
|
|
67
|
+
- @mastra/memory@0.15.7
|
|
68
|
+
- @mastra/core@0.21.0
|
|
69
|
+
|
|
70
|
+
## 0.2.0-alpha.1
|
|
71
|
+
|
|
72
|
+
### Patch Changes
|
|
73
|
+
|
|
74
|
+
- Updated dependencies [[`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`16f1c10`](https://github.com/mastra-ai/mastra/commit/16f1c1062530419e3dc1c4076dc5e54872b15019), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61)]:
|
|
75
|
+
- @mastra/core@0.21.0-alpha.1
|
|
76
|
+
- @mastra/memory@0.15.7-alpha.1
|
|
23
77
|
|
|
24
78
|
## 0.2.0-alpha.0
|
|
25
79
|
|
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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
164
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => 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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
265
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => 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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
466
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => 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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
609
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => 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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
916
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => 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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
1203
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => 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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
1316
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => 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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
1457
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => 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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
1878
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => 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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
2085
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => 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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
2292
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => 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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
2547
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => 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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
2708
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => 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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
2803
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => 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
|
-
}>, any, any>, options: import("@mastra/core").
|
|
2946
|
+
}>, any, any>, options: import("@mastra/core").MastraToolInvocationOptions) => Promise<any>;
|
|
2947
2947
|
};
|
|
2948
2948
|
}>;
|
|
2949
2949
|
/**
|
package/dist/index.js
CHANGED
|
@@ -868,7 +868,7 @@ You have access to an enhanced set of tools based on production coding agent pat
|
|
|
868
868
|
### Task Management
|
|
869
869
|
- **taskManager**: Create and track multi-step coding tasks with states (pending, in_progress, completed, blocked). Use this for complex projects that require systematic progress tracking.
|
|
870
870
|
|
|
871
|
-
### Code Discovery & Analysis
|
|
871
|
+
### Code Discovery & Analysis
|
|
872
872
|
- **codeAnalyzer**: Analyze codebase structure, discover definitions (functions, classes, interfaces), map dependencies, and understand architectural patterns.
|
|
873
873
|
- **smartSearch**: Intelligent search with context awareness, pattern matching, and relevance scoring.
|
|
874
874
|
|
|
@@ -1078,7 +1078,7 @@ export const mastra = new Mastra({
|
|
|
1078
1078
|
workflows: { weatherWorkflow },
|
|
1079
1079
|
agents: { weatherAgent },
|
|
1080
1080
|
storage: new LibSQLStore({
|
|
1081
|
-
// stores
|
|
1081
|
+
// stores observability, evals, ... into memory storage, if it needs to persist, change to file:../mastra.db
|
|
1082
1082
|
url: ":memory:",
|
|
1083
1083
|
}),
|
|
1084
1084
|
logger: new PinoLogger({
|
|
@@ -5094,7 +5094,9 @@ var planningIterationStep = createStep({
|
|
|
5094
5094
|
research
|
|
5095
5095
|
});
|
|
5096
5096
|
const result = await planningAgent.generate(planningPrompt, {
|
|
5097
|
-
|
|
5097
|
+
structuredOutput: {
|
|
5098
|
+
schema: PlanningAgentOutputSchema
|
|
5099
|
+
}
|
|
5098
5100
|
// maxSteps: 15,
|
|
5099
5101
|
});
|
|
5100
5102
|
const planResult = await result.object;
|
|
@@ -5804,7 +5806,9 @@ var workflowResearchStep = createStep({
|
|
|
5804
5806
|
hasWorkflowsDir: inputData.structure.hasWorkflowsDir
|
|
5805
5807
|
});
|
|
5806
5808
|
const result = await researchAgent.generate(researchPrompt, {
|
|
5807
|
-
|
|
5809
|
+
structuredOutput: {
|
|
5810
|
+
schema: WorkflowResearchResultSchema
|
|
5811
|
+
}
|
|
5808
5812
|
// stopWhen: stepCountIs(10),
|
|
5809
5813
|
});
|
|
5810
5814
|
const researchResult = await result.object;
|
|
@@ -5916,17 +5920,10 @@ ${workflowBuilderPrompts.validation.instructions}`
|
|
|
5916
5920
|
resumeData
|
|
5917
5921
|
});
|
|
5918
5922
|
const originalInstructions = await executionAgent.getInstructions({ runtimeContext });
|
|
5919
|
-
const additionalInstructions = executionAgent.instructions;
|
|
5920
|
-
let enhancedInstructions = originalInstructions;
|
|
5921
|
-
if (additionalInstructions) {
|
|
5922
|
-
enhancedInstructions = `${originalInstructions}
|
|
5923
|
-
|
|
5924
|
-
${additionalInstructions}`;
|
|
5925
|
-
}
|
|
5926
5923
|
const enhancedOptions = {
|
|
5927
5924
|
stopWhen: stepCountIs(100),
|
|
5928
5925
|
temperature: 0.3,
|
|
5929
|
-
instructions:
|
|
5926
|
+
instructions: originalInstructions
|
|
5930
5927
|
};
|
|
5931
5928
|
let finalResult = null;
|
|
5932
5929
|
let allTasksCompleted = false;
|