@delali/narsil 0.3.1-next.71 → 0.3.1-next.72

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 (57) hide show
  1. package/dist/adapters/filesystem.mjs +1 -1
  2. package/dist/adapters/indexeddb.mjs +1 -1
  3. package/dist/{capabilities-Dt-7B4Wz.d.ts → capabilities-D6gjjQyA.d.ts} +2 -2
  4. package/dist/{chunk-P4DSQ6M4.mjs → chunk-2X2ZQOAB.mjs} +69 -28
  5. package/dist/chunk-3HQPUCCT.mjs +785 -0
  6. package/dist/{chunk-IOR2K26O.mjs → chunk-7QMTA7AA.mjs} +146 -37
  7. package/dist/{chunk-FVLQ63B7.mjs → chunk-CVPA5Q7R.mjs} +24 -3
  8. package/dist/{chunk-2STVUTNA.mjs → chunk-EDMCZLSJ.mjs} +4 -3
  9. package/dist/{chunk-M76V3OGJ.mjs → chunk-HVJYTKK7.mjs} +940 -647
  10. package/dist/{chunk-HWQLTLNG.mjs → chunk-KZTI25D3.mjs} +1 -1
  11. package/dist/{chunk-YJDQ7NLA.mjs → chunk-LCCL6EEH.mjs} +3 -3
  12. package/dist/{chunk-OI42GWLR.mjs → chunk-LJYTW7GT.mjs} +57 -11
  13. package/dist/{chunk-653BNMAF.mjs → chunk-M6XF5HDE.mjs} +57 -17
  14. package/dist/{chunk-YNVIUGF5.mjs → chunk-P2ZZN32C.mjs} +1 -1
  15. package/dist/{chunk-LMO5TJUS.mjs → chunk-QR4OKRVY.mjs} +637 -196
  16. package/dist/{chunk-USKFU7J5.mjs → chunk-RV77FR2F.mjs} +1 -0
  17. package/dist/{chunk-GIVAGD3Q.mjs → chunk-XZ4PAREY.mjs} +1 -1
  18. package/dist/{chunk-3JGWULDF.mjs → chunk-Y52WZWAU.mjs} +5 -5
  19. package/dist/chunk-ZKRV5M2P.mjs +75 -0
  20. package/dist/{client-COek5GXK.d.ts → client-C2TiW29y.d.ts} +3 -3
  21. package/dist/client.d.ts +8 -8
  22. package/dist/client.mjs +1 -0
  23. package/dist/{config-rBpbgTw8.d.ts → config-BLguB-om.d.ts} +2 -2
  24. package/dist/{config-Dfanyqqt.d.ts → config-C7Ip8Ife.d.ts} +17 -2
  25. package/dist/direct-executor-SVCHXR74.mjs +14 -0
  26. package/dist/distribution/coordinator/etcd.d.ts +2 -2
  27. package/dist/distribution/coordinator/etcd.mjs +2 -2
  28. package/dist/distribution/coordinator/in-memory.d.ts +2 -2
  29. package/dist/distribution/coordinator/in-memory.mjs +1 -1
  30. package/dist/distribution/transport/grpc.mjs +1 -1
  31. package/dist/distribution.d.ts +8 -8
  32. package/dist/distribution.mjs +58 -35
  33. package/dist/embeddings/openai.mjs +1 -1
  34. package/dist/{engine-igk0aMpQ.d.ts → engine-Dm4446j1.d.ts} +2 -2
  35. package/dist/index.browser.mjs +2183 -1087
  36. package/dist/index.d.ts +27 -8
  37. package/dist/index.mjs +14 -12
  38. package/dist/invalidation/filesystem.mjs +1 -1
  39. package/dist/{memory-C7UMCMH3.d.ts → memory-CKHTU1CL.d.ts} +66 -25
  40. package/dist/pattern-Cledccbl.d.ts +18 -0
  41. package/dist/pattern.d.ts +22 -0
  42. package/dist/pattern.mjs +7 -0
  43. package/dist/persistence/durability/checkpoint-worker.d.ts +17 -1
  44. package/dist/persistence/durability/checkpoint-worker.mjs +14 -12
  45. package/dist/react.d.ts +7 -7
  46. package/dist/react.mjs +1 -0
  47. package/dist/{schema-Bgzr4g7b.d.ts → schema-BBOCdhND.d.ts} +9 -7
  48. package/dist/server.d.ts +10 -10
  49. package/dist/server.mjs +13 -12
  50. package/dist/{tasks-BZt_zes6.d.ts → tasks-BECd0b__.d.ts} +1 -1
  51. package/dist/{thread-JEVAYETR.mjs → thread-IBSIZZ6W.mjs} +22 -13
  52. package/dist/{types-gOUqhs2F.d.ts → types-BiUmaiWT.d.ts} +1 -1
  53. package/dist/vector/search-worker.d.ts +1 -1
  54. package/dist/vector/search-worker.mjs +4 -4
  55. package/dist/workers/entry.mjs +4 -4
  56. package/package.json +15 -7
  57. package/dist/direct-executor-GYJEKNV5.mjs +0 -12
