@mastra/mcp-docs-server 0.13.23 → 0.13.24-alpha.2

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 (67) hide show
  1. package/.docs/organized/changelogs/%40internal%2Fstorage-test-utils.md +8 -8
  2. package/.docs/organized/changelogs/%40internal%2Ftypes-builder.md +2 -0
  3. package/.docs/organized/changelogs/%40mastra%2Fagent-builder.md +19 -0
  4. package/.docs/organized/changelogs/%40mastra%2Fai-sdk.md +18 -0
  5. package/.docs/organized/changelogs/%40mastra%2Fastra.md +10 -10
  6. package/.docs/organized/changelogs/%40mastra%2Fchroma.md +11 -11
  7. package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +10 -10
  8. package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +35 -35
  9. package/.docs/organized/changelogs/%40mastra%2Fcloud.md +10 -10
  10. package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +10 -10
  11. package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +11 -11
  12. package/.docs/organized/changelogs/%40mastra%2Fcore.md +46 -46
  13. package/.docs/organized/changelogs/%40mastra%2Fcouchbase.md +10 -10
  14. package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +38 -38
  15. package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +27 -27
  16. package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +37 -37
  17. package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +37 -37
  18. package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +41 -41
  19. package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +10 -10
  20. package/.docs/organized/changelogs/%40mastra%2Fevals.md +19 -19
  21. package/.docs/organized/changelogs/%40mastra%2Flance.md +10 -10
  22. package/.docs/organized/changelogs/%40mastra%2Flibsql.md +10 -10
  23. package/.docs/organized/changelogs/%40mastra%2Floggers.md +10 -10
  24. package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +30 -30
  25. package/.docs/organized/changelogs/%40mastra%2Fmcp-registry-registry.md +10 -10
  26. package/.docs/organized/changelogs/%40mastra%2Fmcp.md +11 -11
  27. package/.docs/organized/changelogs/%40mastra%2Fmemory.md +10 -10
  28. package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +10 -10
  29. package/.docs/organized/changelogs/%40mastra%2Fmssql.md +10 -10
  30. package/.docs/organized/changelogs/%40mastra%2Fopensearch.md +10 -10
  31. package/.docs/organized/changelogs/%40mastra%2Fpg.md +10 -10
  32. package/.docs/organized/changelogs/%40mastra%2Fpinecone.md +10 -10
  33. package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +51 -51
  34. package/.docs/organized/changelogs/%40mastra%2Fqdrant.md +19 -19
  35. package/.docs/organized/changelogs/%40mastra%2Frag.md +14 -14
  36. package/.docs/organized/changelogs/%40mastra%2Fs3vectors.md +9 -0
  37. package/.docs/organized/changelogs/%40mastra%2Fserver.md +41 -41
  38. package/.docs/organized/changelogs/%40mastra%2Fturbopuffer.md +10 -10
  39. package/.docs/organized/changelogs/%40mastra%2Fupstash.md +10 -10
  40. package/.docs/organized/changelogs/%40mastra%2Fvectorize.md +11 -11
  41. package/.docs/organized/changelogs/%40mastra%2Fvoice-azure.md +10 -10
  42. package/.docs/organized/changelogs/%40mastra%2Fvoice-cloudflare.md +10 -10
  43. package/.docs/organized/changelogs/%40mastra%2Fvoice-deepgram.md +11 -11
  44. package/.docs/organized/changelogs/%40mastra%2Fvoice-elevenlabs.md +11 -11
  45. package/.docs/organized/changelogs/%40mastra%2Fvoice-gladia.md +9 -0
  46. package/.docs/organized/changelogs/%40mastra%2Fvoice-google-gemini-live.md +9 -0
  47. package/.docs/organized/changelogs/%40mastra%2Fvoice-google.md +11 -11
  48. package/.docs/organized/changelogs/%40mastra%2Fvoice-murf.md +10 -10
  49. package/.docs/organized/changelogs/%40mastra%2Fvoice-openai-realtime.md +10 -10
  50. package/.docs/organized/changelogs/%40mastra%2Fvoice-openai.md +11 -11
  51. package/.docs/organized/changelogs/%40mastra%2Fvoice-playai.md +11 -11
  52. package/.docs/organized/changelogs/%40mastra%2Fvoice-sarvam.md +11 -11
  53. package/.docs/organized/changelogs/%40mastra%2Fvoice-speechify.md +10 -10
  54. package/.docs/organized/changelogs/create-mastra.md +14 -14
  55. package/.docs/organized/changelogs/mastra.md +46 -46
  56. package/.docs/raw/agents/dynamic-agents.mdx +19 -0
  57. package/.docs/raw/agents/overview.mdx +46 -0
  58. package/.docs/raw/auth/auth0.mdx +235 -0
  59. package/.docs/raw/auth/index.mdx +2 -7
  60. package/.docs/raw/auth/workos.mdx +198 -0
  61. package/.docs/raw/reference/agents/agent.mdx +82 -5
  62. package/.docs/raw/reference/agents/getInstructions.mdx +2 -2
  63. package/.docs/raw/reference/auth/auth0.mdx +117 -0
  64. package/.docs/raw/reference/auth/workos.mdx +128 -0
  65. package/.docs/raw/reference/workflows/step.mdx +1 -1
  66. package/CHANGELOG.md +22 -0
  67. package/package.json +4 -4
@@ -1,5 +1,14 @@
1
1
  # @mastra/voice-gladia
2
2
 
3
+ ## 0.11.6-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
8
+
9
+ - Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55)]:
10
+ - @mastra/core@0.18.0-alpha.2
11
+
3
12
  ## 0.11.5
4
13
 
5
14
  ### Patch Changes
@@ -1,5 +1,14 @@
1
1
  # @mastra/voice-google-gemini-live
2
2
 
3
+ ## 0.10.12-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
8
+
9
+ - Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55)]:
10
+ - @mastra/core@0.18.0-alpha.2
11
+
3
12
  ## 0.10.11
4
13
 
5
14
  ### Patch Changes
@@ -1,5 +1,14 @@
1
1
  # @mastra/voice-google
2
2
 
3
+ ## 0.11.6-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
8
+
9
+ - Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55)]:
10
+ - @mastra/core@0.18.0-alpha.2
11
+
3
12
  ## 0.11.5
4
13
 
5
14
  ### Patch Changes
@@ -289,14 +298,5 @@
289
298
  - Updated dependencies [41daa63]
290
299
  - Updated dependencies [ad0a58b]
291
300
  - Updated dependencies [254a36b]
292
- - Updated dependencies [2ecf658]
293
- - Updated dependencies [7a7754f]
294
- - Updated dependencies [fc92d80]
295
- - Updated dependencies [e0f73c6]
296
- - Updated dependencies [0b89602]
297
- - Updated dependencies [4d37822]
298
- - Updated dependencies [23a6a7c]
299
- - Updated dependencies [cda801d]
300
- - Updated dependencies [a77c823]
301
-
302
- ... 1314 more lines hidden. See full changelog in package directory.
301
+
302
+ ... 1323 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/voice-murf
2
2
 
3
+ ## 0.11.6-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
8
+
9
+ - Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55)]:
10
+ - @mastra/core@0.18.0-alpha.2
11
+
3
12
  ## 0.11.5
4
13
 
5
14
  ### Patch Changes
@@ -289,14 +298,5 @@
289
298
  - Updated dependencies [a77c823]
290
299
  - Updated dependencies [ff9c125]
291
300
  - Updated dependencies [09bca64]
292
- - Updated dependencies [b8efbb9]
293
- - Updated dependencies [71466e7]
294
- - Updated dependencies [0c99fbe]
295
- - @mastra/core@0.12.0
296
-
297
- ## 0.10.6-alpha.0
298
-
299
- ### Patch Changes
300
-
301
301
 
302
- ... 1295 more lines hidden. See full changelog in package directory.
302
+ ... 1304 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/voice-openai-realtime
2
2
 
3
+ ## 0.11.6-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
8
+
9
+ - Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55)]:
10
+ - @mastra/core@0.18.0-alpha.2
11
+
3
12
  ## 0.11.5
