mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6711] [Issue]: Claude Subscription cannot use models newer than its bundled Claude Code runtime (Opus 5.5) #3759
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3759
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SonaGat3 on GitHub (Sep 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6711
Originally assigned to: @SonaGat3 on GitHub.
Summary
A Claude Subscription connection cannot generate with
claude-opus-5-5, even though that model is in the Engine's own subscription model list. The provider runs the Claude Code binary that ships inside@anthropic-ai/claude-agent-sdk, and the lockfile pins a version of that package whose runtime the API no longer accepts for recent models.Expected behavior
Selecting Claude Opus 5.5 on a Claude Subscription connection generates a reply, like the other models on that connection.
Actual behavior
The request fails and the provider surfaces the API error:
Before that, the runtime reports the model as outside its catalog, so it assumes a 200k context window for auto-compaction:
The advice in the error cannot be followed by the user.
claude updateupdates aclaudeinstall on the host, and the Engine never runs it:@anthropic-ai/claude-agent-sdkships its own platform binary (node_modules/@anthropic-ai/claude-agent-sdk-<platform>/claude), and no call site passespathToClaudeCodeExecutable. The version the API checks is therefore the one inpnpm-lock.yaml, and only a dependency update changes it.Measured here:
claude-agent-sdk-win32-x64/claude.exe --version)claude --version)@anthropic-ai/claude-agent-sdkinpnpm-lock.yamlUpdating the host install changes nothing, which is what made this hard to place at first.
claude-opus-5-5is already listed inCLAUDE_SUBSCRIPTION_MODELS(packages/shared/src/constants/model-lists.ts), so the Engine offers a model its bundled runtime cannot reach.Steps to reproduce
claude logindone once on the host).Or, without the Engine, straight against the binary it spawns:
Environment
stagingat613721b22)Logs, screenshots, or video
The two blocks under Actual behavior are the complete output of the reproduction command above.
Additional context
@anthropic-ai/claude-agent-sdkrelease from0.3.280on carries a runtime the API accepts. Verified locally with0.3.282, which bundles Claude Code 2.1.282: the same request replies, and the unrecognized-model warning disappears.pnpm-workspace.yamlsetsminimumReleaseAge: 1440, so a release published less than 24 hours ago is refused bypnpm installon purpose. The newest version is not always installable on the day it lands.abe61d30a(build: refresh compatible dependencies and CI actions, #6286), from^0.3.235to^0.3.273. The 2026-09-24 sweep (075894554, #6602) did touchpackages/server/package.json— it moved@fastify/staticandtsx— and left this package at0.3.273, at a point when0.3.280was already published and past the release-age window. So this dependency is not tracking on its own, and it gates which models the subscription provider can reach.claude-subscription.provider.tsadvisesnpm i -g @anthropic-ai/claude-code. That install is not what the provider runs either, and it is what sent me looking at the host version first.I have the dependency update ready and will open a PR against
staging.Template check
@SonaGat3 commented on GitHub (Sep 27, 2026):
Closing this, to be adressed on #6693