@delali/narsil 0.3.1-next.87 → 0.3.1-next.88

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 (29) hide show
  1. package/dist/browser/{chunk-BBDAYUCO.mjs → chunk-3GZQKGVQ.mjs} +25 -9
  2. package/dist/browser/{chunk-3BXQPIXK.mjs → chunk-JACCR3BJ.mjs} +3 -3
  3. package/dist/browser/{chunk-TBMNPGFO.mjs → chunk-RAHUQOJL.mjs} +2074 -881
  4. package/dist/browser/{durability-wiring-7RUN7LNS.mjs → durability-wiring-VSUBLUDK.mjs} +3 -3
  5. package/dist/browser/{snapshot-A42DRERF.mjs → snapshot-5MXBEDXF.mjs} +3 -3
  6. package/dist/browser/{write-4U6Q26TJ.mjs → write-6SBYTS62.mjs} +2 -2
  7. package/dist/{chunk-PSUJCOSE.mjs → chunk-A3UB2MXL.mjs} +172 -122
  8. package/dist/{chunk-JFJBA3PD.mjs → chunk-CL4OM7GB.mjs} +3 -3
  9. package/dist/{chunk-AXDAS2VA.mjs → chunk-DCK4P5BI.mjs} +28 -30
  10. package/dist/{chunk-XBXKPWMR.mjs → chunk-EMXAYPTQ.mjs} +1735 -651
  11. package/dist/{chunk-IKST36MA.mjs → chunk-MWJIAREY.mjs} +4 -4
  12. package/dist/{chunk-T7DMUVTL.mjs → chunk-QAMUC2BJ.mjs} +27 -11
  13. package/dist/{chunk-AQU2QHSY.mjs → chunk-R6BMMQXH.mjs} +114 -45
  14. package/dist/{chunk-K4OWQ2M3.mjs → chunk-S4LQDSUL.mjs} +3 -3
  15. package/dist/{chunk-MKK4OZ5W.mjs → chunk-V7YUSKKZ.mjs} +3 -3
  16. package/dist/{chunk-WQSHDZ7Z.mjs → chunk-VY4DXZ5P.mjs} +1 -1
  17. package/dist/{chunk-SYRFSF6V.mjs → chunk-X4SEXL4U.mjs} +49 -11
  18. package/dist/{direct-executor-LD6JW57R.mjs → direct-executor-EGESD26S.mjs} +3 -3
  19. package/dist/distribution.mjs +14 -27
  20. package/dist/{durability-wiring-5S32KDDC.mjs → durability-wiring-ZLRQU6FG.mjs} +10 -10
  21. package/dist/index.browser.mjs +1 -1
  22. package/dist/index.mjs +5 -5
  23. package/dist/partial-words.mjs +1 -1
  24. package/dist/persistence/durability/checkpoint-worker.mjs +8 -8
  25. package/dist/{snapshot-6BYSUPWL.mjs → snapshot-22CUEYYW.mjs} +10 -10
  26. package/dist/{thread-GS65E6RM.mjs → thread-ZP3UMIZT.mjs} +3 -3
  27. package/dist/workers/entry.mjs +3 -3
  28. package/dist/{write-HLEZTL2L.mjs → write-PXDKPG2R.mjs} +6 -6
  29. package/package.json +13 -8
@@ -1,6 +1,6 @@
1
1
  import { PATTERN_EXPRESSION_OPERATORS, PATTERN_TEST_OPERATORS, PATTERN_ELEMENT_OPERATORS, requireTextRangeField, isFiniteNumber, invalid, requireFieldKind, kindOfValue, requireListLength, isObjectRecord, patternSearchModule, DEFAULT_PATTERN_WORK_CAP, bitsetIsEmpty, createBitSet, bitsetSet, PATTERN_WORK_FLUSH_UNITS, MATCHER_STATE_BUDGET_BYTES } from './chunk-T6CNO72J.mjs';
2
2
  import { GEO_UNIT_METRES, MAX_FILTER_DEPTH, MAX_FILTER_TESTS, FILTER_OPERAND_COPY_DEPTH } from './chunk-WQBCBKY3.mjs';
3
- import { getFlatSchema, tokenize, partialWordSearchModule, getFieldValueByInternalId, getFieldValueForDoc } from './chunk-PSUJCOSE.mjs';
3
+ import { getFlatSchema, tokenize, partialWordSearchModule } from './chunk-A3UB2MXL.mjs';
4
4
  import { isLatitude, MAX_LATITUDE_DEGREES, isLongitude, MAX_LONGITUDE_DEGREES, MIN_POLYGON_POINTS, partialFieldsOf, schemaFieldsOf, flattenSchema, EARTH_RADIUS_METERS, RADIUS_BOX_MARGIN_RATIO, RADIUS_BOX_MARGIN_RADIANS, FULL_TURN_DEGREES, ANTIMERIDIAN_SPAN_DEGREES, DEG_TO_RAD, LOCATION_CODE_BITS_PER_AXIS, MAX_COVERING_CELLS } from './chunk-CVQWQVFX.mjs';
5
5
  import { MAX_SORT_FIELDS, MAX_SORT_FIELD_NAME_LENGTH, MAX_CURSOR_LENGTH, MAX_CURSOR_ANCHOR_CODE_POINTS, RESULT_WINDOW, DEFAULT_FUZZY_PREFIX_LENGTH, DEFAULT_PAGE_SIZE, PREFIX_MAX_EXPANSIONS } from './chunk-FGMGUDHX.mjs';
6
6
  import { fuzzyTermMatches } from './chunk-GES7U2PM.mjs';
@@ -488,6 +488,7 @@ function ordinalBitsetOf(state, matched) {
488
488
  return bitset;
489
489
  }
