agent-zero/webui/js
frdel 0329003b65 Add UI asset bundler, service worker, tests
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.
2026-07-28 16:10:48 +02:00
..
AGENTS.md Add UI asset bundler, service worker, tests 2026-07-28 16:10:48 +02:00
AlpineStore.js parse LLM chunk fix, alpine store state save/load 2025-12-02 12:36:42 +01:00
api.js feat(login): Implement secure post-login redirection 2026-06-02 21:54:48 -07:00
cache.js feat(plugins): Add extensibility and hooks system to plugin API 2026-03-12 13:21:33 +01:00
components.js Revert "Prevent WebUI extension loading stalls" 2026-07-18 13:32:52 +02:00
confirmClick.js Refactor extensions to async/sync API 2026-03-06 11:32:08 +01:00
confirmDialog.js marketplace polish; add confirm-dialog extension hook and plugin_scan marketplace note 2026-03-09 11:41:10 +01:00
css.js merge prep 2025-06-30 16:16:51 +02:00
device.js cleanups and fixes 2025-07-12 20:55:53 +02:00
extensions.js Add UI asset bundler, service worker, tests 2026-07-28 16:10:48 +02:00
html-links.js sanitize plugin markdown rendering with shared helper 2026-03-28 19:29:26 +01:00
initFw.js Split live surfaces out of modals 2026-05-07 00:14:31 +02:00
initializer.js cleanups and fixes 2025-07-12 20:55:53 +02:00
manifest.json v0.9.5-pre cleanup, polishing, bugfixing 2025-08-25 09:59:44 +02:00
messages.js Add /stop API and stop-button UI/behavior 2026-07-28 09:26:06 +02:00
modals.js Preserve surface windows across refresh 2026-06-23 18:28:16 +02:00
safe-markdown.js Polish native Markdown editor experience 2026-05-15 04:47:24 +02:00
scroller.js code exec reset polish, history and scroller fix 2026-02-05 16:47:38 +01:00
shortcuts.js project finalizing, openrouter embeddings 2025-11-13 08:52:45 +01:00
sleep.js secrets polishing 2025-08-15 09:35:30 +02:00
stt-service.js Refactor speech stack into built-in Kokoro TTS and Whisper STT plugins 2026-05-21 05:41:59 +02:00
surfaces.js Preserve surface windows across refresh 2026-06-23 18:28:16 +02:00
sw.js Implement Progressive Web App (PWA) installation support (#688) 2025-08-20 08:27:08 +02:00
time-utils.js Refactor: use user locale for time displays 2026-05-21 15:26:00 +02:00
timeout.js x-components + mcp wip 2025-06-02 09:48:25 +02:00
transformers@3.0.2.js Squashed commit of the following: 2024-12-08 00:27:02 +01:00
tts-service.js Refactor speech stack into built-in Kokoro TTS and Whisper STT plugins 2026-05-21 05:41:59 +02:00
websocket.js Refactor: use user locale for time displays 2026-05-21 15:26:00 +02:00