-
Notifications
You must be signed in to change notification settings - Fork 1.7k
v2 - RFC Extract Tasks out of protocol.ts into TaskManager
#1673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
felixweinberger
merged 20 commits into
modelcontextprotocol:main
from
KKonstantinov:feature/extract-tasks-in-task-manager-trigger-on-capability
Mar 25, 2026
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
ca726c5
tasks extraction - execute on capability declaration, accept task sto…
KKonstantinov 9f62d77
fix check
KKonstantinov 893b484
lint fix
KKonstantinov f98101a
Merge branch 'main' into feature/extract-tasks-in-task-manager-trigge…
KKonstantinov d6fa944
add tests, bug fixes
KKonstantinov a3f240e
Merge branch 'feature/extract-tasks-in-task-manager-trigger-on-capabi…
KKonstantinov 556b819
Merge branch 'main' into feature/extract-tasks-in-task-manager-trigge…
KKonstantinov 3b7c0fd
lint fix
KKonstantinov daf6c55
Merge branch 'main' into feature/extract-tasks-in-task-manager-trigge…
KKonstantinov 9c00777
revert module indirection
KKonstantinov bcda271
Merge branch 'feature/extract-tasks-in-task-manager-trigger-on-capabi…
KKonstantinov 135969f
clean up
KKonstantinov a2e589d
check fix
KKonstantinov ca49882
Fix changeset: assertTaskCapability methods are not removed
felixweinberger cdb8b1f
Fix NullTaskManager: detect task-augmented requests and assert capabi…
felixweinberger 2e3c91d
Merge branch 'main' into feature/extract-tasks-in-task-manager-trigge…
felixweinberger 2a6e9ce
Fix changeset: correct breaking change description
felixweinberger 3061350
Fix NullTaskManager task param detection
felixweinberger 044c160
Format with prettier
felixweinberger 0e9dd77
Sort imports and format
felixweinberger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| "@modelcontextprotocol/core": minor | ||
| "@modelcontextprotocol/client": minor | ||
| "@modelcontextprotocol/server": minor | ||
| --- | ||
|
|
||
| refactor: extract task orchestration from Protocol into TaskManager | ||
|
|
||
| **Breaking changes:** | ||
| - `taskStore`, `taskMessageQueue`, `defaultTaskPollInterval`, and `maxTaskQueueSize` moved from `ProtocolOptions` to `capabilities.tasks` on `ClientOptions`/`ServerOptions` |
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.