Repository navigation
fix(protocol): recognize Claude Desktop local-agent requests - #511
Closed
a2662007798-boop wants to merge 1 commit into
Closed
a2662007798-boop wants to merge 1 commit into
a2662007798-boop wants to merge 1 commit into
Conversation
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
shenhao-stu
added a commit
to shenhao-stu/vm2api
that referenced
this pull request
Oct 17, 2026
Adapt the narrow compatibility fix proposed in upstream PR dofastted#511. Preserve existing relay rejection and full admission gates. Keep ordinary mid-conversation system text on supported models without the obsolete beta requirement; retain legacy behavior for extended controls.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 17, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 18, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 18, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 18, 2026
Upstream equivalent of fork PR #511 with unreleased CHANGELOG entry.
dofastted
added a commit
that referenced
this pull request
Oct 18, 2026
dofastted
added a commit
that referenced
this pull request
Oct 18, 2026
dofastted
added a commit
that referenced
this pull request
Oct 18, 2026
dofastted
added a commit
that referenced
this pull request
Oct 18, 2026
dofastted
added a commit
that referenced
this pull request
Oct 18, 2026
dofastted
added a commit
that referenced
this pull request
Oct 18, 2026
This was referenced Oct 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claude Desktop can send
claude-cli/2.1.299 (external, local-agent, agent-sdk/0.3.299)and a billing block withcc_entrypoint=local-agent. vm2api currently treats that entrypoint alone as OMP, soclaude_code_onlyreturns HTTP 403 before checking the existing Claude Code fingerprint.Limit the change to this classification: let a
local-agentrequest with the matching Desktop UA tokens,desktop_appplatform, and a valid desktop version continue through the existing official-client checks. Pass the headers to the same predicate in direct identity classification and admission. All OMP-specific system checks still run. The body-only relay path remains conservative forlocal-agent.The existing full header, session, billing-version, tool-shape, quota-probe, and count-token validation logic is unchanged. No helpers are moved and no new modules, dependencies, or settings are introduced.
Validation:
git diff --checkpass.