@delali/narsil 0.4.5-next.309 → 0.4.6-next.332

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 (80) hide show
  1. package/README.md +1 -1
  2. package/dist/browser/{chunk-263ERYKA.mjs → chunk-DJDBJB2U.mjs} +1 -1
  3. package/dist/browser/{storage-leaf-42IZEOJJ.mjs → storage-leaf-72PEG6IP.mjs} +20 -12
  4. package/dist/{chunk-7SMVY4AX.mjs → chunk-3GWUUKDJ.mjs} +11 -11
  5. package/dist/{chunk-3PO2MOFY.mjs → chunk-57MN2UAL.mjs} +1 -1
  6. package/dist/{chunk-H7IIA2KL.mjs → chunk-7DW2ITZ3.mjs} +1 -1
  7. package/dist/{chunk-GDCTK5LU.mjs → chunk-AQI4DIFA.mjs} +2 -2
  8. package/dist/{chunk-7HVZVD2N.mjs → chunk-AWMO3NKJ.mjs} +1 -1
  9. package/dist/{chunk-XX4SKT54.mjs → chunk-BOTZ2GSW.mjs} +9 -9
  10. package/dist/{chunk-BVLR6S5J.mjs → chunk-CN42TL6V.mjs} +5 -5
  11. package/dist/{chunk-VV6P6LKJ.mjs → chunk-CZHAPGVH.mjs} +2 -2
  12. package/dist/{chunk-C3OQQ3M6.mjs → chunk-DVFCDOXW.mjs} +1 -1
  13. package/dist/{chunk-CPAE2QJP.mjs → chunk-EDZJNZKV.mjs} +1 -1
  14. package/dist/{chunk-REM3KDXN.mjs → chunk-FWZ5OK5G.mjs} +4 -4
  15. package/dist/{chunk-PBUME456.mjs → chunk-G6P6YTTW.mjs} +1 -1
  16. package/dist/{chunk-RXQZ53NV.mjs → chunk-GTB2S2VX.mjs} +1 -1
  17. package/dist/{chunk-KGLBLKYF.mjs → chunk-HWIIMLLR.mjs} +64 -49
  18. package/dist/{chunk-UDDZVZTV.mjs → chunk-JASE2FE6.mjs} +2 -2
  19. package/dist/{chunk-ICOCO7R4.mjs → chunk-JXRMHWQU.mjs} +1 -1
  20. package/dist/{chunk-AAH5CD3M.mjs → chunk-MUBQER6D.mjs} +1 -1
  21. package/dist/{chunk-ZGGZXRGM.mjs → chunk-NNRDQYBD.mjs} +8 -8
  22. package/dist/{chunk-DEYEVTFV.mjs → chunk-ONDHZ4WW.mjs} +2 -2
  23. package/dist/{chunk-FAK7Y3OX.mjs → chunk-PM2UOKYB.mjs} +3 -3
  24. package/dist/{chunk-3Q6CDT32.mjs → chunk-RBHEMWN6.mjs} +2 -2
  25. package/dist/{chunk-CP4ZQR2X.mjs → chunk-UAITBI74.mjs} +2 -2
  26. package/dist/{chunk-UQFWTROO.mjs → chunk-VIHHCXBO.mjs} +3 -3
  27. package/dist/{chunk-GLPBA2YZ.mjs → chunk-WCGFMFWK.mjs} +2 -2
  28. package/dist/{chunk-6RNOECOF.mjs → chunk-WRDGPEN6.mjs} +2 -2
  29. package/dist/{direct-executor-TWLEPVQO.mjs → direct-executor-3C5WFR33.mjs} +1 -1
  30. package/dist/distribution/coordinator/etcd.mjs +5 -1
  31. package/dist/distribution/transport/tcp.mjs +23 -18
  32. package/dist/distribution.mjs +391 -305
  33. package/dist/index.browser.mjs +1 -1
  34. package/dist/index.mjs +1 -1
  35. package/dist/index.react-native.mjs +1 -1
  36. package/dist/{long-query-thread-HK5FP64H.mjs → long-query-thread-C62WK6NI.mjs} +10 -10
  37. package/dist/{optional-writes-DPWRGFKK.mjs → optional-writes-AGDEVXC4.mjs} +3 -3
  38. package/dist/{paged-partition-archive-NITVFYOC.mjs → paged-partition-archive-EABR3N3F.mjs} +9 -9
  39. package/dist/partial-words.browser.mjs +1 -1
  40. package/dist/partial-words.mjs +1 -1
  41. package/dist/persistence/durability/checkpoint-worker.mjs +7 -7
  42. package/dist/{query-actions-AA5LE2WV.mjs → query-actions-QH5UQRCY.mjs} +1 -1
  43. package/dist/query-suggestions/merge-worker.mjs +4 -4
  44. package/dist/query-suggestions.browser.mjs +1 -1
  45. package/dist/query-suggestions.mjs +2 -2
  46. package/dist/react-native/chunks/{chunk-HGZNA5A6.mjs → chunk-ALSPAMEE.mjs} +1 -1
  47. package/dist/react-native/chunks/{chunk-OVYLUGEW.mjs → chunk-BGRX5SPG.mjs} +1 -1
  48. package/dist/react-native/chunks/{chunk-ZZQ2RIYZ.mjs → chunk-GPMPHDDO.mjs} +2 -2
  49. package/dist/react-native/chunks/{chunk-3BEUTRYM.mjs → chunk-NUOJ2EAK.mjs} +1 -1
  50. package/dist/react-native/chunks/{chunk-574N6ERF.mjs → chunk-PTCHRZCP.mjs} +1 -1
  51. package/dist/react-native/chunks/{chunk-6KVWTGEJ.mjs → chunk-V2H7EDTM.mjs} +8 -8
  52. package/dist/react-native/chunks/{optional-writes-UYVKLJU6.mjs → optional-writes-F4FJKEZ4.mjs} +2 -2
  53. package/dist/react-native/chunks/{restore-queue-AZIZ5ABX.mjs → restore-queue-MLFBOOZP.mjs} +4 -4
  54. package/dist/react-native/chunks/{segment-codec-leaf-TYO4LKQ6.mjs → segment-codec-leaf-Z3OS3B2K.mjs} +2 -2
  55. package/dist/react-native/chunks/{segment-merge-leaf-KM52IXXQ.mjs → segment-merge-leaf-TNHU77VW.mjs} +3 -3
  56. package/dist/react-native/chunks/{storage-leaf-HKJBZXIP.mjs → storage-leaf-NF733K7B.mjs} +25 -17
  57. package/dist/react-native/chunks/{store-leaf-LS5LT25L.mjs → store-leaf-UDKCNQB7.mjs} +3 -3
  58. package/dist/react-native/chunks/{suggestions-leaf-IJ3Z4EH3.mjs → suggestions-leaf-M6ITOPNM.mjs} +3 -3
  59. package/dist/react-native/chunks/{worker-copies-VNXZRBVW.mjs → worker-copies-GG7CKUBI.mjs} +2 -2
  60. package/dist/react-native/partial-words.mjs +1 -1
  61. package/dist/react-native/query-suggestions.mjs +1 -1
  62. package/dist/react-native/sync.mjs +1 -1
  63. package/dist/react-native/synonyms.mjs +1 -1
  64. package/dist/{rerank-X4HOST2N.mjs → rerank-LCMA5PZG.mjs} +1 -1
  65. package/dist/{restore-queue-CI72WRAF.mjs → restore-queue-NSA3RWF6.mjs} +4 -4
  66. package/dist/{segment-codec-leaf-7R5H2IYU.mjs → segment-codec-leaf-DQKKIN4F.mjs} +2 -2
  67. package/dist/{segment-merge-leaf-IWL4VH7C.mjs → segment-merge-leaf-67Z6OMRF.mjs} +2 -2
  68. package/dist/server.mjs +16 -16
  69. package/dist/{storage-leaf-6YCHFH2O.mjs → storage-leaf-FUH75D3X.mjs} +18 -18
  70. package/dist/{store-leaf-V5N2REHF.mjs → store-leaf-CKZFFFTX.mjs} +3 -3
  71. package/dist/{suggestions-leaf-XFJ4L37A.mjs → suggestions-leaf-NOSJIRSD.mjs} +5 -5
  72. package/dist/sync/filesystem.mjs +4 -4
  73. package/dist/sync.browser.mjs +1 -1
  74. package/dist/sync.mjs +1 -1
  75. package/dist/synonyms.browser.mjs +1 -1
  76. package/dist/synonyms.mjs +1 -1
  77. package/dist/{thread-UQAIJ5CS.mjs → thread-T5F3HSMC.mjs} +9 -9
  78. package/dist/{worker-copies-44MSY3IU.mjs → worker-copies-TPEHVXPI.mjs} +4 -4
  79. package/dist/workers/entry.mjs +7 -7
  80. package/package.json +5 -5
