@mastra/memory 1.0.0-beta.13 → 1.0.0-beta.14
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
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/memory
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`1dbd8c7`](https://github.com/mastra-ai/mastra/commit/1dbd8c729fb6536ec52f00064d76b80253d346e9), [`c59e13c`](https://github.com/mastra-ai/mastra/commit/c59e13c7688284bd96b2baee3e314335003548de), [`f93e2f5`](https://github.com/mastra-ai/mastra/commit/f93e2f575e775e627e5c1927cefdd72db07858ed), [`f9a2509`](https://github.com/mastra-ai/mastra/commit/f9a25093ea72d210a5e52cfcb3bcc8b5e02dc25c), [`7a010c5`](https://github.com/mastra-ai/mastra/commit/7a010c56b846a313a49ae42fccd3d8de2b9f292d)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.24
|
|
9
|
+
- @mastra/schema-compat@1.0.0-beta.7
|
|
10
|
+
|
|
3
11
|
## 1.0.0-beta.13
|
|
4
12
|
|
|
5
13
|
### Major Changes
|
package/dist/docs/README.md
CHANGED
package/dist/docs/SKILL.md
CHANGED
|
@@ -90,6 +90,9 @@ export const memoryAgent = new Agent({
|
|
|
90
90
|
});
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
+
> **Mastra Cloud Store limitation**
|
|
94
|
+
Agent-level storage is not supported when using [Mastra Cloud Store](https://mastra.ai/docs/v1/mastra-cloud/deployment#using-mastra-cloud-store). If you use Mastra Cloud Store, configure storage on the Mastra instance instead. This limitation does not apply if you bring your own database.
|
|
95
|
+
|
|
93
96
|
## Message history
|
|
94
97
|
|
|
95
98
|
Include a `memory` object with both `resource` and `thread` to track message history during agent calls.
|
|
@@ -115,6 +115,9 @@ export const agent = new Agent({
|
|
|
115
115
|
|
|
116
116
|
This is useful when different agents need to store data in separate databases for security, compliance, or organizational reasons.
|
|
117
117
|
|
|
118
|
+
> **Mastra Cloud Store limitation**
|
|
119
|
+
Agent-level storage is not supported when using [Mastra Cloud Store](https://mastra.ai/docs/v1/mastra-cloud/deployment#using-mastra-cloud-store). If you use Mastra Cloud Store, configure storage on the Mastra instance instead. This limitation does not apply if you bring your own database.
|
|
120
|
+
|
|
118
121
|
## Threads and resources
|
|
119
122
|
|
|
120
123
|
Mastra organizes memory into threads using two identifiers:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/memory",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.14",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"json-schema": "^0.4.0",
|
|
32
32
|
"lru-cache": "^11.2.2",
|
|
33
33
|
"xxhash-wasm": "^1.1.0",
|
|
34
|
-
"@mastra/schema-compat": "1.0.0-beta.
|
|
34
|
+
"@mastra/schema-compat": "1.0.0-beta.7"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@ai-sdk/openai": "^1.3.24",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"typescript-eslint": "^8.51.0",
|
|
48
48
|
"vitest": "4.0.16",
|
|
49
49
|
"@internal/ai-sdk-v4": "0.0.0",
|
|
50
|
-
"@internal/ai-sdk-v5": "0.0.0",
|
|
51
|
-
"@internal/types-builder": "0.0.28",
|
|
52
50
|
"@internal/ai-v6": "0.0.0",
|
|
53
|
-
"@
|
|
54
|
-
"@
|
|
51
|
+
"@internal/lint": "0.0.53",
|
|
52
|
+
"@mastra/core": "1.0.0-beta.24",
|
|
53
|
+
"@internal/ai-sdk-v5": "0.0.0",
|
|
54
|
+
"@internal/types-builder": "0.0.28"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@mastra/core": ">=1.0.0-0 <2.0.0-0",
|