@mastra/mcp-docs-server 0.13.17-alpha.0 → 0.13.17-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +20 -20
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +16 -0
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Ffirecrawl.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +16 -16
- package/.docs/organized/changelogs/%40mastra%2Fmemory.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Frag.md +14 -14
- package/.docs/organized/changelogs/%40mastra%2Fschema-compat.md +6 -0
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +15 -15
- package/.docs/raw/frameworks/web-frameworks/next-js.mdx +4 -201
- package/.docs/raw/reference/tools/graph-rag-tool.mdx +7 -0
- package/.docs/raw/reference/tools/vector-query-tool.mdx +7 -0
- package/.docs/raw/server-db/local-dev-playground.mdx +1 -1
- package/package.json +5 -5
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 0.11.3-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`822c2e8`](https://github.com/mastra-ai/mastra/commit/822c2e88a3ecbffb7c680e6227976006ccefe6a8)]:
|
|
8
|
+
- @mastra/core@0.15.3-alpha.2
|
|
9
|
+
|
|
10
|
+
## 0.11.3-alpha.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4)]:
|
|
15
|
+
- @mastra/core@0.15.3-alpha.1
|
|
16
|
+
|
|
3
17
|
## 0.11.3-alpha.0
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -284,19 +298,5 @@
|
|
|
284
298
|
- Updated dependencies [2fff911]
|
|
285
299
|
- @mastra/core@0.13.2-alpha.0
|
|
286
300
|
|
|
287
|
-
## 0.10.20
|
|
288
|
-
|
|
289
|
-
### Patch Changes
|
|
290
|
-
|
|
291
|
-
- Updated dependencies [cd0042e]
|
|
292
|
-
- @mastra/core@0.13.1
|
|
293
|
-
|
|
294
|
-
## 0.10.20-alpha.0
|
|
295
|
-
|
|
296
|
-
### Patch Changes
|
|
297
|
-
|
|
298
|
-
- Updated dependencies [cd0042e]
|
|
299
|
-
- @mastra/core@0.13.1-alpha.0
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 2226 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 0.15.3-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#7129](https://github.com/mastra-ai/mastra/pull/7129) [`822c2e8`](https://github.com/mastra-ai/mastra/commit/822c2e88a3ecbffb7c680e6227976006ccefe6a8) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix custom output (tool-output) in ai-sdk stream output
|
|
8
|
+
|
|
9
|
+
## 0.15.3-alpha.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#7121](https://github.com/mastra-ai/mastra/pull/7121) [`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67) Thanks [@DanielSLew](https://github.com/DanielSLew)! - Fix issue with some compilers and calling zod v4's toJSONSchema function
|
|
14
|
+
|
|
15
|
+
- [#7124](https://github.com/mastra-ai/mastra/pull/7124) [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b) Thanks [@abhiaiyer91](https://github.com/abhiaiyer91)! - MastraEmbeddingModel and ts hack
|
|
16
|
+
|
|
17
|
+
- [#7125](https://github.com/mastra-ai/mastra/pull/7125) [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4) Thanks [@abhiaiyer91](https://github.com/abhiaiyer91)! - improveEmbeddingModelStuff
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67)]:
|
|
20
|
+
- @mastra/schema-compat@0.11.2-alpha.0
|
|
21
|
+
|
|
3
22
|
## 0.15.3-alpha.0
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -279,24 +298,5 @@
|
|
|
279
298
|
|
|
280
299
|
### Patch Changes
|
|
281
300
|
|
|
282
|
-
- d5330bf: Allow agent model to be updated after the agent is created
|
|
283
|
-
- a239d41: Updated A2A syntax to v0.3.0
|
|
284
|
-
- b32c50d: Filter scores by source
|
|
285
|
-
- 121a3f8: Fixed an issue where telemetry logs were displaying promise statuses when `agent.stream` is called
|
|
286
|
-
- ec510e7: Tool input validation now returns errors as tool results instead of throwing, allowing agents to understand validation failures and retry with corrected parameters.
|
|
287
|
-
- Updated dependencies [ae2eb63]
|
|
288
|
-
- @mastra/schema-compat@0.10.7-alpha.1
|
|
289
|
-
|
|
290
|
-
## 0.13.2-alpha.1
|
|
291
|
-
|
|
292
|
-
### Patch Changes
|
|
293
|
-
|
|
294
|
-
- 2e74797: Fix tool arguments being lost when tool-result messages arrive separately from tool-call messages or when messages are restored from database. Tool invocations now correctly preserve their arguments in all scenarios.
|
|
295
|
-
- 63449d0: Change the function signatures of `bundle`, `lint`, and internally `getToolsInputOptions` to expand the `toolsPaths` TypeScript type from `string[]` to `(string | string[])[]`.
|
|
296
|
-
|
|
297
|
-
## 0.13.2-alpha.0
|
|
298
|
-
|
|
299
|
-
### Patch Changes
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 2832 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @mastra/deployer-cloud
|
|
2
2
|
|
|
3
|
+
## 0.15.3-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`822c2e8`](https://github.com/mastra-ai/mastra/commit/822c2e88a3ecbffb7c680e6227976006ccefe6a8)]:
|
|
8
|
+
- @mastra/core@0.15.3-alpha.2
|
|
9
|
+
- @mastra/deployer@0.15.3-alpha.2
|
|
10
|
+
|
|
11
|
+
## 0.15.3-alpha.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4)]:
|
|
16
|
+
- @mastra/core@0.15.3-alpha.1
|
|
17
|
+
- @mastra/deployer@0.15.3-alpha.1
|
|
18
|
+
|
|
3
19
|
## 0.15.3-alpha.0
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 0.15.3-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`822c2e8`](https://github.com/mastra-ai/mastra/commit/822c2e88a3ecbffb7c680e6227976006ccefe6a8)]:
|
|
8
|
+
- @mastra/core@0.15.3-alpha.2
|
|
9
|
+
- @mastra/server@0.15.3-alpha.2
|
|
10
|
+
|
|
11
|
+
## 0.15.3-alpha.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4)]:
|
|
16
|
+
- @mastra/core@0.15.3-alpha.1
|
|
17
|
+
- @mastra/server@0.15.3-alpha.1
|
|
18
|
+
|
|
3
19
|
## 0.15.3-alpha.0
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -282,21 +298,5 @@
|
|
|
282
298
|
|
|
283
299
|
## 0.14.0-alpha.1
|
|
284
300
|
|
|
285
|
-
### Patch Changes
|
|
286
|
-
|
|
287
|
-
- bca2ba3: Fix issue where `.json` files couldn't be imported and used with deployers
|
|
288
|
-
- 6313063: Implement model switcher in playground
|
|
289
|
-
- 6dfc4a6: In a previous release analysis of the Mastra configuration was added. A bug was fixed to properly support TypeScript.
|
|
290
|
-
- Updated dependencies [6faaee5]
|
|
291
|
-
- Updated dependencies [4232b14]
|
|
292
|
-
- Updated dependencies [6313063]
|
|
293
|
-
- Updated dependencies [a89de7e]
|
|
294
|
-
- Updated dependencies [cf4f357]
|
|
295
|
-
- Updated dependencies [a722c0b]
|
|
296
|
-
- Updated dependencies [3b5fec7]
|
|
297
|
-
- @mastra/core@0.14.0-alpha.1
|
|
298
|
-
- @mastra/server@0.14.0-alpha.1
|
|
299
|
-
|
|
300
|
-
## 0.13.3-alpha.0
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 3694 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/firecrawl
|
|
2
2
|
|
|
3
|
+
## 1.2.17-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`b415a4e`](https://github.com/mastra-ai/mastra/commit/b415a4e05b2546ccb9b5ba31a2bdf23deb1c7fa8), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4)]:
|
|
8
|
+
- @mastra/core@0.15.3-alpha.1
|
|
9
|
+
- @mastra/rag@1.2.3-alpha.0
|
|
10
|
+
|
|
3
11
|
## 1.2.16
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -290,13 +298,5 @@
|
|
|
290
298
|
- Updated dependencies [edff568]
|
|
291
299
|
- Updated dependencies [5237998]
|
|
292
300
|
- Updated dependencies [c3a30de]
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
- Updated dependencies [89ec9d4]
|
|
296
|
-
- Updated dependencies [cf3a184]
|
|
297
|
-
- Updated dependencies [d6bfd60]
|
|
298
|
-
- Updated dependencies [626b0f4]
|
|
299
|
-
- Updated dependencies [c22a91f]
|
|
300
|
-
- Updated dependencies [f7403ab]
|
|
301
|
-
|
|
302
|
-
... 2716 more lines hidden. See full changelog in package directory.
|
|
301
|
+
|
|
302
|
+
... 2724 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 0.13.17-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`822c2e8`](https://github.com/mastra-ai/mastra/commit/822c2e88a3ecbffb7c680e6227976006ccefe6a8)]:
|
|
8
|
+
- @mastra/core@0.15.3-alpha.2
|
|
9
|
+
|
|
10
|
+
## 0.13.17-alpha.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4)]:
|
|
15
|
+
- @mastra/core@0.15.3-alpha.1
|
|
16
|
+
|
|
3
17
|
## 0.13.17-alpha.0
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -284,19 +298,5 @@
|
|
|
284
298
|
- Updated dependencies [cb36de0]
|
|
285
299
|
- Updated dependencies [d0496e6]
|
|
286
300
|
- Updated dependencies [a82b851]
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
- Updated dependencies [2871020]
|
|
290
|
-
- Updated dependencies [9e792ef]
|
|
291
|
-
- Updated dependencies [94f4812]
|
|
292
|
-
- Updated dependencies [e202b82]
|
|
293
|
-
- Updated dependencies [e00f6a0]
|
|
294
|
-
- Updated dependencies [4a406ec]
|
|
295
|
-
- Updated dependencies [b0e43c1]
|
|
296
|
-
- Updated dependencies [5d377e5]
|
|
297
|
-
- Updated dependencies [1fb812e]
|
|
298
|
-
- Updated dependencies [35c5798]
|
|
299
|
-
- @mastra/core@0.13.0
|
|
300
|
-
- @mastra/mcp@0.10.10
|
|
301
|
-
|
|
302
|
-
... 1467 more lines hidden. See full changelog in package directory.
|
|
301
|
+
|
|
302
|
+
... 1481 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/memory
|
|
2
2
|
|
|
3
|
+
## 0.14.3-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4)]:
|
|
8
|
+
- @mastra/schema-compat@0.11.2-alpha.0
|
|
9
|
+
- @mastra/core@0.15.3-alpha.1
|
|
10
|
+
|
|
3
11
|
## 0.14.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -290,13 +298,5 @@
|
|
|
290
298
|
|
|
291
299
|
## 0.12.1-alpha.0
|
|
292
300
|
|
|
293
|
-
### Patch Changes
|
|
294
|
-
|
|
295
|
-
- e202b82: Add getThreadsByResourceIdPaginated to the Memory Class
|
|
296
|
-
- Updated dependencies [94f4812]
|
|
297
|
-
- Updated dependencies [e202b82]
|
|
298
|
-
- Updated dependencies [e00f6a0]
|
|
299
|
-
- @mastra/core@0.12.2-alpha.0
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 2810 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @mastra/rag
|
|
2
2
|
|
|
3
|
+
## 1.2.3-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#7124](https://github.com/mastra-ai/mastra/pull/7124) [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b) Thanks [@abhiaiyer91](https://github.com/abhiaiyer91)! - MastraEmbeddingModel and ts hack
|
|
8
|
+
|
|
9
|
+
- [#7120](https://github.com/mastra-ai/mastra/pull/7120) [`b415a4e`](https://github.com/mastra-ai/mastra/commit/b415a4e05b2546ccb9b5ba31a2bdf23deb1c7fa8) Thanks [@NikAiyer](https://github.com/NikAiyer)! - added providerOptions to createVectorQueryTool and createGraphRAGTool
|
|
10
|
+
|
|
11
|
+
- [#7125](https://github.com/mastra-ai/mastra/pull/7125) [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4) Thanks [@abhiaiyer91](https://github.com/abhiaiyer91)! - improveEmbeddingModelStuff
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4)]:
|
|
14
|
+
- @mastra/core@0.15.3-alpha.1
|
|
15
|
+
|
|
3
16
|
## 1.2.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -285,18 +298,5 @@
|
|
|
285
298
|
- Updated dependencies [510e2c8]
|
|
286
299
|
- Updated dependencies [2f72fb2]
|
|
287
300
|
- Updated dependencies [3f89307]
|
|
288
|
-
- Updated dependencies [9eda7d4]
|
|
289
|
-
- Updated dependencies [9d49408]
|
|
290
|
-
- Updated dependencies [2ecf658]
|
|
291
|
-
- Updated dependencies [7a7754f]
|
|
292
|
-
- Updated dependencies [fc92d80]
|
|
293
|
-
- Updated dependencies [23a6a7c]
|
|
294
|
-
- Updated dependencies [09bca64]
|
|
295
|
-
- @mastra/core@0.12.0-alpha.0
|
|
296
|
-
|
|
297
|
-
## 1.0.4
|
|
298
|
-
|
|
299
|
-
### Patch Changes
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 2560 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @mastra/schema-compat
|
|
2
2
|
|
|
3
|
+
## 0.11.2-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#7121](https://github.com/mastra-ai/mastra/pull/7121) [`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67) Thanks [@DanielSLew](https://github.com/DanielSLew)! - Fix issue with some compilers and calling zod v4's toJSONSchema function
|
|
8
|
+
|
|
3
9
|
## 0.11.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/server
|
|
2
2
|
|
|
3
|
+
## 0.15.3-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`822c2e8`](https://github.com/mastra-ai/mastra/commit/822c2e88a3ecbffb7c680e6227976006ccefe6a8)]:
|
|
8
|
+
- @mastra/core@0.15.3-alpha.2
|
|
9
|
+
|
|
10
|
+
## 0.15.3-alpha.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4)]:
|
|
15
|
+
- @mastra/core@0.15.3-alpha.1
|
|
16
|
+
|
|
3
17
|
## 0.15.3-alpha.0
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -285,18 +299,4 @@
|
|
|
285
299
|
|
|
286
300
|
### Patch Changes
|
|
287
301
|
|
|
288
|
-
|
|
289
|
-
- Updated dependencies [63449d0]
|
|
290
|
-
- @mastra/core@0.13.2-alpha.1
|
|
291
|
-
|
|
292
|
-
## 0.13.2-alpha.0
|
|
293
|
-
|
|
294
|
-
### Patch Changes
|
|
295
|
-
|
|
296
|
-
- Updated dependencies [8388649]
|
|
297
|
-
- Updated dependencies [dd94a26]
|
|
298
|
-
- Updated dependencies [3ba6772]
|
|
299
|
-
- Updated dependencies [2fff911]
|
|
300
|
-
- @mastra/core@0.13.2-alpha.0
|
|
301
|
-
|
|
302
|
-
... 3023 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 3037 more lines hidden. See full changelog in package directory.
|
|
@@ -23,40 +23,7 @@ Use this guide to scaffold and integrate Mastra with your Next.js project.
|
|
|
23
23
|
project, e.g., `app` rather than `src/app`.
|
|
24
24
|
</Callout>
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
## Install Mastra
|
|
28
|
-
|
|
29
|
-
Install the required Mastra packages:
|
|
30
|
-
{/*
|
|
31
|
-
LLM CONTEXT: This Tabs component shows commands for integrating a new Mastra backend project using different package managers.
|
|
32
|
-
Each tab displays the command for that specific package manager to create an integrated Mastra backend service.
|
|
33
|
-
This is part of the "Integrated Backend Integration" approach for Next.js projects.
|
|
34
|
-
All commands create the same Mastra project but use different package manager syntax.
|
|
35
|
-
*/}
|
|
36
|
-
|
|
37
|
-
<Tabs items={["npm", "yarn", "pnpm", "bun"]}>
|
|
38
|
-
<Tabs.Tab>
|
|
39
|
-
```bash copy
|
|
40
|
-
npm install mastra@latest @mastra/core@latest @mastra/libsql@latest
|
|
41
|
-
```
|
|
42
|
-
</Tabs.Tab>
|
|
43
|
-
<Tabs.Tab>
|
|
44
|
-
```bash copy
|
|
45
|
-
yarn add mastra@latest @mastra/core@latest @mastra/libsql@latest
|
|
46
|
-
```
|
|
47
|
-
</Tabs.Tab>
|
|
48
|
-
<Tabs.Tab>
|
|
49
|
-
```bash copy
|
|
50
|
-
pnpm add mastra@latest @mastra/core@latest @mastra/libsql@latest
|
|
51
|
-
```
|
|
52
|
-
</Tabs.Tab>
|
|
53
|
-
<Tabs.Tab>
|
|
54
|
-
```bash copy
|
|
55
|
-
bun add mastra@latest @mastra/core@latest @mastra/libsql@latest
|
|
56
|
-
```
|
|
57
|
-
</Tabs.Tab>
|
|
58
|
-
</Tabs>
|
|
59
|
-
|
|
26
|
+
<Steps>
|
|
60
27
|
## Integrate Mastra
|
|
61
28
|
|
|
62
29
|
To integrate Mastra into your project, you have two options:
|
|
@@ -83,44 +50,6 @@ npx mastra@latest init
|
|
|
83
50
|
By default, `mastra init` suggests `src` as the install location. If you're using the App Router at the root of your project (e.g., `app`, not `src/app`), enter `.` when prompted:
|
|
84
51
|
</Callout>
|
|
85
52
|
|
|
86
|
-
Add the `dev` and `build` scripts to `package.json`:
|
|
87
|
-
|
|
88
|
-
<Tabs items={["app", "src/app"]}>
|
|
89
|
-
<Tabs.Tab>
|
|
90
|
-
```json filename="package.json"
|
|
91
|
-
{
|
|
92
|
-
"scripts": {
|
|
93
|
-
...
|
|
94
|
-
"dev:mastra": "mastra dev --dir mastra",
|
|
95
|
-
"build:mastra": "mastra build --dir mastra"
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
```
|
|
99
|
-
</Tabs.Tab>
|
|
100
|
-
<Tabs.Tab>
|
|
101
|
-
```json filename="package.json"
|
|
102
|
-
{
|
|
103
|
-
"scripts": {
|
|
104
|
-
...
|
|
105
|
-
"dev:mastra": "mastra dev --dir src/mastra",
|
|
106
|
-
"build:mastra": "mastra build --dir src/mastra"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
```
|
|
110
|
-
</Tabs.Tab>
|
|
111
|
-
</Tabs>
|
|
112
|
-
|
|
113
|
-
## Configure TypeScript
|
|
114
|
-
|
|
115
|
-
Modify the `tsconfig.json` file in your project root:
|
|
116
|
-
|
|
117
|
-
```json filename="tsconfig.json"
|
|
118
|
-
{
|
|
119
|
-
...
|
|
120
|
-
"exclude": ["dist", ".mastra"]
|
|
121
|
-
}
|
|
122
|
-
```
|
|
123
|
-
|
|
124
53
|
## Set Up API Key
|
|
125
54
|
|
|
126
55
|
```bash filename=".env" copy
|
|
@@ -143,36 +72,9 @@ const nextConfig: NextConfig = {
|
|
|
143
72
|
export default nextConfig;
|
|
144
73
|
```
|
|
145
74
|
|
|
146
|
-
## Update .gitignore
|
|
147
|
-
|
|
148
|
-
Add `.mastra` to your `.gitignore` file:
|
|
149
|
-
|
|
150
|
-
```bash filename=".gitignore" copy
|
|
151
|
-
.mastra
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
## Start the Mastra Dev Server
|
|
155
|
-
|
|
156
|
-
Start the Mastra Dev Server to expose your agents as REST endpoints:
|
|
157
|
-
|
|
158
|
-
<Tabs items={["npm", "CLI"]}>
|
|
159
|
-
<Tabs.Tab>
|
|
160
|
-
```bash copy
|
|
161
|
-
npm run dev:mastra
|
|
162
|
-
```
|
|
163
|
-
</Tabs.Tab>
|
|
164
|
-
<Tabs.Tab>
|
|
165
|
-
```bash copy
|
|
166
|
-
mastra dev:mastra
|
|
167
|
-
```
|
|
168
|
-
</Tabs.Tab>
|
|
169
|
-
</Tabs>
|
|
170
|
-
|
|
171
|
-
> Once running, your agents are available locally. See [Local Development Environment](/docs/server-db/local-dev-playground) for more information.
|
|
172
|
-
|
|
173
75
|
## Start Next.js Dev Server
|
|
174
76
|
|
|
175
|
-
|
|
77
|
+
You can start your Next.js app in the usual way.
|
|
176
78
|
|
|
177
79
|
## Create Test Directory
|
|
178
80
|
|
|
@@ -286,41 +188,7 @@ Let me know if you need more information!
|
|
|
286
188
|
project, e.g., `pages` rather than `src/pages`.
|
|
287
189
|
</Callout>
|
|
288
190
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
## Install Mastra
|
|
292
|
-
|
|
293
|
-
Install the required Mastra packages:
|
|
294
|
-
{/*
|
|
295
|
-
LLM CONTEXT: This Tabs component shows commands for integrating a new Mastra backend project using different package managers.
|
|
296
|
-
Each tab displays the command for that specific package manager to create an integrated Mastra backend service.
|
|
297
|
-
This is part of the "Integrated Backend Integration" approach for Next.js projects.
|
|
298
|
-
All commands create the same Mastra project but use different package manager syntax.
|
|
299
|
-
*/}
|
|
300
|
-
|
|
301
|
-
<Tabs items={["npm", "yarn", "pnpm", "bun"]}>
|
|
302
|
-
<Tabs.Tab>
|
|
303
|
-
```bash copy
|
|
304
|
-
npm install mastra@latest @mastra/core@latest @mastra/libsql@latest
|
|
305
|
-
```
|
|
306
|
-
</Tabs.Tab>
|
|
307
|
-
<Tabs.Tab>
|
|
308
|
-
```bash copy
|
|
309
|
-
yarn add mastra@latest @mastra/core@latest @mastra/libsql@latest
|
|
310
|
-
```
|
|
311
|
-
</Tabs.Tab>
|
|
312
|
-
<Tabs.Tab>
|
|
313
|
-
```bash copy
|
|
314
|
-
pnpm add mastra@latest @mastra/core@latest @mastra/libsql@latest
|
|
315
|
-
```
|
|
316
|
-
</Tabs.Tab>
|
|
317
|
-
<Tabs.Tab>
|
|
318
|
-
```bash copy
|
|
319
|
-
bun add mastra@latest @mastra/core@latest @mastra/libsql@latest
|
|
320
|
-
```
|
|
321
|
-
</Tabs.Tab>
|
|
322
|
-
</Tabs>
|
|
323
|
-
|
|
191
|
+
<Steps>
|
|
324
192
|
## Integrate Mastra
|
|
325
193
|
|
|
326
194
|
To integrate Mastra into your project, you have two options:
|
|
@@ -347,44 +215,6 @@ npx mastra@latest init
|
|
|
347
215
|
By default, `mastra init` suggests `src` as the install location. If you're using the Pages Router at the root of your project (e.g., `pages`, not `src/pages`), enter `.` when prompted:
|
|
348
216
|
</Callout>
|
|
349
217
|
|
|
350
|
-
Add the `dev` and `build` scripts to `package.json`:
|
|
351
|
-
|
|
352
|
-
<Tabs items={["pages", "src/pages"]}>
|
|
353
|
-
<Tabs.Tab>
|
|
354
|
-
```json filename="package.json"
|
|
355
|
-
{
|
|
356
|
-
"scripts": {
|
|
357
|
-
...
|
|
358
|
-
"dev:mastra": "mastra dev --dir mastra",
|
|
359
|
-
"build:mastra": "mastra build --dir mastra"
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
```
|
|
363
|
-
</Tabs.Tab>
|
|
364
|
-
<Tabs.Tab>
|
|
365
|
-
```json filename="package.json"
|
|
366
|
-
{
|
|
367
|
-
"scripts": {
|
|
368
|
-
...
|
|
369
|
-
"dev:mastra": "mastra dev --dir src/mastra",
|
|
370
|
-
"build:mastra": "mastra build --dir src/mastra"
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
```
|
|
374
|
-
</Tabs.Tab>
|
|
375
|
-
</Tabs>
|
|
376
|
-
|
|
377
|
-
## Configure TypeScript
|
|
378
|
-
|
|
379
|
-
Modify the `tsconfig.json` file in your project root:
|
|
380
|
-
|
|
381
|
-
```json filename="tsconfig.json"
|
|
382
|
-
{
|
|
383
|
-
...
|
|
384
|
-
"exclude": ["dist", ".mastra"]
|
|
385
|
-
}
|
|
386
|
-
```
|
|
387
|
-
|
|
388
218
|
## Set Up API Key
|
|
389
219
|
|
|
390
220
|
```bash filename=".env" copy
|
|
@@ -407,36 +237,9 @@ const nextConfig: NextConfig = {
|
|
|
407
237
|
export default nextConfig;
|
|
408
238
|
```
|
|
409
239
|
|
|
410
|
-
## Update .gitignore
|
|
411
|
-
|
|
412
|
-
Add `.mastra` to your `.gitignore` file:
|
|
413
|
-
|
|
414
|
-
```bash filename=".gitignore" copy
|
|
415
|
-
.mastra
|
|
416
|
-
```
|
|
417
|
-
|
|
418
|
-
## Start the Mastra Dev Server
|
|
419
|
-
|
|
420
|
-
Start the Mastra Dev Server to expose your agents as REST endpoints:
|
|
421
|
-
|
|
422
|
-
<Tabs items={["npm", "CLI"]}>
|
|
423
|
-
<Tabs.Tab>
|
|
424
|
-
```bash copy
|
|
425
|
-
npm run dev:mastra
|
|
426
|
-
```
|
|
427
|
-
</Tabs.Tab>
|
|
428
|
-
<Tabs.Tab>
|
|
429
|
-
```bash copy
|
|
430
|
-
mastra dev:mastra
|
|
431
|
-
```
|
|
432
|
-
</Tabs.Tab>
|
|
433
|
-
</Tabs>
|
|
434
|
-
|
|
435
|
-
> Once running, your agents are available locally. See [Local Development Environment](/docs/local-dev/mastra-dev) for more information.
|
|
436
|
-
|
|
437
240
|
## Start Next.js Dev Server
|
|
438
241
|
|
|
439
|
-
|
|
242
|
+
You can start your Next.js app in the usual way.
|
|
440
243
|
|
|
441
244
|
## Create Test API Route
|
|
442
245
|
|
|
@@ -98,6 +98,13 @@ const graphTool = createGraphRAGTool({
|
|
|
98
98
|
isOptional: true,
|
|
99
99
|
defaultValue: "Default graph options",
|
|
100
100
|
},
|
|
101
|
+
{
|
|
102
|
+
name: "providerOptions",
|
|
103
|
+
type: "Record<string, Record<string, any>>",
|
|
104
|
+
description:
|
|
105
|
+
"Provider-specific options for the embedding model (e.g., outputDimensionality). **Important**: Only works with AI SDK EmbeddingModelV2 models. For V1 models, configure options when creating the model itself.",
|
|
106
|
+
isOptional: true,
|
|
107
|
+
},
|
|
101
108
|
]}
|
|
102
109
|
/>
|
|
103
110
|
|
|
@@ -108,6 +108,13 @@ const queryTool = createVectorQueryTool({
|
|
|
108
108
|
"Database-specific configuration options for optimizing queries. (Can be set at creation or overridden at runtime.)",
|
|
109
109
|
isOptional: true,
|
|
110
110
|
},
|
|
111
|
+
{
|
|
112
|
+
name: "providerOptions",
|
|
113
|
+
type: "Record<string, Record<string, any>>",
|
|
114
|
+
description:
|
|
115
|
+
"Provider-specific options for the embedding model (e.g., outputDimensionality). **Important**: Only works with AI SDK EmbeddingModelV2 models. For V1 models, configure options when creating the model itself.",
|
|
116
|
+
isOptional: true,
|
|
117
|
+
},
|
|
111
118
|
]}
|
|
112
119
|
/>
|
|
113
120
|
|
|
@@ -116,7 +116,7 @@ Key features:
|
|
|
116
116
|
|
|
117
117
|
## REST API Endpoints
|
|
118
118
|
|
|
119
|
-
The local development server exposes a set of REST API routes via the [Mastra Server](/docs/deployment/server), allowing you to test and interact with your agents and workflows before deployment.
|
|
119
|
+
The local development server exposes a set of REST API routes via the [Mastra Server](/docs/deployment/server-deployment), allowing you to test and interact with your agents and workflows before deployment.
|
|
120
120
|
|
|
121
121
|
For a full overview of available API routes, including agents, tools, and workflows, see the [Routes reference](/reference/cli/dev#routes).
|
|
122
122
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "0.13.17-alpha.
|
|
3
|
+
"version": "0.13.17-alpha.2",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"uuid": "^11.1.0",
|
|
33
33
|
"zod": "^3.25.67",
|
|
34
34
|
"zod-to-json-schema": "^3.24.5",
|
|
35
|
-
"@mastra/
|
|
36
|
-
"@mastra/
|
|
35
|
+
"@mastra/mcp": "^0.11.3-alpha.0",
|
|
36
|
+
"@mastra/core": "0.15.3-alpha.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@hono/node-server": "^1.17.1",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"tsx": "^4.19.4",
|
|
49
49
|
"typescript": "^5.8.3",
|
|
50
50
|
"vitest": "^3.2.4",
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
51
|
+
"@internal/lint": "0.0.34",
|
|
52
|
+
"@mastra/core": "0.15.3-alpha.2"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"prepare-docs": "cross-env PREPARE=true node dist/prepare-docs/prepare.js",
|