docs(web-ui/agent): add GET /api/bash-tasks and GET /icon to endpoint list

This commit is contained in:
iris 2026-07-02 21:08:58 +02:00 committed by mara
commit 7d8ca1f63a

View file

@ -327,9 +327,18 @@ shaped).
flyout (`renderLooseEnds`). Returns pending questions the agent asked
or owes, plus pending reminders. Also calls `reconcileAskBinds()` to
wire inline answer forms to open `question_asked` events.
- `GET /api/bash-tasks` — in-flight bash-task snapshot; returns only
`Pending` and `Running` tasks (completed/killed tasks are excluded).
Consumed by the running-bash-tasks flyout.
- `GET /api/stats?window=24h|7d|30d|all` — time-bucketed turn analytics
`Snapshot` consumed by the `/stats` page. `all` ranges from the
earliest recorded turn with an adaptive bucket width.
- `GET /icon` — agent's icon as `image/svg+xml`. Returns
`/etc/hyperhive/icon.svg` (set via `hyperhive.icon` in `agent.nix`)
when present, otherwise the bundled default hyperhive logo. Always
returns an image — consumers (dashboard container row, per-agent
favicon) can hit `/icon` unconditionally without probing for a
custom config.
- `GET /events/history` — replay buffer for the terminal.
- `GET /screen` — VNC viewer page (minimal RFB-over-WebSocket
renderer — deliberately thin, just enough to display the