Skip to content

feat(tui): sub-agent execution panel — stream view with expandable detail #12

Open

Description

@EngineerProjects

Summary

When an agent spawns a sub-agent, show its execution in a dedicated panel
that streams output in real time. The user can expand it to a full-width
view to follow the reasoning and tool calls in detail.

UX

┌─ Agent at work ─────────────────────────────────────┐
│ ▶ Sub-agent: explore                                 │
│   Thinking...                                        │
│   ● bash: find . -name "*.go"             [0.3s]    │
│   ● read: internal/agent/profile.go       [0.1s]    │
│   ✓ Done in 4.2s                                     │
└──────────────────────────────────────────────────────┘
  • Compact by default (inline in the chat stream)
  • ctrl+e or click to expand into a full panel with scroll
  • Left panel shows the sub-agent tree; right panel shows selected agent detail

Acceptance criteria

  • Sub-agent events streamed in real time in the chat view
  • Expandable panel (ctrl+e) with full output and tool call detail
  • Left sidebar listing active/completed sub-agents
  • Keyboard navigation between sub-agents in the sidebar
  • No layout regression in the main chat view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions