Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com> Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1.4 KiB
1.4 KiB
| @modelcontextprotocol/core-internal | @modelcontextprotocol/client | @modelcontextprotocol/server |
|---|---|---|
| patch | patch | patch |
Re-pin the 2026-07-28 draft references (spec reference types, vendored schema.json twins, example corpus) to the latest spec commit and align the 2026-era wire surface with it. Deliberate 2026-era wire behavior changes (the released 2025-11-25 surface is untouched):
notifications/elicitation/completeis no longer part of the 2026-07-28 wire registry (the draft removed the notification together withelicitationIdon URL-mode elicitation). On connections negotiated at 2026-07-28, sending it — including viaServer.createElicitationCompletionNotifier()— now fails locally withSdkErrorCode.MethodNotSupportedByProtocolVersion, and inbound copies are dropped as unknown notifications. Both remain fully supported on 2025-11-25.notifications/cancelledon 2026-era connections now parses with a revision-exact schema that requiresrequestId(the draft made it required); the notification_metashape types theio.modelcontextprotocol/subscriptionIdkey. 2025-era parsing is unchanged.- The error code
-32001emitted for HTTP header/body mismatches is now defined by the draft schema (HEADER_MISMATCH); the emitted behavior is unchanged (documentation only).
No public API surface changes; the regenerated reference artifacts are internal/test-only.