Skip to content

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

Description

@ainaanraza

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions