Skip to content

Codex updater drops codex-code-mode-host from release package #2

Description

@nick-neely

After running sudo exeuntu update codex, Codex 0.147.0 reports:

Code Mode is unavailable because failed to spawn code-mode host
/usr/local/bin/codex-code-mode-host: host executable was not found.

The exeuntu updater downloads and verifies OpenAI's full
codex-package-<target>.tar.gz, but extracts only bin/codex:

https://github.com/boldsoftware/exeuntu/blob/main/cli/internal/agentupdate/codex.go

Current Codex packages also contain bin/codex-code-mode-host. OpenAI added it
to the canonical package in 0.143.0 so the runtime can find it beside the main
executable:

openai/codex@3f61570

The existing test fixture models the older 0.140.0 package with only
bin/codex, and the Dockerfile smoke test checks only the main executable, so
this currently passes CI.

Could the updater preserve the complete canonical package layout, or at minimum
install the matching host beside /usr/local/bin/codex? The build smoke test
should also verify that codex-code-mode-host is executable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions