@mastra/couchbase 0.0.0-vector-query-sources-20250516172905 → 0.0.0-vector-query-tool-provider-options-20250828222356

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,16 +1,361 @@
1
1
  # @mastra/couchbase
2
2
 
3
- ## 0.0.0-vector-query-sources-20250516172905
3
+ ## 0.0.0-vector-query-tool-provider-options-20250828222356
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), [`00c74e7`](https://github.com/mastra-ai/mastra/commit/00c74e73b1926be0d475693bb886fb67a22ff352), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4), [`af90672`](https://github.com/mastra-ai/mastra/commit/af906722d8da28688882193b1e531026f9e2e81e), [`56041d0`](https://github.com/mastra-ai/mastra/commit/56041d018863a3da6b98c512e47348647c075fb3), [`5de1555`](https://github.com/mastra-ai/mastra/commit/5de15554d3d6695211945a36928f6657e76cddc9), [`1ed5a3e`](https://github.com/mastra-ai/mastra/commit/1ed5a3e19330374c4347a4237cd2f4b9ffb60376)]:
8
+ - @mastra/core@0.0.0-vector-query-tool-provider-options-20250828222356
9
+
10
+ ## 0.11.6
11
+
12
+ ### Patch Changes
13
+
14
+ - [`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdpes for @mastra/core
15
+
16
+ - Updated dependencies []:
17
+ - @mastra/core@0.15.2
18
+
19
+ ## 0.11.5
20
+
21
+ ### Patch Changes
22
+
23
+ - [`95b2aa9`](https://github.com/mastra-ai/mastra/commit/95b2aa908230919e67efcac0d69005a2d5745298) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdeps @mastra/core
24
+
25
+ - Updated dependencies []:
26
+ - @mastra/core@0.15.1
27
+
28
+ ## 0.11.4
29
+
30
+ ### Patch Changes
31
+
32
+ - 03997ae: Update peerdeps
33
+ - Updated dependencies [227c7e6]
34
+ - Updated dependencies [12cae67]
35
+ - Updated dependencies [fd3a3eb]
36
+ - Updated dependencies [6faaee5]
37
+ - Updated dependencies [4232b14]
38
+ - Updated dependencies [a89de7e]
39
+ - Updated dependencies [5a37d0c]
40
+ - Updated dependencies [4bde0cb]
41
+ - Updated dependencies [cf4f357]
42
+ - Updated dependencies [ad888a2]
43
+ - Updated dependencies [481751d]
44
+ - Updated dependencies [2454423]
45
+ - Updated dependencies [194e395]
46
+ - Updated dependencies [a722c0b]
47
+ - Updated dependencies [c30bca8]
48
+ - Updated dependencies [3b5fec7]
49
+ - Updated dependencies [a8f129d]
50
+ - @mastra/core@0.14.0
51
+
52
+ ## 0.11.4-alpha.0
53
+
54
+ ### Patch Changes
55
+
56
+ - 03997ae: Update peerdeps
57
+ - @mastra/core@0.14.0-alpha.7
58
+
59
+ ## 0.11.3
60
+
61
+ ### Patch Changes
62
+
63
+ - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
64
+ - Updated dependencies [cb36de0]
65
+ - Updated dependencies [d0496e6]
66
+ - Updated dependencies [a82b851]
67
+ - Updated dependencies [ea0c5f2]
68
+ - Updated dependencies [41a0a0e]
69
+ - Updated dependencies [2871020]
70
+ - Updated dependencies [94f4812]
71
+ - Updated dependencies [e202b82]
72
+ - Updated dependencies [e00f6a0]
73
+ - Updated dependencies [4a406ec]
74
+ - Updated dependencies [b0e43c1]
75
+ - Updated dependencies [5d377e5]
76
+ - Updated dependencies [1fb812e]
77
+ - Updated dependencies [35c5798]
78
+ - @mastra/core@0.13.0
79
+
80
+ ## 0.11.3-alpha.0
81
+
82
+ ### Patch Changes
83
+
84
+ - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
85
+ - Updated dependencies [cb36de0]
86
+ - Updated dependencies [a82b851]
87
+ - Updated dependencies [41a0a0e]
88
+ - Updated dependencies [2871020]
89
+ - Updated dependencies [4a406ec]
90
+ - Updated dependencies [5d377e5]
91
+ - @mastra/core@0.13.0-alpha.2
92
+
93
+ ## 0.11.2
94
+
95
+ ### Patch Changes
96
+
97
+ - f42c4c2: update peer deps for packages to latest core range
98
+ - Updated dependencies [510e2c8]
99
+ - Updated dependencies [2f72fb2]
100
+ - Updated dependencies [27cc97a]
101
+ - Updated dependencies [3f89307]
102
+ - Updated dependencies [9eda7d4]
103
+ - Updated dependencies [9d49408]
104
+ - Updated dependencies [41daa63]
105
+ - Updated dependencies [ad0a58b]
106
+ - Updated dependencies [254a36b]
107
+ - Updated dependencies [2ecf658]
108
+ - Updated dependencies [7a7754f]
109
+ - Updated dependencies [fc92d80]
110
+ - Updated dependencies [e0f73c6]
111
+ - Updated dependencies [0b89602]
112
+ - Updated dependencies [4d37822]
113
+ - Updated dependencies [23a6a7c]
114
+ - Updated dependencies [cda801d]
115
+ - Updated dependencies [a77c823]
116
+ - Updated dependencies [ff9c125]
117
+ - Updated dependencies [09bca64]
118
+ - Updated dependencies [b8efbb9]
119
+ - Updated dependencies [71466e7]
120
+ - Updated dependencies [0c99fbe]
121
+ - @mastra/core@0.12.0
122
+
123
+ ## 0.11.2-alpha.0
124
+
125
+ ### Patch Changes
126
+
127
+ - f42c4c2: update peer deps for packages to latest core range
128
+ - @mastra/core@0.12.0-alpha.5
129
+
130
+ ## 0.11.1
131
+
132
+ ### Patch Changes
133
+
134
+ - ce088f5: Update all peerdeps to latest core
135
+ - @mastra/core@0.11.1
136
+
137
+ ## 0.11.0
138
+
139
+ ### Minor Changes
140
+
141
+ - 8a3bfd2: Update peerdeps to latest core
142
+
143
+ ### Patch Changes
144
+
145
+ - 0e17048: Throw mastra errors in storage packages
146
+ - Updated dependencies [15e9d26]
147
+ - Updated dependencies [d1baedb]
148
+ - Updated dependencies [d8f2d19]
149
+ - Updated dependencies [4d21bf2]
150
+ - Updated dependencies [07d6d88]
151
+ - Updated dependencies [9d52b17]
152
+ - Updated dependencies [2097952]
153
+ - Updated dependencies [792c4c0]
154
+ - Updated dependencies [5d74aab]
155
+ - Updated dependencies [a8b194f]
156
+ - Updated dependencies [4fb0cc2]
157
+ - Updated dependencies [d2a7a31]
158
+ - Updated dependencies [502fe05]
159
+ - Updated dependencies [144eb0b]
160
+ - Updated dependencies [8ba1b51]
161
+ - Updated dependencies [4efcfa0]
162
+ - Updated dependencies [0e17048]
163
+ - @mastra/core@0.10.7
164
+
165
+ ## 0.11.0-alpha.1
166
+
167
+ ### Minor Changes
168
+
169
+ - 8a3bfd2: Update peerdeps to latest core
170
+
171
+ ### Patch Changes
172
+
173
+ - Updated dependencies [792c4c0]
174
+ - Updated dependencies [502fe05]
175
+ - Updated dependencies [4efcfa0]
176
+ - @mastra/core@0.10.7-alpha.3
177
+
178
+ ## 0.10.4-alpha.0
179
+
180
+ ### Patch Changes
181
+
182
+ - 0e17048: Throw mastra errors in storage packages
183
+ - Updated dependencies [d1baedb]
184
+ - Updated dependencies [4d21bf2]
185
+ - Updated dependencies [2097952]
186
+ - Updated dependencies [4fb0cc2]
187
+ - Updated dependencies [d2a7a31]
188
+ - Updated dependencies [0e17048]
189
+ - @mastra/core@0.10.7-alpha.1
190
+
191
+ ## 0.10.3
192
+
193
+ ### Patch Changes
194
+
195
+ - 63f6b7d: dependencies updates:
196
+ - Updated dependency [`couchbase@^4.5.0` ↗︎](https://www.npmjs.com/package/couchbase/v/4.5.0) (from `^4.4.5`, in `dependencies`)
197
+ - Updated dependencies [63f6b7d]
198
+ - Updated dependencies [12a95fc]
199
+ - Updated dependencies [4b0f8a6]
200
+ - Updated dependencies [51264a5]
201
+ - Updated dependencies [8e6f677]
202
+ - Updated dependencies [d70c420]
203
+ - Updated dependencies [ee9af57]
204
+ - Updated dependencies [36f1c36]
205
+ - Updated dependencies [2a16996]
206
+ - Updated dependencies [10d352e]
207
+ - Updated dependencies [9589624]
208
+ - Updated dependencies [53d3c37]
209
+ - Updated dependencies [751c894]
210
+ - Updated dependencies [577ce3a]
211
+ - Updated dependencies [9260b3a]
212
+ - @mastra/core@0.10.6
213
+
214
+ ## 0.10.3-alpha.0
215
+
216
+ ### Patch Changes
217
+
218
+ - 63f6b7d: dependencies updates:
219
+ - Updated dependency [`couchbase@^4.5.0` ↗︎](https://www.npmjs.com/package/couchbase/v/4.5.0) (from `^4.4.5`, in `dependencies`)
220
+ - Updated dependencies [63f6b7d]
221
+ - Updated dependencies [36f1c36]
222
+ - Updated dependencies [10d352e]
223
+ - Updated dependencies [53d3c37]
224
+ - @mastra/core@0.10.6-alpha.0
225
+
226
+ ## 0.10.2
227
+
228
+ ### Patch Changes
229
+
230
+ - 66f4424: Update peerdeps
231
+ - Updated dependencies [d1ed912]
232
+ - Updated dependencies [f6fd25f]
233
+ - Updated dependencies [dffb67b]
234
+ - Updated dependencies [f1f1f1b]
235
+ - Updated dependencies [925ab94]
236
+ - Updated dependencies [f9816ae]
237
+ - Updated dependencies [82090c1]
238
+ - Updated dependencies [1b443fd]
239
+ - Updated dependencies [ce97900]
240
+ - Updated dependencies [f1309d3]
241
+ - Updated dependencies [14a2566]
242
+ - Updated dependencies [f7f8293]
243
+ - Updated dependencies [48eddb9]
244
+ - @mastra/core@0.10.4
245
+
246
+ ## 0.10.2-alpha.0
247
+
248
+ ### Patch Changes
249
+
250
+ - 66f4424: Update peerdeps
251
+
252
+ ## 0.10.1
253
+
254
+ ### Patch Changes
255
+
256
+ - f0d559f: Fix peerdeps for alpha channel
257
+ - 915ca1a: Added disconnect function for couchbase and added docs
258
+ Added prompt for OpenSearchVector
259
+ - Updated dependencies [ee77e78]
260
+ - Updated dependencies [592a2db]
261
+ - Updated dependencies [e5dc18d]
262
+ - Updated dependencies [ab5adbe]
263
+ - Updated dependencies [1e8bb40]
264
+ - Updated dependencies [1b5fc55]
265
+ - Updated dependencies [195c428]
266
+ - Updated dependencies [f73e11b]
267
+ - Updated dependencies [37643b8]
268
+ - Updated dependencies [99fd6cf]
269
+ - Updated dependencies [c5bf1ce]
270
+ - Updated dependencies [add596e]
271
+ - Updated dependencies [8dc94d8]
272
+ - Updated dependencies [ecebbeb]
273
+ - Updated dependencies [79d5145]
274
+ - Updated dependencies [12b7002]
275
+ - Updated dependencies [2901125]
276
+ - @mastra/core@0.10.2
277
+
278
+ ## 0.10.1-alpha.1
279
+
280
+ ### Patch Changes
281
+
282
+ - f0d559f: Fix peerdeps for alpha channel
283
+ - Updated dependencies [1e8bb40]
284
+ - @mastra/core@0.10.2-alpha.2
285
+
286
+ ## 0.10.1-alpha.0
287
+
288
+ ### Patch Changes
289
+
290
+ - 915ca1a: Added disconnect function for couchbase and added docs
291
+ Added prompt for OpenSearchVector
292
+ - Updated dependencies [ee77e78]
293
+ - Updated dependencies [2901125]
294
+ - @mastra/core@0.10.2-alpha.1
295
+
296
+ ## 0.10.0
297
+
298
+ ### Minor Changes
299
+
300
+ - 83da932: Move @mastra/core to peerdeps
301
+
302
+ ### Patch Changes
303
+
304
+ - d0ee3c6: Change all public functions and constructors in vector stores to use named args and prepare to phase out positional args
305
+ - a7292b0: BREAKING(@mastra/core, all vector stores): Vector store breaking changes (remove deprecated functions and positional arguments)
306
+ - Updated dependencies [b3a3d63]
307
+ - Updated dependencies [344f453]
308
+ - Updated dependencies [0a3ae6d]
309
+ - Updated dependencies [95911be]
310
+ - Updated dependencies [f53a6ac]
311
+ - Updated dependencies [5eb5a99]
312
+ - Updated dependencies [7e632c5]
313
+ - Updated dependencies [1e9fbfa]
314
+ - Updated dependencies [eabdcd9]
315
+ - Updated dependencies [90be034]
316
+ - Updated dependencies [99f050a]
317
+ - Updated dependencies [d0ee3c6]
318
+ - Updated dependencies [b2ae5aa]
319
+ - Updated dependencies [23f258c]
320
+ - Updated dependencies [a7292b0]
321
+ - Updated dependencies [0dcb9f0]
322
+ - Updated dependencies [2672a05]
323
+ - @mastra/core@0.10.0
324
+
325
+ ## 0.1.0-alpha.1
326
+
327
+ ### Minor Changes
328
+
329
+ - 83da932: Move @mastra/core to peerdeps
330
+
331
+ ### Patch Changes
332
+
333
+ - a7292b0: BREAKING(@mastra/core, all vector stores): Vector store breaking changes (remove deprecated functions and positional arguments)
334
+ - Updated dependencies [b3a3d63]
335
+ - Updated dependencies [344f453]
336
+ - Updated dependencies [0a3ae6d]
337
+ - Updated dependencies [95911be]
338
+ - Updated dependencies [5eb5a99]
339
+ - Updated dependencies [7e632c5]
340
+ - Updated dependencies [1e9fbfa]
341
+ - Updated dependencies [b2ae5aa]
342
+ - Updated dependencies [a7292b0]
343
+ - Updated dependencies [0dcb9f0]
344
+ - @mastra/core@0.10.0-alpha.1
345
+
346
+ ## 0.0.5-alpha.0
4
347
 
5
348
  ### Patch Changes
6
349
 
7
350
  - d0ee3c6: Change all public functions and constructors in vector stores to use named args and prepare to phase out positional args
8
351
  - Updated dependencies [f53a6ac]
9
352
  - Updated dependencies [eabdcd9]
353
+ - Updated dependencies [90be034]
354
+ - Updated dependencies [99f050a]
10
355
  - Updated dependencies [d0ee3c6]
11
356
  - Updated dependencies [23f258c]
12
357
  - Updated dependencies [2672a05]
13
- - @mastra/core@0.0.0-vector-query-sources-20250516172905
358
+ - @mastra/core@0.9.5-alpha.0
14
359
 
15
360
  ## 0.0.4
16
361
 
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
@@ -51,7 +51,14 @@ const bucketName = 'your_vector_bucket';
51
51
  const scopeName = '_default'; // Or your custom scope name
52
52
  const collectionName = 'vector_data'; // Or your custom collection name
53
53
 
54
- const vectorStore = new CouchbaseVector(connectionString, username, password, bucketName, scopeName, collectionName);
54
+ const vectorStore = new CouchbaseVector({
55
+ connectionString,
56
+ username,
57
+ password,
58
+ bucketName,
59
+ scopeName,
60
+ collectionName,
61
+ });
55
62
 
56
63
  console.log('CouchbaseVector instance created. Connecting...');
57
64
  ```
@@ -214,6 +221,9 @@ _Note_: Deleting Index does NOT delete the vectors in the associated Couchbase C
214
221
  - `listIndexes()`: Lists the names of all Search Indexes in the cluster. Returns fully qualified names (e.g., `bucket.scope.index`).
215
222
  - `describeIndex(indexName)`: Gets the configured dimension, metric (Mastra name), and document count (currently returns -1) for a specific Search Index (using its short name).
216
223
  - `deleteIndex(indexName)`: Deletes a Search Index (using its short name).
224
+ - `deleteVector(indexName, id)`: Deletes a specific vector entry from an index by its ID.
225
+ - `updateVector(indexName, id, update)`: Updates a specific vector entry by its ID with new vector data and/or metadata.
226
+ - `disconnect()`: Closes the Couchbase client connection. Should be called when done using the store.
217
227
 
218
228
  ## Configuration Details
219
229