@mastra/mcp-docs-server 0.13.29 → 0.13.30-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/.docs/organized/changelogs/%40internal%2Fchangeset-cli.md +2 -0
  2. package/.docs/organized/changelogs/%40internal%2Fstorage-test-utils.md +9 -9
  3. package/.docs/organized/changelogs/%40internal%2Ftypes-builder.md +2 -0
  4. package/.docs/organized/changelogs/%40mastra%2Fagent-builder.md +23 -23
  5. package/.docs/organized/changelogs/%40mastra%2Fai-sdk.md +21 -0
  6. package/.docs/organized/changelogs/%40mastra%2Fastra.md +16 -16
  7. package/.docs/organized/changelogs/%40mastra%2Fchroma.md +16 -16
  8. package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +16 -16
  9. package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +21 -21
  10. package/.docs/organized/changelogs/%40mastra%2Fcloud.md +16 -16
  11. package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +16 -16
  12. package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +16 -16
  13. package/.docs/organized/changelogs/%40mastra%2Fcore.md +78 -78
  14. package/.docs/organized/changelogs/%40mastra%2Fcouchbase.md +16 -16
  15. package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +29 -29
  16. package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +25 -25
  17. package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +25 -25
  18. package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +25 -25
  19. package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +34 -34
  20. package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +16 -16
  21. package/.docs/organized/changelogs/%40mastra%2Fevals.md +33 -33
  22. package/.docs/organized/changelogs/%40mastra%2Flance.md +16 -16
  23. package/.docs/organized/changelogs/%40mastra%2Flibsql.md +16 -16
  24. package/.docs/organized/changelogs/%40mastra%2Floggers.md +16 -16
  25. package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +16 -16
  26. package/.docs/organized/changelogs/%40mastra%2Fmcp-registry-registry.md +16 -16
  27. package/.docs/organized/changelogs/%40mastra%2Fmcp.md +16 -16
  28. package/.docs/organized/changelogs/%40mastra%2Fmemory.md +22 -22
  29. package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +16 -16
  30. package/.docs/organized/changelogs/%40mastra%2Fmssql.md +16 -16
  31. package/.docs/organized/changelogs/%40mastra%2Fopensearch.md +17 -17
  32. package/.docs/organized/changelogs/%40mastra%2Fpg.md +17 -17
  33. package/.docs/organized/changelogs/%40mastra%2Fpinecone.md +16 -16
  34. package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +46 -46
  35. package/.docs/organized/changelogs/%40mastra%2Fqdrant.md +16 -16
  36. package/.docs/organized/changelogs/%40mastra%2Frag.md +16 -16
  37. package/.docs/organized/changelogs/%40mastra%2Freact.md +24 -0
  38. package/.docs/organized/changelogs/%40mastra%2Fs3vectors.md +15 -0
  39. package/.docs/organized/changelogs/%40mastra%2Fserver.md +30 -30
  40. package/.docs/organized/changelogs/%40mastra%2Fturbopuffer.md +16 -16
  41. package/.docs/organized/changelogs/%40mastra%2Fupstash.md +19 -19
  42. package/.docs/organized/changelogs/%40mastra%2Fvectorize.md +17 -17
  43. package/.docs/organized/changelogs/%40mastra%2Fvoice-azure.md +18 -18
  44. package/.docs/organized/changelogs/%40mastra%2Fvoice-cloudflare.md +16 -16
  45. package/.docs/organized/changelogs/%40mastra%2Fvoice-deepgram.md +16 -16
  46. package/.docs/organized/changelogs/%40mastra%2Fvoice-elevenlabs.md +16 -16
  47. package/.docs/organized/changelogs/%40mastra%2Fvoice-gladia.md +16 -16
  48. package/.docs/organized/changelogs/%40mastra%2Fvoice-google-gemini-live.md +15 -0
  49. package/.docs/organized/changelogs/%40mastra%2Fvoice-google.md +16 -16
  50. package/.docs/organized/changelogs/%40mastra%2Fvoice-murf.md +16 -16
  51. package/.docs/organized/changelogs/%40mastra%2Fvoice-openai-realtime.md +16 -16
  52. package/.docs/organized/changelogs/%40mastra%2Fvoice-openai.md +16 -16
  53. package/.docs/organized/changelogs/%40mastra%2Fvoice-playai.md +16 -16
  54. package/.docs/organized/changelogs/%40mastra%2Fvoice-sarvam.md +16 -16
  55. package/.docs/organized/changelogs/%40mastra%2Fvoice-speechify.md +16 -16
  56. package/.docs/organized/changelogs/create-mastra.md +17 -17
  57. package/.docs/organized/changelogs/mastra.md +37 -37
  58. package/.docs/organized/code-examples/agent.md +26 -6
  59. package/.docs/organized/code-examples/agui.md +2 -2
  60. package/.docs/organized/code-examples/ai-elements.md +1 -1
  61. package/.docs/organized/code-examples/ai-sdk-useChat.md +2 -2
  62. package/.docs/organized/code-examples/ai-sdk-v5.md +2 -2
  63. package/.docs/organized/code-examples/assistant-ui.md +2 -2
  64. package/.docs/organized/code-examples/bird-checker-with-nextjs-and-eval.md +2 -2
  65. package/.docs/organized/code-examples/bird-checker-with-nextjs.md +2 -2
  66. package/.docs/organized/code-examples/client-side-tools.md +2 -2
  67. package/.docs/organized/code-examples/crypto-chatbot.md +2 -2
  68. package/.docs/organized/code-examples/heads-up-game.md +2 -2
  69. package/.docs/organized/code-examples/openapi-spec-writer.md +2 -2
  70. package/.docs/raw/agents/networks.mdx +12 -6
  71. package/.docs/raw/agents/overview.mdx +7 -4
  72. package/.docs/raw/agents/runtime-context.mdx +3 -0
  73. package/.docs/raw/frameworks/agentic-uis/ai-sdk.mdx +6 -3
  74. package/.docs/raw/getting-started/installation.mdx +0 -47
  75. package/.docs/raw/reference/agents/generateLegacy.mdx +4 -4
  76. package/.docs/raw/reference/streaming/agents/MastraModelOutput.mdx +9 -5
  77. package/.docs/raw/reference/streaming/agents/streamLegacy.mdx +4 -4
  78. package/.docs/raw/reference/streaming/workflows/observeStream.mdx +49 -0
  79. package/.docs/raw/reference/streaming/workflows/observeStreamVNext.mdx +47 -0
  80. package/.docs/raw/reference/streaming/workflows/resumeStreamVNext.mdx +7 -5
  81. package/.docs/raw/reference/streaming/workflows/stream.mdx +1 -1
  82. package/.docs/raw/streaming/workflow-streaming.mdx +23 -0
  83. package/CHANGELOG.md +8 -0
  84. package/package.json +5 -5
  85. package/.docs/raw/reference/agents/migration-guide.mdx +0 -291
