You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refreshes the generated 2026-07-28 spec reference types to the current draft
schema and extends the spec-comparison test to cover a newly named params
interface.
Motivation and Context
#2252 vendored the 2026-07-28 reference types from a slightly older draft-spec
commit. Regenerating at the current draft schema (last touched by 77cb2648) picks up three changes that landed since:
DiscoverResult now extends CacheableResult
extension capability keys document the mandatory _meta-style prefix rule
ElicitationCompleteNotificationParams is extracted as a named interface
The third change adds a named type the SDK already has a zod-inferred
counterpart for, so the comparison test promotes it from the missing-types
list to a compatibility check. The DiscoverResult escape entry's note now
also names the new ttlMs/cacheScope mismatch (owned by the SEP-2549 PR).
How Has This Been Tested?
pnpm test:all, pnpm typecheck:all, pnpm lint:all, pnpm build:all green
Both spec comparison tests pass; deliberately narrowing an SDK schema type
fails typecheck through the comparison tests in both directions, confirming
the guards are live
Conformance suites (client + server) unchanged against the expected-failures
baselines
Breaking Changes
None — generated reference types and tests only; no runtime code changes.
Types of changes
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)
Generated with scripts/fetch-spec-types.ts. The recorded commit
(77cb2648) is the latest one touching schema/draft/schema.ts, matching
what the scheduled spec-types refresh would stamp — so the nightly job sees
this as current. No changeset: generated reference types and test files only,
no published-package behavior change.
…t 77cb2648
Picks up three draft-schema changes since the previous generation:
DiscoverResult now extends CacheableResult, extension capability keys
document the mandatory _meta-style prefix rule, and
ElicitationCompleteNotificationParams is extracted as a named interface.
The recorded commit is the latest one touching schema/draft/schema.ts,
matching what the scheduled spec-types refresh would stamp.
…7-28 spec comparison
The regenerated schema extracts the elicitation-complete notification
params as a named interface; the SDK already exports the matching
zod-inferred type, so it gets a compatibility check instead of a
MISSING_SDK_TYPES entry.
Also notes the new CacheableResult mismatch (required ttlMs/cacheScope)
on the DiscoverResult escape entry, owned by the SEP-2549 PR.
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 changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refreshes the generated 2026-07-28 spec reference types to the current draft
schema and extends the spec-comparison test to cover a newly named params
interface.
Motivation and Context
#2252 vendored the 2026-07-28 reference types from a slightly older draft-spec
commit. Regenerating at the current draft schema (last touched by
77cb2648) picks up three changes that landed since:
DiscoverResultnow extendsCacheableResult_meta-style prefix ruleElicitationCompleteNotificationParamsis extracted as a named interfaceThe third change adds a named type the SDK already has a zod-inferred
counterpart for, so the comparison test promotes it from the missing-types
list to a compatibility check. The
DiscoverResultescape entry's note nowalso names the new
ttlMs/cacheScopemismatch (owned by the SEP-2549 PR).How Has This Been Tested?
pnpm test:all,pnpm typecheck:all,pnpm lint:all,pnpm build:allgreenfails typecheck through the comparison tests in both directions, confirming
the guards are live
baselines
Breaking Changes
None — generated reference types and tests only; no runtime code changes.
Types of changes
Checklist
Additional context
Generated with
scripts/fetch-spec-types.ts. The recorded commit(
77cb2648) is the latest one touchingschema/draft/schema.ts, matchingwhat the scheduled spec-types refresh would stamp — so the nightly job sees
this as current. No changeset: generated reference types and test files only,
no published-package behavior change.