@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.
@@ -1,29 +1,29 @@
1
1
 
2
- > @mastra/memory@0.3.2-alpha.0 build /home/runner/work/mastra/mastra/packages/memory
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.0 check /home/runner/work/mastra/mastra/packages/memory
6
+ > @mastra/memory@0.3.2-alpha.3 check /home/runner/work/mastra/mastra/packages/memory
7
7
  > tsc --noEmit
8
8
 
9
9
  CLI Building entry: src/index.ts, src/processors/index.ts
10
10
  CLI Using tsconfig: tsconfig.json
11
11
  CLI tsup v8.4.0
12
12
  TSC Build start
13
- TSC ⚡️ Build success in 9438ms
13
+ TSC ⚡️ Build success in 10325ms
14
14
  DTS Build start
15
15
  CLI Target: es2022
16
16
  Analysis will use the bundled TypeScript version 5.8.3
17
17
  Writing package typings: /home/runner/work/mastra/mastra/packages/memory/dist/_tsup-dts-rollup.d.ts
18
18
  Analysis will use the bundled TypeScript version 5.8.3
19
19
  Writing package typings: /home/runner/work/mastra/mastra/packages/memory/dist/_tsup-dts-rollup.d.cts
20
- DTS ⚡️ Build success in 10484ms
20
+ DTS ⚡️ Build success in 12246ms
21
21
  CLI Cleaning output folder
22
22
  ESM Build start
23
23
  CJS Build start
24
- CJS dist/processors/index.cjs 5.59 KB
25
- CJS dist/index.cjs 18.17 KB
26
- CJS ⚡️ Build success in 866ms
27
24
  ESM dist/processors/index.js 5.38 KB
28
- ESM dist/index.js 17.99 KB
29
- ESM ⚡️ Build success in 867ms
25
+ ESM dist/index.js 18.27 KB
26
+ ESM ⚡️ Build success in 826ms
27
+ CJS dist/index.cjs 18.45 KB
28
+ CJS dist/processors/index.cjs 5.59 KB
29
+ CJS ⚡️ 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.0",
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.0"
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
  },