agent_crew
agent_crew copied to clipboard
Feature: Real-time activity panel for Claude Code sub-agent events
Description
The chat UI currently only shows the user message and the final agent response with no visibility into what happens in between. We need to capture and display Claude Code sub-agent activity in real-time in the Activity panel.
Requirements
- Show real-time activity events from Claude Code and its sub-agents
- Display actions like: commands being executed, files being modified, tools being used, sub-agent delegation events
- Events should appear in the Activity panel as they happen (streaming, not after completion)
- Include timestamps for each event
- If Claude Code exposes structured event data, parse and render it in a user-friendly format (not raw JSON)
UX Design
- Activity events should appear between the user message and the agent's final response
- Consider collapsible sections for verbose output (e.g., full command output)
- Different event types should have visual differentiation (icons, colors, or badges)
- Loading/progress indicators while the agent is working
Current Behavior
[user_message] user → leader 21:36:15
"Quiero una web con react..."
[task_result] lead → user 21:41:40
{ "status": "completed", "result": "..." }
Nothing visible during the ~5 minutes of processing.
Acceptance Criteria
- [ ] Activity events appear in real-time between user message and final response
- [ ] Sub-agent actions (tool calls, file edits, commands) are visible
- [ ] Events are timestamped
- [ ] No regression on existing chat functionality
Closed via commit 7eb1745 — added real-time activity panel for Claude Code sub-agent events.