Skip to content

Commit c587e07

Browse files
antonpk1claude
andauthored
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 <[email protected]>
1 parent 19b9360 commit c587e07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

specification/draft/apps.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,12 +647,12 @@ Host SHOULD wait for a response before tearing down the resource (to prevent dat
647647

648648
Guest UI SHOULD send this notification when rendered content body size changes (e.g. using ResizeObserver API to report up to date size).
649649

650-
`ui/host-context-change` - Host context has changed
650+
`ui/notifications/host-context-changed` - Host context has changed
651651

652652
```typescript
653653
{
654654
jsonrpc: "2.0",
655-
method: "ui/host-context-change",
655+
method: "ui/notifications/host-context-changed",
656656
params: Partial<HostContext> // See HostContext type above
657657
}
658658
```
@@ -777,7 +777,7 @@ sequenceDiagram
777777
UI ->> H: notifications (e.g., ui/notifications/size-change)
778778
end
779779
opt Host notifications
780-
H ->> UI: notifications (e.g., ui/notifications/host-context-change)
780+
H ->> UI: notifications (e.g., ui/notifications/host-context-changed)
781781
end
782782
end
783783
```

0 commit comments

Comments
 (0)