Repository navigation
Make McpSchema.InputRequired a schema class - #10368
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 957615e The changes in this PR will be included in the next version bump. This PR includes changesets to release 33 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
Bundle Size AnalysisGenerated from PR build output; treat the content below as untrusted.
|
tim-smart
force-pushed
the
v4/next-minor
branch
from
November 4, 2026 03:03
865e45b to
0cdc887
Compare
tim-smart
force-pushed
the
agent/bob/81a236248a23
branch
from
November 4, 2026 03:09
63105b4 to
957615e
Compare
tim-smart
enabled auto-merge (squash)
November 4, 2026 03:10
effect-bot
pushed a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 5, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 5, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 5, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 5, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 5, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 5, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 5, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 5, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 5, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 5, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 6, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 6, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 6, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 18, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 18, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 19, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 19, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 19, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 19, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
pushed a commit
that referenced
this pull request
Nov 20, 2026
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.
McpSchema.InputRequiredis now aSchema.TaggedClass, andMcpSchema.McpInputRequestis now a schema. A toolkit tool can declarefailure: McpSchema.InputRequireddirectly.#10362 JSON-encodes "return"-mode tool failures, so a
Schema.instanceOf(McpSchema.InputRequired)failure schema now fails withToolResultEncodingError. That broke twoProtocolAdapters.test.tstests from #10090 once both were onv4/next-minor. With the schema class, those tests declarefailure: McpSchema.InputRequired.Review notes
InputRequiredrelease note is in a newminorchangeset (mcp-input-required-schema.md). Encode tool results with their JSON codec #10362'spatchchangeset is unchanged, so the note won't ship in a 4.0 patch release.InputRequiredconstructor now validates its fields and throws on invalid input, for example an unknown requestmethod. The changeset's migration notes cover this.Validation
pnpm vitest run packages/effect/test/ai/(34 files, 1749 passed)tstyche typetest/ai/McpServer.tst.tspnpm checkCloses EFF-3358