@mastra/clickhouse 0.0.0-taofeeqInngest-20250603090617 → 0.0.0-transpile-packages-20250724123433
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 +219 -2
- package/LICENSE.md +12 -4
- package/dist/_tsup-dts-rollup.d.cts +358 -29
- package/dist/_tsup-dts-rollup.d.ts +358 -29
- package/dist/index.cjs +2239 -454
- package/dist/index.d.cts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +2222 -435
- package/package.json +12 -11
- package/src/storage/domains/legacy-evals/index.ts +246 -0
- package/src/storage/domains/memory/index.ts +1393 -0
- package/src/storage/domains/operations/index.ts +319 -0
- package/src/storage/domains/scores/index.ts +326 -0
- package/src/storage/domains/traces/index.ts +275 -0
- package/src/storage/domains/utils.ts +86 -0
- package/src/storage/domains/workflows/index.ts +285 -0
- package/src/storage/index.test.ts +14 -836
- package/src/storage/index.ts +228 -901
- package/.turbo/turbo-build.log +0 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,216 @@
|
|
|
1
1
|
# @mastra/clickhouse
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-transpile-packages-20250724123433
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7ba91fa: Throw mastra errors methods not implemented yet
|
|
8
|
+
- Updated dependencies [f248d53]
|
|
9
|
+
- Updated dependencies [2affc57]
|
|
10
|
+
- Updated dependencies [66e13e3]
|
|
11
|
+
- Updated dependencies [18344d7]
|
|
12
|
+
- Updated dependencies [40c2525]
|
|
13
|
+
- Updated dependencies [e473f27]
|
|
14
|
+
- Updated dependencies [703ac71]
|
|
15
|
+
- Updated dependencies [a723d69]
|
|
16
|
+
- Updated dependencies [7827943]
|
|
17
|
+
- Updated dependencies [5889a31]
|
|
18
|
+
- Updated dependencies [bf1e7e7]
|
|
19
|
+
- Updated dependencies [4933192]
|
|
20
|
+
- Updated dependencies [d1c77a4]
|
|
21
|
+
- Updated dependencies [dcd4802]
|
|
22
|
+
- Updated dependencies [cbddd18]
|
|
23
|
+
- Updated dependencies [7ba91fa]
|
|
24
|
+
- @mastra/core@0.0.0-transpile-packages-20250724123433
|
|
25
|
+
|
|
26
|
+
## 0.12.0
|
|
27
|
+
|
|
28
|
+
### Minor Changes
|
|
29
|
+
|
|
30
|
+
- 8a3bfd2: Update peerdeps to latest core
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- 15e9d26: Added per-resource working memory for LibSQL, Upstash, and PG
|
|
35
|
+
- d8f2d19: Add updateMessages API to storage classes (only support for PG and LibSQL for now) and to memory class. Additionally allow for metadata to be saved in the content field of a message.
|
|
36
|
+
- 0fb9d64: [MASTRA-4018] Update saveMessages in storage adapters to upsert messages
|
|
37
|
+
- 2097952: [MASTRA-4021] Fix PG getMessages and update messageLimit for all storage adapters
|
|
38
|
+
- 0e17048: Throw mastra errors in storage packages
|
|
39
|
+
- Updated dependencies [15e9d26]
|
|
40
|
+
- Updated dependencies [d1baedb]
|
|
41
|
+
- Updated dependencies [d8f2d19]
|
|
42
|
+
- Updated dependencies [4d21bf2]
|
|
43
|
+
- Updated dependencies [07d6d88]
|
|
44
|
+
- Updated dependencies [9d52b17]
|
|
45
|
+
- Updated dependencies [2097952]
|
|
46
|
+
- Updated dependencies [792c4c0]
|
|
47
|
+
- Updated dependencies [5d74aab]
|
|
48
|
+
- Updated dependencies [a8b194f]
|
|
49
|
+
- Updated dependencies [4fb0cc2]
|
|
50
|
+
- Updated dependencies [d2a7a31]
|
|
51
|
+
- Updated dependencies [502fe05]
|
|
52
|
+
- Updated dependencies [144eb0b]
|
|
53
|
+
- Updated dependencies [8ba1b51]
|
|
54
|
+
- Updated dependencies [4efcfa0]
|
|
55
|
+
- Updated dependencies [0e17048]
|
|
56
|
+
- @mastra/core@0.10.7
|
|
57
|
+
|
|
58
|
+
## 0.12.0-alpha.3
|
|
59
|
+
|
|
60
|
+
### Minor Changes
|
|
61
|
+
|
|
62
|
+
- 8a3bfd2: Update peerdeps to latest core
|
|
63
|
+
|
|
64
|
+
### Patch Changes
|
|
65
|
+
|
|
66
|
+
- Updated dependencies [792c4c0]
|
|
67
|
+
- Updated dependencies [502fe05]
|
|
68
|
+
- Updated dependencies [4efcfa0]
|
|
69
|
+
- @mastra/core@0.10.7-alpha.3
|
|
70
|
+
|
|
71
|
+
## 0.11.1-alpha.2
|
|
72
|
+
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- 15e9d26: Added per-resource working memory for LibSQL, Upstash, and PG
|
|
76
|
+
- 0fb9d64: [MASTRA-4018] Update saveMessages in storage adapters to upsert messages
|
|
77
|
+
- Updated dependencies [15e9d26]
|
|
78
|
+
- Updated dependencies [07d6d88]
|
|
79
|
+
- Updated dependencies [5d74aab]
|
|
80
|
+
- Updated dependencies [144eb0b]
|
|
81
|
+
- @mastra/core@0.10.7-alpha.2
|
|
82
|
+
|
|
83
|
+
## 0.11.1-alpha.1
|
|
84
|
+
|
|
85
|
+
### Patch Changes
|
|
86
|
+
|
|
87
|
+
- 2097952: [MASTRA-4021] Fix PG getMessages and update messageLimit for all storage adapters
|
|
88
|
+
- 0e17048: Throw mastra errors in storage packages
|
|
89
|
+
- Updated dependencies [d1baedb]
|
|
90
|
+
- Updated dependencies [4d21bf2]
|
|
91
|
+
- Updated dependencies [2097952]
|
|
92
|
+
- Updated dependencies [4fb0cc2]
|
|
93
|
+
- Updated dependencies [d2a7a31]
|
|
94
|
+
- Updated dependencies [0e17048]
|
|
95
|
+
- @mastra/core@0.10.7-alpha.1
|
|
96
|
+
|
|
97
|
+
## 0.11.1-alpha.0
|
|
98
|
+
|
|
99
|
+
### Patch Changes
|
|
100
|
+
|
|
101
|
+
- d8f2d19: Add updateMessages API to storage classes (only support for PG and LibSQL for now) and to memory class. Additionally allow for metadata to be saved in the content field of a message.
|
|
102
|
+
- Updated dependencies [d8f2d19]
|
|
103
|
+
- Updated dependencies [9d52b17]
|
|
104
|
+
- Updated dependencies [8ba1b51]
|
|
105
|
+
- @mastra/core@0.10.7-alpha.0
|
|
106
|
+
|
|
107
|
+
## 0.11.0
|
|
108
|
+
|
|
109
|
+
### Minor Changes
|
|
110
|
+
|
|
111
|
+
- 704d1ca: Thread Timestamp Auto-Update Enhancement
|
|
112
|
+
Added automatic thread updatedAt timestamp updates when messages are saved across all storage providers
|
|
113
|
+
Enhanced user experience: Threads now accurately reflect their latest activity with automatic timestamp updates when new messages are added
|
|
114
|
+
Universal implementation: Consistent behavior across all 7 storage backends (ClickHouse, Cloudflare D1, DynamoDB, MongoDB, PostgreSQL, Upstash, LibSQL)
|
|
115
|
+
Performance optimized: Updates execute in parallel with message saving operations for minimal performance impact
|
|
116
|
+
Backwards compatible: No breaking changes - existing code continues to work unchanged
|
|
117
|
+
Improved conversation ordering: Chat interfaces can now properly sort threads by actual last activity
|
|
118
|
+
This enhancement resolves the issue where active conversations appeared stale due to outdated thread timestamps, providing better conversation management and user experience in chat applications.
|
|
119
|
+
|
|
120
|
+
### Patch Changes
|
|
121
|
+
|
|
122
|
+
- 63f6b7d: dependencies updates:
|
|
123
|
+
- Updated dependency [`@clickhouse/client@^1.11.2` ↗︎](https://www.npmjs.com/package/@clickhouse/client/v/1.11.2) (from `^1.11.0`, in `dependencies`)
|
|
124
|
+
- Updated dependencies [63f6b7d]
|
|
125
|
+
- Updated dependencies [12a95fc]
|
|
126
|
+
- Updated dependencies [4b0f8a6]
|
|
127
|
+
- Updated dependencies [51264a5]
|
|
128
|
+
- Updated dependencies [8e6f677]
|
|
129
|
+
- Updated dependencies [d70c420]
|
|
130
|
+
- Updated dependencies [ee9af57]
|
|
131
|
+
- Updated dependencies [36f1c36]
|
|
132
|
+
- Updated dependencies [2a16996]
|
|
133
|
+
- Updated dependencies [10d352e]
|
|
134
|
+
- Updated dependencies [9589624]
|
|
135
|
+
- Updated dependencies [53d3c37]
|
|
136
|
+
- Updated dependencies [751c894]
|
|
137
|
+
- Updated dependencies [577ce3a]
|
|
138
|
+
- Updated dependencies [9260b3a]
|
|
139
|
+
- @mastra/core@0.10.6
|
|
140
|
+
|
|
141
|
+
## 0.11.0-alpha.1
|
|
142
|
+
|
|
143
|
+
### Minor Changes
|
|
144
|
+
|
|
145
|
+
- 704d1ca: Thread Timestamp Auto-Update Enhancement
|
|
146
|
+
Added automatic thread updatedAt timestamp updates when messages are saved across all storage providers
|
|
147
|
+
Enhanced user experience: Threads now accurately reflect their latest activity with automatic timestamp updates when new messages are added
|
|
148
|
+
Universal implementation: Consistent behavior across all 7 storage backends (ClickHouse, Cloudflare D1, DynamoDB, MongoDB, PostgreSQL, Upstash, LibSQL)
|
|
149
|
+
Performance optimized: Updates execute in parallel with message saving operations for minimal performance impact
|
|
150
|
+
Backwards compatible: No breaking changes - existing code continues to work unchanged
|
|
151
|
+
Improved conversation ordering: Chat interfaces can now properly sort threads by actual last activity
|
|
152
|
+
This enhancement resolves the issue where active conversations appeared stale due to outdated thread timestamps, providing better conversation management and user experience in chat applications.
|
|
153
|
+
|
|
154
|
+
## 0.10.3-alpha.0
|
|
155
|
+
|
|
156
|
+
### Patch Changes
|
|
157
|
+
|
|
158
|
+
- 63f6b7d: dependencies updates:
|
|
159
|
+
- Updated dependency [`@clickhouse/client@^1.11.2` ↗︎](https://www.npmjs.com/package/@clickhouse/client/v/1.11.2) (from `^1.11.0`, in `dependencies`)
|
|
160
|
+
- Updated dependencies [63f6b7d]
|
|
161
|
+
- Updated dependencies [36f1c36]
|
|
162
|
+
- Updated dependencies [10d352e]
|
|
163
|
+
- Updated dependencies [53d3c37]
|
|
164
|
+
- @mastra/core@0.10.6-alpha.0
|
|
165
|
+
|
|
166
|
+
## 0.10.2
|
|
167
|
+
|
|
168
|
+
### Patch Changes
|
|
169
|
+
|
|
170
|
+
- dffb67b: updated stores to add alter table and change tests
|
|
171
|
+
- 925ab94: added paginated functions to base class and added boilerplate and updated imports
|
|
172
|
+
- 66f4424: Update peerdeps
|
|
173
|
+
- Updated dependencies [d1ed912]
|
|
174
|
+
- Updated dependencies [f6fd25f]
|
|
175
|
+
- Updated dependencies [dffb67b]
|
|
176
|
+
- Updated dependencies [f1f1f1b]
|
|
177
|
+
- Updated dependencies [925ab94]
|
|
178
|
+
- Updated dependencies [f9816ae]
|
|
179
|
+
- Updated dependencies [82090c1]
|
|
180
|
+
- Updated dependencies [1b443fd]
|
|
181
|
+
- Updated dependencies [ce97900]
|
|
182
|
+
- Updated dependencies [f1309d3]
|
|
183
|
+
- Updated dependencies [14a2566]
|
|
184
|
+
- Updated dependencies [f7f8293]
|
|
185
|
+
- Updated dependencies [48eddb9]
|
|
186
|
+
- @mastra/core@0.10.4
|
|
187
|
+
|
|
188
|
+
## 0.10.2-alpha.2
|
|
189
|
+
|
|
190
|
+
### Patch Changes
|
|
191
|
+
|
|
192
|
+
- 66f4424: Update peerdeps
|
|
193
|
+
|
|
194
|
+
## 0.10.2-alpha.1
|
|
195
|
+
|
|
196
|
+
### Patch Changes
|
|
197
|
+
|
|
198
|
+
- 925ab94: added paginated functions to base class and added boilerplate and updated imports
|
|
199
|
+
- Updated dependencies [925ab94]
|
|
200
|
+
- @mastra/core@0.10.4-alpha.3
|
|
201
|
+
|
|
202
|
+
## 0.10.2-alpha.0
|
|
203
|
+
|
|
204
|
+
### Patch Changes
|
|
205
|
+
|
|
206
|
+
- dffb67b: updated stores to add alter table and change tests
|
|
207
|
+
- Updated dependencies [f6fd25f]
|
|
208
|
+
- Updated dependencies [dffb67b]
|
|
209
|
+
- Updated dependencies [f1309d3]
|
|
210
|
+
- Updated dependencies [f7f8293]
|
|
211
|
+
- @mastra/core@0.10.4-alpha.1
|
|
212
|
+
|
|
213
|
+
## 0.10.1
|
|
4
214
|
|
|
5
215
|
### Patch Changes
|
|
6
216
|
|
|
@@ -12,12 +222,19 @@
|
|
|
12
222
|
- Updated dependencies [e5dc18d]
|
|
13
223
|
- Updated dependencies [ab5adbe]
|
|
14
224
|
- Updated dependencies [1e8bb40]
|
|
225
|
+
- Updated dependencies [1b5fc55]
|
|
15
226
|
- Updated dependencies [195c428]
|
|
16
227
|
- Updated dependencies [f73e11b]
|
|
228
|
+
- Updated dependencies [37643b8]
|
|
229
|
+
- Updated dependencies [99fd6cf]
|
|
17
230
|
- Updated dependencies [c5bf1ce]
|
|
231
|
+
- Updated dependencies [add596e]
|
|
232
|
+
- Updated dependencies [8dc94d8]
|
|
233
|
+
- Updated dependencies [ecebbeb]
|
|
234
|
+
- Updated dependencies [79d5145]
|
|
18
235
|
- Updated dependencies [12b7002]
|
|
19
236
|
- Updated dependencies [2901125]
|
|
20
|
-
- @mastra/core@0.
|
|
237
|
+
- @mastra/core@0.10.2
|
|
21
238
|
|
|
22
239
|
## 0.10.1-alpha.2
|
|
23
240
|
|
package/LICENSE.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
# Apache License 2.0
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Copyright (c) 2025 Kepler Software, Inc.
|
|
4
4
|
|
|
5
|
-
|
|
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
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
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.
|