package/dist/server.mjs CHANGED
@@ -1,29 +1,29 @@
1
- import { answerRequest } from './chunk-ICOCO7R4.mjs';
1
+ import { answerRequest } from './chunk-JXRMHWQU.mjs';
2
2
  import { resolveVectorText } from './chunk-NJJN4FMM.mjs';
3
- import { DEFAULT_MAX_RETAINED_TASKS, isTerminalTaskStatus, TASK_RECORD_LOAD_CONCURRENCY, loadUWebSockets, SERVER_CLOSE_DRAIN_DEADLINE_MS, registerFeedRoute, SYNC_FEED_ROUTE, CHANGES_FEED_ROUTE, resolveCors, authorizerFor, createSharedGateBuffer, gateSlotOfWorker, createBodyBudgetBuffer, createRouteRunner, corsHeaderReader, createSharedBodyBudget, MAIN_THREAD_GATE_SLOT, createSharedRequestGate, registerServerRoutes, isTaskType, isTaskStatus, DEFAULT_MAX_CONCURRENT_TASKS, DEFAULT_MAX_TASK_PAGE_SIZE, DEFAULT_MAX_IMPORT_ERRORS, DEFAULT_MAX_FETCH_DOCUMENTS, DEFAULT_MAX_RESULT_WINDOW, DEFAULT_MAX_CONCURRENT_REQUESTS, DEFAULT_IMPORT_BATCH_SIZE, DEFAULT_MAX_LINE_BYTES, DEFAULT_MAX_RESTORE_BYTES, DEFAULT_MAX_IMPORT_BYTES, DEFAULT_MAX_BODY_BYTES, DEFAULT_MAX_RERANK_WINDOW, DEFAULT_MAX_BODY_BYTES_IN_FLIGHT_FRACTION, RUNNING_TASK_TTL_MS, DEFAULT_TASK_PAGE_SIZE, TERMINAL_TASK_TTL_MS, TASK_PROGRESS_WRITE_INTERVAL_MS, serializeNarsilError, createVersionHandler, createSyncSnapshotHandler, acceptorOf, createServerCloseSignal, signalServerClose, LeavingResponse, refuseAndClose, MAX_BODY_BYTES_IN_FLIGHT_FRACTION, createDocumentReadHandlers, sendError, respondError, respondJson, sendText, PROMETHEUS_TEXT_CONTENT_TYPE, MAX_INDEX_TOUCH_INTERVAL_MS, INDEX_TOUCH_INTERVALS_PER_IDLE_TIMEOUT, closeEveryThreadAtExit, REQUEST_THREAD_CLOSE_AT_EXIT_MS, createCloseAtExitWords, createDepartureWord, departureConfirmed, threadCloseAcknowledgedWithin, SERVER_CLOSE_ACKNOWLEDGE_GRACE_MS, threadCloseAcknowledged, refusedRegex, toHttpError, parseJsonObject, validateCreateIndex, rejectInvalid, isRemoveOnlyBatch, validateBatch, serializeBatchResult, parseWriteJsonObject, validateDocumentBody, validateSuggest, readQueryBody, withServerQueryLimits, requestSignal, respondAnswer, encodeQueryResult, parseTaskListQuery, parseJsonOptional, validateChangeAnalysis, validateRebalance, parseJson, badRequest, sendStream, SNAPSHOT_ARCHIVE_CONTENT_TYPE, DOCUMENT_EXPORT_CONTENT_TYPE, respondPreparingError, parseRefusalOf, IMPORT_FLUSHES_IN_FLIGHT, isThreadFeedNote, clearGateSlot, clearBodyBudgetSlot, confirmDeparture, SERVER_CAPABILITIES, MIN_UNBOUNDED_SERVER_LIMIT, MIN_COUNTED_SERVER_LIMIT } from './chunk-FAK7Y3OX.mjs';
4
- export { ASYNC_IMPORT_CAPABILITY, BM25_TUNING_CAPABILITY, CHANGE_ANALYSIS_CAPABILITY, DOCUMENT_EXPORT_CAPABILITY, INDEX_LIFECYCLE_CAPABILITY, REBUILD_ANALYSIS_CAPABILITY, SERVER_CAPABILITIES, SYNONYMS_CAPABILITY, TASK_CANCEL_CAPABILITY, TASK_FILTER_CAPABILITY, httpStatusForNarsilError } from './chunk-FAK7Y3OX.mjs';
5
- import { startSyncRetentionSweep, publishedSyncSnapshot, publishedArchiveLayout } from './chunk-BVLR6S5J.mjs';
3
+ import { DEFAULT_MAX_RETAINED_TASKS, isTerminalTaskStatus, TASK_RECORD_LOAD_CONCURRENCY, loadUWebSockets, SERVER_CLOSE_DRAIN_DEADLINE_MS, registerFeedRoute, SYNC_FEED_ROUTE, CHANGES_FEED_ROUTE, resolveCors, authorizerFor, createSharedGateBuffer, gateSlotOfWorker, createBodyBudgetBuffer, createRouteRunner, corsHeaderReader, createSharedBodyBudget, MAIN_THREAD_GATE_SLOT, createSharedRequestGate, registerServerRoutes, isTaskType, isTaskStatus, DEFAULT_MAX_CONCURRENT_TASKS, DEFAULT_MAX_TASK_PAGE_SIZE, DEFAULT_MAX_IMPORT_ERRORS, DEFAULT_MAX_FETCH_DOCUMENTS, DEFAULT_MAX_RESULT_WINDOW, DEFAULT_MAX_CONCURRENT_REQUESTS, DEFAULT_IMPORT_BATCH_SIZE, DEFAULT_MAX_LINE_BYTES, DEFAULT_MAX_RESTORE_BYTES, DEFAULT_MAX_IMPORT_BYTES, DEFAULT_MAX_BODY_BYTES, DEFAULT_MAX_RERANK_WINDOW, DEFAULT_MAX_BODY_BYTES_IN_FLIGHT_FRACTION, RUNNING_TASK_TTL_MS, DEFAULT_TASK_PAGE_SIZE, TERMINAL_TASK_TTL_MS, TASK_PROGRESS_WRITE_INTERVAL_MS, serializeNarsilError, createVersionHandler, createSyncSnapshotHandler, acceptorOf, createServerCloseSignal, signalServerClose, LeavingResponse, refuseAndClose, MAX_BODY_BYTES_IN_FLIGHT_FRACTION, createDocumentReadHandlers, sendError, respondError, respondJson, sendText, PROMETHEUS_TEXT_CONTENT_TYPE, MAX_INDEX_TOUCH_INTERVAL_MS, INDEX_TOUCH_INTERVALS_PER_IDLE_TIMEOUT, closeEveryThreadAtExit, REQUEST_THREAD_CLOSE_AT_EXIT_MS, createCloseAtExitWords, createDepartureWord, departureConfirmed, threadCloseAcknowledgedWithin, SERVER_CLOSE_ACKNOWLEDGE_GRACE_MS, threadCloseAcknowledged, refusedRegex, toHttpError, parseJsonObject, validateCreateIndex, rejectInvalid, isRemoveOnlyBatch, validateBatch, serializeBatchResult, parseWriteJsonObject, validateDocumentBody, validateSuggest, readQueryBody, withServerQueryLimits, requestSignal, respondAnswer, encodeQueryResult, parseTaskListQuery, parseJsonOptional, validateChangeAnalysis, validateRebalance, parseJson, badRequest, sendStream, SNAPSHOT_ARCHIVE_CONTENT_TYPE, DOCUMENT_EXPORT_CONTENT_TYPE, respondPreparingError, parseRefusalOf, IMPORT_FLUSHES_IN_FLIGHT, isThreadFeedNote, clearGateSlot, clearBodyBudgetSlot, confirmDeparture, SERVER_CAPABILITIES, MIN_UNBOUNDED_SERVER_LIMIT, MIN_COUNTED_SERVER_LIMIT } from './chunk-PM2UOKYB.mjs';
4
+ export { ASYNC_IMPORT_CAPABILITY, BM25_TUNING_CAPABILITY, CHANGE_ANALYSIS_CAPABILITY, DOCUMENT_EXPORT_CAPABILITY, INDEX_LIFECYCLE_CAPABILITY, REBUILD_ANALYSIS_CAPABILITY, SERVER_CAPABILITIES, SYNONYMS_CAPABILITY, TASK_CANCEL_CAPABILITY, TASK_FILTER_CAPABILITY, httpStatusForNarsilError } from './chunk-PM2UOKYB.mjs';
5
+ import { startSyncRetentionSweep, publishedSyncSnapshot, publishedArchiveLayout } from './chunk-CN42TL6V.mjs';
6
6
  import { SYNC_CLOSE_RESYNC, SYNC_CLOSE_CREDENTIAL_EXPIRED, SYNC_CLOSE_POLICY, MAX_DEVICE_MESSAGE_BYTES, SYNC_CLOSE_TOO_LARGE, deviceMessageOf, SYNC_CLOSE_SERVER_ERROR, positionList, positionsByPartition, CHANGES_CLOSE_RESYNC, CHANGES_CLOSE_POLICY, MAX_SUBSCRIBER_MESSAGE_BYTES, CHANGES_CLOSE_TOO_LARGE, closeReasonOf, CHANGES_CLOSE_CREDENTIAL_EXPIRED, CHANGES_CLOSE_SETTING, CHANGES_CLOSE_SERVER_ERROR, CHANGES_CLOSE_GOING_AWAY, SYNC_CLOSE_GOING_AWAY } from './chunk-TACP6VK6.mjs';
