@retrivora-ai/rag-engine 2.3.7 → 2.3.9
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/dist/handlers/index.d.mts +1 -1
- package/dist/handlers/index.d.ts +1 -1
- package/dist/handlers/index.js +290 -151
- package/dist/handlers/index.mjs +292 -153
- package/dist/{index-ejOWsaqb.d.ts → index-BQd6Bax0.d.ts} +1 -1
- package/dist/{index-xxQOFx-u.d.mts → index-C7aHK7_g.d.mts} +1 -1
- package/dist/index.css +0 -15
- package/dist/index.js +148 -105
- package/dist/index.mjs +148 -105
- package/dist/server.d.mts +12 -32
- package/dist/server.d.ts +12 -32
- package/dist/server.js +295 -155
- package/dist/server.mjs +297 -157
- package/package.json +1 -1
- package/src/components/ChatWidget.tsx +0 -1
- package/src/components/ConfigProvider.tsx +2 -1
- package/src/components/DocumentUpload.tsx +34 -15
- package/src/config/serverConfig.ts +15 -5
- package/src/core/ConfigFetcher.ts +42 -3
- package/src/core/DatabaseStorage.ts +13 -13
- package/src/core/LicenseValidator.ts +5 -3
- package/src/core/LicenseVerifier.ts +85 -120
- package/src/core/Retrivora.ts +1 -1
- package/src/core/VectorPlugin.ts +1 -1
- package/src/handlers/index.ts +25 -13
- package/src/index.css +0 -15
- package/src/llm/providers/UniversalLLMAdapter.ts +18 -2
- package/src/providers/vectordb/PineconeProvider.ts +69 -2
|
@@ -263,7 +263,7 @@ declare function createHealthHandler(configOrPlugin?: Partial<RagConfig> | Vecto
|
|
|
263
263
|
*
|
|
264
264
|
* Client flow: `LicenseValidator.validate()` calls this URL, receives
|
|
265
265
|
* authoritative DB-backed status (ACTIVE / TERMINATED / SUSPENDED / EXPIRED /
|
|
266
|
-
|
|
266
|
+
// REVOKED), and falls back to pure-local `LicenseVerifier.verifyAsync()` if the
|
|
267
267
|
* server is unreachable or returns an error.
|
|
268
268
|
*
|
|
269
269
|
* This handler does NOT enforce license — it is the verifier itself. It does,
|
|
@@ -263,7 +263,7 @@ declare function createHealthHandler(configOrPlugin?: Partial<RagConfig> | Vecto
|
|
|
263
263
|
*
|
|
264
264
|
* Client flow: `LicenseValidator.validate()` calls this URL, receives
|
|
265
265
|
* authoritative DB-backed status (ACTIVE / TERMINATED / SUSPENDED / EXPIRED /
|
|
266
|
-
|
|
266
|
+
// REVOKED), and falls back to pure-local `LicenseVerifier.verifyAsync()` if the
|
|
267
267
|
* server is unreachable or returns an error.
|
|
268
268
|
*
|
|
269
269
|
* This handler does NOT enforce license — it is the verifier itself. It does,
|
package/dist/index.css
CHANGED
|
@@ -2360,11 +2360,6 @@
|
|
|
2360
2360
|
cursor: not-allowed;
|
|
2361
2361
|
}
|
|
2362
2362
|
}
|
|
2363
|
-
.disabled\:text-slate-400 {
|
|
2364
|
-
&:disabled {
|
|
2365
|
-
color: var(--color-slate-400);
|
|
2366
|
-
}
|
|
2367
|
-
}
|
|
2368
2363
|
.disabled\:opacity-30 {
|
|
2369
2364
|
&:disabled {
|
|
2370
2365
|
opacity: 30%;
|
|
@@ -3578,16 +3573,6 @@
|
|
|
3578
3573
|
}
|
|
3579
3574
|
}
|
|
3580
3575
|
}
|
|
3581
|
-
.dark\:disabled\:text-white\/30 {
|
|
3582
|
-
@media (prefers-color-scheme: dark) {
|
|
3583
|
-
&:disabled {
|
|
3584
|
-
color: color-mix(in srgb, #fff 30%, transparent);
|
|
3585
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3586
|
-
color: color-mix(in oklab, var(--color-white) 30%, transparent);
|
|
3587
|
-
}
|
|
3588
|
-
}
|
|
3589
|
-
}
|
|
3590
|
-
}
|
|
3591
3576
|
.dark\:disabled\:hover\:text-white\/40 {
|
|
3592
3577
|
@media (prefers-color-scheme: dark) {
|
|
3593
3578
|
&:disabled {
|