feat(webui): add page-head extension point to index.html
Adds an x-extension injection point inside <head> so plugins can inject <script> and <link> tags at page load time. This enables plugins to load vendor libraries (e.g. mermaid.js, custom fonts) via the standard extension mechanism rather than dynamic DOM manipulation from JS extension hooks. Consistent with existing sidebar-start and sidebar-end extension points. Zero impact on existing functionality.
Agent Zero committed
Mar 26, 2026 at 22:13 UTC
abd7ac08bbb79588524a1e5b87c0852de1379cd6
1 file changed
+2
webui/index.html
+2
@@ -71,6 +71,8 @@
71
loggedIn: "{{logged_in}}" === "true",
72
};
73
</script>
74
+ <!-- Plugin head injections (scripts, stylesheets) -->
75
+ <x-extension id="page-head"></x-extension>
76
</head>
77
78
<body class="dark-mode device-pointer" x-data>