@mastra/memory 0.14.3-alpha.0 → 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 +23 -0
  2. package/package.json +18 -5
  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 -159
  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,28 @@
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
+
13
+ ## 0.14.3-alpha.1
14
+
15
+ ### Patch Changes
16
+
17
+ - [#5816](https://github.com/mastra-ai/mastra/pull/5816) [`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
18
+ - Updated dependency [`zod-to-json-schema@^3.24.6` ↗︎](https://www.npmjs.com/package/zod-to-json-schema/v/3.24.6) (from `^3.24.5`, in `dependencies`)
19
+
20
+ - [#7219](https://github.com/mastra-ai/mastra/pull/7219) [`0ce418a`](https://github.com/mastra-ai/mastra/commit/0ce418a1ccaa5e125d4483a9651b635046152569) Thanks [@NikAiyer](https://github.com/NikAiyer)! - upgrade ai v5 versions to latest for core and memory
21
+
22
+ - 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)]:
23
+ - @mastra/core@0.15.3-alpha.4
24
+ - @mastra/schema-compat@0.11.2-alpha.1
25
+
3
26
  ## 0.14.3-alpha.0
4
27
 
5
28
  ### Patch Changes
package/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "@mastra/memory",
3
- "version": "0.14.3-alpha.0",
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": {
@@ -34,7 +38,7 @@
34
38
  "dependencies": {
35
39
  "@upstash/redis": "^1.35.3",
36
40
  "ai": "^4.3.19",
37
- "ai-v5": "npm:ai@5.0.15",
41
+ "ai-v5": "npm:ai@5.0.28",
38
42
  "js-tiktoken": "^1.0.20",
39
43
  "json-schema": "^0.4.0",
40
44
  "pg": "^8.16.3",
@@ -43,8 +47,8 @@
43
47
  "redis": "^5.8.2",
44
48
  "async-mutex": "^0.5.0",
45
49
  "xxhash-wasm": "^1.1.0",
46
- "zod-to-json-schema": "^3.24.5",
47
- "@mastra/schema-compat": "0.11.2-alpha.0"
50
+ "zod-to-json-schema": "^3.24.6",
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.1"
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.0 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.0 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,159 +0,0 @@
1
- # @mastra/memory-integration-tests-v5
2
-
3
- ## 0.1.6-alpha.0
4
-
5
- ### Patch Changes
6
-
7
- - 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)]:
8
- - @mastra/core@0.15.3-alpha.1
9
- - @mastra/memory@0.14.3-alpha.0
10
-
11
- ## 0.1.5
12
-
13
- ### Patch Changes
14
-
15
- - [`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdpes for @mastra/core
16
-
17
- - Updated dependencies [[`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430)]:
18
- - @mastra/fastembed@0.10.4
19
- - @mastra/memory@0.14.2
20
- - @mastra/libsql@0.13.7
21
- - @mastra/core@0.15.2
22
-
23
- ## 0.1.4
24
-
25
- ### Patch Changes
26
-
27
- - [`95b2aa9`](https://github.com/mastra-ai/mastra/commit/95b2aa908230919e67efcac0d69005a2d5745298) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdeps @mastra/core
28
-
29
- - Updated dependencies [[`95b2aa9`](https://github.com/mastra-ai/mastra/commit/95b2aa908230919e67efcac0d69005a2d5745298)]:
30
- - @mastra/memory@0.14.1
31
- - @mastra/libsql@0.13.6
32
- - @mastra/core@0.15.1
33
-
34
- ## 0.1.3
35
-
36
- ### Patch Changes
37
-
38
- - 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)]:
39
- - @mastra/core@0.15.0
40
- - @mastra/memory@0.14.0
41
- - @mastra/libsql@0.13.5
42
-
43
- ## 0.1.3-alpha.3
44
-
45
- ### Patch Changes
46
-
47
- - Updated dependencies [[`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c)]:
48
- - @mastra/memory@0.14.0-alpha.3
49
- - @mastra/core@0.15.0-alpha.4
50
-
51
- ## 0.1.3-alpha.2
52
-
53
- ### Patch Changes
54
-
55
- - Updated dependencies [[`da58ccc`](https://github.com/mastra-ai/mastra/commit/da58ccc1f2ac33da0cb97b00443fc6208b45bdec)]:
56
- - @mastra/memory@0.14.0-alpha.2
57
- - @mastra/core@0.15.0-alpha.3
58
-
59
- ## 0.1.3-alpha.1
60
-
61
- ### Patch Changes
62
-
63
- - 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)]:
64
- - @mastra/core@0.14.2-alpha.1
65
- - @mastra/memory@0.13.2-alpha.1
66
- - @mastra/libsql@0.13.5-alpha.0
67
-
68
- ## 0.1.3-alpha.0
69
-
70
- ### Patch Changes
71
-
72
- - 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)]:
73
- - @mastra/core@0.14.2-alpha.0
74
- - @mastra/memory@0.13.2-alpha.0
75
-
76
- ## 0.1.2
77
-
78
- ### Patch Changes
79
-
80
- - 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)]:
81
- - @mastra/core@0.14.1
82
- - @mastra/fastembed@0.10.3
83
- - @mastra/libsql@0.13.4
84
- - @mastra/memory@0.13.1
85
-
86
- ## 0.1.2-alpha.0
87
-
88
- ### Patch Changes
89
-
90
- - 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)]:
91
- - @mastra/core@0.14.1-alpha.0
92
- - @mastra/fastembed@0.10.3-alpha.0
93
- - @mastra/libsql@0.13.4-alpha.0
94
- - @mastra/memory@0.13.1-alpha.0
95
-
96
- ## 0.1.1
97
-
98
- ### Patch Changes
99
-
100
- - 03997ae: Update peerdeps
101
- - Updated dependencies [8a41506]
102
- - Updated dependencies [227c7e6]
103
- - Updated dependencies [12cae67]
104
- - Updated dependencies [fd3a3eb]
105
- - Updated dependencies [6faaee5]
106
- - Updated dependencies [4232b14]
107
- - Updated dependencies [a89de7e]
108
- - Updated dependencies [5a37d0c]
109
- - Updated dependencies [4bde0cb]
110
- - Updated dependencies [cf4f357]
111
- - Updated dependencies [03997ae]
112
- - Updated dependencies [03997ae]
113
- - Updated dependencies [ad888a2]
114
- - Updated dependencies [481751d]
115
- - Updated dependencies [2454423]
116
- - Updated dependencies [194e395]
117
- - Updated dependencies [a722c0b]
118
- - Updated dependencies [c30bca8]
119
- - Updated dependencies [d6e39da]
120
- - Updated dependencies [3b5fec7]
121
- - Updated dependencies [a8f129d]
122
- - @mastra/memory@0.13.0
123
- - @mastra/core@0.14.0
124
- - @mastra/libsql@0.13.3
125
-
126
- ## 0.1.1-alpha.1
127
-
128
- ### Patch Changes
129
-
130
- - 03997ae: Update peerdeps
131
- - Updated dependencies [03997ae]
132
- - Updated dependencies [03997ae]
133
- - @mastra/libsql@0.13.3-alpha.1
134
- - @mastra/memory@0.13.0-alpha.1
135
- - @mastra/core@0.14.0-alpha.7
136
-
137
- ## 0.1.1-alpha.0
138
-
139
- ### Patch Changes
140
-
141
- - Updated dependencies [8a41506]
142
- - Updated dependencies [0a7f675]
143
- - Updated dependencies [12cae67]
144
- - Updated dependencies [5a37d0c]
145
- - Updated dependencies [4bde0cb]
146
- - Updated dependencies [1a80071]
147
- - Updated dependencies [36a3be8]
148
- - Updated dependencies [361757b]
149
- - Updated dependencies [2bb9955]
150
- - Updated dependencies [2454423]
151
- - Updated dependencies [a44d91e]
152
- - Updated dependencies [dfb91e9]
153
- - Updated dependencies [a741dde]
154
- - Updated dependencies [e2ed127]
155
- - Updated dependencies [7cb3fc0]
156
- - Updated dependencies [195eabb]
157
- - Updated dependencies [b78b95b]
158
- - @mastra/memory@0.12.3-alpha.0
159
- - @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.3.4_@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.3.4_@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.3.4_@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.3.4_@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.3.4_@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.3.4_@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.3.4_@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.3.4_@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.9_@vitest+ui@3.2.3_jiti@2.4.2_jsdom@_1fa9bcbc4e1992fa15d4041825cc914c/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.9_@vitest+ui@3.2.3_jiti@2.4.2_jsdom@_1fa9bcbc4e1992fa15d4041825cc914c/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.9_@vitest+ui@3.2.3_jiti@2.4.2_jsdom@_1fa9bcbc4e1992fa15d4041825cc914c/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.9_@vitest+ui@3.2.3_jiti@2.4.2_jsdom@_1fa9bcbc4e1992fa15d4041825cc914c/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.0",
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.24.3"
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
- }