@mastra/mcp-docs-server 0.13.7-alpha.0 → 0.13.7-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 +39 -39
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +18 -18
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +18 -18
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +45 -45
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +44 -44
- package/.docs/organized/changelogs/%40mastra%2Fevals.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Flibsql.md +29 -29
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +25 -25
- package/.docs/organized/changelogs/%40mastra%2Fmemory.md +39 -39
- package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +20 -20
- package/.docs/organized/changelogs/%40mastra%2Fmssql.md +17 -0
- package/.docs/organized/changelogs/%40mastra%2Fpg.md +29 -29
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +38 -38
- package/.docs/organized/changelogs/%40mastra%2Fupstash.md +29 -29
- package/.docs/organized/changelogs/%40mastra%2Fvectorize.md +18 -18
- package/.docs/organized/changelogs/%40mastra%2Fvoice-cloudflare.md +18 -18
- package/.docs/organized/changelogs/create-mastra.md +7 -7
- package/.docs/organized/changelogs/mastra.md +32 -32
- package/.docs/organized/code-examples/agent.md +93 -3
- package/.docs/organized/code-examples/ai-sdk-v5.md +4 -4
- package/.docs/raw/agents/input-processors.mdx +268 -0
- package/.docs/raw/agents/using-tools-and-mcp.mdx +39 -0
- package/.docs/raw/community/contributing-templates.mdx +192 -0
- package/.docs/raw/getting-started/installation.mdx +16 -0
- package/.docs/raw/getting-started/templates.mdx +95 -0
- package/.docs/raw/observability/tracing.mdx +44 -0
- package/.docs/raw/reference/agents/agent.mdx +7 -0
- package/.docs/raw/reference/agents/generate.mdx +18 -1
- package/.docs/raw/reference/agents/stream.mdx +18 -1
- package/.docs/raw/reference/cli/dev.mdx +6 -0
- package/.docs/raw/reference/client-js/memory.mdx +18 -0
- package/.docs/raw/reference/core/mastra-class.mdx +1 -1
- package/.docs/raw/reference/memory/Memory.mdx +1 -0
- package/.docs/raw/reference/memory/deleteMessages.mdx +95 -0
- package/.docs/raw/reference/memory/getThreadsByResourceId.mdx +33 -1
- package/.docs/raw/reference/rag/upstash.mdx +112 -5
- package/.docs/raw/reference/scorers/answer-relevancy.mdx +114 -0
- package/.docs/raw/reference/scorers/bias.mdx +127 -0
- package/.docs/raw/reference/scorers/completeness.mdx +89 -0
- package/.docs/raw/reference/scorers/content-similarity.mdx +96 -0
- package/.docs/raw/reference/scorers/custom-code-scorer.mdx +155 -0
- package/.docs/raw/reference/scorers/faithfulness.mdx +122 -0
- package/.docs/raw/reference/scorers/hallucination.mdx +133 -0
- package/.docs/raw/reference/scorers/keyword-coverage.mdx +92 -0
- package/.docs/raw/reference/scorers/llm-scorer.mdx +210 -0
- package/.docs/raw/reference/scorers/mastra-scorer.mdx +218 -0
- package/.docs/raw/reference/scorers/textual-difference.mdx +76 -0
- package/.docs/raw/reference/scorers/tone-consistency.mdx +75 -0
- package/.docs/raw/reference/scorers/toxicity.mdx +109 -0
- package/.docs/raw/reference/storage/libsql.mdx +7 -4
- package/.docs/raw/reference/storage/mssql.mdx +7 -3
- package/.docs/raw/reference/storage/postgresql.mdx +7 -3
- package/.docs/raw/reference/templates.mdx +228 -0
- package/.docs/raw/scorers/custom-scorers.mdx +319 -0
- package/.docs/raw/scorers/off-the-shelf-scorers.mdx +30 -0
- package/.docs/raw/scorers/overview.mdx +124 -0
- package/package.json +4 -4
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @mastra/mongodb
|
|
2
2
|
|
|
3
|
+
## 0.12.3-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9881232: dependencies updates:
|
|
8
|
+
- Updated dependency [`cloudflare@^4.5.0` ↗︎](https://www.npmjs.com/package/cloudflare/v/4.5.0) (from `^4.4.1`, in `dependencies`)
|
|
9
|
+
- eba48c8: Sort getThreads by updatedAt.
|
|
10
|
+
- 14456f3: fix: [MongoDB] batchInsert with process json
|
|
11
|
+
- Updated dependencies [27cc97a]
|
|
12
|
+
- Updated dependencies [41daa63]
|
|
13
|
+
- Updated dependencies [254a36b]
|
|
14
|
+
- Updated dependencies [0b89602]
|
|
15
|
+
- Updated dependencies [4d37822]
|
|
16
|
+
- Updated dependencies [ff9c125]
|
|
17
|
+
- Updated dependencies [b8efbb9]
|
|
18
|
+
- Updated dependencies [71466e7]
|
|
19
|
+
- Updated dependencies [0c99fbe]
|
|
20
|
+
- @mastra/core@0.12.0-alpha.2
|
|
21
|
+
|
|
3
22
|
## 0.12.3-alpha.0
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -279,24 +298,5 @@
|
|
|
279
298
|
### Patch Changes
|
|
280
299
|
|
|
281
300
|
- dffb67b: updated stores to add alter table and change tests
|
|
282
|
-
- e030ea3: Added missing format compatibility to MongoDB getMessages() method
|
|
283
|
-
- Updated dependencies [f6fd25f]
|
|
284
|
-
- Updated dependencies [dffb67b]
|
|
285
|
-
- Updated dependencies [f1309d3]
|
|
286
|
-
- Updated dependencies [f7f8293]
|
|
287
|
-
- @mastra/core@0.10.4-alpha.1
|
|
288
|
-
|
|
289
|
-
## 0.10.2
|
|
290
|
-
|
|
291
|
-
### Patch Changes
|
|
292
|
-
|
|
293
|
-
- c5bf1ce: Add backwards compat code for new MessageList in storage
|
|
294
|
-
- f0d559f: Fix peerdeps for alpha channel
|
|
295
|
-
- Updated dependencies [ee77e78]
|
|
296
|
-
- Updated dependencies [592a2db]
|
|
297
|
-
- Updated dependencies [e5dc18d]
|
|
298
|
-
- Updated dependencies [ab5adbe]
|
|
299
|
-
- Updated dependencies [1e8bb40]
|
|
300
|
-
- Updated dependencies [1b5fc55]
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 431 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog for mastra-mssql
|
|
2
2
|
|
|
3
|
+
## 0.2.3-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4230a13: dependencies updates:
|
|
8
|
+
- Updated dependency [`mssql@^10.0.4` ↗︎](https://www.npmjs.com/package/mssql/v/10.0.4) (from `^10.0.0`, in `dependencies`)
|
|
9
|
+
- Updated dependencies [27cc97a]
|
|
10
|
+
- Updated dependencies [41daa63]
|
|
11
|
+
- Updated dependencies [254a36b]
|
|
12
|
+
- Updated dependencies [0b89602]
|
|
13
|
+
- Updated dependencies [4d37822]
|
|
14
|
+
- Updated dependencies [ff9c125]
|
|
15
|
+
- Updated dependencies [b8efbb9]
|
|
16
|
+
- Updated dependencies [71466e7]
|
|
17
|
+
- Updated dependencies [0c99fbe]
|
|
18
|
+
- @mastra/core@0.12.0-alpha.2
|
|
19
|
+
|
|
3
20
|
## 0.2.2
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @mastra/pg
|
|
2
2
|
|
|
3
|
+
## 0.12.6-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ff9c125: enhance thread retrieval with sorting options in libsql and pg
|
|
8
|
+
- b8efbb9: feat: add flexible deleteMessages method to memory API
|
|
9
|
+
- Added `memory.deleteMessages(input)` method that accepts multiple input types:
|
|
10
|
+
- Single message ID as string: `deleteMessages('msg-123')`
|
|
11
|
+
- Array of message IDs: `deleteMessages(['msg-1', 'msg-2'])`
|
|
12
|
+
- Message object with id property: `deleteMessages({ id: 'msg-123' })`
|
|
13
|
+
- Array of message objects: `deleteMessages([{ id: 'msg-1' }, { id: 'msg-2' }])`
|
|
14
|
+
- Implemented in all storage adapters (LibSQL, PostgreSQL, Upstash, InMemory)
|
|
15
|
+
- Added REST API endpoint: `POST /api/memory/messages/delete`
|
|
16
|
+
- Updated client SDK: `thread.deleteMessages()` accepts all input types
|
|
17
|
+
- Updates thread timestamps when messages are deleted
|
|
18
|
+
- Added comprehensive test coverage and documentation
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [27cc97a]
|
|
21
|
+
- Updated dependencies [41daa63]
|
|
22
|
+
- Updated dependencies [254a36b]
|
|
23
|
+
- Updated dependencies [0b89602]
|
|
24
|
+
- Updated dependencies [4d37822]
|
|
25
|
+
- Updated dependencies [ff9c125]
|
|
26
|
+
- Updated dependencies [b8efbb9]
|
|
27
|
+
- Updated dependencies [71466e7]
|
|
28
|
+
- Updated dependencies [0c99fbe]
|
|
29
|
+
- @mastra/core@0.12.0-alpha.2
|
|
30
|
+
|
|
3
31
|
## 0.12.5
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -271,32 +299,4 @@
|
|
|
271
299
|
|
|
272
300
|
### Minor Changes
|
|
273
301
|
|
|
274
|
-
|
|
275
|
-
Added automatic thread updatedAt timestamp updates when messages are saved across all storage providers
|
|
276
|
-
Enhanced user experience: Threads now accurately reflect their latest activity with automatic timestamp updates when new messages are added
|
|
277
|
-
Universal implementation: Consistent behavior across all 7 storage backends (ClickHouse, Cloudflare D1, DynamoDB, MongoDB, PostgreSQL, Upstash, LibSQL)
|
|
278
|
-
Performance optimized: Updates execute in parallel with message saving operations for minimal performance impact
|
|
279
|
-
Backwards compatible: No breaking changes - existing code continues to work unchanged
|
|
280
|
-
Improved conversation ordering: Chat interfaces can now properly sort threads by actual last activity
|
|
281
|
-
This enhancement resolves the issue where active conversations appeared stale due to outdated thread timestamps, providing better conversation management and user experience in chat applications.
|
|
282
|
-
|
|
283
|
-
### Patch Changes
|
|
284
|
-
|
|
285
|
-
- 63f6b7d: dependencies updates:
|
|
286
|
-
- Updated dependency [`pg-promise@^11.14.0` ↗︎](https://www.npmjs.com/package/pg-promise/v/11.14.0) (from `^11.13.0`, in `dependencies`)
|
|
287
|
-
- eed55d7: quotes table and schema names for vector and storage to allow for camelcase
|
|
288
|
-
- 6c23252: [MASTRA-3982] Fix Memory Retrieval for PG when scope is resource
|
|
289
|
-
- Updated dependencies [63f6b7d]
|
|
290
|
-
- Updated dependencies [12a95fc]
|
|
291
|
-
- Updated dependencies [4b0f8a6]
|
|
292
|
-
- Updated dependencies [51264a5]
|
|
293
|
-
- Updated dependencies [8e6f677]
|
|
294
|
-
- Updated dependencies [d70c420]
|
|
295
|
-
- Updated dependencies [ee9af57]
|
|
296
|
-
- Updated dependencies [36f1c36]
|
|
297
|
-
- Updated dependencies [2a16996]
|
|
298
|
-
- Updated dependencies [10d352e]
|
|
299
|
-
- Updated dependencies [9589624]
|
|
300
|
-
- Updated dependencies [53d3c37]
|
|
301
|
-
|
|
302
|
-
... 1833 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 1861 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 5.1.16-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6336993: Fix workflow input form overflow
|
|
8
|
+
- Updated dependencies [e0f73c6]
|
|
9
|
+
- Updated dependencies [cda801d]
|
|
10
|
+
- Updated dependencies [a77c823]
|
|
11
|
+
- @mastra/core@0.12.0-alpha.1
|
|
12
|
+
- @mastra/client-js@0.10.17-alpha.1
|
|
13
|
+
|
|
3
14
|
## 5.1.16-alpha.0
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -287,16 +298,5 @@
|
|
|
287
298
|
- Updated dependencies [18da791]
|
|
288
299
|
- Updated dependencies [cb16baf]
|
|
289
300
|
- Updated dependencies [f36e4f1]
|
|
290
|
-
- Updated dependencies [7f6e403]
|
|
291
|
-
- @mastra/core@0.10.11
|
|
292
|
-
- @mastra/client-js@0.10.10
|
|
293
|
-
|
|
294
|
-
## 5.1.11-alpha.4
|
|
295
|
-
|
|
296
|
-
### Patch Changes
|
|
297
|
-
|
|
298
|
-
- c1cceea: Bump peerdeps of @matra/core
|
|
299
|
-
- @mastra/core@0.10.11-alpha.4
|
|
300
|
-
- @mastra/client-js@0.10.10-alpha.4
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 2213 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 0.12.0-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ff9c125: enhance thread retrieval with sorting options in libsql and pg
|
|
8
|
+
- b8efbb9: feat: add flexible deleteMessages method to memory API
|
|
9
|
+
- Added `memory.deleteMessages(input)` method that accepts multiple input types:
|
|
10
|
+
- Single message ID as string: `deleteMessages('msg-123')`
|
|
11
|
+
- Array of message IDs: `deleteMessages(['msg-1', 'msg-2'])`
|
|
12
|
+
- Message object with id property: `deleteMessages({ id: 'msg-123' })`
|
|
13
|
+
- Array of message objects: `deleteMessages([{ id: 'msg-1' }, { id: 'msg-2' }])`
|
|
14
|
+
- Implemented in all storage adapters (LibSQL, PostgreSQL, Upstash, InMemory)
|
|
15
|
+
- Added REST API endpoint: `POST /api/memory/messages/delete`
|
|
16
|
+
- Updated client SDK: `thread.deleteMessages()` accepts all input types
|
|
17
|
+
- Updates thread timestamps when messages are deleted
|
|
18
|
+
- Added comprehensive test coverage and documentation
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [27cc97a]
|
|
21
|
+
- Updated dependencies [41daa63]
|
|
22
|
+
- Updated dependencies [254a36b]
|
|
23
|
+
- Updated dependencies [0b89602]
|
|
24
|
+
- Updated dependencies [4d37822]
|
|
25
|
+
- Updated dependencies [ff9c125]
|
|
26
|
+
- Updated dependencies [b8efbb9]
|
|
27
|
+
- Updated dependencies [71466e7]
|
|
28
|
+
- Updated dependencies [0c99fbe]
|
|
29
|
+
- @mastra/core@0.12.0-alpha.2
|
|
30
|
+
|
|
31
|
+
## 0.12.0-alpha.1
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- Updated dependencies [e0f73c6]
|
|
36
|
+
- Updated dependencies [cda801d]
|
|
37
|
+
- Updated dependencies [a77c823]
|
|
38
|
+
- @mastra/core@0.12.0-alpha.1
|
|
39
|
+
|
|
3
40
|
## 0.12.0-alpha.0
|
|
4
41
|
|
|
5
42
|
### Patch Changes
|
|
@@ -262,41 +299,4 @@
|
|
|
262
299
|
- Updated dependencies [f36e4f1]
|
|
263
300
|
- @mastra/core@0.10.11-alpha.0
|
|
264
301
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
### Patch Changes
|
|
268
|
-
|
|
269
|
-
- 6e13b80: Add error cause and stack trace to mastra server error handler
|
|
270
|
-
- 6997af1: add send event to server, deployer, client-js and playground-ui
|
|
271
|
-
- Updated dependencies [4d3fbdf]
|
|
272
|
-
- @mastra/core@0.10.10
|
|
273
|
-
|
|
274
|
-
## 0.10.10-alpha.1
|
|
275
|
-
|
|
276
|
-
### Patch Changes
|
|
277
|
-
|
|
278
|
-
- 6997af1: add send event to server, deployer, client-js and playground-ui
|
|
279
|
-
- @mastra/core@0.10.10-alpha.1
|
|
280
|
-
|
|
281
|
-
## 0.10.10-alpha.0
|
|
282
|
-
|
|
283
|
-
### Patch Changes
|
|
284
|
-
|
|
285
|
-
- 6e13b80: Add error cause and stack trace to mastra server error handler
|
|
286
|
-
- Updated dependencies [4d3fbdf]
|
|
287
|
-
- @mastra/core@0.10.10-alpha.0
|
|
288
|
-
|
|
289
|
-
## 0.10.9
|
|
290
|
-
|
|
291
|
-
### Patch Changes
|
|
292
|
-
|
|
293
|
-
- a606c75: show right suspend schema for nested workflow on playground
|
|
294
|
-
- 038e5ae: Add cancel workflow run
|
|
295
|
-
- 81a1b3b: Update peerdeps
|
|
296
|
-
- 7e801dd: Add tools to network api response
|
|
297
|
-
- Updated dependencies [9dda1ac]
|
|
298
|
-
- Updated dependencies [c984582]
|
|
299
|
-
- Updated dependencies [7e801dd]
|
|
300
|
-
- Updated dependencies [a606c75]
|
|
301
|
-
|
|
302
|
-
... 2512 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 2549 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @mastra/upstash
|
|
2
2
|
|
|
3
|
+
## 0.12.4-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b92bc89: Added hybrid search support to @mastra/upstash vector store. Supports sparse vectors, fusion algorithm, and query mode.
|
|
8
|
+
- b8efbb9: feat: add flexible deleteMessages method to memory API
|
|
9
|
+
- Added `memory.deleteMessages(input)` method that accepts multiple input types:
|
|
10
|
+
- Single message ID as string: `deleteMessages('msg-123')`
|
|
11
|
+
- Array of message IDs: `deleteMessages(['msg-1', 'msg-2'])`
|
|
12
|
+
- Message object with id property: `deleteMessages({ id: 'msg-123' })`
|
|
13
|
+
- Array of message objects: `deleteMessages([{ id: 'msg-1' }, { id: 'msg-2' }])`
|
|
14
|
+
- Implemented in all storage adapters (LibSQL, PostgreSQL, Upstash, InMemory)
|
|
15
|
+
- Added REST API endpoint: `POST /api/memory/messages/delete`
|
|
16
|
+
- Updated client SDK: `thread.deleteMessages()` accepts all input types
|
|
17
|
+
- Updates thread timestamps when messages are deleted
|
|
18
|
+
- Added comprehensive test coverage and documentation
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [27cc97a]
|
|
21
|
+
- Updated dependencies [41daa63]
|
|
22
|
+
- Updated dependencies [254a36b]
|
|
23
|
+
- Updated dependencies [0b89602]
|
|
24
|
+
- Updated dependencies [4d37822]
|
|
25
|
+
- Updated dependencies [ff9c125]
|
|
26
|
+
- Updated dependencies [b8efbb9]
|
|
27
|
+
- Updated dependencies [71466e7]
|
|
28
|
+
- Updated dependencies [0c99fbe]
|
|
29
|
+
- @mastra/core@0.12.0-alpha.2
|
|
30
|
+
|
|
3
31
|
## 0.12.4-alpha.0
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -270,33 +298,5 @@
|
|
|
270
298
|
|
|
271
299
|
### Patch Changes
|
|
272
300
|
|
|
273
|
-
- 1a35518: dependencies updates:
|
|
274
|
-
- Updated dependency [`@upstash/redis@^1.35.0` ↗︎](https://www.npmjs.com/package/@upstash/redis/v/1.35.0) (from `^1.34.5`, in `dependencies`)
|
|
275
|
-
- dffb67b: updated stores to add alter table and change tests
|
|
276
|
-
- 925ab94: added paginated functions to base class and added boilerplate and updated imports
|
|
277
|
-
- 48eddb9: update filter logic in Memory class to support semantic recall search scope
|
|
278
|
-
- 66f4424: Update peerdeps
|
|
279
|
-
- a914da2: Fix upstash paginated APIs
|
|
280
|
-
- Updated dependencies [d1ed912]
|
|
281
|
-
- Updated dependencies [f6fd25f]
|
|
282
|
-
- Updated dependencies [dffb67b]
|
|
283
|
-
- Updated dependencies [f1f1f1b]
|
|
284
|
-
- Updated dependencies [925ab94]
|
|
285
|
-
- Updated dependencies [f9816ae]
|
|
286
|
-
- Updated dependencies [82090c1]
|
|
287
|
-
- Updated dependencies [1b443fd]
|
|
288
|
-
- Updated dependencies [ce97900]
|
|
289
|
-
- Updated dependencies [f1309d3]
|
|
290
|
-
- Updated dependencies [14a2566]
|
|
291
|
-
- Updated dependencies [f7f8293]
|
|
292
|
-
- Updated dependencies [48eddb9]
|
|
293
|
-
- @mastra/core@0.10.4
|
|
294
|
-
|
|
295
|
-
## 0.10.3-alpha.4
|
|
296
|
-
|
|
297
|
-
### Patch Changes
|
|
298
|
-
|
|
299
|
-
- 66f4424: Update peerdeps
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1729 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @mastra/vectorize
|
|
2
2
|
|
|
3
|
+
## 0.11.2-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9881232: dependencies updates:
|
|
8
|
+
- Updated dependency [`cloudflare@^4.5.0` ↗︎](https://www.npmjs.com/package/cloudflare/v/4.5.0) (from `^4.4.1`, in `dependencies`)
|
|
9
|
+
- Updated dependencies [27cc97a]
|
|
10
|
+
- Updated dependencies [41daa63]
|
|
11
|
+
- Updated dependencies [254a36b]
|
|
12
|
+
- Updated dependencies [0b89602]
|
|
13
|
+
- Updated dependencies [4d37822]
|
|
14
|
+
- Updated dependencies [ff9c125]
|
|
15
|
+
- Updated dependencies [b8efbb9]
|
|
16
|
+
- Updated dependencies [71466e7]
|
|
17
|
+
- Updated dependencies [0c99fbe]
|
|
18
|
+
- @mastra/core@0.12.0-alpha.2
|
|
19
|
+
|
|
3
20
|
## 0.11.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -281,22 +298,5 @@
|
|
|
281
298
|
|
|
282
299
|
- 9cd1a46: [MASTRA-3338] update naming scheme for embedding index based on vector store rules and added duplicate index checks
|
|
283
300
|
- Updated dependencies [e450778]
|
|
284
|
-
- Updated dependencies [8902157]
|
|
285
|
-
- Updated dependencies [ca0dc88]
|
|
286
|
-
- Updated dependencies [526c570]
|
|
287
|
-
- Updated dependencies [d7a6a33]
|
|
288
|
-
- Updated dependencies [9cd1a46]
|
|
289
|
-
- Updated dependencies [b5d2de0]
|
|
290
|
-
- Updated dependencies [644f8ad]
|
|
291
|
-
- Updated dependencies [70dbf51]
|
|
292
|
-
- @mastra/core@0.9.3
|
|
293
|
-
|
|
294
|
-
## 0.2.9-alpha.1
|
|
295
|
-
|
|
296
|
-
### Patch Changes
|
|
297
|
-
|
|
298
|
-
- 9cd1a46: [MASTRA-3338] update naming scheme for embedding index based on vector store rules and added duplicate index checks
|
|
299
|
-
- Updated dependencies [e450778]
|
|
300
|
-
- Updated dependencies [8902157]
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1658 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @mastra/voice-cloudflare
|
|
2
2
|
|
|
3
|
+
## 0.10.6-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9881232: dependencies updates:
|
|
8
|
+
- Updated dependency [`cloudflare@^4.5.0` ↗︎](https://www.npmjs.com/package/cloudflare/v/4.5.0) (from `^4.4.1`, in `dependencies`)
|
|
9
|
+
- Updated dependencies [27cc97a]
|
|
10
|
+
- Updated dependencies [41daa63]
|
|
11
|
+
- Updated dependencies [254a36b]
|
|
12
|
+
- Updated dependencies [0b89602]
|
|
13
|
+
- Updated dependencies [4d37822]
|
|
14
|
+
- Updated dependencies [ff9c125]
|
|
15
|
+
- Updated dependencies [b8efbb9]
|
|
16
|
+
- Updated dependencies [71466e7]
|
|
17
|
+
- Updated dependencies [0c99fbe]
|
|
18
|
+
- @mastra/core@0.12.0-alpha.2
|
|
19
|
+
|
|
3
20
|
## 0.10.5
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -281,22 +298,5 @@
|
|
|
281
298
|
|
|
282
299
|
### Patch Changes
|
|
283
300
|
|
|
284
|
-
- Updated dependencies [daf942f]
|
|
285
|
-
- Updated dependencies [0b8b868]
|
|
286
|
-
- @mastra/core@0.9.4-alpha.0
|
|
287
|
-
|
|
288
|
-
## 0.1.10
|
|
289
|
-
|
|
290
|
-
### Patch Changes
|
|
291
301
|
|
|
292
|
-
|
|
293
|
-
- Updated dependencies [8902157]
|
|
294
|
-
- Updated dependencies [ca0dc88]
|
|
295
|
-
- Updated dependencies [526c570]
|
|
296
|
-
- Updated dependencies [d7a6a33]
|
|
297
|
-
- Updated dependencies [9cd1a46]
|
|
298
|
-
- Updated dependencies [b5d2de0]
|
|
299
|
-
- Updated dependencies [644f8ad]
|
|
300
|
-
- Updated dependencies [70dbf51]
|
|
301
|
-
|
|
302
|
-
... 571 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 588 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# create-mastra
|
|
2
2
|
|
|
3
|
+
## 0.10.14-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6336993: Fix workflow input form overflow
|
|
8
|
+
|
|
3
9
|
## 0.10.14-alpha.0
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -292,11 +298,5 @@
|
|
|
292
298
|
|
|
293
299
|
## 0.10.3
|
|
294
300
|
|
|
295
|
-
### Patch Changes
|
|
296
|
-
|
|
297
|
-
- e719504: don't start posthog when the browser is Brave
|
|
298
|
-
- 8f60de4: fix workflow output when the schema is a primitive
|
|
299
|
-
|
|
300
|
-
## 0.10.3-alpha.1
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1130 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# mastra
|
|
2
2
|
|
|
3
|
+
## 0.10.16-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d5cc460: This change implements a fix to sourcemap mappings being off due to `removeDeployer` Babel plugin missing source map config.
|
|
8
|
+
- a5681f2: fix: pagination breaks trace grouping
|
|
9
|
+
- Updated dependencies [27cc97a]
|
|
10
|
+
- Updated dependencies [27cc97a]
|
|
11
|
+
- Updated dependencies [41daa63]
|
|
12
|
+
- Updated dependencies [254a36b]
|
|
13
|
+
- Updated dependencies [0b89602]
|
|
14
|
+
- Updated dependencies [4d37822]
|
|
15
|
+
- Updated dependencies [ff9c125]
|
|
16
|
+
- Updated dependencies [d5cc460]
|
|
17
|
+
- Updated dependencies [b8efbb9]
|
|
18
|
+
- Updated dependencies [71466e7]
|
|
19
|
+
- Updated dependencies [0c99fbe]
|
|
20
|
+
- @mastra/core@0.12.0-alpha.2
|
|
21
|
+
- @mastra/deployer@0.12.0-alpha.2
|
|
22
|
+
|
|
23
|
+
## 0.10.16-alpha.1
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- 6336993: Fix workflow input form overflow
|
|
28
|
+
- Updated dependencies [e0f73c6]
|
|
29
|
+
- Updated dependencies [cda801d]
|
|
30
|
+
- Updated dependencies [a77c823]
|
|
31
|
+
- @mastra/core@0.12.0-alpha.1
|
|
32
|
+
- @mastra/deployer@0.12.0-alpha.1
|
|
33
|
+
|
|
3
34
|
## 0.10.16-alpha.0
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
|
@@ -267,36 +298,5 @@
|
|
|
267
298
|
- 640f47e: move agent model settings into agent settings
|
|
268
299
|
- 5d0c163: Scaffold create-mastra projects with zod@^3 to prevent package version conflicts during install
|
|
269
300
|
- 53e3f58: Add support for custom instrumentation files
|
|
270
|
-
- Updated dependencies [b4a9811]
|
|
271
|
-
- Updated dependencies [4d5583d]
|
|
272
|
-
- Updated dependencies [53e3f58]
|
|
273
|
-
- @mastra/core@0.10.12
|
|
274
|
-
- @mastra/deployer@0.10.12
|
|
275
|
-
|
|
276
|
-
## 0.10.12-alpha.0
|
|
277
|
-
|
|
278
|
-
### Patch Changes
|
|
279
|
-
|
|
280
|
-
- 640f47e: move agent model settings into agent settings
|
|
281
|
-
- 5d0c163: Scaffold create-mastra projects with zod@^3 to prevent package version conflicts during install
|
|
282
|
-
- 53e3f58: Add support for custom instrumentation files
|
|
283
|
-
- Updated dependencies [b4a9811]
|
|
284
|
-
- Updated dependencies [53e3f58]
|
|
285
|
-
- @mastra/core@0.10.12-alpha.0
|
|
286
|
-
- @mastra/deployer@0.10.12-alpha.0
|
|
287
|
-
|
|
288
|
-
## 0.10.11
|
|
289
|
-
|
|
290
|
-
### Patch Changes
|
|
291
301
|
|
|
292
|
-
|
|
293
|
-
- af9e40e: Map log level number to string value
|
|
294
|
-
- f457d86: reset localstorage when resetting model settings
|
|
295
|
-
- 8722d53: Fix multi modal remaining steps
|
|
296
|
-
- 565cc0c: fix redirection when clicking on the playground breadcrumbs
|
|
297
|
-
- 4219597: add JSON input close to form input
|
|
298
|
-
- 2873c7f: dependencies updates:
|
|
299
|
-
- Updated dependency [`dotenv@^16.6.1` ↗︎](https://www.npmjs.com/package/dotenv/v/16.6.1) (from `^16.5.0`, in `dependencies`)
|
|
300
|
-
- a9f51e4: Fix plaground get tools not including x-mastra-dev-header"
|
|
301
|
-
|
|
302
|
-
... 4563 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 4594 more lines hidden. See full changelog in package directory.
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"name": "examples-agent",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@ai-sdk/openai": "latest",
|
|
7
|
+
"@ai-sdk/google": "latest",
|
|
7
8
|
"@mastra/client-js": "latest",
|
|
8
9
|
"@mastra/core": "latest",
|
|
9
10
|
"@mastra/loggers": "latest",
|
|
@@ -454,12 +455,15 @@ main();
|
|
|
454
455
|
### mastra/agents/index.ts
|
|
455
456
|
```typescript
|
|
456
457
|
import { openai } from '@ai-sdk/openai';
|
|
458
|
+
import { google } from '@ai-sdk/google';
|
|
457
459
|
import { jsonSchema, tool } from 'ai';
|
|
458
460
|
import { OpenAIVoice } from '@mastra/voice-openai';
|
|
459
461
|
import { Memory } from '@mastra/memory';
|
|
460
|
-
import { Agent } from '@mastra/core/agent';
|
|
462
|
+
import { Agent, InputProcessor } from '@mastra/core/agent';
|
|
461
463
|
import { cookingTool } from '../tools/index.js';
|
|
462
464
|
import { myWorkflow } from '../workflows/index.js';
|
|
465
|
+
import { PIIDetector, LanguageDetector, PromptInjectionDetector } from '@mastra/core/agent/input-processor/processors';
|
|
466
|
+
import { MCPClient } from '@mastra/mcp';
|
|
463
467
|
|
|
464
468
|
const memory = new Memory();
|
|
465
469
|
|
|
@@ -538,6 +542,50 @@ export const dynamicAgent = new Agent({
|
|
|
538
542
|
},
|
|
539
543
|
});
|
|
540
544
|
|
|
545
|
+
const vegetarianProcessor: InputProcessor = {
|
|
546
|
+
name: 'eat-more-tofu',
|
|
547
|
+
process: async ({ messages }) => {
|
|
548
|
+
messages.push({
|
|
549
|
+
id: crypto.randomUUID(),
|
|
550
|
+
createdAt: new Date(),
|
|
551
|
+
role: 'user',
|
|
552
|
+
content: {
|
|
553
|
+
format: 2,
|
|
554
|
+
parts: [{ type: 'text', text: 'Make the suggested recipe, but remove any meat and add tofu instead' }],
|
|
555
|
+
},
|
|
556
|
+
});
|
|
557
|
+
|
|
558
|
+
return messages;
|
|
559
|
+
},
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
const piiDetector = new PIIDetector({
|
|
563
|
+
model: google('gemini-2.0-flash-001'),
|
|
564
|
+
redactionMethod: 'mask',
|
|
565
|
+
preserveFormat: true,
|
|
566
|
+
includeDetections: true,
|
|
567
|
+
});
|
|
568
|
+
|
|
569
|
+
const languageDetector = new LanguageDetector({
|
|
570
|
+
model: google('gemini-2.0-flash-001'),
|
|
571
|
+
targetLanguages: ['en'],
|
|
572
|
+
strategy: 'translate',
|
|
573
|
+
});
|
|
574
|
+
|
|
575
|
+
const promptInjectionDetector = new PromptInjectionDetector({
|
|
576
|
+
model: google('gemini-2.0-flash-001'),
|
|
577
|
+
strategy: 'block',
|
|
578
|
+
});
|
|
579
|
+
|
|
580
|
+
const mcpInstance = new MCPClient({
|
|
581
|
+
id: 'myMcpServerTwo',
|
|
582
|
+
servers: {
|
|
583
|
+
myMcpServerTwo: {
|
|
584
|
+
url: new URL(`http://localhost:4111/api/mcp/myMcpServerTwo/mcp`),
|
|
585
|
+
},
|
|
586
|
+
},
|
|
587
|
+
});
|
|
588
|
+
|
|
541
589
|
export const chefAgentResponses = new Agent({
|
|
542
590
|
name: 'Chef Agent Responses',
|
|
543
591
|
instructions: `
|
|
@@ -546,12 +594,54 @@ export const chefAgentResponses = new Agent({
|
|
|
546
594
|
You explain cooking steps clearly and offer substitutions when needed, maintaining a friendly and encouraging tone throughout.
|
|
547
595
|
`,
|
|
548
596
|
model: openai.responses('gpt-4o'),
|
|
549
|
-
tools: {
|
|
550
|
-
|
|
597
|
+
tools: async () => {
|
|
598
|
+
return {
|
|
599
|
+
...(await mcpInstance.getTools()),
|
|
600
|
+
web_search_preview: openai.tools.webSearchPreview(),
|
|
601
|
+
};
|
|
551
602
|
},
|
|
552
603
|
workflows: {
|
|
553
604
|
myWorkflow,
|
|
554
605
|
},
|
|
606
|
+
inputProcessors: [
|
|
607
|
+
piiDetector,
|
|
608
|
+
vegetarianProcessor,
|
|
609
|
+
languageDetector,
|
|
610
|
+
promptInjectionDetector,
|
|
611
|
+
{
|
|
612
|
+
name: 'no-soup-for-you',
|
|
613
|
+
process: async ({ messages, abort }) => {
|
|
614
|
+
const hasSoup = messages.some(msg => {
|
|
615
|
+
for (const part of msg.content.parts) {
|
|
616
|
+
if (part.type === 'text' && part.text.includes('soup')) {
|
|
617
|
+
return true;
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
return false;
|
|
621
|
+
});
|
|
622
|
+
|
|
623
|
+
if (hasSoup) {
|
|
624
|
+
abort('No soup for you!');
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
return messages;
|
|
628
|
+
},
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
name: 'remove-spinach',
|
|
632
|
+
process: async ({ messages }) => {
|
|
633
|
+
for (const message of messages) {
|
|
634
|
+
for (const part of message.content.parts) {
|
|
635
|
+
if (part.type === 'text' && part.text.includes('spinach')) {
|
|
636
|
+
part.text = part.text.replaceAll('spinach', '');
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
return messages;
|
|
642
|
+
},
|
|
643
|
+
},
|
|
644
|
+
],
|
|
555
645
|
});
|
|
556
646
|
|
|
557
647
|
```
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
"@mastra/rag": "0.0.0-ai-v5-20250625173645",
|
|
14
14
|
"@mastra/server": "0.0.0-ai-v5-20250625173645",
|
|
15
15
|
"next": "15.2.4",
|
|
16
|
-
"react": "^19.
|
|
17
|
-
"react-dom": "^19.
|
|
16
|
+
"react": "^19.1.0",
|
|
17
|
+
"react-dom": "^19.1.0",
|
|
18
18
|
"swr": "^2.3.3",
|
|
19
19
|
"zod": "^3.25.67"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@eslint/eslintrc": "^3",
|
|
23
23
|
"@types/node": "^20",
|
|
24
|
-
"@types/react": "^19",
|
|
25
|
-
"@types/react-dom": "^19",
|
|
24
|
+
"@types/react": "^19.1.8",
|
|
25
|
+
"@types/react-dom": "^19.1.6",
|
|
26
26
|
"eslint": "^9",
|
|
27
27
|
"eslint-config-next": "15.1.7",
|
|
28
28
|
"mastra": "0.0.0-ai-v5-20250625173645",
|