@mastra/memory 0.14.3-alpha.1 → 0.14.3-alpha.2

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/package.json +16 -3
  3. package/.turbo/turbo-build.log +0 -8
  4. package/eslint.config.js +0 -12
  5. package/integration-tests-v5/.env.test +0 -5
  6. package/integration-tests-v5/CHANGELOG.md +0 -175
  7. package/integration-tests-v5/docker-compose.yml +0 -39
  8. package/integration-tests-v5/node_modules/.bin/next +0 -21
  9. package/integration-tests-v5/node_modules/.bin/tsc +0 -21
  10. package/integration-tests-v5/node_modules/.bin/tsserver +0 -21
  11. package/integration-tests-v5/node_modules/.bin/vitest +0 -21
  12. package/integration-tests-v5/package.json +0 -43
  13. package/integration-tests-v5/src/agent-memory.test.ts +0 -621
  14. package/integration-tests-v5/src/mastra/agents/weather.ts +0 -75
  15. package/integration-tests-v5/src/mastra/index.ts +0 -13
  16. package/integration-tests-v5/src/mastra/tools/weather.ts +0 -24
  17. package/integration-tests-v5/src/processors.test.ts +0 -604
  18. package/integration-tests-v5/src/streaming-memory.test.ts +0 -367
  19. package/integration-tests-v5/src/test-utils.ts +0 -147
  20. package/integration-tests-v5/src/working-memory.test.ts +0 -1064
  21. package/integration-tests-v5/tsconfig.json +0 -13
  22. package/integration-tests-v5/vitest.config.ts +0 -18
  23. package/src/index.ts +0 -1040
  24. package/src/processors/index.test.ts +0 -246
  25. package/src/processors/index.ts +0 -2
  26. package/src/processors/token-limiter.ts +0 -159
  27. package/src/processors/tool-call-filter.ts +0 -77
  28. package/src/tools/working-memory.ts +0 -154
  29. package/tsconfig.build.json +0 -9
  30. package/tsconfig.json +0 -5
  31. package/tsup.config.ts +0 -17
  32. package/vitest.config.ts +0 -11
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @mastra/memory
2
2
 
3
+ ## 0.14.3-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#7343](https://github.com/mastra-ai/mastra/pull/7343) [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e) Thanks [@LekoArts](https://github.com/LekoArts)! - Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
8
+
9
+ - Updated dependencies [[`85ef90b`](https://github.com/mastra-ai/mastra/commit/85ef90bb2cd4ae4df855c7ac175f7d392c55c1bf), [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e)]:
10
+ - @mastra/core@0.15.3-alpha.5
11
+ - @mastra/schema-compat@0.11.2-alpha.2
12
+
3
13
  ## 0.14.3-alpha.1
4
14
 
5
15
  ### Patch Changes
package/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "@mastra/memory",
3
- "version": "0.14.3-alpha.1",
3
+ "version": "0.14.3-alpha.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
+ "files": [
9
+ "dist",
10
+ "CHANGELOG.md"
11
+ ],
8
12
  "exports": {
9
13
  ".": {
10
14
  "import": {
@@ -44,7 +48,7 @@
44
48
  "async-mutex": "^0.5.0",
45
49
  "xxhash-wasm": "^1.1.0",
46
50
  "zod-to-json-schema": "^3.24.6",
47
- "@mastra/schema-compat": "0.11.2-alpha.1"
51
+ "@mastra/schema-compat": "0.11.2-alpha.2"
48
52
  },
49
53
  "devDependencies": {
50
54
  "@ai-sdk/openai": "^1.3.24",
@@ -59,12 +63,21 @@
59
63
  "vitest": "^3.2.4",
60
64
  "@internal/lint": "0.0.34",
61
65
  "@internal/types-builder": "0.0.9",
62
- "@mastra/core": "0.15.3-alpha.4"
66
+ "@mastra/core": "0.15.3-alpha.5"
63
67
  },
64
68
  "peerDependencies": {
65
69
  "@mastra/core": ">=0.15.2-0 <0.16.0-0",
66
70
  "zod": "^3.25.0 || ^4.0.0"
67
71
  },
72
+ "homepage": "https://mastra.ai",
73
+ "repository": {
74
+ "type": "git",
75
+ "url": "git+https://github.com/mastra-ai/mastra.git",
76
+ "directory": "packages/memory"
77
+ },
78
+ "bugs": {
79
+ "url": "https://github.com/mastra-ai/mastra/issues"
80
+ },
68
81
  "scripts": {
69
82
  "check": "tsc --noEmit",
70
83
  "build": "pnpm run check && tsup --silent --config tsup.config.ts",
@@ -1,8 +0,0 @@
1
-
2
- > @mastra/memory@0.14.3-alpha.1 build /home/runner/work/mastra/mastra/packages/memory
3
- > pnpm run check && tsup --silent --config tsup.config.ts
4
-
5
-
6
- > @mastra/memory@0.14.3-alpha.1 check /home/runner/work/mastra/mastra/packages/memory
7
- > tsc --noEmit
8
-
package/eslint.config.js DELETED
@@ -1,12 +0,0 @@
1
- import { createConfig } from '@internal/lint/eslint';
2
-
3
- const config = await createConfig();
4
-
5
- /** @type {import("eslint").Linter.Config[]} */
6
- export default [
7
- ...config,
8
- {
9
- files: ['integration-tests/**/*'],
10
- ...(await import('typescript-eslint')).configs.disableTypeChecked,
11
- },
12
- ];
@@ -1,5 +0,0 @@
1
- # PostgreSQL connection
2
- DB_URL=postgres://postgres:password@localhost:5434/mastra
3
-
4
- # OpenAI (for vector embeddings)
5
- # OPENAI_API_KEY=your_openai_api_key
@@ -1,175 +0,0 @@
1
- # @mastra/memory-integration-tests-v5
2
-
3
- ## 0.1.6-alpha.2
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [[`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715), [`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715), [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa), [`183dc95`](https://github.com/mastra-ai/mastra/commit/183dc95596f391b977bd1a2c050b8498dac74891), [`a1111e2`](https://github.com/mastra-ai/mastra/commit/a1111e24e705488adfe5e0a6f20c53bddf26cb22), [`61debef`](https://github.com/mastra-ai/mastra/commit/61debefd80ad3a7ed5737e19df6a23d40091689a), [`9beaeff`](https://github.com/mastra-ai/mastra/commit/9beaeffa4a97b1d5fd01a7f8af8708b16067f67c), [`9eee594`](https://github.com/mastra-ai/mastra/commit/9eee594e35e0ca2a650fcc33fa82009a142b9ed0), [`979912c`](https://github.com/mastra-ai/mastra/commit/979912cfd180aad53287cda08af771df26454e2c), [`7dcf4c0`](https://github.com/mastra-ai/mastra/commit/7dcf4c04f44d9345b1f8bc5d41eae3f11ac61611), [`ad78bfc`](https://github.com/mastra-ai/mastra/commit/ad78bfc4ea6a1fff140432bf4f638e01af7af668), [`0ce418a`](https://github.com/mastra-ai/mastra/commit/0ce418a1ccaa5e125d4483a9651b635046152569), [`8387952`](https://github.com/mastra-ai/mastra/commit/838795227b4edf758c84a2adf6f7fba206c27719), [`5eca5d2`](https://github.com/mastra-ai/mastra/commit/5eca5d2655788863ea0442a46c9ef5d3c6dbe0a8)]:
8
- - @mastra/core@0.15.3-alpha.4
9
- - @mastra/memory@0.14.3-alpha.1
10
-
11
- ## 0.1.6-alpha.1
12
-
13
- ### Patch Changes
14
-
15
- - Updated dependencies [[`aedbbfa`](https://github.com/mastra-ai/mastra/commit/aedbbfa064124ddde039111f12629daebfea7e48), [`f643c65`](https://github.com/mastra-ai/mastra/commit/f643c651bdaf57c2343cf9dbfc499010495701fb), [`fef7375`](https://github.com/mastra-ai/mastra/commit/fef737534574f41b432a7361a285f776c3bac42b), [`e3d8fea`](https://github.com/mastra-ai/mastra/commit/e3d8feaacfb8b5c5c03c13604cc06ea2873d45fe), [`dbc51ef`](https://github.com/mastra-ai/mastra/commit/dbc51ef2e42604117ab90917fc284a560647a61f), [`3412597`](https://github.com/mastra-ai/mastra/commit/3412597a6644c0b6bf3236d6e319ed1450c5bae8)]:
16
- - @mastra/core@0.15.3-alpha.3
17
- - @mastra/libsql@0.13.8-alpha.0
18
-
19
- ## 0.1.6-alpha.0
20
-
21
- ### Patch Changes
22
-
23
- - Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4)]:
24
- - @mastra/core@0.15.3-alpha.1
25
- - @mastra/memory@0.14.3-alpha.0
26
-
27
- ## 0.1.5
28
-
29
- ### Patch Changes
30
-
31
- - [`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdpes for @mastra/core
32
-
33
- - Updated dependencies [[`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430)]:
34
- - @mastra/fastembed@0.10.4
35
- - @mastra/memory@0.14.2
36
- - @mastra/libsql@0.13.7
37
- - @mastra/core@0.15.2
38
-
39
- ## 0.1.4
40
-
41
- ### Patch Changes
42
-
43
- - [`95b2aa9`](https://github.com/mastra-ai/mastra/commit/95b2aa908230919e67efcac0d69005a2d5745298) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdeps @mastra/core
44
-
45
- - Updated dependencies [[`95b2aa9`](https://github.com/mastra-ai/mastra/commit/95b2aa908230919e67efcac0d69005a2d5745298)]:
46
- - @mastra/memory@0.14.1
47
- - @mastra/libsql@0.13.6
48
- - @mastra/core@0.15.1
49
-
50
- ## 0.1.3
51
-
52
- ### Patch Changes
53
-
54
- - Updated dependencies [[`0778757`](https://github.com/mastra-ai/mastra/commit/07787570e4addbd501522037bd2542c3d9e26822), [`943a7f3`](https://github.com/mastra-ai/mastra/commit/943a7f3dbc6a8ab3f9b7bc7c8a1c5b319c3d7f56), [`bf504a8`](https://github.com/mastra-ai/mastra/commit/bf504a833051f6f321d832cc7d631f3cb86d657b), [`24d9ee3`](https://github.com/mastra-ai/mastra/commit/24d9ee3db1c09d15f27a5d0971b102abcfcf7dfd), [`da58ccc`](https://github.com/mastra-ai/mastra/commit/da58ccc1f2ac33da0cb97b00443fc6208b45bdec), [`be49354`](https://github.com/mastra-ai/mastra/commit/be493546dca540101923ec700feb31f9a13939f2), [`d591ab3`](https://github.com/mastra-ai/mastra/commit/d591ab3ecc985c1870c0db347f8d7a20f7360536), [`ba82abe`](https://github.com/mastra-ai/mastra/commit/ba82abe76e869316bb5a9c95e8ea3946f3436fae), [`727f7e5`](https://github.com/mastra-ai/mastra/commit/727f7e5086e62e0dfe3356fb6dcd8bcb420af246), [`e6f5046`](https://github.com/mastra-ai/mastra/commit/e6f50467aff317e67e8bd74c485c3fbe2a5a6db1), [`82d9f64`](https://github.com/mastra-ai/mastra/commit/82d9f647fbe4f0177320e7c05073fce88599aa95), [`2e58325`](https://github.com/mastra-ai/mastra/commit/2e58325beb170f5b92f856e27d915cd26917e5e6), [`0594a70`](https://github.com/mastra-ai/mastra/commit/0594a70ac948d306c7f38765b171c9535e6c78d4), [`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c), [`4189486`](https://github.com/mastra-ai/mastra/commit/4189486c6718fda78347bdf4ce4d3fc33b2236e1), [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01), [`704173b`](https://github.com/mastra-ai/mastra/commit/704173b0d047e8d4cf29872464f383afc2f0c054), [`9613558`](https://github.com/mastra-ai/mastra/commit/9613558e6475f4710e05d1be7553a32ee7bddc20)]:
55
- - @mastra/core@0.15.0
56
- - @mastra/memory@0.14.0
57
- - @mastra/libsql@0.13.5
58
-
59
- ## 0.1.3-alpha.3
60
-
61
- ### Patch Changes
62
-
63
- - Updated dependencies [[`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c)]:
64
- - @mastra/memory@0.14.0-alpha.3
65
- - @mastra/core@0.15.0-alpha.4
66
-
67
- ## 0.1.3-alpha.2
68
-
69
- ### Patch Changes
70
-
71
- - Updated dependencies [[`da58ccc`](https://github.com/mastra-ai/mastra/commit/da58ccc1f2ac33da0cb97b00443fc6208b45bdec)]:
72
- - @mastra/memory@0.14.0-alpha.2
73
- - @mastra/core@0.15.0-alpha.3
74
-
75
- ## 0.1.3-alpha.1
76
-
77
- ### Patch Changes
78
-
79
- - Updated dependencies [[`943a7f3`](https://github.com/mastra-ai/mastra/commit/943a7f3dbc6a8ab3f9b7bc7c8a1c5b319c3d7f56), [`24d9ee3`](https://github.com/mastra-ai/mastra/commit/24d9ee3db1c09d15f27a5d0971b102abcfcf7dfd), [`be49354`](https://github.com/mastra-ai/mastra/commit/be493546dca540101923ec700feb31f9a13939f2), [`d591ab3`](https://github.com/mastra-ai/mastra/commit/d591ab3ecc985c1870c0db347f8d7a20f7360536), [`ba82abe`](https://github.com/mastra-ai/mastra/commit/ba82abe76e869316bb5a9c95e8ea3946f3436fae), [`727f7e5`](https://github.com/mastra-ai/mastra/commit/727f7e5086e62e0dfe3356fb6dcd8bcb420af246), [`82d9f64`](https://github.com/mastra-ai/mastra/commit/82d9f647fbe4f0177320e7c05073fce88599aa95), [`0594a70`](https://github.com/mastra-ai/mastra/commit/0594a70ac948d306c7f38765b171c9535e6c78d4), [`4189486`](https://github.com/mastra-ai/mastra/commit/4189486c6718fda78347bdf4ce4d3fc33b2236e1), [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01), [`704173b`](https://github.com/mastra-ai/mastra/commit/704173b0d047e8d4cf29872464f383afc2f0c054)]:
80
- - @mastra/core@0.14.2-alpha.1
81
- - @mastra/memory@0.13.2-alpha.1
82
- - @mastra/libsql@0.13.5-alpha.0
83
-
84
- ## 0.1.3-alpha.0
85
-
86
- ### Patch Changes
87
-
88
- - Updated dependencies [[`0778757`](https://github.com/mastra-ai/mastra/commit/07787570e4addbd501522037bd2542c3d9e26822), [`bf504a8`](https://github.com/mastra-ai/mastra/commit/bf504a833051f6f321d832cc7d631f3cb86d657b), [`e6f5046`](https://github.com/mastra-ai/mastra/commit/e6f50467aff317e67e8bd74c485c3fbe2a5a6db1), [`9613558`](https://github.com/mastra-ai/mastra/commit/9613558e6475f4710e05d1be7553a32ee7bddc20)]:
89
- - @mastra/core@0.14.2-alpha.0
90
- - @mastra/memory@0.13.2-alpha.0
91
-
92
- ## 0.1.2
93
-
94
- ### Patch Changes
95
-
96
- - Updated dependencies [[`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27), [`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27), [`64ad21f`](https://github.com/mastra-ai/mastra/commit/64ad21ff4f58ce8b344d163d800d9e4f84d82f6f), [`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27), [`c4f2605`](https://github.com/mastra-ai/mastra/commit/c4f2605fa00e796a26c6f5fc3cf8f5552f77d617), [`0f00e17`](https://github.com/mastra-ai/mastra/commit/0f00e172953ccdccadb35ed3d70f5e4d89115869), [`217cd7a`](https://github.com/mastra-ai/mastra/commit/217cd7a4ce171e9a575c41bb8c83300f4db03236), [`a5a23d9`](https://github.com/mastra-ai/mastra/commit/a5a23d981920d458dc6078919992a5338931ef02)]:
97
- - @mastra/core@0.14.1
98
- - @mastra/fastembed@0.10.3
99
- - @mastra/libsql@0.13.4
100
- - @mastra/memory@0.13.1
101
-
102
- ## 0.1.2-alpha.0
103
-
104
- ### Patch Changes
105
-
106
- - Updated dependencies [[`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27), [`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27), [`64ad21f`](https://github.com/mastra-ai/mastra/commit/64ad21ff4f58ce8b344d163d800d9e4f84d82f6f), [`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27), [`c4f2605`](https://github.com/mastra-ai/mastra/commit/c4f2605fa00e796a26c6f5fc3cf8f5552f77d617), [`a5a23d9`](https://github.com/mastra-ai/mastra/commit/a5a23d981920d458dc6078919992a5338931ef02)]:
107
- - @mastra/core@0.14.1-alpha.0
108
- - @mastra/fastembed@0.10.3-alpha.0
109
- - @mastra/libsql@0.13.4-alpha.0
110
- - @mastra/memory@0.13.1-alpha.0
111
-
112
- ## 0.1.1
113
-
114
- ### Patch Changes
115
-
116
- - 03997ae: Update peerdeps
117
- - Updated dependencies [8a41506]
118
- - Updated dependencies [227c7e6]
119
- - Updated dependencies [12cae67]
120
- - Updated dependencies [fd3a3eb]
121
- - Updated dependencies [6faaee5]
122
- - Updated dependencies [4232b14]
123
- - Updated dependencies [a89de7e]
124
- - Updated dependencies [5a37d0c]
125
- - Updated dependencies [4bde0cb]
126
- - Updated dependencies [cf4f357]
127
- - Updated dependencies [03997ae]
128
- - Updated dependencies [03997ae]
129
- - Updated dependencies [ad888a2]
130
- - Updated dependencies [481751d]
131
- - Updated dependencies [2454423]
132
- - Updated dependencies [194e395]
133
- - Updated dependencies [a722c0b]
134
- - Updated dependencies [c30bca8]
135
- - Updated dependencies [d6e39da]
136
- - Updated dependencies [3b5fec7]
137
- - Updated dependencies [a8f129d]
138
- - @mastra/memory@0.13.0
139
- - @mastra/core@0.14.0
140
- - @mastra/libsql@0.13.3
141
-
142
- ## 0.1.1-alpha.1
143
-
144
- ### Patch Changes
145
-
146
- - 03997ae: Update peerdeps
147
- - Updated dependencies [03997ae]
148
- - Updated dependencies [03997ae]
149
- - @mastra/libsql@0.13.3-alpha.1
150
- - @mastra/memory@0.13.0-alpha.1
151
- - @mastra/core@0.14.0-alpha.7
152
-
153
- ## 0.1.1-alpha.0
154
-
155
- ### Patch Changes
156
-
157
- - Updated dependencies [8a41506]
158
- - Updated dependencies [0a7f675]
159
- - Updated dependencies [12cae67]
160
- - Updated dependencies [5a37d0c]
161
- - Updated dependencies [4bde0cb]
162
- - Updated dependencies [1a80071]
163
- - Updated dependencies [36a3be8]
164
- - Updated dependencies [361757b]
165
- - Updated dependencies [2bb9955]
166
- - Updated dependencies [2454423]
167
- - Updated dependencies [a44d91e]
168
- - Updated dependencies [dfb91e9]
169
- - Updated dependencies [a741dde]
170
- - Updated dependencies [e2ed127]
171
- - Updated dependencies [7cb3fc0]
172
- - Updated dependencies [195eabb]
173
- - Updated dependencies [b78b95b]
174
- - @mastra/memory@0.12.3-alpha.0
175
- - @mastra/core@0.14.0-alpha.4
@@ -1,39 +0,0 @@
1
- services:
2
- postgres:
3
- image: ankane/pgvector:v0.5.1
4
- ports:
5
- - '5434:5432'
6
- environment:
7
- POSTGRES_USER: postgres
8
- POSTGRES_PASSWORD: password
9
- POSTGRES_DB: mastra
10
- volumes:
11
- - pg_data:/var/lib/postgresql/data
12
- healthcheck:
13
- test: ['CMD-SHELL', 'pg_isready -U postgres']
14
- interval: 5s
15
- timeout: 5s
16
- retries: 5
17
- redis:
18
- image: redis:7-alpine
19
- ports:
20
- - '6370:6379'
21
- command: redis-server --requirepass redis_password
22
- healthcheck:
23
- test: ['CMD', 'redis-cli', '--no-auth-warning', '-a', 'redis_password', 'ping']
24
- interval: 5s
25
- timeout: 5s
26
- retries: 5
27
- serverless-redis-http:
28
- image: hiett/serverless-redis-http:latest
29
- ports:
30
- - '8079:80'
31
- environment:
32
- SRH_MODE: env
33
- SRH_TOKEN: test_token
34
- SRH_CONNECTION_STRING: 'redis://:redis_password@redis:6379'
35
- depends_on:
36
- redis:
37
- condition: service_healthy
38
- volumes:
39
- pg_data:
@@ -1,21 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/home/runner/work/mastra/mastra/node_modules/.pnpm/next@15.4.7_@opentelemetry+api@1.9.0_@playwright+test@1.53.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/bin/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/next@15.4.7_@opentelemetry+api@1.9.0_@playwright+test@1.53.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/next@15.4.7_@opentelemetry+api@1.9.0_@playwright+test@1.53.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/next@15.4.7_@opentelemetry+api@1.9.0_@playwright+test@1.53.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/node_modules"
14
- else
15
- export NODE_PATH="/home/runner/work/mastra/mastra/node_modules/.pnpm/next@15.4.7_@opentelemetry+api@1.9.0_@playwright+test@1.53.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/bin/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/next@15.4.7_@opentelemetry+api@1.9.0_@playwright+test@1.53.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/next@15.4.7_@opentelemetry+api@1.9.0_@playwright+test@1.53.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/next@15.4.7_@opentelemetry+api@1.9.0_@playwright+test@1.53.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/node_modules:$NODE_PATH"
16
- fi
17
- if [ -x "$basedir/node" ]; then
18
- exec "$basedir/node" "$basedir/../next/dist/bin/next" "$@"
19
- else
20
- exec node "$basedir/../next/dist/bin/next" "$@"
21
- fi
@@ -1,21 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/home/runner/work/mastra/mastra/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/typescript@5.8.3/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/node_modules"
14
- else
15
- export NODE_PATH="/home/runner/work/mastra/mastra/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/typescript@5.8.3/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/node_modules:$NODE_PATH"
16
- fi
17
- if [ -x "$basedir/node" ]; then
18
- exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
19
- else
20
- exec node "$basedir/../typescript/bin/tsc" "$@"
21
- fi
@@ -1,21 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/home/runner/work/mastra/mastra/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/typescript@5.8.3/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/node_modules"
14
- else
15
- export NODE_PATH="/home/runner/work/mastra/mastra/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/typescript@5.8.3/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/node_modules:$NODE_PATH"
16
- fi
17
- if [ -x "$basedir/node" ]; then
18
- exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@"
19
- else
20
- exec node "$basedir/../typescript/bin/tsserver" "$@"
21
- fi
@@ -1,21 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/home/runner/work/mastra/mastra/node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.19.11_@vitest+ui@3.2.3_jiti@2.4.2_jsdom_70e728ef477f1e37b982af437efd45b2/node_modules/vitest/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.19.11_@vitest+ui@3.2.3_jiti@2.4.2_jsdom_70e728ef477f1e37b982af437efd45b2/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/node_modules"
14
- else
15
- export NODE_PATH="/home/runner/work/mastra/mastra/node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.19.11_@vitest+ui@3.2.3_jiti@2.4.2_jsdom_70e728ef477f1e37b982af437efd45b2/node_modules/vitest/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.19.11_@vitest+ui@3.2.3_jiti@2.4.2_jsdom_70e728ef477f1e37b982af437efd45b2/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/node_modules:$NODE_PATH"
16
- fi
17
- if [ -x "$basedir/node" ]; then
18
- exec "$basedir/node" "$basedir/../vitest/vitest.mjs" "$@"
19
- else
20
- exec node "$basedir/../vitest/vitest.mjs" "$@"
21
- fi
@@ -1,43 +0,0 @@
1
- {
2
- "name": "@mastra/memory-integration-tests-v5",
3
- "private": true,
4
- "version": "0.1.6-alpha.2",
5
- "scripts": {
6
- "test": "pnpm test:streaming && pnpm test:working-memory && pnpm test:agent-memory && pnpm test:processors",
7
- "test:agent-memory": "vitest run ./src/agent-memory.test.ts",
8
- "test:libsql": "vitest run ./src/with-libsql-storage.test.ts",
9
- "test:streaming": "vitest run ./src/streaming-memory.test.ts",
10
- "test:working-memory": "vitest run ./src/working-memory.test.ts",
11
- "test:processors": "vitest run ./src/processors.test.ts",
12
- "dev": "mastra dev"
13
- },
14
- "dependencies": {
15
- "@mastra/fastembed": "workspace:*",
16
- "@mastra/libsql": "workspace:*",
17
- "@mastra/memory": "workspace:*",
18
- "dotenv": "^16.4.7",
19
- "json-schema": "^0.4.0",
20
- "zod": "^3.25.76"
21
- },
22
- "devDependencies": {
23
- "@ai-sdk/google": "^2.0.6",
24
- "@ai-sdk/openai": "^2.0.15",
25
- "@ai-sdk/react": "^2.0.15",
26
- "@faker-js/faker": "^9.6.0",
27
- "@mastra/core": "workspace:*",
28
- "@testing-library/react": "^16.2.0",
29
- "@types/json-schema": "^7.0.15",
30
- "@types/node": "^20.17.27",
31
- "ai": "^5.0.15",
32
- "jsdom": "^26.0.0",
33
- "mastra": "workspace:*",
34
- "next": "^15.2.4",
35
- "react": "^19.1.0",
36
- "react-dom": "^19.1.0",
37
- "typescript": "^5.8.2",
38
- "vitest": "^3.2.4"
39
- },
40
- "peerDependencies": {
41
- "@mastra/core": ">=0.10.7-0 <0.16.0-0"
42
- }
43
- }