You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: extract task orchestration from Protocol into TaskManager
8
+
9
+
**Breaking changes:**
10
+
-`taskStore`, `taskMessageQueue`, `defaultTaskPollInterval`, and `maxTaskQueueSize` moved from `ProtocolOptions` to `capabilities.tasks` on `ClientOptions`/`ServerOptions`
* Asserts that task creation is supported for `tools/call`.
20
-
* Used by {@linkcode @modelcontextprotocol/client!client/client.Client.assertTaskCapability | Client.assertTaskCapability} and {@linkcode @modelcontextprotocol/server!server/server.Server.assertTaskHandlerCapability | Server.assertTaskHandlerCapability}.
20
+
* Used to implement the `assertTaskCapability` or `assertTaskHandlerCapability` abstract methods on Protocol.
21
21
*
22
22
* @param requests - The task requests capability object
23
23
* @param method - The method being checked
@@ -52,7 +52,7 @@ export function assertToolsCallTaskCapability(
52
52
53
53
/**
54
54
* Asserts that task creation is supported for `sampling/createMessage` or `elicitation/create`.
55
-
* Used by {@linkcode @modelcontextprotocol/server!server/server.Server.assertTaskCapability | Server.assertTaskCapability} and {@linkcode @modelcontextprotocol/client!client/client.Client.assertTaskHandlerCapability | Client.assertTaskHandlerCapability}.
55
+
* Used to implement the `assertTaskCapability` or `assertTaskHandlerCapability` abstract methods on Protocol.
56
56
*
57
57
* @param requests - The task requests capability object
0 commit comments