@delali/narsil 0.3.1-next.94 → 0.3.1-next.96

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 (46) hide show
  1. package/dist/browser/{chunk-4JTBL63P.mjs → chunk-3MYKLHRO.mjs} +2 -2
  2. package/dist/browser/{chunk-5S74HQRT.mjs → chunk-FYFQJKFW.mjs} +1 -1
  3. package/dist/browser/{chunk-HC6DMR4T.mjs → chunk-KPMIHLOV.mjs} +6 -6
  4. package/dist/browser/{chunk-PP6N5CCS.mjs → chunk-ZGMR46O3.mjs} +1 -1
  5. package/dist/browser/{durability-wiring-7DKYHKT5.mjs → durability-wiring-R7P64REL.mjs} +3 -3
  6. package/dist/browser/{module-O5WH32EL.mjs → module-IEOQI5GI.mjs} +2 -2
  7. package/dist/browser/{restore-queue-Z7FZZNKH.mjs → restore-queue-WMYC5ZK6.mjs} +1 -1
  8. package/dist/browser/{snapshot-PPTZ565G.mjs → snapshot-3A3WDNHO.mjs} +111 -59
  9. package/dist/browser/{write-2ZAA7UDH.mjs → write-JODZHKIF.mjs} +2 -2
  10. package/dist/{capabilities-xsJfdFoQ.d.ts → capabilities-BvxvFzVA.d.ts} +2 -2
  11. package/dist/{chunk-QWWCLRXX.mjs → chunk-2BY6K52M.mjs} +3 -3
  12. package/dist/{chunk-UAUZGXJP.mjs → chunk-3LYY62M6.mjs} +1 -1
  13. package/dist/{chunk-EZD4MWOU.mjs → chunk-GMY7F2VA.mjs} +1 -1
  14. package/dist/{chunk-EWBXO45L.mjs → chunk-H75XXPMY.mjs} +1 -1
  15. package/dist/{chunk-K6A4FCVR.mjs → chunk-HBVLF3HA.mjs} +1 -1
  16. package/dist/{chunk-Z3MOCHG5.mjs → chunk-ICL2AELD.mjs} +1 -1
  17. package/dist/{chunk-J53IHLG7.mjs → chunk-LJBJQPB5.mjs} +4 -4
  18. package/dist/{chunk-7VALMHZF.mjs → chunk-MWT5WCJ5.mjs} +1 -1
  19. package/dist/{chunk-C45FUYPI.mjs → chunk-O5WPRAVZ.mjs} +7 -7
  20. package/dist/{chunk-AF2CIKYC.mjs → chunk-T2QN2FA4.mjs} +1 -1
  21. package/dist/{chunk-WBS3EYC4.mjs → chunk-TCYUAUHF.mjs} +3 -3
  22. package/dist/{chunk-EX62BQT6.mjs → chunk-VVFLEGZI.mjs} +3 -3
  23. package/dist/{client-CgayPw2R.d.ts → client-DKwterMb.d.ts} +2 -2
  24. package/dist/client.d.ts +6 -6
  25. package/dist/{config-3kBsQ0Pi.d.ts → config-6YBtxekG.d.ts} +1 -1
  26. package/dist/{config-B-RnO6dr.d.ts → config-DPphZfuM.d.ts} +1 -1
  27. package/dist/{direct-executor-IJTRU3YN.mjs → direct-executor-5KJGVQHM.mjs} +2 -2
  28. package/dist/distribution.d.ts +5 -5
  29. package/dist/distribution.mjs +9 -9
  30. package/dist/{durability-wiring-Y55SCPFC.mjs → durability-wiring-2VBNYYDY.mjs} +8 -8
  31. package/dist/{engine-DSUfY2F0.d.ts → engine-CbZmXUp6.d.ts} +3 -3
  32. package/dist/index.browser.mjs +1 -1
  33. package/dist/index.d.ts +5 -5
  34. package/dist/index.mjs +3 -3
  35. package/dist/{memory-wuXcYOD1.d.ts → memory-COdoGthn.d.ts} +1 -1
  36. package/dist/{module-VITS4ZR5.mjs → module-IUTNXWMV.mjs} +5 -5
  37. package/dist/persistence/durability/checkpoint-worker.mjs +6 -6
  38. package/dist/react.d.ts +6 -6
  39. package/dist/{restore-queue-4SG45BLF.mjs → restore-queue-UFIQJTSG.mjs} +1 -1
  40. package/dist/server.d.ts +8 -8
  41. package/dist/{snapshot-XBKE7PUG.mjs → snapshot-XII3ANGW.mjs} +119 -65
  42. package/dist/{tasks-Bj9WBlFG.d.ts → tasks-BJmamiC4.d.ts} +1 -1
  43. package/dist/vector/search-worker.mjs +2 -2
  44. package/dist/workers/entry.mjs +2 -2
  45. package/dist/{write-BMNV7P2H.mjs → write-6M3VG4TU.mjs} +4 -4
  46. package/package.json +7 -7
@@ -1,5 +1,5 @@
1
- import { KEYWORD_SEGMENT_ENVELOPE_VERSION, decodeKeywordSegment, restoreVectorFields, KEYWORD_SEGMENT_PAYLOAD_VERSION, littleEndianBytes } from './chunk-PP6N5CCS.mjs';
2
- import { VERSION, rulesOfStoredSynonyms, flattenSchema, packChecksummedEnvelope, openChecksummedEnvelope, requireValidFieldTypes, isCompositePartition, crc32, reconstructSchemaFromMetadata, extractVectorFieldsFromSchema, readHeader, HEADER_SIZE, engineVersionParts, writeHeader, partialFieldsOf, getLanguage, decodeEveryStoredDocument, createSharedFrozenSegment, shareSegmentArrays, VECTOR_PATTERN, isQuantizationMode, isStorageMode, survivorDocumentsOf, partitionStateOf, freezeSegmentShared, createFrozenSegment, createPartitionManager, createPartitionRouter, buildSegmentPayload, resolvePartitionInsertOptions, fnv1a, selectionKeeps, decodeMapWithoutFields, prepareDocumentVectors, messagePackUpperBoundBytes, segmentArraysOf, mergeSegmentContents, resolveIndexAnalysis } from './chunk-HC6DMR4T.mjs';
1
+ import { KEYWORD_SEGMENT_ENVELOPE_VERSION, decodeKeywordSegment, restoreVectorFields, KEYWORD_SEGMENT_PAYLOAD_VERSION, littleEndianBytes } from './chunk-ZGMR46O3.mjs';
2
+ import { VERSION, rulesOfStoredSynonyms, flattenSchema, packChecksummedEnvelope, openChecksummedEnvelope, requireValidFieldTypes, isCompositePartition, crc32, reconstructSchemaFromMetadata, extractVectorFieldsFromSchema, readHeader, HEADER_SIZE, engineVersionParts, writeHeader, partialFieldsOf, getLanguage, decodeEveryStoredDocument, createSharedFrozenSegment, shareSegmentArrays, VECTOR_PATTERN, isQuantizationMode, isStorageMode, survivorDocumentsOf, partitionStateOf, freezeSegmentShared, createFrozenSegment, createPartitionManager, createPartitionRouter, buildSegmentPayload, resolvePartitionInsertOptions, fnv1a, selectionKeeps, decodeMapWithoutFields, prepareDocumentVectors, messagePackUpperBoundBytes, segmentArraysOf, mergeSegmentContents, resolveIndexAnalysis } from './chunk-KPMIHLOV.mjs';
3
3
  import { decodeVectorGraphPartPayload, assembleGraphParts, decodeVectorFilePayload, countDead, VECTOR_FILE_MAX_VECTORS, deadBytesFor } from './chunk-WKPJ4E73.mjs';
4
4
  import { compareCodePoints, NarsilError, ErrorCodes, MAX_FILE_BYTES, VALID_HNSW_METRICS } from './chunk-HARBSUWP.mjs';
5
5
  import { decode, encode } from '@msgpack/msgpack';
@@ -2364,7 +2364,7 @@ var DEFAULT_RESCORE_DEPTH_BY_BITS = {
2364
2364
  wide: { perLimit: 3, perSquareRootOfLimit: 0 }
2365
2365
  },
2366
2366
  2: {
2367
- narrow: { perLimit: 2.6, perSquareRootOfLimit: 17 },
2367
+ narrow: { perLimit: 2.6, perSquareRootOfLimit: 22.5 },
2368
2368
  middle: { perLimit: 1, perSquareRootOfLimit: 16 },
2369
2369
  wide: { perLimit: 3, perSquareRootOfLimit: 0 }
2370
2370
  },
@@ -14883,7 +14883,7 @@ function requireLoadedVectorCode() {
14883
14883
  function loadVectorCode() {
14884
14884
  if (loaded !== null) return Promise.resolve(loaded);
14885
14885
  if (loading === null) {
14886
- loading = import('./module-O5WH32EL.mjs').then(
14886
+ loading = import('./module-IEOQI5GI.mjs').then(
14887
14887
  (code) => {
14888
14888
  loaded = code;
14889
14889
  return code;
@@ -18980,7 +18980,7 @@ async function createEngineCore(config, hooks, capacityScope = "index") {
18980
18980
  if (config?.lifecycle !== void 0 && durabilityTier === null) {
18981
18981
  throw new NarsilError(ErrorCodes.CONFIG_INVALID, "Index lifecycle settings require durability");
18982
18982
  }
18983
- const durabilityWiring = durabilityTier === null ? null : await import('./durability-wiring-7DKYHKT5.mjs');
18983
+ const durabilityWiring = durabilityTier === null ? null : await import('./durability-wiring-R7P64REL.mjs');
18984
18984
  const filesystemDurability = durabilityTier?.kind === "wal";
18985
18985
  const executor = createDirectExecutor({
18986
18986
  vectorWorkerCopies: vectorCopyPolicy,
@@ -22399,14 +22399,14 @@ function portabilityOperations(core, config, engine) {
22399
22399
  return {
22400
22400
  snapshot(indexName) {
22401
22401
  return withOpenIndex(indexName, async () => {
22402
- const { createSnapshot } = await import('./snapshot-PPTZ565G.mjs');
22402
+ const { createSnapshot } = await import('./snapshot-3A3WDNHO.mjs');
22403
22403
  return createSnapshot(snapshotDepsOf(indexName));
22404
22404
  });
22405
22405
  },
22406
22406
  async restore(indexName, data) {
22407
22407
  core.guardShutdown();
22408
22408
  validateIndexName(indexName);
22409
- const restored = import('./restore-queue-Z7FZZNKH.mjs').then(
22409
+ const restored = import('./restore-queue-WMYC5ZK6.mjs').then(
22410
22410
  ({ queueRestore }) => queueRestore(core, restoreHost, restoresInFlight, indexName, data)
22411
22411
  );
22412
22412
  await emitWriteEventAfter(core, indexName, restored);
@@ -22415,8 +22415,8 @@ function portabilityOperations(core, config, engine) {
22415
22415
  exportDocuments(indexName) {
22416
22416
  return withOpenIndex(indexName, async () => {
22417
22417
  const [{ checkpointForArchive }, { documentExportStream }] = await Promise.all([
22418
- import('./snapshot-PPTZ565G.mjs'),
22419
- import('./write-2ZAA7UDH.mjs')
22418
+ import('./snapshot-3A3WDNHO.mjs'),
22419
+ import('./write-JODZHKIF.mjs')
22420
22420
  ]);
22421
22421
  const header = indexConfigurationOf(core.requireIndex(indexName));
22422
22422
  return documentExportStream(header, await checkpointForArchive(snapshotDepsOf(indexName)));
@@ -1,4 +1,4 @@
1
- import { removeDocumentVectors, prepareDocumentVectors, insertDocumentVectors, getNestedValue, requireValidFieldTypes, VECTOR_PATTERN } from './chunk-HC6DMR4T.mjs';
1
+ import { removeDocumentVectors, prepareDocumentVectors, insertDocumentVectors, getNestedValue, requireValidFieldTypes, VECTOR_PATTERN } from './chunk-KPMIHLOV.mjs';
2
2
  import { NarsilError, ErrorCodes } from './chunk-HARBSUWP.mjs';
3
3
  import { decode } from '@msgpack/msgpack';
4
4
 
@@ -1,7 +1,7 @@
1
1
  import { nodeThreadId, spawnNodeWorker } from './chunk-HOZW3PKP.mjs';
2
- import { DEFAULT_SEGMENT_MAX_BYTES, DEFAULT_CHECKPOINT_INTERVAL_MS, DEFAULT_CHECKPOINT_MUTATION_THRESHOLD, DEFAULT_COMPACTION_THRESHOLD, DEFAULT_ASYNC_FLUSH_INTERVAL_MS, WRITES_STALL_ABOVE_UNCHECKPOINTED_BYTES, directoryCheckpointStore, manifestKey, decodeSegmentManifest, readListedFile, adapterCheckpointStore, readMetadataEnvelope, readSegmentManifest, reclaimUnlistedKeys, snapshotBundleKey, manifestReferencedKeys, loadSegmentedCheckpoint, checkpointLastSeqNo, writeMetadataEnvelope, metadataFromConfig, DIRECTORY_LOCK_ATTEMPTS, createSeqOwner, readCurrentManifest, manifestFileRefs, DIRECTORY_LOCK_SETTLE_MS, commitCheckpointManifest, removeCheckpointGarbage, readSegmentFile, isRecord, invalidManifest, deserializePayloadV2, unpackEnvelopeBytes, checkpointPrimaryTerm, SINGLE_NODE_PRIMARY_TERM, writeCheckpointSegments, partitionContentsOf, writeLiveVectors, frameRecord, WHOLE_PARTITION_LARGEST_DOCUMENT_COUNT, WHOLE_PARTITION_MIN_CHANGED_SHARE, captureWholePartition, readCommitMarker, isId, isUint32, isSequenceNumber, readWalSegments, durableRecordMissing, growPartitionsTo, CHECKPOINT_TIMEOUT_RECOVERY_BACKOFF_MS, MAX_SEGMENTS_PER_PARTITION, VECTOR_FILE_ENVELOPE_VERSION, writeSegmentHeader, CHECKPOINT_WORKER_TIMEOUT_MS, CHECKPOINT_WORKER_IDLE_MS, SEGMENT_HEADER_SIZE, documentsOfPayloadV2, nextMarkerSlot, encodeMarkerSlot, markerSlotOffset, LOG_RECORDS_PER_CHECKPOINT, DIRECTORY_IDENTITY_CHECK_INTERVAL_MS, metadataConfigOf, buildEntry } from './chunk-4JTBL63P.mjs';
3
- import { applyDeleteEntry, applyIndexEntry } from './chunk-PP6N5CCS.mjs';
4
- import { encodeDocument, fnv1a, requireValidFieldTypes, openChecksummedEnvelope, HEADER_SIZE, buildSegmentPayload, resolvePartitionInsertOptions, freezeSegmentShared, createSharedFrozenSegment } from './chunk-HC6DMR4T.mjs';
2
+ import { DEFAULT_SEGMENT_MAX_BYTES, DEFAULT_CHECKPOINT_INTERVAL_MS, DEFAULT_CHECKPOINT_MUTATION_THRESHOLD, DEFAULT_COMPACTION_THRESHOLD, DEFAULT_ASYNC_FLUSH_INTERVAL_MS, WRITES_STALL_ABOVE_UNCHECKPOINTED_BYTES, directoryCheckpointStore, manifestKey, decodeSegmentManifest, readListedFile, adapterCheckpointStore, readMetadataEnvelope, readSegmentManifest, reclaimUnlistedKeys, snapshotBundleKey, manifestReferencedKeys, loadSegmentedCheckpoint, checkpointLastSeqNo, writeMetadataEnvelope, metadataFromConfig, DIRECTORY_LOCK_ATTEMPTS, createSeqOwner, readCurrentManifest, manifestFileRefs, DIRECTORY_LOCK_SETTLE_MS, commitCheckpointManifest, removeCheckpointGarbage, readSegmentFile, isRecord, invalidManifest, deserializePayloadV2, unpackEnvelopeBytes, checkpointPrimaryTerm, SINGLE_NODE_PRIMARY_TERM, writeCheckpointSegments, partitionContentsOf, writeLiveVectors, frameRecord, WHOLE_PARTITION_LARGEST_DOCUMENT_COUNT, WHOLE_PARTITION_MIN_CHANGED_SHARE, captureWholePartition, readCommitMarker, isId, isUint32, isSequenceNumber, readWalSegments, durableRecordMissing, growPartitionsTo, CHECKPOINT_TIMEOUT_RECOVERY_BACKOFF_MS, MAX_SEGMENTS_PER_PARTITION, VECTOR_FILE_ENVELOPE_VERSION, writeSegmentHeader, CHECKPOINT_WORKER_TIMEOUT_MS, CHECKPOINT_WORKER_IDLE_MS, SEGMENT_HEADER_SIZE, documentsOfPayloadV2, nextMarkerSlot, encodeMarkerSlot, markerSlotOffset, LOG_RECORDS_PER_CHECKPOINT, DIRECTORY_IDENTITY_CHECK_INTERVAL_MS, metadataConfigOf, buildEntry } from './chunk-3MYKLHRO.mjs';
3
+ import { applyDeleteEntry, applyIndexEntry } from './chunk-ZGMR46O3.mjs';
4
+ import { encodeDocument, fnv1a, requireValidFieldTypes, openChecksummedEnvelope, HEADER_SIZE, buildSegmentPayload, resolvePartitionInsertOptions, freezeSegmentShared, createSharedFrozenSegment } from './chunk-KPMIHLOV.mjs';
5
5
  import { decodeVectorIndexParts, VECTOR_FILE_MAX_VECTORS, deadBytesFor, countDead, decodeVectorFilePayload, decodeVectorGraphPayload, graphPartsOfEarlierPayload } from './chunk-WKPJ4E73.mjs';
6
6
  import { NarsilError, ErrorCodes, compareCodePoints, MAX_INDEX_NAME_LENGTH, INDEX_NAME_PATTERN, detectRuntime, MIN_M, resolveWorkerEntry, MAX_FILE_BYTES } from './chunk-HARBSUWP.mjs';
7
7
  import { decode } from '@msgpack/msgpack';
@@ -1,6 +1,6 @@
1
1
  import { spawnNodeWorker } from './chunk-HOZW3PKP.mjs';
2
- import { VECTOR_WORKER_COPIES_ALLOWED, openSharedQuantizer, STORE_ORDINAL_LAYOUT_GENERATION, searchOrdinals, insertNode, GRAPH_RETIRED, nodeCountOf, tombstoneCountOf, DEFAULT_PROMOTION_THRESHOLD, DEFAULT_FILTER_THRESHOLD, osqBitsOf, createOsqQuantizer, recordCheckpoint, planCheckpoint, deserialize, assignStorePartitions, liveSize, ordinalFilterForSubsets, ordinalFilterValues, threadsHoldCurrentLayout, filterForOptions, openGraphState, STORE_UNPLACED_COUNT, STORE_LIVE_COUNT, STORE_REMOVED_COUNT, fixedView, OSQ4_MIN_DIMENSION, sharedVectorStoreBytes, STORE_SLOTS, IN_MEMORY, resetStoreHeader, STORE_RELEASED_VECTORS_TO_DISK, magnitude, emptyFieldBeforeRestore, ESTIMATED_MS_PER_TOMBSTONE, graphNeedsRebuild, ESTIMATED_MS_PER_VECTOR_REBUILD, releaseReplacedVectors, createOrdinalFilter, addToOrdinalFilter, nativeScoresOf, toScore, ordinalFilterHas, WORKER_COPY_MIN_VECTORS, allLiveDocIds, openVectorBlock, NOTHING_STAGED, arenaFloat32Distance, slotByteOffset, detachNativeStore, STORE_BLOCK_COUNT, STORE_CODE_BLOCK_COUNT, createSharedVectorStoreHandles, BLOCK_MAX_BYTES, growBufferTo, unplacedChunkCount, STORE_DOC_ID_BYTES, recalibrateFromStore, signatureOf, nativeStoreScratchBytes, noteFallback, toDistance, euclideanDistance, dotProduct, cosineSimilarityWithMagnitudes, QUERY_STAGED, createVectorBlock, ensureBlockSlots, createHNSWIndex, adoptGraph, topLayerInParts, calibrateQuantizer, fieldHandlesOf, sharedMemoryAvailable, requireWholeNeighbourLists, BUILD_CHUNK_SIZE, yieldToEventLoop, releaseLocksHeldBy, DISK_ADOPTION_YIELD_INTERVAL } from './chunk-5S74HQRT.mjs';
3
- export { releaseLocksHeldBy } from './chunk-5S74HQRT.mjs';
2
+ import { VECTOR_WORKER_COPIES_ALLOWED, openSharedQuantizer, STORE_ORDINAL_LAYOUT_GENERATION, searchOrdinals, insertNode, GRAPH_RETIRED, nodeCountOf, tombstoneCountOf, DEFAULT_PROMOTION_THRESHOLD, DEFAULT_FILTER_THRESHOLD, osqBitsOf, createOsqQuantizer, recordCheckpoint, planCheckpoint, deserialize, assignStorePartitions, liveSize, ordinalFilterForSubsets, ordinalFilterValues, threadsHoldCurrentLayout, filterForOptions, openGraphState, STORE_UNPLACED_COUNT, STORE_LIVE_COUNT, STORE_REMOVED_COUNT, fixedView, OSQ4_MIN_DIMENSION, sharedVectorStoreBytes, STORE_SLOTS, IN_MEMORY, resetStoreHeader, STORE_RELEASED_VECTORS_TO_DISK, magnitude, emptyFieldBeforeRestore, ESTIMATED_MS_PER_TOMBSTONE, graphNeedsRebuild, ESTIMATED_MS_PER_VECTOR_REBUILD, releaseReplacedVectors, createOrdinalFilter, addToOrdinalFilter, nativeScoresOf, toScore, ordinalFilterHas, WORKER_COPY_MIN_VECTORS, allLiveDocIds, openVectorBlock, NOTHING_STAGED, arenaFloat32Distance, slotByteOffset, detachNativeStore, STORE_BLOCK_COUNT, STORE_CODE_BLOCK_COUNT, createSharedVectorStoreHandles, BLOCK_MAX_BYTES, growBufferTo, unplacedChunkCount, STORE_DOC_ID_BYTES, recalibrateFromStore, signatureOf, nativeStoreScratchBytes, noteFallback, toDistance, euclideanDistance, dotProduct, cosineSimilarityWithMagnitudes, QUERY_STAGED, createVectorBlock, ensureBlockSlots, createHNSWIndex, adoptGraph, topLayerInParts, calibrateQuantizer, fieldHandlesOf, sharedMemoryAvailable, requireWholeNeighbourLists, BUILD_CHUNK_SIZE, yieldToEventLoop, releaseLocksHeldBy, DISK_ADOPTION_YIELD_INTERVAL } from './chunk-FYFQJKFW.mjs';
3
+ export { releaseLocksHeldBy } from './chunk-FYFQJKFW.mjs';
4
4
  import { isDead, NO_LIVE_VECTOR_AT_POSITION, bytesToVectors } from './chunk-WKPJ4E73.mjs';
5
5
  import { NarsilError, ErrorCodes, MAX_RENUMBERED_SEARCH_ATTEMPTS, DISK_STORAGE_BLOCK_BYTES, compareCodePoints, UNPLACED_FLAG_CHUNK_ORDINALS, MAX_VECTOR_ORDINALS, GRAPH_BUILD_CHUNKS_IN_FLIGHT_PER_WORKER, GRAPH_BUILD_DISPATCH_CHUNK, resolveWorkerCount, resolveWorkerEntry, detectRuntime, WORKER_YOUNG_GENERATION_MB, VECTOR_SEARCH_TIMEOUT_MS, VECTOR_SEARCH_LOAD_TIMEOUT_MS, VECTOR_INSERT_TIMEOUT_MS, VECTOR_SCRATCH_SLOTS } from './chunk-HARBSUWP.mjs';
6
6
 
@@ -18,7 +18,7 @@ function restoreDepsOf(core, host) {
18
18
  function queueRestore(core, host, restoresInFlight, indexName, data) {
19
19
  const previous = restoresInFlight.get(indexName) ?? Promise.resolve();
20
20
  const restored = previous.then(async () => {
21
- const { restoreFromSnapshot } = await import('./snapshot-PPTZ565G.mjs');
21
+ const { restoreFromSnapshot } = await import('./snapshot-3A3WDNHO.mjs');
22
22
  await restoreFromSnapshot(indexName, data, restoreDepsOf(core, host));
23
23
  });
24
24
  const settled = restored.then(
@@ -1,7 +1,7 @@
1
- import { vectorsPerFile } from './chunk-5S74HQRT.mjs';
2
- import { indexMetadataOf, writeCheckpointSegments, DEFAULT_COMPACTION_THRESHOLD, writeLiveVectors, commitCheckpointManifest, manifestKey, decodeSegmentManifest, SINGLE_NODE_PRIMARY_TERM, partitionContentsOf, manifestFileRefs, unpackIndexSnapshotEnvelope, encodeSegmentManifest, loadSegmentedCheckpoint, writeMetadataEnvelope, openManifestPayload, listedKeysOf, decodeManifestPayload, readSegmentFile, readVectorFile, readGraphParts, documentsOfPayloadV2, deserializePayloadV1 } from './chunk-4JTBL63P.mjs';
3
- import './chunk-PP6N5CCS.mjs';
4
- import { encodeIndexConfiguration, createByteReader, hasNrslMagic, HEADER_SIZE, readHeader, raiseEarlierReleaseGraphSetting, restoredConfigFields, restoredEmbedding, getLanguage, validateSchema, validatePatternValueLimit, requireSurfaceFormsForPartialFields, validateVectorPromotion, validateVectorStorage, validateRequiredFieldsInSchema, resolveIndexAnalysis, validateEmbeddingConfig, readHeapStatistics, readResidentMemory, prepareStoredSynonyms, rejectSnapshot, extractVectorFieldsFromSchema, loadVectorCodeFor, decodeEveryStoredDocument, parseVectorDimension, insertDocumentVectors, decodeIndexConfiguration, flattenSchema } from './chunk-HC6DMR4T.mjs';
1
+ import { vectorsPerFile } from './chunk-FYFQJKFW.mjs';
2
+ import { indexMetadataOf, writeCheckpointSegments, DEFAULT_COMPACTION_THRESHOLD, writeLiveVectors, commitCheckpointManifest, manifestKey, decodeSegmentManifest, SINGLE_NODE_PRIMARY_TERM, partitionContentsOf, manifestFileRefs, unpackIndexSnapshotEnvelope, encodeSegmentManifest, loadSegmentedCheckpoint, writeMetadataEnvelope, openManifestPayload, listedKeysOf, decodeManifestPayload, readSegmentFile, readVectorFile, readGraphParts, documentsOfPayloadV2, deserializePayloadV1 } from './chunk-3MYKLHRO.mjs';
3
+ import './chunk-ZGMR46O3.mjs';
4
+ import { encodeIndexConfiguration, createByteReader, hasNrslMagic, HEADER_SIZE, readHeader, raiseEarlierReleaseGraphSetting, restoredConfigFields, restoredEmbedding, getLanguage, validateSchema, validatePatternValueLimit, requireSurfaceFormsForPartialFields, validateVectorPromotion, validateVectorStorage, validateRequiredFieldsInSchema, resolveIndexAnalysis, validateEmbeddingConfig, prepareStoredSynonyms, rejectSnapshot, readHeapStatistics, readResidentMemory, extractVectorFieldsFromSchema, loadVectorCodeFor, decodeEveryStoredDocument, parseVectorDimension, insertDocumentVectors, decodeIndexConfiguration, flattenSchema } from './chunk-KPMIHLOV.mjs';
5
5
  import { decodeVectorIndexParts, vectorsToBytes, VECTOR_FILE_PAYLOAD_VERSION, bytesToVectors } from './chunk-WKPJ4E73.mjs';
6
6
  import { NarsilError, ErrorCodes, MAX_FILE_BYTES } from './chunk-HARBSUWP.mjs';
7
7
  import { decode } from '@msgpack/msgpack';
@@ -499,43 +499,84 @@ async function validateStagedCheckpoint(store, manifest) {
499
499
  }
500
500
 
501
501
  // src/engine/snapshot/constants.ts
502
- var RESTORE_HEAP_BYTES_PER_STORED_BYTE = 0.25;
503
- var RESTORE_HEAP_BYTES_PER_EARLIER_SNAPSHOT_BYTE = 9.82;
504
- var RESTORE_HEAP_BYTES_PER_VECTOR = 330;
505
- var RESTORE_HEAP_BYTES_PER_VECTOR_DIMENSION = 0.3;
506
- var RESTORE_HEAP_BYTES_PER_EARLIER_SNAPSHOT_VECTOR = 923;
507
- var RESTORE_HEAP_BYTES_PER_EARLIER_SNAPSHOT_VECTOR_DIMENSION = 0.25;
508
- var RESTORE_EXTERNAL_BYTES_PER_STORED_BYTE = 5.07;
509
- var RESTORE_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_BYTE = 18.12;
510
- var RESTORE_EXTERNAL_BYTES_PER_VECTOR = 1853;
511
- var RESTORE_EXTERNAL_BYTES_PER_VECTOR_DIMENSION = 11.62;
512
- var RESTORE_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_VECTOR = 2676;
513
- var RESTORE_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_VECTOR_DIMENSION = 30.19;
502
+ var RESTORE_WORST_HEAP_BYTES_PER_STORED_BYTE = 0.2;
503
+ var RESTORE_WORST_HEAP_BYTES_PER_EARLIER_SNAPSHOT_BYTE = 7.86;
504
+ var RESTORE_WORST_HEAP_BYTES_PER_VECTOR = 264;
505
+ var RESTORE_WORST_HEAP_BYTES_PER_VECTOR_DIMENSION = 0.24;
506
+ var RESTORE_WORST_HEAP_BYTES_PER_EARLIER_SNAPSHOT_VECTOR = 738;
507
+ var RESTORE_WORST_HEAP_BYTES_PER_EARLIER_SNAPSHOT_VECTOR_DIMENSION = 0.2;
508
+ var RESTORE_WORST_EXTERNAL_BYTES_PER_STORED_BYTE = 4.06;
509
+ var RESTORE_WORST_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_BYTE = 14.5;
510
+ var RESTORE_WORST_EXTERNAL_BYTES_PER_VECTOR = 1482;
511
+ var RESTORE_WORST_EXTERNAL_BYTES_PER_VECTOR_DIMENSION = 9.29;
512
+ var RESTORE_WORST_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_VECTOR = 2141;
513
+ var RESTORE_WORST_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_VECTOR_DIMENSION = 24.15;
514
+ var RESTORE_FLOOR_HEAP_BYTES_PER_STORED_BYTE = 0.16;
515
+ var RESTORE_FLOOR_HEAP_BYTES_PER_EARLIER_SNAPSHOT_BYTE = 6.16;
516
+ var RESTORE_FLOOR_HEAP_BYTES_PER_VECTOR = 204;
517
+ var RESTORE_FLOOR_HEAP_BYTES_PER_VECTOR_DIMENSION = 0.17;
518
+ var RESTORE_FLOOR_HEAP_BYTES_PER_EARLIER_SNAPSHOT_VECTOR = 695;
519
+ var RESTORE_FLOOR_HEAP_BYTES_PER_EARLIER_SNAPSHOT_VECTOR_DIMENSION = 0.04;
520
+ var RESTORE_FLOOR_EXTERNAL_BYTES_PER_STORED_BYTE = 2.14;
521
+ var RESTORE_FLOOR_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_BYTE = 5.05;
522
+ var RESTORE_FLOOR_EXTERNAL_BYTES_PER_VECTOR = 1080;
523
+ var RESTORE_FLOOR_EXTERNAL_BYTES_PER_VECTOR_DIMENSION = 0.72;
524
+ var RESTORE_FLOOR_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_VECTOR = 1744;
525
+ var RESTORE_FLOOR_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_VECTOR_DIMENSION = 20.05;
526
+ var RESTORE_ESTIMATE_MARGIN = 1.25;
514
527
 
515
528
  // src/engine/snapshot/memory-budget.ts
516
529
  var MEGABYTE_BYTES = 1048576;
517
530
  var ARCHIVE_RATES = {
518
- heap: {
519
- perStoredByte: RESTORE_HEAP_BYTES_PER_STORED_BYTE,
520
- perVector: RESTORE_HEAP_BYTES_PER_VECTOR,
521
- perVectorDimension: RESTORE_HEAP_BYTES_PER_VECTOR_DIMENSION
531
+ worst: {
532
+ heap: {
533
+ perStoredByte: RESTORE_WORST_HEAP_BYTES_PER_STORED_BYTE,
534
+ perVector: RESTORE_WORST_HEAP_BYTES_PER_VECTOR,
535
+ perVectorDimension: RESTORE_WORST_HEAP_BYTES_PER_VECTOR_DIMENSION
536
+ },
537
+ external: {
538
+ perStoredByte: RESTORE_WORST_EXTERNAL_BYTES_PER_STORED_BYTE,
539
+ perVector: RESTORE_WORST_EXTERNAL_BYTES_PER_VECTOR,
540
+ perVectorDimension: RESTORE_WORST_EXTERNAL_BYTES_PER_VECTOR_DIMENSION
541
+ }
522
542
  },
523
- external: {
524
- perStoredByte: RESTORE_EXTERNAL_BYTES_PER_STORED_BYTE,
525
- perVector: RESTORE_EXTERNAL_BYTES_PER_VECTOR,
526
- perVectorDimension: RESTORE_EXTERNAL_BYTES_PER_VECTOR_DIMENSION
543
+ floor: {
544
+ heap: {
545
+ perStoredByte: RESTORE_FLOOR_HEAP_BYTES_PER_STORED_BYTE,
546
+ perVector: RESTORE_FLOOR_HEAP_BYTES_PER_VECTOR,
547
+ perVectorDimension: RESTORE_FLOOR_HEAP_BYTES_PER_VECTOR_DIMENSION
548
+ },
549
+ external: {
550
+ perStoredByte: RESTORE_FLOOR_EXTERNAL_BYTES_PER_STORED_BYTE,
551
+ perVector: RESTORE_FLOOR_EXTERNAL_BYTES_PER_VECTOR,
552
+ perVectorDimension: RESTORE_FLOOR_EXTERNAL_BYTES_PER_VECTOR_DIMENSION
553
+ }
527
554
  }
528
555
  };
529
556
  var EARLIER_SNAPSHOT_RATES = {
530
- heap: {
531
- perStoredByte: RESTORE_HEAP_BYTES_PER_EARLIER_SNAPSHOT_BYTE,
532
- perVector: RESTORE_HEAP_BYTES_PER_EARLIER_SNAPSHOT_VECTOR,
533
- perVectorDimension: RESTORE_HEAP_BYTES_PER_EARLIER_SNAPSHOT_VECTOR_DIMENSION
557
+ worst: {
558
+ heap: {
559
+ perStoredByte: RESTORE_WORST_HEAP_BYTES_PER_EARLIER_SNAPSHOT_BYTE,
560
+ perVector: RESTORE_WORST_HEAP_BYTES_PER_EARLIER_SNAPSHOT_VECTOR,
561
+ perVectorDimension: RESTORE_WORST_HEAP_BYTES_PER_EARLIER_SNAPSHOT_VECTOR_DIMENSION
562
+ },
563
+ external: {
564
+ perStoredByte: RESTORE_WORST_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_BYTE,
565
+ perVector: RESTORE_WORST_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_VECTOR,
566
+ perVectorDimension: RESTORE_WORST_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_VECTOR_DIMENSION
567
+ }
534
568
  },
535
- external: {
536
- perStoredByte: RESTORE_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_BYTE,
537
- perVector: RESTORE_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_VECTOR,
538
- perVectorDimension: RESTORE_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_VECTOR_DIMENSION
569
+ floor: {
570
+ heap: {
571
+ perStoredByte: RESTORE_FLOOR_HEAP_BYTES_PER_EARLIER_SNAPSHOT_BYTE,
572
+ perVector: RESTORE_FLOOR_HEAP_BYTES_PER_EARLIER_SNAPSHOT_VECTOR,
573
+ perVectorDimension: RESTORE_FLOOR_HEAP_BYTES_PER_EARLIER_SNAPSHOT_VECTOR_DIMENSION
574
+ },
575
+ external: {
576
+ perStoredByte: RESTORE_FLOOR_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_BYTE,
577
+ perVector: RESTORE_FLOOR_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_VECTOR,
578
+ perVectorDimension: RESTORE_FLOOR_EXTERNAL_BYTES_PER_EARLIER_SNAPSHOT_VECTOR_DIMENSION
579
+ }
539
580
  }
540
581
  };
541
582
  function bytesAt(rate, storedBytes, vectors) {
@@ -543,10 +584,12 @@ function bytesAt(rate, storedBytes, vectors) {
543
584
  for (const { dimension, count } of vectors) bytes += count * (rate.perVector + dimension * rate.perVectorDimension);
544
585
  return bytes;
545
586
  }
546
- function footprintAt(rates, storedBytes, vectors) {
587
+ function footprintAt(rates, replacesIndex, storedBytes, vectors) {
588
+ const chosen = replacesIndex ? rates.worst : rates.floor;
589
+ const scale = replacesIndex ? RESTORE_ESTIMATE_MARGIN : 1 / RESTORE_ESTIMATE_MARGIN;
547
590
  return {
548
- heapBytes: bytesAt(rates.heap, storedBytes, vectors),
549
- externalBytes: bytesAt(rates.external, storedBytes, vectors)
591
+ heapBytes: bytesAt(chosen.heap, storedBytes, vectors) * scale,
592
+ externalBytes: bytesAt(chosen.external, storedBytes, vectors) * scale
550
593
  };
551
594
  }
552
595
  function deadCountOf(dead) {
@@ -557,7 +600,7 @@ function deadCountOf(dead) {
557
600
  }
558
601
  return count;
559
602
  }
560
- function archiveFootprint(prepared, manifest) {
603
+ function archiveFootprint(prepared, manifest, replacesIndex) {
561
604
  let segmentBytes = 0;
562
605
  for (const partition of manifest.partitions) {
563
606
  for (const segment of partition.segments) segmentBytes += segment.bytes;
@@ -568,36 +611,45 @@ function archiveFootprint(prepared, manifest) {
568
611
  const dimension = dimensions.get(field.fieldPath) ?? 0;
569
612
  for (const file of field.files) vectors.push({ dimension, count: Math.max(0, file.count - deadCountOf(file.dead)) });
570
613
  }
571
- return footprintAt(ARCHIVE_RATES, segmentBytes, vectors);
614
+ return footprintAt(ARCHIVE_RATES, replacesIndex, segmentBytes, vectors);
572
615
  }
573
- function earlierSnapshotFootprint(prepared, partitionBytes, vectorCounts) {
616
+ function earlierSnapshotFootprint(prepared, partitionBytes, vectorCounts, replacesIndex) {
574
617
  const dimensions = extractVectorFieldsFromSchema(prepared.config.schema);
575
618
  const vectors = [...vectorCounts].map(([fieldPath, count]) => ({ dimension: dimensions.get(fieldPath) ?? 0, count }));
576
- return footprintAt(EARLIER_SNAPSHOT_RATES, partitionBytes, vectors);
619
+ return footprintAt(EARLIER_SNAPSHOT_RATES, replacesIndex, partitionBytes, vectors);
577
620
  }
578
621
  function inMegabytes(bytes) {
579
622
  return Math.ceil(bytes / MEGABYTE_BYTES);
580
623
  }
581
- function refuse(indexName, budget, neededBytes, availableBytes) {
582
- const where = budget === "heap" ? "of JavaScript heap" : "of process memory";
583
- throw new NarsilError(
584
- ErrorCodes.RESTORE_MEMORY_EXCEEDED,
585
- `The restore of index "${indexName}" needs about ${inMegabytes(neededBytes)} MB ${where}, and this process has ${inMegabytes(Math.max(0, availableBytes))} MB free, so the index keeps its earlier contents. Drop the index first to free the memory that it holds, or give the process more memory, then restore again`,
586
- { indexName, budget, neededBytes, availableBytes }
587
- );
588
- }
589
- function requireRestoreMemory(indexName, footprint) {
624
+ function shortfallOf(heapBytes, processBytes, countInUse) {
590
625
  const heap = readHeapStatistics();
591
626
  if (heap !== null) {
592
- const availableBytes = (heap.configuredLimitBytes ?? heap.limitBytes) - heap.usedBytes;
593
- if (footprint.heapBytes > availableBytes) refuse(indexName, "heap", footprint.heapBytes, availableBytes);
627
+ const limitBytes = heap.configuredLimitBytes ?? heap.limitBytes;
628
+ const availableBytes = countInUse ? limitBytes - heap.usedBytes : limitBytes;
629
+ if (heapBytes > availableBytes) return { budget: "heap", neededBytes: heapBytes, availableBytes };
594
630
  }
595
631
  const resident = readResidentMemory();
596
632
  if (resident !== null) {
597
- const neededBytes = footprint.heapBytes + footprint.externalBytes;
598
- const availableBytes = resident.limitBytes - resident.residentBytes;
599
- if (neededBytes > availableBytes) refuse(indexName, "process", neededBytes, availableBytes);
633
+ const availableBytes = countInUse ? resident.limitBytes - resident.residentBytes : resident.limitBytes;
634
+ if (processBytes > availableBytes) return { budget: "process", neededBytes: processBytes, availableBytes };
600
635
  }
636
+ return null;
637
+ }
638
+ function refuse(indexName, replacesIndex, shortfall) {
639
+ const { budget, neededBytes, availableBytes } = shortfall;
640
+ const where = budget === "heap" ? "of JavaScript heap" : "of process memory";
641
+ const outcome = replacesIndex ? "so the index keeps its earlier contents. Drop the index first to free the memory that it holds, or give the process more memory, then restore again" : "so the engine creates no index. Give the process more memory, then restore again";
642
+ throw new NarsilError(
643
+ ErrorCodes.RESTORE_MEMORY_EXCEEDED,
644
+ `The restore of index "${indexName}" needs about ${inMegabytes(neededBytes)} MB ${where}, and this process has ${inMegabytes(Math.max(0, availableBytes))} MB free, ${outcome}`,
645
+ { indexName, budget, neededBytes, availableBytes }
646
+ );
647
+ }
648
+ function requireRestoreMemory(indexName, footprint, replacesIndex) {
649
+ const processBytes = footprint.heapBytes + footprint.externalBytes;
650
+ if (shortfallOf(footprint.heapBytes, processBytes, true) === null) return;
651
+ const shortfall = shortfallOf(footprint.heapBytes, processBytes, replacesIndex);
652
+ if (shortfall !== null) refuse(indexName, replacesIndex, shortfall);
601
653
  }
602
654
 
603
655
  // src/workers/detached-index.ts
@@ -898,9 +950,8 @@ async function stageArchive(indexName, reader, staging, deps) {
898
950
  manifest: async (manifest2, sourceName) => {
899
951
  if (staged.prepared === null) missingPart("configuration");
900
952
  requireSameSchema(staged.prepared, manifest2);
901
- if (deps.indexRegistry.has(indexName)) {
902
- requireRestoreMemory(indexName, archiveFootprint(staged.prepared, manifest2));
903
- }
953
+ const replacesIndex = deps.indexRegistry.has(indexName);
954
+ requireRestoreMemory(indexName, archiveFootprint(staged.prepared, manifest2, replacesIndex), replacesIndex);
904
955
  staged.manifest = renamed(manifest2, sourceName, indexName);
905
956
  },
906
957
  file: async (entryName, _ref, bytes) => {
@@ -990,7 +1041,7 @@ function vectorsOfSnapshot(envelope) {
990
1041
  }
991
1042
  return byDocument;
992
1043
  }
993
- function footprintOf(envelope, prepared) {
1044
+ function footprintOf(envelope, prepared, replacesIndex) {
994
1045
  let partitionBytes = 0;
995
1046
  for (const payload of envelope.partitions ?? []) partitionBytes += payload.byteLength;
996
1047
  const vectorCounts = /* @__PURE__ */ new Map();
@@ -999,7 +1050,7 @@ function footprintOf(envelope, prepared) {
999
1050
  for (const part of decodeVectorIndexParts(rawParts)) count += part.docIds.length;
1000
1051
  vectorCounts.set(fieldPath, count);
1001
1052
  }
1002
- return earlierSnapshotFootprint(prepared, partitionBytes, vectorCounts);
1053
+ return earlierSnapshotFootprint(prepared, partitionBytes, vectorCounts, replacesIndex);
1003
1054
  }
1004
1055
  function documentsOfPartition(envelope, payload) {
1005
1056
  return envelope.version === 2 ? documentsOfPayloadV2(payload).documents : deserializePayloadV1(payload).documents;
@@ -1059,7 +1110,8 @@ async function buildRestoredIndex(indexName, envelope, prepared, staging, deps)
1059
1110
  async function restoreEarlierSnapshot(indexName, data, deps) {
1060
1111
  const envelope = await decodeEarlierSnapshot(data);
1061
1112
  const prepared = prepareRestoredIndex(envelope, deps);
1062
- if (deps.indexRegistry.has(indexName)) requireRestoreMemory(indexName, footprintOf(envelope, prepared));
1113
+ const replacesIndex = deps.indexRegistry.has(indexName);
1114
+ requireRestoreMemory(indexName, footprintOf(envelope, prepared, replacesIndex), replacesIndex);
1063
1115
  const analysedNow = { ...prepared, storedRevision: prepared.language.revision };
1064
1116
  const staging = deps.durability?.manager.stageRestore?.(indexName) ?? null;
1065
1117
  try {
@@ -1,5 +1,5 @@
1
- import { setNestedValue, KEYWORD_SEGMENT_ENVELOPE_VERSION, decodeKeywordSegment } from './chunk-PP6N5CCS.mjs';
2
- import { decodeStoredDocument, openChecksummedEnvelope, NUMBER_TAG, DATE_TAG, BYTES_TAG, encodeBase64, startsWithTagPrefix, OBJECT_TAG, MILLISECONDS_PER_SECOND, NANOSECONDS_PER_MILLISECOND, DOCUMENT_EXPORT_VERSION, DOCUMENT_EXPORT_FORMAT } from './chunk-HC6DMR4T.mjs';
1
+ import { setNestedValue, KEYWORD_SEGMENT_ENVELOPE_VERSION, decodeKeywordSegment } from './chunk-ZGMR46O3.mjs';
2
+ import { decodeStoredDocument, openChecksummedEnvelope, NUMBER_TAG, DATE_TAG, BYTES_TAG, encodeBase64, startsWithTagPrefix, OBJECT_TAG, MILLISECONDS_PER_SECOND, NANOSECONDS_PER_MILLISECOND, DOCUMENT_EXPORT_VERSION, DOCUMENT_EXPORT_FORMAT } from './chunk-KPMIHLOV.mjs';
3
3
  import { decodeVectorFilePayload, isDead, bytesToVectors } from './chunk-WKPJ4E73.mjs';
4
4
  import { EXPORT_CHUNK_BYTES, NarsilError, ErrorCodes } from './chunk-HARBSUWP.mjs';
5
5
  import { decode } from '@msgpack/msgpack';
@@ -1,6 +1,6 @@
1
1
  import { E as EmbeddingAdapter } from './adapters-79OIa4xm.js';
2
- import { C as ClusterNamespace } from './config-3kBsQ0Pi.js';
3
- import { h as TaskStore } from './tasks-Bj9WBlFG.js';
2
+ import { C as ClusterNamespace } from './config-6YBtxekG.js';
3
+ import { h as TaskStore } from './tasks-BJmamiC4.js';
4
4
 
5
5
  /**
6
6
  * Context handed to {@link OnRequestHook} for every inbound request, captured
@@ -1,6 +1,6 @@
1
- import { decodeSegmentManifest, loadPartitionSegments, loadVectorField } from './chunk-WBS3EYC4.mjs';
2
- import { manifestKey, segmentsPrefix } from './chunk-EX62BQT6.mjs';
3
- import { readHeader, HEADER_SIZE, crc32, engineVersionParts, writeHeader } from './chunk-C45FUYPI.mjs';
1
+ import { decodeSegmentManifest, loadPartitionSegments, loadVectorField } from './chunk-TCYUAUHF.mjs';
2
+ import { manifestKey, segmentsPrefix } from './chunk-VVFLEGZI.mjs';
3
+ import { readHeader, HEADER_SIZE, crc32, engineVersionParts, writeHeader } from './chunk-O5WPRAVZ.mjs';
4
4
  import { VALID_HNSW_METRICS } from './chunk-RDJKYKMQ.mjs';
5
5
  import { requireValidFieldTypes, isQuantizationMode, isStorageMode } from './chunk-4ZJWRETC.mjs';
6
6
  import { VECTOR_PATTERN } from './chunk-L5ORED7V.mjs';
@@ -8,7 +8,7 @@ import { isWordIndexedBase } from './chunk-BB7MASRQ.mjs';
8
8
  import { resolveIndexAnalysis, synonymSearchModule } from './chunk-2GZGBOQI.mjs';
9
9
  import { visitTokens, codePointOrder, encodeStringBlob, encodeLookupKey, SEGMENT_TOKEN_TABLE_START, SEGMENT_POSTING_LOG_START, SEGMENT_POSITION_POOL_START, SEGMENT_FIELD_SCRATCH_START, FROZEN_REMOVAL_INDEX_MAX_PROCESS_FRACTION } from './chunk-7KC56574.mjs';
10
10
  import { compareCodePoints } from './chunk-YTJCGKM4.mjs';
11
- import { loadedVectorCode, loadVectorCode, loadVectorCodeFor, requireLoadedVectorCode } from './chunk-K6A4FCVR.mjs';
11
+ import { loadedVectorCode, loadVectorCode, loadVectorCodeFor, requireLoadedVectorCode } from './chunk-HBVLF3HA.mjs';
12
12
  import { PROTOTYPE_POLLUTION_KEYS } from './chunk-L5ORED7V.mjs';
13
13
  import { NarsilError, ErrorCodes } from './chunk-SYWGORQB.mjs';
14
14
  import { totalmem } from 'os';
@@ -1,4 +1,4 @@
1
- import { removeDocumentVectors, prepareDocumentVectors, insertDocumentVectors } from './chunk-C45FUYPI.mjs';
1
+ import { removeDocumentVectors, prepareDocumentVectors, insertDocumentVectors } from './chunk-O5WPRAVZ.mjs';
2
2
  import { getNestedValue } from './chunk-SBCEHIPL.mjs';
3
3
  import { requireValidFieldTypes } from './chunk-4ZJWRETC.mjs';
4
4
  import { VECTOR_PATTERN } from './chunk-L5ORED7V.mjs';
@@ -1,5 +1,5 @@
1
1
  import { nodeThreadId } from './chunk-C7SLA6CM.mjs';
2
- import { DIRECTORY_LOCK_ATTEMPTS, DIRECTORY_LOCK_SETTLE_MS, DIRECTORY_LOCK_PROCESS_START_TOLERANCE_MS } from './chunk-EX62BQT6.mjs';
2
+ import { DIRECTORY_LOCK_ATTEMPTS, DIRECTORY_LOCK_SETTLE_MS, DIRECTORY_LOCK_PROCESS_START_TOLERANCE_MS } from './chunk-VVFLEGZI.mjs';
3
3
  import { compareCodePoints } from './chunk-YTJCGKM4.mjs';
4
4
  import { NarsilError, ErrorCodes } from './chunk-SYWGORQB.mjs';
5
5
  import { openSync, close, readFileSync } from 'fs';
@@ -14,7 +14,7 @@ function requireLoadedVectorCode() {
14
14
  function loadVectorCode() {
15
15
  if (loaded !== null) return Promise.resolve(loaded);
16
16
  if (loading === null) {
17
- loading = import('./module-VITS4ZR5.mjs').then(
17
+ loading = import('./module-IUTNXWMV.mjs').then(
18
18
  (code) => {
19
19
  loaded = code;
20
20
  return code;
@@ -2434,7 +2434,7 @@ var DEFAULT_RESCORE_DEPTH_BY_BITS = {
2434
2434
  wide: { perLimit: 3, perSquareRootOfLimit: 0 }
2435
2435
  },
2436
2436
  2: {
2437
- narrow: { perLimit: 2.6, perSquareRootOfLimit: 17 },
2437
+ narrow: { perLimit: 2.6, perSquareRootOfLimit: 22.5 },
2438
2438
  middle: { perLimit: 1, perSquareRootOfLimit: 16 },
2439
2439
  wide: { perLimit: 3, perSquareRootOfLimit: 0 }
2440
2440
  },
@@ -1,8 +1,8 @@
1
- import { vectorsPerFile } from './chunk-7VALMHZF.mjs';
2
- import { writeLiveVectors, decodeSegmentManifest, openManifestPayload, listedKeysOf, decodeManifestPayload, SINGLE_NODE_PRIMARY_TERM } from './chunk-WBS3EYC4.mjs';
1
+ import { vectorsPerFile } from './chunk-MWT5WCJ5.mjs';
2
+ import { writeLiveVectors, decodeSegmentManifest, openManifestPayload, listedKeysOf, decodeManifestPayload, SINGLE_NODE_PRIMARY_TERM } from './chunk-TCYUAUHF.mjs';
3
3
  import { vectorsToBytes, VECTOR_FILE_PAYLOAD_VERSION } from './chunk-F52QGNZ2.mjs';
4
- import { writeCheckpointSegments, DEFAULT_COMPACTION_THRESHOLD, commitCheckpointManifest, manifestKey, manifestFileRefs, partitionContentsOf } from './chunk-EX62BQT6.mjs';
5
- import { HEADER_SIZE } from './chunk-C45FUYPI.mjs';
4
+ import { writeCheckpointSegments, DEFAULT_COMPACTION_THRESHOLD, commitCheckpointManifest, manifestKey, manifestFileRefs, partitionContentsOf } from './chunk-VVFLEGZI.mjs';
5
+ import { HEADER_SIZE } from './chunk-O5WPRAVZ.mjs';
6
6
  import { MAX_FILE_BYTES } from './chunk-RDJKYKMQ.mjs';
7
7
  import { NarsilError, ErrorCodes } from './chunk-SYWGORQB.mjs';
8
8
 
@@ -1,5 +1,5 @@
1
1
  import { VECTOR_FILE_MAX_VECTORS, NO_LIVE_VECTOR_AT_POSITION, bytesToVectors, VECTOR_GRAPH_PART_VECTORS, VECTOR_GRAPH_PART_PAYLOAD_VERSION, VECTOR_FILE_PAYLOAD_VERSION, deadBitsWhere, vectorsToBytes } from './chunk-F52QGNZ2.mjs';
2
- import { createOrdinalFilter, addToOrdinalFilter, osqBitsOf, STORE_ORDINAL_LAYOUT_GENERATION, removeFromOrdinalFilter, createHNSWIndex, STORE_CALIBRATION_GENERATION, graphWithoutNodes } from './chunk-Z3MOCHG5.mjs';
2
+ import { createOrdinalFilter, addToOrdinalFilter, osqBitsOf, STORE_ORDINAL_LAYOUT_GENERATION, removeFromOrdinalFilter, createHNSWIndex, STORE_CALIBRATION_GENERATION, graphWithoutNodes } from './chunk-ICL2AELD.mjs';
3
3
  import { osqRecordBytes } from './chunk-37CD3OKS.mjs';
4
4
  import { MAX_FILE_BYTES } from './chunk-RDJKYKMQ.mjs';
5
5
  import { MAX_DOC_ID_LENGTH } from './chunk-Q5DC6WAB.mjs';
@@ -1,6 +1,6 @@
1
1
  import { validateWorkerConfig, validateIndexName, validatePatternValueLimit, requireSurfaceFormsForPartialFields, validateBM25Params, validatePartitionConfig, queryBindingOf, executeQuery, executePreflight, executeSuggest, executeListDocuments, validateDocId } from './chunk-R36MIGBU.mjs';
2
2
  import { splitWorkerBudget, resolveWorkerCount, NATIVE_CRC32_MIN_BYTES, resolveWorkerEntry, missingWorkerEntry, MAX_FILE_BYTES, DEFAULT_REQUEST_TIMEOUT_MS, resolveRequestThreadCount, CHECKSUM_YIELD_CHUNK_BYTES, workerResourceLimits, DEFAULT_BACKPRESSURE_LIMIT, SHUTDOWN_TIMEOUT_MS, CONSECUTIVE_TIMEOUTS_BEFORE_DEATH } from './chunk-RDJKYKMQ.mjs';
3
- import { isEmptySynonymSet, synonymModule, createDirectExecutor, createPartitionRouter, readHeapStatistics, availableSynonymModule, mergeFrozenSegments, createSharedFrozenSegment, freezeSegmentShared, resolvePartitionInsertOptions, createFrozenSegment } from './chunk-UAUZGXJP.mjs';
3
+ import { isEmptySynonymSet, synonymModule, createDirectExecutor, createPartitionRouter, readHeapStatistics, availableSynonymModule, mergeFrozenSegments, createSharedFrozenSegment, freezeSegmentShared, resolvePartitionInsertOptions, createFrozenSegment } from './chunk-3LYY62M6.mjs';
4
4
  import { requirePatternSearchFor, requirePartialWordSearchFor, collectQueryTermStats, mergePartitionStats, createPartitionIndex, oversampledFacetConfig, availablePatternSearch, PATTERN_HOST, kWayMerge, mergeFacets, isCompositePartition, fnv1a, encodeSegmentState } from './chunk-CHOGQSHK.mjs';
5
5
  import { resolveVectorText, bindEngineCore, restoredConfigFields, restoredEmbedding, collectRequiredFieldFailures, embedChunkDocuments, providedDocId, requireDocumentObject, admitInsert, asBatchInsertError, requireMatchingDocId, embedDocumentFields, assertDocumentCarriesMappedVectors, admitBufferedUpsert, createPendingAdmissions, recordPendingAdmission } from './chunk-WLOF6HSP.mjs';
6
6
  import { detectRuntime } from './chunk-AV4IJKD2.mjs';
@@ -13,7 +13,7 @@ import { flattenSchema, raiseEarlierReleaseGraphSetting, messagePackUpperBoundBy
13
13
  import { isSingleStringFieldType } from './chunk-BB7MASRQ.mjs';
14
14
  import { compareCodePoints } from './chunk-YTJCGKM4.mjs';
15
15
  import { createRequestId, isValidWorkerResponse, threadSlotOfWorker } from './chunk-R6PR4WYZ.mjs';
16
- import { loadVectorCodeFor, requireLoadedVectorCode } from './chunk-K6A4FCVR.mjs';
16
+ import { loadVectorCodeFor, requireLoadedVectorCode } from './chunk-HBVLF3HA.mjs';
17
17
  import { MAX_DOCUMENT_NESTING_DEPTH } from './chunk-L5ORED7V.mjs';
18
18
  import { ErrorCodes, NarsilError } from './chunk-SYWGORQB.mjs';
19
19
  import { encode, decode } from '@msgpack/msgpack';
@@ -4008,7 +4008,7 @@ async function createEngineCore(config, hooks, capacityScope = "index") {
4008
4008
  if (config?.lifecycle !== void 0 && durabilityTier === null) {
4009
4009
  throw new NarsilError(ErrorCodes.CONFIG_INVALID, "Index lifecycle settings require durability");
4010
4010
  }
4011
- const durabilityWiring = durabilityTier === null ? null : await import('./durability-wiring-Y55SCPFC.mjs');
4011
+ const durabilityWiring = durabilityTier === null ? null : await import('./durability-wiring-2VBNYYDY.mjs');
4012
4012
  const filesystemDurability = durabilityTier?.kind === "wal";
4013
4013
  const executor = createDirectExecutor({
4014
4014
  vectorWorkerCopies: vectorCopyPolicy,
@@ -6908,14 +6908,14 @@ function portabilityOperations(core, config, engine) {
6908
6908
  return {
6909
6909
  snapshot(indexName) {
6910
6910
  return withOpenIndex(indexName, async () => {
6911
- const { createSnapshot } = await import('./snapshot-XBKE7PUG.mjs');
6911
+ const { createSnapshot } = await import('./snapshot-XII3ANGW.mjs');
6912
6912
  return createSnapshot(snapshotDepsOf(indexName));
6913
6913
  });
6914
6914
  },
6915
6915
  async restore(indexName, data) {
6916
6916
  core.guardShutdown();
6917
6917
  validateIndexName(indexName);
6918
- const restored = import('./restore-queue-4SG45BLF.mjs').then(
6918
+ const restored = import('./restore-queue-UFIQJTSG.mjs').then(
6919
6919
  ({ queueRestore }) => queueRestore(core, restoreHost, restoresInFlight, indexName, data)
6920
6920
  );
6921
6921
  await emitWriteEventAfter(core, indexName, restored);
@@ -6924,8 +6924,8 @@ function portabilityOperations(core, config, engine) {
6924
6924
  exportDocuments(indexName) {
6925
6925
  return withOpenIndex(indexName, async () => {
6926
6926
  const [{ checkpointForArchive }, { documentExportStream }] = await Promise.all([
6927
- import('./snapshot-XBKE7PUG.mjs'),
6928
- import('./write-BMNV7P2H.mjs')
6927
+ import('./snapshot-XII3ANGW.mjs'),
6928
+ import('./write-6M3VG4TU.mjs')
6929
6929
  ]);
6930
6930
  const header = indexConfigurationOf(core.requireIndex(indexName));
6931
6931
  return documentExportStream(header, await checkpointForArchive(snapshotDepsOf(indexName)));
@@ -1,4 +1,4 @@
1
- import { openSharedQuantizer, STORE_ORDINAL_LAYOUT_GENERATION, searchOrdinals, insertNode, GRAPH_RETIRED, nodeCountOf, tombstoneCountOf, BLOCK_MAX_BYTES, sharedVectorStoreBytes, STORE_SLOTS, STORE_LIVE_COUNT, IN_MEMORY, resetStoreHeader, STORE_RELEASED_VECTORS_TO_DISK, magnitude, openGraphState, fixedView, createSharedVectorStoreHandles, growBufferTo, unplacedChunkCount, STORE_DOC_ID_BYTES, createOrdinalFilter, addToOrdinalFilter, slotByteOffset, openVectorBlock, NOTHING_STAGED, arenaFloat32Distance, detachNativeStore, STORE_BLOCK_COUNT, STORE_CODE_BLOCK_COUNT, createVectorBlock, ensureBlockSlots, QUERY_STAGED, euclideanDistance, dotProduct, cosineSimilarityWithMagnitudes } from './chunk-Z3MOCHG5.mjs';
1
+ import { openSharedQuantizer, STORE_ORDINAL_LAYOUT_GENERATION, searchOrdinals, insertNode, GRAPH_RETIRED, nodeCountOf, tombstoneCountOf, BLOCK_MAX_BYTES, sharedVectorStoreBytes, STORE_SLOTS, STORE_LIVE_COUNT, IN_MEMORY, resetStoreHeader, STORE_RELEASED_VECTORS_TO_DISK, magnitude, openGraphState, fixedView, createSharedVectorStoreHandles, growBufferTo, unplacedChunkCount, STORE_DOC_ID_BYTES, createOrdinalFilter, addToOrdinalFilter, slotByteOffset, openVectorBlock, NOTHING_STAGED, arenaFloat32Distance, detachNativeStore, STORE_BLOCK_COUNT, STORE_CODE_BLOCK_COUNT, createVectorBlock, ensureBlockSlots, QUERY_STAGED, euclideanDistance, dotProduct, cosineSimilarityWithMagnitudes } from './chunk-ICL2AELD.mjs';
2
2
  import { MAX_VECTOR_ORDINALS } from './chunk-QY7GC2MW.mjs';
3
3
  import { NarsilError, ErrorCodes } from './chunk-SYWGORQB.mjs';
4
4
  import { readSync, closeSync, openSync } from 'fs';
@@ -1,8 +1,8 @@
1
1
  import { decodeVectorGraphPartPayload, assembleGraphParts, decodeVectorFilePayload, countDead, VECTOR_FILE_MAX_VECTORS, deadBytesFor } from './chunk-F52QGNZ2.mjs';
2
- import { MAX_SEGMENT_ID, MANIFEST_ENVELOPE_VERSION, EARLIER_SEGMENT_MANIFEST_VERSION, SEGMENT_MANIFEST_VERSION, MAX_SEGMENTS_PER_PARTITION, segmentKey, readSegmentFile, readListedFile, requireListedChecksum, vectorFileKey, graphPartKey } from './chunk-EX62BQT6.mjs';
3
- import { VERSION, rulesOfStoredSynonyms, openChecksummedEnvelope, HEADER_SIZE, packChecksummedEnvelope } from './chunk-C45FUYPI.mjs';
2
+ import { MAX_SEGMENT_ID, MANIFEST_ENVELOPE_VERSION, EARLIER_SEGMENT_MANIFEST_VERSION, SEGMENT_MANIFEST_VERSION, MAX_SEGMENTS_PER_PARTITION, segmentKey, readSegmentFile, readListedFile, requireListedChecksum, vectorFileKey, graphPartKey } from './chunk-VVFLEGZI.mjs';
3
+ import { VERSION, rulesOfStoredSynonyms, openChecksummedEnvelope, HEADER_SIZE, packChecksummedEnvelope } from './chunk-O5WPRAVZ.mjs';
4
4
  import { MAX_FILE_BYTES } from './chunk-RDJKYKMQ.mjs';
5
- import { decodeEveryStoredDocument, createSharedFrozenSegment, shareSegmentArrays } from './chunk-UAUZGXJP.mjs';
5
+ import { decodeEveryStoredDocument, createSharedFrozenSegment, shareSegmentArrays } from './chunk-3LYY62M6.mjs';
6
6
  import { flattenSchema, requireValidFieldTypes } from './chunk-4ZJWRETC.mjs';
7
7
  import { compareCodePoints } from './chunk-YTJCGKM4.mjs';
8
8
  import { NarsilError, ErrorCodes } from './chunk-SYWGORQB.mjs';
@@ -1,9 +1,9 @@
1
- import { KEYWORD_SEGMENT_ENVELOPE_VERSION, decodeKeywordSegment, restoreVectorFields, KEYWORD_SEGMENT_PAYLOAD_VERSION, littleEndianBytes } from './chunk-EZD4MWOU.mjs';
1
+ import { KEYWORD_SEGMENT_ENVELOPE_VERSION, decodeKeywordSegment, restoreVectorFields, KEYWORD_SEGMENT_PAYLOAD_VERSION, littleEndianBytes } from './chunk-GMY7F2VA.mjs';
2
2
  import { ReplicationMessageTypes } from './chunk-OHP7QR33.mjs';
3
3
  import { WIRE_BATCH_BUDGET } from './chunk-P36MUFEJ.mjs';
4
- import { packChecksummedEnvelope, crc32, openChecksummedEnvelope, reconstructSchemaFromMetadata, HEADER_SIZE, prepareDocumentVectors } from './chunk-C45FUYPI.mjs';
4
+ import { packChecksummedEnvelope, crc32, openChecksummedEnvelope, reconstructSchemaFromMetadata, HEADER_SIZE, prepareDocumentVectors } from './chunk-O5WPRAVZ.mjs';
5
5
  import { MAX_FILE_BYTES } from './chunk-RDJKYKMQ.mjs';
6
- import { freezeSegmentShared, createSharedFrozenSegment, createFrozenSegment, createPartitionManager, createPartitionRouter, buildSegmentPayload, resolvePartitionInsertOptions, selectionKeeps, decodeMapWithoutFields, shareSegmentArrays, segmentArraysOf, mergeSegmentContents } from './chunk-UAUZGXJP.mjs';
6
+ import { freezeSegmentShared, createSharedFrozenSegment, createFrozenSegment, createPartitionManager, createPartitionRouter, buildSegmentPayload, resolvePartitionInsertOptions, selectionKeeps, decodeMapWithoutFields, shareSegmentArrays, segmentArraysOf, mergeSegmentContents } from './chunk-3LYY62M6.mjs';
7
7
  import { fnv1a, isCompositePartition, survivorDocumentsOf, partitionStateOf } from './chunk-CHOGQSHK.mjs';
8
8
  import { generateId, getLanguage } from './chunk-ZHS44YKF.mjs';
9
9
  import { extractVectorFieldsFromSchema, partialFieldsOf, messagePackUpperBoundBytes } from './chunk-4ZJWRETC.mjs';
@@ -1,7 +1,7 @@
1
1
  import { P as PartitionConfig, A as AnyDocument, a as InsertOptions, W as WriteOptions } from './schema-DttzM-ln.js';
2
- import { V as VectorMaintenanceResult, B as BatchResult, L as ListParams, h as ListResult, I as IndexInfo, g as IndexStats, P as PartitionStatsResult, Q as QueryParams, e as QueryResult, j as PreflightResult, k as SuggestParams, l as SuggestResult } from './memory-wuXcYOD1.js';
2
+ import { V as VectorMaintenanceResult, B as BatchResult, L as ListParams, h as ListResult, I as IndexInfo, g as IndexStats, P as PartitionStatsResult, Q as QueryParams, e as QueryResult, j as PreflightResult, k as SuggestParams, l as SuggestResult } from './memory-COdoGthn.js';
3
3
  import { a as SynonymRule } from './synonyms-CpOAHPa-.js';
4
- import { e as TaskRecord, M as MemoryStatsResponse, b as ImportResult, H as HttpIndexConfig, c as TaskListQuery, T as TaskListPage } from './tasks-Bj9WBlFG.js';
4
+ import { e as TaskRecord, M as MemoryStatsResponse, b as ImportResult, H as HttpIndexConfig, c as TaskListQuery, T as TaskListPage } from './tasks-BJmamiC4.js';
5
5
 
6
6
  /**
7
7
  * This is the `fetch` implementation the client sends every request through.
package/dist/client.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- export { C as ClientErrorCode, a as ClientErrorCodes, E as ErrorCode, b as ErrorCodes, N as NarsilError, c as NarsilErrorCode, S as ServerErrorCode, d as ServerErrorCodes, i as isNarsilError } from './memory-wuXcYOD1.js';
2
- export { A as ASYNC_IMPORT_CAPABILITY, D as DOCUMENT_EXPORT_CAPABILITY, E as ErrorEnvelope, I as INDEX_LIFECYCLE_CAPABILITY, R as REBUILD_ANALYSIS_CAPABILITY, S as SERVER_CAPABILITIES, a as SYNONYMS_CAPABILITY, T as TASK_CANCEL_CAPABILITY, b as TASK_FILTER_CAPABILITY } from './capabilities-xsJfdFoQ.js';
3
- export { C as CapabilitiesResponse, a as CreateIndexEmbedding, H as HttpIndexConfig, I as ImportError, b as ImportResult, M as MemoryStatsResponse, T as TaskListPage, c as TaskListQuery, d as TaskProgress, e as TaskRecord, f as TaskStatus, g as TaskType } from './tasks-Bj9WBlFG.js';
4
- export { A as AdminOperations, B as BulkOperations, D as DocumentOperations, F as FetchFunction, I as ImportSource, a as IndexOperations, N as NarsilClient, b as NarsilClientOptions, P as PutResult, R as RequestOptions, S as SearchOperations, c as ServerOperations, d as ServerVersion, T as TaskOperations, W as WaitForTaskOptions, e as createNarsilClient } from './client-CgayPw2R.js';
1
+ export { C as ClientErrorCode, a as ClientErrorCodes, E as ErrorCode, b as ErrorCodes, N as NarsilError, c as NarsilErrorCode, S as ServerErrorCode, d as ServerErrorCodes, i as isNarsilError } from './memory-COdoGthn.js';
2
+ export { A as ASYNC_IMPORT_CAPABILITY, D as DOCUMENT_EXPORT_CAPABILITY, E as ErrorEnvelope, I as INDEX_LIFECYCLE_CAPABILITY, R as REBUILD_ANALYSIS_CAPABILITY, S as SERVER_CAPABILITIES, a as SYNONYMS_CAPABILITY, T as TASK_CANCEL_CAPABILITY, b as TASK_FILTER_CAPABILITY } from './capabilities-BvxvFzVA.js';
3
+ export { C as CapabilitiesResponse, a as CreateIndexEmbedding, H as HttpIndexConfig, I as ImportError, b as ImportResult, M as MemoryStatsResponse, T as TaskListPage, c as TaskListQuery, d as TaskProgress, e as TaskRecord, f as TaskStatus, g as TaskType } from './tasks-BJmamiC4.js';
4
+ export { A as AdminOperations, B as BulkOperations, D as DocumentOperations, F as FetchFunction, I as ImportSource, a as IndexOperations, N as NarsilClient, b as NarsilClientOptions, P as PutResult, R as RequestOptions, S as SearchOperations, c as ServerOperations, d as ServerVersion, T as TaskOperations, W as WaitForTaskOptions, e as createNarsilClient } from './client-DKwterMb.js';
5
5
  import './schema-DttzM-ln.js';
6
6
  import './adapters-79OIa4xm.js';
7
7
  import './synonyms-CpOAHPa-.js';
8
- import './config-3kBsQ0Pi.js';
9
- import './config-B-RnO6dr.js';
8
+ import './config-6YBtxekG.js';
9
+ import './config-DPphZfuM.js';
10
10
  import './index-ONAEaqtx.js';
11
11
  import './types-Cb9kiY5P.js';