hyperhive/frontend/packages/agent/src/components
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
..
ExpandDetailsSetting.tsx treefmt: apply prettier 2026-09-02 15:25:07 +02:00
Header.tsx treefmt: apply prettier 2026-09-02 15:25:07 +02:00
HeaderPill.tsx treefmt: apply prettier 2026-09-02 15:25:07 +02:00
HideDebugSetting.tsx agent term: add a setting to hide debug-level output 2026-09-02 20:40:22 +02:00
InboxPanel.tsx treefmt: apply prettier 2026-09-02 15:25:07 +02:00
LiveStream.tsx swarm-ui: read-only agent terminal page consuming the swarm term stream 2026-09-13 20:23:51 +02:00
LoginFlow.css agent web UI: wrap the OAuth login URL instead of letting it overflow the card 2026-08-31 19:24:42 +02:00
LoginFlow.tsx treefmt: apply prettier 2026-09-02 15:25:07 +02:00
MetaNav.css agent: remove rebuild button, move dashboard link into the links menu 2026-08-28 23:40:56 +02:00
MetaNav.tsx treefmt: apply prettier 2026-09-02 15:25:07 +02:00
SidePanel.css agent: TodosPanel/InboxPanel flyouts + header pills 2026-08-28 22:05:13 +02:00
SidePanel.tsx treefmt: apply prettier 2026-09-02 15:25:07 +02:00
StatusChips.css agent: fix non-interactive badges losing their pill shape in the status row 2026-09-13 19:33:55 +02:00
StatusChips.tsx treefmt: apply prettier 2026-09-02 15:25:07 +02:00
TermInput.tsx treefmt: apply prettier 2026-09-02 15:25:07 +02:00
TodosPanel.tsx treefmt: apply prettier 2026-09-02 15:25:07 +02:00