@delali/narsil 0.4.2-next.271 → 0.4.2-next.273

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 (103) hide show
  1. package/dist/browser/{chunk-XBWABEL3.mjs → chunk-56UNHLAF.mjs} +1 -1
  2. package/dist/browser/{chunk-DPRCAVC2.mjs → chunk-EKISQBV2.mjs} +272 -239
  3. package/dist/browser/{chunk-WRRXR57N.mjs → chunk-VAPCFSMX.mjs} +1 -1
  4. package/dist/browser/{chunk-Y5CSZDOH.mjs → chunk-VIVG3OXM.mjs} +1 -1
  5. package/dist/browser/{msgpack-leaf-FEPCLXXY.mjs → msgpack-leaf-76Q5SZ5S.mjs} +16 -9
  6. package/dist/browser/{optional-writes-HVPPDHSY.mjs → optional-writes-3HKIVZFU.mjs} +36 -2
  7. package/dist/browser/{segment-codec-leaf-A427QJUX.mjs → segment-codec-leaf-GXSRX5VT.mjs} +47 -30
  8. package/dist/{chunk-TI4G3SIG.mjs → chunk-35RWLUVY.mjs} +3 -3
  9. package/dist/{chunk-GTBJSNN2.mjs → chunk-43T3P3BE.mjs} +1 -1
  10. package/dist/{chunk-KQWTS7AM.mjs → chunk-4JLHHEBN.mjs} +1 -1
  11. package/dist/{chunk-KX3OP6VP.mjs → chunk-4YIVY3PB.mjs} +2 -2
  12. package/dist/{react-native/chunks/chunk-XGS2UYVI.mjs → chunk-5SHWA6PE.mjs} +1 -1
  13. package/dist/{chunk-BBIAUHAB.mjs → chunk-6LVQ3GLT.mjs} +3 -3
  14. package/dist/{chunk-H6LWGMPQ.mjs → chunk-6SIEVWMG.mjs} +7 -7
  15. package/dist/{chunk-NFA3WHJU.mjs → chunk-ACNHJOGC.mjs} +1 -1
  16. package/dist/{chunk-FOGTBAYN.mjs → chunk-BWPVDIRN.mjs} +12 -12
  17. package/dist/{chunk-ATQ6JR3I.mjs → chunk-C57GWAXN.mjs} +1 -1
  18. package/dist/{chunk-5E3TJ4P3.mjs → chunk-DRZP5MSG.mjs} +5 -5
  19. package/dist/{chunk-OLXFIUIZ.mjs → chunk-DZMD4OMD.mjs} +1 -1
  20. package/dist/{chunk-4WQNWAQE.mjs → chunk-EY5U4P5V.mjs} +1 -1
  21. package/dist/{chunk-Q4NLL66U.mjs → chunk-EZJ6HBG7.mjs} +2 -2
  22. package/dist/{chunk-QJFKL4NK.mjs → chunk-FE2XILWN.mjs} +4 -4
  23. package/dist/{chunk-WIT6B5OB.mjs → chunk-G3KVEHIW.mjs} +2 -2
  24. package/dist/{chunk-TANKI7TG.mjs → chunk-GTGQLCEI.mjs} +1 -1
  25. package/dist/{chunk-EALKCTWH.mjs → chunk-H23FB267.mjs} +3 -3
  26. package/dist/{chunk-YHZSSPG3.mjs → chunk-KXA77DPZ.mjs} +2 -2
  27. package/dist/{chunk-XWPNRHTG.mjs → chunk-LRIJ7U3T.mjs} +4 -4
  28. package/dist/{chunk-SSITKQU6.mjs → chunk-PNFP5THV.mjs} +3 -3
  29. package/dist/{chunk-VHIOGDVD.mjs → chunk-PQWK7KXS.mjs} +1 -1
  30. package/dist/{chunk-TT3UDDL3.mjs → chunk-QNZJYMCF.mjs} +6 -6
  31. package/dist/{chunk-33ZMFOAR.mjs → chunk-R3PFPFME.mjs} +1 -1
  32. package/dist/{chunk-XGVSG6ZU.mjs → chunk-SPA7GXST.mjs} +3 -3
  33. package/dist/{chunk-MS746XNY.mjs → chunk-WYH3QHBK.mjs} +384 -304
  34. package/dist/{chunk-MIIJ5O3O.mjs → chunk-X5V25BPN.mjs} +1 -1
  35. package/dist/{chunk-5GYGHPCH.mjs → chunk-Y7GXGJFZ.mjs} +16 -9
  36. package/dist/{chunk-4GCHJ3XD.mjs → chunk-YGRJLI2Z.mjs} +4 -4
  37. package/dist/{react-native/chunks/chunk-LE4DTMDL.mjs → chunk-ZO7VLAIT.mjs} +2 -2
  38. package/dist/{chunk-W3JH2IK6.mjs → chunk-ZTB7AWTW.mjs} +1 -1
  39. package/dist/client.mjs +2 -2
  40. package/dist/{direct-executor-PCBB6FCO.mjs → direct-executor-7G57AYXH.mjs} +4 -4
  41. package/dist/distribution/coordinator/etcd.mjs +2 -2
  42. package/dist/distribution/transport/grpc.mjs +3 -3
  43. package/dist/distribution/transport/tcp.mjs +3 -3
  44. package/dist/distribution.mjs +29 -29
  45. package/dist/index.browser.mjs +3 -3
  46. package/dist/index.mjs +4 -4
  47. package/dist/index.react-native.mjs +4 -4
  48. package/dist/{long-query-thread-4ALYIIC4.mjs → long-query-thread-KPN7NSOC.mjs} +14 -14
  49. package/dist/{msgpack-leaf-6ZBZWFRD.mjs → msgpack-leaf-LIT7TKZW.mjs} +3 -3
  50. package/dist/{optional-writes-2OK4TOLY.mjs → optional-writes-CSULLISE.mjs} +6 -6
  51. package/dist/{paged-partition-archive-Y5OAKNRB.mjs → paged-partition-archive-BKQADXOT.mjs} +13 -13
  52. package/dist/partial-words.browser.mjs +3 -3
  53. package/dist/partial-words.mjs +4 -4
  54. package/dist/pattern.browser.mjs +2 -2
  55. package/dist/pattern.mjs +2 -2
  56. package/dist/persistence/durability/checkpoint-worker.mjs +11 -11
  57. package/dist/{query-actions-UQVQZFIJ.mjs → query-actions-HTSJKZRU.mjs} +4 -4
  58. package/dist/query-suggestions/merge-worker.mjs +7 -7
  59. package/dist/query-suggestions.browser.mjs +3 -3
  60. package/dist/query-suggestions.mjs +5 -5
  61. package/dist/react-native/chunks/{chunk-AVCMTWET.mjs → chunk-AOLLV37A.mjs} +1 -1
  62. package/dist/react-native/chunks/{chunk-VRI5XH2M.mjs → chunk-DN4FT62B.mjs} +16 -9
  63. package/dist/react-native/chunks/{chunk-VIO5IPF7.mjs → chunk-EF4Y5C3Y.mjs} +2 -2
  64. package/dist/react-native/chunks/{chunk-GS6LGXY3.mjs → chunk-ESVBC3AT.mjs} +1 -1
  65. package/dist/react-native/chunks/{chunk-4OOUY2K7.mjs → chunk-H6LK5WCF.mjs} +1 -1
  66. package/dist/react-native/chunks/{chunk-5MYHYBET.mjs → chunk-JEYZQA4Z.mjs} +384 -304
  67. package/dist/react-native/chunks/{chunk-XW6GZQWP.mjs → chunk-KJQ3BUVM.mjs} +4 -4
  68. package/dist/{chunk-DA32WXBT.mjs → react-native/chunks/chunk-QYVRD6C5.mjs} +2 -2
  69. package/dist/react-native/chunks/{chunk-Z44S6WW5.mjs → chunk-X3VY2YT4.mjs} +2 -2
  70. package/dist/{chunk-OETLM4EH.mjs → react-native/chunks/chunk-ZF3VSGEI.mjs} +1 -1
  71. package/dist/react-native/chunks/{msgpack-leaf-4MIGXWZT.mjs → msgpack-leaf-FOUPTT7J.mjs} +3 -3
  72. package/dist/react-native/chunks/{optional-writes-LZDHB7FX.mjs → optional-writes-MGFFGKYQ.mjs} +5 -5
  73. package/dist/react-native/chunks/{restore-queue-J7SB263E.mjs → restore-queue-MVJTP3E4.mjs} +7 -7
  74. package/dist/react-native/chunks/{segment-codec-leaf-PEKX7TBL.mjs → segment-codec-leaf-PSWHL55A.mjs} +5 -5
  75. package/dist/react-native/chunks/{segment-merge-leaf-I2EC7H6R.mjs → segment-merge-leaf-WOJWSDLW.mjs} +6 -6
  76. package/dist/react-native/chunks/{storage-leaf-RQXM7HBO.mjs → storage-leaf-ZUN6Y44X.mjs} +9 -9
  77. package/dist/react-native/chunks/{store-leaf-EZGCLSLM.mjs → store-leaf-K5XG46FV.mjs} +6 -6
  78. package/dist/react-native/chunks/{suggestions-leaf-JNGH2JYC.mjs → suggestions-leaf-KDPM3P27.mjs} +6 -6
  79. package/dist/react-native/chunks/{worker-copies-2OWLLBCV.mjs → worker-copies-FVFMBBH6.mjs} +5 -5
  80. package/dist/react-native/partial-words.mjs +4 -4
  81. package/dist/react-native/pattern.mjs +2 -2
  82. package/dist/react-native/query-suggestions.mjs +4 -4
  83. package/dist/react-native/sync.mjs +4 -4
  84. package/dist/react-native/synonyms.mjs +4 -4
  85. package/dist/{rerank-TQ4SU76L.mjs → rerank-3QEJNMFH.mjs} +4 -4
  86. package/dist/{restore-queue-W7U2X6V3.mjs → restore-queue-Q76Q4S35.mjs} +7 -7
  87. package/dist/{segment-codec-leaf-WGP4FBXF.mjs → segment-codec-leaf-BSDDR7DQ.mjs} +5 -5
  88. package/dist/{segment-merge-leaf-FYWJQSPL.mjs → segment-merge-leaf-6TT66HC5.mjs} +5 -5
  89. package/dist/server.mjs +20 -20
  90. package/dist/{storage-leaf-GRG44RQA.mjs → storage-leaf-R5JQ2X2M.mjs} +22 -22
  91. package/dist/{store-leaf-YDJVH73G.mjs → store-leaf-NCGETZYY.mjs} +6 -6
  92. package/dist/{suggestions-leaf-5UFJV7SC.mjs → suggestions-leaf-TX3GTD6S.mjs} +8 -8
  93. package/dist/sync/filesystem.mjs +9 -9
  94. package/dist/sync/indexeddb.browser.mjs +1 -1
  95. package/dist/sync/indexeddb.mjs +2 -2
  96. package/dist/sync.browser.mjs +4 -4
  97. package/dist/sync.mjs +4 -4
  98. package/dist/synonyms.browser.mjs +3 -3
  99. package/dist/synonyms.mjs +4 -4
  100. package/dist/{thread-6YLVL2NC.mjs → thread-VLVPAUWC.mjs} +13 -13
  101. package/dist/{worker-copies-IP4L7KEW.mjs → worker-copies-NZSBQZKG.mjs} +7 -7
  102. package/dist/workers/entry.mjs +10 -10
  103. package/package.json +5 -5
