feat(plugins): add WebUI dashboard plugin system with iframe isolation (#2622, @pix0127)

This commit is contained in:
nesquena-hermes
2026-06-02 02:48:11 +00:00
parent 3cafec3004
commit bf3ff69c5e
10 changed files with 538 additions and 8 deletions

View File

@@ -565,6 +565,13 @@ def main() -> None:
except Exception as e:
print(f'[!!] WARNING: Gateway watcher failed to start: {e}', flush=True)
# Load WebUI dashboard plugins
try:
from api.plugins import load_plugins
load_plugins()
except Exception as e:
print(f'[!!] WARNING: Plugin loading failed: {e}', flush=True)
httpd = QuietHTTPServer((HOST, PORT), Handler)
# ── TLS/HTTPS setup (optional) ─────────────────────────────────────────