fix: correct host-context-changed notification name in spec (#78)

Update `ui/host-context-change` to `ui/notifications/host-context-changed`
to match the SDK implementation and follow the notifications naming convention.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Anton Pidkuiko 2025-12-08 01:12:24 +00:00 • committed by GitHub
commit c587e076a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -647,12 +647,12 @@ Host SHOULD wait for a response before tearing down the resource (to prevent dat
Guest UI SHOULD send this notification when rendered content body size changes (e.g. using ResizeObserver API to report up to date size).
`ui/host-context-change` - Host context has changed
`ui/notifications/host-context-changed` - Host context has changed
```typescript
{
jsonrpc: "2.0",
method: "ui/host-context-change",
method: "ui/notifications/host-context-changed",
params: Partial<HostContext> // See HostContext type above
}
```
@ -777,7 +777,7 @@ sequenceDiagram
UI ->> H: notifications (e.g., ui/notifications/size-change)
end
opt Host notifications
H ->> UI: notifications (e.g., ui/notifications/host-context-change)
H ->> UI: notifications (e.g., ui/notifications/host-context-changed)
end
end
```