@mastra/memory 0.3.2-alpha.0 → 0.3.2-alpha.3
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/.turbo/turbo-build.log +9 -9
- package/CHANGELOG.md +24 -0
- package/dist/index.cjs +3 -0
- package/dist/index.js +3 -0
- package/package.json +2 -2
- package/src/index.ts +3 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
|
|
2
|
-
> @mastra/memory@0.3.2-alpha.
|
|
2
|
+
> @mastra/memory@0.3.2-alpha.3 build /home/runner/work/mastra/mastra/packages/memory
|
|
3
3
|
> pnpm run check && tsup src/index.ts src/processors/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @mastra/memory@0.3.2-alpha.
|
|
6
|
+
> @mastra/memory@0.3.2-alpha.3 check /home/runner/work/mastra/mastra/packages/memory
|
|
7
7
|
> tsc --noEmit
|
|
8
8
|
|
|
9
9
|
[34mCLI[39m Building entry: src/index.ts, src/processors/index.ts
|
|
10
10
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
11
11
|
[34mCLI[39m tsup v8.4.0
|
|
12
12
|
[34mTSC[39m Build start
|
|
13
|
-
[32mTSC[39m ⚡️ Build success in
|
|
13
|
+
[32mTSC[39m ⚡️ Build success in 10325ms
|
|
14
14
|
[34mDTS[39m Build start
|
|
15
15
|
[34mCLI[39m Target: es2022
|
|
16
16
|
Analysis will use the bundled TypeScript version 5.8.3
|
|
17
17
|
[36mWriting package typings: /home/runner/work/mastra/mastra/packages/memory/dist/_tsup-dts-rollup.d.ts[39m
|
|
18
18
|
Analysis will use the bundled TypeScript version 5.8.3
|
|
19
19
|
[36mWriting package typings: /home/runner/work/mastra/mastra/packages/memory/dist/_tsup-dts-rollup.d.cts[39m
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 12246ms
|
|
21
21
|
[34mCLI[39m Cleaning output folder
|
|
22
22
|
[34mESM[39m Build start
|
|
23
23
|
[34mCJS[39m Build start
|
|
24
|
-
[32mCJS[39m [1mdist/processors/index.cjs [22m[32m5.59 KB[39m
|
|
25
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m18.17 KB[39m
|
|
26
|
-
[32mCJS[39m ⚡️ Build success in 866ms
|
|
27
24
|
[32mESM[39m [1mdist/processors/index.js [22m[32m5.38 KB[39m
|
|
28
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
29
|
-
[32mESM[39m ⚡️ Build success in
|
|
25
|
+
[32mESM[39m [1mdist/index.js [22m[32m18.27 KB[39m
|
|
26
|
+
[32mESM[39m ⚡️ Build success in 826ms
|
|
27
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m18.45 KB[39m
|
|
28
|
+
[32mCJS[39m [1mdist/processors/index.cjs [22m[32m5.59 KB[39m
|
|
29
|
+
[32mCJS[39m ⚡️ Build success in 827ms
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @mastra/memory
|
|
2
2
|
|
|
3
|
+
## 0.3.2-alpha.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 17826a9: Added a breaking change warning about deprecated working memory "use: 'text-stream'" which is being fully replaced by "use: 'tool-call'"
|
|
8
|
+
- Updated dependencies [967b41c]
|
|
9
|
+
- Updated dependencies [4155f47]
|
|
10
|
+
- Updated dependencies [17826a9]
|
|
11
|
+
- @mastra/core@0.9.2-alpha.3
|
|
12
|
+
|
|
13
|
+
## 0.3.2-alpha.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [26738f4]
|
|
18
|
+
- @mastra/core@0.9.2-alpha.2
|
|
19
|
+
|
|
20
|
+
## 0.3.2-alpha.1
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [b804723]
|
|
25
|
+
- @mastra/core@0.9.2-alpha.1
|
|
26
|
+
|
|
3
27
|
## 0.3.2-alpha.0
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -87,6 +87,9 @@ var Memory = class extends memory.MastraMemory {
|
|
|
87
87
|
super({ name: "Memory", ...config });
|
|
88
88
|
const mergedConfig = this.getMergedThreadConfig({
|
|
89
89
|
workingMemory: config.options?.workingMemory || {
|
|
90
|
+
// these defaults are now set inside @mastra/core/memory in getMergedThreadConfig.
|
|
91
|
+
// In a future release we can remove it from this block - for now if we remove it
|
|
92
|
+
// and someone bumps @mastra/memory without bumping @mastra/core the defaults wouldn't exist yet
|
|
90
93
|
enabled: false,
|
|
91
94
|
template: this.defaultWorkingMemoryTemplate
|
|
92
95
|
}
|
package/dist/index.js
CHANGED
|
@@ -81,6 +81,9 @@ var Memory = class extends MastraMemory {
|
|
|
81
81
|
super({ name: "Memory", ...config });
|
|
82
82
|
const mergedConfig = this.getMergedThreadConfig({
|
|
83
83
|
workingMemory: config.options?.workingMemory || {
|
|
84
|
+
// these defaults are now set inside @mastra/core/memory in getMergedThreadConfig.
|
|
85
|
+
// In a future release we can remove it from this block - for now if we remove it
|
|
86
|
+
// and someone bumps @mastra/memory without bumping @mastra/core the defaults wouldn't exist yet
|
|
84
87
|
enabled: false,
|
|
85
88
|
template: this.defaultWorkingMemoryTemplate
|
|
86
89
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/memory",
|
|
3
|
-
"version": "0.3.2-alpha.
|
|
3
|
+
"version": "0.3.2-alpha.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"redis": "^4.7.0",
|
|
42
42
|
"xxhash-wasm": "^1.1.0",
|
|
43
43
|
"zod": "^3.24.2",
|
|
44
|
-
"@mastra/core": "^0.9.2-alpha.
|
|
44
|
+
"@mastra/core": "^0.9.2-alpha.3"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@ai-sdk/openai": "^1.3.3",
|
package/src/index.ts
CHANGED
|
@@ -22,6 +22,9 @@ export class Memory extends MastraMemory {
|
|
|
22
22
|
|
|
23
23
|
const mergedConfig = this.getMergedThreadConfig({
|
|
24
24
|
workingMemory: config.options?.workingMemory || {
|
|
25
|
+
// these defaults are now set inside @mastra/core/memory in getMergedThreadConfig.
|
|
26
|
+
// In a future release we can remove it from this block - for now if we remove it
|
|
27
|
+
// and someone bumps @mastra/memory without bumping @mastra/core the defaults wouldn't exist yet
|
|
25
28
|
enabled: false,
|
|
26
29
|
template: this.defaultWorkingMemoryTemplate,
|
|
27
30
|
},
|