bug: daemon-spawned agents use bundled Claude Code 2.1.258 (not the 2.1.284 system CLI), so claude-opus-5-5 fails with a 400 version gate
Summary
Agents created through the daemon (e.g. via create_agent / the MCP orchestration path) fail immediately on claude-opus-5-5 with:
API Error: 400 Claude Code 2.1.258 does not support this model; version 2.1.280 or newer is required. Run 'claude update', or update the Claude desktop app, then try again.
The machine's system Claude Code CLI is 2.1.284 and works with claude-opus-5-5 without issue. The 2.1.258 in the error is Paseo's SDK-bundled Claude Code (the one @anthropic-ai/claude-agent-sdk carries/extracts), not the installed CLI — so newly-spawned agents are running an older, bundled binary that predates Opus 5.5 support.
This looks like a regression of (or a re-opened path around) #4193, which fixed the same class of failure by preferring an external Claude Code executable over the bundled one.
Reproduction
- System Claude Code CLI at
2.1.284(supportsclaude-opus-5-5). - Create a fresh agent with provider
claude, modelclaude-opus-5-5, any prompt (e.g. "Reply with exactly: OK"). - First turn errors immediately with the 400 above. No tokens are consumed.
Expected vs actual
- Expected: spawned agents use the resolved system CLI (2.1.284) like interactive sessions do, so
claude-opus-5-5works. - Actual: spawned agents report
Claude Code 2.1.258and are rejected by the API for any model that requires ≥ 2.1.280 (Opus 5.5).
Evidence
/Users/les/.local/bin/claude --version→2.1.284 (Claude Code); versions dir contains only2.1.280–2.1.284. No2.1.258is installed on the machine.- An interactive Claude Code session launched from the system CLI on this same daemon runs on
claude-opus-5-5fine (full turns generated). - A freshly created agent (
claude/claude-opus-5-5) fails on turn 1 with the2.1.258400. Same daemon, same model — the only difference is which Claude Code binary is spawned. - The
2.1.258binary is not present as a standalone file under the app bundle'sapp.asar.unpacked/.../claude-agent-sdk-darwin-arm64/(asar marks it unpacked but the file is absent) nor in the usual caches; the SDK carries it viaextractFromBunfs.js+manifest.zst.jsonand extracts at runtime. So the version reported in the error is the bundled SDK CLI, confirming the spawn path is not using the system install.
Mechanism (inference)
The daemon's agent-spawn path is falling back to the SDK's bundled Claude Code (~2.1.258) instead of the resolved global/system CLI (2.1.284). Because the bundled binary predates Opus 5.5, the API rejects the request. Interactive sessions launched from the external CLI are unaffected. This is the same failure mode #4193 addressed by preferring an external executable (pathToClaudeCodeExecutable), so either that resolution regressed or it isn't applied on this spawn path.
Environment
- Paseo desktop-managed daemon (config
"desktopManaged": true), listen127.0.0.1:6767. - macOS (darwin arm64), Darwin 25.6.0.
- System Claude Code:
2.1.284. - Model:
claude-opus-5-5(current default claude model perlist_models).
Related
- #4193 — same class (bundled Claude Code too old for a new model), fixed via external executable. Likely regression.
- #5192 —
claude-opus-5-5label handling. - #5559 — Opus 5.5 429s.
Thanks for the report. Paseo starts Claude agents with the claude it finds on the daemon's PATH, or the command set for the Claude provider, rather than a copy bundled with the app. What decides where this goes is which claude the daemon resolves.
Can you open Settings → Providers → Claude Code → Diagnostic while agents are failing, and paste the copied diagnostic (the Resolved path and Version lines are the ones that matter)?
The earlier report of this error, #4193, turned out to be an agent that started before claude update and kept the old version. Creating a new agent or restarting Paseo cleared it there.
Thanks for the report. I'm closing this because the diagnostic asked for on September 29 hasn't come in.
If agents still fail with this error, reply with the copied diagnostic from Settings → Providers → Claude Code → Diagnostic (the Resolved path and Version lines), and the issue will be reopened.
Here's the diagnostic requested. The version on my path is not the same as the version in the error report. I suspect it is claude sdk related.
Here's the diagnostic requested. The version on my path is not the same as the version in the error report. I suspect it is claude sdk related.
Claude Code Command source: default Configured command: claude Daemon PATH: /Users/myuser/.local/bin:/Users/myuser/.local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/myuser/.nvm/versions/node/v24.12.0/bin:/Users/myuser/.local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/... Daemon shell: /bin/zsh PATH matches: /Users/myuser/.local/bin/claude which -a claude: /Users/myuser/.local/bin/claude /Users/myuser/.local/bin/claude /Users/myuser/.local/bin/claude zsh -lc type -a claude: claude is /Users/myuser/.local/bin/claude claude is /Users/myuser/.local/bin/claude Binary: claude Resolved path: /Users/myuser/.local/bin/claude Version: 2.1.301 (Claude Code) Auth: { "loggedIn": true, "authMethod": "oauth_token", "apiProvider": "firstParty", "analyticsDisabled": false, "projectsDirectory": "/Users/myuser/.claude/projects", "configDirectory": "/Users/myuser/.claude" } Models: 19 Status: Ready
Thanks for the diagnostic, @lstroud. I've reopened this.
Does a Claude agent you create now, on v0.12.0, still fail with the Claude Code 2.1.258 does not support this model error? If it does, please paste the exact error and the daemon log lines from that moment, from ~/.paseo/daemon.log (remove keys and tokens first).
Resolved after updating my CLIProxyAPI deployment from v7.3.9 to v8.0.40. My original explanation about an SDK-bundled Claude binary was incorrect.
Paseo was using the installed system Claude CLI, but my provider's ANTHROPIC_BASE_URL routed requests through CLIProxyAPI. The proxy's older Claude compatibility layer used a 2.1.258 client fingerprint, below Opus 5.5's required 2.1.280, and did not recognize the Agent SDK's sdk-ts entrypoint as native Claude Code.
An isolated request using Claude Code 2.1.306 succeeded directly against Anthropic and failed through the configured proxy with the same Claude Code 2.1.258 does not support this model error. The active proxy configuration had no explicit Claude header overrides.
Relevant upstream fixes:
- CLIProxyAPI v7.3.15 raised the Claude baseline to 2.1.280.
- CLIProxyAPI v8.0.36 added native
sdk-tsrecognition and corrected caller-header preservation.
After deploying v8.0.40, Opus 5.5 works in my setup. No Paseo code or provider environment changes were needed. Closing this as an external proxy compatibility issue. Thanks for following up on the diagnostic.