Skip to content

Computer use CLI for AI agents

docs: say every local account can reach the --cdp port (#589)

Lahfir77149fd374a4
diff --git a/apps/docs/content/docs/guides/chromium-and-electron.mdx b/apps/docs/content/docs/guides/chromium-and-electron.mdx
index 141ab1660..eb365214f 100644
--- a/apps/docs/content/docs/guides/chromium-and-electron.mdx
+++ b/apps/docs/content/docs/guides/chromium-and-electron.mdx
@@ -83,7 +83,7 @@ Against the session above, the second `find` returned the address bar, `"name":
agent-desktop close-app chrome
```
-`close-app` ends the process and with it the port; the run above returned `delivered_verified` with `details.evidence: "process_instance_exited"`, and the endpoint stopped answering. While the port is open, any local process of the same user can control the app's web contents, so request `--cdp` only for the steps that need it.
+`close-app` ends the process and with it the port; the run above returned `delivered_verified` with `details.evidence: "process_instance_exited"`, and the endpoint stopped answering. While the port is open, any local process can control the app's web contents, including processes of other accounts on the same machine, because the DevTools port has no authentication. Request `--cdp` only for the steps that need it.
## When `--cdp` fails
diff --git a/skills/agent-desktop/references/commands-system.md b/skills/agent-desktop/references/commands-system.md
index e3b916b1c..010be62b3 100644
--- a/skills/agent-desktop/references/commands-system.md
+++ b/skills/agent-desktop/references/commands-system.md
@@ -45,7 +45,7 @@ The port exists only for a fresh process. `launch` never quits a running app for
Handoff: agent-desktop never talks to the port itself. Check `command -v agent-browser`. If it exists, run `agent-browser connect <port>` and use its snapshot, click and type workflow (`agent-browser skills get electron` has the guide). Playwright, Puppeteer and other CDP clients also work. Do not write raw CDP by hand or call app-internal APIs. If no client exists, ask the user to run `npm install -g agent-browser`, or stay on the accessibility path.
-Keep these on agent-desktop even with CDP connected: the native menu bar, file dialogs and sheets, window management, notifications, screenshots, and any app you did not launch. While the port is open, any local process of the same user can control the app's web contents. Request `--cdp` only for the step that needs it. `close-app` ends the exposure.
+Keep these on agent-desktop even with CDP connected: the native menu bar, file dialogs and sheets, window management, notifications, screenshots, and any app you did not launch. While the port is open, any local process can control the app's web contents, including processes of other accounts on the same machine, because the DevTools port has no authentication. Request `--cdp` only for the step that needs it. `close-app` ends the exposure.
## close-app