@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.
Files changed (329) hide show
  1. package/NOTICE +45 -0
  2. package/README.md +1 -0
  3. package/dist/adapters/filesystem.mjs +2 -2
  4. package/dist/adapters/gcs.mjs +2 -2
  5. package/dist/adapters/indexeddb.mjs +1 -1
  6. package/dist/adapters/s3.mjs +2 -2
  7. package/dist/{analysis-change-4GCRVRBW.mjs → analysis-change-5BQOQ4BF.mjs} +35 -28
  8. package/dist/{react-native/chunks/analysis-change-entry-TNLUC6IZ.mjs → analysis-change-entry-TXX6JSMX.mjs} +1 -1
  9. package/dist/archive-history-E4R73RWD.mjs +29 -0
  10. package/dist/browser/{analysis-change-IXWPXXJJ.mjs → analysis-change-435CUEPZ.mjs} +32 -12
  11. package/dist/{analysis-change-entry-KYGSXW4K.mjs → browser/analysis-change-entry-HZXKPPGV.mjs} +1 -1
  12. package/dist/browser/archive-history-4IP5XQZY.mjs +29 -0
  13. package/dist/browser/{chunk-4PD752F6.mjs → chunk-23XRXIBW.mjs} +1 -1
  14. package/dist/browser/{chunk-J433A7P3.mjs → chunk-2CFI5VVV.mjs} +5 -5
  15. package/dist/{react-native/chunks/chunk-3XKMRNRE.mjs → browser/chunk-2TI4SSUP.mjs} +27 -10
  16. package/dist/browser/chunk-3SSRJMFN.mjs +100 -0
  17. package/dist/browser/{chunk-2SHAKW2Z.mjs → chunk-3V7DNNZL.mjs} +515 -733
  18. package/dist/browser/{chunk-C4KS2QNF.mjs → chunk-4NGKC4H4.mjs} +9 -9
  19. package/dist/browser/{chunk-XRV72TJD.mjs → chunk-6LWDPLTB.mjs} +2 -2
  20. package/dist/browser/chunk-7IGKGWSQ.mjs +79 -0
  21. package/dist/browser/{chunk-VCOYGVP7.mjs → chunk-7U3WVJUP.mjs} +3 -3
  22. package/dist/browser/chunk-ATEBYXP6.mjs +10 -0
  23. package/dist/browser/chunk-BHFQATSC.mjs +432 -0
  24. package/dist/browser/chunk-CRE3G7F3.mjs +1007 -0
  25. package/dist/browser/{chunk-QXTPSX2H.mjs → chunk-EA63E3D2.mjs} +7 -7
  26. package/dist/{react-native/chunks/chunk-DCKMICOB.mjs → browser/chunk-EXQZGUQH.mjs} +1 -1
  27. package/dist/browser/{chunk-ML6HY7T7.mjs → chunk-G64Q6OJF.mjs} +1 -1
  28. package/dist/browser/chunk-GPPOG6PT.mjs +9 -0
  29. package/dist/browser/{chunk-EUNBNLKM.mjs → chunk-IZXVW2ZJ.mjs} +5 -5
  30. package/dist/browser/{chunk-G7LUMBSG.mjs → chunk-K4Q6KX3R.mjs} +30 -20
  31. package/dist/browser/{chunk-H6QFBMVE.mjs → chunk-KZWSX6BH.mjs} +3 -3
  32. package/dist/browser/chunk-M3MQE2X7.mjs +151 -0
  33. package/dist/browser/chunk-MGI4BCXC.mjs +63 -0
  34. package/dist/browser/chunk-MOG4OVDK.mjs +51 -0
  35. package/dist/browser/{chunk-W5X2UFWQ.mjs → chunk-NLWTBAGB.mjs} +12 -3
  36. package/dist/browser/{chunk-AYY6PIKL.mjs → chunk-NQAME3RK.mjs} +2 -2
  37. package/dist/browser/{chunk-7MEYN7V6.mjs → chunk-NXQG7DRA.mjs} +29 -14
  38. package/dist/browser/chunk-OEDCEZXJ.mjs +92 -0
  39. package/dist/{chunk-KUZKUONM.mjs → browser/chunk-SRMZXJSL.mjs} +1 -0
  40. package/dist/browser/chunk-SSTPBZZX.mjs +1106 -0
  41. package/dist/browser/{chunk-7TTWXUH6.mjs → chunk-STOWQFT3.mjs} +3 -2
  42. package/dist/browser/{chunk-26A5JFT2.mjs → chunk-TK63WFXK.mjs} +2 -1
  43. package/dist/browser/{chunk-SJB6VIZG.mjs → chunk-U3JOQGWX.mjs} +1 -1
  44. package/dist/browser/{chunk-AJ4HHOVT.mjs → chunk-U4YDIBUT.mjs} +4 -4
  45. package/dist/browser/{chunk-2FX6ROWR.mjs → chunk-VLJQW4J6.mjs} +2986 -2986
  46. package/dist/{react-native/chunks/chunk-3O57C2ZO.mjs → browser/chunk-WI4MR75E.mjs} +2 -2
  47. package/dist/browser/{chunk-3U3QR5YP.mjs → chunk-WN464PTL.mjs} +2 -2
  48. package/dist/browser/{chunk-U2E3HMYW.mjs → chunk-XAWNZ4G2.mjs} +11 -11
  49. package/dist/browser/{cold-module-VTUGDYNY.mjs → cold-module-2EHCIV4K.mjs} +20 -18
  50. package/dist/browser/durability-config-TIYKW6XX.mjs +89 -0
  51. package/dist/browser/{durability-wiring-GL4A7KDV.mjs → durability-wiring-A7BVG2DW.mjs} +50 -153
  52. package/dist/browser/engine-hooks-E4UD67JD.mjs +17 -0
  53. package/dist/browser/geo-index-HHWGMNIS.mjs +1386 -0
  54. package/dist/browser/import-DXYB6756.mjs +19 -0
  55. package/dist/browser/{methods-LMUTS7OI.mjs → methods-KTQCSIN4.mjs} +3 -3
  56. package/dist/browser/{module-M4JNBV6V.mjs → module-NIYMEA5R.mjs} +16 -14
  57. package/dist/browser/{module-EC3FYW7N.mjs → module-TCT66FWA.mjs} +10 -9
  58. package/dist/browser/operations-OJ3BXS55.mjs +5 -0
  59. package/dist/browser/{phrase-module-NPYUVX75.mjs → phrase-module-HAT3TLZN.mjs} +2 -2
  60. package/dist/browser/{pool-WCGDZHJP.mjs → pool-3JLET5RO.mjs} +1 -1
  61. package/dist/browser/restore-hooks-YPN4ZFCY.mjs +114 -0
  62. package/dist/browser/restore-queue-G3RQGL3Y.mjs +55 -0
  63. package/dist/browser/{retention-6QMRS5VK.mjs → retention-ZWVMNC3Q.mjs} +18 -15
  64. package/dist/browser/{runtime-3EW2AGB6.mjs → runtime-OTAGEFQW.mjs} +1 -1
  65. package/dist/browser/{snapshot-DN3CRVUQ.mjs → snapshot-VEQNIE6C.mjs} +71 -36
  66. package/dist/browser/start-BM442C6R.mjs +25 -0
  67. package/dist/browser/{write-WAWAFGKQ.mjs → write-2EVMZWDE.mjs} +16 -14
  68. package/dist/{capabilities-B3Brs1Rc.d.ts → capabilities-Da4ywVVl.d.ts} +35 -3
  69. package/dist/{chunk-K4B7OH65.mjs → chunk-25KDNIZZ.mjs} +2 -2
  70. package/dist/{chunk-O43Z4MS6.mjs → chunk-2NE7VCYE.mjs} +2 -2
  71. package/dist/chunk-2UV4QBHW.mjs +1092 -0
  72. package/dist/{chunk-3Y3J4V2R.mjs → chunk-3C7MTCCI.mjs} +1 -1
  73. package/dist/{chunk-TRISKD4Q.mjs → chunk-3HYC4JRF.mjs} +2 -2
  74. package/dist/{chunk-HVYICDY3.mjs → chunk-3OH67G7R.mjs} +1 -1
  75. package/dist/{chunk-PFKM7VNZ.mjs → chunk-46KY2PJD.mjs} +30 -11
  76. package/dist/{chunk-IJU7LL7D.mjs → chunk-4KKXNJM6.mjs} +5 -5
  77. package/dist/{chunk-IQ4R2I6N.mjs → chunk-5FLRXF73.mjs} +5 -1
  78. package/dist/{chunk-BPSKLCS7.mjs → chunk-5VV4R6P7.mjs} +3017 -3017
  79. package/dist/chunk-5YNRKI2C.mjs +81 -0
  80. package/dist/chunk-6HTGOXIK.mjs +875 -0
  81. package/dist/{chunk-7HCZWC7B.mjs → chunk-6I6AYAXS.mjs} +50 -8
  82. package/dist/{chunk-C6ASEFZI.mjs → chunk-6OEGXLBX.mjs} +1 -1
  83. package/dist/{chunk-DVWYODEB.mjs → chunk-6RC4K46J.mjs} +2 -2
  84. package/dist/chunk-7GFE3PEY.mjs +40 -0
  85. package/dist/{chunk-QKZHLADX.mjs → chunk-7LXHHCXZ.mjs} +28 -19
  86. package/dist/{chunk-JUKYYXSP.mjs → chunk-7V5IUP2T.mjs} +1 -31
  87. package/dist/{react-native/chunks/chunk-7GWPJDOA.mjs → chunk-A4L7YTKX.mjs} +53 -90
  88. package/dist/{chunk-Z3TNWCI5.mjs → chunk-BU4SAIC4.mjs} +3 -3
  89. package/dist/chunk-BWZ3P4MU.mjs +20 -0
  90. package/dist/{chunk-OKX2BBNW.mjs → chunk-CITFCZKF.mjs} +5 -4
  91. package/dist/{chunk-4HWZV5MK.mjs → chunk-CSLGFPFQ.mjs} +5 -5
  92. package/dist/chunk-DP5C7YFQ.mjs +543 -0
  93. package/dist/{chunk-RVKFI3A2.mjs → chunk-DWEPMFJE.mjs} +11 -8
  94. package/dist/{chunk-LSM2YTKM.mjs → chunk-EFBDHH5P.mjs} +87 -144
  95. package/dist/{chunk-NZMAXR2S.mjs → chunk-FAKFUDZZ.mjs} +121 -11
  96. package/dist/chunk-FB6463IN.mjs +1499 -0
  97. package/dist/{chunk-REL7LFLR.mjs → chunk-FCJ553HS.mjs} +3 -3
  98. package/dist/{chunk-MMEMEUOO.mjs → chunk-FJKKCV4D.mjs} +2 -2
  99. package/dist/{chunk-K7KLL263.mjs → chunk-FNGAM5B7.mjs} +14 -13
  100. package/dist/{chunk-DMQPFLGI.mjs → chunk-FRBFVQFN.mjs} +6 -5
  101. package/dist/{chunk-IBNLW3AV.mjs → chunk-FYOVBEMM.mjs} +20 -6
  102. package/dist/chunk-G6HRSGOU.mjs +74 -0
  103. package/dist/{chunk-USR7FQRZ.mjs → chunk-GH4WQ22V.mjs} +2 -2
  104. package/dist/chunk-GQPTDQCL.mjs +54 -0
  105. package/dist/{chunk-VREK3MYG.mjs → chunk-HFPMMRQT.mjs} +3 -3
  106. package/dist/{chunk-MLHNSAPK.mjs → chunk-HHBUCIUY.mjs} +3 -3
  107. package/dist/{chunk-YROWNOMH.mjs → chunk-HJJI72X7.mjs} +1 -1
  108. package/dist/{chunk-ECX4SGX6.mjs → chunk-I2KPOLOZ.mjs} +9 -9
  109. package/dist/{chunk-TV2L3BN7.mjs → chunk-I53G4JAU.mjs} +266 -265
  110. package/dist/{chunk-3A5KI24C.mjs → chunk-I54T6CQP.mjs} +1 -1
  111. package/dist/{chunk-NTZOXVUZ.mjs → chunk-I5B7RXU7.mjs} +93 -24
  112. package/dist/{chunk-YBJDOA2T.mjs → chunk-INJYO3BU.mjs} +1 -1
  113. package/dist/{react-native/chunks/chunk-KWRW5U65.mjs → chunk-J4IJTTEX.mjs} +1 -1
  114. package/dist/{chunk-X6NSJYQ3.mjs → chunk-JDJBQLRO.mjs} +13 -13
  115. package/dist/{chunk-MMBEANB2.mjs → chunk-JWRUUCWD.mjs} +3 -3
  116. package/dist/{chunk-AO2FAYIZ.mjs → chunk-K4ZIGL2O.mjs} +1 -1
  117. package/dist/{chunk-JFNKIBDT.mjs → chunk-K5QFDYST.mjs} +2 -2
  118. package/dist/{chunk-C73JLU4E.mjs → chunk-KF4EXSM4.mjs} +2 -2
  119. package/dist/{chunk-WCBA2LVZ.mjs → chunk-KHKIRS5D.mjs} +1 -1
  120. package/dist/{chunk-7QUGDVFC.mjs → chunk-KJ3RTZDJ.mjs} +1 -1
  121. package/dist/{chunk-HVKXNBFL.mjs → chunk-KKQC526K.mjs} +20 -12
  122. package/dist/chunk-KP7TYHWT.mjs +92 -0
  123. package/dist/{chunk-VMXSVVXG.mjs → chunk-L6V6BST3.mjs} +9 -22
  124. package/dist/{chunk-URPCYQVJ.mjs → chunk-LHKOSI2J.mjs} +1 -1
  125. package/dist/chunk-LNGE7SLY.mjs +151 -0
  126. package/dist/{react-native/chunks/chunk-CUNGPR5R.mjs → chunk-MP7ABPTD.mjs} +1 -0
  127. package/dist/{chunk-5KGYQT6W.mjs → chunk-MQOJIO5B.mjs} +26 -9
  128. package/dist/{chunk-Q3TCTQCC.mjs → chunk-NF4DT3IH.mjs} +1 -1
  129. package/dist/{chunk-3OFU3NJT.mjs → chunk-OIJ64LGT.mjs} +1 -1
  130. package/dist/chunk-ORN5BLL7.mjs +11 -0
  131. package/dist/{chunk-HWEDFLB7.mjs → chunk-P5ZI2P2W.mjs} +126 -1701
  132. package/dist/{chunk-466PYR4P.mjs → chunk-PWC4VB3Q.mjs} +2 -2
  133. package/dist/{chunk-B7S6YEBP.mjs → chunk-QJVOLKU6.mjs} +12 -3
  134. package/dist/{chunk-KCUIFVVW.mjs → chunk-QOW2JPUI.mjs} +9 -9
  135. package/dist/chunk-RDXO6JST.mjs +63 -0
  136. package/dist/chunk-RLOES5SX.mjs +31 -0
  137. package/dist/{chunk-YPUEV6ZC.mjs → chunk-RVGRFOGN.mjs} +1 -1
  138. package/dist/{chunk-JCLTESFN.mjs → chunk-RZWWB2XR.mjs} +1 -1
  139. package/dist/chunk-S5LN746F.mjs +10 -0
  140. package/dist/chunk-SA5LOGO3.mjs +470 -0
  141. package/dist/chunk-SQJWAIF4.mjs +12 -0
  142. package/dist/{chunk-YTJCGKM4.mjs → chunk-TBC3XUL2.mjs} +29 -6
  143. package/dist/chunk-TDIK6NTV.mjs +10 -0
  144. package/dist/chunk-TGS5UXBE.mjs +216 -0
  145. package/dist/{chunk-CP5RRPJR.mjs → chunk-TQXHPFWT.mjs} +1 -1
  146. package/dist/{chunk-7NTMUDC5.mjs → chunk-TZ3355VS.mjs} +5 -5
  147. package/dist/{chunk-Q7MS6P2J.mjs → chunk-TZTRKM33.mjs} +2 -2
  148. package/dist/{chunk-4UMZ7KQL.mjs → chunk-U55XJEIG.mjs} +2 -1
  149. package/dist/{chunk-S2N75OTN.mjs → chunk-UHICS3JI.mjs} +1 -1
  150. package/dist/{chunk-5FUOVJKG.mjs → chunk-VTTRFF2C.mjs} +32 -19
  151. package/dist/{chunk-62G63NMH.mjs → chunk-WX4LAO6M.mjs} +4 -4
  152. package/dist/{chunk-LTUGDMV4.mjs → chunk-WZ7YV54N.mjs} +1 -1
  153. package/dist/chunk-XAXKV65G.mjs +72 -0
  154. package/dist/chunk-XXHN7J46.mjs +101 -0
  155. package/dist/{chunk-PGVPE7GJ.mjs → chunk-YEKL4JBK.mjs} +1 -1
  156. package/dist/chunk-YTWZVGCB.mjs +382 -0
  157. package/dist/chunk-Z2KAFCRT.mjs +30 -0
  158. package/dist/{chunk-LKUE5GXS.mjs → chunk-ZKP7G7TV.mjs} +2 -2
  159. package/dist/{client-Df76GNKm.d.ts → client-DRv7UVeY.d.ts} +123 -11
  160. package/dist/client.d.ts +9 -8
  161. package/dist/client.mjs +65 -3
  162. package/dist/{cold-module-YLWMTTZG.mjs → cold-module-6MO2XJF2.mjs} +45 -39
  163. package/dist/{config-B8DP2VwR.d.ts → config-CoSig5Ox.d.ts} +22 -3
  164. package/dist/{config-05G_hy-1.d.ts → config-DMwffLKn.d.ts} +20 -5
  165. package/dist/direct-executor-FTMYY3TI.mjs +34 -0
  166. package/dist/distribution/coordinator/etcd.d.ts +2 -2
  167. package/dist/distribution/coordinator/etcd.mjs +3 -3
  168. package/dist/distribution/coordinator/in-memory.d.ts +2 -2
  169. package/dist/distribution/coordinator/in-memory.mjs +2 -2
  170. package/dist/distribution/transport/grpc.mjs +4 -4
  171. package/dist/distribution/transport/in-memory.mjs +2 -2
  172. package/dist/distribution/transport/tcp.mjs +3 -3
  173. package/dist/distribution.d.ts +8 -8
  174. package/dist/distribution.mjs +6799 -5939
  175. package/dist/durability-config-GE4U7MCZ.mjs +89 -0
  176. package/dist/{durability-wiring-RHLXDIVF.mjs → durability-wiring-VIF5MOSY.mjs} +82 -179
  177. package/dist/embeddings/openai.mjs +2 -2
  178. package/dist/{sync-uXR7MmM7.d.ts → engine-CFxPYqEk.d.ts} +702 -2
  179. package/dist/engine-hooks-EGUGNZYE.mjs +54 -0
  180. package/dist/geo-index-MRH5JMIR.mjs +1387 -0
  181. package/dist/import-XKDPJQDP.mjs +56 -0
  182. package/dist/{index-nRqDM6uS.d.ts → index-C4AmUnl1.d.ts} +1 -1
  183. package/dist/index.browser.mjs +9 -7
  184. package/dist/index.d.ts +134 -9
  185. package/dist/index.mjs +33 -26
  186. package/dist/index.react-native.mjs +20 -17
  187. package/dist/invalidation/filesystem.mjs +2 -2
  188. package/dist/{long-query-thread-EMYTGSJP.mjs → long-query-thread-YA4IAYSY.mjs} +34 -28
  189. package/dist/{methods-ABM5ELBR.mjs → methods-7IOINERF.mjs} +3 -3
  190. package/dist/{module-MG7JMV2U.mjs → module-FQ4JWNQJ.mjs} +41 -34
  191. package/dist/{module-3OMJZUFT.mjs → module-N55W4Q5C.mjs} +14 -14
  192. package/dist/operations-G5EP6JPX.mjs +5 -0
  193. package/dist/{paged-partition-archive-UOLHOEZJ.mjs → paged-partition-archive-PXW5XAYU.mjs} +48 -38
  194. package/dist/partial-words.mjs +11 -9
  195. package/dist/pattern.mjs +6 -5
  196. package/dist/persistence/durability/checkpoint-worker.d.ts +8 -1
  197. package/dist/persistence/durability/checkpoint-worker.mjs +44 -35
  198. package/dist/{phrase-module-O3MDRQXP.mjs → phrase-module-XW5MKWP5.mjs} +4 -3
  199. package/dist/{pool-CQXYPFLG.mjs → pool-Y4A46T36.mjs} +1 -1
  200. package/dist/query-suggestions/merge-worker.d.ts +55 -0
  201. package/dist/query-suggestions/merge-worker.mjs +88 -0
  202. package/dist/query-suggestions-CBYkrQ5T.d.ts +311 -0
  203. package/dist/query-suggestions.browser.mjs +247 -0
  204. package/dist/query-suggestions.d.ts +20 -0
  205. package/dist/query-suggestions.mjs +69 -0
  206. package/dist/react-native/chunks/{analysis-change-EAYO3Y6Q.mjs → analysis-change-LT5QBQ3H.mjs} +43 -22
  207. package/dist/{browser/analysis-change-entry-FCSHFQSS.mjs → react-native/chunks/analysis-change-entry-SCVWK6OU.mjs} +1 -1
  208. package/dist/react-native/chunks/archive-history-MJKUQLSU.mjs +29 -0
  209. package/dist/{chunk-ZIFJXCKA.mjs → react-native/chunks/chunk-2PRHILX3.mjs} +54 -20
  210. package/dist/react-native/chunks/{chunk-VQSKZ3EZ.mjs → chunk-3JWDECAZ.mjs} +8 -8
  211. package/dist/{chunk-R6A773WK.mjs → react-native/chunks/chunk-3WI35N75.mjs} +1 -1
  212. package/dist/react-native/chunks/{chunk-75VWIY35.mjs → chunk-4DII3ZSM.mjs} +1 -1
  213. package/dist/react-native/chunks/{chunk-NKIZX26F.mjs → chunk-4J74WHQM.mjs} +2 -2
  214. package/dist/react-native/chunks/{chunk-UWDNZDWK.mjs → chunk-4JYO3JD2.mjs} +6 -6
  215. package/dist/react-native/chunks/chunk-5CQX3XXV.mjs +17 -0
  216. package/dist/react-native/chunks/chunk-6VBXNFLE.mjs +9 -0
  217. package/dist/react-native/chunks/{chunk-SJWDBRNP.mjs → chunk-6WA3C3DV.mjs} +1 -1
  218. package/dist/react-native/chunks/{chunk-OQQVRWZ2.mjs → chunk-C5G6TJ7A.mjs} +1 -1
  219. package/dist/react-native/chunks/{chunk-RVAEBN74.mjs → chunk-CKNRFDTZ.mjs} +1 -1
  220. package/dist/react-native/chunks/chunk-DIYDOIM4.mjs +10 -0
  221. package/dist/react-native/chunks/{chunk-O32RB3BL.mjs → chunk-DNXOMPAQ.mjs} +4 -4
  222. package/dist/react-native/chunks/{chunk-YBEW6YTR.mjs → chunk-DVDX4SDR.mjs} +2 -2
  223. package/dist/react-native/chunks/chunk-DXRSEWA2.mjs +12 -0
  224. package/dist/{browser/chunk-MYITLCHT.mjs → react-native/chunks/chunk-DZ7H7D2C.mjs} +1 -0
  225. package/dist/react-native/chunks/{chunk-PPEPTUVV.mjs → chunk-EJ33LCHV.mjs} +29 -6
  226. package/dist/react-native/chunks/{chunk-RYMDHGL4.mjs → chunk-ENLMYKSX.mjs} +3045 -3075
  227. package/dist/react-native/chunks/chunk-FHPW7P2O.mjs +40 -0
  228. package/dist/react-native/chunks/{chunk-JV6VQY2S.mjs → chunk-FTZHMRD2.mjs} +2 -1
  229. package/dist/react-native/chunks/{chunk-YHKZSLOC.mjs → chunk-G43IPIDG.mjs} +5 -5
  230. package/dist/react-native/chunks/{chunk-AUT7PMA4.mjs → chunk-GXX3DQXP.mjs} +8 -22
  231. package/dist/react-native/chunks/chunk-H3MDVPBO.mjs +151 -0
  232. package/dist/react-native/chunks/{chunk-DH3TVWWK.mjs → chunk-IYNT75CE.mjs} +12 -3
  233. package/dist/react-native/chunks/chunk-KV46CT4D.mjs +1007 -0
  234. package/dist/{browser/chunk-ZPTA75ZC.mjs → react-native/chunks/chunk-LZSLNSUN.mjs} +1 -1
  235. package/dist/react-native/chunks/{chunk-63YSZOXB.mjs → chunk-MIP4SOR6.mjs} +1480 -826
  236. package/dist/react-native/chunks/{chunk-ZBSWRSBG.mjs → chunk-MJDQU5MW.mjs} +1 -1
  237. package/dist/react-native/chunks/{chunk-GFYFQLJD.mjs → chunk-MUWD2H2S.mjs} +2 -2
  238. package/dist/react-native/chunks/{chunk-IOY2SM2P.mjs → chunk-MVXELMJX.mjs} +1 -1
  239. package/dist/{browser/chunk-TTD27VXX.mjs → react-native/chunks/chunk-NB3LP33V.mjs} +27 -10
  240. package/dist/react-native/chunks/{chunk-I5PGWQJF.mjs → chunk-PDRWWPKV.mjs} +33 -24
  241. package/dist/react-native/chunks/chunk-PJHAB5ZY.mjs +79 -0
  242. package/dist/react-native/chunks/{chunk-2CGSQM4O.mjs → chunk-POPDAGH6.mjs} +13 -13
  243. package/dist/react-native/chunks/{chunk-NP7DD4G5.mjs → chunk-QUKQNI3H.mjs} +5 -5
  244. package/dist/react-native/chunks/{chunk-EH5CFV6Z.mjs → chunk-RDWG33MM.mjs} +2 -2
  245. package/dist/react-native/chunks/{chunk-JX2RIAXH.mjs → chunk-SK2PWYDH.mjs} +5 -5
  246. package/dist/react-native/chunks/{chunk-ZYDKJXQJ.mjs → chunk-SUPXRTMD.mjs} +1 -1
  247. package/dist/react-native/chunks/chunk-TP6KCKER.mjs +63 -0
  248. package/dist/react-native/chunks/{chunk-JPAJWO6D.mjs → chunk-U4KSKA4Z.mjs} +1 -1
  249. package/dist/react-native/chunks/chunk-UQ4OAXKU.mjs +1106 -0
  250. package/dist/react-native/chunks/{chunk-VVFYOADG.mjs → chunk-VWUDIOT6.mjs} +6 -6
  251. package/dist/{browser/chunk-SIR3LMTV.mjs → react-native/chunks/chunk-WBYQRHDY.mjs} +2 -2
  252. package/dist/react-native/chunks/{chunk-C2H2QQFW.mjs → chunk-YH7QY657.mjs} +3 -3
  253. package/dist/react-native/chunks/{chunk-NCJS3WIY.mjs → chunk-YZW4CHM6.mjs} +51 -12
  254. package/dist/react-native/chunks/chunk-ZLWVW734.mjs +100 -0
  255. package/dist/react-native/chunks/chunk-ZXZFN7FI.mjs +432 -0
  256. package/dist/react-native/chunks/chunk-ZZT7CEN7.mjs +92 -0
  257. package/dist/react-native/chunks/{cold-module-TJL6AFAD.mjs → cold-module-KVZYUGRY.mjs} +31 -28
  258. package/dist/react-native/chunks/durability-config-QXVZEO7T.mjs +89 -0
  259. package/dist/react-native/chunks/{durability-wiring-RRDYJLLM.mjs → durability-wiring-34OYO32E.mjs} +60 -162
  260. package/dist/react-native/chunks/engine-hooks-M7JV46NH.mjs +30 -0
  261. package/dist/react-native/chunks/geo-index-PX3BIHAH.mjs +1387 -0
  262. package/dist/react-native/chunks/gzip.react-native-HLEPDKZ3.mjs +3 -0
  263. package/dist/react-native/chunks/import-H6AQREWI.mjs +32 -0
  264. package/dist/react-native/chunks/{methods-X6F36SJE.mjs → methods-6W5U4C3H.mjs} +3 -3
  265. package/dist/react-native/chunks/module-LBZPGOWH.mjs +36 -0
  266. package/dist/react-native/chunks/{module-S4DKSWMF.mjs → module-TTEVPRCW.mjs} +14 -13
  267. package/dist/react-native/chunks/operations-GNRMD6EX.mjs +5 -0
  268. package/dist/react-native/chunks/{phrase-module-JZ37TB7N.mjs → phrase-module-QK22HSQ2.mjs} +2 -2
  269. package/dist/react-native/chunks/{pool-RTGXJXPU.mjs → pool-JR3NJCAF.mjs} +1 -1
  270. package/dist/react-native/chunks/restore-hooks-IBGIY3DR.mjs +127 -0
  271. package/dist/react-native/chunks/restore-queue-ZZX54AH7.mjs +55 -0
  272. package/dist/react-native/chunks/{retention-PPCTP2VY.mjs → retention-EW4TTDFB.mjs} +29 -25
  273. package/dist/react-native/chunks/{runtime-KUATOLYB.mjs → runtime-R5E3TB3J.mjs} +1 -1
  274. package/dist/react-native/chunks/{snapshot-ZBIEOZTZ.mjs → snapshot-REYVIN3X.mjs} +80 -44
  275. package/dist/react-native/chunks/start-BQK6KN3R.mjs +38 -0
  276. package/dist/react-native/chunks/{write-2W4FTX7J.mjs → write-FQAYCZF5.mjs} +27 -24
  277. package/dist/react-native/partial-words.mjs +11 -9
  278. package/dist/react-native/pattern.mjs +4 -4
  279. package/dist/react-native/query-suggestions.mjs +260 -0
  280. package/dist/react-native/sync.mjs +78 -15
  281. package/dist/react-native/synonyms.mjs +95 -27
  282. package/dist/react.d.ts +11 -11
  283. package/dist/react.mjs +1 -0
  284. package/dist/{rerank-IZOB6NII.mjs → rerank-MQ37IYRV.mjs} +4 -4
  285. package/dist/rerankers/http.mjs +2 -2
  286. package/dist/restore-hooks-CDERDEF4.mjs +153 -0
  287. package/dist/restore-queue-7NNSTROA.mjs +55 -0
  288. package/dist/retention-QSVBBNRM.mjs +66 -0
  289. package/dist/{runtime-UZOC3NPY.mjs → runtime-COIUORCN.mjs} +5 -5
  290. package/dist/{schema-DDauvDOv.d.ts → schema-Jwt928nJ.d.ts} +1 -1
  291. package/dist/server.d.ts +108 -12
  292. package/dist/server.mjs +303 -50
  293. package/dist/{snapshot-NFX2EYN2.mjs → snapshot-RH4NSKIZ.mjs} +98 -61
  294. package/dist/start-MCKCOGIW.mjs +66 -0
  295. package/dist/sync/filesystem.d.ts +4 -4
  296. package/dist/sync/filesystem.mjs +6 -6
  297. package/dist/sync/indexeddb.d.ts +4 -4
  298. package/dist/sync/indexeddb.mjs +2 -2
  299. package/dist/sync.browser.mjs +74 -11
  300. package/dist/sync.d.ts +5 -5
  301. package/dist/sync.mjs +78 -16
  302. package/dist/synonyms.mjs +9 -8
  303. package/dist/{tasks-BShx8pdK.d.ts → tasks-qrJojgST.d.ts} +13 -5
  304. package/dist/thread-O4SBJJJS.mjs +50 -0
  305. package/dist/{types-SnO7_tAI.d.ts → types-BZCGjfLn.d.ts} +2 -3
  306. package/dist/vector/search-worker.d.ts +1 -1
  307. package/dist/vector/search-worker.mjs +8 -8
  308. package/dist/workers/entry.mjs +19 -8
  309. package/dist/{write-FGB62BHQ.mjs → write-3FK7NG3Y.mjs} +40 -33
  310. package/openapi.json +798 -7
  311. package/package.json +32 -8
  312. package/dist/browser/import-YI5GNB4H.mjs +0 -17
  313. package/dist/browser/operations-WVYLF72Q.mjs +0 -5
  314. package/dist/browser/restore-queue-TYIGDL5L.mjs +0 -41
  315. package/dist/chunk-37IVJLP6.mjs +0 -44
  316. package/dist/chunk-DJHHF2L5.mjs +0 -17
  317. package/dist/direct-executor-FI5GJHWX.mjs +0 -29
  318. package/dist/engine-DYu-e0oR.d.ts +0 -674
  319. package/dist/import-SRBNC6TE.mjs +0 -49
  320. package/dist/operations-PGOAY2KS.mjs +0 -5
  321. package/dist/react-native/chunks/chunk-TJMSKBEM.mjs +0 -25
  322. package/dist/react-native/chunks/gzip.react-native-DNB5YNFA.mjs +0 -3
  323. package/dist/react-native/chunks/import-JYBMEJPQ.mjs +0 -29
  324. package/dist/react-native/chunks/module-QT5HZAY4.mjs +0 -33
  325. package/dist/react-native/chunks/operations-RYKTSZQA.mjs +0 -5
  326. package/dist/react-native/chunks/restore-queue-ZBVIKJWI.mjs +0 -41
  327. package/dist/restore-queue-COI2GSSK.mjs +0 -41
  328. package/dist/retention-55WA7GPU.mjs +0 -58
  329. package/dist/thread-P2G2FWM2.mjs +0 -44
