@nojaja/sqlite-vec1-embeddinggemma2-wasm 0.0.0-stage → 0.0.1

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 (47) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +90 -2
  3. package/dist/image/jpeg.wasm +0 -0
  4. package/dist/image/png.wasm +0 -0
  5. package/dist/image/resize.wasm +0 -0
  6. package/dist/index-browser.d.ts +3 -0
  7. package/dist/index-browser.mjs +16002 -0
  8. package/dist/index.bundle.js +2162 -0
  9. package/dist/index.d.mts +3 -0
  10. package/dist/index.d.ts +3 -0
  11. package/dist/node/index.js +2162 -0
  12. package/dist/node/index.mjs +2127 -0
  13. package/dist/official/types.d.ts +144 -0
  14. package/dist/ort/ort-wasm-simd-threaded.jsep.mjs +108 -0
  15. package/dist/ort/ort-wasm-simd-threaded.jsep.wasm +0 -0
  16. package/dist/ort/ort-wasm-simd-threaded.jspi.mjs +120 -0
  17. package/dist/ort/ort-wasm-simd-threaded.jspi.wasm +0 -0
  18. package/dist/reports/build-content.json +185 -0
  19. package/dist/reports/esbuild-metafile.json +2222 -0
  20. package/dist/reports/sbom.cdx.json +374 -0
  21. package/dist/runtime-lock.json +96 -0
  22. package/dist/samples/browser/index.mjs +48 -0
  23. package/dist/samples/browser/owner.mjs +15800 -0
  24. package/dist/samples/browser/server.js +69 -0
  25. package/dist/samples/node/index.js +2381 -0
  26. package/dist/sqlite3-bundler-friendly.mjs +21851 -0
  27. package/dist/sqlite3-node.mjs +16572 -0
  28. package/dist/sqlite3-opfs-async-proxy.js +1105 -0
  29. package/dist/sqlite3-worker1-bundler-friendly.mjs +35 -0
  30. package/dist/sqlite3-worker1-promiser.mjs +320 -0
  31. package/dist/sqlite3-worker1.mjs +35 -0
  32. package/dist/sqlite3.mjs +21940 -0
  33. package/dist/sqlite3.wasm +0 -0
  34. package/dist/vendor/transformers-directml-node.js +37007 -0
  35. package/dist/vendor/transformers-portable-node.js +36983 -0
  36. package/dist/vendor/transformers-portable.mjs +37001 -0
  37. package/dist/workers/inference-browser.mjs +1378 -0
  38. package/dist/workers/inference-node.js +7344 -0
  39. package/manifests/embeddinggemma2-q4.json +127 -0
  40. package/manifests/runtime-lock.json +96 -0
  41. package/package.json +143 -4
  42. package/samples/browser/index.ts +80 -0
  43. package/samples/browser/owner.ts +50 -0
  44. package/samples/browser/server.ts +50 -0
  45. package/samples/cli-demo.ts +58 -0
  46. package/samples/node/index.ts +144 -0
  47. package/samples/official-scenario.ts +117 -0
