Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages/agent/src/lib
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris cebf3c6ced Drop classifyEvent.ts, render TermMsg directly
Per review: StreamRow was meant to match what the server sends in
TermMsg, not be a separate model needing a translation step.

- classifyEvent.ts and streamRow.ts deleted; termMsg.ts holds the wire
  types (TermMsg/TermEnvelope) plus TermRow, a TermMsg with just the
  key/fromHistory bookkeeping Preact needs for list rendering.
- Row.tsx renders a TermRow directly: level -> CSS class, empty
  summary + markdown body -> flat row, everything else with a body ->
  expandable details gated by the operator's preference. No separate
  classification step.
- useLiveStream.ts drops ClassifyCtx (a single incrementing key
  counter didn't need a whole context object) and maps envelopes to
  rows inline.
- docs/terminal-rendering.md trimmed substantially — was documenting
  more implementation detail than useful; points at stream_enrich.rs
  for the per-tool specifics instead of duplicating them in prose.
2026-08-30 21:23:28 +02:00
..
dashboardBase.ts agent: wire Header/StatusChips to real /api/state polling 2026-08-28 22:05:13 +02:00
format.ts Simplify terminal message shape to a uniform TermMsg 2026-08-30 21:11:25 +02:00
linkify.tsx agent: LiveStream/Row/DetailsRow — Preact live event pane 2026-08-28 22:05:13 +02:00
loginAction.ts agent: LoginFlow — the needs_login recovery UI app.js's rewrite was missing 2026-08-28 22:05:13 +02:00
markdown.ts terminal: catch the remaining stale ask/answer references 2026-08-30 20:13:49 +02:00
modelEffort.ts agent: wire Header/StatusChips to real /api/state polling 2026-08-28 22:05:13 +02:00
pauseAction.ts agent ui: stop pause/resume from navigating to hive-c0re's raw response 2026-08-30 03:57:11 +02:00
termActions.ts agent: TermInput — composer + slash commands 2026-08-28 22:05:13 +02:00
termMsg.ts Drop classifyEvent.ts, render TermMsg directly 2026-08-30 21:23:28 +02:00
useConfirmClick.ts agent: TodosPanel/InboxPanel flyouts + header pills 2026-08-28 22:05:13 +02:00