mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-22 16:51:16 +00:00
* perf(ui): drop typebox from Control UI startup by lazy-loading the approval page The approval document page was statically registered in app-host, pulling the protocol validators and the full typebox runtime (schemas, value checks, formats, locales) into every Control UI boot even though the page only renders for /approve document URLs. - register openclaw-approval-page through the existing OptionalCustomElement seam, preloaded only when bootstrap resolves an approval document mode; the approval document's booting splash covers the load gap - ratchet startup budgets to the new baseline (340 KiB gzip, 20 requests) so the win cannot silently regress Startup JS: 369.1 -> 321.8 KiB gzip (-13%), 22 -> 13 requests. * chore(ui): record approval-page label in i18n raw-copy baseline