altimate-code
altimate-code copied to clipboard
[Feature] Rename internal `bash` tool to `shell` for cross-platform accuracy
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.
I want to take this issue
Please go ahead and create a PR