@@ -0,0 +1,2222 @@
1
+ {
2
+ "inputs": {
3
+ "src/errors.ts": {
4
+ "bytes": 1627,
5
+ "imports": [],
6
+ "format": "esm"
7
+ },
8
+ "src/official/options.ts": {
9
+ "bytes": 3841,
10
+ "imports": [
11
+ {
12
+ "path": "src/errors.ts",
13
+ "kind": "import-statement",
14
+ "original": "../errors"
15
+ }
16
+ ],
17
+ "format": "esm"
18
+ },
19
+ "src/official/metadata.ts": {
20
+ "bytes": 8092,
21
+ "imports": [
22
+ {
23
+ "path": "src/errors.ts",
24
+ "kind": "import-statement",
25
+ "original": "../errors"
26
+ }
27
+ ],
28
+ "format": "esm"
29
+ },
30
+ "src/official/vector-metadata.ts": {
31
+ "bytes": 11137,
32
+ "imports": [
33
+ {
34
+ "path": "src/errors.ts",
35
+ "kind": "import-statement",
36
+ "original": "../errors"
37
+ }
38
+ ],
39
+ "format": "esm"
40
+ },
41
+ "src/bridge/inference-health.ts": {
42
+ "bytes": 2299,
43
+ "imports": [
44
+ {
45
+ "path": "src/errors.ts",
46
+ "kind": "import-statement",
47
+ "original": "../errors"
48
+ }
49
+ ],
50
+ "format": "esm"
51
+ },
52
+ "src/inference/statement-embedding-cache.ts": {
53
+ "bytes": 8445,
54
+ "imports": [
55
+ {
56
+ "path": "src/errors.ts",
57
+ "kind": "import-statement",
58
+ "original": "../errors"
59
+ }
60
+ ],
61
+ "format": "esm"
62
+ },
63
+ "src/sqlite/statement-lifecycle.ts": {
64
+ "bytes": 10729,
65
+ "imports": [
66
+ {
67
+ "path": "src/errors.ts",
68
+ "kind": "import-statement",
69
+ "original": "../errors"
70
+ },
71
+ {
72
+ "path": "src/bridge/inference-health.ts",
73
+ "kind": "import-statement",
74
+ "original": "../bridge/inference-health"
75
+ },
76
+ {
77
+ "path": "src/inference/statement-embedding-cache.ts",
78
+ "kind": "import-statement",
79
+ "original": "../inference/statement-embedding-cache"
80
+ }
81
+ ],
82
+ "format": "esm"
83
+ },
84
+ "src/official/lifecycle-adapter.ts": {
85
+ "bytes": 10707,
86
+ "imports": [
87
+ {
88
+ "path": "src/errors.ts",
89
+ "kind": "import-statement",
90
+ "original": "../errors"
91
+ },
92
+ {
93
+ "path": "../sqlite/statement-lifecycle",
94
+ "kind": "import-statement",
95
+ "external": true
96
+ }
97
+ ],
98
+ "format": "esm"
99
+ },
100
+ "src/official/functions.ts": {
101
+ "bytes": 2437,
102
+ "imports": [
103
+ {
104
+ "path": "src/errors.ts",
105
+ "kind": "import-statement",
106
+ "original": "../errors"
107
+ }
108
+ ],
109
+ "format": "esm"
110
+ },
111
+ "src/official/registration.ts": {
112
+ "bytes": 7959,
113
+ "imports": [
114
+ {
115
+ "path": "src/errors.ts",
116
+ "kind": "import-statement",
117
+ "original": "../errors"
118
+ },
119
+ {
120
+ "path": "src/official/metadata.ts",
121
+ "kind": "import-statement",
122
+ "original": "./metadata"
123
+ },
124
+ {
125
+ "path": "src/official/vector-metadata.ts",
126
+ "kind": "import-statement",
127
+ "original": "./vector-metadata"
128
+ },
129
+ {
130
+ "path": "src/sqlite/statement-lifecycle.ts",
131
+ "kind": "import-statement",
132
+ "original": "../sqlite/statement-lifecycle"
133
+ },
134
+ {
135
+ "path": "src/official/lifecycle-adapter.ts",
136
+ "kind": "import-statement",
137
+ "original": "./lifecycle-adapter"
138
+ },
139
+ {
140
+ "path": "src/official/functions.ts",
141
+ "kind": "import-statement",
142
+ "original": "./functions"
143
+ }
144
+ ],
145
+ "format": "esm"
146
+ },
147
+ "src/official/initialize.ts": {
148
+ "bytes": 3302,
149
+ "imports": [
150
+ {
151
+ "path": "../errors",
152
+ "kind": "import-statement",
153
+ "external": true
154
+ },
155
+ {
156
+ "path": "src/official/options.ts",
157
+ "kind": "import-statement",
158
+ "original": "./options"
159
+ },
160
+ {
161
+ "path": "src/official/registration.ts",
162
+ "kind": "import-statement",
163
+ "original": "./registration"
164
+ }
165
+ ],
166
+ "format": "esm"
167
+ },
168
+ "src/bridge/protocol.ts": {
169
+ "bytes": 7788,
170
+ "imports": [
171
+ {
172
+ "path": "src/errors.ts",
173
+ "kind": "import-statement",
174
+ "original": "../errors"
175
+ }
176
+ ],
177
+ "format": "esm"
178
+ },
179
+ "src/workers/db.ts": {
180
+ "bytes": 3588,
181
+ "imports": [
182
+ {
183
+ "path": "src/errors.ts",
184
+ "kind": "import-statement",
185
+ "original": "../errors"
186
+ },
187
+ {
188
+ "path": "src/bridge/protocol.ts",
189
+ "kind": "import-statement",
190
+ "original": "../bridge/protocol"
191
+ }
192
+ ],
193
+ "format": "esm"
194
+ },
195
+ "src/runtime-assets/model-contract.ts": {
196
+ "bytes": 4699,
197
+ "imports": [
198
+ {
199
+ "path": "src/errors.ts",
200
+ "kind": "import-statement",
201
+ "original": "../errors"
202
+ }
203
+ ],
204
+ "format": "esm"
205
+ },
206
+ "src/official/node-inference.ts": {
207
+ "bytes": 4234,
208
+ "imports": [
209
+ {
210
+ "path": "node:worker_threads",
211
+ "kind": "import-statement",
212
+ "external": true
213
+ },
214
+ {
215
+ "path": "node:path",
216
+ "kind": "import-statement",
217
+ "external": true
218
+ },
219
+ {
220
+ "path": "node:url",
221
+ "kind": "import-statement",
222
+ "external": true
223
+ },
224
+ {
225
+ "path": "node:fs/promises",
226
+ "kind": "import-statement",
227
+ "external": true
228
+ },
229
+ {
230
+ "path": "src/errors.ts",
231
+ "kind": "import-statement",
232
+ "original": "../errors"
233
+ },
234
+ {
235
+ "path": "src/workers/db.ts",
236
+ "kind": "import-statement",
237
+ "original": "../workers/db"
238
+ },
239
+ {
240
+ "path": "src/runtime-assets/model-contract.ts",
241
+ "kind": "import-statement",
242
+ "original": "../runtime-assets/model-contract"
243
+ }
244
+ ],
245
+ "format": "esm"
246
+ },
247
+ "src/official/node-files.ts": {
248
+ "bytes": 8950,
249
+ "imports": [
250
+ {
251
+ "path": "node:fs",
252
+ "kind": "import-statement",
253
+ "external": true
254
+ },
255
+ {
256
+ "path": "node:path",
257
+ "kind": "import-statement",
258
+ "external": true
259
+ },
260
+ {
261
+ "path": "node:os",
262
+ "kind": "import-statement",
263
+ "external": true
264
+ },
265
+ {
266
+ "path": "src/errors.ts",
267
+ "kind": "import-statement",
268
+ "original": "../errors"
269
+ }
270
+ ],
271
+ "format": "esm"
272
+ },
273
+ "src/official/node-file-ownership.ts": {
274
+ "bytes": 4424,
275
+ "imports": [
276
+ {
277
+ "path": "node:crypto",
278
+ "kind": "import-statement",
279
+ "external": true
280
+ },
281
+ {
282
+ "path": "node:os",
283
+ "kind": "import-statement",
284
+ "external": true
285
+ },
286
+ {
287
+ "path": "node:path",
288
+ "kind": "import-statement",
289
+ "external": true
290
+ },
291
+ {
292
+ "path": "node:worker_threads",
293
+ "kind": "import-statement",
294
+ "external": true
295
+ },
296
+ {
297
+ "path": "src/errors.ts",
298
+ "kind": "import-statement",
299
+ "original": "../errors"
300
+ }
301
+ ],
302
+ "format": "esm"
303
+ },
304
+ "src/official/node-vfs.ts": {
305
+ "bytes": 9655,
306
+ "imports": [
307
+ {
308
+ "path": "node:fs",
309
+ "kind": "import-statement",
310
+ "external": true
311
+ },
312
+ {
313
+ "path": "node:path",
314
+ "kind": "import-statement",
315
+ "external": true
316
+ },
317
+ {
318
+ "path": "node:crypto",
319
+ "kind": "import-statement",
320
+ "external": true
321
+ },
322
+ {
323
+ "path": "src/errors.ts",
324
+ "kind": "import-statement",
325
+ "original": "../errors"
326
+ },
327
+ {
328
+ "path": "src/official/node-files.ts",
329
+ "kind": "import-statement",
330
+ "original": "./node-files"
331
+ },
332
+ {
333
+ "path": "src/official/node-file-ownership.ts",
334
+ "kind": "import-statement",
335
+ "original": "./node-file-ownership"
336
+ }
337
+ ],
338
+ "format": "esm"
339
+ },
340
+ "src/official/node.ts": {
341
+ "bytes": 3413,
342
+ "imports": [
343
+ {
344
+ "path": "node:fs",
345
+ "kind": "import-statement",
346
+ "external": true
347
+ },
348
+ {
349
+ "path": "node:path",
350
+ "kind": "import-statement",
351
+ "external": true
352
+ },
353
+ {
354
+ "path": "node:url",
355
+ "kind": "import-statement",
356
+ "external": true
357
+ },
358
+ {
359
+ "path": "src/official/initialize.ts",
360
+ "kind": "import-statement",
361
+ "original": "./initialize"
362
+ },
363
+ {
364
+ "path": "src/official/node-inference.ts",
365
+ "kind": "import-statement",
366
+ "original": "./node-inference"
367
+ },
368
+ {
369
+ "path": "src/official/node-vfs.ts",
370
+ "kind": "import-statement",
371
+ "original": "./node-vfs"
372
+ }
373
+ ],
374
+ "format": "esm"
375
+ },
376
+ "src/official/types.ts": {
377
+ "bytes": 4478,
378
+ "imports": [],
379
+ "format": "esm"
380
+ },
381
+ "src/index.ts": {
382
+ "bytes": 143,
383
+ "imports": [
384
+ {
385
+ "path": "src/official/node.ts",
386
+ "kind": "import-statement",
387
+ "original": "./official/node"
388
+ },
389
+ {
390
+ "path": "src/official/types.ts",
391
+ "kind": "import-statement",
392
+ "original": "./official/types"
393
+ }
394
+ ],
395
+ "format": "esm"
396
+ },
397
+ "src/runtime-assets/browser-model.ts": {
398
+ "bytes": 3689,
399
+ "imports": [
400
+ {
401
+ "path": "src/errors.ts",
402
+ "kind": "import-statement",
403
+ "original": "../errors"
404
+ },
405
+ {
406
+ "path": "./model-contract",
407
+ "kind": "import-statement",
408
+ "external": true
409
+ }
410
+ ],
411
+ "format": "esm"
412
+ },
413
+ "src/official/browser-inference.ts": {
414
+ "bytes": 2294,
415
+ "imports": [
416
+ {
417
+ "path": "src/errors.ts",
418
+ "kind": "import-statement",
419
+ "original": "../errors"
420
+ },
421
+ {
422
+ "path": "src/runtime-assets/browser-model.ts",
423
+ "kind": "import-statement",
424
+ "original": "../runtime-assets/browser-model"
425
+ },
426
+ {
427
+ "path": "src/runtime-assets/model-contract.ts",
428
+ "kind": "import-statement",
429
+ "original": "../runtime-assets/model-contract"
430
+ }
431
+ ],
432
+ "format": "esm"
433
+ },
434
+ "downloads/sqlite-official/sqlite3-bundler-friendly.mjs": {
435
+ "bytes": 828369,
436
+ "imports": [],
437
+ "format": "esm"
438
+ },
439
+ "downloads/sqlite-official/sqlite3-worker1-promiser.mjs": {
440
+ "bytes": 12675,
441
+ "imports": [],
442
+ "format": "esm"
443
+ },
444
+ "src/official/browser.ts": {
445
+ "bytes": 1882,
446
+ "imports": [
447
+ {
448
+ "path": "src/official/initialize.ts",
449
+ "kind": "import-statement",
450
+ "original": "./initialize"
451
+ },
452
+ {
453
+ "path": "src/official/browser-inference.ts",
454
+ "kind": "import-statement",
455
+ "original": "./browser-inference"
456
+ },
457
+ {
458
+ "path": "downloads/sqlite-official/sqlite3-bundler-friendly.mjs",
459
+ "kind": "dynamic-import",
460
+ "original": "../../downloads/sqlite-official/sqlite3-bundler-friendly.mjs"
461
+ },
462
+ {
463
+ "path": "downloads/sqlite-official/sqlite3-worker1-promiser.mjs",
464
+ "kind": "dynamic-import",
465
+ "original": "../../downloads/sqlite-official/sqlite3-worker1-promiser.mjs"
466
+ }
467
+ ],
468
+ "format": "esm"
469
+ },
470
+ "src/index-browser.ts": {
471
+ "bytes": 230,
472
+ "imports": [
473
+ {
474
+ "path": "src/official/browser.ts",
475
+ "kind": "import-statement",
476
+ "original": "./official/browser"
477
+ },
478
+ {
479
+ "path": "src/official/types.ts",
480
+ "kind": "import-statement",
481
+ "original": "./official/types"
482
+ }
483
+ ],
484
+ "format": "esm"
485
+ },
486
+ "src/inference/backends/directml.ts": {
487
+ "bytes": 5185,
488
+ "imports": [
489
+ {
490
+ "path": "node:path",
491
+ "kind": "import-statement",
492
+ "external": true
493
+ },
494
+ {
495
+ "path": "node:fs",
496
+ "kind": "import-statement",
497
+ "external": true
498
+ },
499
+ {
500
+ "path": "node:crypto",
501
+ "kind": "import-statement",
502
+ "external": true
503
+ },
504
+ {
505
+ "path": "src/errors.ts",
506
+ "kind": "import-statement",
507
+ "original": "../../errors"
508
+ },
509
+ {
510
+ "path": "onnxruntime-node/package.json",
511
+ "kind": "require-resolve",
512
+ "external": true
513
+ },
514
+ {
515
+ "path": "onnxruntime-node",
516
+ "kind": "require-call",
517
+ "external": true
518
+ }
519
+ ],
520
+ "format": "esm"
521
+ },
522
+ "src/inference/profile.ts": {
523
+ "bytes": 5774,
524
+ "imports": [
525
+ {
526
+ "path": "src/errors.ts",
527
+ "kind": "import-statement",
528
+ "original": "../errors"
529
+ }
530
+ ],
531
+ "format": "esm"
532
+ },
533
+ "src/inference/engine.ts": {
534
+ "bytes": 8245,
535
+ "imports": [
536
+ {
537
+ "path": "src/errors.ts",
538
+ "kind": "import-statement",
539
+ "original": "../errors"
540
+ },
541
+ {
542
+ "path": "src/inference/profile.ts",
543
+ "kind": "import-statement",
544
+ "original": "./profile"
545
+ }
546
+ ],
547
+ "format": "esm"
548
+ },
549
+ "src/inference/initialize.ts": {
550
+ "bytes": 4628,
551
+ "imports": [
552
+ {
553
+ "path": "src/errors.ts",
554
+ "kind": "import-statement",
555
+ "original": "../errors"
556
+ },
557
+ {
558
+ "path": "src/runtime-assets/model-contract.ts",
559
+ "kind": "import-statement",
560
+ "original": "../runtime-assets/model-contract"
561
+ },
562
+ {
563
+ "path": "src/inference/engine.ts",
564
+ "kind": "import-statement",
565
+ "original": "./engine"
566
+ },
567
+ {
568
+ "path": "./image-codecs",
569
+ "kind": "import-statement",
570
+ "external": true
571
+ }
572
+ ],
573
+ "format": "esm"
574
+ },
575
+ "src/runtime-assets/persistent-model-cache.ts": {
576
+ "bytes": 11783,
577
+ "imports": [
578
+ {
579
+ "path": "src/errors.ts",
580
+ "kind": "import-statement",
581
+ "original": "../errors"
582
+ },
583
+ {
584
+ "path": "src/runtime-assets/model-contract.ts",
585
+ "kind": "import-statement",
586
+ "original": "./model-contract"
587
+ }
588
+ ],
589
+ "format": "esm"
590
+ },
591
+ "src/runtime-assets/node-persistent-cache-storage.ts": {
592
+ "bytes": 11643,
593
+ "imports": [
594
+ {
595
+ "path": "node:fs",
596
+ "kind": "import-statement",
597
+ "external": true
598
+ },
599
+ {
600
+ "path": "node:fs/promises",
601
+ "kind": "import-statement",
602
+ "external": true
603
+ },
604
+ {
605
+ "path": "node:path",
606
+ "kind": "import-statement",
607
+ "external": true
608
+ },
609
+ {
610
+ "path": "node:crypto",
611
+ "kind": "import-statement",
612
+ "external": true
613
+ },
614
+ {
615
+ "path": "src/errors.ts",
616
+ "kind": "import-statement",
617
+ "original": "../errors"
618
+ },
619
+ {
620
+ "path": "./persistent-model-cache",
621
+ "kind": "import-statement",
622
+ "external": true
623
+ }
624
+ ],
625
+ "format": "esm"
626
+ },
627
+ "src/runtime-assets/verified-cache.ts": {
628
+ "bytes": 5912,
629
+ "imports": [
630
+ {
631
+ "path": "src/errors.ts",
632
+ "kind": "import-statement",
633
+ "original": "../errors"
634
+ },
635
+ {
636
+ "path": "src/runtime-assets/model-contract.ts",
637
+ "kind": "import-statement",
638
+ "original": "./model-contract"
639
+ }
640
+ ],
641
+ "format": "esm"
642
+ },
643
+ "src/sqlite/node-model-cache.ts": {
644
+ "bytes": 4637,
645
+ "imports": [
646
+ {
647
+ "path": "node:path",
648
+ "kind": "import-statement",
649
+ "external": true
650
+ },
651
+ {
652
+ "path": "node:os",
653
+ "kind": "import-statement",
654
+ "external": true
655
+ },
656
+ {
657
+ "path": "src/errors.ts",
658
+ "kind": "import-statement",
659
+ "original": "../errors"
660
+ },
661
+ {
662
+ "path": "src/runtime-assets/model-contract.ts",
663
+ "kind": "import-statement",
664
+ "original": "../runtime-assets/model-contract"
665
+ },
666
+ {
667
+ "path": "src/runtime-assets/persistent-model-cache.ts",
668
+ "kind": "import-statement",
669
+ "original": "../runtime-assets/persistent-model-cache"
670
+ },
671
+ {
672
+ "path": "src/runtime-assets/node-persistent-cache-storage.ts",
673
+ "kind": "import-statement",
674
+ "original": "../runtime-assets/node-persistent-cache-storage"
675
+ },
676
+ {
677
+ "path": "src/runtime-assets/verified-cache.ts",
678
+ "kind": "import-statement",
679
+ "original": "../runtime-assets/verified-cache"
680
+ }
681
+ ],
682
+ "format": "esm"
683
+ },
684
+ "node_modules/@protobufjs/aspromise/index.js": {
685
+ "bytes": 1592,
686
+ "imports": [],
687
+ "format": "cjs"
688
+ },
689
+ "node_modules/@protobufjs/base64/index.js": {
690
+ "bytes": 3943,
691
+ "imports": [],
692
+ "format": "cjs"
693
+ },
694
+ "node_modules/@protobufjs/eventemitter/index.js": {
695
+ "bytes": 2348,
696
+ "imports": [],
697
+ "format": "cjs"
698
+ },
699
+ "node_modules/@protobufjs/float/index.js": {
700
+ "bytes": 11448,
701
+ "imports": [],
702
+ "format": "cjs"
703
+ },
704
+ "node_modules/@protobufjs/inquire/index.js": {
705
+ "bytes": 1121,
706
+ "imports": [],
707
+ "format": "cjs"
708
+ },
709
+ "node_modules/@protobufjs/utf8/index.js": {
710
+ "bytes": 3929,
711
+ "imports": [],
712
+ "format": "cjs"
713
+ },
714
+ "node_modules/@protobufjs/pool/index.js": {
715
+ "bytes": 1240,
716
+ "imports": [],
717
+ "format": "cjs"
718
+ },
719
+ "node_modules/onnx-proto/node_modules/protobufjs/src/util/longbits.js": {
720
+ "bytes": 5393,
721
+ "imports": [
722
+ {
723
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/util/minimal.js",
724
+ "kind": "require-call",
725
+ "original": "../util/minimal"
726
+ }
727
+ ],
728
+ "format": "cjs"
729
+ },
730
+ "node_modules/onnx-proto/node_modules/protobufjs/src/util/minimal.js": {
731
+ "bytes": 12695,
732
+ "imports": [
733
+ {
734
+ "path": "node_modules/@protobufjs/aspromise/index.js",
735
+ "kind": "require-call",
736
+ "original": "@protobufjs/aspromise"
737
+ },
738
+ {
739
+ "path": "node_modules/@protobufjs/base64/index.js",
740
+ "kind": "require-call",
741
+ "original": "@protobufjs/base64"
742
+ },
743
+ {
744
+ "path": "node_modules/@protobufjs/eventemitter/index.js",
745
+ "kind": "require-call",
746
+ "original": "@protobufjs/eventemitter"
747
+ },
748
+ {
749
+ "path": "node_modules/@protobufjs/float/index.js",
750
+ "kind": "require-call",
751
+ "original": "@protobufjs/float"
752
+ },
753
+ {
754
+ "path": "node_modules/@protobufjs/inquire/index.js",
755
+ "kind": "require-call",
756
+ "original": "@protobufjs/inquire"
757
+ },
758
+ {
759
+ "path": "node_modules/@protobufjs/utf8/index.js",
760
+ "kind": "require-call",
761
+ "original": "@protobufjs/utf8"
762
+ },
763
+ {
764
+ "path": "node_modules/@protobufjs/pool/index.js",
765
+ "kind": "require-call",
766
+ "original": "@protobufjs/pool"
767
+ },
768
+ {
769
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/util/longbits.js",
770
+ "kind": "require-call",
771
+ "original": "./longbits"
772
+ }
773
+ ],
774
+ "format": "cjs"
775
+ },
776
+ "node_modules/onnx-proto/node_modules/protobufjs/src/writer.js": {
777
+ "bytes": 12072,
778
+ "imports": [
779
+ {
780
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/util/minimal.js",
781
+ "kind": "require-call",
782
+ "original": "./util/minimal"
783
+ }
784
+ ],
785
+ "format": "cjs"
786
+ },
787
+ "node_modules/onnx-proto/node_modules/protobufjs/src/writer_buffer.js": {
788
+ "bytes": 2356,
789
+ "imports": [
790
+ {
791
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/writer.js",
792
+ "kind": "require-call",
793
+ "original": "./writer"
794
+ },
795
+ {
796
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/util/minimal.js",
797
+ "kind": "require-call",
798
+ "original": "./util/minimal"
799
+ }
800
+ ],
801
+ "format": "cjs"
802
+ },
803
+ "node_modules/onnx-proto/node_modules/protobufjs/src/reader.js": {
804
+ "bytes": 11263,
805
+ "imports": [
806
+ {
807
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/util/minimal.js",
808
+ "kind": "require-call",
809
+ "original": "./util/minimal"
810
+ }
811
+ ],
812
+ "format": "cjs"
813
+ },
814
+ "node_modules/onnx-proto/node_modules/protobufjs/src/reader_buffer.js": {
815
+ "bytes": 1252,
816
+ "imports": [
817
+ {
818
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/reader.js",
819
+ "kind": "require-call",
820
+ "original": "./reader"
821
+ },
822
+ {
823
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/util/minimal.js",
824
+ "kind": "require-call",
825
+ "original": "./util/minimal"
826
+ }
827
+ ],
828
+ "format": "cjs"
829
+ },
830
+ "node_modules/onnx-proto/node_modules/protobufjs/src/rpc/service.js": {
831
+ "bytes": 4763,
832
+ "imports": [
833
+ {
834
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/util/minimal.js",
835
+ "kind": "require-call",
836
+ "original": "../util/minimal"
837
+ }
838
+ ],
839
+ "format": "cjs"
840
+ },
841
+ "node_modules/onnx-proto/node_modules/protobufjs/src/rpc.js": {
842
+ "bytes": 1204,
843
+ "imports": [
844
+ {
845
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/rpc/service.js",
846
+ "kind": "require-call",
847
+ "original": "./rpc/service"
848
+ }
849
+ ],
850
+ "format": "cjs"
851
+ },
852
+ "node_modules/onnx-proto/node_modules/protobufjs/src/roots.js": {
853
+ "bytes": 455,
854
+ "imports": [],
855
+ "format": "cjs"
856
+ },
857
+ "node_modules/onnx-proto/node_modules/protobufjs/src/index-minimal.js": {
858
+ "bytes": 925,
859
+ "imports": [
860
+ {
861
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/writer.js",
862
+ "kind": "require-call",
863
+ "original": "./writer"
864
+ },
865
+ {
866
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/writer_buffer.js",
867
+ "kind": "require-call",
868
+ "original": "./writer_buffer"
869
+ },
870
+ {
871
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/reader.js",
872
+ "kind": "require-call",
873
+ "original": "./reader"
874
+ },
875
+ {
876
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/reader_buffer.js",
877
+ "kind": "require-call",
878
+ "original": "./reader_buffer"
879
+ },
880
+ {
881
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/util/minimal.js",
882
+ "kind": "require-call",
883
+ "original": "./util/minimal"
884
+ },
885
+ {
886
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/rpc.js",
887
+ "kind": "require-call",
888
+ "original": "./rpc"
889
+ },
890
+ {
891
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/roots.js",
892
+ "kind": "require-call",
893
+ "original": "./roots"
894
+ }
895
+ ],
896
+ "format": "cjs"
897
+ },
898
+ "node_modules/onnx-proto/node_modules/protobufjs/minimal.js": {
899
+ "bytes": 96,
900
+ "imports": [
901
+ {
902
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/src/index-minimal.js",
903
+ "kind": "require-call",
904
+ "original": "./src/index-minimal"
905
+ }
906
+ ],
907
+ "format": "cjs"
908
+ },
909
+ "node_modules/onnx-proto/dist/onnx.js": {
910
+ "bytes": 331534,
911
+ "imports": [
912
+ {
913
+ "path": "node_modules/onnx-proto/node_modules/protobufjs/minimal.js",
914
+ "kind": "require-call",
915
+ "original": "protobufjs/minimal"
916
+ }
917
+ ],
918
+ "format": "cjs"
919
+ },
920
+ "src/inference/backends/directml-vision-graph.ts": {
921
+ "bytes": 5625,
922
+ "imports": [
923
+ {
924
+ "path": "node:crypto",
925
+ "kind": "import-statement",
926
+ "external": true
927
+ },
928
+ {
929
+ "path": "src/errors.ts",
930
+ "kind": "import-statement",
931
+ "original": "../../errors"
932
+ },
933
+ {
934
+ "path": "../../runtime-assets/verified-cache",
935
+ "kind": "import-statement",
936
+ "external": true
937
+ },
938
+ {
939
+ "path": "node_modules/onnx-proto/dist/onnx.js",
940
+ "kind": "require-call",
941
+ "original": "onnx-proto"
942
+ }
943
+ ],
944
+ "format": "esm"
945
+ },
946
+ "src/workers/inference.ts": {
947
+ "bytes": 3116,
948
+ "imports": [
949
+ {
950
+ "path": "../errors",
951
+ "kind": "import-statement",
952
+ "external": true
953
+ },
954
+ {
955
+ "path": "src/bridge/protocol.ts",
956
+ "kind": "import-statement",
957
+ "original": "../bridge/protocol"
958
+ },
959
+ {
960
+ "path": "../inference/engine",
961
+ "kind": "import-statement",
962
+ "external": true
963
+ }
964
+ ],
965
+ "format": "esm"
966
+ },
967
+ "src/workers/inference-node.ts": {
968
+ "bytes": 10163,
969
+ "imports": [
970
+ {
971
+ "path": "node:worker_threads",
972
+ "kind": "import-statement",
973
+ "external": true
974
+ },
975
+ {
976
+ "path": "node:path",
977
+ "kind": "import-statement",
978
+ "external": true
979
+ },
980
+ {
981
+ "path": "node:path",
982
+ "kind": "import-statement",
983
+ "external": true
984
+ },
985
+ {
986
+ "path": "node:fs",
987
+ "kind": "import-statement",
988
+ "external": true
989
+ },
990
+ {
991
+ "path": "node:crypto",
992
+ "kind": "import-statement",
993
+ "external": true
994
+ },
995
+ {
996
+ "path": "node:os",
997
+ "kind": "import-statement",
998
+ "external": true
999
+ },
1000
+ {
1001
+ "path": "node:url",
1002
+ "kind": "import-statement",
1003
+ "external": true
1004
+ },
1005
+ {
1006
+ "path": "src/inference/backends/directml.ts",
1007
+ "kind": "import-statement",
1008
+ "original": "../inference/backends/directml"
1009
+ },
1010
+ {
1011
+ "path": "src/inference/initialize.ts",
1012
+ "kind": "import-statement",
1013
+ "original": "../inference/initialize"
1014
+ },
1015
+ {
1016
+ "path": "src/sqlite/node-model-cache.ts",
1017
+ "kind": "import-statement",
1018
+ "original": "../sqlite/node-model-cache"
1019
+ },
1020
+ {
1021
+ "path": "src/inference/backends/directml-vision-graph.ts",
1022
+ "kind": "import-statement",
1023
+ "original": "../inference/backends/directml-vision-graph"
1024
+ },
1025
+ {
1026
+ "path": "src/workers/inference.ts",
1027
+ "kind": "import-statement",
1028
+ "original": "./inference"
1029
+ },
1030
+ {
1031
+ "path": "src/bridge/inference-health.ts",
1032
+ "kind": "import-statement",
1033
+ "original": "../bridge/inference-health"
1034
+ },
1035
+ {
1036
+ "path": "onnxruntime-node",
1037
+ "kind": "import-statement",
1038
+ "external": true
1039
+ }
1040
+ ],
1041
+ "format": "esm"
1042
+ },
1043
+ "src/workers/inference-browser-controller.ts": {
1044
+ "bytes": 7107,
1045
+ "imports": [
1046
+ {
1047
+ "path": "../errors",
1048
+ "kind": "import-statement",
1049
+ "external": true
1050
+ },
1051
+ {
1052
+ "path": "src/bridge/inference-health.ts",
1053
+ "kind": "import-statement",
1054
+ "original": "../bridge/inference-health"
1055
+ },
1056
+ {
1057
+ "path": "src/workers/inference.ts",
1058
+ "kind": "import-statement",
1059
+ "original": "./inference"
1060
+ },
1061
+ {
1062
+ "path": "../bridge/protocol",
1063
+ "kind": "import-statement",
1064
+ "external": true
1065
+ }
1066
+ ],
1067
+ "format": "esm"
1068
+ },
1069
+ "src/inference/browser-initialize.ts": {
1070
+ "bytes": 6220,
1071
+ "imports": [
1072
+ {
1073
+ "path": "src/errors.ts",
1074
+ "kind": "import-statement",
1075
+ "original": "../errors"
1076
+ },
1077
+ {
1078
+ "path": "../runtime-assets/model-contract",
1079
+ "kind": "import-statement",
1080
+ "external": true
1081
+ },
1082
+ {
1083
+ "path": "src/runtime-assets/verified-cache.ts",
1084
+ "kind": "import-statement",
1085
+ "original": "../runtime-assets/verified-cache"
1086
+ },
1087
+ {
1088
+ "path": "src/runtime-assets/browser-model.ts",
1089
+ "kind": "import-statement",
1090
+ "original": "../runtime-assets/browser-model"
1091
+ },
1092
+ {
1093
+ "path": "./image-codecs",
1094
+ "kind": "import-statement",
1095
+ "external": true
1096
+ },
1097
+ {
1098
+ "path": "./engine",
1099
+ "kind": "import-statement",
1100
+ "external": true
1101
+ }
1102
+ ],
1103
+ "format": "esm"
1104
+ },
1105
+ "src/runtime-assets/browser-opfs-cache-storage.ts": {
1106
+ "bytes": 13100,
1107
+ "imports": [
1108
+ {
1109
+ "path": "src/errors.ts",
1110
+ "kind": "import-statement",
1111
+ "original": "../errors"
1112
+ },
1113
+ {
1114
+ "path": "./persistent-model-cache",
1115
+ "kind": "import-statement",
1116
+ "external": true
1117
+ }
1118
+ ],
1119
+ "format": "esm"
1120
+ },
1121
+ "src/workers/inference-browser.ts": {
1122
+ "bytes": 3861,
1123
+ "imports": [
1124
+ {
1125
+ "path": "src/workers/inference-browser-controller.ts",
1126
+ "kind": "import-statement",
1127
+ "original": "./inference-browser-controller"
1128
+ },
1129
+ {
1130
+ "path": "src/inference/browser-initialize.ts",
1131
+ "kind": "import-statement",
1132
+ "original": "../inference/browser-initialize"
1133
+ },
1134
+ {
1135
+ "path": "src/inference/initialize.ts",
1136
+ "kind": "import-statement",
1137
+ "original": "../inference/initialize"
1138
+ },
1139
+ {
1140
+ "path": "src/runtime-assets/browser-opfs-cache-storage.ts",
1141
+ "kind": "import-statement",
1142
+ "original": "../runtime-assets/browser-opfs-cache-storage"
1143
+ },
1144
+ {
1145
+ "path": "src/runtime-assets/persistent-model-cache.ts",
1146
+ "kind": "import-statement",
1147
+ "original": "../runtime-assets/persistent-model-cache"
1148
+ },
1149
+ {
1150
+ "path": "src/runtime-assets/browser-model.ts",
1151
+ "kind": "import-statement",
1152
+ "original": "../runtime-assets/browser-model"
1153
+ }
1154
+ ],
1155
+ "format": "esm"
1156
+ },
1157
+ "samples/official-scenario.ts": {
1158
+ "bytes": 4182,
1159
+ "imports": [],
1160
+ "format": "esm"
1161
+ },
1162
+ "samples/node/index.ts": {
1163
+ "bytes": 4451,
1164
+ "imports": [
1165
+ {
1166
+ "path": "node:fs",
1167
+ "kind": "import-statement",
1168
+ "external": true
1169
+ },
1170
+ {
1171
+ "path": "node:path",
1172
+ "kind": "import-statement",
1173
+ "external": true
1174
+ },
1175
+ {
1176
+ "path": "src/index.ts",
1177
+ "kind": "import-statement",
1178
+ "original": "../../src/index"
1179
+ },
1180
+ {
1181
+ "path": "samples/official-scenario.ts",
1182
+ "kind": "import-statement",
1183
+ "original": "../official-scenario"
1184
+ }
1185
+ ],
1186
+ "format": "cjs"
1187
+ },
1188
+ "samples/browser/index.ts": {
1189
+ "bytes": 2788,
1190
+ "imports": [],
1191
+ "format": "esm"
1192
+ },
1193
+ "samples/browser/owner.ts": {
1194
+ "bytes": 1677,
1195
+ "imports": [
1196
+ {
1197
+ "path": "src/index-browser.ts",
1198
+ "kind": "import-statement",
1199
+ "original": "../../src/index-browser"
1200
+ }
1201
+ ],
1202
+ "format": "esm"
1203
+ },
1204
+ "samples/browser/server.ts": {
1205
+ "bytes": 1700,
1206
+ "imports": [
1207
+ {
1208
+ "path": "node:http",
1209
+ "kind": "import-statement",
1210
+ "external": true
1211
+ },
1212
+ {
1213
+ "path": "node:fs",
1214
+ "kind": "import-statement",
1215
+ "external": true
1216
+ },
1217
+ {
1218
+ "path": "node:path",
1219
+ "kind": "import-statement",
1220
+ "external": true
1221
+ }
1222
+ ],
1223
+ "format": "esm"
1224
+ }
1225
+ },
1226
+ "outputs": {
1227
+ "dist/index.bundle.js": {
1228
+ "imports": [
1229
+ {
1230
+ "path": "node:fs",
1231
+ "kind": "require-call",
1232
+ "external": true
1233
+ },
1234
+ {
1235
+ "path": "node:path",
1236
+ "kind": "require-call",
1237
+ "external": true
1238
+ },
1239
+ {
1240
+ "path": "node:url",
1241
+ "kind": "require-call",
1242
+ "external": true
1243
+ },
1244
+ {
1245
+ "path": "node:worker_threads",
1246
+ "kind": "require-call",
1247
+ "external": true
1248
+ },
1249
+ {
1250
+ "path": "node:path",
1251
+ "kind": "require-call",
1252
+ "external": true
1253
+ },
1254
+ {
1255
+ "path": "node:fs/promises",
1256
+ "kind": "require-call",
1257
+ "external": true
1258
+ },
1259
+ {
1260
+ "path": "node:crypto",
1261
+ "kind": "require-call",
1262
+ "external": true
1263
+ },
1264
+ {
1265
+ "path": "node:fs",
1266
+ "kind": "require-call",
1267
+ "external": true
1268
+ },
1269
+ {
1270
+ "path": "node:path",
1271
+ "kind": "require-call",
1272
+ "external": true
1273
+ },
1274
+ {
1275
+ "path": "node:os",
1276
+ "kind": "require-call",
1277
+ "external": true
1278
+ },
1279
+ {
1280
+ "path": "node:crypto",
1281
+ "kind": "require-call",
1282
+ "external": true
1283
+ },
1284
+ {
1285
+ "path": "node:os",
1286
+ "kind": "require-call",
1287
+ "external": true
1288
+ },
1289
+ {
1290
+ "path": "node:path",
1291
+ "kind": "require-call",
1292
+ "external": true
1293
+ },
1294
+ {
1295
+ "path": "node:worker_threads",
1296
+ "kind": "require-call",
1297
+ "external": true
1298
+ }
1299
+ ],
1300
+ "exports": [],
1301
+ "entryPoint": "src/index.ts",
1302
+ "inputs": {
1303
+ "src/index.ts": {
1304
+ "bytesInOutput": 163
1305
+ },
1306
+ "src/official/node.ts": {
1307
+ "bytesInOutput": 2121
1308
+ },
1309
+ "src/errors.ts": {
1310
+ "bytesInOutput": 570
1311
+ },
1312
+ "src/official/options.ts": {
1313
+ "bytesInOutput": 1880
1314
+ },
1315
+ "src/official/metadata.ts": {
1316
+ "bytesInOutput": 4841
1317
+ },
1318
+ "src/official/vector-metadata.ts": {
1319
+ "bytesInOutput": 1267
1320
+ },
1321
+ "src/bridge/inference-health.ts": {
1322
+ "bytesInOutput": 222
1323
+ },
1324
+ "src/inference/statement-embedding-cache.ts": {
1325
+ "bytesInOutput": 5932
1326
+ },
1327
+ "src/sqlite/statement-lifecycle.ts": {
1328
+ "bytesInOutput": 8703
1329
+ },
1330
+ "src/official/lifecycle-adapter.ts": {
1331
+ "bytesInOutput": 8950
1332
+ },
1333
+ "src/official/functions.ts": {
1334
+ "bytesInOutput": 765
1335
+ },
1336
+ "src/official/registration.ts": {
1337
+ "bytesInOutput": 5106
1338
+ },
1339
+ "src/official/initialize.ts": {
1340
+ "bytesInOutput": 1424
1341
+ },
1342
+ "src/official/node-inference.ts": {
1343
+ "bytesInOutput": 3190
1344
+ },
1345
+ "src/bridge/protocol.ts": {
1346
+ "bytesInOutput": 3404
1347
+ },
1348
+ "src/workers/db.ts": {
1349
+ "bytesInOutput": 2016
1350
+ },
1351
+ "src/runtime-assets/model-contract.ts": {
1352
+ "bytesInOutput": 1249
1353
+ },
1354
+ "src/official/node-vfs.ts": {
1355
+ "bytesInOutput": 7850
1356
+ },
1357
+ "src/official/node-files.ts": {
1358
+ "bytesInOutput": 7888
1359
+ },
1360
+ "src/official/node-file-ownership.ts": {
1361
+ "bytesInOutput": 3464
1362
+ }
1363
+ },
1364
+ "bytes": 73277
1365
+ },
1366
+ "dist/node/index.js": {
1367
+ "imports": [
1368
+ {
1369
+ "path": "node:fs",
1370
+ "kind": "require-call",
1371
+ "external": true
1372
+ },
1373
+ {
1374
+ "path": "node:path",
1375
+ "kind": "require-call",
1376
+ "external": true
1377
+ },
1378
+ {
1379
+ "path": "node:url",
1380
+ "kind": "require-call",
1381
+ "external": true
1382
+ },
1383
+ {
1384
+ "path": "node:worker_threads",
1385
+ "kind": "require-call",
1386
+ "external": true
1387
+ },
1388
+ {
1389
+ "path": "node:path",
1390
+ "kind": "require-call",
1391
+ "external": true
1392
+ },
1393
+ {
1394
+ "path": "node:fs/promises",
1395
+ "kind": "require-call",
1396
+ "external": true
1397
+ },
1398
+ {
1399
+ "path": "node:crypto",
1400
+ "kind": "require-call",
1401
+ "external": true
1402
+ },
1403
+ {
1404
+ "path": "node:fs",
1405
+ "kind": "require-call",
1406
+ "external": true
1407
+ },
1408
+ {
1409
+ "path": "node:path",
1410
+ "kind": "require-call",
1411
+ "external": true
1412
+ },
1413
+ {
1414
+ "path": "node:os",
1415
+ "kind": "require-call",
1416
+ "external": true
1417
+ },
1418
+ {
1419
+ "path": "node:crypto",
1420
+ "kind": "require-call",
1421
+ "external": true
1422
+ },
1423
+ {
1424
+ "path": "node:os",
1425
+ "kind": "require-call",
1426
+ "external": true
1427
+ },
1428
+ {
1429
+ "path": "node:path",
1430
+ "kind": "require-call",
1431
+ "external": true
1432
+ },
1433
+ {
1434
+ "path": "node:worker_threads",
1435
+ "kind": "require-call",
1436
+ "external": true
1437
+ }
1438
+ ],
1439
+ "exports": [],
1440
+ "entryPoint": "src/index.ts",
1441
+ "inputs": {
1442
+ "src/index.ts": {
1443
+ "bytesInOutput": 163
1444
+ },
1445
+ "src/official/node.ts": {
1446
+ "bytesInOutput": 2121
1447
+ },
1448
+ "src/errors.ts": {
1449
+ "bytesInOutput": 570
1450
+ },
1451
+ "src/official/options.ts": {
1452
+ "bytesInOutput": 1880
1453
+ },
1454
+ "src/official/metadata.ts": {
1455
+ "bytesInOutput": 4841
1456
+ },
1457
+ "src/official/vector-metadata.ts": {
1458
+ "bytesInOutput": 1267
1459
+ },
1460
+ "src/bridge/inference-health.ts": {
1461
+ "bytesInOutput": 222
1462
+ },
1463
+ "src/inference/statement-embedding-cache.ts": {
1464
+ "bytesInOutput": 5932
1465
+ },
1466
+ "src/sqlite/statement-lifecycle.ts": {
1467
+ "bytesInOutput": 8703
1468
+ },
1469
+ "src/official/lifecycle-adapter.ts": {
1470
+ "bytesInOutput": 8950
1471
+ },
1472
+ "src/official/functions.ts": {
1473
+ "bytesInOutput": 765
1474
+ },
1475
+ "src/official/registration.ts": {
1476
+ "bytesInOutput": 5106
1477
+ },
1478
+ "src/official/initialize.ts": {
1479
+ "bytesInOutput": 1424
1480
+ },
1481
+ "src/official/node-inference.ts": {
1482
+ "bytesInOutput": 3190
1483
+ },
1484
+ "src/bridge/protocol.ts": {
1485
+ "bytesInOutput": 3404
1486
+ },
1487
+ "src/workers/db.ts": {
1488
+ "bytesInOutput": 2016
1489
+ },
1490
+ "src/runtime-assets/model-contract.ts": {
1491
+ "bytesInOutput": 1249
1492
+ },
1493
+ "src/official/node-vfs.ts": {
1494
+ "bytesInOutput": 7850
1495
+ },
1496
+ "src/official/node-files.ts": {
1497
+ "bytesInOutput": 7888
1498
+ },
1499
+ "src/official/node-file-ownership.ts": {
1500
+ "bytesInOutput": 3464
1501
+ }
1502
+ },
1503
+ "bytes": 73277
1504
+ },
1505
+ "dist/node/index.mjs": {
1506
+ "imports": [
1507
+ {
1508
+ "path": "node:fs",
1509
+ "kind": "import-statement",
1510
+ "external": true
1511
+ },
1512
+ {
1513
+ "path": "node:path",
1514
+ "kind": "import-statement",
1515
+ "external": true
1516
+ },
1517
+ {
1518
+ "path": "node:url",
1519
+ "kind": "import-statement",
1520
+ "external": true
1521
+ },
1522
+ {
1523
+ "path": "node:worker_threads",
1524
+ "kind": "import-statement",
1525
+ "external": true
1526
+ },
1527
+ {
1528
+ "path": "node:path",
1529
+ "kind": "import-statement",
1530
+ "external": true
1531
+ },
1532
+ {
1533
+ "path": "node:fs/promises",
1534
+ "kind": "import-statement",
1535
+ "external": true
1536
+ },
1537
+ {
1538
+ "path": "node:crypto",
1539
+ "kind": "import-statement",
1540
+ "external": true
1541
+ },
1542
+ {
1543
+ "path": "node:fs",
1544
+ "kind": "import-statement",
1545
+ "external": true
1546
+ },
1547
+ {
1548
+ "path": "node:path",
1549
+ "kind": "import-statement",
1550
+ "external": true
1551
+ },
1552
+ {
1553
+ "path": "node:os",
1554
+ "kind": "import-statement",
1555
+ "external": true
1556
+ },
1557
+ {
1558
+ "path": "node:crypto",
1559
+ "kind": "import-statement",
1560
+ "external": true
1561
+ },
1562
+ {
1563
+ "path": "node:os",
1564
+ "kind": "import-statement",
1565
+ "external": true
1566
+ },
1567
+ {
1568
+ "path": "node:path",
1569
+ "kind": "import-statement",
1570
+ "external": true
1571
+ },
1572
+ {
1573
+ "path": "node:worker_threads",
1574
+ "kind": "import-statement",
1575
+ "external": true
1576
+ }
1577
+ ],
1578
+ "exports": [
1579
+ "default",
1580
+ "locateFile"
1581
+ ],
1582
+ "entryPoint": "src/index.ts",
1583
+ "inputs": {
1584
+ "src/official/node.ts": {
1585
+ "bytesInOutput": 2085
1586
+ },
1587
+ "src/errors.ts": {
1588
+ "bytesInOutput": 570
1589
+ },
1590
+ "src/official/options.ts": {
1591
+ "bytesInOutput": 1880
1592
+ },
1593
+ "src/official/metadata.ts": {
1594
+ "bytesInOutput": 4841
1595
+ },
1596
+ "src/official/vector-metadata.ts": {
1597
+ "bytesInOutput": 1267
1598
+ },
1599
+ "src/bridge/inference-health.ts": {
1600
+ "bytesInOutput": 222
1601
+ },
1602
+ "src/inference/statement-embedding-cache.ts": {
1603
+ "bytesInOutput": 5932
1604
+ },
1605
+ "src/sqlite/statement-lifecycle.ts": {
1606
+ "bytesInOutput": 8703
1607
+ },
1608
+ "src/official/lifecycle-adapter.ts": {
1609
+ "bytesInOutput": 8950
1610
+ },
1611
+ "src/official/functions.ts": {
1612
+ "bytesInOutput": 765
1613
+ },
1614
+ "src/official/registration.ts": {
1615
+ "bytesInOutput": 5106
1616
+ },
1617
+ "src/official/initialize.ts": {
1618
+ "bytesInOutput": 1424
1619
+ },
1620
+ "src/official/node-inference.ts": {
1621
+ "bytesInOutput": 3065
1622
+ },
1623
+ "src/bridge/protocol.ts": {
1624
+ "bytesInOutput": 3404
1625
+ },
1626
+ "src/workers/db.ts": {
1627
+ "bytesInOutput": 2016
1628
+ },
1629
+ "src/runtime-assets/model-contract.ts": {
1630
+ "bytesInOutput": 1249
1631
+ },
1632
+ "src/official/node-vfs.ts": {
1633
+ "bytesInOutput": 7843
1634
+ },
1635
+ "src/official/node-files.ts": {
1636
+ "bytesInOutput": 7230
1637
+ },
1638
+ "src/official/node-file-ownership.ts": {
1639
+ "bytesInOutput": 3407
1640
+ },
1641
+ "src/index.ts": {
1642
+ "bytesInOutput": 32
1643
+ }
1644
+ },
1645
+ "bytes": 70748
1646
+ },
1647
+ "dist/index-browser.mjs": {
1648
+ "imports": [],
1649
+ "exports": [
1650
+ "default",
1651
+ "resolveOfficialBrowserAssets",
1652
+ "sqlite3Worker1Promiser"
1653
+ ],
1654
+ "entryPoint": "src/index-browser.ts",
1655
+ "inputs": {
1656
+ "downloads/sqlite-official/sqlite3-bundler-friendly.mjs": {
1657
+ "bytesInOutput": 585918
1658
+ },
1659
+ "downloads/sqlite-official/sqlite3-worker1-promiser.mjs": {
1660
+ "bytesInOutput": 5910
1661
+ },
1662
+ "src/errors.ts": {
1663
+ "bytesInOutput": 570
1664
+ },
1665
+ "src/official/options.ts": {
1666
+ "bytesInOutput": 1880
1667
+ },
1668
+ "src/official/metadata.ts": {
1669
+ "bytesInOutput": 4849
1670
+ },
1671
+ "src/official/vector-metadata.ts": {
1672
+ "bytesInOutput": 1267
1673
+ },
1674
+ "src/bridge/inference-health.ts": {
1675
+ "bytesInOutput": 222
1676
+ },
1677
+ "src/inference/statement-embedding-cache.ts": {
1678
+ "bytesInOutput": 5932
1679
+ },
1680
+ "src/sqlite/statement-lifecycle.ts": {
1681
+ "bytesInOutput": 8703
1682
+ },
1683
+ "src/official/lifecycle-adapter.ts": {
1684
+ "bytesInOutput": 8973
1685
+ },
1686
+ "src/official/functions.ts": {
1687
+ "bytesInOutput": 765
1688
+ },
1689
+ "src/official/registration.ts": {
1690
+ "bytesInOutput": 5106
1691
+ },
1692
+ "src/official/initialize.ts": {
1693
+ "bytesInOutput": 1424
1694
+ },
1695
+ "src/runtime-assets/browser-model.ts": {
1696
+ "bytesInOutput": 389
1697
+ },
1698
+ "src/runtime-assets/model-contract.ts": {
1699
+ "bytesInOutput": 1312
1700
+ },
1701
+ "src/official/browser-inference.ts": {
1702
+ "bytesInOutput": 1168
1703
+ },
1704
+ "src/official/browser.ts": {
1705
+ "bytesInOutput": 784
1706
+ },
1707
+ "src/index-browser.ts": {
1708
+ "bytesInOutput": 40
1709
+ }
1710
+ },
1711
+ "bytes": 637615
1712
+ },
1713
+ "dist/workers/inference-node.js": {
1714
+ "imports": [
1715
+ {
1716
+ "path": "node:worker_threads",
1717
+ "kind": "require-call",
1718
+ "external": true
1719
+ },
1720
+ {
1721
+ "path": "node:path",
1722
+ "kind": "require-call",
1723
+ "external": true
1724
+ },
1725
+ {
1726
+ "path": "node:path",
1727
+ "kind": "require-call",
1728
+ "external": true
1729
+ },
1730
+ {
1731
+ "path": "node:fs",
1732
+ "kind": "require-call",
1733
+ "external": true
1734
+ },
1735
+ {
1736
+ "path": "node:crypto",
1737
+ "kind": "require-call",
1738
+ "external": true
1739
+ },
1740
+ {
1741
+ "path": "node:os",
1742
+ "kind": "require-call",
1743
+ "external": true
1744
+ },
1745
+ {
1746
+ "path": "node:url",
1747
+ "kind": "require-call",
1748
+ "external": true
1749
+ },
1750
+ {
1751
+ "path": "node:path",
1752
+ "kind": "require-call",
1753
+ "external": true
1754
+ },
1755
+ {
1756
+ "path": "node:fs",
1757
+ "kind": "require-call",
1758
+ "external": true
1759
+ },
1760
+ {
1761
+ "path": "node:crypto",
1762
+ "kind": "require-call",
1763
+ "external": true
1764
+ },
1765
+ {
1766
+ "path": "onnxruntime-node/package.json",
1767
+ "kind": "require-resolve",
1768
+ "external": true
1769
+ },
1770
+ {
1771
+ "path": "node:path",
1772
+ "kind": "require-call",
1773
+ "external": true
1774
+ },
1775
+ {
1776
+ "path": "node:os",
1777
+ "kind": "require-call",
1778
+ "external": true
1779
+ },
1780
+ {
1781
+ "path": "node:fs",
1782
+ "kind": "require-call",
1783
+ "external": true
1784
+ },
1785
+ {
1786
+ "path": "node:fs/promises",
1787
+ "kind": "require-call",
1788
+ "external": true
1789
+ },
1790
+ {
1791
+ "path": "node:path",
1792
+ "kind": "require-call",
1793
+ "external": true
1794
+ },
1795
+ {
1796
+ "path": "node:crypto",
1797
+ "kind": "require-call",
1798
+ "external": true
1799
+ },
1800
+ {
1801
+ "path": "node:crypto",
1802
+ "kind": "require-call",
1803
+ "external": true
1804
+ }
1805
+ ],
1806
+ "exports": [],
1807
+ "entryPoint": "src/workers/inference-node.ts",
1808
+ "inputs": {
1809
+ "node_modules/@protobufjs/aspromise/index.js": {
1810
+ "bytesInOutput": 1066
1811
+ },
1812
+ "node_modules/@protobufjs/base64/index.js": {
1813
+ "bytesInOutput": 2774
1814
+ },
1815
+ "node_modules/@protobufjs/eventemitter/index.js": {
1816
+ "bytesInOutput": 1381
1817
+ },
1818
+ "node_modules/@protobufjs/float/index.js": {
1819
+ "bytesInOutput": 7991
1820
+ },
1821
+ "node_modules/@protobufjs/inquire/index.js": {
1822
+ "bytesInOutput": 473
1823
+ },
1824
+ "node_modules/@protobufjs/utf8/index.js": {
1825
+ "bytesInOutput": 2916
1826
+ },
1827
+ "node_modules/@protobufjs/pool/index.js": {
1828
+ "bytesInOutput": 664
1829
+ },
1830
+ "node_modules/onnx-proto/node_modules/protobufjs/src/util/longbits.js": {
1831
+ "bytesInOutput": 3592
1832
+ },
1833
+ "node_modules/onnx-proto/node_modules/protobufjs/src/util/minimal.js": {
1834
+ "bytesInOutput": 6062
1835
+ },
1836
+ "node_modules/onnx-proto/node_modules/protobufjs/src/writer.js": {
1837
+ "bytesInOutput": 6287
1838
+ },
1839
+ "node_modules/onnx-proto/node_modules/protobufjs/src/writer_buffer.js": {
1840
+ "bytesInOutput": 1764
1841
+ },
1842
+ "node_modules/onnx-proto/node_modules/protobufjs/src/reader.js": {
1843
+ "bytesInOutput": 7772
1844
+ },
1845
+ "node_modules/onnx-proto/node_modules/protobufjs/src/reader_buffer.js": {
1846
+ "bytesInOutput": 908
1847
+ },
1848
+ "node_modules/onnx-proto/node_modules/protobufjs/src/rpc/service.js": {
1849
+ "bytesInOutput": 2497
1850
+ },
1851
+ "node_modules/onnx-proto/node_modules/protobufjs/src/rpc.js": {
1852
+ "bytesInOutput": 193
1853
+ },
1854
+ "node_modules/onnx-proto/node_modules/protobufjs/src/roots.js": {
1855
+ "bytesInOutput": 171
1856
+ },
1857
+ "node_modules/onnx-proto/node_modules/protobufjs/src/index-minimal.js": {
1858
+ "bytesInOutput": 744
1859
+ },
1860
+ "node_modules/onnx-proto/node_modules/protobufjs/minimal.js": {
1861
+ "bytesInOutput": 193
1862
+ },
1863
+ "node_modules/onnx-proto/dist/onnx.js": {
1864
+ "bytesInOutput": 205517
1865
+ },
1866
+ "src/workers/inference-node.ts": {
1867
+ "bytesInOutput": 8021
1868
+ },
1869
+ "src/inference/backends/directml.ts": {
1870
+ "bytesInOutput": 2648
1871
+ },
1872
+ "src/errors.ts": {
1873
+ "bytesInOutput": 570
1874
+ },
1875
+ "src/runtime-assets/model-contract.ts": {
1876
+ "bytesInOutput": 2267
1877
+ },
1878
+ "src/inference/profile.ts": {
1879
+ "bytesInOutput": 2546
1880
+ },
1881
+ "src/inference/engine.ts": {
1882
+ "bytesInOutput": 4829
1883
+ },
1884
+ "src/inference/initialize.ts": {
1885
+ "bytesInOutput": 2574
1886
+ },
1887
+ "src/sqlite/node-model-cache.ts": {
1888
+ "bytesInOutput": 2265
1889
+ },
1890
+ "src/runtime-assets/persistent-model-cache.ts": {
1891
+ "bytesInOutput": 8150
1892
+ },
1893
+ "src/runtime-assets/node-persistent-cache-storage.ts": {
1894
+ "bytesInOutput": 9425
1895
+ },
1896
+ "src/runtime-assets/verified-cache.ts": {
1897
+ "bytesInOutput": 4475
1898
+ },
1899
+ "src/inference/backends/directml-vision-graph.ts": {
1900
+ "bytesInOutput": 3839
1901
+ },
1902
+ "src/bridge/protocol.ts": {
1903
+ "bytesInOutput": 1290
1904
+ },
1905
+ "src/workers/inference.ts": {
1906
+ "bytesInOutput": 1809
1907
+ },
1908
+ "src/bridge/inference-health.ts": {
1909
+ "bytesInOutput": 267
1910
+ }
1911
+ },
1912
+ "bytes": 311330
1913
+ },
1914
+ "dist/workers/inference-browser.mjs": {
1915
+ "imports": [],
1916
+ "exports": [
1917
+ "WORKER_NAME",
1918
+ "createBrowserEngine"
1919
+ ],
1920
+ "entryPoint": "src/workers/inference-browser.ts",
1921
+ "inputs": {
1922
+ "src/errors.ts": {
1923
+ "bytesInOutput": 571
1924
+ },
1925
+ "src/bridge/inference-health.ts": {
1926
+ "bytesInOutput": 267
1927
+ },
1928
+ "src/bridge/protocol.ts": {
1929
+ "bytesInOutput": 1293
1930
+ },
1931
+ "src/workers/inference.ts": {
1932
+ "bytesInOutput": 1807
1933
+ },
1934
+ "src/workers/inference-browser-controller.ts": {
1935
+ "bytesInOutput": 4393
1936
+ },
1937
+ "src/runtime-assets/model-contract.ts": {
1938
+ "bytesInOutput": 2273
1939
+ },
1940
+ "src/runtime-assets/verified-cache.ts": {
1941
+ "bytesInOutput": 4480
1942
+ },
1943
+ "src/runtime-assets/browser-model.ts": {
1944
+ "bytesInOutput": 1840
1945
+ },
1946
+ "src/inference/browser-initialize.ts": {
1947
+ "bytesInOutput": 2898
1948
+ },
1949
+ "src/inference/profile.ts": {
1950
+ "bytesInOutput": 2559
1951
+ },
1952
+ "src/inference/engine.ts": {
1953
+ "bytesInOutput": 4841
1954
+ },
1955
+ "src/inference/initialize.ts": {
1956
+ "bytesInOutput": 2570
1957
+ },
1958
+ "src/runtime-assets/browser-opfs-cache-storage.ts": {
1959
+ "bytesInOutput": 8551
1960
+ },
1961
+ "src/runtime-assets/persistent-model-cache.ts": {
1962
+ "bytesInOutput": 8156
1963
+ },
1964
+ "src/workers/inference-browser.ts": {
1965
+ "bytesInOutput": 1990
1966
+ }
1967
+ },
1968
+ "bytes": 49084
1969
+ },
1970
+ "dist/samples/node/index.js": {
1971
+ "imports": [
1972
+ {
1973
+ "path": "node:fs",
1974
+ "kind": "require-call",
1975
+ "external": true
1976
+ },
1977
+ {
1978
+ "path": "node:path",
1979
+ "kind": "require-call",
1980
+ "external": true
1981
+ },
1982
+ {
1983
+ "path": "node:fs",
1984
+ "kind": "require-call",
1985
+ "external": true
1986
+ },
1987
+ {
1988
+ "path": "node:path",
1989
+ "kind": "require-call",
1990
+ "external": true
1991
+ },
1992
+ {
1993
+ "path": "node:url",
1994
+ "kind": "require-call",
1995
+ "external": true
1996
+ },
1997
+ {
1998
+ "path": "node:worker_threads",
1999
+ "kind": "require-call",
2000
+ "external": true
2001
+ },
2002
+ {
2003
+ "path": "node:path",
2004
+ "kind": "require-call",
2005
+ "external": true
2006
+ },
2007
+ {
2008
+ "path": "node:fs/promises",
2009
+ "kind": "require-call",
2010
+ "external": true
2011
+ },
2012
+ {
2013
+ "path": "node:crypto",
2014
+ "kind": "require-call",
2015
+ "external": true
2016
+ },
2017
+ {
2018
+ "path": "node:fs",
2019
+ "kind": "require-call",
2020
+ "external": true
2021
+ },
2022
+ {
2023
+ "path": "node:path",
2024
+ "kind": "require-call",
2025
+ "external": true
2026
+ },
2027
+ {
2028
+ "path": "node:os",
2029
+ "kind": "require-call",
2030
+ "external": true
2031
+ },
2032
+ {
2033
+ "path": "node:crypto",
2034
+ "kind": "require-call",
2035
+ "external": true
2036
+ },
2037
+ {
2038
+ "path": "node:os",
2039
+ "kind": "require-call",
2040
+ "external": true
2041
+ },
2042
+ {
2043
+ "path": "node:path",
2044
+ "kind": "require-call",
2045
+ "external": true
2046
+ },
2047
+ {
2048
+ "path": "node:worker_threads",
2049
+ "kind": "require-call",
2050
+ "external": true
2051
+ }
2052
+ ],
2053
+ "exports": [],
2054
+ "entryPoint": "samples/node/index.ts",
2055
+ "inputs": {
2056
+ "samples/node/index.ts": {
2057
+ "bytesInOutput": 3373
2058
+ },
2059
+ "src/official/node.ts": {
2060
+ "bytesInOutput": 2121
2061
+ },
2062
+ "src/errors.ts": {
2063
+ "bytesInOutput": 570
2064
+ },
2065
+ "src/official/options.ts": {
2066
+ "bytesInOutput": 1880
2067
+ },
2068
+ "src/official/metadata.ts": {
2069
+ "bytesInOutput": 4841
2070
+ },
2071
+ "src/official/vector-metadata.ts": {
2072
+ "bytesInOutput": 1267
2073
+ },
2074
+ "src/bridge/inference-health.ts": {
2075
+ "bytesInOutput": 222
2076
+ },
2077
+ "src/inference/statement-embedding-cache.ts": {
2078
+ "bytesInOutput": 5932
2079
+ },
2080
+ "src/sqlite/statement-lifecycle.ts": {
2081
+ "bytesInOutput": 8703
2082
+ },
2083
+ "src/official/lifecycle-adapter.ts": {
2084
+ "bytesInOutput": 8950
2085
+ },
2086
+ "src/official/functions.ts": {
2087
+ "bytesInOutput": 765
2088
+ },
2089
+ "src/official/registration.ts": {
2090
+ "bytesInOutput": 5106
2091
+ },
2092
+ "src/official/initialize.ts": {
2093
+ "bytesInOutput": 1424
2094
+ },
2095
+ "src/official/node-inference.ts": {
2096
+ "bytesInOutput": 3190
2097
+ },
2098
+ "src/bridge/protocol.ts": {
2099
+ "bytesInOutput": 3404
2100
+ },
2101
+ "src/workers/db.ts": {
2102
+ "bytesInOutput": 2016
2103
+ },
2104
+ "src/runtime-assets/model-contract.ts": {
2105
+ "bytesInOutput": 1249
2106
+ },
2107
+ "src/official/node-vfs.ts": {
2108
+ "bytesInOutput": 7850
2109
+ },
2110
+ "src/official/node-files.ts": {
2111
+ "bytesInOutput": 7888
2112
+ },
2113
+ "src/official/node-file-ownership.ts": {
2114
+ "bytesInOutput": 3464
2115
+ },
2116
+ "src/index.ts": {
2117
+ "bytesInOutput": 30
2118
+ },
2119
+ "samples/official-scenario.ts": {
2120
+ "bytesInOutput": 2455
2121
+ }
2122
+ },
2123
+ "bytes": 78820
2124
+ },
2125
+ "dist/samples/browser/index.mjs": {
2126
+ "imports": [],
2127
+ "exports": [
2128
+ "runOwnedBrowser"
2129
+ ],
2130
+ "entryPoint": "samples/browser/index.ts",
2131
+ "inputs": {
2132
+ "samples/browser/index.ts": {
2133
+ "bytesInOutput": 1539
2134
+ }
2135
+ },
2136
+ "bytes": 1597
2137
+ },
2138
+ "dist/samples/browser/owner.mjs": {
2139
+ "imports": [],
2140
+ "exports": [],
2141
+ "entryPoint": "samples/browser/owner.ts",
2142
+ "inputs": {
2143
+ "downloads/sqlite-official/sqlite3-bundler-friendly.mjs": {
2144
+ "bytesInOutput": 585894
2145
+ },
2146
+ "src/errors.ts": {
2147
+ "bytesInOutput": 570
2148
+ },
2149
+ "src/official/options.ts": {
2150
+ "bytesInOutput": 1880
2151
+ },
2152
+ "src/official/metadata.ts": {
2153
+ "bytesInOutput": 4855
2154
+ },
2155
+ "src/official/vector-metadata.ts": {
2156
+ "bytesInOutput": 1267
2157
+ },
2158
+ "src/bridge/inference-health.ts": {
2159
+ "bytesInOutput": 222
2160
+ },
2161
+ "src/inference/statement-embedding-cache.ts": {
2162
+ "bytesInOutput": 5932
2163
+ },
2164
+ "src/sqlite/statement-lifecycle.ts": {
2165
+ "bytesInOutput": 8703
2166
+ },
2167
+ "src/official/lifecycle-adapter.ts": {
2168
+ "bytesInOutput": 8973
2169
+ },
2170
+ "src/official/functions.ts": {
2171
+ "bytesInOutput": 765
2172
+ },
2173
+ "src/official/registration.ts": {
2174
+ "bytesInOutput": 5106
2175
+ },
2176
+ "src/official/initialize.ts": {
2177
+ "bytesInOutput": 1424
2178
+ },
2179
+ "src/runtime-assets/model-contract.ts": {
2180
+ "bytesInOutput": 1184
2181
+ },
2182
+ "src/official/browser.ts": {
2183
+ "bytesInOutput": 497
2184
+ },
2185
+ "src/index-browser.ts": {
2186
+ "bytesInOutput": 40
2187
+ },
2188
+ "samples/browser/owner.ts": {
2189
+ "bytesInOutput": 617
2190
+ }
2191
+ },
2192
+ "bytes": 630092
2193
+ },
2194
+ "dist/samples/browser/server.js": {
2195
+ "imports": [
2196
+ {
2197
+ "path": "node:http",
2198
+ "kind": "require-call",
2199
+ "external": true
2200
+ },
2201
+ {
2202
+ "path": "node:fs",
2203
+ "kind": "require-call",
2204
+ "external": true
2205
+ },
2206
+ {
2207
+ "path": "node:path",
2208
+ "kind": "require-call",
2209
+ "external": true
2210
+ }
2211
+ ],
2212
+ "exports": [],
2213
+ "entryPoint": "samples/browser/server.ts",
2214
+ "inputs": {
2215
+ "samples/browser/server.ts": {
2216
+ "bytesInOutput": 1336
2217
+ }
2218
+ },
2219
+ "bytes": 2762
2220
+ }
2221
+ }
2222
+ }