Description
The internal tool in packages/opencode/src/tool/bash.ts is explicitly named bash. A TODO on line 55 points out this should be renamed for better shell compatibility. Since it runs via Shell.acceptable() (like PowerShell on Windows), the name bash is inaccurate.
Use Case
Reduces confusion for developers navigating logs.
Proposed Solution
Rename the bash tool, bash.ts, and internal references to a shell-agnostic name like shell or terminal_command.
Description
The internal tool in
packages/opencode/src/tool/bash.tsis explicitly namedbash. A TODO on line 55 points out this should be renamed for better shell compatibility. Since it runs viaShell.acceptable()(like PowerShell on Windows), the namebashis inaccurate.Use Case
Reduces confusion for developers navigating logs.
Proposed Solution
Rename the
bashtool,bash.ts, and internal references to a shell-agnostic name likeshellorterminal_command.