@mastra/upstash 0.0.0-commonjs-20250227130920

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.
@@ -0,0 +1,23 @@
1
+
2
+ > @mastra/upstash@0.1.6-alpha.0 build C:\Users\Ward\projects\mastra\mastra\stores\upstash
3
+ > tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake
4
+
5
+ CLI Building entry: src/index.ts
6
+ CLI Using tsconfig: tsconfig.json
7
+ CLI tsup v8.3.6
8
+ TSC Build start
9
+ TSC ⚡️ Build success in 2119ms
10
+ DTS Build start
11
+ CLI Target: es2022
12
+ Analysis will use the bundled TypeScript version 5.7.3
13
+ Writing package typings: C:\Users\Ward\projects\mastra\mastra\stores\upstash\dist\_tsup-dts-rollup.d.ts
14
+ Analysis will use the bundled TypeScript version 5.7.3
15
+ Writing package typings: C:\Users\Ward\projects\mastra\mastra\stores\upstash\dist\_tsup-dts-rollup.d.cts
16
+ DTS ⚡️ Build success in 3533ms
17
+ CLI Cleaning output folder
18
+ ESM Build start
19
+ CJS Build start
20
+ ESM dist\index.js 15.98 KB
21
+ ESM ⚡️ Build success in 221ms
22
+ CJS dist\index.cjs 16.10 KB
23
+ CJS ⚡️ Build success in 221ms
package/CHANGELOG.md ADDED
@@ -0,0 +1,486 @@
1
+ # @mastra/upstash
2
+
3
+ ## 0.0.0-commonjs-20250227130920
4
+
5
+ ### Patch Changes
6
+
7
+ - 4a712fc: Add support for commonjs
8
+ - Updated dependencies [ed55f1d]
9
+ - Updated dependencies [06aa827]
10
+ - Updated dependencies [8d13b14]
11
+ - Updated dependencies [4a712fc]
12
+ - Updated dependencies [108793c]
13
+ - Updated dependencies [5f28f44]
14
+ - @mastra/core@0.0.0-commonjs-20250227130920
15
+
16
+ ## 0.1.6-alpha.0
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies [06aa827]
21
+ - @mastra/core@0.4.3-alpha.0
22
+
23
+ ## 0.1.5
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [7fceae1]
28
+ - Updated dependencies [8d94c3e]
29
+ - Updated dependencies [99dcdb5]
30
+ - Updated dependencies [6cb63e0]
31
+ - Updated dependencies [f626fbb]
32
+ - Updated dependencies [e752340]
33
+ - Updated dependencies [eb91535]
34
+ - @mastra/core@0.4.2
35
+
36
+ ## 0.1.5-alpha.2
37
+
38
+ ### Patch Changes
39
+
40
+ - Updated dependencies [8d94c3e]
41
+ - Updated dependencies [99dcdb5]
42
+ - Updated dependencies [e752340]
43
+ - Updated dependencies [eb91535]
44
+ - @mastra/core@0.4.2-alpha.2
45
+
46
+ ## 0.1.5-alpha.1
47
+
48
+ ### Patch Changes
49
+
50
+ - Updated dependencies [6cb63e0]
51
+ - @mastra/core@0.4.2-alpha.1
52
+
53
+ ## 0.1.5-alpha.0
54
+
55
+ ### Patch Changes
56
+
57
+ - Updated dependencies [7fceae1]
58
+ - Updated dependencies [f626fbb]
59
+ - @mastra/core@0.4.2-alpha.0
60
+
61
+ ## 0.1.4
62
+
63
+ ### Patch Changes
64
+
65
+ - Updated dependencies [ce44b9b]
66
+ - Updated dependencies [967da43]
67
+ - Updated dependencies [b405f08]
68
+ - @mastra/core@0.4.1
69
+
70
+ ## 0.1.3
71
+
72
+ ### Patch Changes
73
+
74
+ - Updated dependencies [2fc618f]
75
+ - Updated dependencies [fe0fd01]
76
+ - @mastra/core@0.4.0
77
+
78
+ ## 0.1.3-alpha.1
79
+
80
+ ### Patch Changes
81
+
82
+ - Updated dependencies [fe0fd01]
83
+ - @mastra/core@0.4.0-alpha.1
84
+
85
+ ## 0.1.3-alpha.0
86
+
87
+ ### Patch Changes
88
+
89
+ - Updated dependencies [2fc618f]
90
+ - @mastra/core@0.4.0-alpha.0
91
+
92
+ ## 0.1.2
93
+
94
+ ### Patch Changes
95
+
96
+ - Updated dependencies [f205ede]
97
+ - @mastra/core@0.3.0
98
+
99
+ ## 0.1.1
100
+
101
+ ### Patch Changes
102
+
103
+ - Updated dependencies [d59f1a8]
104
+ - Updated dependencies [91ef439]
105
+ - Updated dependencies [4a25be4]
106
+ - Updated dependencies [bf2e88f]
107
+ - Updated dependencies [2f0d707]
108
+ - Updated dependencies [aac1667]
109
+ - @mastra/core@0.2.1
110
+
111
+ ## 0.1.1-alpha.0
112
+
113
+ ### Patch Changes
114
+
115
+ - Updated dependencies [d59f1a8]
116
+ - Updated dependencies [91ef439]
117
+ - Updated dependencies [4a25be4]
118
+ - Updated dependencies [bf2e88f]
119
+ - Updated dependencies [2f0d707]
120
+ - Updated dependencies [aac1667]
121
+ - @mastra/core@0.2.1-alpha.0
122
+
123
+ ## 0.1.0
124
+
125
+ ### Minor Changes
126
+
127
+ - c87eb4e: Combine Upstash packages into `@mastra/upstash`.
128
+
129
+ - Move and combine packages to `stores/upstash`
130
+ - Reorganize source files into `src/vector` and `src/store`
131
+ - Add deprecation notices to old packages
132
+ - Update documentation and examples
133
+ - No breaking changes in functionality
134
+
135
+ - 8b416d9: Breaking changes
136
+
137
+ ### Patch Changes
138
+
139
+ - b97ca96: Tracing into default storage
140
+ - 07c069d: Update build script
141
+ - 9c10484: update all packages
142
+ - 70dabd9: Fix broken publish
143
+ - 4f1d1a1: Enforce types ann cleanup package.json
144
+ - Updated dependencies [f537e33]
145
+ - Updated dependencies [6f2c0f5]
146
+ - Updated dependencies [e4d4ede]
147
+ - Updated dependencies [0be7181]
148
+ - Updated dependencies [dd6d87f]
149
+ - Updated dependencies [9029796]
150
+ - Updated dependencies [6fa4bd2]
151
+ - Updated dependencies [f031a1f]
152
+ - Updated dependencies [8151f44]
153
+ - Updated dependencies [d7d465a]
154
+ - Updated dependencies [4d4f6b6]
155
+ - Updated dependencies [73d112c]
156
+ - Updated dependencies [592e3cf]
157
+ - Updated dependencies [9d1796d]
158
+ - Updated dependencies [e897f1c]
159
+ - Updated dependencies [4a54c82]
160
+ - Updated dependencies [3967e69]
161
+ - Updated dependencies [8ae2bbc]
162
+ - Updated dependencies [e9d1b47]
163
+ - Updated dependencies [016493a]
164
+ - Updated dependencies [bc40916]
165
+ - Updated dependencies [93a3719]
166
+ - Updated dependencies [7d83b92]
167
+ - Updated dependencies [9fb3039]
168
+ - Updated dependencies [d5e12de]
169
+ - Updated dependencies [e1dd94a]
170
+ - Updated dependencies [07c069d]
171
+ - Updated dependencies [5cdfb88]
172
+ - Updated dependencies [837a288]
173
+ - Updated dependencies [685108a]
174
+ - Updated dependencies [c8ff2f5]
175
+ - Updated dependencies [5fdc87c]
176
+ - Updated dependencies [ae7bf94]
177
+ - Updated dependencies [8e7814f]
178
+ - Updated dependencies [66a03ec]
179
+ - Updated dependencies [7d87a15]
180
+ - Updated dependencies [b97ca96]
181
+ - Updated dependencies [23dcb23]
182
+ - Updated dependencies [033eda6]
183
+ - Updated dependencies [8105fae]
184
+ - Updated dependencies [e097800]
185
+ - Updated dependencies [1944807]
186
+ - Updated dependencies [30322ce]
187
+ - Updated dependencies [1874f40]
188
+ - Updated dependencies [685108a]
189
+ - Updated dependencies [f7d1131]
190
+ - Updated dependencies [79acad0]
191
+ - Updated dependencies [7a19083]
192
+ - Updated dependencies [382f4dc]
193
+ - Updated dependencies [1ebd071]
194
+ - Updated dependencies [0b74006]
195
+ - Updated dependencies [2f17a5f]
196
+ - Updated dependencies [f368477]
197
+ - Updated dependencies [7892533]
198
+ - Updated dependencies [9c10484]
199
+ - Updated dependencies [b726bf5]
200
+ - Updated dependencies [70dabd9]
201
+ - Updated dependencies [21fe536]
202
+ - Updated dependencies [176bc42]
203
+ - Updated dependencies [401a4d9]
204
+ - Updated dependencies [2e099d2]
205
+ - Updated dependencies [0b826f6]
206
+ - Updated dependencies [d68b532]
207
+ - Updated dependencies [75bf3f0]
208
+ - Updated dependencies [e6d8055]
209
+ - Updated dependencies [e2e76de]
210
+ - Updated dependencies [ccbc581]
211
+ - Updated dependencies [5950de5]
212
+ - Updated dependencies [fe3dcb0]
213
+ - Updated dependencies [78eec7c]
214
+ - Updated dependencies [a8a459a]
215
+ - Updated dependencies [0be7181]
216
+ - Updated dependencies [7b87567]
217
+ - Updated dependencies [b524c22]
218
+ - Updated dependencies [d7d465a]
219
+ - Updated dependencies [df843d3]
220
+ - Updated dependencies [4534e77]
221
+ - Updated dependencies [d6d8159]
222
+ - Updated dependencies [0bd142c]
223
+ - Updated dependencies [9625602]
224
+ - Updated dependencies [72d1990]
225
+ - Updated dependencies [f6ba259]
226
+ - Updated dependencies [2712098]
227
+ - Updated dependencies [eedb829]
228
+ - Updated dependencies [5285356]
229
+ - Updated dependencies [74b3078]
230
+ - Updated dependencies [cb290ee]
231
+ - Updated dependencies [b4d7416]
232
+ - Updated dependencies [e608d8c]
233
+ - Updated dependencies [06b2c0a]
234
+ - Updated dependencies [002d6d8]
235
+ - Updated dependencies [e448a26]
236
+ - Updated dependencies [8b416d9]
237
+ - Updated dependencies [fd494a3]
238
+ - Updated dependencies [dc90663]
239
+ - Updated dependencies [c872875]
240
+ - Updated dependencies [3c4488b]
241
+ - Updated dependencies [a7b016d]
242
+ - Updated dependencies [fd75f3c]
243
+ - Updated dependencies [7f24c29]
244
+ - Updated dependencies [2017553]
245
+ - Updated dependencies [a10b7a3]
246
+ - Updated dependencies [cf6d825]
247
+ - Updated dependencies [963c15a]
248
+ - Updated dependencies [7365b6c]
249
+ - Updated dependencies [5ee67d3]
250
+ - Updated dependencies [d38f7a6]
251
+ - Updated dependencies [38b7f66]
252
+ - Updated dependencies [2fa7f53]
253
+ - Updated dependencies [1420ae2]
254
+ - Updated dependencies [f6da688]
255
+ - Updated dependencies [3700be1]
256
+ - Updated dependencies [9ade36e]
257
+ - Updated dependencies [10870bc]
258
+ - Updated dependencies [2b01511]
259
+ - Updated dependencies [a870123]
260
+ - Updated dependencies [ccf115c]
261
+ - Updated dependencies [04434b6]
262
+ - Updated dependencies [5811de6]
263
+ - Updated dependencies [9f3ab05]
264
+ - Updated dependencies [66a5392]
265
+ - Updated dependencies [4b1ce2c]
266
+ - Updated dependencies [14064f2]
267
+ - Updated dependencies [f5dfa20]
268
+ - Updated dependencies [327ece7]
269
+ - Updated dependencies [da2e8d3]
270
+ - Updated dependencies [95a4697]
271
+ - Updated dependencies [d5fccfb]
272
+ - Updated dependencies [3427b95]
273
+ - Updated dependencies [538a136]
274
+ - Updated dependencies [e66643a]
275
+ - Updated dependencies [b5393f1]
276
+ - Updated dependencies [d2cd535]
277
+ - Updated dependencies [c2dd6b5]
278
+ - Updated dependencies [67637ba]
279
+ - Updated dependencies [836f4e3]
280
+ - Updated dependencies [5ee2e78]
281
+ - Updated dependencies [cd02c56]
282
+ - Updated dependencies [01502b0]
283
+ - Updated dependencies [16e5b04]
284
+ - Updated dependencies [d9c8dd0]
285
+ - Updated dependencies [9fb59d6]
286
+ - Updated dependencies [a9345f9]
287
+ - Updated dependencies [99f1847]
288
+ - Updated dependencies [04f3171]
289
+ - Updated dependencies [8769a62]
290
+ - Updated dependencies [d5ec619]
291
+ - Updated dependencies [27275c9]
292
+ - Updated dependencies [ae7bf94]
293
+ - Updated dependencies [4f1d1a1]
294
+ - Updated dependencies [ee4de15]
295
+ - Updated dependencies [202d404]
296
+ - Updated dependencies [a221426]
297
+ - @mastra/core@0.2.0
298
+
299
+ ## 0.1.0-alpha.20
300
+
301
+ ### Patch Changes
302
+
303
+ - Updated dependencies [016493a]
304
+ - Updated dependencies [382f4dc]
305
+ - Updated dependencies [176bc42]
306
+ - Updated dependencies [d68b532]
307
+ - Updated dependencies [fe3dcb0]
308
+ - Updated dependencies [e448a26]
309
+ - Updated dependencies [fd75f3c]
310
+ - Updated dependencies [ccf115c]
311
+ - Updated dependencies [a221426]
312
+ - @mastra/core@0.2.0-alpha.110
313
+
314
+ ## 0.1.0-alpha.19
315
+
316
+ ### Patch Changes
317
+
318
+ - Updated dependencies [d5fccfb]
319
+ - @mastra/core@0.2.0-alpha.109
320
+
321
+ ## 0.1.0-alpha.18
322
+
323
+ ### Patch Changes
324
+
325
+ - Updated dependencies [5ee67d3]
326
+ - Updated dependencies [95a4697]
327
+ - @mastra/core@0.2.0-alpha.108
328
+
329
+ ## 0.1.0-alpha.17
330
+
331
+ ### Patch Changes
332
+
333
+ - Updated dependencies [66a5392]
334
+ - @mastra/core@0.2.0-alpha.107
335
+
336
+ ## 0.1.0-alpha.16
337
+
338
+ ### Patch Changes
339
+
340
+ - Updated dependencies [6f2c0f5]
341
+ - Updated dependencies [a8a459a]
342
+ - @mastra/core@0.2.0-alpha.106
343
+
344
+ ## 0.1.0-alpha.15
345
+
346
+ ### Patch Changes
347
+
348
+ - Updated dependencies [1420ae2]
349
+ - Updated dependencies [99f1847]
350
+ - @mastra/core@0.2.0-alpha.105
351
+
352
+ ## 0.1.0-alpha.14
353
+
354
+ ### Patch Changes
355
+
356
+ - b97ca96: Tracing into default storage
357
+ - Updated dependencies [5fdc87c]
358
+ - Updated dependencies [b97ca96]
359
+ - Updated dependencies [72d1990]
360
+ - Updated dependencies [cf6d825]
361
+ - Updated dependencies [10870bc]
362
+ - @mastra/core@0.2.0-alpha.104
363
+
364
+ ## 0.1.0-alpha.13
365
+
366
+ ### Patch Changes
367
+
368
+ - Updated dependencies [4534e77]
369
+ - @mastra/core@0.2.0-alpha.103
370
+
371
+ ## 0.1.0-alpha.12
372
+
373
+ ### Patch Changes
374
+
375
+ - Updated dependencies [a9345f9]
376
+ - @mastra/core@0.2.0-alpha.102
377
+
378
+ ## 0.1.0-alpha.11
379
+
380
+ ### Patch Changes
381
+
382
+ - 4f1d1a1: Enforce types ann cleanup package.json
383
+ - Updated dependencies [66a03ec]
384
+ - Updated dependencies [4f1d1a1]
385
+ - @mastra/core@0.2.0-alpha.101
386
+
387
+ ## 0.1.0-alpha.10
388
+
389
+ ### Patch Changes
390
+
391
+ - Updated dependencies [9d1796d]
392
+ - @mastra/core@0.2.0-alpha.100
393
+
394
+ ## 0.1.0-alpha.9
395
+
396
+ ### Patch Changes
397
+
398
+ - Updated dependencies [7d83b92]
399
+ - @mastra/core@0.2.0-alpha.99
400
+
401
+ ## 0.1.0-alpha.8
402
+
403
+ ### Patch Changes
404
+
405
+ - 70dabd9: Fix broken publish
406
+ - Updated dependencies [70dabd9]
407
+ - Updated dependencies [202d404]
408
+ - @mastra/core@0.2.0-alpha.98
409
+
410
+ ## 0.1.0-alpha.7
411
+
412
+ ### Patch Changes
413
+
414
+ - 07c069d: Update build script
415
+ - Updated dependencies [07c069d]
416
+ - Updated dependencies [7892533]
417
+ - Updated dependencies [e6d8055]
418
+ - Updated dependencies [5950de5]
419
+ - Updated dependencies [df843d3]
420
+ - Updated dependencies [a870123]
421
+ - @mastra/core@0.2.0-alpha.97
422
+
423
+ ## 0.1.0-alpha.6
424
+
425
+ ### Patch Changes
426
+
427
+ - Updated dependencies [74b3078]
428
+ - @mastra/core@0.2.0-alpha.96
429
+
430
+ ## 0.1.0-alpha.5
431
+
432
+ ### Patch Changes
433
+
434
+ - Updated dependencies [9fb59d6]
435
+ - @mastra/core@0.2.0-alpha.95
436
+
437
+ ## 0.1.0-alpha.4
438
+
439
+ ### Minor Changes
440
+
441
+ - 8b416d9: Breaking changes
442
+
443
+ ### Patch Changes
444
+
445
+ - 9c10484: update all packages
446
+ - Updated dependencies [9c10484]
447
+ - Updated dependencies [8b416d9]
448
+ - @mastra/core@0.2.0-alpha.94
449
+
450
+ ## 0.1.0-alpha.3
451
+
452
+ ### Patch Changes
453
+
454
+ - Updated dependencies [5285356]
455
+ - @mastra/core@0.2.0-alpha.93
456
+
457
+ ## 0.1.0-alpha.2
458
+
459
+ ### Minor Changes
460
+
461
+ - c87eb4e: Combine Upstash packages into `@mastra/upstash`.
462
+
463
+ - Move and combine packages to `stores/upstash`
464
+ - Reorganize source files into `src/vector` and `src/store`
465
+ - Add deprecation notices to old packages
466
+ - Update documentation and examples
467
+ - No breaking changes in functionality
468
+
469
+ ## 0.1.0-alpha.1
470
+
471
+ ### Major Changes
472
+
473
+ - Combined @mastra/vector-upstash and @mastra/store-upstash into a single package
474
+ - Moved source code into src/vector and src/storage directories
475
+ - Updated package exports to include both vector and storage functionality
476
+ - Updated documentation to reflect combined package structure
477
+ - Added proper test skipping for vector tests when credentials are not available
478
+
479
+ ### Migration Guide
480
+
481
+ If you were previously using either @mastra/vector-upstash or @mastra/store-upstash, you'll need to:
482
+
483
+ 1. Update your package.json to use @mastra/upstash instead
484
+ 2. Update your imports:
485
+ - Change `import { UpstashVector } from '@mastra/vector-upstash'` to `import { UpstashVector } from '@mastra/upstash'`
486
+ - Change `import { UpstashStore } from '@mastra/store-upstash'` to `import { UpstashStore } from '@mastra/upstash'`
package/LICENSE ADDED
@@ -0,0 +1,44 @@
1
+ Elastic License 2.0 (ELv2)
2
+
3
+ **Acceptance**
4
+ By using the software, you agree to all of the terms and conditions below.
5
+
6
+ **Copyright License**
7
+ 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
8
+
9
+ **Limitations**
10
+ 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.
11
+
12
+ 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.
13
+
14
+ 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.
15
+
16
+ **Patents**
17
+ 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.
18
+
19
+ **Notices**
20
+ You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms.
21
+
22
+ If you modify the software, you must include in any modified copies of the software prominent notices stating that you have modified the software.
23
+
24
+ **No Other Rights**
25
+ These terms do not imply any licenses other than those expressly granted in these terms.
26
+
27
+ **Termination**
28
+ 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.
29
+
30
+ **No Liability**
31
+ 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.
32
+
33
+ **Definitions**
34
+ 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.
35
+
36
+ _you_ refers to the individual or entity agreeing to these terms.
37
+
38
+ _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.
39
+
40
+ _your licenses_ are all the licenses granted to you for the software under these terms.
41
+
42
+ _use_ means anything you do with the software requiring one of your licenses.
43
+
44
+ _trademark_ means trademarks, service marks, and similar rights.
package/README.md ADDED
@@ -0,0 +1,59 @@
1
+ # @mastra/upstash
2
+
3
+ Upstash provider for Mastra that includes both vector store and database storage capabilities.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @mastra/upstash
9
+ ```
10
+
11
+ ## Vector Store Usage
12
+
13
+ ```typescript
14
+ import { UpstashVector } from '@mastra/upstash';
15
+
16
+ const vectorStore = new UpstashVector({
17
+ // configuration options
18
+ });
19
+ ```
20
+
21
+ ### Vector Store Configuration
22
+
23
+ The Upstash vector store requires the following configuration:
24
+
25
+ - `UPSTASH_VECTOR_REST_URL`: Your Upstash Vector REST URL
26
+ - `UPSTASH_VECTOR_TOKEN`: Your Upstash Vector REST token
27
+ - `UPSTASH_INDEX`: Name of the index to use
28
+
29
+ ## Database Storage Usage
30
+
31
+ ```typescript
32
+ import { UpstashStore } from '@mastra/upstash';
33
+
34
+ const store = new UpstashStore({
35
+ url: process.env.UPSTASH_REDIS_REST_URL,
36
+ token: process.env.UPSTASH_REDIS_REST_TOKEN,
37
+ });
38
+ ```
39
+
40
+ ### Database Storage Configuration
41
+
42
+ The Upstash store requires the following configuration:
43
+
44
+ - `UPSTASH_REDIS_REST_URL`: Your Upstash Redis REST URL
45
+ - `UPSTASH_REDIS_REST_TOKEN`: Your Upstash Redis REST token
46
+
47
+ ## Features
48
+
49
+ - Serverless vector database and key-value store
50
+ - Pay-per-use pricing
51
+ - Low latency global access
52
+ - REST API interface
53
+ - Built-in vector similarity search
54
+ - Durable storage for chat history and agent memory
55
+
56
+ ## Related Links
57
+
58
+ - [Upstash Vector Documentation](https://docs.upstash.com/vector)
59
+ - [Upstash Redis Documentation](https://docs.upstash.com/redis)