hyperhive/frontend/packages/agent/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 5eefaa951d Simplify terminal message shape to a uniform TermMsg
Move terminal-row classification server-side into a new
hive-agent/src/term_msg.rs, replacing the old JSON-mutation
enrich()/stamped-field approach in stream_enrich.rs with one
uniform wire shape: {icon?, level: debug|info|warn|error, summary,
body?, body_format?: markdown|diff, coalesce_key?}. No more per-row
`kind` tag or raw claude-JSON passthrough — every row is the same
shape, with structural identity carried by icon + summary text
instead of a CSS class per row kind.

hive-agent/src/web_ui/stream.rs's history + SSE endpoints now both
call term_msg::classify() and serve TermEnvelope{ts, seq?, msgs}
frames; events that classify to zero rows (agent-state changes,
drop-noise) never reach the wire.

Frontend: classifyEvent.ts collapses from a large per-tool dispatch
tree to a thin TermMsg -> StreamRow adapter. streamRow.ts/Row.tsx
drop the now-dead meta/childText fields. terminal.css switches from
a dozen-odd per-row-kind classes to four level-based color rules.
Expand/collapse of a bodied row is now a uniform client-side
decision (the operator's preference), no server-side per-tool
override.

docs/terminal-rendering.md rewritten to match.
2026-08-30 21:11:25 +02:00
..
components Simplify terminal message shape to a uniform TermMsg 2026-08-30 21:11:25 +02:00
hooks Simplify terminal message shape to a uniform TermMsg 2026-08-30 21:11:25 +02:00
lib Simplify terminal message shape to a uniform TermMsg 2026-08-30 21:11:25 +02:00
agent.css agent page: consolidate alive/thinking/paused into one status badge 2026-08-30 15:12:03 +02:00
colors.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
css.d.ts agent: scaffold Preact rewrite, Header + StatusChips first slice 2026-08-28 22:05:13 +02:00
index.html agent: remove rebuild button, move dashboard link into the links menu 2026-08-28 23:40:56 +02:00
main.tsx agent: cutover — index.html now serves the Preact rewrite, app.js deleted 2026-08-28 23:14:52 +02:00
Root.tsx Simplify terminal message shape to a uniform TermMsg 2026-08-30 21:11:25 +02:00
screen.html docs(web-ui/agent): add back-link nav + fix stale doc pointer in screen.html 2026-06-29 00:31:06 +02:00
stats.html feat(#2659): serve hive-bash-mcp over persistent streamable-http, drop stdio bridge 2026-07-23 18:01:20 +02:00
stats.js feat(#2659): serve hive-bash-mcp over persistent streamable-http, drop stdio bridge 2026-07-23 18:01:20 +02:00
theme.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
types.ts agent page: show resolved model as the model badge's tooltip 2026-08-30 14:43:07 +02:00