Skip to content

Codex backend: support Codex CLI 0.169 - #739

Closed
sol-kami-bot wants to merge 1 commit into
ClickHouse:mainfrom
sol-kami-bot:codex-cli-0.169
Closed

sol-kami-bot wants to merge 1 commit into
ClickHouse:mainfrom
sol-kami-bot:codex-cli-0.169

Conversation

@sol-kami-bot

Copy link
Copy Markdown

The default Codex version check stops at 0.164, so Codex CLI 0.169 cannot open a Nerve session with the default configuration.

Extend the default tested window to >=0.153.1, <0.170.0. Refresh the exported app-server schema fingerprint and cover the old and new release boundaries in the version check test. Explicit version settings continue to take precedence.

@cla-assistant

cla-assistant Bot commented Nov 21, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@nerveai

nerveai commented Nov 21, 2026

Copy link
Copy Markdown

Nerve PR review · ✅ Ready to merge

With Codex CLI 0.165 and later, _check_cli_version (nerve/agent/backends/codex/backend.py:443) refuses every session under the default config, and npm i -g @openai/codex installs the latest, so fresh installs hit it straight away. The PR widens the default window to <0.170.0 the same way the 0.164 bump (6f5d7ec) did and adds a boundary test. An explicit codex.max_version still takes precedence.

I checked the protocol claims myself, without PR code. The canonical hash of the v2 schema committed at Codex tag rust-v0.169.0 equals the new fingerprint, and rust-v0.164.0 reproduces main's. Between them: 32 definitions added, 32 changed, none removed. The only removals are audio input url and ReviewDelivery: detached, and Nerve uses neither. The CLI surface Nerve relies on outside the schema is unchanged: exec --cyber-access-program, plugin marketplace add / plugin add --json, app-server --listen, and provider env_key / env_http_headers.

Completeness: boundary test, docs/config.md and the protocol docstring are updated; no migration.

Worth considering:

  • The 0.164 bump also passed scripts/codex_smoke.py against the real CLI. Saying whether a live turn passed on 0.169 would cover what static checks cannot: auth, streaming, and the principal header with codex.base_url.

Checked: full suite in an offline sandbox at d1cb639 (3 chunks): 10767 passed, 39 skipped; test_slack_integration.py excluded (hangs offline on main too); schema and CLI sources compared at Codex tags rust-v0.164.0 / rust-v0.169.0; ci.yml not yet run (fork PR awaiting maintainer approval) · automated review by nerveai — mention @nerveai to ask a follow-up.

@pufit

pufit commented Nov 21, 2026

Copy link
Copy Markdown
Member

Superseded by #740

@pufit pufit closed this Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants