Repository navigation
feat(tui): add minimal and hidden tool call modes - #48300
lukaivanovic wants to merge 2 commits into
Conversation
0633170 to
0b7dfcf
Compare
|
Hi! We are actually already working on this 😄 This is a good reference point though, and will check out what you did. since already have an implementation we probably won't merge this but thanks for the ideas! |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
No linked issue.
Type of change
What does this PR do?
Verbose tool output can make assistant responses harder to scan. Adds Settings → Session → Tool calls with three modes:
show: current behavior and the default.minimal: one collapsed line per tool, with truncated summaries. Click to expand or collapse details.hide: removes tool rows and output from the transcript.Minimal mode shows grouped reads and searches individually. Hidden mode filters rows before rendering to avoid empty rows. Mode changes preserve the reading position. Permission prompts and questions remain usable. This changes full-screen TUI presentation only.
How did you verify your code works?
To verify, open a session with tool calls and switch modes under Settings → Session → Tool calls. In minimal mode, click a summary to expand and collapse its details. Switch modes while scrolled into history to check the reading position.
Screenshots / recordings
Default
Minimal
Hide
Checklist