@mastra/mcp-docs-server 0.13.22-alpha.5 → 0.13.22-alpha.7
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%2Fagent-builder.md +10 -0
- package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +23 -23
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +36 -36
- package/.docs/organized/changelogs/%40mastra%2Fcouchbase.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +18 -18
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +30 -30
- package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Flance.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Floggers.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +18 -18
- package/.docs/organized/changelogs/%40mastra%2Fmcp-registry-registry.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fmcp.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fmemory.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fopensearch.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fpg.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +35 -35
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fvoice-google-gemini-live.md +9 -0
- package/.docs/organized/changelogs/%40mastra%2Fvoice-google.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fvoice-openai-realtime.md +10 -10
- package/.docs/organized/changelogs/create-mastra.md +9 -9
- package/.docs/organized/changelogs/mastra.md +28 -28
- package/.docs/organized/code-examples/agui.md +1 -1
- package/.docs/organized/code-examples/ai-sdk-useChat.md +2 -2
- package/.docs/organized/code-examples/ai-sdk-v5.md +2 -2
- package/.docs/organized/code-examples/assistant-ui.md +2 -2
- package/.docs/organized/code-examples/bird-checker-with-nextjs-and-eval.md +2 -2
- package/.docs/organized/code-examples/bird-checker-with-nextjs.md +2 -2
- package/.docs/organized/code-examples/client-side-tools.md +1 -1
- package/.docs/organized/code-examples/crypto-chatbot.md +4 -4
- package/.docs/organized/code-examples/openapi-spec-writer.md +2 -2
- package/.docs/raw/agents/input-processors.mdx +16 -14
- package/.docs/raw/agents/runtime-context.mdx +47 -12
- package/.docs/raw/frameworks/agentic-uis/cedar-os.mdx +7 -7
- package/CHANGELOG.md +17 -0
- package/package.json +8 -8
- package/.docs/raw/reference/networks/agent-network.mdx +0 -165
- /package/.docs/raw/reference/streaming/{MastraModelOutput.mdx → agents/MastraModelOutput.mdx} +0 -0
- /package/.docs/raw/reference/streaming/{stream.mdx → agents/stream.mdx} +0 -0
- /package/.docs/raw/reference/streaming/{streamVNext.mdx → agents/streamVNext.mdx} +0 -0
- /package/.docs/raw/reference/{workflows/run-methods → streaming/workflows}/stream.mdx +0 -0
- /package/.docs/raw/reference/{workflows/run-methods → streaming/workflows}/streamVNext.mdx +0 -0
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/memory
|
|
2
2
|
|
|
3
|
+
## 0.15.2-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e)]:
|
|
10
|
+
- @mastra/core@0.17.0-alpha.6
|
|
11
|
+
|
|
3
12
|
## 0.15.2-alpha.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -289,14 +298,5 @@
|
|
|
289
298
|
### Patch Changes
|
|
290
299
|
|
|
291
300
|
- [#6919](https://github.com/mastra-ai/mastra/pull/6919) [`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
|
|
292
|
-
- Updated dependency [`ai@^4.3.19` ↗︎](https://www.npmjs.com/package/ai/v/4.3.19) (from `^4.3.16`, in `dependencies`)
|
|
293
|
-
- Updated dependency [`ai-v5@npm:ai@5.0.15` ↗︎](https://www.npmjs.com/package/ai-v5/v/5.0.15) (from `npm:ai@5.0.0`, in `dependencies`)
|
|
294
|
-
|
|
295
|
-
- [#6921](https://github.com/mastra-ai/mastra/pull/6921) [`c4f2605`](https://github.com/mastra-ai/mastra/commit/c4f2605fa00e796a26c6f5fc3cf8f5552f77d617) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
|
|
296
|
-
- Updated dependency [`redis@^5.8.2` ↗︎](https://www.npmjs.com/package/redis/v/5.8.2) (from `^5.8.1`, in `dependencies`)
|
|
297
|
-
- Updated dependencies [[`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27), [`0f00e17`](https://github.com/mastra-ai/mastra/commit/0f00e172953ccdccadb35ed3d70f5e4d89115869), [`217cd7a`](https://github.com/mastra-ai/mastra/commit/217cd7a4ce171e9a575c41bb8c83300f4db03236), [`a5a23d9`](https://github.com/mastra-ai/mastra/commit/a5a23d981920d458dc6078919992a5338931ef02)]:
|
|
298
|
-
- @mastra/core@0.14.1
|
|
299
|
-
|
|
300
|
-
## 0.13.1-alpha.0
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 3011 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/opensearch
|
|
2
2
|
|
|
3
|
+
## 0.11.10-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e)]:
|
|
10
|
+
- @mastra/core@0.17.0-alpha.6
|
|
11
|
+
|
|
3
12
|
## 0.11.10-alpha.0
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -290,13 +299,4 @@
|
|
|
290
299
|
|
|
291
300
|
## 0.10.4-alpha.1
|
|
292
301
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
- 144eb0b: [MASTRA-3669] Metadata Filter Types
|
|
296
|
-
- Updated dependencies [15e9d26]
|
|
297
|
-
- Updated dependencies [07d6d88]
|
|
298
|
-
- Updated dependencies [5d74aab]
|
|
299
|
-
- Updated dependencies [144eb0b]
|
|
300
|
-
- @mastra/core@0.10.7-alpha.2
|
|
301
|
-
|
|
302
|
-
... 265 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 274 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/pg
|
|
2
2
|
|
|
3
|
+
## 0.15.3-alpha.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e)]:
|
|
10
|
+
- @mastra/core@0.17.0-alpha.6
|
|
11
|
+
|
|
3
12
|
## 0.15.3-alpha.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -290,13 +299,4 @@
|
|
|
290
299
|
|
|
291
300
|
## 0.14.0
|
|
292
301
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
- 79d34ce: improve cloudflare workers compatibility
|
|
296
|
-
|
|
297
|
-
### Patch Changes
|
|
298
|
-
|
|
299
|
-
- b32c50d: Filter scores by source
|
|
300
|
-
- Updated dependencies [d5330bf]
|
|
301
|
-
|
|
302
|
-
... 2330 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 2339 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 6.2.0-alpha.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed createRun change in agent builder that was missed ([#7966](https://github.com/mastra-ai/mastra/pull/7966))
|
|
8
|
+
|
|
9
|
+
- fix error message when fetching observability things ([#7956](https://github.com/mastra-ai/mastra/pull/7956))
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689)]:
|
|
12
|
+
- @mastra/core@0.17.0-alpha.7
|
|
13
|
+
- @mastra/client-js@0.13.0-alpha.7
|
|
14
|
+
|
|
15
|
+
## 6.2.0-alpha.3
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- Remove original AgentNetwork ([#7919](https://github.com/mastra-ai/mastra/pull/7919))
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- dependencies updates: ([#7908](https://github.com/mastra-ai/mastra/pull/7908))
|
|
24
|
+
- Updated dependency [`use-debounce@^10.0.6` ↗︎](https://www.npmjs.com/package/use-debounce/v/10.0.6) (from `^10.0.5`, in `dependencies`)
|
|
25
|
+
|
|
26
|
+
- dependencies updates: ([#7912](https://github.com/mastra-ai/mastra/pull/7912))
|
|
27
|
+
- Updated dependency [`zustand@^5.0.8` ↗︎](https://www.npmjs.com/package/zustand/v/5.0.8) (from `^5.0.7`, in `dependencies`)
|
|
28
|
+
|
|
29
|
+
- fix scorers table link full row ([#7915](https://github.com/mastra-ai/mastra/pull/7915))
|
|
30
|
+
|
|
31
|
+
- adjust the way we display scorers in agent metadata ([#7910](https://github.com/mastra-ai/mastra/pull/7910))
|
|
32
|
+
|
|
33
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e)]:
|
|
34
|
+
- @mastra/core@0.17.0-alpha.6
|
|
35
|
+
- @mastra/client-js@0.13.0-alpha.6
|
|
36
|
+
|
|
3
37
|
## 6.1.4-alpha.2
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
|
@@ -264,39 +298,5 @@
|
|
|
264
298
|
- Updated dependencies [4106a58]
|
|
265
299
|
- Updated dependencies [ad78bfc]
|
|
266
300
|
- Updated dependencies [48f0742]
|
|
267
|
-
- Updated dependencies [0302f50]
|
|
268
|
-
- Updated dependencies [6ac697e]
|
|
269
|
-
- Updated dependencies [74db265]
|
|
270
|
-
- Updated dependencies [0ce418a]
|
|
271
|
-
- Updated dependencies [af90672]
|
|
272
|
-
- Updated dependencies [8387952]
|
|
273
|
-
- Updated dependencies [7f3b8da]
|
|
274
|
-
- Updated dependencies [905352b]
|
|
275
|
-
- Updated dependencies [599d04c]
|
|
276
|
-
- Updated dependencies [56041d0]
|
|
277
|
-
- Updated dependencies [3412597]
|
|
278
|
-
- Updated dependencies [5eca5d2]
|
|
279
|
-
- Updated dependencies [f2cda47]
|
|
280
|
-
- Updated dependencies [5de1555]
|
|
281
|
-
- Updated dependencies [cfd377a]
|
|
282
|
-
- Updated dependencies [1ed5a3e]
|
|
283
|
-
- @mastra/client-js@0.11.3
|
|
284
|
-
- @mastra/core@0.15.3
|
|
285
|
-
|
|
286
|
-
## 6.0.0-alpha.5
|
|
287
|
-
|
|
288
|
-
### Patch Changes
|
|
289
|
-
|
|
290
|
-
- [#7394](https://github.com/mastra-ai/mastra/pull/7394) [`f0dfcac`](https://github.com/mastra-ai/mastra/commit/f0dfcac4458bdf789b975e2d63e984f5d1e7c4d3) Thanks [@NikAiyer](https://github.com/NikAiyer)! - updated core peerdep
|
|
291
|
-
|
|
292
|
-
- Updated dependencies [[`7149d8d`](https://github.com/mastra-ai/mastra/commit/7149d8d4bdc1edf0008e0ca9b7925eb0b8b60dbe)]:
|
|
293
|
-
- @mastra/core@0.15.3-alpha.7
|
|
294
|
-
- @mastra/client-js@0.11.3-alpha.7
|
|
295
|
-
|
|
296
|
-
## 6.0.0-alpha.4
|
|
297
|
-
|
|
298
|
-
### Patch Changes
|
|
299
|
-
|
|
300
|
-
- [#7351](https://github.com/mastra-ai/mastra/pull/7351) [`572acd0`](https://github.com/mastra-ai/mastra/commit/572acd0919479455ee654753877f2c1564d0b29e) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 3027 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @mastra/server
|
|
2
2
|
|
|
3
|
+
## 0.17.0-alpha.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689)]:
|
|
8
|
+
- @mastra/core@0.17.0-alpha.7
|
|
9
|
+
|
|
10
|
+
## 0.17.0-alpha.6
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- Remove original AgentNetwork ([#7919](https://github.com/mastra-ai/mastra/pull/7919))
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Resumable streams ([#7949](https://github.com/mastra-ai/mastra/pull/7949))
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e)]:
|
|
21
|
+
- @mastra/core@0.17.0-alpha.6
|
|
22
|
+
|
|
3
23
|
## 0.17.0-alpha.5
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -279,24 +299,4 @@
|
|
|
279
299
|
|
|
280
300
|
- [#7388](https://github.com/mastra-ai/mastra/pull/7388) [`03d0c39`](https://github.com/mastra-ai/mastra/commit/03d0c3963a748294577dd232a53ee01e1e5bcc12) Thanks [@NikAiyer](https://github.com/NikAiyer)! - temp disable agent-builder workflows import
|
|
281
301
|
|
|
282
|
-
|
|
283
|
-
- @mastra/core@0.15.3-alpha.6
|
|
284
|
-
|
|
285
|
-
## 0.15.3-alpha.5
|
|
286
|
-
|
|
287
|
-
### Patch Changes
|
|
288
|
-
|
|
289
|
-
- [#7343](https://github.com/mastra-ai/mastra/pull/7343) [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e) Thanks [@LekoArts](https://github.com/LekoArts)! - Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
|
|
290
|
-
|
|
291
|
-
- Updated dependencies [[`85ef90b`](https://github.com/mastra-ai/mastra/commit/85ef90bb2cd4ae4df855c7ac175f7d392c55c1bf), [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e)]:
|
|
292
|
-
- @mastra/core@0.15.3-alpha.5
|
|
293
|
-
|
|
294
|
-
## 0.15.3-alpha.4
|
|
295
|
-
|
|
296
|
-
### Patch Changes
|
|
297
|
-
|
|
298
|
-
- [#7269](https://github.com/mastra-ai/mastra/pull/7269) [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa) Thanks [@wardpeet](https://github.com/wardpeet)! - Add deprecation warnings and add legacy routes
|
|
299
|
-
|
|
300
|
-
- [#7136](https://github.com/mastra-ai/mastra/pull/7136) [`48f0742`](https://github.com/mastra-ai/mastra/commit/48f0742662414610dc9a7a99d45902d059ee123d) Thanks [@NikAiyer](https://github.com/NikAiyer)! - add deployer, server and clientjs handlers for agent builder template
|
|
301
|
-
|
|
302
|
-
... 3350 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 3370 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/voice-google-gemini-live
|
|
2
2
|
|
|
3
|
+
## 0.10.11-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e)]:
|
|
10
|
+
- @mastra/core@0.17.0-alpha.6
|
|
11
|
+
|
|
3
12
|
## 0.10.11-alpha.0
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/voice-google
|
|
2
2
|
|
|
3
|
+
## 0.11.5-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e)]:
|
|
10
|
+
- @mastra/core@0.17.0-alpha.6
|
|
11
|
+
|
|
3
12
|
## 0.11.5-alpha.0
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -289,14 +298,5 @@
|
|
|
289
298
|
|
|
290
299
|
### Patch Changes
|
|
291
300
|
|
|
292
|
-
- f42c4c2: update peer deps for packages to latest core range
|
|
293
|
-
- @mastra/core@0.12.0-alpha.5
|
|
294
|
-
|
|
295
|
-
## 0.10.5
|
|
296
|
-
|
|
297
|
-
### Patch Changes
|
|
298
|
-
|
|
299
|
-
- ce088f5: Update all peerdeps to latest core
|
|
300
|
-
- @mastra/core@0.11.1
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1303 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/voice-openai-realtime
|
|
2
2
|
|
|
3
|
+
## 0.11.5-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e)]:
|
|
10
|
+
- @mastra/core@0.17.0-alpha.6
|
|
11
|
+
|
|
3
12
|
## 0.11.5-alpha.0
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -289,14 +298,5 @@
|
|
|
289
298
|
- 047ffee: dependencies updates:
|
|
290
299
|
- Updated dependency [`ws@^8.18.3` ↗︎](https://www.npmjs.com/package/ws/v/8.18.3) (from `^8.18.2`, in `dependencies`)
|
|
291
300
|
- 3fd871d: dependencies updates:
|
|
292
|
-
- Updated dependency [`openai-realtime-api@^1.0.8` ↗︎](https://www.npmjs.com/package/openai-realtime-api/v/1.0.8) (from `^1.0.7`, in `dependencies`)
|
|
293
|
-
- Updated dependencies [510e2c8]
|
|
294
|
-
- Updated dependencies [2f72fb2]
|
|
295
|
-
- Updated dependencies [3f89307]
|
|
296
|
-
- Updated dependencies [9eda7d4]
|
|
297
|
-
- Updated dependencies [9d49408]
|
|
298
|
-
- Updated dependencies [2ecf658]
|
|
299
|
-
- Updated dependencies [7a7754f]
|
|
300
|
-
- Updated dependencies [fc92d80]
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1016 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# create-mastra
|
|
2
2
|
|
|
3
|
+
## 0.13.0-alpha.5
|
|
4
|
+
|
|
5
|
+
## 0.13.0-alpha.4
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
|
|
10
|
+
|
|
3
11
|
## 0.13.0-alpha.3
|
|
4
12
|
|
|
5
13
|
## 0.13.0-alpha.2
|
|
@@ -290,13 +298,5 @@
|
|
|
290
298
|
- d8dec5e: add a cta to invite to deploy to cloud
|
|
291
299
|
- 89d2f4e: add TTS to the playground
|
|
292
300
|
|
|
293
|
-
## 0.10.13
|
|
294
|
-
|
|
295
|
-
### Patch Changes
|
|
296
|
-
|
|
297
|
-
- dd2a4c9: change the way we start the dev process of playground
|
|
298
|
-
- af1f902: share thread list between agent, network and cloud
|
|
299
|
-
- 8f89bcd: fix traces pagination + sharing trace view with cloud
|
|
300
|
-
- 0bf0bc8: fix link in shared components + add e2e tests
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1414 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# mastra
|
|
2
2
|
|
|
3
|
+
## 0.13.0-alpha.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix error message when fetching observability things ([#7956](https://github.com/mastra-ai/mastra/pull/7956))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689)]:
|
|
10
|
+
- @mastra/core@0.17.0-alpha.7
|
|
11
|
+
- @mastra/deployer@0.17.0-alpha.7
|
|
12
|
+
|
|
13
|
+
## 0.13.0-alpha.4
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
|
|
18
|
+
|
|
19
|
+
- fix scorers table link full row ([#7915](https://github.com/mastra-ai/mastra/pull/7915))
|
|
20
|
+
|
|
21
|
+
- adjust the way we display scorers in agent metadata ([#7910](https://github.com/mastra-ai/mastra/pull/7910))
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`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), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e)]:
|
|
24
|
+
- @mastra/core@0.17.0-alpha.6
|
|
25
|
+
- @mastra/deployer@0.17.0-alpha.6
|
|
26
|
+
- @mastra/loggers@0.10.12-alpha.1
|
|
27
|
+
- @mastra/mcp@0.13.0-alpha.2
|
|
28
|
+
|
|
3
29
|
## 0.13.0-alpha.3
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -272,31 +298,5 @@
|
|
|
272
298
|
- 6f715fe: Fix plyground baseUrl, default api baseUrl to playground baseUrl
|
|
273
299
|
- 01264f1: Mastra dev- load env vars before watch
|
|
274
300
|
- 3308c9f: fix dev:playground command
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
- Updated dependencies [ab48c97]
|
|
278
|
-
- Updated dependencies [3e0bd2a]
|
|
279
|
-
- Updated dependencies [2b64943]
|
|
280
|
-
- Updated dependencies [85ef90b]
|
|
281
|
-
- Updated dependencies [aedbbfa]
|
|
282
|
-
- Updated dependencies [ff89505]
|
|
283
|
-
- Updated dependencies [637f323]
|
|
284
|
-
- Updated dependencies [de3cbc6]
|
|
285
|
-
- Updated dependencies [c19bcf7]
|
|
286
|
-
- Updated dependencies [4474d04]
|
|
287
|
-
- Updated dependencies [183dc95]
|
|
288
|
-
- Updated dependencies [a1111e2]
|
|
289
|
-
- Updated dependencies [b42a961]
|
|
290
|
-
- Updated dependencies [71b657b]
|
|
291
|
-
- Updated dependencies [61debef]
|
|
292
|
-
- Updated dependencies [9beaeff]
|
|
293
|
-
- Updated dependencies [29de0e1]
|
|
294
|
-
- Updated dependencies [f643c65]
|
|
295
|
-
- Updated dependencies [00c74e7]
|
|
296
|
-
- Updated dependencies [f0dfcac]
|
|
297
|
-
- Updated dependencies [fef7375]
|
|
298
|
-
- Updated dependencies [6d98856]
|
|
299
|
-
- Updated dependencies [e3d8fea]
|
|
300
|
-
- Updated dependencies [45e4d39]
|
|
301
|
-
|
|
302
|
-
... 5553 more lines hidden. See full changelog in package directory.
|
|
301
|
+
|
|
302
|
+
... 5579 more lines hidden. See full changelog in package directory.
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
|
25
25
|
"@typescript-eslint/parser": "^8.38.0",
|
|
26
26
|
"@vitejs/plugin-react": "^4.4.1",
|
|
27
|
-
"eslint": "^9.
|
|
27
|
+
"eslint": "^9.35.0",
|
|
28
28
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
29
29
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
30
30
|
"globals": "^16.0.0",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"@types/node": "^20.17.57",
|
|
17
17
|
"@types/react": "^19.1.9",
|
|
18
18
|
"@types/react-dom": "^19.1.7",
|
|
19
|
-
"eslint": "^9.
|
|
20
|
-
"eslint-config-next": "15.3
|
|
19
|
+
"eslint": "^9.35.0",
|
|
20
|
+
"eslint-config-next": "15.5.3",
|
|
21
21
|
"postcss": "^8.5.3",
|
|
22
22
|
"tailwindcss": "^3.4.17",
|
|
23
23
|
"typescript": "^5.8.3"
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"@types/node": "^20",
|
|
24
24
|
"@types/react": "^19.1.9",
|
|
25
25
|
"@types/react-dom": "^19.1.7",
|
|
26
|
-
"eslint": "^9",
|
|
27
|
-
"eslint-config-next": "15.
|
|
26
|
+
"eslint": "^9.35.0",
|
|
27
|
+
"eslint-config-next": "15.5.3",
|
|
28
28
|
"mastra": "latest",
|
|
29
29
|
"postcss": "^8",
|
|
30
30
|
"tailwindcss": "^3.4.1",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"@types/node": "^20.17.57",
|
|
19
19
|
"@types/react": "^19.1.9",
|
|
20
20
|
"@types/react-dom": "^19.1.7",
|
|
21
|
-
"eslint": "^9.
|
|
22
|
-
"eslint-config-next": "15.3
|
|
21
|
+
"eslint": "^9.35.0",
|
|
22
|
+
"eslint-config-next": "15.5.3",
|
|
23
23
|
"postcss": "^8.5.3",
|
|
24
24
|
"tailwindcss": "^3.4.17",
|
|
25
25
|
"typescript": "^5.8.3"
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"@types/node": "^20.17.57",
|
|
24
24
|
"@types/react": "^19.1.12",
|
|
25
25
|
"@types/react-dom": "^19.1.9",
|
|
26
|
-
"eslint": "^9.
|
|
27
|
-
"eslint-config-next": "15.3
|
|
26
|
+
"eslint": "^9.35.0",
|
|
27
|
+
"eslint-config-next": "15.5.3",
|
|
28
28
|
"postcss": "^8.5.3",
|
|
29
29
|
"tailwindcss": "^3.4.17",
|
|
30
30
|
"typescript": "^5.8.3"
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"@types/node": "^20.17.57",
|
|
24
24
|
"@types/react": "^19.1.9",
|
|
25
25
|
"@types/react-dom": "^19.1.7",
|
|
26
|
-
"eslint": "^9.
|
|
27
|
-
"eslint-config-next": "15.3
|
|
26
|
+
"eslint": "^9.35.0",
|
|
27
|
+
"eslint-config-next": "15.5.3",
|
|
28
28
|
"postcss": "^8.5.3",
|
|
29
29
|
"tailwindcss": "^3.4.17",
|
|
30
30
|
"typescript": "^5.8.3"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@types/react": "^19.1.9",
|
|
16
16
|
"@types/react-dom": "^19.1.7",
|
|
17
17
|
"@vitejs/plugin-react": "^4.3.4",
|
|
18
|
-
"eslint": "^9.
|
|
18
|
+
"eslint": "^9.35.0",
|
|
19
19
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
20
20
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
21
21
|
"globals": "^15.15.0",
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
"@types/react": "^19.1.9",
|
|
72
72
|
"@types/react-dom": "^19.1.7",
|
|
73
73
|
"drizzle-kit": "^0.31.0",
|
|
74
|
-
"eslint": "^9.
|
|
75
|
-
"eslint-config-next": "15.3
|
|
76
|
-
"eslint-config-prettier": "^10.1.
|
|
74
|
+
"eslint": "^9.35.0",
|
|
75
|
+
"eslint-config-next": "15.5.3",
|
|
76
|
+
"eslint-config-prettier": "^10.1.8",
|
|
77
77
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
78
78
|
"eslint-plugin-import": "^2.32.0",
|
|
79
|
-
"eslint-plugin-tailwindcss": "^3.18.
|
|
79
|
+
"eslint-plugin-tailwindcss": "^3.18.2",
|
|
80
80
|
"postcss": "^8.5.3",
|
|
81
81
|
"prettier": "^3.6.2",
|
|
82
82
|
"tailwindcss": "^3.4.17",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@types/react": "^19.1.9",
|
|
34
34
|
"@types/react-dom": "^19.1.7",
|
|
35
35
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
36
|
-
"eslint": "^9.
|
|
37
|
-
"eslint-config-next": "15.3
|
|
36
|
+
"eslint": "^9.35.0",
|
|
37
|
+
"eslint-config-next": "15.5.3",
|
|
38
38
|
"postcss": "^8.5.3",
|
|
39
39
|
"tailwindcss": "^3.4.17",
|
|
40
40
|
"typescript": "^5.8.3"
|
|
@@ -37,7 +37,7 @@ const agent = new Agent({
|
|
|
37
37
|
|
|
38
38
|
Available options:
|
|
39
39
|
- `stripControlChars`: Remove control characters (default: false)
|
|
40
|
-
- `preserveEmojis`: Keep emojis intact (default: true)
|
|
40
|
+
- `preserveEmojis`: Keep emojis intact (default: true)
|
|
41
41
|
- `collapseWhitespace`: Collapse multiple spaces/newlines (default: true)
|
|
42
42
|
- `trim`: Remove leading/trailing whitespace (default: true)
|
|
43
43
|
|
|
@@ -184,11 +184,11 @@ You can chain multiple processors. They execute sequentially in the order they a
|
|
|
184
184
|
|
|
185
185
|
```typescript copy showLineNumbers {9-18}
|
|
186
186
|
import { Agent } from "@mastra/core/agent";
|
|
187
|
-
import {
|
|
188
|
-
UnicodeNormalizer,
|
|
189
|
-
ModerationProcessor,
|
|
187
|
+
import {
|
|
188
|
+
UnicodeNormalizer,
|
|
189
|
+
ModerationProcessor,
|
|
190
190
|
PromptInjectionDetector,
|
|
191
|
-
PIIDetector
|
|
191
|
+
PIIDetector
|
|
192
192
|
} from "@mastra/core/processors";
|
|
193
193
|
|
|
194
194
|
const secureAgent = new Agent({
|
|
@@ -209,17 +209,19 @@ const secureAgent = new Agent({
|
|
|
209
209
|
|
|
210
210
|
You can create custom processors by implementing the `Processor` interface. A Processor can be used for input processing when it implements the `processInput` method.
|
|
211
211
|
|
|
212
|
-
```typescript copy showLineNumbers {
|
|
213
|
-
import type { Processor
|
|
212
|
+
```typescript copy showLineNumbers {5,10-33,39}
|
|
213
|
+
import type { Processor } from "@mastra/core/processors";
|
|
214
|
+
import type { MastraMessageV2 } from "@mastra/core/agent/message-list";
|
|
215
|
+
import { TripWire } from "@mastra/core/agent";
|
|
214
216
|
|
|
215
217
|
class MessageLengthLimiter implements Processor {
|
|
216
218
|
readonly name = 'message-length-limiter';
|
|
217
|
-
|
|
219
|
+
|
|
218
220
|
constructor(private maxLength: number = 1000) {}
|
|
219
221
|
|
|
220
|
-
processInput({ messages, abort }: {
|
|
221
|
-
messages: MastraMessageV2[];
|
|
222
|
-
abort: (reason?: string) => never
|
|
222
|
+
processInput({ messages, abort }: {
|
|
223
|
+
messages: MastraMessageV2[];
|
|
224
|
+
abort: (reason?: string) => never
|
|
223
225
|
}): MastraMessageV2[] {
|
|
224
226
|
// Check total message length
|
|
225
227
|
try {
|
|
@@ -228,7 +230,7 @@ class MessageLengthLimiter implements Processor {
|
|
|
228
230
|
.filter(part => part.type === 'text')
|
|
229
231
|
.reduce((partSum, part) => partSum + (part as any).text.length, 0);
|
|
230
232
|
}, 0);
|
|
231
|
-
|
|
233
|
+
|
|
232
234
|
if (totalLength > this.maxLength) {
|
|
233
235
|
abort(`Message too long: ${totalLength} characters (max: ${this.maxLength})`); // throws a TripWire error
|
|
234
236
|
}
|
|
@@ -238,7 +240,7 @@ class MessageLengthLimiter implements Processor {
|
|
|
238
240
|
}
|
|
239
241
|
throw new Error(`Length validation failed: ${error instanceof Error ? error.message : 'Unknown error'}`); // application level throw a standard error
|
|
240
242
|
}
|
|
241
|
-
|
|
243
|
+
|
|
242
244
|
return messages;
|
|
243
245
|
}
|
|
244
246
|
}
|
|
@@ -279,4 +281,4 @@ If any processor calls `abort()`, the request terminates immediately and subsequ
|
|
|
279
281
|
|
|
280
282
|
While input processors handle user messages before they reach the language model, **output processors** handle the LLM's responses after generation but before they're returned to the user. This is useful for response validation, content filtering, and safety controls on LLM-generated content.
|
|
281
283
|
|
|
282
|
-
See the [Output Processors documentation](/docs/agents/output-processors) for details on processing LLM responses.
|
|
284
|
+
See the [Output Processors documentation](/docs/agents/output-processors) for details on processing LLM responses.
|