altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

[Feature] Rename internal `bash` tool to `shell` for cross-platform accuracy

Open ainaanraza opened this issue 4 months ago • 2 comments

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.

ainaanraza avatar Aug 04 '26 20:08 ainaanraza

I want to take this issue

ainaanraza avatar Aug 04 '26 20:08 ainaanraza

Please go ahead and create a PR

anandgupta42 avatar Aug 05 '26 03:08 anandgupta42