@mastra/lance 0.0.0-support-d1-client-20250701191943 → 0.0.0-suspendRuntimeContextTypeFix-20250930142630

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 (46) hide show
  1. package/CHANGELOG.md +435 -17
  2. package/LICENSE.md +11 -42
  3. package/README.md +3 -3
  4. package/dist/index.cjs +1995 -849
  5. package/dist/index.cjs.map +1 -0
  6. package/dist/index.d.ts +3 -2
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +1996 -850
  9. package/dist/index.js.map +1 -0
  10. package/dist/storage/domains/legacy-evals/index.d.ts +25 -0
  11. package/dist/storage/domains/legacy-evals/index.d.ts.map +1 -0
  12. package/dist/storage/domains/memory/index.d.ts +103 -0
  13. package/dist/storage/domains/memory/index.d.ts.map +1 -0
  14. package/dist/storage/domains/operations/index.d.ts +40 -0
  15. package/dist/storage/domains/operations/index.d.ts.map +1 -0
  16. package/dist/storage/domains/scores/index.d.ts +50 -0
  17. package/dist/storage/domains/scores/index.d.ts.map +1 -0
  18. package/dist/storage/domains/traces/index.d.ts +34 -0
  19. package/dist/storage/domains/traces/index.d.ts.map +1 -0
  20. package/dist/storage/domains/utils.d.ts +10 -0
  21. package/dist/storage/domains/utils.d.ts.map +1 -0
  22. package/dist/storage/domains/workflows/index.d.ts +57 -0
  23. package/dist/storage/domains/workflows/index.d.ts.map +1 -0
  24. package/dist/storage/index.d.ts +272 -0
  25. package/dist/storage/index.d.ts.map +1 -0
  26. package/dist/vector/filter.d.ts +41 -0
  27. package/dist/vector/filter.d.ts.map +1 -0
  28. package/dist/vector/index.d.ts +85 -0
  29. package/dist/vector/index.d.ts.map +1 -0
  30. package/dist/vector/types.d.ts +15 -0
  31. package/dist/vector/types.d.ts.map +1 -0
  32. package/package.json +24 -10
  33. package/dist/_tsup-dts-rollup.d.cts +0 -409
  34. package/dist/_tsup-dts-rollup.d.ts +0 -409
  35. package/dist/index.d.cts +0 -2
  36. package/eslint.config.js +0 -6
  37. package/src/index.ts +0 -2
  38. package/src/storage/index.test.ts +0 -1336
  39. package/src/storage/index.ts +0 -1447
  40. package/src/vector/filter.test.ts +0 -295
  41. package/src/vector/filter.ts +0 -443
  42. package/src/vector/index.test.ts +0 -1493
  43. package/src/vector/index.ts +0 -941
  44. package/src/vector/types.ts +0 -16
  45. package/tsconfig.json +0 -5
  46. package/vitest.config.ts +0 -11
package/CHANGELOG.md CHANGED
@@ -1,22 +1,440 @@
1
1
  # @mastra/lance
2
2
 