@@ -1,10 +1,10 @@
1
- import { littleEndianBytes, KEYWORD_SEGMENT_ENVELOPE_VERSION, decodeKeywordSegment, KEYWORD_SEGMENT_PAYLOAD_VERSION, uint64Bytes } from './chunk-H6QFBMVE.mjs';
1
+ import { littleEndianBytes, KEYWORD_SEGMENT_ENVELOPE_VERSION, decodeKeywordSegment, KEYWORD_SEGMENT_PAYLOAD_VERSION, uint64Bytes } from './chunk-KZWSX6BH.mjs';
2
2
  import { SEGMENT_FILE_FRAMING_SLACK_BYTES, SEGMENT_TOKEN_TABLE_SHARE_OF_FILE } from './chunk-ZI2V4VD7.mjs';
3
- import { selectionKeeps, packChecksummedEnvelope, messagePackUpperBoundBytes, segmentArraysOf, mergeSegmentContents } from './chunk-2SHAKW2Z.mjs';
4
- import { segmentKey, MAX_SEGMENTS_PER_PARTITION } from './chunk-4PD752F6.mjs';
5
- import { crc32, openChecksummedEnvelope, HEADER_SIZE } from './chunk-7TTWXUH6.mjs';
6
- import { MAX_FILE_BYTES } from './chunk-7MEYN7V6.mjs';
7
- import { NarsilError, ErrorCodes } from './chunk-MYITLCHT.mjs';
3
+ import { segmentKey, MAX_SEGMENTS_PER_PARTITION } from './chunk-23XRXIBW.mjs';
4
+ import { selectionKeeps, packChecksummedEnvelope, messagePackUpperBoundBytes, segmentArraysOf, mergeSegmentContents } from './chunk-3V7DNNZL.mjs';
5
+ import { crc32, openChecksummedEnvelope, HEADER_SIZE } from './chunk-STOWQFT3.mjs';
6
+ import { MAX_FILE_BYTES } from './chunk-GPPOG6PT.mjs';
7
+ import { NarsilError, ErrorCodes } from './chunk-SRMZXJSL.mjs';
8
8
  import { decode, encode } from '@msgpack/msgpack';
