feat(bin): support bun fallback runtime for codex CLI (#282)

This PR adds a shell wrapper in `codex-cli/bin/codex` to detect node or
bun as the runtime.

It updates:
- `package.json` bin entry
- published files list to include bin/
- README install instructions to include `bun install -g @openai/codex`
This commit is contained in:
Sam Verhasselt
2025-04-17 17:32:19 -07:00
committed by GitHub
parent e80d1df172
commit 6ee589cd1a
3 changed files with 24 additions and 1 deletions

View File

@@ -241,6 +241,8 @@ Below are a few bitesize examples you can copypaste. Replace the text in q
npm install -g @openai/codex
# or
yarn global add @openai/codex
# or
bun install -g @openai/codex
```
</details>