4
13
 
5
14
  ### Patch Changes
@@ -289,14 +298,5 @@
289
298
  - Updated dependencies [cda801d]
290
299
  - Updated dependencies [a77c823]
291
300
  - Updated dependencies [ff9c125]
292
- - Updated dependencies [09bca64]
293
- - Updated dependencies [b8efbb9]
294
- - Updated dependencies [71466e7]
295
- - Updated dependencies [0c99fbe]
296
- - @mastra/core@0.12.0
297
-
298
- ## 0.10.6-alpha.1
299
-
300
- ### Patch Changes
301
301
 
302
- ... 1027 more lines hidden. See full changelog in package directory.
302
+ ... 1036 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/voice-openai
2
2
 
3
+ ## 0.11.6-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
8
+
9
+ - Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55)]:
10
+ - @mastra/core@0.18.0-alpha.2
11
+
3
12
  ## 0.11.5
4
13
 
5
14
  ### Patch Changes
@@ -289,14 +298,5 @@
289
298
  - Updated dependencies [fc92d80]
290
299
  - Updated dependencies [e0f73c6]
291
300
  - Updated dependencies [0b89602]
292
- - Updated dependencies [4d37822]
293
- - Updated dependencies [23a6a7c]
294
- - Updated dependencies [cda801d]
295
- - Updated dependencies [a77c823]
296
- - Updated dependencies [ff9c125]
297
- - Updated dependencies [09bca64]
298
- - Updated dependencies [b8efbb9]
299
- - Updated dependencies [71466e7]
300
- - Updated dependencies [0c99fbe]
301
-
302
- ... 1325 more lines hidden. See full changelog in package directory.
301
+
302
+ ... 1334 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/voice-playai
2
2
 
3
+ ## 0.11.6-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
8
+
9
+ - Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55)]:
10
+ - @mastra/core@0.18.0-alpha.2
11
+
3
12
  ## 0.11.5
4
13
 
5
14
  ### Patch Changes
@@ -289,14 +298,5 @@
289
298
 
290
299
  - 8e1b6e9: dependencies updates:
291
300
  - Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
292
- - Updated dependencies [15e9d26]
293
- - Updated dependencies [d1baedb]
294
- - Updated dependencies [d8f2d19]
295
- - Updated dependencies [4d21bf2]
296
- - Updated dependencies [07d6d88]
297
- - Updated dependencies [9d52b17]
298
- - Updated dependencies [2097952]
299
- - Updated dependencies [792c4c0]
300
- - Updated dependencies [5d74aab]
301
-
302
- ... 1265 more lines hidden. See full changelog in package directory.
301
+
302
+ ... 1274 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/voice-sarvam
2
2
 
3
+ ## 0.11.6-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
8
+
9
+ - Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55)]:
10
+ - @mastra/core@0.18.0-alpha.2
11
+
3
12
  ## 0.11.5
4
13
 
5
14
  ### Patch Changes
@@ -289,14 +298,5 @@
289
298
 
290
299
  - 8e1b6e9: dependencies updates:
291
300
  - Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
292
- - Updated dependencies [15e9d26]
293
- - Updated dependencies [d1baedb]
294
- - Updated dependencies [d8f2d19]
295
- - Updated dependencies [4d21bf2]
296
- - Updated dependencies [07d6d88]
297
- - Updated dependencies [9d52b17]
298
- - Updated dependencies [2097952]
299
- - Updated dependencies [792c4c0]
300
- - Updated dependencies [5d74aab]
301
-
302
- ... 915 more lines hidden. See full changelog in package directory.
301
+
302
+ ... 924 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/voice-speechify
2
2
 
3
+ ## 0.11.6-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
8
+
9
+ - Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55)]:
10
+ - @mastra/core@0.18.0-alpha.2
11
+
3
12
  ## 0.11.5
4
13
 
5
14
  ### Patch Changes
@@ -289,14 +298,5 @@
289
298
 
290
299
  ## 0.10.5
291
300
 
