[PR #4785] chore: rename bash tool to shell for cross-shell compatibility #11114

Open
opened 2026-02-16 18:15:54 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4785

State: open
Merged: No


The Go TUI was renamed from 'bash' to 'shell' in commit a4beb60e to better reflect that the tool works with multiple shells (zsh, fish, nu, cmd.exe, etc.), not just bash. This commit applies the same rename to the TypeScript/Node.js server side to maintain consistency.

Changes:

  • Rename tool definition from 'bash' to 'shell'
  • Update all permission type references throughout agent and config schemas
  • Update tool type checks in CLI, web components, and TUI registry
  • Remove TODO comment that prompted this change

This aligns the server implementation with the already-renamed Go TUI client.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4785 **State:** open **Merged:** No --- The Go TUI was renamed from 'bash' to 'shell' in commit a4beb60e to better reflect that the tool works with multiple shells (zsh, fish, nu, cmd.exe, etc.), not just bash. This commit applies the same rename to the TypeScript/Node.js server side to maintain consistency. Changes: - Rename tool definition from 'bash' to 'shell' - Update all permission type references throughout agent and config schemas - Update tool type checks in CLI, web components, and TUI registry - Remove TODO comment that prompted this change This aligns the server implementation with the already-renamed Go TUI client.
yindo added the pull-request label 2026-02-16 18:15:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11114