Description
When using the ! shell escape (e.g. !sleep 5), the Shell tool card in the web UI shows only "Shell" with no subtitle. When the agent invokes the bash tool, it provides a description field (e.g. "Sleep for 5 seconds") which appears as the subtitle next to "Shell". But the ! escape path in packages/opencode/src/session/prompt.ts creates the tool part with only { command: input.command } in the input -- no description.
Plugins
No response
OpenCode version
No response
Steps to reproduce
- run
! sleep 5s
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Description
When using the
!shell escape (e.g.!sleep 5), the Shell tool card in the web UI shows only "Shell" with no subtitle. When the agent invokes the bash tool, it provides adescriptionfield (e.g. "Sleep for 5 seconds") which appears as the subtitle next to "Shell". But the!escape path inpackages/opencode/src/session/prompt.tscreates the tool part with only{ command: input.command }in the input -- nodescription.Plugins
No response
OpenCode version
No response
Steps to reproduce
! sleep 5sScreenshot and/or share link
No response
Operating System
No response
Terminal
No response