@mastra/libsql 0.0.0-consolidate-changesets-20250904042643 → 0.0.0-createToolOptions-20250926094418

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.
package/CHANGELOG.md CHANGED
@@ -1,43 +1,145 @@
1
1
  # @mastra/libsql
2
2
 
3
- ## 0.0.0-consolidate-changesets-20250904042643
3
+ ## 0.0.0-createToolOptions-20250926094418
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - de3cbc6: Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
8
- - a32248b: dependencies updates:
9
- - Updated dependency [`zod@^3.25.76` ↗︎](https://www.npmjs.com/package/zod/v/3.25.76) (from `^3.25.67`, in `dependencies`)
10
- dependencies updates:
11
- - 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`)
12
- dependencies updates:
13
- - Updated dependency [`rollup@~4.49.0` ↗︎](https://www.npmjs.com/package/rollup/v/4.49.0) (from `~4.47.1`, in `dependencies`)
14
- dependencies updates:
15
- - Updated dependency [`rollup@~4.50.0` ↗︎](https://www.npmjs.com/package/rollup/v/4.50.0) (from `~4.49.0`, in `dependencies`)
16
- dependencies updates:
17
- - Updated dependency [`redis@^5.8.2` ↗︎](https://www.npmjs.com/package/redis/v/5.8.2) (from `^5.8.0`, in `dependencies`)
18
- dependencies updates:
7
+ - Updated dependencies [[`dc099b4`](https://github.com/mastra-ai/mastra/commit/dc099b40fb31147ba3f362f98d991892033c4c67), [`b342a68`](https://github.com/mastra-ai/mastra/commit/b342a68e1399cf1ece9ba11bda112db89d21118c), [`303a9c0`](https://github.com/mastra-ai/mastra/commit/303a9c0d7dd58795915979f06a0512359e4532fb), [`370f8a6`](https://github.com/mastra-ai/mastra/commit/370f8a6480faec70fef18d72e5f7538f27004301), [`045b5bd`](https://github.com/mastra-ai/mastra/commit/045b5bdb9ff1a8e55b971cb8b3efa4f1c1eead5b), [`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), [`3e292ba`](https://github.com/mastra-ai/mastra/commit/3e292ba00837886d5d68a34cbc0d9b703c991883), [`418c136`](https://github.com/mastra-ai/mastra/commit/418c1366843d88e491bca3f87763899ce855ca29), [`c84b7d0`](https://github.com/mastra-ai/mastra/commit/c84b7d093c4657772140cbfd2b15ef72f3315ed5)]:
8
+ - @mastra/core@0.0.0-createToolOptions-20250926094418
9
+
10
+ ## 0.14.3
11
+
12
+ ### Patch Changes
13
+
14
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
15
+
16
+ - 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)]:
17
+ - @mastra/core@0.18.0
18
+
19
+ ## 0.14.3-alpha.0
20
+
21
+ ### Patch Changes
22
+
23
+ - Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
24
+
25
+ - 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)]:
26
+ - @mastra/core@0.18.0-alpha.2
27
+
28
+ ## 0.14.2
29
+
30
+ ### Patch Changes
31
+
32
+ - dependencies updates: ([#7742](https://github.com/mastra-ai/mastra/pull/7742))
33
+ - Updated dependency [`@libsql/client@^0.15.15` ↗︎](https://www.npmjs.com/package/@libsql/client/v/0.15.15) (from `^0.15.14`, in `dependencies`)
34
+
35
+ - Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
36
+
37
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
38
+
39
+ - 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)]:
40
+ - @mastra/core@0.17.0
41
+
42
+ ## 0.14.2-alpha.2
43
+
44
+ ### Patch Changes
45
+
46
+ - Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
47
+
48
+ - 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)]:
49
+ - @mastra/core@0.17.0-alpha.3
50
+
51
+ ## 0.14.2-alpha.1
52
+
53
+ ### Patch Changes
54
+
55
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
56
+
57
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
58
+ - @mastra/core@0.16.4-alpha.1
59
+
60
+ ## 0.14.2-alpha.0
61
+
62
+ ### Patch Changes
63
+
64
+ - dependencies updates: ([#7742](https://github.com/mastra-ai/mastra/pull/7742))
65
+ - Updated dependency [`@libsql/client@^0.15.15` ↗︎](https://www.npmjs.com/package/@libsql/client/v/0.15.15) (from `^0.15.14`, in `dependencies`)
66
+ - Updated dependencies [[`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11)]:
67
+ - @mastra/core@0.16.4-alpha.0
68
+
69
+ ## 0.14.1
70
+
71
+ ### Patch Changes
72
+
73
+ - Fix AI Trace bug for libsql ([#7695](https://github.com/mastra-ai/mastra/pull/7695))
74
+
75
+ - Updated dependencies [[`b4379f7`](https://github.com/mastra-ai/mastra/commit/b4379f703fd74474f253420e8c3a684f2c4b2f8e), [`2a6585f`](https://github.com/mastra-ai/mastra/commit/2a6585f7cb71f023f805d521d1c3c95fb9a3aa59), [`3d26e83`](https://github.com/mastra-ai/mastra/commit/3d26e8353a945719028f087cc6ac4b06f0ce27d2), [`dd9119b`](https://github.com/mastra-ai/mastra/commit/dd9119b175a8f389082f75c12750e51f96d65dca), [`d34aaa1`](https://github.com/mastra-ai/mastra/commit/d34aaa1da5d3c5f991740f59e2fe6d28d3e2dd91), [`56e55d1`](https://github.com/mastra-ai/mastra/commit/56e55d1e9eb63e7d9e41aa46e012aae471256812), [`ce1e580`](https://github.com/mastra-ai/mastra/commit/ce1e580f6391e94a0c6816a9c5db0a21566a262f), [`b2babfa`](https://github.com/mastra-ai/mastra/commit/b2babfa9e75b22f2759179e71d8473f6dc5421ed), [`d8c3ba5`](https://github.com/mastra-ai/mastra/commit/d8c3ba516f4173282d293f7e64769cfc8738d360), [`a566c4e`](https://github.com/mastra-ai/mastra/commit/a566c4e92d86c1671707c54359b1d33934f7cc13), [`af333aa`](https://github.com/mastra-ai/mastra/commit/af333aa30fe6d1b127024b03a64736c46eddeca2), [`3863c52`](https://github.com/mastra-ai/mastra/commit/3863c52d44b4e5779968b802d977e87adf939d8e), [`6424c7e`](https://github.com/mastra-ai/mastra/commit/6424c7ec38b6921d66212431db1e0958f441b2a7), [`db94750`](https://github.com/mastra-ai/mastra/commit/db94750a41fd29b43eb1f7ce8e97ba8b9978c91b), [`a66a371`](https://github.com/mastra-ai/mastra/commit/a66a3716b00553d7f01842be9deb34f720b10fab), [`69fc3cd`](https://github.com/mastra-ai/mastra/commit/69fc3cd0fd814901785bdcf49bf536ab1e7fd975)]:
76
+ - @mastra/core@0.16.3
77
+
78
+ ## 0.14.1-alpha.0
79
+
80
+ ### Patch Changes
81
+
82
+ - Fix AI Trace bug for libsql ([#7695](https://github.com/mastra-ai/mastra/pull/7695))
83
+
84
+ - Updated dependencies [[`b4379f7`](https://github.com/mastra-ai/mastra/commit/b4379f703fd74474f253420e8c3a684f2c4b2f8e), [`dd9119b`](https://github.com/mastra-ai/mastra/commit/dd9119b175a8f389082f75c12750e51f96d65dca), [`d34aaa1`](https://github.com/mastra-ai/mastra/commit/d34aaa1da5d3c5f991740f59e2fe6d28d3e2dd91), [`ce1e580`](https://github.com/mastra-ai/mastra/commit/ce1e580f6391e94a0c6816a9c5db0a21566a262f), [`b2babfa`](https://github.com/mastra-ai/mastra/commit/b2babfa9e75b22f2759179e71d8473f6dc5421ed), [`d8c3ba5`](https://github.com/mastra-ai/mastra/commit/d8c3ba516f4173282d293f7e64769cfc8738d360), [`a566c4e`](https://github.com/mastra-ai/mastra/commit/a566c4e92d86c1671707c54359b1d33934f7cc13), [`af333aa`](https://github.com/mastra-ai/mastra/commit/af333aa30fe6d1b127024b03a64736c46eddeca2), [`3863c52`](https://github.com/mastra-ai/mastra/commit/3863c52d44b4e5779968b802d977e87adf939d8e), [`6424c7e`](https://github.com/mastra-ai/mastra/commit/6424c7ec38b6921d66212431db1e0958f441b2a7), [`db94750`](https://github.com/mastra-ai/mastra/commit/db94750a41fd29b43eb1f7ce8e97ba8b9978c91b), [`a66a371`](https://github.com/mastra-ai/mastra/commit/a66a3716b00553d7f01842be9deb34f720b10fab), [`69fc3cd`](https://github.com/mastra-ai/mastra/commit/69fc3cd0fd814901785bdcf49bf536ab1e7fd975)]:
85
+ - @mastra/core@0.16.3-alpha.0
86
+
87
+ ## 0.14.0
88
+
89
+ ### Minor Changes
90
+
91
+ - 376913a: Update peerdeps of @mastra/core
92
+
93
+ ### Patch Changes
94
+
95
+ - 6f5eb7a: Throw if an empty or whitespace-only threadId is passed when getting messages
96
+ - Updated dependencies [8fbf79e]
97
+ - Updated dependencies [fd83526]
98
+ - Updated dependencies [d0b90ab]
99
+ - Updated dependencies [6f5eb7a]
100
+ - Updated dependencies [a01cf14]
101
+ - Updated dependencies [a9e50ee]
102
+ - Updated dependencies [5397eb4]
103
+ - Updated dependencies [c9f4e4a]
104
+ - Updated dependencies [0acbc80]
105
+ - @mastra/core@0.16.0
106
+
107
+ ## 0.14.0-alpha.1
108
+
109
+ ### Minor Changes
110
+
111
+ - 376913a: Update peerdeps of @mastra/core
112
+
113
+ ### Patch Changes
114
+
115
+ - Updated dependencies [8fbf79e]
116
+ - @mastra/core@0.16.0-alpha.1
117
+
118
+ ## 0.13.9-alpha.0
119
+
120
+ ### Patch Changes
121
+
122
+ - 6f5eb7a: Throw if an empty or whitespace-only threadId is passed when getting messages
123
+ - Updated dependencies [fd83526]
124
+ - Updated dependencies [d0b90ab]
125
+ - Updated dependencies [6f5eb7a]
126
+ - Updated dependencies [a01cf14]
127
+ - Updated dependencies [a9e50ee]
128
+ - Updated dependencies [5397eb4]
129
+ - Updated dependencies [c9f4e4a]
130
+ - Updated dependencies [0acbc80]
131
+ - @mastra/core@0.16.0-alpha.0
132
+
133
+ ## 0.13.8
134
+
135
+ ### Patch Changes
136
+
137
+ - 8429e4c: dependencies updates:
19
138
  - Updated dependency [`@libsql/client@^0.15.14` ↗︎](https://www.npmjs.com/package/@libsql/client/v/0.15.14) (from `^0.15.12`, in `dependencies`)
20
- dependencies updates:
21
- - Updated dependency [`zod@^3.25.76` ↗︎](https://www.npmjs.com/package/zod/v/3.25.76) (from `^3.25.67`, in `dependencies`)
22
- - 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`)
23
- dependencies updates:
24
- - Updated dependency [`zod@^4.1.5` ↗︎](https://www.npmjs.com/package/zod/v/4.1.5) (from `^4.0.15`, in `dependencies`)
25
- dependencies updates:
26
- - Updated dependency [`@assistant-ui/react@^0.10.44` ↗︎](https://www.npmjs.com/package/@assistant-ui/react/v/0.10.44) (from `^0.7.91`, in `dependencies`)
27
- - Updated dependency [`@assistant-ui/react-markdown@^0.10.9` ↗︎](https://www.npmjs.com/package/@assistant-ui/react-markdown/v/0.10.9) (from `^0.7.21`, in `dependencies`)
28
- - Updated dependency [`@assistant-ui/react-syntax-highlighter@^0.10.10` ↗︎](https://www.npmjs.com/package/@assistant-ui/react-syntax-highlighter/v/0.10.10) (from `^0.7.10`, in `dependencies`)
29
- - Added dependency [`@assistant-ui/react-ui@^0.1.8` ↗︎](https://www.npmjs.com/package/@assistant-ui/react-ui/v/0.1.8) (to `dependencies`)
30
- dependencies updates:
31
- - Updated dependency [`@xyflow/react@^12.8.4` ↗︎](https://www.npmjs.com/package/@xyflow/react/v/12.8.4) (from `^12.8.2`, in `dependencies`)
32
- dependencies updates:
33
- - Updated dependency [`@assistant-ui/react@^0.10.45` ↗︎](https://www.npmjs.com/package/@assistant-ui/react/v/0.10.45) (from `^0.10.44`, in `dependencies`)
34
- dependencies updates:
35
- - Updated dependency [`@qdrant/js-client-rest@^1.15.1` ↗︎](https://www.npmjs.com/package/@qdrant/js-client-rest/v/1.15.1) (from `^1.15.0`, in `dependencies`)
36
- dependencies updates:
37
- - Updated dependency [`zod@^3.25.76` ↗︎](https://www.npmjs.com/package/zod/v/3.25.76) (from `^3.25.67`, in `dependencies`)
38
- - Updated dependency [`zod-to-json-schema@^3.24.6` ↗︎](https://www.npmjs.com/package/zod-to-json-schema/v/3.24.6) (from `^3.23.5`, in `dependencies`)
139
+ - de3cbc6: Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
39
140
  - f0dfcac: updated core peerdep
40
141
  - dbc51ef: Fixed dependency issue with new AI_SPAN schema
142
+ - Updated dependencies [ab48c97]
41
143
  - Updated dependencies [85ef90b]
42
144
  - Updated dependencies [aedbbfa]
43
145
  - Updated dependencies [ff89505]
@@ -46,34 +148,40 @@
46
148
  - Updated dependencies [c19bcf7]
47
149
  - Updated dependencies [4474d04]
48
150
  - Updated dependencies [183dc95]
49
- - Updated dependencies [f5e7282]
50
- - Updated dependencies [a32248b]
51
151
  - Updated dependencies [a1111e2]
52
152
  - Updated dependencies [b42a961]
53
153
  - Updated dependencies [61debef]
54
154
  - Updated dependencies [9beaeff]
155
+ - Updated dependencies [29de0e1]
156
+ - Updated dependencies [f643c65]
55
157
  - Updated dependencies [00c74e7]
56
158
  - Updated dependencies [fef7375]
57
159
  - Updated dependencies [e3d8fea]
58
160
  - Updated dependencies [45e4d39]
59
161
  - Updated dependencies [9eee594]
162
+ - Updated dependencies [7149d8d]
60
163
  - Updated dependencies [822c2e8]
61
164
  - Updated dependencies [979912c]
165
+ - Updated dependencies [7dcf4c0]
62
166
  - Updated dependencies [4106a58]
63
167
  - Updated dependencies [ad78bfc]
64
168
  - Updated dependencies [0302f50]
169
+ - Updated dependencies [6ac697e]
65
170
  - Updated dependencies [74db265]
171
+ - Updated dependencies [0ce418a]
172
+ - Updated dependencies [af90672]
66
173
  - Updated dependencies [8387952]
67
174
  - Updated dependencies [7f3b8da]
68
175
  - Updated dependencies [905352b]
69
176
  - Updated dependencies [599d04c]
70
177
  - Updated dependencies [56041d0]
178
+ - Updated dependencies [3412597]
71
179
  - Updated dependencies [5eca5d2]
72
180
  - Updated dependencies [f2cda47]
73
181
  - Updated dependencies [5de1555]
74
182
  - Updated dependencies [cfd377a]
75
183
  - Updated dependencies [1ed5a3e]
76
- - @mastra/core@0.0.0-consolidate-changesets-20250904042643
184
+ - @mastra/core@0.15.3
77
185
 
78
186
  ## 0.13.8-alpha.3
79
187
 
package/dist/index.cjs CHANGED
@@ -1062,6 +1062,7 @@ var MemoryLibSQL = class extends storage.MemoryStorage {
1062
1062
  threadId,
1063
1063
  selectBy
1064
1064
  }) {
1065
+ if (!threadId.trim()) throw new Error("threadId must be a non-empty string");
1065
1066
  const include = selectBy?.include;
1066
1067
  if (!include) return null;
1067
1068
  const unionQueries = [];
@@ -1107,10 +1108,12 @@ var MemoryLibSQL = class extends storage.MemoryStorage {
1107
1108
  }
1108
1109
  async getMessages({
1109
1110
  threadId,
1111
+ resourceId,
1110
1112
  selectBy,
1111
1113
  format
1112
1114
  }) {
1113
1115
  try {
1116
+ if (!threadId.trim()) throw new Error("threadId must be a non-empty string");
1114
1117
  const messages = [];
1115
1118
  const limit = storage.resolveMessageLimit({ last: selectBy?.last, defaultLimit: 40 });
1116
1119
  if (selectBy?.include?.length) {
@@ -1150,7 +1153,7 @@ var MemoryLibSQL = class extends storage.MemoryStorage {
1150
1153
  id: "LIBSQL_STORE_GET_MESSAGES_FAILED",
1151
1154
  domain: error.ErrorDomain.STORAGE,
1152
1155
  category: error.ErrorCategory.THIRD_PARTY,
1153
- details: { threadId }
1156
+ details: { threadId, resourceId: resourceId ?? "" }
1154
1157
  },
1155
1158
  error$1
1156
1159
  );
@@ -1218,6 +1221,7 @@ var MemoryLibSQL = class extends storage.MemoryStorage {
1218
1221
  }
1219
1222
  }
1220
1223
  try {
1224
+ if (!threadId.trim()) throw new Error("threadId must be a non-empty string");
1221
1225
  const currentOffset = page * perPage;
1222
1226
  const conditions = [`thread_id = ?`];
1223
1227
  const queryParams = [threadId];
@@ -2025,17 +2029,47 @@ var ObservabilityLibSQL = class extends storage.ObservabilityStorage {
2025
2029
  }) {
2026
2030
  const page = pagination?.page ?? 0;
2027
2031
  const perPage = pagination?.perPage ?? 10;
2032
+ const { entityId, entityType, ...actualFilters } = filters || {};
2028
2033
  const filtersWithDateRange = {
2029
- ...filters,
2030
- ...buildDateRangeFilter(pagination?.dateRange, "startedAt")
2034
+ ...actualFilters,
2035
+ ...buildDateRangeFilter(pagination?.dateRange, "startedAt"),
2036
+ parentSpanId: null
2031
2037
  };
2032
2038
  const whereClause = prepareWhereClause(filtersWithDateRange, storage.AI_SPAN_SCHEMA);
2039
+ let actualWhereClause = whereClause.sql || "";
2040
+ if (entityId && entityType) {
2041
+ const statement = `name = ?`;
2042
+ let name = "";
2043
+ if (entityType === "workflow") {
2044
+ name = `workflow run: '${entityId}'`;
2045
+ } else if (entityType === "agent") {
2046
+ name = `agent run: '${entityId}'`;
2047
+ } else {
2048
+ const error$1 = new error.MastraError({
2049
+ id: "LIBSQL_STORE_GET_AI_TRACES_PAGINATED_FAILED",
2050
+ domain: error.ErrorDomain.STORAGE,
2051
+ category: error.ErrorCategory.USER,
2052
+ details: {
2053
+ entityType
2054
+ },
2055
+ text: `Cannot filter by entity type: ${entityType}`
2056
+ });
2057
+ this.logger?.trackException(error$1);
2058
+ throw error$1;
2059
+ }
2060
+ whereClause.args.push(name);
2061
+ if (actualWhereClause) {
2062
+ actualWhereClause += ` AND ${statement}`;
2063
+ } else {
2064
+ actualWhereClause += `WHERE ${statement}`;
2065
+ }
2066
+ }
2033
2067
  const orderBy = "startedAt DESC";
2034
2068
  let count = 0;
2035
2069
  try {
2036
2070
  count = await this.operations.loadTotalCount({
2037
2071
  tableName: storage.TABLE_AI_SPANS,
2038
- whereClause: { sql: whereClause.sql, args: whereClause.args }
2072
+ whereClause: { sql: actualWhereClause, args: whereClause.args }
2039
2073
  });
2040
2074
  } catch (error$1) {
2041
2075
  throw new error.MastraError(
@@ -2061,7 +2095,10 @@ var ObservabilityLibSQL = class extends storage.ObservabilityStorage {
2061
2095
  try {
2062
2096
  const spans = await this.operations.loadMany({
2063
2097
  tableName: storage.TABLE_AI_SPANS,
2064
- whereClause,
2098
+ whereClause: {
2099
+ sql: actualWhereClause,
2100
+ args: whereClause.args
2101
+ },
2065
2102
  orderBy,
2066
2103
  offset: page * perPage,
2067
2104
  limit: perPage
@@ -3035,11 +3072,13 @@ var WorkflowsLibSQL = class extends storage.WorkflowsStorage {
3035
3072
  async persistWorkflowSnapshot({
3036
3073
  workflowName,
3037
3074
  runId,
3075
+ resourceId,
3038
3076
  snapshot
3039
3077
  }) {
3040
3078
  const data = {
3041
3079
  workflow_name: workflowName,
3042
3080
  run_id: runId,
3081
+ resourceId,
3043
3082
  snapshot,
3044
3083
  createdAt: /* @__PURE__ */ new Date(),
3045
3084
  updatedAt: /* @__PURE__ */ new Date()
@@ -3370,9 +3409,10 @@ var LibSQLStore = class extends storage.MastraStorage {
3370
3409
  async persistWorkflowSnapshot({
3371
3410
  workflowName,
3372
3411
  runId,
3412
+ resourceId,
3373
3413
  snapshot
3374
3414
  }) {
3375
- return this.stores.workflows.persistWorkflowSnapshot({ workflowName, runId, snapshot });
3415
+ return this.stores.workflows.persistWorkflowSnapshot({ workflowName, runId, resourceId, snapshot });
3376
3416
  }
3377
3417
  async loadWorkflowSnapshot({
3378
3418
  workflowName,