Skip to content

probe - #3794

Closed
shhhhhhjokerist wants to merge 1 commit into
github:mainfrom
shhhhhhjokerist:probe123
Closed

probe#3794
shhhhhhjokerist wants to merge 1 commit into
github:mainfrom
shhhhhhjokerist:probe123

Conversation

@shhhhhhjokerist

Copy link
Copy Markdown

No description provided.

`ServerRequest.ProtocolVersion()` returns the version the client asked for
during `initialize`, not the version the server answered. The initialize
handshake always negotiates down to 2025-11-25, and unknown version strings
such as `zzz` compared lexically as newer than 2026-07-28. Both cases listed
protocol-gated tools that the session cannot actually use.

Derive the version from the per-request `_meta` value when it is present,
which is authoritative for the 2026-07-28 protocol. Otherwise cap the
session value to the newest version the initialize handshake can negotiate
(2025-11-25) and compare against the known protocol versions instead of
comparing strings lexically.

Fixes github#3763
@shhhhhhjokerist
shhhhhhjokerist deleted the probe123 branch November 10, 2026 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant