diff --git a/AGENTS.md b/AGENTS.md index 20008238..5b65579c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -66,6 +66,7 @@ donutbrowser/ │ │ ├── mcp_server.rs # MCP tool engine, served over the remote bridge │ │ ├── mcp_toolsets.rs # Optional MCP toolsets: which tools a client lists (core + opt-in sets) │ │ ├── mcp_views.rs # Compact MCP views: profile summaries, downloads, filters, paging, size caps +│ │ ├── cdp_target.rs # CDP sockets to a local page or a cloud relay; agent commands to a local page share one pooled socket, since closing the socket that acted last makes Wayfern blur and hide the page │ │ ├── navigation_watch.rs # Whether a CDP action navigated, so a click waits only for a load that comes │ │ ├── page_dialog.rs # Native dialogs on agent-driven pages: a Page-enabled socket per local page, one relay socket per cloud session that pins the page its tools drive, DIALOG_OPEN fail fast, answers │ │ ├── network_capture.rs # MCP network capture: one browser-level socket per profile, in memory, credentials redacted diff --git a/e2e/lib/fixtures.mjs b/e2e/lib/fixtures.mjs index 7038133a..08b875a5 100644 --- a/e2e/lib/fixtures.mjs +++ b/e2e/lib/fixtures.mjs @@ -848,7 +848,8 @@ export function mcpFormsPage() { /** * Native dialogs a site opens: an inline Save link that answers with a * validation alert, a confirm, a prompt, and a field typed into later from a - * background tab. `?alert-on-load` opens an alert while the page loads. + * background tab. An Actions menu closes when the page loses focus, as many + * sites' menus do. `?alert-on-load` opens an alert while the page loads. */ export function mcpDialogsPage() { return ` @@ -867,6 +868,10 @@ export function mcpDialogsPage() {
+
+ + +