@mastra/mcp-docs-server 0.13.41-alpha.0 → 0.13.42-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.
- 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 +47 -47
- package/.docs/organized/changelogs/%40mastra%2Fauth.md +6 -0
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +26 -26
- 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 +18 -18
- package/.docs/organized/changelogs/%40mastra%2Fmcp.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fpinecone.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Freact.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fvoice-google-gemini-live.md +21 -21
- package/.docs/organized/changelogs/create-mastra.md +9 -9
- 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 +17 -0
- package/package.json +5 -5
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 6.9.3-alpha.0
|
|
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-alpha.0
|
|
9
|
+
- @mastra/core@0.24.3-alpha.0
|
|
10
|
+
- @mastra/react@0.0.18-alpha.0
|
|
11
|
+
|
|
12
|
+
## 6.9.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Fix scorer filtering for SpanScoring, add error and info message for user ([#10164](https://github.com/mastra-ai/mastra/pull/10164))
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`eebb7bb`](https://github.com/mastra-ai/mastra/commit/eebb7bb407c57342a3be3a2efbe68c696589feeb), [`c6e6d07`](https://github.com/mastra-ai/mastra/commit/c6e6d071ecf346a80dceab410af2c567c7e66a57), [`0e6df8f`](https://github.com/mastra-ai/mastra/commit/0e6df8f66340992cb1b319834657deb17368de52), [`6295fd7`](https://github.com/mastra-ai/mastra/commit/6295fd783d49075d5bf2c18ff9486e94d36aaa56), [`d813cf7`](https://github.com/mastra-ai/mastra/commit/d813cf7251695d85cc60469058384ffa74974484)]:
|
|
19
|
+
- @mastra/core@0.24.2
|
|
20
|
+
- @mastra/client-js@0.16.11
|
|
21
|
+
- @mastra/react@0.0.17
|
|
22
|
+
|
|
3
23
|
## 6.9.2-alpha.0
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -279,24 +299,4 @@
|
|
|
279
299
|
|
|
280
300
|
- Threads are not refreshing correctly after generate / stream / network ([#9015](https://github.com/mastra-ai/mastra/pull/9015))
|
|
281
301
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
- 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)]:
|
|
285
|
-
- @mastra/core@0.21.2-alpha.0
|
|
286
|
-
- @mastra/client-js@0.16.2-alpha.0
|
|
287
|
-
- @mastra/react@0.0.8-alpha.0
|
|
288
|
-
|
|
289
|
-
## 6.5.1
|
|
290
|
-
|
|
291
|
-
### Patch Changes
|
|
292
|
-
|
|
293
|
-
- Add @mastra/react to peer deps ([#8857](https://github.com/mastra-ai/mastra/pull/8857))
|
|
294
|
-
|
|
295
|
-
- Updated dependencies [[`ca85c93`](https://github.com/mastra-ai/mastra/commit/ca85c932b232e6ad820c811ec176d98e68c59b0a), [`a1d40f8`](https://github.com/mastra-ai/mastra/commit/a1d40f88d4ce42c4508774ad22e38ac582157af2), [`01c4a25`](https://github.com/mastra-ai/mastra/commit/01c4a2506c514d5e861c004d3d2fb3791c6391f3), [`9ba695e`](https://github.com/mastra-ai/mastra/commit/9ba695e9ff977b8f13cc71df3b452775757361e5), [`cce8aad`](https://github.com/mastra-ai/mastra/commit/cce8aad878a0dd98e5647680f3765caba0b1701c)]:
|
|
296
|
-
- @mastra/core@0.21.1
|
|
297
|
-
- @mastra/react@0.0.7
|
|
298
|
-
- @mastra/client-js@0.16.1
|
|
299
|
-
|
|
300
|
-
## 6.5.1-alpha.0
|
|
301
|
-
|
|
302
|
-
... 3995 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 4015 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/react-hooks
|
|
2
2
|
|
|
3
|
+
## 0.0.18-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`91fa2b0`](https://github.com/mastra-ai/mastra/commit/91fa2b0cf077561d835baef8519a1422f1decd55)]:
|
|
8
|
+
- @mastra/client-js@0.16.12-alpha.0
|
|
9
|
+
|
|
10
|
+
## 0.0.17
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies []:
|
|
15
|
+
- @mastra/client-js@0.16.11
|
|
16
|
+
|
|
3
17
|
## 0.0.17-alpha.0
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -285,18 +299,4 @@
|
|
|
285
299
|
|
|
286
300
|
- type fixes and missing changeset ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
|
|
287
301
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
- Updated dependencies [[`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`2aee9e7`](https://github.com/mastra-ai/mastra/commit/2aee9e7d188b8b256a4ddc203ccefb366b4867fa)]:
|
|
291
|
-
- @mastra/client-js@0.15.1
|
|
292
|
-
|
|
293
|
-
## 0.0.4-alpha.4
|
|
294
|
-
|
|
295
|
-
### Patch Changes
|
|
296
|
-
|
|
297
|
-
- Updated dependencies []:
|
|
298
|
-
- @mastra/client-js@0.15.1-alpha.4
|
|
299
|
-
|
|
300
|
-
## 0.0.4-alpha.3
|
|
301
|
-
|
|
302
|
-
... 103 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 117 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @mastra/server
|
|
2
2
|
|
|
3
|
+
## 0.24.3-alpha.0
|
|
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-alpha.0
|
|
11
|
+
|
|
12
|
+
## 0.24.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`eebb7bb`](https://github.com/mastra-ai/mastra/commit/eebb7bb407c57342a3be3a2efbe68c696589feeb), [`c6e6d07`](https://github.com/mastra-ai/mastra/commit/c6e6d071ecf346a80dceab410af2c567c7e66a57), [`0e6df8f`](https://github.com/mastra-ai/mastra/commit/0e6df8f66340992cb1b319834657deb17368de52), [`6295fd7`](https://github.com/mastra-ai/mastra/commit/6295fd783d49075d5bf2c18ff9486e94d36aaa56), [`d813cf7`](https://github.com/mastra-ai/mastra/commit/d813cf7251695d85cc60469058384ffa74974484)]:
|
|
17
|
+
- @mastra/core@0.24.2
|
|
18
|
+
|
|
3
19
|
## 0.24.2-alpha.0
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -282,21 +298,5 @@
|
|
|
282
298
|
- Updated dependencies [[`a1799bc`](https://github.com/mastra-ai/mastra/commit/a1799bcc1b5a1cdc188f2ac0165f17a1c4ac6f7b), [`6ff6094`](https://github.com/mastra-ai/mastra/commit/6ff60946f4ecfebdeef6e21d2b230c2204f2c9b8)]:
|
|
283
299
|
- @mastra/core@0.21.0-alpha.3
|
|
284
300
|
|
|
285
|
-
## 0.21.0-alpha.2
|
|
286
|
-
|
|
287
|
-
### Patch Changes
|
|
288
|
-
|
|
289
|
-
- Updated dependencies [[`f59fc1e`](https://github.com/mastra-ai/mastra/commit/f59fc1e406b8912e692f6bff6cfd4754cc8d165c)]:
|
|
290
|
-
- @mastra/core@0.21.0-alpha.2
|
|
291
|
-
|
|
292
|
-
## 0.21.0-alpha.1
|
|
293
|
-
|
|
294
|
-
### Patch Changes
|
|
295
|
-
|
|
296
|
-
- Updated dependencies [[`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61)]:
|
|
297
|
-
- @mastra/core@0.21.0-alpha.1
|
|
298
|
-
|
|
299
|
-
## 0.21.0-alpha.0
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 4002 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @mastra/voice-google-gemini-live
|
|
2
2
|
|
|
3
|
+
## 0.11.1-alpha.0
|
|
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-alpha.0
|
|
11
|
+
|
|
12
|
+
## 0.11.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- Backport gemini fix to 0.x ([#10234](https://github.com/mastra-ai/mastra/pull/10234))
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [[`eebb7bb`](https://github.com/mastra-ai/mastra/commit/eebb7bb407c57342a3be3a2efbe68c696589feeb), [`c6e6d07`](https://github.com/mastra-ai/mastra/commit/c6e6d071ecf346a80dceab410af2c567c7e66a57), [`0e6df8f`](https://github.com/mastra-ai/mastra/commit/0e6df8f66340992cb1b319834657deb17368de52), [`6295fd7`](https://github.com/mastra-ai/mastra/commit/6295fd783d49075d5bf2c18ff9486e94d36aaa56), [`d813cf7`](https://github.com/mastra-ai/mastra/commit/d813cf7251695d85cc60469058384ffa74974484)]:
|
|
21
|
+
- @mastra/core@0.24.2
|
|
22
|
+
|
|
3
23
|
## 0.11.0-alpha.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
|
@@ -278,25 +298,5 @@
|
|
|
278
298
|
|
|
279
299
|
### Patch Changes
|
|
280
300
|
|
|
281
|
-
- [`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdpes for @mastra/core
|
|
282
|
-
|
|
283
|
-
- Updated dependencies []:
|
|
284
|
-
- @mastra/core@0.15.2
|
|
285
|
-
|
|
286
|
-
## 0.10.7
|
|
287
|
-
|
|
288
|
-
### Patch Changes
|
|
289
301
|
|
|
290
|
-
|
|
291
|
-
- Updated dependencies [227c7e6]
|
|
292
|
-
- Updated dependencies [12cae67]
|
|
293
|
-
- Updated dependencies [fd3a3eb]
|
|
294
|
-
- Updated dependencies [6faaee5]
|
|
295
|
-
- Updated dependencies [4232b14]
|
|
296
|
-
- Updated dependencies [a89de7e]
|
|
297
|
-
- Updated dependencies [5a37d0c]
|
|
298
|
-
- Updated dependencies [4bde0cb]
|
|
299
|
-
- Updated dependencies [cf4f357]
|
|
300
|
-
- Updated dependencies [ad888a2]
|
|
301
|
-
|
|
302
|
-
... 22 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 42 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# create-mastra
|
|
2
2
|
|
|
3
|
+
## 0.18.3-alpha.0
|
|
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.2
|
|
10
|
+
|
|
3
11
|
## 0.18.2-alpha.0
|
|
4
12
|
|
|
5
13
|
## 0.18.1
|
|
@@ -290,13 +298,5 @@
|
|
|
290
298
|
- Added responsive layout (stacks on mobile, side-by-side on desktop)
|
|
291
299
|
- Improved general styling of provider/model pickers
|
|
292
300
|
|
|
293
|
-
**Environment variables (`@mastra/deployer`):**
|
|
294
|
-
- Properly handle array of env vars (e.g., NETLIFY_TOKEN, NETLIFY_SITE_ID)
|
|
295
|
-
- Added correct singular/plural handling for "environment variable(s)"
|
|
296
|
-
|
|
297
|
-
- show thread list in desc order ([#8381](https://github.com/mastra-ai/mastra/pull/8381))
|
|
298
|
-
|
|
299
|
-
- Fix an issue preventing showing working memory and semantic recall in the playground ([#8358](https://github.com/mastra-ai/mastra/pull/8358))
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1830 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# mastra
|
|
2
2
|
|
|
3
|
+
## 0.18.3-alpha.0
|
|
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-alpha.0
|
|
11
|
+
- @mastra/deployer@0.24.3-alpha.0
|
|
12
|
+
|
|
13
|
+
## 0.18.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Add support to skip dotenv/env file loading by adding MASTRA_SKIP_DOTENV ([#10246](https://github.com/mastra-ai/mastra/pull/10246))
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`eebb7bb`](https://github.com/mastra-ai/mastra/commit/eebb7bb407c57342a3be3a2efbe68c696589feeb), [`c6e6d07`](https://github.com/mastra-ai/mastra/commit/c6e6d071ecf346a80dceab410af2c567c7e66a57), [`0e6df8f`](https://github.com/mastra-ai/mastra/commit/0e6df8f66340992cb1b319834657deb17368de52), [`6295fd7`](https://github.com/mastra-ai/mastra/commit/6295fd783d49075d5bf2c18ff9486e94d36aaa56), [`d813cf7`](https://github.com/mastra-ai/mastra/commit/d813cf7251695d85cc60469058384ffa74974484)]:
|
|
20
|
+
- @mastra/core@0.24.2
|
|
21
|
+
- @mastra/deployer@0.24.2
|
|
22
|
+
|
|
3
23
|
## 0.18.2-alpha.0
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -279,24 +299,4 @@
|
|
|
279
299
|
|
|
280
300
|
- Add support for --debug options to build/dev commands to add more logging ([#8792](https://github.com/mastra-ai/mastra/pull/8792))
|
|
281
301
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
- Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
|
|
285
|
-
|
|
286
|
-
- Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
|
|
287
|
-
|
|
288
|
-
- Customize AITraces type to seamlessly work on Cloud too ([#8759](https://github.com/mastra-ai/mastra/pull/8759))
|
|
289
|
-
|
|
290
|
-
- Refactor EntryList component and Scorer and Observability pages ([#8652](https://github.com/mastra-ai/mastra/pull/8652))
|
|
291
|
-
|
|
292
|
-
- Stream finalResult from network loop ([#8795](https://github.com/mastra-ai/mastra/pull/8795))
|
|
293
|
-
|
|
294
|
-
- Improve README ([#8819](https://github.com/mastra-ai/mastra/pull/8819))
|
|
295
|
-
|
|
296
|
-
- Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
|
|
297
|
-
|
|
298
|
-
- Updated dependencies [[`0fb6616`](https://github.com/mastra-ai/mastra/commit/0fb66169600ed2a3dc1297b1bfa8a7693ebb6e3c), [`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`1dbd76a`](https://github.com/mastra-ai/mastra/commit/1dbd76aff29cc764d3a1ac7bb01172fe59cb5992), [`f59fc1e`](https://github.com/mastra-ai/mastra/commit/f59fc1e406b8912e692f6bff6cfd4754cc8d165c), [`ca5a01f`](https://github.com/mastra-ai/mastra/commit/ca5a01f0dd4dabdbfde3beeaf92c7333e0f9bb39), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`a1799bc`](https://github.com/mastra-ai/mastra/commit/a1799bcc1b5a1cdc188f2ac0165f17a1c4ac6f7b), [`6ff6094`](https://github.com/mastra-ai/mastra/commit/6ff60946f4ecfebdeef6e21d2b230c2204f2c9b8), [`2ddb851`](https://github.com/mastra-ai/mastra/commit/2ddb8519c4b6f1d31be10ffd33b41d2b649a04ff), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`dfe856f`](https://github.com/mastra-ai/mastra/commit/dfe856f7f60ff4765b75930e7b5d82dd0f0f7d89), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1908ca0`](https://github.com/mastra-ai/mastra/commit/1908ca0521f90e43779cc29ab590173ca560443c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`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), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`e0e1cf1`](https://github.com/mastra-ai/mastra/commit/e0e1cf1e37b9dc61099ab331a6d386e44b816310), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb)]:
|
|
299
|
-
- @mastra/deployer@0.21.0
|
|
300
|
-
- @mastra/core@0.21.0
|
|
301
|
-
|
|
302
|
-
... 6447 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 6467 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,22 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 0.13.42-alpha.0
|
|
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-alpha.0
|
|
9
|
+
|
|
10
|
+
## 0.13.41
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Add migration tool to mcp docs server for stable branch that will let users know to upgrade mcp docs server @latest to @beta to get the proper migration tool. ([#10200](https://github.com/mastra-ai/mastra/pull/10200))
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`f21ed89`](https://github.com/mastra-ai/mastra/commit/f21ed89577cfa00d616f10eaf10d8feb096f283e), [`eebb7bb`](https://github.com/mastra-ai/mastra/commit/eebb7bb407c57342a3be3a2efbe68c696589feeb), [`c6e6d07`](https://github.com/mastra-ai/mastra/commit/c6e6d071ecf346a80dceab410af2c567c7e66a57), [`0e6df8f`](https://github.com/mastra-ai/mastra/commit/0e6df8f66340992cb1b319834657deb17368de52), [`6295fd7`](https://github.com/mastra-ai/mastra/commit/6295fd783d49075d5bf2c18ff9486e94d36aaa56), [`d813cf7`](https://github.com/mastra-ai/mastra/commit/d813cf7251695d85cc60469058384ffa74974484)]:
|
|
17
|
+
- @mastra/mcp@0.14.3
|
|
18
|
+
- @mastra/core@0.24.2
|
|
19
|
+
|
|
3
20
|
## 0.13.41-alpha.0
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|