@delali/narsil 0.3.1-next.143 → 0.3.1-next.145
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/adapters/filesystem.d.ts +1 -1
- package/dist/adapters/filesystem.mjs +101 -13
- package/dist/adapters/gcs.d.ts +49 -0
- package/dist/adapters/gcs.mjs +213 -0
- package/dist/adapters/indexeddb.d.ts +1 -1
- package/dist/adapters/indexeddb.mjs +2 -7
- package/dist/adapters/memory.d.ts +1 -1
- package/dist/adapters/memory.mjs +5 -0
- package/dist/adapters/s3.d.ts +53 -0
- package/dist/adapters/s3.mjs +263 -0
- package/dist/{adapters-BQFQ4PRz.d.ts → adapters-pljAqmrC.d.ts} +33 -0
- package/dist/{analysis-change-HQUT2Z3I.mjs → analysis-change-D5APH4Z3.mjs} +24 -33
- package/dist/{browser/analysis-change-entry-7HR4LWL3.mjs → analysis-change-entry-V4SQQSXQ.mjs} +1 -1
- package/dist/browser/{analysis-change-JPV775LR.mjs → analysis-change-QTCQ5ETU.mjs} +5 -5
- package/dist/{analysis-change-entry-TZTG4AZB.mjs → browser/analysis-change-entry-KYEQSP3I.mjs} +1 -1
- package/dist/{chunk-46NZOPHS.mjs → browser/chunk-5WYWLTM5.mjs} +2 -2
- package/dist/browser/{chunk-ZEV26AQ6.mjs → chunk-6OFS7RUN.mjs} +1 -1
- package/dist/browser/{chunk-MZI3TEOW.mjs → chunk-75PMIFQA.mjs} +1 -1
- package/dist/browser/{chunk-R4WUDZQV.mjs → chunk-AOKLYVTT.mjs} +2 -2
- package/dist/browser/{chunk-LVY2LI35.mjs → chunk-BTMRV5MY.mjs} +2 -2
- package/dist/browser/{chunk-3ZBJYAS4.mjs → chunk-FHO5N7FD.mjs} +1 -1
- package/dist/browser/{chunk-KTOK275N.mjs → chunk-FXPMF65P.mjs} +12 -12
- package/dist/browser/{chunk-VFYMPCOV.mjs → chunk-GP4QLUQM.mjs} +5 -5
- package/dist/browser/{chunk-35B42UFM.mjs → chunk-IFGTRRPU.mjs} +9 -0
- package/dist/browser/{chunk-6RHTAVZX.mjs → chunk-K7UFXEJS.mjs} +31 -14
- package/dist/browser/{chunk-MVM33ZUL.mjs → chunk-LGJ6XMH5.mjs} +5 -5
- package/dist/{chunk-NN33CZRE.mjs → browser/chunk-PMBSBSCN.mjs} +2 -2
- package/dist/browser/{chunk-D33A5VMU.mjs → chunk-QNDWMPV2.mjs} +1 -1
- package/dist/browser/{chunk-HKX2G6WH.mjs → chunk-U77XQJOY.mjs} +3 -3
- package/dist/browser/{chunk-TCLEOZ4P.mjs → chunk-XIHLIMFX.mjs} +2 -2
- package/dist/browser/{chunk-WCFCHIBB.mjs → chunk-XWMEGKDC.mjs} +2 -2
- package/dist/browser/{chunk-5DB2VDGI.mjs → chunk-ZALEKEUH.mjs} +27 -27
- package/dist/browser/{chunk-MWUK3DA5.mjs → chunk-ZKVDQ5ZH.mjs} +8 -8
- package/dist/browser/{cold-module-MJMKNUYJ.mjs → cold-module-Y2IJAP7S.mjs} +14 -14
- package/dist/browser/{durability-wiring-SNOWIT6Z.mjs → durability-wiring-MLXZ5QQF.mjs} +78 -61
- package/dist/browser/import-FTMLTPGQ.mjs +9 -0
- package/dist/browser/{module-BUFNZMEU.mjs → module-5LMDGXQH.mjs} +10 -10
- package/dist/browser/{module-BVP4TKZU.mjs → module-Q6VFGLMG.mjs} +71 -11
- package/dist/browser/{phrase-module-HGVBO24W.mjs → phrase-module-KXNRTWCS.mjs} +1 -1
- package/dist/{restore-queue-FEYAC4SB.mjs → browser/restore-queue-SOAHKZSQ.mjs} +2 -2
- package/dist/browser/{runtime-VEUH674B.mjs → runtime-ZNEGK33G.mjs} +2 -2
- package/dist/browser/{snapshot-QXBKHJAG.mjs → snapshot-2EGS2FYU.mjs} +16 -15
- package/dist/browser/{write-WHFBDWQS.mjs → write-WMZA6NSF.mjs} +11 -11
- package/dist/{capabilities-BCdUwK_L.d.ts → capabilities-CNnzGtqP.d.ts} +3 -3
- package/dist/{chunk-ZMBFWQXN.mjs → chunk-2E2ZFOPT.mjs} +2 -2
- package/dist/{chunk-BOJZGUS6.mjs → chunk-5K2JHKM3.mjs} +1 -1
- package/dist/{chunk-YH5OIL7B.mjs → chunk-5QMHMELB.mjs} +6 -1
- package/dist/{browser/chunk-CCOAOO73.mjs → chunk-6FOJKNUR.mjs} +2 -2
- package/dist/{chunk-GLZHNSGB.mjs → chunk-6Z22L5RN.mjs} +1 -1
- package/dist/{chunk-AST3SHFA.mjs → chunk-7523VCM4.mjs} +2 -2
- package/dist/{chunk-KZL72VTC.mjs → chunk-7AJAW6NN.mjs} +11 -10
- package/dist/{chunk-DQNKVOJ2.mjs → chunk-BTARFTEN.mjs} +695 -8
- package/dist/{chunk-YLNSJQLX.mjs → chunk-DHEJAGVW.mjs} +5 -5
- package/dist/{chunk-Z4HFMYNX.mjs → chunk-DKMZ7JFW.mjs} +29 -12
- package/dist/{chunk-NRUXBYPH.mjs → chunk-F442VZUL.mjs} +5 -5
- package/dist/{chunk-O4LJQI4G.mjs → chunk-FRJ5RGX7.mjs} +126 -4
- package/dist/{chunk-L76W3IZJ.mjs → chunk-FTQLF5JI.mjs} +1 -1
- package/dist/{chunk-UIKN2OTQ.mjs → chunk-G6Q5DEF5.mjs} +37 -3
- package/dist/{chunk-DD2673TX.mjs → chunk-GRFXSEFF.mjs} +2 -2
- package/dist/{chunk-ZSWHPKGM.mjs → chunk-GVPYMSLO.mjs} +69 -2
- package/dist/{chunk-VEFN6X6Q.mjs → chunk-HOC5JP2H.mjs} +9 -10
- package/dist/{chunk-SRJBFG2T.mjs → chunk-HTMUGEFU.mjs} +6 -7
- package/dist/{chunk-J6YVB2XM.mjs → chunk-IJPK5PGM.mjs} +1 -1
- package/dist/{chunk-HNHCNTVG.mjs → chunk-IQHZMCLX.mjs} +9 -0
- package/dist/{chunk-C3YDYX6C.mjs → chunk-ISUOSACK.mjs} +1 -1
- package/dist/{chunk-YHUTF6EA.mjs → chunk-IV2XTSS2.mjs} +14 -14
- package/dist/chunk-K5HSUPYS.mjs +11 -0
- package/dist/{chunk-LA4WNDHL.mjs → chunk-KG5N7LE6.mjs} +12 -14
- package/dist/{chunk-NPNK57CA.mjs → chunk-LWFK3TC2.mjs} +1 -1
- package/dist/{chunk-RKAVHNRW.mjs → chunk-LYKUJNAV.mjs} +10 -5
- package/dist/{chunk-TNBIK2LQ.mjs → chunk-MJTEU2XK.mjs} +3 -4
- package/dist/chunk-NWTEJ2T7.mjs +100 -0
- package/dist/{chunk-WJGO5PGV.mjs → chunk-OH7SX5MY.mjs} +28 -16
- package/dist/{chunk-W2COJ5AH.mjs → chunk-ONDEEBTA.mjs} +2 -2
- package/dist/{chunk-PWIWSUCX.mjs → chunk-POUYICOU.mjs} +1 -1
- package/dist/chunk-PRID7CA6.mjs +104 -0
- package/dist/{chunk-ICW45TTU.mjs → chunk-QLDLQW36.mjs} +1 -1
- package/dist/{chunk-KEIYVZUX.mjs → chunk-QU2XF7VI.mjs} +3 -4
- package/dist/{chunk-74XB2SXI.mjs → chunk-QXH2CS4V.mjs} +35 -2
- package/dist/{chunk-ZPWS2SKJ.mjs → chunk-QYMAYU7M.mjs} +165 -11
- package/dist/{chunk-NJJCPFXN.mjs → chunk-RNUP6WZ6.mjs} +2 -2
- package/dist/{chunk-SBMAWTRG.mjs → chunk-RTVAWNUL.mjs} +80 -14
- package/dist/{chunk-7AUASRE7.mjs → chunk-RVBUQITB.mjs} +7 -7
- package/dist/{chunk-VJEGOELZ.mjs → chunk-SA52N7G3.mjs} +3 -3
- package/dist/{chunk-NOT5QOHU.mjs → chunk-SE7MKJVK.mjs} +1 -1
- package/dist/{chunk-BRUUBXCB.mjs → chunk-SNB4DYL3.mjs} +10 -38
- package/dist/chunk-SVO6NV4D.mjs +248 -0
- package/dist/{chunk-GWOS5DYC.mjs → chunk-UGQULMSU.mjs} +11 -13
- package/dist/{chunk-6SNBQESJ.mjs → chunk-UHVTEVF5.mjs} +5 -5
- package/dist/{chunk-HJJWY6PT.mjs → chunk-UQS5PAS5.mjs} +1 -1
- package/dist/{chunk-UUZCQQG2.mjs → chunk-W6M4RRAT.mjs} +3 -3
- package/dist/{browser/chunk-XNWPP5NS.mjs → chunk-WDEWU46C.mjs} +2 -2
- package/dist/{chunk-XZ3SRNDJ.mjs → chunk-WMIV7PJ7.mjs} +65 -5
- package/dist/{chunk-RHKRTYGO.mjs → chunk-X5SBWARI.mjs} +3 -3
- package/dist/{chunk-XS2VM7UE.mjs → chunk-XLAI4OIO.mjs} +2 -2
- package/dist/{chunk-IO5F7ZBE.mjs → chunk-YUCGFPMS.mjs} +454 -37
- package/dist/{client-B12YFALP.d.ts → client-DoYPHcUn.d.ts} +62 -5
- package/dist/client.d.ts +8 -8
- package/dist/client.mjs +44 -0
- package/dist/{cold-module-4X7WJCFM.mjs → cold-module-NUD332YD.mjs} +32 -41
- package/dist/{config-CIG5yDyg.d.ts → config-CuUfls_H.d.ts} +150 -3
- package/dist/{config-BhZxIeb1.d.ts → config-Dzs46im6.d.ts} +11 -2
- package/dist/direct-executor-FDQYQEJQ.mjs +22 -0
- package/dist/distribution/coordinator/etcd.d.ts +3 -3
- package/dist/distribution/coordinator/etcd.mjs +1 -1
- package/dist/distribution/coordinator/in-memory.d.ts +3 -3
- package/dist/distribution/transport/grpc.mjs +4 -4
- package/dist/distribution/transport/in-memory.mjs +2 -2
- package/dist/distribution/transport/tcp.mjs +3 -3
- package/dist/distribution.d.ts +8 -8
- package/dist/distribution.mjs +16219 -14535
- package/dist/{durability-wiring-324D2DDD.mjs → durability-wiring-K7RDXWL6.mjs} +103 -95
- package/dist/embeddings/openai.d.ts +1 -1
- package/dist/embeddings/openai.mjs +2 -2
- package/dist/{engine-CtzbHOmG.d.ts → engine-C0ifUEcm.d.ts} +3 -3
- package/dist/import-6KXFY6XI.mjs +35 -0
- package/dist/{index-DsEurhSl.d.ts → index-MsF7e5hL.d.ts} +2 -2
- package/dist/index.browser.mjs +4 -4
- package/dist/index.d.ts +7 -7
- package/dist/index.mjs +21 -30
- package/dist/invalidation/broadcast-channel.d.ts +1 -1
- package/dist/invalidation/filesystem.d.ts +1 -1
- package/dist/invalidation/filesystem.mjs +1 -1
- package/dist/invalidation/noop.d.ts +1 -1
- package/dist/{long-query-thread-4SW7RWDE.mjs → long-query-thread-FKVHRCHF.mjs} +18 -23
- package/dist/{module-DXSJ5LT2.mjs → module-GJUKW5VU.mjs} +14 -16
- package/dist/{module-IYPLWHGC.mjs → module-TMFIWOD2.mjs} +28 -37
- package/dist/{paged-partition-archive-HFP45PLU.mjs → paged-partition-archive-WNUEMYWM.mjs} +34 -39
- package/dist/partial-words.mjs +7 -9
- package/dist/pattern.mjs +4 -6
- package/dist/persistence/durability/checkpoint-worker.d.ts +2 -2
- package/dist/persistence/durability/checkpoint-worker.mjs +27 -36
- package/dist/{phrase-module-5QHBD2VJ.mjs → phrase-module-OMY3QQV7.mjs} +1 -1
- package/dist/react.d.ts +11 -11
- package/dist/react.mjs +9 -0
- package/dist/{rerank-KTLC3E6N.mjs → rerank-ZZ5CHKLW.mjs} +4 -4
- package/dist/rerankers/http.d.ts +1 -1
- package/dist/rerankers/http.mjs +2 -2
- package/dist/{browser/restore-queue-ONYNYUDE.mjs → restore-queue-UAVGBSJG.mjs} +2 -2
- package/dist/{runtime-DYV75DCB.mjs → runtime-RAOCKSYA.mjs} +5 -5
- package/dist/{schema-B-Runv0n.d.ts → schema-D33CyXCy.d.ts} +1 -1
- package/dist/server.d.ts +24 -12
- package/dist/server.mjs +153 -36
- package/dist/{snapshot-CGM65VCD.mjs → snapshot-DB5ZVCDN.mjs} +39 -48
- package/dist/synonyms.mjs +3 -4
- package/dist/{tasks-CjRJRGTb.d.ts → tasks-ChWp0wrF.d.ts} +59 -7
- package/dist/{thread-KGNAIKPD.mjs → thread-OV6T555H.mjs} +17 -22
- package/dist/vector/search-worker.d.ts +2 -2
- package/dist/vector/search-worker.mjs +5 -6
- package/dist/workers/entry.mjs +7 -7
- package/dist/{write-2DZPEQL2.mjs → write-KZVTLGCI.mjs} +28 -37
- package/openapi.json +349 -2
- package/package.json +27 -8
- package/dist/browser/import-TLB2A5LJ.mjs +0 -9
- package/dist/chunk-5WYVUPGD.mjs +0 -427
- package/dist/chunk-AV4IJKD2.mjs +0 -35
- package/dist/chunk-GES7U2PM.mjs +0 -68
- package/dist/chunk-KGOXHLLZ.mjs +0 -693
- package/dist/chunk-N37VMC62.mjs +0 -18
- package/dist/chunk-QSK35UC2.mjs +0 -35
- package/dist/chunk-WNBRW4Q2.mjs +0 -128
- package/dist/chunk-WQBCBKY3.mjs +0 -8
- package/dist/chunk-ZATRDAYU.mjs +0 -160
- package/dist/direct-executor-7XOQ7VQP.mjs +0 -28
- package/dist/import-OOBUW3RR.mjs +0 -44
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { openSharedVectorField, createVectorStore } from '../chunk-
|
|
1
|
+
import { openSharedVectorField, createVectorStore } from '../chunk-WMIV7PJ7.mjs';
|
|
2
2
|
import '../chunk-FOCV4CBZ.mjs';
|
|
3
|
-
import { osqBitsOf, createHNSWIndex, createOsqQuantizer } from '../chunk-
|
|
3
|
+
import { osqBitsOf, createHNSWIndex, createOsqQuantizer } from '../chunk-MJTEU2XK.mjs';
|
|
4
4
|
import { osqRecordBytes } from '../chunk-37CD3OKS.mjs';
|
|
5
5
|
import '../chunk-DJHHF2L5.mjs';
|
|
6
6
|
import '../chunk-KOKM4PQN.mjs';
|
|
7
|
-
import { MAX_WORKER_COPIES } from '../chunk-
|
|
8
|
-
import '../chunk-
|
|
7
|
+
import { MAX_WORKER_COPIES } from '../chunk-QXH2CS4V.mjs';
|
|
8
|
+
import '../chunk-RFBLQLLZ.mjs';
|
|
9
9
|
import '../chunk-VJS4JFBQ.mjs';
|
|
10
|
+
import '../chunk-IQHZMCLX.mjs';
|
|
10
11
|
import '../chunk-R6A773WK.mjs';
|
|
11
12
|
import '../chunk-YTJCGKM4.mjs';
|
|
12
|
-
import '../chunk-RFBLQLLZ.mjs';
|
|
13
|
-
import '../chunk-HNHCNTVG.mjs';
|
|
14
13
|
|
|
15
14
|
// src/vector/worker-copy.ts
|
|
16
15
|
function restoreQuantizer(snapshot, store) {
|
package/dist/workers/entry.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { startIdleHeapCleanup } from '../chunk-RIIUZJQ3.mjs';
|
|
2
2
|
import { isValidWorkerAction } from '../chunk-QHPYS427.mjs';
|
|
3
|
-
import { loadVectorCode } from '../chunk-
|
|
3
|
+
import { loadVectorCode } from '../chunk-6Z22L5RN.mjs';
|
|
4
4
|
import '../chunk-22YPZVMG.mjs';
|
|
5
5
|
import { threadSlotOfWorker } from '../chunk-RFBLQLLZ.mjs';
|
|
6
6
|
import '../chunk-L5ORED7V.mjs';
|
|
7
|
-
import { ErrorCodes, NarsilError, isNarsilError } from '../chunk-
|
|
7
|
+
import { ErrorCodes, NarsilError, isNarsilError } from '../chunk-IQHZMCLX.mjs';
|
|
8
8
|
|
|
9
9
|
// src/workers/action-handler.ts
|
|
10
10
|
function buildErrorResponse(requestId, code, message, details) {
|
|
@@ -22,9 +22,9 @@ async function importBootstrapModule(moduleUrl) {
|
|
|
22
22
|
await import(moduleUrl);
|
|
23
23
|
}
|
|
24
24
|
async function stopServingRequests() {
|
|
25
|
-
const { closeRequestThread } = await import('../thread-
|
|
25
|
+
const { closeRequestThread } = await import('../thread-OV6T555H.mjs');
|
|
26
26
|
closeRequestThread();
|
|
27
|
-
const { closeLongQueryThread } = await import('../long-query-thread-
|
|
27
|
+
const { closeLongQueryThread } = await import('../long-query-thread-FKVHRCHF.mjs');
|
|
28
28
|
closeLongQueryThread();
|
|
29
29
|
}
|
|
30
30
|
function holdsCopies(executor) {
|
|
@@ -55,7 +55,7 @@ function createActionHandler(executor) {
|
|
|
55
55
|
if (!holdsCopies(executor)) {
|
|
56
56
|
throw new NarsilError(ErrorCodes.CONFIG_INVALID, "This executor holds no copies to answer requests from");
|
|
57
57
|
}
|
|
58
|
-
const starting = import('../thread-
|
|
58
|
+
const starting = import('../thread-OV6T555H.mjs').then(
|
|
59
59
|
({ serveRequests }) => serveRequests(executor, action.settings)
|
|
60
60
|
);
|
|
61
61
|
serving.start = starting.then(
|
|
@@ -72,7 +72,7 @@ function createActionHandler(executor) {
|
|
|
72
72
|
if (!holdsCopies(executor)) {
|
|
73
73
|
throw new NarsilError(ErrorCodes.CONFIG_INVALID, "This executor holds no copies to answer long queries from");
|
|
74
74
|
}
|
|
75
|
-
const { serveLongQueries } = await import('../long-query-thread-
|
|
75
|
+
const { serveLongQueries } = await import('../long-query-thread-FKVHRCHF.mjs');
|
|
76
76
|
serveLongQueries(executor, action.settings);
|
|
77
77
|
servingRequests = true;
|
|
78
78
|
post(buildSuccessResponse(action.requestId, void 0));
|
|
@@ -118,7 +118,7 @@ async function setup() {
|
|
|
118
118
|
} catch {
|
|
119
119
|
parentPort = null;
|
|
120
120
|
}
|
|
121
|
-
const [{ createDirectExecutor }] = await Promise.all([import('../direct-executor-
|
|
121
|
+
const [{ createDirectExecutor }] = await Promise.all([import('../direct-executor-FDQYQEJQ.mjs'), loadVectorCode()]);
|
|
122
122
|
const handleAction = createActionHandler(createDirectExecutor({ threadSlot }));
|
|
123
123
|
if (parentPort) {
|
|
124
124
|
const port = parentPort;
|
|
@@ -1,51 +1,42 @@
|
|
|
1
|
-
import { DOCUMENT_EXPORT_VERSION, DOCUMENT_EXPORT_FORMAT } from './chunk-
|
|
2
|
-
import { encodeExactJson, encodeDocumentJson } from './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { DOCUMENT_EXPORT_VERSION, DOCUMENT_EXPORT_FORMAT } from './chunk-UHVTEVF5.mjs';
|
|
2
|
+
import { encodeExactJson, encodeDocumentJson } from './chunk-6FOJKNUR.mjs';
|
|
3
|
+
import './chunk-5K2JHKM3.mjs';
|
|
4
4
|
import './chunk-CZQ33DLW.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import { decodeVectorFilePayload, isDead, bytesToVectors } from './chunk-
|
|
5
|
+
import './chunk-FTQLF5JI.mjs';
|
|
6
|
+
import { decodeVectorFilePayload, isDead, bytesToVectors } from './chunk-QLDLQW36.mjs';
|
|
7
7
|
import './chunk-37CD3OKS.mjs';
|
|
8
|
-
import { setNestedValue, KEYWORD_SEGMENT_ENVELOPE_VERSION, decodeKeywordSegment } from './chunk-
|
|
9
|
-
import { openChecksummedEnvelope } from './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-5WYVUPGD.mjs';
|
|
8
|
+
import { setNestedValue, KEYWORD_SEGMENT_ENVELOPE_VERSION, decodeKeywordSegment } from './chunk-QU2XF7VI.mjs';
|
|
9
|
+
import { openChecksummedEnvelope } from './chunk-YUCGFPMS.mjs';
|
|
10
|
+
import './chunk-HOC5JP2H.mjs';
|
|
12
11
|
import './chunk-HJSN7UYG.mjs';
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-AV4IJKD2.mjs';
|
|
12
|
+
import './chunk-G6Q5DEF5.mjs';
|
|
15
13
|
import { EXPORT_CHUNK_BYTES } from './chunk-EEBCDP36.mjs';
|
|
16
|
-
import { decodeStoredDocument } from './chunk-
|
|
17
|
-
import './chunk-
|
|
18
|
-
import './chunk-N37VMC62.mjs';
|
|
19
|
-
import './chunk-ZATRDAYU.mjs';
|
|
14
|
+
import { decodeStoredDocument } from './chunk-OH7SX5MY.mjs';
|
|
15
|
+
import './chunk-QYMAYU7M.mjs';
|
|
20
16
|
import './chunk-EBIHRL7B.mjs';
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-QSK35UC2.mjs';
|
|
23
|
-
import './chunk-74XB2SXI.mjs';
|
|
24
|
-
import './chunk-RKAVHNRW.mjs';
|
|
25
|
-
import './chunk-WQBCBKY3.mjs';
|
|
26
|
-
import './chunk-JUKYYXSP.mjs';
|
|
27
|
-
import './chunk-DQNKVOJ2.mjs';
|
|
28
|
-
import './chunk-KGOXHLLZ.mjs';
|
|
29
|
-
import './chunk-U476IXKQ.mjs';
|
|
30
|
-
import './chunk-FQBFZAWG.mjs';
|
|
31
|
-
import './chunk-VJS4JFBQ.mjs';
|
|
32
|
-
import './chunk-GES7U2PM.mjs';
|
|
33
|
-
import './chunk-ZSWHPKGM.mjs';
|
|
34
|
-
import './chunk-O4LJQI4G.mjs';
|
|
17
|
+
import './chunk-FRJ5RGX7.mjs';
|
|
35
18
|
import './chunk-X5CV2E2B.mjs';
|
|
36
|
-
import './chunk-WNBRW4Q2.mjs';
|
|
37
19
|
import './chunk-TGP5M5R7.mjs';
|
|
38
20
|
import './chunk-U2BKYEC7.mjs';
|
|
39
|
-
import './chunk-NPNK57CA.mjs';
|
|
40
|
-
import './chunk-4UMZ7KQL.mjs';
|
|
41
|
-
import './chunk-R6A773WK.mjs';
|
|
42
|
-
import './chunk-YTJCGKM4.mjs';
|
|
43
21
|
import './chunk-QHPYS427.mjs';
|
|
44
|
-
import './chunk-
|
|
22
|
+
import './chunk-6Z22L5RN.mjs';
|
|
45
23
|
import './chunk-22YPZVMG.mjs';
|
|
24
|
+
import './chunk-KOKM4PQN.mjs';
|
|
25
|
+
import './chunk-QXH2CS4V.mjs';
|
|
46
26
|
import './chunk-RFBLQLLZ.mjs';
|
|
27
|
+
import './chunk-LYKUJNAV.mjs';
|
|
28
|
+
import './chunk-JUKYYXSP.mjs';
|
|
29
|
+
import './chunk-BTARFTEN.mjs';
|
|
30
|
+
import './chunk-FQBFZAWG.mjs';
|
|
31
|
+
import './chunk-LWFK3TC2.mjs';
|
|
32
|
+
import './chunk-4UMZ7KQL.mjs';
|
|
33
|
+
import './chunk-VJS4JFBQ.mjs';
|
|
34
|
+
import './chunk-GVPYMSLO.mjs';
|
|
47
35
|
import './chunk-L5ORED7V.mjs';
|
|
48
|
-
import './chunk-
|
|
36
|
+
import './chunk-U476IXKQ.mjs';
|
|
37
|
+
import './chunk-IQHZMCLX.mjs';
|
|
38
|
+
import './chunk-R6A773WK.mjs';
|
|
39
|
+
import './chunk-YTJCGKM4.mjs';
|
|
49
40
|
import { decode } from '@msgpack/msgpack';
|
|
50
41
|
|
|
51
42
|
var VECTOR_FILE_ENVELOPE_VERSION = 2;
|
|
@@ -127,7 +118,7 @@ async function wholeFileVectorReads(checkpoint) {
|
|
|
127
118
|
};
|
|
128
119
|
}
|
|
129
120
|
async function* pagedDocumentLines(checkpoint) {
|
|
130
|
-
const { openFileVectorReads, pagedPartitionLines } = await import('./module-
|
|
121
|
+
const { openFileVectorReads, pagedPartitionLines } = await import('./module-TMFIWOD2.mjs');
|
|
131
122
|
const vectors = await openFileVectorReads(checkpoint, () => wholeFileVectorReads(checkpoint));
|
|
132
123
|
try {
|
|
133
124
|
for (const partition of checkpoint.manifest.partitions) {
|
package/openapi.json
CHANGED
|
@@ -2098,10 +2098,189 @@
|
|
|
2098
2098
|
}
|
|
2099
2099
|
}
|
|
2100
2100
|
}
|
|
2101
|
+
},
|
|
2102
|
+
"/indexes/{name}/backups": {
|
|
2103
|
+
"post": {
|
|
2104
|
+
"operationId": "createBackup",
|
|
2105
|
+
"summary": "Back up an index to the store outside the cluster, as a task",
|
|
2106
|
+
"tags": [
|
|
2107
|
+
"Cluster"
|
|
2108
|
+
],
|
|
2109
|
+
"parameters": [
|
|
2110
|
+
{
|
|
2111
|
+
"name": "name",
|
|
2112
|
+
"in": "path",
|
|
2113
|
+
"required": true,
|
|
2114
|
+
"description": "The name of the index.",
|
|
2115
|
+
"schema": {
|
|
2116
|
+
"type": "string"
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
],
|
|
2120
|
+
"requestBody": {
|
|
2121
|
+
"required": true,
|
|
2122
|
+
"content": {
|
|
2123
|
+
"application/json": {
|
|
2124
|
+
"schema": {
|
|
2125
|
+
"$ref": "#/components/schemas/CreateBackupBody"
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
},
|
|
2130
|
+
"responses": {
|
|
2131
|
+
"202": {
|
|
2132
|
+
"description": "The server accepted the work and started a task.",
|
|
2133
|
+
"content": {
|
|
2134
|
+
"application/json": {
|
|
2135
|
+
"schema": {
|
|
2136
|
+
"$ref": "#/components/schemas/TaskRecord"
|
|
2137
|
+
}
|
|
2138
|
+
}
|
|
2139
|
+
}
|
|
2140
|
+
},
|
|
2141
|
+
"default": {
|
|
2142
|
+
"$ref": "#/components/responses/Error"
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
},
|
|
2147
|
+
"/backups": {
|
|
2148
|
+
"get": {
|
|
2149
|
+
"operationId": "listBackups",
|
|
2150
|
+
"summary": "List the backups in the store outside the cluster",
|
|
2151
|
+
"tags": [
|
|
2152
|
+
"Cluster"
|
|
2153
|
+
],
|
|
2154
|
+
"responses": {
|
|
2155
|
+
"200": {
|
|
2156
|
+
"description": "The server answered the request.",
|
|
2157
|
+
"content": {
|
|
2158
|
+
"application/json": {
|
|
2159
|
+
"schema": {
|
|
2160
|
+
"$ref": "#/components/schemas/BackupListResponse"
|
|
2161
|
+
}
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
2164
|
+
},
|
|
2165
|
+
"default": {
|
|
2166
|
+
"$ref": "#/components/responses/Error"
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2169
|
+
}
|
|
2170
|
+
},
|
|
2171
|
+
"/backups/{backup}/_restore": {
|
|
2172
|
+
"post": {
|
|
2173
|
+
"operationId": "restoreBackup",
|
|
2174
|
+
"summary": "Restore a backup as a new index, as a task",
|
|
2175
|
+
"tags": [
|
|
2176
|
+
"Cluster"
|
|
2177
|
+
],
|
|
2178
|
+
"parameters": [
|
|
2179
|
+
{
|
|
2180
|
+
"name": "backup",
|
|
2181
|
+
"in": "path",
|
|
2182
|
+
"required": true,
|
|
2183
|
+
"description": "The name of the backup.",
|
|
2184
|
+
"schema": {
|
|
2185
|
+
"type": "string"
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
],
|
|
2189
|
+
"requestBody": {
|
|
2190
|
+
"required": true,
|
|
2191
|
+
"content": {
|
|
2192
|
+
"application/json": {
|
|
2193
|
+
"schema": {
|
|
2194
|
+
"$ref": "#/components/schemas/RestoreBackupBody"
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
},
|
|
2199
|
+
"responses": {
|
|
2200
|
+
"202": {
|
|
2201
|
+
"description": "The server accepted the work and started a task.",
|
|
2202
|
+
"content": {
|
|
2203
|
+
"application/json": {
|
|
2204
|
+
"schema": {
|
|
2205
|
+
"$ref": "#/components/schemas/TaskRecord"
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
},
|
|
2210
|
+
"default": {
|
|
2211
|
+
"$ref": "#/components/responses/Error"
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
}
|
|
2215
|
+
},
|
|
2216
|
+
"/backups/{backup}": {
|
|
2217
|
+
"delete": {
|
|
2218
|
+
"operationId": "deleteBackup",
|
|
2219
|
+
"summary": "Delete a backup and the files that no other backup lists, as a task",
|
|
2220
|
+
"tags": [
|
|
2221
|
+
"Cluster"
|
|
2222
|
+
],
|
|
2223
|
+
"parameters": [
|
|
2224
|
+
{
|
|
2225
|
+
"name": "backup",
|
|
2226
|
+
"in": "path",
|
|
2227
|
+
"required": true,
|
|
2228
|
+
"description": "The name of the backup.",
|
|
2229
|
+
"schema": {
|
|
2230
|
+
"type": "string"
|
|
2231
|
+
}
|
|
2232
|
+
}
|
|
2233
|
+
],
|
|
2234
|
+
"responses": {
|
|
2235
|
+
"202": {
|
|
2236
|
+
"description": "The server accepted the work and started a task.",
|
|
2237
|
+
"content": {
|
|
2238
|
+
"application/json": {
|
|
2239
|
+
"schema": {
|
|
2240
|
+
"$ref": "#/components/schemas/TaskRecord"
|
|
2241
|
+
}
|
|
2242
|
+
}
|
|
2243
|
+
}
|
|
2244
|
+
},
|
|
2245
|
+
"default": {
|
|
2246
|
+
"$ref": "#/components/responses/Error"
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2101
2250
|
}
|
|
2102
2251
|
},
|
|
2103
2252
|
"components": {
|
|
2104
2253
|
"schemas": {
|
|
2254
|
+
"AllocationConstraints": {
|
|
2255
|
+
"type": "object",
|
|
2256
|
+
"properties": {
|
|
2257
|
+
"zoneAwareness": {
|
|
2258
|
+
"type": "boolean",
|
|
2259
|
+
"description": "Setting this spreads an index's replicas across zones, so losing one zone never costs every copy."
|
|
2260
|
+
},
|
|
2261
|
+
"zoneAttribute": {
|
|
2262
|
+
"type": "string",
|
|
2263
|
+
"description": "This names the key in a node's `metadata` that carries its zone."
|
|
2264
|
+
},
|
|
2265
|
+
"maxShardsPerNode": {
|
|
2266
|
+
"anyOf": [
|
|
2267
|
+
{
|
|
2268
|
+
"type": "null"
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
"type": "number"
|
|
2272
|
+
}
|
|
2273
|
+
],
|
|
2274
|
+
"description": "One node may hold this many partitions of an index, and `null` lifts the ceiling."
|
|
2275
|
+
}
|
|
2276
|
+
},
|
|
2277
|
+
"required": [
|
|
2278
|
+
"zoneAwareness",
|
|
2279
|
+
"zoneAttribute",
|
|
2280
|
+
"maxShardsPerNode"
|
|
2281
|
+
],
|
|
2282
|
+
"description": "The rules the allocator respects when it places partitions. The controller stores these with each index's metadata, so every node allocating that index applies the same rules."
|
|
2283
|
+
},
|
|
2105
2284
|
"AnyDocument": {
|
|
2106
2285
|
"type": "object",
|
|
2107
2286
|
"properties": {
|
|
@@ -2157,6 +2336,81 @@
|
|
|
2157
2336
|
},
|
|
2158
2337
|
"description": "Tests the contents of a list field, which is a `number[]`, `boolean[]`, `enum[]`, `verbatim[]`, or `string[]` field. The engine throws `SEARCH_INVALID_FILTER` for these tests on any other field, for a value whose type differs from the type of the list's elements, and for `containsAll` or `matchesAny` on a `string[]` field whose type leaves out `pattern`."
|
|
2159
2338
|
},
|
|
2339
|
+
"BackupListing": {
|
|
2340
|
+
"anyOf": [
|
|
2341
|
+
{
|
|
2342
|
+
"$ref": "#/components/schemas/BackupSummary"
|
|
2343
|
+
},
|
|
2344
|
+
{
|
|
2345
|
+
"$ref": "#/components/schemas/DamagedBackup"
|
|
2346
|
+
}
|
|
2347
|
+
],
|
|
2348
|
+
"description": "One entry of ClusterNamespace.listBackups : a summary, or a DamagedBackup where the manifest can't be read."
|
|
2349
|
+
},
|
|
2350
|
+
"BackupListResponse": {
|
|
2351
|
+
"type": "object",
|
|
2352
|
+
"properties": {
|
|
2353
|
+
"backups": {
|
|
2354
|
+
"type": "array",
|
|
2355
|
+
"items": {
|
|
2356
|
+
"$ref": "#/components/schemas/BackupListing"
|
|
2357
|
+
},
|
|
2358
|
+
"description": "One entry per backup in name order: its summary, or its name and a `BACKUP_DAMAGED` error where its manifest can't be read."
|
|
2359
|
+
}
|
|
2360
|
+
},
|
|
2361
|
+
"required": [
|
|
2362
|
+
"backups"
|
|
2363
|
+
],
|
|
2364
|
+
"description": "The body of `GET /backups`."
|
|
2365
|
+
},
|
|
2366
|
+
"BackupSummary": {
|
|
2367
|
+
"type": "object",
|
|
2368
|
+
"properties": {
|
|
2369
|
+
"name": {
|
|
2370
|
+
"type": "string",
|
|
2371
|
+
"description": "The name the backup was taken under."
|
|
2372
|
+
},
|
|
2373
|
+
"indexName": {
|
|
2374
|
+
"type": "string",
|
|
2375
|
+
"description": "The index the backup holds."
|
|
2376
|
+
},
|
|
2377
|
+
"startedAt": {
|
|
2378
|
+
"type": "number",
|
|
2379
|
+
"description": "The backup started at this many milliseconds since the epoch, and it holds every write acknowledged before then."
|
|
2380
|
+
},
|
|
2381
|
+
"completedAt": {
|
|
2382
|
+
"type": "number",
|
|
2383
|
+
"description": "The controller wrote the backup's manifest at this many milliseconds since the epoch."
|
|
2384
|
+
},
|
|
2385
|
+
"partitionCount": {
|
|
2386
|
+
"type": "number",
|
|
2387
|
+
"description": "The index had this many partitions, and a restore creates the same number."
|
|
2388
|
+
},
|
|
2389
|
+
"replicationFactor": {
|
|
2390
|
+
"type": "number",
|
|
2391
|
+
"description": "The index kept this many replicas of each partition, and a restore asks for the same number."
|
|
2392
|
+
},
|
|
2393
|
+
"files": {
|
|
2394
|
+
"type": "number",
|
|
2395
|
+
"description": "The backup lists this many stored files, counting each partition's manifest and the index configuration."
|
|
2396
|
+
},
|
|
2397
|
+
"bytes": {
|
|
2398
|
+
"type": "number",
|
|
2399
|
+
"description": "The files the backup lists hold this many bytes in total, including files that other backups share."
|
|
2400
|
+
}
|
|
2401
|
+
},
|
|
2402
|
+
"required": [
|
|
2403
|
+
"name",
|
|
2404
|
+
"indexName",
|
|
2405
|
+
"startedAt",
|
|
2406
|
+
"completedAt",
|
|
2407
|
+
"partitionCount",
|
|
2408
|
+
"replicationFactor",
|
|
2409
|
+
"files",
|
|
2410
|
+
"bytes"
|
|
2411
|
+
],
|
|
2412
|
+
"description": "What a cluster records about one backup."
|
|
2413
|
+
},
|
|
2160
2414
|
"BatchBody": {
|
|
2161
2415
|
"type": "object",
|
|
2162
2416
|
"properties": {
|
|
@@ -2576,6 +2830,19 @@
|
|
|
2576
2830
|
},
|
|
2577
2831
|
"description": "Compares one field against a value. Setting several keys narrows the match, because a document has to satisfy all of them."
|
|
2578
2832
|
},
|
|
2833
|
+
"CreateBackupBody": {
|
|
2834
|
+
"type": "object",
|
|
2835
|
+
"properties": {
|
|
2836
|
+
"backup": {
|
|
2837
|
+
"type": "string",
|
|
2838
|
+
"description": "The backup's name, from 1 to 128 letters, digits, `.`, `_`, and `-`, starting with a letter or a digit."
|
|
2839
|
+
}
|
|
2840
|
+
},
|
|
2841
|
+
"required": [
|
|
2842
|
+
"backup"
|
|
2843
|
+
],
|
|
2844
|
+
"description": "The body of `POST /indexes/{name}/backups`."
|
|
2845
|
+
},
|
|
2579
2846
|
"CreateIndexEmbedding": {
|
|
2580
2847
|
"type": "object",
|
|
2581
2848
|
"properties": {
|
|
@@ -2606,6 +2873,36 @@
|
|
|
2606
2873
|
],
|
|
2607
2874
|
"description": "How a JSON `createIndex` request connects an index to an embedding adapter. An adapter is a function and cannot cross JSON, so the request names one the server registered instead of carrying it."
|
|
2608
2875
|
},
|
|
2876
|
+
"DamagedBackup": {
|
|
2877
|
+
"type": "object",
|
|
2878
|
+
"properties": {
|
|
2879
|
+
"name": {
|
|
2880
|
+
"type": "string",
|
|
2881
|
+
"description": "The name that the manifest is stored under."
|
|
2882
|
+
},
|
|
2883
|
+
"error": {
|
|
2884
|
+
"type": "object",
|
|
2885
|
+
"properties": {
|
|
2886
|
+
"code": {
|
|
2887
|
+
"type": "string"
|
|
2888
|
+
},
|
|
2889
|
+
"message": {
|
|
2890
|
+
"type": "string"
|
|
2891
|
+
}
|
|
2892
|
+
},
|
|
2893
|
+
"required": [
|
|
2894
|
+
"code",
|
|
2895
|
+
"message"
|
|
2896
|
+
],
|
|
2897
|
+
"description": "Why the manifest can't be read, with the code `BACKUP_DAMAGED`."
|
|
2898
|
+
}
|
|
2899
|
+
},
|
|
2900
|
+
"required": [
|
|
2901
|
+
"name",
|
|
2902
|
+
"error"
|
|
2903
|
+
],
|
|
2904
|
+
"description": "A backup whose manifest the cluster can't read, which a listing shows in place of its summary."
|
|
2905
|
+
},
|
|
2609
2906
|
"DocumentBody": {
|
|
2610
2907
|
"type": "object",
|
|
2611
2908
|
"properties": {
|
|
@@ -4592,6 +4889,27 @@
|
|
|
4592
4889
|
],
|
|
4593
4890
|
"description": "How a query reorders its top hits with a rerank adapter. The engine ranks the query as it would without this setting, passes the top `window` hits to the adapter, and orders them by the adapter's scores. The hits past the window follow in their first ranking, with their scores scaled below the lowest reranked score, so every page of one query comes from the same order."
|
|
4594
4891
|
},
|
|
4892
|
+
"RestoreBackupBody": {
|
|
4893
|
+
"type": "object",
|
|
4894
|
+
"properties": {
|
|
4895
|
+
"indexName": {
|
|
4896
|
+
"type": "string",
|
|
4897
|
+
"description": "The restore creates the index under this name, and it fails where the name is taken."
|
|
4898
|
+
},
|
|
4899
|
+
"replicationFactor": {
|
|
4900
|
+
"type": "number",
|
|
4901
|
+
"description": "The restored index keeps this many replicas of each partition, or the backup's number when you leave it out."
|
|
4902
|
+
},
|
|
4903
|
+
"constraints": {
|
|
4904
|
+
"$ref": "#/components/schemas/AllocationConstraints",
|
|
4905
|
+
"description": "The rules that place the restored partitions, or the backup's rules when you leave them out."
|
|
4906
|
+
}
|
|
4907
|
+
},
|
|
4908
|
+
"required": [
|
|
4909
|
+
"indexName"
|
|
4910
|
+
],
|
|
4911
|
+
"description": "The body of `POST /backups/{backup}/_restore`."
|
|
4912
|
+
},
|
|
4595
4913
|
"SchemaDefinition": {
|
|
4596
4914
|
"type": "object",
|
|
4597
4915
|
"additionalProperties": {
|
|
@@ -4953,7 +5271,11 @@
|
|
|
4953
5271
|
},
|
|
4954
5272
|
"indexName": {
|
|
4955
5273
|
"type": "string",
|
|
4956
|
-
"description": "The operation runs against this index."
|
|
5274
|
+
"description": "The operation runs against this index. A `backupRestore` task names the index it creates, and a `backupDelete` task names none and carries an empty string."
|
|
5275
|
+
},
|
|
5276
|
+
"backupName": {
|
|
5277
|
+
"type": "string",
|
|
5278
|
+
"description": "A `backup`, `backupRestore`, or `backupDelete` task works on the backup of this name."
|
|
4957
5279
|
},
|
|
4958
5280
|
"status": {
|
|
4959
5281
|
"$ref": "#/components/schemas/TaskStatus",
|
|
@@ -4983,6 +5305,10 @@
|
|
|
4983
5305
|
"$ref": "#/components/schemas/TaskProgress",
|
|
4984
5306
|
"description": "How far the work has gone, which an import reports and other task types omit."
|
|
4985
5307
|
},
|
|
5308
|
+
"steps": {
|
|
5309
|
+
"$ref": "#/components/schemas/TaskStepProgress",
|
|
5310
|
+
"description": "How many of its steps the work has finished, which a backup, a backup restore, and a backup deletion report."
|
|
5311
|
+
},
|
|
4986
5312
|
"result": {
|
|
4987
5313
|
"$ref": "#/components/schemas/ImportResult",
|
|
4988
5314
|
"description": "What the work produced, which an `import` or `importExport` task reports once it finishes."
|
|
@@ -5012,6 +5338,24 @@
|
|
|
5012
5338
|
],
|
|
5013
5339
|
"description": "Where a long-running operation stands. A task starts `running`, because the server begins the work as it accepts the request. Where the server already drives ServerLimits.maxConcurrentTasks tasks, it answers 429 `TOO_MANY_REQUESTS` and starts none. A task reaches `cancelled` only where the work itself stops early, so a cancel that arrives too late leaves the task `succeeded`."
|
|
5014
5340
|
},
|
|
5341
|
+
"TaskStepProgress": {
|
|
5342
|
+
"type": "object",
|
|
5343
|
+
"properties": {
|
|
5344
|
+
"done": {
|
|
5345
|
+
"type": "number",
|
|
5346
|
+
"description": "The task has finished this many steps."
|
|
5347
|
+
},
|
|
5348
|
+
"total": {
|
|
5349
|
+
"type": "number",
|
|
5350
|
+
"description": "The task covers this many steps, and 0 until it knows."
|
|
5351
|
+
}
|
|
5352
|
+
},
|
|
5353
|
+
"required": [
|
|
5354
|
+
"done",
|
|
5355
|
+
"total"
|
|
5356
|
+
],
|
|
5357
|
+
"description": "How far a task that works through a known number of steps has gone. A `backup` and a `backupRestore` task count partitions, and a `backupDelete` task counts the files it removes."
|
|
5358
|
+
},
|
|
5015
5359
|
"TaskType": {
|
|
5016
5360
|
"type": "string",
|
|
5017
5361
|
"enum": [
|
|
@@ -5021,7 +5365,10 @@
|
|
|
5021
5365
|
"import",
|
|
5022
5366
|
"importExport",
|
|
5023
5367
|
"rebuildAnalysis",
|
|
5024
|
-
"changeAnalysis"
|
|
5368
|
+
"changeAnalysis",
|
|
5369
|
+
"backup",
|
|
5370
|
+
"backupRestore",
|
|
5371
|
+
"backupDelete"
|
|
5025
5372
|
],
|
|
5026
5373
|
"description": "Which long-running operation a task record tracks."
|
|
5027
5374
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delali/narsil",
|
|
3
|
-
"version": "0.3.1-next.
|
|
3
|
+
"version": "0.3.1-next.145",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Distributed search engine with full-text, vector, hybrid, and geosearch. One engine, embedded or on a server, with a cross-language .nrsl format.",
|
|
6
6
|
"author": "Delali (https://sondelali.com)",
|
|
@@ -96,7 +96,8 @@
|
|
|
96
96
|
"scripts": {
|
|
97
97
|
"build": "rm -rf dist && tsup && node scripts/check-browser-bundle.mjs && node scripts/check-vector-chunk.mjs && tsx scripts/api-surface.ts",
|
|
98
98
|
"build:code": "rm -rf dist && NARSIL_BUILD_CODE_ONLY=1 tsup",
|
|
99
|
-
"test": "vitest run --exclude='**/vector/recall.test.ts' --exclude='**/e2e/cluster-memory/**' --exclude='**/e2e/cluster-faults/**' --exclude='**/frozen-removal-memory/container-removes.test.ts'",
|
|
99
|
+
"test": "vitest run --exclude='**/vector/recall.test.ts' --exclude='**/e2e/cluster-memory/**' --exclude='**/e2e/cluster-faults/**' --exclude='**/frozen-removal-memory/container-removes.test.ts' --exclude='**/persistence/live-object-stores/**'",
|
|
100
|
+
"test:object-stores": "vitest run src/__tests__/persistence/live-object-stores",
|
|
100
101
|
"test:native": "vitest run src/__tests__/vector/native src/__tests__/integration/filtered-vector-recall/native src/__tests__/integration/filtered-vectors/mutations-native src/__tests__/integration/removed-vectors/main-thread",
|
|
101
102
|
"test:cluster": "vitest run src/__tests__/e2e/cluster-memory --no-file-parallelism",
|
|
102
103
|
"test:faults": "vitest run src/__tests__/e2e/cluster-faults --no-file-parallelism",
|
|
@@ -149,6 +150,14 @@
|
|
|
149
150
|
"import": "./dist/adapters/indexeddb.mjs",
|
|
150
151
|
"types": "./dist/adapters/indexeddb.d.ts"
|
|
151
152
|
},
|
|
153
|
+
"./adapters/s3": {
|
|
154
|
+
"import": "./dist/adapters/s3.mjs",
|
|
155
|
+
"types": "./dist/adapters/s3.d.ts"
|
|
156
|
+
},
|
|
157
|
+
"./adapters/gcs": {
|
|
158
|
+
"import": "./dist/adapters/gcs.mjs",
|
|
159
|
+
"types": "./dist/adapters/gcs.d.ts"
|
|
160
|
+
},
|
|
152
161
|
"./invalidation/noop": {
|
|
153
162
|
"import": "./dist/invalidation/noop.mjs",
|
|
154
163
|
"types": "./dist/invalidation/noop.d.ts"
|
|
@@ -237,8 +246,10 @@
|
|
|
237
246
|
"@msgpack/msgpack": "3.1.1"
|
|
238
247
|
},
|
|
239
248
|
"devDependencies": {
|
|
249
|
+
"@aws-sdk/client-s3": "3.1159.0",
|
|
240
250
|
"@biomejs/biome": "2.4.4",
|
|
241
251
|
"@delali/narsil-embeddings-transformers": "workspace:*",
|
|
252
|
+
"@google-cloud/storage": "8.4.0",
|
|
242
253
|
"@grpc/grpc-js": "1.14.4",
|
|
243
254
|
"@microsoft/api-extractor": "7.58.12",
|
|
244
255
|
"@stoplight/spectral-cli": "6.15.0",
|
|
@@ -263,12 +274,20 @@
|
|
|
263
274
|
"wabt": "1.0.39"
|
|
264
275
|
},
|
|
265
276
|
"peerDependencies": {
|
|
277
|
+
"@aws-sdk/client-s3": "^3.1159.0",
|
|
278
|
+
"@google-cloud/storage": "^8.4.0",
|
|
266
279
|
"@grpc/grpc-js": "1.14.4",
|
|
267
280
|
"etcd3": "1.1.2",
|
|
268
281
|
"react": ">=19.2.0",
|
|
269
282
|
"uWebSockets.js": ">=20.0.0"
|
|
270
283
|
},
|
|
271
284
|
"peerDependenciesMeta": {
|
|
285
|
+
"@aws-sdk/client-s3": {
|
|
286
|
+
"optional": true
|
|
287
|
+
},
|
|
288
|
+
"@google-cloud/storage": {
|
|
289
|
+
"optional": true
|
|
290
|
+
},
|
|
272
291
|
"@grpc/grpc-js": {
|
|
273
292
|
"optional": true
|
|
274
293
|
},
|
|
@@ -283,11 +302,11 @@
|
|
|
283
302
|
}
|
|
284
303
|
},
|
|
285
304
|
"optionalDependencies": {
|
|
286
|
-
"@delali/narsil-native-darwin-arm64": "0.3.1-next.
|
|
287
|
-
"@delali/narsil-native-darwin-x64": "0.3.1-next.
|
|
288
|
-
"@delali/narsil-native-linux-arm64": "0.3.1-next.
|
|
289
|
-
"@delali/narsil-native-linux-x64": "0.3.1-next.
|
|
290
|
-
"@delali/narsil-native-win32-arm64": "0.3.1-next.
|
|
291
|
-
"@delali/narsil-native-win32-x64": "0.3.1-next.
|
|
305
|
+
"@delali/narsil-native-darwin-arm64": "0.3.1-next.145",
|
|
306
|
+
"@delali/narsil-native-darwin-x64": "0.3.1-next.145",
|
|
307
|
+
"@delali/narsil-native-linux-arm64": "0.3.1-next.145",
|
|
308
|
+
"@delali/narsil-native-linux-x64": "0.3.1-next.145",
|
|
309
|
+
"@delali/narsil-native-win32-arm64": "0.3.1-next.145",
|
|
310
|
+
"@delali/narsil-native-win32-x64": "0.3.1-next.145"
|
|
292
311
|
}
|
|
293
312
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { DOCUMENT_EXPORT_FORMAT, DOCUMENT_EXPORT_VERSION, readDocumentExport } from './chunk-VFYMPCOV.mjs';
|
|
2
|
-
import './chunk-ZEV26AQ6.mjs';
|
|
3
|
-
import './chunk-WCFCHIBB.mjs';
|
|
4
|
-
import './chunk-5DB2VDGI.mjs';
|
|
5
|
-
import './chunk-JPTQZWJQ.mjs';
|
|
6
|
-
import './chunk-26A5JFT2.mjs';
|
|
7
|
-
import './chunk-D33A5VMU.mjs';
|
|
8
|
-
import './chunk-MZI3TEOW.mjs';
|
|
9
|
-
import './chunk-35B42UFM.mjs';
|