Why this ships now
In v5.6.1 we closed the gap where NEXO would migrate the default claude_code model in client_runtime_profiles but forget to propagate it into ~/.claude/settings.json, the file Claude Code actually reads. The new sync_claude_code_model() helper fixed that write path.
But the next layer surfaced immediately: you can write claude-opus-4-7 into settings.json all day long and Claude Code will still boot on Opus 4 if the locally-installed CLI is too old to recognise the new model id. Updating NEXO without updating Claude Code left users in exactly that state.
What nexo update does now
Right after migrations and the existing runtime-dependency sync, nexo update now runs a new _update_external_clis() step. For each package in NEXO’s curated list — today @anthropic-ai/claude-code and @openai/codex — it:
• Reads the installed global version via npm list -g --json --depth=0.
• Fetches the latest from the npm registry via npm view <pkg> version.
• If newer, runs npm install -g <pkg>@latest in-line.
• If the package was never installed globally, skips it silently — NEXO does not push third-party CLIs onto operators who never opted in.
A bump ends with a visible warning: CLI updated: @anthropic-ai/claude-code 2.1.109 -> 2.1.115 — reinicia terminal para activar. If everything was already on the latest version, you get a single informational line: CLIs externos: ya en última versión.
What is protected
Failures of the third-party install never cascade into the NEXO rollback path. The git/npm package rollback only covers NEXO itself; a broken npm install -g @openai/codex@latest gets logged as a warning in the summary and the update is still considered successful. TimeoutExpired and FileNotFoundError (no npm on PATH) are handled explicitly so a missing Node.js toolchain degrades gracefully.
Opting out
If you pin your terminal CLIs manually, pass nexo update --no-clis. The MCP nexo_update tool gained the same switch: call it with include_clis=False and the external bump is short-circuited. The default is to update.
How to upgrade
Run nexo update. Next time a new Claude Code or Codex release ships, the next nexo update picks it up for you.