9
9
 
10
10
  // src/persistence/paged/constants.ts
@@ -770,7 +770,7 @@ async function writePagedGroup(state, group) {
770
770
  const tombstones = state.tombstonesWritten ? [] : [...request.tombstones];
771
771
  const id = state.nextSegmentId;
772
772
  const key = segmentKey(request.indexName, request.partitionId, id);
773
- const { writePagedSegment } = await import('./module-M4JNBV6V.mjs');
773
+ const { writePagedSegment } = await import('./module-NIYMEA5R.mjs');
774
774
  const written = await writePagedSegment({
775
775
  directory,
776
776
  key,
@@ -1,4 +1,4 @@
1
- import { NarsilError, ErrorCodes } from './chunk-CUNGPR5R.mjs';
1
+ import { NarsilError, ErrorCodes } from './chunk-SRMZXJSL.mjs';
2
2
 
3
3
  // src/engine/snapshot/restore-config.ts
4
4
  function rejectSnapshot(message) {
@@ -1,5 +1,5 @@
1
1
  import { DIRECTORY_IDENTITY_CHECK_INTERVAL_MS } from './chunk-ZI2V4VD7.mjs';
2
- import { NarsilError, ErrorCodes } from './chunk-MYITLCHT.mjs';
2
+ import { NarsilError, ErrorCodes } from './chunk-SRMZXJSL.mjs';
3
3
 
4
4
  // src/persistence/durability/directory-watch.ts
5
5
  function unrefInterval(tick, intervalMs) {
@@ -0,0 +1,9 @@
1
+ // src/serialization/constants.ts
2
+ var CHECKSUM_YIELD_CHUNK_BYTES = 4 * 1024 * 1024;
3
+ var NATIVE_CRC32_MIN_BYTES = 16;
4
+ var MAX_FILE_BYTES = 2147483647;
5
+ var MAX_DOCUMENT_ENCODING_DEPTH = 100;
6
+ var DOCUMENT_ENCODER_RETAINED_BUFFER_BYTES = 1048576;
7
+ var VALID_HNSW_METRICS = /* @__PURE__ */ new Set(["cosine", "dotProduct", "euclidean"]);
8
+
9
+ export { CHECKSUM_YIELD_CHUNK_BYTES, DOCUMENT_ENCODER_RETAINED_BUFFER_BYTES, MAX_DOCUMENT_ENCODING_DEPTH, MAX_FILE_BYTES, NATIVE_CRC32_MIN_BYTES, VALID_HNSW_METRICS };
@@ -1,10 +1,10 @@
1
- import { restoredConfigFields, restoredEmbedding } from './chunk-ZPTA75ZC.mjs';
1
+ import { restoredConfigFields, restoredEmbedding } from './chunk-EXQZGUQH.mjs';
2
2
  import { chunksOf } from './chunk-DSXIBE6N.mjs';
3
- import { untagDocumentLine } from './chunk-XRV72TJD.mjs';
4
- import { flattenSchema, requireConfigurationShape } from './chunk-7TTWXUH6.mjs';
5
- import { turnsAreBudgeted, turnIsSpent, yieldTurn } from './chunk-U2E3HMYW.mjs';
3
+ import { untagDocumentLine } from './chunk-6LWDPLTB.mjs';
4
+ import { flattenSchema, requireConfigurationShape } from './chunk-STOWQFT3.mjs';
5
+ import { turnsAreBudgeted, turnIsSpent, yieldTurn } from './chunk-XAWNZ4G2.mjs';
6
6
  import { MAX_EXPORT_LINE_BYTES, IMPORT_BATCH_DOCUMENTS, MAX_IMPORT_REFUSALS_REPORTED } from './chunk-4RD3AFSB.mjs';
7
- import { NarsilError, ErrorCodes } from './chunk-MYITLCHT.mjs';
7
+ import { NarsilError, ErrorCodes } from './chunk-SRMZXJSL.mjs';
8
8
 
9
9
  // src/engine/export/lines.ts
10
10
  var NEWLINE = 10;
@@ -1,16 +1,18 @@
1
- import { decodeSegmentManifest } from './chunk-J433A7P3.mjs';
2
- import { gunzip, gzip } from './chunk-JNOAKDUM.mjs';
3
- import { readListedFile, requireListedChecksum, writeSegmentsOf, readSegmentFile, requireListedSize, SEGMENT_PAGE_BYTES, STABLE_HEAD_ATTEMPTS, RECORD_PAGE_BYTES, MERGED_SEGMENT_GROWTH_ALLOWANCE, MERGED_SEGMENT_TARGET_BYTES } from './chunk-QXTPSX2H.mjs';
4
- import { restoreVectorFields } from './chunk-H6QFBMVE.mjs';
5
- import { DEFAULT_COMPACTION_THRESHOLD, COMPACTION_LARGEST_MERGED_DOCUMENT_COUNT, SEGMENT_FILE_FRAMING_SLACK_BYTES } from './chunk-ZI2V4VD7.mjs';
6
- import { VERSION, DEFAULT_BM25_B, DEFAULT_BM25_K1, rulesOfStoredSynonyms, isCompositePartition, packChecksummedEnvelope, reconstructSchemaFromMetadata, engineVersionParts, packEnvelopeWithChecksum, decodeEveryStoredDocument, createSharedFrozenSegment, shareSegmentArrays, isQuantizationMode, isStorageMode, survivorDocumentsOf, partitionStateOf, freezeSegmentShared, createFrozenSegment, createPartitionManager, createPartitionRouter, buildSegmentPayload, resolvePartitionInsertOptions, decodeMapWithoutFields, prepareDocumentVectors } from './chunk-2SHAKW2Z.mjs';
7
- import { SEGMENT_MANIFEST_VERSION, MANIFEST_ENVELOPE_VERSION, manifestKey, manifestReferencedKeys, segmentsPrefix, snapshotBundleKey, vectorFileKey, MAX_SEGMENTS_PER_PARTITION, graphPartKey } from './chunk-4PD752F6.mjs';
8
- import { flattenSchema, crc32, extractVectorFieldsFromSchema, requireValidFieldTypes, readHeader, HEADER_SIZE, writeHeader, openChecksummedEnvelope, checksumOfChunks, partialFieldsOf, getLanguage, VECTOR_PATTERN, resolveIndexAnalysis } from './chunk-7TTWXUH6.mjs';
9
- import { DEFAULT_VECTOR_METRIC, defaultQuantizationFor } from './chunk-3I27KXQD.mjs';
10
- import { decodeVectorGraphPartPayload, assembleGraphParts, decodeVectorFilePayload, countDead } from './chunk-3U3QR5YP.mjs';
11
- import { compareCodePoints, VALID_HNSW_METRICS, MAX_FILE_BYTES } from './chunk-7MEYN7V6.mjs';
1
+ import { decodeSegmentManifest } from './chunk-2CFI5VVV.mjs';
12
2
  import { isSyncEpoch } from './chunk-YJHGOJAC.mjs';
13
- import { NarsilError, ErrorCodes } from './chunk-MYITLCHT.mjs';
3
+ import { storedStateToWire, storedStateFromWire } from './chunk-3SSRJMFN.mjs';
4
+ import { DEFAULT_VECTOR_METRIC, defaultQuantizationFor } from './chunk-3I27KXQD.mjs';
5
+ import { readListedFile, requireListedChecksum, writeSegmentsOf, readSegmentFile, requireListedSize, SEGMENT_PAGE_BYTES, STABLE_HEAD_ATTEMPTS, RECORD_PAGE_BYTES, MERGED_SEGMENT_GROWTH_ALLOWANCE, MERGED_SEGMENT_TARGET_BYTES } from './chunk-EA63E3D2.mjs';
6
+ import { restoreVectorFields } from './chunk-KZWSX6BH.mjs';
7
+ import { DEFAULT_COMPACTION_THRESHOLD, COMPACTION_LARGEST_MERGED_DOCUMENT_COUNT, SEGMENT_FILE_FRAMING_SLACK_BYTES } from './chunk-ZI2V4VD7.mjs';
8
+ import { SEGMENT_MANIFEST_VERSION, MANIFEST_ENVELOPE_VERSION, manifestKey, manifestReferencedKeys, segmentsPrefix, snapshotBundleKey, vectorFileKey, MAX_SEGMENTS_PER_PARTITION, graphPartKey } from './chunk-23XRXIBW.mjs';
9
+ import { VERSION, DEFAULT_BM25_B, DEFAULT_BM25_K1, rulesOfStoredSynonyms, isCompositePartition, packChecksummedEnvelope, reconstructSchemaFromMetadata, engineVersionParts, packEnvelopeWithChecksum, decodeEveryStoredDocument, createSharedFrozenSegment, shareSegmentArrays, isQuantizationMode, isStorageMode, survivorDocumentsOf, partitionStateOf, freezeSegmentShared, createFrozenSegment, createPartitionManager, createPartitionRouter, buildSegmentPayload, resolvePartitionInsertOptions, decodeMapWithoutFields, prepareDocumentVectors } from './chunk-3V7DNNZL.mjs';
10
+ import { flattenSchema, crc32, extractVectorFieldsFromSchema, requireValidFieldTypes, readHeader, HEADER_SIZE, writeHeader, openChecksummedEnvelope, checksumOfChunks, partialFieldsOf, getLanguage, VECTOR_PATTERN, resolveIndexAnalysis } from './chunk-STOWQFT3.mjs';
11
+ import { decodeVectorGraphPartPayload, assembleGraphParts, decodeVectorFilePayload, countDead } from './chunk-WN464PTL.mjs';
12
+ import { compareCodePoints } from './chunk-NXQG7DRA.mjs';
13
+ import { VALID_HNSW_METRICS, MAX_FILE_BYTES } from './chunk-GPPOG6PT.mjs';
14
+ import { NarsilError, ErrorCodes } from './chunk-SRMZXJSL.mjs';
15
+ import { gunzip, gzip } from './chunk-JNOAKDUM.mjs';
14
16
  import { decode, encode } from '@msgpack/msgpack';
15
17
 
16
18
  // src/engine/durability-metadata.ts
@@ -111,6 +113,7 @@ function metadataFromConfig(indexName, config, partitionCount, documentCount) {
111
113
  if (config.sync !== void 0) metadata.sync = config.sync;
112
114
  if (config.syncActive !== void 0) metadata.syncActive = config.syncActive;
113
115
  if (config.syncEpoch !== void 0) metadata.syncEpoch = config.syncEpoch;
116
+ if (config.querySuggestions !== void 0) metadata.querySuggestions = config.querySuggestions;
114
117
  return metadata;
115
118
  }
116
119
  function metadataConfigOf(entry) {
@@ -146,7 +149,8 @@ function metadataConfigOf(entry) {
146
149
  ...entry.config.vectorPromotion !== void 0 ? { vectorPromotion: entry.config.vectorPromotion } : {},
147
150
  ...entry.config.patternValueLimit !== void 0 ? { patternValueLimit: entry.config.patternValueLimit } : {},
148
151
  ...entry.synonyms !== null ? { synonyms: rulesOfStoredSynonyms(entry.synonyms) } : {},
149
- ...syncMetadataOf(entry)
152
+ ...syncMetadataOf(entry),
153
+ ...entry.querySuggestions !== null ? { querySuggestions: entry.querySuggestions } : {}
150
154
  };
151
155
  }
152
156
  function syncMetadataOf(entry) {
@@ -518,7 +522,11 @@ function metadataToWire(meta) {
518
522
  if (Array.isArray(meta.synonyms) && meta.synonyms.length > 0) {
519
523
  wire.synonyms = meta.synonyms;
520
524
  }
521
- return { ...wire, ...syncMetadataToWire(meta) };
525
+ return {
526
+ ...wire,
527
+ ...syncMetadataToWire(meta),
528
+ ...meta.querySuggestions !== void 0 ? storedStateToWire(meta.querySuggestions) : {}
529
+ };
522
530
  }
523
531
  function wireToMetadata(raw) {
524
532
  const meta = {
@@ -675,6 +683,8 @@ function wireToMetadata(raw) {
675
683
  }
676
684
  if (raw.synonyms !== void 0 && raw.synonyms !== null) meta.synonyms = raw.synonyms;
677
685
  syncMetadataFromWire(raw, meta);
686
+ const querySuggestions = storedStateFromWire(raw);
687
+ if (querySuggestions !== null) meta.querySuggestions = querySuggestions;
678
688
  return meta;
679
689
  }
680
690
  function isNonNegativeInteger(value) {
@@ -1218,7 +1228,7 @@ function holdsEveryHead(ref) {
1218
1228
  async function loadFieldOnDemand(store, ref, vectorIndex, resolvePartition) {
1219
1229
  const { pathOf } = store;
1220
1230
  if (pathOf === void 0 || vectorIndex.storage !== "disk" || !holdsEveryHead(ref)) return false;
1221
- const { loadFilesByParts, openColdVectorField, osqBitsOf, waitBeforeColdLoad } = await import('./cold-module-VTUGDYNY.mjs');
1231
+ const { loadFilesByParts, openColdVectorField, osqBitsOf, waitBeforeColdLoad } = await import('./cold-module-2EHCIV4K.mjs');
1222
1232
  await Promise.all([
1223
1233
  ...ref.files.map((file) => requireListedSize(store, file.key, { bytes: file.bytes, what: "vector file" })),
1224
1234
  ...ref.graphParts.map((part) => requireListedSize(store, part.key, { bytes: part.bytes, what: "graph part" }))
@@ -2022,7 +2032,7 @@ async function compactPartitionSegments(input) {
2022
2032
  if (paged) {
2023
2033
  const { directory } = input.store;
2024
2034
  if (directory === void 0) return { segments, nextSegmentId: input.nextSegmentId };
2025
- const { mergePagedWindow } = await import('./module-M4JNBV6V.mjs');
2035
+ const { mergePagedWindow } = await import('./module-NIYMEA5R.mjs');
2026
2036
  return replacing(
2027
2037
  await mergePagedWindow({
2028
2038
  store: input.store,
@@ -2110,7 +2120,7 @@ function pagedSettingsOf(context) {
2110
2120
  async function tombstonesOfDelta(context, older, selections, deleted) {
2111
2121
  const { directory } = context.input.store;
2112
2122
  if (context.input.metadata.textStorage !== "disk" || directory === void 0) return deleted;
2113
- const { pagedTombstonesFor } = await import('./module-M4JNBV6V.mjs');
2123
+ const { pagedTombstonesFor } = await import('./module-NIYMEA5R.mjs');
2114
2124
  return pagedTombstonesFor(
2115
2125
  directory,
2116
2126
  older,
@@ -2311,7 +2321,7 @@ function removeFromPartition(manager, partitionId, docIds) {
2311
2321
  }
2312
2322
  }
2313
2323
  async function attachPagedSegment(directory, ref, partitionId, manager, options) {
2314
- const { checkPagedSegmentFully, createPagedFrozenSegment, openPagedSnapshot, pagedListingOf } = await import('./module-M4JNBV6V.mjs');
2324
+ const { checkPagedSegmentFully, createPagedFrozenSegment, openPagedSnapshot, pagedListingOf } = await import('./module-NIYMEA5R.mjs');
2315
2325
  if (options.decodesEveryDocument) await checkPagedSegmentFully(directory, ref);
2316
2326
  const snapshot = openPagedSnapshot(await pagedListingOf(directory, ref));
2317
2327
  requireAgreedSchema(options.schema, snapshot.schema, ref.key);
@@ -2325,7 +2335,7 @@ async function loadPartitionSegments(store, partition, manager, options) {
2325
2335
  const { directory } = store;
2326
2336
  for (const ref of partition.segments) {
2327
2337
  if (manager.config.textStorage === "disk" && directory !== void 0) {
2328
- const { isPagedSegmentFile } = await import('./module-M4JNBV6V.mjs');
2338
+ const { isPagedSegmentFile } = await import('./module-NIYMEA5R.mjs');
2329
2339
  if (await isPagedSegmentFile(directory, ref.key)) {
2330
2340
  await attachPagedSegment(directory, ref, partition.partitionId, manager, options);
2331
2341
  await yieldToEventLoop();
@@ -2381,7 +2391,7 @@ async function loadSegmentedCheckpoint(store, indexName, manifest, deps, decodes
2381
2391
  (field) => deps.vectorIndexes.get(field.fieldPath)?.storage === "disk" && field.files.some((file) => file.headOffset !== void 0)
2382
2392
  );
2383
2393
  if (!decodesEveryDocument && directory !== void 0 && opensVectorsOnDemand) {
2384
- const { startReadingOpeningSectionsAhead } = await import('./module-M4JNBV6V.mjs');
2394
+ const { startReadingOpeningSectionsAhead } = await import('./module-NIYMEA5R.mjs');
2385
2395
  await startReadingOpeningSectionsAhead(directory, manifest);
2386
2396
  }
2387
2397
  for (const partition of manifest.partitions) {
@@ -1,6 +1,6 @@
1
- import { removeDocumentVectors, prepareDocumentVectors, insertDocumentVectors, getNestedValue } from './chunk-2SHAKW2Z.mjs';
2
- import { requireValidFieldTypes, VECTOR_PATTERN } from './chunk-7TTWXUH6.mjs';
3
- import { NarsilError, ErrorCodes } from './chunk-MYITLCHT.mjs';
1
+ import { removeDocumentVectors, prepareDocumentVectors, insertDocumentVectors, getNestedValue } from './chunk-3V7DNNZL.mjs';
2
+ import { requireValidFieldTypes, VECTOR_PATTERN } from './chunk-STOWQFT3.mjs';
3
+ import { NarsilError, ErrorCodes } from './chunk-SRMZXJSL.mjs';
4
4
  import { decode } from '@msgpack/msgpack';
5
5
 
6
6
  function applyIndexEntry(entry, manager, vectorFieldPaths, vecIndexes, schedulesGraphBuild = true) {
@@ -0,0 +1,151 @@
1
+ // src/persistence/durability/sha256.ts
2
+ var ROUND_CONSTANTS = new Uint32Array([
3
+ 1116352408,
4
+ 1899447441,
5
+ 3049323471,
6
+ 3921009573,
7
+ 961987163,
8
+ 1508970993,
9
+ 2453635748,
10
+ 2870763221,
11
+ 3624381080,
12
+ 310598401,
13
+ 607225278,
14
+ 1426881987,
15
+ 1925078388,
16
+ 2162078206,
17
+ 2614888103,
18
+ 3248222580,
19
+ 3835390401,
20
+ 4022224774,
21
+ 264347078,
22
+ 604807628,
23
+ 770255983,
24
+ 1249150122,
25
+ 1555081692,
26
+ 1996064986,
27
+ 2554220882,
28
+ 2821834349,
29
+ 2952996808,
30
+ 3210313671,
31
+ 3336571891,
32
+ 3584528711,
33
+ 113926993,
34
+ 338241895,
35
+ 666307205,
36
+ 773529912,
37
+ 1294757372,
38
+ 1396182291,
39
+ 1695183700,
40
+ 1986661051,
41
+ 2177026350,
42
+ 2456956037,
43
+ 2730485921,
44
+ 2820302411,
45
+ 3259730800,
46
+ 3345764771,
47
+ 3516065817,
48
+ 3600352804,
49
+ 4094571909,
50
+ 275423344,
51
+ 430227734,
52
+ 506948616,
53
+ 659060556,
54
+ 883997877,
55
+ 958139571,
56
+ 1322822218,
57
+ 1537002063,
58
+ 1747873779,
59
+ 1955562222,
60
+ 2024104815,
61
+ 2227730452,
62
+ 2361852424,
63
+ 2428436474,
64
+ 2756734187,
65
+ 3204031479,
66
+ 3329325298
67
+ ]);
68
+ var SHA256_INITIAL_STATE = [
69
+ 1779033703,
70
+ 3144134277,
71
+ 1013904242,
72
+ 2773480762,
73
+ 1359893119,
74
+ 2600822924,
75
+ 528734635,
76
+ 1541459225
77
+ ];
78
+ var SHA256_BLOCK_BYTES = 64;
79
+ var LENGTH_BYTES = 8;
80
+ function rotateRight(value, bits) {
81
+ return value >>> bits | value << 32 - bits;
82
+ }
83
+ function paddedSha256Message(bytes, precedingBytes = 0) {
84
+ const total = Math.ceil((bytes.byteLength + 1 + LENGTH_BYTES) / SHA256_BLOCK_BYTES) * SHA256_BLOCK_BYTES;
85
+ const message = new Uint8Array(total);
86
+ message.set(bytes);
87
+ message[bytes.byteLength] = 128;
88
+ const view = new DataView(message.buffer);
89
+ const bitLength = (precedingBytes + bytes.byteLength) * 8;
90
+ view.setUint32(total - LENGTH_BYTES, Math.floor(bitLength / 4294967296), false);
91
+ view.setUint32(total - 4, bitLength >>> 0, false);
92
+ return view;
93
+ }
94
+ function compressSha256Block(state, view, block, words) {
95
+ for (let i = 0; i < 16; i++) words[i] = view.getUint32(block + i * 4, false);
96
+ for (let i = 16; i < 64; i++) {
97
+ const w15 = words[i - 15];
98
+ const w2 = words[i - 2];
99
+ const s0 = rotateRight(w15, 7) ^ rotateRight(w15, 18) ^ w15 >>> 3;
100
+ const s1 = rotateRight(w2, 17) ^ rotateRight(w2, 19) ^ w2 >>> 10;
101
+ words[i] = words[i - 16] + s0 + words[i - 7] + s1 >>> 0;
102
+ }
103
+ let a = state[0];
104
+ let b = state[1];
105
+ let c = state[2];
106
+ let d = state[3];
107
+ let e = state[4];
108
+ let f = state[5];
109
+ let g = state[6];
110
+ let h = state[7];
111
+ for (let i = 0; i < 64; i++) {
112
+ const s1 = rotateRight(e, 6) ^ rotateRight(e, 11) ^ rotateRight(e, 25);
113
+ const choice = e & f ^ ~e & g;
114
+ const t1 = h + s1 + choice + ROUND_CONSTANTS[i] + words[i] >>> 0;
115
+ const s0 = rotateRight(a, 2) ^ rotateRight(a, 13) ^ rotateRight(a, 22);
116
+ const majority = a & b ^ a & c ^ b & c;
117
+ const t2 = s0 + majority >>> 0;
118
+ h = g;
119
+ g = f;
120
+ f = e;
121
+ e = d + t1 >>> 0;
122
+ d = c;
123
+ c = b;
124
+ b = a;
125
+ a = t1 + t2 >>> 0;
126
+ }
127
+ state[0] = state[0] + a >>> 0;
128
+ state[1] = state[1] + b >>> 0;
129
+ state[2] = state[2] + c >>> 0;
130
+ state[3] = state[3] + d >>> 0;
131
+ state[4] = state[4] + e >>> 0;
132
+ state[5] = state[5] + f >>> 0;
133
+ state[6] = state[6] + g >>> 0;
134
+ state[7] = state[7] + h >>> 0;
135
+ }
136
+ function sha256Digest(state) {
137
+ const digest = new Uint8Array(32);
138
+ const out = new DataView(digest.buffer);
139
+ for (let i = 0; i < 8; i++) out.setUint32(i * 4, state[i], false);
140
+ return digest;
141
+ }
142
+ function sha256(bytes) {
143
+ const view = paddedSha256Message(bytes);
144
+ const state = Uint32Array.from(SHA256_INITIAL_STATE);
145
+ const words = new Uint32Array(64);
146
+ for (let block = 0; block < view.byteLength; block += SHA256_BLOCK_BYTES)
147
+ compressSha256Block(state, view, block, words);
148
+ return sha256Digest(state);
149
+ }
150
+
151
+ export { SHA256_BLOCK_BYTES, SHA256_INITIAL_STATE, compressSha256Block, paddedSha256Message, sha256, sha256Digest };
@@ -0,0 +1,63 @@
1
+ import { attachedRuntimeOf } from './chunk-ATEBYXP6.mjs';
2
+ import { emitWriteEventAfter, dropEngineIndex } from './chunk-3V7DNNZL.mjs';
3
+ import { NarsilError, ErrorCodes } from './chunk-SRMZXJSL.mjs';
4
+
5
+ // src/query-suggestions/engine-hooks.ts
6
+ function suggestionIndexesOf(core, sourceName) {
7
+ const names = [];
8
+ for (const [name, entry] of core.indexRegistry) {
9
+ if (name !== sourceName && entry.querySuggestions?.querySuggestionsSource?.index === sourceName) names.push(name);
10
+ }
11
+ return names;
12
+ }
13
+ async function dropSuggestionIndexesOf(core, sourceName) {
14
+ if (core.mutationCtx.capacityScope === "partition") return;
15
+ for (const name of suggestionIndexesOf(core, sourceName)) {
16
+ if (!core.indexRegistry.has(name)) continue;
17
+ await emitWriteEventAfter(core, name, dropEngineIndex(core, name));
18
+ }
19
+ }
20
+ async function clearLeftoversOfName(core, name) {
21
+ if (core.mutationCtx.capacityScope === "partition") return;
22
+ await dropSuggestionIndexesOf(core, name);
23
+ await core.durability?.manager.removeQueryHistory?.(name);
24
+ }
25
+ function hooksOf(core) {
26
+ return {
27
+ async beforeCreate(indexName) {
28
+ await clearLeftoversOfName(core, indexName);
29
+ if (core.indexRegistry.has(indexName)) {
30
+ throw new NarsilError(ErrorCodes.INDEX_ALREADY_EXISTS, `Index "${indexName}" already exists`, { indexName });
31
+ }
32
+ },
33
+ beforeDrop: (indexName) => dropSuggestionIndexesOf(core, indexName),
34
+ async afterDrop(indexName) {
35
+ await attachedRuntimeOf(core)?.onDrop(indexName);
36
+ },
37
+ async shutdown() {
38
+ await attachedRuntimeOf(core)?.stop().catch(() => void 0);
39
+ }
40
+ };
41
+ }
42
+ function installSuggestionHooks(core) {
43
+ core.querySuggestionHooks ??= hooksOf(core);
44
+ }
45
+ function holdsEnabledSetting(core) {
46
+ for (const entry of core.indexRegistry.values()) {
47
+ if (entry.querySuggestions?.querySuggestions?.enabled === true) return true;
48
+ }
49
+ return false;
50
+ }
51
+ async function startQuerySuggestions(core, engine, config) {
52
+ installSuggestionHooks(core);
53
+ if (config?.querySuggestions === void 0 && !holdsEnabledSetting(core)) return;
54
+ try {
55
+ const { localRuntimeOf } = await import('./start-BM442C6R.mjs');
56
+ await localRuntimeOf(core, engine, config);
57
+ } catch (error) {
58
+ await engine.shutdown().catch(() => void 0);
59
+ throw error;
60
+ }
61
+ }
62
+
63
+ export { clearLeftoversOfName, dropSuggestionIndexesOf, installSuggestionHooks, startQuerySuggestions };
@@ -0,0 +1,51 @@
1
+ // src/geo/constants.ts
2
+ var DEG_TO_RAD = Math.PI / 180;
3
+ var MAX_LATITUDE_DEGREES = 90;
4
+ var MAX_LONGITUDE_DEGREES = 180;
5
+ var MIN_POLYGON_POINTS = 3;
6
+ var ANTIMERIDIAN_SPAN_DEGREES = 180;
7
+ var FULL_TURN_DEGREES = 360;
8
+ var EARTH_RADIUS_METERS = 63710088e-1;
9
+ var LOCATION_CODE_BITS_PER_AXIS = 26;
10
+ var MAX_COVERING_CELLS = 16;
11
+
12
+ // src/math/words.ts
13
+ var FLOAT = new Float64Array(1);
14
+ var SIGNED = new Int32Array(FLOAT.buffer);
15
+ var UNSIGNED = new Uint32Array(FLOAT.buffer);
16
+ var LITTLE_ENDIAN = new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;
17
+ var HIGH = LITTLE_ENDIAN ? 1 : 0;
18
+ var LOW = LITTLE_ENDIAN ? 0 : 1;
19
+ var EXPONENT_BIAS = 1023;
20
+ var EXPONENT_SHIFT = 20;
21
+ var MAGNITUDE_MASK = 2147483647;
22
+ var INFINITE_HIGH_WORD = 2146435072;
23
+ var SMALLEST_NORMAL_HIGH_WORD = 1048576;
24
+ function highWord(value) {
25
+ FLOAT[0] = value;
26
+ return SIGNED[HIGH];
27
+ }
28
+ function lowWord(value) {
29
+ FLOAT[0] = value;
30
+ return UNSIGNED[LOW];
31
+ }
32
+ function fromWords(high, low) {
33
+ SIGNED[HIGH] = high;
34
+ UNSIGNED[LOW] = low;
35
+ return FLOAT[0];
36
+ }
37
+ function withHighWord(value, high) {
38
+ FLOAT[0] = value;
39
+ SIGNED[HIGH] = high;
40
+ return FLOAT[0];
41
+ }
42
+ function withLowWord(value, low) {
43
+ FLOAT[0] = value;
44
+ UNSIGNED[LOW] = low;
45
+ return FLOAT[0];
46
+ }
47
+ function scaleByPowerOfTwo(value, exponent) {
48
+ return value * fromWords(exponent + EXPONENT_BIAS << EXPONENT_SHIFT, 0);
49
+ }
50
+
51
+ export { ANTIMERIDIAN_SPAN_DEGREES, DEG_TO_RAD, EARTH_RADIUS_METERS, FULL_TURN_DEGREES, INFINITE_HIGH_WORD, LOCATION_CODE_BITS_PER_AXIS, MAGNITUDE_MASK, MAX_COVERING_CELLS, MAX_LATITUDE_DEGREES, MAX_LONGITUDE_DEGREES, MIN_POLYGON_POINTS, SMALLEST_NORMAL_HIGH_WORD, fromWords, highWord, lowWord, scaleByPowerOfTwo, withHighWord, withLowWord };
@@ -1,7 +1,7 @@
1
- import { oneSyncChangeAtATime } from './chunk-5W3MMTLG.mjs';
2
1
  import { newSyncEpoch } from './chunk-YJHGOJAC.mjs';
2
+ import { oneSyncChangeAtATime } from './chunk-5W3MMTLG.mjs';
3
3
  import { withOpenIndex, emitSyncChange } from './chunk-ML7THVLJ.mjs';
4
- import { NarsilError, ErrorCodes } from './chunk-MYITLCHT.mjs';
4
+ import { NarsilError, ErrorCodes } from './chunk-SRMZXJSL.mjs';
5
5
 
6
6
  // src/engine/sync/operations.ts
7
7
  function invalidLimit(name, value) {
@@ -26,6 +26,14 @@ function requireSyncSetting(setting) {
26
26
  ...historyMaxBytes !== void 0 ? { historyMaxBytes } : {}
27
27
  };
28
28
  }
29
+ function requireNoQuerySuggestions(state, indexName) {
30
+ if (state?.querySuggestions?.enabled !== true) return;
31
+ throw new NarsilError(
32
+ ErrorCodes.CONFIG_INVALID,
33
+ `Index "${indexName}" has popular query suggestions on, so it cannot sync to devices: a device receives the whole index of one user, while a suggestion comes from the searches of several people`,
34
+ { indexName }
35
+ );
36
+ }
29
37
  function syncStorageOf(core, indexName) {
30
38
  const storage = core.durability?.manager.syncStorage?.();
31
39
  if (storage === void 0) {
@@ -56,6 +64,7 @@ function updateIndexSync(core, indexName, value) {
56
64
  core,
57
65
  indexName,
58
66
  () => oneSyncChangeAtATime(core.indexRegistry, indexName, async () => {
67
+ if (setting.enabled) requireNoQuerySuggestions(core.requireIndex(indexName).querySuggestions, indexName);
59
68
  const previous = core.requireIndex(indexName).sync;
60
69
  if (!setting.enabled) {
61
70
  if (previous === null) return;
@@ -99,4 +108,4 @@ function holdRenewedSyncEpoch(core, indexName) {
99
108
  });
100
109
  }
101
110
 
102
- export { holdRenewedSyncEpoch, requireSyncSetting, syncStorageOf, updateIndexSync };
111
+ export { holdRenewedSyncEpoch, requireNoQuerySuggestions, requireSyncSetting, syncStorageOf, updateIndexSync };
@@ -4,14 +4,14 @@ function holdsChangeWork(entry) {
4
4
  }
5
5
  async function abandonChangeOf(core, indexName) {
6
6
  if (!holdsChangeWork(core.indexRegistry.get(indexName))) return;
7
- const { abandonAnalysisChange } = await import('./analysis-change-IXWPXXJJ.mjs');
7
+ const { abandonAnalysisChange } = await import('./analysis-change-435CUEPZ.mjs');
8
8
  await abandonAnalysisChange(core, indexName);
9
9
  }
10
10
  async function resumeChangeOf(core, indexName) {
11
11
  if ((core.indexRegistry.get(indexName)?.pendingAnalysis ?? null) === null) return;
12
12
  if (core.mutationCtx.capacityScope === "partition") return;
13
13
  if (core.executor.getManager(indexName) === void 0) return;
14
- const { resumeAnalysisChange } = await import('./analysis-change-IXWPXXJJ.mjs');
14
+ const { resumeAnalysisChange } = await import('./analysis-change-435CUEPZ.mjs');
15
15
  void resumeAnalysisChange(core, indexName).catch(() => void 0);
16
16
  }
17
17
  async function resumeEveryChange(core) {
@@ -1,11 +1,3 @@
1
- // src/serialization/constants.ts
2
- var CHECKSUM_YIELD_CHUNK_BYTES = 4 * 1024 * 1024;
3
- var NATIVE_CRC32_MIN_BYTES = 16;
4
- var MAX_FILE_BYTES = 2147483647;
5
- var MAX_DOCUMENT_ENCODING_DEPTH = 100;
6
- var DOCUMENT_ENCODER_RETAINED_BUFFER_BYTES = 1048576;
7
- var VALID_HNSW_METRICS = /* @__PURE__ */ new Set(["cosine", "dotProduct", "euclidean"]);
8
-
9
1
  // src/core/ordering/code-points.ts
10
2
  function exceedsCodePoints(value, maximum) {
11
3
  if (value.length <= maximum) return false;
@@ -24,17 +16,40 @@ function exceedsCodePoints(value, maximum) {
24
16
  return false;
25
17
  }
26
18
  var SURROGATE_UNIT = /[\ud800-\udfff]/;
27
- function holdsUnpairedSurrogate(value) {
28
- if (!SURROGATE_UNIT.test(value)) return false;
19
+ var REPLACEMENT_CHARACTER = "\uFFFD";
20
+ function firstUnpairedSurrogate(value) {
29
21
  for (let i = 0; i < value.length; i++) {
30
22
  const unit = value.charCodeAt(i);
31
23
  if (unit < 55296 || unit >= 57344) continue;
32
- if (unit >= 56320) return true;
24
+ if (unit >= 56320) return i;
33
25
  const low = value.charCodeAt(i + 1);
34
- if (!(low >= 56320 && low < 57344)) return true;
26
+ if (!(low >= 56320 && low < 57344)) return i;
35
27
  i++;
36
28
  }
37
- return false;
29
+ return -1;
30
+ }
31
+ function holdsUnpairedSurrogate(value) {
32
+ return SURROGATE_UNIT.test(value) && firstUnpairedSurrogate(value) >= 0;
33
+ }
34
+ function withUnpairedSurrogatesReplaced(value) {
35
+ const first = firstUnpairedSurrogate(value);
36
+ if (first < 0) return value;
37
+ let repaired = value.slice(0, first);
38
+ for (let i = first; i < value.length; i++) {
39
+ const unit = value.charCodeAt(i);
40
+ if (unit < 55296 || unit >= 57344) {
41
+ repaired += value[i];
42
+ continue;
43
+ }
44
+ const low = value.charCodeAt(i + 1);
45
+ if (unit < 56320 && low >= 56320 && low < 57344) {
46
+ repaired += value.slice(i, i + 2);
47
+ i++;
48
+ continue;
49
+ }
50
+ repaired += REPLACEMENT_CHARACTER;
51
+ }
52
+ return repaired;
38
53
  }
39
54
  function codePointCount(value) {
40
55
  let counted = 0;
@@ -300,4 +315,4 @@ var NEAREST_LINK_FALLBACK_HOSTS = 4;
300
315
  var CONNECT_STEPS_BETWEEN_CLOCK_CHECKS = 256;
301
316
  var CONNECT_RESTARTS_BEFORE_ONE_PASS = 8;
302
317
 
303
- export { CHECKSUM_YIELD_CHUNK_BYTES, COMPACTION_ABSOLUTE_THRESHOLD, COMPACTION_TOMBSTONE_RATIO, CONNECT_RESTARTS_BEFORE_ONE_PASS, CONNECT_STEPS_BETWEEN_CLOCK_CHECKS, DEFAULT_EF_SEARCH, DOCUMENT_ENCODER_RETAINED_BUFFER_BYTES, EARLIER_RELEASE_MIN_M, FARTHEST_REJECTED_LINKS_KEPT, INITIAL_LIST_CAPACITY, INITIAL_UPPER_SLOTS, MAX_DOCUMENT_ENCODING_DEPTH, MAX_FILE_BYTES, MAX_LAYER_CAP, MAX_M, MIN_M, NATIVE_CRC32_MIN_BYTES, NEAREST_LINK_FALLBACK_HOSTS, PLACEMENT_ROOM_REQUESTS, SORT_MODES, SORT_VALUE_MAX_CODE_POINTS, VALID_HNSW_METRICS, appendFoldedCodePoint, codePointCount, compareCodePoints, compareComparableKeys, compareComparableValues, compareSortValues, defaultSortMode, exceedsCodePoints, holdsUnpairedSurrogate, isSortMode, readSortField, singleFoldTable, sortModeOf, toComparableSortValue, toReducedSortValue, truncateSortString };
318
+ export { COMPACTION_ABSOLUTE_THRESHOLD, COMPACTION_TOMBSTONE_RATIO, CONNECT_RESTARTS_BEFORE_ONE_PASS, CONNECT_STEPS_BETWEEN_CLOCK_CHECKS, DEFAULT_EF_SEARCH, EARLIER_RELEASE_MIN_M, FARTHEST_REJECTED_LINKS_KEPT, INITIAL_LIST_CAPACITY, INITIAL_UPPER_SLOTS, MAX_LAYER_CAP, MAX_M, MIN_M, NEAREST_LINK_FALLBACK_HOSTS, PLACEMENT_ROOM_REQUESTS, SORT_MODES, SORT_VALUE_MAX_CODE_POINTS, appendFoldedCodePoint, codePointCount, compareCodePoints, compareComparableKeys, compareComparableValues, compareSortValues, defaultSortMode, exceedsCodePoints, holdsUnpairedSurrogate, isSortMode, readSortField, singleFoldTable, sortModeOf, toComparableSortValue, toReducedSortValue, truncateSortString, withUnpairedSurrogatesReplaced };