@mastra/client-js 0.0.0-ai-v5-20250813235735 → 0.0.0-ai-telementry-ui-20250908100313

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.
Files changed (73) hide show
  1. package/CHANGELOG.md +400 -4
  2. package/README.md +5 -3
  3. package/dist/client.d.ts +16 -6
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/index.cjs +1170 -407
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.d.ts +1 -0
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +1169 -406
  10. package/dist/index.js.map +1 -1
  11. package/dist/resources/agent-builder.d.ts +161 -0
  12. package/dist/resources/agent-builder.d.ts.map +1 -0
  13. package/dist/resources/agent.d.ts +44 -12
  14. package/dist/resources/agent.d.ts.map +1 -1
  15. package/dist/resources/index.d.ts +2 -0
  16. package/dist/resources/index.d.ts.map +1 -1
  17. package/dist/resources/memory-thread.d.ts +1 -1
  18. package/dist/resources/memory-thread.d.ts.map +1 -1
  19. package/dist/resources/network-memory-thread.d.ts +1 -1
  20. package/dist/resources/network-memory-thread.d.ts.map +1 -1
  21. package/dist/resources/network.d.ts +2 -2
  22. package/dist/resources/network.d.ts.map +1 -1
  23. package/dist/resources/observability.d.ts +19 -0
  24. package/dist/resources/observability.d.ts.map +1 -0
  25. package/dist/resources/tool.d.ts.map +1 -1
  26. package/dist/resources/vNextNetwork.d.ts +1 -1
  27. package/dist/resources/vNextNetwork.d.ts.map +1 -1
  28. package/dist/types.d.ts +44 -10
  29. package/dist/types.d.ts.map +1 -1
  30. package/dist/utils/process-client-tools.d.ts.map +1 -1
  31. package/dist/utils/process-mastra-stream.d.ts +7 -0
  32. package/dist/utils/process-mastra-stream.d.ts.map +1 -0
  33. package/dist/utils/zod-to-json-schema.d.ts +2 -104
  34. package/dist/utils/zod-to-json-schema.d.ts.map +1 -1
  35. package/package.json +24 -16
  36. package/.turbo/turbo-build.log +0 -18
  37. package/dist/adapters/agui.d.ts +0 -22
  38. package/dist/adapters/agui.d.ts.map +0 -1
  39. package/eslint.config.js +0 -6
  40. package/integration-tests/agui-adapter.test.ts +0 -122
  41. package/integration-tests/package.json +0 -17
  42. package/integration-tests/src/mastra/index.ts +0 -38
  43. package/integration-tests/vitest.config.ts +0 -9
  44. package/src/adapters/agui.test.ts +0 -322
  45. package/src/adapters/agui.ts +0 -263
  46. package/src/client.ts +0 -631
  47. package/src/example.ts +0 -95
  48. package/src/index.test.ts +0 -1226
  49. package/src/index.ts +0 -2
  50. package/src/resources/a2a.ts +0 -98
  51. package/src/resources/agent.ts +0 -793
  52. package/src/resources/base.ts +0 -77
  53. package/src/resources/index.ts +0 -10
  54. package/src/resources/legacy-workflow.ts +0 -242
  55. package/src/resources/mcp-tool.ts +0 -48
  56. package/src/resources/memory-thread.test.ts +0 -285
  57. package/src/resources/memory-thread.ts +0 -100
  58. package/src/resources/network-memory-thread.test.ts +0 -269
  59. package/src/resources/network-memory-thread.ts +0 -81
  60. package/src/resources/network.ts +0 -86
  61. package/src/resources/tool.ts +0 -45
  62. package/src/resources/vNextNetwork.ts +0 -194
  63. package/src/resources/vector.ts +0 -83
  64. package/src/resources/workflow.ts +0 -410
  65. package/src/types.ts +0 -506
  66. package/src/utils/index.ts +0 -11
  67. package/src/utils/process-client-tools.ts +0 -32
  68. package/src/utils/zod-to-json-schema.ts +0 -10
  69. package/src/v2-messages.test.ts +0 -180
  70. package/tsconfig.build.json +0 -9
  71. package/tsconfig.json +0 -5
  72. package/tsup.config.ts +0 -17
  73. package/vitest.config.js +0 -8
package/CHANGELOG.md CHANGED
@@ -1,16 +1,412 @@
1
1
  # @mastra/client-js
2
2
 
