Skip to content

fix(validation): accept extension result envelopes - #468

Open
jstar0 wants to merge 1 commit into
modelcontextprotocol:mainfrom
jstar0:fix/424-extension-result-validation
Open

fix(validation): accept extension result envelopes#468
jstar0 wants to merge 1 commit into
modelcontextprotocol:mainfrom
jstar0:fix/424-extension-result-validation

Conversation

@jstar0

@jstar0 jstar0 commented Aug 26, 2026

Copy link
Copy Markdown

Summary

  • Treat open resultType discriminators such as SEP-2663 task as extension results.
  • Validate extension results against the generic JSON-RPC result envelope until a versioned extension schema is available.
  • Add regression coverage for a task result returned from tools/call.

Verification

  • npm run build
  • npm test (44 test files, 525 tests passed)
  • npm run check (typecheck, ESLint, and Prettier)
  • Pre-push hook passed (format check and full test suite)

Fixes #424

This fixes modelcontextprotocol#424

Signed-off-by: King Star <mcxin.y@gmail.com>
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.

wire-schema validation rejects SEP-2663 task envelopes - no resultType "task" branch

1 participant