typescript-sdk/.changeset/finish-sdkerror-capability.md
Felix Weinberger 01954e621a
fix: convert remaining capability throws to SdkError (#1761)
Co-authored-by: Matteo Gobbo <info@matteogobbo.it>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-03-26 23:47:07 +02:00

431 B

@modelcontextprotocol/core @modelcontextprotocol/client @modelcontextprotocol/server
patch patch patch

Convert remaining capability-assertion throws to SdkError(SdkErrorCode.CapabilityNotSupported, ...). Follow-up to #1454 which missed Client.assertCapability(), the task capability helpers in experimental/tasks/helpers.ts, and the sampling/elicitation capability checks in experimental/tasks/server.ts.