7
- import { syncServingSourceOf, changesServingSourceOf, writeBlockLookupOf, indexReadsOf, validateBackupName, readRestorePlacement } from './chunk-7SMVY4AX.mjs';
8
- import { isRecord, validateIndexName } from './chunk-VV6P6LKJ.mjs';
7
+ import { syncServingSourceOf, changesServingSourceOf, writeBlockLookupOf, indexReadsOf, validateBackupName, readRestorePlacement } from './chunk-3GWUUKDJ.mjs';
8
+ import { isRecord, validateIndexName } from './chunk-CZHAPGVH.mjs';
9
9
  import { executeUntilAnswered } from './chunk-4H4RG2FR.mjs';
10
- import './chunk-AAH5CD3M.mjs';
11
- import { engineChangeSource, createSemaphore, createByteBudget, changesNotEnabled, subscriberMessageOf, ChangeCursor, changePositionList, seqNosByPartition } from './chunk-GDCTK5LU.mjs';
10
+ import './chunk-MUBQER6D.mjs';
11
+ import { engineChangeSource, createSemaphore, createByteBudget, changesNotEnabled, subscriberMessageOf, ChangeCursor, changePositionList, seqNosByPartition } from './chunk-AQI4DIFA.mjs';
12
12
  import './chunk-M2Z5WVWW.mjs';
13
- import { DEFAULT_MAX_FEED_BUFFERED_BYTES, DEFAULT_MAX_FEED_CATCH_UPS, DEFAULT_MAX_FEED_CONNECTIONS, DEFAULT_FEED_WINDOW_BYTES, estimatedArchiveBytes, TIMER_DELAY_LIMIT_MS, FEED_HEAD_RETRY_MS, ENTRIES_MESSAGE_LIMIT_BYTES } from './chunk-3Q6CDT32.mjs';
13
+ import { DEFAULT_MAX_FEED_BUFFERED_BYTES, DEFAULT_MAX_FEED_CATCH_UPS, DEFAULT_MAX_FEED_CONNECTIONS, DEFAULT_FEED_WINDOW_BYTES, estimatedArchiveBytes, TIMER_DELAY_LIMIT_MS, FEED_HEAD_RETRY_MS, ENTRIES_MESSAGE_LIMIT_BYTES } from './chunk-RBHEMWN6.mjs';
14
14
  import './chunk-JDDXV6UF.mjs';
15
- import { manifestFileRefs } from './chunk-CPAE2QJP.mjs';
15
+ import { manifestFileRefs } from './chunk-EDZJNZKV.mjs';
16
16
  import { encode as encode$1 } from './chunk-S5QMWECL.mjs';
17
17
  import './chunk-LNGE7SLY.mjs';
18
18
  import './chunk-5SHWA6PE.mjs';
19
- import './chunk-7HVZVD2N.mjs';
20
- import './chunk-3PO2MOFY.mjs';
19
+ import './chunk-AWMO3NKJ.mjs';
20
+ import './chunk-57MN2UAL.mjs';
21
21
  import './chunk-R724DJSG.mjs';
22
22
  import './chunk-V6EUBAIT.mjs';
23
- import './chunk-RXQZ53NV.mjs';
24
- import { querySuggestions } from './chunk-PBUME456.mjs';
23
+ import './chunk-GTB2S2VX.mjs';
24
+ import { querySuggestions } from './chunk-G6P6YTTW.mjs';
25
25
  import './chunk-S2POFTLN.mjs';
26
- import { rerankWindowCapOf, engineCoreOf, readMemoryFigures, listenForSyncChanges, MAX_RERANK_WINDOW, bindQuerySignal, clearQuerySignal, providedDocId, loadRerankRuntime, rulesOfStoredSynonyms } from './chunk-ZGGZXRGM.mjs';
26
+ import { rerankWindowCapOf, engineCoreOf, readMemoryFigures, listenForSyncChanges, MAX_RERANK_WINDOW, bindQuerySignal, clearQuerySignal, providedDocId, loadRerankRuntime, rulesOfStoredSynonyms } from './chunk-NNRDQYBD.mjs';
27
27
  import './chunk-2CKDCC65.mjs';
28
28
  import './chunk-BRTABNC7.mjs';
29
29
  import { decodeBoundedMessage } from './chunk-Y7GXGJFZ.mjs';
@@ -1411,7 +1411,7 @@ function assertAllowRegex(allowRegex) {
1411
1411
  }
1412
1412
 
1413
1413
  // package.json
1414
- var version = "0.4.5-next.309";
1414
+ var version = "0.4.6-next.332";
1415
1415
 
1416
1416
  // src/server/package-version.ts
1417
1417
  function publishedPackageVersion() {
@@ -1,32 +1,32 @@
1
- import { scheduleSyncRetention, createDirectoryWatch, unrefInterval, LOG_READ_CHUNK_BYTES } from './chunk-BVLR6S5J.mjs';
2
- export { scheduleSyncRetention, startSyncRetentionSweep } from './chunk-BVLR6S5J.mjs';
3
- import { buildArchiveFromMemory, indexMetadataOf, archiveStream, createByteReader, documentExportStream, requireRestoreMemory, memoryCheckpointStore, admitDurableWrite, metadataConfigOf, durableMetadataConfigOf, unpackIndexSnapshotEnvelope, nestedSchemaOf, earlierSnapshotFootprint, writeArchiveFile, storedBytesOfSegments, archiveFootprint, loadSegmentedCheckpoint, createIndexLoads, closePartitionWriter, switchInTurn, writeMetadataEnvelope, commitAppended, listPersistedIndexes, removeLeftoverRewriteFiles, requireSavedPartitionCount, createDetachedIndex, shutDownRefusal, recordBatchesByPartition, requireCheckpointLayout, holdScheduledCheckpoint, checkpointInTurn, partitionFailureFor, SINGLE_NODE_PRIMARY_TERM, deserializePayloadV1, readCurrentManifest, drainIndexStateForUnload, readSegmentManifest, readMetadataEnvelope, snapshotCheckpointFor, whileGraphsStayComplete, captureAppliedPrefix, createSeqOwner, commitEveryPartition, loadMetadata, reclaimUnlistedKeys, writeLiveVectors, dropStoredVectorValues, requiresLayoutCheckpoint, transitionKey, readTransition, invalidTransition, unpackEnvelopeBytes, replayWal, sanitizeSurfaceForms, patternIndexesFromWire, replayWalUpTo, createRebalancer, highestPartitionIdOf, growPartitionsTo, createMarkerWriter, metadataFromConfig, metadataPartitionCount } from './chunk-XX4SKT54.mjs';
4
- export { DOCUMENT_EXPORT_FORMAT, DOCUMENT_EXPORT_VERSION, abandonAnalysisChange, adoptSavedAnalysis, buildHeldAnalysisChange, changeIndexAnalysis, changesOf, createByteReader, documentExportStream, dropHeldAnalysisChange, executeRebalance, followIndexChanges, heldAnalysisIsBuilt, holdsNamedSettings, openFileVectorReads, pagedPartitionLines, readDocumentExport, releaseHeldAnalysisChange, requireSavedPartitionCount, resumeAnalysisChange, stampAnalysisGeneration, startReadingOpeningSectionsAhead, targetOfPending, transitionWalLayout, updateChangesOf } from './chunk-XX4SKT54.mjs';
5
- import { readVectorFile, readGraphParts, VECTOR_FILE_ENVELOPE_VERSION } from './chunk-UQFWTROO.mjs';
6
- export { loadFilesByParts, openColdVectorField, waitBeforeColdLoad } from './chunk-UQFWTROO.mjs';
7
- import { MAX_SNAPSHOT_ANALYSIS_ATTEMPTS, encodeIndexConfiguration, indexConfigurationOf, updateIndexSync, decodeIndexConfiguration } from './chunk-GDCTK5LU.mjs';
8
- export { decodeIndexConfiguration, encodeIndexConfiguration, holdRenewedSyncEpoch, indexConfigurationOf, persistEpochStates, requireNoQuerySuggestions, requireSyncSetting, syncStorageOf, updateIndexSync } from './chunk-GDCTK5LU.mjs';
1
+ import { scheduleSyncRetention, createDirectoryWatch, unrefInterval, LOG_READ_CHUNK_BYTES } from './chunk-CN42TL6V.mjs';
2
+ export { scheduleSyncRetention, startSyncRetentionSweep } from './chunk-CN42TL6V.mjs';
3
+ import { buildArchiveFromMemory, indexMetadataOf, archiveStream, createByteReader, documentExportStream, requireRestoreMemory, memoryCheckpointStore, admitDurableWrite, metadataConfigOf, durableMetadataConfigOf, unpackIndexSnapshotEnvelope, nestedSchemaOf, earlierSnapshotFootprint, writeArchiveFile, storedBytesOfSegments, archiveFootprint, loadSegmentedCheckpoint, createIndexLoads, closePartitionWriter, switchInTurn, writeMetadataEnvelope, commitAppended, listPersistedIndexes, removeLeftoverRewriteFiles, requireSavedPartitionCount, createDetachedIndex, shutDownRefusal, recordBatchesByPartition, requireCheckpointLayout, holdScheduledCheckpoint, checkpointInTurn, partitionFailureFor, SINGLE_NODE_PRIMARY_TERM, deserializePayloadV1, readCurrentManifest, drainIndexStateForUnload, readSegmentManifest, readMetadataEnvelope, snapshotCheckpointFor, whileGraphsStayComplete, captureAppliedPrefix, createSeqOwner, commitEveryPartition, loadMetadata, reclaimUnlistedKeys, writeLiveVectors, dropStoredVectorValues, requiresLayoutCheckpoint, transitionKey, readTransition, invalidTransition, unpackEnvelopeBytes, replayWal, sanitizeSurfaceForms, patternIndexesFromWire, replayWalUpTo, createRebalancer, highestPartitionIdOf, growPartitionsTo, createMarkerWriter, metadataFromConfig, metadataPartitionCount } from './chunk-BOTZ2GSW.mjs';
4
+ export { DOCUMENT_EXPORT_FORMAT, DOCUMENT_EXPORT_VERSION, abandonAnalysisChange, adoptSavedAnalysis, buildHeldAnalysisChange, changeIndexAnalysis, changesOf, createByteReader, documentExportStream, dropHeldAnalysisChange, executeRebalance, followIndexChanges, heldAnalysisIsBuilt, holdsNamedSettings, openFileVectorReads, pagedPartitionLines, readDocumentExport, releaseHeldAnalysisChange, requireSavedPartitionCount, resumeAnalysisChange, stampAnalysisGeneration, startReadingOpeningSectionsAhead, targetOfPending, transitionWalLayout, updateChangesOf } from './chunk-BOTZ2GSW.mjs';
5
+ import { readVectorFile, readGraphParts, VECTOR_FILE_ENVELOPE_VERSION } from './chunk-VIHHCXBO.mjs';
6
+ export { loadFilesByParts, openColdVectorField, waitBeforeColdLoad } from './chunk-VIHHCXBO.mjs';
7
+ import { MAX_SNAPSHOT_ANALYSIS_ATTEMPTS, encodeIndexConfiguration, indexConfigurationOf, updateIndexSync, decodeIndexConfiguration } from './chunk-AQI4DIFA.mjs';
8
+ export { decodeIndexConfiguration, encodeIndexConfiguration, holdRenewedSyncEpoch, indexConfigurationOf, persistEpochStates, requireNoQuerySuggestions, requireSyncSetting, syncStorageOf, updateIndexSync } from './chunk-AQI4DIFA.mjs';
9
9
  import { restoredConfigFields, restoredEmbedding, rejectSnapshot } from './chunk-M2Z5WVWW.mjs';
10
- import { readSnapshotArchive, decodeSegmentManifest, isRecord, invalidManifest, isId, isUint32, isSequenceNumber } from './chunk-3Q6CDT32.mjs';
11
- export { readSnapshotArchive } from './chunk-3Q6CDT32.mjs';
10
+ import { readSnapshotArchive, decodeSegmentManifest, isRecord, invalidManifest, isId, isUint32, isSequenceNumber } from './chunk-RBHEMWN6.mjs';
11
+ export { readSnapshotArchive } from './chunk-RBHEMWN6.mjs';
12
12
  import { createDurableDirectory } from './chunk-57HDOVEE.mjs';
13
- import { isPagedSegmentFile, openPagedSnapshot, pagedListingOf, createPagedFrozenSegment, writePagedSegment, bytesThatSegmentsHoldInMemory, savedBytesOfManifest, checkPagedSegmentFully, readSegmentFile, buildEntry, NOTHING_SAVED, SEGMENT_HEADER_SIZE, checkpointLastSeqNo, partitionContentsOf, writeCheckpointSegments, commitCheckpointManifest, checkpointGarbage, removeCheckpointGarbage, nextSegmentKey, rewrittenHeaderKey, checkSegmentHeader, RECORD_LENGTH_SIZE, MAX_WAL_RECORD_BYTES, FRAME_CRC_SIZE, decodeWalEntry, readCommitMarker, captureWholePartition, frameRecord, checkpointPrimaryTerm, openPagedSegmentScan, countsAsLatestHolder, segmentKey, WAL_FORMAT_VERSION_WITH_PREVIOUS_DOCUMENT, SEGMENT_TAIL_PATTERN, writeSegmentHeader, WAL_FORMAT_VERSION, parseSegmentStartSeqNo, readWalSegments, joinFrames } from './chunk-KGLBLKYF.mjs';
14
- export { bytesThatSegmentsHoldInMemory, checkPagedContents, checkPagedSegmentFully, checkPagedSelections, countsAsLatestHolder, createPagedFrozenSegment, isPagedSegmentFile, mergePagedWindow, openPagedSegmentScan, openPagedSnapshot, pagedListingOf, pagedTombstonesFor, writePagedSegment } from './chunk-KGLBLKYF.mjs';
15
- import { REWRITE_SPILL_BYTES, TOMBSTONES_BETWEEN_YIELDS, encodeSegmentManifest, adapterCheckpointStore, directoryCheckpointStore, readListedFile } from './chunk-UDDZVZTV.mjs';
13
+ import { isPagedSegmentFile, openPagedSnapshot, pagedListingOf, createPagedFrozenSegment, writePagedSegment, bytesThatSegmentsHoldInMemory, savedBytesOfManifest, checkPagedSegmentFully, readSegmentFile, buildEntry, NOTHING_SAVED, SEGMENT_HEADER_SIZE, checkpointLastSeqNo, partitionContentsOf, writeCheckpointSegments, commitCheckpointManifest, checkpointGarbage, removeCheckpointGarbage, nextSegmentKey, rewrittenHeaderKey, checkSegmentHeader, RECORD_LENGTH_SIZE, MAX_WAL_RECORD_BYTES, FRAME_CRC_SIZE, decodeWalEntry, readCommitMarker, captureWholePartition, frameRecord, checkpointPrimaryTerm, openPagedSegmentScan, countsAsLatestHolder, segmentKey, WAL_FORMAT_VERSION_WITH_PREVIOUS_DOCUMENT, SEGMENT_TAIL_PATTERN, writeSegmentHeader, WAL_FORMAT_VERSION, parseSegmentStartSeqNo, readWalSegments, joinFrames } from './chunk-HWIIMLLR.mjs';
14
+ export { bytesThatSegmentsHoldInMemory, checkPagedContents, checkPagedSegmentFully, checkPagedSelections, countsAsLatestHolder, createPagedFrozenSegment, isPagedSegmentFile, mergePagedWindow, openPagedSegmentScan, openPagedSnapshot, pagedListingOf, pagedTombstonesFor, writePagedSegment } from './chunk-HWIIMLLR.mjs';
15
+ import { REWRITE_SPILL_BYTES, TOMBSTONES_BETWEEN_YIELDS, encodeSegmentManifest, adapterCheckpointStore, directoryCheckpointStore, readListedFile } from './chunk-JASE2FE6.mjs';
16
16
  import './chunk-5FLRXF73.mjs';
17
17
  import './chunk-JDDXV6UF.mjs';
18
- import { manifestKey, manifestFileRefs, manifestReferencedKeys, manifestWithinPartitionCount, snapshotBundleKey, MAX_SEGMENTS_PER_PARTITION } from './chunk-CPAE2QJP.mjs';
18
+ import { manifestKey, manifestFileRefs, manifestReferencedKeys, manifestWithinPartitionCount, snapshotBundleKey, MAX_SEGMENTS_PER_PARTITION } from './chunk-EDZJNZKV.mjs';
19
19
  import { encode } from './chunk-S5QMWECL.mjs';
20
20
  export { bindStorageHost } from './chunk-S5QMWECL.mjs';
21
21
  import { sha256 } from './chunk-LNGE7SLY.mjs';
22
22
  import { setNestedValue } from './chunk-5SHWA6PE.mjs';
23
- import { rewriteSpillOf } from './chunk-7HVZVD2N.mjs';
24
- import { deserializePartition } from './chunk-3PO2MOFY.mjs';
23
+ import { rewriteSpillOf } from './chunk-AWMO3NKJ.mjs';
24
+ import { deserializePartition } from './chunk-57MN2UAL.mjs';
25
25
  import { decodeVectorIndexParts, bytesToVectors, VECTOR_FILE_MAX_VECTORS, deadBytesFor, countDead, decodeVectorFilePayload, graphPartsOfEarlierPayload, decodeVectorGraphPayload } from './chunk-R724DJSG.mjs';
26
26
  export { createHNSWIndex, osqBitsOf } from './chunk-R724DJSG.mjs';
27
27
  import { oneSyncChangeAtATime } from './chunk-V6EUBAIT.mjs';
28
- import { hasNrslMagic, HEADER_SIZE, readHeader, storedStateOf, attachedRuntimeOf, historyFilesOf, listHistoryFolder, historyFileOf, QUERY_HISTORY_ARCHIVE_PREFIX, QUERY_HISTORY_FOLDER, openChecksummedEnvelope, crc32, packChecksummedEnvelope } from './chunk-RXQZ53NV.mjs';
29
- import { isCompositePartition, generateId, mergePartitionStats, resolvePartitionInsertOptions, createPartitionIndex, createCompositePartition, ARRAY_POSITION_GAP, fnv1a, freezeSegmentShared, createFrozenSegment, createSharedFrozenSegment, getLanguage, validatePatternValueLimit, requireSurfaceFormsForPartialFields, validateRequiredFieldsInSchema, resolveIndexAnalysis, validateEmbeddingConfig, storedArrayPositionGap, emitSyncChange, toError, prepareStoredSynonyms, loadSchemaCodeFor, decodeEveryStoredDocument, arrayPositionsAreStale, insertDocumentVectors, createPartitionRouter, buildSegmentPayloads, createRequestId } from './chunk-ZGGZXRGM.mjs';
28
+ import { hasNrslMagic, HEADER_SIZE, readHeader, storedStateOf, attachedRuntimeOf, historyFilesOf, listHistoryFolder, historyFileOf, QUERY_HISTORY_ARCHIVE_PREFIX, QUERY_HISTORY_FOLDER, openChecksummedEnvelope, crc32, packChecksummedEnvelope } from './chunk-GTB2S2VX.mjs';
29
+ import { isCompositePartition, generateId, mergePartitionStats, resolvePartitionInsertOptions, createPartitionIndex, createCompositePartition, ARRAY_POSITION_GAP, fnv1a, freezeSegmentShared, createFrozenSegment, createSharedFrozenSegment, getLanguage, validatePatternValueLimit, requireSurfaceFormsForPartialFields, validateRequiredFieldsInSchema, resolveIndexAnalysis, validateEmbeddingConfig, storedArrayPositionGap, emitSyncChange, toError, prepareStoredSynonyms, loadSchemaCodeFor, decodeEveryStoredDocument, arrayPositionsAreStale, insertDocumentVectors, createPartitionRouter, buildSegmentPayloads, createRequestId } from './chunk-NNRDQYBD.mjs';
30
30
  import { encodeDocument } from './chunk-2CKDCC65.mjs';
31
31
  import './chunk-BRTABNC7.mjs';
32
32
  import { decode } from './chunk-Y7GXGJFZ.mjs';
@@ -1,7 +1,7 @@
1
- export { DayStore, RestoredHistory, clearLeftoversOfName, dayOf, installSuggestionHooks, openCountsFile, sameBytes, startQuerySuggestions } from './chunk-GLPBA2YZ.mjs';
1
+ export { DayStore, RestoredHistory, clearLeftoversOfName, dayOf, installSuggestionHooks, openCountsFile, sameBytes, startQuerySuggestions } from './chunk-WCGFMFWK.mjs';
2
2
  export { oneSyncChangeAtATime } from './chunk-V6EUBAIT.mjs';
3
- export { BUILD_LIST_PAGE, BUILD_WRITE_BATCH, BYTES_PER_MIB, DAY_MS, DEFAULT_PREVIEW_LIMIT, HEADER_SIZE, HISTORY_SWEEP_INTERVAL_MS, KEY_FINGERPRINT_BYTES, KEY_FINGERPRINT_LABEL, MAX_HISTORY_FILE_BYTES, MAX_MANUAL_SUGGESTION_COUNT, MAX_PREVIEW_LIMIT, MAX_SOURCE_INDEX_NAME_LENGTH, MAX_TIMER_DELAY_MS, MIN_KEY_BYTES, MS_PER_SECOND, QUERY_HISTORY_ARCHIVE_PREFIX, QUERY_HISTORY_FOLDER, SCHEDULE_OFF, SCRAMBLED_ID_BYTES, acceptedPhrase, attachRuntime, attachedRuntimeOf, banListFromInput, bindSuggestionStoreHost, buildRecordKey, checksumOfChunks, crc32, crc32Final, crc32Init, crc32Update, engineVersionParts, hasNrslMagic, historyFileOf, historyFilesOf, invalidSetting, isGroup, isPerson, latestMatchAtOrBefore, listHistoryFolder, nextMatchAfter, normaliseBan, openChecksummedEnvelope, packChecksummedEnvelope, packEnvelopeWithChecksum, parseSchedule, readHeader, removeHistoryFolder, removeRestoreLeftovers, requireFieldsInSchema, requireWithinFileLimit, resolveSetting, storedStateFromWire, storedStateOf, storedStateToWire, unionOfBans, validateSetting, withState, writeHeader } from './chunk-RXQZ53NV.mjs';
4
- import './chunk-ZGGZXRGM.mjs';
3
+ export { BUILD_LIST_PAGE, BUILD_WRITE_BATCH, BYTES_PER_MIB, DAY_MS, DEFAULT_PREVIEW_LIMIT, HEADER_SIZE, HISTORY_SWEEP_INTERVAL_MS, KEY_FINGERPRINT_BYTES, KEY_FINGERPRINT_LABEL, MAX_HISTORY_FILE_BYTES, MAX_MANUAL_SUGGESTION_COUNT, MAX_PREVIEW_LIMIT, MAX_SOURCE_INDEX_NAME_LENGTH, MAX_TIMER_DELAY_MS, MIN_KEY_BYTES, MS_PER_SECOND, QUERY_HISTORY_ARCHIVE_PREFIX, QUERY_HISTORY_FOLDER, SCHEDULE_OFF, SCRAMBLED_ID_BYTES, acceptedPhrase, attachRuntime, attachedRuntimeOf, banListFromInput, bindSuggestionStoreHost, buildRecordKey, checksumOfChunks, crc32, crc32Final, crc32Init, crc32Update, engineVersionParts, hasNrslMagic, historyFileOf, historyFilesOf, invalidSetting, isGroup, isPerson, latestMatchAtOrBefore, listHistoryFolder, nextMatchAfter, normaliseBan, openChecksummedEnvelope, packChecksummedEnvelope, packEnvelopeWithChecksum, parseSchedule, readHeader, removeHistoryFolder, removeRestoreLeftovers, requireFieldsInSchema, requireWithinFileLimit, resolveSetting, storedStateFromWire, storedStateOf, storedStateToWire, unionOfBans, validateSetting, withState, writeHeader } from './chunk-GTB2S2VX.mjs';
4
+ import './chunk-NNRDQYBD.mjs';
5
5
  import './chunk-2CKDCC65.mjs';
6
6
  import './chunk-BRTABNC7.mjs';
7
7
  import './chunk-Y7GXGJFZ.mjs';
@@ -1,9 +1,9 @@
1
- import { querySuggestionsOf, keyBytesOf, createQuerySuggestionsRuntime, createLocalHost } from './chunk-REM3KDXN.mjs';
2
- export { bindSuggestionsHost } from './chunk-6RNOECOF.mjs';
3
- import { installSuggestionHooks } from './chunk-GLPBA2YZ.mjs';
1
+ import { querySuggestionsOf, keyBytesOf, createQuerySuggestionsRuntime, createLocalHost } from './chunk-FWZ5OK5G.mjs';
2
+ export { bindSuggestionsHost } from './chunk-WRDGPEN6.mjs';
3
+ import { installSuggestionHooks } from './chunk-WCGFMFWK.mjs';
4
4
  import './chunk-V6EUBAIT.mjs';
5
- import { attachedRuntimeOf, attachRuntime } from './chunk-RXQZ53NV.mjs';
6
- import './chunk-ZGGZXRGM.mjs';
5
+ import { attachedRuntimeOf, attachRuntime } from './chunk-GTB2S2VX.mjs';
6
+ import './chunk-NNRDQYBD.mjs';
7
7
  import './chunk-2CKDCC65.mjs';
8
8
  import './chunk-BRTABNC7.mjs';
9
9
  import './chunk-Y7GXGJFZ.mjs';
@@ -4,12 +4,12 @@ import { createDurableDirectory } from '../chunk-57HDOVEE.mjs';
4
4
  import '../chunk-S5QMWECL.mjs';
5
5
  import '../chunk-LNGE7SLY.mjs';
6
6
  import '../chunk-5SHWA6PE.mjs';
7
- import '../chunk-7HVZVD2N.mjs';
8
- import '../chunk-3PO2MOFY.mjs';
7
+ import '../chunk-AWMO3NKJ.mjs';
8
+ import '../chunk-57MN2UAL.mjs';
9
9
  import '../chunk-R724DJSG.mjs';
10
10
  import '../chunk-V6EUBAIT.mjs';
11
- import { crc32 } from '../chunk-RXQZ53NV.mjs';
12
- import '../chunk-ZGGZXRGM.mjs';
11
+ import { crc32 } from '../chunk-GTB2S2VX.mjs';
12
+ import '../chunk-NNRDQYBD.mjs';
13
13
  import '../chunk-2CKDCC65.mjs';
14
14
  import '../chunk-BRTABNC7.mjs';
15
15
  import '../chunk-Y7GXGJFZ.mjs';
@@ -1,5 +1,5 @@
1
1
  import { createSerial, KEPT_ENTRY_FLUSH_IDLE_MS, KEPT_ENTRY_OVERHEAD_BYTES, DEFAULT_REPLAY_LIMIT_OF_SNAPSHOT, BACKOFF_DOUBLINGS_LIMIT, KEPT_ENTRY_FLUSH_BYTES, UPLOAD_BATCH_WRITES, RETRY_MAX_DELAY_MS, UPLOAD_RETRY_DELAY_MS, DOWNLOAD_SAVE_BYTES, SNAPSHOT_MEMORY_PER_ARCHIVE_BYTE, SNAPSHOT_RETRY_DELAY_MS, RECONNECT_MIN_DELAY_MS } from './browser/chunk-WC2DEXWU.mjs';
2
- import { hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './browser/chunk-263ERYKA.mjs';
2
+ import { hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './browser/chunk-DJDBJB2U.mjs';
3
3
  import './browser/chunk-56UNHLAF.mjs';
4
4
  import { isSyncEpoch } from './browser/chunk-YJHGOJAC.mjs';
5
5
  import { createNarsilClient } from './browser/chunk-VIVG3OXM.mjs';
package/dist/sync.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { SYNC_CLOSE_RESYNC, SYNC_CLOSE_CREDENTIAL_EXPIRED, encodeJson, SYNC_SUBPROTOCOL, CHANGES_SUBPROTOCOL, decodeScore } from './chunk-TACP6VK6.mjs';
2
2
  import { createSerial, KEPT_ENTRY_FLUSH_IDLE_MS, KEPT_ENTRY_OVERHEAD_BYTES, DEFAULT_REPLAY_LIMIT_OF_SNAPSHOT, BACKOFF_DOUBLINGS_LIMIT, KEPT_ENTRY_FLUSH_BYTES, UPLOAD_BATCH_WRITES, RETRY_MAX_DELAY_MS, UPLOAD_RETRY_DELAY_MS, DOWNLOAD_SAVE_BYTES, SNAPSHOT_MEMORY_PER_ARCHIVE_BYTE, SNAPSHOT_RETRY_DELAY_MS, RECONNECT_MIN_DELAY_MS } from './chunk-6MSZ543Y.mjs';
3
- import { hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './chunk-ZGGZXRGM.mjs';
3
+ import { hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './chunk-NNRDQYBD.mjs';
4
4
  import './chunk-2CKDCC65.mjs';
5
5
  import './chunk-BRTABNC7.mjs';
6
6
  import './chunk-Y7GXGJFZ.mjs';
@@ -1,4 +1,4 @@
1
- import { withOpenIndex, oneAtATime, resolveIndexAnalysis, loadStorageCode, emitSyncChange, encodeStringBlob, tokenize, typedRegion, regionsOverlap, encodeLookupKey } from './browser/chunk-263ERYKA.mjs';
1
+ import { withOpenIndex, oneAtATime, resolveIndexAnalysis, loadStorageCode, emitSyncChange, encodeStringBlob, tokenize, typedRegion, regionsOverlap, encodeLookupKey } from './browser/chunk-DJDBJB2U.mjs';
2
2
  import { storedText } from './browser/chunk-56UNHLAF.mjs';
3
3
  import './browser/chunk-YJHGOJAC.mjs';
4
4
  import { NarsilError, ErrorCodes, requireLoadedMessagePack, compareCodePoints } from './browser/chunk-VAPCFSMX.mjs';
package/dist/synonyms.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { synonymSearchModule } from './chunk-ZGGZXRGM.mjs';
1
+ import { synonymSearchModule } from './chunk-NNRDQYBD.mjs';
2
2
  import './chunk-2CKDCC65.mjs';
3
3
  import './chunk-BRTABNC7.mjs';
4
4
  import './chunk-Y7GXGJFZ.mjs';
@@ -1,18 +1,18 @@
1
- export { closeRequestThread, drainRequestThread, searchHandler, serveRequests } from './chunk-CP4ZQR2X.mjs';
2
- import './chunk-FAK7Y3OX.mjs';
1
+ export { closeRequestThread, drainRequestThread, searchHandler, serveRequests } from './chunk-UAITBI74.mjs';
2
+ import './chunk-PM2UOKYB.mjs';
3
3
  import './chunk-TACP6VK6.mjs';
4
- import './chunk-AAH5CD3M.mjs';
5
- import './chunk-3Q6CDT32.mjs';
6
- import './chunk-CPAE2QJP.mjs';
4
+ import './chunk-MUBQER6D.mjs';
5
+ import './chunk-RBHEMWN6.mjs';
6
+ import './chunk-EDZJNZKV.mjs';
7
7
  import './chunk-S5QMWECL.mjs';
8
8
  import './chunk-LNGE7SLY.mjs';
9
9
  import './chunk-5SHWA6PE.mjs';
10
- import './chunk-7HVZVD2N.mjs';
11
- import './chunk-3PO2MOFY.mjs';
10
+ import './chunk-AWMO3NKJ.mjs';
11
+ import './chunk-57MN2UAL.mjs';
12
12
  import './chunk-R724DJSG.mjs';
13
13
  import './chunk-V6EUBAIT.mjs';
14
- import './chunk-RXQZ53NV.mjs';
15
- import './chunk-ZGGZXRGM.mjs';
14
+ import './chunk-GTB2S2VX.mjs';
15
+ import './chunk-NNRDQYBD.mjs';
16
16
  import './chunk-2CKDCC65.mjs';
17
17
  import './chunk-BRTABNC7.mjs';
18
18
  import './chunk-Y7GXGJFZ.mjs';
@@ -1,8 +1,8 @@
1
- import { holdCopyPublication, copyGenerationOf, transferIndexToPool, loadIndexOntoWorkers } from './chunk-H7IIA2KL.mjs';
2
- export { emptySerializablePartition, loadIndexOntoWorkers, transferIndexToPool } from './chunk-H7IIA2KL.mjs';
1
+ import { holdCopyPublication, copyGenerationOf, transferIndexToPool, loadIndexOntoWorkers } from './chunk-7DW2ITZ3.mjs';
2
+ export { emptySerializablePartition, loadIndexOntoWorkers, transferIndexToPool } from './chunk-7DW2ITZ3.mjs';
3
3
  import { executeUntilAnswered } from './chunk-4H4RG2FR.mjs';
4
- import { DEFAULT_WORKER_SILENCE_BEFORE_PROBE_MS, DEFAULT_WORKER_SILENCE_BEFORE_RETIREMENT_MS, growPartitionsTo, isCompositePartition, createSharedFrozenSegment, loadStorageCode, resolvePartitionInsertOptions, buildSegmentPayloads, freezeSegmentShared, DEFAULT_MAX_THREADS_LEFT_RUNNING, DEFAULT_COPY_THRESHOLD, workersEnabledByDefault, POOL_RESTART_DELAY_MS, createRequestId, mergeSegmentContents, freezeEncodedSegmentShared, SegmentRefusal, NO_REMOVED_SPELLINGS, DEFAULT_COPY_IDLE_TIMEOUT_MS, LONG_QUERY_THREADS, toError, isDeterministicFailure, workerIneligibility, reportIneligible, fnv1a, selectionKeeps, prepareDocumentVectors, MAX_PENDING_REPLICATION_DOCUMENTS, MAIN_COPY_LONE_QUERY_DOCUMENTS, returnsEveryMatch, oversampledFacetConfig, afterCurrentTurn, LOAD_BUFFER_YIELD_INTERVAL, yieldToEventLoop, IDLE_MERGE_DELAY_MS, alreadyPresentOnWorker, REPLICATION_WINDOW, RETIRED_THREADS_EXIT_WAIT_MS, eligibleIndexNames, createWorkerFactory, availablePatternSearch, patternHost, kWayMerge, mergeFacets, generateId, POOL_RESTART_DELAY_MAX_MS, COMPACTION_SEGMENT_TRIGGER, LIVE_TAIL_FREEZE_FLOOR, requireLoadedVectorCode, LIVE_TAIL_FLUSH_DOCUMENTS, SEGMENTS_PER_MERGE } from './chunk-ZGGZXRGM.mjs';
5
- export { bindWorkerCopiesHost, createWorkerExecutor } from './chunk-ZGGZXRGM.mjs';
4
+ import { DEFAULT_WORKER_SILENCE_BEFORE_PROBE_MS, DEFAULT_WORKER_SILENCE_BEFORE_RETIREMENT_MS, growPartitionsTo, isCompositePartition, createSharedFrozenSegment, loadStorageCode, resolvePartitionInsertOptions, buildSegmentPayloads, freezeSegmentShared, DEFAULT_MAX_THREADS_LEFT_RUNNING, DEFAULT_COPY_THRESHOLD, workersEnabledByDefault, POOL_RESTART_DELAY_MS, createRequestId, mergeSegmentContents, freezeEncodedSegmentShared, SegmentRefusal, NO_REMOVED_SPELLINGS, DEFAULT_COPY_IDLE_TIMEOUT_MS, LONG_QUERY_THREADS, toError, isDeterministicFailure, workerIneligibility, reportIneligible, fnv1a, selectionKeeps, prepareDocumentVectors, MAX_PENDING_REPLICATION_DOCUMENTS, MAIN_COPY_LONE_QUERY_DOCUMENTS, returnsEveryMatch, oversampledFacetConfig, afterCurrentTurn, LOAD_BUFFER_YIELD_INTERVAL, yieldToEventLoop, IDLE_MERGE_DELAY_MS, alreadyPresentOnWorker, REPLICATION_WINDOW, RETIRED_THREADS_EXIT_WAIT_MS, eligibleIndexNames, createWorkerFactory, availablePatternSearch, patternHost, kWayMerge, mergeFacets, generateId, POOL_RESTART_DELAY_MAX_MS, COMPACTION_SEGMENT_TRIGGER, LIVE_TAIL_FREEZE_FLOOR, requireLoadedVectorCode, LIVE_TAIL_FLUSH_DOCUMENTS, SEGMENTS_PER_MERGE } from './chunk-NNRDQYBD.mjs';
5
+ export { bindWorkerCopiesHost, createWorkerExecutor } from './chunk-NNRDQYBD.mjs';
6
6
  import './chunk-2CKDCC65.mjs';
7
7
  import './chunk-BRTABNC7.mjs';
8
8
  import './chunk-Y7GXGJFZ.mjs';
@@ -1,4 +1,4 @@
1
- import { requireSearchBackendSettings, loadVectorCode, loadGeoCode, importOptionalReads, initializeCopyPublication, publishCopyAction, isValidWorkerAction } from '../chunk-ZGGZXRGM.mjs';
1
+ import { requireSearchBackendSettings, loadVectorCode, loadGeoCode, importOptionalReads, initializeCopyPublication, publishCopyAction, isValidWorkerAction } from '../chunk-NNRDQYBD.mjs';
2
2
  import '../chunk-2CKDCC65.mjs';
3
3
  import '../chunk-BRTABNC7.mjs';
4
4
  import '../chunk-Y7GXGJFZ.mjs';
@@ -32,9 +32,9 @@ async function importBootstrapModule(moduleUrl) {
32
32
  await import(moduleUrl);
33
33
  }
34
34
  async function stopServingRequests(refuseNewRequests) {
35
- const { drainRequestThread } = await import('../thread-UQAIJ5CS.mjs');
35
+ const { drainRequestThread } = await import('../thread-T5F3HSMC.mjs');
36
36
  await drainRequestThread(refuseNewRequests);
37
- const { closeLongQueryThread } = await import('../long-query-thread-HK5FP64H.mjs');
37
+ const { closeLongQueryThread } = await import('../long-query-thread-C62WK6NI.mjs');
38
38
  closeLongQueryThread();
39
39
  }
40
40
  function holdsCopies(executor) {
@@ -91,7 +91,7 @@ function createActionHandler(executor) {
91
91
  if (!holdsCopies(executor)) {
92
92
  throw new NarsilError(ErrorCodes.CONFIG_INVALID, "This executor holds no copies to answer requests from");
93
93
  }
94
- const starting = import('../thread-UQAIJ5CS.mjs').then(
94
+ const starting = import('../thread-T5F3HSMC.mjs').then(
95
95
  ({ serveRequests }) => serveRequests(executor, action.settings)
96
96
  );
97
97
  serving.start = starting.then(
@@ -108,7 +108,7 @@ function createActionHandler(executor) {
108
108
  if (!holdsCopies(executor)) {
109
109
  throw new NarsilError(ErrorCodes.CONFIG_INVALID, "This executor holds no copies to answer long queries from");
110
110
  }
111
- const { serveLongQueries } = await import('../long-query-thread-HK5FP64H.mjs');
111
+ const { serveLongQueries } = await import('../long-query-thread-C62WK6NI.mjs');
112
112
  serveLongQueries(executor, action.settings);
113
113
  servingRequests = true;
114
114
  post(buildSuccessResponse(action.requestId, void 0));
@@ -156,8 +156,8 @@ async function setup() {
156
156
  }
157
157
  requireSearchBackendSettings();
158
158
  const [{ createDirectExecutor }, { runQueryAction }] = await Promise.all([
159
- import('../direct-executor-TWLEPVQO.mjs'),
160
- import('../query-actions-AA5LE2WV.mjs'),
159
+ import('../direct-executor-3C5WFR33.mjs'),
160
+ import('../query-actions-QH5UQRCY.mjs'),
161
161
  loadVectorCode(),
162
162
  loadGeoCode(),
163
163
  importOptionalReads(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delali/narsil",
3
- "version": "0.4.5-next.309",
3
+ "version": "0.4.6-next.332",
4
4
  "type": "module",
5
5
  "description": "Distributed search engine with full-text, vector, hybrid, and geosearch. One engine, embedded or on a server, with a cross-language .nrsl format.",
6
6
  "author": "Delali (https://sondelali.com)",
@@ -656,9 +656,9 @@
656
656
  }
657
657
  },
658
658
  "optionalDependencies": {
659
- "@delali/narsil-native-linux-arm64": "0.4.5-next.309",
660
- "@delali/narsil-native-linux-x64": "0.4.5-next.309",
661
- "@delali/narsil-native-win32-arm64": "0.4.5-next.309",
662
- "@delali/narsil-native-win32-x64": "0.4.5-next.309"
659
+ "@delali/narsil-native-linux-arm64": "0.4.6-next.332",
660
+ "@delali/narsil-native-linux-x64": "0.4.6-next.332",
661
+ "@delali/narsil-native-win32-arm64": "0.4.6-next.332",
662
+ "@delali/narsil-native-win32-x64": "0.4.6-next.332"
663
663
  }
664
664
  }