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
package/README.md CHANGED
@@ -22,7 +22,7 @@
22
22
  > **Data leaves your machine by default.** When a cloud vision model is used, Vision Router sends the image (or a derived crop), the vision prompt and related request metadata to that provider. A fresh install has an anonymous OVHcloud vision fallback enabled, so "free" and "no key" do **not** mean offline. Do not use the cloud chain for confidential, regulated or classified material. See [Data flow and strict local-only use](#data-flow-and-strict-local-only-use).
23
23
 
24
24
  > [!WARNING]
25
- > **v3.2.0 stable release:** Requires DSH >=0.2.1-rc.5 <0.3.0-0 and Node.js >=24.9.0; DSH 0.1.x / 0.2.0 and Node 22 are no longer supported by this version. The DSH Host owns Connection authorization and trustedHosts; DVR retains only the minimal third-party RPC startup-order patch. **Existing profiles are not upgraded automatically.** Run the read-only `doctor --upgrade-preflight` first, then separately verify legacy Session data, custom profile overlays and a rollback path. Older installations may stay on v3.1.5. See [v3.2.0 release notes](docs/releases/v3.2.0.md).
25
+ > **v3.3.0 minor release — confirm publication through GitHub Releases/npm:** Brings the v3.2.2 attachment/Session timeout and security fixes, bounded VTracer subprocess isolation, Windows portability, and a SHA-verified **owner-installed** PP-OCRv6/ncnn OCR preference on supported Mac ARM64/Windows x64. Native model weights and executables are **not included in npm**; optional native archive redistribution remains separately gated. Without an installed native worker, auto can still use local Tesseract, which also remains explicitly selectable. DSH >=0.2.1-rc.5 <0.3.0-0 and Node.js >=24.9.0 remain required; no profile auto-migration. The default cloud vision fallback may transmit images externally unless strict local-only is enabled. Back up, run read-only `doctor --upgrade-preflight`, and keep a rollback option. See [v3.3.0 release notes](docs/releases/v3.3.0.md).
26
26
 
27
27
  ## Start here
28
28
 
@@ -102,7 +102,7 @@ The vision model is **only the eyes**; DeepSeek is **always the brain**. An imag
102
102
 
103
103
  Default `progressiveTools: false`: all fourteen deep tools are registered at startup. **Registration does not grant access in every conversation**: turn **Vision ON** in the current chat to make them visible and callable by its Agent. While Vision is OFF, that Agent cannot use `vision_colors`, `vision_ocr`, or the other Vision Router tools, even with `tool: true` in Settings. Under this default mode, `vision_activate` is **not registered**.
104
104
 
105
- To opt into progressive mounting, explicitly set `progressiveTools: true` in the profile/composition `cordis.patch.yml`. Only then is `vision_activate` initially exposed to Vision-enabled Sessions; the full tool set mounts upon activation and the `vision-tools` skill is registered. This is a boot-time switch; restart DSH after changing it. Built on sharp / potrace / tesseract / system Chrome — no Python:
105
+ To opt into progressive mounting, explicitly set `progressiveTools: true` in the profile/composition `cordis.patch.yml`. Only then is `vision_activate` initially exposed to Vision-enabled Sessions; the full tool set mounts upon activation and the `vision-tools` skill is registered. This is a boot-time switch; restart DSH after changing it. Built on sharp / VTracer / tesseract / system Chrome — no Python:
106
106
 
107
107
  <p align="center">
108
108
  <img src="assets/vision-tools.svg" width="100%" alt="Eleven image-processing tools available in DSH Vision Router." />
@@ -122,7 +122,7 @@ The diagram covers the eleven image-processing tools. `vision_present` (durable
122
122
  | `vision_pixel_diff` | Per-pixel comparison: diff ratio + worst 8×8-grid regions | red heatmap PNG + JSON report |
123
123
  | `vision_colors` | Dominant colors (hex + share) | — |
124
124
  | `vision_ocr` | Text transcription: configurable default engine (`auto` / local Tesseract / vision model); an explicit per-call engine still wins | — |
125
- | `vision_trace` | SVG vectorization (potrace posterization; icons/logos) | SVG |
125
+ | `vision_trace` | SVG vectorization (VTracer posterization; icons/logos) | SVG |
126
126
  | `vision_extract_foreground` | Cutout via border flood fill (uniform backgrounds) | transparent PNG |
127
127
  | `vision_html_screenshot` | Screenshot a local HTML file (headless system Chrome); `fullPage: true` captures the whole page and reports `pageHeight` | PNG |
128
128
  | `vision_screenshot` | **Disabled by default; explicit opt-in required.** Capture the Windows virtual screen, macOS main display, or Linux root display. Windows uses PowerShell CopyFromScreen, macOS uses `screencapture`, and Linux requires ImageMagick `import` or `scrot`; optional `identify=true` tries enabled local recognition backends in order and returns the description with the path | PNG / + description |
@@ -248,7 +248,7 @@ Most DSH vision plugins bridge images to DeepSeek as *text descriptions* — los
248
248
 
249
249
  - **One command install.** The package ships its own composition patch (`dsh.bundle.patch`): `dsh plugin add` wires the row, the admission wrapper and the attachment limits automatically — zero manual file edits. Taking over the official DeepSeek route is an optional setting (stealth mode, off by default).
250
250
  - **Free by default.** Vision tools end with a four-model OVHcloud anonymous fallback: no account, no key, 2 requests/minute per IP per model, roughly 8 RPM in theory across independent buckets. User-provided vision models run first.
251
- - **No Python.** The whole pipeline — downscale, grounding, crop, pixel diff, palette, OCR, SVG trace, cutout, HTML screenshot — runs on sharp / potrace / tesseract / system Chrome.
251
+ - **No Python.** The whole pipeline — downscale, grounding, crop, pixel diff, palette, OCR, SVG trace, cutout, HTML screenshot — runs on sharp / VTracer / tesseract / system Chrome.
252
252
  - **Continuous multi-step image work.** An image turn is a text turn that calls tools: `vision_ground` → `vision_crop` → `vision_describe` → `vision_pixel_diff` → fix → screenshot again. The agent keeps iterating until the work is done.
253
253
  - **DeepSeek stays the brain.** Text turns are untouched in model, cost and context. The vision model is only the eyes, called on demand; answers are cached by image content.
254
254
  - **Transparent to the user.** Uploaded images keep rendering as images in the conversation UI; the rewrite that points the model at the vision tools happens only inside the model call, never in the session log.
@@ -422,7 +422,7 @@ ollama pull qwen2.5vl
422
422
  ## Requirements
423
423
 
424
424
  - DeepSeek Harness Web profile. Normal installs can use `npx @deepseek-ai/dsh ...`; source checkouts use `pnpm dsh ...`. A bare `dsh ...` command only works when the CLI is already on your shell `PATH`.
425
- - **DSH Host policy (unreleased DVR 3.2 candidate):** Minimum DSH 0.2.1-rc.5; currently recommended DSH 0.2.2-rc.1. DSH 0.1.x, 0.2.0 and earlier 0.2.1 prereleases are retired. DSH owns native Connection authentication, routing and trustedHosts. Older sessions, attachments and Settings data remain readable. See [new Host support window](docs/architecture/dsh-support-window.md) and [retirement plan](docs/architecture/dvr32-host-retirement.md).
425
+ - **DSH Host policy (DVR 3.2+ / 3.3.0 candidate):** Minimum DSH 0.2.1-rc.5; currently recommended DSH 0.2.2-rc.1. DSH 0.1.x, 0.2.0 and earlier 0.2.1 prereleases are retired. DSH owns native Connection authentication, routing and trustedHosts. Older sessions, attachments and Settings data remain readable. See [new Host support window](docs/architecture/dsh-support-window.md) and [retirement plan](docs/architecture/dvr32-host-retirement.md).
426
426
  - Node.js >=24.9.0 (Host side; Node 22 is retired).
427
427
  - No API key for the default free chain; a credential reference (`apiKeyEnv`) only for paid `httpProviders`.
428
428
  - Chrome / Chromium / Edge is needed only for `vision_html_screenshot`; every other tool works without a browser.
@@ -611,7 +611,7 @@ exploration (LLM7.io and OVHcloud anonymous tiers) by
611
611
 
612
612
  ## Release notes and community
613
613
 
614
- Release details: [v3.1.3 release candidate notes](docs/releases/v3.1.3.md). Check GitHub Releases or npm for the published version.
614
+ Release details: [v3.3.0 notes](docs/releases/v3.3.0.md). Check GitHub Releases or npm for the actually published version.
615
615
 
616
616
  <p align="center">
617
617
  <sub>Ecosystem:</sub>
package/README.zh.md CHANGED
@@ -22,7 +22,7 @@
22
22
  > **默认配置会让数据出网。** 使用云端视觉模型时,Vision Router 会将图片(或由它裁剪出的局部)、识图提示词及相关请求元数据发送给对应供应商。新安装默认开启 OVHcloud 匿名视觉兜底,因此“免费”和“免 Key”不等于离线。涉密、涉案、内部或其他受限材料请勿使用云端链路。详见[数据流向与严格纯本地配置](#数据流向与严格纯本地配置)。
23
23
 
24
24
  > [!WARNING]
25
- > **v3.2.0 正式版:** 最低要求 DSH >=0.2.1-rc.5 <0.3.0-0、Node.js >=24.9.0;本版本不再支持 DSH 0.1.x / 0.2.0 和 Node 22。Connection 鉴权及 trustedHosts 由 DSH 负责,插件只保留第三方 RPC 所需的最小启动顺序补丁。**不会自动迁移已有 Profile。** 升级前请先运行只读 `doctor --upgrade-preflight`,再单独验收旧会话数据、自定义配置和回滚方案;旧环境可继续使用 v3.1.5。详见 [v3.2.0 发布说明](docs/releases/v3.2.0.md)。
25
+ > **v3.3.0 次版本更新(正式发布状态请核实 GitHub Releases/npm):** 集成附件 ID/会话恢复的完整任务超时和权限加固、VTracer 独立进程隔离、Windows 兼容修复,以及 Mac ARM64/Windows x64 **用户自行安装**的 SHA-256 校验 PP-OCRv6/ncnn 主力 OCR 路线;`auto` 对不确定识别在授权和预算内核查。**npm 包不包含原生模型或可执行文件**,原生离线包公开分发仍须独立完成许可证和供应链审核。未安装原生 ncnn 时仍可回退到 Tesseract,也可以显式指定兼容引擎。最低要求仍为 DSH >=0.2.1-rc.5 <0.3.0-0、Node.js >=24.9.0;不自动迁移 Profile。默认云端视觉兜底可能发送图片,敏感内容应使用严格纯本地。升级前请备份、运行只读 `doctor --upgrade-preflight` 并保留回滚版本。详见 [v3.3.0 发布说明](docs/releases/v3.3.0.md)。
26
26
 
27
27
  ## 先用起来
28
28
 
@@ -102,7 +102,7 @@ Agent 仅根据参考图复刻 UI,再用 `vision_pixel_diff` 验证最终结
102
102
 
103
103
  默认 `progressiveTools: false`:14 个深看工具在插件启动时即注册。但**注册成功不等于所有会话都能调用**:须在当前聊天中打开 **Vision(视觉)**,该会话的 Agent 才能看到和调用视觉工具。Vision 关闭时,即使设置里 `tool: true`,也无法调用 `vision_colors`、`vision_ocr` 等工具。默认模式下**不会注册 `vision_activate`**。
104
104
 
105
- 需要渐进式挂载时,可在 profile / composition 的 `cordis.patch.yml` 中显式设置 `progressiveTools: true`。这时已开启 Vision 的会话初始可使用 `vision_activate`,激活后再挂载完整工具并注册 `vision-tools` 技能。该开关属于启动期配置,修改后需重启 DSH。全部工具基于 sharp / potrace / tesseract / 系统 Chrome——无 Python:
105
+ 需要渐进式挂载时,可在 profile / composition 的 `cordis.patch.yml` 中显式设置 `progressiveTools: true`。这时已开启 Vision 的会话初始可使用 `vision_activate`,激活后再挂载完整工具并注册 `vision-tools` 技能。该开关属于启动期配置,修改后需重启 DSH。全部工具基于 sharp / VTracer / tesseract / 系统 Chrome——无 Python:
106
106
 
107
107
  <p align="center">
108
108
  <img src="assets/vision-tools-zh.svg" width="100%" alt="DSH Vision Router 的 11 个图像处理工具。" />
@@ -122,7 +122,7 @@ Agent 仅根据参考图复刻 UI,再用 `vision_pixel_diff` 验证最终结
122
122
  | `vision_pixel_diff` | 逐像素对比:差异率 + 最差 8×8 网格区域 | 红色热力图 PNG + JSON 报告 |
123
123
  | `vision_colors` | 主色提取(十六进制 + 占比) | — |
124
124
  | `vision_ocr` | 文字转写:默认引擎可配置为 `auto` / 本地 Tesseract / 视觉模型;单次显式 engine 仍优先 | — |
125
- | `vision_trace` | SVG 矢量化(potrace 分色;图标/logo) | SVG |
125
+ | `vision_trace` | SVG 矢量化(VTracer 分色;图标/logo) | SVG |
126
126
  | `vision_extract_foreground` | 边界洪泛抠图(纯色背景) | 透明 PNG |
127
127
  | `vision_html_screenshot` | 给本地 HTML 文件截图(无头系统 Chrome);`fullPage: true` 截整页并返回 `pageHeight` | PNG |
128
128
  | `vision_screenshot` | **默认关闭,必须显式开启隐私开关。** 截取 Windows 虚拟屏幕、macOS 主显示器或 Linux 根窗口;Windows 使用 PowerShell CopyFromScreen,macOS 使用 `screencapture`,Linux 需安装 ImageMagick `import` 或 `scrot`;`identify=true` 可按顺序尝试已启用的本地识别后端并返回路径+识别文本 | PNG / +描述文本 |
@@ -248,7 +248,7 @@ Vision Router 在默认配置下不是完全离线工具。具体边界取决于
248
248
 
249
249
  - **一条命令安装。** 包自带组合补丁(`dsh.bundle.patch`):`dsh plugin add` 自动完成插件行挂载、准入包装与附件限制放宽——不用手改任何文件。是否接管官方 DeepSeek 路由由「隐身模式」开关决定(默认关)。
250
250
  - **默认免费。** 视觉工具最终兜底为 4 个 OVHcloud 匿名视觉模型:免注册、免 Key,每 IP、每模型 2 次/分钟,独立限额理论合计约 8 次/分钟;用户自备视觉模型会优先调用。
251
- - **无 Python。** 整条管线——缩放、定位、裁剪、像素对比、取色、OCR、SVG 矢量化、抠图、HTML 截图——全部基于 sharp / potrace / tesseract / 系统 Chrome。
251
+ - **无 Python。** 整条管线——缩放、定位、裁剪、像素对比、取色、OCR、SVG 矢量化、抠图、HTML 截图——全部基于 sharp / VTracer / tesseract / 系统 Chrome。
252
252
  - **可连续多步看图。** 图片轮 = 调用工具的文本轮:`vision_ground` → `vision_crop` → `vision_describe` → `vision_pixel_diff` → 修复 → 再截图,Agent 可以一直迭代到任务完成。
253
253
  - **DeepSeek 始终是大脑。** 文字轮在模型、成本、上下文上完全不动;视觉模型只当“眼睛”、按需调用,答案按图片内容缓存。
254
254
  - **界面无感。** 上传的图片在会话界面里照常显示为图片;指向视觉工具的改写只发生在模型输入层,从不写入会话日志。
@@ -426,7 +426,22 @@ ollama pull qwen2.5vl
426
426
  - 默认免费链路无需 API Key;付费 `httpProviders` 只需一个凭据引用(`apiKeyEnv`)。
427
427
  - 只有 `vision_html_screenshot` 需要 Chrome / Chromium / Edge;其余工具无浏览器也能用。
428
428
  - 桌面截屏必须显式开启。Windows/macOS 使用系统截屏能力;Linux 需安装 ImageMagick `import` 或 `scrot`,且必须处于可截取的桌面会话(Wayland 支持取决于环境)。
429
- - tesseract 可选。`vision_ocr` 默认使用 `ocrEngine: auto`(本地 Tesseract 优先、失败或空结果再回退视觉模型);也可在「设置 → 高级 → OCR 默认引擎」强制仅 Tesseract 或直接使用视觉模型,无需卸载 Tesseract。单次调用显式 `engine=tesseract|vision` 始终覆盖默认设置。
429
+ - tesseract 可选。`vision_ocr` 默认使用 `ocrEngine: auto`:在 **Mac ARM64 / Windows x64** 上优先使用已安装且 SHA-256 校验通过的 PP-OCRv6 small/ncnn,未安装或失败才使用本地 Tesseract,最后按照现有隐私设置决定是否回退视觉模型。其他系统暂时保持 Tesseract 优先。针对 Issue #836,Tesseract 自适应识别增加 PSM 7(单行);只有低置信度时才按需尝试底部字幕的灰度、放大与暗底反相预处理。`auto` 遇到非空但低置信度的本地结果时,在非严格本地模式、未触发熔断且剩余时间允许的情况下,可继续调用视觉模型核查(可能产生服务商用量);否则保留带不确定性标记的本地结果。仍可在「设置 → 高级 → OCR 默认引擎」强制仅 Tesseract 或直接使用视觉模型。单次调用显式 `engine=tesseract|vision` 始终优先,`engine=tesseract` 绝不触发云端视觉请求。
430
+
431
+ 本地安装已验证的 PP-OCRv6 引擎(Mac ARM64 已验证;Windows x64 已通过本地安装与正式 \`auto\` 调用,公开发行仍待最终审查):拿到经来源核验的单文件包后运行下面一条命令即可,不需要自行编译;安装器会逐项校验二进制与五个模型资产。当前两个包均为**本地验证候选,尚未上传公共 Release**;Windows 版本仍需完成许可证审核。
432
+
433
+ ```bash
434
+ node scripts/install-native-ocr.mjs --bundle /absolute/path/to/ppocrv6-small-darwin-arm64.tar.gz
435
+ # Windows x64 则使用 ppocrv6-small-win32-x64.tar.gz
436
+ ```
437
+
438
+ 维护者仍可使用原有两个路径参数安装已验证的本地产物:
439
+
440
+ ```bash
441
+ node scripts/install-native-ocr.mjs --binary /absolute/path/to/native-ocr-worker --models /absolute/path/to/ppocrv6-ncnn-models
442
+ ```
443
+
444
+ 安装成功后无需设置 `DVR_NCNN_OCR_CANARY` 等实验环境变量;`auto` 自动启用。若未安装则正常回退。**npm 包不包含任何原生二进制或模型权重**;来源和完整许可声明见 `THIRD_PARTY_NOTICES.md`。Linux 原生版本仍未获准进入默认路径;Windows x64 的本地安装需经明确选择且不提供公开发行包,详见许可声明。
430
445
 
431
446
  ## 安装与生命周期
432
447
 
@@ -605,7 +620,7 @@ npx dsh-vision-router doctor --profile web
605
620
 
606
621
  ## 版本公告与社区链接
607
622
 
608
- 版本更新详情:[v3.1.3 候选版更新说明](docs/releases/v3.1.3.md)。正式可安装版本请以 GitHub Releases 或 npm 为准。
623
+ 版本更新详情:[v3.3.0 发布说明](docs/releases/v3.3.0.md)。正式可安装版本请以 GitHub Releases 或 npm 为准。
609
624
 
610
625
  <p align="center">
611
626
  <sub>生态收录:</sub>
@@ -0,0 +1,167 @@
1
+ # Third-Party Notices
2
+
3
+ ## Optional local PP-OCRv6 / ncnn OCR engine (macOS ARM64 and Windows x64)
4
+
5
+ This npm package does **not** bundle native OCR binaries, model weights or conversion output.
6
+ Owners may install a single checksum-validated release archive using
7
+ `scripts/install-native-ocr.mjs --bundle /absolute/path/to/ppocrv6-small-darwin-arm64.tar.gz`.
8
+ The bundle is created by `scripts/package-native-ocr.mjs` from previously verified
9
+ source-linked binaries and models. Its contents are individually verified before installation,
10
+ and unknown archive members are refused. When available, `vision_ocr` auto mode uses
11
+ the local engine, otherwise it preserves Tesseract/vision fallback.
12
+
13
+ - PaddlePaddle PP-OCRv6 small detector model: `PP-OCRv6_small_det_onnx`,
14
+ revision `28fe5895c24fd108c19eb3e8479f4ab385fbfc62`,
15
+ upstream model card **Apache-2.0**:
16
+ https://huggingface.co/PaddlePaddle/PP-OCRv6_small_det_onnx
17
+ - PaddlePaddle PP-OCRv6 small recognizer model: `PP-OCRv6_small_rec_onnx`,
18
+ revision `b8f84f0b80c529de40b4fbb3544b84fa7233a513`,
19
+ upstream model card **Apache-2.0**:
20
+ https://huggingface.co/PaddlePaddle/PP-OCRv6_small_rec_onnx
21
+ - Dictionary `ppocr/utils/dict/ppocrv6_dict.txt`: PaddlePaddle/PaddleOCR
22
+ commit `dab3fe35379033fdcb2d0e9572fac0b36c9a9ebf`,
23
+ **Apache-2.0**.
24
+ - CPU inference engine: Tencent/ncnn
25
+ commit `d1f6ac67e9fc91390cc70f7168573fd2626f1d66`,
26
+ **BSD-3-Clause** plus its internally listed **BSD-2-Clause/zlib**
27
+ components. The unmodified upstream 6.3 KiB license/third-party attribution
28
+ text is included as `assets/licenses/ncnn-LICENSE.txt` with SHA-256
29
+ `7c974bac98848df46be1af5bdaa3c3c9c01f6082a90f55caeb7f60c6208aa255`.
30
+ - Full Apache 2.0 text: `assets/licenses/apache-2.0.txt`.
31
+
32
+ Windows x64 research candidate (not publicly released) uses LLVM-MinGW
33
+ 20261020 UCRT (official toolchain tarball SHA-256
34
+ `fd5462b7f5d93b2ff981fcd3f9c7e427e47f3203c64ea91c27bcc444eebd74cd`)
35
+ and explicitly `-static` to statically link `libc++`, `libunwind`, and
36
+ compiler runtime. Full original Apache-2.0 WITH LLVM Exceptions license is
37
+ `assets/licenses/llvm-mingw-LICENSE.txt` and the exact mingw-w64 runtime
38
+ notice is `assets/licenses/mingw-w64-runtime-COPYING.txt`.
39
+ Windows ncnn binary's actual PE import table lists only KERNEL32 and OS UCRT
40
+ API-set DLLs; no additional GNU/LLVM runtime DLLs. The mingw-w64 runtime notice contains a general disclosure about LGPL
41
+ Wine-imported headers/IDLs. The **actual** Windows build's Ninja dependency
42
+ graph contains 743 unique toolchain headers. After replacing the toolchain's
43
+ old GPL-with-GCC-only-exception \`stdarg.h\` with the pin-verified Apache-2.0
44
+ LLVM header and recompiling 549 affected objects, no GPL/LGPL-labeled header
45
+ remained in that observed dependency set. The sole Wine-origin header
46
+ (\`corecrt_stdio_config.h\`) explicitly declares **Public Domain**.
47
+ Full upstream notices are still retained even where a component is unused.
48
+ These checks cover the tested binary's identified build dependencies, not
49
+ a formal legal opinion, signed reproducible release or every LLVM/MinGW target.
50
+
51
+ The verified Mac ARM64 executable imports only the operating system's
52
+ `/usr/lib/libc++.1.dylib` and `/usr/lib/libSystem.B.dylib`; the npm package
53
+ does not redistribute them. **The tested Windows x64 binary's compiler/header/runtime source license
54
+ inventory is recorded and its discovered linked components have permissive
55
+ terms; a public release still requires clean build attestation and final
56
+ third-party notice review.** Linux remains excluded. Native binaries and
57
+ models are not included in the npm package or a public release.
58
+ The original ONNX and converted ncnn model hashes are pinned in
59
+ `quality/native-ocr-provenance-LAB.json` (research record, not a packaged
60
+ weight). The installed local asset directory includes copies of the two
61
+ license texts and a source notice.
62
+
63
+ dsh-vision-router is distributed under the MIT license; it is not a relicensing of its dependencies.
64
+ The versioned VTracer WASM package is distributed separately as an npm dependency.
65
+ This document records the vectorizer-related notices and a reviewed license snapshot.
66
+
67
+ ## Runtime direct dependencies
68
+
69
+ | Package | License |
70
+ | --- | --- |
71
+ | `@deepseek-ai/schemastery` | MIT |
72
+ | `@visioncortex/vtracer` | MIT OR Apache-2.0 (MIT selected) |
73
+ | `puppeteer-core` | Apache-2.0 |
74
+ | `semver` | ISC |
75
+ | `undici` | MIT |
76
+ | `zod` | MIT |
77
+
78
+ ## VTracer and compiled Rust components
79
+
80
+ - NPM package: `@visioncortex/vtracer@1.0.0-alpha.4`.
81
+ - Corresponding source tag: https://github.com/visioncortex/vtracer/tree/1.0.0-alpha.4
82
+ - Source commit: `2500df76b5aea0ac22d15296b22722442f825c5b`.
83
+ - License choice: MIT (the upstream package declares MIT OR Apache-2.0).
84
+ - Full MIT license including upstream copyright: `assets/licenses/vtracer-MIT.txt`.
85
+ - Apache-2.0, BSD-2-Clause, BSD-3-Clause, Zlib and Unicode-3.0 notice/license texts: `assets/licenses/`.
86
+ - unicode-ident additionally requires Unicode-3.0; its exact text is included.
87
+ - Per-crate original license texts and copyright attributions: `docs/compliance/vtracer-alpha4-rust-license-texts.md`.
88
+ - The Rust package inventory below was resolved from the exact source tag on 2026-11-11.
89
+ It is NOT proof of original prebuilt npm WASM dependency revisions; see
90
+ `docs/compliance/vtracer-alpha4-provenance.md`.
91
+
92
+ | Rust crate | Resolved version | Declared SPDX license |
93
+ | --- | --- | --- |
94
+ | [`adler2`](https://crates.io/crates/adler2/2.0.1) | 2.0.1 | `0BSD OR MIT OR Apache-2.0` |
95
+ | [`aliasable`](https://crates.io/crates/aliasable/0.1.3) | 0.1.3 | `MIT` |
96
+ | [`autocfg`](https://crates.io/crates/autocfg/1.5.1) | 1.5.1 | `Apache-2.0 OR MIT` |
97
+ | [`bit-vec`](https://crates.io/crates/bit-vec/0.6.3) | 0.6.3 | `MIT/Apache-2.0` |
98
+ | [`bitflags`](https://crates.io/crates/bitflags/2.13.2) | 2.13.2 | `MIT OR Apache-2.0` |
99
+ | [`bumpalo`](https://crates.io/crates/bumpalo/3.20.3) | 3.20.3 | `MIT OR Apache-2.0` |
100
+ | [`bytemuck`](https://crates.io/crates/bytemuck/1.25.2) | 1.25.2 | `Zlib OR Apache-2.0 OR MIT` |
101
+ | [`byteorder-lite`](https://crates.io/crates/byteorder-lite/0.1.0) | 0.1.0 | `Unlicense OR MIT` |
102
+ | [`cfg-if`](https://crates.io/crates/cfg-if/1.0.5) | 1.0.5 | `MIT OR Apache-2.0` |
103
+ | [`color_quant`](https://crates.io/crates/color_quant/1.1.0) | 1.1.0 | `MIT` |
104
+ | [`crc32fast`](https://crates.io/crates/crc32fast/1.5.5) | 1.5.5 | `MIT OR Apache-2.0` |
105
+ | [`either`](https://crates.io/crates/either/1.19.0) | 1.19.0 | `MIT OR Apache-2.0` |
106
+ | [`fdeflate`](https://crates.io/crates/fdeflate/0.3.7) | 0.3.7 | `MIT OR Apache-2.0` |
107
+ | [`flate2`](https://crates.io/crates/flate2/1.1.11) | 1.1.11 | `MIT OR Apache-2.0` |
108
+ | [`flo_curves`](https://crates.io/crates/flo_curves/0.3.1) | 0.3.1 | `Apache-2.0` |
109
+ | [`flo_curves`](https://crates.io/crates/flo_curves/0.8.1) | 0.8.1 | `Apache-2.0` |
110
+ | [`futures-core`](https://crates.io/crates/futures-core/0.3.34) | 0.3.34 | `MIT OR Apache-2.0` |
111
+ | [`futures-task`](https://crates.io/crates/futures-task/0.3.34) | 0.3.34 | `MIT OR Apache-2.0` |
112
+ | [`futures-util`](https://crates.io/crates/futures-util/0.3.34) | 0.3.34 | `MIT OR Apache-2.0` |
113
+ | [`gif`](https://crates.io/crates/gif/0.14.2) | 0.14.2 | `MIT OR Apache-2.0` |
114
+ | [`heck`](https://crates.io/crates/heck/0.4.1) | 0.4.1 | `MIT OR Apache-2.0` |
115
+ | [`image`](https://crates.io/crates/image/0.25.10) | 0.25.10 | `MIT OR Apache-2.0` |
116
+ | [`image-webp`](https://crates.io/crates/image-webp/0.2.4) | 0.2.4 | `MIT OR Apache-2.0` |
117
+ | [`itertools`](https://crates.io/crates/itertools/0.14.0) | 0.14.0 | `MIT OR Apache-2.0` |
118
+ | [`itertools`](https://crates.io/crates/itertools/0.8.2) | 0.8.2 | `MIT/Apache-2.0` |
119
+ | [`js-sys`](https://crates.io/crates/js-sys/0.3.107) | 0.3.107 | `MIT OR Apache-2.0` |
120
+ | [`miniz_oxide`](https://crates.io/crates/miniz_oxide/0.8.9) | 0.8.9 | `MIT OR Zlib OR Apache-2.0` |
121
+ | [`miniz_oxide`](https://crates.io/crates/miniz_oxide/0.9.1) | 0.9.1 | `MIT OR Zlib OR Apache-2.0` |
122
+ | [`moxcms`](https://crates.io/crates/moxcms/0.8.1) | 0.8.1 | `BSD-3-Clause OR Apache-2.0` |
123
+ | [`num-traits`](https://crates.io/crates/num-traits/0.2.19) | 0.2.19 | `MIT OR Apache-2.0` |
124
+ | [`ouroboros`](https://crates.io/crates/ouroboros/0.18.5) | 0.18.5 | `MIT OR Apache-2.0` |
125
+ | [`ouroboros_macro`](https://crates.io/crates/ouroboros_macro/0.18.5) | 0.18.5 | `MIT OR Apache-2.0` |
126
+ | [`pin-project-lite`](https://crates.io/crates/pin-project-lite/0.2.17) | 0.2.17 | `Apache-2.0 OR MIT` |
127
+ | [`png`](https://crates.io/crates/png/0.18.1) | 0.18.1 | `MIT OR Apache-2.0` |
128
+ | [`proc-macro2`](https://crates.io/crates/proc-macro2/1.0.107) | 1.0.107 | `MIT OR Apache-2.0` |
129
+ | [`proc-macro2-diagnostics`](https://crates.io/crates/proc-macro2-diagnostics/0.10.1) | 0.10.1 | `MIT/Apache-2.0` |
130
+ | [`pxfm`](https://crates.io/crates/pxfm/0.1.30) | 0.1.30 | `BSD-3-Clause OR Apache-2.0` |
131
+ | [`quick-error`](https://crates.io/crates/quick-error/2.0.1) | 2.0.1 | `MIT/Apache-2.0` |
132
+ | [`quote`](https://crates.io/crates/quote/1.0.47) | 1.0.47 | `MIT OR Apache-2.0` |
133
+ | [`roots`](https://crates.io/crates/roots/0.0.6) | 0.0.6 | `BSD-2-Clause` |
134
+ | [`roots`](https://crates.io/crates/roots/0.0.8) | 0.0.8 | `BSD-2-Clause` |
135
+ | [`rustversion`](https://crates.io/crates/rustversion/1.0.23) | 1.0.23 | `MIT OR Apache-2.0` |
136
+ | [`serde`](https://crates.io/crates/serde/1.0.229) | 1.0.229 | `MIT OR Apache-2.0` |
137
+ | [`serde_core`](https://crates.io/crates/serde_core/1.0.229) | 1.0.229 | `MIT OR Apache-2.0` |
138
+ | [`serde_derive`](https://crates.io/crates/serde_derive/1.0.229) | 1.0.229 | `MIT OR Apache-2.0` |
139
+ | [`serde-wasm-bindgen`](https://crates.io/crates/serde-wasm-bindgen/0.6.5) | 0.6.5 | `MIT` |
140
+ | [`simd-adler32`](https://crates.io/crates/simd-adler32/0.3.10) | 0.3.10 | `MIT` |
141
+ | [`slab`](https://crates.io/crates/slab/0.4.12) | 0.4.12 | `MIT` |
142
+ | [`smallvec`](https://crates.io/crates/smallvec/1.16.5) | 1.16.5 | `MIT OR Apache-2.0` |
143
+ | [`static_assertions`](https://crates.io/crates/static_assertions/1.1.0) | 1.1.0 | `MIT OR Apache-2.0` |
144
+ | [`syn`](https://crates.io/crates/syn/2.0.119) | 2.0.119 | `MIT OR Apache-2.0` |
145
+ | [`syn`](https://crates.io/crates/syn/3.0.10) | 3.0.10 | `MIT OR Apache-2.0` |
146
+ | [`unicode-ident`](https://crates.io/crates/unicode-ident/1.0.27) | 1.0.27 | `(MIT OR Apache-2.0) AND Unicode-3.0` |
147
+ | [`version_check`](https://crates.io/crates/version_check/0.9.5) | 0.9.5 | `MIT/Apache-2.0` |
148
+ | [`visioncortex`](https://crates.io/crates/visioncortex/0.9.3) | 0.9.3 | `MIT OR Apache-2.0` |
149
+ | [`vtracer`](https://crates.io/crates/vtracer/1.0.0-alpha.4) | 1.0.0-alpha.4 | `MIT OR Apache-2.0` |
150
+ | [`vtracer-wasm`](https://crates.io/crates/vtracer-wasm/1.0.0-alpha.4) | 1.0.0-alpha.4 | `MIT OR Apache-2.0` |
151
+ | [`wasm-bindgen`](https://crates.io/crates/wasm-bindgen/0.2.130) | 0.2.130 | `MIT OR Apache-2.0` |
152
+ | [`wasm-bindgen-macro`](https://crates.io/crates/wasm-bindgen-macro/0.2.130) | 0.2.130 | `MIT OR Apache-2.0` |
153
+ | [`wasm-bindgen-macro-support`](https://crates.io/crates/wasm-bindgen-macro-support/0.2.130) | 0.2.130 | `MIT OR Apache-2.0` |
154
+ | [`wasm-bindgen-shared`](https://crates.io/crates/wasm-bindgen-shared/0.2.130) | 0.2.130 | `MIT OR Apache-2.0` |
155
+ | [`weezl`](https://crates.io/crates/weezl/0.1.12) | 0.1.12 | `MIT OR Apache-2.0` |
156
+ | [`yansi`](https://crates.io/crates/yansi/1.0.1) | 1.0.1 | `MIT OR Apache-2.0` |
157
+ | [`zlib-rs`](https://crates.io/crates/zlib-rs/0.6.8) | 0.6.8 | `Zlib` |
158
+ | [`zune-core`](https://crates.io/crates/zune-core/0.5.3) | 0.5.3 | `MIT OR Apache-2.0 OR Zlib` |
159
+ | [`zune-jpeg`](https://crates.io/crates/zune-jpeg/0.5.15) | 0.5.15 | `MIT OR Apache-2.0 OR Zlib` |
160
+
161
+ All crates in this independent resolution have a declared license; none declares GPL, LGPL, or AGPL.
162
+ This summary does not waive upstream attribution, notice or source obligations.
163
+
164
+ ## Note on prior releases
165
+
166
+ Earlier DVR versions used `potrace@2.1.8`, which declares GPL-2.0.
167
+ This change removes it. Historical distribution legal obligations need separate review.
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.