hyperhive/hive-c0re/assets
müde cb71a07300 dashboard: clickable file-path previews
agents constantly emit pointer strings to /agents/<n>/state/foo.md
since broker bodies cap at 1 KiB. now those tokens linkify in the
message flow, question bodies, answer text, and operator inbox;
clicking expands an inline <details> that lazy-fetches via the
new /api/state-file?path=... endpoint.

endpoint allow-list: per-agent state dirs + shared docs, both
in their container-mount form (/agents/<n>/state, /shared) and
host form (/var/lib/hyperhive/...). 1 MiB read cap; canonicalises
before the prefix check so `..` / symlinks can't escape.

legacy bare `/state/...` is deliberately not matched — ambiguous
from the host's perspective (we'd need to know which agent the
message references to translate). agents should use the qualified
form going forward.
2026-05-17 22:08:15 +02:00
..
app.js dashboard: clickable file-path previews 2026-05-17 22:08:15 +02:00
dashboard.css dashboard: clickable file-path previews 2026-05-17 22:08:15 +02:00
index.html dashboard: msgflow uses shared terminal + backfill via /messages/history 2026-05-17 11:56:29 +02:00