Skip to content

TUI banner shows v0.98.0 after upgrading to 0.101.0 #11689

@imwyvern

Description

@imwyvern

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:

0.98.0
0.101.0
0.103.9

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions