tweaks
This commit is contained in:
parent
bc6458d3fb
commit
d32e43aaf5
2 changed files with 0 additions and 5 deletions
|
|
@ -13,7 +13,6 @@ export async function setupSandboxProxyIframe(sandboxProxyUrl: URL): Promise<{
|
||||||
iframe.style.height = "600px";
|
iframe.style.height = "600px";
|
||||||
iframe.style.border = "none";
|
iframe.style.border = "none";
|
||||||
iframe.style.backgroundColor = "transparent";
|
iframe.style.backgroundColor = "transparent";
|
||||||
// iframe.allow = 'microphone'
|
|
||||||
iframe.setAttribute("sandbox", "allow-scripts allow-same-origin allow-forms");
|
iframe.setAttribute("sandbox", "allow-scripts allow-same-origin allow-forms");
|
||||||
|
|
||||||
const onReady = new Promise<void>((resolve, _reject) => {
|
const onReady = new Promise<void>((resolve, _reject) => {
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,6 @@ import {
|
||||||
} from "@modelcontextprotocol/sdk/types.js";
|
} from "@modelcontextprotocol/sdk/types.js";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
type McpUiMessageRequest,
|
|
||||||
type McpUiMessageResult,
|
|
||||||
type McpUiOpenLinkRequest,
|
|
||||||
type McpUiOpenLinkResult,
|
|
||||||
AppBridge,
|
AppBridge,
|
||||||
PostMessageTransport,
|
PostMessageTransport,
|
||||||
} from "@modelcontextprotocol/ext-apps/app-bridge";
|
} from "@modelcontextprotocol/ext-apps/app-bridge";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue