Hi, thanks for maintaining this! Heads-up that since Codex 0.144 the package is missing a companion binary.
For code-mode-capable models (e.g. gpt-5.6), the CLI spawns a helper it looks for next to itself at dirname(codex)/codex-code-mode-host. Since the package installs only /usr/bin/codex, those models fail every tool call with:
failed to spawn code-mode host /usr/bin/codex-code-mode-host: No such file or directory (gpt-5.5 uses the old direct-exec path, so it's unaffected — easy to miss.)
The release already publishes the binary alongside codex. Adding the source (same idea for aarch64):
source_x86_64+=("codex-code-mode-host-${pkgver}-x86_64.tar.gz::https://github.com/openai/codex/releases/download/rust-v${pkgver}/codex-code-mode-host-x86_64-unknown-linux-musl.tar.gz") and installing it in package():
install -Dm755 "codex-code-mode-host-${CARCH}-unknown-linux-musl" "$pkgdir/usr/bin/codex-code-mode-host" The host and CLI share a versioned handshake, so pinning both to the same release tag keeps them compatible. Thanks!
Pinned Comments
chmouel commented on 2026-01-31 09:12 (UTC) (edited on 2026-01-31 09:42 (UTC) by chmouel)
I have adopted the package and obsoleted the openai-codex-autoup-bin
This package is auto updated twice a day via a github actions with the latest binary release (not git the release) from upstream. (see it here https://github.com/chmouel/aur-update)
Thanks Jack for all the work on this package