@mastra/mcp-docs-server 0.13.36 → 0.13.37-alpha.1
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/.docs/organized/changelogs/%40mastra%2Fagent-builder.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fai-sdk.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +52 -52
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Flance.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fmemory.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fmssql.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +27 -27
- package/.docs/organized/changelogs/%40mastra%2Freact.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fschema-compat.md +12 -0
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +15 -15
- package/.docs/organized/changelogs/create-mastra.md +9 -9
- package/.docs/organized/changelogs/mastra.md +25 -25
- package/.docs/raw/frameworks/agentic-uis/ai-sdk.mdx +10 -7
- package/.docs/raw/memory/overview.mdx +2 -2
- package/.docs/raw/memory/semantic-recall.mdx +4 -4
- package/.docs/raw/memory/storage/memory-with-mongodb.mdx +148 -0
- package/CHANGELOG.md +14 -0
- package/package.json +4 -4
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/agent-builder
|
|
2
2
|
|
|
3
|
+
## 0.2.3-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78)]:
|
|
8
|
+
- @mastra/core@0.23.2-alpha.0
|
|
9
|
+
- @mastra/memory@0.15.10-alpha.0
|
|
10
|
+
|
|
3
11
|
## 0.2.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -290,13 +298,5 @@
|
|
|
290
298
|
### Patch Changes
|
|
291
299
|
|
|
292
300
|
- 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), [`79b39c1`](https://github.com/mastra-ai/mastra/commit/79b39c1def3bbd5d6ee2d2cc1e89ea378a940477), [`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)]:
|
|
293
|
-
- @mastra/core@0.16.1-alpha.0
|
|
294
|
-
- @mastra/memory@0.15.0-alpha.0
|
|
295
|
-
|
|
296
|
-
## 0.0.2
|
|
297
|
-
|
|
298
|
-
### Patch Changes
|
|
299
|
-
|
|
300
|
-
- cf4e353: Agent Builder Template - adding in UI components to use agent builder template actions
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 167 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/ai-sdk
|
|
2
2
|
|
|
3
|
+
## 0.2.5-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix usage tracking with agent network ([#9413](https://github.com/mastra-ai/mastra/pull/9413))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`f57a81e`](https://github.com/mastra-ai/mastra/commit/f57a81e6ce644e45bf1c9618778cc54c50a84ad4), [`fc79af3`](https://github.com/mastra-ai/mastra/commit/fc79af3915d1c456729cbd753673b0c0564340d8), [`60bd45d`](https://github.com/mastra-ai/mastra/commit/60bd45de021f0dfbe6583928f6da5169cb5585ba), [`a30093d`](https://github.com/mastra-ai/mastra/commit/a30093de98c1836dcd5dfddf09649010712b8c95), [`e40d4d0`](https://github.com/mastra-ai/mastra/commit/e40d4d0a0971b4505e7c9de73c656066c7565653), [`ff16f9b`](https://github.com/mastra-ai/mastra/commit/ff16f9b9dbc701b26b6c4e9872f759f3880f9327), [`35e6cf7`](https://github.com/mastra-ai/mastra/commit/35e6cf722fef16ea0301eb9cf5a32fe9ccb12d22), [`30a2e36`](https://github.com/mastra-ai/mastra/commit/30a2e369485e0e59c4faa1d83c5635c2260b304c)]:
|
|
10
|
+
- @mastra/core@0.23.2-alpha.1
|
|
11
|
+
|
|
3
12
|
## 0.2.4
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -289,14 +298,5 @@
|
|
|
289
298
|
- 376913a: Update peerdeps
|
|
290
299
|
- Updated dependencies [8fbf79e]
|
|
291
300
|
- Updated dependencies [fd83526]
|
|
292
|
-
- Updated dependencies [d0b90ab]
|
|
293
|
-
- Updated dependencies [6f5eb7a]
|
|
294
|
-
- Updated dependencies [a01cf14]
|
|
295
|
-
- Updated dependencies [a9e50ee]
|
|
296
|
-
- Updated dependencies [5397eb4]
|
|
297
|
-
- Updated dependencies [c9f4e4a]
|
|
298
|
-
- Updated dependencies [0acbc80]
|
|
299
|
-
- @mastra/core@0.16.0
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 85 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 0.16.7-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`f57a81e`](https://github.com/mastra-ai/mastra/commit/f57a81e6ce644e45bf1c9618778cc54c50a84ad4), [`fc79af3`](https://github.com/mastra-ai/mastra/commit/fc79af3915d1c456729cbd753673b0c0564340d8), [`60bd45d`](https://github.com/mastra-ai/mastra/commit/60bd45de021f0dfbe6583928f6da5169cb5585ba), [`a30093d`](https://github.com/mastra-ai/mastra/commit/a30093de98c1836dcd5dfddf09649010712b8c95), [`e40d4d0`](https://github.com/mastra-ai/mastra/commit/e40d4d0a0971b4505e7c9de73c656066c7565653), [`ff16f9b`](https://github.com/mastra-ai/mastra/commit/ff16f9b9dbc701b26b6c4e9872f759f3880f9327), [`35e6cf7`](https://github.com/mastra-ai/mastra/commit/35e6cf722fef16ea0301eb9cf5a32fe9ccb12d22), [`30a2e36`](https://github.com/mastra-ai/mastra/commit/30a2e369485e0e59c4faa1d83c5635c2260b304c)]:
|
|
8
|
+
- @mastra/core@0.23.2-alpha.1
|
|
9
|
+
|
|
10
|
+
## 0.16.7-alpha.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78)]:
|
|
15
|
+
- @mastra/core@0.23.2-alpha.0
|
|
16
|
+
|
|
3
17
|
## 0.16.6
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -284,19 +298,5 @@
|
|
|
284
298
|
|
|
285
299
|
- Support passing tracing options for start/resume workflows for server APIs and client sdk ([#8277](https://github.com/mastra-ai/mastra/pull/8277))
|
|
286
300
|
|
|
287
|
-
- Support tracing options for workflow streaming endpoints ([#8278](https://github.com/mastra-ai/mastra/pull/8278))
|
|
288
|
-
|
|
289
|
-
- Adjust deprecation warnings ([#8326](https://github.com/mastra-ai/mastra/pull/8326))
|
|
290
|
-
|
|
291
|
-
- Add server apis to get scores by span ([#8237](https://github.com/mastra-ai/mastra/pull/8237))
|
|
292
|
-
|
|
293
|
-
- Updated dependencies [[`dc099b4`](https://github.com/mastra-ai/mastra/commit/dc099b40fb31147ba3f362f98d991892033c4c67), [`504438b`](https://github.com/mastra-ai/mastra/commit/504438b961bde211071186bba63a842c4e3db879), [`b342a68`](https://github.com/mastra-ai/mastra/commit/b342a68e1399cf1ece9ba11bda112db89d21118c), [`a7243e2`](https://github.com/mastra-ai/mastra/commit/a7243e2e58762667a6e3921e755e89d6bb0a3282), [`7fceb0a`](https://github.com/mastra-ai/mastra/commit/7fceb0a327d678e812f90f5387c5bc4f38bd039e), [`303a9c0`](https://github.com/mastra-ai/mastra/commit/303a9c0d7dd58795915979f06a0512359e4532fb), [`df64f9e`](https://github.com/mastra-ai/mastra/commit/df64f9ef814916fff9baedd861c988084e7c41de), [`370f8a6`](https://github.com/mastra-ai/mastra/commit/370f8a6480faec70fef18d72e5f7538f27004301), [`809eea0`](https://github.com/mastra-ai/mastra/commit/809eea092fa80c3f69b9eaf078d843b57fd2a88e), [`683e5a1`](https://github.com/mastra-ai/mastra/commit/683e5a1466e48b686825b2c11f84680f296138e4), [`3679378`](https://github.com/mastra-ai/mastra/commit/3679378673350aa314741dc826f837b1984149bc), [`7775bc2`](https://github.com/mastra-ai/mastra/commit/7775bc20bb1ad1ab24797fb420e4f96c65b0d8ec), [`623ffaf`](https://github.com/mastra-ai/mastra/commit/623ffaf2d969e11e99a0224633cf7b5a0815c857), [`9fc1613`](https://github.com/mastra-ai/mastra/commit/9fc16136400186648880fd990119ac15f7c02ee4), [`61f62aa`](https://github.com/mastra-ai/mastra/commit/61f62aa31bc88fe4ddf8da6240dbcfbeb07358bd), [`db1891a`](https://github.com/mastra-ai/mastra/commit/db1891a4707443720b7cd8a260dc7e1d49b3609c), [`e8f379d`](https://github.com/mastra-ai/mastra/commit/e8f379d390efa264c4e0874f9ac0cf8839b07777), [`652066b`](https://github.com/mastra-ai/mastra/commit/652066bd1efc6bb6813ba950ed1d7573e8b7d9d4), [`3e292ba`](https://github.com/mastra-ai/mastra/commit/3e292ba00837886d5d68a34cbc0d9b703c991883), [`418c136`](https://github.com/mastra-ai/mastra/commit/418c1366843d88e491bca3f87763899ce855ca29), [`ea8d386`](https://github.com/mastra-ai/mastra/commit/ea8d386cd8c5593664515fd5770c06bf2aa980ef), [`67b0f00`](https://github.com/mastra-ai/mastra/commit/67b0f005b520335c71fb85cbaa25df4ce8484a81), [`c2a4919`](https://github.com/mastra-ai/mastra/commit/c2a4919ba6797d8bdb1509e02287496eef69303e), [`c84b7d0`](https://github.com/mastra-ai/mastra/commit/c84b7d093c4657772140cbfd2b15ef72f3315ed5), [`0130986`](https://github.com/mastra-ai/mastra/commit/0130986fc62d0edcc626dd593282661dbb9af141)]:
|
|
294
|
-
- @mastra/core@0.19.0
|
|
295
|
-
|
|
296
|
-
## 0.14.0-alpha.1
|
|
297
|
-
|
|
298
|
-
### Patch Changes
|
|
299
|
-
|
|
300
|
-
- Fix duplicate messages being created using clientTools with client-js sdk ([#8187](https://github.com/mastra-ai/mastra/pull/8187))
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 3007 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 0.23.2-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix agent onChunk callback receiving wrapped chunk instead of direct chunk ([#9402](https://github.com/mastra-ai/mastra/pull/9402))
|
|
8
|
+
|
|
9
|
+
- Fix OpenAI schema validation errors in processors ([#9400](https://github.com/mastra-ai/mastra/pull/9400))
|
|
10
|
+
|
|
11
|
+
- Detect thenable objects returned by AI model providers ([#9414](https://github.com/mastra-ai/mastra/pull/9414))
|
|
12
|
+
|
|
13
|
+
- Bug fix: Use input processors that are passed in generate or stream agent options rather than always defaulting to the processors set on the Agent class. ([#9422](https://github.com/mastra-ai/mastra/pull/9422))
|
|
14
|
+
|
|
15
|
+
- Save correct status in snapshot for all workflow parallel steps. ([#9398](https://github.com/mastra-ai/mastra/pull/9398))
|
|
16
|
+
This ensures when you poll workflow run result using `getWorkflowRunExecutionResult(runId)`, you get the right status for all parallel steps
|
|
17
|
+
|
|
18
|
+
- Fix network loop iteration counter and usage promise handling: ([#9415](https://github.com/mastra-ai/mastra/pull/9415))
|
|
19
|
+
- Fixed iteration counter in network loop that was stuck at 0 due to falsy check. Properly handled zero values to ensure maxSteps is correctly enforced.
|
|
20
|
+
- Fixed usage promise resolution in RunOutput stream by properly resolving or rejecting the promise on stream close, preventing hanging promises when streams complete.
|
|
21
|
+
|
|
22
|
+
- Workflow validation zod v4 support ([#9363](https://github.com/mastra-ai/mastra/pull/9363))
|
|
23
|
+
|
|
24
|
+
- Fix usage tracking with agent network ([#9413](https://github.com/mastra-ai/mastra/pull/9413))
|
|
25
|
+
|
|
26
|
+
## 0.23.2-alpha.0
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Ensure model_generation spans end before agent_run spans. ([#9393](https://github.com/mastra-ai/mastra/pull/9393))
|
|
31
|
+
|
|
32
|
+
- Don't call `os.homedir()` at top level (but lazy invoke it) to accommodate sandboxed environments ([#9357](https://github.com/mastra-ai/mastra/pull/9357))
|
|
33
|
+
|
|
34
|
+
- Fix tool input validation to use schema-compat transformed schemas ([#9360](https://github.com/mastra-ai/mastra/pull/9360))
|
|
35
|
+
|
|
36
|
+
Previously, tool input validation used the original Zod schema while the LLM received a schema-compat transformed version. This caused validation failures when LLMs (like OpenAI o3 or Claude 3.5 Haiku) sent arguments matching the transformed schema but not the original.
|
|
37
|
+
|
|
38
|
+
For example:
|
|
39
|
+
- OpenAI o3 reasoning models convert `.optional()` to `.nullable()`, sending `null` values
|
|
40
|
+
- Claude 3.5 Haiku strips `min`/`max` string constraints, sending shorter strings
|
|
41
|
+
- Validation would reject these valid responses because it checked against the original schema
|
|
42
|
+
|
|
43
|
+
The fix ensures validation uses the same schema-compat processed schema that was sent to the LLM, eliminating this mismatch.
|
|
44
|
+
|
|
45
|
+
- Add import for WritableStream in execution-engine and dedupe llm.getModel in agent.ts ([#9341](https://github.com/mastra-ai/mastra/pull/9341))
|
|
46
|
+
|
|
47
|
+
- pass writableStream parameter to workflow execution ([#9339](https://github.com/mastra-ai/mastra/pull/9339))
|
|
48
|
+
|
|
49
|
+
- Add ability to pass agent options when wrapping an agent with createStep. This allows configuring agent execution settings when using agents as workflow steps. ([#9359](https://github.com/mastra-ai/mastra/pull/9359))
|
|
50
|
+
|
|
51
|
+
- Updated dependencies [[`6bb26c4`](https://github.com/mastra-ai/mastra/commit/6bb26c4e82795d70515577a7cbd1e186c07ccf24), [`8d8f674`](https://github.com/mastra-ai/mastra/commit/8d8f67428ad1bcc944e2666179c886bae80120f5)]:
|
|
52
|
+
- @mastra/schema-compat@0.11.6-alpha.0
|
|
53
|
+
|
|
3
54
|
## 0.23.1
|
|
4
55
|
|
|
5
56
|
### Patch Changes
|
|
@@ -247,56 +298,5 @@
|
|
|
247
298
|
- TraceState computed once at root span and inherited by all child spans
|
|
248
299
|
- Explicit metadata in span options takes precedence over extracted metadata
|
|
249
300
|
|
|
250
|
-
Example:
|
|
251
|
-
|
|
252
|
-
```typescript
|
|
253
|
-
const mastra = new Mastra({
|
|
254
|
-
observability: {
|
|
255
|
-
configs: {
|
|
256
|
-
default: {
|
|
257
|
-
runtimeContextKeys: ['userId', 'environment', 'tenantId'],
|
|
258
|
-
},
|
|
259
|
-
},
|
|
260
|
-
},
|
|
261
|
-
});
|
|
262
|
-
|
|
263
|
-
await agent.generate({
|
|
264
|
-
messages,
|
|
265
|
-
runtimeContext,
|
|
266
|
-
tracingOptions: {
|
|
267
|
-
runtimeContextKeys: ['experimentId'], // Adds to configured keys
|
|
268
|
-
},
|
|
269
|
-
});
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
- Fix provider tools for popular providers and add support for anthropic/claude skills. ([#9038](https://github.com/mastra-ai/mastra/pull/9038))
|
|
273
|
-
|
|
274
|
-
- Refactor workflowstream into workflow output with fullStream property ([#9048](https://github.com/mastra-ai/mastra/pull/9048))
|
|
275
|
-
|
|
276
|
-
- added tracing of LLM steps & chunks ([#9058](https://github.com/mastra-ai/mastra/pull/9058))
|
|
277
|
-
|
|
278
|
-
- Show agent tool output better in playground ([#9021](https://github.com/mastra-ai/mastra/pull/9021))
|
|
279
|
-
|
|
280
|
-
## 0.21.2-alpha.0
|
|
281
|
-
|
|
282
|
-
### Patch Changes
|
|
283
|
-
|
|
284
|
-
- Update provider registry and model documentation with latest models and providers ([`c67ca32`](https://github.com/mastra-ai/mastra/commit/c67ca32e3c2cf69bfc146580770c720220ca44ac))
|
|
285
|
-
|
|
286
|
-
- Add deprecation warnings for format:ai-sdk ([#9018](https://github.com/mastra-ai/mastra/pull/9018))
|
|
287
|
-
|
|
288
|
-
- network routing agent text delta ai-sdk streaming ([#8979](https://github.com/mastra-ai/mastra/pull/8979))
|
|
289
|
-
|
|
290
|
-
- Support writing custom top level stream chunks ([#8922](https://github.com/mastra-ai/mastra/pull/8922))
|
|
291
|
-
|
|
292
|
-
- fix(core): Fix Gemini message ordering validation errors (#7287, #8053) ([#8069](https://github.com/mastra-ai/mastra/pull/8069))
|
|
293
|
-
|
|
294
|
-
Fixes Gemini API "single turn requests" validation error by ensuring the first non-system message is from the user role. This resolves errors when:
|
|
295
|
-
- Messages start with assistant role (e.g., from memory truncation)
|
|
296
|
-
- Tool-call sequences begin with assistant messages
|
|
297
|
-
|
|
298
|
-
**Breaking Change**: Empty or system-only message lists now throw an error instead of adding a placeholder user message, preventing confusing LLM responses.
|
|
299
|
-
|
|
300
|
-
This fix handles both issue #7287 (tool-call ordering) and #8053 (single-turn validation) by inserting a placeholder user message when needed.
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 4630 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @mastra/deployer-cloud
|
|
2
2
|
|
|
3
|
+
## 0.23.2-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`f57a81e`](https://github.com/mastra-ai/mastra/commit/f57a81e6ce644e45bf1c9618778cc54c50a84ad4), [`fc79af3`](https://github.com/mastra-ai/mastra/commit/fc79af3915d1c456729cbd753673b0c0564340d8), [`60bd45d`](https://github.com/mastra-ai/mastra/commit/60bd45de021f0dfbe6583928f6da5169cb5585ba), [`a30093d`](https://github.com/mastra-ai/mastra/commit/a30093de98c1836dcd5dfddf09649010712b8c95), [`e40d4d0`](https://github.com/mastra-ai/mastra/commit/e40d4d0a0971b4505e7c9de73c656066c7565653), [`ff16f9b`](https://github.com/mastra-ai/mastra/commit/ff16f9b9dbc701b26b6c4e9872f759f3880f9327), [`35e6cf7`](https://github.com/mastra-ai/mastra/commit/35e6cf722fef16ea0301eb9cf5a32fe9ccb12d22), [`30a2e36`](https://github.com/mastra-ai/mastra/commit/30a2e369485e0e59c4faa1d83c5635c2260b304c)]:
|
|
8
|
+
- @mastra/core@0.23.2-alpha.1
|
|
9
|
+
- @mastra/deployer@0.23.2-alpha.1
|
|
10
|
+
|
|
11
|
+
## 0.23.2-alpha.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`17e5a4e`](https://github.com/mastra-ai/mastra/commit/17e5a4e828a8ebc6148c76b42a139c0f9bf7e25f), [`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78), [`30f92b5`](https://github.com/mastra-ai/mastra/commit/30f92b5b3aa224289f2f0eff56babcfa7a87b772)]:
|
|
16
|
+
- @mastra/deployer@0.23.2-alpha.0
|
|
17
|
+
- @mastra/core@0.23.2-alpha.0
|
|
18
|
+
|
|
3
19
|
## 0.23.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -282,21 +298,5 @@
|
|
|
282
298
|
|
|
283
299
|
- Bump cloud deployer external mastra deps ([#8363](https://github.com/mastra-ai/mastra/pull/8363))
|
|
284
300
|
|
|
285
|
-
- Updated dependencies [[`00cb6bd`](https://github.com/mastra-ai/mastra/commit/00cb6bdf78737c0fac14a5a0c7b532a11e38558a), [`869ba22`](https://github.com/mastra-ai/mastra/commit/869ba222e1d6b58fc1b65e7c9fd55ca4e01b8c2f), [`1b73665`](https://github.com/mastra-ai/mastra/commit/1b73665e8e23f5c09d49fcf3e7d709c75259259e), [`989a4db`](https://github.com/mastra-ai/mastra/commit/989a4dbbaf07a2794d0e1863714c6d10f1244d6b), [`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`084b77b`](https://github.com/mastra-ai/mastra/commit/084b77b2955960e0190af8db3f77138aa83ed65c), [`a93ff84`](https://github.com/mastra-ai/mastra/commit/a93ff84b5e1af07ee236ac8873dac9b49aa5d501), [`bc5aacb`](https://github.com/mastra-ai/mastra/commit/bc5aacb646d468d325327e36117129f28cd13bf6), [`6b5af12`](https://github.com/mastra-ai/mastra/commit/6b5af12ce9e09066e0c32e821c203a6954498bea), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`d41aee5`](https://github.com/mastra-ai/mastra/commit/d41aee526d124e35f42720a08e64043229193679), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`3ca833d`](https://github.com/mastra-ai/mastra/commit/3ca833dc994c38e3c9b4f9b4478a61cd8e07b32a), [`1edb8d1`](https://github.com/mastra-ai/mastra/commit/1edb8d1cfb963e72a12412990fb9170936c9904c), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a), [`4753027`](https://github.com/mastra-ai/mastra/commit/4753027ee889288775c6958bdfeda03ff909af67)]:
|
|
286
|
-
- @mastra/core@0.20.0-alpha.0
|
|
287
|
-
- @mastra/deployer@0.20.0-alpha.0
|
|
288
|
-
- @mastra/loggers@0.10.15-alpha.0
|
|
289
|
-
|
|
290
|
-
## 0.19.1
|
|
291
|
-
|
|
292
|
-
### Patch Changes
|
|
293
|
-
|
|
294
|
-
- Updated dependencies [[`4a70ccc`](https://github.com/mastra-ai/mastra/commit/4a70ccc5cfa12ae9c2b36545a5814cd98e5a0ead), [`0992b8b`](https://github.com/mastra-ai/mastra/commit/0992b8bf0f4f1ba7ad9940883ec4bb8d867d3105), [`283bea0`](https://github.com/mastra-ai/mastra/commit/283bea07adbaf04a27fa3ad2df611095e0825195)]:
|
|
295
|
-
- @mastra/core@0.19.1
|
|
296
|
-
- @mastra/deployer@0.19.1
|
|
297
|
-
|
|
298
|
-
## 0.19.1-alpha.1
|
|
299
|
-
|
|
300
|
-
### Patch Changes
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 603 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/deployer-cloudflare
|
|
2
2
|
|
|
3
|
+
## 0.14.15-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`17e5a4e`](https://github.com/mastra-ai/mastra/commit/17e5a4e828a8ebc6148c76b42a139c0f9bf7e25f), [`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78), [`30f92b5`](https://github.com/mastra-ai/mastra/commit/30f92b5b3aa224289f2f0eff56babcfa7a87b772)]:
|
|
8
|
+
- @mastra/deployer@0.23.2-alpha.0
|
|
9
|
+
- @mastra/core@0.23.2-alpha.0
|
|
10
|
+
|
|
3
11
|
## 0.14.14
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -290,13 +298,5 @@
|
|
|
290
298
|
- @mastra/core@0.18.0-alpha.2
|
|
291
299
|
- @mastra/deployer@0.18.0-alpha.2
|
|
292
300
|
|
|
293
|
-
## 0.14.2-alpha.0
|
|
294
|
-
|
|
295
|
-
### Patch Changes
|
|
296
|
-
|
|
297
|
-
- 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)]:
|
|
298
|
-
- @mastra/core@0.17.2-alpha.0
|
|
299
|
-
- @mastra/deployer@0.17.2-alpha.0
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 3950 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @mastra/deployer-netlify
|
|
2
2
|
|
|
3
|
+
## 0.13.15-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Do not apply ESM shim to output as Netlify should handle this already ([#9361](https://github.com/mastra-ai/mastra/pull/9361))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`17e5a4e`](https://github.com/mastra-ai/mastra/commit/17e5a4e828a8ebc6148c76b42a139c0f9bf7e25f), [`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78), [`30f92b5`](https://github.com/mastra-ai/mastra/commit/30f92b5b3aa224289f2f0eff56babcfa7a87b772)]:
|
|
10
|
+
- @mastra/deployer@0.23.2-alpha.0
|
|
11
|
+
- @mastra/core@0.23.2-alpha.0
|
|
12
|
+
|
|
3
13
|
## 0.13.14
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -289,14 +299,4 @@
|
|
|
289
299
|
|
|
290
300
|
### Patch Changes
|
|
291
301
|
|
|
292
|
-
|
|
293
|
-
- Updated dependency [`fs-extra@^11.3.2` ↗︎](https://www.npmjs.com/package/fs-extra/v/11.3.2) (from `^11.3.1`, in `dependencies`)
|
|
294
|
-
- Updated dependencies [[`288745a`](https://github.com/mastra-ai/mastra/commit/288745a19aa9557db3ab3c877d667ff59f14d79c), [`c45298a`](https://github.com/mastra-ai/mastra/commit/c45298a0a0791db35cf79f1199d77004da0704cb)]:
|
|
295
|
-
- @mastra/deployer@0.17.2-alpha.1
|
|
296
|
-
- @mastra/core@0.17.2-alpha.1
|
|
297
|
-
|
|
298
|
-
## 0.13.2-alpha.0
|
|
299
|
-
|
|
300
|
-
### Patch Changes
|
|
301
|
-
|
|
302
|
-
... 3679 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 3689 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/deployer-vercel
|
|
2
2
|
|
|
3
|
+
## 0.12.15-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`17e5a4e`](https://github.com/mastra-ai/mastra/commit/17e5a4e828a8ebc6148c76b42a139c0f9bf7e25f), [`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78), [`30f92b5`](https://github.com/mastra-ai/mastra/commit/30f92b5b3aa224289f2f0eff56babcfa7a87b772)]:
|
|
8
|
+
- @mastra/deployer@0.23.2-alpha.0
|
|
9
|
+
- @mastra/core@0.23.2-alpha.0
|
|
10
|
+
|
|
3
11
|
## 0.12.14
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -291,12 +299,4 @@
|
|
|
291
299
|
|
|
292
300
|
## 0.12.2-alpha.1
|
|
293
301
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
- dependencies updates: ([#8007](https://github.com/mastra-ai/mastra/pull/8007))
|
|
297
|
-
- Updated dependency [`fs-extra@^11.3.2` ↗︎](https://www.npmjs.com/package/fs-extra/v/11.3.2) (from `^11.3.1`, in `dependencies`)
|
|
298
|
-
- Updated dependencies [[`288745a`](https://github.com/mastra-ai/mastra/commit/288745a19aa9557db3ab3c877d667ff59f14d79c), [`c45298a`](https://github.com/mastra-ai/mastra/commit/c45298a0a0791db35cf79f1199d77004da0704cb)]:
|
|
299
|
-
- @mastra/deployer@0.17.2-alpha.1
|
|
300
|
-
- @mastra/core@0.17.2-alpha.1
|
|
301
|
-
|
|
302
|
-
... 3637 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 3645 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 0.23.2-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`f57a81e`](https://github.com/mastra-ai/mastra/commit/f57a81e6ce644e45bf1c9618778cc54c50a84ad4), [`fc79af3`](https://github.com/mastra-ai/mastra/commit/fc79af3915d1c456729cbd753673b0c0564340d8), [`60bd45d`](https://github.com/mastra-ai/mastra/commit/60bd45de021f0dfbe6583928f6da5169cb5585ba), [`a30093d`](https://github.com/mastra-ai/mastra/commit/a30093de98c1836dcd5dfddf09649010712b8c95), [`e40d4d0`](https://github.com/mastra-ai/mastra/commit/e40d4d0a0971b4505e7c9de73c656066c7565653), [`ff16f9b`](https://github.com/mastra-ai/mastra/commit/ff16f9b9dbc701b26b6c4e9872f759f3880f9327), [`35e6cf7`](https://github.com/mastra-ai/mastra/commit/35e6cf722fef16ea0301eb9cf5a32fe9ccb12d22), [`30a2e36`](https://github.com/mastra-ai/mastra/commit/30a2e369485e0e59c4faa1d83c5635c2260b304c)]:
|
|
8
|
+
- @mastra/core@0.23.2-alpha.1
|
|
9
|
+
- @mastra/server@0.23.2-alpha.1
|
|
10
|
+
|
|
11
|
+
## 0.23.2-alpha.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Add exportConditions options to nodeResolve plugin to ensure proper handling of Node.js export condition resolution during production builds. ([#9394](https://github.com/mastra-ai/mastra/pull/9394))
|
|
16
|
+
|
|
17
|
+
- Add better error handling during `mastra build` for `ERR_MODULE_NOT_FOUND` cases. ([#9338](https://github.com/mastra-ai/mastra/pull/9338))
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78)]:
|
|
20
|
+
- @mastra/core@0.23.2-alpha.0
|
|
21
|
+
- @mastra/server@0.23.2-alpha.0
|
|
22
|
+
|
|
3
23
|
## 0.23.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -278,25 +298,5 @@
|
|
|
278
298
|
- @mastra/server@0.20.2-alpha.1
|
|
279
299
|
- @mastra/core@0.20.2-alpha.1
|
|
280
300
|
|
|
281
|
-
## 0.20.2-alpha.0
|
|
282
|
-
|
|
283
|
-
### Patch Changes
|
|
284
|
-
|
|
285
|
-
- Updated dependencies [[`0d71771`](https://github.com/mastra-ai/mastra/commit/0d71771f5711164c79f8e80919bc84d6bffeb6bc), [`0d6e55e`](https://github.com/mastra-ai/mastra/commit/0d6e55ecc5a2e689cd4fc9c86525e0eb54d82372)]:
|
|
286
|
-
- @mastra/core@0.20.2-alpha.0
|
|
287
|
-
- @mastra/server@0.20.2-alpha.0
|
|
288
|
-
|
|
289
|
-
## 0.20.1
|
|
290
|
-
|
|
291
|
-
### Patch Changes
|
|
292
|
-
|
|
293
|
-
- fix: custom API routes now properly respect authentication requirements ([#8469](https://github.com/mastra-ai/mastra/pull/8469))
|
|
294
|
-
|
|
295
|
-
Fixed a critical bug where custom routes were bypassing authentication when they should have been protected by default. The issue was in the `isProtectedPath` function which only checked pattern-based protection but ignored custom route configurations.
|
|
296
|
-
- Custom routes are now protected by default or when specified with `requiresAuth: true`
|
|
297
|
-
- Custom routes properly inherit protection from parent patterns (like `/api/*`)
|
|
298
|
-
- Routes with explicit `requiresAuth: false` continue to work as public endpoints
|
|
299
|
-
- Enhanced `isProtectedPath` to consider both pattern matching and custom route auth config
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 4899 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/lance
|
|
2
2
|
|
|
3
|
+
## 0.3.9-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix eval filtering to use NULL checks instead of length function for compatibility with LanceDB 0.22.x ([#9340](https://github.com/mastra-ai/mastra/pull/9340))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78)]:
|
|
10
|
+
- @mastra/core@0.23.2-alpha.0
|
|
11
|
+
|
|
3
12
|
## 0.3.8
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -289,14 +298,5 @@
|
|
|
289
298
|
|
|
290
299
|
## 0.2.10
|
|
291
300
|
|
|
292
|
-
### Patch Changes
|
|
293
|
-
|
|
294
|
-
- [`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdpes for @mastra/core
|
|
295
|
-
|
|
296
|
-
- Updated dependencies []:
|
|
297
|
-
- @mastra/core@0.15.2
|
|
298
|
-
|
|
299
|
-
## 0.2.9
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 416 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 0.13.37-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`f57a81e`](https://github.com/mastra-ai/mastra/commit/f57a81e6ce644e45bf1c9618778cc54c50a84ad4), [`fc79af3`](https://github.com/mastra-ai/mastra/commit/fc79af3915d1c456729cbd753673b0c0564340d8), [`60bd45d`](https://github.com/mastra-ai/mastra/commit/60bd45de021f0dfbe6583928f6da5169cb5585ba), [`a30093d`](https://github.com/mastra-ai/mastra/commit/a30093de98c1836dcd5dfddf09649010712b8c95), [`e40d4d0`](https://github.com/mastra-ai/mastra/commit/e40d4d0a0971b4505e7c9de73c656066c7565653), [`ff16f9b`](https://github.com/mastra-ai/mastra/commit/ff16f9b9dbc701b26b6c4e9872f759f3880f9327), [`35e6cf7`](https://github.com/mastra-ai/mastra/commit/35e6cf722fef16ea0301eb9cf5a32fe9ccb12d22), [`30a2e36`](https://github.com/mastra-ai/mastra/commit/30a2e369485e0e59c4faa1d83c5635c2260b304c)]:
|
|
8
|
+
- @mastra/core@0.23.2-alpha.1
|
|
9
|
+
|
|
10
|
+
## 0.13.37-alpha.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78)]:
|
|
15
|
+
- @mastra/core@0.23.2-alpha.0
|
|
16
|
+
|
|
3
17
|
## 0.13.36
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -285,18 +299,4 @@
|
|
|
285
299
|
- @mastra/core@0.18.0-alpha.2
|
|
286
300
|
- @mastra/mcp@0.13.1-alpha.0
|
|
287
301
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
### Patch Changes
|
|
291
|
-
|
|
292
|
-
- Updated dependencies [[`c45298a`](https://github.com/mastra-ai/mastra/commit/c45298a0a0791db35cf79f1199d77004da0704cb)]:
|
|
293
|
-
- @mastra/core@0.17.2-alpha.1
|
|
294
|
-
|
|
295
|
-
## 0.13.24-alpha.0
|
|
296
|
-
|
|
297
|
-
### Patch Changes
|
|
298
|
-
|
|
299
|
-
- 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)]:
|
|
300
|
-
- @mastra/core@0.17.2-alpha.0
|
|
301
|
-
|
|
302
|
-
... 2122 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 2136 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/memory
|
|
2
2
|
|
|
3
|
+
## 0.15.10-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`6bb26c4`](https://github.com/mastra-ai/mastra/commit/6bb26c4e82795d70515577a7cbd1e186c07ccf24), [`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`8d8f674`](https://github.com/mastra-ai/mastra/commit/8d8f67428ad1bcc944e2666179c886bae80120f5), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78)]:
|
|
8
|
+
- @mastra/schema-compat@0.11.6-alpha.0
|
|
9
|
+
- @mastra/core@0.23.2-alpha.0
|
|
10
|
+
|
|
3
11
|
## 0.15.9
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -291,12 +299,4 @@
|
|
|
291
299
|
|
|
292
300
|
### Patch Changes
|
|
293
301
|
|
|
294
|
-
|
|
295
|
-
- 38020d5: Fix memory pagination not working when using query() method
|
|
296
|
-
|
|
297
|
-
The Memory.query() method was ignoring pagination parameters in the selectBy option, always returning all messages instead of the requested page. This fix ensures pagination works correctly by using storage.getMessagesPaginated() when pagination is requested, while maintaining backward compatibility with storage.getMessages() for non-paginated queries.
|
|
298
|
-
|
|
299
|
-
- Updated dependencies [8fbf79e]
|
|
300
|
-
- Updated dependencies [fd83526]
|
|
301
|
-
|
|
302
|
-
... 3227 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 3235 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @mastra/mssql
|
|
2
2
|
|
|
3
|
+
## 0.5.0-alpha.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Implemented AI tracing and observability features ([#9368](https://github.com/mastra-ai/mastra/pull/9368))
|
|
8
|
+
- Added createAISpan, updateAISpan, getAITrace, getAITracesPaginated
|
|
9
|
+
- Added batchCreateAISpans, batchUpdateAISpans, batchDeleteAITraces
|
|
10
|
+
- Automatic performance indexes for AI spans
|
|
11
|
+
|
|
12
|
+
Implemented workflow update methods
|
|
13
|
+
- Added updateWorkflowResults with row-level locking (UPDLOCK, HOLDLOCK)
|
|
14
|
+
- Added updateWorkflowState with row-level locking
|
|
15
|
+
- Concurrent update protection for parallel workflow execution
|
|
16
|
+
|
|
17
|
+
Added index management API
|
|
18
|
+
- Added createIndex, listIndexes, describeIndex, dropIndex methods
|
|
19
|
+
- Exposed index management methods directly on store instance
|
|
20
|
+
- Support for composite indexes, unique constraints, and filtered indexes
|
|
21
|
+
|
|
22
|
+
Documentation improvements
|
|
23
|
+
- Comprehensive README with complete API reference (58 methods)
|
|
24
|
+
- Detailed feature descriptions for all storage capabilities
|
|
25
|
+
- Index management examples and best practices
|
|
26
|
+
- Updated to reflect all atomic transaction usage
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [[`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78)]:
|
|
31
|
+
- @mastra/core@0.23.2-alpha.0
|
|
32
|
+
|
|
3
33
|
## 0.4.7
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
|
@@ -269,34 +299,4 @@
|
|
|
269
299
|
|
|
270
300
|
## 0.3.4
|
|
271
301
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
- [`95b2aa9`](https://github.com/mastra-ai/mastra/commit/95b2aa908230919e67efcac0d69005a2d5745298) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdeps @mastra/core
|
|
275
|
-
|
|
276
|
-
- Updated dependencies []:
|
|
277
|
-
- @mastra/core@0.15.1
|
|
278
|
-
|
|
279
|
-
## 0.3.3
|
|
280
|
-
|
|
281
|
-
### Patch Changes
|
|
282
|
-
|
|
283
|
-
- [#6994](https://github.com/mastra-ai/mastra/pull/6994) [`0594a70`](https://github.com/mastra-ai/mastra/commit/0594a70ac948d306c7f38765b171c9535e6c78d4) Thanks [@wardpeet](https://github.com/wardpeet)! - Improve type resolving for storage adapters
|
|
284
|
-
|
|
285
|
-
- 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)]:
|
|
286
|
-
- @mastra/core@0.15.0
|
|
287
|
-
|
|
288
|
-
## 0.3.3-alpha.0
|
|
289
|
-
|
|
290
|
-
### Patch Changes
|
|
291
|
-
|
|
292
|
-
- [#6994](https://github.com/mastra-ai/mastra/pull/6994) [`0594a70`](https://github.com/mastra-ai/mastra/commit/0594a70ac948d306c7f38765b171c9535e6c78d4) Thanks [@wardpeet](https://github.com/wardpeet)! - Improve type resolving for storage adapters
|
|
293
|
-
|
|
294
|
-
- 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)]:
|
|
295
|
-
- @mastra/core@0.14.2-alpha.1
|
|
296
|
-
|
|
297
|
-
## 0.3.2
|
|
298
|
-
|
|
299
|
-
### Patch Changes
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
... 256 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 286 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 6.7.2-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Extract more components to playground-ui for sharing with cloud ([#9416](https://github.com/mastra-ai/mastra/pull/9416))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`f57a81e`](https://github.com/mastra-ai/mastra/commit/f57a81e6ce644e45bf1c9618778cc54c50a84ad4), [`fc79af3`](https://github.com/mastra-ai/mastra/commit/fc79af3915d1c456729cbd753673b0c0564340d8), [`60bd45d`](https://github.com/mastra-ai/mastra/commit/60bd45de021f0dfbe6583928f6da5169cb5585ba), [`a30093d`](https://github.com/mastra-ai/mastra/commit/a30093de98c1836dcd5dfddf09649010712b8c95), [`e40d4d0`](https://github.com/mastra-ai/mastra/commit/e40d4d0a0971b4505e7c9de73c656066c7565653), [`ff16f9b`](https://github.com/mastra-ai/mastra/commit/ff16f9b9dbc701b26b6c4e9872f759f3880f9327), [`35e6cf7`](https://github.com/mastra-ai/mastra/commit/35e6cf722fef16ea0301eb9cf5a32fe9ccb12d22), [`30a2e36`](https://github.com/mastra-ai/mastra/commit/30a2e369485e0e59c4faa1d83c5635c2260b304c)]:
|
|
10
|
+
- @mastra/core@0.23.2-alpha.1
|
|
11
|
+
- @mastra/client-js@0.16.7-alpha.1
|
|
12
|
+
- @mastra/react@0.0.13-alpha.1
|
|
13
|
+
|
|
14
|
+
## 6.7.2-alpha.0
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Update MainSidebar component to fit required changes in Cloud CTA link ([#9364](https://github.com/mastra-ai/mastra/pull/9364))
|
|
19
|
+
|
|
20
|
+
- Render zod unions and discriminated unions correctly in dynamic form. ([#9365](https://github.com/mastra-ai/mastra/pull/9365))
|
|
21
|
+
|
|
22
|
+
- Move some components to playground-ui for usage in cloud ([#9358](https://github.com/mastra-ai/mastra/pull/9358))
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [[`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78)]:
|
|
25
|
+
- @mastra/core@0.23.2-alpha.0
|
|
26
|
+
- @mastra/client-js@0.16.7-alpha.0
|
|
27
|
+
- @mastra/react@0.0.13-alpha.0
|
|
28
|
+
|
|
3
29
|
## 6.7.1
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -272,31 +298,5 @@
|
|
|
272
298
|
|
|
273
299
|
### Patch Changes
|
|
274
300
|
|
|
275
|
-
- dependencies updates: ([#8685](https://github.com/mastra-ai/mastra/pull/8685))
|
|
276
|
-
- Updated dependency [`zod@^4.1.12` ↗︎](https://www.npmjs.com/package/zod/v/4.1.12) (from `^4.1.9`, in `dependencies`)
|
|
277
|
-
|
|
278
|
-
- Prepares some basic set of homemade components ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
|
|
279
|
-
|
|
280
|
-
- Adds reset button to model picker to reset to original model set on the agent. ([#8633](https://github.com/mastra-ai/mastra/pull/8633))
|
|
281
|
-
|
|
282
|
-
- Fix back the tripwire verification inside the new react system ([#8674](https://github.com/mastra-ai/mastra/pull/8674))
|
|
283
|
-
|
|
284
|
-
- Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
|
|
285
|
-
|
|
286
|
-
- handle error case in react sdk ([#8676](https://github.com/mastra-ai/mastra/pull/8676))
|
|
287
|
-
|
|
288
|
-
- Make sure to convert the agent instructions when showing them ([#8702](https://github.com/mastra-ai/mastra/pull/8702))
|
|
289
|
-
|
|
290
|
-
- Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
|
|
291
|
-
|
|
292
|
-
- Refactor EntryList component and Scorer and Observability pages ([#8652](https://github.com/mastra-ai/mastra/pull/8652))
|
|
293
|
-
|
|
294
|
-
- fix maxSteps model settings not being passed to generate and stream endpoints ([#8627](https://github.com/mastra-ai/mastra/pull/8627))
|
|
295
|
-
|
|
296
|
-
- Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
|
|
297
|
-
|
|
298
|
-
- Updated dependencies [[`f920afd`](https://github.com/mastra-ai/mastra/commit/f920afdf8725d14d73f895f51a24bb7c79bb4fba), [`2ddb851`](https://github.com/mastra-ai/mastra/commit/2ddb8519c4b6f1d31be10ffd33b41d2b649a04ff), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`2a90197`](https://github.com/mastra-ai/mastra/commit/2a90197276e8439a1ee8371c10cde4d6a23bddef), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`c3ef11f`](https://github.com/mastra-ai/mastra/commit/c3ef11f76e1931cf8f041e9eccf3b382260da022), [`78cfb6b`](https://github.com/mastra-ai/mastra/commit/78cfb6b66fe88bc848105fccb6459fd75413ec87), [`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), [`5f7c6a9`](https://github.com/mastra-ai/mastra/commit/5f7c6a986cd9469279820961f8da0a0321fbbd71), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb), [`59d036d`](https://github.com/mastra-ai/mastra/commit/59d036d4c2706b430b0e3f1f1e0ee853ce16ca04)]:
|
|
299
|
-
- @mastra/react@0.0.6-alpha.0
|
|
300
|
-
- @mastra/core@0.21.0-alpha.0
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 3881 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/react-hooks
|
|
2
2
|
|
|
3
|
+
## 0.0.13-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies []:
|
|
8
|
+
- @mastra/client-js@0.16.7-alpha.1
|
|
9
|
+
|
|
10
|
+
## 0.0.13-alpha.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies []:
|
|
15
|
+
- @mastra/client-js@0.16.7-alpha.0
|
|
16
|
+
|
|
3
17
|
## 0.0.12
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -285,18 +299,4 @@
|
|
|
285
299
|
|
|
286
300
|
### Patch Changes
|
|
287
301
|
|
|
288
|
-
|
|
289
|
-
- @mastra/client-js@0.14.1
|
|
290
|
-
|
|
291
|
-
## 0.0.2-alpha.1
|
|
292
|
-
|
|
293
|
-
### Patch Changes
|
|
294
|
-
|
|
295
|
-
- Updated dependencies []:
|
|
296
|
-
- @mastra/client-js@0.14.1-alpha.1
|
|
297
|
-
|
|
298
|
-
## 0.0.2-alpha.0
|
|
299
|
-
|
|
300
|
-
### Patch Changes
|
|
301
|
-
|
|
302
|
-
... 29 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 43 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @mastra/schema-compat
|
|
2
2
|
|
|
3
|
+
## 0.11.6-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix Zod v4 toJSONSchema bug with z.record() single-argument form ([#9355](https://github.com/mastra-ai/mastra/pull/9355))
|
|
8
|
+
|
|
9
|
+
Zod v4 has a bug in the single-argument form of `z.record(valueSchema)` where it incorrectly assigns the value schema to `keyType` instead of `valueType`, leaving `valueType` undefined. This causes `toJSONSchema()` to throw "Cannot read properties of undefined (reading '\_zod')" when processing schemas containing `z.record()` fields.
|
|
10
|
+
|
|
11
|
+
This fix patches affected schemas before conversion by detecting records with missing `valueType` and correctly assigning the schema to `valueType` while setting `keyType` to `z.string()` (the default). The patch recursively handles nested schemas including those wrapped in `.optional()`, `.nullable()`, arrays, unions, and objects.
|
|
12
|
+
|
|
13
|
+
- Improved reliability of string field types in tool schema compatibility ([#9362](https://github.com/mastra-ai/mastra/pull/9362))
|
|
14
|
+
|
|
3
15
|
## 0.11.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/server
|
|
2
2
|
|
|
3
|
+
## 0.23.2-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`f57a81e`](https://github.com/mastra-ai/mastra/commit/f57a81e6ce644e45bf1c9618778cc54c50a84ad4), [`fc79af3`](https://github.com/mastra-ai/mastra/commit/fc79af3915d1c456729cbd753673b0c0564340d8), [`60bd45d`](https://github.com/mastra-ai/mastra/commit/60bd45de021f0dfbe6583928f6da5169cb5585ba), [`a30093d`](https://github.com/mastra-ai/mastra/commit/a30093de98c1836dcd5dfddf09649010712b8c95), [`e40d4d0`](https://github.com/mastra-ai/mastra/commit/e40d4d0a0971b4505e7c9de73c656066c7565653), [`ff16f9b`](https://github.com/mastra-ai/mastra/commit/ff16f9b9dbc701b26b6c4e9872f759f3880f9327), [`35e6cf7`](https://github.com/mastra-ai/mastra/commit/35e6cf722fef16ea0301eb9cf5a32fe9ccb12d22), [`30a2e36`](https://github.com/mastra-ai/mastra/commit/30a2e369485e0e59c4faa1d83c5635c2260b304c)]:
|
|
8
|
+
- @mastra/core@0.23.2-alpha.1
|
|
9
|
+
|
|
10
|
+
## 0.23.2-alpha.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78)]:
|
|
15
|
+
- @mastra/core@0.23.2-alpha.0
|
|
16
|
+
|
|
3
17
|
## 0.23.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -285,18 +299,4 @@
|
|
|
285
299
|
|
|
286
300
|
### Patch Changes
|
|
287
301
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
- Updated dependencies [[`c621613`](https://github.com/mastra-ai/mastra/commit/c621613069173c69eb2c3ef19a5308894c6549f0), [`12b1189`](https://github.com/mastra-ai/mastra/commit/12b118942445e4de0dd916c593e33ec78dc3bc73), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`076b092`](https://github.com/mastra-ai/mastra/commit/076b0924902ff0f49d5712d2df24c4cca683713f), [`2aee9e7`](https://github.com/mastra-ai/mastra/commit/2aee9e7d188b8b256a4ddc203ccefb366b4867fa), [`c582906`](https://github.com/mastra-ai/mastra/commit/c5829065a346260f96c4beb8af131b94804ae3ad), [`fa2eb96`](https://github.com/mastra-ai/mastra/commit/fa2eb96af16c7d433891a73932764960d3235c1d), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`a739d0c`](https://github.com/mastra-ai/mastra/commit/a739d0c8b37cd89569e04a6ca0827083c6167e19), [`603e927`](https://github.com/mastra-ai/mastra/commit/603e9279db8bf8a46caf83881c6b7389ccffff7e), [`cd45982`](https://github.com/mastra-ai/mastra/commit/cd4598291cda128a88738734ae6cbef076ebdebd), [`874f74d`](https://github.com/mastra-ai/mastra/commit/874f74da4b1acf6517f18132d035612c3ecc394a), [`0baf2ba`](https://github.com/mastra-ai/mastra/commit/0baf2bab8420277072ef1f95df5ea7b0a2f61fe7), [`26e968d`](https://github.com/mastra-ai/mastra/commit/26e968db2171ded9e4d47aa1b4f19e1e771158d0), [`cbd3fb6`](https://github.com/mastra-ai/mastra/commit/cbd3fb65adb03a7c0df193cb998aed5ac56675ee)]:
|
|
291
|
-
- @mastra/core@0.20.1-alpha.1
|
|
292
|
-
|
|
293
|
-
## 0.20.1-alpha.0
|
|
294
|
-
|
|
295
|
-
### Patch Changes
|
|
296
|
-
|
|
297
|
-
- Updated dependencies [[`10e633a`](https://github.com/mastra-ai/mastra/commit/10e633a07d333466d9734c97acfc3dbf757ad2d0)]:
|
|
298
|
-
- @mastra/core@0.20.1-alpha.0
|
|
299
|
-
|
|
300
|
-
## 0.20.0
|
|
301
|
-
|
|
302
|
-
... 3888 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 3902 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# create-mastra
|
|
2
2
|
|
|
3
|
+
## 0.17.6-alpha.1
|
|
4
|
+
|
|
5
|
+
## 0.17.6-alpha.0
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- Update MainSidebar component to fit required changes in Cloud CTA link ([#9364](https://github.com/mastra-ai/mastra/pull/9364))
|
|
10
|
+
|
|
3
11
|
## 0.17.5
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -290,13 +298,5 @@
|
|
|
290
298
|
|
|
291
299
|
- Fixed an issue in playground where text-start/end parts were ignored in handleStreamChunk and tool ordering vs text wasn't retained ([#8234](https://github.com/mastra-ai/mastra/pull/8234))
|
|
292
300
|
|
|
293
|
-
- Add conditional chaining to scorer.agentNames return ([#8199](https://github.com/mastra-ai/mastra/pull/8199))
|
|
294
|
-
|
|
295
|
-
- Show model that worked when there are model fallbacks ([#8167](https://github.com/mastra-ai/mastra/pull/8167))
|
|
296
|
-
|
|
297
|
-
- Add types in the streamVNext codepath, fixes for various issues across multiple packages surfaced from type issues, align return types. ([#8010](https://github.com/mastra-ai/mastra/pull/8010))
|
|
298
|
-
|
|
299
|
-
- Add model fallbacks to playground ([#7427](https://github.com/mastra-ai/mastra/pull/7427))
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1794 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# mastra
|
|
2
2
|
|
|
3
|
+
## 0.17.6-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Make sure that `mastra init` also installs the `mastra` CLI package (if not already installed) ([#9423](https://github.com/mastra-ai/mastra/pull/9423))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`f57a81e`](https://github.com/mastra-ai/mastra/commit/f57a81e6ce644e45bf1c9618778cc54c50a84ad4), [`fc79af3`](https://github.com/mastra-ai/mastra/commit/fc79af3915d1c456729cbd753673b0c0564340d8), [`60bd45d`](https://github.com/mastra-ai/mastra/commit/60bd45de021f0dfbe6583928f6da5169cb5585ba), [`a30093d`](https://github.com/mastra-ai/mastra/commit/a30093de98c1836dcd5dfddf09649010712b8c95), [`e40d4d0`](https://github.com/mastra-ai/mastra/commit/e40d4d0a0971b4505e7c9de73c656066c7565653), [`ff16f9b`](https://github.com/mastra-ai/mastra/commit/ff16f9b9dbc701b26b6c4e9872f759f3880f9327), [`35e6cf7`](https://github.com/mastra-ai/mastra/commit/35e6cf722fef16ea0301eb9cf5a32fe9ccb12d22), [`30a2e36`](https://github.com/mastra-ai/mastra/commit/30a2e369485e0e59c4faa1d83c5635c2260b304c)]:
|
|
10
|
+
- @mastra/core@0.23.2-alpha.1
|
|
11
|
+
- @mastra/deployer@0.23.2-alpha.1
|
|
12
|
+
|
|
13
|
+
## 0.17.6-alpha.0
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Use dynamic model for scorers in create cli ([#9342](https://github.com/mastra-ai/mastra/pull/9342))
|
|
18
|
+
|
|
19
|
+
- Update MainSidebar component to fit required changes in Cloud CTA link ([#9364](https://github.com/mastra-ai/mastra/pull/9364))
|
|
20
|
+
|
|
21
|
+
- Better handle errors during `mastra start` and throw them with Mastra's logger. Also add special error handling for `ERR_MODULE_NOT_FOUND` cases. ([#9338](https://github.com/mastra-ai/mastra/pull/9338))
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [[`17e5a4e`](https://github.com/mastra-ai/mastra/commit/17e5a4e828a8ebc6148c76b42a139c0f9bf7e25f), [`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78), [`30f92b5`](https://github.com/mastra-ai/mastra/commit/30f92b5b3aa224289f2f0eff56babcfa7a87b772)]:
|
|
24
|
+
- @mastra/deployer@0.23.2-alpha.0
|
|
25
|
+
- @mastra/core@0.23.2-alpha.0
|
|
26
|
+
|
|
3
27
|
## 0.17.5
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -275,28 +299,4 @@
|
|
|
275
299
|
|
|
276
300
|
- Save waiting step status in snapshot ([#8576](https://github.com/mastra-ai/mastra/pull/8576))
|
|
277
301
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
- Convert WorkflowWatchResult to WorkflowResult in workflow graph ([#8541](https://github.com/mastra-ai/mastra/pull/8541))
|
|
281
|
-
|
|
282
|
-
- add new deploy to cloud button ([#8549](https://github.com/mastra-ai/mastra/pull/8549))
|
|
283
|
-
|
|
284
|
-
- remove icons in entity lists ([#8520](https://github.com/mastra-ai/mastra/pull/8520))
|
|
285
|
-
|
|
286
|
-
- add client search to all entities ([#8523](https://github.com/mastra-ai/mastra/pull/8523))
|
|
287
|
-
|
|
288
|
-
- Fixed an issue where model router was adding /chat/completions to API urls when it shouldn't. ([#8589](https://github.com/mastra-ai/mastra/pull/8589))
|
|
289
|
-
fixed an issue with provider ID rendering in playground UI
|
|
290
|
-
|
|
291
|
-
- Fix useStreamWorkflow unmounting breaking stream call ([#8449](https://github.com/mastra-ai/mastra/pull/8449))
|
|
292
|
-
|
|
293
|
-
- Remove shell from dev ([#8466](https://github.com/mastra-ai/mastra/pull/8466))
|
|
294
|
-
|
|
295
|
-
- UX for the agents page ([#8517](https://github.com/mastra-ai/mastra/pull/8517))
|
|
296
|
-
|
|
297
|
-
- add icons into playground titles + a link to the entity doc ([#8518](https://github.com/mastra-ai/mastra/pull/8518))
|
|
298
|
-
|
|
299
|
-
- Updated dependencies [[`c621613`](https://github.com/mastra-ai/mastra/commit/c621613069173c69eb2c3ef19a5308894c6549f0), [`ee17cec`](https://github.com/mastra-ai/mastra/commit/ee17cec065f4454740c9cc8f8a841027a5990f57), [`12b1189`](https://github.com/mastra-ai/mastra/commit/12b118942445e4de0dd916c593e33ec78dc3bc73), [`42ffed3`](https://github.com/mastra-ai/mastra/commit/42ffed311b9d8750652bbc55c773be62c989fcc6), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`076b092`](https://github.com/mastra-ai/mastra/commit/076b0924902ff0f49d5712d2df24c4cca683713f), [`2aee9e7`](https://github.com/mastra-ai/mastra/commit/2aee9e7d188b8b256a4ddc203ccefb366b4867fa), [`c582906`](https://github.com/mastra-ai/mastra/commit/c5829065a346260f96c4beb8af131b94804ae3ad), [`fa2eb96`](https://github.com/mastra-ai/mastra/commit/fa2eb96af16c7d433891a73932764960d3235c1d), [`ee9108f`](https://github.com/mastra-ai/mastra/commit/ee9108fa29bb8368fc23df158c9f0645b2d7b65c), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`a739d0c`](https://github.com/mastra-ai/mastra/commit/a739d0c8b37cd89569e04a6ca0827083c6167e19), [`a9c4cb7`](https://github.com/mastra-ai/mastra/commit/a9c4cb7d6a35de23ca51066f166a66e0e4cca418), [`603e927`](https://github.com/mastra-ai/mastra/commit/603e9279db8bf8a46caf83881c6b7389ccffff7e), [`cd45982`](https://github.com/mastra-ai/mastra/commit/cd4598291cda128a88738734ae6cbef076ebdebd), [`874f74d`](https://github.com/mastra-ai/mastra/commit/874f74da4b1acf6517f18132d035612c3ecc394a), [`b728a45`](https://github.com/mastra-ai/mastra/commit/b728a45ab3dba59da0f5ee36b81fe246659f305d), [`0baf2ba`](https://github.com/mastra-ai/mastra/commit/0baf2bab8420277072ef1f95df5ea7b0a2f61fe7), [`10e633a`](https://github.com/mastra-ai/mastra/commit/10e633a07d333466d9734c97acfc3dbf757ad2d0), [`a6d69c5`](https://github.com/mastra-ai/mastra/commit/a6d69c5fb50c0875b46275811fece5862f03c6a0), [`84199af`](https://github.com/mastra-ai/mastra/commit/84199af8673f6f9cb59286ffb5477a41932775de), [`7f431af`](https://github.com/mastra-ai/mastra/commit/7f431afd586b7d3265075e73106eb73167edbb86), [`26e968d`](https://github.com/mastra-ai/mastra/commit/26e968db2171ded9e4d47aa1b4f19e1e771158d0), [`cbd3fb6`](https://github.com/mastra-ai/mastra/commit/cbd3fb65adb03a7c0df193cb998aed5ac56675ee)]:
|
|
300
|
-
- @mastra/core@0.20.1
|
|
301
|
-
|
|
302
|
-
... 6323 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 6347 more lines hidden. See full changelog in package directory.
|
|
@@ -23,13 +23,13 @@ export const weatherAgent = new Agent({
|
|
|
23
23
|
});
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
> See [
|
|
26
|
+
> See [Using AI SDK with Mastra](/models#use-ai-sdk-with-mastra) for more information.
|
|
27
27
|
|
|
28
28
|
## Streaming
|
|
29
29
|
|
|
30
30
|
The recommended way of using Mastra and AI SDK together is by installing the `@mastra/ai-sdk` package. `@mastra/ai-sdk` provides custom API routes and utilities for streaming Mastra agents in AI SDK-compatible formats. Including chat, workflow, and network route handlers, along with utilities and exported types for UI integrations.
|
|
31
31
|
|
|
32
|
-
<Tabs items={["npm", "
|
|
32
|
+
<Tabs items={["npm", "pnpm", "yarn", "bun"]}>
|
|
33
33
|
<Tabs.Tab>
|
|
34
34
|
```bash copy
|
|
35
35
|
npm install @mastra/ai-sdk
|
|
@@ -37,12 +37,12 @@ The recommended way of using Mastra and AI SDK together is by installing the `@m
|
|
|
37
37
|
</Tabs.Tab>
|
|
38
38
|
<Tabs.Tab>
|
|
39
39
|
```bash copy
|
|
40
|
-
|
|
40
|
+
pnpm add @mastra/ai-sdk
|
|
41
41
|
```
|
|
42
42
|
</Tabs.Tab>
|
|
43
43
|
<Tabs.Tab>
|
|
44
44
|
```bash copy
|
|
45
|
-
|
|
45
|
+
yarn add @mastra/ai-sdk
|
|
46
46
|
```
|
|
47
47
|
</Tabs.Tab>
|
|
48
48
|
<Tabs.Tab>
|
|
@@ -197,6 +197,7 @@ Here's an example: For a [nested agent stream within a tool](/docs/streaming/too
|
|
|
197
197
|
|
|
198
198
|
import { useChat } from "@ai-sdk/react";
|
|
199
199
|
import { AgentTool } from '../ui/agent-tool';
|
|
200
|
+
import { DefaultChatTransport } from 'ai';
|
|
200
201
|
import type { AgentDataPart } from "@mastra/ai-sdk";
|
|
201
202
|
|
|
202
203
|
export default function Page() {
|
|
@@ -349,7 +350,7 @@ Mastra supports AI SDK UI hooks for connecting frontend components directly to a
|
|
|
349
350
|
|
|
350
351
|
Install the required AI SDK React package:
|
|
351
352
|
|
|
352
|
-
<Tabs items={["npm", "
|
|
353
|
+
<Tabs items={["npm", "pnpm", "yarn", "bun"]}>
|
|
353
354
|
<Tabs.Tab>
|
|
354
355
|
```bash copy
|
|
355
356
|
npm install @ai-sdk/react
|
|
@@ -357,12 +358,12 @@ Install the required AI SDK React package:
|
|
|
357
358
|
</Tabs.Tab>
|
|
358
359
|
<Tabs.Tab>
|
|
359
360
|
```bash copy
|
|
360
|
-
|
|
361
|
+
pnpm add @ai-sdk/react
|
|
361
362
|
```
|
|
362
363
|
</Tabs.Tab>
|
|
363
364
|
<Tabs.Tab>
|
|
364
365
|
```bash copy
|
|
365
|
-
|
|
366
|
+
yarn add @ai-sdk/react
|
|
366
367
|
```
|
|
367
368
|
</Tabs.Tab>
|
|
368
369
|
<Tabs.Tab>
|
|
@@ -382,6 +383,7 @@ The `useChat()` hook handles real-time chat interactions between your frontend a
|
|
|
382
383
|
|
|
383
384
|
import { useChat } from "@ai-sdk/react";
|
|
384
385
|
import { useState } from "react";
|
|
386
|
+
import { DefaultChatTransport } from 'ai';
|
|
385
387
|
|
|
386
388
|
export function Chat() {
|
|
387
389
|
const [inputValue, setInputValue] = useState('')
|
|
@@ -471,6 +473,7 @@ export async function POST(req: Request) {
|
|
|
471
473
|
|
|
472
474
|
import { useChat } from "@ai-sdk/react";
|
|
473
475
|
import { useState } from "react";
|
|
476
|
+
import { DefaultChatTransport } from 'ai';
|
|
474
477
|
|
|
475
478
|
export function ChatExtra() {
|
|
476
479
|
const [inputValue, setInputValue] = useState('')
|
|
@@ -51,7 +51,7 @@ That memory instance has options you can configure for working memory, conversat
|
|
|
51
51
|
|
|
52
52
|
## Different types of memory
|
|
53
53
|
|
|
54
|
-
Mastra supports three types of memory: working memory, conversation history, and semantic recall.
|
|
54
|
+
Mastra supports three types of memory: working memory, conversation history, and semantic recall.
|
|
55
55
|
|
|
56
56
|
[**Working memory**](./working-memory.mdx) stores persistent user-specific details such as names, preferences, goals, and other structured data. (Compare this to ChatGPT where you can ask it to tell you about yourself). This is implemented as a block of Markdown text that the agent is able to update over time (or alternately, as a Zod schema)
|
|
57
57
|
|
|
@@ -69,7 +69,7 @@ All memory types are [thread-scoped](./working-memory.mdx#thread-scoped-memory-d
|
|
|
69
69
|
|
|
70
70
|
To persist and recall information between conversations, memory requires a storage adapter.
|
|
71
71
|
|
|
72
|
-
Supported options include [LibSQL](/docs/memory/storage/memory-with-libsql), [MongoDB](/docs/memory/storage/memory-with-mongodb), [Postgres](/docs/memory/storage/memory-with-pg), and [Upstash](/docs/memory/storage/memory-with-upstash)
|
|
72
|
+
Supported options include [LibSQL](/docs/memory/storage/memory-with-libsql.mdx), [MongoDB](/docs/memory/storage/memory-with-mongodb.mdx), [Postgres](/docs/memory/storage/memory-with-pg.mdx), and [Upstash](/docs/memory/storage/memory-with-upstash.mdx)
|
|
73
73
|
|
|
74
74
|
We use LibSQL out of the box because it is file-based or in-memory, so it is easy to install and works well with the playground.
|
|
75
75
|
|
|
@@ -92,10 +92,10 @@ const agent = new Agent({
|
|
|
92
92
|
|
|
93
93
|
**Storage/vector code Examples**:
|
|
94
94
|
|
|
95
|
-
- [LibSQL](/docs/memory/storage/memory-with-libsql)
|
|
96
|
-
- [MongoDB](/docs/memory/storage/memory-with-mongodb)
|
|
97
|
-
- [Postgres](/docs/memory/storage/memory-with-pg)
|
|
98
|
-
- [Upstash](/docs/memory/storage/memory-with-upstash)
|
|
95
|
+
- [LibSQL](/docs/memory/storage/memory-with-libsql.mdx)
|
|
96
|
+
- [MongoDB](/docs/memory/storage/memory-with-mongodb.mdx)
|
|
97
|
+
- [Postgres](/docs/memory/storage/memory-with-pg.mdx)
|
|
98
|
+
- [Upstash](/docs/memory/storage/memory-with-upstash.mdx)
|
|
99
99
|
|
|
100
100
|
### Embedder configuration
|
|
101
101
|
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Example: Memory with MongoDB | Memory | Mastra Docs"
|
|
3
|
+
description: Example for how to use Mastra's memory system with MongoDB storage and vector capabilities.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Memory with MongoDB
|
|
7
|
+
|
|
8
|
+
This example demonstrates how to use Mastra's memory system with MongoDB as the storage backend.
|
|
9
|
+
|
|
10
|
+
## Prerequisites
|
|
11
|
+
|
|
12
|
+
This example uses the `openai` model and requires a MongoDB database. Make sure to add the following to your `.env` file:
|
|
13
|
+
|
|
14
|
+
```bash filename=".env" copy
|
|
15
|
+
OPENAI_API_KEY=<your-api-key>
|
|
16
|
+
MONGODB_URI=<your-connection-string>
|
|
17
|
+
MONGODB_DB_NAME=<your-db-name>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
And install the following package:
|
|
21
|
+
|
|
22
|
+
```bash copy
|
|
23
|
+
npm install @mastra/mongodb
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Adding memory to an agent
|
|
27
|
+
|
|
28
|
+
To add MongoDB memory to an agent use the `Memory` class and create a new `storage` key using `MongoDBStore`. The configuration supports both local and remote MongoDB instances.
|
|
29
|
+
|
|
30
|
+
```typescript filename="src/mastra/agents/example-mongodb-agent.ts" showLineNumbers copy
|
|
31
|
+
import { Memory } from "@mastra/memory";
|
|
32
|
+
import { Agent } from "@mastra/core/agent";
|
|
33
|
+
import { openai } from "@ai-sdk/openai";
|
|
34
|
+
import { MongoDBStore } from "@mastra/mongodb";
|
|
35
|
+
|
|
36
|
+
export const mongodbAgent = new Agent({
|
|
37
|
+
name: "mongodb-agent",
|
|
38
|
+
instructions: "You are an AI agent with the ability to automatically recall memories from previous interactions.",
|
|
39
|
+
model: openai("gpt-4o"),
|
|
40
|
+
memory: new Memory({
|
|
41
|
+
storage: new MongoDBStore({
|
|
42
|
+
url: process.env.MONGODB_URI!,
|
|
43
|
+
dbName: process.env.MONGODB_DB_NAME!
|
|
44
|
+
}),
|
|
45
|
+
options: {
|
|
46
|
+
threads: {
|
|
47
|
+
generateTitle: true
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
})
|
|
51
|
+
});
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Vector embeddings with MongoDB
|
|
55
|
+
|
|
56
|
+
Embeddings are numeric vectors used by memory's `semanticRecall` to retrieve related messages by meaning (not keywords).
|
|
57
|
+
|
|
58
|
+
> Note: You must use a deployment hosted on MongoDB Atlas to successfully use the MongoDB Vector database.
|
|
59
|
+
|
|
60
|
+
This setup uses FastEmbed, a local embedding model, to generate vector embeddings.
|
|
61
|
+
To use this, install `@mastra/fastembed`:
|
|
62
|
+
|
|
63
|
+
```bash copy
|
|
64
|
+
npm install @mastra/fastembed
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Add the following to your agent:
|
|
68
|
+
|
|
69
|
+
```typescript filename="src/mastra/agents/example-mongodb-agent.ts" showLineNumbers copy
|
|
70
|
+
import { Memory } from "@mastra/memory";
|
|
71
|
+
import { Agent } from "@mastra/core/agent";
|
|
72
|
+
import { openai } from "@ai-sdk/openai";
|
|
73
|
+
import { MongoDBStore, MongoDBVector } from "@mastra/mongodb";
|
|
74
|
+
import { fastembed } from "@mastra/fastembed";
|
|
75
|
+
|
|
76
|
+
export const mongodbAgent = new Agent({
|
|
77
|
+
name: "mongodb-agent",
|
|
78
|
+
instructions: "You are an AI agent with the ability to automatically recall memories from previous interactions.",
|
|
79
|
+
model: openai("gpt-4o"),
|
|
80
|
+
memory: new Memory({
|
|
81
|
+
storage: new MongoDBStore({
|
|
82
|
+
url: process.env.MONGODB_URI!,
|
|
83
|
+
dbName: process.env.MONGODB_DB_NAME!
|
|
84
|
+
}),
|
|
85
|
+
vector: new MongoDBVector({
|
|
86
|
+
uri: process.env.MONGODB_URI!,
|
|
87
|
+
dbName: process.env.MONGODB_DB_NAME!
|
|
88
|
+
}),
|
|
89
|
+
embedder: fastembed,
|
|
90
|
+
options: {
|
|
91
|
+
lastMessages: 10,
|
|
92
|
+
semanticRecall: {
|
|
93
|
+
topK: 3,
|
|
94
|
+
messageRange: 2
|
|
95
|
+
},
|
|
96
|
+
threads: {
|
|
97
|
+
generateTitle: true // generates descriptive thread titles automatically
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
})
|
|
101
|
+
});
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## Usage example
|
|
105
|
+
|
|
106
|
+
Use `memoryOptions` to scope recall for this request. Set `lastMessages: 5` to limit recency-based recall, and use `semanticRecall` to fetch the `topK: 3` most relevant messages, including `messageRange: 2` neighboring messages for context around each match.
|
|
107
|
+
|
|
108
|
+
```typescript filename="src/test-mongodb-agent.ts" showLineNumbers copy
|
|
109
|
+
import "dotenv/config";
|
|
110
|
+
|
|
111
|
+
import { mastra } from "./mastra";
|
|
112
|
+
|
|
113
|
+
const threadId = "123";
|
|
114
|
+
const resourceId = "user-456";
|
|
115
|
+
|
|
116
|
+
const agent = mastra.getAgent("mongodbAgent");
|
|
117
|
+
|
|
118
|
+
const message = await agent.stream("My name is Mastra", {
|
|
119
|
+
memory: {
|
|
120
|
+
thread: threadId,
|
|
121
|
+
resource: resourceId
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
await message.textStream.pipeTo(new WritableStream());
|
|
126
|
+
|
|
127
|
+
const stream = await agent.stream("What's my name?", {
|
|
128
|
+
memory: {
|
|
129
|
+
thread: threadId,
|
|
130
|
+
resource: resourceId
|
|
131
|
+
},
|
|
132
|
+
memoryOptions: {
|
|
133
|
+
lastMessages: 5,
|
|
134
|
+
semanticRecall: {
|
|
135
|
+
topK: 3,
|
|
136
|
+
messageRange: 2
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
for await (const chunk of stream.textStream) {
|
|
142
|
+
process.stdout.write(chunk);
|
|
143
|
+
}
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Related
|
|
147
|
+
|
|
148
|
+
- [Calling Agents](../agents/calling-agents.mdx)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 0.13.37-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`f57a81e`](https://github.com/mastra-ai/mastra/commit/f57a81e6ce644e45bf1c9618778cc54c50a84ad4), [`fc79af3`](https://github.com/mastra-ai/mastra/commit/fc79af3915d1c456729cbd753673b0c0564340d8), [`60bd45d`](https://github.com/mastra-ai/mastra/commit/60bd45de021f0dfbe6583928f6da5169cb5585ba), [`a30093d`](https://github.com/mastra-ai/mastra/commit/a30093de98c1836dcd5dfddf09649010712b8c95), [`e40d4d0`](https://github.com/mastra-ai/mastra/commit/e40d4d0a0971b4505e7c9de73c656066c7565653), [`ff16f9b`](https://github.com/mastra-ai/mastra/commit/ff16f9b9dbc701b26b6c4e9872f759f3880f9327), [`35e6cf7`](https://github.com/mastra-ai/mastra/commit/35e6cf722fef16ea0301eb9cf5a32fe9ccb12d22), [`30a2e36`](https://github.com/mastra-ai/mastra/commit/30a2e369485e0e59c4faa1d83c5635c2260b304c)]:
|
|
8
|
+
- @mastra/core@0.23.2-alpha.1
|
|
9
|
+
|
|
10
|
+
## 0.13.37-alpha.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78)]:
|
|
15
|
+
- @mastra/core@0.23.2-alpha.0
|
|
16
|
+
|
|
3
17
|
## 0.13.36
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.37-alpha.1",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"uuid": "^11.1.0",
|
|
34
34
|
"zod": "^3.25.76",
|
|
35
35
|
"zod-to-json-schema": "^3.24.6",
|
|
36
|
-
"@mastra/core": "0.23.1",
|
|
36
|
+
"@mastra/core": "0.23.2-alpha.1",
|
|
37
37
|
"@mastra/mcp": "^0.14.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"tsx": "^4.19.4",
|
|
50
50
|
"typescript": "^5.8.3",
|
|
51
51
|
"vitest": "^3.2.4",
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
52
|
+
"@internal/lint": "0.0.55",
|
|
53
|
+
"@mastra/core": "0.23.2-alpha.1"
|
|
54
54
|
},
|
|
55
55
|
"homepage": "https://mastra.ai",
|
|
56
56
|
"repository": {
|