3
- ## 0.0.0-ai-v5-20250813235735
3
+ ## 0.0.0-ai-telementry-ui-20250908100313
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [0662d02]
8
+ - Updated dependencies [6189844]
9
+ - Updated dependencies [d7a8f59]
10
+ - Updated dependencies [4dda259]
11
+ - Updated dependencies [defed1c]
12
+ - Updated dependencies [6991ced]
13
+ - Updated dependencies [9cb9c42]
14
+ - Updated dependencies [8334859]
15
+ - @mastra/core@0.0.0-ai-telementry-ui-20250908100313
16
+
17
+ ## 0.12.0
18
+
19
+ ### Minor Changes
20
+
21
+ - 6155cfc: Remove AGUI implementation from client-js
22
+
23
+ ### Patch Changes
24
+
25
+ - cf4e353: Agent Builder Template - adding in UI components to use agent builder template actions
26
+ - 5397eb4: Add public URL support when adding files in Multi Modal
27
+ - Updated dependencies [8fbf79e]
28
+ - Updated dependencies [fd83526]
29
+ - Updated dependencies [d0b90ab]
30
+ - Updated dependencies [6f5eb7a]
31
+ - Updated dependencies [a01cf14]
32
+ - Updated dependencies [a9e50ee]
33
+ - Updated dependencies [5397eb4]
34
+ - Updated dependencies [c9f4e4a]
35
+ - Updated dependencies [0acbc80]
36
+ - @mastra/core@0.16.0
37
+
38
+ ## 0.12.0-alpha.1
39
+
40
+ ### Patch Changes
41
+
42
+ - Updated dependencies [8fbf79e]
43
+ - @mastra/core@0.16.0-alpha.1
44
+
45
+ ## 0.12.0-alpha.0
46
+
47
+ ### Minor Changes
48
+
49
+ - 6155cfc: Remove AGUI implementation from client-js
50
+
51
+ ### Patch Changes
52
+
53
+ - cf4e353: Agent Builder Template - adding in UI components to use agent builder template actions
54
+ - 5397eb4: Add public URL support when adding files in Multi Modal
55
+ - Updated dependencies [fd83526]
56
+ - Updated dependencies [d0b90ab]
57
+ - Updated dependencies [6f5eb7a]
58
+ - Updated dependencies [a01cf14]
59
+ - Updated dependencies [a9e50ee]
60
+ - Updated dependencies [5397eb4]
61
+ - Updated dependencies [c9f4e4a]
62
+ - Updated dependencies [0acbc80]
63
+ - @mastra/core@0.16.0-alpha.0
64
+
65
+ ## 0.11.3
66
+
67
+ ### Patch Changes
68
+
69
+ - ab48c97: dependencies updates:
70
+ - Updated dependency [`zod-to-json-schema@^3.24.6` ↗︎](https://www.npmjs.com/package/zod-to-json-schema/v/3.24.6) (from `^3.24.5`, in `dependencies`)
71
+ - ff89505: Add deprecation warnings and add legacy routes
72
+ - de3cbc6: Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
73
+ - 26b0d7c: Cleanup pkg output
74
+ - 48f0742: add deployer, server and clientjs handlers for agent builder template
75
+ - 5de1555: Fixed tracingContext on tool executions in AI tracing
76
+ - Updated dependencies [ab48c97]
77
+ - Updated dependencies [85ef90b]
78
+ - Updated dependencies [aedbbfa]
79
+ - Updated dependencies [ff89505]
80
+ - Updated dependencies [637f323]
81
+ - Updated dependencies [de3cbc6]
82
+ - Updated dependencies [c19bcf7]
83
+ - Updated dependencies [4474d04]
84
+ - Updated dependencies [183dc95]
85
+ - Updated dependencies [a1111e2]
86
+ - Updated dependencies [b42a961]
87
+ - Updated dependencies [61debef]
88
+ - Updated dependencies [9beaeff]
89
+ - Updated dependencies [29de0e1]
90
+ - Updated dependencies [f643c65]
91
+ - Updated dependencies [00c74e7]
92
+ - Updated dependencies [fef7375]
93
+ - Updated dependencies [e3d8fea]
94
+ - Updated dependencies [45e4d39]
95
+ - Updated dependencies [9eee594]
96
+ - Updated dependencies [7149d8d]
97
+ - Updated dependencies [822c2e8]
98
+ - Updated dependencies [979912c]
99
+ - Updated dependencies [7dcf4c0]
100
+ - Updated dependencies [4106a58]
101
+ - Updated dependencies [ad78bfc]
102
+ - Updated dependencies [0302f50]
103
+ - Updated dependencies [6ac697e]
104
+ - Updated dependencies [74db265]
105
+ - Updated dependencies [0ce418a]
106
+ - Updated dependencies [af90672]
107
+ - Updated dependencies [8387952]
108
+ - Updated dependencies [7f3b8da]
109
+ - Updated dependencies [905352b]
110
+ - Updated dependencies [599d04c]
111
+ - Updated dependencies [56041d0]
112
+ - Updated dependencies [3412597]
113
+ - Updated dependencies [5eca5d2]
114
+ - Updated dependencies [f2cda47]
115
+ - Updated dependencies [5de1555]
116
+ - Updated dependencies [cfd377a]
117
+ - Updated dependencies [1ed5a3e]
118
+ - @mastra/core@0.15.3
119
+
120
+ ## 0.11.3-alpha.9
121
+
122
+ ### Patch Changes
123
+
124
+ - Updated dependencies [[`599d04c`](https://github.com/mastra-ai/mastra/commit/599d04cebe92c1d536fee3190434941b8c91548e)]:
125
+ - @mastra/core@0.15.3-alpha.9
126
+
127
+ ## 0.11.3-alpha.8
128
+
129
+ ### Patch Changes
130
+
131
+ - Updated dependencies [[`4474d04`](https://github.com/mastra-ai/mastra/commit/4474d0489b1e152e0985c33a4f529207317d27b5), [`4106a58`](https://github.com/mastra-ai/mastra/commit/4106a58b15b4c0a060a4a9ccab52d119d00d8edb)]:
132
+ - @mastra/core@0.15.3-alpha.8
133
+
134
+ ## 0.11.3-alpha.7
135
+
136
+ ### Patch Changes
137
+
138
+ - Updated dependencies [[`7149d8d`](https://github.com/mastra-ai/mastra/commit/7149d8d4bdc1edf0008e0ca9b7925eb0b8b60dbe)]:
139
+ - @mastra/core@0.15.3-alpha.7
140
+
141
+ ## 0.11.3-alpha.6
142
+
143
+ ### Patch Changes
144
+
145
+ - Updated dependencies [[`c19bcf7`](https://github.com/mastra-ai/mastra/commit/c19bcf7b43542b02157b5e17303e519933a153ab), [`b42a961`](https://github.com/mastra-ai/mastra/commit/b42a961a5aefd19d6e938a7705fc0ecc90e8f756), [`45e4d39`](https://github.com/mastra-ai/mastra/commit/45e4d391a2a09fc70c48e4d60f505586ada1ba0e), [`0302f50`](https://github.com/mastra-ai/mastra/commit/0302f50861a53c66ff28801fc371b37c5f97e41e), [`74db265`](https://github.com/mastra-ai/mastra/commit/74db265b96aa01a72ffd91dcae0bc3b346cca0f2), [`7f3b8da`](https://github.com/mastra-ai/mastra/commit/7f3b8da6dd21c35d3672e44b4f5dd3502b8f8f92), [`905352b`](https://github.com/mastra-ai/mastra/commit/905352bcda134552400eb252bca1cb05a7975c14), [`f2cda47`](https://github.com/mastra-ai/mastra/commit/f2cda47ae911038c5d5489f54c36517d6f15bdcc), [`cfd377a`](https://github.com/mastra-ai/mastra/commit/cfd377a3a33a9c88b644f6540feed9cd9832db47)]:
146
+ - @mastra/core@0.15.3-alpha.6
147
+
148
+ ## 0.11.3-alpha.5
149
+
150
+ ### Patch Changes
151
+
152
+ - [#7343](https://github.com/mastra-ai/mastra/pull/7343) [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e) Thanks [@LekoArts](https://github.com/LekoArts)! - Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
153
+
154
+ - Updated dependencies [[`85ef90b`](https://github.com/mastra-ai/mastra/commit/85ef90bb2cd4ae4df855c7ac175f7d392c55c1bf), [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e)]:
155
+ - @mastra/core@0.15.3-alpha.5
156
+
157
+ ## 0.11.3-alpha.4
158
+
159
+ ### Patch Changes
160
+
161
+ - [#5816](https://github.com/mastra-ai/mastra/pull/5816) [`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
162
+ - Updated dependency [`zod-to-json-schema@^3.24.6` ↗︎](https://www.npmjs.com/package/zod-to-json-schema/v/3.24.6) (from `^3.24.5`, in `dependencies`)
163
+
164
+ - [#7269](https://github.com/mastra-ai/mastra/pull/7269) [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa) Thanks [@wardpeet](https://github.com/wardpeet)! - Add deprecation warnings and add legacy routes
165
+
166
+ - [#7329](https://github.com/mastra-ai/mastra/pull/7329) [`26b0d7c`](https://github.com/mastra-ai/mastra/commit/26b0d7c7cba46469351d453714e119ac7aae9da2) Thanks [@wardpeet](https://github.com/wardpeet)! - Cleanup pkg output
167
+
168
+ - [#7136](https://github.com/mastra-ai/mastra/pull/7136) [`48f0742`](https://github.com/mastra-ai/mastra/commit/48f0742662414610dc9a7a99d45902d059ee123d) Thanks [@NikAiyer](https://github.com/NikAiyer)! - add deployer, server and clientjs handlers for agent builder template
169
+
170
+ - Updated dependencies [[`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715), [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa), [`183dc95`](https://github.com/mastra-ai/mastra/commit/183dc95596f391b977bd1a2c050b8498dac74891), [`a1111e2`](https://github.com/mastra-ai/mastra/commit/a1111e24e705488adfe5e0a6f20c53bddf26cb22), [`61debef`](https://github.com/mastra-ai/mastra/commit/61debefd80ad3a7ed5737e19df6a23d40091689a), [`9beaeff`](https://github.com/mastra-ai/mastra/commit/9beaeffa4a97b1d5fd01a7f8af8708b16067f67c), [`9eee594`](https://github.com/mastra-ai/mastra/commit/9eee594e35e0ca2a650fcc33fa82009a142b9ed0), [`979912c`](https://github.com/mastra-ai/mastra/commit/979912cfd180aad53287cda08af771df26454e2c), [`7dcf4c0`](https://github.com/mastra-ai/mastra/commit/7dcf4c04f44d9345b1f8bc5d41eae3f11ac61611), [`ad78bfc`](https://github.com/mastra-ai/mastra/commit/ad78bfc4ea6a1fff140432bf4f638e01af7af668), [`0ce418a`](https://github.com/mastra-ai/mastra/commit/0ce418a1ccaa5e125d4483a9651b635046152569), [`8387952`](https://github.com/mastra-ai/mastra/commit/838795227b4edf758c84a2adf6f7fba206c27719), [`5eca5d2`](https://github.com/mastra-ai/mastra/commit/5eca5d2655788863ea0442a46c9ef5d3c6dbe0a8)]:
171
+ - @mastra/core@0.15.3-alpha.4
172
+
173
+ ## 0.11.3-alpha.3
174
+
175
+ ### Patch Changes
176
+
177
+ - Updated dependencies [[`aedbbfa`](https://github.com/mastra-ai/mastra/commit/aedbbfa064124ddde039111f12629daebfea7e48), [`f643c65`](https://github.com/mastra-ai/mastra/commit/f643c651bdaf57c2343cf9dbfc499010495701fb), [`fef7375`](https://github.com/mastra-ai/mastra/commit/fef737534574f41b432a7361a285f776c3bac42b), [`e3d8fea`](https://github.com/mastra-ai/mastra/commit/e3d8feaacfb8b5c5c03c13604cc06ea2873d45fe), [`3412597`](https://github.com/mastra-ai/mastra/commit/3412597a6644c0b6bf3236d6e319ed1450c5bae8)]:
178
+ - @mastra/core@0.15.3-alpha.3
179
+
180
+ ## 0.11.3-alpha.2
181
+
182
+ ### Patch Changes
183
+
184
+ - Updated dependencies [[`822c2e8`](https://github.com/mastra-ai/mastra/commit/822c2e88a3ecbffb7c680e6227976006ccefe6a8)]:
185
+ - @mastra/core@0.15.3-alpha.2
186
+
187
+ ## 0.11.3-alpha.1
188
+
189
+ ### Patch Changes
190
+
191
+ - Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4)]:
192
+ - @mastra/core@0.15.3-alpha.1
193
+
194
+ ## 0.11.3-alpha.0
195
+
196
+ ### Patch Changes
197
+
198
+ - [#7109](https://github.com/mastra-ai/mastra/pull/7109) [`5de1555`](https://github.com/mastra-ai/mastra/commit/5de15554d3d6695211945a36928f6657e76cddc9) Thanks [@epinzur](https://github.com/epinzur)! - Fixed tracingContext on tool executions in AI tracing
199
+
200
+ - Updated dependencies [[`00c74e7`](https://github.com/mastra-ai/mastra/commit/00c74e73b1926be0d475693bb886fb67a22ff352), [`af90672`](https://github.com/mastra-ai/mastra/commit/af906722d8da28688882193b1e531026f9e2e81e), [`56041d0`](https://github.com/mastra-ai/mastra/commit/56041d018863a3da6b98c512e47348647c075fb3), [`5de1555`](https://github.com/mastra-ai/mastra/commit/5de15554d3d6695211945a36928f6657e76cddc9), [`1ed5a3e`](https://github.com/mastra-ai/mastra/commit/1ed5a3e19330374c4347a4237cd2f4b9ffb60376)]:
201
+ - @mastra/core@0.15.3-alpha.0
202
+
203
+ ## 0.11.2
204
+
205
+ ### Patch Changes
206
+
207
+ - [`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdpes for @mastra/core
208
+
209
+ - Updated dependencies []:
210
+ - @mastra/core@0.15.2
211
+
212
+ ## 0.11.1
213
+
214
+ ### Patch Changes
215
+
216
+ - Updated dependencies []:
217
+ - @mastra/core@0.15.1
218
+
219
+ ## 0.11.0
220
+
221
+ ### Minor Changes
222
+
223
+ - [#6993](https://github.com/mastra-ai/mastra/pull/6993) [`82d9f64`](https://github.com/mastra-ai/mastra/commit/82d9f647fbe4f0177320e7c05073fce88599aa95) Thanks [@wardpeet](https://github.com/wardpeet)! - Improve types and fix linting issues
224
+
225
+ - [#7032](https://github.com/mastra-ai/mastra/pull/7032) [`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c) Thanks [@wardpeet](https://github.com/wardpeet)! - Bump zod peerdep to 3.25.0 to support both v3/v4
226
+
227
+ ### Patch Changes
228
+
229
+ - [#6967](https://github.com/mastra-ai/mastra/pull/6967) [`01be5d3`](https://github.com/mastra-ai/mastra/commit/01be5d358fad8faa101e5c69dfa54562c02cc0af) Thanks [@YujohnNattrass](https://github.com/YujohnNattrass)! - Implement AI traces for server apis and client sdk
230
+
231
+ - [#6972](https://github.com/mastra-ai/mastra/pull/6972) [`00ef6c1`](https://github.com/mastra-ai/mastra/commit/00ef6c1d3c76708712acd3de7f39c4d6b0f3b427) Thanks [@roaminro](https://github.com/roaminro)! - add credentials option for fetch requests
232
+
233
+ - [#6949](https://github.com/mastra-ai/mastra/pull/6949) [`e6f5046`](https://github.com/mastra-ai/mastra/commit/e6f50467aff317e67e8bd74c485c3fbe2a5a6db1) Thanks [@CalebBarnes](https://github.com/CalebBarnes)! - stream/generate vnext: simplify internal output schema handling, improve types and typescript generics, and add jsdoc comments
234
+
235
+ - [#6942](https://github.com/mastra-ai/mastra/pull/6942) [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01) Thanks [@wardpeet](https://github.com/wardpeet)! - Add zod as peerdeps for all packages
236
+
237
+ - Updated dependencies [[`0778757`](https://github.com/mastra-ai/mastra/commit/07787570e4addbd501522037bd2542c3d9e26822), [`943a7f3`](https://github.com/mastra-ai/mastra/commit/943a7f3dbc6a8ab3f9b7bc7c8a1c5b319c3d7f56), [`bf504a8`](https://github.com/mastra-ai/mastra/commit/bf504a833051f6f321d832cc7d631f3cb86d657b), [`be49354`](https://github.com/mastra-ai/mastra/commit/be493546dca540101923ec700feb31f9a13939f2), [`d591ab3`](https://github.com/mastra-ai/mastra/commit/d591ab3ecc985c1870c0db347f8d7a20f7360536), [`ba82abe`](https://github.com/mastra-ai/mastra/commit/ba82abe76e869316bb5a9c95e8ea3946f3436fae), [`727f7e5`](https://github.com/mastra-ai/mastra/commit/727f7e5086e62e0dfe3356fb6dcd8bcb420af246), [`e6f5046`](https://github.com/mastra-ai/mastra/commit/e6f50467aff317e67e8bd74c485c3fbe2a5a6db1), [`82d9f64`](https://github.com/mastra-ai/mastra/commit/82d9f647fbe4f0177320e7c05073fce88599aa95), [`2e58325`](https://github.com/mastra-ai/mastra/commit/2e58325beb170f5b92f856e27d915cd26917e5e6), [`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c), [`4189486`](https://github.com/mastra-ai/mastra/commit/4189486c6718fda78347bdf4ce4d3fc33b2236e1), [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01), [`9613558`](https://github.com/mastra-ai/mastra/commit/9613558e6475f4710e05d1be7553a32ee7bddc20)]:
238
+ - @mastra/core@0.15.0
239
+
240
+ ## 0.11.0-alpha.4
241
+
242
+ ### Minor Changes
243
+
244
+ - [#7032](https://github.com/mastra-ai/mastra/pull/7032) [`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c) Thanks [@wardpeet](https://github.com/wardpeet)! - Bump zod peerdep to 3.25.0 to support both v3/v4
245
+
246
+ ### Patch Changes
247
+
248
+ - Updated dependencies [[`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c)]:
249
+ - @mastra/core@0.15.0-alpha.4
250
+
251
+ ## 0.11.0-alpha.3
252
+
253
+ ### Patch Changes
254
+
255
+ - Updated dependencies []:
256
+ - @mastra/core@0.15.0-alpha.3
257
+
258
+ ## 0.11.0-alpha.2
259
+
260
+ ### Patch Changes
261
+
262
+ - Updated dependencies [[`2e58325`](https://github.com/mastra-ai/mastra/commit/2e58325beb170f5b92f856e27d915cd26917e5e6)]:
263
+ - @mastra/core@0.14.2-alpha.2
264
+
265
+ ## 0.11.0-alpha.1
4
266
 
5
267
  ### Minor Changes
6
268
 
7
- - 66858d4: AI SDK v5 beta
269
+ - [#6993](https://github.com/mastra-ai/mastra/pull/6993) [`82d9f64`](https://github.com/mastra-ai/mastra/commit/82d9f647fbe4f0177320e7c05073fce88599aa95) Thanks [@wardpeet](https://github.com/wardpeet)! - Improve types and fix linting issues
270
+
271
+ ### Patch Changes
272
+
273
+ - [#6967](https://github.com/mastra-ai/mastra/pull/6967) [`01be5d3`](https://github.com/mastra-ai/mastra/commit/01be5d358fad8faa101e5c69dfa54562c02cc0af) Thanks [@YujohnNattrass](https://github.com/YujohnNattrass)! - Implement AI traces for server apis and client sdk
274
+
275
+ - [#6972](https://github.com/mastra-ai/mastra/pull/6972) [`00ef6c1`](https://github.com/mastra-ai/mastra/commit/00ef6c1d3c76708712acd3de7f39c4d6b0f3b427) Thanks [@roaminro](https://github.com/roaminro)! - add credentials option for fetch requests
276
+
277
+ - [#6942](https://github.com/mastra-ai/mastra/pull/6942) [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01) Thanks [@wardpeet](https://github.com/wardpeet)! - Add zod as peerdeps for all packages
278
+
279
+ - Updated dependencies [[`943a7f3`](https://github.com/mastra-ai/mastra/commit/943a7f3dbc6a8ab3f9b7bc7c8a1c5b319c3d7f56), [`be49354`](https://github.com/mastra-ai/mastra/commit/be493546dca540101923ec700feb31f9a13939f2), [`d591ab3`](https://github.com/mastra-ai/mastra/commit/d591ab3ecc985c1870c0db347f8d7a20f7360536), [`ba82abe`](https://github.com/mastra-ai/mastra/commit/ba82abe76e869316bb5a9c95e8ea3946f3436fae), [`727f7e5`](https://github.com/mastra-ai/mastra/commit/727f7e5086e62e0dfe3356fb6dcd8bcb420af246), [`82d9f64`](https://github.com/mastra-ai/mastra/commit/82d9f647fbe4f0177320e7c05073fce88599aa95), [`4189486`](https://github.com/mastra-ai/mastra/commit/4189486c6718fda78347bdf4ce4d3fc33b2236e1), [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01)]:
280
+ - @mastra/core@0.14.2-alpha.1
281
+
282
+ ## 0.10.24-alpha.0
283
+
284
+ ### Patch Changes
285
+
286
+ - [#6949](https://github.com/mastra-ai/mastra/pull/6949) [`e6f5046`](https://github.com/mastra-ai/mastra/commit/e6f50467aff317e67e8bd74c485c3fbe2a5a6db1) Thanks [@CalebBarnes](https://github.com/CalebBarnes)! - stream/generate vnext: simplify internal output schema handling, improve types and typescript generics, and add jsdoc comments
287
+
288
+ - Updated dependencies [[`0778757`](https://github.com/mastra-ai/mastra/commit/07787570e4addbd501522037bd2542c3d9e26822), [`bf504a8`](https://github.com/mastra-ai/mastra/commit/bf504a833051f6f321d832cc7d631f3cb86d657b), [`e6f5046`](https://github.com/mastra-ai/mastra/commit/e6f50467aff317e67e8bd74c485c3fbe2a5a6db1), [`9613558`](https://github.com/mastra-ai/mastra/commit/9613558e6475f4710e05d1be7553a32ee7bddc20)]:
289
+ - @mastra/core@0.14.2-alpha.0
290
+
291
+ ## 0.10.23
8
292
 
9
293
  ### Patch Changes
10
294
 
11
- - Updated dependencies [66858d4]
295
+ - Updated dependencies [[`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27), [`0f00e17`](https://github.com/mastra-ai/mastra/commit/0f00e172953ccdccadb35ed3d70f5e4d89115869), [`217cd7a`](https://github.com/mastra-ai/mastra/commit/217cd7a4ce171e9a575c41bb8c83300f4db03236), [`a5a23d9`](https://github.com/mastra-ai/mastra/commit/a5a23d981920d458dc6078919992a5338931ef02)]:
296
+ - @mastra/core@0.14.1
297
+
298
+ ## 0.10.23-alpha.1
299
+
300
+ ### Patch Changes
301
+
302
+ - Updated dependencies [[`0f00e17`](https://github.com/mastra-ai/mastra/commit/0f00e172953ccdccadb35ed3d70f5e4d89115869), [`217cd7a`](https://github.com/mastra-ai/mastra/commit/217cd7a4ce171e9a575c41bb8c83300f4db03236)]:
303
+ - @mastra/core@0.14.1-alpha.1
304
+
305
+ ## 0.10.23-alpha.0
306
+
307
+ ### Patch Changes
308
+
309
+ - Updated dependencies [[`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27), [`a5a23d9`](https://github.com/mastra-ai/mastra/commit/a5a23d981920d458dc6078919992a5338931ef02)]:
310
+ - @mastra/core@0.14.1-alpha.0
311
+
312
+ ## 0.10.22
313
+
314
+ ### Patch Changes
315
+
316
+ - 0a7f675: Add VNext methods and `processMastraStream`
317
+ - 6313063: Implement model switcher in playground
318
+ - 1d59515: Add options to playground based on modelVersion
319
+ - Updated dependencies [227c7e6]
320
+ - Updated dependencies [12cae67]
321
+ - Updated dependencies [fd3a3eb]
322
+ - Updated dependencies [6faaee5]
323
+ - Updated dependencies [4232b14]
324
+ - Updated dependencies [a89de7e]
325
+ - Updated dependencies [5a37d0c]
326
+ - Updated dependencies [4bde0cb]
327
+ - Updated dependencies [cf4f357]
328
+ - Updated dependencies [ad888a2]
329
+ - Updated dependencies [481751d]
330
+ - Updated dependencies [2454423]
331
+ - Updated dependencies [194e395]
332
+ - Updated dependencies [a722c0b]
12
333
  - Updated dependencies [c30bca8]
13
- - @mastra/core@0.0.0-ai-v5-20250813235735
334
+ - Updated dependencies [3b5fec7]
335
+ - Updated dependencies [a8f129d]
336
+ - @mastra/core@0.14.0
337
+
338
+ ## 0.10.22-alpha.7
339
+
340
+ ### Patch Changes
341
+
342
+ - @mastra/core@0.14.0-alpha.7
343
+
344
+ ## 0.10.22-alpha.6
345
+
346
+ ### Patch Changes
347
+
348
+ - Updated dependencies [ad888a2]
349
+ - Updated dependencies [481751d]
350
+ - Updated dependencies [194e395]
351
+ - @mastra/core@0.14.0-alpha.6
352
+
353
+ ## 0.10.22-alpha.5
354
+
355
+ ### Patch Changes
356
+
357
+ - @mastra/core@0.14.0-alpha.5
358
+
359
+ ## 0.10.22-alpha.4
360
+
361
+ ### Patch Changes
362
+
363
+ - 0a7f675: Client JS vnext methods
364
+ - 1d59515: Add options to playground based on modelVersion
365
+ - 195eabb: Process Mastra Stream
366
+ - Updated dependencies [0a7f675]
367
+ - Updated dependencies [12cae67]
368
+ - Updated dependencies [5a37d0c]
369
+ - Updated dependencies [4bde0cb]
370
+ - Updated dependencies [1a80071]
371
+ - Updated dependencies [36a3be8]
372
+ - Updated dependencies [361757b]
373
+ - Updated dependencies [2bb9955]
374
+ - Updated dependencies [2454423]
375
+ - Updated dependencies [a44d91e]
376
+ - Updated dependencies [dfb91e9]
377
+ - Updated dependencies [a741dde]
378
+ - Updated dependencies [7cb3fc0]
379
+ - Updated dependencies [195eabb]
380
+ - Updated dependencies [b78b95b]
381
+ - @mastra/core@0.14.0-alpha.4
382
+
383
+ ## 0.10.22-alpha.3
384
+
385
+ ### Patch Changes
386
+
387
+ - Updated dependencies [227c7e6]
388
+ - Updated dependencies [fd3a3eb]
389
+ - Updated dependencies [a8f129d]
390
+ - @mastra/core@0.14.0-alpha.3
391
+
392
+ ## 0.10.22-alpha.2
393
+
394
+ ### Patch Changes
395
+
396
+ - @mastra/core@0.14.0-alpha.2
397
+
398
+ ## 0.10.22-alpha.1
399
+
400
+ ### Patch Changes
401
+
402
+ - 6313063: Implement model switcher in playground
403
+ - Updated dependencies [6faaee5]
404
+ - Updated dependencies [4232b14]
405
+ - Updated dependencies [a89de7e]
406
+ - Updated dependencies [cf4f357]
407
+ - Updated dependencies [a722c0b]
408
+ - Updated dependencies [3b5fec7]
409
+ - @mastra/core@0.14.0-alpha.1
14
410
 
15
411
  ## 0.10.22-alpha.0
16
412
 
package/README.md CHANGED
@@ -53,8 +53,10 @@ const client = new MastraClient({
53
53
  - `getAgents()`: Get all available agents
54
54
  - `getAgent(agentId)`: Get a specific agent instance
55
55
  - `agent.details()`: Get agent details
56
- - `agent.generate(params)`: Generate a response
57
- - `agent.stream(params)`: Stream a response
56
+ - `agent.generate(params)`: Generate a response (deprecated)
57
+ - `agent.generateVNext(params)`: Improved API for generating a response
58
+ - `agent.stream(params)`: Stream a response (deprecated)
59
+ - `agent.streamVNext(params)`: Improved API for streaming a response
58
60
  - `agent.getTool(toolId)`: Get agent tool details
59
61
  - `agent.evals()`: Get agent evaluations
60
62
  - `agent.liveEvals()`: Get live evaluations
@@ -82,7 +84,7 @@ const client = new MastraClient({
82
84
  - `workflow.createRun()`: Create workflow run
83
85
  - `workflow.createRunAsync()`: Create workflow run (alias)
84
86
  - `workflow.startAsync(params)`: Execute the workflow and wait for execution results
85
- - `workflow.resumeAsync(parmas)`: Resume suspended workflow step async
87
+ - `workflow.resumeAsync(params)`: Resume suspended workflow step async
86
88
  - `workflow.watch({runId},(record)=>{})`: Watch the step transitions of the workflow run
87
89
  - `workflow.start({runId, triggerData})`: Start a workflow run sync
88
90
  - `workflow.resume(params)`: Resume the workflow run sync
package/dist/client.d.ts CHANGED
@@ -1,19 +1,17 @@
1
- import type { AbstractAgent } from '@ag-ui/client';
1
+ import type { AITraceRecord, AITracesPaginatedArg, WorkflowInfo } from '@mastra/core';
2
2
  import type { ServerDetailInfo } from '@mastra/core/mcp';
3
- import { Agent, MemoryThread, Tool, Workflow, Vector, BaseResource, Network, A2A, MCPTool, LegacyWorkflow } from './resources/index.js';
3
+ import { Agent, MemoryThread, Tool, Workflow, Vector, BaseResource, Network, A2A, MCPTool, LegacyWorkflow, AgentBuilder } from './resources/index.js';
4
4
  import { NetworkMemoryThread } from './resources/network-memory-thread.js';
5
5
  import { VNextNetwork } from './resources/vNextNetwork.js';
6
- import type { ClientOptions, CreateMemoryThreadParams, CreateMemoryThreadResponse, GetAgentResponse, GetLogParams, GetLogsParams, GetLogsResponse, GetMemoryThreadParams, GetMemoryThreadResponse, GetNetworkResponse, GetTelemetryParams, GetTelemetryResponse, GetToolResponse, GetWorkflowResponse, SaveMessageToMemoryParams, SaveMessageToMemoryResponse, McpServerListResponse, McpServerToolListResponse, GetLegacyWorkflowResponse, GetVNextNetworkResponse, GetNetworkMemoryThreadParams, CreateNetworkMemoryThreadParams, SaveNetworkMessageToMemoryParams, GetScorerResponse, GetScoresByScorerIdParams, GetScoresResponse, GetScoresByRunIdParams, GetScoresByEntityIdParams, SaveScoreParams, SaveScoreResponse } from './types.js';
6
+ import type { ClientOptions, CreateMemoryThreadParams, CreateMemoryThreadResponse, GetAgentResponse, GetLogParams, GetLogsParams, GetLogsResponse, GetMemoryThreadParams, GetMemoryThreadResponse, GetNetworkResponse, GetTelemetryParams, GetTelemetryResponse, GetToolResponse, GetWorkflowResponse, SaveMessageToMemoryParams, SaveMessageToMemoryResponse, McpServerListResponse, McpServerToolListResponse, GetLegacyWorkflowResponse, GetVNextNetworkResponse, GetNetworkMemoryThreadParams, CreateNetworkMemoryThreadParams, SaveNetworkMessageToMemoryParams, GetScorerResponse, GetScoresByScorerIdParams, GetScoresResponse, GetScoresByRunIdParams, GetScoresByEntityIdParams, SaveScoreParams, SaveScoreResponse, GetAITracesResponse } from './types.js';
7
7
  export declare class MastraClient extends BaseResource {
8
+ private observability;
8
9
  constructor(options: ClientOptions);
9
10
  /**
10
11
  * Retrieves all available agents
11
12
  * @returns Promise containing map of agent IDs to agent details
12
13
  */
13
14
  getAgents(): Promise<Record<string, GetAgentResponse>>;
14
- getAGUI({ resourceId }: {
15
- resourceId: string;
16
- }): Promise<Record<string, AbstractAgent>>;
17
15
  /**
18
16
  * Gets an agent instance by ID
19
17
  * @param agentId - ID of the agent to retrieve
@@ -115,6 +113,16 @@ export declare class MastraClient extends BaseResource {
115
113
  * @returns Workflow instance
116
114
  */
117
115
  getWorkflow(workflowId: string): Workflow;
116
+ /**
117
+ * Gets all available agent builder actions
118
+ * @returns Promise containing map of action IDs to action details
119
+ */
120
+ getAgentBuilderActions(): Promise<Record<string, WorkflowInfo>>;
121
+ /**
122
+ * Gets an agent builder instance for executing agent-builder workflows
123
+ * @returns AgentBuilder instance
124
+ */
125
+ getAgentBuilderAction(actionId: string): AgentBuilder;
118
126
  /**
119
127
  * Gets a vector instance by name
120
128
  * @param vectorName - Name of the vector to retrieve
@@ -266,5 +274,7 @@ export declare class MastraClient extends BaseResource {
266
274
  * @returns Promise containing model providers with available keys
267
275
  */
268
276
  getModelProviders(): Promise<string[]>;
277
+ getAITrace(traceId: string): Promise<AITraceRecord>;
278
+ getAITraces(params: AITracesPaginatedArg): Promise<GetAITracesResponse>;
269
279
  }
270
280
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EACL,KAAK,EACL,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,OAAO,EACP,GAAG,EACH,OAAO,EACP,cAAc,EACf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM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