@@ -1,4 +1,4 @@
1
- import { e as VectorQuantizationMode } from '../schema-Bgzr4g7b.js';
1
+ import { e as VectorQuantizationMode } from '../schema-BBOCdhND.js';
2
2
  import { A as ArenaSimd } from '../simd-DW5AtJ6B.js';
3
3
  import '../adapters-79OIa4xm.js';
4
4
 
@@ -1,8 +1,8 @@
1
- import { openSharedVectorField, MAX_WORKER_COPIES, createVectorStore, osqBitsOf, createHNSWIndex, createOsqQuantizer, osqRecordBytes } from '../chunk-YJDQ7NLA.mjs';
1
+ import { openSharedVectorField, MAX_WORKER_COPIES, createVectorStore, osqBitsOf, createHNSWIndex, createOsqQuantizer, osqRecordBytes } from '../chunk-LCCL6EEH.mjs';
2
2
  import '../chunk-ZJ4CSAB2.mjs';
3
- import '../chunk-YNVIUGF5.mjs';
4
- import '../chunk-OI42GWLR.mjs';
5
- import '../chunk-USKFU7J5.mjs';
3
+ import '../chunk-P2ZZN32C.mjs';
4
+ import '../chunk-LJYTW7GT.mjs';
5
+ import '../chunk-RV77FR2F.mjs';
6
6
 
7
7
  // src/vector/worker-copy.ts
