hyperhive/hive-ag3nt/assets
iris 2027e94432 harness: add /screen page and /screen/ws WebSocket VNC relay
Reads /etc/hyperhive/gui.json at startup to get the VNC port written
by the weston-vnc ExecStart script (issue #50). Adds:
- gui_vnc_port: Option<u16> on AppState
- gui_enabled: bool on StateSnapshot (for issue #52 screen link)
- GET /screen: serves a minimal RFB-over-WebSocket viewer (screen.html)
- GET /screen/ws: upgrades to WebSocket and byte-pumps to 127.0.0.1:<vnc_port>

The relay is a pure two-task byte pump (WS→TCP and TCP→WS), transparent
to any RFB variant including VeNCrypt. Returns 404 when gui is not
enabled.

screen.html is a self-contained RFB client: handshake, FramebufferUpdate
(Raw encoding), pointer and keyboard forwarding — enough to display the
desktop and interact with it. noVNC assets (issue #52) replace this.

Closes #51
2026-05-20 14:38:42 +02:00
..
agent.css agent ui: answer questions inline from the per-agent page 2026-05-20 10:01:12 +02:00
app.js docs: move backlog to forge issue tracker, extract boundary doc 2026-05-20 12:19:16 +02:00
index.html stats: per-agent /stats page with chart.js trends + breakdowns 2026-05-19 00:27:01 +02:00
screen.html harness: add /screen page and /screen/ws WebSocket VNC relay 2026-05-20 14:38:42 +02:00
stats.html stats: per-bucket turns-by-model chart 2026-05-20 10:58:14 +02:00
stats.js stats: per-bucket turns-by-model chart 2026-05-20 10:58:14 +02:00