@mastra/mcp-docs-server 0.13.41 → 0.13.42
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/%40internal%2Fchangeset-cli.md +2 -0
- package/.docs/organized/changelogs/%40internal%2Fexternal-types.md +2 -0
- package/.docs/organized/changelogs/%40internal%2Fstorage-test-utils.md +8 -8
- package/.docs/organized/changelogs/%40internal%2Ftypes-builder.md +2 -0
- package/.docs/organized/changelogs/%40mastra%2Fai-sdk.md +59 -59
- package/.docs/organized/changelogs/%40mastra%2Fauth.md +12 -0
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +19 -19
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +19 -19
- package/.docs/organized/changelogs/%40mastra%2Freact.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +19 -19
- package/.docs/organized/changelogs/%40mastra%2Fvoice-google-gemini-live.md +19 -19
- package/.docs/organized/changelogs/create-mastra.md +13 -13
- package/.docs/organized/changelogs/mastra.md +21 -21
- package/.docs/raw/reference/agents/generate.mdx +11 -92
- package/.docs/raw/reference/agents/network.mdx +3 -85
- package/.docs/raw/reference/streaming/agents/stream.mdx +3 -92
- package/.docs/raw/workflows/overview.mdx +1 -1
- package/CHANGELOG.md +14 -0
- package/package.json +4 -4
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 6.9.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`91fa2b0`](https://github.com/mastra-ai/mastra/commit/91fa2b0cf077561d835baef8519a1422f1decd55), [`7491cc0`](https://github.com/mastra-ai/mastra/commit/7491cc0350b2ba067f98c4915bf607119bd0150f), [`0d10ac7`](https://github.com/mastra-ai/mastra/commit/0d10ac7b8efa03c2f0c330eb2520148bfa6091e9), [`e3e899c`](https://github.com/mastra-ai/mastra/commit/e3e899c650f4c435445303bd97a66f5840a52a1e)]:
|
|
8
|
+
- @mastra/client-js@0.16.12
|
|
9
|
+
- @mastra/core@0.24.3
|
|
10
|
+
- @mastra/react@0.0.18
|
|
11
|
+
|
|
12
|
+
## 6.9.3-alpha.0
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`91fa2b0`](https://github.com/mastra-ai/mastra/commit/91fa2b0cf077561d835baef8519a1422f1decd55), [`7491cc0`](https://github.com/mastra-ai/mastra/commit/7491cc0350b2ba067f98c4915bf607119bd0150f), [`0d10ac7`](https://github.com/mastra-ai/mastra/commit/0d10ac7b8efa03c2f0c330eb2520148bfa6091e9), [`e3e899c`](https://github.com/mastra-ai/mastra/commit/e3e899c650f4c435445303bd97a66f5840a52a1e)]:
|
|
17
|
+
- @mastra/client-js@0.16.12-alpha.0
|
|
18
|
+
- @mastra/core@0.24.3-alpha.0
|
|
19
|
+
- @mastra/react@0.0.18-alpha.0
|
|
20
|
+
|
|
3
21
|
## 6.9.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -280,23 +298,5 @@
|
|
|
280
298
|
- Update peerdeps to 0.23.0-0 ([#9043](https://github.com/mastra-ai/mastra/pull/9043))
|
|
281
299
|
|
|
282
300
|
- Updated dependencies [[`efb5ed9`](https://github.com/mastra-ai/mastra/commit/efb5ed946ae7f410bc68c9430beb4b010afd25ec), [`8ea07b4`](https://github.com/mastra-ai/mastra/commit/8ea07b4bdc73e4218437dbb6dcb0f4b23e745a44), [`ba201b8`](https://github.com/mastra-ai/mastra/commit/ba201b8f8feac4c72350f2dbd52c13c7297ba7b0), [`1f058c6`](https://github.com/mastra-ai/mastra/commit/1f058c63ccb88d718b9876490d17e112cc026467), [`4fc4136`](https://github.com/mastra-ai/mastra/commit/4fc413652866a8d2240694fddb2562e9edbb70df), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`d10baf5`](https://github.com/mastra-ai/mastra/commit/d10baf5a3c924f2a6654e23a3e318ed03f189b76), [`038c55a`](https://github.com/mastra-ai/mastra/commit/038c55a7090fc1b1513a966386d3072617f836ac), [`5ea29c6`](https://github.com/mastra-ai/mastra/commit/5ea29c6a72dc3a6c837076fd37ee54ebae77a02a), [`182f045`](https://github.com/mastra-ai/mastra/commit/182f0458f25bd70aa774e64fd923c8a483eddbf1), [`7620d2b`](https://github.com/mastra-ai/mastra/commit/7620d2bddeb4fae4c3c0a0b4e672969795fca11a), [`b2365f0`](https://github.com/mastra-ai/mastra/commit/b2365f038dd4c5f06400428b224af963f399ad50), [`9029ba3`](https://github.com/mastra-ai/mastra/commit/9029ba34459c8859fed4c6b73efd8e2d0021e7ba), [`426cc56`](https://github.com/mastra-ai/mastra/commit/426cc561c85ae76a112ded2385532a91f9f9f074), [`00931fb`](https://github.com/mastra-ai/mastra/commit/00931fb1a21aa42c4fbc20c2c40dd62466b8fc8f), [`e473bfe`](https://github.com/mastra-ai/mastra/commit/e473bfe416c0b8e876973c2b6a6f13c394b7a93f), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`648e2ca`](https://github.com/mastra-ai/mastra/commit/648e2ca42da54838c6ccbdaadc6fadd808fa6b86), [`b65c5e0`](https://github.com/mastra-ai/mastra/commit/b65c5e0fe6f3c390a9a8bbcf69304d972c3a4afb)]:
|
|
283
|
-
- @mastra/core@0.22.0-alpha.1
|
|
284
|
-
- @mastra/react@0.0.8-alpha.1
|
|
285
|
-
- @mastra/client-js@0.16.2-alpha.1
|
|
286
|
-
|
|
287
|
-
## 6.5.2-alpha.0
|
|
288
|
-
|
|
289
|
-
### Patch Changes
|
|
290
|
-
|
|
291
|
-
- Threads are not refreshing correctly after generate / stream / network ([#9015](https://github.com/mastra-ai/mastra/pull/9015))
|
|
292
|
-
|
|
293
|
-
- fix template background image overflow ([#9011](https://github.com/mastra-ai/mastra/pull/9011))
|
|
294
|
-
|
|
295
|
-
- Updated dependencies [[`c67ca32`](https://github.com/mastra-ai/mastra/commit/c67ca32e3c2cf69bfc146580770c720220ca44ac), [`dbc9e12`](https://github.com/mastra-ai/mastra/commit/dbc9e1216ba575ba59ead4afb727a01215f7de4f), [`99e41b9`](https://github.com/mastra-ai/mastra/commit/99e41b94957cdd25137d3ac12e94e8b21aa01b68), [`c28833c`](https://github.com/mastra-ai/mastra/commit/c28833c5b6d8e10eeffd7f7d39129d53b8bca240), [`f053e89`](https://github.com/mastra-ai/mastra/commit/f053e89160dbd0bd3333fc3492f68231b5c7c349), [`9a1a485`](https://github.com/mastra-ai/mastra/commit/9a1a4859b855e37239f652bf14b1ecd1029b8c4e), [`9257233`](https://github.com/mastra-ai/mastra/commit/9257233c4ffce09b2bedc2a9adbd70d7a83fa8e2), [`0f1a4c9`](https://github.com/mastra-ai/mastra/commit/0f1a4c984fb4b104b2f0b63ba18c9fa77f567700), [`2db6160`](https://github.com/mastra-ai/mastra/commit/2db6160e2022ff8827c15d30157e684683b934b5), [`8aeea37`](https://github.com/mastra-ai/mastra/commit/8aeea37efdde347c635a67fed56794943b7f74ec), [`02fe153`](https://github.com/mastra-ai/mastra/commit/02fe15351d6021d214da48ec982a0e9e4150bcee), [`74567b3`](https://github.com/mastra-ai/mastra/commit/74567b3d237ae3915cd0bca3cf55fa0a64e4e4a4), [`15a1733`](https://github.com/mastra-ai/mastra/commit/15a1733074cee8bd37370e1af34cd818e89fa7ac), [`fc2a774`](https://github.com/mastra-ai/mastra/commit/fc2a77468981aaddc3e77f83f0c4ad4a4af140da), [`4e08933`](https://github.com/mastra-ai/mastra/commit/4e08933625464dfde178347af5b6278fcf34188e)]:
|
|
296
|
-
- @mastra/core@0.21.2-alpha.0
|
|
297
|
-
- @mastra/client-js@0.16.2-alpha.0
|
|
298
|
-
- @mastra/react@0.0.8-alpha.0
|
|
299
|
-
|
|
300
|
-
## 6.5.1
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 4024 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/react-hooks
|
|
2
2
|
|
|
3
|
+
## 0.0.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`91fa2b0`](https://github.com/mastra-ai/mastra/commit/91fa2b0cf077561d835baef8519a1422f1decd55)]:
|
|
8
|
+
- @mastra/client-js@0.16.12
|
|
9
|
+
|
|
10
|
+
## 0.0.18-alpha.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`91fa2b0`](https://github.com/mastra-ai/mastra/commit/91fa2b0cf077561d835baef8519a1422f1decd55)]:
|
|
15
|
+
- @mastra/client-js@0.16.12-alpha.0
|
|
16
|
+
|
|
3
17
|
## 0.0.17
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -284,19 +298,5 @@
|
|
|
284
298
|
|
|
285
299
|
## 0.0.4
|
|
286
300
|
|
|
287
|
-
### Patch Changes
|
|
288
|
-
|
|
289
|
-
- Mutable shared workflow run state ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
|
|
290
|
-
|
|
291
|
-
- add tripwire reason in playground ([#8568](https://github.com/mastra-ai/mastra/pull/8568))
|
|
292
|
-
|
|
293
|
-
- type fixes and missing changeset ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
|
|
294
|
-
|
|
295
|
-
- Convert WorkflowWatchResult to WorkflowResult in workflow graph ([#8541](https://github.com/mastra-ai/mastra/pull/8541))
|
|
296
|
-
|
|
297
|
-
- Updated dependencies [[`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`2aee9e7`](https://github.com/mastra-ai/mastra/commit/2aee9e7d188b8b256a4ddc203ccefb366b4867fa)]:
|
|
298
|
-
- @mastra/client-js@0.15.1
|
|
299
|
-
|
|
300
|
-
## 0.0.4-alpha.4
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 124 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @mastra/server
|
|
2
2
|
|
|
3
|
+
## 0.24.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Network handler now accesses thread and resource parameters from the nested memory object instead of directly from request body. ([#10299](https://github.com/mastra-ai/mastra/pull/10299))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`7491cc0`](https://github.com/mastra-ai/mastra/commit/7491cc0350b2ba067f98c4915bf607119bd0150f), [`0d10ac7`](https://github.com/mastra-ai/mastra/commit/0d10ac7b8efa03c2f0c330eb2520148bfa6091e9), [`e3e899c`](https://github.com/mastra-ai/mastra/commit/e3e899c650f4c435445303bd97a66f5840a52a1e)]:
|
|
10
|
+
- @mastra/core@0.24.3
|
|
11
|
+
|
|
12
|
+
## 0.24.3-alpha.0
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Network handler now accesses thread and resource parameters from the nested memory object instead of directly from request body. ([#10299](https://github.com/mastra-ai/mastra/pull/10299))
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`7491cc0`](https://github.com/mastra-ai/mastra/commit/7491cc0350b2ba067f98c4915bf607119bd0150f), [`0d10ac7`](https://github.com/mastra-ai/mastra/commit/0d10ac7b8efa03c2f0c330eb2520148bfa6091e9), [`e3e899c`](https://github.com/mastra-ai/mastra/commit/e3e899c650f4c435445303bd97a66f5840a52a1e)]:
|
|
19
|
+
- @mastra/core@0.24.3-alpha.0
|
|
20
|
+
|
|
3
21
|
## 0.24.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -280,23 +298,5 @@
|
|
|
280
298
|
- Include span id and trace id when running live scorers ([#8842](https://github.com/mastra-ai/mastra/pull/8842))
|
|
281
299
|
|
|
282
300
|
- Updated dependencies [[`1908ca0`](https://github.com/mastra-ai/mastra/commit/1908ca0521f90e43779cc29ab590173ca560443c)]:
|
|
283
|
-
- @mastra/core@0.21.0-alpha.4
|
|
284
|
-
|
|
285
|
-
## 0.21.0-alpha.3
|
|
286
|
-
|
|
287
|
-
### Patch Changes
|
|
288
|
-
|
|
289
|
-
- Updated dependencies [[`a1799bc`](https://github.com/mastra-ai/mastra/commit/a1799bcc1b5a1cdc188f2ac0165f17a1c4ac6f7b), [`6ff6094`](https://github.com/mastra-ai/mastra/commit/6ff60946f4ecfebdeef6e21d2b230c2204f2c9b8)]:
|
|
290
|
-
- @mastra/core@0.21.0-alpha.3
|
|
291
|
-
|
|
292
|
-
## 0.21.0-alpha.2
|
|
293
|
-
|
|
294
|
-
### Patch Changes
|
|
295
|
-
|
|
296
|
-
- Updated dependencies [[`f59fc1e`](https://github.com/mastra-ai/mastra/commit/f59fc1e406b8912e692f6bff6cfd4754cc8d165c)]:
|
|
297
|
-
- @mastra/core@0.21.0-alpha.2
|
|
298
|
-
|
|
299
|
-
## 0.21.0-alpha.1
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 4011 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @mastra/voice-google-gemini-live
|
|
2
2
|
|
|
3
|
+
## 0.11.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix(voice): Fix Vertex AI WebSocket connection failures in GeminiLiveVoice ([#10292](https://github.com/mastra-ai/mastra/pull/10292))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`7491cc0`](https://github.com/mastra-ai/mastra/commit/7491cc0350b2ba067f98c4915bf607119bd0150f), [`0d10ac7`](https://github.com/mastra-ai/mastra/commit/0d10ac7b8efa03c2f0c330eb2520148bfa6091e9), [`e3e899c`](https://github.com/mastra-ai/mastra/commit/e3e899c650f4c435445303bd97a66f5840a52a1e)]:
|
|
10
|
+
- @mastra/core@0.24.3
|
|
11
|
+
|
|
12
|
+
## 0.11.1-alpha.0
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- fix(voice): Fix Vertex AI WebSocket connection failures in GeminiLiveVoice ([#10292](https://github.com/mastra-ai/mastra/pull/10292))
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`7491cc0`](https://github.com/mastra-ai/mastra/commit/7491cc0350b2ba067f98c4915bf607119bd0150f), [`0d10ac7`](https://github.com/mastra-ai/mastra/commit/0d10ac7b8efa03c2f0c330eb2520148bfa6091e9), [`e3e899c`](https://github.com/mastra-ai/mastra/commit/e3e899c650f4c435445303bd97a66f5840a52a1e)]:
|
|
19
|
+
- @mastra/core@0.24.3-alpha.0
|
|
20
|
+
|
|
3
21
|
## 0.11.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -280,23 +298,5 @@
|
|
|
280
298
|
### Patch Changes
|
|
281
299
|
|
|
282
300
|
- [#5816](https://github.com/mastra-ai/mastra/pull/5816) [`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
|
|
283
|
-
- Updated dependency [`zod@^3.25.76` ↗︎](https://www.npmjs.com/package/zod/v/3.25.76) (from `^3.25.67`, in `dependencies`)
|
|
284
|
-
- Updated dependency [`zod-to-json-schema@^3.24.6` ↗︎](https://www.npmjs.com/package/zod-to-json-schema/v/3.24.6) (from `^3.23.5`, in `dependencies`)
|
|
285
|
-
- Updated dependencies [[`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715), [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa), [`183dc95`](https://github.com/mastra-ai/mastra/commit/183dc95596f391b977bd1a2c050b8498dac74891), [`a1111e2`](https://github.com/mastra-ai/mastra/commit/a1111e24e705488adfe5e0a6f20c53bddf26cb22), [`61debef`](https://github.com/mastra-ai/mastra/commit/61debefd80ad3a7ed5737e19df6a23d40091689a), [`9beaeff`](https://github.com/mastra-ai/mastra/commit/9beaeffa4a97b1d5fd01a7f8af8708b16067f67c), [`9eee594`](https://github.com/mastra-ai/mastra/commit/9eee594e35e0ca2a650fcc33fa82009a142b9ed0), [`979912c`](https://github.com/mastra-ai/mastra/commit/979912cfd180aad53287cda08af771df26454e2c), [`7dcf4c0`](https://github.com/mastra-ai/mastra/commit/7dcf4c04f44d9345b1f8bc5d41eae3f11ac61611), [`ad78bfc`](https://github.com/mastra-ai/mastra/commit/ad78bfc4ea6a1fff140432bf4f638e01af7af668), [`0ce418a`](https://github.com/mastra-ai/mastra/commit/0ce418a1ccaa5e125d4483a9651b635046152569), [`8387952`](https://github.com/mastra-ai/mastra/commit/838795227b4edf758c84a2adf6f7fba206c27719), [`5eca5d2`](https://github.com/mastra-ai/mastra/commit/5eca5d2655788863ea0442a46c9ef5d3c6dbe0a8)]:
|
|
286
|
-
- @mastra/core@0.15.3-alpha.4
|
|
287
|
-
|
|
288
|
-
## 0.10.8
|
|
289
|
-
|
|
290
|
-
### Patch Changes
|
|
291
|
-
|
|
292
|
-
- [`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdpes for @mastra/core
|
|
293
|
-
|
|
294
|
-
- Updated dependencies []:
|
|
295
|
-
- @mastra/core@0.15.2
|
|
296
|
-
|
|
297
|
-
## 0.10.7
|
|
298
|
-
|
|
299
|
-
### Patch Changes
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 51 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# create-mastra
|
|
2
2
|
|
|
3
|
+
## 0.18.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: detect bun runtime and cleanup on failure ([#10307](https://github.com/mastra-ai/mastra/pull/10307))
|
|
8
|
+
|
|
9
|
+
## 0.18.3-alpha.0
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- fix: detect bun runtime and cleanup on failure ([#10307](https://github.com/mastra-ai/mastra/pull/10307))
|
|
14
|
+
|
|
3
15
|
## 0.18.2
|
|
4
16
|
|
|
5
17
|
## 0.18.2-alpha.0
|
|
@@ -287,16 +299,4 @@
|
|
|
287
299
|
- Improved copy: replaced marketing language with action-oriented descriptions
|
|
288
300
|
- Added generated file comments with timestamps to all MDX outputs so maintainers know not to directly edit generated files
|
|
289
301
|
|
|
290
|
-
|
|
291
|
-
- Fixed provider field clearing when typing in model input
|
|
292
|
-
- Added responsive layout (stacks on mobile, side-by-side on desktop)
|
|
293
|
-
- Improved general styling of provider/model pickers
|
|
294
|
-
|
|
295
|
-
**Environment variables (`@mastra/deployer`):**
|
|
296
|
-
- Properly handle array of env vars (e.g., NETLIFY_TOKEN, NETLIFY_SITE_ID)
|
|
297
|
-
- Added correct singular/plural handling for "environment variable(s)"
|
|
298
|
-
|
|
299
|
-
- show thread list in desc order ([#8381](https://github.com/mastra-ai/mastra/pull/8381))
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
... 1824 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 1836 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# mastra
|
|
2
2
|
|
|
3
|
+
## 0.18.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: detect bun runtime and cleanup on failure ([#10307](https://github.com/mastra-ai/mastra/pull/10307))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`7491cc0`](https://github.com/mastra-ai/mastra/commit/7491cc0350b2ba067f98c4915bf607119bd0150f), [`0d10ac7`](https://github.com/mastra-ai/mastra/commit/0d10ac7b8efa03c2f0c330eb2520148bfa6091e9), [`e3e899c`](https://github.com/mastra-ai/mastra/commit/e3e899c650f4c435445303bd97a66f5840a52a1e)]:
|
|
10
|
+
- @mastra/core@0.24.3
|
|
11
|
+
- @mastra/deployer@0.24.3
|
|
12
|
+
|
|
13
|
+
## 0.18.3-alpha.0
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- fix: detect bun runtime and cleanup on failure ([#10307](https://github.com/mastra-ai/mastra/pull/10307))
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`7491cc0`](https://github.com/mastra-ai/mastra/commit/7491cc0350b2ba067f98c4915bf607119bd0150f), [`0d10ac7`](https://github.com/mastra-ai/mastra/commit/0d10ac7b8efa03c2f0c330eb2520148bfa6091e9), [`e3e899c`](https://github.com/mastra-ai/mastra/commit/e3e899c650f4c435445303bd97a66f5840a52a1e)]:
|
|
20
|
+
- @mastra/core@0.24.3-alpha.0
|
|
21
|
+
- @mastra/deployer@0.24.3-alpha.0
|
|
22
|
+
|
|
3
23
|
## 0.18.2
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -279,24 +299,4 @@
|
|
|
279
299
|
|
|
280
300
|
- Use model-router in create-mastra starter template ([#8631](https://github.com/mastra-ai/mastra/pull/8631))
|
|
281
301
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
- Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
|
|
285
|
-
|
|
286
|
-
- Create unified Sidebar component to use on Playground and Cloud ([#8655](https://github.com/mastra-ai/mastra/pull/8655))
|
|
287
|
-
|
|
288
|
-
- Use only zod validation in dynamic form ([#8802](https://github.com/mastra-ai/mastra/pull/8802))
|
|
289
|
-
|
|
290
|
-
- Add support for --debug options to build/dev commands to add more logging ([#8792](https://github.com/mastra-ai/mastra/pull/8792))
|
|
291
|
-
|
|
292
|
-
- Add div wrapper around entity tables to fix table vertical position ([#8758](https://github.com/mastra-ai/mastra/pull/8758))
|
|
293
|
-
|
|
294
|
-
- Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
|
|
295
|
-
|
|
296
|
-
- Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
|
|
297
|
-
|
|
298
|
-
- Customize AITraces type to seamlessly work on Cloud too ([#8759](https://github.com/mastra-ai/mastra/pull/8759))
|
|
299
|
-
|
|
300
|
-
- Refactor EntryList component and Scorer and Observability pages ([#8652](https://github.com/mastra-ai/mastra/pull/8652))
|
|
301
|
-
|
|
302
|
-
... 6457 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 6477 more lines hidden. See full changelog in package directory.
|
|
@@ -3,6 +3,8 @@ title: "Reference: Agent.generate() | Agents"
|
|
|
3
3
|
description: "Documentation for the `Agent.generate()` method in Mastra agents, which enables non-streaming generation of responses with enhanced capabilities."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
import { MODEL_SETTINGS_OBJECT } from "@site/src/components/ModelSettingsProperties";
|
|
7
|
+
|
|
6
8
|
# Agent.generate()
|
|
7
9
|
|
|
8
10
|
The `.generate()` method enables non-streaming response generation from an agent, with enhanced capabilities and flexible output formats. It accepts messages and optional generation options, supporting both Mastra’s native format and AI SDK v5 compatibility.
|
|
@@ -17,6 +19,14 @@ const mastraResult = await agent.generate("message for agent");
|
|
|
17
19
|
const aiSdkResult = await agent.generate("message for agent", {
|
|
18
20
|
format: "aisdk",
|
|
19
21
|
});
|
|
22
|
+
|
|
23
|
+
// With model settings (e.g., limiting output tokens)
|
|
24
|
+
const limitedResult = await agent.generate("Write a short poem about coding", {
|
|
25
|
+
modelSettings: {
|
|
26
|
+
maxOutputTokens: 50,
|
|
27
|
+
temperature: 0.7,
|
|
28
|
+
},
|
|
29
|
+
});
|
|
20
30
|
```
|
|
21
31
|
|
|
22
32
|
:::info
|
|
@@ -392,91 +402,7 @@ const aiSdkResult = await agent.generate("message for agent", {
|
|
|
392
402
|
},
|
|
393
403
|
],
|
|
394
404
|
},
|
|
395
|
-
|
|
396
|
-
name: "modelSettings",
|
|
397
|
-
type: "CallSettings",
|
|
398
|
-
isOptional: true,
|
|
399
|
-
description: "Model-specific settings like temperature, topP, etc.",
|
|
400
|
-
properties: [
|
|
401
|
-
{
|
|
402
|
-
parameters: [
|
|
403
|
-
{
|
|
404
|
-
name: "temperature",
|
|
405
|
-
type: "number",
|
|
406
|
-
isOptional: true,
|
|
407
|
-
description:
|
|
408
|
-
"Controls randomness in generation (0-2). Higher values make output more random.",
|
|
409
|
-
},
|
|
410
|
-
],
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
parameters: [
|
|
414
|
-
{
|
|
415
|
-
name: "maxRetries",
|
|
416
|
-
type: "number",
|
|
417
|
-
isOptional: true,
|
|
418
|
-
description:
|
|
419
|
-
"Maximum number of retry attempts for failed requests.",
|
|
420
|
-
},
|
|
421
|
-
],
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
parameters: [
|
|
425
|
-
{
|
|
426
|
-
name: "topP",
|
|
427
|
-
type: "number",
|
|
428
|
-
isOptional: true,
|
|
429
|
-
description:
|
|
430
|
-
"Nucleus sampling parameter (0-1). Controls diversity of generated text.",
|
|
431
|
-
},
|
|
432
|
-
],
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
parameters: [
|
|
436
|
-
{
|
|
437
|
-
name: "topK",
|
|
438
|
-
type: "number",
|
|
439
|
-
isOptional: true,
|
|
440
|
-
description:
|
|
441
|
-
"Top-k sampling parameter. Limits vocabulary to k most likely tokens.",
|
|
442
|
-
},
|
|
443
|
-
],
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
parameters: [
|
|
447
|
-
{
|
|
448
|
-
name: "presencePenalty",
|
|
449
|
-
type: "number",
|
|
450
|
-
isOptional: true,
|
|
451
|
-
description:
|
|
452
|
-
"Penalty for token presence (-2 to 2). Reduces repetition.",
|
|
453
|
-
},
|
|
454
|
-
],
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
parameters: [
|
|
458
|
-
{
|
|
459
|
-
name: "frequencyPenalty",
|
|
460
|
-
type: "number",
|
|
461
|
-
isOptional: true,
|
|
462
|
-
description:
|
|
463
|
-
"Penalty for token frequency (-2 to 2). Reduces repetition of frequent tokens.",
|
|
464
|
-
},
|
|
465
|
-
],
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
parameters: [
|
|
469
|
-
{
|
|
470
|
-
name: "stopSequences",
|
|
471
|
-
type: "string[]",
|
|
472
|
-
isOptional: true,
|
|
473
|
-
description:
|
|
474
|
-
"Array of strings that will stop generation when encountered.",
|
|
475
|
-
},
|
|
476
|
-
],
|
|
477
|
-
},
|
|
478
|
-
],
|
|
479
|
-
},
|
|
405
|
+
MODEL_SETTINGS_OBJECT,
|
|
480
406
|
{
|
|
481
407
|
name: "threadId",
|
|
482
408
|
type: "string",
|
|
@@ -652,13 +578,6 @@ const aiSdkResult = await agent.generate("message for agent", {
|
|
|
652
578
|
},
|
|
653
579
|
],
|
|
654
580
|
},
|
|
655
|
-
{
|
|
656
|
-
name: "maxTokens",
|
|
657
|
-
type: "number",
|
|
658
|
-
isOptional: true,
|
|
659
|
-
description:
|
|
660
|
-
"Conditions for stopping execution (e.g., step count, token limit).",
|
|
661
|
-
},
|
|
662
581
|
]}
|
|
663
582
|
/>
|
|
664
583
|
|
|
@@ -3,6 +3,8 @@ title: "Reference: Agent.network() | Agents"
|
|
|
3
3
|
description: "Documentation for the `Agent.network()` method in Mastra agents, which enables multi-agent collaboration and routing."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
import { MODEL_SETTINGS_OBJECT } from "@site/src/components/ModelSettingsProperties";
|
|
7
|
+
|
|
6
8
|
# Agent.network()
|
|
7
9
|
|
|
8
10
|
:::caution Experimental Feature
|
|
@@ -207,91 +209,7 @@ await agent.network(`
|
|
|
207
209
|
},
|
|
208
210
|
],
|
|
209
211
|
},
|
|
210
|
-
|
|
211
|
-
name: "modelSettings",
|
|
212
|
-
type: "CallSettings",
|
|
213
|
-
isOptional: true,
|
|
214
|
-
description:
|
|
215
|
-
"Model-specific settings like temperature, maxTokens, topP, etc. These are passed to the underlying language model.",
|
|
216
|
-
properties: [
|
|
217
|
-
{
|
|
218
|
-
parameters: [
|
|
219
|
-
{
|
|
220
|
-
name: "temperature",
|
|
221
|
-
type: "number",
|
|
222
|
-
isOptional: true,
|
|
223
|
-
description:
|
|
224
|
-
"Controls randomness in the model's output. Higher values (e.g., 0.8) make the output more random, lower values (e.g., 0.2) make it more focused and deterministic.",
|
|
225
|
-
},
|
|
226
|
-
],
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
parameters: [
|
|
230
|
-
{
|
|
231
|
-
name: "maxRetries",
|
|
232
|
-
type: "number",
|
|
233
|
-
isOptional: true,
|
|
234
|
-
description: "Maximum number of retries for failed requests.",
|
|
235
|
-
},
|
|
236
|
-
],
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
parameters: [
|
|
240
|
-
{
|
|
241
|
-
name: "topP",
|
|
242
|
-
type: "number",
|
|
243
|
-
isOptional: true,
|
|
244
|
-
description:
|
|
245
|
-
"Nucleus sampling. This is a number between 0 and 1. It is recommended to set either temperature or topP, but not both.",
|
|
246
|
-
},
|
|
247
|
-
],
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
parameters: [
|
|
251
|
-
{
|
|
252
|
-
name: "topK",
|
|
253
|
-
type: "number",
|
|
254
|
-
isOptional: true,
|
|
255
|
-
description:
|
|
256
|
-
"Only sample from the top K options for each subsequent token. Used to remove 'long tail' low probability responses.",
|
|
257
|
-
},
|
|
258
|
-
],
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
parameters: [
|
|
262
|
-
{
|
|
263
|
-
name: "presencePenalty",
|
|
264
|
-
type: "number",
|
|
265
|
-
isOptional: true,
|
|
266
|
-
description:
|
|
267
|
-
"Presence penalty setting. It affects the likelihood of the model to repeat information that is already in the prompt. A number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition).",
|
|
268
|
-
},
|
|
269
|
-
],
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
parameters: [
|
|
273
|
-
{
|
|
274
|
-
name: "frequencyPenalty",
|
|
275
|
-
type: "number",
|
|
276
|
-
isOptional: true,
|
|
277
|
-
description:
|
|
278
|
-
"Frequency penalty setting. It affects the likelihood of the model to repeatedly use the same words or phrases. A number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition).",
|
|
279
|
-
},
|
|
280
|
-
],
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
parameters: [
|
|
284
|
-
{
|
|
285
|
-
name: "stopSequences",
|
|
286
|
-
type: "string[]",
|
|
287
|
-
isOptional: true,
|
|
288
|
-
description:
|
|
289
|
-
"Stop sequences. If set, the model will stop generating text when one of the stop sequences is generated.",
|
|
290
|
-
},
|
|
291
|
-
],
|
|
292
|
-
},
|
|
293
|
-
],
|
|
294
|
-
},
|
|
212
|
+
MODEL_SETTINGS_OBJECT,
|
|
295
213
|
{
|
|
296
214
|
name: "runId",
|
|
297
215
|
type: "string",
|
|
@@ -3,6 +3,8 @@ title: "Reference: Agent.stream() | Streaming"
|
|
|
3
3
|
description: "Documentation for the `Agent.stream()` method in Mastra agents, which enables real-time streaming of responses with enhanced capabilities."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
import { MODEL_SETTINGS_OBJECT } from "@site/src/components/ModelSettingsProperties";
|
|
7
|
+
|
|
6
8
|
# Agent.stream()
|
|
7
9
|
|
|
8
10
|
The `.stream()` method enables real-time streaming of responses from an agent with enhanced capabilities and format flexibility. This method accepts messages and optional streaming options, providing a next-generation streaming experience with support for both Mastra's native format and AI SDK v5 compatibility.
|
|
@@ -396,91 +398,7 @@ const aiSdkStream = await agent.stream("message for agent", {
|
|
|
396
398
|
},
|
|
397
399
|
],
|
|
398
400
|
},
|
|
399
|
-
|
|
400
|
-
name: "modelSettings",
|
|
401
|
-
type: "CallSettings",
|
|
402
|
-
isOptional: true,
|
|
403
|
-
description:
|
|
404
|
-
"Model-specific settings like temperature, maxTokens, topP, etc. These are passed to the underlying language model.",
|
|
405
|
-
properties: [
|
|
406
|
-
{
|
|
407
|
-
parameters: [
|
|
408
|
-
{
|
|
409
|
-
name: "temperature",
|
|
410
|
-
type: "number",
|
|
411
|
-
isOptional: true,
|
|
412
|
-
description:
|
|
413
|
-
"Controls randomness in the model's output. Higher values (e.g., 0.8) make the output more random, lower values (e.g., 0.2) make it more focused and deterministic.",
|
|
414
|
-
},
|
|
415
|
-
],
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
parameters: [
|
|
419
|
-
{
|
|
420
|
-
name: "maxRetries",
|
|
421
|
-
type: "number",
|
|
422
|
-
isOptional: true,
|
|
423
|
-
description: "Maximum number of retries for failed requests.",
|
|
424
|
-
},
|
|
425
|
-
],
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
parameters: [
|
|
429
|
-
{
|
|
430
|
-
name: "topP",
|
|
431
|
-
type: "number",
|
|
432
|
-
isOptional: true,
|
|
433
|
-
description:
|
|
434
|
-
"Nucleus sampling. This is a number between 0 and 1. It is recommended to set either temperature or topP, but not both.",
|
|
435
|
-
},
|
|
436
|
-
],
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
parameters: [
|
|
440
|
-
{
|
|
441
|
-
name: "topK",
|
|
442
|
-
type: "number",
|
|
443
|
-
isOptional: true,
|
|
444
|
-
description:
|
|
445
|
-
"Only sample from the top K options for each subsequent token. Used to remove 'long tail' low probability responses.",
|
|
446
|
-
},
|
|
447
|
-
],
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
parameters: [
|
|
451
|
-
{
|
|
452
|
-
name: "presencePenalty",
|
|
453
|
-
type: "number",
|
|
454
|
-
isOptional: true,
|
|
455
|
-
description:
|
|
456
|
-
"Presence penalty setting. It affects the likelihood of the model to repeat information that is already in the prompt. A number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition).",
|
|
457
|
-
},
|
|
458
|
-
],
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
parameters: [
|
|
462
|
-
{
|
|
463
|
-
name: "frequencyPenalty",
|
|
464
|
-
type: "number",
|
|
465
|
-
isOptional: true,
|
|
466
|
-
description:
|
|
467
|
-
"Frequency penalty setting. It affects the likelihood of the model to repeatedly use the same words or phrases. A number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition).",
|
|
468
|
-
},
|
|
469
|
-
],
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
parameters: [
|
|
473
|
-
{
|
|
474
|
-
name: "stopSequences",
|
|
475
|
-
type: "string[]",
|
|
476
|
-
isOptional: true,
|
|
477
|
-
description:
|
|
478
|
-
"Stop sequences. If set, the model will stop generating text when one of the stop sequences is generated.",
|
|
479
|
-
},
|
|
480
|
-
],
|
|
481
|
-
},
|
|
482
|
-
],
|
|
483
|
-
},
|
|
401
|
+
MODEL_SETTINGS_OBJECT,
|
|
484
402
|
{
|
|
485
403
|
name: "threadId",
|
|
486
404
|
type: "string",
|
|
@@ -661,13 +579,6 @@ const aiSdkStream = await agent.stream("message for agent", {
|
|
|
661
579
|
},
|
|
662
580
|
],
|
|
663
581
|
},
|
|
664
|
-
{
|
|
665
|
-
name: "maxTokens",
|
|
666
|
-
type: "number",
|
|
667
|
-
isOptional: true,
|
|
668
|
-
description:
|
|
669
|
-
"Condition(s) that determine when to stop the agent's execution. Can be a single condition or array of conditions.",
|
|
670
|
-
},
|
|
671
582
|
]}
|
|
672
583
|
/>
|
|
673
584
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 0.13.42
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`7491cc0`](https://github.com/mastra-ai/mastra/commit/7491cc0350b2ba067f98c4915bf607119bd0150f), [`0d10ac7`](https://github.com/mastra-ai/mastra/commit/0d10ac7b8efa03c2f0c330eb2520148bfa6091e9), [`e3e899c`](https://github.com/mastra-ai/mastra/commit/e3e899c650f4c435445303bd97a66f5840a52a1e)]:
|
|
8
|
+
- @mastra/core@0.24.3
|
|
9
|
+
|
|
10
|
+
## 0.13.42-alpha.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`7491cc0`](https://github.com/mastra-ai/mastra/commit/7491cc0350b2ba067f98c4915bf607119bd0150f), [`0d10ac7`](https://github.com/mastra-ai/mastra/commit/0d10ac7b8efa03c2f0c330eb2520148bfa6091e9), [`e3e899c`](https://github.com/mastra-ai/mastra/commit/e3e899c650f4c435445303bd97a66f5840a52a1e)]:
|
|
15
|
+
- @mastra/core@0.24.3-alpha.0
|
|
16
|
+
|
|
3
17
|
## 0.13.41
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|