Commit graph ext-tasks/seps/2663-tasks-extension.md
Author SHA1 Message Date
Rich Smith
f29ffe5ad3
fix: correct MISSING_REQUIRED_CLIENT_CAPABILITY error code to -32021 (#10) 2026-08-19 19:30:36 -07:00
Luca Chang
932668b768
Port #2756 (#5)
https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2756
2026-05-29 12:08:56 -07:00
Luca Chang
104a270d5f
chore: port ResultType fix (#4)
https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2773
2026-05-28 13:02:59 -07:00
Luca Chang
29f83d5c8b
Write updated docs and port SEP-2663 content (#2)
* Port SEP-2663 content

* Commit package-lock.json

* Add TODOs to import new types from SDK

* Copy InputRequests/InputResponses types from main repo

* Specify error for servers that require tasks

* Allow servers to require tasks

* Move "existing code" note to separate section

* Update 2663-tasks-extension.md

Co-authored-by: Caitie McCaffrey <caitiem20@github.com>

* Update 2663-tasks-extension.md

Co-authored-by: Caitie McCaffrey <caitiem20@github.com>

* Task Update Requests

* Link to MRTR spec for inputRequests

* Add auth check requirement

* Rename notifications/tasks/status

* Move detailed task types into task status section

* Add back explicit polling response requirements

* Disallow progress/logging notifications for now

* Add spec language for client behavior on inputRequests

* Mark Accepted

* Mark Final

* regenerate schema

* Fix check mode in generate-schemas.ts

Check mode previously compared the gitignored intermediate
schema/draft/generated/schema.ts against fresh output, then wrote a
temp file under that same directory to dynamic-import for JSON Schema
generation. On fresh checkouts (every CI run, since schema/**/generated/
is gitignored) the directory does not exist, so the temp-file write
crashed with ENOENT before reporting any real result. Local runs hid
the bug because once a developer runs the generator the directory
sticks around.

Drop the comparison against the gitignored intermediate (it cannot be
stale on CI by definition) and check only the committed schema.json.
The Zod schemas file is now written unconditionally so the dynamic
import resolves.

---------

Co-authored-by: Caitie McCaffrey <caitiem20@github.com>
2026-05-22 12:06:55 -07:00