mcp: support url mode elicitation (#646)
Add initial support for URL mode elicitation, by introducing the new types, as well as both server and client-side validation. A follow-up CL will add support for ErrURLElicitationRequired. For #623
This commit is contained in:
parent
d9263f7e47
commit
21fb03dd1a
1 changed files with 398 additions and 60 deletions
|
|
@ -15,3 +15,10 @@ v2.
|
|||
landing after the SDK was at v1, we missed an opportunity to panic on invalid
|
||||
tool names. Instead, we have to simply produce an error log. In v2, we should
|
||||
panic.
|
||||
|
||||
- Inconsistent naming.
|
||||
- `ResourceUpdatedNotificationsParams` should probably have just been
|
||||
`ResourceUpdatedParams`, as we don't include the word 'notification' in
|
||||
other notification param types.
|
||||
- Similarly, `ProgressNotificationParams` should probably have been
|
||||
`ProgressParams`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue