dsh-vision-router 3.2.0 → 3.3.0

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 (56) hide show
  1. package/README.md +6 -6
  2. package/README.zh.md +21 -6
  3. package/THIRD_PARTY_NOTICES.md +167 -0
  4. package/assets/licenses/apache-2.0.txt +202 -0
  5. package/assets/licenses/llvm-mingw-LICENSE.txt +279 -0
  6. package/assets/licenses/mingw-w64-runtime-COPYING.txt +265 -0
  7. package/assets/licenses/moxcms-BSD-3-Clause.txt +26 -0
  8. package/assets/licenses/ncnn-LICENSE.txt +86 -0
  9. package/assets/licenses/roots-BSD-2-Clause.txt +24 -0
  10. package/assets/licenses/unicode-ident-Unicode-3.0.txt +39 -0
  11. package/assets/licenses/vtracer-MIT.txt +25 -0
  12. package/assets/licenses/zlib-rs-Zlib.txt +19 -0
  13. package/docs/architecture/dsh-support-window.md +25 -6
  14. package/docs/compatibility/dsh-0.2.2-rc2-audit.md +40 -0
  15. package/docs/compatibility/dsh-0.2.2-rc3-audit.md +131 -0
  16. package/docs/compliance/vtracer-alpha4-provenance.md +47 -0
  17. package/docs/compliance/vtracer-alpha4-reconstructed-Cargo.lock +567 -0
  18. package/docs/compliance/vtracer-alpha4-rust-inventory.json +421 -0
  19. package/docs/compliance/vtracer-alpha4-rust-license-texts.md +13018 -0
  20. package/docs/releases/v3.2.1.md +21 -0
  21. package/docs/releases/v3.2.2.md +25 -0
  22. package/docs/releases/v3.3.0.md +34 -0
  23. package/docs/remote-settings.md +83 -8
  24. package/index.js +280 -169
  25. package/lib/client.js +17 -17
  26. package/lib/core-primitives.js +155 -214
  27. package/lib/dsh-support-window.js +6 -3
  28. package/lib/native-ocr-annotation-risk.js +33 -0
  29. package/lib/native-ocr-canary.js +156 -0
  30. package/lib/native-ocr-chemistry-review.js +37 -0
  31. package/lib/native-ocr-document.js +243 -0
  32. package/lib/native-ocr-installation.js +17 -0
  33. package/lib/native-ocr-integrity.js +93 -0
  34. package/lib/native-ocr-question-labels.js +167 -0
  35. package/lib/native-ocr-supervisor.js +268 -0
  36. package/lib/remote-settings-bridge.js +93 -57
  37. package/lib/remote-settings-risk-client-boundary.js +2 -2
  38. package/lib/runtime-reliability.js +7 -0
  39. package/lib/session-query-readers.js +8 -2
  40. package/lib/session-vision-attachment-index.js +61 -14
  41. package/lib/settings-client-017-compat.js +4 -2
  42. package/lib/settings-ia-client-prelude.js +26 -10
  43. package/lib/tesseract-image-preprocess.js +35 -0
  44. package/lib/trace-vtracer-process-runtime.js +133 -0
  45. package/lib/trace-vtracer-process.js +43 -0
  46. package/lib/trace-vtracer-worker.js +163 -0
  47. package/lib/vision-attachment-handle-runtime.js +11 -2
  48. package/lib/vision-backend-runtime-policy.js +5 -3
  49. package/lib/vision-image-input-reader.js +67 -0
  50. package/lib/vision-image-input-verdict.js +24 -3
  51. package/lib/vision-tool-runtime-boundary.js +7 -10
  52. package/lib/vision-tool-stage.js +58 -0
  53. package/lib/web/dsh-settings-017-root-transport.js +52 -6
  54. package/lib/web-capability-boundary.js +6 -0
  55. package/package.json +10 -6
  56. package/scripts/install-native-ocr.mjs +144 -0
