Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com> Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
640 B
640 B
| @modelcontextprotocol/codemod |
|---|
| patch |
Emit a dedicated action-required diagnostic for v1 task-handler registrations (setRequestHandler(GetTaskRequestSchema, …), setNotificationHandler(TaskStatusNotificationSchema, …), and the other tasks/* schemas). The experimental tasks feature was removed in v2 (SEP-2663) and the tasks/* method strings are excluded from the typed RequestMethod / NotificationMethod surface, so these registrations are not rewritten to method-string form — the codemod marks each site with an @mcp-codemod-error comment pointing at the migration guide's tasks-removed section instead.