From c587e076a0c64c68870b8a81ae742bd4eb3729ed Mon Sep 17 00:00:00 2001 From: Anton Pidkuiko <105124934+antonpk1@users.noreply.github.com> Date: Mon, 8 Dec 2025 01:12:24 +0000 Subject: [PATCH] fix: correct host-context-changed notification name in spec (#78) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- specification/draft/apps.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/draft/apps.mdx b/specification/draft/apps.mdx index 3e290bd..aacdedc 100644 --- a/specification/draft/apps.mdx +++ b/specification/draft/apps.mdx @@ -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 // 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 ```