mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-07-28 18:23:34 +00:00
Introduce a UI asset bundler and delivery flow: adds helpers/ui_bundler.py to discover same-origin HTML/CSS/JS (<=40KiB), build a versioned JSON bundle, and serialize it for an authenticated /ui/asset-bundle endpoint (handlers added in helpers/ui_server.py with gzip and ETag support). Add webui/sw.js service-worker to accept a preload bundle, populate a per-version cache, serve bundled text entries immediately, and perform runtime caching/cleanup for eligible assets. Update webui/index.html to fetch the bundle asynchronously, send it to the worker, register the worker by bundle version, inline a non-blocking startup splash, and convert stylesheets to non-blocking preload loads. Expose extension readiness from webui/js/extensions.js (webui-extensions-loaded) so startup waits for Alpine and HTML extension loading. Add tests covering bundler behavior, service-worker expectations, and startup ordering. |
||
|---|---|---|
| .. | ||
| AGENTS.md | ||
| AlpineStore.js | ||
| api.js | ||
| cache.js | ||
| components.js | ||
| confirmClick.js | ||
| confirmDialog.js | ||
| css.js | ||
| device.js | ||
| extensions.js | ||
| html-links.js | ||
| initFw.js | ||
| initializer.js | ||
| manifest.json | ||
| messages.js | ||
| modals.js | ||
| safe-markdown.js | ||
| scroller.js | ||
| shortcuts.js | ||
| sleep.js | ||
| stt-service.js | ||
| surfaces.js | ||
| sw.js | ||
| time-utils.js | ||
| timeout.js | ||
| transformers@3.0.2.js | ||
| tts-service.js | ||
| websocket.js | ||