chore(core): regenerate 2026-07-28 spec reference types at spec commit 77cb2648#2259
Closed
felixweinberger wants to merge 2 commits into
Closed
chore(core): regenerate 2026-07-28 spec reference types at spec commit 77cb2648#2259felixweinberger wants to merge 2 commits into
felixweinberger wants to merge 2 commits into
Conversation
…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.
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.