@mastra/client-js 0.0.0-vector-query-tool-provider-options-20250828222356 → 0.0.0-vector-extension-schema-20250922130418
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 +429 -4
- package/README.md +7 -9
- package/dist/client.d.ts +37 -21
- package/dist/client.d.ts.map +1 -1
- package/dist/index.cjs +871 -417
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +869 -417
- package/dist/index.js.map +1 -1
- package/dist/resources/agent-builder.d.ts +160 -0
- package/dist/resources/agent-builder.d.ts.map +1 -0
- package/dist/resources/agent.d.ts +56 -11
- package/dist/resources/agent.d.ts.map +1 -1
- package/dist/resources/index.d.ts +1 -1
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/legacy-workflow.d.ts +5 -2
- package/dist/resources/legacy-workflow.d.ts.map +1 -1
- package/dist/resources/mcp-tool.d.ts +2 -1
- package/dist/resources/mcp-tool.d.ts.map +1 -1
- package/dist/resources/observability.d.ts.map +1 -1
- package/dist/resources/tool.d.ts +2 -1
- package/dist/resources/tool.d.ts.map +1 -1
- package/dist/resources/vNextNetwork.d.ts +2 -1
- package/dist/resources/vNextNetwork.d.ts.map +1 -1
- package/dist/resources/vector.d.ts +5 -2
- package/dist/resources/vector.d.ts.map +1 -1
- package/dist/resources/workflow.d.ts +110 -10
- package/dist/resources/workflow.d.ts.map +1 -1
- package/dist/tools.d.ts +22 -0
- package/dist/tools.d.ts.map +1 -0
- package/dist/types.d.ts +36 -21
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/process-mastra-stream.d.ts +5 -1
- package/dist/utils/process-mastra-stream.d.ts.map +1 -1
- package/package.json +19 -15
- package/.turbo/turbo-build.log +0 -18
- package/dist/adapters/agui.d.ts +0 -23
- package/dist/adapters/agui.d.ts.map +0 -1
- package/dist/resources/network.d.ts +0 -30
- package/dist/resources/network.d.ts.map +0 -1
- package/eslint.config.js +0 -11
- package/integration-tests/agui-adapter.test.ts +0 -122
- package/integration-tests/package.json +0 -18
- package/integration-tests/src/mastra/index.ts +0 -35
- package/integration-tests/vitest.config.ts +0 -9
- package/src/adapters/agui.test.ts +0 -293
- package/src/adapters/agui.ts +0 -257
- package/src/client.ts +0 -644
- package/src/example.ts +0 -95
- package/src/index.test.ts +0 -1253
- package/src/index.ts +0 -3
- package/src/resources/a2a.ts +0 -98
- package/src/resources/agent.ts +0 -1460
- package/src/resources/base.ts +0 -77
- package/src/resources/index.ts +0 -11
- package/src/resources/legacy-workflow.ts +0 -242
- package/src/resources/mcp-tool.ts +0 -48
- package/src/resources/memory-thread.test.ts +0 -285
- package/src/resources/memory-thread.ts +0 -99
- package/src/resources/network-memory-thread.test.ts +0 -269
- package/src/resources/network-memory-thread.ts +0 -81
- package/src/resources/network.ts +0 -86
- package/src/resources/observability.ts +0 -53
- package/src/resources/tool.ts +0 -45
- package/src/resources/vNextNetwork.ts +0 -194
- package/src/resources/vector.ts +0 -83
- package/src/resources/workflow.ts +0 -410
- package/src/types.ts +0 -534
- package/src/utils/index.ts +0 -11
- package/src/utils/process-client-tools.ts +0 -32
- package/src/utils/process-mastra-stream.test.ts +0 -353
- package/src/utils/process-mastra-stream.ts +0 -49
- package/src/utils/zod-to-json-schema.ts +0 -30
- package/src/v2-messages.test.ts +0 -180
- package/tsconfig.build.json +0 -9
- package/tsconfig.json +0 -5
- package/tsup.config.ts +0 -17
- package/vitest.config.js +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,438 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
-
## 0.0.0-vector-
|
|
3
|
+
## 0.0.0-vector-extension-schema-20250922130418
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- [#
|
|
7
|
+
- fix: result object type inference when using structuredOutput and unify output/structuredOutput types with single OUTPUT generic ([#7969](https://github.com/mastra-ai/mastra/pull/7969))
|
|
8
|
+
|
|
9
|
+
- Get rid off swr one for all ([#7931](https://github.com/mastra-ai/mastra/pull/7931))
|
|
10
|
+
|
|
11
|
+
- 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), [`a61f23f`](https://github.com/mastra-ai/mastra/commit/a61f23fbbca4b88b763d94f1d784c47895ed72d7), [`d1dc606`](https://github.com/mastra-ai/mastra/commit/d1dc6067b0557a71190b68d56ee15b48c26d2411), [`c45298a`](https://github.com/mastra-ai/mastra/commit/c45298a0a0791db35cf79f1199d77004da0704cb), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55), [`d3bd4d4`](https://github.com/mastra-ai/mastra/commit/d3bd4d482a685bbb67bfa89be91c90dca3fa71ad)]:
|
|
12
|
+
- @mastra/core@0.0.0-vector-extension-schema-20250922130418
|
|
13
|
+
|
|
14
|
+
## 0.13.2-alpha.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`c45298a`](https://github.com/mastra-ai/mastra/commit/c45298a0a0791db35cf79f1199d77004da0704cb)]:
|
|
19
|
+
- @mastra/core@0.17.2-alpha.1
|
|
20
|
+
|
|
21
|
+
## 0.13.2-alpha.0
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- fix: result object type inference when using structuredOutput and unify output/structuredOutput types with single OUTPUT generic ([#7969](https://github.com/mastra-ai/mastra/pull/7969))
|
|
26
|
+
|
|
27
|
+
- Get rid off swr one for all ([#7931](https://github.com/mastra-ai/mastra/pull/7931))
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [[`a61f23f`](https://github.com/mastra-ai/mastra/commit/a61f23fbbca4b88b763d94f1d784c47895ed72d7), [`d1dc606`](https://github.com/mastra-ai/mastra/commit/d1dc6067b0557a71190b68d56ee15b48c26d2411), [`d3bd4d4`](https://github.com/mastra-ai/mastra/commit/d3bd4d482a685bbb67bfa89be91c90dca3fa71ad)]:
|
|
30
|
+
- @mastra/core@0.17.2-alpha.0
|
|
31
|
+
|
|
32
|
+
## 0.13.1
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- fix workflow resuming issue in the playground ([#7988](https://github.com/mastra-ai/mastra/pull/7988))
|
|
37
|
+
|
|
38
|
+
- Updated dependencies [[`fd00e63`](https://github.com/mastra-ai/mastra/commit/fd00e63759cbcca3473c40cac9843280b0557cff), [`ab610f6`](https://github.com/mastra-ai/mastra/commit/ab610f6f41dbfe6c9502368671485ca7a0aac09b), [`e6bda5f`](https://github.com/mastra-ai/mastra/commit/e6bda5f954ee8493ea18adc1a883f0a5b785ad9b)]:
|
|
39
|
+
- @mastra/core@0.17.1
|
|
40
|
+
|
|
41
|
+
## 0.13.1-alpha.0
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- fix workflow resuming issue in the playground ([#7988](https://github.com/mastra-ai/mastra/pull/7988))
|
|
46
|
+
|
|
47
|
+
- Updated dependencies [[`fd00e63`](https://github.com/mastra-ai/mastra/commit/fd00e63759cbcca3473c40cac9843280b0557cff), [`ab610f6`](https://github.com/mastra-ai/mastra/commit/ab610f6f41dbfe6c9502368671485ca7a0aac09b), [`e6bda5f`](https://github.com/mastra-ai/mastra/commit/e6bda5f954ee8493ea18adc1a883f0a5b785ad9b)]:
|
|
48
|
+
- @mastra/core@0.17.1-alpha.0
|
|
49
|
+
|
|
50
|
+
## 0.13.0
|
|
51
|
+
|
|
52
|
+
### Minor Changes
|
|
53
|
+
|
|
54
|
+
- Remove original AgentNetwork ([#7919](https://github.com/mastra-ai/mastra/pull/7919))
|
|
55
|
+
|
|
56
|
+
- Fully deprecated createRun (now throws an error) in favour of createRunAsync ([#7897](https://github.com/mastra-ai/mastra/pull/7897))
|
|
57
|
+
|
|
58
|
+
### Patch Changes
|
|
59
|
+
|
|
60
|
+
- clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
|
|
61
|
+
|
|
62
|
+
- Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
|
|
63
|
+
|
|
64
|
+
- Resumable streams ([#7949](https://github.com/mastra-ai/mastra/pull/7949))
|
|
65
|
+
|
|
66
|
+
- Playground ui -pass runtimeContext to client SDK get methods ([#7767](https://github.com/mastra-ai/mastra/pull/7767))
|
|
67
|
+
|
|
68
|
+
- Improve client-js SDK agent and workflow APIs ([#7592](https://github.com/mastra-ai/mastra/pull/7592))
|
|
69
|
+
|
|
70
|
+
- Dedicated client-js SDK createTool without server dependencies ([#7781](https://github.com/mastra-ai/mastra/pull/7781))
|
|
71
|
+
|
|
72
|
+
- Update package.json and README ([#7886](https://github.com/mastra-ai/mastra/pull/7886))
|
|
73
|
+
|
|
74
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`6047778`](https://github.com/mastra-ai/mastra/commit/6047778e501df460648f31decddf8e443f36e373), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`05c7abf`](https://github.com/mastra-ai/mastra/commit/05c7abfe105a015b7760c9bf33ff4419727502a0), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`aee4f00`](https://github.com/mastra-ai/mastra/commit/aee4f00e61e1a42e81a6d74ff149dbe69e32695a), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
|
|
75
|
+
- @mastra/core@0.17.0
|
|
76
|
+
|
|
77
|
+
## 0.13.0-alpha.8
|
|
78
|
+
|
|
79
|
+
### Patch Changes
|
|
80
|
+
|
|
81
|
+
- Updated dependencies [[`05c7abf`](https://github.com/mastra-ai/mastra/commit/05c7abfe105a015b7760c9bf33ff4419727502a0), [`aee4f00`](https://github.com/mastra-ai/mastra/commit/aee4f00e61e1a42e81a6d74ff149dbe69e32695a)]:
|
|
82
|
+
- @mastra/core@0.17.0-alpha.8
|
|
83
|
+
|
|
84
|
+
## 0.13.0-alpha.7
|
|
85
|
+
|
|
86
|
+
### Patch Changes
|
|
87
|
+
|
|
88
|
+
- Updated dependencies [[`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689)]:
|
|
89
|
+
- @mastra/core@0.17.0-alpha.7
|
|
90
|
+
|
|
91
|
+
## 0.13.0-alpha.6
|
|
92
|
+
|
|
93
|
+
### Minor Changes
|
|
94
|
+
|
|
95
|
+
- Remove original AgentNetwork ([#7919](https://github.com/mastra-ai/mastra/pull/7919))
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
|
|
100
|
+
|
|
101
|
+
- Resumable streams ([#7949](https://github.com/mastra-ai/mastra/pull/7949))
|
|
102
|
+
|
|
103
|
+
- 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)]:
|
|
104
|
+
- @mastra/core@0.17.0-alpha.6
|
|
105
|
+
|
|
106
|
+
## 0.13.0-alpha.5
|
|
107
|
+
|
|
108
|
+
### Patch Changes
|
|
109
|
+
|
|
110
|
+
- Updated dependencies [[`6047778`](https://github.com/mastra-ai/mastra/commit/6047778e501df460648f31decddf8e443f36e373)]:
|
|
111
|
+
- @mastra/core@0.17.0-alpha.5
|
|
112
|
+
|
|
113
|
+
## 0.13.0-alpha.4
|
|
114
|
+
|
|
115
|
+
### Minor Changes
|
|
116
|
+
|
|
117
|
+
- Fully deprecated createRun (now throws an error) in favour of createRunAsync ([#7897](https://github.com/mastra-ai/mastra/pull/7897))
|
|
118
|
+
|
|
119
|
+
### Patch Changes
|
|
120
|
+
|
|
121
|
+
- Update package.json and README ([#7886](https://github.com/mastra-ai/mastra/pull/7886))
|
|
122
|
+
|
|
123
|
+
- Updated dependencies [[`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b)]:
|
|
124
|
+
- @mastra/core@0.17.0-alpha.4
|
|
125
|
+
|
|
126
|
+
## 0.12.4-alpha.3
|
|
127
|
+
|
|
128
|
+
### Patch Changes
|
|
129
|
+
|
|
130
|
+
- Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
|
|
131
|
+
|
|
132
|
+
- Updated dependencies [[`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
|
|
133
|
+
- @mastra/core@0.17.0-alpha.3
|
|
134
|
+
|
|
135
|
+
## 0.12.4-alpha.2
|
|
136
|
+
|
|
137
|
+
### Patch Changes
|
|
138
|
+
|
|
139
|
+
- Updated dependencies [[`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251)]:
|
|
140
|
+
- @mastra/core@0.16.4-alpha.2
|
|
141
|
+
|
|
142
|
+
## 0.12.4-alpha.1
|
|
143
|
+
|
|
144
|
+
### Patch Changes
|
|
145
|
+
|
|
146
|
+
- Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
|
|
147
|
+
- @mastra/core@0.16.4-alpha.1
|
|
148
|
+
|
|
149
|
+
## 0.12.4-alpha.0
|
|
150
|
+
|
|
151
|
+
### Patch Changes
|
|
152
|
+
|
|
153
|
+
- Playground ui -pass runtimeContext to client SDK get methods ([#7767](https://github.com/mastra-ai/mastra/pull/7767))
|
|
154
|
+
|
|
155
|
+
- Improve client-js SDK agent and workflow APIs ([#7592](https://github.com/mastra-ai/mastra/pull/7592))
|
|
156
|
+
|
|
157
|
+
- Dedicated client-js SDK createTool without server dependencies ([#7781](https://github.com/mastra-ai/mastra/pull/7781))
|
|
158
|
+
|
|
159
|
+
- Updated dependencies [[`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11)]:
|
|
160
|
+
- @mastra/core@0.16.4-alpha.0
|
|
161
|
+
|
|
162
|
+
## 0.12.3
|
|
163
|
+
|
|
164
|
+
### Patch Changes
|
|
165
|
+
|
|
166
|
+
- Delayed deprecation notice for streamVNext() replacing stream() until Sept 23rd ([#7739](https://github.com/mastra-ai/mastra/pull/7739))
|
|
167
|
+
|
|
168
|
+
- AN packages ([#7711](https://github.com/mastra-ai/mastra/pull/7711))
|
|
169
|
+
|
|
170
|
+
- Client SDK Agents, Mastra server - support runtimeContext with GET requests ([#7734](https://github.com/mastra-ai/mastra/pull/7734))
|
|
171
|
+
|
|
172
|
+
- Change SchemaCompat zodToJsonSchema ref strategy from none to relative, leading to less schema warnings and smaller converted schema sizes ([#7697](https://github.com/mastra-ai/mastra/pull/7697))
|
|
173
|
+
|
|
174
|
+
- Updated dependencies [[`b4379f7`](https://github.com/mastra-ai/mastra/commit/b4379f703fd74474f253420e8c3a684f2c4b2f8e), [`2a6585f`](https://github.com/mastra-ai/mastra/commit/2a6585f7cb71f023f805d521d1c3c95fb9a3aa59), [`3d26e83`](https://github.com/mastra-ai/mastra/commit/3d26e8353a945719028f087cc6ac4b06f0ce27d2), [`dd9119b`](https://github.com/mastra-ai/mastra/commit/dd9119b175a8f389082f75c12750e51f96d65dca), [`d34aaa1`](https://github.com/mastra-ai/mastra/commit/d34aaa1da5d3c5f991740f59e2fe6d28d3e2dd91), [`56e55d1`](https://github.com/mastra-ai/mastra/commit/56e55d1e9eb63e7d9e41aa46e012aae471256812), [`ce1e580`](https://github.com/mastra-ai/mastra/commit/ce1e580f6391e94a0c6816a9c5db0a21566a262f), [`b2babfa`](https://github.com/mastra-ai/mastra/commit/b2babfa9e75b22f2759179e71d8473f6dc5421ed), [`d8c3ba5`](https://github.com/mastra-ai/mastra/commit/d8c3ba516f4173282d293f7e64769cfc8738d360), [`a566c4e`](https://github.com/mastra-ai/mastra/commit/a566c4e92d86c1671707c54359b1d33934f7cc13), [`af333aa`](https://github.com/mastra-ai/mastra/commit/af333aa30fe6d1b127024b03a64736c46eddeca2), [`3863c52`](https://github.com/mastra-ai/mastra/commit/3863c52d44b4e5779968b802d977e87adf939d8e), [`6424c7e`](https://github.com/mastra-ai/mastra/commit/6424c7ec38b6921d66212431db1e0958f441b2a7), [`db94750`](https://github.com/mastra-ai/mastra/commit/db94750a41fd29b43eb1f7ce8e97ba8b9978c91b), [`a66a371`](https://github.com/mastra-ai/mastra/commit/a66a3716b00553d7f01842be9deb34f720b10fab), [`69fc3cd`](https://github.com/mastra-ai/mastra/commit/69fc3cd0fd814901785bdcf49bf536ab1e7fd975)]:
|
|
175
|
+
- @mastra/core@0.16.3
|
|
176
|
+
|
|
177
|
+
## 0.12.3-alpha.1
|
|
178
|
+
|
|
179
|
+
### Patch Changes
|
|
180
|
+
|
|
181
|
+
- Delayed deprecation notice for streamVNext() replacing stream() until Sept 23rd ([#7739](https://github.com/mastra-ai/mastra/pull/7739))
|
|
182
|
+
|
|
183
|
+
- Client SDK Agents, Mastra server - support runtimeContext with GET requests ([#7734](https://github.com/mastra-ai/mastra/pull/7734))
|
|
184
|
+
|
|
185
|
+
- Updated dependencies [[`2a6585f`](https://github.com/mastra-ai/mastra/commit/2a6585f7cb71f023f805d521d1c3c95fb9a3aa59), [`3d26e83`](https://github.com/mastra-ai/mastra/commit/3d26e8353a945719028f087cc6ac4b06f0ce27d2), [`56e55d1`](https://github.com/mastra-ai/mastra/commit/56e55d1e9eb63e7d9e41aa46e012aae471256812)]:
|
|
186
|
+
- @mastra/core@0.16.3-alpha.1
|
|
187
|
+
|
|
188
|
+
## 0.12.3-alpha.0
|
|
189
|
+
|
|
190
|
+
### Patch Changes
|
|
191
|
+
|
|
192
|
+
- AN packages ([#7711](https://github.com/mastra-ai/mastra/pull/7711))
|
|
193
|
+
|
|
194
|
+
- Change SchemaCompat zodToJsonSchema ref strategy from none to relative, leading to less schema warnings and smaller converted schema sizes ([#7697](https://github.com/mastra-ai/mastra/pull/7697))
|
|
195
|
+
|
|
196
|
+
- Updated dependencies [[`b4379f7`](https://github.com/mastra-ai/mastra/commit/b4379f703fd74474f253420e8c3a684f2c4b2f8e), [`dd9119b`](https://github.com/mastra-ai/mastra/commit/dd9119b175a8f389082f75c12750e51f96d65dca), [`d34aaa1`](https://github.com/mastra-ai/mastra/commit/d34aaa1da5d3c5f991740f59e2fe6d28d3e2dd91), [`ce1e580`](https://github.com/mastra-ai/mastra/commit/ce1e580f6391e94a0c6816a9c5db0a21566a262f), [`b2babfa`](https://github.com/mastra-ai/mastra/commit/b2babfa9e75b22f2759179e71d8473f6dc5421ed), [`d8c3ba5`](https://github.com/mastra-ai/mastra/commit/d8c3ba516f4173282d293f7e64769cfc8738d360), [`a566c4e`](https://github.com/mastra-ai/mastra/commit/a566c4e92d86c1671707c54359b1d33934f7cc13), [`af333aa`](https://github.com/mastra-ai/mastra/commit/af333aa30fe6d1b127024b03a64736c46eddeca2), [`3863c52`](https://github.com/mastra-ai/mastra/commit/3863c52d44b4e5779968b802d977e87adf939d8e), [`6424c7e`](https://github.com/mastra-ai/mastra/commit/6424c7ec38b6921d66212431db1e0958f441b2a7), [`db94750`](https://github.com/mastra-ai/mastra/commit/db94750a41fd29b43eb1f7ce8e97ba8b9978c91b), [`a66a371`](https://github.com/mastra-ai/mastra/commit/a66a3716b00553d7f01842be9deb34f720b10fab), [`69fc3cd`](https://github.com/mastra-ai/mastra/commit/69fc3cd0fd814901785bdcf49bf536ab1e7fd975)]:
|
|
197
|
+
- @mastra/core@0.16.3-alpha.0
|
|
198
|
+
|
|
199
|
+
## 0.12.2
|
|
200
|
+
|
|
201
|
+
### Patch Changes
|
|
202
|
+
|
|
203
|
+
- Updated dependencies [[`61926ef`](https://github.com/mastra-ai/mastra/commit/61926ef40d415b805a63527cffe27a50542e15e5)]:
|
|
204
|
+
- @mastra/core@0.16.2
|
|
205
|
+
|
|
206
|
+
## 0.12.2-alpha.0
|
|
207
|
+
|
|
208
|
+
### Patch Changes
|
|
209
|
+
|
|
210
|
+
- Updated dependencies [[`61926ef`](https://github.com/mastra-ai/mastra/commit/61926ef40d415b805a63527cffe27a50542e15e5)]:
|
|
211
|
+
- @mastra/core@0.16.2-alpha.0
|
|
212
|
+
|
|
213
|
+
## 0.12.1
|
|
214
|
+
|
|
215
|
+
### Patch Changes
|
|
216
|
+
|
|
217
|
+
- Allow streamVNext and generateVNext to use structuredOutputs from the MastraClient ([#7597](https://github.com/mastra-ai/mastra/pull/7597))
|
|
218
|
+
|
|
219
|
+
- Use workflow streamVNext in playground ([#7575](https://github.com/mastra-ai/mastra/pull/7575))
|
|
220
|
+
|
|
221
|
+
- Make agent streamVNext work with clientTools in client js ([#7577](https://github.com/mastra-ai/mastra/pull/7577))
|
|
222
|
+
|
|
223
|
+
- Updated dependencies [[`47b6dc9`](https://github.com/mastra-ai/mastra/commit/47b6dc94f4976d4f3d3882e8f19eb365bbc5976c), [`827d876`](https://github.com/mastra-ai/mastra/commit/827d8766f36a900afcaf64a040f7ba76249009b3), [`0662d02`](https://github.com/mastra-ai/mastra/commit/0662d02ef16916e67531890639fcd72c69cfb6e2), [`565d65f`](https://github.com/mastra-ai/mastra/commit/565d65fc16314a99f081975ec92f2636dff0c86d), [`6189844`](https://github.com/mastra-ai/mastra/commit/61898448e65bda02bb814fb15801a89dc6476938), [`4da3d68`](https://github.com/mastra-ai/mastra/commit/4da3d68a778e5c4d5a17351ef223289fe2f45a45), [`fd9bbfe`](https://github.com/mastra-ai/mastra/commit/fd9bbfee22484f8493582325f53e8171bf8e682b), [`7eaf1d1`](https://github.com/mastra-ai/mastra/commit/7eaf1d1cec7e828d7a98efc2a748ac395bbdba3b), [`6f046b5`](https://github.com/mastra-ai/mastra/commit/6f046b5ccc5c8721302a9a61d5d16c12374cc8d7), [`d7a8f59`](https://github.com/mastra-ai/mastra/commit/d7a8f59154b0621aec4f41a6b2ea2b3882f03cb7), [`0b0bbb2`](https://github.com/mastra-ai/mastra/commit/0b0bbb24f4198ead69792e92b68a350f52b45cf3), [`d951f41`](https://github.com/mastra-ai/mastra/commit/d951f41771e4e5da8da4b9f870949f9509e38756), [`4dda259`](https://github.com/mastra-ai/mastra/commit/4dda2593b6343f9258671de5fb237aeba3ef6bb7), [`8049e2e`](https://github.com/mastra-ai/mastra/commit/8049e2e8cce80a00353c64894c62b695ac34e35e), [`f3427cd`](https://github.com/mastra-ai/mastra/commit/f3427cdaf9eecd63360dfc897a4acbf5f4143a4e), [`defed1c`](https://github.com/mastra-ai/mastra/commit/defed1ca8040cc8d42e645c5a50a1bc52a4918d7), [`6991ced`](https://github.com/mastra-ai/mastra/commit/6991cedcb5a44a49d9fe58ef67926e1f96ba55b1), [`9cb9c42`](https://github.com/mastra-ai/mastra/commit/9cb9c422854ee81074989dd2d8dccc0500ba8d3e), [`8334859`](https://github.com/mastra-ai/mastra/commit/83348594d4f37b311ba4a94d679c5f8721d796d4), [`05f13b8`](https://github.com/mastra-ai/mastra/commit/05f13b8fb269ccfc4de98e9db58dbe16eae55a5e)]:
|
|
224
|
+
- @mastra/core@0.16.1
|
|
225
|
+
|
|
226
|
+
## 0.12.1-alpha.3
|
|
227
|
+
|
|
228
|
+
### Patch Changes
|
|
229
|
+
|
|
230
|
+
- Updated dependencies [[`fd9bbfe`](https://github.com/mastra-ai/mastra/commit/fd9bbfee22484f8493582325f53e8171bf8e682b)]:
|
|
231
|
+
- @mastra/core@0.16.1-alpha.3
|
|
232
|
+
|
|
233
|
+
## 0.12.1-alpha.2
|
|
234
|
+
|
|
235
|
+
### Patch Changes
|
|
236
|
+
|
|
237
|
+
- Updated dependencies [[`827d876`](https://github.com/mastra-ai/mastra/commit/827d8766f36a900afcaf64a040f7ba76249009b3), [`7eaf1d1`](https://github.com/mastra-ai/mastra/commit/7eaf1d1cec7e828d7a98efc2a748ac395bbdba3b), [`f3427cd`](https://github.com/mastra-ai/mastra/commit/f3427cdaf9eecd63360dfc897a4acbf5f4143a4e), [`05f13b8`](https://github.com/mastra-ai/mastra/commit/05f13b8fb269ccfc4de98e9db58dbe16eae55a5e)]:
|
|
238
|
+
- @mastra/core@0.16.1-alpha.2
|
|
239
|
+
|
|
240
|
+
## 0.12.1-alpha.1
|
|
241
|
+
|
|
242
|
+
### Patch Changes
|
|
243
|
+
|
|
244
|
+
- Allow streamVNext and generateVNext to use structuredOutputs from the MastraClient ([#7597](https://github.com/mastra-ai/mastra/pull/7597))
|
|
245
|
+
|
|
246
|
+
- Use workflow streamVNext in playground ([#7575](https://github.com/mastra-ai/mastra/pull/7575))
|
|
247
|
+
|
|
248
|
+
- Make agent streamVNext work with clientTools in client js ([#7577](https://github.com/mastra-ai/mastra/pull/7577))
|
|
249
|
+
|
|
250
|
+
- Updated dependencies [[`47b6dc9`](https://github.com/mastra-ai/mastra/commit/47b6dc94f4976d4f3d3882e8f19eb365bbc5976c), [`565d65f`](https://github.com/mastra-ai/mastra/commit/565d65fc16314a99f081975ec92f2636dff0c86d), [`4da3d68`](https://github.com/mastra-ai/mastra/commit/4da3d68a778e5c4d5a17351ef223289fe2f45a45), [`0b0bbb2`](https://github.com/mastra-ai/mastra/commit/0b0bbb24f4198ead69792e92b68a350f52b45cf3), [`d951f41`](https://github.com/mastra-ai/mastra/commit/d951f41771e4e5da8da4b9f870949f9509e38756), [`8049e2e`](https://github.com/mastra-ai/mastra/commit/8049e2e8cce80a00353c64894c62b695ac34e35e)]:
|
|
251
|
+
- @mastra/core@0.16.1-alpha.1
|
|
252
|
+
|
|
253
|
+
## 0.12.1-alpha.0
|
|
254
|
+
|
|
255
|
+
### Patch Changes
|
|
256
|
+
|
|
257
|
+
- Updated dependencies [[`0662d02`](https://github.com/mastra-ai/mastra/commit/0662d02ef16916e67531890639fcd72c69cfb6e2), [`6189844`](https://github.com/mastra-ai/mastra/commit/61898448e65bda02bb814fb15801a89dc6476938), [`d7a8f59`](https://github.com/mastra-ai/mastra/commit/d7a8f59154b0621aec4f41a6b2ea2b3882f03cb7), [`4dda259`](https://github.com/mastra-ai/mastra/commit/4dda2593b6343f9258671de5fb237aeba3ef6bb7), [`defed1c`](https://github.com/mastra-ai/mastra/commit/defed1ca8040cc8d42e645c5a50a1bc52a4918d7), [`6991ced`](https://github.com/mastra-ai/mastra/commit/6991cedcb5a44a49d9fe58ef67926e1f96ba55b1), [`9cb9c42`](https://github.com/mastra-ai/mastra/commit/9cb9c422854ee81074989dd2d8dccc0500ba8d3e), [`8334859`](https://github.com/mastra-ai/mastra/commit/83348594d4f37b311ba4a94d679c5f8721d796d4)]:
|
|
258
|
+
- @mastra/core@0.16.1-alpha.0
|
|
259
|
+
|
|
260
|
+
## 0.12.0
|
|
261
|
+
|
|
262
|
+
### Minor Changes
|
|
263
|
+
|
|
264
|
+
- 6155cfc: Remove AGUI implementation from client-js
|
|
265
|
+
|
|
266
|
+
### Patch Changes
|
|
267
|
+
|
|
268
|
+
- cf4e353: Agent Builder Template - adding in UI components to use agent builder template actions
|
|
269
|
+
- 5397eb4: Add public URL support when adding files in Multi Modal
|
|
270
|
+
- Updated dependencies [8fbf79e]
|
|
271
|
+
- Updated dependencies [fd83526]
|
|
272
|
+
- Updated dependencies [d0b90ab]
|
|
273
|
+
- Updated dependencies [6f5eb7a]
|
|
274
|
+
- Updated dependencies [a01cf14]
|
|
275
|
+
- Updated dependencies [a9e50ee]
|
|
276
|
+
- Updated dependencies [5397eb4]
|
|
277
|
+
- Updated dependencies [c9f4e4a]
|
|
278
|
+
- Updated dependencies [0acbc80]
|
|
279
|
+
- @mastra/core@0.16.0
|
|
280
|
+
|
|
281
|
+
## 0.12.0-alpha.1
|
|
282
|
+
|
|
283
|
+
### Patch Changes
|
|
284
|
+
|
|
285
|
+
- Updated dependencies [8fbf79e]
|
|
286
|
+
- @mastra/core@0.16.0-alpha.1
|
|
287
|
+
|
|
288
|
+
## 0.12.0-alpha.0
|
|
289
|
+
|
|
290
|
+
### Minor Changes
|
|
291
|
+
|
|
292
|
+
- 6155cfc: Remove AGUI implementation from client-js
|
|
293
|
+
|
|
294
|
+
### Patch Changes
|
|
295
|
+
|
|
296
|
+
- cf4e353: Agent Builder Template - adding in UI components to use agent builder template actions
|
|
297
|
+
- 5397eb4: Add public URL support when adding files in Multi Modal
|
|
298
|
+
- Updated dependencies [fd83526]
|
|
299
|
+
- Updated dependencies [d0b90ab]
|
|
300
|
+
- Updated dependencies [6f5eb7a]
|
|
301
|
+
- Updated dependencies [a01cf14]
|
|
302
|
+
- Updated dependencies [a9e50ee]
|
|
303
|
+
- Updated dependencies [5397eb4]
|
|
304
|
+
- Updated dependencies [c9f4e4a]
|
|
305
|
+
- Updated dependencies [0acbc80]
|
|
306
|
+
- @mastra/core@0.16.0-alpha.0
|
|
307
|
+
|
|
308
|
+
## 0.11.3
|
|
309
|
+
|
|
310
|
+
### Patch Changes
|
|
311
|
+
|
|
312
|
+
- ab48c97: dependencies updates:
|
|
313
|
+
- 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`)
|
|
314
|
+
- ff89505: Add deprecation warnings and add legacy routes
|
|
315
|
+
- de3cbc6: Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
|
|
316
|
+
- 26b0d7c: Cleanup pkg output
|
|
317
|
+
- 48f0742: add deployer, server and clientjs handlers for agent builder template
|
|
318
|
+
- 5de1555: Fixed tracingContext on tool executions in AI tracing
|
|
319
|
+
- Updated dependencies [ab48c97]
|
|
320
|
+
- Updated dependencies [85ef90b]
|
|
321
|
+
- Updated dependencies [aedbbfa]
|
|
322
|
+
- Updated dependencies [ff89505]
|
|
323
|
+
- Updated dependencies [637f323]
|
|
324
|
+
- Updated dependencies [de3cbc6]
|
|
325
|
+
- Updated dependencies [c19bcf7]
|
|
326
|
+
- Updated dependencies [4474d04]
|
|
327
|
+
- Updated dependencies [183dc95]
|
|
328
|
+
- Updated dependencies [a1111e2]
|
|
329
|
+
- Updated dependencies [b42a961]
|
|
330
|
+
- Updated dependencies [61debef]
|
|
331
|
+
- Updated dependencies [9beaeff]
|
|
332
|
+
- Updated dependencies [29de0e1]
|
|
333
|
+
- Updated dependencies [f643c65]
|
|
334
|
+
- Updated dependencies [00c74e7]
|
|
335
|
+
- Updated dependencies [fef7375]
|
|
336
|
+
- Updated dependencies [e3d8fea]
|
|
337
|
+
- Updated dependencies [45e4d39]
|
|
338
|
+
- Updated dependencies [9eee594]
|
|
339
|
+
- Updated dependencies [7149d8d]
|
|
340
|
+
- Updated dependencies [822c2e8]
|
|
341
|
+
- Updated dependencies [979912c]
|
|
342
|
+
- Updated dependencies [7dcf4c0]
|
|
343
|
+
- Updated dependencies [4106a58]
|
|
344
|
+
- Updated dependencies [ad78bfc]
|
|
345
|
+
- Updated dependencies [0302f50]
|
|
346
|
+
- Updated dependencies [6ac697e]
|
|
347
|
+
- Updated dependencies [74db265]
|
|
348
|
+
- Updated dependencies [0ce418a]
|
|
349
|
+
- Updated dependencies [af90672]
|
|
350
|
+
- Updated dependencies [8387952]
|
|
351
|
+
- Updated dependencies [7f3b8da]
|
|
352
|
+
- Updated dependencies [905352b]
|
|
353
|
+
- Updated dependencies [599d04c]
|
|
354
|
+
- Updated dependencies [56041d0]
|
|
355
|
+
- Updated dependencies [3412597]
|
|
356
|
+
- Updated dependencies [5eca5d2]
|
|
357
|
+
- Updated dependencies [f2cda47]
|
|
358
|
+
- Updated dependencies [5de1555]
|
|
359
|
+
- Updated dependencies [cfd377a]
|
|
360
|
+
- Updated dependencies [1ed5a3e]
|
|
361
|
+
- @mastra/core@0.15.3
|
|
362
|
+
|
|
363
|
+
## 0.11.3-alpha.9
|
|
364
|
+
|
|
365
|
+
### Patch Changes
|
|
366
|
+
|
|
367
|
+
- Updated dependencies [[`599d04c`](https://github.com/mastra-ai/mastra/commit/599d04cebe92c1d536fee3190434941b8c91548e)]:
|
|
368
|
+
- @mastra/core@0.15.3-alpha.9
|
|
369
|
+
|
|
370
|
+
## 0.11.3-alpha.8
|
|
371
|
+
|
|
372
|
+
### Patch Changes
|
|
373
|
+
|
|
374
|
+
- Updated dependencies [[`4474d04`](https://github.com/mastra-ai/mastra/commit/4474d0489b1e152e0985c33a4f529207317d27b5), [`4106a58`](https://github.com/mastra-ai/mastra/commit/4106a58b15b4c0a060a4a9ccab52d119d00d8edb)]:
|
|
375
|
+
- @mastra/core@0.15.3-alpha.8
|
|
376
|
+
|
|
377
|
+
## 0.11.3-alpha.7
|
|
378
|
+
|
|
379
|
+
### Patch Changes
|
|
380
|
+
|
|
381
|
+
- Updated dependencies [[`7149d8d`](https://github.com/mastra-ai/mastra/commit/7149d8d4bdc1edf0008e0ca9b7925eb0b8b60dbe)]:
|
|
382
|
+
- @mastra/core@0.15.3-alpha.7
|
|
383
|
+
|
|
384
|
+
## 0.11.3-alpha.6
|
|
385
|
+
|
|
386
|
+
### Patch Changes
|
|
387
|
+
|
|
388
|
+
- 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)]:
|
|
389
|
+
- @mastra/core@0.15.3-alpha.6
|
|
390
|
+
|
|
391
|
+
## 0.11.3-alpha.5
|
|
392
|
+
|
|
393
|
+
### Patch Changes
|
|
394
|
+
|
|
395
|
+
- [#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`.
|
|
396
|
+
|
|
397
|
+
- Updated dependencies [[`85ef90b`](https://github.com/mastra-ai/mastra/commit/85ef90bb2cd4ae4df855c7ac175f7d392c55c1bf), [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e)]:
|
|
398
|
+
- @mastra/core@0.15.3-alpha.5
|
|
399
|
+
|
|
400
|
+
## 0.11.3-alpha.4
|
|
401
|
+
|
|
402
|
+
### Patch Changes
|
|
403
|
+
|
|
404
|
+
- [#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:
|
|
405
|
+
- 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`)
|
|
406
|
+
|
|
407
|
+
- [#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
|
|
408
|
+
|
|
409
|
+
- [#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
|
|
410
|
+
|
|
411
|
+
- [#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
|
|
412
|
+
|
|
413
|
+
- 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)]:
|
|
414
|
+
- @mastra/core@0.15.3-alpha.4
|
|
415
|
+
|
|
416
|
+
## 0.11.3-alpha.3
|
|
417
|
+
|
|
418
|
+
### Patch Changes
|
|
419
|
+
|
|
420
|
+
- 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)]:
|
|
421
|
+
- @mastra/core@0.15.3-alpha.3
|
|
422
|
+
|
|
423
|
+
## 0.11.3-alpha.2
|
|
424
|
+
|
|
425
|
+
### Patch Changes
|
|
426
|
+
|
|
427
|
+
- Updated dependencies [[`822c2e8`](https://github.com/mastra-ai/mastra/commit/822c2e88a3ecbffb7c680e6227976006ccefe6a8)]:
|
|
428
|
+
- @mastra/core@0.15.3-alpha.2
|
|
429
|
+
|
|
430
|
+
## 0.11.3-alpha.1
|
|
431
|
+
|
|
432
|
+
### Patch Changes
|
|
8
433
|
|
|
9
|
-
- Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`
|
|
10
|
-
- @mastra/core@0.
|
|
434
|
+
- 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)]:
|
|
435
|
+
- @mastra/core@0.15.3-alpha.1
|
|
11
436
|
|
|
12
437
|
## 0.11.3-alpha.0
|
|
13
438
|
|
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.
|
|
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
|
|
@@ -79,10 +81,10 @@ const client = new MastraClient({
|
|
|
79
81
|
- `getWorkflows()`: Get all workflows
|
|
80
82
|
- `getWorkflow(workflowId)`: Get a workflow instance
|
|
81
83
|
- `workflow.details()`: Get workflow details
|
|
82
|
-
- `workflow.
|
|
83
|
-
- `workflow.
|
|
84
|
+
- `workflow.createRunAsync()`: Create workflow run
|
|
85
|
+
- `workflow.createRun()`: Deprecated - use createRunAsync() instead
|
|
84
86
|
- `workflow.startAsync(params)`: Execute the workflow and wait for execution results
|
|
85
|
-
- `workflow.resumeAsync(
|
|
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
|
|
@@ -123,7 +125,3 @@ The client uses the native `fetch` API internally for making HTTP requests. All
|
|
|
123
125
|
- Retry logic with exponential backoff
|
|
124
126
|
- Custom header management
|
|
125
127
|
- Error handling
|
|
126
|
-
|
|
127
|
-
## License
|
|
128
|
-
|
|
129
|
-
MIT
|
package/dist/client.d.ts
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { AITraceRecord, AITracesPaginatedArg } from '@mastra/core';
|
|
1
|
+
import type { AITraceRecord, AITracesPaginatedArg, WorkflowInfo } from '@mastra/core';
|
|
3
2
|
import type { ServerDetailInfo } from '@mastra/core/mcp';
|
|
4
|
-
import {
|
|
3
|
+
import type { RuntimeContext } from '@mastra/core/runtime-context';
|
|
4
|
+
import { Agent, MemoryThread, Tool, Workflow, Vector, BaseResource, A2A, MCPTool, LegacyWorkflow, AgentBuilder } from './resources/index.js';
|
|
5
5
|
import { NetworkMemoryThread } from './resources/network-memory-thread.js';
|
|
6
6
|
import { VNextNetwork } from './resources/vNextNetwork.js';
|
|
7
|
-
import type { ClientOptions, CreateMemoryThreadParams, CreateMemoryThreadResponse, GetAgentResponse, GetLogParams, GetLogsParams, GetLogsResponse, GetMemoryThreadParams, GetMemoryThreadResponse,
|
|
7
|
+
import type { ClientOptions, CreateMemoryThreadParams, CreateMemoryThreadResponse, GetAgentResponse, GetLogParams, GetLogsParams, GetLogsResponse, GetMemoryThreadParams, GetMemoryThreadResponse, GetTelemetryParams, GetTelemetryResponse, GetToolResponse, GetWorkflowResponse, SaveMessageToMemoryParams, SaveMessageToMemoryResponse, McpServerListResponse, McpServerToolListResponse, GetLegacyWorkflowResponse, GetVNextNetworkResponse, GetNetworkMemoryThreadParams, CreateNetworkMemoryThreadParams, SaveNetworkMessageToMemoryParams, GetScorerResponse, GetScoresByScorerIdParams, GetScoresResponse, GetScoresByRunIdParams, GetScoresByEntityIdParams, SaveScoreParams, SaveScoreResponse, GetAITracesResponse, GetMemoryConfigParams, GetMemoryConfigResponse, GetMemoryThreadMessagesResponse } from './types.js';
|
|
8
8
|
export declare class MastraClient extends BaseResource {
|
|
9
9
|
private observability;
|
|
10
10
|
constructor(options: ClientOptions);
|
|
11
11
|
/**
|
|
12
12
|
* Retrieves all available agents
|
|
13
|
+
* @param runtimeContext - Optional runtime context to pass as query parameter
|
|
13
14
|
* @returns Promise containing map of agent IDs to agent details
|
|
14
15
|
*/
|
|
15
|
-
getAgents(): Promise<Record<string, GetAgentResponse>>;
|
|
16
|
-
getAGUI({ resourceId }: {
|
|
17
|
-
resourceId: string;
|
|
18
|
-
}): Promise<Record<string, AbstractAgent>>;
|
|
16
|
+
getAgents(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetAgentResponse>>;
|
|
19
17
|
/**
|
|
20
18
|
* Gets an agent instance by ID
|
|
21
19
|
* @param agentId - ID of the agent to retrieve
|
|
@@ -28,6 +26,12 @@ export declare class MastraClient extends BaseResource {
|
|
|
28
26
|
* @returns Promise containing array of memory threads
|
|
29
27
|
*/
|
|
30
28
|
getMemoryThreads(params: GetMemoryThreadParams): Promise<GetMemoryThreadResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves memory config for a resource
|
|
31
|
+
* @param params - Parameters containing the resource ID
|
|
32
|
+
* @returns Promise containing array of memory threads
|
|
33
|
+
*/
|
|
34
|
+
getMemoryConfig(params: GetMemoryConfigParams): Promise<GetMemoryConfigResponse>;
|
|
31
35
|
/**
|
|
32
36
|
* Creates a new memory thread
|
|
33
37
|
* @param params - Parameters for creating the memory thread
|
|
@@ -40,6 +44,17 @@ export declare class MastraClient extends BaseResource {
|
|
|
40
44
|
* @returns MemoryThread instance
|
|
41
45
|
*/
|
|
42
46
|
getMemoryThread(threadId: string, agentId: string): MemoryThread;
|
|
47
|
+
getThreadMessages(threadId: string, opts?: {
|
|
48
|
+
agentId?: string;
|
|
49
|
+
networkId?: string;
|
|
50
|
+
}): Promise<GetMemoryThreadMessagesResponse>;
|
|
51
|
+
deleteThread(threadId: string, opts?: {
|
|
52
|
+
agentId?: string;
|
|
53
|
+
networkId?: string;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
success: boolean;
|
|
56
|
+
message: string;
|
|
57
|
+
}>;
|
|
43
58
|
/**
|
|
44
59
|
* Saves messages to memory
|
|
45
60
|
* @param params - Parameters containing messages to save
|
|
@@ -86,9 +101,10 @@ export declare class MastraClient extends BaseResource {
|
|
|
86
101
|
}>;
|
|
87
102
|
/**
|
|
88
103
|
* Retrieves all available tools
|
|
104
|
+
* @param runtimeContext - Optional runtime context to pass as query parameter
|
|
89
105
|
* @returns Promise containing map of tool IDs to tool details
|
|
90
106
|
*/
|
|
91
|
-
getTools(): Promise<Record<string, GetToolResponse>>;
|
|
107
|
+
getTools(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetToolResponse>>;
|
|
92
108
|
/**
|
|
93
109
|
* Gets a tool instance by ID
|
|
94
110
|
* @param toolId - ID of the tool to retrieve
|
|
@@ -108,15 +124,26 @@ export declare class MastraClient extends BaseResource {
|
|
|
108
124
|
getLegacyWorkflow(workflowId: string): LegacyWorkflow;
|
|
109
125
|
/**
|
|
110
126
|
* Retrieves all available workflows
|
|
127
|
+
* @param runtimeContext - Optional runtime context to pass as query parameter
|
|
111
128
|
* @returns Promise containing map of workflow IDs to workflow details
|
|
112
129
|
*/
|
|
113
|
-
getWorkflows(): Promise<Record<string, GetWorkflowResponse>>;
|
|
130
|
+
getWorkflows(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetWorkflowResponse>>;
|
|
114
131
|
/**
|
|
115
132
|
* Gets a workflow instance by ID
|
|
116
133
|
* @param workflowId - ID of the workflow to retrieve
|
|
117
134
|
* @returns Workflow instance
|
|
118
135
|
*/
|
|
119
136
|
getWorkflow(workflowId: string): Workflow;
|
|
137
|
+
/**
|
|
138
|
+
* Gets all available agent builder actions
|
|
139
|
+
* @returns Promise containing map of action IDs to action details
|
|
140
|
+
*/
|
|
141
|
+
getAgentBuilderActions(): Promise<Record<string, WorkflowInfo>>;
|
|
142
|
+
/**
|
|
143
|
+
* Gets an agent builder instance for executing agent-builder workflows
|
|
144
|
+
* @returns AgentBuilder instance
|
|
145
|
+
*/
|
|
146
|
+
getAgentBuilderAction(actionId: string): AgentBuilder;
|
|
120
147
|
/**
|
|
121
148
|
* Gets a vector instance by name
|
|
122
149
|
* @param vectorName - Name of the vector to retrieve
|
|
@@ -148,22 +175,11 @@ export declare class MastraClient extends BaseResource {
|
|
|
148
175
|
* @returns Promise containing telemetry data
|
|
149
176
|
*/
|
|
150
177
|
getTelemetry(params?: GetTelemetryParams): Promise<GetTelemetryResponse>;
|
|
151
|
-
/**
|
|
152
|
-
* Retrieves all available networks
|
|
153
|
-
* @returns Promise containing map of network IDs to network details
|
|
154
|
-
*/
|
|
155
|
-
getNetworks(): Promise<Array<GetNetworkResponse>>;
|
|
156
178
|
/**
|
|
157
179
|
* Retrieves all available vNext networks
|
|
158
180
|
* @returns Promise containing map of vNext network IDs to vNext network details
|
|
159
181
|
*/
|
|
160
182
|
getVNextNetworks(): Promise<Array<GetVNextNetworkResponse>>;
|
|
161
|
-
/**
|
|
162
|
-
* Gets a network instance by ID
|
|
163
|
-
* @param networkId - ID of the network to retrieve
|
|
164
|
-
* @returns Network instance
|
|
165
|
-
*/
|
|
166
|
-
getNetwork(networkId: string): Network;
|
|
167
183
|
/**
|
|
168
184
|
* Gets a vNext network instance by ID
|
|
169
185
|
* @param networkId - ID of the vNext network to retrieve
|