Skip to content

No collapse toggle for subagent/task output in mobile transcript #69

Description

@physercoe

Summary

When Claude Code spawns a subagent via the Task tool, all of the subagent's output is displayed inline in the mobile transcript with no way to collapse or fold it. The Claude Code terminal has a toggle (e.g. / ) to collapse subagent output, but the mobile Insight/transcript view lacks this control.

Long subagent runs produce a large volume of events that flood the transcript, making it hard to scroll past them to find surrounding context.

Expected

The mobile transcript should render subagent task output with a collapse/expand toggle, similar to the Claude Code terminal experience. Collapsed state shows a summary line (e.g. "Subagent task: <title> — N tool calls, duration, status"); expanded state shows the full output.

Relevant code

  • lib/widgets/insight_transcript.dart — the transcript rendering and event grouping
  • lib/widgets/transcript/feed_reducer.dart — event classification and grouping
  • The turn.start/turn.result event boundaries could serve as natural fold points for subagent turns

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions