# Third-party code in /tools/dev

All files are served from this site; nothing is loaded from a CDN at run time.

| Library | Version | Licence | File | Source |
|---|---|---|---|---|
| js-yaml | 4.1.0 | MIT | `js-yaml.min.js` | https://github.com/nodeca/js-yaml |
| smol-toml | 1.3.1 | BSD-3-Clause | `smol-toml.mjs` | https://github.com/squirrelchat/smol-toml |
| js-beautify | 1.15.1 | MIT | `beautify-js.js`, `beautify-css.js`, `beautify-html.js` | https://github.com/beautifier/js-beautify |
| pdf-lib | 1.17.1 | MIT | `pdf-lib.min.js` | https://github.com/Hopding/pdf-lib |
| PDF.js (pdfjs-dist) | 3.11.174 | Apache-2.0 | `pdf.min.js`, `pdf.worker.min.js` | https://github.com/mozilla/pdf.js |
| jsQR | 1.4.0 | Apache-2.0 | `jsQR.js` | https://github.com/cozmo/jsQR |
| QR Code generator (Project Nayuki) | n/a (copy of /tools/qr/) | MIT | `qrcodegen.js` (same file as /tools/qr/) | https://www.nayuki.io/page/qr-code-generator-library |
| WebLLM (@mlc-ai/web-llm) | 0.2.86 (npm, sha512 integrity checked) | Apache-2.0 | `web-llm.mjs` (lib/index.js, source map line removed), `web-llm.LICENSE` | https://github.com/mlc-ai/web-llm |
| qrcodegen (QR page) | n/a | MIT | `/tools/qr/qrcodegen.js` | https://www.nayuki.io/page/qr-code-generator-library |

Each file keeps its own licence header. Apache-2.0 text: https://www.apache.org/licenses/LICENSE-2.0

The Assistant's offline model files (Qwen2.5 1.5B / 3B Instruct, MLC q4f16_1 builds, and their WebGPU model libraries) are not
part of this site: the browser downloads them from huggingface.co/mlc-ai and github.com/mlc-ai/binary-mlc-llm-libs after the
visitor agrees (Qwen2.5 is published under the Apache-2.0 licence; see each model card).
