Files
stack/apps/web
Jason Woltje 61522f43aa
All checks were successful
ci/woodpecker/push/web Pipeline was successful
feat(web): add agent output terminal tabs for orchestrator sessions (CT-ORCH-002)
Implements read-only agent output viewing in the TerminalPanel as a
separate tab group alongside interactive PTY terminal sessions.

- useAgentStream hook: SSE connection to /api/orchestrator/events with
  exponential backoff reconnect, per-agent output accumulation, and
  full lifecycle tracking (spawning→running→completed/error)
- AgentTerminal component: read-only <pre>-based output view with ANSI
  stripping, status indicator (pulse/dot), status badge, elapsed duration,
  copy-to-clipboard, and error message overlay
- TerminalPanel integration: agent tabs appear automatically when agents
  are active, show colored status dots, dismissable when completed/error,
  and section divider separates terminal vs agent tabs
- 79 new unit tests across useAgentStream, AgentTerminal, and TerminalPanel

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 22:03:42 -06:00
..