Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
App version reported by the generated browser runtime configuration: 26.1002.52244.
Installed Windows MSIX package: 26.1002.7124.0.
Desktop agent runtime recorded in the affected session: 0.162.0-alpha.2.
What subscription do you have?
ChatGPT subscription. The exact tier was not available in the diagnostics used for this report.
What platform is your computer?
Windows x64, OS version 10.0.26300.0, display version 26H2, build 26300.9457
WSL2 / Ubuntu 24.04.4 LTS
Linux kernel: 6.6.87.2-microsoft-standard-WSL2
The Windows desktop app runs the agent in WSL:
[desktop]
runCodexInWindowsSubsystemForLinux = trueThe project is stored in the Linux filesystem at /home/<user>/<project> (anonymized). Terminal commands and project file access work in that session.
What issue are you seeing?
Reproduced on 9 October 2026: both Computer Use desktop-window enumeration and Browser Use initialization fail from the WSL-backed desktop session. Both fail at the shared node_repl/js entry point, before the supplied JavaScript runs or a desktop/browser connection is established.
Even this minimal diagnostic call fails:
nodeRepl.write('runtime_connection_ok');The complete error, with the personal workspace path anonymized, is:
tool call error: tool call failed for `node_repl/js`
Caused by:
Mcp error: -32602: js: codex/sandbox-state-meta: sandboxCwd is not a local file URI: file:///home/<user>/<project>
The generated node_repl MCP server is enabled and launches the bundled Windows node_repl.exe from WSL. The unified-computer-use@openai-bundled and chrome@openai-bundled plugins are enabled.
What steps can reproduce the bug?
- Run Codex Desktop on Windows with the agent configured to run in WSL.
- Open a project stored under
/home/...in the WSL Linux filesystem. - Ask the agent to use Computer Use to list desktop windows, or to connect to a browser through Browser Use.
- Observe the error above at
node_repl/js, before either integration initializes. - Run the minimal diagnostic JavaScript shown above through the same tool. It fails identically without importing either client library.
The Computer Use test attempted to import @oai/sky and call sky.list_windows(). The browser test attempted the bundled browser-client.mjs bootstrap, followed by agent.browsers.getDefault(). Neither reached those operations because the tool call was rejected first.
Resetting the JavaScript kernel and retrying the minimal call did not resolve the error. No desktop-app or WSL restart was performed during these tests.
What is the expected behavior?
The built-in desktop and browser tools should initialize from a WSL-backed project using a supported Windows/WSL runtime bridge, while the repository and Git workflow remain in WSL.
If these capabilities are intentionally unavailable with a WSL agent, the app should explain that limitation before attempting the workflow and provide a documented supported alternative.
Additional information
A separate read-only interoperability test succeeded in the same session: Python in WSL launched the Windows powershell.exe, loaded UIAutomationClient / UIAutomationTypes, and inspected the existing Settings - Docker Desktop window. It returned 69 accessible elements, including Settings, Resources, Docker Engine and Apply, with exit code 0 and no stderr. No controls were activated or preferences changed.
That test confirms a working WSL-to-Windows terminal/UI Automation route. It does not validate the integrated Computer Use or Browser Use runtime.
The error suggests a mismatch between the Linux workspace URI and the Windows runtime's sandbox metadata validation. This is an inference from the error; the exact implementation defect has not been established. Browser discovery could not be tested because execution is blocked earlier.
Related open reports reviewed before filing this current-version reproduction:
- Windows Desktop + WSL agent: Browser, Chrome control, and Computer Use all fail through the shared bridge #34458 — Windows Desktop + WSL: Browser, Chrome control and Computer Use shared bridge failure.
- Windows app: Computer Use initialization fails for a WSL workspace with “sandboxCwd is not a local file URI” #42924 — Computer Use initialization rejects a WSL workspace URI.
- Windows desktop 26.908 + WSL: browser/Computer Use blocked by sandboxCwd URI rejection; recurring paid-service failure #45896 — Browser/Computer Use URI rejection on the 26.908 release.
This report confirms the failure remains reproducible on the version above. Please consolidate with the canonical issue if appropriate and clarify the supported WSL workflow or fix status.
Personal paths are anonymized. No credentials, raw configuration files, conversation transcripts or screenshots are attached.
Activity