@@ -1,5 +1,20 @@
1
1
  # @mastra/voice-openai
2
2
 
3
+ ## 0.11.9-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
8
+
9
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
10
+
11
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
12
+
13
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
14
+
15
+ - Updated dependencies [[`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb), [`59d036d`](https://github.com/mastra-ai/mastra/commit/59d036d4c2706b430b0e3f1f1e0ee853ce16ca04)]:
16
+ - @mastra/core@0.21.0-alpha.0
17
+
3
18
  ## 0.11.8
4
19
 
5
20
  ### Patch Changes
@@ -283,20 +298,5 @@
283
298
  - Updated dependencies [b0e43c1]
284
299
  - Updated dependencies [5d377e5]
285
300
  - Updated dependencies [1fb812e]
286
- - Updated dependencies [35c5798]
287
- - @mastra/core@0.13.0
288
-
289
- ## 0.10.8-alpha.0
290
-
291
- ### Patch Changes
292
-
293
- - 55856ed: dependencies updates:
294
- - Updated dependency [`openai@^5.11.0` ↗︎](https://www.npmjs.com/package/openai/v/5.11.0) (from `^5.10.2`, in `dependencies`)
295
- - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
296
- - Updated dependencies [cb36de0]
297
- - Updated dependencies [a82b851]
298
- - Updated dependencies [41a0a0e]
299
- - Updated dependencies [2871020]
300
- - Updated dependencies [4a406ec]
301
301
 
302
- ... 1383 more lines hidden. See full changelog in package directory.
302
+ ... 1398 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,20 @@
1
1
  # @mastra/voice-playai
2
2
 
3
+ ## 0.11.9-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
8
+
9
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
10
+
11
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
12
+
13
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
14
+
15
+ - Updated dependencies [[`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb), [`59d036d`](https://github.com/mastra-ai/mastra/commit/59d036d4c2706b430b0e3f1f1e0ee853ce16ca04)]:
16
+ - @mastra/core@0.21.0-alpha.0
17
+
3
18
  ## 0.11.8
4
19
 
5
20
  ### Patch Changes
@@ -284,19 +299,4 @@
284
299
 
285
300
  ### Patch Changes
286
301
 
287
- - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
288
- - Updated dependencies [cb36de0]
289
- - Updated dependencies [a82b851]
290
- - Updated dependencies [41a0a0e]
291
- - Updated dependencies [2871020]
292
- - Updated dependencies [4a406ec]
293
- - Updated dependencies [5d377e5]
294
- - @mastra/core@0.13.0-alpha.2
295
-
296
- ## 0.10.6
297
-
298
- ### Patch Changes
299
-
300
- - f42c4c2: update peer deps for packages to latest core range
301
-
302
- ... 1319 more lines hidden. See full changelog in package directory.
302
+ ... 1334 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,20 @@
1
1
  # @mastra/voice-sarvam
2
2
 
3
+ ## 0.11.9-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
8
+
9
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
10
+
11
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
12
+
13
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
14
+
15
+ - Updated dependencies [[`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb), [`59d036d`](https://github.com/mastra-ai/mastra/commit/59d036d4c2706b430b0e3f1f1e0ee853ce16ca04)]:
16
+ - @mastra/core@0.21.0-alpha.0
17
+
3
18
  ## 0.11.8
4
19
 
5
20
  ### Patch Changes
@@ -284,19 +299,4 @@
284
299
 
285
300
  ### Patch Changes
286
301
 
287
- - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
288
- - Updated dependencies [cb36de0]
289
- - Updated dependencies [a82b851]
290
- - Updated dependencies [41a0a0e]
291
- - Updated dependencies [2871020]
292
- - Updated dependencies [4a406ec]
293
- - Updated dependencies [5d377e5]
294
- - @mastra/core@0.13.0-alpha.2
295
-
296
- ## 0.10.6
297
-
298
- ### Patch Changes
299
-
300
- - f42c4c2: update peer deps for packages to latest core range
301
-
302
- ... 969 more lines hidden. See full changelog in package directory.
302
+ ... 984 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,20 @@
1
1
  # @mastra/voice-speechify
2
2
 
3
+ ## 0.11.9-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
8
+
9
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
10
+
11
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
12
+
13
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
14
+
15
+ - Updated dependencies [[`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb), [`59d036d`](https://github.com/mastra-ai/mastra/commit/59d036d4c2706b430b0e3f1f1e0ee853ce16ca04)]:
16
+ - @mastra/core@0.21.0-alpha.0
17
+
3
18
  ## 0.11.8
4
19
 
5
20
  ### Patch Changes
@@ -283,20 +298,5 @@
283
298
  - Updated dependencies [2871020]
284
299
  - Updated dependencies [94f4812]
285
300
  - Updated dependencies [e202b82]
286
- - Updated dependencies [e00f6a0]
287
- - Updated dependencies [4a406ec]
288
- - Updated dependencies [b0e43c1]
289
- - Updated dependencies [5d377e5]
290
- - Updated dependencies [1fb812e]
291
- - Updated dependencies [35c5798]
292
- - @mastra/core@0.13.0
293
-
294
- ## 0.10.7-alpha.0
295
-
296
- ### Patch Changes
297
-
298
- - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
299
- - Updated dependencies [cb36de0]
300
- - Updated dependencies [a82b851]
301
301
 
302
- ... 1334 more lines hidden. See full changelog in package directory.
302
+ ... 1349 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,21 @@
1
1
  # create-mastra
2
2
 
3
+ ## 0.15.2-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Use model-router in create-mastra starter template ([#8631](https://github.com/mastra-ai/mastra/pull/8631))
8
+
9
+ - Adds reset button to model picker to reset to original model set on the agent. ([#8633](https://github.com/mastra-ai/mastra/pull/8633))
10
+
11
+ - Refactor EntryList component and Scorer and Observability pages ([#8652](https://github.com/mastra-ai/mastra/pull/8652))
12
+
13
+ ## 0.15.1
14
+
15
+ ### Patch Changes
16
+
17
+ - Improve the overall flow of the `create-mastra` CLI by first asking all questions and then creating the project structure. If you skip entering an API key during the wizard, the `your-api-key` placeholder will now be added to an `.env.example` file instead of `.env`. ([#8603](https://github.com/mastra-ai/mastra/pull/8603))
18
+
3
19
  ## 0.15.1-alpha.1
4
20
 
5
21
  ## 0.15.1-alpha.0
@@ -282,21 +298,5 @@
282
298
 
283
299
  ## 0.12.4-alpha.0
284
300
 
285
- ### Patch Changes
286
-
287
- - fix minor playground stuff for observability ([#7765](https://github.com/mastra-ai/mastra/pull/7765))
288
-
289
- - Handle zod intersections in dynamic form ([#7768](https://github.com/mastra-ai/mastra/pull/7768))
290
-
291
- - Playground ui -pass runtimeContext to client SDK get methods ([#7767](https://github.com/mastra-ai/mastra/pull/7767))
292
-
293
- ## 0.12.3
294
-
295
- ### Patch Changes
296
-
297
- - Client SDK Agents, Mastra server - support runtimeContext with GET requests ([#7734](https://github.com/mastra-ai/mastra/pull/7734))
298
-
299
- ## 0.12.3-alpha.1
300
-
301
301
 
302
- ... 1676 more lines hidden. See full changelog in package directory.
302
+ ... 1692 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,41 @@
1
1
  # mastra
2
2
 
3
+ ## 0.15.2-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Use model-router in create-mastra starter template ([#8631](https://github.com/mastra-ai/mastra/pull/8631))
8
+
9
+ - Fix typo in playground causing semantic recall to always be false when enabled. ([#8640](https://github.com/mastra-ai/mastra/pull/8640))
10
+
11
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
12
+
13
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
14
+
15
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
16
+
17
+ - Refactor EntryList component and Scorer and Observability pages ([#8652](https://github.com/mastra-ai/mastra/pull/8652))
18
+
19
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
20
+
21
+ - Updated dependencies [[`0fb6616`](https://github.com/mastra-ai/mastra/commit/0fb66169600ed2a3dc1297b1bfa8a7693ebb6e3c), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`1dbd76a`](https://github.com/mastra-ai/mastra/commit/1dbd76aff29cc764d3a1ac7bb01172fe59cb5992), [`2ddb851`](https://github.com/mastra-ai/mastra/commit/2ddb8519c4b6f1d31be10ffd33b41d2b649a04ff), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb), [`59d036d`](https://github.com/mastra-ai/mastra/commit/59d036d4c2706b430b0e3f1f1e0ee853ce16ca04)]:
22
+ - @mastra/deployer@0.21.0-alpha.0
23
+ - @mastra/core@0.21.0-alpha.0
24
+ - @mastra/loggers@0.10.16-alpha.0
25
+ - @mastra/mcp@0.13.5-alpha.0
26
+
27
+ ## 0.15.1
28
+
29
+ ### Patch Changes
30
+
31
+ - Marked telemetry as disabled in the default template, in preperation for the Nov 4th deprecation. ([#8618](https://github.com/mastra-ai/mastra/pull/8618))
32
+
33
+ - Improve the overall flow of the `create-mastra` CLI by first asking all questions and then creating the project structure. If you skip entering an API key during the wizard, the `your-api-key` placeholder will now be added to an `.env.example` file instead of `.env`. ([#8603](https://github.com/mastra-ai/mastra/pull/8603))
34
+
35
+ - Updated dependencies [[`07eaf25`](https://github.com/mastra-ai/mastra/commit/07eaf25aada9e42235dbf905854de53da4d8121b), [`0d71771`](https://github.com/mastra-ai/mastra/commit/0d71771f5711164c79f8e80919bc84d6bffeb6bc), [`0d6e55e`](https://github.com/mastra-ai/mastra/commit/0d6e55ecc5a2e689cd4fc9c86525e0eb54d82372), [`68b1111`](https://github.com/mastra-ai/mastra/commit/68b11118a1303f93e9c0c157850c0751309304c5)]:
36
+ - @mastra/core@0.20.2
37
+ - @mastra/deployer@0.20.2
38
+
3
39
  ## 0.15.1-alpha.1
4
40
 
5
41
  ### Patch Changes
@@ -262,41 +298,5 @@
262
298
  - disable network label when memory is not enabled OR the agent has no subagents ([#8341](https://github.com/mastra-ai/mastra/pull/8341))
263
299
 
264
300
  - Updated dependencies [[`4a70ccc`](https://github.com/mastra-ai/mastra/commit/4a70ccc5cfa12ae9c2b36545a5814cd98e5a0ead)]:
265
- - @mastra/core@0.19.1-alpha.1
266
- - @mastra/deployer@0.19.1-alpha.1
267
-
268
- ## 0.13.4-alpha.0
269
-
270
- ### Patch Changes
271
-
272
- - Added Mastra model router to Playground UI ([#8332](https://github.com/mastra-ai/mastra/pull/8332))
273
-
274
- - Updated dependencies [[`0992b8b`](https://github.com/mastra-ai/mastra/commit/0992b8bf0f4f1ba7ad9940883ec4bb8d867d3105), [`283bea0`](https://github.com/mastra-ai/mastra/commit/283bea07adbaf04a27fa3ad2df611095e0825195)]:
275
- - @mastra/deployer@0.19.1-alpha.0
276
- - @mastra/core@0.19.1-alpha.0
277
-
278
- ## 0.13.3
279
-
280
- ### Patch Changes
281
-
282
- - Remove legacy helpers ([#8017](https://github.com/mastra-ai/mastra/pull/8017))
283
-
284
- - add a way to hide the deploy mastra cloud button ([#8137](https://github.com/mastra-ai/mastra/pull/8137))
285
-
286
- - Update peer deps ([#8154](https://github.com/mastra-ai/mastra/pull/8154))
287
-
288
- - 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))
289
-
290
- - Add conditional chaining to scorer.agentNames return ([#8199](https://github.com/mastra-ai/mastra/pull/8199))
291
-
292
- - Show model that worked when there are model fallbacks ([#8167](https://github.com/mastra-ai/mastra/pull/8167))
293
-
294
- - 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))
295
-
296
- - Add model fallbacks to playground ([#7427](https://github.com/mastra-ai/mastra/pull/7427))
297
-
298
- - Updated dependencies [[`5089c84`](https://github.com/mastra-ai/mastra/commit/5089c84a2f535ad12e79b5aa524ad7d8ca5e2b4c), [`5f4e677`](https://github.com/mastra-ai/mastra/commit/5f4e67757bc23f2694d83af10f88cfccdc6013ff), [`5c98f03`](https://github.com/mastra-ai/mastra/commit/5c98f03ae76d9a93cd6be206b4abb7bf186b3163), [`dc099b4`](https://github.com/mastra-ai/mastra/commit/dc099b40fb31147ba3f362f98d991892033c4c67), [`57b75b0`](https://github.com/mastra-ai/mastra/commit/57b75b01c0c64d91c50d7384c700afda89456fe8), [`4c5e65d`](https://github.com/mastra-ai/mastra/commit/4c5e65de746fbdab23eb6072cb999f4c7aeef9f3), [`504438b`](https://github.com/mastra-ai/mastra/commit/504438b961bde211071186bba63a842c4e3db879), [`57b6dd5`](https://github.com/mastra-ai/mastra/commit/57b6dd50f9e6d92c0ed3e7199e6a92752025e3a1), [`b342a68`](https://github.com/mastra-ai/mastra/commit/b342a68e1399cf1ece9ba11bda112db89d21118c), [`a7243e2`](https://github.com/mastra-ai/mastra/commit/a7243e2e58762667a6e3921e755e89d6bb0a3282), [`504438b`](https://github.com/mastra-ai/mastra/commit/504438b961bde211071186bba63a842c4e3db879), [`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), [`6f67656`](https://github.com/mastra-ai/mastra/commit/6f676562276926e2982401574d1e07157579be30), [`0130986`](https://github.com/mastra-ai/mastra/commit/0130986fc62d0edcc626dd593282661dbb9af141), [`5dc8e9a`](https://github.com/mastra-ai/mastra/commit/5dc8e9a7f8472298cd3d4e8a0cf6d265529f287d)]:
299
- - @mastra/deployer@0.19.0
300
- - @mastra/mcp@0.13.2
301
301
 
302
- ... 6084 more lines hidden. See full changelog in package directory.
302
+ ... 6120 more lines hidden. See full changelog in package directory.
@@ -731,15 +731,17 @@ const memory = new Memory();
731
731
  export const chefModelV2Agent = new Agent({
732
732
  name: 'Chef Agent V2 Model',
733
733
  description: 'A chef agent that can help you cook great meals with whatever ingredients you have available.',
734
- instructions: `
735
- YOU MUST USE THE TOOL cooking-tool
734
+ instructions: {
735
+ content: `
736
736
  You are Michel, a practical and experienced home chef who helps people cook great meals with whatever
737
737
  ingredients they have available. Your first priority is understanding what ingredients and equipment the user has access to, then suggesting achievable recipes.
738
738
  You explain cooking steps clearly and offer substitutions when needed, maintaining a friendly and encouraging tone throughout.
739
739
  `,
740
- model: 'netlify/openai/gpt-4.1',
740
+ role: 'system',
741
+ },
742
+ model: openai_v5('gpt-4o-mini'),
743
+
741
744
  tools: {
742
- cookingTool,
743
745
  weatherInfo,
744
746
  },
745
747
  workflows: {
@@ -756,16 +758,28 @@ export const chefModelV2Agent = new Agent({
756
758
  };
757
759
  },
758
760
  memory,
761
+ inputProcessors: [
762
+ new ModerationProcessor({
763
+ model: openai('gpt-4.1-nano'),
764
+ categories: ['hate', 'harassment', 'violence'],
765
+ threshold: 0.7,
766
+ strategy: 'block',
767
+ instructions: 'Detect and flag inappropriate content in user messages',
768
+ }),
769
+ ],
759
770
  });
760
771
 
761
772
  const weatherAgent = new Agent({
762
773
  name: 'Weather Agent',
763
- instructions: `You are a weather agent that can help you get weather information for a given city`,
764
- description: `An agent that can help you get weather information for a given city`,
774
+ instructions: `Your goal is to execute the recipe-maker workflow with the given ingredient`,
775
+ description: `An agent that can help you get a recipe for a given ingredient`,
765
776
  model: openai_v5('gpt-4o-mini'),
766
777
  tools: {
767
778
  weatherInfo,
768
779
  },
780
+ workflows: {
781
+ myWorkflow,
782
+ },
769
783
  });
770
784
 
771
785
  export const networkAgent = new Agent({
@@ -777,6 +791,12 @@ export const networkAgent = new Agent({
777
791
  agents: {
778
792
  weatherAgent,
779
793
  },
794
+ // workflows: {
795
+ // myWorkflow,
796
+ // },
797
+ // tools: {
798
+ // weatherInfo,
799
+ // },
780
800
  memory,
781
801
  });
782
802
 
@@ -24,9 +24,9 @@
24
24
  "@typescript-eslint/eslint-plugin": "^8.38.0",
25
25
  "@typescript-eslint/parser": "^8.38.0",
26
26
  "@vitejs/plugin-react": "^4.4.1",
27
- "eslint": "^9.35.0",
27
+ "eslint": "^9.36.0",
28
28
  "eslint-plugin-react-hooks": "^5.2.0",
29
- "eslint-plugin-react-refresh": "^0.4.20",
29
+ "eslint-plugin-react-refresh": "^0.4.22",
30
30
  "globals": "^16.0.0",
31
31
  "typescript": "^5.8.3",
32
32
  "vite": "^6.3.5"
@@ -37,7 +37,7 @@
37
37
  "@types/react": "^19",
38
38
  "@types/react-dom": "^19",
39
39
  "@types/react-syntax-highlighter": "^15.5.13",
40
- "eslint": "^9",
40
+ "eslint": "^9.36.0",
41
41
  "eslint-config-next": "15.5.4",
42
42
  "tailwindcss": "^4",
43
43
  "tw-animate-css": "^1.4.0",
@@ -16,8 +16,8 @@
16
16
  "@types/node": "^20.17.57",
17
17
  "@types/react": "^19.1.9",
18
18
  "@types/react-dom": "^19.1.7",
19
- "eslint": "^9.35.0",
20
- "eslint-config-next": "15.5.3",
19
+ "eslint": "^9.36.0",
20
+ "eslint-config-next": "15.5.4",
21
21
  "postcss": "^8.5.3",
22
22
  "tailwindcss": "^3.4.17",
23
23
  "typescript": "^5.8.3"
@@ -23,8 +23,8 @@
23
23
  "@types/node": "^20",
24
24
  "@types/react": "^19.1.9",
25
25
  "@types/react-dom": "^19.1.7",
26
- "eslint": "^9.35.0",
27
- "eslint-config-next": "15.5.3",
26
+ "eslint": "^9.36.0",
27
+ "eslint-config-next": "15.5.4",
28
28
  "mastra": "latest",
29
29
  "postcss": "^8",
30
30
  "tailwindcss": "^3.4.1",
@@ -18,8 +18,8 @@
18
18
  "@types/node": "^20.17.57",
19
19
  "@types/react": "^19.1.9",
20
20
  "@types/react-dom": "^19.1.7",
21
- "eslint": "^9.35.0",
22
- "eslint-config-next": "15.5.3",
21
+ "eslint": "^9.36.0",
22
+ "eslint-config-next": "15.5.4",
23
23
  "postcss": "^8.5.3",
24
24
  "tailwindcss": "^3.4.17",
25
25
  "typescript": "^5.8.3"
@@ -23,8 +23,8 @@
23
23
  "@types/node": "^20.17.57",
24
24
  "@types/react": "^19.1.12",
25
25
  "@types/react-dom": "^19.1.9",
26
- "eslint": "^9.35.0",
27
- "eslint-config-next": "15.5.3",
26
+ "eslint": "^9.36.0",
27
+ "eslint-config-next": "15.5.4",
28
28
  "postcss": "^8.5.3",
29
29
  "tailwindcss": "^3.4.17",
30
30
  "typescript": "^5.8.3"
@@ -23,8 +23,8 @@
23
23
  "@types/node": "^20.17.57",
24
24
  "@types/react": "^19.1.9",
25
25
  "@types/react-dom": "^19.1.7",
26
- "eslint": "^9.35.0",
27
- "eslint-config-next": "15.5.3",
26
+ "eslint": "^9.36.0",
27
+ "eslint-config-next": "15.5.4",
28
28
  "postcss": "^8.5.3",
29
29
  "tailwindcss": "^3.4.17",
30
30
  "typescript": "^5.8.3"
@@ -15,9 +15,9 @@
15
15
  "@types/react": "^19.1.9",
16
16
  "@types/react-dom": "^19.1.7",
17
17
  "@vitejs/plugin-react": "^4.3.4",
18
- "eslint": "^9.35.0",
18
+ "eslint": "^9.36.0",
19
19
  "eslint-plugin-react-hooks": "^5.2.0",
20
- "eslint-plugin-react-refresh": "^0.4.20",
20
+ "eslint-plugin-react-refresh": "^0.4.22",
21
21
  "globals": "^15.15.0",
22
22
  "typescript": "~5.8.3",
23
23
  "typescript-eslint": "^8.38.0",
@@ -71,8 +71,8 @@
71
71
  "@types/react": "^19.1.9",
72
72
  "@types/react-dom": "^19.1.7",
73
73
  "drizzle-kit": "^0.31.0",
74
- "eslint": "^9.35.0",
75
- "eslint-config-next": "15.5.3",
74
+ "eslint": "^9.36.0",
75
+ "eslint-config-next": "15.5.4",
76
76
  "eslint-config-prettier": "^10.1.8",
77
77
  "eslint-import-resolver-typescript": "^4.4.4",
78
78
  "eslint-plugin-import": "^2.32.0",
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "dependencies": {
9
9
  "@ai-sdk/openai": "^1.3.23",
10
- "@mastra/core": "^0.20.1",
10
+ "@mastra/core": "^0.20.2",
11
11
  "@mastra/libsql": "^0.15.1",
12
12
  "@mastra/loggers": "^0.10.15",
13
13
  "@mastra/memory": "^0.15.6",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/node": "^24.3.0",
18
- "mastra": "^0.15.0",
18
+ "mastra": "^0.15.1",
19
19
  "typescript": "^5.9.2"
20
20
  }
21
21
  }
@@ -33,8 +33,8 @@
33
33
  "@types/react": "^19.1.9",
34
34
  "@types/react-dom": "^19.1.7",
35
35
  "@types/react-syntax-highlighter": "^15.5.13",
36
- "eslint": "^9.35.0",
37
- "eslint-config-next": "15.5.3",
36
+ "eslint": "^9.36.0",
37
+ "eslint-config-next": "15.5.4",
38
38
  "postcss": "^8.5.3",
39
39
  "tailwindcss": "^3.4.17",
40
40
  "typescript": "^5.8.3"
@@ -60,9 +60,12 @@ const agentStep1 = createStep({
60
60
  }),
61
61
  execute: async ({ inputData }) => {
62
62
  const resp = await agent1.generate(inputData.city, {
63
- output: z.object({
64
- text: z.string(),
65
- }),
63
+ structuredOutput: {
64
+ schema: z.object({
65
+ text: z.string(),
66
+ })
67
+ },
68
+ maxSteps: 1
66
69
  });
67
70
 
68
71
  return { text: resp.object.text };
@@ -80,9 +83,12 @@ const agentStep2 = createStep({
80
83
  }),
81
84
  execute: async ({ inputData }) => {
82
85
  const resp = await agent2.generate(inputData.text, {
83
- output: z.object({
84
- text: z.string(),
85
- }),
86
+ structuredOutput: {
87
+ schema: z.object({
88
+ text: z.string(),
89
+ })
90
+ },
91
+ maxSteps: 1
86
92
  });
87
93
 
88
94
  return { text: resp.object.text };
@@ -245,10 +245,13 @@ const response = await testAgent.generate(
245
245
  }
246
246
  ],
247
247
  {
248
- output: z.object({
249
- summary: z.string(),
250
- keywords: z.array(z.string())
251
- })
248
+ structuredOutput: {
249
+ schema: z.object({
250
+ summary: z.string(),
251
+ keywords: z.array(z.string())
252
+ })
253
+ },
254
+ maxSteps: 1
252
255
  }
253
256
  );
254
257
 
@@ -97,7 +97,10 @@ export const dynamicAgent = new Agent({
97
97
  });
98
98
  ```
99
99
 
100
+ For a complete implementation example that demonstrates all runtime context capabilities including dynamic model selection, tools, memory, input/output processors, and quality scoring based on user subscription tiers, see our [Runtime Context Example](../../examples/agents/runtime-context.mdx).
101
+
100
102
  ## Related
101
103
 
104
+ - [Runtime Context Example](../../examples/agents/runtime-context.mdx)
102
105
  - [Tool Runtime Context](../tools-mcp/runtime-context.mdx)
103
106
  - [Server Middleware Runtime Context](../server-db/middleware.mdx)
@@ -181,9 +181,12 @@ export async function POST(req: Request) {
181
181
  const body = await req.json();
182
182
  const myAgent = mastra.getAgent("weatherAgent");
183
183
  const stream = await myAgent.stream(body, {
184
- output: z.object({
185
- weather: z.string()
186
- })
184
+ structuredOutput: {
185
+ schema: z.object({
186
+ weather: z.string()
187
+ })
188
+ },
189
+ maxSteps: 1
187
190
  });
188
191
 
189
192
  return stream.toTextStreamResponse();