Skip to content

Add MCP 2026 task extension wire support#183

Closed
leehack wants to merge 1 commit into
spec/2026-subscriptions-listenfrom
spec/2026-task-extension-wire
Closed

Add MCP 2026 task extension wire support#183
leehack wants to merge 1 commit into
spec/2026-subscriptions-listenfrom
spec/2026-task-extension-wire

Conversation

@leehack
Copy link
Copy Markdown
Owner

@leehack leehack commented May 31, 2026

Summary

  • add the MCP Tasks extension capability helper and task extension wire/result types
  • parse tasks/update and notifications/tasks, including detailed task status payloads
  • add taskIds to subscriptions/listen filters and reject task subscriptions without the tasks extension capability

Validation

  • dart analyze
  • dart test test/types/tasks_extension_test.dart test/types/subscriptions_test.dart test/mcp_2026_07_28_test.dart test/types_test.dart test/server/server_test.dart test/client/client_test.dart
  • dart test -j 1
  • git diff --check

@codecov
Copy link
Copy Markdown

codecov Bot commented May 31, 2026

Codecov Report

❌ Patch coverage is 86.18421% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.74%. Comparing base (10c4973) to head (a9df586).

Files with missing lines Patch % Lines
lib/src/server/server.dart 67.74% 10 Missing ⚠️
lib/src/types/tasks.dart 91.83% 8 Missing ⚠️
lib/src/client/client.dart 62.50% 3 Missing ⚠️
Additional details and impacted files
@@                       Coverage Diff                        @@
##           spec/2026-subscriptions-listen     #183    +/-   ##
================================================================
  Coverage                           85.74%   85.74%            
================================================================
  Files                                  46       46            
  Lines                                8086     8234   +148     
================================================================
+ Hits                                 6933     7060   +127     
- Misses                               1153     1174    +21     
Flag Coverage Δ
unittests 85.74% <86.18%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@leehack leehack force-pushed the spec/2026-subscriptions-listen branch from 77c84f7 to 10c4973 Compare May 31, 2026 17:11
@leehack leehack force-pushed the spec/2026-task-extension-wire branch from d66853b to a9df586 Compare May 31, 2026 17:12
@leehack leehack marked this pull request as ready for review June 1, 2026 08:57
@leehack
Copy link
Copy Markdown
Owner Author

leehack commented Jun 1, 2026

Closing this draft micro PR because the RC spec work has been consolidated into a smaller reviewable stack. This change is preserved in #267 (MCP 2026 feature foundation); the consolidated tip is tree-identical to the previous micro-stack tip.

@leehack leehack closed this Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant