Repository navigation
fix(v2): align protocol version negotiation - #286
Merged
Merged
Conversation
benbrandt
marked this pull request as ready for review
October 16, 2026 10:33
benbrandt
enabled auto-merge (squash)
October 16, 2026 10:34
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.
Summary
-32022and structuredrequested/supporteddata, without requiring v2 client identity.-32602and post-initialization traffic version-specific.Protocol companion: agentclientprotocol/agent-client-protocol#2412
Compatibility and release sequencing
The v1 protocol contract is unchanged. V1 clients can handle the v2-only rejection as an ordinary initialization error.
This runtime fix uses the published schema pins and open numeric error type. No schema snapshots or generated files change. V2 catalog updates can follow the protocol/schema release.
Validation
main, including its schema-pin update.npm run checkpassed, including 964 tests and TypeDoc verification.main.git diff --checkpassed.