Skip to content

v1.2.1 - Dashboard Chat WebSocket lifecycle fix

Choose a tag to compare

@WolframRavenwolf WolframRavenwolf released this 17 Jun 22:19
· 8 commits to main since this release

Fixed

  • Keep Dashboard Chat WebSockets open behind Home Assistant Ingress by enabling ingress_stream and rewriting proxied dashboard API Origin headers to the dashboard backend host.
  • Fix direct-port Dashboard Chat WebSocket authentication when browsers send Basic auth plus the SPA ?token= query parameter.

Verified

  • git diff --check - OK.
  • bash -n hermes_agent/nginx-render.sh hermes_agent/run.sh hermes_agent/profile-init.sh - OK.
  • python3 -m py_compile hermes_agent/dashboard-patches.py tests/test_dashboard_ingress_patches.py tests/test_multi_profile.py - OK.
  • YAML parse checks for repository.yaml, hermes_agent/build.yaml, hermes_agent/config.yaml, and hermes_agent/translations/en.yaml - OK.
  • uv run --with pytest python -m pytest -q tests/test_dashboard_ingress_patches.py - 21 passed.
  • uv run --with pytest python -m pytest -q - 53 passed, 1 skipped.
  • Live Home Assistant local DEV add-on lifecycle smoke - /dashboard/api/pty streamed binary TUI frames, /dashboard/api/ws emitted gateway.ready, and /dashboard/api/events stayed open through both HA Ingress and direct HTTPS access.
  • Devin Review on PR #24 completed successfully with 0 bugs.

Related