292
- ### Patch Changes
293
-
294
- - ce088f5: Update all peerdeps to latest core
295
- - @mastra/core@0.11.1
296
-
297
- ## 0.10.4
298
-
299
- ### Patch Changes
300
-
301
301
 
302
- ... 1280 more lines hidden. See full changelog in package directory.
302
+ ... 1289 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,18 @@
1
1
  # create-mastra
2
2
 
3
+ ## 0.13.2-alpha.2
4
+
5
+ ## 0.13.2-alpha.1
6
+
7
+ ### Patch Changes
8
+
9
+ - dependencies updates: ([#8007](https://github.com/mastra-ai/mastra/pull/8007))
10
+ - Updated dependency [`fs-extra@^11.3.2` ↗︎](https://www.npmjs.com/package/fs-extra/v/11.3.2) (from `^11.3.1`, in `dependencies`)
11
+
12
+ ## 0.13.2-alpha.0
13
+
14
+ ## 0.13.1
15
+
3
16
  ## 0.13.1-alpha.0
4
17
 
5
18
  ## 0.13.0
@@ -285,18 +298,5 @@
285
298
 
286
299
  - ad04455: Missed changeset in last release, needed to include create-mastra
287
300
 
288
- ## 0.10.15-alpha.0
289
-
290
- ### Patch Changes
291
-
292
- - ad04455: Missed changeset in last release, needed to include create-mastra
293
-
294
- ## 0.10.14
295
-
296
- ### Patch Changes
297
-
298
- - f442224: speech to text using voice config
299
- - d8dec5e: add a cta to invite to deploy to cloud
300
- - 6336993: Fix workflow input form overflow
301
301
 
302
- ... 1430 more lines hidden. See full changelog in package directory.
302
+ ... 1443 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,50 @@
1
1
  # mastra
2
2
 
3
+ ## 0.13.2-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
8
+
9
+ - Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`2d29ad9`](https://github.com/mastra-ai/mastra/commit/2d29ad92763cac02fc1d80c221ac93c39c0c5caf), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55), [`5b1ee71`](https://github.com/mastra-ai/mastra/commit/5b1ee71dc3ac92383226dc1e375642ca5f9b4224)]:
10
+ - @mastra/core@0.18.0-alpha.2
11
+ - @mastra/deployer@0.18.0-alpha.2
12
+ - @mastra/loggers@0.10.13-alpha.0
13
+ - @mastra/mcp@0.13.1-alpha.0
14
+
15
+ ## 0.13.2-alpha.1
16
+
17
+ ### Patch Changes
18
+
19
+ - dependencies updates: ([#8007](https://github.com/mastra-ai/mastra/pull/8007))
20
+ - Updated dependency [`fs-extra@^11.3.2` ↗︎](https://www.npmjs.com/package/fs-extra/v/11.3.2) (from `^11.3.1`, in `dependencies`)
21
+
22
+ - show the tool-output stream in the playground for streamVNext ([#7983](https://github.com/mastra-ai/mastra/pull/7983))
23
+
24
+ - Updated dependencies [[`288745a`](https://github.com/mastra-ai/mastra/commit/288745a19aa9557db3ab3c877d667ff59f14d79c), [`c45298a`](https://github.com/mastra-ai/mastra/commit/c45298a0a0791db35cf79f1199d77004da0704cb)]:
25
+ - @mastra/deployer@0.17.2-alpha.1
26
+ - @mastra/core@0.17.2-alpha.1
27
+
28
+ ## 0.13.2-alpha.0
29
+
30
+ ### Patch Changes
31
+
32
+ - Get rid off swr one for all ([#7931](https://github.com/mastra-ai/mastra/pull/7931))
33
+
34
+ - 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)]:
35
+ - @mastra/core@0.17.2-alpha.0
36
+ - @mastra/deployer@0.17.2-alpha.0
37
+
38
+ ## 0.13.1
39
+
40
+ ### Patch Changes
41
+
42
+ - fix workflow resuming issue in the playground ([#7988](https://github.com/mastra-ai/mastra/pull/7988))
43
+
44
+ - Updated dependencies [[`fd00e63`](https://github.com/mastra-ai/mastra/commit/fd00e63759cbcca3473c40cac9843280b0557cff), [`ab610f6`](https://github.com/mastra-ai/mastra/commit/ab610f6f41dbfe6c9502368671485ca7a0aac09b), [`e6bda5f`](https://github.com/mastra-ai/mastra/commit/e6bda5f954ee8493ea18adc1a883f0a5b785ad9b)]:
45
+ - @mastra/core@0.17.1
46
+ - @mastra/deployer@0.17.1
47
+
3
48
  ## 0.13.1-alpha.0
4
49
 
5
50
  ### Patch Changes
@@ -253,50 +298,5 @@
253
298
  - @mastra/mcp@0.12.0
254
299
  - @mastra/core@0.16.1
255
300
 
256
- ## 0.12.1-alpha.2
257
-
258
- ### Patch Changes
259
-
260
- - Fix template slug when getting template environment variables ([#7650](https://github.com/mastra-ai/mastra/pull/7650))
261
-
262
- - Updated dependencies [[`fd9bbfe`](https://github.com/mastra-ai/mastra/commit/fd9bbfee22484f8493582325f53e8171bf8e682b)]:
263
- - @mastra/core@0.16.1-alpha.3
264
- - @mastra/deployer@0.16.1-alpha.3
265
-
266
- ## 0.12.1-alpha.1
267
-
268
- ### Patch Changes
269
-
270
- - Use workflow streamVNext in playground ([#7575](https://github.com/mastra-ai/mastra/pull/7575))
271
-
272
- - add workflow streaming in agent thread ([#7506](https://github.com/mastra-ai/mastra/pull/7506))
273
-
274
- - Updated dependencies [[`0f7b8c0`](https://github.com/mastra-ai/mastra/commit/0f7b8c0c22d2a677a0f71c35ad1bc2d60b063d39), [`47b6dc9`](https://github.com/mastra-ai/mastra/commit/47b6dc94f4976d4f3d3882e8f19eb365bbc5976c), [`565d65f`](https://github.com/mastra-ai/mastra/commit/565d65fc16314a99f081975ec92f2636dff0c86d), [`4da3d68`](https://github.com/mastra-ai/mastra/commit/4da3d68a778e5c4d5a17351ef223289fe2f45a45), [`0b0bbb2`](https://github.com/mastra-ai/mastra/commit/0b0bbb24f4198ead69792e92b68a350f52b45cf3), [`d951f41`](https://github.com/mastra-ai/mastra/commit/d951f41771e4e5da8da4b9f870949f9509e38756), [`8049e2e`](https://github.com/mastra-ai/mastra/commit/8049e2e8cce80a00353c64894c62b695ac34e35e), [`f36343e`](https://github.com/mastra-ai/mastra/commit/f36343e02935b9a112a45b2dc3de7b562cc3aa68)]:
275
- - @mastra/mcp@0.12.0-alpha.1
276
- - @mastra/core@0.16.1-alpha.1
277
- - @mastra/deployer@0.16.1-alpha.1
278
-
279
- ## 0.12.1-alpha.0
280
-
281
- ### Patch Changes
282
-
283
- - dependencies updates: ([#7544](https://github.com/mastra-ai/mastra/pull/7544))
284
- - Updated dependency [`fs-extra@^11.3.1` ↗︎](https://www.npmjs.com/package/fs-extra/v/11.3.1) (from `^11.3.0`, in `dependencies`)
285
-
286
- - Update cli dev copy from "Local" - ([#7579](https://github.com/mastra-ai/mastra/pull/7579))
287
-
288
- - Updated dependencies [[`6d6e5dd`](https://github.com/mastra-ai/mastra/commit/6d6e5dd00edd5f4d2f310d347c615aef3ed7f609), [`0662d02`](https://github.com/mastra-ai/mastra/commit/0662d02ef16916e67531890639fcd72c69cfb6e2), [`6189844`](https://github.com/mastra-ai/mastra/commit/61898448e65bda02bb814fb15801a89dc6476938), [`90cab34`](https://github.com/mastra-ai/mastra/commit/90cab347db71359dc5f3d001b1e8d63fd958879a), [`e75360a`](https://github.com/mastra-ai/mastra/commit/e75360a134d722df969777abcf36092fadad1f12), [`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)]:
289
- - @mastra/deployer@0.16.1-alpha.0
290
- - @mastra/core@0.16.1-alpha.0
291
- - @mastra/mcp@0.12.0-alpha.0
292
-
293
- ## 0.12.0
294
-
295
- ### Minor Changes
296
-
297
- - a01cf14: Add workflow graph in agent (workflow as tool in agent)
298
-
299
- ### Patch Changes
300
-
301
301
 
302
- ... 5653 more lines hidden. See full changelog in package directory.
302
+ ... 5698 more lines hidden. See full changelog in package directory.
@@ -23,6 +23,7 @@ const supportAgent = new Agent({
23
23
  const userTier = runtimeContext.get("user-tier");
24
24
  const language = runtimeContext.get("language");
25
25
 
26
+ // Can return a string
26
27
  return `You are a customer support agent for our SaaS platform.
27
28
  The current user is on the ${userTier} tier and prefers ${language} language.
28
29
 
@@ -32,6 +33,24 @@ const supportAgent = new Agent({
32
33
  ${userTier === "enterprise" ? "- Provide priority support with custom solutions" : ""}
33
34
 
34
35
  Always respond in ${language} language.`;
36
+
37
+ // Alternative: Return a system message object with provider options
38
+ // return {
39
+ // role: "system",
40
+ // content: `You are a customer support agent for ${userTier} tier...`,
41
+ // providerOptions: {
42
+ // openai: {
43
+ // reasoning_effort: userTier === "enterprise" ? "high" : "medium"
44
+ // }
45
+ // }
46
+ // };
47
+
48
+ // Alternative: Return an array of system messages for modular instructions
49
+ // return [
50
+ // { role: "system", content: "You are a customer support agent." },
51
+ // { role: "system", content: `User is on ${userTier} tier.` },
52
+ // { role: "system", content: `Respond in ${language} language.` }
53
+ // ];
35
54
  },
36
55
 
37
56
  model: ({ runtimeContext }) => {
@@ -64,6 +64,52 @@ export const testAgent = new Agent({
64
64
  });
65
65
  ```
66
66
 
67
+ #### Instruction formats
68
+
69
+ Instructions define the agent's behavior, personality, and capabilities.
70
+ They are system-level prompts that establish the agent's core identity and expertise.
71
+
72
+ Instructions can be provided in multiple formats for greater flexibility:
73
+
74
+ ```typescript showLineNumbers copy
75
+ // String (most common)
76
+ instructions: "You are a helpful assistant."
77
+
78
+ // System message object
79
+ instructions: {
80
+ role: "system",
81
+ content: "You are an expert programmer."
82
+ }
83
+
84
+ // Array of strings
85
+ instructions: [
86
+ "You are a helpful assistant.",
87
+ "Always be polite.",
88
+ "Provide detailed answers."
89
+ ]
90
+
91
+ // Array of system messages
92
+ instructions: [
93
+ { role: "system", content: "You are a helpful assistant." },
94
+ { role: "system", content: "You have expertise in TypeScript." }
95
+ ]
96
+
97
+ // With provider-specific options (e.g., caching, reasoning)
98
+ instructions: {
99
+ role: "system",
100
+ content: "You are an expert code reviewer. Analyze code for bugs, performance issues, and best practices.",
101
+ providerOptions: {
102
+ openai: { reasoning_effort: "high" }, // OpenAI's reasoning models
103
+ anthropic: { cache_control: { type: "ephemeral" } } // Anthropic's prompt caching
104
+ }
105
+ }
106
+ ```
107
+
108
+ Provider-specific options allow you to leverage unique features of different LLM providers:
109
+ - **Anthropic caching**: Reduce costs by caching frequently-used instructions
110
+ - **OpenAI reasoning**: Enable deeper analysis for complex tasks
111
+ - **Custom parameters**: Pass any provider-specific configuration
112
+
67
113
  > See [Agent](../../reference/agents/agent.mdx) for more information.
68
114
 
69
115