anomalyco / anomalyco/opencode

[FEATURE]: Collapse shell tool output by default with summary title

Open
#45,538 1 comment 1 reaction 1 assignee View on GitHub

@Brendonovich is already working on this.

Since Aug 27, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Feature hasn't been suggested before.
  • I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request

Currently shell tool outputs are partially expanded and take most of the vertical scroll. This buries the reasoning chain and makes it hard to scan/correct.

Proposal:

  • Default collapsed, show one-line summary: Shell: <command> (exit code, N lines) and expand on click
  • Limit collapsed preview to 2-3 lines with fade
  • Keep the existing setting Shell Tool Parts Expanded default OFF

This makes the timeline more compact, similar to Codex, and easier for desktop users who follow the chain.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.