Skip to content

fix(acp): show shell command in ACP tool calls#32304

Merged
nexxeln merged 1 commit into
devfrom
acp-execute-command
Jun 14, 2026
Merged

fix(acp): show shell command in ACP tool calls#32304
nexxeln merged 1 commit into
devfrom
acp-execute-command

Conversation

@nexxeln

@nexxeln nexxeln commented Jun 14, 2026

Copy link
Copy Markdown
Member

Fixes #10998.

ACP clients (e.g. Zed) showed the bash tool's description but not the actual command, so you couldn't see what you were approving. We now set the tool-call title to the command itself and populate rawInput/locations with the command and resolved working directory — while keeping kind: "execute" so Zed keeps its native "Run Command" box.

Credit to @validatedev for the original investigation in #11303 (co-authored).

ACP clients showed the bash tool's description but not the command being
run, so you couldn't see what you were approving. Use the command as the
tool-call title and populate rawInput/locations with the command and
resolved working directory, while keeping kind "execute".

Fixes #10998.

Co-authored-by: Mert Can Demir <validatedev@gmail.com>
@nexxeln nexxeln merged commit 5146142 into dev Jun 14, 2026
9 of 10 checks passed
@nexxeln nexxeln deleted the acp-execute-command branch June 14, 2026 12:46
@validatedev

Copy link
Copy Markdown
Contributor

@nexxeln thank you, and thanks for having me as a co author!

davidgut1982 pushed a commit to davidgut1982/opencode that referenced this pull request Jun 19, 2026
Co-authored-by: Mert Can Demir <validatedev@gmail.com>
markjaquith pushed a commit to markjaquith/opencode that referenced this pull request Jun 23, 2026
Co-authored-by: Mert Can Demir <validatedev@gmail.com>
BenGu3 pushed a commit to BenGu3/opencode that referenced this pull request Jun 27, 2026
Co-authored-by: Mert Can Demir <validatedev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run Command message won't display command ran in Zed

2 participants