8
8
  function restoreQuantizer(snapshot, store) {
@@ -1,6 +1,6 @@
1
1
  import { startIdleHeapCleanup } from '../chunk-Y3L5MDRV.mjs';
2
2
  import { threadSlotOfWorker, isValidWorkerAction } from '../chunk-POWOTUKJ.mjs';
3
- import { ErrorCodes, NarsilError, isNarsilError } from '../chunk-USKFU7J5.mjs';
3
+ import { ErrorCodes, NarsilError, isNarsilError } from '../chunk-RV77FR2F.mjs';
4
4
 
5
5
  // src/workers/action-handler.ts
6
6
  function buildErrorResponse(requestId, code, message, details) {
@@ -18,7 +18,7 @@ async function importBootstrapModule(moduleUrl) {
18
18
  await import(moduleUrl);
19
19
  }
20
20
  async function stopServingRequests() {
21
- const { closeRequestThread } = await import('../thread-JEVAYETR.mjs');
21
+ const { closeRequestThread } = await import('../thread-IBSIZZ6W.mjs');
22
22
  closeRequestThread();
23
23
  }
24
24
  function holdsCopies(executor) {
@@ -49,7 +49,7 @@ function createActionHandler(executor) {
49
49
  if (!holdsCopies(executor)) {
50
50
  throw new NarsilError(ErrorCodes.CONFIG_INVALID, "This executor holds no copies to answer requests from");
51
51
  }
52
- const starting = import('../thread-JEVAYETR.mjs').then(
52
+ const starting = import('../thread-IBSIZZ6W.mjs').then(
53
53
  ({ serveRequests }) => serveRequests(executor, action.settings)
54
54
  );
55
55
  serving.start = starting.then(
@@ -102,7 +102,7 @@ async function setup() {
102
102
  } catch {
103
103
  parentPort = null;
104
104
  }
105
- const { createDirectExecutor } = await import('../direct-executor-GYJEKNV5.mjs');
105
+ const { createDirectExecutor } = await import('../direct-executor-SVCHXR74.mjs');
106
106
  const handleAction = createActionHandler(createDirectExecutor({ threadSlot }));
107
107
  if (parentPort) {
108
108
  const port = parentPort;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delali/narsil",
3
- "version": "0.3.1-next.71",
3
+ "version": "0.3.1-next.72",
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)",
@@ -50,6 +50,10 @@
50
50
  "#platform/native-crc32": {
51
51
  "browser": "./src/serialization/native-crc32.browser.ts",
52
52
  "default": "./src/serialization/native-crc32.ts"
53
+ },
54
+ "#platform/pattern-search": {
55
+ "browser": "./src/core/pattern-index/platform.browser.ts",
56
+ "default": "./src/core/pattern-index/platform.ts"
53
57
  }
54
58
  },
55
59
  "sideEffects": false,
@@ -131,6 +135,10 @@
131
135
  "import": "./dist/embeddings/openai.mjs",
132
136
  "types": "./dist/embeddings/openai.d.ts"
133
137
  },
138
+ "./pattern": {
139
+ "import": "./dist/pattern.mjs",
140
+ "types": "./dist/pattern.d.ts"
141
+ },
134
142
  "./languages/*": {
135
143
  "import": "./dist/languages/*.mjs",
136
144
  "types": "./dist/languages/*.d.ts"
@@ -223,11 +231,11 @@
223
231
  }
224
232
  },
225
233
  "optionalDependencies": {
226
- "@delali/narsil-native-darwin-arm64": "0.3.1-next.71",
227
- "@delali/narsil-native-darwin-x64": "0.3.1-next.71",
228
- "@delali/narsil-native-linux-arm64": "0.3.1-next.71",
229
- "@delali/narsil-native-linux-x64": "0.3.1-next.71",
230
- "@delali/narsil-native-win32-arm64": "0.3.1-next.71",
231
- "@delali/narsil-native-win32-x64": "0.3.1-next.71"
234
+ "@delali/narsil-native-darwin-arm64": "0.3.1-next.72",
235
+ "@delali/narsil-native-darwin-x64": "0.3.1-next.72",
236
+ "@delali/narsil-native-linux-arm64": "0.3.1-next.72",
237
+ "@delali/narsil-native-linux-x64": "0.3.1-next.72",
238
+ "@delali/narsil-native-win32-arm64": "0.3.1-next.72",
239
+ "@delali/narsil-native-win32-x64": "0.3.1-next.72"
232
240
  }
233
241
  }
@@ -1,12 +0,0 @@
1
- export { createDirectExecutor } from './chunk-M76V3OGJ.mjs';
2
- import './chunk-HWQLTLNG.mjs';
3
- import './chunk-LMO5TJUS.mjs';
4
- import './chunk-653BNMAF.mjs';
5
- import './chunk-TGP5M5R7.mjs';
6
- import './chunk-YJDQ7NLA.mjs';
7
- import './chunk-ZJ4CSAB2.mjs';
8
- import './chunk-YNVIUGF5.mjs';
9
- import './chunk-IFBKLBGB.mjs';
10
- import './chunk-U2BKYEC7.mjs';
11
- import './chunk-OI42GWLR.mjs';
12
- import './chunk-USKFU7J5.mjs';