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

Open Beginner friendly
#1,070 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
shell, typescript
Domain
cli, tooling

Research direction

Start in packages/opencode/src/tool/bash.ts and inspect the TODO on line 55, then search the repository for internal references to the bash tool and bash.ts. Rename the tool and its references to a shell-agnostic name, and verify that logs and the Shell.acceptable() integration use the new name without changing cross-platform behavior.

Written by the indexing model from the issue text.

Description

enhancement

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.

Dominant language
TypeScript
Stars
813
Forks
134
Avg merge
2d 5h
Merged PRs (30d)
62

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AltimateAI/altimate-code

All issues in AltimateAI/altimate-code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.