hyperhive/frontend/packages/dashboard/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris fbc41d42a6 dashboard: build same-origin /agent/<name>/ links when gateway is up (closes #842)
When `services.hyperhive.gateway.enable` is on (default), the c0re
NixOS module now sets `HIVE_GATEWAY_ENABLED=1` on the service env.
`/api/state` exposes the flag as `gateway_enabled`; the SW4RM tab's
container-row renderer flips three link sites (primary agent-name
link, favicon fetch, `container`-kind nav-strip links) from the
legacy `http://<host>:<port>/` direct TCP shape to same-origin
`/agent/<name>/` URLs — the gateway proxies them to the per-agent
harness via `agent-ports.json` or `agent-sockets.json` (#784 / #815).
Gateway-off deploys keep the direct TCP fallback so local-dev /
operator opt-out keeps working.

`forge`-kind nav-strip links still resolve against `:3000` (separate
sub-domain transition, tracked by `forge.behindGateway`);
`external`-kind links are already absolute.

Mirrors the `HIVE_MATRIX_GUI_ENABLED` env→snapshot-flag pattern.
Docs updated: `docs/web-ui.md::Container row` + new
`docs/gateway.md::Dashboard link shape` section.
2026-05-31 17:16:53 +02:00
..
common.js common.js + flow.js + index.html + flow.html: cookie scrub + doc pointers (#712 batch 13 cont.) 2026-05-31 15:09:54 +02:00
dashboard.css dashboard: fix rebuild spinner shape (#804) 2026-05-31 15:36:38 +02:00
flow.html common.js + flow.js + index.html + flow.html: cookie scrub + doc pointers (#712 batch 13 cont.) 2026-05-31 15:09:54 +02:00
flow.js common.js + flow.js + index.html + flow.html: cookie scrub + doc pointers (#712 batch 13 cont.) 2026-05-31 15:09:54 +02:00
index.html common.js + flow.js + index.html + flow.html: cookie scrub + doc pointers (#712 batch 13 cont.) 2026-05-31 15:09:54 +02:00
stream-worker.js stream-worker: honest comment on heartbeat catch (argus nit on #529) 2026-05-27 23:40:38 +02:00
tabs.js dashboard: build same-origin /agent/<name>/ links when gateway is up (closes #842) 2026-05-31 17:16:53 +02:00