mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-08-25 00:06:30 +00:00
Introduce a WebUI extension manifest and rewrite the asset bundler/server to support caller-supplied entry sets, extension-injected entries, and negotiated gzip. Key changes: add get_webui_extension_manifest() to helpers/extension, refactor Stop logic into stop_context() and reuse it from the connector `/stop` command, and add a new `/rename` slash command for chat naming. ui_bundler now accepts entry_urls, includes enabled extension entry files, raises the embedded text file size limit to 512 KiB, computes per-entry-set cache keys, and returns a bundle version based on the bundle signature. ui_server applies Starlette GZip middleware, adds routes (/, /index.html, /ui/index, /safe), serves splash/safe documents, injects the serialized webui_extension_manifest into the rendered index, and streamlines the /ui/asset-bundle endpoint with ETag and gzip handling. Also add multiple WebUI assets and fonts, new/updated plugin command YAML and Python command handlers, and corresponding tests covering bundling, commands, chat naming, and WebUI behaviors. Documentation (.dox.md) updated to reflect the new runtime contracts and guidance. |
||
|---|---|---|
| .. | ||
| AGENTS.md | ||
| fonts.css | ||
| README.md | ||
| roboto-mono-italic-variable.ttf | ||
| roboto-mono-OFL.txt | ||
| roboto-mono-variable.ttf | ||
| rubik-italic-variable.ttf | ||
| rubik-OFL.txt | ||
| rubik-variable.ttf | ||
Vendored WebUI fonts
Rubik and Roboto Mono are vendored from the official
google/fonts repository at commit
7ff85c87f93ea6cca5f41c69f2e4edcb90240f26.
| Local artifact | Upstream artifact | License |
|---|---|---|
rubik-variable.ttf |
ofl/rubik/Rubik[wght].ttf |
rubik-OFL.txt |
rubik-italic-variable.ttf |
ofl/rubik/Rubik-Italic[wght].ttf |
rubik-OFL.txt |
roboto-mono-variable.ttf |
ofl/robotomono/RobotoMono[wght].ttf |
roboto-mono-OFL.txt |
roboto-mono-italic-variable.ttf |
ofl/robotomono/RobotoMono-Italic[wght].ttf |
roboto-mono-OFL.txt |
fonts.css exposes the upstream variable weight ranges through local
@font-face declarations. The WebUI must not fall back to a remote font host.