490
490
  function* matchedFieldValues(state, fieldPath, matched) {
491
+ const read = state.docStore.fieldReader(fieldPath);
491
492
  if ("ordinalBitset" in matched) {
492
493
  const bits = matched.ordinalBitset;
493
494
  for (let wordIndex = 0; wordIndex < bits.length; wordIndex++) {
@@ -496,14 +497,15 @@ function* matchedFieldValues(state, fieldPath, matched) {
496
497
  const base = wordIndex << 5;
497
498
  while (word !== 0) {
498
499
  const trailingZeros = Math.clz32(word & -word) ^ 31;
499
- yield getFieldValueByInternalId(state.docStore, base + trailingZeros, fieldPath);
500
+ yield read(base + trailingZeros);
500
501
  word &= word - 1;
501
502
  }
502
503
  }
503
504
  return;
504
505
  }
505
506
  for (const docId of matched) {
506
- yield getFieldValueForDoc(state.docStore, docId, fieldPath);
507
+ const internalId = state.docStore.getInternalId(docId);
508
+ yield internalId === void 0 ? void 0 : read(internalId);
507
509
  }
508
510
  }
509
511
  function countValuesFromDocuments(state, fieldPath, matched) {
@@ -2094,6 +2096,25 @@ function fanOutMatchCount(manager, params, language, schema, options) {
2094
2096
  }
2095
2097
 
2096
2098
  // src/core/projection.ts
2099
+ function requireFieldPathList(paths, option) {
2100
+ if (paths === void 0) return;
2101
+ if (!Array.isArray(paths)) {
2102
+ throw new NarsilError(
2103
+ ErrorCodes.SEARCH_INVALID_FIELD,
2104
+ `The "document.${option}" option takes an array of field paths`,
2105
+ { option: `document.${option}`, received: paths === null ? "null" : typeof paths }
2106
+ );
2107
+ }
2108
+ for (let position = 0; position < paths.length; position++) {
2109
+ const entry = paths[position];
2110
+ if (typeof entry === "string") continue;
2111
+ throw new NarsilError(
2112
+ ErrorCodes.SEARCH_INVALID_FIELD,
2113
+ `The "document.${option}" option takes field paths as strings, and entry ${position} is not a string`,
2114
+ { option: `document.${option}`, position, received: entry === null ? "null" : typeof entry }
2115
+ );
2116
+ }
2117
+ }
2097
2118
  function splitPaths(paths) {
2098
2119
  if (!paths) return [];
2099
2120
  const split = [];
@@ -2119,7 +2140,7 @@ function covers(outer, inner) {
2119
2140
  }
2120
2141
  return true;
2121
2142
  }
2122
- function readPath(source, path) {
2143
+ function readProjectedPath(source, path) {
2123
2144
  let current = source;
2124
2145
  for (const segment of path) {
2125
2146
  if (typeof current !== "object" || current === null || Array.isArray(current))
@@ -2167,7 +2188,12 @@ function cloneExcept(value, path, exclude) {
2167
2188
  for (const key of Object.keys(source)) {
2168
2189
  const childPath = [...path, key];
2169
2190
  if (exclude.some((excluded) => covers(excluded, childPath))) continue;
2170
- kept[key] = cloneExcept(source[key], childPath, exclude);
2191
+ Object.defineProperty(kept, key, {
2192
+ value: cloneExcept(source[key], childPath, exclude),
2193
+ enumerable: true,
2194
+ writable: true,
2195
+ configurable: true
2196
+ });
2171
2197
  }
2172
2198
  return kept;
2173
2199
  }
@@ -2175,6 +2201,8 @@ function resolveProjection(projection) {
2175
2201
  if (projection === void 0 || projection === true) return { kind: "full" };
2176
2202
  if (projection === false) return { kind: "none" };
2177
2203
  if (typeof projection !== "object" || projection === null) return { kind: "full" };
2204
+ requireFieldPathList(projection.include, "include");
2205
+ requireFieldPathList(projection.exclude, "exclude");
2178
2206
  const askedInclude = Array.isArray(projection.include) && projection.include.length > 0;
2179
2207
  const askedExclude = Array.isArray(projection.exclude) && projection.exclude.length > 0;
2180
2208
  if (!askedInclude && !askedExclude) return { kind: "full" };
@@ -2196,12 +2224,15 @@ function cloneProjected(document, projection) {
2196
2224
  if (projection === void 0 || projection.kind === "full") return structuredClone(document);
2197
2225
  if (projection.kind === "none") return {};
2198
2226
  if (projection.include === null) return cloneExcept(document, [], projection.exclude);
2227
+ return projectIncludedPaths(projection.include, projection.exclude, (path) => readProjectedPath(document, path));
2228
+ }
2229
+ function projectIncludedPaths(include, exclude, read) {
2199
2230
  const projected = {};
2200
- for (const path of projection.include) {
2201
- if (projection.exclude.some((excluded) => covers(excluded, path))) continue;
2202
- const { found, value } = readPath(document, path);
2231
+ for (const path of include) {
2232
+ if (exclude.some((excluded) => covers(excluded, path))) continue;
2233
+ const { found, value } = read(path);
2203
2234
  if (!found) continue;
2204
- writePath(projected, path, cloneExcept(value, path, projection.exclude));
2235
+ writePath(projected, path, cloneExcept(value, path, exclude));
2205
2236
  }
2206
2237
  return projected;
2207
2238
  }
@@ -2212,7 +2243,7 @@ function applyProjection(document, projection) {
2212
2243
  if (projection.include) {
2213
2244
  projected = {};
2214
2245
  for (const path of projection.include) {
2215
- const { found, value } = readPath(document, path);
2246
+ const { found, value } = readProjectedPath(document, path);
2216
2247
  if (found) writePath(projected, path, value);
2217
2248
  }
2218
2249
  } else {
@@ -2268,5 +2299,12 @@ function setNestedValue(obj, path, value) {
2268
2299
  }
2269
2300
  current[segments[segments.length - 1]] = value;
2270
2301
  }
2302
+ function copyVectorsInto(document, docId, vectorIndexes, projection) {
2303
+ for (const [fieldPath, vectorIndex] of vectorIndexes) {
2304
+ if (projection !== void 0 && !projectionKeepsField(projection, fieldPath)) continue;
2305
+ const vector = vectorIndex.getVector(docId);
2306
+ if (vector) setNestedValue(document, fieldPath, vector);
2307
+ }
2308
+ }
2271
2309
 
2272
- export { FIELD_FILTER_OPERATORS, FILTER_EXPRESSION_KEYS, PATTERN_HOST, applyPagination, applyProjection, applySorting, availablePatternSearch, buildPartialWordTableFrom, clampRowCount, cloneProjected, collectQueryTermStats, computeFacets, countPartialSpelling, countsWithoutScores, coveringRanges, createFrozenPartialWords, createGrowingPartialWords, createPatternWorkMeter, decodePageCursor, encodePageCursor, encodePartialSpellingsOf, everyValueFacetConfig, expandPartialWords, fanOutMatchCount, fanOutQuery, filterTestCount, fnv1a, fnv1aBytes, fnv1aUint32s, fulltextMatches, joinPatternWorkMeter, kWayMerge, locationCode, mergeFacets, mergePartitionStats, normalizeSort, oversampledFacetConfig, oversampledShardSize, partialSpellingsOfDocuments, partialWordHighlighter, partialWordsToHighlight, partitionsIn, patternIndexOf, polygonBoxes, polygonContainment, projectionKeepsField, pruneStatsToQueryTerms, radiusBoxes, readSortValues, registerPartialWordSearch, registerPatternSearch, requireMatchingCursor, requirePartialWordSearchFor, requirePatternSearch, requirePatternSearchFor, requireSortableFields, requireWithinResultWindow, resolveProjection, sanitizeGlobalStats, setNestedValue, sortModesOf, sortSignatureEntry, sortSignatureOf, undeclaredFieldOnStrictIndex, undeclaredFilterField, validatedFilterOf };
2310
+ export { FIELD_FILTER_OPERATORS, FILTER_EXPRESSION_KEYS, PATTERN_HOST, applyPagination, applyProjection, applySorting, availablePatternSearch, buildPartialWordTableFrom, clampRowCount, cloneProjected, collectQueryTermStats, computeFacets, copyVectorsInto, countPartialSpelling, countsWithoutScores, coveringRanges, createFrozenPartialWords, createGrowingPartialWords, createPatternWorkMeter, decodePageCursor, encodePageCursor, encodePartialSpellingsOf, everyValueFacetConfig, expandPartialWords, fanOutMatchCount, fanOutQuery, filterTestCount, fnv1a, fnv1aBytes, fnv1aUint32s, fulltextMatches, joinPatternWorkMeter, kWayMerge, locationCode, mergeFacets, mergePartitionStats, normalizeSort, oversampledFacetConfig, oversampledShardSize, partialSpellingsOfDocuments, partialWordHighlighter, partialWordsToHighlight, partitionsIn, patternIndexOf, polygonBoxes, polygonContainment, projectIncludedPaths, projectionKeepsField, pruneStatsToQueryTerms, radiusBoxes, readProjectedPath, readSortValues, registerPartialWordSearch, registerPatternSearch, requireMatchingCursor, requirePartialWordSearchFor, requirePatternSearch, requirePatternSearchFor, requireSortableFields, requireWithinResultWindow, resolveProjection, sanitizeGlobalStats, setNestedValue, sortModesOf, sortSignatureEntry, sortSignatureOf, undeclaredFieldOnStrictIndex, undeclaredFilterField, validatedFilterOf };
@@ -1,10 +1,10 @@
1
- export { createDirectExecutor } from './chunk-XBXKPWMR.mjs';
2
- import './chunk-SYRFSF6V.mjs';
1
+ export { createDirectExecutor } from './chunk-EMXAYPTQ.mjs';
2
+ import './chunk-X4SEXL4U.mjs';
3
3
  import './chunk-PR4O7CAP.mjs';
4
4
  import './chunk-TGP5M5R7.mjs';
5
5
  import './chunk-T6CNO72J.mjs';
6
6
  import './chunk-WQBCBKY3.mjs';
7
- import './chunk-PSUJCOSE.mjs';
7
+ import './chunk-A3UB2MXL.mjs';
8
8
  import './chunk-CVQWQVFX.mjs';
9
9
  import './chunk-FGMGUDHX.mjs';
10
10
  import './chunk-KEHK2O6P.mjs';
@@ -1,5 +1,5 @@
1
- import { buildArchiveFromMemory, archiveStream, memoryCheckpointStore, readSnapshotArchive } from './chunk-K4OWQ2M3.mjs';
2
- import { indexMetadataOf, loadPartitionSegments } from './chunk-JFJBA3PD.mjs';
1
+ import { buildArchiveFromMemory, archiveStream, memoryCheckpointStore, readSnapshotArchive } from './chunk-S4LQDSUL.mjs';
2
+ import { indexMetadataOf, loadPartitionSegments } from './chunk-CL4OM7GB.mjs';
3
3
  import { MAX_MESSAGE_SIZE_BYTES } from './chunk-UNEEFTEU.mjs';
4
4
  import { validateIndexName, indexConfigKey, withPartitionCount, indexSettingsOf, putIndexMetadata, getIndexMetadata, getClusterIndexConfig } from './chunk-URGLSNKR.mjs';
5
5
  import './chunk-MXS5HWIH.mjs';
@@ -7,14 +7,14 @@ import { decodeVectorFilePayload, bytesToVectors, isDead } from './chunk-YCJLVNW
7
7
  import './chunk-ULRPNYAG.mjs';
8
8
  import './chunk-37CD3OKS.mjs';
9
9
  import './chunk-DJHHF2L5.mjs';
10
- import { validateEntryBatchPayload, createAckMessage, validateEntryPayload, validateForwardBatchPayload, createForwardBatchResultMessage, readListedFile, createForwardBatchMessage, validateForwardBatchResultPayload, createForwardMessage, computeEntryChecksum, createEntryMessage, createEntryBatchMessage, createInsyncConfirmMessage, validateAckPayload, createInsyncRemoveMessage, validateInsyncConfirmPayload, createInsyncAddMessage } from './chunk-T7DMUVTL.mjs';
11
- import { applyIndexEntry, applyDeleteEntry, validateReplicationEntry } from './chunk-IKST36MA.mjs';
10
+ import { validateEntryBatchPayload, createAckMessage, validateEntryPayload, validateForwardBatchPayload, createForwardBatchResultMessage, readListedFile, createForwardBatchMessage, validateForwardBatchResultPayload, createForwardMessage, computeEntryChecksum, createEntryMessage, createEntryBatchMessage, createInsyncConfirmMessage, validateAckPayload, createInsyncRemoveMessage, validateInsyncConfirmPayload, createInsyncAddMessage } from './chunk-QAMUC2BJ.mjs';
11
+ import { applyIndexEntry, applyDeleteEntry, validateReplicationEntry } from './chunk-MWJIAREY.mjs';
12
12
  import { ReplicationMessageTypes, TransportErrorCodes, ClusterMessageTypes, QueryMessageTypes, TransportError } from './chunk-GCM3JFVA.mjs';
13
13
  import { MAX_PARTITION_COUNT, MAX_REPLICATION_FACTOR, WIRE_BATCH_BUDGET } from './chunk-P36MUFEJ.mjs';
14
- import { requireKnownConfig, resolveRunnableConfig, createEngineCore, startEngineCore, createNarsilFromCore, runEngineQueryStats, runEngineListDocuments, runEngineSuggest, runEnginePreflight, runEngineQuery, createEngineIndex, encodeIndexConfiguration, requireConfigurationWithinSizeLimit, createByteReader, openChecksummedEnvelope, crc32Init, crc32Final, crc32Update } from './chunk-AQU2QHSY.mjs';
15
- import { generateId, readHeapStatistics } from './chunk-XBXKPWMR.mjs';
16
- import { now, listBindingOf, requireSurfaceFormsForPartialFields, queryBindingOf, hitsKeptPerGroup, clampLimit, resolveHybridFusion, dedupePinnedEntries, foldGroupReducer } from './chunk-AXDAS2VA.mjs';
17
- import { oversampledShardSize, resolveProjection, clampRowCount, sortSignatureOf, requireMatchingCursor, decodePageCursor, normalizeSort, sortModesOf, encodePageCursor, applyProjection, readSortValues, requireWithinResultWindow, fnv1a, sortSignatureEntry, FILTER_EXPRESSION_KEYS, filterTestCount, fnv1aUint32s, mergePartitionStats, FIELD_FILTER_OPERATORS } from './chunk-SYRFSF6V.mjs';
14
+ import { requireKnownConfig, resolveRunnableConfig, createEngineCore, startEngineCore, createNarsilFromCore, runEngineQueryStats, runEngineListDocuments, runEngineSuggest, runEnginePreflight, runEngineQuery, createEngineIndex, encodeIndexConfiguration, requireConfigurationWithinSizeLimit, createByteReader, openChecksummedEnvelope, emptySerializablePartition, crc32Init, crc32Final, crc32Update } from './chunk-R6BMMQXH.mjs';
15
+ import { generateId, readHeapStatistics } from './chunk-EMXAYPTQ.mjs';
16
+ import { now, listBindingOf, requireSurfaceFormsForPartialFields, queryBindingOf, hitsKeptPerGroup, clampLimit, resolveHybridFusion, dedupePinnedEntries, foldGroupReducer } from './chunk-DCK4P5BI.mjs';
17
+ import { oversampledShardSize, resolveProjection, clampRowCount, sortSignatureOf, requireMatchingCursor, decodePageCursor, normalizeSort, sortModesOf, encodePageCursor, applyProjection, readSortValues, requireWithinResultWindow, fnv1a, sortSignatureEntry, FILTER_EXPRESSION_KEYS, filterTestCount, fnv1aUint32s, mergePartitionStats, FIELD_FILTER_OPERATORS } from './chunk-X4SEXL4U.mjs';
18
18
  import { providedDocId } from './chunk-J2BPXTD7.mjs';
19
19
  import { getLanguage } from './chunk-PR4O7CAP.mjs';
20
20
  import './chunk-RVM7AODE.mjs';
@@ -26,7 +26,7 @@ import { MIN_OVERSAMPLE } from './chunk-ZJ4CSAB2.mjs';
26
26
  import './chunk-QZN3MIJ3.mjs';
27
27
  import { isPatternTolerance } from './chunk-T6CNO72J.mjs';
28
28
  import { MAX_FILTER_DEPTH, MAX_FILTER_TESTS, MAX_FILTER_ARRAY_SIZE } from './chunk-WQBCBKY3.mjs';
29
- import './chunk-PSUJCOSE.mjs';
29
+ import './chunk-A3UB2MXL.mjs';
30
30
  import { validateSchema, requireCreatableSchema, encodeDocument, MIN_POLYGON_POINTS, isLatitude, MAX_LATITUDE_DEGREES, isLongitude, MAX_LONGITUDE_DEGREES } from './chunk-CVQWQVFX.mjs';
31
31
  import { DEFAULT_PAGE_SIZE, MAX_SORT_FIELDS, MAX_CURSOR_LENGTH, MAX_TOLERANCE, MAX_PREFIX_LENGTH, RESULT_WINDOW } from './chunk-FGMGUDHX.mjs';
32
32
  import './chunk-KEHK2O6P.mjs';
@@ -5527,12 +5527,14 @@ async function applyLocalReplicationEntry(core, entry) {
5527
5527
  }
5528
5528
  return;
5529
5529
  }
5530
- applyDeleteEntry(entry, manager, vecIndexes);
5530
+ const removedSpellings = manager.removedSpellingsOf(entry.documentId);
5531
+ applyDeleteEntry(entry, manager, vecIndexes, removedSpellings);
5531
5532
  await core.orchestrator.replicateToWorkers({
5532
5533
  type: "remove",
5533
5534
  indexName: entry.indexName,
5534
5535
  docId: entry.documentId,
5535
- requestId: `replicate-entry-remove-${entry.indexName}-${entry.partitionId}-${entry.seqNo}`
5536
+ requestId: `replicate-entry-remove-${entry.indexName}-${entry.partitionId}-${entry.seqNo}`,
5537
+ removedSpellings
5536
5538
  });
5537
5539
  } finally {
5538
5540
  release();
@@ -5716,28 +5718,13 @@ async function receiveArchive(indexName, partitionId, source, schema) {
5716
5718
  if (received === null) restoreFailed("partition archive holds no manifest", { indexName, partitionId });
5717
5719
  return { language, analysisRevision, manifest: received, store };
5718
5720
  }
5719
- function emptyPartition(manager, partitionId) {
5720
- return {
5721
- indexName: manager.indexName,
5722
- partitionId,
5723
- totalPartitions: manager.partitionCount,
5724
- language: manager.language.name,
5725
- schema: {},
5726
- docCount: 0,
5727
- avgDocLength: 0,
5728
- documents: {},
5729
- invertedIndex: {},
5730
- fieldIndexes: { numeric: {}, boolean: {}, enum: {}, geopoint: {} },
5731
- statistics: { totalDocuments: 0, totalFieldLengths: {}, averageFieldLengths: {}, docFrequencies: {} }
5732
- };
5733
- }
5734
5721
  async function replacePartition(manager, partitionId, archive) {
5735
5722
  const vectorIndexes = manager.getVectorIndexes();
5736
5723
  const held = [...manager.getPartition(partitionId).docIds()];
5737
5724
  for (const vectorIndex of vectorIndexes.values()) {
5738
5725
  for (const docId of held) if (vectorIndex.has(docId)) vectorIndex.remove(docId);
5739
5726
  }
5740
- manager.deserializePartition(partitionId, emptyPartition(manager, partitionId));
5727
+ manager.deserializePartition(partitionId, emptySerializablePartition(manager, partitionId));
5741
5728
  const entry = archive.manifest.partitions[0];
5742
5729
  if (entry !== void 0) {
5743
5730
  await loadPartitionSegments(archive.store, entry, manager, {
@@ -1,17 +1,17 @@
1
- import { readMetadataEnvelope, readSegmentManifest, reclaimUnlistedKeys, loadSegmentedCheckpoint, writeMetadataEnvelope, readCurrentManifest, deserializePayloadV2, unpackEnvelopeBytes, growPartitionsTo, documentsOfPayloadV2 } from './chunk-MKK4OZ5W.mjs';
2
- import { decodeSegmentManifest, metadataFromConfig, createSeqOwner, isRecord, invalidManifest, SINGLE_NODE_PRIMARY_TERM, writeLiveVectors, isId, isUint32, isSequenceNumber, VECTOR_FILE_ENVELOPE_VERSION, metadataConfigOf } from './chunk-JFJBA3PD.mjs';
1
+ import { readMetadataEnvelope, readSegmentManifest, reclaimUnlistedKeys, loadSegmentedCheckpoint, writeMetadataEnvelope, readCurrentManifest, deserializePayloadV2, unpackEnvelopeBytes, growPartitionsTo, documentsOfPayloadV2 } from './chunk-V7YUSKKZ.mjs';
2
+ import { decodeSegmentManifest, metadataFromConfig, createSeqOwner, isRecord, invalidManifest, SINGLE_NODE_PRIMARY_TERM, writeLiveVectors, isId, isUint32, isSequenceNumber, VECTOR_FILE_ENVELOPE_VERSION, metadataConfigOf } from './chunk-CL4OM7GB.mjs';
3
3
  import { decodeVectorIndexParts, VECTOR_FILE_MAX_VECTORS, deadBytesFor, countDead, decodeVectorFilePayload, decodeVectorGraphPayload, graphPartsOfEarlierPayload } from './chunk-YCJLVNWR.mjs';
4
4
  import './chunk-37CD3OKS.mjs';
5
- import { createDurableDirectory } from './chunk-WQSHDZ7Z.mjs';
6
- 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, readListedFile, adapterCheckpointStore, snapshotBundleKey, manifestReferencedKeys, checkpointLastSeqNo, commitCheckpointManifest, removeCheckpointGarbage, readSegmentFile, checkpointPrimaryTerm, writeCheckpointSegments, partitionContentsOf, frameRecord, WHOLE_PARTITION_LARGEST_DOCUMENT_COUNT, WHOLE_PARTITION_MIN_CHANGED_SHARE, captureWholePartition, readCommitMarker, readWalSegments, durableRecordMissing, CHECKPOINT_TIMEOUT_RECOVERY_BACKOFF_MS, MAX_SEGMENTS_PER_PARTITION, writeSegmentHeader, CHECKPOINT_WORKER_TIMEOUT_MS, CHECKPOINT_WORKER_IDLE_MS, SEGMENT_HEADER_SIZE, nextMarkerSlot, encodeMarkerSlot, markerSlotOffset, LOG_RECORDS_PER_CHECKPOINT, DIRECTORY_IDENTITY_CHECK_INTERVAL_MS, buildEntry } from './chunk-T7DMUVTL.mjs';
7
- import { applyDeleteEntry, applyIndexEntry } from './chunk-IKST36MA.mjs';
5
+ import { createDurableDirectory } from './chunk-VY4DXZ5P.mjs';
6
+ 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, readListedFile, adapterCheckpointStore, snapshotBundleKey, manifestReferencedKeys, checkpointLastSeqNo, commitCheckpointManifest, removeCheckpointGarbage, readSegmentFile, checkpointPrimaryTerm, writeCheckpointSegments, partitionContentsOf, frameRecord, WHOLE_PARTITION_LARGEST_DOCUMENT_COUNT, WHOLE_PARTITION_MIN_CHANGED_SHARE, captureWholePartition, readCommitMarker, readWalSegments, durableRecordMissing, CHECKPOINT_TIMEOUT_RECOVERY_BACKOFF_MS, MAX_SEGMENTS_PER_PARTITION, writeSegmentHeader, CHECKPOINT_WORKER_TIMEOUT_MS, CHECKPOINT_WORKER_IDLE_MS, SEGMENT_HEADER_SIZE, nextMarkerSlot, encodeMarkerSlot, markerSlotOffset, LOG_RECORDS_PER_CHECKPOINT, DIRECTORY_IDENTITY_CHECK_INTERVAL_MS, buildEntry } from './chunk-QAMUC2BJ.mjs';
7
+ import { applyDeleteEntry, applyIndexEntry } from './chunk-MWJIAREY.mjs';
8
8
  import './chunk-GCM3JFVA.mjs';
9
9
  import './chunk-P36MUFEJ.mjs';
10
10
  import { spawnNodeWorker } from './chunk-C7SLA6CM.mjs';
11
- import { openChecksummedEnvelope, HEADER_SIZE } from './chunk-AQU2QHSY.mjs';
12
- import { buildSegmentPayload, resolvePartitionInsertOptions, freezeSegmentShared, createSharedFrozenSegment } from './chunk-XBXKPWMR.mjs';
13
- import './chunk-AXDAS2VA.mjs';
14
- import { fnv1a } from './chunk-SYRFSF6V.mjs';
11
+ import { openChecksummedEnvelope, HEADER_SIZE } from './chunk-R6BMMQXH.mjs';
12
+ import { buildSegmentPayload, resolvePartitionInsertOptions, freezeSegmentShared, createSharedFrozenSegment } from './chunk-EMXAYPTQ.mjs';
13
+ import './chunk-DCK4P5BI.mjs';
14
+ import { fnv1a } from './chunk-X4SEXL4U.mjs';
15
15
  import './chunk-J2BPXTD7.mjs';
16
16
  import './chunk-PR4O7CAP.mjs';
17
17
  import { resolveWorkerEntry, MAX_FILE_BYTES } from './chunk-RVM7AODE.mjs';
@@ -23,7 +23,7 @@ import './chunk-ZJ4CSAB2.mjs';
23
23
  import './chunk-QZN3MIJ3.mjs';
24
24
  import './chunk-T6CNO72J.mjs';
25
25
  import './chunk-WQBCBKY3.mjs';
26
- import './chunk-PSUJCOSE.mjs';
26
+ import './chunk-A3UB2MXL.mjs';
27
27
  import { encodeDocument, requireValidFieldTypes } from './chunk-CVQWQVFX.mjs';
28
28
  import './chunk-FGMGUDHX.mjs';
29
29
  import { MIN_M } from './chunk-KEHK2O6P.mjs';
@@ -1,2 +1,2 @@
1
- export { VERSION, clearNormalizationCache, configureNormalizationCache, createNarsil, getLanguage, getNormalizationCacheSize, getStopWords, getTokenizer, hasStopWords, hasTokenizer, registerLanguage, registerPartialWordSearch, registerPatternSearch, registerStopWords, registerTokenizer, resetNormalizationCache } from './browser/chunk-TBMNPGFO.mjs';
1
+ export { VERSION, clearNormalizationCache, configureNormalizationCache, createNarsil, getLanguage, getNormalizationCacheSize, getStopWords, getTokenizer, hasStopWords, hasTokenizer, registerLanguage, registerPartialWordSearch, registerPatternSearch, registerStopWords, registerTokenizer, resetNormalizationCache } from './browser/chunk-RAHUQOJL.mjs';
2
2
  export { ClientErrorCodes, ErrorCodes, NarsilError, ServerErrorCodes, isNarsilError, isSimdAvailable } from './browser/chunk-FHFFWLEK.mjs';
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- export { VERSION, createNarsil } from './chunk-AQU2QHSY.mjs';
2
- export { getStopWords, getTokenizer, hasStopWords, hasTokenizer, registerStopWords, registerTokenizer } from './chunk-XBXKPWMR.mjs';
3
- import './chunk-AXDAS2VA.mjs';
4
- export { registerPartialWordSearch, registerPatternSearch } from './chunk-SYRFSF6V.mjs';
1
+ export { VERSION, createNarsil } from './chunk-R6BMMQXH.mjs';
2
+ export { getStopWords, getTokenizer, hasStopWords, hasTokenizer, registerStopWords, registerTokenizer } from './chunk-EMXAYPTQ.mjs';
3
+ import './chunk-DCK4P5BI.mjs';
4
+ export { registerPartialWordSearch, registerPatternSearch } from './chunk-X4SEXL4U.mjs';
5
5
  import './chunk-J2BPXTD7.mjs';
6
6
  export { getLanguage, registerLanguage } from './chunk-PR4O7CAP.mjs';
7
7
  import './chunk-RVM7AODE.mjs';
@@ -13,7 +13,7 @@ import './chunk-ZJ4CSAB2.mjs';
13
13
  import './chunk-QZN3MIJ3.mjs';
14
14
  import './chunk-T6CNO72J.mjs';
15
15
  import './chunk-WQBCBKY3.mjs';
16
- export { clearNormalizationCache, configureNormalizationCache, getNormalizationCacheSize, resetNormalizationCache } from './chunk-PSUJCOSE.mjs';
16
+ export { clearNormalizationCache, configureNormalizationCache, getNormalizationCacheSize, resetNormalizationCache } from './chunk-A3UB2MXL.mjs';
17
17
  import './chunk-CVQWQVFX.mjs';
18
18
  import './chunk-FGMGUDHX.mjs';
19
19
  import './chunk-KEHK2O6P.mjs';
@@ -1,4 +1,4 @@
1
- import { partialWordSearchModule } from './chunk-PSUJCOSE.mjs';
1
+ import { partialWordSearchModule } from './chunk-A3UB2MXL.mjs';
2
2
  import './chunk-CVQWQVFX.mjs';
3
3
  import './chunk-FGMGUDHX.mjs';
4
4
  import './chunk-KEHK2O6P.mjs';
@@ -1,13 +1,13 @@
1
- import { createDurableDirectory } from '../../chunk-WQSHDZ7Z.mjs';
2
- import { CHECKPOINT_WORKER_HEARTBEAT_MS, writeCheckpointSegments, directoryCheckpointStore } from '../../chunk-T7DMUVTL.mjs';
3
- import '../../chunk-IKST36MA.mjs';
1
+ import { createDurableDirectory } from '../../chunk-VY4DXZ5P.mjs';
2
+ import { CHECKPOINT_WORKER_HEARTBEAT_MS, writeCheckpointSegments, directoryCheckpointStore } from '../../chunk-QAMUC2BJ.mjs';
3
+ import '../../chunk-MWJIAREY.mjs';
4
4
  import '../../chunk-GCM3JFVA.mjs';
5
5
  import '../../chunk-P36MUFEJ.mjs';
6
6
  import '../../chunk-C7SLA6CM.mjs';
7
- import '../../chunk-AQU2QHSY.mjs';
8
- import '../../chunk-XBXKPWMR.mjs';
9
- import '../../chunk-AXDAS2VA.mjs';
10
- import '../../chunk-SYRFSF6V.mjs';
7
+ import '../../chunk-R6BMMQXH.mjs';
8
+ import '../../chunk-EMXAYPTQ.mjs';
9
+ import '../../chunk-DCK4P5BI.mjs';
10
+ import '../../chunk-X4SEXL4U.mjs';
11
11
  import '../../chunk-J2BPXTD7.mjs';
12
12
  import '../../chunk-PR4O7CAP.mjs';
13
13
  import '../../chunk-RVM7AODE.mjs';
@@ -19,7 +19,7 @@ import '../../chunk-ZJ4CSAB2.mjs';
19
19
  import '../../chunk-QZN3MIJ3.mjs';
20
20
  import '../../chunk-T6CNO72J.mjs';
21
21
  import '../../chunk-WQBCBKY3.mjs';
22
- import '../../chunk-PSUJCOSE.mjs';
22
+ import '../../chunk-A3UB2MXL.mjs';
23
23
  import '../../chunk-CVQWQVFX.mjs';
24
24
  import '../../chunk-FGMGUDHX.mjs';
25
25
  import '../../chunk-KEHK2O6P.mjs';
@@ -1,19 +1,19 @@
1
- import { unpackIndexSnapshotEnvelope, loadSegmentedCheckpoint, documentsOfPayloadV2, deserializePayloadV1 } from './chunk-MKK4OZ5W.mjs';
2
- import { buildArchiveFromMemory, archiveStream, memoryCheckpointStore, readSnapshotArchive } from './chunk-K4OWQ2M3.mjs';
3
- import { indexMetadataOf, readVectorFile, readGraphParts } from './chunk-JFJBA3PD.mjs';
1
+ import { unpackIndexSnapshotEnvelope, loadSegmentedCheckpoint, documentsOfPayloadV2, deserializePayloadV1 } from './chunk-V7YUSKKZ.mjs';
2
+ import { buildArchiveFromMemory, archiveStream, memoryCheckpointStore, readSnapshotArchive } from './chunk-S4LQDSUL.mjs';
3
+ import { indexMetadataOf, readVectorFile, readGraphParts } from './chunk-CL4OM7GB.mjs';
4
4
  import './chunk-MXS5HWIH.mjs';
5
5
  import { decodeVectorIndexParts, bytesToVectors } from './chunk-YCJLVNWR.mjs';
6
6
  import './chunk-ULRPNYAG.mjs';
7
7
  import './chunk-37CD3OKS.mjs';
8
8
  import './chunk-DJHHF2L5.mjs';
9
- import { manifestKey, encodeSegmentManifest, readSegmentFile } from './chunk-T7DMUVTL.mjs';
10
- import './chunk-IKST36MA.mjs';
9
+ import { manifestKey, encodeSegmentManifest, readSegmentFile } from './chunk-QAMUC2BJ.mjs';
10
+ import './chunk-MWJIAREY.mjs';
11
11
  import './chunk-GCM3JFVA.mjs';
12
12
  import './chunk-P36MUFEJ.mjs';
13
- import { encodeIndexConfiguration, createByteReader, hasNrslMagic, HEADER_SIZE, readHeader, validateRequiredFieldsInSchema, validateEmbeddingConfig, decodeIndexConfiguration, insertDocumentVectors } from './chunk-AQU2QHSY.mjs';
14
- import { resolveIndexAnalysis, decodeEveryStoredDocument } from './chunk-XBXKPWMR.mjs';
15
- import { validatePatternValueLimit, requireSurfaceFormsForPartialFields } from './chunk-AXDAS2VA.mjs';
16
- import { setNestedValue } from './chunk-SYRFSF6V.mjs';
13
+ import { encodeIndexConfiguration, createByteReader, hasNrslMagic, HEADER_SIZE, readHeader, validateRequiredFieldsInSchema, validateEmbeddingConfig, decodeIndexConfiguration, insertDocumentVectors } from './chunk-R6BMMQXH.mjs';
14
+ import { resolveIndexAnalysis, decodeEveryStoredDocument } from './chunk-EMXAYPTQ.mjs';
15
+ import { validatePatternValueLimit, requireSurfaceFormsForPartialFields } from './chunk-DCK4P5BI.mjs';
16
+ import { setNestedValue } from './chunk-X4SEXL4U.mjs';
17
17
  import { restoredConfigFields, restoredEmbedding } from './chunk-J2BPXTD7.mjs';
18
18
  import { getLanguage } from './chunk-PR4O7CAP.mjs';
19
19
  import { MAX_FILE_BYTES } from './chunk-RVM7AODE.mjs';
@@ -25,7 +25,7 @@ import './chunk-ZJ4CSAB2.mjs';
25
25
  import './chunk-QZN3MIJ3.mjs';
26
26
  import './chunk-T6CNO72J.mjs';
27
27
  import './chunk-WQBCBKY3.mjs';
28
- import { parseVectorDimension } from './chunk-PSUJCOSE.mjs';
28
+ import { parseVectorDimension } from './chunk-A3UB2MXL.mjs';
29
29
  import { raiseEarlierReleaseGraphSetting, validateSchema, validateVectorPromotion, validateVectorStorage, flattenSchema } from './chunk-CVQWQVFX.mjs';
30
30
  import './chunk-FGMGUDHX.mjs';
31
31
  import './chunk-KEHK2O6P.mjs';
@@ -1,13 +1,13 @@
1
1
  import { loadUWebSockets, childAppOf, createRouteRunner, corsHeaderReader, createSharedRequestGate, registerServerRoutes, sendRelayed, createDocumentReadHandlers, respondJson, SERVER_CAPABILITIES, versionReport, statusLine, sendError, serverRoutes, parseJson, validateSuggest, rejectInvalid, respondError, validateQuery, refuseRegex, awaitDepartureConfirmation, departureConfirmation, REQUEST_THREAD_DEPARTURE_DRAIN_MS, departureConfirmed, encodeJson } from './chunk-XSZVS4S3.mjs';
2
2
  import './chunk-DJHHF2L5.mjs';
3
- import { executeListDocuments, executeSuggest, executePreflight, queryBindingOf, executeQuery } from './chunk-AXDAS2VA.mjs';
4
- import { resolveProjection, projectionKeepsField, setNestedValue } from './chunk-SYRFSF6V.mjs';
3
+ import { executeListDocuments, executeSuggest, executePreflight, queryBindingOf, executeQuery } from './chunk-DCK4P5BI.mjs';
4
+ import { resolveProjection, projectionKeepsField, setNestedValue } from './chunk-X4SEXL4U.mjs';
5
5
  import './chunk-Q5DC6WAB.mjs';
6
6
  import './chunk-ZJ4CSAB2.mjs';
7
7
  import './chunk-QZN3MIJ3.mjs';
8
8
  import './chunk-T6CNO72J.mjs';
9
9
  import './chunk-WQBCBKY3.mjs';
10
- import './chunk-PSUJCOSE.mjs';
10
+ import './chunk-A3UB2MXL.mjs';
11
11
  import { extractVectorFieldsFromSchema } from './chunk-CVQWQVFX.mjs';
12
12
  import './chunk-FGMGUDHX.mjs';
13
13
  import './chunk-KEHK2O6P.mjs';
@@ -20,7 +20,7 @@ async function importBootstrapModule(moduleUrl) {
20
20
  await import(moduleUrl);
21
21
  }
22
22
  async function stopServingRequests() {
23
- const { closeRequestThread } = await import('../thread-GS65E6RM.mjs');
23
+ const { closeRequestThread } = await import('../thread-ZP3UMIZT.mjs');
24
24
  closeRequestThread();
25
25
  }
26
26
  function holdsCopies(executor) {
@@ -51,7 +51,7 @@ function createActionHandler(executor) {
51
51
  if (!holdsCopies(executor)) {
52
52
  throw new NarsilError(ErrorCodes.CONFIG_INVALID, "This executor holds no copies to answer requests from");
53
53
  }
54
- const starting = import('../thread-GS65E6RM.mjs').then(
54
+ const starting = import('../thread-ZP3UMIZT.mjs').then(
55
55
  ({ serveRequests }) => serveRequests(executor, action.settings)
56
56
  );
57
57
  serving.start = starting.then(
@@ -104,7 +104,7 @@ async function setup() {
104
104
  } catch {
105
105
  parentPort = null;
106
106
  }
107
- const [{ createDirectExecutor }] = await Promise.all([import('../direct-executor-LD6JW57R.mjs'), loadVectorCode()]);
107
+ const [{ createDirectExecutor }] = await Promise.all([import('../direct-executor-EGESD26S.mjs'), loadVectorCode()]);
108
108
  const handleAction = createActionHandler(createDirectExecutor({ threadSlot }));
109
109
  if (parentPort) {
110
110
  const port = parentPort;
@@ -1,10 +1,10 @@
1
1
  import { decodeVectorFilePayload, isDead, bytesToVectors } from './chunk-YCJLVNWR.mjs';
2
2
  import './chunk-37CD3OKS.mjs';
3
- import { setNestedValue, KEYWORD_SEGMENT_ENVELOPE_VERSION, decodeKeywordSegment } from './chunk-IKST36MA.mjs';
4
- import { 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-AQU2QHSY.mjs';
5
- import { decodeStoredDocument } from './chunk-XBXKPWMR.mjs';
6
- import './chunk-AXDAS2VA.mjs';
7
- import './chunk-SYRFSF6V.mjs';
3
+ import { setNestedValue, KEYWORD_SEGMENT_ENVELOPE_VERSION, decodeKeywordSegment } from './chunk-MWJIAREY.mjs';
4
+ import { 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-R6BMMQXH.mjs';
5
+ import { decodeStoredDocument } from './chunk-EMXAYPTQ.mjs';
6
+ import './chunk-DCK4P5BI.mjs';
7
+ import './chunk-X4SEXL4U.mjs';
8
8
  import './chunk-J2BPXTD7.mjs';
9
9
  import './chunk-PR4O7CAP.mjs';
10
10
  import './chunk-RVM7AODE.mjs';
@@ -16,7 +16,7 @@ import './chunk-ZJ4CSAB2.mjs';
16
16
  import './chunk-QZN3MIJ3.mjs';
17
17
  import './chunk-T6CNO72J.mjs';
18
18
  import './chunk-WQBCBKY3.mjs';
19
- import './chunk-PSUJCOSE.mjs';
19
+ import './chunk-A3UB2MXL.mjs';
20
20
  import './chunk-CVQWQVFX.mjs';
21
21
  import './chunk-FGMGUDHX.mjs';
22
22
  import './chunk-KEHK2O6P.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delali/narsil",
3
- "version": "0.3.1-next.87",
3
+ "version": "0.3.1-next.88",
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)",
@@ -39,6 +39,10 @@
39
39
  "browser": "./src/runtime/heap-statistics.browser.ts",
40
40
  "default": "./src/runtime/heap-statistics.ts"
41
41
  },
42
+ "#platform/process-limit": {
43
+ "browser": "./src/runtime/process-limit.browser.ts",
44
+ "default": "./src/runtime/process-limit.ts"
45
+ },
42
46
  "#platform/idle-heap-cleanup": {
43
47
  "browser": "./src/runtime/idle-heap-cleanup.browser.ts",
44
48
  "default": "./src/runtime/idle-heap-cleanup.ts"
@@ -83,8 +87,9 @@
83
87
  },
84
88
  "scripts": {
85
89
  "build": "rm -rf dist && tsup && node scripts/check-browser-bundle.mjs && tsx scripts/api-surface.ts",
86
- "test": "vitest run --exclude='**/vector/recall.test.ts'",
90
+ "test": "vitest run --exclude='**/vector/recall.test.ts' --exclude='**/frozen-removal-memory/container-removes.test.ts'",
87
91
  "test:etcd": "vitest run src/__tests__/distribution/coordinator/etcd-integration/*.test.ts",
92
+ "test:container-memory": "vitest run src/__tests__/e2e/frozen-removal-memory/container-removes.test.ts",
88
93
  "test:watch": "vitest",
89
94
  "test:coverage": "vitest run --coverage",
90
95
  "test:recall": "vitest run src/__tests__/vector/recall.test.ts",
@@ -250,11 +255,11 @@
250
255
  }
251
256
  },
252
257
  "optionalDependencies": {
253
- "@delali/narsil-native-darwin-arm64": "0.3.1-next.87",
254
- "@delali/narsil-native-darwin-x64": "0.3.1-next.87",
255
- "@delali/narsil-native-linux-arm64": "0.3.1-next.87",
256
- "@delali/narsil-native-linux-x64": "0.3.1-next.87",
257
- "@delali/narsil-native-win32-arm64": "0.3.1-next.87",
258
- "@delali/narsil-native-win32-x64": "0.3.1-next.87"
258
+ "@delali/narsil-native-darwin-arm64": "0.3.1-next.88",
259
+ "@delali/narsil-native-darwin-x64": "0.3.1-next.88",
260
+ "@delali/narsil-native-linux-arm64": "0.3.1-next.88",
261
+ "@delali/narsil-native-linux-x64": "0.3.1-next.88",
262
+ "@delali/narsil-native-win32-arm64": "0.3.1-next.88",
263
+ "@delali/narsil-native-win32-x64": "0.3.1-next.88"
259
264
  }
260
265
  }