Repository navigation
Conversation
🦋 Changeset detectedLatest commit: 5501b3f 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.
|
This was referenced Nov 7, 2026
This was referenced Nov 26, 2026
This branch is waiting to be deployed
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.
MCP workflows may need a confirmation, root listing, or other client input before finishing. This lets Toolkit and resource handlers participate through explicit
toolkit(toolkit, { handlers })andregisterToolkitoverloads, with inferred handler requirements. Resource, template, and prompt helpers can returnMcpSchema.InputRequired.Modern clients receive
input_requiredand retry the operation through multi round-trip requests. Legacy clients answer supported reverse requests inside the original middleware lifetime, preserving authentication, cancellation, deadlines, and finalizers. Defaults allow 16 rounds and 60 seconds per reverse request. Unsupported inputs and legacy state-only continuations fail before sending the round.MissingRequiredClientCapabilitypreserves its requirement data, returning modern HTTP 400 before the response starts or legacy InvalidParams. Onmain, ordinary one-argument Toolkit encoding remains unchanged, including business values resembling MCP control results. The state protection PR also preservesnext-minor's separate support for explicitly declaredInputRequiredfailures..changeset/mcp-handler-input.mddeclares aneffectpatch for these compatible additions. State protection is a separate minor change; whole-round sampling-history validation is covered by #10447.Regression coverage: the explicit handler previously returned
completeinstead ofinput_required; resource helpers failed internally, and capability errors returned HTTP 200. Tests cover those paths, ordinary Toolkit compatibility, legacy/modern transports, and inferred handler/service types.Dependencies: #10441. The upstream diff includes these prerequisites; Focused comparison.
Verification
Target:
Effect-TS/effect:main. Validated head:5501b3f84c5d55936fc617be2053e2f74592c191.pnpm check,pnpm check-tsc, lint, JSDoc checks, full Tstyche/doctest suites, circular checks, AI-doc generation, package build withstripInternal: true, and distribution-type checks.--runwith explicit files. Generated docs were unchanged; temporary build configuration was restored.