@@ -0,0 +1,421 @@
1
+ {
2
+ "scope": "Independent Cargo metadata resolution from npm gitHead-matching upstream tag on 2026-11-11. Not proof of prebuilt npm WASM's historical dependency versions.",
3
+ "tag": "2500df76b5aea0ac22d15296b22722442f825c5b",
4
+ "tag_version": "1.0.0-alpha.4",
5
+ "resolved_at": "2026-11-11",
6
+ "packages": [
7
+ {
8
+ "name": "adler2",
9
+ "version": "2.0.1",
10
+ "license": "0BSD OR MIT OR Apache-2.0",
11
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
12
+ },
13
+ {
14
+ "name": "aliasable",
15
+ "version": "0.1.3",
16
+ "license": "MIT",
17
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
18
+ },
19
+ {
20
+ "name": "autocfg",
21
+ "version": "1.5.1",
22
+ "license": "Apache-2.0 OR MIT",
23
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
24
+ },
25
+ {
26
+ "name": "bit-vec",
27
+ "version": "0.6.3",
28
+ "license": "MIT/Apache-2.0",
29
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
30
+ },
31
+ {
32
+ "name": "bitflags",
33
+ "version": "2.13.2",
34
+ "license": "MIT OR Apache-2.0",
35
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
36
+ },
37
+ {
38
+ "name": "bumpalo",
39
+ "version": "3.20.3",
40
+ "license": "MIT OR Apache-2.0",
41
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
42
+ },
43
+ {
44
+ "name": "bytemuck",
45
+ "version": "1.25.2",
46
+ "license": "Zlib OR Apache-2.0 OR MIT",
47
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
48
+ },
49
+ {
50
+ "name": "byteorder-lite",
51
+ "version": "0.1.0",
52
+ "license": "Unlicense OR MIT",
53
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
54
+ },
55
+ {
56
+ "name": "cfg-if",
57
+ "version": "1.0.5",
58
+ "license": "MIT OR Apache-2.0",
59
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
60
+ },
61
+ {
62
+ "name": "color_quant",
63
+ "version": "1.1.0",
64
+ "license": "MIT",
65
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
66
+ },
67
+ {
68
+ "name": "crc32fast",
69
+ "version": "1.5.5",
70
+ "license": "MIT OR Apache-2.0",
71
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
72
+ },
73
+ {
74
+ "name": "either",
75
+ "version": "1.19.0",
76
+ "license": "MIT OR Apache-2.0",
77
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
78
+ },
79
+ {
80
+ "name": "fdeflate",
81
+ "version": "0.3.7",
82
+ "license": "MIT OR Apache-2.0",
83
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
84
+ },
85
+ {
86
+ "name": "flate2",
87
+ "version": "1.1.11",
88
+ "license": "MIT OR Apache-2.0",
89
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
90
+ },
91
+ {
92
+ "name": "flo_curves",
93
+ "version": "0.3.1",
94
+ "license": "Apache-2.0",
95
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
96
+ },
97
+ {
98
+ "name": "flo_curves",
99
+ "version": "0.8.1",
100
+ "license": "Apache-2.0",
101
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
102
+ },
103
+ {
104
+ "name": "futures-core",
105
+ "version": "0.3.34",
106
+ "license": "MIT OR Apache-2.0",
107
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
108
+ },
109
+ {
110
+ "name": "futures-task",
111
+ "version": "0.3.34",
112
+ "license": "MIT OR Apache-2.0",
113
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
114
+ },
115
+ {
116
+ "name": "futures-util",
117
+ "version": "0.3.34",
118
+ "license": "MIT OR Apache-2.0",
119
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
120
+ },
121
+ {
122
+ "name": "gif",
123
+ "version": "0.14.2",
124
+ "license": "MIT OR Apache-2.0",
125
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
126
+ },
127
+ {
128
+ "name": "heck",
129
+ "version": "0.4.1",
130
+ "license": "MIT OR Apache-2.0",
131
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
132
+ },
133
+ {
134
+ "name": "image",
135
+ "version": "0.25.10",
136
+ "license": "MIT OR Apache-2.0",
137
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
138
+ },
139
+ {
140
+ "name": "image-webp",
141
+ "version": "0.2.4",
142
+ "license": "MIT OR Apache-2.0",
143
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
144
+ },
145
+ {
146
+ "name": "itertools",
147
+ "version": "0.14.0",
148
+ "license": "MIT OR Apache-2.0",
149
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
150
+ },
151
+ {
152
+ "name": "itertools",
153
+ "version": "0.8.2",
154
+ "license": "MIT/Apache-2.0",
155
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
156
+ },
157
+ {
158
+ "name": "js-sys",
159
+ "version": "0.3.107",
160
+ "license": "MIT OR Apache-2.0",
161
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
162
+ },
163
+ {
164
+ "name": "miniz_oxide",
165
+ "version": "0.8.9",
166
+ "license": "MIT OR Zlib OR Apache-2.0",
167
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
168
+ },
169
+ {
170
+ "name": "miniz_oxide",
171
+ "version": "0.9.1",
172
+ "license": "MIT OR Zlib OR Apache-2.0",
173
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
174
+ },
175
+ {
176
+ "name": "moxcms",
177
+ "version": "0.8.1",
178
+ "license": "BSD-3-Clause OR Apache-2.0",
179
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
180
+ },
181
+ {
182
+ "name": "num-traits",
183
+ "version": "0.2.19",
184
+ "license": "MIT OR Apache-2.0",
185
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
186
+ },
187
+ {
188
+ "name": "ouroboros",
189
+ "version": "0.18.5",
190
+ "license": "MIT OR Apache-2.0",
191
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
192
+ },
193
+ {
194
+ "name": "ouroboros_macro",
195
+ "version": "0.18.5",
196
+ "license": "MIT OR Apache-2.0",
197
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
198
+ },
199
+ {
200
+ "name": "pin-project-lite",
201
+ "version": "0.2.17",
202
+ "license": "Apache-2.0 OR MIT",
203
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
204
+ },
205
+ {
206
+ "name": "png",
207
+ "version": "0.18.1",
208
+ "license": "MIT OR Apache-2.0",
209
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
210
+ },
211
+ {
212
+ "name": "proc-macro2",
213
+ "version": "1.0.107",
214
+ "license": "MIT OR Apache-2.0",
215
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
216
+ },
217
+ {
218
+ "name": "proc-macro2-diagnostics",
219
+ "version": "0.10.1",
220
+ "license": "MIT/Apache-2.0",
221
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
222
+ },
223
+ {
224
+ "name": "pxfm",
225
+ "version": "0.1.30",
226
+ "license": "BSD-3-Clause OR Apache-2.0",
227
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
228
+ },
229
+ {
230
+ "name": "quick-error",
231
+ "version": "2.0.1",
232
+ "license": "MIT/Apache-2.0",
233
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
234
+ },
235
+ {
236
+ "name": "quote",
237
+ "version": "1.0.47",
238
+ "license": "MIT OR Apache-2.0",
239
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
240
+ },
241
+ {
242
+ "name": "roots",
243
+ "version": "0.0.6",
244
+ "license": "BSD-2-Clause",
245
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
246
+ },
247
+ {
248
+ "name": "roots",
249
+ "version": "0.0.8",
250
+ "license": "BSD-2-Clause",
251
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
252
+ },
253
+ {
254
+ "name": "rustversion",
255
+ "version": "1.0.23",
256
+ "license": "MIT OR Apache-2.0",
257
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
258
+ },
259
+ {
260
+ "name": "serde",
261
+ "version": "1.0.229",
262
+ "license": "MIT OR Apache-2.0",
263
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
264
+ },
265
+ {
266
+ "name": "serde-wasm-bindgen",
267
+ "version": "0.6.5",
268
+ "license": "MIT",
269
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
270
+ },
271
+ {
272
+ "name": "serde_core",
273
+ "version": "1.0.229",
274
+ "license": "MIT OR Apache-2.0",
275
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
276
+ },
277
+ {
278
+ "name": "serde_derive",
279
+ "version": "1.0.229",
280
+ "license": "MIT OR Apache-2.0",
281
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
282
+ },
283
+ {
284
+ "name": "simd-adler32",
285
+ "version": "0.3.10",
286
+ "license": "MIT",
287
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
288
+ },
289
+ {
290
+ "name": "slab",
291
+ "version": "0.4.12",
292
+ "license": "MIT",
293
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
294
+ },
295
+ {
296
+ "name": "smallvec",
297
+ "version": "1.16.5",
298
+ "license": "MIT OR Apache-2.0",
299
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
300
+ },
301
+ {
302
+ "name": "static_assertions",
303
+ "version": "1.1.0",
304
+ "license": "MIT OR Apache-2.0",
305
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
306
+ },
307
+ {
308
+ "name": "syn",
309
+ "version": "2.0.119",
310
+ "license": "MIT OR Apache-2.0",
311
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
312
+ },
313
+ {
314
+ "name": "syn",
315
+ "version": "3.0.10",
316
+ "license": "MIT OR Apache-2.0",
317
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
318
+ },
319
+ {
320
+ "name": "unicode-ident",
321
+ "version": "1.0.27",
322
+ "license": "(MIT OR Apache-2.0) AND Unicode-3.0",
323
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
324
+ },
325
+ {
326
+ "name": "version_check",
327
+ "version": "0.9.5",
328
+ "license": "MIT/Apache-2.0",
329
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
330
+ },
331
+ {
332
+ "name": "visioncortex",
333
+ "version": "0.9.3",
334
+ "license": "MIT OR Apache-2.0",
335
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
336
+ },
337
+ {
338
+ "name": "vtracer",
339
+ "version": "1.0.0-alpha.4",
340
+ "license": "MIT OR Apache-2.0",
341
+ "source": null
342
+ },
343
+ {
344
+ "name": "vtracer-wasm",
345
+ "version": "1.0.0-alpha.4",
346
+ "license": "MIT OR Apache-2.0",
347
+ "source": null
348
+ },
349
+ {
350
+ "name": "wasm-bindgen",
351
+ "version": "0.2.130",
352
+ "license": "MIT OR Apache-2.0",
353
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
354
+ },
355
+ {
356
+ "name": "wasm-bindgen-macro",
357
+ "version": "0.2.130",
358
+ "license": "MIT OR Apache-2.0",
359
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
360
+ },
361
+ {
362
+ "name": "wasm-bindgen-macro-support",
363
+ "version": "0.2.130",
364
+ "license": "MIT OR Apache-2.0",
365
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
366
+ },
367
+ {
368
+ "name": "wasm-bindgen-shared",
369
+ "version": "0.2.130",
370
+ "license": "MIT OR Apache-2.0",
371
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
372
+ },
373
+ {
374
+ "name": "weezl",
375
+ "version": "0.1.12",
376
+ "license": "MIT OR Apache-2.0",
377
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
378
+ },
379
+ {
380
+ "name": "yansi",
381
+ "version": "1.0.1",
382
+ "license": "MIT OR Apache-2.0",
383
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
384
+ },
385
+ {
386
+ "name": "zlib-rs",
387
+ "version": "0.6.8",
388
+ "license": "Zlib",
389
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
390
+ },
391
+ {
392
+ "name": "zune-core",
393
+ "version": "0.5.3",
394
+ "license": "MIT OR Apache-2.0 OR Zlib",
395
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
396
+ },
397
+ {
398
+ "name": "zune-jpeg",
399
+ "version": "0.5.15",
400
+ "license": "MIT OR Apache-2.0 OR Zlib",
401
+ "source": "registry+https://github.com/rust-lang/crates.io-index"
402
+ }
403
+ ],
404
+ "groups": {
405
+ "0BSD OR MIT OR Apache-2.0": 1,
406
+ "MIT": 5,
407
+ "Apache-2.0 OR MIT": 2,
408
+ "MIT/Apache-2.0": 5,
409
+ "MIT OR Apache-2.0": 39,
410
+ "Zlib OR Apache-2.0 OR MIT": 1,
411
+ "Unlicense OR MIT": 1,
412
+ "Apache-2.0": 2,
413
+ "MIT OR Zlib OR Apache-2.0": 2,
414
+ "BSD-3-Clause OR Apache-2.0": 2,
415
+ "BSD-2-Clause": 2,
416
+ "(MIT OR Apache-2.0) AND Unicode-3.0": 1,
417
+ "Zlib": 1,
418
+ "MIT OR Apache-2.0 OR Zlib": 2
419
+ },
420
+ "risks": []
421
+ }