hyperhive/frontend/packages/shared/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 593923375c swarm-ui: read-only agent terminal page consuming the swarm term stream
Moves the TermMsg rendering pipeline (Row.tsx, termMsg.ts, linkify.tsx,
markdown.ts) from @hive/agent into @hive/shared, so swarm-ui becomes a
second consumer of it instead of forking a copy -- CSS was already
shared (@hive/shared/terminal.css). marked+dompurify move from
@hive/agent's deps to @hive/shared's; swarm-ui picks them up
transitively, no new direct dep there.

New swarm-ui route /agents/:name/term (AgentTermPage), linked from
AgentsPage's detail panel via a "terminal" badge next to "link matrix
account". Consumes GET /api/agents/{name}/term/stream: unlike
@hive/agent's own useLiveStream (TermEnvelope-wrapped, history/backfill
dance), the swarm relay forwards one bare TermMsg per SSE event with no
envelope and no history endpoint -- useSwarmTermStream is a much
smaller hook for that shape (EventSource -> parse -> coalesce, nothing
to buffer/dedupe/backfill against).

Verified against a live SSE mock (screenshots in /agents/iris/state/screenshots/
3801-agents-detail-panel-terminal-badge.png and
3801-agent-term-page-live-rows.png -- real rows rendering through the
shared Row component, not just a build/typecheck pass).
2026-09-13 20:23:51 +02:00
..
api-error-panel treefmt: apply prettier 2026-09-02 15:25:07 +02:00
badge shared/badge: give interactive badges a real pill radius, not a roundrect 2026-09-11 22:45:36 +02:00
dropdown shared/dropdown: optional portal mode escapes a scroll-container clip 2026-09-11 21:20:26 +02:00
hive-btn treefmt: apply prettier 2026-09-02 15:25:07 +02:00
hive-dialog treefmt: apply prettier 2026-09-02 15:25:07 +02:00
hive-menu treefmt: apply prettier 2026-09-02 15:25:07 +02:00
hive-toast treefmt: apply prettier 2026-09-02 15:25:07 +02:00
hive-warn treefmt: apply prettier 2026-09-02 15:25:07 +02:00
jobq-graph treefmt: apply prettier 2026-09-02 15:25:07 +02:00
jobq-rollup treefmt: apply prettier 2026-09-02 15:25:07 +02:00
settings treefmt: apply prettier 2026-09-02 15:25:07 +02:00
side-panel docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
tabs treefmt: apply prettier 2026-09-02 15:25:07 +02:00
terminal swarm-ui: read-only agent terminal page consuming the swarm term stream 2026-09-13 20:23:51 +02:00
warn-banner treefmt: apply prettier 2026-09-02 15:25:07 +02:00
api-error.ts treefmt: apply prettier 2026-09-02 15:25:07 +02:00
base.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
chrome.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
colors.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
dom.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
forms.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
icons.tsx swarm-ui: table filters move to a per-header icon + popover 2026-09-08 12:14:56 +02:00
index.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
modal.js treefmt: apply prettier 2026-09-02 15:25:07 +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: add a setting to hide debug-level output 2026-09-02 20:40:22 +02:00
shadow-css.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
theme.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00