@delali/narsil 0.3.1-next.154 → 0.3.1-next.156
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/NOTICE +45 -0
- package/README.md +1 -0
- package/dist/adapters/filesystem.mjs +2 -2
- package/dist/adapters/gcs.mjs +2 -2
- package/dist/adapters/indexeddb.mjs +1 -1
- package/dist/adapters/s3.mjs +2 -2
- package/dist/{analysis-change-4GCRVRBW.mjs → analysis-change-5BQOQ4BF.mjs} +35 -28
- package/dist/{react-native/chunks/analysis-change-entry-TNLUC6IZ.mjs → analysis-change-entry-TXX6JSMX.mjs} +1 -1
- package/dist/archive-history-E4R73RWD.mjs +29 -0
- package/dist/browser/{analysis-change-IXWPXXJJ.mjs → analysis-change-435CUEPZ.mjs} +32 -12
- package/dist/{analysis-change-entry-KYGSXW4K.mjs → browser/analysis-change-entry-HZXKPPGV.mjs} +1 -1
- package/dist/browser/archive-history-4IP5XQZY.mjs +29 -0
- package/dist/browser/{chunk-4PD752F6.mjs → chunk-23XRXIBW.mjs} +1 -1
- package/dist/browser/{chunk-J433A7P3.mjs → chunk-2CFI5VVV.mjs} +5 -5
- package/dist/{react-native/chunks/chunk-3XKMRNRE.mjs → browser/chunk-2TI4SSUP.mjs} +27 -10
- package/dist/browser/chunk-3SSRJMFN.mjs +100 -0
- package/dist/browser/{chunk-2SHAKW2Z.mjs → chunk-3V7DNNZL.mjs} +515 -733
- package/dist/browser/{chunk-C4KS2QNF.mjs → chunk-4NGKC4H4.mjs} +9 -9
- package/dist/browser/{chunk-XRV72TJD.mjs → chunk-6LWDPLTB.mjs} +2 -2
- package/dist/browser/chunk-7IGKGWSQ.mjs +79 -0
- package/dist/browser/{chunk-VCOYGVP7.mjs → chunk-7U3WVJUP.mjs} +3 -3
- package/dist/browser/chunk-ATEBYXP6.mjs +10 -0
- package/dist/browser/chunk-BHFQATSC.mjs +432 -0
- package/dist/browser/chunk-CRE3G7F3.mjs +1007 -0
- package/dist/browser/{chunk-QXTPSX2H.mjs → chunk-EA63E3D2.mjs} +7 -7
- package/dist/{react-native/chunks/chunk-DCKMICOB.mjs → browser/chunk-EXQZGUQH.mjs} +1 -1
- package/dist/browser/{chunk-ML6HY7T7.mjs → chunk-G64Q6OJF.mjs} +1 -1
- package/dist/browser/chunk-GPPOG6PT.mjs +9 -0
- package/dist/browser/{chunk-EUNBNLKM.mjs → chunk-IZXVW2ZJ.mjs} +5 -5
- package/dist/browser/{chunk-G7LUMBSG.mjs → chunk-K4Q6KX3R.mjs} +30 -20
- package/dist/browser/{chunk-H6QFBMVE.mjs → chunk-KZWSX6BH.mjs} +3 -3
- package/dist/browser/chunk-M3MQE2X7.mjs +151 -0
- package/dist/browser/chunk-MGI4BCXC.mjs +63 -0
- package/dist/browser/chunk-MOG4OVDK.mjs +51 -0
- package/dist/browser/{chunk-W5X2UFWQ.mjs → chunk-NLWTBAGB.mjs} +12 -3
- package/dist/browser/{chunk-AYY6PIKL.mjs → chunk-NQAME3RK.mjs} +2 -2
- package/dist/browser/{chunk-7MEYN7V6.mjs → chunk-NXQG7DRA.mjs} +29 -14
- package/dist/browser/chunk-OEDCEZXJ.mjs +92 -0
- package/dist/{chunk-KUZKUONM.mjs → browser/chunk-SRMZXJSL.mjs} +1 -0
- package/dist/browser/chunk-SSTPBZZX.mjs +1106 -0
- package/dist/browser/{chunk-7TTWXUH6.mjs → chunk-STOWQFT3.mjs} +3 -2
- package/dist/browser/{chunk-26A5JFT2.mjs → chunk-TK63WFXK.mjs} +2 -1
- package/dist/browser/{chunk-SJB6VIZG.mjs → chunk-U3JOQGWX.mjs} +1 -1
- package/dist/browser/{chunk-AJ4HHOVT.mjs → chunk-U4YDIBUT.mjs} +4 -4
- package/dist/browser/{chunk-2FX6ROWR.mjs → chunk-VLJQW4J6.mjs} +2986 -2986
- package/dist/{react-native/chunks/chunk-3O57C2ZO.mjs → browser/chunk-WI4MR75E.mjs} +2 -2
- package/dist/browser/{chunk-3U3QR5YP.mjs → chunk-WN464PTL.mjs} +2 -2
- package/dist/browser/{chunk-U2E3HMYW.mjs → chunk-XAWNZ4G2.mjs} +11 -11
- package/dist/browser/{cold-module-VTUGDYNY.mjs → cold-module-2EHCIV4K.mjs} +20 -18
- package/dist/browser/durability-config-TIYKW6XX.mjs +89 -0
- package/dist/browser/{durability-wiring-GL4A7KDV.mjs → durability-wiring-A7BVG2DW.mjs} +50 -153
- package/dist/browser/engine-hooks-E4UD67JD.mjs +17 -0
- package/dist/browser/geo-index-HHWGMNIS.mjs +1386 -0
- package/dist/browser/import-DXYB6756.mjs +19 -0
- package/dist/browser/{methods-LMUTS7OI.mjs → methods-KTQCSIN4.mjs} +3 -3
- package/dist/browser/{module-M4JNBV6V.mjs → module-NIYMEA5R.mjs} +16 -14
- package/dist/browser/{module-EC3FYW7N.mjs → module-TCT66FWA.mjs} +10 -9
- package/dist/browser/operations-OJ3BXS55.mjs +5 -0
- package/dist/browser/{phrase-module-NPYUVX75.mjs → phrase-module-HAT3TLZN.mjs} +2 -2
- package/dist/browser/{pool-WCGDZHJP.mjs → pool-3JLET5RO.mjs} +1 -1
- package/dist/browser/restore-hooks-YPN4ZFCY.mjs +114 -0
- package/dist/browser/restore-queue-G3RQGL3Y.mjs +55 -0
- package/dist/browser/{retention-6QMRS5VK.mjs → retention-ZWVMNC3Q.mjs} +18 -15
- package/dist/browser/{runtime-3EW2AGB6.mjs → runtime-OTAGEFQW.mjs} +1 -1
- package/dist/browser/{snapshot-DN3CRVUQ.mjs → snapshot-VEQNIE6C.mjs} +71 -36
- package/dist/browser/start-BM442C6R.mjs +25 -0
- package/dist/browser/{write-WAWAFGKQ.mjs → write-2EVMZWDE.mjs} +16 -14
- package/dist/{capabilities-B3Brs1Rc.d.ts → capabilities-Da4ywVVl.d.ts} +35 -3
- package/dist/{chunk-K4B7OH65.mjs → chunk-25KDNIZZ.mjs} +2 -2
- package/dist/{chunk-O43Z4MS6.mjs → chunk-2NE7VCYE.mjs} +2 -2
- package/dist/chunk-2UV4QBHW.mjs +1092 -0
- package/dist/{chunk-3Y3J4V2R.mjs → chunk-3C7MTCCI.mjs} +1 -1
- package/dist/{chunk-TRISKD4Q.mjs → chunk-3HYC4JRF.mjs} +2 -2
- package/dist/{chunk-HVYICDY3.mjs → chunk-3OH67G7R.mjs} +1 -1
- package/dist/{chunk-PFKM7VNZ.mjs → chunk-46KY2PJD.mjs} +30 -11
- package/dist/{chunk-IJU7LL7D.mjs → chunk-4KKXNJM6.mjs} +5 -5
- package/dist/{chunk-IQ4R2I6N.mjs → chunk-5FLRXF73.mjs} +5 -1
- package/dist/{chunk-BPSKLCS7.mjs → chunk-5VV4R6P7.mjs} +3017 -3017
- package/dist/chunk-5YNRKI2C.mjs +81 -0
- package/dist/chunk-6HTGOXIK.mjs +875 -0
- package/dist/{chunk-7HCZWC7B.mjs → chunk-6I6AYAXS.mjs} +50 -8
- package/dist/{chunk-C6ASEFZI.mjs → chunk-6OEGXLBX.mjs} +1 -1
- package/dist/{chunk-DVWYODEB.mjs → chunk-6RC4K46J.mjs} +2 -2
- package/dist/chunk-7GFE3PEY.mjs +40 -0
- package/dist/{chunk-QKZHLADX.mjs → chunk-7LXHHCXZ.mjs} +28 -19
- package/dist/{chunk-JUKYYXSP.mjs → chunk-7V5IUP2T.mjs} +1 -31
- package/dist/{react-native/chunks/chunk-7GWPJDOA.mjs → chunk-A4L7YTKX.mjs} +53 -90
- package/dist/{chunk-Z3TNWCI5.mjs → chunk-BU4SAIC4.mjs} +3 -3
- package/dist/chunk-BWZ3P4MU.mjs +20 -0
- package/dist/{chunk-OKX2BBNW.mjs → chunk-CITFCZKF.mjs} +5 -4
- package/dist/{chunk-4HWZV5MK.mjs → chunk-CSLGFPFQ.mjs} +5 -5
- package/dist/chunk-DP5C7YFQ.mjs +543 -0
- package/dist/{chunk-RVKFI3A2.mjs → chunk-DWEPMFJE.mjs} +11 -8
- package/dist/{chunk-LSM2YTKM.mjs → chunk-EFBDHH5P.mjs} +87 -144
- package/dist/{chunk-NZMAXR2S.mjs → chunk-FAKFUDZZ.mjs} +121 -11
- package/dist/chunk-FB6463IN.mjs +1499 -0
- package/dist/{chunk-REL7LFLR.mjs → chunk-FCJ553HS.mjs} +3 -3
- package/dist/{chunk-MMEMEUOO.mjs → chunk-FJKKCV4D.mjs} +2 -2
- package/dist/{chunk-K7KLL263.mjs → chunk-FNGAM5B7.mjs} +14 -13
- package/dist/{chunk-DMQPFLGI.mjs → chunk-FRBFVQFN.mjs} +6 -5
- package/dist/{chunk-IBNLW3AV.mjs → chunk-FYOVBEMM.mjs} +20 -6
- package/dist/chunk-G6HRSGOU.mjs +74 -0
- package/dist/{chunk-USR7FQRZ.mjs → chunk-GH4WQ22V.mjs} +2 -2
- package/dist/chunk-GQPTDQCL.mjs +54 -0
- package/dist/{chunk-VREK3MYG.mjs → chunk-HFPMMRQT.mjs} +3 -3
- package/dist/{chunk-MLHNSAPK.mjs → chunk-HHBUCIUY.mjs} +3 -3
- package/dist/{chunk-YROWNOMH.mjs → chunk-HJJI72X7.mjs} +1 -1
- package/dist/{chunk-ECX4SGX6.mjs → chunk-I2KPOLOZ.mjs} +9 -9
- package/dist/{chunk-TV2L3BN7.mjs → chunk-I53G4JAU.mjs} +266 -265
- package/dist/{chunk-3A5KI24C.mjs → chunk-I54T6CQP.mjs} +1 -1
- package/dist/{chunk-NTZOXVUZ.mjs → chunk-I5B7RXU7.mjs} +93 -24
- package/dist/{chunk-YBJDOA2T.mjs → chunk-INJYO3BU.mjs} +1 -1
- package/dist/{react-native/chunks/chunk-KWRW5U65.mjs → chunk-J4IJTTEX.mjs} +1 -1
- package/dist/{chunk-X6NSJYQ3.mjs → chunk-JDJBQLRO.mjs} +13 -13
- package/dist/{chunk-MMBEANB2.mjs → chunk-JWRUUCWD.mjs} +3 -3
- package/dist/{chunk-AO2FAYIZ.mjs → chunk-K4ZIGL2O.mjs} +1 -1
- package/dist/{chunk-JFNKIBDT.mjs → chunk-K5QFDYST.mjs} +2 -2
- package/dist/{chunk-C73JLU4E.mjs → chunk-KF4EXSM4.mjs} +2 -2
- package/dist/{chunk-WCBA2LVZ.mjs → chunk-KHKIRS5D.mjs} +1 -1
- package/dist/{chunk-7QUGDVFC.mjs → chunk-KJ3RTZDJ.mjs} +1 -1
- package/dist/{chunk-HVKXNBFL.mjs → chunk-KKQC526K.mjs} +20 -12
- package/dist/chunk-KP7TYHWT.mjs +92 -0
- package/dist/{chunk-VMXSVVXG.mjs → chunk-L6V6BST3.mjs} +9 -22
- package/dist/{chunk-URPCYQVJ.mjs → chunk-LHKOSI2J.mjs} +1 -1
- package/dist/chunk-LNGE7SLY.mjs +151 -0
- package/dist/{react-native/chunks/chunk-CUNGPR5R.mjs → chunk-MP7ABPTD.mjs} +1 -0
- package/dist/{chunk-5KGYQT6W.mjs → chunk-MQOJIO5B.mjs} +26 -9
- package/dist/{chunk-Q3TCTQCC.mjs → chunk-NF4DT3IH.mjs} +1 -1
- package/dist/{chunk-3OFU3NJT.mjs → chunk-OIJ64LGT.mjs} +1 -1
- package/dist/chunk-ORN5BLL7.mjs +11 -0
- package/dist/{chunk-HWEDFLB7.mjs → chunk-P5ZI2P2W.mjs} +126 -1701
- package/dist/{chunk-466PYR4P.mjs → chunk-PWC4VB3Q.mjs} +2 -2
- package/dist/{chunk-B7S6YEBP.mjs → chunk-QJVOLKU6.mjs} +12 -3
- package/dist/{chunk-KCUIFVVW.mjs → chunk-QOW2JPUI.mjs} +9 -9
- package/dist/chunk-RDXO6JST.mjs +63 -0
- package/dist/chunk-RLOES5SX.mjs +31 -0
- package/dist/{chunk-YPUEV6ZC.mjs → chunk-RVGRFOGN.mjs} +1 -1
- package/dist/{chunk-JCLTESFN.mjs → chunk-RZWWB2XR.mjs} +1 -1
- package/dist/chunk-S5LN746F.mjs +10 -0
- package/dist/chunk-SA5LOGO3.mjs +470 -0
- package/dist/chunk-SQJWAIF4.mjs +12 -0
- package/dist/{chunk-YTJCGKM4.mjs → chunk-TBC3XUL2.mjs} +29 -6
- package/dist/chunk-TDIK6NTV.mjs +10 -0
- package/dist/chunk-TGS5UXBE.mjs +216 -0
- package/dist/{chunk-CP5RRPJR.mjs → chunk-TQXHPFWT.mjs} +1 -1
- package/dist/{chunk-7NTMUDC5.mjs → chunk-TZ3355VS.mjs} +5 -5
- package/dist/{chunk-Q7MS6P2J.mjs → chunk-TZTRKM33.mjs} +2 -2
- package/dist/{chunk-4UMZ7KQL.mjs → chunk-U55XJEIG.mjs} +2 -1
- package/dist/{chunk-S2N75OTN.mjs → chunk-UHICS3JI.mjs} +1 -1
- package/dist/{chunk-5FUOVJKG.mjs → chunk-VTTRFF2C.mjs} +32 -19
- package/dist/{chunk-62G63NMH.mjs → chunk-WX4LAO6M.mjs} +4 -4
- package/dist/{chunk-LTUGDMV4.mjs → chunk-WZ7YV54N.mjs} +1 -1
- package/dist/chunk-XAXKV65G.mjs +72 -0
- package/dist/chunk-XXHN7J46.mjs +101 -0
- package/dist/{chunk-PGVPE7GJ.mjs → chunk-YEKL4JBK.mjs} +1 -1
- package/dist/chunk-YTWZVGCB.mjs +382 -0
- package/dist/chunk-Z2KAFCRT.mjs +30 -0
- package/dist/{chunk-LKUE5GXS.mjs → chunk-ZKP7G7TV.mjs} +2 -2
- package/dist/{client-Df76GNKm.d.ts → client-DRv7UVeY.d.ts} +123 -11
- package/dist/client.d.ts +9 -8
- package/dist/client.mjs +65 -3
- package/dist/{cold-module-YLWMTTZG.mjs → cold-module-6MO2XJF2.mjs} +45 -39
- package/dist/{config-B8DP2VwR.d.ts → config-CoSig5Ox.d.ts} +22 -3
- package/dist/{config-05G_hy-1.d.ts → config-DMwffLKn.d.ts} +20 -5
- package/dist/direct-executor-FTMYY3TI.mjs +34 -0
- package/dist/distribution/coordinator/etcd.d.ts +2 -2
- package/dist/distribution/coordinator/etcd.mjs +3 -3
- package/dist/distribution/coordinator/in-memory.d.ts +2 -2
- package/dist/distribution/coordinator/in-memory.mjs +2 -2
- 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 +6799 -5939
- package/dist/durability-config-GE4U7MCZ.mjs +89 -0
- package/dist/{durability-wiring-RHLXDIVF.mjs → durability-wiring-VIF5MOSY.mjs} +82 -179
- package/dist/embeddings/openai.mjs +2 -2
- package/dist/{sync-uXR7MmM7.d.ts → engine-CFxPYqEk.d.ts} +702 -2
- package/dist/engine-hooks-EGUGNZYE.mjs +54 -0
- package/dist/geo-index-MRH5JMIR.mjs +1387 -0
- package/dist/import-XKDPJQDP.mjs +56 -0
- package/dist/{index-nRqDM6uS.d.ts → index-C4AmUnl1.d.ts} +1 -1
- package/dist/index.browser.mjs +9 -7
- package/dist/index.d.ts +134 -9
- package/dist/index.mjs +33 -26
- package/dist/index.react-native.mjs +20 -17
- package/dist/invalidation/filesystem.mjs +2 -2
- package/dist/{long-query-thread-EMYTGSJP.mjs → long-query-thread-YA4IAYSY.mjs} +34 -28
- package/dist/{methods-ABM5ELBR.mjs → methods-7IOINERF.mjs} +3 -3
- package/dist/{module-MG7JMV2U.mjs → module-FQ4JWNQJ.mjs} +41 -34
- package/dist/{module-3OMJZUFT.mjs → module-N55W4Q5C.mjs} +14 -14
- package/dist/operations-G5EP6JPX.mjs +5 -0
- package/dist/{paged-partition-archive-UOLHOEZJ.mjs → paged-partition-archive-PXW5XAYU.mjs} +48 -38
- package/dist/partial-words.mjs +11 -9
- package/dist/pattern.mjs +6 -5
- package/dist/persistence/durability/checkpoint-worker.d.ts +8 -1
- package/dist/persistence/durability/checkpoint-worker.mjs +44 -35
- package/dist/{phrase-module-O3MDRQXP.mjs → phrase-module-XW5MKWP5.mjs} +4 -3
- package/dist/{pool-CQXYPFLG.mjs → pool-Y4A46T36.mjs} +1 -1
- package/dist/query-suggestions/merge-worker.d.ts +55 -0
- package/dist/query-suggestions/merge-worker.mjs +88 -0
- package/dist/query-suggestions-CBYkrQ5T.d.ts +311 -0
- package/dist/query-suggestions.browser.mjs +247 -0
- package/dist/query-suggestions.d.ts +20 -0
- package/dist/query-suggestions.mjs +69 -0
- package/dist/react-native/chunks/{analysis-change-EAYO3Y6Q.mjs → analysis-change-LT5QBQ3H.mjs} +43 -22
- package/dist/{browser/analysis-change-entry-FCSHFQSS.mjs → react-native/chunks/analysis-change-entry-SCVWK6OU.mjs} +1 -1
- package/dist/react-native/chunks/archive-history-MJKUQLSU.mjs +29 -0
- package/dist/{chunk-ZIFJXCKA.mjs → react-native/chunks/chunk-2PRHILX3.mjs} +54 -20
- package/dist/react-native/chunks/{chunk-VQSKZ3EZ.mjs → chunk-3JWDECAZ.mjs} +8 -8
- package/dist/{chunk-R6A773WK.mjs → react-native/chunks/chunk-3WI35N75.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-75VWIY35.mjs → chunk-4DII3ZSM.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-NKIZX26F.mjs → chunk-4J74WHQM.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-UWDNZDWK.mjs → chunk-4JYO3JD2.mjs} +6 -6
- package/dist/react-native/chunks/chunk-5CQX3XXV.mjs +17 -0
- package/dist/react-native/chunks/chunk-6VBXNFLE.mjs +9 -0
- package/dist/react-native/chunks/{chunk-SJWDBRNP.mjs → chunk-6WA3C3DV.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-OQQVRWZ2.mjs → chunk-C5G6TJ7A.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-RVAEBN74.mjs → chunk-CKNRFDTZ.mjs} +1 -1
- package/dist/react-native/chunks/chunk-DIYDOIM4.mjs +10 -0
- package/dist/react-native/chunks/{chunk-O32RB3BL.mjs → chunk-DNXOMPAQ.mjs} +4 -4
- package/dist/react-native/chunks/{chunk-YBEW6YTR.mjs → chunk-DVDX4SDR.mjs} +2 -2
- package/dist/react-native/chunks/chunk-DXRSEWA2.mjs +12 -0
- package/dist/{browser/chunk-MYITLCHT.mjs → react-native/chunks/chunk-DZ7H7D2C.mjs} +1 -0
- package/dist/react-native/chunks/{chunk-PPEPTUVV.mjs → chunk-EJ33LCHV.mjs} +29 -6
- package/dist/react-native/chunks/{chunk-RYMDHGL4.mjs → chunk-ENLMYKSX.mjs} +3045 -3075
- package/dist/react-native/chunks/chunk-FHPW7P2O.mjs +40 -0
- package/dist/react-native/chunks/{chunk-JV6VQY2S.mjs → chunk-FTZHMRD2.mjs} +2 -1
- package/dist/react-native/chunks/{chunk-YHKZSLOC.mjs → chunk-G43IPIDG.mjs} +5 -5
- package/dist/react-native/chunks/{chunk-AUT7PMA4.mjs → chunk-GXX3DQXP.mjs} +8 -22
- package/dist/react-native/chunks/chunk-H3MDVPBO.mjs +151 -0
- package/dist/react-native/chunks/{chunk-DH3TVWWK.mjs → chunk-IYNT75CE.mjs} +12 -3
- package/dist/react-native/chunks/chunk-KV46CT4D.mjs +1007 -0
- package/dist/{browser/chunk-ZPTA75ZC.mjs → react-native/chunks/chunk-LZSLNSUN.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-63YSZOXB.mjs → chunk-MIP4SOR6.mjs} +1480 -826
- package/dist/react-native/chunks/{chunk-ZBSWRSBG.mjs → chunk-MJDQU5MW.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-GFYFQLJD.mjs → chunk-MUWD2H2S.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-IOY2SM2P.mjs → chunk-MVXELMJX.mjs} +1 -1
- package/dist/{browser/chunk-TTD27VXX.mjs → react-native/chunks/chunk-NB3LP33V.mjs} +27 -10
- package/dist/react-native/chunks/{chunk-I5PGWQJF.mjs → chunk-PDRWWPKV.mjs} +33 -24
- package/dist/react-native/chunks/chunk-PJHAB5ZY.mjs +79 -0
- package/dist/react-native/chunks/{chunk-2CGSQM4O.mjs → chunk-POPDAGH6.mjs} +13 -13
- package/dist/react-native/chunks/{chunk-NP7DD4G5.mjs → chunk-QUKQNI3H.mjs} +5 -5
- package/dist/react-native/chunks/{chunk-EH5CFV6Z.mjs → chunk-RDWG33MM.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-JX2RIAXH.mjs → chunk-SK2PWYDH.mjs} +5 -5
- package/dist/react-native/chunks/{chunk-ZYDKJXQJ.mjs → chunk-SUPXRTMD.mjs} +1 -1
- package/dist/react-native/chunks/chunk-TP6KCKER.mjs +63 -0
- package/dist/react-native/chunks/{chunk-JPAJWO6D.mjs → chunk-U4KSKA4Z.mjs} +1 -1
- package/dist/react-native/chunks/chunk-UQ4OAXKU.mjs +1106 -0
- package/dist/react-native/chunks/{chunk-VVFYOADG.mjs → chunk-VWUDIOT6.mjs} +6 -6
- package/dist/{browser/chunk-SIR3LMTV.mjs → react-native/chunks/chunk-WBYQRHDY.mjs} +2 -2
- package/dist/react-native/chunks/{chunk-C2H2QQFW.mjs → chunk-YH7QY657.mjs} +3 -3
- package/dist/react-native/chunks/{chunk-NCJS3WIY.mjs → chunk-YZW4CHM6.mjs} +51 -12
- package/dist/react-native/chunks/chunk-ZLWVW734.mjs +100 -0
- package/dist/react-native/chunks/chunk-ZXZFN7FI.mjs +432 -0
- package/dist/react-native/chunks/chunk-ZZT7CEN7.mjs +92 -0
- package/dist/react-native/chunks/{cold-module-TJL6AFAD.mjs → cold-module-KVZYUGRY.mjs} +31 -28
- package/dist/react-native/chunks/durability-config-QXVZEO7T.mjs +89 -0
- package/dist/react-native/chunks/{durability-wiring-RRDYJLLM.mjs → durability-wiring-34OYO32E.mjs} +60 -162
- package/dist/react-native/chunks/engine-hooks-M7JV46NH.mjs +30 -0
- package/dist/react-native/chunks/geo-index-PX3BIHAH.mjs +1387 -0
- package/dist/react-native/chunks/gzip.react-native-HLEPDKZ3.mjs +3 -0
- package/dist/react-native/chunks/import-H6AQREWI.mjs +32 -0
- package/dist/react-native/chunks/{methods-X6F36SJE.mjs → methods-6W5U4C3H.mjs} +3 -3
- package/dist/react-native/chunks/module-LBZPGOWH.mjs +36 -0
- package/dist/react-native/chunks/{module-S4DKSWMF.mjs → module-TTEVPRCW.mjs} +14 -13
- package/dist/react-native/chunks/operations-GNRMD6EX.mjs +5 -0
- package/dist/react-native/chunks/{phrase-module-JZ37TB7N.mjs → phrase-module-QK22HSQ2.mjs} +2 -2
- package/dist/react-native/chunks/{pool-RTGXJXPU.mjs → pool-JR3NJCAF.mjs} +1 -1
- package/dist/react-native/chunks/restore-hooks-IBGIY3DR.mjs +127 -0
- package/dist/react-native/chunks/restore-queue-ZZX54AH7.mjs +55 -0
- package/dist/react-native/chunks/{retention-PPCTP2VY.mjs → retention-EW4TTDFB.mjs} +29 -25
- package/dist/react-native/chunks/{runtime-KUATOLYB.mjs → runtime-R5E3TB3J.mjs} +1 -1
- package/dist/react-native/chunks/{snapshot-ZBIEOZTZ.mjs → snapshot-REYVIN3X.mjs} +80 -44
- package/dist/react-native/chunks/start-BQK6KN3R.mjs +38 -0
- package/dist/react-native/chunks/{write-2W4FTX7J.mjs → write-FQAYCZF5.mjs} +27 -24
- package/dist/react-native/partial-words.mjs +11 -9
- package/dist/react-native/pattern.mjs +4 -4
- package/dist/react-native/query-suggestions.mjs +260 -0
- package/dist/react-native/sync.mjs +78 -15
- package/dist/react-native/synonyms.mjs +95 -27
- package/dist/react.d.ts +11 -11
- package/dist/react.mjs +1 -0
- package/dist/{rerank-IZOB6NII.mjs → rerank-MQ37IYRV.mjs} +4 -4
- package/dist/rerankers/http.mjs +2 -2
- package/dist/restore-hooks-CDERDEF4.mjs +153 -0
- package/dist/restore-queue-7NNSTROA.mjs +55 -0
- package/dist/retention-QSVBBNRM.mjs +66 -0
- package/dist/{runtime-UZOC3NPY.mjs → runtime-COIUORCN.mjs} +5 -5
- package/dist/{schema-DDauvDOv.d.ts → schema-Jwt928nJ.d.ts} +1 -1
- package/dist/server.d.ts +108 -12
- package/dist/server.mjs +303 -50
- package/dist/{snapshot-NFX2EYN2.mjs → snapshot-RH4NSKIZ.mjs} +98 -61
- package/dist/start-MCKCOGIW.mjs +66 -0
- package/dist/sync/filesystem.d.ts +4 -4
- package/dist/sync/filesystem.mjs +6 -6
- package/dist/sync/indexeddb.d.ts +4 -4
- package/dist/sync/indexeddb.mjs +2 -2
- package/dist/sync.browser.mjs +74 -11
- package/dist/sync.d.ts +5 -5
- package/dist/sync.mjs +78 -16
- package/dist/synonyms.mjs +9 -8
- package/dist/{tasks-BShx8pdK.d.ts → tasks-qrJojgST.d.ts} +13 -5
- package/dist/thread-O4SBJJJS.mjs +50 -0
- package/dist/{types-SnO7_tAI.d.ts → types-BZCGjfLn.d.ts} +2 -3
- package/dist/vector/search-worker.d.ts +1 -1
- package/dist/vector/search-worker.mjs +8 -8
- package/dist/workers/entry.mjs +19 -8
- package/dist/{write-FGB62BHQ.mjs → write-3FK7NG3Y.mjs} +40 -33
- package/openapi.json +798 -7
- package/package.json +32 -8
- package/dist/browser/import-YI5GNB4H.mjs +0 -17
- package/dist/browser/operations-WVYLF72Q.mjs +0 -5
- package/dist/browser/restore-queue-TYIGDL5L.mjs +0 -41
- package/dist/chunk-37IVJLP6.mjs +0 -44
- package/dist/chunk-DJHHF2L5.mjs +0 -17
- package/dist/direct-executor-FI5GJHWX.mjs +0 -29
- package/dist/engine-DYu-e0oR.d.ts +0 -674
- package/dist/import-SRBNC6TE.mjs +0 -49
- package/dist/operations-PGOAY2KS.mjs +0 -5
- package/dist/react-native/chunks/chunk-TJMSKBEM.mjs +0 -25
- package/dist/react-native/chunks/gzip.react-native-DNB5YNFA.mjs +0 -3
- package/dist/react-native/chunks/import-JYBMEJPQ.mjs +0 -29
- package/dist/react-native/chunks/module-QT5HZAY4.mjs +0 -33
- package/dist/react-native/chunks/operations-RYKTSZQA.mjs +0 -5
- package/dist/react-native/chunks/restore-queue-ZBVIKJWI.mjs +0 -41
- package/dist/restore-queue-COI2GSSK.mjs +0 -41
- package/dist/retention-55WA7GPU.mjs +0 -58
- package/dist/thread-P2G2FWM2.mjs +0 -44
package/dist/client.mjs
CHANGED
|
@@ -39,6 +39,7 @@ var ErrorCodes = {
|
|
|
39
39
|
SYNC_NOT_READY: "SYNC_NOT_READY",
|
|
40
40
|
SYNC_NOT_ENABLED: "SYNC_NOT_ENABLED",
|
|
41
41
|
SYNC_SNAPSHOT_PREPARING: "SYNC_SNAPSHOT_PREPARING",
|
|
42
|
+
QUERY_SUGGESTIONS_NOT_ENABLED: "QUERY_SUGGESTIONS_NOT_ENABLED",
|
|
42
43
|
SEARCH_INVALID_FIELD: "SEARCH_INVALID_FIELD",
|
|
43
44
|
VECTOR_DIMENSION_MISMATCH: "VECTOR_DIMENSION_MISMATCH",
|
|
44
45
|
SEARCH_INVALID_FILTER: "SEARCH_INVALID_FILTER",
|
|
@@ -287,11 +288,13 @@ function createAdminOperations(transport) {
|
|
|
287
288
|
await transport.json({ method: "POST", path: `${indexPath(indexName)}/_checkpoint`, options });
|
|
288
289
|
},
|
|
289
290
|
snapshot(indexName, options) {
|
|
291
|
+
const { queryHistory, ...request } = options ?? {};
|
|
290
292
|
return transport.stream({
|
|
291
293
|
method: "GET",
|
|
292
294
|
path: `${indexPath(indexName)}/snapshot`,
|
|
295
|
+
...queryHistory === true ? { query: { queryHistory: "true" } } : {},
|
|
293
296
|
defaultTimeoutMs: NO_TIMEOUT,
|
|
294
|
-
options
|
|
297
|
+
options: request
|
|
295
298
|
});
|
|
296
299
|
},
|
|
297
300
|
async restore(indexName, data, options) {
|
|
@@ -394,7 +397,9 @@ function createBackupOperations(transport) {
|
|
|
394
397
|
}
|
|
395
398
|
return {
|
|
396
399
|
createBackup(indexName, backupName, options) {
|
|
397
|
-
|
|
400
|
+
const { queryHistory, ...request } = options ?? {};
|
|
401
|
+
const body = { backup: backupName, ...queryHistory === true ? { queryHistory } : {} };
|
|
402
|
+
return postTask(`${indexPath(indexName)}/backups`, body, request);
|
|
398
403
|
},
|
|
399
404
|
async listBackups(options) {
|
|
400
405
|
const path = "/backups";
|
|
@@ -964,6 +969,62 @@ function createIndexOperations(transport) {
|
|
|
964
969
|
};
|
|
965
970
|
}
|
|
966
971
|
|
|
972
|
+
// src/client/query-suggestions.ts
|
|
973
|
+
function createQuerySuggestionOperations(transport) {
|
|
974
|
+
const pathOf = (indexName, route = "") => `${indexPath(indexName)}/query-suggestions${route}`;
|
|
975
|
+
function send(method, path, body, options) {
|
|
976
|
+
return transport.json({
|
|
977
|
+
method,
|
|
978
|
+
path,
|
|
979
|
+
...body === void 0 ? {} : { body: encodeJson(body), contentType: "application/json" },
|
|
980
|
+
options
|
|
981
|
+
});
|
|
982
|
+
}
|
|
983
|
+
return {
|
|
984
|
+
async updateQuerySuggestions(indexName, setting, options) {
|
|
985
|
+
await send("PUT", pathOf(indexName), setting, options);
|
|
986
|
+
},
|
|
987
|
+
async querySuggestionsStatus(indexName, options) {
|
|
988
|
+
const path = pathOf(indexName);
|
|
989
|
+
return readBody(await send("GET", path, void 0, options), path);
|
|
990
|
+
},
|
|
991
|
+
async recordQuery(indexName, query, options) {
|
|
992
|
+
const path = pathOf(indexName, "/record");
|
|
993
|
+
return readBody(await send("POST", path, { query }, options), path);
|
|
994
|
+
},
|
|
995
|
+
async buildQuerySuggestions(indexName, options) {
|
|
996
|
+
const path = pathOf(indexName, "/build");
|
|
997
|
+
return readBody(await send("POST", path, void 0, options), path);
|
|
998
|
+
},
|
|
999
|
+
async previewQuerySuggestions(indexName, limit, options) {
|
|
1000
|
+
const path = pathOf(indexName, "/preview");
|
|
1001
|
+
const payload = await transport.json({
|
|
1002
|
+
method: "GET",
|
|
1003
|
+
path,
|
|
1004
|
+
...limit === void 0 ? {} : { query: { limit: String(limit) } },
|
|
1005
|
+
options
|
|
1006
|
+
});
|
|
1007
|
+
return readBody(payload, path);
|
|
1008
|
+
},
|
|
1009
|
+
async readQueryBans(indexName, options) {
|
|
1010
|
+
const path = pathOf(indexName, "/bans");
|
|
1011
|
+
return readArray(await send("GET", path, void 0, options), "bans", path);
|
|
1012
|
+
},
|
|
1013
|
+
async replaceQueryBans(indexName, bans, options) {
|
|
1014
|
+
const path = pathOf(indexName, "/bans");
|
|
1015
|
+
return readArray(await send("PUT", path, { bans }, options), "bans", path);
|
|
1016
|
+
},
|
|
1017
|
+
async removeQuery(indexName, query, options) {
|
|
1018
|
+
const path = pathOf(indexName, "/remove");
|
|
1019
|
+
return readNumber(await send("POST", path, { query }, options), "suggestionIndexes", path);
|
|
1020
|
+
},
|
|
1021
|
+
async addManualSuggestion(indexName, suggestion, options) {
|
|
1022
|
+
const path = pathOf(indexName, "/manual");
|
|
1023
|
+
return readString(await send("POST", path, suggestion, options), "indexName", path);
|
|
1024
|
+
}
|
|
1025
|
+
};
|
|
1026
|
+
}
|
|
1027
|
+
|
|
967
1028
|
// src/client/search.ts
|
|
968
1029
|
function createSearchOperations(transport) {
|
|
969
1030
|
async function post(path, params, options) {
|
|
@@ -1167,7 +1228,8 @@ function createNarsilClient(options) {
|
|
|
1167
1228
|
...createAdminOperations(transport),
|
|
1168
1229
|
...createBackupOperations(transport),
|
|
1169
1230
|
...createServerOperations(transport),
|
|
1170
|
-
...createSyncSettingOperations(transport)
|
|
1231
|
+
...createSyncSettingOperations(transport),
|
|
1232
|
+
...createQuerySuggestionOperations(transport)
|
|
1171
1233
|
};
|
|
1172
1234
|
}
|
|
1173
1235
|
|
|
@@ -1,64 +1,70 @@
|
|
|
1
|
-
import { readWholeSectionChecked, checkEverySectionPage, readFileRange, openPagedFile, readCacheOfThisThread, createSectionReader, closePagedFile } from './chunk-
|
|
2
|
-
export { actionPartitionsOf, adoptSegmentsOnWorker, bytesThatSegmentsHoldInMemory, checkPagedSegmentFully, closeUnusedSegments, countsAsLatestHolder, createPagedFrozenSegment, isPagedSegmentFile, keysThatSegmentsStillRead, mergePagedWindow, openFileVectorReads, openPagedSegmentScan, openPagedSnapshot, openRewriteSpill, pagedListingOf, pagedPartitionLines, pagedTombstonesFor, prepareDiskAdoption, startReadingOpeningSectionsAhead, swapPreparedPartitions, writePagedSegment } from './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import { loadFailed, decodeSections, SEGMENT_PAGE_BYTES, RECORD_PAGE_BYTES } from './chunk-
|
|
6
|
-
import { isDead, VECTOR_FILE_PAYLOAD_VERSION, bytesToVectors } from './chunk-
|
|
1
|
+
import { readWholeSectionChecked, checkEverySectionPage, readFileRange, openPagedFile, readCacheOfThisThread, createSectionReader, closePagedFile } from './chunk-FNGAM5B7.mjs';
|
|
2
|
+
export { actionPartitionsOf, adoptSegmentsOnWorker, bytesThatSegmentsHoldInMemory, checkPagedSegmentFully, closeUnusedSegments, countsAsLatestHolder, createPagedFrozenSegment, isPagedSegmentFile, keysThatSegmentsStillRead, mergePagedWindow, openFileVectorReads, openPagedSegmentScan, openPagedSnapshot, openRewriteSpill, pagedListingOf, pagedPartitionLines, pagedTombstonesFor, prepareDiskAdoption, startReadingOpeningSectionsAhead, swapPreparedPartitions, writePagedSegment } from './chunk-FNGAM5B7.mjs';
|
|
3
|
+
import './chunk-6RC4K46J.mjs';
|
|
4
|
+
import './chunk-TQXHPFWT.mjs';
|
|
5
|
+
import { loadFailed, decodeSections, SEGMENT_PAGE_BYTES, RECORD_PAGE_BYTES } from './chunk-WZ7YV54N.mjs';
|
|
6
|
+
import { isDead, VECTOR_FILE_PAYLOAD_VERSION, bytesToVectors } from './chunk-K4ZIGL2O.mjs';
|
|
7
7
|
import './chunk-FOCV4CBZ.mjs';
|
|
8
|
-
import { magnitude, defaultRescoreDepth, defaultEfSearch, computeCodeBlockLayout, toScore, osqQuantize, createOsqScratch, scalarQueryProducts, osqEstimate, osqDistance, toDistance } from './chunk-
|
|
9
|
-
export { createHNSWIndex, osqBitsOf } from './chunk-
|
|
10
|
-
import './chunk-DJHHF2L5.mjs';
|
|
8
|
+
import { magnitude, defaultRescoreDepth, defaultEfSearch, computeCodeBlockLayout, toScore, osqQuantize, createOsqScratch, scalarQueryProducts, osqEstimate, osqDistance, toDistance } from './chunk-5VV4R6P7.mjs';
|
|
9
|
+
export { createHNSWIndex, osqBitsOf } from './chunk-5VV4R6P7.mjs';
|
|
11
10
|
import { stageQueryLevels, readTrailer } from './chunk-37CD3OKS.mjs';
|
|
12
|
-
import { COLD_LOAD_WAIT_WITHOUT_SEARCH_MS, COLD_WALK_NODES_READ_AHEAD } from './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
11
|
+
import { COLD_LOAD_WAIT_WITHOUT_SEARCH_MS, COLD_WALK_NODES_READ_AHEAD } from './chunk-QOW2JPUI.mjs';
|
|
12
|
+
import './chunk-WX4LAO6M.mjs';
|
|
13
|
+
import './chunk-UHICS3JI.mjs';
|
|
14
|
+
import './chunk-NF4DT3IH.mjs';
|
|
16
15
|
import './chunk-QDZJM7NI.mjs';
|
|
17
|
-
import { yieldToEventLoop } from './chunk-
|
|
18
|
-
import './chunk-
|
|
16
|
+
import { yieldToEventLoop } from './chunk-EFBDHH5P.mjs';
|
|
17
|
+
import './chunk-I53G4JAU.mjs';
|
|
19
18
|
import './chunk-HJSN7UYG.mjs';
|
|
20
|
-
import './chunk-
|
|
19
|
+
import './chunk-LHKOSI2J.mjs';
|
|
21
20
|
import './chunk-XIHUI4KB.mjs';
|
|
22
21
|
import './chunk-3MXV3VHR.mjs';
|
|
23
22
|
import './chunk-EEBCDP36.mjs';
|
|
24
|
-
import './chunk-
|
|
25
|
-
import './chunk-
|
|
26
|
-
import './chunk-
|
|
27
|
-
import { HEADER_SIZE, readHeader } from './chunk-
|
|
23
|
+
import './chunk-VTTRFF2C.mjs';
|
|
24
|
+
import './chunk-P5ZI2P2W.mjs';
|
|
25
|
+
import './chunk-GH4WQ22V.mjs';
|
|
26
|
+
import { HEADER_SIZE, readHeader } from './chunk-3OH67G7R.mjs';
|
|
28
27
|
import './chunk-IPN7S4KX.mjs';
|
|
29
28
|
import './chunk-KAKQ74LS.mjs';
|
|
30
29
|
import { crc32 } from './chunk-7GXJUJ24.mjs';
|
|
31
30
|
import './chunk-Q2UL2TPC.mjs';
|
|
32
|
-
import './chunk-
|
|
33
|
-
import './chunk-
|
|
31
|
+
import './chunk-CITFCZKF.mjs';
|
|
32
|
+
import './chunk-RLOES5SX.mjs';
|
|
33
|
+
import './chunk-L6V6BST3.mjs';
|
|
34
|
+
import './chunk-SQJWAIF4.mjs';
|
|
35
|
+
import './chunk-FQBFZAWG.mjs';
|
|
36
|
+
import './chunk-BU4SAIC4.mjs';
|
|
37
|
+
import './chunk-GES7U2PM.mjs';
|
|
38
|
+
import './chunk-I54T6CQP.mjs';
|
|
39
|
+
import './chunk-I5B7RXU7.mjs';
|
|
34
40
|
import './chunk-Y4WPNHMC.mjs';
|
|
35
|
-
import './chunk-
|
|
41
|
+
import './chunk-RZWWB2XR.mjs';
|
|
36
42
|
import './chunk-TGP5M5R7.mjs';
|
|
43
|
+
import './chunk-G6HRSGOU.mjs';
|
|
37
44
|
import './chunk-U2BKYEC7.mjs';
|
|
45
|
+
import './chunk-6HTGOXIK.mjs';
|
|
38
46
|
import './chunk-QHPYS427.mjs';
|
|
39
47
|
import './chunk-QYRNLLLI.mjs';
|
|
40
|
-
import './chunk-
|
|
48
|
+
import './chunk-TDIK6NTV.mjs';
|
|
49
|
+
import './chunk-FB6463IN.mjs';
|
|
50
|
+
import './chunk-7GFE3PEY.mjs';
|
|
41
51
|
import './chunk-ZXNQEW43.mjs';
|
|
52
|
+
import './chunk-7V5IUP2T.mjs';
|
|
53
|
+
import './chunk-L5ORED7V.mjs';
|
|
54
|
+
import './chunk-X5CV2E2B.mjs';
|
|
55
|
+
import './chunk-A4L7YTKX.mjs';
|
|
56
|
+
import './chunk-U55XJEIG.mjs';
|
|
42
57
|
import './chunk-KOKM4PQN.mjs';
|
|
43
|
-
import './chunk-
|
|
58
|
+
import './chunk-ORN5BLL7.mjs';
|
|
44
59
|
import './chunk-BTPGQC6Z.mjs';
|
|
45
60
|
import './chunk-LQG5G2LY.mjs';
|
|
46
|
-
import './chunk-RFBLQLLZ.mjs';
|
|
47
|
-
import './chunk-OKX2BBNW.mjs';
|
|
48
|
-
import './chunk-JUKYYXSP.mjs';
|
|
49
|
-
import './chunk-VMXSVVXG.mjs';
|
|
50
|
-
import './chunk-Z3TNWCI5.mjs';
|
|
51
|
-
import './chunk-FQBFZAWG.mjs';
|
|
52
|
-
import './chunk-ZIFJXCKA.mjs';
|
|
53
|
-
import './chunk-4UMZ7KQL.mjs';
|
|
54
61
|
import './chunk-ZXX5GZEX.mjs';
|
|
55
|
-
import './chunk-
|
|
56
|
-
import './chunk-
|
|
57
|
-
import './chunk-L5ORED7V.mjs';
|
|
62
|
+
import './chunk-RFBLQLLZ.mjs';
|
|
63
|
+
import './chunk-KKQC526K.mjs';
|
|
58
64
|
import './chunk-U476IXKQ.mjs';
|
|
59
|
-
import { NarsilError, ErrorCodes } from './chunk-
|
|
60
|
-
import './chunk-
|
|
61
|
-
import { compareCodePoints } from './chunk-
|
|
65
|
+
import { NarsilError, ErrorCodes } from './chunk-MP7ABPTD.mjs';
|
|
66
|
+
import './chunk-J4IJTTEX.mjs';
|
|
67
|
+
import { compareCodePoints } from './chunk-TBC3XUL2.mjs';
|
|
62
68
|
import { decode, decodeMulti } from '@msgpack/msgpack';
|
|
63
69
|
|
|
64
70
|
// src/persistence/paged/cold-search.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { P as PersistenceAdapter, I as InvalidationAdapter, E as EmbeddingAdapter, R as RerankAdapter } from './adapters-pljAqmrC.js';
|
|
2
|
-
import { Q as QueryParams,
|
|
3
|
-
import { I as IndexConfig, A as AnyDocument } from './schema-
|
|
2
|
+
import { Q as QueryParams, h as QueryResult, j as NarsilEventHandlers } from './engine-CFxPYqEk.js';
|
|
3
|
+
import { I as IndexConfig, A as AnyDocument } from './schema-Jwt928nJ.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Hooks that the engine calls alongside its own work, so that an application
|
|
@@ -258,6 +258,25 @@ interface NarsilConfig {
|
|
|
258
258
|
* engine there ignores this setting and leaves it unchecked.
|
|
259
259
|
*/
|
|
260
260
|
memory?: MemoryConfig;
|
|
261
|
+
/**
|
|
262
|
+
* The secret key that popular query suggestions scramble each person's ID
|
|
263
|
+
* with. Give every node of a cluster the same key. Without it, the engine
|
|
264
|
+
* counts no search and builds no suggestion. Import
|
|
265
|
+
* `@delali/narsil/query-suggestions` to reach the feature.
|
|
266
|
+
*/
|
|
267
|
+
querySuggestions?: QuerySuggestionsConfig;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* The engine settings of popular query suggestions.
|
|
271
|
+
*
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
274
|
+
interface QuerySuggestionsConfig {
|
|
275
|
+
/**
|
|
276
|
+
* A secret of at least 32 bytes, as bytes or as text whose UTF-8 bytes the
|
|
277
|
+
* engine takes. No snapshot, backup, or payload holds it.
|
|
278
|
+
*/
|
|
279
|
+
key: string | Uint8Array;
|
|
261
280
|
}
|
|
262
281
|
/**
|
|
263
282
|
* The memory levels at which an engine stops and resumes accepting inserts and
|
|
@@ -460,4 +479,4 @@ interface WorkerConfig {
|
|
|
460
479
|
bootstrapModule?: string;
|
|
461
480
|
}
|
|
462
481
|
|
|
463
|
-
export type { AnalysisConfig as A, DurabilityConfig as D, IndexContext as I, MainCopyQueries as M, NarsilConfig as N, PartitionContext as P, RemoveContext as R, SearchContext as S, UpdateContext as U, WorkerConfig as W, IndexLifecycleConfig as a, InsertContext as b, MemoryConfig as c, NarsilPlugin as d, StaleAnalysis as e, WorkerContext as f };
|
|
482
|
+
export type { AnalysisConfig as A, DurabilityConfig as D, IndexContext as I, MainCopyQueries as M, NarsilConfig as N, PartitionContext as P, QuerySuggestionsConfig as Q, RemoveContext as R, SearchContext as S, UpdateContext as U, WorkerConfig as W, IndexLifecycleConfig as a, InsertContext as b, MemoryConfig as c, NarsilPlugin as d, StaleAnalysis as e, WorkerContext as f };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { N as NarsilConfig } from './config-
|
|
1
|
+
import { N as NarsilConfig } from './config-CoSig5Ox.js';
|
|
2
2
|
import { P as PersistenceAdapter } from './adapters-pljAqmrC.js';
|
|
3
|
-
import { A as AllocationConstraints, a as AllocationTable, N as NodeRole, b as NodeRegistration, C as ClusterCoordinator, c as NodeCapacity } from './index-
|
|
3
|
+
import { A as AllocationConstraints, a as AllocationTable, N as NodeRole, b as NodeRegistration, C as ClusterCoordinator, c as NodeCapacity } from './index-C4AmUnl1.js';
|
|
4
4
|
import { N as NodeTransport } from './types-DvncmvuQ.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -63,6 +63,20 @@ interface BackupOperationOptions {
|
|
|
63
63
|
/** Called whenever the operation reports more progress. */
|
|
64
64
|
onProgress?: (progress: BackupProgress) => void;
|
|
65
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* How {@link ClusterNamespace.createBackup} backs up an index.
|
|
68
|
+
*
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
interface CreateBackupOptions extends BackupOperationOptions {
|
|
72
|
+
/**
|
|
73
|
+
* Set this to true to add every node's popular query suggestion history of the index to the backup, so that a
|
|
74
|
+
* restore keeps the counts that a build reads. The history holds the scrambled text of what people searched for, and
|
|
75
|
+
* the backup keeps it after `retentionDays` ends, so leave it out unless the restored index needs those counts. A
|
|
76
|
+
* node that gives no answer adds nothing.
|
|
77
|
+
*/
|
|
78
|
+
queryHistory?: boolean;
|
|
79
|
+
}
|
|
66
80
|
/**
|
|
67
81
|
* Where {@link ClusterNamespace.restoreBackup} puts a backup, and how the cluster places the restored copies.
|
|
68
82
|
*
|
|
@@ -533,14 +547,15 @@ interface ClusterNamespace {
|
|
|
533
547
|
* @param indexName - The index to back up.
|
|
534
548
|
* @param backupName - The backup's name, from 1 to 128 letters, digits, `.`, `_`, and `-`, starting with a letter or
|
|
535
549
|
* a digit.
|
|
536
|
-
* @param options - A callback that receives the progress
|
|
550
|
+
* @param options - A callback that receives the progress, and whether the backup adds the index's popular query
|
|
551
|
+
* suggestion history.
|
|
537
552
|
* @returns What the manifest records about the backup.
|
|
538
553
|
* @throws A `NarsilError` with `BACKUP_ALREADY_EXISTS` for a name that the store or a running backup holds,
|
|
539
554
|
* `BACKUP_DURABILITY_REQUIRED` where a primary runs without write-ahead log durability, `BACKUP_STORE_CLAIMED`
|
|
540
555
|
* where another cluster writes under the key prefix, `BACKUP_STORE_NOT_CONFIGURED` on a node without a store, and
|
|
541
556
|
* `BACKUP_NOT_READY` while a node of the cluster runs an earlier release.
|
|
542
557
|
*/
|
|
543
|
-
createBackup(indexName: string, backupName: string, options?:
|
|
558
|
+
createBackup(indexName: string, backupName: string, options?: CreateBackupOptions): Promise<BackupSummary>;
|
|
544
559
|
/**
|
|
545
560
|
* Restores a backup as a new index, on a cluster of any size.
|
|
546
561
|
*
|
|
@@ -584,4 +599,4 @@ interface ClusterNodeInfo {
|
|
|
584
599
|
status: string;
|
|
585
600
|
}
|
|
586
601
|
|
|
587
|
-
export type { BackupListing as B, ClusterNamespace as C, DamagedBackup as D, IndexHealth as I, NodeReadiness as N, PartitionReplicationFigure as P, ReplicaLagFigure as R, VectorRebuildWaitFigure as V, BackupSummary as a, ClusterNodeInfo as b,
|
|
602
|
+
export type { BackupListing as B, ClusterNamespace as C, DamagedBackup as D, IndexHealth as I, NodeReadiness as N, PartitionReplicationFigure as P, ReplicaLagFigure as R, VectorRebuildWaitFigure as V, BackupSummary as a, ClusterNodeInfo as b, CreateIndexOptions as c, ClusterNodeConfig as d, BackupOperationOptions as e, BackupProgress as f, ClusterBackupConfig as g, ClusterControllerConfig as h, ClusterHealth as i, ClusterHealthStatus as j, ClusterMemoryConfig as k, ClusterMetrics as l, ClusterQueryConfig as m, CommitPointFigure as n, CoordinatorRequestFigure as o, CreateBackupOptions as p, ReplicationConfig as q, RestoreBackupOptions as r };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export { createDirectExecutor } from './chunk-VTTRFF2C.mjs';
|
|
2
|
+
import './chunk-P5ZI2P2W.mjs';
|
|
3
|
+
import './chunk-IPN7S4KX.mjs';
|
|
4
|
+
import './chunk-KAKQ74LS.mjs';
|
|
5
|
+
import './chunk-Q2UL2TPC.mjs';
|
|
6
|
+
import './chunk-CITFCZKF.mjs';
|
|
7
|
+
import './chunk-RLOES5SX.mjs';
|
|
8
|
+
import './chunk-L6V6BST3.mjs';
|
|
9
|
+
import './chunk-SQJWAIF4.mjs';
|
|
10
|
+
import './chunk-FQBFZAWG.mjs';
|
|
11
|
+
import './chunk-BU4SAIC4.mjs';
|
|
12
|
+
import './chunk-GES7U2PM.mjs';
|
|
13
|
+
import './chunk-I54T6CQP.mjs';
|
|
14
|
+
import './chunk-I5B7RXU7.mjs';
|
|
15
|
+
import './chunk-Y4WPNHMC.mjs';
|
|
16
|
+
import './chunk-RZWWB2XR.mjs';
|
|
17
|
+
import './chunk-TGP5M5R7.mjs';
|
|
18
|
+
import './chunk-G6HRSGOU.mjs';
|
|
19
|
+
import './chunk-U2BKYEC7.mjs';
|
|
20
|
+
import './chunk-TDIK6NTV.mjs';
|
|
21
|
+
import './chunk-FB6463IN.mjs';
|
|
22
|
+
import './chunk-7GFE3PEY.mjs';
|
|
23
|
+
import './chunk-ZXNQEW43.mjs';
|
|
24
|
+
import './chunk-7V5IUP2T.mjs';
|
|
25
|
+
import './chunk-L5ORED7V.mjs';
|
|
26
|
+
import './chunk-X5CV2E2B.mjs';
|
|
27
|
+
import './chunk-A4L7YTKX.mjs';
|
|
28
|
+
import './chunk-U55XJEIG.mjs';
|
|
29
|
+
import './chunk-LQG5G2LY.mjs';
|
|
30
|
+
import './chunk-ZXX5GZEX.mjs';
|
|
31
|
+
import './chunk-U476IXKQ.mjs';
|
|
32
|
+
import './chunk-MP7ABPTD.mjs';
|
|
33
|
+
import './chunk-J4IJTTEX.mjs';
|
|
34
|
+
import './chunk-TBC3XUL2.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ClusterCoordinator } from '../../index-
|
|
2
|
-
import '../../schema-
|
|
1
|
+
import { C as ClusterCoordinator } from '../../index-C4AmUnl1.js';
|
|
2
|
+
import '../../schema-Jwt928nJ.js';
|
|
3
3
|
import '../../adapters-pljAqmrC.js';
|
|
4
4
|
import '../../synonyms-CpOAHPa-.js';
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { INDEX_METADATA_KEY_PREFIX, indexNameOfMetadataSuffix } from '../../chunk-Q2AP2FSN.mjs';
|
|
2
2
|
import { MAX_NODE_ID_LENGTH, CONTROLLER_LEASE_KEY, MAX_WATCHERS } from '../../chunk-44W3CBNG.mjs';
|
|
3
|
-
import { NarsilError, ErrorCodes, describeError } from '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import { compareCodePoints } from '../../chunk-
|
|
3
|
+
import { NarsilError, ErrorCodes, describeError } from '../../chunk-MP7ABPTD.mjs';
|
|
4
|
+
import '../../chunk-J4IJTTEX.mjs';
|
|
5
|
+
import { compareCodePoints } from '../../chunk-TBC3XUL2.mjs';
|
|
6
6
|
import { encode, decode } from '@msgpack/msgpack';
|
|
7
7
|
|
|
8
8
|
// src/distribution/coordinator/etcd/constants.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ClusterCoordinator } from '../../index-
|
|
2
|
-
import '../../schema-
|
|
1
|
+
import { C as ClusterCoordinator } from '../../index-C4AmUnl1.js';
|
|
2
|
+
import '../../schema-Jwt928nJ.js';
|
|
3
3
|
import '../../adapters-pljAqmrC.js';
|
|
4
4
|
import '../../synonyms-CpOAHPa-.js';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { indexNameOfMetadataKey } from '../../chunk-Q2AP2FSN.mjs';
|
|
2
2
|
import { CONTROLLER_LEASE_KEY, NODE_HEARTBEAT_TTL_MS } from '../../chunk-44W3CBNG.mjs';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import { compareCodePoints } from '../../chunk-
|
|
3
|
+
import '../../chunk-J4IJTTEX.mjs';
|
|
4
|
+
import { compareCodePoints } from '../../chunk-TBC3XUL2.mjs';
|
|
5
5
|
|
|
6
6
|
// src/distribution/coordinator/index-metadata-watchers.ts
|
|
7
7
|
function createIndexMetadataWatchers() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { decodeTransportMessage, encodeTransportMessage } from '../../chunk-
|
|
2
|
-
import { timeoutsOf, replyDeadlineMs } from '../../chunk-
|
|
1
|
+
import { decodeTransportMessage, encodeTransportMessage } from '../../chunk-RVGRFOGN.mjs';
|
|
2
|
+
import { timeoutsOf, replyDeadlineMs } from '../../chunk-OIJ64LGT.mjs';
|
|
3
3
|
import { MAX_MESSAGE_SIZE_BYTES, GRPC_KEEPALIVE_TIMEOUT_MS, GRPC_KEEPALIVE_TIME_MS, GRPC_ENVELOPE_OVERHEAD_BYTES } from '../../chunk-UNEEFTEU.mjs';
|
|
4
|
-
import { TransportError, TransportErrorCodes } from '../../chunk-
|
|
5
|
-
import { NarsilError, ErrorCodes } from '../../chunk-
|
|
4
|
+
import { TransportError, TransportErrorCodes } from '../../chunk-5FLRXF73.mjs';
|
|
5
|
+
import { NarsilError, ErrorCodes } from '../../chunk-MP7ABPTD.mjs';
|
|
6
6
|
|
|
7
7
|
// src/distribution/transport/grpc/codec.ts
|
|
8
8
|
var FIELD_ONE_LENGTH_DELIMITED_KEY = 10;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { timeoutsOf, replyDeadlineMs } from '../../chunk-
|
|
1
|
+
import { timeoutsOf, replyDeadlineMs } from '../../chunk-OIJ64LGT.mjs';
|
|
2
2
|
import { MAX_MESSAGE_SIZE_BYTES } from '../../chunk-UNEEFTEU.mjs';
|
|
3
|
-
import { DEFAULT_TRANSPORT_CONFIG, TransportError, TransportErrorCodes } from '../../chunk-
|
|
3
|
+
import { DEFAULT_TRANSPORT_CONFIG, TransportError, TransportErrorCodes } from '../../chunk-5FLRXF73.mjs';
|
|
4
4
|
|
|
5
5
|
// src/distribution/transport/in-memory.ts
|
|
6
6
|
function createInMemoryNetwork() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DEFAULT_TCP_CONFIG, encodeTransportMessage, encodeFrame, FRAME_TYPE_REQUEST, FrameParser, FRAME_TYPE_RESPONSE, decodeTransportMessage, FRAME_TYPE_STREAM_CHUNK, FRAME_TYPE_STREAM_END } from '../../chunk-
|
|
2
|
-
import { timeoutsOf, replyDeadlineMs } from '../../chunk-
|
|
1
|
+
import { DEFAULT_TCP_CONFIG, encodeTransportMessage, encodeFrame, FRAME_TYPE_REQUEST, FrameParser, FRAME_TYPE_RESPONSE, decodeTransportMessage, FRAME_TYPE_STREAM_CHUNK, FRAME_TYPE_STREAM_END } from '../../chunk-RVGRFOGN.mjs';
|
|
2
|
+
import { timeoutsOf, replyDeadlineMs } from '../../chunk-OIJ64LGT.mjs';
|
|
3
3
|
import { MAX_MESSAGE_SIZE_BYTES } from '../../chunk-UNEEFTEU.mjs';
|
|
4
|
-
import { TransportError, TransportErrorCodes } from '../../chunk-
|
|
4
|
+
import { TransportError, TransportErrorCodes } from '../../chunk-5FLRXF73.mjs';
|
|
5
5
|
import { connect as connect$1, createServer as createServer$1 } from 'net';
|
|
6
6
|
import { connect, createServer } from 'tls';
|
|
7
7
|
|
package/dist/distribution.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { B as BackupListing,
|
|
1
|
+
import { c as CreateIndexOptions, C as ClusterNamespace, d as ClusterNodeConfig } from './config-DMwffLKn.js';
|
|
2
|
+
export { B as BackupListing, e as BackupOperationOptions, f as BackupProgress, a as BackupSummary, g as ClusterBackupConfig, h as ClusterControllerConfig, i as ClusterHealth, j as ClusterHealthStatus, k as ClusterMemoryConfig, l as ClusterMetrics, b as ClusterNodeInfo, m as ClusterQueryConfig, n as CommitPointFigure, o as CoordinatorRequestFigure, p as CreateBackupOptions, D as DamagedBackup, I as IndexHealth, N as NodeReadiness, P as PartitionReplicationFigure, R as ReplicaLagFigure, q as ReplicationConfig, r as RestoreBackupOptions, V as VectorRebuildWaitFigure } from './config-DMwffLKn.js';
|
|
3
3
|
import { R as RerankAdapter } from './adapters-pljAqmrC.js';
|
|
4
|
-
import { A as AnalysisChange,
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
export { A as AllocationConstraints, e as AllocationEvent, a as AllocationTable, C as ClusterCoordinator, I as IndexMetadataEvent, f as IndexMetadataWatch, g as IndexPartitionBytes, h as NodeEvent, d as NodeMemoryReport, b as NodeRegistration, P as PartitionAssignment, i as PartitionState, R as RegistrationLease, S as SchemaEvent, U as UnassignedReason } from './index-nRqDM6uS.js';
|
|
4
|
+
import { f as SyncSetting, k as SyncStatus, B as BatchResult, L as ListParams, l as ListResult, m as SuggestParams, n as SuggestResult, Q as QueryParams, o as PreflightResult, I as IndexInfo, A as AnalysisChange, p as IndexStats, P as PartitionStatsResult, M as MemoryStats, q as NarsilEventMap, h as QueryResult, g as Narsil } from './engine-CFxPYqEk.js';
|
|
5
|
+
import { B as BM25Params, I as IndexConfig, A as AnyDocument, a as InsertOptions } from './schema-Jwt928nJ.js';
|
|
6
|
+
import { c as NodeCapacity, N as NodeRole } from './index-C4AmUnl1.js';
|
|
7
|
+
export { A as AllocationConstraints, e as AllocationEvent, a as AllocationTable, C as ClusterCoordinator, I as IndexMetadataEvent, f as IndexMetadataWatch, g as IndexPartitionBytes, h as NodeEvent, d as NodeMemoryReport, b as NodeRegistration, P as PartitionAssignment, i as PartitionState, R as RegistrationLease, S as SchemaEvent, U as UnassignedReason } from './index-C4AmUnl1.js';
|
|
9
8
|
import { a as SynonymRule } from './synonyms-CpOAHPa-.js';
|
|
10
9
|
export { L as ListenHandler, N as NodeTransport, R as RespondFn, T as TransportConfig, a as TransportMessage } from './types-DvncmvuQ.js';
|
|
11
|
-
import './config-
|
|
10
|
+
import './config-CoSig5Ox.js';
|
|
11
|
+
import './query-suggestions-CBYkrQ5T.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* The cluster splits an index into this many partitions when
|