[FEATURE] Compact display option for in-process agent team panel (task text makes it tall in VS Code integrated terminal)

Open 💬 1 comment Opened Jul 7, 2026 by Eiji-Kudo

Preflight Checklist

  • [x] I have searched existing requests and did not find this specific ask (closest is #60980, which covers the IDE extension's side-chat panel, a different UI surface from the CLI TUI's in-process agent panel)
  • [x] This is a single feature request

Problem Statement

When running an agent team inside VS Code's integrated terminal, the in-process agent panel below the prompt input takes up a large amount of vertical space. Each teammate row shows the teammate name, its full task/spawn-prompt text, and its status (e.g. idle), and long task descriptions wrap across multiple lines. With even 2-3 teammates visible, the panel can push most of the terminal scrollback out of view.

Per the docs, split-pane mode (tmux/iterm2) is not supported in VS Code's integrated terminal, so in-process is the only available display mode there — there's no way to move teammates to separate panes to reclaim space.

The existing mitigations don't fully address this:

  • Idle-row auto-hide (30s after the whole panel goes idle) and the >3 idle collapse into a single N idle agents row only kick in once teammates are idle. While teammates are actively working (or with 2-3 idle), their full rows with wrapped task text stay visible.
  • Ctrl+T toggles the task list, but doesn't affect the agent panel itself.
  • There's no setting to cap the panel's visible height/row count, or to truncate each row's task text to a single line.

Proposed Solution

Add a way to keep the in-process agent panel compact regardless of teammate count/state, for example:

  • Truncate each teammate row's task description to a single line (with ellipsis) instead of wrapping to multiple lines, showing the full text only when that teammate's transcript is opened (Enter)
  • A setting (settings.json or /config) to cap the max number of visible teammate rows, with overflow folded into a summary row (similar to the existing N idle agents collapse, but not limited to idle-only teammates)
  • A manual keybinding to collapse the whole agent panel to a single summary line on demand, independent of idle state

Alternative Solutions / Workarounds Tried

  • Ctrl+T to hide the task list — reduces some vertical space but the agent panel's per-row task text remains
  • Waiting for auto-collapse — doesn't help while teammates are actively working, or when 3 or fewer are idle
  • Switching teammateMode to auto/tmux/iterm2 — not applicable in VS Code's integrated terminal, which doesn't support split panes

Priority

Medium - Would be very helpful

Feature Category

Interactive mode (TUI) / Agent teams

Use Case Example

Running a multi-teammate review (e.g. a normalization reviewer, a data-integrity reviewer, and a cross-verifier checking their outputs against each other) inside VS Code's integrated terminal. Each teammate is spawned with a moderately long instruction (e.g. "review X for Y, using ultrathink to consider deeply"). As soon as more than one teammate is active or briefly idle, their rows with wrapped instruction text consume most of the terminal viewport, making it hard to read the lead's own output above the panel without scrolling.

Additional Context

Related but distinct: #60980 requests minimize/collapse for the IDE extension's side-chat panels — a different surface (IDE sidebar chat) from the CLI terminal's in-process agent panel described here, but the same underlying pain (long-running panel consuming screen space with no compact view).

Environment: Claude Code CLI v2.1.202, VS Code integrated terminal, macOS.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