hyperhive/hive-c0re
iris 270ef19920 dashboard: add per-agent ctx-window usage chip to container rows
Reads the most recent turn's context-window token count directly from
each agent's hyperhive-turn-stats.sqlite (same path the host-side
stats_vacuum uses). Adds ctx_tokens: Option<u64> to ContainerView;
populated in build_all via a single best-effort SQL query.

Dashboard app.js renders a 'ctx·Nk' badge colour-coded by harness
watermarks: green <100k (safe), yellow 100-150k (near auto-reset),
red ≥150k (compact territory). Badge only shown when ctx_tokens
is present (agent has run at least one turn).

Closes #17
2026-05-20 15:01:28 +02:00
..
assets dashboard: add per-agent ctx-window usage chip to container rows 2026-05-20 15:01:28 +02:00
src dashboard: add per-agent ctx-window usage chip to container rows 2026-05-20 15:01:28 +02:00
Cargo.toml css: route palette + body typography through hive-fr0nt::BASE_CSS 2026-05-17 11:47:45 +02:00