Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client/src/components/ui/sandboxed-iframe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ interface SandboxedIframeProps {
* SandboxedIframe provides a secure double-iframe architecture per SEP-1865.
*
* Message flow:
* 1. Proxy sends ui/notifications/sandbox-ready when loaded
* 1. Proxy sends ui/notifications/sandbox-proxy-ready when loaded
* 2. Host sends ui/notifications/sandbox-resource-ready with HTML
* 3. Guest UI initializes and communicates via JSON-RPC 2.0
*/
Expand Down Expand Up @@ -157,7 +157,7 @@ export const SandboxedIframe = forwardRef<
(event.data as { jsonrpc?: string; method?: string }) || {};
if (jsonrpc !== "2.0") return;

if (method === "ui/notifications/sandbox-ready") {
if (method === "ui/notifications/sandbox-proxy-ready") {
setProxyReady(true);
onProxyReady?.();
return;
Expand Down
2 changes: 1 addition & 1 deletion server/routes/mcp/sandbox-proxy.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
window.parent.postMessage(
{
jsonrpc: "2.0",
method: "ui/notifications/sandbox-ready",
method: "ui/notifications/sandbox-proxy-ready",
params: {},
},
"*",
Expand Down