@mastra/mongodb 1.11.1-alpha.0 → 1.11.1-alpha.1
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/CHANGELOG.md +9 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-memory-working-memory.md +2 -0
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/memory/index.d.ts.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/mongodb
|
|
2
2
|
|
|
3
|
+
## 1.11.1-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed buffered observation extraction metadata so stored OM chunks keep extracted values and extraction failures across memory storage adapters. ([#18655](https://github.com/mastra-ai/mastra/pull/18655))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`6f578ac`](https://github.com/mastra-ai/mastra/commit/6f578acba84930b406b2a0700b17cfdfaf5aae56), [`c01012f`](https://github.com/mastra-ai/mastra/commit/c01012f50368d29eb3fc3764df42d48291973d23), [`be875ed`](https://github.com/mastra-ai/mastra/commit/be875ed43f856742ce58529f531b5ea0ae6911f3), [`9eefdc0`](https://github.com/mastra-ai/mastra/commit/9eefdc0ac03f989718c6d835334940a977938895), [`7d112ca`](https://github.com/mastra-ai/mastra/commit/7d112ca17078479b2659b88ba1c85b936cfc111c)]:
|
|
10
|
+
- @mastra/core@1.48.0-alpha.10
|
|
11
|
+
|
|
3
12
|
## 1.11.1-alpha.0
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-mongodb
|
|
|
3
3
|
description: Documentation for @mastra/mongodb. Use when working with @mastra/mongodb APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/mongodb"
|
|
6
|
-
version: "1.11.1-alpha.
|
|
6
|
+
version: "1.11.1-alpha.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -6,6 +6,8 @@ Think of it as the agent's active thoughts or scratchpad – the key information
|
|
|
6
6
|
|
|
7
7
|
This is useful for maintaining ongoing state that's always relevant and should always be available to the agent.
|
|
8
8
|
|
|
9
|
+
If you use [Observational Memory](https://mastra.ai/docs/memory/observational-memory), `observationalMemory.observation.manageWorkingMemory` lets OM update working memory for the agent.
|
|
10
|
+
|
|
9
11
|
Working memory can persist at two different scopes:
|
|
10
12
|
|
|
11
13
|
- **Resource-scoped** (default): Memory persists across all conversation threads for the same user
|
package/dist/index.cjs
CHANGED
|
@@ -15,7 +15,7 @@ var skills = require('@mastra/core/storage/domains/skills');
|
|
|
15
15
|
|
|
16
16
|
// package.json
|
|
17
17
|
var package_default = {
|
|
18
|
-
version: "1.11.1-alpha.
|
|
18
|
+
version: "1.11.1-alpha.1"};
|
|
19
19
|
var MongoDBFilterTranslator = class extends filter.BaseFilterTranslator {
|
|
20
20
|
getSupportedOperators() {
|
|
21
21
|
return {
|
|
@@ -6263,7 +6263,9 @@ var MemoryStorageMongoDB = class _MemoryStorageMongoDB extends storage.MemorySto
|
|
|
6263
6263
|
createdAt: /* @__PURE__ */ new Date(),
|
|
6264
6264
|
suggestedContinuation: input.chunk.suggestedContinuation,
|
|
6265
6265
|
currentTask: input.chunk.currentTask,
|
|
6266
|
-
threadTitle: input.chunk.threadTitle
|
|
6266
|
+
threadTitle: input.chunk.threadTitle,
|
|
6267
|
+
extractedValues: input.chunk.extractedValues,
|
|
6268
|
+
extractionFailures: input.chunk.extractionFailures
|
|
6267
6269
|
};
|
|
6268
6270
|
const now = /* @__PURE__ */ new Date();
|
|
6269
6271
|
const setStage = {
|