HERMES-GIELIE/docs
nesquena-hermes 6d8135df3a feat(extensions): theme-registration capability — registerHermesSkin()
Lets a trusted local extension contribute a custom skin to the NATIVE
Settings -> Appearance picker (instead of a parallel theme switcher).
window.registerHermesSkin(descriptor) validates + sanitizes the skin in
core, once, so every theme extension inherits the guard:
- token names restricted to a documented allowlist
- values sanitized against a strict color/dimension regex (rejects url(),
  expression(), semicolons, braces, and other CSS-injection vectors)
- reserved built-in skin keys cannot be overwritten
- descriptor with no valid tokens is refused
- idempotent re-register (updates in place) for a live theme editor

Injects a managed <style> for the :root[data-skin] tokens, appends to
_SKINS + _VALID_SKINS, refreshes the picker, and re-applies a persisted
selection that was waiting on a late-registered skin.

Unblocks theme-pack and theme-creator extensions. Documented in
docs/EXTENSIONS.md. Regression test drives the real registration +
sanitization logic via a Node harness (adversarial input).

Full suite: 10874 passed, 0 failed.
2026-06-28 05:22:26 +00:00
..
architecture fix(anchor): preserve settled mixed content order (#4958) 2026-06-27 22:54:29 +00:00
images docs: add clarify dialog screenshot evidence 2026-05-25 16:25:11 +08:00
pr-assets fix(ui): restore rail-era app titlebar state (v0.50.226) (#1163) 2026-04-27 11:43:32 -07:00
pr-media Release v0.51.238 — Release HF (stage-q9) (#3493) 2026-06-03 12:23:46 -07:00
rfcs fix(anchor): harden registry contract before wiring 2026-06-13 00:44:26 +08:00
ui-ux chore(#4024): drop docs/ui-ux/review-shots/ trifecta scratch from the release diff 2026-06-13 02:15:01 +00:00
advanced-chat-setup.md docs(readme): re-sequence IA — pull Features up, consolidate access, extract niche docs 2026-06-01 02:26:18 +00:00
CONTRACTS.md Release LW stage — v0.51.359 (#3962 assistant turn anchor phase 0 scaffold) (#3977) 2026-06-10 23:14:18 -07:00
docker.md stage #4491: multi-container gateway URL (#4483) + v0.51.517 CHANGELOG 2026-06-19 19:09:00 +00:00
EXTENSIONS.md feat(extensions): theme-registration capability — registerHermesSkin() 2026-06-28 05:22:26 +00:00
ISSUES.md fix(#1195): route sessions to profile dir even when dir doesn't exist yet (#1373) 2026-04-30 23:24:31 +00:00
onboarding-agent-checklist.md docs: add agent onboarding entrypoint 2026-05-13 16:47:14 +08:00
onboarding.md docs(onboarding): place AIML setup with custom-provider guidance (#4045) 2026-06-12 12:41:43 -04:00
remote-access.md docs(readme): re-sequence IA — pull Features up, consolidate access, extract niche docs 2026-06-01 02:26:18 +00:00
supervisor.md fix: block duplicate webui start when launchd owns 8787 2026-05-31 23:02:23 +00:00
troubleshooting.md fix(bootstrap): discover agent installed as root (FHS) or behind the bash launcher 2026-06-21 16:55:40 +00:00
UIUX-GUIDE.md [HELD — independent review pending] Release v0.51.294 — stage-3401 (live-to-final redesign #3401 + 4 deep-review fixes) (#3741) 2026-06-06 12:12:37 -07:00
why-hermes.md docs: move Hermes overview out of agent context root 2026-05-19 23:55:58 -07:00
workspace-git.md Release v0.51.311 — Release KA (brick-wave: workspace Git RCE hardening #3769 + stale-snapshot sidebar visibility #3770) (#3776) 2026-06-07 08:05:30 -07:00
wsl-autostart.md docs: add WSL WebUI autostart helpers 2026-05-05 01:12:07 +00:00