@mastra/mcp-docs-server 0.13.40 → 0.13.41-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/%40mastra%2Fai-sdk.md +18 -18
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +8 -8
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +16 -16
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +11 -11
- 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 +12 -12
- package/.docs/organized/changelogs/%40mastra%2Freact.md +8 -8
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +8 -8
- package/.docs/organized/changelogs/%40mastra%2Fvoice-google-gemini-live.md +12 -12
- package/.docs/organized/changelogs/create-mastra.md +3 -3
- package/.docs/organized/changelogs/mastra.md +11 -11
- package/.docs/raw/reference/vectors/pinecone.mdx +16 -1
- package/.docs/raw/reference/voice/azure.mdx +95 -80
- package/CHANGELOG.md +10 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/prompts/migration.d.ts +3 -0
- package/dist/prompts/migration.d.ts.map +1 -0
- package/dist/stdio.js +148 -1
- package/dist/tools/migration.d.ts +40 -0
- package/dist/tools/migration.d.ts.map +1 -0
- package/package.json +5 -5
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @mastra/ai-sdk
|
|
2
2
|
|
|
3
|
+
## 1.0.0-alpha.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- Add sendStart, sendFinish, sendReasoning, and sendSources options to toAISdkV5Stream function, allowing fine-grained control over which message chunks are included in the converted stream. Previously, these values were hardcoded in the transformer. ([#10250](https://github.com/mastra-ai/mastra/pull/10250))
|
|
8
|
+
|
|
9
|
+
BREAKING CHANGE: AgentStreamToAISDKTransformer now accepts an options object instead of a single lastMessageId parameter
|
|
10
|
+
|
|
11
|
+
Also, add sendStart, sendFinish, sendReasoning, and sendSources parameters to
|
|
12
|
+
chatRoute function, enabling fine-grained control over which chunks are
|
|
13
|
+
included in the AI SDK stream output.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 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)]:
|
|
18
|
+
- @mastra/core@0.24.2-alpha.0
|
|
19
|
+
|
|
3
20
|
## 0.2.7
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -281,22 +298,5 @@
|
|
|
281
298
|
- Updated dependencies [[`c621613`](https://github.com/mastra-ai/mastra/commit/c621613069173c69eb2c3ef19a5308894c6549f0), [`12b1189`](https://github.com/mastra-ai/mastra/commit/12b118942445e4de0dd916c593e33ec78dc3bc73), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`076b092`](https://github.com/mastra-ai/mastra/commit/076b0924902ff0f49d5712d2df24c4cca683713f), [`2aee9e7`](https://github.com/mastra-ai/mastra/commit/2aee9e7d188b8b256a4ddc203ccefb366b4867fa), [`c582906`](https://github.com/mastra-ai/mastra/commit/c5829065a346260f96c4beb8af131b94804ae3ad), [`fa2eb96`](https://github.com/mastra-ai/mastra/commit/fa2eb96af16c7d433891a73932764960d3235c1d), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`a739d0c`](https://github.com/mastra-ai/mastra/commit/a739d0c8b37cd89569e04a6ca0827083c6167e19), [`603e927`](https://github.com/mastra-ai/mastra/commit/603e9279db8bf8a46caf83881c6b7389ccffff7e), [`cd45982`](https://github.com/mastra-ai/mastra/commit/cd4598291cda128a88738734ae6cbef076ebdebd), [`874f74d`](https://github.com/mastra-ai/mastra/commit/874f74da4b1acf6517f18132d035612c3ecc394a), [`0baf2ba`](https://github.com/mastra-ai/mastra/commit/0baf2bab8420277072ef1f95df5ea7b0a2f61fe7), [`26e968d`](https://github.com/mastra-ai/mastra/commit/26e968db2171ded9e4d47aa1b4f19e1e771158d0), [`cbd3fb6`](https://github.com/mastra-ai/mastra/commit/cbd3fb65adb03a7c0df193cb998aed5ac56675ee)]:
|
|
282
299
|
- @mastra/core@0.20.1-alpha.1
|
|
283
300
|
|
|
284
|
-
## 0.1.0
|
|
285
|
-
|
|
286
|
-
### Minor Changes
|
|
287
|
-
|
|
288
|
-
- Breaking change to move the agent.streamVNext/generateVNext implementation to the default stream/generate. The old stream/generate have now been moved to streamLegacy and generateLegacy ([#8097](https://github.com/mastra-ai/mastra/pull/8097))
|
|
289
|
-
|
|
290
|
-
### Patch Changes
|
|
291
|
-
|
|
292
|
-
- Updated dependencies [[`00cb6bd`](https://github.com/mastra-ai/mastra/commit/00cb6bdf78737c0fac14a5a0c7b532a11e38558a), [`869ba22`](https://github.com/mastra-ai/mastra/commit/869ba222e1d6b58fc1b65e7c9fd55ca4e01b8c2f), [`1b73665`](https://github.com/mastra-ai/mastra/commit/1b73665e8e23f5c09d49fcf3e7d709c75259259e), [`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`084b77b`](https://github.com/mastra-ai/mastra/commit/084b77b2955960e0190af8db3f77138aa83ed65c), [`a93ff84`](https://github.com/mastra-ai/mastra/commit/a93ff84b5e1af07ee236ac8873dac9b49aa5d501), [`bc5aacb`](https://github.com/mastra-ai/mastra/commit/bc5aacb646d468d325327e36117129f28cd13bf6), [`6b5af12`](https://github.com/mastra-ai/mastra/commit/6b5af12ce9e09066e0c32e821c203a6954498bea), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`d41aee5`](https://github.com/mastra-ai/mastra/commit/d41aee526d124e35f42720a08e64043229193679), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`3ca833d`](https://github.com/mastra-ai/mastra/commit/3ca833dc994c38e3c9b4f9b4478a61cd8e07b32a), [`1edb8d1`](https://github.com/mastra-ai/mastra/commit/1edb8d1cfb963e72a12412990fb9170936c9904c), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a), [`4753027`](https://github.com/mastra-ai/mastra/commit/4753027ee889288775c6958bdfeda03ff909af67)]:
|
|
293
|
-
- @mastra/core@0.20.0
|
|
294
|
-
|
|
295
|
-
## 0.1.0-alpha.0
|
|
296
|
-
|
|
297
|
-
### Minor Changes
|
|
298
|
-
|
|
299
|
-
- Breaking change to move the agent.streamVNext/generateVNext implementation to the default stream/generate. The old stream/generate have now been moved to streamLegacy and generateLegacy ([#8097](https://github.com/mastra-ai/mastra/pull/8097))
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 183 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 0.16.11-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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)]:
|
|
8
|
+
- @mastra/core@0.24.2-alpha.0
|
|
9
|
+
|
|
3
10
|
## 0.16.10
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -292,11 +299,4 @@
|
|
|
292
299
|
- Updated dependencies [[`ee9108f`](https://github.com/mastra-ai/mastra/commit/ee9108fa29bb8368fc23df158c9f0645b2d7b65c)]:
|
|
293
300
|
- @mastra/core@0.20.1-alpha.2
|
|
294
301
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
### Patch Changes
|
|
298
|
-
|
|
299
|
-
- Mutable shared workflow run state ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
... 3084 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 3091 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 0.24.2-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Only handle download image asset transformation if needed ([#10245](https://github.com/mastra-ai/mastra/pull/10245))
|
|
8
|
+
|
|
9
|
+
- Fix tool outputSchema validation to allow unsupported Zod types like ZodTuple. The outputSchema is only used for internal validation and never sent to the LLM, so model compatibility checks are not needed. ([#10123](https://github.com/mastra-ai/mastra/pull/10123))
|
|
10
|
+
|
|
11
|
+
- Fix vector definition to fix pinecone ([#10179](https://github.com/mastra-ai/mastra/pull/10179))
|
|
12
|
+
|
|
13
|
+
- Add type bailed to workflowRunStatus ([#10103](https://github.com/mastra-ai/mastra/pull/10103))
|
|
14
|
+
|
|
15
|
+
- Add support for doGenerate in LanguageModelV2. This change fixes issues with OpenAI stream permissions. ([#10268](https://github.com/mastra-ai/mastra/pull/10268))
|
|
16
|
+
- Added new abstraction over LanguageModelV2
|
|
17
|
+
|
|
3
18
|
## 0.24.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -283,20 +298,5 @@
|
|
|
283
298
|
- `AISpanType.LLM_GENERATION` → `AISpanType.MODEL_GENERATION`
|
|
284
299
|
- `AISpanType.LLM_STEP` → `AISpanType.MODEL_STEP`
|
|
285
300
|
- `AISpanType.LLM_CHUNK` → `AISpanType.MODEL_CHUNK`
|
|
286
|
-
- `LLMGenerationAttributes` → `ModelGenerationAttributes`
|
|
287
|
-
- `LLMStepAttributes` → `ModelStepAttributes`
|
|
288
|
-
- `LLMChunkAttributes` → `ModelChunkAttributes`
|
|
289
|
-
- `InternalSpans.LLM` → `InternalSpans.MODEL`
|
|
290
|
-
|
|
291
|
-
This change better reflects that these span types apply to all AI models, not just Large Language Models.
|
|
292
|
-
|
|
293
|
-
Migration guide:
|
|
294
|
-
- Update all imports: `import { ModelGenerationAttributes } from '@mastra/core/ai-tracing'`
|
|
295
|
-
- Update span type references: `AISpanType.MODEL_GENERATION`
|
|
296
|
-
- Update InternalSpans usage: `InternalSpans.MODEL`
|
|
297
|
-
|
|
298
|
-
### Patch Changes
|
|
299
|
-
|
|
300
|
-
- Update provider registry and model documentation with latest models and providers ([`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394))
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 4860 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/deployer-cloud
|
|
2
2
|
|
|
3
|
+
## 0.24.2-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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)]:
|
|
8
|
+
- @mastra/core@0.24.2-alpha.0
|
|
9
|
+
- @mastra/deployer@0.24.2-alpha.0
|
|
10
|
+
|
|
3
11
|
## 0.24.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -291,12 +299,4 @@
|
|
|
291
299
|
|
|
292
300
|
- Add dynamic creation of peerdeps ([#8582](https://github.com/mastra-ai/mastra/pull/8582))
|
|
293
301
|
|
|
294
|
-
|
|
295
|
-
- @mastra/core@0.20.1
|
|
296
|
-
- @mastra/deployer@0.20.1
|
|
297
|
-
|
|
298
|
-
## 0.20.1-alpha.4
|
|
299
|
-
|
|
300
|
-
### Patch Changes
|
|
301
|
-
|
|
302
|
-
... 669 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 677 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/deployer-cloudflare
|
|
2
2
|
|
|
3
|
+
## 0.14.19-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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)]:
|
|
8
|
+
- @mastra/core@0.24.2-alpha.0
|
|
9
|
+
- @mastra/deployer@0.24.2-alpha.0
|
|
10
|
+
|
|
3
11
|
## 0.14.18
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -290,13 +298,5 @@
|
|
|
290
298
|
|
|
291
299
|
### Patch Changes
|
|
292
300
|
|
|
293
|
-
- Updated dependencies [[`0992b8b`](https://github.com/mastra-ai/mastra/commit/0992b8bf0f4f1ba7ad9940883ec4bb8d867d3105), [`283bea0`](https://github.com/mastra-ai/mastra/commit/283bea07adbaf04a27fa3ad2df611095e0825195)]:
|
|
294
|
-
- @mastra/deployer@0.19.1-alpha.0
|
|
295
|
-
- @mastra/core@0.19.1-alpha.0
|
|
296
|
-
|
|
297
|
-
## 0.14.3
|
|
298
|
-
|
|
299
|
-
### Patch Changes
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 4018 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/deployer-netlify
|
|
2
2
|
|
|
3
|
+
## 0.13.19-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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)]:
|
|
8
|
+
- @mastra/core@0.24.2-alpha.0
|
|
9
|
+
- @mastra/deployer@0.24.2-alpha.0
|
|
10
|
+
|
|
3
11
|
## 0.13.18
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -290,13 +298,5 @@
|
|
|
290
298
|
|
|
291
299
|
### Patch Changes
|
|
292
300
|
|
|
293
|
-
- Updated dependencies [[`0992b8b`](https://github.com/mastra-ai/mastra/commit/0992b8bf0f4f1ba7ad9940883ec4bb8d867d3105), [`283bea0`](https://github.com/mastra-ai/mastra/commit/283bea07adbaf04a27fa3ad2df611095e0825195)]:
|
|
294
|
-
- @mastra/deployer@0.19.1-alpha.0
|
|
295
|
-
- @mastra/core@0.19.1-alpha.0
|
|
296
|
-
|
|
297
|
-
## 0.13.3
|
|
298
|
-
|
|
299
|
-
### Patch Changes
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 3759 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/deployer-vercel
|
|
2
2
|
|
|
3
|
+
## 0.12.19-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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)]:
|
|
8
|
+
- @mastra/core@0.24.2-alpha.0
|
|
9
|
+
- @mastra/deployer@0.24.2-alpha.0
|
|
10
|
+
|
|
3
11
|
## 0.12.18
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -290,13 +298,5 @@
|
|
|
290
298
|
|
|
291
299
|
### Patch Changes
|
|
292
300
|
|
|
293
|
-
- Updated dependencies [[`0992b8b`](https://github.com/mastra-ai/mastra/commit/0992b8bf0f4f1ba7ad9940883ec4bb8d867d3105), [`283bea0`](https://github.com/mastra-ai/mastra/commit/283bea07adbaf04a27fa3ad2df611095e0825195)]:
|
|
294
|
-
- @mastra/deployer@0.19.1-alpha.0
|
|
295
|
-
- @mastra/core@0.19.1-alpha.0
|
|
296
|
-
|
|
297
|
-
## 0.12.3
|
|
298
|
-
|
|
299
|
-
### Patch Changes
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 3713 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 0.24.2-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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)]:
|
|
8
|
+
- @mastra/core@0.24.2-alpha.0
|
|
9
|
+
- @mastra/server@0.24.2-alpha.0
|
|
10
|
+
|
|
3
11
|
## 0.24.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -290,13 +298,5 @@
|
|
|
290
298
|
|
|
291
299
|
- Small fix for adding ESM shims when e.g. `__dirname` is used ([#8898](https://github.com/mastra-ai/mastra/pull/8898))
|
|
292
300
|
|
|
293
|
-
- Pin `@rollup/*` dependencies to fixed versions (instead of using `^`) to: ([#8900](https://github.com/mastra-ai/mastra/pull/8900))
|
|
294
|
-
- Hotfix a bug inside `@rollup/plugin-commonjs`
|
|
295
|
-
- Have more control over the versions in the future to not have breakages over night
|
|
296
|
-
|
|
297
|
-
- 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), [`cce8aad`](https://github.com/mastra-ai/mastra/commit/cce8aad878a0dd98e5647680f3765caba0b1701c)]:
|
|
298
|
-
- @mastra/core@0.21.1
|
|
299
|
-
- @mastra/server@0.21.1
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 5035 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 0.13.41-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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))
|
|
8
|
+
|
|
9
|
+
- 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)]:
|
|
10
|
+
- @mastra/mcp@0.14.3-alpha.0
|
|
11
|
+
- @mastra/core@0.24.2-alpha.0
|
|
12
|
+
|
|
3
13
|
## 0.13.40
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -289,14 +299,4 @@
|
|
|
289
299
|
|
|
290
300
|
## 0.13.26
|
|
291
301
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
- Updated dependencies [[`4a70ccc`](https://github.com/mastra-ai/mastra/commit/4a70ccc5cfa12ae9c2b36545a5814cd98e5a0ead), [`0992b8b`](https://github.com/mastra-ai/mastra/commit/0992b8bf0f4f1ba7ad9940883ec4bb8d867d3105), [`283bea0`](https://github.com/mastra-ai/mastra/commit/283bea07adbaf04a27fa3ad2df611095e0825195)]:
|
|
295
|
-
- @mastra/core@0.19.1
|
|
296
|
-
|
|
297
|
-
## 0.13.26-alpha.1
|
|
298
|
-
|
|
299
|
-
### Patch Changes
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
... 2191 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 2201 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/mcp
|
|
2
2
|
|
|
3
|
+
## 0.14.3-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add timeout configuration to mcp server config ([#10124](https://github.com/mastra-ai/mastra/pull/10124))
|
|
8
|
+
|
|
9
|
+
- 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)]:
|
|
10
|
+
- @mastra/core@0.24.2-alpha.0
|
|
11
|
+
|
|
3
12
|
## 0.14.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -289,14 +298,5 @@
|
|
|
289
298
|
- Updated dependencies [de3cbc6]
|
|
290
299
|
- Updated dependencies [c19bcf7]
|
|
291
300
|
- Updated dependencies [4474d04]
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
- Updated dependencies [b42a961]
|
|
295
|
-
- Updated dependencies [61debef]
|
|
296
|
-
- Updated dependencies [9beaeff]
|
|
297
|
-
- Updated dependencies [29de0e1]
|
|
298
|
-
- Updated dependencies [f643c65]
|
|
299
|
-
- Updated dependencies [00c74e7]
|
|
300
|
-
- Updated dependencies [fef7375]
|
|
301
|
-
|
|
302
|
-
... 2518 more lines hidden. See full changelog in package directory.
|
|
301
|
+
|
|
302
|
+
... 2527 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/pinecone
|
|
2
2
|
|
|
3
|
+
## 0.11.17-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Adjust pinecone settings ([#10251](https://github.com/mastra-ai/mastra/pull/10251))
|
|
8
|
+
|
|
9
|
+
- 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)]:
|
|
10
|
+
- @mastra/core@0.24.2-alpha.0
|
|
11
|
+
|
|
3
12
|
## 0.11.16
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -290,13 +299,4 @@
|
|
|
290
299
|
|
|
291
300
|
## 0.11.3
|
|
292
301
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
- 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
|
|
296
|
-
- Updated dependencies [cb36de0]
|
|
297
|
-
- Updated dependencies [d0496e6]
|
|
298
|
-
- Updated dependencies [a82b851]
|
|
299
|
-
- Updated dependencies [ea0c5f2]
|
|
300
|
-
- Updated dependencies [41a0a0e]
|
|
301
|
-
|
|
302
|
-
... 1968 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 1977 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 6.9.2-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix scorer filtering for SpanScoring, add error and info message for user ([#10164](https://github.com/mastra-ai/mastra/pull/10164))
|
|
8
|
+
|
|
9
|
+
- 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)]:
|
|
10
|
+
- @mastra/core@0.24.2-alpha.0
|
|
11
|
+
- @mastra/client-js@0.16.11-alpha.0
|
|
12
|
+
- @mastra/react@0.0.17-alpha.0
|
|
13
|
+
|
|
3
14
|
## 6.9.1
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -288,15 +299,4 @@
|
|
|
288
299
|
|
|
289
300
|
## 6.5.1-alpha.0
|
|
290
301
|
|
|
291
|
-
|
|
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-alpha.0
|
|
297
|
-
- @mastra/react@0.0.7-alpha.0
|
|
298
|
-
- @mastra/client-js@0.16.1-alpha.0
|
|
299
|
-
|
|
300
|
-
## 6.5.0
|
|
301
|
-
|
|
302
|
-
... 3984 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 3995 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/react-hooks
|
|
2
2
|
|
|
3
|
+
## 0.0.17-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies []:
|
|
8
|
+
- @mastra/client-js@0.16.11-alpha.0
|
|
9
|
+
|
|
3
10
|
## 0.0.16
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -292,11 +299,4 @@
|
|
|
292
299
|
|
|
293
300
|
## 0.0.4-alpha.3
|
|
294
301
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
- Updated dependencies []:
|
|
298
|
-
- @mastra/client-js@0.15.1-alpha.3
|
|
299
|
-
|
|
300
|
-
## 0.0.4-alpha.2
|
|
301
|
-
|
|
302
|
-
... 96 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 103 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/server
|
|
2
2
|
|
|
3
|
+
## 0.24.2-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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)]:
|
|
8
|
+
- @mastra/core@0.24.2-alpha.0
|
|
9
|
+
|
|
3
10
|
## 0.24.1
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -291,12 +298,5 @@
|
|
|
291
298
|
|
|
292
299
|
## 0.21.0-alpha.0
|
|
293
300
|
|
|
294
|
-
### Minor Changes
|
|
295
|
-
|
|
296
|
-
- Update structuredOutput to use response format by default with an opt in to json prompt injection. ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
|
|
297
|
-
Replaced internal usage of output with structuredOutput.
|
|
298
|
-
|
|
299
|
-
- Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 3986 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @mastra/voice-google-gemini-live
|
|
2
2
|
|
|
3
|
+
## 0.11.0-alpha.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Backport gemini fix to 0.x ([#10234](https://github.com/mastra-ai/mastra/pull/10234))
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 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)]:
|
|
12
|
+
- @mastra/core@0.24.2-alpha.0
|
|
13
|
+
|
|
3
14
|
## 0.10.18
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -287,16 +298,5 @@
|
|
|
287
298
|
- Updated dependencies [4bde0cb]
|
|
288
299
|
- Updated dependencies [cf4f357]
|
|
289
300
|
- Updated dependencies [ad888a2]
|
|
290
|
-
- Updated dependencies [481751d]
|
|
291
|
-
- Updated dependencies [2454423]
|
|
292
|
-
- Updated dependencies [194e395]
|
|
293
|
-
- Updated dependencies [a722c0b]
|
|
294
|
-
- Updated dependencies [c30bca8]
|
|
295
|
-
- Updated dependencies [3b5fec7]
|
|
296
|
-
- Updated dependencies [a8f129d]
|
|
297
|
-
- @mastra/core@0.14.0
|
|
298
|
-
|
|
299
|
-
## 0.10.7-alpha.0
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 22 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# create-mastra
|
|
2
2
|
|
|
3
|
+
## 0.18.2-alpha.0
|
|
4
|
+
|
|
3
5
|
## 0.18.1
|
|
4
6
|
|
|
5
7
|
## 0.18.1-alpha.0
|
|
@@ -296,7 +298,5 @@
|
|
|
296
298
|
|
|
297
299
|
- Fix an issue preventing showing working memory and semantic recall in the playground ([#8358](https://github.com/mastra-ai/mastra/pull/8358))
|
|
298
300
|
|
|
299
|
-
- Add observe strean to get streans after workflow has been interrupted ([#8318](https://github.com/mastra-ai/mastra/pull/8318))
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1822 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# mastra
|
|
2
2
|
|
|
3
|
+
## 0.18.2-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add support to skip dotenv/env file loading by adding MASTRA_SKIP_DOTENV ([#10246](https://github.com/mastra-ai/mastra/pull/10246))
|
|
8
|
+
|
|
9
|
+
- 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)]:
|
|
10
|
+
- @mastra/core@0.24.2-alpha.0
|
|
11
|
+
- @mastra/deployer@0.24.2-alpha.0
|
|
12
|
+
|
|
3
13
|
## 0.18.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -288,15 +298,5 @@
|
|
|
288
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)]:
|
|
289
299
|
- @mastra/deployer@0.21.0
|
|
290
300
|
- @mastra/core@0.21.0
|
|
291
|
-
- @mastra/loggers@0.10.16
|
|
292
|
-
- @mastra/mcp@0.13.5
|
|
293
|
-
|
|
294
|
-
## 0.16.0-alpha.1
|
|
295
|
-
|
|
296
|
-
### Minor Changes
|
|
297
|
-
|
|
298
|
-
- Update peer dependencies to match core package version bump (0.21.0) ([#8795](https://github.com/mastra-ai/mastra/pull/8795))
|
|
299
|
-
|
|
300
|
-
### Patch Changes
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 6447 more lines hidden. See full changelog in package directory.
|
|
@@ -20,7 +20,22 @@ It provides real-time vector search, with features like hybrid search, metadata
|
|
|
20
20
|
{
|
|
21
21
|
name: "environment",
|
|
22
22
|
type: "string",
|
|
23
|
-
|
|
23
|
+
isOptional: true,
|
|
24
|
+
description: "Pinecone environment controller host URL",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: "cloud",
|
|
28
|
+
type: "'aws' | 'gcp' | 'azure'",
|
|
29
|
+
isOptional: true,
|
|
30
|
+
defaultValue: "aws",
|
|
31
|
+
description: "Cloud provider for Pinecone serverless",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: "region",
|
|
35
|
+
type: "string",
|
|
36
|
+
isOptional: true,
|
|
37
|
+
defaultValue: "us-east-1",
|
|
38
|
+
description: "Region for Pinecone serverless",
|
|
24
39
|
},
|
|
25
40
|
]}
|
|
26
41
|
/>
|
|
@@ -8,6 +8,8 @@ description: "Documentation for the AzureVoice class, providing text-to-speech a
|
|
|
8
8
|
The AzureVoice class in Mastra provides text-to-speech and speech-to-text capabilities using Microsoft Azure Cognitive Services.
|
|
9
9
|
|
|
10
10
|
## Usage Example
|
|
11
|
+
This requires Azure Speech Services credentials that can be provided through environment variables or directly in the configuration:
|
|
12
|
+
|
|
11
13
|
|
|
12
14
|
```typescript
|
|
13
15
|
import { AzureVoice } from "@mastra/voice-azure";
|
|
@@ -15,29 +17,25 @@ import { AzureVoice } from "@mastra/voice-azure";
|
|
|
15
17
|
// Initialize with configuration
|
|
16
18
|
const voice = new AzureVoice({
|
|
17
19
|
speechModel: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
apiKey: "your-azure-speech-api-key", // Or use AZURE_API_KEY env var
|
|
21
|
+
region: "eastus", // Or use AZURE_REGION env var
|
|
22
|
+
voiceName: "en-US-AriaNeural", // Optional: specific voice for TTS
|
|
21
23
|
},
|
|
22
24
|
listeningModel: {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
apiKey: "your-azure-speech-api-key", // Or use AZURE_API_KEY env var
|
|
26
|
+
region: "eastus", // Or use AZURE_REGION env var
|
|
27
|
+
language: "en-US", // Optional: recognition language for STT
|
|
26
28
|
},
|
|
27
|
-
speaker: "en-US-JennyNeural", //
|
|
29
|
+
speaker: "en-US-JennyNeural", // Optional: default voice
|
|
28
30
|
});
|
|
29
31
|
|
|
30
32
|
// Convert text to speech
|
|
31
33
|
const audioStream = await voice.speak("Hello, how can I help you?", {
|
|
32
|
-
speaker: "en-US-GuyNeural", //
|
|
33
|
-
style: "cheerful", // Voice style
|
|
34
|
+
speaker: "en-US-GuyNeural", // Optional: override default voice
|
|
34
35
|
});
|
|
35
36
|
|
|
36
37
|
// Convert speech to text
|
|
37
|
-
const text = await voice.listen(audioStream
|
|
38
|
-
filetype: "wav",
|
|
39
|
-
language: "en-US",
|
|
40
|
-
});
|
|
38
|
+
const text = await voice.listen(audioStream);
|
|
41
39
|
```
|
|
42
40
|
|
|
43
41
|
## Configuration
|
|
@@ -69,26 +67,36 @@ const text = await voice.listen(audioStream, {
|
|
|
69
67
|
|
|
70
68
|
### AzureSpeechConfig
|
|
71
69
|
|
|
70
|
+
Configuration object for speech synthesis (`speechModel`) and recognition (`listeningModel`).
|
|
71
|
+
|
|
72
72
|
<PropertiesTable
|
|
73
73
|
content={[
|
|
74
74
|
{
|
|
75
|
-
name: "
|
|
76
|
-
type: "
|
|
77
|
-
description:
|
|
75
|
+
name: "apiKey",
|
|
76
|
+
type: "string",
|
|
77
|
+
description:
|
|
78
|
+
"Azure Speech Services API key (NOT Azure OpenAI key). Falls back to AZURE_API_KEY environment variable.",
|
|
78
79
|
isOptional: true,
|
|
79
80
|
},
|
|
80
81
|
{
|
|
81
|
-
name: "
|
|
82
|
+
name: "region",
|
|
82
83
|
type: "string",
|
|
83
84
|
description:
|
|
84
|
-
"Azure
|
|
85
|
+
"Azure region (e.g., 'eastus', 'westeurope'). Falls back to AZURE_REGION environment variable.",
|
|
85
86
|
isOptional: true,
|
|
86
87
|
},
|
|
87
88
|
{
|
|
88
|
-
name: "
|
|
89
|
+
name: "voiceName",
|
|
90
|
+
type: "string",
|
|
91
|
+
description:
|
|
92
|
+
"Voice ID for speech synthesis (e.g., 'en-US-AriaNeural', 'en-US-JennyNeural'). Only used in speechModel. See voice list below.",
|
|
93
|
+
isOptional: true,
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: "language",
|
|
89
97
|
type: "string",
|
|
90
98
|
description:
|
|
91
|
-
"
|
|
99
|
+
"Recognition language code (e.g., 'en-US', 'fr-FR'). Only used in listeningModel.",
|
|
92
100
|
isOptional: true,
|
|
93
101
|
},
|
|
94
102
|
]}
|
|
@@ -111,32 +119,14 @@ Converts text to speech using Azure's neural text-to-speech service.
|
|
|
111
119
|
{
|
|
112
120
|
name: "options.speaker",
|
|
113
121
|
type: "string",
|
|
114
|
-
description: "Voice ID to use for speech synthesis.",
|
|
122
|
+
description: "Voice ID to use for speech synthesis (e.g., 'en-US-JennyNeural'). Overrides the default voice.",
|
|
115
123
|
isOptional: true,
|
|
116
124
|
defaultValue: "Constructor's speaker value",
|
|
117
125
|
},
|
|
118
|
-
{
|
|
119
|
-
name: "options.style",
|
|
120
|
-
type: "string",
|
|
121
|
-
description: "Speaking style (e.g., 'cheerful', 'sad', 'angry').",
|
|
122
|
-
isOptional: true,
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
name: "options.rate",
|
|
126
|
-
type: "string",
|
|
127
|
-
description: "Speaking rate (e.g., 'slow', 'medium', 'fast').",
|
|
128
|
-
isOptional: true,
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
name: "options.pitch",
|
|
132
|
-
type: "string",
|
|
133
|
-
description: "Voice pitch (e.g., 'low', 'medium', 'high').",
|
|
134
|
-
isOptional: true,
|
|
135
|
-
},
|
|
136
126
|
]}
|
|
137
127
|
/>
|
|
138
128
|
|
|
139
|
-
Returns: `Promise<NodeJS.ReadableStream>`
|
|
129
|
+
Returns: `Promise<NodeJS.ReadableStream>` - Audio stream in WAV format
|
|
140
130
|
|
|
141
131
|
### listen()
|
|
142
132
|
|
|
@@ -147,31 +137,19 @@ Transcribes audio using Azure's speech-to-text service.
|
|
|
147
137
|
{
|
|
148
138
|
name: "audioStream",
|
|
149
139
|
type: "NodeJS.ReadableStream",
|
|
150
|
-
description: "Audio stream to transcribe.",
|
|
140
|
+
description: "Audio stream to transcribe. Must be in WAV format.",
|
|
151
141
|
isOptional: false,
|
|
152
142
|
},
|
|
153
|
-
{
|
|
154
|
-
name: "options.filetype",
|
|
155
|
-
type: "string",
|
|
156
|
-
description: "Audio format of the input stream.",
|
|
157
|
-
isOptional: true,
|
|
158
|
-
defaultValue: "'wav'",
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
name: "options.language",
|
|
162
|
-
type: "string",
|
|
163
|
-
description: "Language code for transcription.",
|
|
164
|
-
isOptional: true,
|
|
165
|
-
defaultValue: "'en-US'",
|
|
166
|
-
},
|
|
167
143
|
]}
|
|
168
144
|
/>
|
|
169
145
|
|
|
170
|
-
Returns: `Promise<string>`
|
|
146
|
+
Returns: `Promise<string>` - The recognized text from the audio
|
|
147
|
+
|
|
148
|
+
**Note:** Language and recognition settings are configured in the `listeningModel` configuration during initialization, not passed as options to this method.
|
|
171
149
|
|
|
172
150
|
### getSpeakers()
|
|
173
151
|
|
|
174
|
-
Returns an array of available voice options, where each node contains:
|
|
152
|
+
Returns an array of available voice options (200+ voices), where each node contains:
|
|
175
153
|
|
|
176
154
|
<PropertiesTable
|
|
177
155
|
content={[
|
|
@@ -179,40 +157,77 @@ Returns an array of available voice options, where each node contains:
|
|
|
179
157
|
name: "voiceId",
|
|
180
158
|
type: "string",
|
|
181
159
|
description:
|
|
182
|
-
"Unique identifier for the voice (e.g., 'en-US-JennyNeural')",
|
|
183
|
-
isOptional: false,
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
name: "name",
|
|
187
|
-
type: "string",
|
|
188
|
-
description: "Human-readable name of the voice",
|
|
160
|
+
"Unique identifier for the voice (e.g., 'en-US-JennyNeural', 'fr-FR-DeniseNeural')",
|
|
189
161
|
isOptional: false,
|
|
190
162
|
},
|
|
191
163
|
{
|
|
192
|
-
name: "
|
|
164
|
+
name: "language",
|
|
193
165
|
type: "string",
|
|
194
|
-
description: "Language
|
|
166
|
+
description: "Language code extracted from voice ID (e.g., 'en', 'fr')",
|
|
195
167
|
isOptional: false,
|
|
196
168
|
},
|
|
197
169
|
{
|
|
198
|
-
name: "
|
|
170
|
+
name: "region",
|
|
199
171
|
type: "string",
|
|
200
|
-
description: "
|
|
172
|
+
description: "Region code extracted from voice ID (e.g., 'US', 'GB', 'FR')",
|
|
201
173
|
isOptional: false,
|
|
202
174
|
},
|
|
203
|
-
{
|
|
204
|
-
name: "styles",
|
|
205
|
-
type: "string[]",
|
|
206
|
-
description: "Available speaking styles for the voice",
|
|
207
|
-
isOptional: true,
|
|
208
|
-
},
|
|
209
175
|
]}
|
|
210
176
|
/>
|
|
211
177
|
|
|
212
|
-
|
|
178
|
+
Returns: `Promise<Array<{ voiceId: string; language: string; region: string; }>>`
|
|
179
|
+
|
|
180
|
+
## Important Notes
|
|
181
|
+
|
|
182
|
+
### Azure Speech Services vs Azure OpenAI
|
|
183
|
+
|
|
184
|
+
**⚠️ Critical:** This package uses **Azure Speech Services**, which is different from **Azure OpenAI Services**.
|
|
185
|
+
|
|
186
|
+
- **DO NOT** use your `AZURE_OPENAI_API_KEY` for this package
|
|
187
|
+
- **DO** use an Azure Speech Services subscription key (obtain from Azure Portal under "Speech Services")
|
|
188
|
+
- These are separate Azure resources with different API keys and endpoints
|
|
189
|
+
|
|
190
|
+
### Environment Variables
|
|
191
|
+
|
|
192
|
+
API keys and regions can be provided via constructor options or environment variables:
|
|
193
|
+
|
|
194
|
+
- `AZURE_API_KEY` - Your Azure Speech Services subscription key
|
|
195
|
+
- `AZURE_REGION` - Your Azure region (e.g., 'eastus', 'westeurope')
|
|
196
|
+
|
|
197
|
+
### Voice Capabilities
|
|
198
|
+
|
|
199
|
+
- Azure offers 200+ neural voices across 50+ languages
|
|
200
|
+
- Each voice ID follows the format: `{language}-{region}-{name}Neural` (e.g., 'en-US-JennyNeural')
|
|
201
|
+
- Some voices include multilingual support or HD quality variants
|
|
202
|
+
- Audio output is in WAV format
|
|
203
|
+
- Audio input for recognition must be in WAV format
|
|
204
|
+
|
|
205
|
+
## Available Voices
|
|
206
|
+
|
|
207
|
+
Azure provides 200+ neural voices across many languages. Some popular English voices include:
|
|
208
|
+
|
|
209
|
+
- **US English:**
|
|
210
|
+
- `en-US-AriaNeural` (Female, default)
|
|
211
|
+
- `en-US-JennyNeural` (Female)
|
|
212
|
+
- `en-US-GuyNeural` (Male)
|
|
213
|
+
- `en-US-DavisNeural` (Male)
|
|
214
|
+
- `en-US-AvaNeural` (Female)
|
|
215
|
+
- `en-US-AndrewNeural` (Male)
|
|
216
|
+
|
|
217
|
+
- **British English:**
|
|
218
|
+
- `en-GB-SoniaNeural` (Female)
|
|
219
|
+
- `en-GB-RyanNeural` (Male)
|
|
220
|
+
- `en-GB-LibbyNeural` (Female)
|
|
221
|
+
|
|
222
|
+
- **Australian English:**
|
|
223
|
+
- `en-AU-NatashaNeural` (Female)
|
|
224
|
+
- `en-AU-WilliamNeural` (Male)
|
|
225
|
+
|
|
226
|
+
To get a complete list of all 200+ voices:
|
|
227
|
+
|
|
228
|
+
```typescript
|
|
229
|
+
const voices = await voice.getSpeakers();
|
|
230
|
+
console.log(voices); // Array of { voiceId, language, region }
|
|
231
|
+
```
|
|
213
232
|
|
|
214
|
-
|
|
215
|
-
- Azure offers a wide range of neural voices across many languages
|
|
216
|
-
- Some voices support speaking styles like cheerful, sad, angry, etc.
|
|
217
|
-
- Speech recognition supports multiple audio formats and languages
|
|
218
|
-
- Azure's speech services provide high-quality neural voices with natural-sounding speech
|
|
233
|
+
For more information, see the [Azure Neural TTS documentation](https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=tts).
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 0.13.41-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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))
|
|
8
|
+
|
|
9
|
+
- 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)]:
|
|
10
|
+
- @mastra/mcp@0.14.3-alpha.0
|
|
11
|
+
- @mastra/core@0.24.2-alpha.0
|
|
12
|
+
|
|
3
13
|
## 0.13.40
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAmBxC,QAAA,IAAI,MAAM,EAAE,SAAS,CAAC;AAiCtB,iBAAe,SAAS,kBAQvB;AAED,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"migration.d.ts","sourceRoot":"","sources":["../../src/prompts/migration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAiDpD,eAAO,MAAM,uBAAuB,EAAE,gBAcrC,CAAC"}
|
package/dist/stdio.js
CHANGED
|
@@ -102,6 +102,64 @@ function createLogger(server2) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
var logger = createLogger();
|
|
105
|
+
|
|
106
|
+
// src/prompts/migration.ts
|
|
107
|
+
var UPGRADE_MESSAGE = `# Migration Guide Upgrade Required
|
|
108
|
+
|
|
109
|
+
To access migration guides for upgrading to Mastra v1.0-beta, you need to upgrade your mcp-docs-server to the beta version.
|
|
110
|
+
|
|
111
|
+
## How to Upgrade
|
|
112
|
+
|
|
113
|
+
The migration tool and prompts are only available in the beta version of the mcp-docs-server.
|
|
114
|
+
|
|
115
|
+
Visit the installation guide for detailed instructions on how to upgrade to the beta version:
|
|
116
|
+
|
|
117
|
+
https://mastra.ai/docs/v1/getting-started/mcp-docs-server#installation
|
|
118
|
+
|
|
119
|
+
Once upgraded, you'll be able to:
|
|
120
|
+
- Browse migration guides with the \`mastraMigration\` tool
|
|
121
|
+
- Use migration prompts like \`upgrade-to-v1\` and \`migration-checklist\`
|
|
122
|
+
- Get step-by-step migration instructions for each breaking change
|
|
123
|
+
- Use automated codemods to handle many migrations automatically
|
|
124
|
+
|
|
125
|
+
## Why Beta?
|
|
126
|
+
|
|
127
|
+
The migration guides are specific to the v1.0-beta release and are actively being updated as the beta evolves. The stable (0.x) documentation server doesn't include these guides as they're not relevant to users on the stable version.
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
**Note:** This message is shown because you're currently using the stable (@latest) version of @mastra/mcp-docs-server. Upgrade to @beta to access migration guides and prompts.`;
|
|
132
|
+
var migrationPrompts = [
|
|
133
|
+
{
|
|
134
|
+
name: "upgrade-to-v1",
|
|
135
|
+
description: 'Get a guided migration plan for upgrading from Mastra v0.x to v1.0-beta. Optionally specify an area (e.g., "agent", "workflow") to focus on.',
|
|
136
|
+
arguments: [
|
|
137
|
+
{
|
|
138
|
+
name: "area",
|
|
139
|
+
description: 'Optional: A specific area to focus the migration guide on (e.g., "agent", "workflow", "tools")',
|
|
140
|
+
required: false
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
name: "migration-checklist",
|
|
146
|
+
description: "Get a comprehensive checklist for migrating to Mastra v1.0-beta. Lists all breaking changes organized by area."
|
|
147
|
+
}
|
|
148
|
+
];
|
|
149
|
+
var migrationPromptMessages = {
|
|
150
|
+
listPrompts: async () => migrationPrompts,
|
|
151
|
+
getPromptMessages: async () => {
|
|
152
|
+
return [
|
|
153
|
+
{
|
|
154
|
+
role: "user",
|
|
155
|
+
content: {
|
|
156
|
+
type: "text",
|
|
157
|
+
text: UPGRADE_MESSAGE
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
];
|
|
161
|
+
}
|
|
162
|
+
};
|
|
105
163
|
var BLOG_BASE_URL = process.env.BLOG_URL || "https://mastra.ai";
|
|
106
164
|
async function fetchBlogPosts() {
|
|
107
165
|
void logger.debug("Fetching list of blog posts");
|
|
@@ -1090,6 +1148,93 @@ var examplesTool = {
|
|
|
1090
1148
|
}
|
|
1091
1149
|
}
|
|
1092
1150
|
};
|
|
1151
|
+
var migrationInputSchema = z.object({
|
|
1152
|
+
path: z.string().optional().describe(
|
|
1153
|
+
'Path to the migration guide (e.g., "upgrade-to-v1/agent", "agentnetwork"). If not provided, lists all available migrations.\n\nExample migration paths:\n- agentnetwork\n- upgrade-to-v1/agent\n- upgrade-to-v1/cli\n- upgrade-to-v1/client\n- upgrade-to-v1/evals\n...'
|
|
1154
|
+
),
|
|
1155
|
+
listSections: z.boolean().optional().describe("Set to true to list all section headers in a migration guide without fetching full content."),
|
|
1156
|
+
sections: z.array(z.string()).optional().describe(
|
|
1157
|
+
"Specific section titles to fetch from the migration guide. If not provided, returns the entire guide. Use this after exploring section headers."
|
|
1158
|
+
),
|
|
1159
|
+
queryKeywords: z.array(z.string()).optional().describe("Keywords to search across all migration guides. Use this to find guides related to specific topics.")
|
|
1160
|
+
});
|
|
1161
|
+
var UPGRADE_MESSAGE2 = `# Migration Guide Upgrade Required
|
|
1162
|
+
|
|
1163
|
+
To access migration guides for upgrading to Mastra v1.0-beta, you need to upgrade your mcp-docs-server to the beta version.
|
|
1164
|
+
|
|
1165
|
+
## How to Upgrade
|
|
1166
|
+
|
|
1167
|
+
The migration tool is only available in the beta version of the mcp-docs-server.
|
|
1168
|
+
|
|
1169
|
+
1. **Update your MCP server configuration** to use the beta version. Visit the installation guide for detailed instructions:
|
|
1170
|
+
|
|
1171
|
+
https://mastra.ai/docs/v1/getting-started/mcp-docs-server#installation
|
|
1172
|
+
|
|
1173
|
+
2. **Restart your MCP server** after updating to pick up the beta version
|
|
1174
|
+
|
|
1175
|
+
3. **Access migration guides** - Once upgraded, you'll be able to:
|
|
1176
|
+
- Browse migration guides with the \`mastraMigration\` tool
|
|
1177
|
+
- Get step-by-step migration instructions for each breaking change
|
|
1178
|
+
- Use automated codemods to handle many migrations automatically
|
|
1179
|
+
|
|
1180
|
+
## Why Beta?
|
|
1181
|
+
|
|
1182
|
+
The migration guides are specific to the v1.0-beta release and are actively being updated as the beta evolves. The stable (0.x) documentation server doesn't include these guides as they're not relevant to users on the stable version.
|
|
1183
|
+
|
|
1184
|
+
## Need Help?
|
|
1185
|
+
|
|
1186
|
+
If you have questions about upgrading:
|
|
1187
|
+
- Check the Mastra documentation at https://mastra.ai/docs
|
|
1188
|
+
- Visit the GitHub repository for issues and discussions
|
|
1189
|
+
- Join the Mastra community for support
|
|
1190
|
+
|
|
1191
|
+
---
|
|
1192
|
+
|
|
1193
|
+
**Note:** This message is shown because you're currently using the stable (@latest) version of @mastra/mcp-docs-server. Upgrade to @beta to access migration guides.`;
|
|
1194
|
+
var migrationTool = {
|
|
1195
|
+
name: "mastraMigration",
|
|
1196
|
+
description: `Get migration guidance for Mastra version upgrades and breaking changes.
|
|
1197
|
+
|
|
1198
|
+
This tool works like a file browser - navigate through directories to find migration guides:
|
|
1199
|
+
|
|
1200
|
+
**Step 1: List top-level migrations**
|
|
1201
|
+
- Call with no parameters: \`{}\`
|
|
1202
|
+
- Shows all top-level migration guides and directories
|
|
1203
|
+
|
|
1204
|
+
**Step 2: Navigate into a directory**
|
|
1205
|
+
- Add trailing slash to explore: \`{ path: "upgrade-to-v1/" }\`
|
|
1206
|
+
- Lists all migration guides in that directory
|
|
1207
|
+
|
|
1208
|
+
**Step 3: View a migration guide**
|
|
1209
|
+
- Without trailing slash: \`{ path: "upgrade-to-v1/agent" }\`
|
|
1210
|
+
- Returns the full migration guide content
|
|
1211
|
+
|
|
1212
|
+
**Step 4: Explore guide sections (optional)**
|
|
1213
|
+
- List sections: \`{ path: "upgrade-to-v1/agent", listSections: true }\`
|
|
1214
|
+
- Get specific sections: \`{ path: "upgrade-to-v1/agent", sections: ["Voice methods"] }\`
|
|
1215
|
+
|
|
1216
|
+
**Alternative: Search by keywords**
|
|
1217
|
+
- \`{ queryKeywords: ["RuntimeContext", "pagination"] }\`
|
|
1218
|
+
|
|
1219
|
+
**Examples:**
|
|
1220
|
+
1. List top-level: \`{}\`
|
|
1221
|
+
2. Navigate to upgrade-to-v1: \`{ path: "upgrade-to-v1/" }\`
|
|
1222
|
+
3. Get agent guide: \`{ path: "upgrade-to-v1/agent" }\`
|
|
1223
|
+
4. List guide sections: \`{ path: "upgrade-to-v1/agent", listSections: true }\`
|
|
1224
|
+
5. Search: \`{ queryKeywords: ["RuntimeContext"] }\`
|
|
1225
|
+
|
|
1226
|
+
**Tip:** Paths ending with \`/\` list directory contents. Paths without \`/\` fetch the migration guide.`,
|
|
1227
|
+
parameters: migrationInputSchema,
|
|
1228
|
+
execute: async (args) => {
|
|
1229
|
+
void logger.debug("Executing mastraMigration tool (stub version)", { args });
|
|
1230
|
+
try {
|
|
1231
|
+
return UPGRADE_MESSAGE2;
|
|
1232
|
+
} catch (error) {
|
|
1233
|
+
void logger.error("Failed to execute mastraMigration tool", error);
|
|
1234
|
+
throw error;
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
};
|
|
1093
1238
|
|
|
1094
1239
|
// src/index.ts
|
|
1095
1240
|
var server;
|
|
@@ -1110,12 +1255,14 @@ server = new MCPServer({
|
|
|
1110
1255
|
mastraDocs: docsTool,
|
|
1111
1256
|
mastraExamples: examplesTool,
|
|
1112
1257
|
mastraChanges: changesTool,
|
|
1258
|
+
mastraMigration: migrationTool,
|
|
1113
1259
|
startMastraCourse,
|
|
1114
1260
|
getMastraCourseStatus,
|
|
1115
1261
|
startMastraCourseLesson,
|
|
1116
1262
|
nextMastraCourseStep,
|
|
1117
1263
|
clearMastraCourseHistory
|
|
1118
|
-
}
|
|
1264
|
+
},
|
|
1265
|
+
prompts: migrationPromptMessages
|
|
1119
1266
|
});
|
|
1120
1267
|
Object.assign(logger, createLogger(server));
|
|
1121
1268
|
async function runServer() {
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const migrationInputSchema: z.ZodObject<{
|
|
3
|
+
path: z.ZodOptional<z.ZodString>;
|
|
4
|
+
listSections: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6
|
+
queryKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
path?: string | undefined;
|
|
9
|
+
queryKeywords?: string[] | undefined;
|
|
10
|
+
listSections?: boolean | undefined;
|
|
11
|
+
sections?: string[] | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
path?: string | undefined;
|
|
14
|
+
queryKeywords?: string[] | undefined;
|
|
15
|
+
listSections?: boolean | undefined;
|
|
16
|
+
sections?: string[] | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
export type MigrationInput = z.infer<typeof migrationInputSchema>;
|
|
19
|
+
export declare const migrationTool: {
|
|
20
|
+
name: string;
|
|
21
|
+
description: string;
|
|
22
|
+
parameters: z.ZodObject<{
|
|
23
|
+
path: z.ZodOptional<z.ZodString>;
|
|
24
|
+
listSections: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
26
|
+
queryKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
path?: string | undefined;
|
|
29
|
+
queryKeywords?: string[] | undefined;
|
|
30
|
+
listSections?: boolean | undefined;
|
|
31
|
+
sections?: string[] | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
path?: string | undefined;
|
|
34
|
+
queryKeywords?: string[] | undefined;
|
|
35
|
+
listSections?: boolean | undefined;
|
|
36
|
+
sections?: string[] | undefined;
|
|
37
|
+
}>;
|
|
38
|
+
execute: (args: MigrationInput) => Promise<string>;
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=migration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"migration.d.ts","sourceRoot":"","sources":["../../src/tools/migration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAqB/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAoClE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;oBAkCF,cAAc;CAUrC,CAAC"}
|
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.41-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,8 +33,8 @@
|
|
|
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.24.
|
|
37
|
-
"@mastra/mcp": "^0.14.
|
|
36
|
+
"@mastra/core": "0.24.2-alpha.0",
|
|
37
|
+
"@mastra/mcp": "^0.14.3-alpha.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@hono/node-server": "^1.19.5",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"tsx": "^4.19.4",
|
|
50
50
|
"typescript": "^5.8.3",
|
|
51
51
|
"vitest": "^3.2.4",
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
52
|
+
"@internal/lint": "0.0.59",
|
|
53
|
+
"@mastra/core": "0.24.2-alpha.0"
|
|
54
54
|
},
|
|
55
55
|
"homepage": "https://mastra.ai",
|
|
56
56
|
"repository": {
|