fix: change size-changed to be in correct tense (#83)
* fix: change size-changed to be in correct tense * sdk changes
This commit is contained in:
parent
a09354bdf2
commit
ba1a27e465
1 changed files with 41 additions and 41 deletions
|
|
@ -632,12 +632,12 @@ Host MUST send this notification if the tool execution was cancelled, for any re
|
|||
Host MUST send this notification before tearing down the UI resource, for any reason, including user action, resource re-allocation, etc. The Host MAY specify the reason.
|
||||
Host SHOULD wait for a response before tearing down the resource (to prevent data loss).
|
||||
|
||||
`ui/notifications/size-change` - UI’s size changed
|
||||
`ui/notifications/size-changed` - UI’s size changed
|
||||
|
||||
```typescript
|
||||
{
|
||||
jsonrpc: "2.0",
|
||||
method: "ui/notifications/size-change",
|
||||
method: "ui/notifications/size-changed",
|
||||
params: {
|
||||
width: number, // Viewport width in pixels
|
||||
height: number // Viewport height in pixels
|
||||
|
|
@ -774,7 +774,7 @@ sequenceDiagram
|
|||
H --> UI: resources/read response
|
||||
end
|
||||
opt UI notifications
|
||||
UI ->> H: notifications (e.g., ui/notifications/size-change)
|
||||
UI ->> H: notifications (e.g., ui/notifications/size-changed)
|
||||
end
|
||||
opt Host notifications
|
||||
H ->> UI: notifications (e.g., ui/notifications/host-context-changed)
|
||||
|
|
|
|||
Loading…
Reference in a new issue