Commit Graph
3 Commits
Author SHA1 Message Date
Alessandro cab075307e fix(chat-naming): validate names before marking them manual
Validate custom /rename names before setting the persisted manual-name flag. A rejected name must leave automatic naming enabled.

Add a regression test for a name exceeding the 200-character limit.
2026-10-13 13:48:31 +02:00
Li-john1021 3e87172178 fix(chat-naming): preserve manual names under always mode (#1941) 2026-10-13 13:30:28 +08:00
frdel bebe6826cf Improve WebUI bundling, manifest and stop command
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.
2026-07-29 19:49:07 +02:00