Skip to content

Feature Request: Version Out of Date Alert #244

Closed

Description

@zer0cache

I noticed there have been a few updates and new version launched since yesterday. It would be great for codex to let us know if we're running an older version and that we should upgrade once we boot it up.

Activity

  1. changed the title [-]Version out of date[/-] [+]Feature Request: Version Out of Date Alert[/+] on Apr 17, 2025
  2. tibo-openai commented on Apr 17, 2025

    @tibo-openai
    Collaborator

    Yes, that would be nice and useful. Would accept a PR that detects this and displays a warning and allows to upgrade easily.

  3. added
    enhancement
    on Apr 17, 2025
  4. emcd commented on Apr 17, 2025

    @emcd

    While I agree with this feature request, there are some learnings to be had from the Claude Code rollout. The current installation instructions (npm i -g) can be quite toxic in conjunction with automatic upgrades and installations as the superuser (to get around permission restrictions on default NPM prefixes). Probably best to limit to manual upgrades until the instructions properly encourage people to install into environments from NVM, Mise, etc... or to set a user-writable NPM prefix.

  5. scottleibrand commented on Apr 19, 2025

    @scottleibrand
    Contributor

    After a git pull of d61da89, I'm now getting:

    (new_venv) ~/src/codex/codex-cli $ cd ~/src/codex/codex-cli/ && CODEX_DEV_DIR=~/src/codex/ npm run dev -- --auto-edit --notify
    
    > @openai/[email protected] dev
    > npm run build:dev -- --auto-edit --notify
    
    
    > @openai/[email protected] build:dev
    > NODE_ENV=development node build.mjs --dev && CLI_ROOT=$PWD && cd ~/src && NODE_OPTIONS=--enable-source-maps node $CLI_ROOT/dist/cli-dev.js --auto-edit --notify
    
    ✘ [ERROR] Could not resolve "boxen"
    
        src/utils/check-updates.ts:2:18:
          2 │ import boxen from "boxen";
            ╵                   ~~~~~~~
    
      You can mark the path "boxen" as external to exclude it from the bundle, which will remove this
      error and leave the unresolved path in the bundle.
    
    (new_venv) ~/src/codex/codex-cli $
    
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions