Skip to content

Computer use for the Pi coding agent — Windows apps, browsers and desktops through native UI trees, screenshots and real input.

Docs: a stale WSL_INTEROP gives way to a live socket (LPT-967)

alexshpunt-clanker[bot]6a5a9be5592d
diff --git a/docs/setup.md b/docs/setup.md
index e24c58b..096eaff 100644
--- a/docs/setup.md
+++ b/docs/setup.md
@@ -49,7 +49,7 @@ No `.pi/computer-use.json` is needed. An ignored local file in the project can o
## WSL interop
-Windows processes must run in the interactive desktop session, not service Session 0. A long-lived Linux process may inherit a stale `WSL_INTEROP`. If Windows commands hang, check that its socket exists **and** a simple `cmd.exe /d /c ver` succeeds. A live WSL terminal launched from Windows can provide a current endpoint. Keep its owning session alive; do not persist this machine's ephemeral socket as a default.
+Windows processes must run in the interactive desktop session, not service Session 0. A long-lived Linux process, such as a terminal multiplexer, may inherit a stale `WSL_INTEROP` whose socket is gone. Without an `interop` setting, computer use keeps a live `WSL_INTEROP` and otherwise uses the lowest-numbered live socket in `/run/WSL`; `1_interop` belongs to WSL's init and lives as long as the distribution. A configured `interop` is used as given. If Windows commands still hang, check that the socket exists **and** a simple `cmd.exe /d /c ver` succeeds.
One-shot PowerShell commands need closed stdin (`</dev/null`). Owned MCP and the window-identity peer intentionally keep stdin open for their protocol and exit on EOF. The wrapper forwards telemetry-off and update-check-off settings through `WSLENV`; it does not edit saved driver preferences.