3
- ## 0.0.0-support-d1-client-20250701191943
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [9dda1ac]
8
- - Updated dependencies [7e801dd]
9
- - Updated dependencies [a606c75]
10
- - Updated dependencies [7aa70a4]
11
- - Updated dependencies [764f86a]
12
- - Updated dependencies [1760a1c]
13
- - Updated dependencies [038e5ae]
14
- - Updated dependencies [7dda16a]
15
- - Updated dependencies [4e809ad]
16
- - Updated dependencies [57929df]
17
- - Updated dependencies [b7852ed]
18
- - Updated dependencies [6320a61]
19
- - @mastra/core@0.0.0-support-d1-client-20250701191943
3
+ ## 0.0.0-suspendRuntimeContextTypeFix-20250930142630
4
+
5
+ ### Patch Changes
6
+
7
+ - Update peer deps ([#8154](https://github.com/mastra-ai/mastra/pull/8154))
8
+
9
+ - Lance db support to fetch scores by trace and span id ([#8154](https://github.com/mastra-ai/mastra/pull/8154))
10
+
11
+ - Updated dependencies [[`dc099b4`](https://github.com/mastra-ai/mastra/commit/dc099b40fb31147ba3f362f98d991892033c4c67), [`504438b`](https://github.com/mastra-ai/mastra/commit/504438b961bde211071186bba63a842c4e3db879), [`b342a68`](https://github.com/mastra-ai/mastra/commit/b342a68e1399cf1ece9ba11bda112db89d21118c), [`7fceb0a`](https://github.com/mastra-ai/mastra/commit/7fceb0a327d678e812f90f5387c5bc4f38bd039e), [`303a9c0`](https://github.com/mastra-ai/mastra/commit/303a9c0d7dd58795915979f06a0512359e4532fb), [`c7db3e0`](https://github.com/mastra-ai/mastra/commit/c7db3e057c4b2858a630a7c3f3d3aae571e3e5b7), [`370f8a6`](https://github.com/mastra-ai/mastra/commit/370f8a6480faec70fef18d72e5f7538f27004301), [`809eea0`](https://github.com/mastra-ai/mastra/commit/809eea092fa80c3f69b9eaf078d843b57fd2a88e), [`623ffaf`](https://github.com/mastra-ai/mastra/commit/623ffaf2d969e11e99a0224633cf7b5a0815c857), [`9fc1613`](https://github.com/mastra-ai/mastra/commit/9fc16136400186648880fd990119ac15f7c02ee4), [`61f62aa`](https://github.com/mastra-ai/mastra/commit/61f62aa31bc88fe4ddf8da6240dbcfbeb07358bd), [`db1891a`](https://github.com/mastra-ai/mastra/commit/db1891a4707443720b7cd8a260dc7e1d49b3609c), [`e8f379d`](https://github.com/mastra-ai/mastra/commit/e8f379d390efa264c4e0874f9ac0cf8839b07777), [`3e292ba`](https://github.com/mastra-ai/mastra/commit/3e292ba00837886d5d68a34cbc0d9b703c991883), [`418c136`](https://github.com/mastra-ai/mastra/commit/418c1366843d88e491bca3f87763899ce855ca29), [`c2a4919`](https://github.com/mastra-ai/mastra/commit/c2a4919ba6797d8bdb1509e02287496eef69303e), [`c84b7d0`](https://github.com/mastra-ai/mastra/commit/c84b7d093c4657772140cbfd2b15ef72f3315ed5)]:
12
+ - @mastra/core@0.0.0-suspendRuntimeContextTypeFix-20250930142630
13
+
14
+ ## 0.3.2
15
+
16
+ ### Patch Changes
17
+
18
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
19
+
20
+ - Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`a61f23f`](https://github.com/mastra-ai/mastra/commit/a61f23fbbca4b88b763d94f1d784c47895ed72d7), [`4b339b8`](https://github.com/mastra-ai/mastra/commit/4b339b8141c20d6a6d80583c7e8c5c05d8c19492), [`d1dc606`](https://github.com/mastra-ai/mastra/commit/d1dc6067b0557a71190b68d56ee15b48c26d2411), [`c45298a`](https://github.com/mastra-ai/mastra/commit/c45298a0a0791db35cf79f1199d77004da0704cb), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55), [`d3bd4d4`](https://github.com/mastra-ai/mastra/commit/d3bd4d482a685bbb67bfa89be91c90dca3fa71ad), [`c591dfc`](https://github.com/mastra-ai/mastra/commit/c591dfc1e600fae1dedffe239357d250e146378f), [`1920c5c`](https://github.com/mastra-ai/mastra/commit/1920c5c6d666f687785c73021196aa551e579e0d), [`b6a3b65`](https://github.com/mastra-ai/mastra/commit/b6a3b65d830fa0ca7754ad6481661d1f2c878f21), [`af3abb6`](https://github.com/mastra-ai/mastra/commit/af3abb6f7c7585d856e22d27f4e7d2ece2186b9a)]:
21
+ - @mastra/core@0.18.0
22
+
23
+ ## 0.3.2-alpha.0
24
+
25
+ ### Patch Changes
26
+
27
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
28
+
29
+ - Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55)]:
30
+ - @mastra/core@0.18.0-alpha.2
31
+
32
+ ## 0.3.1
33
+
34
+ ### Patch Changes
35
+
36
+ - clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
37
+
38
+ - Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
39
+
40
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
41
+
42
+ - Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`6047778`](https://github.com/mastra-ai/mastra/commit/6047778e501df460648f31decddf8e443f36e373), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`05c7abf`](https://github.com/mastra-ai/mastra/commit/05c7abfe105a015b7760c9bf33ff4419727502a0), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`aee4f00`](https://github.com/mastra-ai/mastra/commit/aee4f00e61e1a42e81a6d74ff149dbe69e32695a), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
43
+ - @mastra/core@0.17.0
44
+
45
+ ## 0.3.1-alpha.2
46
+
47
+ ### Patch Changes
48
+
49
+ - clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
50
+
51
+ - Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e)]:
52
+ - @mastra/core@0.17.0-alpha.6
53
+
54
+ ## 0.3.1-alpha.1
55
+
56
+ ### Patch Changes
57
+
58
+ - Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
59
+
60
+ - Updated dependencies [[`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
61
+ - @mastra/core@0.17.0-alpha.3
62
+
63
+ ## 0.3.1-alpha.0
64
+
65
+ ### Patch Changes
66
+
67
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
68
+
69
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
70
+ - @mastra/core@0.16.4-alpha.1
71
+
72
+ ## 0.3.0
73
+
74
+ ### Minor Changes
75
+
76
+ - 376913a: Update peerdeps of @mastra/core
77
+
78
+ ### Patch Changes
79
+
80
+ - 6f5eb7a: Throw if an empty or whitespace-only threadId is passed when getting messages
81
+ - Updated dependencies [8fbf79e]
82
+ - Updated dependencies [fd83526]
83
+ - Updated dependencies [d0b90ab]
84
+ - Updated dependencies [6f5eb7a]
85
+ - Updated dependencies [a01cf14]
86
+ - Updated dependencies [a9e50ee]
87
+ - Updated dependencies [5397eb4]
88
+ - Updated dependencies [c9f4e4a]
89
+ - Updated dependencies [0acbc80]
90
+ - @mastra/core@0.16.0
91
+
92
+ ## 0.3.0-alpha.1
93
+
94
+ ### Minor Changes
95
+
96
+ - 376913a: Update peerdeps of @mastra/core
97
+
98
+ ### Patch Changes
99
+
100
+ - Updated dependencies [8fbf79e]
101
+ - @mastra/core@0.16.0-alpha.1
102
+
103
+ ## 0.2.12-alpha.0
104
+
105
+ ### Patch Changes
106
+
107
+ - 6f5eb7a: Throw if an empty or whitespace-only threadId is passed when getting messages
108
+ - Updated dependencies [fd83526]
109
+ - Updated dependencies [d0b90ab]
110
+ - Updated dependencies [6f5eb7a]
111
+ - Updated dependencies [a01cf14]
112
+ - Updated dependencies [a9e50ee]
113
+ - Updated dependencies [5397eb4]
114
+ - Updated dependencies [c9f4e4a]
115
+ - Updated dependencies [0acbc80]
116
+ - @mastra/core@0.16.0-alpha.0
117
+
118
+ ## 0.2.11
119
+
120
+ ### Patch Changes
121
+
122
+ - de3cbc6: Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
123
+ - f0dfcac: updated core peerdep
124
+ - Updated dependencies [ab48c97]
125
+ - Updated dependencies [85ef90b]
126
+ - Updated dependencies [aedbbfa]
127
+ - Updated dependencies [ff89505]
128
+ - Updated dependencies [637f323]
129
+ - Updated dependencies [de3cbc6]
130
+ - Updated dependencies [c19bcf7]
131
+ - Updated dependencies [4474d04]
132
+ - Updated dependencies [183dc95]
133
+ - Updated dependencies [a1111e2]
134
+ - Updated dependencies [b42a961]
135
+ - Updated dependencies [61debef]
136
+ - Updated dependencies [9beaeff]
137
+ - Updated dependencies [29de0e1]
138
+ - Updated dependencies [f643c65]
139
+ - Updated dependencies [00c74e7]
140
+ - Updated dependencies [fef7375]
141
+ - Updated dependencies [e3d8fea]
142
+ - Updated dependencies [45e4d39]
143
+ - Updated dependencies [9eee594]
144
+ - Updated dependencies [7149d8d]
145
+ - Updated dependencies [822c2e8]
146
+ - Updated dependencies [979912c]
147
+ - Updated dependencies [7dcf4c0]
148
+ - Updated dependencies [4106a58]
149
+ - Updated dependencies [ad78bfc]
150
+ - Updated dependencies [0302f50]
151
+ - Updated dependencies [6ac697e]
152
+ - Updated dependencies [74db265]
153
+ - Updated dependencies [0ce418a]
154
+ - Updated dependencies [af90672]
155
+ - Updated dependencies [8387952]
156
+ - Updated dependencies [7f3b8da]
157
+ - Updated dependencies [905352b]
158
+ - Updated dependencies [599d04c]
159
+ - Updated dependencies [56041d0]
160
+ - Updated dependencies [3412597]
161
+ - Updated dependencies [5eca5d2]
162
+ - Updated dependencies [f2cda47]
163
+ - Updated dependencies [5de1555]
164
+ - Updated dependencies [cfd377a]
165
+ - Updated dependencies [1ed5a3e]
166
+ - @mastra/core@0.15.3
167
+
168
+ ## 0.2.11-alpha.1
169
+
170
+ ### Patch Changes
171
+
172
+ - [#7394](https://github.com/mastra-ai/mastra/pull/7394) [`f0dfcac`](https://github.com/mastra-ai/mastra/commit/f0dfcac4458bdf789b975e2d63e984f5d1e7c4d3) Thanks [@NikAiyer](https://github.com/NikAiyer)! - updated core peerdep
173
+
174
+ - Updated dependencies [[`7149d8d`](https://github.com/mastra-ai/mastra/commit/7149d8d4bdc1edf0008e0ca9b7925eb0b8b60dbe)]:
175
+ - @mastra/core@0.15.3-alpha.7
176
+
177
+ ## 0.2.11-alpha.0
178
+
179
+ ### Patch Changes
180
+
181
+ - [#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`.
182
+
183
+ - Updated dependencies [[`85ef90b`](https://github.com/mastra-ai/mastra/commit/85ef90bb2cd4ae4df855c7ac175f7d392c55c1bf), [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e)]:
184
+ - @mastra/core@0.15.3-alpha.5
185
+
186
+ ## 0.2.10
187
+
188
+ ### Patch Changes
189
+
190
+ - [`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdpes for @mastra/core
191
+
192
+ - Updated dependencies []:
193
+ - @mastra/core@0.15.2
194
+
195
+ ## 0.2.9
196
+
197
+ ### Patch Changes
198
+
199
+ - [`95b2aa9`](https://github.com/mastra-ai/mastra/commit/95b2aa908230919e67efcac0d69005a2d5745298) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdeps @mastra/core
200
+
201
+ - Updated dependencies []:
202
+ - @mastra/core@0.15.1
203
+
204
+ ## 0.2.8
205
+
206
+ ### Patch Changes
207
+
208
+ - [#6994](https://github.com/mastra-ai/mastra/pull/6994) [`0594a70`](https://github.com/mastra-ai/mastra/commit/0594a70ac948d306c7f38765b171c9535e6c78d4) Thanks [@wardpeet](https://github.com/wardpeet)! - Improve type resolving for storage adapters
209
+
210
+ - 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), [`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), [`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), [`9613558`](https://github.com/mastra-ai/mastra/commit/9613558e6475f4710e05d1be7553a32ee7bddc20)]:
211
+ - @mastra/core@0.15.0
212
+
213
+ ## 0.2.8-alpha.0
214
+
215
+ ### Patch Changes
216
+
217
+ - [#6994](https://github.com/mastra-ai/mastra/pull/6994) [`0594a70`](https://github.com/mastra-ai/mastra/commit/0594a70ac948d306c7f38765b171c9535e6c78d4) Thanks [@wardpeet](https://github.com/wardpeet)! - Improve type resolving for storage adapters
218
+
219
+ - Updated dependencies [[`943a7f3`](https://github.com/mastra-ai/mastra/commit/943a7f3dbc6a8ab3f9b7bc7c8a1c5b319c3d7f56), [`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), [`4189486`](https://github.com/mastra-ai/mastra/commit/4189486c6718fda78347bdf4ce4d3fc33b2236e1), [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01)]:
220
+ - @mastra/core@0.14.2-alpha.1
221
+
222
+ ## 0.2.7
223
+
224
+ ### Patch Changes
225
+
226
+ - [#6700](https://github.com/mastra-ai/mastra/pull/6700) [`a5a23d9`](https://github.com/mastra-ai/mastra/commit/a5a23d981920d458dc6078919992a5338931ef02) Thanks [@gpanakkal](https://github.com/gpanakkal)! - Add `getMessagesById` method to `MastraStorage` adapters
227
+
228
+ - Updated dependencies [[`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27), [`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)]:
229
+ - @mastra/core@0.14.1
230
+
231
+ ## 0.2.7-alpha.0
232
+
233
+ ### Patch Changes
234
+
235
+ - [#6700](https://github.com/mastra-ai/mastra/pull/6700) [`a5a23d9`](https://github.com/mastra-ai/mastra/commit/a5a23d981920d458dc6078919992a5338931ef02) Thanks [@gpanakkal](https://github.com/gpanakkal)! - Add `getMessagesById` method to `MastraStorage` adapters
236
+
237
+ - Updated dependencies [[`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27), [`a5a23d9`](https://github.com/mastra-ai/mastra/commit/a5a23d981920d458dc6078919992a5338931ef02)]:
238
+ - @mastra/core@0.14.1-alpha.0
239
+
240
+ ## 0.2.6
241
+
242
+ ### Patch Changes
243
+
244
+ - 03997ae: Update peerdeps
245
+ - Updated dependencies [227c7e6]
246
+ - Updated dependencies [12cae67]
247
+ - Updated dependencies [fd3a3eb]
248
+ - Updated dependencies [6faaee5]
249
+ - Updated dependencies [4232b14]
250
+ - Updated dependencies [a89de7e]
251
+ - Updated dependencies [5a37d0c]
252
+ - Updated dependencies [4bde0cb]
253
+ - Updated dependencies [cf4f357]
254
+ - Updated dependencies [ad888a2]
255
+ - Updated dependencies [481751d]
256
+ - Updated dependencies [2454423]
257
+ - Updated dependencies [194e395]
258
+ - Updated dependencies [a722c0b]
259
+ - Updated dependencies [c30bca8]
260
+ - Updated dependencies [3b5fec7]
261
+ - Updated dependencies [a8f129d]
262
+ - @mastra/core@0.14.0
263
+
264
+ ## 0.2.6-alpha.0
265
+
266
+ ### Patch Changes
267
+
268
+ - 03997ae: Update peerdeps
269
+ - @mastra/core@0.14.0-alpha.7
270
+
271
+ ## 0.2.5
272
+
273
+ ### Patch Changes
274
+
275
+ - cc9035c: dependencies updates:
276
+ - Updated dependency [`@lancedb/lancedb@^0.21.2` ↗︎](https://www.npmjs.com/package/@lancedb/lancedb/v/0.21.2) (from `^0.18.2`, in `dependencies`)
277
+ - b32c50d: Filter scores by source
278
+ - Updated dependencies [d5330bf]
279
+ - Updated dependencies [2e74797]
280
+ - Updated dependencies [8388649]
281
+ - Updated dependencies [a239d41]
282
+ - Updated dependencies [dd94a26]
283
+ - Updated dependencies [3ba6772]
284
+ - Updated dependencies [b5cf2a3]
285
+ - Updated dependencies [2fff911]
286
+ - Updated dependencies [b32c50d]
287
+ - Updated dependencies [63449d0]
288
+ - Updated dependencies [121a3f8]
289
+ - Updated dependencies [ec510e7]
290
+ - @mastra/core@0.13.2
291
+
292
+ ## 0.2.5-alpha.0
293
+
294
+ ### Patch Changes
295
+
296
+ - cc9035c: dependencies updates:
297
+ - Updated dependency [`@lancedb/lancedb@^0.21.2` ↗︎](https://www.npmjs.com/package/@lancedb/lancedb/v/0.21.2) (from `^0.18.2`, in `dependencies`)
298
+ - b32c50d: Filter scores by source
299
+ - Updated dependencies [d5330bf]
300
+ - Updated dependencies [a239d41]
301
+ - Updated dependencies [b32c50d]
302
+ - Updated dependencies [121a3f8]
303
+ - Updated dependencies [ec510e7]
304
+ - @mastra/core@0.13.2-alpha.2
305
+
306
+ ## 0.2.4
307
+
308
+ ### Patch Changes
309
+
310
+ - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
311
+ - Updated dependencies [cb36de0]
312
+ - Updated dependencies [d0496e6]
313
+ - Updated dependencies [a82b851]
314
+ - Updated dependencies [ea0c5f2]
315
+ - Updated dependencies [41a0a0e]
316
+ - Updated dependencies [2871020]
317
+ - Updated dependencies [94f4812]
318
+ - Updated dependencies [e202b82]
319
+ - Updated dependencies [e00f6a0]
320
+ - Updated dependencies [4a406ec]
321
+ - Updated dependencies [b0e43c1]
322
+ - Updated dependencies [5d377e5]
323
+ - Updated dependencies [1fb812e]
324
+ - Updated dependencies [35c5798]
325
+ - @mastra/core@0.13.0
326
+
327
+ ## 0.2.4-alpha.0
328
+
329
+ ### Patch Changes
330
+
331
+ - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
332
+ - Updated dependencies [cb36de0]
333
+ - Updated dependencies [a82b851]
334
+ - Updated dependencies [41a0a0e]
335
+ - Updated dependencies [2871020]
336
+ - Updated dependencies [4a406ec]
337
+ - Updated dependencies [5d377e5]
338
+ - @mastra/core@0.13.0-alpha.2
339
+
340
+ ## 0.2.3
341
+
342
+ ### Patch Changes
343
+
344
+ - f42c4c2: update peer deps for packages to latest core range
345
+ - Updated dependencies [510e2c8]
346
+ - Updated dependencies [2f72fb2]
347
+ - Updated dependencies [27cc97a]
348
+ - Updated dependencies [3f89307]
349
+ - Updated dependencies [9eda7d4]
350
+ - Updated dependencies [9d49408]
351
+ - Updated dependencies [41daa63]
352
+ - Updated dependencies [ad0a58b]
353
+ - Updated dependencies [254a36b]
354
+ - Updated dependencies [2ecf658]
355
+ - Updated dependencies [7a7754f]
356
+ - Updated dependencies [fc92d80]
357
+ - Updated dependencies [e0f73c6]
358
+ - Updated dependencies [0b89602]
359
+ - Updated dependencies [4d37822]
360
+ - Updated dependencies [23a6a7c]
361
+ - Updated dependencies [cda801d]
362
+ - Updated dependencies [a77c823]
363
+ - Updated dependencies [ff9c125]
364
+ - Updated dependencies [09bca64]
365
+ - Updated dependencies [b8efbb9]
366
+ - Updated dependencies [71466e7]
367
+ - Updated dependencies [0c99fbe]
368
+ - @mastra/core@0.12.0
369
+
370
+ ## 0.2.3-alpha.0
371
+
372
+ ### Patch Changes
373
+
374
+ - f42c4c2: update peer deps for packages to latest core range
375
+ - @mastra/core@0.12.0-alpha.5
376
+
377
+ ## 0.2.2
378
+
379
+ ### Patch Changes
380
+
381
+ - ce088f5: Update all peerdeps to latest core
382
+ - @mastra/core@0.11.1
383
+
384
+ ## 0.2.1
385
+
386
+ ### Patch Changes
387
+
388
+ - 7ba91fa: Throw mastra errors methods not implemented yet
389
+ - 5889a31: implement scorers api for lance db
390
+ - Updated dependencies [f248d53]
391
+ - Updated dependencies [2affc57]
392
+ - Updated dependencies [66e13e3]
393
+ - Updated dependencies [edd9482]
394
+ - Updated dependencies [18344d7]
395
+ - Updated dependencies [9d372c2]
396
+ - Updated dependencies [40c2525]
397
+ - Updated dependencies [e473f27]
398
+ - Updated dependencies [032cb66]
399
+ - Updated dependencies [703ac71]
400
+ - Updated dependencies [a723d69]
401
+ - Updated dependencies [7827943]
402
+ - Updated dependencies [5889a31]
403
+ - Updated dependencies [bf1e7e7]
404
+ - Updated dependencies [65e3395]
405
+ - Updated dependencies [4933192]
406
+ - Updated dependencies [d1c77a4]
407
+ - Updated dependencies [bea9dd1]
408
+ - Updated dependencies [dcd4802]
409
+ - Updated dependencies [cbddd18]
410
+ - Updated dependencies [7ba91fa]
411
+ - @mastra/core@0.11.0
412
+
413
+ ## 0.2.1-alpha.0
414
+
415
+ ### Patch Changes
416
+
417
+ - 7ba91fa: Throw mastra errors methods not implemented yet
418
+ - 5889a31: implement scorers api for lance db
419
+ - Updated dependencies [f248d53]
420
+ - Updated dependencies [2affc57]
421
+ - Updated dependencies [66e13e3]
422
+ - Updated dependencies [edd9482]
423
+ - Updated dependencies [18344d7]
424
+ - Updated dependencies [9d372c2]
425
+ - Updated dependencies [40c2525]
426
+ - Updated dependencies [e473f27]
427
+ - Updated dependencies [032cb66]
428
+ - Updated dependencies [703ac71]
429
+ - Updated dependencies [a723d69]
430
+ - Updated dependencies [5889a31]
431
+ - Updated dependencies [65e3395]
432
+ - Updated dependencies [4933192]
433
+ - Updated dependencies [d1c77a4]
434
+ - Updated dependencies [bea9dd1]
435
+ - Updated dependencies [dcd4802]
436
+ - Updated dependencies [7ba91fa]
437
+ - @mastra/core@0.11.0-alpha.2
20
438
 
21
439
  ## 0.2.0
22
440
 
package/LICENSE.md CHANGED
@@ -1,46 +1,15 @@
1
- # Elastic License 2.0 (ELv2)
1
+ # Apache License 2.0
2
2
 
3
- Copyright (c) 2025 Mastra AI, Inc.
3
+ Copyright (c) 2025 Kepler Software, Inc.
4
4
 
5
- **Acceptance**
6
- By using the software, you agree to all of the terms and conditions below.
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
7
8
 
8
- **Copyright License**
9
- The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject to the limitations and conditions below
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
10
 
11
- **Limitations**
12
- You may not provide the software to third parties as a hosted or managed service, where the service provides users with access to any substantial set of the features or functionality of the software.
13
-
14
- You may not move, change, disable, or circumvent the license key functionality in the software, and you may not remove or obscure any functionality in the software that is protected by the license key.
15
-
16
- You may not alter, remove, or obscure any licensing, copyright, or other notices of the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law.
17
-
18
- **Patents**
19
- The licensor grants you a license, under any patent claims the licensor can license, or becomes able to license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case subject to the limitations and conditions in this license. This license does not cover any patent claims that you cause to be infringed by modifications or additions to the software. If you or your company make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
20
-
21
- **Notices**
22
- You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms.
23
-
24
- If you modify the software, you must include in any modified copies of the software prominent notices stating that you have modified the software.
25
-
26
- **No Other Rights**
27
- These terms do not imply any licenses other than those expressly granted in these terms.
28
-
29
- **Termination**
30
- If you use the software in violation of these terms, such use is not licensed, and your licenses will automatically terminate. If the licensor provides you with a notice of your violation, and you cease all violation of this license no later than 30 days after you receive that notice, your licenses will be reinstated retroactively. However, if you violate these terms after such reinstatement, any additional violation of these terms will cause your licenses to terminate automatically and permanently.
31
-
32
- **No Liability**
33
- As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.
34
-
35
- **Definitions**
36
- The _licensor_ is the entity offering these terms, and the _software_ is the software the licensor makes available under these terms, including any portion of it.
37
-
38
- _you_ refers to the individual or entity agreeing to these terms.
39
-
40
- _your company_ is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. _control_ means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
41
-
42
- _your licenses_ are all the licenses granted to you for the software under these terms.
43
-
44
- _use_ means anything you do with the software requiring one of your licenses.
45
-
46
- _trademark_ means trademarks, service marks, and similar rights.
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
package/README.md CHANGED
@@ -124,7 +124,7 @@ const messages = await storage.getMessages({
124
124
  ### Creating Threads
125
125
 
126
126
  ```typescript
127
- import type { StorageThreadType } from '@mastra/core';
127
+ import type { StorageThreadType } from '@mastra/core/storage';
128
128
 
129
129
  // Create a new thread
130
130
  const thread: StorageThreadType = {
@@ -142,7 +142,7 @@ const savedThread = await storage.saveThread({ thread });
142
142
  ### Working with Messages
143
143
 
144
144
  ```typescript
145
- import type { MessageType } from '@mastra/core';
145
+ import type { MessageType } from '@mastra/core/memory';
146
146
 
147
147
  // Create messages
148
148
  const messages: MessageType[] = [
@@ -193,7 +193,7 @@ const retrievedMessages = await storage.getMessages({
193
193
  Mastra's workflow system uses LanceDB to persist workflow state for continuity across runs:
194
194
 
195
195
  ```typescript
196
- import type { WorkflowRunState } from '@mastra/core';
196
+ import type { WorkflowRunState } from '@mastra/core/storage';
197
197
 
198
198
  // Persist a workflow snapshot
199
199
  await storage.persistWorkflowSnapshot({