Add story-style examples suite (27 stories + harness + CI) (#2957)
This commit is contained in:
parent
9dc8c5f02d
commit
4caa41f6d5
1 changed files with 6801 additions and 26 deletions
16
examples/stories/tasks/README.md
Normal file
16
examples/stories/tasks/README.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# tasks
|
||||
|
||||
The `io.modelcontextprotocol/tasks` extension: long-running work registered
|
||||
with `@task`, polled via `tasks/get`, updated mid-flight, and cancelled with
|
||||
`tasks/cancel`. The story will show a task that outlives the request that
|
||||
started it.
|
||||
|
||||
**Status: not yet implemented.** The extension types exist but the `extensions`
|
||||
capability map is not yet surfaced on `MCPServer`, and the runtime trails the
|
||||
release. The TypeScript SDK deliberately removed its tasks example pending the
|
||||
same work.
|
||||
|
||||
## Spec
|
||||
|
||||
[Tasks — basic utilities](https://modelcontextprotocol.io/specification/draft/basic/utilities/tasks)
|
||||
· [SEP-2133 — extensions capability](https://github.com/modelcontextprotocol/modelcontextprotocol/issues/2133)
|
||||
Loading…
Reference in a new issue