@mastra/memory 0.3.2-alpha.1 → 0.3.2-alpha.4

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.1 build /home/runner/work/mastra/mastra/packages/memory
2
+ > @mastra/memory@0.3.2-alpha.4 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.1 check /home/runner/work/mastra/mastra/packages/memory
6
+ > @mastra/memory@0.3.2-alpha.4 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 10120ms
13
+ TSC ⚡️ Build success in 9679ms
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 10515ms
20
+ DTS ⚡️ Build success in 11051ms
21
21
  CLI Cleaning output folder
22
22
  ESM Build start
23
23
  CJS Build start
24
- CJS dist/index.cjs 18.17 KB
25
- CJS dist/processors/index.cjs 5.59 KB
26
- CJS ⚡️ Build success in 759ms
27
- ESM dist/index.js 17.99 KB
24
+ ESM dist/index.js 18.27 KB
28
25
  ESM dist/processors/index.js 5.38 KB
29
- ESM ⚡️ Build success in 759ms
26
+ ESM ⚡️ Build success in 831ms
27
+ CJS dist/index.cjs 18.45 KB
28
+ CJS dist/processors/index.cjs 5.59 KB
29
+ CJS ⚡️ Build success in 831ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @mastra/memory
2
2
 
3
+ ## 0.3.2-alpha.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [ccef9f9]
8
+ - Updated dependencies [51e6923]
9
+ - @mastra/core@0.9.2-alpha.4
10
+
11
+ ## 0.3.2-alpha.3
12
+
13
+ ### Patch Changes
14
+
15
+ - 17826a9: Added a breaking change warning about deprecated working memory "use: 'text-stream'" which is being fully replaced by "use: 'tool-call'"
16
+ - Updated dependencies [967b41c]
17
+ - Updated dependencies [4155f47]
18
+ - Updated dependencies [17826a9]
19
+ - @mastra/core@0.9.2-alpha.3
20
+
21
+ ## 0.3.2-alpha.2
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [26738f4]
26
+ - @mastra/core@0.9.2-alpha.2
27
+
3
28
  ## 0.3.2-alpha.1
4
29
 
5
30
  ### 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.1",
3
+ "version": "0.3.2-alpha.4",
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.1"
44
+ "@mastra/core": "^0.9.2-alpha.4"
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
  },