@@ -1,6 +1,6 @@
1
1
  import { MAX_MESSAGE_SIZE_BYTES } from './chunk-HZ3OAUTL.mjs';
2
2
  import { TransportError, TransportErrorCodes } from './chunk-5FLRXF73.mjs';
3
- import { decode } from './chunk-5GYGHPCH.mjs';
3
+ import { decode } from './chunk-Y7GXGJFZ.mjs';
4
4
  import { encode } from '@msgpack/msgpack';
5
5
 
6
6
  // src/distribution/transport/tcp/types.ts
@@ -6,24 +6,31 @@ function bindMsgpackHost(_host) {
6
6
  }
7
7
 
8
8
  // src/serialization/msgpack-header.ts
9
- function headerAt(view, offset) {
9
+ function headerOf(headerBytes, bodyBytes, children, into) {
10
+ if (into === void 0) return { headerBytes, bodyBytes, children };
11
+ into.headerBytes = headerBytes;
12
+ into.bodyBytes = bodyBytes;
13
+ into.children = children;
14
+ return into;
15
+ }
16
+ function headerAt(view, offset, into) {
10
17
  if (offset >= view.byteLength) return null;
11
18
  const tag = view.getUint8(offset);
12
- if (tag <= 127 || tag >= 224) return { headerBytes: 1, bodyBytes: 0, children: 0 };
13
- if (tag <= 143) return { headerBytes: 1, bodyBytes: 0, children: (tag & 15) * 2 };
14
- if (tag <= 159) return { headerBytes: 1, bodyBytes: 0, children: tag & 15 };
15
- if (tag <= 191) return { headerBytes: 1, bodyBytes: tag & 31, children: 0 };
19
+ if (tag <= 127 || tag >= 224) return headerOf(1, 0, 0, into);
20
+ if (tag <= 143) return headerOf(1, 0, (tag & 15) * 2, into);
21
+ if (tag <= 159) return headerOf(1, 0, tag & 15, into);
22
+ if (tag <= 191) return headerOf(1, tag & 31, 0, into);
16
23
  const lengthBytes = LENGTH_BYTES_BY_TAG.get(tag);
17
24
  if (lengthBytes !== void 0) {
18
25
  if (offset + 1 + lengthBytes > view.byteLength) return null;
19
26
  const length = lengthBytes === 1 ? view.getUint8(offset + 1) : lengthBytes === 2 ? view.getUint16(offset + 1, false) : view.getUint32(offset + 1, false);
20
27
  const headerBytes = 1 + lengthBytes;
21
- if (ARRAY_TAGS.has(tag)) return { headerBytes, bodyBytes: 0, children: length };
22
- if (MAP_TAGS.has(tag)) return { headerBytes, bodyBytes: 0, children: length * 2 };
23
- return { headerBytes, bodyBytes: length + (EXT_TAGS.has(tag) ? 1 : 0), children: 0 };
28
+ if (ARRAY_TAGS.has(tag)) return headerOf(headerBytes, 0, length, into);
29
+ if (MAP_TAGS.has(tag)) return headerOf(headerBytes, 0, length * 2, into);
30
+ return headerOf(headerBytes, length + (EXT_TAGS.has(tag) ? 1 : 0), 0, into);
24
31
  }
25
32
  const fixedBytes = FIXED_BODY_BYTES_BY_TAG.get(tag);
26
- return fixedBytes === void 0 ? null : { headerBytes: 1, bodyBytes: fixedBytes, children: 0 };
33
+ return fixedBytes === void 0 ? null : headerOf(1, fixedBytes, 0, into);
27
34
  }
28
35
  var LENGTH_BYTES_BY_TAG = /* @__PURE__ */ new Map([
29
36
  [196, 1],
@@ -1,9 +1,9 @@
1
1
  import { CHANGES_SUBPROTOCOL, SYNC_SUBPROTOCOL, encodeJson, SYNC_CLOSE_SERVER_ERROR, encodeScore } from './chunk-TACP6VK6.mjs';
2
- import { answerRefusalOf } from './chunk-NFA3WHJU.mjs';
3
- import { archiveRange, FEED_SOCKET_MAX_BACKPRESSURE_BYTES, FEED_SOCKET_MAX_PAYLOAD_BYTES } from './chunk-XWPNRHTG.mjs';
4
- import { DEFAULT_RERANK_WINDOW, readRecentMemoryFigures, readMemoryFigures } from './chunk-MS746XNY.mjs';
2
+ import { answerRefusalOf } from './chunk-ACNHJOGC.mjs';
3
+ import { archiveRange, FEED_SOCKET_MAX_BACKPRESSURE_BYTES, FEED_SOCKET_MAX_PAYLOAD_BYTES } from './chunk-LRIJ7U3T.mjs';
4
+ import { DEFAULT_RERANK_WINDOW, readRecentMemoryFigures, readMemoryFigures } from './chunk-WYH3QHBK.mjs';
5
5
  import { collectGarbageBeforeRefusal, collectYoungGenerationBeforeRefusal, reportRefusalAfterCollection, reservedHeapBytes, admitHeapBytes } from './chunk-2AFZE7Y3.mjs';
6
- import { MAX_FILTER_DEPTH } from './chunk-KQWTS7AM.mjs';
6
+ import { MAX_FILTER_DEPTH } from './chunk-4JLHHEBN.mjs';
7
7
  import { bindSignalStop } from './chunk-FJXJZUWF.mjs';
8
8
  import { HEAP_BLOCK_FRACTION_BELOW_V8_INEFFECTIVE_MARK_COMPACT_LINE } from './chunk-5EI5CXO6.mjs';
9
9
  import { DEFAULT_PAGE_SIZE, ANALYSIS_CHANGE_MEMBERS, MAX_SORT_FIELDS } from './chunk-3ECIRFS5.mjs';
@@ -1,5 +1,5 @@
1
- import { createNumericIndex, createBooleanIndex, createEnumIndex, createLoadedGeoIndex, rebuildSizeIndexes, requirePatternSearch, patternIndexOf } from './chunk-5MYHYBET.mjs';
2
- import { getFlatSchema, schemaFieldsOf, getNestedValue } from './chunk-AVCMTWET.mjs';
1
+ import { createNumericIndex, createBooleanIndex, createEnumIndex, createLoadedGeoIndex, rebuildSizeIndexes, requirePatternSearch, patternIndexOf } from './chunk-WYH3QHBK.mjs';
2
+ import { getFlatSchema, schemaFieldsOf, getNestedValue } from './chunk-EY5U4P5V.mjs';
3
3
 
4
4
  // src/core/partition/pattern-snapshot.ts
5
5
  function serializePatternIndexes(state, schema) {
@@ -1,4 +1,4 @@
1
- import { bindResponseStop, toHttpError, sendError, RELAY_STREAM_CHUNKS_IN_FLIGHT } from './chunk-4GCHJ3XD.mjs';
1
+ import { bindResponseStop, toHttpError, sendError, RELAY_STREAM_CHUNKS_IN_FLIGHT } from './chunk-YGRJLI2Z.mjs';
2
2
  import { rm } from 'fs/promises';
3
3
  import path from 'path';
4
4
 
package/dist/client.mjs CHANGED
@@ -1,5 +1,5 @@
1
- export { createNarsilClient } from './browser/chunk-Y5CSZDOH.mjs';
2
- export { ClientErrorCodes, ErrorCodes, NarsilError, ServerErrorCodes, isNarsilError } from './browser/chunk-WRRXR57N.mjs';
1
+ export { createNarsilClient } from './browser/chunk-VIVG3OXM.mjs';
2
+ export { ClientErrorCodes, ErrorCodes, NarsilError, ServerErrorCodes, isNarsilError } from './browser/chunk-VAPCFSMX.mjs';
3
3
 
4
4
  // src/server/capabilities.ts
5
5
  var ASYNC_IMPORT_CAPABILITY = "documents.import.async";
@@ -1,11 +1,11 @@
1
- export { createDirectExecutor } from './chunk-MS746XNY.mjs';
1
+ export { createDirectExecutor } from './chunk-WYH3QHBK.mjs';
2
2
  import './chunk-2CKDCC65.mjs';
3
3
  import './chunk-2AFZE7Y3.mjs';
4
- import './chunk-5GYGHPCH.mjs';
4
+ import './chunk-Y7GXGJFZ.mjs';
5
5
  import './chunk-BUMREPLU.mjs';
6
6
  import './chunk-7T4LAYT4.mjs';
7
- import './chunk-KQWTS7AM.mjs';
8
- import './chunk-4WQNWAQE.mjs';
7
+ import './chunk-4JLHHEBN.mjs';
8
+ import './chunk-EY5U4P5V.mjs';
9
9
  import './chunk-U2BKYEC7.mjs';
10
10
  import './chunk-FJXJZUWF.mjs';
11
11
  import './chunk-5EI5CXO6.mjs';
@@ -1,7 +1,7 @@
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 { decode } from '../../chunk-5GYGHPCH.mjs';
4
- import '../../chunk-4WQNWAQE.mjs';
3
+ import { decode } from '../../chunk-Y7GXGJFZ.mjs';
4
+ import '../../chunk-EY5U4P5V.mjs';
5
5
  import '../../chunk-ZXX5GZEX.mjs';
6
6
  import '../../chunk-4PY4JYMY.mjs';
7
7
  import { NarsilError, ErrorCodes, describeError } from '../../chunk-ZKOQR7EA.mjs';
@@ -1,9 +1,9 @@
1
- import { decodeTransportMessage, encodeTransportMessage } from '../../chunk-MIIJ5O3O.mjs';
1
+ import { decodeTransportMessage, encodeTransportMessage } from '../../chunk-X5V25BPN.mjs';
2
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-HZ3OAUTL.mjs';
4
4
  import { TransportError, TransportErrorCodes } from '../../chunk-5FLRXF73.mjs';
5
- import '../../chunk-5GYGHPCH.mjs';
6
- import '../../chunk-4WQNWAQE.mjs';
5
+ import '../../chunk-Y7GXGJFZ.mjs';
6
+ import '../../chunk-EY5U4P5V.mjs';
7
7
  import '../../chunk-ZXX5GZEX.mjs';
8
8
  import '../../chunk-4PY4JYMY.mjs';
9
9
  import { NarsilError, ErrorCodes } from '../../chunk-ZKOQR7EA.mjs';
@@ -1,9 +1,9 @@
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-MIIJ5O3O.mjs';
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-X5V25BPN.mjs';
2
2
  import { timeoutsOf, replyDeadlineMs } from '../../chunk-OIJ64LGT.mjs';
3
3
  import { MAX_MESSAGE_SIZE_BYTES, UNADDRESSABLE_TARGET_DETAIL } from '../../chunk-HZ3OAUTL.mjs';
4
4
  import { TransportError, TransportErrorCodes } from '../../chunk-5FLRXF73.mjs';
5
- import '../../chunk-5GYGHPCH.mjs';
6
- import '../../chunk-4WQNWAQE.mjs';
5
+ import '../../chunk-Y7GXGJFZ.mjs';
6
+ import '../../chunk-EY5U4P5V.mjs';
7
7
  import '../../chunk-ZXX5GZEX.mjs';
8
8
  import '../../chunk-4PY4JYMY.mjs';
9
9
  import '../../chunk-ZKOQR7EA.mjs';
@@ -1,45 +1,45 @@
1
- import { routableAllocation, resolvePartitionId, resolveNodeTargets, resolvePrimaryAssignment, requireAssignedPrimary, assertSufficientActiveReplicas, getInSyncReplicaTargets } from './chunk-Q4NLL66U.mjs';
2
- import { emptySerializablePartition } from './chunk-ATQ6JR3I.mjs';
3
- import { applyStoredIndexBm25 } from './chunk-OLXFIUIZ.mjs';
4
- import { keyBytesOf, querySuggestionsOf, createQuerySuggestionsRuntime, publicBuildOf, buildRecordToWire, buildRecordFromWire, SUGGESTIONS_SCHEMA } from './chunk-5E3TJ4P3.mjs';
5
- import { stampAnalysisGeneration, holdsNamedSettings, dropHeldAnalysisChange, releaseHeldAnalysisChange, heldAnalysisIsBuilt, buildHeldAnalysisChange, archiveStream, buildArchiveFromMemory, indexMetadataOf, applyIndexEntry, applyDeleteEntry, documentExportStream, followSourceChanges, requireChangesSetting, resolveAnalysisTarget, requireConfigurationWithinSizeLimit, memoryCheckpointStore, createByteReader, writeArchiveFile, namedSettingsOf, createDetachedIndex, loadPartitionSegments, changesStatusOf, holdsSettings, configOfNamedSettings, closePartitionWriter, requireRestoreMemory, archiveFootprint, storedBytesOfSegments, validateReplicationEntry, readSegmentManifest, replaySyncedWal, nestedSchemaOf } from './chunk-FOGTBAYN.mjs';
6
- import { readVectorFile } from './chunk-QJFKL4NK.mjs';
1
+ import { routableAllocation, resolvePartitionId, resolveNodeTargets, resolvePrimaryAssignment, requireAssignedPrimary, assertSufficientActiveReplicas, getInSyncReplicaTargets } from './chunk-EZJ6HBG7.mjs';
2
+ import { emptySerializablePartition } from './chunk-C57GWAXN.mjs';
3
+ import { applyStoredIndexBm25 } from './chunk-DZMD4OMD.mjs';
4
+ import { keyBytesOf, querySuggestionsOf, createQuerySuggestionsRuntime, publicBuildOf, buildRecordToWire, buildRecordFromWire, SUGGESTIONS_SCHEMA } from './chunk-DRZP5MSG.mjs';
5
+ import { stampAnalysisGeneration, holdsNamedSettings, dropHeldAnalysisChange, releaseHeldAnalysisChange, heldAnalysisIsBuilt, buildHeldAnalysisChange, archiveStream, buildArchiveFromMemory, indexMetadataOf, applyIndexEntry, applyDeleteEntry, documentExportStream, followSourceChanges, requireChangesSetting, resolveAnalysisTarget, requireConfigurationWithinSizeLimit, memoryCheckpointStore, createByteReader, writeArchiveFile, namedSettingsOf, createDetachedIndex, loadPartitionSegments, changesStatusOf, holdsSettings, configOfNamedSettings, closePartitionWriter, requireRestoreMemory, archiveFootprint, storedBytesOfSegments, validateReplicationEntry, readSegmentManifest, replaySyncedWal, nestedSchemaOf } from './chunk-BWPVDIRN.mjs';
6
+ import { readVectorFile } from './chunk-FE2XILWN.mjs';
7
7
  import { addBackgroundAdmission, workWaitingForMemory, resolveHybridFusion, fuseRankings } from './chunk-GXED6R3Q.mjs';
8
8
  import { UNADDRESSABLE_TARGET_DETAIL, MAX_MESSAGE_SIZE_BYTES } from './chunk-HZ3OAUTL.mjs';
9
- import { bindEngineWriteBlock, bindIndexReads, syncServingSourceOf, bindSyncServing, changesServingSourceOf, bindChangesServing, validateBackupConfig, BACKUP_SWEEP_INTERVAL_MS, bindWriteBlockLookup, backupKeys, validateBackupName, CHANGES_BACKUP_TAKER, BACKUP_MANIFEST_READS_AT_ONCE, storedFilesOf, decodeBackupManifest, BACKUP_JOBS_KEY, BACKUP_DELETES_AT_ONCE, BACKUP_PROGRESS_REPORT_INTERVAL_MS, BACKUP_PARTITION_RESULT_RETENTION_MS, BACKUP_JOB_POLL_INTERVAL_MS, BACKUP_FILES_AT_ONCE, isCount, storeWithoutSaveIfAbsent, CLUSTER_UUID_KEY, isSha256Hex, BACKUP_PUBLISH_RETRY_MS, isBackupTaker, readRestorePlacement, SYNC_BACKUP_TAKER, BACKUP_JOB_CAS_ATTEMPTS, BACKUP_JOB_CAS_RETRY_MS, MAX_CLUSTER_UUID_BYTES, MAX_FINISHED_BACKUP_JOBS, BACKUP_FILE_CHUNK_BYTES, encodeBackupManifest, SYNC_BACKUPS_KEPT, BACKUP_PARTITIONS_AT_ONCE, BACKUP_PARTITION_POLL_INTERVAL_MS, BACKUP_PRIMARY_WAIT_MS, readBackupPartition, readStoredFile } from './chunk-XGVSG6ZU.mjs';
10
- import { DEFAULT_NODE_LIFECYCLE_CONFIG, DEFAULT_CONTROLLER_CONFIG, indexMetadataSnapshotOf, getIndexMetadata, getClusterIndexConfig, withPartitionCount, readIndexMetadataSnapshot, validateIndexName, indexConfigKey, metadataWithSync, suggestionStateOfSettings, indexConfigFromSettings, metadataWithBm25, readIndexState, storeSynonymSet, deleteSynonymSet, indexSettingsOf, putIndexMetadata, isValidInteger, isRecord, HIDDEN_GENERATION_PREFIX, isRecord2, decodeIndexSettings, metadataWithSynonymSet, RESHARD_RECORD_CAS_ATTEMPTS, indexUuidOfStoredMetadata, storedSynonymSetOf, RESHARD_FORWARD_BATCH_DOCUMENTS, RESHARD_RETRY_DELAY_MS, TEARDOWN_CAS_ATTEMPTS, RESHARD_RECORD_CHECK_INTERVAL_MS, RESHARD_POLL_INTERVAL_MS, ALLOCATION_RETRY_DELAY_MS, TEARDOWN_RETRY_ROUNDS, ANALYSIS_CHANGE_RETRY_MS, putIndexReplicationFactor, ALLOCATION_CAS_ATTEMPTS, TEARDOWN_RETRY_DELAY_MS, RESHARD_CONTROLLER_POLL_INTERVAL_MS, MAX_RESHARD_CUTOVER_ATTEMPTS, ANALYSIS_CHANGE_POLL_INTERVAL_MS, RECOVERY_CAS_ATTEMPTS, ESTIMATED_PARTITION_BYTES, REBALANCE_THRESHOLD, putGenerationMetadata, RESHARD_CUTOVER_LAG_ENTRIES, ANALYSIS_REBUILD_RESEND_MS, RESHARD_CUTOVER_TIMEOUT_MS, PARTITION_STORES_TIMEOUT_MS, SYNC_EPOCH_CAS_ATTEMPTS, syncSettingsOfSnapshot, epochFeaturesOn, LEADERSHIP_IMBALANCE_THRESHOLD, BOOTSTRAP_CAS_ATTEMPTS, metadataWithSuggestionState, UNFED_REPLICA_CHECK_INTERVAL_MS, UNFED_REPLICA_RESYNC_MS } from './chunk-BBIAUHAB.mjs';
9
+ import { bindEngineWriteBlock, bindIndexReads, syncServingSourceOf, bindSyncServing, changesServingSourceOf, bindChangesServing, validateBackupConfig, BACKUP_SWEEP_INTERVAL_MS, bindWriteBlockLookup, backupKeys, validateBackupName, CHANGES_BACKUP_TAKER, BACKUP_MANIFEST_READS_AT_ONCE, storedFilesOf, decodeBackupManifest, BACKUP_JOBS_KEY, BACKUP_DELETES_AT_ONCE, BACKUP_PROGRESS_REPORT_INTERVAL_MS, BACKUP_PARTITION_RESULT_RETENTION_MS, BACKUP_JOB_POLL_INTERVAL_MS, BACKUP_FILES_AT_ONCE, isCount, storeWithoutSaveIfAbsent, CLUSTER_UUID_KEY, isSha256Hex, BACKUP_PUBLISH_RETRY_MS, isBackupTaker, readRestorePlacement, SYNC_BACKUP_TAKER, BACKUP_JOB_CAS_ATTEMPTS, BACKUP_JOB_CAS_RETRY_MS, MAX_CLUSTER_UUID_BYTES, MAX_FINISHED_BACKUP_JOBS, BACKUP_FILE_CHUNK_BYTES, encodeBackupManifest, SYNC_BACKUPS_KEPT, BACKUP_PARTITIONS_AT_ONCE, BACKUP_PARTITION_POLL_INTERVAL_MS, BACKUP_PRIMARY_WAIT_MS, readBackupPartition, readStoredFile } from './chunk-SPA7GXST.mjs';
10
+ import { DEFAULT_NODE_LIFECYCLE_CONFIG, DEFAULT_CONTROLLER_CONFIG, indexMetadataSnapshotOf, getIndexMetadata, getClusterIndexConfig, withPartitionCount, readIndexMetadataSnapshot, validateIndexName, indexConfigKey, metadataWithSync, suggestionStateOfSettings, indexConfigFromSettings, metadataWithBm25, readIndexState, storeSynonymSet, deleteSynonymSet, indexSettingsOf, putIndexMetadata, isValidInteger, isRecord, HIDDEN_GENERATION_PREFIX, isRecord2, decodeIndexSettings, metadataWithSynonymSet, RESHARD_RECORD_CAS_ATTEMPTS, indexUuidOfStoredMetadata, storedSynonymSetOf, RESHARD_FORWARD_BATCH_DOCUMENTS, RESHARD_RETRY_DELAY_MS, TEARDOWN_CAS_ATTEMPTS, RESHARD_RECORD_CHECK_INTERVAL_MS, RESHARD_POLL_INTERVAL_MS, ALLOCATION_RETRY_DELAY_MS, TEARDOWN_RETRY_ROUNDS, ANALYSIS_CHANGE_RETRY_MS, putIndexReplicationFactor, ALLOCATION_CAS_ATTEMPTS, TEARDOWN_RETRY_DELAY_MS, RESHARD_CONTROLLER_POLL_INTERVAL_MS, MAX_RESHARD_CUTOVER_ATTEMPTS, ANALYSIS_CHANGE_POLL_INTERVAL_MS, RECOVERY_CAS_ATTEMPTS, ESTIMATED_PARTITION_BYTES, REBALANCE_THRESHOLD, putGenerationMetadata, RESHARD_CUTOVER_LAG_ENTRIES, ANALYSIS_REBUILD_RESEND_MS, RESHARD_CUTOVER_TIMEOUT_MS, PARTITION_STORES_TIMEOUT_MS, SYNC_EPOCH_CAS_ATTEMPTS, syncSettingsOfSnapshot, epochFeaturesOn, LEADERSHIP_IMBALANCE_THRESHOLD, BOOTSTRAP_CAS_ATTEMPTS, metadataWithSuggestionState, UNFED_REPLICA_CHECK_INTERVAL_MS, UNFED_REPLICA_RESYNC_MS } from './chunk-6LVQ3GLT.mjs';
11
11
  import './chunk-4H4RG2FR.mjs';
12
- import { MAX_WAIT_FOR_ACTIVE_REPLICAS, MIN_CONTROLLER_LEASE_TTL_MS, MAX_NODE_LEFT_DELAY_MS, DEFAULT_MAX_PER_SOURCE_SNAPSHOTS, DEFAULT_MAX_STREAMS_PER_INDEX, DEFAULT_CAPACITY, CATCH_UP_TICK_MS, MEMORY_SAMPLE_INTERVAL_MS, createWritePressure, WRITE_MEMORY_SAMPLE_MAX_AGE_MS, DEFAULT_IN_FLIGHT_WRITE_FRACTION, MAX_SETTINGS_REPLACEMENT_ATTEMPTS, SETTINGS_CONTENTION_REASON, MAX_DROP_ACKNOWLEDGE_WAIT_MS, DEFAULT_PARTITION_COUNT, DEFAULT_REPLICATION_FACTOR, DEFAULT_CREATE_INDEX_WAIT_MS, DEFAULT_BOOTSTRAP_SYNC_DEADLINE_MS, DROP_ACKNOWLEDGE_POLL_INTERVAL_MS, COORDINATOR_REQUEST_BUCKET_BOUNDS_SECONDS, COPY_FAILURE_ATTEMPTS, SEARCH_CONTEXT_REAPER_INTERVAL_MS, DECOMMISSION_RECHECK_INTERVAL_MS, refuseEncodeWithoutRoom, answerRefusalOf, withAdmittedWrite, estimateForwardedBytes, PARTITION_BYTES_INDEX_OVERHEAD_BYTES, MAX_SOURCE_ID_LENGTH, ADMISSION_TIMEOUT_MS, PARTITION_BYTES_ENTRY_BYTES, PARTITION_BYTES_REPORT_BUDGET_BYTES, CATCH_UP_FEED_WINDOW_MS, MAX_CATCH_UP_IN_FLIGHT_BYTES, SYNCED_POSITION_REPORT_TIMEOUT_MS, SNAPSHOT_CHUNK_YIELD_INTERVAL_MS, ANSWER_DECODE_HEAP_BYTES_PER_PAYLOAD_BYTE, ADMISSION_RETRIES_AFTER_IN_SYNC_CHANGE, REGISTRATION_LEASE_DRIFT_SHARE, REGISTRATION_LEASE_CONFIRM_TIMEOUT_MS, WRITE_APPLY_YIELD_INTERVAL_MS, ROLLBACK_RETRY_INITIAL_DELAY_MS, ROLLBACK_RETRY_DELAY_CAP_MS, OUT_OF_STEP_REMOVAL_RETRY_INITIAL_DELAY_MS, OUT_OF_STEP_REMOVAL_RETRY_DELAY_CAP_MS, FETCH_GROUP_DOCUMENT_IDS, COPY_FAILURE_RETRY_DELAY_MS, SEARCH_CONTEXT_ENTRY_HEAP_BYTES, CLEAR_PAGE_SIZE, estimateDocumentsBytes, estimateDocumentBytes, PRIMARY_CHANGE_RETRY_WINDOW_MS, PRIMARY_CHANGE_POLL_INTERVAL_MS, PARTITION_WRITE_CONCURRENCY, FORWARD_RETRY_INITIAL_DELAY_MS, FORWARD_RETRY_DELAY_CAP_MS } from './chunk-NFA3WHJU.mjs';
13
- export { DEFAULT_CAPACITY, DEFAULT_PARTITION_COUNT, DEFAULT_REPLICATION_FACTOR } from './chunk-NFA3WHJU.mjs';
14
- import { encodeIndexConfiguration, MAX_SNAPSHOT_ANALYSIS_ATTEMPTS, decodeIndexConfiguration, requireSyncSetting, requireNoQuerySuggestions, validChangeFilter, createDocumentTest, INDEX_CONFIGURATION_ENVELOPE_VERSION, changesNotEnabled } from './chunk-SSITKQU6.mjs';
12
+ import { MAX_WAIT_FOR_ACTIVE_REPLICAS, MIN_CONTROLLER_LEASE_TTL_MS, MAX_NODE_LEFT_DELAY_MS, DEFAULT_MAX_PER_SOURCE_SNAPSHOTS, DEFAULT_MAX_STREAMS_PER_INDEX, DEFAULT_CAPACITY, CATCH_UP_TICK_MS, MEMORY_SAMPLE_INTERVAL_MS, createWritePressure, WRITE_MEMORY_SAMPLE_MAX_AGE_MS, DEFAULT_IN_FLIGHT_WRITE_FRACTION, MAX_SETTINGS_REPLACEMENT_ATTEMPTS, SETTINGS_CONTENTION_REASON, MAX_DROP_ACKNOWLEDGE_WAIT_MS, DEFAULT_PARTITION_COUNT, DEFAULT_REPLICATION_FACTOR, DEFAULT_CREATE_INDEX_WAIT_MS, DEFAULT_BOOTSTRAP_SYNC_DEADLINE_MS, DROP_ACKNOWLEDGE_POLL_INTERVAL_MS, COORDINATOR_REQUEST_BUCKET_BOUNDS_SECONDS, COPY_FAILURE_ATTEMPTS, SEARCH_CONTEXT_REAPER_INTERVAL_MS, DECOMMISSION_RECHECK_INTERVAL_MS, refuseEncodeWithoutRoom, answerRefusalOf, withAdmittedWrite, estimateForwardedBytes, PARTITION_BYTES_INDEX_OVERHEAD_BYTES, MAX_SOURCE_ID_LENGTH, ADMISSION_TIMEOUT_MS, PARTITION_BYTES_ENTRY_BYTES, PARTITION_BYTES_REPORT_BUDGET_BYTES, CATCH_UP_FEED_WINDOW_MS, MAX_CATCH_UP_IN_FLIGHT_BYTES, SYNCED_POSITION_REPORT_TIMEOUT_MS, SNAPSHOT_CHUNK_YIELD_INTERVAL_MS, ANSWER_DECODE_HEAP_BYTES_PER_PAYLOAD_BYTE, ADMISSION_RETRIES_AFTER_IN_SYNC_CHANGE, REGISTRATION_LEASE_DRIFT_SHARE, REGISTRATION_LEASE_CONFIRM_TIMEOUT_MS, WRITE_APPLY_YIELD_INTERVAL_MS, ROLLBACK_RETRY_INITIAL_DELAY_MS, ROLLBACK_RETRY_DELAY_CAP_MS, OUT_OF_STEP_REMOVAL_RETRY_INITIAL_DELAY_MS, OUT_OF_STEP_REMOVAL_RETRY_DELAY_CAP_MS, FETCH_GROUP_DOCUMENT_IDS, COPY_FAILURE_RETRY_DELAY_MS, SEARCH_CONTEXT_ENTRY_HEAP_BYTES, CLEAR_PAGE_SIZE, estimateDocumentsBytes, estimateDocumentBytes, PRIMARY_CHANGE_RETRY_WINDOW_MS, PRIMARY_CHANGE_POLL_INTERVAL_MS, PARTITION_WRITE_CONCURRENCY, FORWARD_RETRY_INITIAL_DELAY_MS, FORWARD_RETRY_DELAY_CAP_MS } from './chunk-ACNHJOGC.mjs';
13
+ export { DEFAULT_CAPACITY, DEFAULT_PARTITION_COUNT, DEFAULT_REPLICATION_FACTOR } from './chunk-ACNHJOGC.mjs';
14
+ import { encodeIndexConfiguration, MAX_SNAPSHOT_ANALYSIS_ATTEMPTS, decodeIndexConfiguration, requireSyncSetting, requireNoQuerySuggestions, validChangeFilter, createDocumentTest, INDEX_CONFIGURATION_ENVELOPE_VERSION, changesNotEnabled } from './chunk-PNFP5THV.mjs';
15
15
  import { restoredConfigFields, restoredEmbedding } from './chunk-M2Z5WVWW.mjs';
16
- import { readSnapshotArchive, archiveLayout, openManifestPayload, sourceIndexNameOf, listedKeysOf, decodeManifestPayload, estimatedArchiveBytes } from './chunk-XWPNRHTG.mjs';
16
+ import { readSnapshotArchive, archiveLayout, openManifestPayload, sourceIndexNameOf, listedKeysOf, decodeManifestPayload, estimatedArchiveBytes } from './chunk-LRIJ7U3T.mjs';
17
17
  import { CONTROLLER_LEASE_KEY } from './chunk-44W3CBNG.mjs';
18
18
  import './chunk-T4HMSZCX.mjs';
19
- import { createForwardBatchResultMessage, validateEntryBatchPayload, createAckMessage, validateEntryPayload, validateForwardBatchPayload, DEFAULT_LOG_RETENTION_BYTES, buildEntry, optionalIndexUuid, entryByteEstimate, computeEntryChecksum, createPrimaryResignMessage, validateInsyncConfirmPayload, createInsyncRemoveMessage, SNAPSHOT_CHUNK_SIZE, createEntryBatchMessage, createInsyncConfirmMessage, createEntryMessage, validateAckPayload, createInsyncAddMessage, checkpointLastSeqNo, checkpointPrimaryTerm, INSYNC_CAS_ATTEMPTS, createForwardBatchMessage, validateForwardBatchResultPayload, createForwardMessage } from './chunk-H6LWGMPQ.mjs';
20
- import { directoryCheckpointStore, readListedFile, encodeSegmentManifest } from './chunk-EALKCTWH.mjs';
19
+ import { createForwardBatchResultMessage, validateEntryBatchPayload, createAckMessage, validateEntryPayload, validateForwardBatchPayload, DEFAULT_LOG_RETENTION_BYTES, buildEntry, optionalIndexUuid, entryByteEstimate, computeEntryChecksum, createPrimaryResignMessage, validateInsyncConfirmPayload, createInsyncRemoveMessage, SNAPSHOT_CHUNK_SIZE, createEntryBatchMessage, createInsyncConfirmMessage, createEntryMessage, validateAckPayload, createInsyncAddMessage, checkpointLastSeqNo, checkpointPrimaryTerm, INSYNC_CAS_ATTEMPTS, createForwardBatchMessage, validateForwardBatchResultPayload, createForwardMessage } from './chunk-6SIEVWMG.mjs';
20
+ import { directoryCheckpointStore, readListedFile, encodeSegmentManifest } from './chunk-H23FB267.mjs';
21
21
  import { TransportErrorCodes, ClusterMessageTypes, ReplicationMessageTypes, SuggestionMessageTypes, SyncMessageTypes, QueryMessageTypes, TransportError, DEFAULT_TRANSPORT_CONFIG } from './chunk-5FLRXF73.mjs';
22
22
  import { MAX_PARTITION_COUNT, MAX_REPLICATION_FACTOR, WIRE_BATCH_BUDGET } from './chunk-JDDXV6UF.mjs';
23
- import { manifestFileRefs, segmentKey, SEGMENT_MANIFEST_VERSION, vectorFileKey } from './chunk-TANKI7TG.mjs';
23
+ import { manifestFileRefs, segmentKey, SEGMENT_MANIFEST_VERSION, vectorFileKey } from './chunk-GTGQLCEI.mjs';
24
24
  import './chunk-S5QMWECL.mjs';
25
25
  import './chunk-LNGE7SLY.mjs';
26
- import './chunk-OETLM4EH.mjs';
27
- import './chunk-VHIOGDVD.mjs';
28
- import { deserializePartition } from './chunk-DA32WXBT.mjs';
26
+ import './chunk-5SHWA6PE.mjs';
27
+ import './chunk-PQWK7KXS.mjs';
28
+ import { deserializePartition } from './chunk-ZO7VLAIT.mjs';
29
29
  import { decodeVectorFilePayload, bytesToVectors, isDead, MIN_EF_SEARCH, MAX_EF_SEARCH, MIN_OVERSAMPLE } from './chunk-R724DJSG.mjs';
30
- import './chunk-YHZSSPG3.mjs';
31
- import { RestoredHistory } from './chunk-KX3OP6VP.mjs';
30
+ import './chunk-KXA77DPZ.mjs';
31
+ import { RestoredHistory } from './chunk-4YIVY3PB.mjs';
32
32
  import { oneSyncChangeAtATime } from './chunk-V6EUBAIT.mjs';
33
- import { historyFilesOf, removeHistoryFolder, QUERY_HISTORY_FOLDER, RESTORE_STAGING_INFIX, openChecksummedEnvelope, historyFolderOf, listHistoryFolder, historyFileOf, COUNTS_STREAM_CHUNK_BYTES, BUILD_WRITE_BATCH, restoreStagingPrefix, crc32Init, crc32Final, crc32Update, MAX_COUNTS_STREAM_KEY_BYTES, MAX_HISTORY_FILE_BYTES, packChecksummedEnvelope, storedStateOf } from './chunk-WIT6B5OB.mjs';
33
+ import { historyFilesOf, removeHistoryFolder, QUERY_HISTORY_FOLDER, RESTORE_STAGING_INFIX, openChecksummedEnvelope, historyFolderOf, listHistoryFolder, historyFileOf, COUNTS_STREAM_CHUNK_BYTES, BUILD_WRITE_BATCH, restoreStagingPrefix, crc32Init, crc32Final, crc32Update, MAX_COUNTS_STREAM_KEY_BYTES, MAX_HISTORY_FILE_BYTES, packChecksummedEnvelope, storedStateOf } from './chunk-G3KVEHIW.mjs';
34
34
  import { boundQuerySuggestionsOf, bindQuerySuggestions } from './chunk-S2POFTLN.mjs';
35
- import { oversampledShardSize, runtimeHost, bindRerankWindowSource, rerankWindowCapOf, validateMemoryFractions, requireKnownConfig, importOptionalReads, resolveRunnableConfig, createEngineCore, startEngineCore, createNarsilFromCore, runEngineQueryStats, runEngineListDocuments, runEngineSuggest, runEnginePreflight, runEngineQuery, emitEngineEvent, synonymModule, createEngineIndex, generateId, documentChurnOf, isCompositePartition, getLanguage, resolveIndexAnalysis, memoryFractionsOf, createMemoryMonitor, readMemoryFigures, FULL_MEMORY_COLLECTION_INTERVAL_MS, validateBM25Params, storedBM25Params, requireSurfaceFormsForPartialFields, bm25SetsValue, prepareConfiguredSynonyms, storedArrayPositionGap, updateDocumentVectors, arrayPositionsAreStale, fnv1a, readRecentMemoryFigures, normalizeSort, sortModesOf, resolveProjection, noteDocumentChurn, MAP_TABLE_MIN_CAPACITY, MAP_TABLE_SHRINK_DIVISOR, requireLoadedOptionalReads, applyProjection, FILTER_EXPRESSION_KEYS, filterTestCount, setNestedValue, validateBM25Shape, CASE_FOLD_EXPANSION_FACTOR, PATTERN_RUN_HEAP_BYTES, ENUM_VALUE_HEAP_BYTES, DOCUMENT_VALUE_HEAP_BYTES, DOCUMENT_HEAP_BYTES_PER_ESTIMATED_BYTE, DOCUMENT_PROPERTY_HEAP_BYTES, VECTOR_DOCUMENT_HEAP_BYTES, VECTOR_COMPONENT_HEAP_BYTES, hasLanguage, FIELD_FILTER_OPERATORS, yieldToEventLoop, NORMALIZATION_EXPANSION_FACTOR, TERM_UNIT_HEAP_BYTES, customTokensOf, visitTokens, getVectorFieldPaths, resolvePartitionInsertOptions, clampRowCount, now, sortSignatureOf, listBindingOf, requireMatchingCursor, decodePageCursor, encodePageCursor, DISTINCT_TERM_HEAP_BYTES, PARTIAL_SPELLING_HEAP_BYTES, clampLimit, requireWithinResultWindow, providedDocId, MAP_TABLE_HEADER_BYTES, MAP_TABLE_SLOT_BYTES, holdsQuotedText, queryBindingOf, engineCoreOf, sortSignatureEntry, fnv1aUint32s, loadRerankRuntime, mergePartitionStats, mergeEntries, regionsOverlap, compareScores } from './chunk-MS746XNY.mjs';
35
+ import { oversampledShardSize, runtimeHost, bindRerankWindowSource, rerankWindowCapOf, validateMemoryFractions, requireKnownConfig, importOptionalReads, resolveRunnableConfig, createEngineCore, startEngineCore, createNarsilFromCore, runEngineQueryStats, runEngineListDocuments, runEngineSuggest, runEnginePreflight, runEngineQuery, emitEngineEvent, synonymModule, createEngineIndex, generateId, documentChurnOf, isCompositePartition, getLanguage, resolveIndexAnalysis, memoryFractionsOf, createMemoryMonitor, readMemoryFigures, FULL_MEMORY_COLLECTION_INTERVAL_MS, validateBM25Params, storedBM25Params, requireSurfaceFormsForPartialFields, bm25SetsValue, prepareConfiguredSynonyms, storedArrayPositionGap, updateDocumentVectors, arrayPositionsAreStale, fnv1a, readRecentMemoryFigures, normalizeSort, sortModesOf, resolveProjection, noteDocumentChurn, MAP_TABLE_MIN_CAPACITY, MAP_TABLE_SHRINK_DIVISOR, requireLoadedOptionalReads, applyProjection, FILTER_EXPRESSION_KEYS, filterTestCount, setNestedValue, validateBM25Shape, CASE_FOLD_EXPANSION_FACTOR, PATTERN_RUN_HEAP_BYTES, ENUM_VALUE_HEAP_BYTES, DOCUMENT_VALUE_HEAP_BYTES, DOCUMENT_HEAP_BYTES_PER_ESTIMATED_BYTE, DOCUMENT_PROPERTY_HEAP_BYTES, VECTOR_DOCUMENT_HEAP_BYTES, VECTOR_COMPONENT_HEAP_BYTES, hasLanguage, FIELD_FILTER_OPERATORS, yieldToEventLoop, NORMALIZATION_EXPANSION_FACTOR, TERM_UNIT_HEAP_BYTES, customTokensOf, visitTokens, getVectorFieldPaths, resolvePartitionInsertOptions, clampRowCount, now, sortSignatureOf, listBindingOf, requireMatchingCursor, decodePageCursor, encodePageCursor, DISTINCT_TERM_HEAP_BYTES, PARTIAL_SPELLING_HEAP_BYTES, clampLimit, requireWithinResultWindow, providedDocId, MAP_TABLE_HEADER_BYTES, MAP_TABLE_SLOT_BYTES, holdsQuotedText, queryBindingOf, engineCoreOf, sortSignatureEntry, fnv1aUint32s, loadRerankRuntime, mergePartitionStats, mergeEntries, regionsOverlap, compareScores } from './chunk-WYH3QHBK.mjs';
36
36
  import { encodeDocument, encodeDocumentReply } from './chunk-2CKDCC65.mjs';
37
37
  import { collectYoungGenerationBeforeRefusal, collectGarbageBeforeRefusal, onRefusalAfterCollection, reservedHeapBytes, reserveHeapBytes } from './chunk-2AFZE7Y3.mjs';
38
- import { decode } from './chunk-5GYGHPCH.mjs';
38
+ import { decode } from './chunk-Y7GXGJFZ.mjs';
39
39
  import { newSyncEpoch } from './chunk-BUMREPLU.mjs';
40
40
  import './chunk-7T4LAYT4.mjs';
41
- import { MAX_FILTER_DEPTH, MAX_FILTER_TESTS, isPatternTolerance, MAX_FILTER_ARRAY_SIZE, buildStoredValues } from './chunk-KQWTS7AM.mjs';
42
- import { loadMessagePack, validateSchema, requireCreatableSchema, schemaFieldsOf, getNestedValue, MAX_NESTING_DEPTH, MAX_STORED_VECTOR_DIMENSION, MIN_POLYGON_POINTS, isLatitude, MAX_LATITUDE_DEGREES, isLongitude, MAX_LONGITUDE_DEGREES } from './chunk-4WQNWAQE.mjs';
41
+ import { MAX_FILTER_DEPTH, MAX_FILTER_TESTS, isPatternTolerance, MAX_FILTER_ARRAY_SIZE, buildStoredValues } from './chunk-4JLHHEBN.mjs';
42
+ import { loadMessagePack, validateSchema, requireCreatableSchema, schemaFieldsOf, getNestedValue, MAX_NESTING_DEPTH, MAX_STORED_VECTOR_DIMENSION, MIN_POLYGON_POINTS, isLatitude, MAX_LATITUDE_DEGREES, isLongitude, MAX_LONGITUDE_DEGREES } from './chunk-EY5U4P5V.mjs';
43
43
  import './chunk-U2BKYEC7.mjs';
44
44
  import { shardEntryRangeOf } from './chunk-FJXJZUWF.mjs';
45
45
  import { collectAndReturnPages } from './chunk-5EI5CXO6.mjs';
@@ -16054,7 +16054,7 @@ async function openOnce(core, indexName, partitionId) {
16054
16054
  if (directory === void 0) throw durabilityRequired(indexName, partitionId);
16055
16055
  if ((checkpoint.manifest.analysisGeneration ?? 0) !== entry.analysisGeneration) return null;
16056
16056
  const config = await encodeIndexConfiguration(entry);
16057
- const { openPagedPartitionArchive } = await import('./paged-partition-archive-Y5OAKNRB.mjs');
16057
+ const { openPagedPartitionArchive } = await import('./paged-partition-archive-BKQADXOT.mjs');
16058
16058
  const archive = await openPagedPartitionArchive(checkpoint, directory, indexName, partitionId, manager);
16059
16059
  handedOver = true;
16060
16060
  try {
@@ -16769,7 +16769,7 @@ async function archiveReplicationPartition(core, indexName, partitionId, lastSeq
16769
16769
  );
16770
16770
  }
16771
16771
  try {
16772
- const { openPagedPartitionArchive } = await import('./paged-partition-archive-Y5OAKNRB.mjs');
16772
+ const { openPagedPartitionArchive } = await import('./paged-partition-archive-BKQADXOT.mjs');
16773
16773
  const archive = await openPagedPartitionArchive(checkpoint2, directory, indexName, partitionId, manager);
16774
16774
  return {
16775
16775
  stream: archiveStream({ ...archive, config, sourceIndexName: indexName }),
@@ -16984,7 +16984,7 @@ async function restoreReplicationPartition(core, engine, indexName, partitionId,
16984
16984
  if (directory !== null) {
16985
16985
  const durable = core.durability?.manager;
16986
16986
  await (durable?.checkpointFromMemory?.(indexName) ?? durable?.checkpoint(indexName));
16987
- const { removeReceivedFilesNothingReads } = await import('./paged-partition-archive-Y5OAKNRB.mjs');
16987
+ const { removeReceivedFilesNothingReads } = await import('./paged-partition-archive-BKQADXOT.mjs');
16988
16988
  await removeReceivedFilesNothingReads(
16989
16989
  directory,
16990
16990
  core.requireManager(indexName),
@@ -20840,7 +20840,7 @@ async function queryCluster(deps, indexName, params, settingName) {
20840
20840
  (reader) => searchCluster(deps, indexName, settingName, params, allocation, reader, false)
20841
20841
  );
20842
20842
  }
20843
- const { rerankClusterQuery } = await import('./rerank-TQ4SU76L.mjs');
20843
+ const { rerankClusterQuery } = await import('./rerank-3QEJNMFH.mjs');
20844
20844
  return withRankedReader(
20845
20845
  deps,
20846
20846
  indexName,
@@ -1,4 +1,4 @@
1
- export { VERSION, clearNormalizationCache, configureNormalizationCache, createNarsil, getLanguage, getNormalizationCacheSize, getStopWords, getTokenizer, hasStopWords, hasTokenizer, isSimdAvailable, registerLanguage, registerPartialWordSearch, registerPatternSearch, registerStopWords, registerSynonyms, registerTokenizer, resetNormalizationCache } from './browser/chunk-DPRCAVC2.mjs';
2
- import './browser/chunk-XBWABEL3.mjs';
1
+ export { VERSION, clearNormalizationCache, configureNormalizationCache, createNarsil, getLanguage, getNormalizationCacheSize, getStopWords, getTokenizer, hasStopWords, hasTokenizer, isSimdAvailable, registerLanguage, registerPartialWordSearch, registerPatternSearch, registerStopWords, registerSynonyms, registerTokenizer, resetNormalizationCache } from './browser/chunk-EKISQBV2.mjs';
2
+ import './browser/chunk-56UNHLAF.mjs';
3
3
  import './browser/chunk-YJHGOJAC.mjs';
4
- export { ClientErrorCodes, ErrorCodes, NarsilError, ServerErrorCodes, isNarsilError } from './browser/chunk-WRRXR57N.mjs';
4
+ export { ClientErrorCodes, ErrorCodes, NarsilError, ServerErrorCodes, isNarsilError } from './browser/chunk-VAPCFSMX.mjs';
package/dist/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
- export { VERSION, clearNormalizationCache, configureNormalizationCache, createNarsil, getLanguage, getNormalizationCacheSize, getStopWords, getTokenizer, hasStopWords, hasTokenizer, isSimdAvailable, registerLanguage, registerPartialWordSearch, registerPatternSearch, registerStopWords, registerSynonyms, registerTokenizer, resetNormalizationCache } from './chunk-MS746XNY.mjs';
1
+ export { VERSION, clearNormalizationCache, configureNormalizationCache, createNarsil, getLanguage, getNormalizationCacheSize, getStopWords, getTokenizer, hasStopWords, hasTokenizer, isSimdAvailable, registerLanguage, registerPartialWordSearch, registerPatternSearch, registerStopWords, registerSynonyms, registerTokenizer, resetNormalizationCache } from './chunk-WYH3QHBK.mjs';
2
2
  import './chunk-2CKDCC65.mjs';
3
3
  import './chunk-2AFZE7Y3.mjs';
4
- import './chunk-5GYGHPCH.mjs';
4
+ import './chunk-Y7GXGJFZ.mjs';
5
5
  import './chunk-BUMREPLU.mjs';
6
6
  import './chunk-7T4LAYT4.mjs';
7
- import './chunk-KQWTS7AM.mjs';
8
- import './chunk-4WQNWAQE.mjs';
7
+ import './chunk-4JLHHEBN.mjs';
8
+ import './chunk-EY5U4P5V.mjs';
9
9
  import './chunk-U2BKYEC7.mjs';
10
10
  import './chunk-FJXJZUWF.mjs';
11
11
  import './chunk-5EI5CXO6.mjs';
@@ -1,12 +1,12 @@
1
- export { VERSION, clearNormalizationCache, configureNormalizationCache, createNarsil, getLanguage, getNormalizationCacheSize, getStopWords, getTokenizer, hasStopWords, hasTokenizer, isSimdAvailable, registerLanguage, registerPartialWordSearch, registerPatternSearch, registerStopWords, registerSynonyms, registerTokenizer, resetNormalizationCache } from './react-native/chunks/chunk-5MYHYBET.mjs';
1
+ export { VERSION, clearNormalizationCache, configureNormalizationCache, createNarsil, getLanguage, getNormalizationCacheSize, getStopWords, getTokenizer, hasStopWords, hasTokenizer, isSimdAvailable, registerLanguage, registerPartialWordSearch, registerPatternSearch, registerStopWords, registerSynonyms, registerTokenizer, resetNormalizationCache } from './react-native/chunks/chunk-JEYZQA4Z.mjs';
2
2
  import './react-native/chunks/chunk-HQEVQEDJ.mjs';
3
3
  import './react-native/chunks/chunk-AKRYHAVG.mjs';
4
4
  import './react-native/chunks/chunk-LX62Y4B5.mjs';
5
- import './react-native/chunks/chunk-GS6LGXY3.mjs';
5
+ import './react-native/chunks/chunk-ESVBC3AT.mjs';
6
6
  import './react-native/chunks/chunk-UYKIV2KT.mjs';
7
7
  import './react-native/chunks/chunk-CW2ZFXSE.mjs';
8
- import './react-native/chunks/chunk-VRI5XH2M.mjs';
9
- import './react-native/chunks/chunk-AVCMTWET.mjs';
8
+ import './react-native/chunks/chunk-DN4FT62B.mjs';
9
+ import './react-native/chunks/chunk-AOLLV37A.mjs';
10
10
  import './react-native/chunks/chunk-HRDMIQ63.mjs';
11
11
  import './react-native/chunks/chunk-VUJCSQG5.mjs';
12
12
  export { ClientErrorCodes, ErrorCodes, NarsilError, ServerErrorCodes, isNarsilError } from './react-native/chunks/chunk-43R4GCM7.mjs';
@@ -1,26 +1,26 @@
1
- import { createRelayClient, createThreadReadEngine, searchHandler, isLongQueryPortNote } from './chunk-TI4G3SIG.mjs';
2
- import { answerRequest } from './chunk-W3JH2IK6.mjs';
3
- import './chunk-4GCHJ3XD.mjs';
1
+ import { createRelayClient, createThreadReadEngine, searchHandler, isLongQueryPortNote } from './chunk-35RWLUVY.mjs';
2
+ import { answerRequest } from './chunk-ZTB7AWTW.mjs';
3
+ import './chunk-YGRJLI2Z.mjs';
4
4
  import './chunk-TACP6VK6.mjs';
5
- import './chunk-NFA3WHJU.mjs';
6
- import './chunk-XWPNRHTG.mjs';
7
- import './chunk-TANKI7TG.mjs';
5
+ import './chunk-ACNHJOGC.mjs';
6
+ import './chunk-LRIJ7U3T.mjs';
7
+ import './chunk-GTGQLCEI.mjs';
8
8
  import './chunk-S5QMWECL.mjs';
9
9
  import './chunk-LNGE7SLY.mjs';
10
- import './chunk-OETLM4EH.mjs';
11
- import './chunk-VHIOGDVD.mjs';
12
- import './chunk-DA32WXBT.mjs';
10
+ import './chunk-5SHWA6PE.mjs';
11
+ import './chunk-PQWK7KXS.mjs';
12
+ import './chunk-ZO7VLAIT.mjs';
13
13
  import './chunk-R724DJSG.mjs';
14
14
  import './chunk-V6EUBAIT.mjs';
15
- import './chunk-WIT6B5OB.mjs';
16
- import './chunk-MS746XNY.mjs';
15
+ import './chunk-G3KVEHIW.mjs';
16
+ import './chunk-WYH3QHBK.mjs';
17
17
  import './chunk-2CKDCC65.mjs';
18
18
  import './chunk-2AFZE7Y3.mjs';
19
- import './chunk-5GYGHPCH.mjs';
19
+ import './chunk-Y7GXGJFZ.mjs';
20
20
  import './chunk-BUMREPLU.mjs';
21
21
  import './chunk-7T4LAYT4.mjs';
22
- import './chunk-KQWTS7AM.mjs';
23
- import './chunk-4WQNWAQE.mjs';
22
+ import './chunk-4JLHHEBN.mjs';
23
+ import './chunk-EY5U4P5V.mjs';
24
24
  import './chunk-U2BKYEC7.mjs';
25
25
  import './chunk-FJXJZUWF.mjs';
26
26
  import './chunk-5EI5CXO6.mjs';
@@ -1,7 +1,7 @@
1
- export { restoreVectorFields, setNestedValue } from './chunk-OETLM4EH.mjs';
1
+ export { restoreVectorFields, setNestedValue } from './chunk-5SHWA6PE.mjs';
2
2
  export { encodeDocument } from './chunk-2CKDCC65.mjs';
3
- export { Decoder, MAP_TAGS, bindMsgpackHost, decode, decodeBoundedMessage, decodeMulti, headerAt } from './chunk-5GYGHPCH.mjs';
4
- import './chunk-4WQNWAQE.mjs';
3
+ export { Decoder, MAP_TAGS, bindMsgpackHost, decode, decodeBoundedMessage, decodeMulti, headerAt } from './chunk-Y7GXGJFZ.mjs';
4
+ import './chunk-EY5U4P5V.mjs';
5
5
  import './chunk-ZXX5GZEX.mjs';
6
6
  import './chunk-4PY4JYMY.mjs';
7
7
  import './chunk-ZKOQR7EA.mjs';
@@ -1,13 +1,13 @@
1
- export { applyStoredIndexBm25, updateIndexBm25 } from './chunk-OLXFIUIZ.mjs';
2
- import { readHeapStatistics, loadSchemaCodeFor, loadStorageCode, lookupOfStoredSynonyms, reconstructSchemaFromMetadata, getLanguage, validatePatternValueLimit, requireSurfaceFormsForPartialFields, prepareStoredSynonyms, getVectorFieldPaths, arrayPositionsAreStale, validatePartitionConfig, validateEmbeddingConfig } from './chunk-MS746XNY.mjs';
3
- export { bindOptionalWritesHost, holdVectorsForRollback, insertDocument, insertDocumentBatch, prepareDocumentWrite, removeDocument, removeDocumentBatch, rollbackInsertedDocument, rollbackRemovedDocument, rollbackUpdatedDocument, updateDocument, updateDocumentBatch } from './chunk-MS746XNY.mjs';
1
+ export { applyStoredIndexBm25, updateIndexBm25 } from './chunk-DZMD4OMD.mjs';
2
+ import { readHeapStatistics, loadSchemaCodeFor, loadStorageCode, lookupOfStoredSynonyms, reconstructSchemaFromMetadata, getLanguage, validatePatternValueLimit, requireSurfaceFormsForPartialFields, prepareStoredSynonyms, getVectorFieldPaths, arrayPositionsAreStale, validatePartitionConfig, validateEmbeddingConfig } from './chunk-WYH3QHBK.mjs';
3
+ export { bindOptionalWritesHost, holdVectorsForRollback, insertDocument, insertDocumentBatch, prepareDocumentWrite, removeDocument, removeDocumentBatch, rollbackInsertedDocument, rollbackRemovedDocument, rollbackUpdatedDocument, updateDocument, updateDocumentBatch } from './chunk-WYH3QHBK.mjs';
4
4
  import './chunk-2CKDCC65.mjs';
5
5
  import './chunk-2AFZE7Y3.mjs';
6
- import './chunk-5GYGHPCH.mjs';
6
+ import './chunk-Y7GXGJFZ.mjs';
7
7
  import { isSyncEpoch, newSyncEpoch } from './chunk-BUMREPLU.mjs';
8
8
  import './chunk-7T4LAYT4.mjs';
9
- import './chunk-KQWTS7AM.mjs';
10
- import { validateSchema, validateVectorStorage, validateTextStorage } from './chunk-4WQNWAQE.mjs';
9
+ import './chunk-4JLHHEBN.mjs';
10
+ import { validateSchema, validateVectorStorage, validateTextStorage } from './chunk-EY5U4P5V.mjs';
11
11
  import './chunk-U2BKYEC7.mjs';
12
12
  import './chunk-FJXJZUWF.mjs';
13
13
  import './chunk-5EI5CXO6.mjs';
@@ -1,26 +1,26 @@
1
- import { resolvePartitionId } from './chunk-Q4NLL66U.mjs';
2
- import { readVectorFile, VECTOR_FILE_ENVELOPE_VERSION } from './chunk-QJFKL4NK.mjs';
3
- import './chunk-BBIAUHAB.mjs';
1
+ import { resolvePartitionId } from './chunk-EZJ6HBG7.mjs';
2
+ import { readVectorFile, VECTOR_FILE_ENVELOPE_VERSION } from './chunk-FE2XILWN.mjs';
3
+ import './chunk-6LVQ3GLT.mjs';
4
4
  import './chunk-M2Z5WVWW.mjs';
5
- import { encodeSegmentManifest, loadFailed, directoryCheckpointStore, decodeSections, SEGMENT_PAGE_BYTES, RECORD_PAGE_BYTES } from './chunk-EALKCTWH.mjs';
5
+ import { encodeSegmentManifest, loadFailed, directoryCheckpointStore, decodeSections, SEGMENT_PAGE_BYTES, RECORD_PAGE_BYTES } from './chunk-H23FB267.mjs';
6
6
  import { PARTITION_COPY_VECTOR_RUN_BYTES } from './chunk-JDDXV6UF.mjs';
7
- import { segmentsPrefix, vectorFileKey } from './chunk-TANKI7TG.mjs';
7
+ import { segmentsPrefix, vectorFileKey } from './chunk-GTGQLCEI.mjs';
8
8
  import './chunk-S5QMWECL.mjs';
9
9
  import './chunk-LNGE7SLY.mjs';
10
- import './chunk-OETLM4EH.mjs';
11
- import './chunk-VHIOGDVD.mjs';
12
- import './chunk-DA32WXBT.mjs';
10
+ import './chunk-5SHWA6PE.mjs';
11
+ import './chunk-PQWK7KXS.mjs';
12
+ import './chunk-ZO7VLAIT.mjs';
13
13
  import { vectorsPerFile, isDead, VECTOR_FILE_PAYLOAD_VERSION } from './chunk-R724DJSG.mjs';
14
14
  import './chunk-V6EUBAIT.mjs';
15
- import { HEADER_SIZE, crc32Init, crc32Final, engineVersionParts, writeHeader, RESERVED_SIZE, crc32Update } from './chunk-WIT6B5OB.mjs';
16
- import { generateId, isCompositePartition } from './chunk-MS746XNY.mjs';
15
+ import { HEADER_SIZE, crc32Init, crc32Final, engineVersionParts, writeHeader, RESERVED_SIZE, crc32Update } from './chunk-G3KVEHIW.mjs';
16
+ import { generateId, isCompositePartition } from './chunk-WYH3QHBK.mjs';
17
17
  import './chunk-2CKDCC65.mjs';
18
18
  import './chunk-2AFZE7Y3.mjs';
19
- import { decode } from './chunk-5GYGHPCH.mjs';
19
+ import { decode } from './chunk-Y7GXGJFZ.mjs';
20
20
  import './chunk-BUMREPLU.mjs';
21
21
  import './chunk-7T4LAYT4.mjs';
22
- import './chunk-KQWTS7AM.mjs';
23
- import { parseVectorDimension } from './chunk-4WQNWAQE.mjs';
22
+ import './chunk-4JLHHEBN.mjs';
23
+ import { parseVectorDimension } from './chunk-EY5U4P5V.mjs';
24
24
  import './chunk-U2BKYEC7.mjs';
25
25
  import './chunk-FJXJZUWF.mjs';
26
26
  import './chunk-5EI5CXO6.mjs';
@@ -1,7 +1,7 @@
1
- import { spellingCountsOf, encodePartialSpellings, countSpelling, SurfaceTable, SURFACE_TABLE_START_CAPACITY, StringPlan, SegmentRefusal, reserveStrings, grownCapacity, PARTIAL_WORD_RUN_CODE_POINTS, encodeStringBlob, sameFields, countDocumentSpellings, tokenize, PARTIAL_WORD_MIN_CODE_POINTS, PARTIAL_WORDS_ADDED_PER_QUERY, GROWING_PARTIAL_ENTRY_BYTES, GROWING_PARTIAL_RUN_BYTES, GROWING_PARTIAL_RUN_MEMBER_BYTES, GROWING_PARTIAL_PENDING_ENTRY_BYTES, RUN_TABLE_START_CAPACITY, TERM_REGION_GROWTH_FACTOR, RUN_MEMBER_START_CAPACITY, SLICE_CAPACITIES, TERM_SLOT_LOAD_DENOMINATOR, TERM_SLOT_LOAD_NUMERATOR, PoolPlan, requireRoom, releaseRange, requireSegment, termText, partitionDocumentFrequency, visitDocumentSpellings, visitDocumentSurfaceSpellings, DEFAULT_FUZZY_PREFIX_LENGTH, resolveStopWords, transformToken, expansionSource, liveFrequency, codePointCountOf, GROWING_PARTIAL_PENDING_ENTRIES_PER_ENTRY, FNV_OFFSET_BASIS, typedRegion, regionsOverlap, mergeText, FNV_PRIME } from './browser/chunk-DPRCAVC2.mjs';
2
- import { fuzzyTermMatches, storedText } from './browser/chunk-XBWABEL3.mjs';
1
+ import { spellingCountsOf, encodePartialSpellings, countSpelling, SurfaceTable, SURFACE_TABLE_START_CAPACITY, StringPlan, SegmentRefusal, reserveStrings, grownCapacity, PARTIAL_WORD_RUN_CODE_POINTS, encodeStringBlob, sameFields, countDocumentSpellings, tokenize, PARTIAL_WORD_MIN_CODE_POINTS, PARTIAL_WORDS_ADDED_PER_QUERY, GROWING_PARTIAL_ENTRY_BYTES, GROWING_PARTIAL_RUN_BYTES, GROWING_PARTIAL_RUN_MEMBER_BYTES, GROWING_PARTIAL_PENDING_ENTRY_BYTES, RUN_TABLE_START_CAPACITY, TERM_REGION_GROWTH_FACTOR, RUN_MEMBER_START_CAPACITY, SLICE_CAPACITIES, TERM_SLOT_LOAD_DENOMINATOR, TERM_SLOT_LOAD_NUMERATOR, PoolPlan, requireRoom, releaseRange, requireSegment, termText, partitionDocumentFrequency, visitDocumentSpellings, visitDocumentSurfaceSpellings, DEFAULT_FUZZY_PREFIX_LENGTH, resolveStopWords, transformToken, expansionSource, liveFrequency, codePointCountOf, GROWING_PARTIAL_PENDING_ENTRIES_PER_ENTRY, FNV_OFFSET_BASIS, typedRegion, regionsOverlap, mergeText, FNV_PRIME } from './browser/chunk-EKISQBV2.mjs';
2
+ import { fuzzyTermMatches, storedText } from './browser/chunk-56UNHLAF.mjs';
3
3
  import './browser/chunk-YJHGOJAC.mjs';
4
- import { compareCodePoints, codePointCount, NarsilError, ErrorCodes } from './browser/chunk-WRRXR57N.mjs';
4
+ import { compareCodePoints, codePointCount, NarsilError, ErrorCodes } from './browser/chunk-VAPCFSMX.mjs';
5
5
 
6
6
  // src/core/expansion/partial-bindings.ts
7
7
  var PARTIAL_BUDGET;
@@ -1,11 +1,11 @@
1
- import { partialWordSearchModule } from './chunk-MS746XNY.mjs';
1
+ import { partialWordSearchModule } from './chunk-WYH3QHBK.mjs';
2
2
  import './chunk-2CKDCC65.mjs';
3
3
  import './chunk-2AFZE7Y3.mjs';
4
- import './chunk-5GYGHPCH.mjs';
4
+ import './chunk-Y7GXGJFZ.mjs';
5
5
  import './chunk-BUMREPLU.mjs';
6
6
  import './chunk-7T4LAYT4.mjs';
7
- import './chunk-KQWTS7AM.mjs';
8
- import './chunk-4WQNWAQE.mjs';
7
+ import './chunk-4JLHHEBN.mjs';
8
+ import './chunk-EY5U4P5V.mjs';
9
9
  import './chunk-U2BKYEC7.mjs';
10
10
  import './chunk-FJXJZUWF.mjs';
11
11
  import './chunk-5EI5CXO6.mjs';
@@ -1,5 +1,5 @@
1
- import { storedValuesOf, bitsetHas, bitsetSet, GrowableUint32, PATTERN_RUN_CODE_POINTS, PATTERN_TEST_OPERATORS, PATTERN_ELEMENT_OPERATORS, createBitSet, MAX_PATTERN_POSITIONS, MATCHER_STATE_OVERHEAD_BYTES, MAX_PATTERN_TOLERANCE, bitsetAnd, bitsetNot, PATTERN_EXPRESSION_OPERATORS, invalid, MAX_PATTERN_TEXT_CODE_POINTS, TYPO_CLAIM_SLOTS_PER_WORD, storedText, MATCHER_CODE_POINT_BYTES, MATCHER_SIMULATION_BYTES_PER_POSITION, tabulatedLevenshtein } from './browser/chunk-XBWABEL3.mjs';
2
- import { NarsilError, ErrorCodes, codePointCount, exceedsCodePoints } from './browser/chunk-WRRXR57N.mjs';
1
+ import { storedValuesOf, bitsetHas, bitsetSet, GrowableUint32, PATTERN_RUN_CODE_POINTS, PATTERN_TEST_OPERATORS, PATTERN_ELEMENT_OPERATORS, createBitSet, MAX_PATTERN_POSITIONS, MATCHER_STATE_OVERHEAD_BYTES, MAX_PATTERN_TOLERANCE, bitsetAnd, bitsetNot, PATTERN_EXPRESSION_OPERATORS, invalid, MAX_PATTERN_TEXT_CODE_POINTS, TYPO_CLAIM_SLOTS_PER_WORD, storedText, MATCHER_CODE_POINT_BYTES, MATCHER_SIMULATION_BYTES_PER_POSITION, tabulatedLevenshtein } from './browser/chunk-56UNHLAF.mjs';
2
+ import { NarsilError, ErrorCodes, codePointCount, exceedsCodePoints } from './browser/chunk-VAPCFSMX.mjs';
3
3
 
4
4
  // src/pattern/constants.ts
5
5
  var MATCHER_TRANSITION_BYTES = 48;
package/dist/pattern.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { patternSearchModule } from './chunk-KQWTS7AM.mjs';
2
- import './chunk-4WQNWAQE.mjs';
1
+ import { patternSearchModule } from './chunk-4JLHHEBN.mjs';
2
+ import './chunk-EY5U4P5V.mjs';
3
3
  import './chunk-ZXX5GZEX.mjs';
4
4
  import './chunk-4PY4JYMY.mjs';
5
5
  import './chunk-ZKOQR7EA.mjs';
@@ -1,25 +1,25 @@
1
1
  import { createDurableDirectory } from '../../chunk-KL4ORYJW.mjs';
2
- import { writeCheckpointSegments } from '../../chunk-H6LWGMPQ.mjs';
3
- import { directoryCheckpointStore } from '../../chunk-EALKCTWH.mjs';
2
+ import { writeCheckpointSegments } from '../../chunk-6SIEVWMG.mjs';
3
+ import { directoryCheckpointStore } from '../../chunk-H23FB267.mjs';
4
4
  import '../../chunk-5FLRXF73.mjs';
5
5
  import '../../chunk-JDDXV6UF.mjs';
6
- import '../../chunk-TANKI7TG.mjs';
6
+ import '../../chunk-GTGQLCEI.mjs';
7
7
  import '../../chunk-S5QMWECL.mjs';
8
8
  import '../../chunk-LNGE7SLY.mjs';
9
- import '../../chunk-OETLM4EH.mjs';
10
- import '../../chunk-VHIOGDVD.mjs';
11
- import '../../chunk-DA32WXBT.mjs';
9
+ import '../../chunk-5SHWA6PE.mjs';
10
+ import '../../chunk-PQWK7KXS.mjs';
11
+ import '../../chunk-ZO7VLAIT.mjs';
12
12
  import '../../chunk-R724DJSG.mjs';
13
13
  import '../../chunk-V6EUBAIT.mjs';
14
- import '../../chunk-WIT6B5OB.mjs';
15
- import { importOptionalReads, loadGeoCodeFor } from '../../chunk-MS746XNY.mjs';
14
+ import '../../chunk-G3KVEHIW.mjs';
15
+ import { importOptionalReads, loadGeoCodeFor } from '../../chunk-WYH3QHBK.mjs';
16
16
  import '../../chunk-2CKDCC65.mjs';
17
17
  import '../../chunk-2AFZE7Y3.mjs';
18
- import '../../chunk-5GYGHPCH.mjs';
18
+ import '../../chunk-Y7GXGJFZ.mjs';
19
19
  import '../../chunk-BUMREPLU.mjs';
20
20
  import '../../chunk-7T4LAYT4.mjs';
21
- import '../../chunk-KQWTS7AM.mjs';
22
- import { loadMessagePack } from '../../chunk-4WQNWAQE.mjs';
21
+ import '../../chunk-4JLHHEBN.mjs';
22
+ import { loadMessagePack } from '../../chunk-EY5U4P5V.mjs';
23
23
  import '../../chunk-U2BKYEC7.mjs';
24
24
  import '../../chunk-FJXJZUWF.mjs';
25
25
  import '../../chunk-5EI5CXO6.mjs';
@@ -1,11 +1,11 @@
1
- import { loadPhraseCodeFor, loadCursorPageFor, loadGroupingFor, loadPinningFor, loadFacetMergesFor, loadSortingFor, loadPrefixFor, joinPatternWorkMeter, fanOutQuery, sanitizeGlobalStats, countsWithoutScores, fanOutMatchCount, documentsOf, rankPage, fillHits } from './chunk-MS746XNY.mjs';
1
+ import { loadPhraseCodeFor, loadCursorPageFor, loadGroupingFor, loadPinningFor, loadFacetMergesFor, loadSortingFor, loadPrefixFor, joinPatternWorkMeter, fanOutQuery, sanitizeGlobalStats, countsWithoutScores, fanOutMatchCount, documentsOf, rankPage, fillHits } from './chunk-WYH3QHBK.mjs';
2
2
  import './chunk-2CKDCC65.mjs';
3
3
  import './chunk-2AFZE7Y3.mjs';
4
- import './chunk-5GYGHPCH.mjs';
4
+ import './chunk-Y7GXGJFZ.mjs';
5
5
  import './chunk-BUMREPLU.mjs';
6
6
  import './chunk-7T4LAYT4.mjs';
7
- import './chunk-KQWTS7AM.mjs';
8
- import './chunk-4WQNWAQE.mjs';
7
+ import './chunk-4JLHHEBN.mjs';
8
+ import './chunk-EY5U4P5V.mjs';
9
9
  import './chunk-U2BKYEC7.mjs';
10
10
  import { answerFromOneState, requirePinnedState } from './chunk-FJXJZUWF.mjs';
11
11
  import './chunk-5EI5CXO6.mjs';
@@ -1,15 +1,15 @@
1
- import { Merger } from '../chunk-YHZSSPG3.mjs';
2
- import '../chunk-KX3OP6VP.mjs';
1
+ import { Merger } from '../chunk-KXA77DPZ.mjs';
2
+ import '../chunk-4YIVY3PB.mjs';
3
3
  import '../chunk-V6EUBAIT.mjs';
4
- import '../chunk-WIT6B5OB.mjs';
5
- import '../chunk-MS746XNY.mjs';
4
+ import '../chunk-G3KVEHIW.mjs';
5
+ import '../chunk-WYH3QHBK.mjs';
6
6
  import '../chunk-2CKDCC65.mjs';
7
7
  import '../chunk-2AFZE7Y3.mjs';
8
- import '../chunk-5GYGHPCH.mjs';
8
+ import '../chunk-Y7GXGJFZ.mjs';
9
9
  import '../chunk-BUMREPLU.mjs';
10
10
  import '../chunk-7T4LAYT4.mjs';
11
- import '../chunk-KQWTS7AM.mjs';
12
- import '../chunk-4WQNWAQE.mjs';
11
+ import '../chunk-4JLHHEBN.mjs';
12
+ import '../chunk-EY5U4P5V.mjs';
13
13
  import '../chunk-U2BKYEC7.mjs';
14
14
  import '../chunk-FJXJZUWF.mjs';
15
15
  import '../chunk-5EI5CXO6.mjs';
@@ -1,7 +1,7 @@
1
- import { engineCoreOf, loadSuggestionsCode, GROUP_PATTERN_SOURCE, GROUP_FORMAT, SUGGESTIONS_INDEX_INFIX } from './browser/chunk-DPRCAVC2.mjs';
2
- import './browser/chunk-XBWABEL3.mjs';
1
+ import { engineCoreOf, loadSuggestionsCode, GROUP_PATTERN_SOURCE, GROUP_FORMAT, SUGGESTIONS_INDEX_INFIX } from './browser/chunk-EKISQBV2.mjs';
2
+ import './browser/chunk-56UNHLAF.mjs';
3
3
  import './browser/chunk-YJHGOJAC.mjs';
4
- import { NarsilError, ErrorCodes } from './browser/chunk-WRRXR57N.mjs';
4
+ import { NarsilError, ErrorCodes } from './browser/chunk-VAPCFSMX.mjs';
5
5
 
6
6
  // src/query-suggestions/providers.ts
7
7
  var providers = /* @__PURE__ */ new WeakMap();