| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Replace the internal AssertObjectSchema (z.custom<object>) with proper Zod schemas (JSONValueSchema, JSONObjectSchema, JSONArraySchema) that produce correct JSON types, aligning the SDK's inferred types with the spec. This eliminates the need for most FixSpec workarounds in the type compatibility tests. Also syncs spec.types.ts and adds missing SDK types (error codes, ResultResponse types, MetaObject types) to pass spec type checks.
⚠️ No Changeset foundLatest commit: 35a05f0 Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset. This PR includes no changesetsWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Click here to learn what changesets are, and how to add one. Click here if you're a maintainer who wants to add a changeset to this PR |
Sorry, something went wrong.
|
@modelcontextprotocol/client
npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/client@1612
npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/server@1612
npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/express@1612
npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/hono@1612
npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/node@1612 commit: 56de257 |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, thanks for updating this straight away and for submitting the SEP in the first place! This looks nice now.
Sorry, something went wrong.
…tObjectSchema The merge with main brought in modelcontextprotocol#1612 which replaced AssertObjectSchema with JSONObjectSchema, but the extensions fields were not updated. Also fixes spec.types.ts to use JSONObject (matching experimental) for bidirectional type compatibility. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
Replace the internal AssertObjectSchema (z.custom) with proper Zod schemas (JSONValueSchema, JSONObjectSchema, JSONArraySchema) that produce correct JSON types, aligning the SDK's inferred types with the spec.
Also syncs spec.types.ts and adds missing SDK types (error codes, ResultResponse types, MetaObject types) to pass spec type checks.
Motivation and Context
How Has This Been Tested?
Breaking Changes
Types of changes
Checklist
Additional context