add elicitation support and examples#376
Conversation
🦋 Changeset detectedLatest commit: 32c7e3b The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
732ce1a to
fa9a031
Compare
threepointone
left a comment
There was a problem hiding this comment.
I'll dig into the example later today, but this is looking good. can you clarify my question? I'm not sure what the behaviour is
| private _requestIdToConnectionId: Map<string | number, string> = new Map(); | ||
|
|
||
| // Event-based elicitation handling | ||
| private _elicitationHandlers = new Map< |
There was a problem hiding this comment.
won't this map instance disappear if the agent hibernates? or is that not a problem?
There was a problem hiding this comment.
valid, didn't think about that, used durable storage instead to fix this
|
excellent PR, thank you very much! I think this should give us confidence to flesh out all the missing mcp features |
|
lemme fix a couple of lint warnings and land this myself |
Added elicitation support so MCP servers can ask users for input during tool execution. Pretty useful for confirmations, forms, and multi-step workflows.
Tested in VS Code
