feat(mcp): resolve modern long-running tasks - #32
Merged
Conversation
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.
Problem
The hosted Agent could negotiate MCP 2026-07-28 tool calls, but it did not implement SEP-2663 server-directed Tasks. Pinned-modern SDK connections also synthesized discovery, so real server extension capabilities were hidden. The final component lock still referenced pre-identity/pre-Tasks domain revisions.
Solution
ResultClaim/resolver for theio.modelcontextprotocol/tasksextensionMcp-Name=taskIdtasks/get,tasks/update, andtasks/cancel; retain the trusted requester/resource owner/acting host/campaign/turn/base revision outside model-controlled argumentsserver/discoverfor configured MCP 2026-07-28 connections and fail closed on version downgrade or missing Tasks capabilityeef98fcf, D&D587f66e0, CoC515f6a7e, and Narrative3f369440taskTimeoutseparately from the synchronoustoolTimeoutVerification
pytest -q: 5382 passed, 73 skippedgit diff --check: passed1ba02ec1(merged as587f66e0): Agent Host completedmodule_draftthrough SEP-2663 over both stdio and Streamable HTTP after real capability discoveryNo release is published by this PR.