Description
After upgrading Codex CLI from 0.98.0 to 0.101.0 via npm install -g @openai/codex@latest, the TUI banner still displays v0.98.0:
╭───────────────────────────────────────────────────╮
│ >_ OpenAI Codex (v0.98.0) │
╰───────────────────────────────────────────────────╯
Meanwhile, all version checks report 0.101.0 correctly:
$ codex --version
codex-cli 0.101.0
$ node -e "console.log(require('/opt/homebrew/lib/node_modules/@openai/codex/package.json').version)"
0.101.0
$ /opt/homebrew/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin/codex/codex --version
codex-cli 0.101.0
Root Cause
Running strings on the vendor binary reveals multiple version strings embedded:
The TUI banner appears to be reading the wrong embedded version string (0.98.0 instead of 0.101.0).
Environment
- macOS 15.4 (Apple Silicon / aarch64)
- Node.js v22.22.0
- Installed via:
npm install -g @openai/codex@0.101.0
- Platform package:
@openai/codex-darwin-arm64@0.101.0-darwin-arm64
Expected Behavior
TUI banner should display v0.101.0 matching the actual installed version.
Additional Context
The TUI also shows an update prompt suggesting 0.98.0 -> 0.100.0 which is inconsistent with the actual installed version of 0.101.0.
Description
After upgrading Codex CLI from 0.98.0 to 0.101.0 via
npm install -g @openai/codex@latest, the TUI banner still displaysv0.98.0:Meanwhile, all version checks report 0.101.0 correctly:
$ codex --version codex-cli 0.101.0 $ node -e "console.log(require('/opt/homebrew/lib/node_modules/@openai/codex/package.json').version)" 0.101.0 $ /opt/homebrew/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin/codex/codex --version codex-cli 0.101.0Root Cause
Running
stringson the vendor binary reveals multiple version strings embedded:The TUI banner appears to be reading the wrong embedded version string (0.98.0 instead of 0.101.0).
Environment
npm install -g @openai/codex@0.101.0@openai/codex-darwin-arm64@0.101.0-darwin-arm64Expected Behavior
TUI banner should display
v0.101.0matching the actual installed version.Additional Context
The TUI also shows an update prompt suggesting
0.98.0 -> 0.100.0which is inconsistent with the actual installed version of 0.101.0.