"""Alpic playground host adapter: the Skybridge "try this server" playground at /try (https://conformance.skybridge.tech/try), which renders MCP Apps views inline in a chat. Thinner than the chat hosts: the playground is already bound to this server's tools, so there's no app to connect and no account to log into. The prompt is plain (no @mention, no app-name resolution), and only two effects surface differently from ChatGPT/Claude: - openExternal is forwarded to a top-page window.open (no permission dialog, no tab the driver can track), recorded by install_state_listener. - requestModal opens the view as a host dialog (role="dialog" with a "Close" control) rather than a native OS dialog. """ import time from playwright.sync_api import Page from utils import ( PAGE_LOAD_TIMEOUT_MS, HostConfig, click_top_page_button, host_modal_present, ) def send_prompt_alpic(page: Page, app_name: str) -> None: """Type into the playground composer and send. The composer is a plain