Offline-Ready Web UI
The web UI now works in environments without internet access. CDN dependencies (htmx, Tailwind, DaisyUI, xterm.js) are automatically downloaded and bundled during the build process.
What's New
- Vendored assets: JS/CSS libraries are bundled into the wheel at build time
- Zero runtime dependencies on CDNs: The installed package works completely offline
- License compliance:
LICENSES.txtbundled with attribution for all vendored libraries - Development unchanged: Source HTML still uses CDN links for faster iteration
Technical Details
A Hatch build hook (hatch_build.py) parses base.html for elements with data-vendor attributes, downloads the assets, and rewrites the HTML to use local /static/vendor/ paths. If any download fails, the build fails loudly.
Full Changelog: v0.19.0...v0.20.0