hyperhive/frontend/packages/shared/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
..
api-error-panel frontend: add WarnBanner Preact component, compose ApiErrorPanel from it 2026-08-17 23:11:11 +02:00
badge badge: fix expanded's doc comment after the chevron removal 2026-08-30 13:52:34 +02:00
dropdown shared dropdown: don't reopen when the trigger is clicked while open 2026-08-30 15:29:59 +02:00
hive-btn frontend: one component = one dir for hive-btn/hive-dialog/hive-toast 2026-07-31 21:53:28 +02:00
hive-dialog fix: reinstate the style-tag doc-comment fix lost when the merge commit was dropped for a rebase 2026-07-31 21:56:50 +02:00
hive-menu frontend: guard hive-menu/hive-agent-menu connectedCallback against reconnect 2026-08-01 01:57:06 +02:00
hive-toast fix: reinstate the style-tag doc-comment fix lost when the merge commit was dropped for a rebase 2026-07-31 21:56:50 +02:00
hive-warn frontend: hive-warn — replace severity+pulse with info/warning/error levels 2026-08-03 18:34:31 +02:00
jobq-graph apply the same render(h(...)) simplification to JobqGraph 2026-08-16 22:08:38 +02:00
jobq-rollup drop the mountJobqRollup wrapper, render(h(...)) directly 2026-08-16 22:08:38 +02:00
settings settings menu: replace showExpandDetails prop with a children slot 2026-08-30 16:05:43 +02:00
side-panel frontend: drop the Panel forwarding object and the side-panel-body compat class 2026-08-01 00:58:53 +02:00
tabs frontend: add <hive-tab-strip>, convert logs/credentials/core/builds tabbars 2026-08-02 13:40:24 +02:00
terminal Simplify terminal message shape to a uniform TermMsg 2026-08-30 21:11:25 +02:00
warn-banner frontend: add WarnBanner Preact component, compose ApiErrorPanel from it 2026-08-17 23:11:11 +02:00
api-error.ts frontend: fix api-error.ts's stale in-transition comment 2026-08-17 23:11:11 +02:00
base.css swarm-ui: fix inconsistent header icons + body edge gap 2026-08-24 18:38:12 +02:00
chrome.css fix(dashboard): keep the logs ← home link + sub-tabs on one row 2026-06-10 19:51:34 +02:00
colors.css swarm-ui: delete StatusChip, migrate its 3 callers to shared Badge 2026-08-28 13:21:49 +02:00
dom.js frontend: hive-btn — drop the is= customized-built-in, use an autonomous element instead 2026-07-29 23:17:19 +02:00
forms.js frontend: extract themed dialogs + async-form handler to shared, wire agent UI 2026-07-27 18:55:17 +02:00
icons.tsx icons: restore inline-SVG link/gear icons, share them across all three pages 2026-08-29 11:54:21 +02:00
index.js frontend: move shared/terminal.js+css into one-dir terminal/ 2026-08-01 01:56:41 +02:00
modal.js frontend: one component = one dir for hive-btn/hive-dialog/hive-toast 2026-07-31 21:53:28 +02:00
pill.css frontend: unify pill/chip/badge shape into shared CSS 2026-08-12 19:25:45 +02:00
prefs.ts agent term: move expand-tool-output setting into its own settings popup 2026-08-30 16:05:43 +02:00
shadow-css.js review(#2873): use a plain <style> element instead of adoptedStyleSheets 2026-07-31 21:53:28 +02:00
theme.css theme: add --muted-on-dim, a --muted anchored to --purple-dim instead of --bg 2026-08-29 10:43:38 +02:00