@mastra/mcp-docs-server 0.13.22 → 0.13.23-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%2Fstorage-test-utils.md +9 -9
- package/.docs/organized/changelogs/%40internal%2Ftypes-builder.md +2 -0
- package/.docs/organized/changelogs/%40mastra%2Fagent-builder.md +14 -0
- package/.docs/organized/changelogs/%40mastra%2Fai-sdk.md +9 -0
- package/.docs/organized/changelogs/%40mastra%2Fastra.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fchroma.md +13 -13
- package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +14 -14
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +37 -37
- package/.docs/organized/changelogs/%40mastra%2Fcloud.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +14 -14
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +133 -133
- package/.docs/organized/changelogs/%40mastra%2Fcouchbase.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +33 -33
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +36 -36
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +30 -30
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +30 -30
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +103 -103
- package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fevals.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Flance.md +14 -14
- package/.docs/organized/changelogs/%40mastra%2Flibsql.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Floggers.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fmcp-registry-registry.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fmcp.md +16 -16
- package/.docs/organized/changelogs/%40mastra%2Fmemory.md +16 -16
- package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fmssql.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fopensearch.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fpg.md +20 -20
- package/.docs/organized/changelogs/%40mastra%2Fpinecone.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +65 -65
- package/.docs/organized/changelogs/%40mastra%2Fqdrant.md +19 -19
- package/.docs/organized/changelogs/%40mastra%2Frag.md +18 -18
- package/.docs/organized/changelogs/%40mastra%2Fs3vectors.md +11 -0
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fturbopuffer.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fupstash.md +13 -13
- package/.docs/organized/changelogs/%40mastra%2Fvectorize.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fvoice-azure.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fvoice-cloudflare.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fvoice-deepgram.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fvoice-elevenlabs.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fvoice-gladia.md +9 -0
- package/.docs/organized/changelogs/%40mastra%2Fvoice-google-gemini-live.md +11 -0
- package/.docs/organized/changelogs/%40mastra%2Fvoice-google.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fvoice-murf.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fvoice-openai-realtime.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fvoice-openai.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fvoice-playai.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fvoice-sarvam.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fvoice-speechify.md +13 -13
- package/.docs/organized/changelogs/create-mastra.md +17 -17
- package/.docs/organized/changelogs/mastra.md +75 -75
- package/.docs/organized/code-examples/agent.md +102 -1
- package/.docs/raw/reference/agents/generateVNext.mdx +6 -0
- package/.docs/raw/reference/streaming/agents/MastraModelOutput.mdx +1 -1
- package/.docs/raw/reference/streaming/agents/streamVNext.mdx +6 -0
- package/.docs/raw/reference/streaming/workflows/resumeStreamVNext.mdx +100 -0
- package/.docs/raw/reference/streaming/workflows/streamVNext.mdx +7 -0
- package/CHANGELOG.md +7 -0
- package/package.json +3 -3
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/voice-playai
|
|
2
2
|
|
|
3
|
+
## 0.11.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`6047778`](https://github.com/mastra-ai/mastra/commit/6047778e501df460648f31decddf8e443f36e373), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`05c7abf`](https://github.com/mastra-ai/mastra/commit/05c7abfe105a015b7760c9bf33ff4419727502a0), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`aee4f00`](https://github.com/mastra-ai/mastra/commit/aee4f00e61e1a42e81a6d74ff149dbe69e32695a), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
|
|
10
|
+
- @mastra/core@0.17.0
|
|
11
|
+
|
|
3
12
|
## 0.11.5-alpha.0
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -289,14 +298,5 @@
|
|
|
289
298
|
- Updated dependencies [2097952]
|
|
290
299
|
- Updated dependencies [792c4c0]
|
|
291
300
|
- Updated dependencies [5d74aab]
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
- Updated dependencies [d2a7a31]
|
|
295
|
-
- Updated dependencies [502fe05]
|
|
296
|
-
- Updated dependencies [144eb0b]
|
|
297
|
-
- Updated dependencies [8ba1b51]
|
|
298
|
-
- Updated dependencies [4efcfa0]
|
|
299
|
-
- Updated dependencies [0e17048]
|
|
300
|
-
- @mastra/core@0.10.7
|
|
301
|
-
|
|
302
|
-
... 1256 more lines hidden. See full changelog in package directory.
|
|
301
|
+
|
|
302
|
+
... 1265 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/voice-sarvam
|
|
2
2
|
|
|
3
|
+
## 0.11.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`6047778`](https://github.com/mastra-ai/mastra/commit/6047778e501df460648f31decddf8e443f36e373), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`05c7abf`](https://github.com/mastra-ai/mastra/commit/05c7abfe105a015b7760c9bf33ff4419727502a0), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`aee4f00`](https://github.com/mastra-ai/mastra/commit/aee4f00e61e1a42e81a6d74ff149dbe69e32695a), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
|
|
10
|
+
- @mastra/core@0.17.0
|
|
11
|
+
|
|
3
12
|
## 0.11.5-alpha.0
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -289,14 +298,5 @@
|
|
|
289
298
|
- Updated dependencies [2097952]
|
|
290
299
|
- Updated dependencies [792c4c0]
|
|
291
300
|
- Updated dependencies [5d74aab]
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
- Updated dependencies [d2a7a31]
|
|
295
|
-
- Updated dependencies [502fe05]
|
|
296
|
-
- Updated dependencies [144eb0b]
|
|
297
|
-
- Updated dependencies [8ba1b51]
|
|
298
|
-
- Updated dependencies [4efcfa0]
|
|
299
|
-
- Updated dependencies [0e17048]
|
|
300
|
-
- @mastra/core@0.10.7
|
|
301
|
-
|
|
302
|
-
... 906 more lines hidden. See full changelog in package directory.
|
|
301
|
+
|
|
302
|
+
... 915 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @mastra/voice-speechify
|
|
2
2
|
|
|
3
|
+
## 0.11.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
|
|
8
|
+
|
|
9
|
+
- Update package.json and README ([#7886](https://github.com/mastra-ai/mastra/pull/7886))
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`6047778`](https://github.com/mastra-ai/mastra/commit/6047778e501df460648f31decddf8e443f36e373), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`05c7abf`](https://github.com/mastra-ai/mastra/commit/05c7abfe105a015b7760c9bf33ff4419727502a0), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`aee4f00`](https://github.com/mastra-ai/mastra/commit/aee4f00e61e1a42e81a6d74ff149dbe69e32695a), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
|
|
12
|
+
- @mastra/core@0.17.0
|
|
13
|
+
|
|
3
14
|
## 0.11.5-alpha.1
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -287,16 +298,5 @@
|
|
|
287
298
|
|
|
288
299
|
### Patch Changes
|
|
289
300
|
|
|
290
|
-
|
|
291
|
-
|
|
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
|
-
... 1269 more lines hidden. See full changelog in package directory.
|
|
301
|
+
|
|
302
|
+
... 1280 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# create-mastra
|
|
2
2
|
|
|
3
|
+
## 0.13.1-alpha.0
|
|
4
|
+
|
|
5
|
+
## 0.13.0
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
|
|
10
|
+
|
|
11
|
+
- Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
|
|
12
|
+
|
|
13
|
+
- fix minor playground stuff for observability ([#7765](https://github.com/mastra-ai/mastra/pull/7765))
|
|
14
|
+
|
|
15
|
+
- Handle zod intersections in dynamic form ([#7768](https://github.com/mastra-ai/mastra/pull/7768))
|
|
16
|
+
|
|
17
|
+
- Playground ui -pass runtimeContext to client SDK get methods ([#7767](https://github.com/mastra-ai/mastra/pull/7767))
|
|
18
|
+
|
|
3
19
|
## 0.13.0-alpha.5
|
|
4
20
|
|
|
5
21
|
## 0.13.0-alpha.4
|
|
@@ -282,21 +298,5 @@
|
|
|
282
298
|
- f442224: speech to text using voice config
|
|
283
299
|
- d8dec5e: add a cta to invite to deploy to cloud
|
|
284
300
|
- 6336993: Fix workflow input form overflow
|
|
285
|
-
- 89d2f4e: add TTS to the playground
|
|
286
|
-
|
|
287
|
-
## 0.10.14-alpha.1
|
|
288
|
-
|
|
289
|
-
### Patch Changes
|
|
290
|
-
|
|
291
|
-
- 6336993: Fix workflow input form overflow
|
|
292
|
-
|
|
293
|
-
## 0.10.14-alpha.0
|
|
294
|
-
|
|
295
|
-
### Patch Changes
|
|
296
|
-
|
|
297
|
-
- f442224: speech to text using voice config
|
|
298
|
-
- d8dec5e: add a cta to invite to deploy to cloud
|
|
299
|
-
- 89d2f4e: add TTS to the playground
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1430 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,79 @@
|
|
|
1
1
|
# mastra
|
|
2
2
|
|
|
3
|
+
## 0.13.1-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix workflow resuming issue in the playground ([#7988](https://github.com/mastra-ai/mastra/pull/7988))
|
|
8
|
+
|
|
9
|
+
- 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)]:
|
|
10
|
+
- @mastra/core@0.17.1-alpha.0
|
|
11
|
+
- @mastra/deployer@0.17.1-alpha.0
|
|
12
|
+
|
|
13
|
+
## 0.13.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- Improved workspace dependency resolution during development and builds. This makes the build process more reliable when working with monorepos and workspace packages, reducing potential bundling errors and improving development experience. ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
|
|
22
|
+
|
|
23
|
+
- update playground workflows to use createRunAsync instead of createRun ([#7903](https://github.com/mastra-ai/mastra/pull/7903))
|
|
24
|
+
|
|
25
|
+
- Improve the `mastra init` CLI. ([#7837](https://github.com/mastra-ai/mastra/pull/7837))
|
|
26
|
+
|
|
27
|
+
Previously, when you ran `mastra init` in a directory without a `package.json` file you'd receive no output. Now the CLI shows an error with next steps. Additionally, `mastra init` now also installs `zod` if not present already.
|
|
28
|
+
|
|
29
|
+
- Add support for running the Mastra dev server over HTTPS for local development. ([#7871](https://github.com/mastra-ai/mastra/pull/7871))
|
|
30
|
+
- Add `--https` flag for `mastra dev`. This automatically creates a local key and certificate for you.
|
|
31
|
+
- Alternatively, you can provide your own key and cert through `server.https`:
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
// src/mastra/index.ts
|
|
35
|
+
import { Mastra } from '@mastra/core/mastra';
|
|
36
|
+
import fs from 'node:fs';
|
|
37
|
+
|
|
38
|
+
export const mastra = new Mastra({
|
|
39
|
+
server: {
|
|
40
|
+
https: {
|
|
41
|
+
key: fs.readFileSync('path/to/key.pem'),
|
|
42
|
+
cert: fs.readFileSync('path/to/cert.pem'),
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
- avoid refetching on error when resolving a workflow in cloud ([#7842](https://github.com/mastra-ai/mastra/pull/7842))
|
|
49
|
+
|
|
50
|
+
- fix scorers table link full row ([#7915](https://github.com/mastra-ai/mastra/pull/7915))
|
|
51
|
+
|
|
52
|
+
- dependencies updates: ([#7810](https://github.com/mastra-ai/mastra/pull/7810))
|
|
53
|
+
- Updated dependency [`strip-json-comments@^5.0.3` ↗︎](https://www.npmjs.com/package/strip-json-comments/v/5.0.3) (from `^5.0.2`, in `dependencies`)
|
|
54
|
+
|
|
55
|
+
- adjust the way we display scorers in agent metadata ([#7910](https://github.com/mastra-ai/mastra/pull/7910))
|
|
56
|
+
|
|
57
|
+
- fix minor playground stuff for observability ([#7765](https://github.com/mastra-ai/mastra/pull/7765))
|
|
58
|
+
|
|
59
|
+
- Handle zod intersections in dynamic form ([#7768](https://github.com/mastra-ai/mastra/pull/7768))
|
|
60
|
+
|
|
61
|
+
- Playground ui -pass runtimeContext to client SDK get methods ([#7767](https://github.com/mastra-ai/mastra/pull/7767))
|
|
62
|
+
|
|
63
|
+
- fix markdown rendering in agent in agent text-delta ([#7851](https://github.com/mastra-ai/mastra/pull/7851))
|
|
64
|
+
|
|
65
|
+
- fix error message when fetching observability things ([#7956](https://github.com/mastra-ai/mastra/pull/7956))
|
|
66
|
+
|
|
67
|
+
- fix workflows runs fetching and displaying ([#7852](https://github.com/mastra-ai/mastra/pull/7852))
|
|
68
|
+
|
|
69
|
+
- fix empty state for scorers on agent page ([#7846](https://github.com/mastra-ai/mastra/pull/7846))
|
|
70
|
+
|
|
71
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`b1c155b`](https://github.com/mastra-ai/mastra/commit/b1c155b57ce702674f207f1d4c6a4ebf94225f44), [`790f7d1`](https://github.com/mastra-ai/mastra/commit/790f7d17895d7a5f75b6b5d2d794c2e820b99d4c), [`3cd6538`](https://github.com/mastra-ai/mastra/commit/3cd6538811fc94f84a19dbd1064f46cb42e38c1d), [`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382), [`7e82fbf`](https://github.com/mastra-ai/mastra/commit/7e82fbf3715175e274d2015eb59fb7f57dc9b09d), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`6047778`](https://github.com/mastra-ai/mastra/commit/6047778e501df460648f31decddf8e443f36e373), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`05c7abf`](https://github.com/mastra-ai/mastra/commit/05c7abfe105a015b7760c9bf33ff4419727502a0), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6c33d7f`](https://github.com/mastra-ai/mastra/commit/6c33d7f7242804c32e969ad3ab33ff4a6aebda8b), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`aee4f00`](https://github.com/mastra-ai/mastra/commit/aee4f00e61e1a42e81a6d74ff149dbe69e32695a), [`f0ab020`](https://github.com/mastra-ai/mastra/commit/f0ab02034532a4afb71a1ef4fe243f9a8dffde84), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
|
|
72
|
+
- @mastra/core@0.17.0
|
|
73
|
+
- @mastra/deployer@0.17.0
|
|
74
|
+
- @mastra/loggers@0.10.12
|
|
75
|
+
- @mastra/mcp@0.13.0
|
|
76
|
+
|
|
3
77
|
## 0.13.0-alpha.5
|
|
4
78
|
|
|
5
79
|
### Patch Changes
|
|
@@ -224,79 +298,5 @@
|
|
|
224
298
|
|
|
225
299
|
### Patch Changes
|
|
226
300
|
|
|
227
|
-
- cf4e353: Agent Builder Template - adding in UI components to use agent builder template actions
|
|
228
|
-
- 788e612: Fix playground workflow graph is broken when workflow starts with a branch
|
|
229
|
-
- 5397eb4: Add public URL support when adding files in Multi Modal
|
|
230
|
-
- 376913a: Update peerdeps
|
|
231
|
-
- Updated dependencies [8fbf79e]
|
|
232
|
-
- Updated dependencies [cf4e353]
|
|
233
|
-
- Updated dependencies [fd83526]
|
|
234
|
-
- Updated dependencies [d0b90ab]
|
|
235
|
-
- Updated dependencies [6f5eb7a]
|
|
236
|
-
- Updated dependencies [a01cf14]
|
|
237
|
-
- Updated dependencies [a9e50ee]
|
|
238
|
-
- Updated dependencies [5397eb4]
|
|
239
|
-
- Updated dependencies [376913a]
|
|
240
|
-
- Updated dependencies [c9f4e4a]
|
|
241
|
-
- Updated dependencies [0acbc80]
|
|
242
|
-
- Updated dependencies [376913a]
|
|
243
|
-
- @mastra/core@0.16.0
|
|
244
|
-
- @mastra/deployer@0.16.0
|
|
245
|
-
- @mastra/loggers@0.10.11
|
|
246
|
-
- @mastra/mcp@0.11.4
|
|
247
|
-
|
|
248
|
-
## 0.12.0-alpha.1
|
|
249
|
-
|
|
250
|
-
### Patch Changes
|
|
251
|
-
|
|
252
|
-
- 376913a: Update peerdeps
|
|
253
|
-
- Updated dependencies [8fbf79e]
|
|
254
|
-
- Updated dependencies [376913a]
|
|
255
|
-
- Updated dependencies [376913a]
|
|
256
|
-
- @mastra/core@0.16.0-alpha.1
|
|
257
|
-
- @mastra/loggers@0.10.11-alpha.0
|
|
258
|
-
- @mastra/mcp@0.11.4-alpha.0
|
|
259
|
-
- @mastra/deployer@0.16.0-alpha.1
|
|
260
|
-
|
|
261
|
-
## 0.12.0-alpha.0
|
|
262
|
-
|
|
263
|
-
### Minor Changes
|
|
264
|
-
|
|
265
|
-
- a01cf14: Add workflow graph in agent (workflow as tool in agent)
|
|
266
|
-
|
|
267
|
-
### Patch Changes
|
|
268
|
-
|
|
269
|
-
- cf4e353: Agent Builder Template - adding in UI components to use agent builder template actions
|
|
270
|
-
- 788e612: Fix playground workflow graph is broken when workflow starts with a branch
|
|
271
|
-
- 5397eb4: Add public URL support when adding files in Multi Modal
|
|
272
|
-
- Updated dependencies [cf4e353]
|
|
273
|
-
- Updated dependencies [fd83526]
|
|
274
|
-
- Updated dependencies [d0b90ab]
|
|
275
|
-
- Updated dependencies [6f5eb7a]
|
|
276
|
-
- Updated dependencies [a01cf14]
|
|
277
|
-
- Updated dependencies [a9e50ee]
|
|
278
|
-
- Updated dependencies [5397eb4]
|
|
279
|
-
- Updated dependencies [c9f4e4a]
|
|
280
|
-
- Updated dependencies [0acbc80]
|
|
281
|
-
- @mastra/deployer@0.16.0-alpha.0
|
|
282
|
-
- @mastra/core@0.16.0-alpha.0
|
|
283
|
-
|
|
284
|
-
## 0.11.3
|
|
285
|
-
|
|
286
|
-
### Patch Changes
|
|
287
301
|
|
|
288
|
-
|
|
289
|
-
- de3cbc6: Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
|
|
290
|
-
- 26b0d7c: Cleanup pkg output
|
|
291
|
-
- 8e4fe90: Unify focus outlines
|
|
292
|
-
- 2f55297: Fix issue when using `yarn dlx create-mastra`
|
|
293
|
-
- e3d8fea: Support Inngest flow control features for Mastra Inngest workflows
|
|
294
|
-
- f539199: mastra start - load env files, custom env. Deperecate --env flag for mastra build
|
|
295
|
-
- ab48c97: dependencies updates:
|
|
296
|
-
- Updated dependency [`zod-to-json-schema@^3.24.6` ↗︎](https://www.npmjs.com/package/zod-to-json-schema/v/3.24.6) (from `^3.24.5`, in `dependencies`)
|
|
297
|
-
- 87de958: fix chat outline
|
|
298
|
-
- 6f715fe: Fix plyground baseUrl, default api baseUrl to playground baseUrl
|
|
299
|
-
- 01264f1: Mastra dev- load env vars before watch
|
|
300
|
-
- 3308c9f: fix dev:playground command
|
|
301
|
-
|
|
302
|
-
... 5579 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 5653 more lines hidden. See full changelog in package directory.
|
|
@@ -796,6 +796,7 @@ import { myMcpServer, myMcpServerTwo } from './mcp/server';
|
|
|
796
796
|
import { myWorkflow } from './workflows';
|
|
797
797
|
import { chefModelV2Agent, networkAgent } from './agents/model-v2-agent';
|
|
798
798
|
import { createScorer } from '@mastra/core/scores';
|
|
799
|
+
import { myWorkflowX } from './workflows/other';
|
|
799
800
|
|
|
800
801
|
const storage = new LibSQLStore({
|
|
801
802
|
url: 'file:./mastra.db',
|
|
@@ -824,7 +825,7 @@ export const mastra = new Mastra({
|
|
|
824
825
|
myMcpServer,
|
|
825
826
|
myMcpServerTwo,
|
|
826
827
|
},
|
|
827
|
-
workflows: { myWorkflow },
|
|
828
|
+
workflows: { myWorkflow, myWorkflowX },
|
|
828
829
|
bundler: {
|
|
829
830
|
sourcemap: true,
|
|
830
831
|
},
|
|
@@ -1174,6 +1175,106 @@ myWorkflow.then(step).then(step2).commit();
|
|
|
1174
1175
|
|
|
1175
1176
|
```
|
|
1176
1177
|
|
|
1178
|
+
### mastra/workflows/other.ts
|
|
1179
|
+
```typescript
|
|
1180
|
+
import { createStep, createWorkflow } from '@mastra/core/workflows';
|
|
1181
|
+
import { z } from 'zod';
|
|
1182
|
+
|
|
1183
|
+
const stepOne = createStep({
|
|
1184
|
+
id: 'stepOne',
|
|
1185
|
+
inputSchema: z.object({
|
|
1186
|
+
inputValue: z.number(),
|
|
1187
|
+
}),
|
|
1188
|
+
outputSchema: z.object({
|
|
1189
|
+
doubledValue: z.number(),
|
|
1190
|
+
}),
|
|
1191
|
+
execute: async ({ inputData }) => {
|
|
1192
|
+
await new Promise(resolve => setTimeout(resolve, 10_000));
|
|
1193
|
+
const doubledValue = inputData.inputValue * 2;
|
|
1194
|
+
return { doubledValue };
|
|
1195
|
+
},
|
|
1196
|
+
});
|
|
1197
|
+
|
|
1198
|
+
const stepTwo = createStep({
|
|
1199
|
+
id: 'stepTwo',
|
|
1200
|
+
inputSchema: z.object({
|
|
1201
|
+
doubledValue: z.number(),
|
|
1202
|
+
}),
|
|
1203
|
+
outputSchema: z.object({
|
|
1204
|
+
incrementedValue: z.number(),
|
|
1205
|
+
}),
|
|
1206
|
+
suspendSchema: z.object({}),
|
|
1207
|
+
resumeSchema: z.object({
|
|
1208
|
+
extraNumber: z.number(),
|
|
1209
|
+
}),
|
|
1210
|
+
execute: async ({ inputData, resumeData, suspend }) => {
|
|
1211
|
+
if (!resumeData?.extraNumber) {
|
|
1212
|
+
await suspend({});
|
|
1213
|
+
return { incrementedValue: 0 };
|
|
1214
|
+
}
|
|
1215
|
+
const incrementedValue = inputData.doubledValue + 1 + resumeData.extraNumber;
|
|
1216
|
+
return { incrementedValue };
|
|
1217
|
+
},
|
|
1218
|
+
});
|
|
1219
|
+
|
|
1220
|
+
const stepThree = createStep({
|
|
1221
|
+
id: 'stepThree',
|
|
1222
|
+
inputSchema: z.object({
|
|
1223
|
+
incrementedValue: z.number(),
|
|
1224
|
+
}),
|
|
1225
|
+
outputSchema: z.object({
|
|
1226
|
+
tripledValue: z.number(),
|
|
1227
|
+
}),
|
|
1228
|
+
execute: async ({ inputData }) => {
|
|
1229
|
+
const tripledValue = inputData.incrementedValue * 3;
|
|
1230
|
+
return { tripledValue };
|
|
1231
|
+
},
|
|
1232
|
+
});
|
|
1233
|
+
|
|
1234
|
+
const stepFour = createStep({
|
|
1235
|
+
id: 'stepFour',
|
|
1236
|
+
inputSchema: z.object({
|
|
1237
|
+
tripledValue: z.number(),
|
|
1238
|
+
}),
|
|
1239
|
+
outputSchema: z.object({
|
|
1240
|
+
isEven: z.boolean(),
|
|
1241
|
+
}),
|
|
1242
|
+
execute: async ({ inputData }) => {
|
|
1243
|
+
const isEven = inputData.tripledValue % 2 === 0;
|
|
1244
|
+
return { isEven };
|
|
1245
|
+
},
|
|
1246
|
+
});
|
|
1247
|
+
|
|
1248
|
+
// Create a nested workflow
|
|
1249
|
+
export const nestedWorkflow = createWorkflow({
|
|
1250
|
+
id: 'data-processing',
|
|
1251
|
+
inputSchema: z.object({
|
|
1252
|
+
inputValue: z.number(),
|
|
1253
|
+
}),
|
|
1254
|
+
outputSchema: z.object({
|
|
1255
|
+
isEven: z.boolean(),
|
|
1256
|
+
}),
|
|
1257
|
+
})
|
|
1258
|
+
.then(stepOne)
|
|
1259
|
+
.then(stepTwo)
|
|
1260
|
+
.then(stepThree)
|
|
1261
|
+
.then(stepFour)
|
|
1262
|
+
.commit();
|
|
1263
|
+
|
|
1264
|
+
export const myWorkflowX = createWorkflow({
|
|
1265
|
+
id: 'my-workflow',
|
|
1266
|
+
inputSchema: z.object({
|
|
1267
|
+
inputValue: z.number(),
|
|
1268
|
+
}),
|
|
1269
|
+
outputSchema: z.object({
|
|
1270
|
+
isEven: z.boolean(),
|
|
1271
|
+
}),
|
|
1272
|
+
})
|
|
1273
|
+
.then(nestedWorkflow)
|
|
1274
|
+
.commit();
|
|
1275
|
+
|
|
1276
|
+
```
|
|
1277
|
+
|
|
1177
1278
|
### workflowResourceId.ts
|
|
1178
1279
|
```typescript
|
|
1179
1280
|
import { randomUUID } from 'node:crypto';
|
|
@@ -220,6 +220,12 @@ const aiSdkResult = await agent.generateVNext("message for agent", {
|
|
|
220
220
|
isOptional: true,
|
|
221
221
|
description: "Custom instructions that override the agent's default instructions for this execution.",
|
|
222
222
|
},
|
|
223
|
+
{
|
|
224
|
+
name: "system",
|
|
225
|
+
type: "string | string[] | CoreSystemMessage | SystemModelMessage | CoreSystemMessage[] | SystemModelMessage[]",
|
|
226
|
+
isOptional: true,
|
|
227
|
+
description: "Custom system message(s) to include in the prompt. Can be a single string, message object, or array of either. System messages provide additional context or behavior instructions that supplement the agent's main instructions.",
|
|
228
|
+
},
|
|
223
229
|
{
|
|
224
230
|
name: "output",
|
|
225
231
|
type: "Zod schema | JsonSchema7",
|
|
@@ -132,7 +132,7 @@ These properties resolve to final values after the stream completes:
|
|
|
132
132
|
{ name: "inputTokens", type: "number", description: "Tokens consumed by the input prompt" },
|
|
133
133
|
{ name: "outputTokens", type: "number", description: "Tokens generated in the response" },
|
|
134
134
|
{ name: "totalTokens", type: "number", description: "Sum of input and output tokens" },
|
|
135
|
-
{ name: "reasoningTokens", type: "number", isOptional: true, description: "Hidden reasoning tokens (for reasoning models)" }
|
|
135
|
+
{ name: "reasoningTokens", type: "number", isOptional: true, description: "Hidden reasoning tokens (for reasoning models)" },
|
|
136
136
|
{ name: "cachedInputTokens", type: "number", isOptional: true, description: "Number of input tokens that were a cache hit" }
|
|
137
137
|
]
|
|
138
138
|
}]
|
|
@@ -221,6 +221,12 @@ const aiSdkStream = await agent.streamVNext("message for agent", {
|
|
|
221
221
|
description:
|
|
222
222
|
"Custom instructions that override the agent's default instructions for this specific generation. Useful for dynamically modifying agent behavior without creating a new agent instance.",
|
|
223
223
|
},
|
|
224
|
+
{
|
|
225
|
+
name: "system",
|
|
226
|
+
type: "string | string[] | CoreSystemMessage | SystemModelMessage | CoreSystemMessage[] | SystemModelMessage[]",
|
|
227
|
+
isOptional: true,
|
|
228
|
+
description: "Custom system message(s) to include in the prompt. Can be a single string, message object, or array of either. System messages provide additional context or behavior instructions that supplement the agent's main instructions.",
|
|
229
|
+
},
|
|
224
230
|
{
|
|
225
231
|
name: "output",
|
|
226
232
|
type: "Zod schema | JsonSchema7",
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Reference: Run.resumeStreamVNext() | Workflows | Mastra Docs"
|
|
3
|
+
description: Documentation for the `Run.resumeStreamVNext()` method in workflows, which enables real-time resumption and streaming of suspended workflow runs.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
import { StreamVNextCallout } from "@/components/streamVNext-callout.tsx"
|
|
7
|
+
|
|
8
|
+
# Run.resumeStreamVNext() (Experimental)
|
|
9
|
+
|
|
10
|
+
<StreamVNextCallout />
|
|
11
|
+
|
|
12
|
+
The `.resumeStreamVNext()` method resumes a suspended workflow run with new data, allowing you to continue execution from a specific step and to observe the stream of events.
|
|
13
|
+
|
|
14
|
+
## Usage example
|
|
15
|
+
|
|
16
|
+
```typescript showLineNumbers copy
|
|
17
|
+
const run = await workflow.createRunAsync();
|
|
18
|
+
|
|
19
|
+
const stream = run.streamVNext({
|
|
20
|
+
inputData: {
|
|
21
|
+
value: "initial data",
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
const result = await stream.result;
|
|
27
|
+
if (result.status === "suspended") {
|
|
28
|
+
const resumedStream = await run.resumeStreamVNext({
|
|
29
|
+
resumeData: { value: "resume data" }
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Parameters
|
|
35
|
+
|
|
36
|
+
<PropertiesTable
|
|
37
|
+
content={[
|
|
38
|
+
{
|
|
39
|
+
name: "resumeData",
|
|
40
|
+
type: "z.infer<TInput>",
|
|
41
|
+
description: "Input data that matches the workflow's input schema",
|
|
42
|
+
isOptional: true,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: "runtimeContext",
|
|
46
|
+
type: "RuntimeContext",
|
|
47
|
+
description: "Runtime context data to use during workflow execution",
|
|
48
|
+
isOptional: true,
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: "step",
|
|
52
|
+
type: "Step<string, any, any, any, any, TEngineType>",
|
|
53
|
+
description: "The step to resume execution from",
|
|
54
|
+
isOptional: true,
|
|
55
|
+
},
|
|
56
|
+
]}
|
|
57
|
+
/>
|
|
58
|
+
|
|
59
|
+
## Returns
|
|
60
|
+
|
|
61
|
+
<PropertiesTable
|
|
62
|
+
content={[
|
|
63
|
+
{
|
|
64
|
+
name: "stream",
|
|
65
|
+
type: "MastraWorkflowStream<ChunkType>",
|
|
66
|
+
description: "A custom stream that extends ReadableStream<ChunkType> with additional workflow-specific properties",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: "stream.status",
|
|
70
|
+
type: "Promise<RunStatus>",
|
|
71
|
+
description: "A promise that resolves to the current workflow run status",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: "stream.result",
|
|
75
|
+
type: "Promise<WorkflowResult<TOutput, TSteps>>",
|
|
76
|
+
description: "A promise that resolves to the final workflow result",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: "stream.usage",
|
|
80
|
+
type: "Promise<{ inputTokens: number; outputTokens: number; totalTokens: number, reasoningTokens?: number, cacheInputTokens?: number }>",
|
|
81
|
+
description: "A promise that resolves to token usage statistics",
|
|
82
|
+
},
|
|
83
|
+
]}
|
|
84
|
+
/>
|
|
85
|
+
|
|
86
|
+
## Stream Events
|
|
87
|
+
|
|
88
|
+
The stream emits various event types during workflow execution. Each event has a `type` field and a `payload` containing relevant data:
|
|
89
|
+
|
|
90
|
+
- **`workflow-start`**: Workflow execution begins
|
|
91
|
+
- **`workflow-step-start`**: A step begins execution
|
|
92
|
+
- **`workflow-step-output`**: Custom output from a step
|
|
93
|
+
- **`workflow-step-result`**: A step completes with results
|
|
94
|
+
- **`workflow-finish`**: Workflow execution completes with usage statistics
|
|
95
|
+
|
|
96
|
+
## Related
|
|
97
|
+
|
|
98
|
+
- [Workflows overview](../../../docs/workflows/overview.mdx#run-workflow)
|
|
99
|
+
- [Workflow.createRunAsync()](../create-run.mdx)
|
|
100
|
+
- [Run.streamVNext()](./streamVNext.mdx)
|
|
@@ -39,6 +39,12 @@ const stream = run.streamVNext({
|
|
|
39
39
|
description: "Runtime context data to use during workflow execution",
|
|
40
40
|
isOptional: true,
|
|
41
41
|
},
|
|
42
|
+
{
|
|
43
|
+
name: "closeOnSuspend",
|
|
44
|
+
type: "boolean",
|
|
45
|
+
description: "Whether to close the stream when the workflow is suspended, or to keep the stream open until the workflow is finished (by success or error). Default value is true.",
|
|
46
|
+
isOptional: true,
|
|
47
|
+
},
|
|
42
48
|
]}
|
|
43
49
|
/>
|
|
44
50
|
|
|
@@ -97,3 +103,4 @@ The stream emits various event types during workflow execution. Each event has a
|
|
|
97
103
|
|
|
98
104
|
- [Workflows overview](../../../docs/workflows/overview.mdx#run-workflow)
|
|
99
105
|
- [Workflow.createRunAsync()](../create-run.mdx)
|
|
106
|
+
- [Run.resumeStreamVNext()](./resumeStreamVNext.mdx)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 0.13.23-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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)]:
|
|
8
|
+
- @mastra/core@0.17.1-alpha.0
|
|
9
|
+
|
|
3
10
|
## 0.13.22
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.23-alpha.0",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"uuid": "^11.1.0",
|
|
34
34
|
"zod": "^3.25.76",
|
|
35
35
|
"zod-to-json-schema": "^3.24.6",
|
|
36
|
-
"@mastra/core": "0.17.0",
|
|
36
|
+
"@mastra/core": "0.17.1-alpha.0",
|
|
37
37
|
"@mastra/mcp": "^0.13.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"typescript": "^5.8.3",
|
|
51
51
|
"vitest": "^3.2.4",
|
|
52
52
|
"@internal/lint": "0.0.40",
|
|
53
|
-
"@mastra/core": "0.17.0"
|
|
53
|
+
"@mastra/core": "0.17.1-alpha.0"
|
|
54
54
|
},
|
|
55
55
|
"homepage": "https://mastra.ai",
|
|
56
56
|
"repository": {
|