Skip to content

tui: collapse standalone shell calls into Working blocks #884

Backlog

Description

@mdev34-lab

Problem

A shell command can be the only tool call in an activity run. In that case it currently renders as a normal inline tool row instead of the collapsed, expandable Working block used for shell activity inside multi-call runs. This makes a lone command visually inconsistent with the same command when it appears alongside other tool calls.

Expected behavior

  • A standalone bash or shell call renders as its own collapsed Running command... working block.
  • Expanding the block reveals the command output.
  • Separate shell calls remain separate blocks when real assistant text separates them.
  • Non-shell singleton tool calls retain their existing inline rendering.
  • Existing multi-call activity grouping and streaming behavior remain unchanged.

Verification

The regression should be covered in the TUI activity-group test harness for both bash and shell, including expansion and separation across an assistant-text boundary.

Related: #546 (typed Working activity groups).

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions