From dd6daca9038c7b8f9d6c3c67cdfa12e0336a9cc6 Mon Sep 17 00:00:00 2001 From: Anton Pidkuiko MacBook Date: Fri, 5 Dec 2025 15:02:29 +0000 Subject: [PATCH] fix: correct host-context-changed notification name in spec 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 a65949b1e..cd3dae2d2 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 ```