Collapsed tools like claude #453

Closed
opened 2026-02-16 17:26:45 -05:00 by yindo · 10 comments
Owner

Originally created by @SIGKITTEN on GitHub (Jul 2, 2025).

Originally assigned to: @thdxr on GitHub.

Any interest?

Originally created by @SIGKITTEN on GitHub (Jul 2, 2025). Originally assigned to: @thdxr on GitHub. Any interest?
yindo closed this issue 2026-02-16 17:26:45 -05:00
Author
Owner

@thdxr commented on GitHub (Jul 2, 2025):

d is this what you're looking for?

@thdxr commented on GitHub (Jul 2, 2025): <leader>d is this what you're looking for?
Author
Owner

@SIGKITTEN commented on GitHub (Jul 3, 2025):

wait what happen

@SIGKITTEN commented on GitHub (Jul 3, 2025): wait what happen
Author
Owner

@sandipwane commented on GitHub (Jul 3, 2025):

wait what happen

Not sure, but I think he meant to suggest that the /compact command probably does what you’re looking for.

@sandipwane commented on GitHub (Jul 3, 2025): > wait what happen Not sure, but I think he meant to suggest that the /compact command probably does what you’re looking for.
Author
Owner

@adamdotdevin commented on GitHub (Jul 3, 2025):

@SIGKITTEN you can collapse tool calls with d (that's the default keybind anyway, so ctrl+x, d). but, i'm wondering if we should go further on this and reduce noise even more. some way to visually compact things as you move on from prompt to prompt

@adamdotdevin commented on GitHub (Jul 3, 2025): @SIGKITTEN you can collapse tool calls with <leader>d (that's the default keybind anyway, so ctrl+x, d). but, i'm wondering if we should go further on this and reduce noise even more. some way to visually compact things as you move on from prompt to prompt
Author
Owner

@SIGKITTEN commented on GitHub (Jul 3, 2025):

@thdxr @adamdotdevin nah not exactly. C-x d just makes them disappear, should be like a 1 line with last tool and another for prev (or better just show 1 line per tool for all calls with summary)
And prob an option to set as default

Image Image
@SIGKITTEN commented on GitHub (Jul 3, 2025): @thdxr @adamdotdevin nah not exactly. C-x d just makes them disappear, should be like a 1 line with last tool and another for prev (or better just show 1 line per tool for all calls with summary) And prob an option to set as default <img width="152" alt="Image" src="https://github.com/user-attachments/assets/3ee79fff-ce54-47d0-a835-0f8d87044dc3" /> <img width="371" alt="Image" src="https://github.com/user-attachments/assets/0b16c7fe-7939-43a6-b9c1-f5d3ec3d476b" />
Author
Owner

@adamdotdevin commented on GitHub (Jul 3, 2025):

want to make sure i'm following. in collapsed mode in current opencode we list each tool call as a single line within the assistant message. you're saying that should just show the last tool call, so one line total?

Image
@adamdotdevin commented on GitHub (Jul 3, 2025): want to make sure i'm following. in collapsed mode in current opencode we list each tool call as a single line within the assistant message. you're saying that should just show the last tool call, so one line total? <img width="645" alt="Image" src="https://github.com/user-attachments/assets/e4e5733b-8bc2-467b-a7d3-490669ad69ea" />
Author
Owner

@SIGKITTEN commented on GitHub (Jul 3, 2025):

@adamdotdevin hm thats not what im seeing (0.1.178) but if this is coming in the next, looks good to me!

Image Image
@SIGKITTEN commented on GitHub (Jul 3, 2025): @adamdotdevin hm thats not what im seeing (0.1.178) but if this is coming in the next, looks good to me! <img width="773" alt="Image" src="https://github.com/user-attachments/assets/4a57aab0-557c-4db8-9a1a-bc4e1559fcc0" /> <img width="764" alt="Image" src="https://github.com/user-attachments/assets/c210e2a3-2672-49bb-a735-164d9e205a2d" />
Author
Owner

@adamdotdevin commented on GitHub (Jul 3, 2025):

whoa, wtf, no, this is a feature that's been in there a long time; will do some more testing and see if i can figure out how you're getting that result

@adamdotdevin commented on GitHub (Jul 3, 2025): whoa, wtf, no, this is a feature that's been in there a long time; will do some more testing and see if i can figure out how you're getting that result
Author
Owner

@adamdotdevin commented on GitHub (Jul 3, 2025):

ah, the issue is when there are messages with only tool calls, no text parts. will fix.

@adamdotdevin commented on GitHub (Jul 3, 2025): ah, the issue is when there are messages with *only* tool calls, no text parts. will fix.
Author
Owner

@adamdotdevin commented on GitHub (Jul 3, 2025):

this is fixed now, closing

@adamdotdevin commented on GitHub (Jul 3, 2025): this is fixed now, closing
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#453