Windows Computer Use fails: codex/sandbox-state-meta missing sandboxPolicy

Resolved 💬 2 comments Opened Jun 23, 2026 by LY-hub666 Closed Aug 6, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

Summary

On Windows, every node_repl/js call used by the bundled Computer Use plugin fails before executing any JavaScript:

Mcp error: -32602: js: codex/sandbox-state-meta: missing field `sandboxPolicy`

This prevents @Computer from listing apps, launching Calculator, or reading any window state.

Environment

  • Codex Desktop package: 26.616.5445.0 (Microsoft Store, package status OK)
  • Bundled Computer Use / Browser plugin: 26.616.41845
  • Bundled Codex CLI: 0.142.0-alpha.6
  • @oai/sky: 0.4.13
  • OS: Windows 11 Pro, build 10.0.26200
  • Session ID: 019ef261-b6a2-7fe2-a2c0-81cd72585ca3

Reproduction

  1. Install and enable the bundled Computer Use plugin.
  2. Start a new local Desktop thread.
  3. Ask: @Computer open Calculator and read the current display.
  4. The agent invokes the bundled node_repl/js tool.
  5. The MCP server rejects the request with the missing sandboxPolicy error before user code runs.

A smaller reproduction is any call such as:

nodeRepl.write("node_repl_ok")

Checks already completed

  • BIOS virtualization is enabled and a hypervisor is present.
  • The AppX package reports Status: Ok and has a valid Store signature.
  • Computer Use was removed and reinstalled through the supported plugin CLI.
  • Codex Desktop was fully restarted and a new thread was used.
  • Removing the obsolete [features] js_repl = false entry does not change the error; Desktop restores that entry on restart.
  • No user-defined sandboxPolicy field was added because this appears to be internal request metadata, not a documented config key.
  • The failure is deterministic and occurs before @oai/sky initialization.

Expected behavior

The Desktop/app-server should pass a valid codex/sandbox-state-meta object to node_repl/js, allowing the minimal call to return node_repl_ok and Computer Use to initialize.

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 2 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #29338
  • #29303
  • #29211
  • #29193
  • #29482

Powered by Codex Action

ZRCPU · 2 months ago

I’m seeing the same issue on Windows 10 Pro.

For me, this affects not only Computer Use, but also Chrome and Browser/in-app browser. Even a minimal node_repl/js call fails before loading any plugin-specific script:

nodeRepl.write("ping");

Error:

tool call error: tool call failed for `node_repl/js`

Caused by:
    Mcp error: -32602: js: codex/sandbox-state-meta: missing field `sandboxPolicy`

Environment:

  • Windows 10 Pro
  • OS build: 19045
  • Codex Desktop version: 26.616.5445.0
  • Codex package: OpenAI.Codex_26.616.5445.0_x64__2p2nqsd0c76g0
  • Plugin versions:
  • browser: 26.616.41845
  • chrome: 26.616.41845
  • computer-use: 26.616.41845
  • gmail: 0.1.3

Gmail connector still works, and local file operations / PowerShell commands work. The plugin files appear intact, and Codex logs show the bundled Node runtime is detected successfully (v24.14.0, status ok).

I reinstalled Codex Desktop, but the issue persists. Reinstalling also caused local visible history to disappear, so I’d like to avoid further reinstall/cache-clearing steps unless maintainers recommend them.