You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempted config workaround:
[mcp_servers.node_repl]
args = ["--disable-sandbox"]
But Codex Desktop launched node_repl without that arg / appears to ignore generated TOML args for this bundled server.
Restored config to normal.
Impact:
Chrome plugin automation is blocked, including Shopify admin/browser tasks.
A minimal mcp__node_repl.js call such as nodeRepl.write('ok') fails before user JS runs:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field `sandboxPolicy`
Impact:
The Chrome plugin cannot bootstrap because node_repl/js fails before it can import the browser client or call agent.browsers.get('extension').
This blocks Chrome-backed workflows even though the Chrome extension and native host appear healthy.
Additional local debugging:
The thread context records sandbox_policy in snake_case.
The bundled node_repl appears to require sandboxPolicy in camelCase inside codex/sandbox-state-meta.
In a standalone MCP probe, the same malformed/snake_case sandbox meta reproduces this exact error; passing camelCase sandboxPolicy succeeds.
A local wrapper that normalizes sandbox_policy -> sandboxPolicy works in a standalone probe, but Codex Desktop appears to launch the bundled node_repl directly / rewrite or ignore mcp_servers.node_repl command/args, so this is not a stable workaround from ~/.codex/config.toml.
Reacted by Sirui Liang, JackPeng, clayz, StefanBurscher and Siddie
Independent Windows reproduction from Codex Desktop 26.616.5445.0 on Windows 10 IoT Enterprise LTSC 10.0.19044 x64. Bundled Browser plugin 26.616.41845 is installed and enabled; bundled CLI/app-server is codex-cli 0.142.0-alpha.6. The exact codex/sandbox-state-meta: missing field sandboxPolicy error occurs before user JavaScript or navigation, in both an existing thread and a fresh thread after a full app restart. Session metadata does contain sandbox policy danger-full-access and permission profile disabled, but the field expected by node_repl is still absent. This is not site- or project-specific and makes Browser automation completely unavailable while ordinary shell/file tools continue to work. Related Windows report: #29193.
Chrome/Browser automation fails before any browser page or user JavaScript is accessed. The tool is discovered and invoked, but node_repl/js fails internally with:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field `sandboxPolicy`
This happens even after reinstalling Codex and removing the manually registered node_repl MCP from codex mcp list.
My current understanding is that this is not the older “Node REPL tool is not exposed” failure mode. In my case, the tool call reaches node_repl/js, but the bundled Node REPL bridge expects a camelCase sandboxPolicy field from codex/sandbox-state-meta, while the active session appears to provide sandbox metadata in a different shape.
Impact:
The Chrome plugin cannot bootstrap, so Chrome-backed workflows fail even though the Chrome extension/plugin appears installed and enabled. Regular shell access still works.
This looks consistent with the root cause described above: a schema mismatch between Codex Desktop 26.616.41845 and the bundled node_repl / Chrome plugin runtime.
I can reproduce this on macOS in Codex Desktop 26.616.41845.
Additional evidence from local Codex session history in the same project:
In-app Browser control worked earlier in this same project with Browser plugin/runtime 26.616.32156.
The successful bootstrap connected to backend iab, opened http://localhost:5173/, got title Age of Agents, and inspected the DOM through tab.playwright.domSnapshot().
After update to Browser plugin/runtime 26.616.41845, the same Browser bootstrap fails before any user JS runs:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field `sandboxPolicy`
A minimal nodeRepl.write("ok") call fails with the same error, so this is not caused by the Browser client import, Playwright, or project code.
Changing thread permissions / full access does not help.
Attempting to work around this with --disable-sandbox in mcp_servers.node_repl.args is not effective because Codex Desktop appears to rewrite or ignore the bundled node_repl args.
This looks like a regression between 26.616.32156 and 26.616.41845, where Desktop/app-server no longer passes the sandboxPolicy field expected by bundled node_repl/js.
Confirmed on macOS 26.5.1 arm64 with Codex Desktop 26.616.41845 (build 4198) and bundled runtime 0.142.0-alpha.6.
Additional evidence:
Codex.app was updated locally at 10:12 on 2026-06-20.
The same nested node_repl/js Browser workflow succeeded before the update and began failing after it.
The failure affects both newly created threads and an older thread that successfully controlled the in-app browser before the update, so thread recreation does not resolve it.
The recorded turn context contains sandbox_policy: {"type":"danger-full-access"}.
Desktop global state also contains sandboxPolicy: {"type":"dangerFullAccess"} for the affected thread.
Despite those values being present upstream, node_repl/js rejects the MCP call before executing JavaScript with: Mcp error: -32602: js: codex/sandbox-state-meta: missing field sandboxPolicy
js_reset still works, confirming the failure is specific to the execution call requiring sandbox metadata.
Attempting to supply _meta explicitly is rejected by the exposed tool schema, so there is no agent-side workaround.
This blocks the bundled in-app Browser backend; it is unrelated to the target website or authentication state.
This looks like a regression in Desktop/app-server metadata propagation introduced with the current build.
Additional macOS confirmation from my local setup after updating the standalone runtime:
Environment:
Codex Desktop: 26.616.41845, build 4198
Standalone CLI/app-server after codex update: codex-cli 0.142.0-alpha.7
App-server status: running on 0.142.0-alpha.7
OS: macOS arm64
Project feature flags: browser_use, browser_use_external, in_app_browser, plugins, computer_use, apps, and enable_mcp_apps all effectively enabled in the project
Minimal repro still fails after the standalone update and app-server restart:
nodeRepl.write("ok")
Result:
tool call error: tool call failed for `node_repl/js`
Caused by:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field `sandboxPolicy`
Important extra detail: codex mcp list --json still wires node_repl to the Desktop app bundle:
I also inspected the public rust-v0.142.0-alpha.7 macOS DMG from the GitHub release; it contains CLI payloads (codex, codex-responses-api-proxy) rather than a replacement Codex.app, so that update path does not refresh the desktop-bundled node_repl.
This makes the failure look independent of the project/user feature flags and independent of the standalone CLI/app-server version: the stale/mismatched Desktop-bundled node_repl path is still the component rejecting the sandbox metadata before any user JS runs.
same on Codex Desktop 26.616.41845 build 4198, macOS Darwin 25.5.0 arm64, minimal nodeRepl.write('ping') fails with the same missing sandboxPolicy error.
The public rust-v0.142.0-alpha.7 macOS DMG from the GitHub release contains CLI payloads (codex, codex-responses-api-proxy) rather than a replacement Codex.app, so that update path does not refresh the Desktop-bundled node_repl.
This makes the failure independent of project/user feature flags and independent of the standalone CLI/app-server version: the Desktop-bundled node_repl path remains the component rejecting the sandbox metadata before any user JavaScript runs.
Mcp error: -32602: js: codex/sandbox-state-meta: missing field `sandboxPolicy`
Additional checks/recovery attempted:
Restarted Codex Desktop: same error.
Rediscovered node_repl with tool search: same error.
Chrome health check was clean: extensionReady: true, nativeHostCorrect: true, chromeRunning: false, bridgeResetRecommended: false.
Killed stale node_repl.exe helpers: the tool then reported Transport closed until rediscovered/restarted, then returned to the same sandboxPolicy failure.
Temporarily moved the cached cua_node runtime aside to force reprovisioning; Codex did not recreate it in-thread, so I restored the runtime folder.
Chrome itself is not involved; the failure happens with the one-line nodeRepl.write('ok') call before any browser/bootstrap code runs.
This lines up with the suspected desktop app / bundled MCP schema mismatch rather than a Chrome native-host issue.
Running the bundled server directly with --disable-sandbox succeeds for a minimal JS call:
manual js ok
Running the bundled server normally and manually sending an empty sandbox metadata object
reproduces the exact error:
{
"_meta": {
"codex/sandbox-state-meta": {}
}
}
Result:
js: codex/sandbox-state-meta: missing field `sandboxPolicy`
This suggests the bundled node_repl server and Node kernel are healthy, but the Codex
Desktop/tool bridge is sending codex/sandbox-state-meta without the fields required by this node_repl build. It also confirms the Chrome/browser connector is only a downstream casualty:
the failure happens before any Chrome connector code can run.
As the name suggests, that's the MacOS/Arm build. I'm not sure how to download others, sorry.
Tip: You can verify that oaistatic.com is indeed an official OpenAI domain by going to https://chatgpt.com/download/ and observing that all MacOS downloads come from there.
I'm running into this as well. If it helps (but I'm guessing based on all these comments, it does not) I started a project on the latest Codex windows build, pushed a brand new repo, and moved over to macOS, downlaoded the repo, and opened it up in Codex macos build, and I'm stuck here.
Huge thank you to @m-thomson, this worked for me, just need to ignore that tempting Update button until this gets fixed.
In case anyone would like to downgrade to the previous release until this is addressed:
As the name suggests, that's the MacOS/Arm build. I'm not sure how to download others, sorry.
Tip: You can verify that oaistatic.com is indeed an official OpenAI domain by going to chatgpt.com/download and observing that all MacOS downloads come from there.
Adding another macOS repro with matching symptoms.
Environment
macOS 26.5.1, build 25F80, arm64
Codex Desktop / bundled Chrome plugin version observed: 26.616.41845
Google Chrome: 149.0.7827.116 at /Applications/Google Chrome.app
Chrome profile selected by Codex checks: Default
Codex Chrome Extension: installed and enabled, version 1.1.5_0
Native messaging host manifest: present and valid
Failure
Any attempt to use the Chrome bridge / browser automation path fails before JS executes:
tool call error: tool call failed for `node_repl/js`
Caused by:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field `sandboxPolicy`
Checks Performed
scripts/chrome-is-running.js --check: Chrome is running.
scripts/installed-browsers.js --check: Google Chrome is installed.
scripts/check-extension-installed.js --json: selected Default profile has the Codex Chrome Extension installed and enabled.
scripts/check-native-host-manifest.js --json: manifest exists, host name matches, expected extension origin is allowed, and correct: true.
Opened a blank Chrome window through scripts/open-chrome-window.js for the selected Default profile, waited, then retried the bridge. Same missing field sandboxPolicy error.
Assessment
This looks like the same app-side metadata/schema issue described here, rather than a missing or disabled extension or a broken native host manifest.
Confirmed fixed on my Windows Codex Desktop host after updating.
Previous failing repro from my earlier comments:
Codex Desktop: 26.616.5445.0
Bundled Browser/Chrome/Computer Use runtime observed: 26.616.41845
Failure: every real node_repl/js execution failed before user JS ran with Mcp error: -32602: js: codex/sandbox-state-meta: missing field sandboxPolicy
Downstream impact: Browser, @Chrome, and Computer Use could not initialize.
Current retest after hotfix/update:
Codex Desktop package: 26.616.6631.0
Bundled Browser/Chrome/Computer Use cache observed locally: 26.616.51431
Workspace dependency bundle: 26.619.11828
OS: Windows 10.0.26200.8655
Smoke results:
mcp__node_repl.js_reset succeeded.
Minimal JS execution succeeded: nodeRepl.write('node-repl-ok') returned node-repl-ok.
In-app Browser comparison succeeded: opened https://example.com/, title Example Domain.
@Chrome initially reported Browser is not available: extension while Chrome was not running. After launching Chrome, extension-backed bootstrap succeeded, opened https://example.com/, read title Example Domain, and finalized the agent-created tab.
Computer Use bootstrap succeeded. sky.list_apps() returned successfully with 40 apps, 6 running apps, and 8 targetable windows. I did not test click/type/window activation in this pass.
So the original shared node_repl/jssandboxPolicy failure is resolved on this Windows host after the hotfix. The only caveat I observed is separate from the original bug: Chrome still needs to be running before the extension-backed @Chrome path connects.
Confirmed fixed for me after updating Codex. The built-in Browser plugin now bootstraps successfully, and I can open/read a localhost page without the previous codex/sandbox-state-meta: missing field sandboxPolicy failure.
It is good to know that its resolved, but the reason such a major bug existed without proper testing, needs to be investigated. It is okay if codex doesn't ship new features often, but stability of existing features is what should matter the most.
On macOS, using the same OpenAI account in each surface, the desktop Codex app can use the Chrome MCP successfully, but Codex CLI and Codex VS Code cannot.
Failure surfaces:
Codex CLI
Codex VS Code extension
Error:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field sandboxPolicy
I tried reinstalling and pkill/restarting everything, with no change.
Versions:
Codex CLI: codex-cli 0.142.0
Desktop app build: CFBundleVersion 4028
Chrome plugin/MCP bundle: chrome 26.611.62324
CLI and VS Code appear not to send sandboxPolicy in codex/sandbox-state-meta for node_repl/Chrome MCP calls, while the desktop Codex app does.
Activity
derekNeedCoffee commentedon Jun 20, 2026
I am hitting the same issue on macOS.
Environment:
Observed behavior:
mcp__node_repl.jscall such asnodeRepl.write('ok')fails before user JS runs:Impact:
node_repl/jsfails before it can import the browser client or callagent.browsers.get('extension').Additional local debugging:
sandbox_policyin snake_case.node_replappears to requiresandboxPolicyin camelCase insidecodex/sandbox-state-meta.sandboxPolicysucceeds.sandbox_policy -> sandboxPolicyworks in a standalone probe, but Codex Desktop appears to launch the bundlednode_repldirectly / rewrite or ignoremcp_servers.node_replcommand/args, so this is not a stable workaround from~/.codex/config.toml.andryserbice commentedon Jun 20, 2026
Independent Windows reproduction from Codex Desktop 26.616.5445.0 on Windows 10 IoT Enterprise LTSC 10.0.19044 x64. Bundled Browser plugin 26.616.41845 is installed and enabled; bundled CLI/app-server is codex-cli 0.142.0-alpha.6. The exact
codex/sandbox-state-meta: missing field sandboxPolicyerror occurs before user JavaScript or navigation, in both an existing thread and a fresh thread after a full app restart. Session metadata does contain sandbox policydanger-full-accessand permission profiledisabled, but the field expected bynode_replis still absent. This is not site- or project-specific and makes Browser automation completely unavailable while ordinary shell/file tools continue to work. Related Windows report: #29193.davidwushi1145 commentedon Jun 20, 2026
I’m hitting the same issue on macOS.
Environment:
Observed behavior:
Chrome/Browser automation fails before any browser page or user JavaScript is accessed. The tool is discovered and invoked, but
node_repl/jsfails internally with:This happens even after reinstalling Codex and removing the manually registered
node_replMCP fromcodex mcp list.My current understanding is that this is not the older “Node REPL tool is not exposed” failure mode. In my case, the tool call reaches
node_repl/js, but the bundled Node REPL bridge expects a camelCasesandboxPolicyfield fromcodex/sandbox-state-meta, while the active session appears to provide sandbox metadata in a different shape.Impact:
The Chrome plugin cannot bootstrap, so Chrome-backed workflows fail even though the Chrome extension/plugin appears installed and enabled. Regular shell access still works.
This looks consistent with the root cause described above: a schema mismatch between Codex Desktop 26.616.41845 and the bundled
node_repl/ Chrome plugin runtime.fduch-stranger commentedon Jun 20, 2026
I can reproduce this on macOS in Codex Desktop 26.616.41845.
Additional evidence from local Codex session history in the same project:
26.616.32156.iab, openedhttp://localhost:5173/, got titleAge of Agents, and inspected the DOM throughtab.playwright.domSnapshot().26.616.41845, the same Browser bootstrap fails before any user JS runs:nodeRepl.write("ok")call fails with the same error, so this is not caused by the Browser client import, Playwright, or project code.--disable-sandboxinmcp_servers.node_repl.argsis not effective because Codex Desktop appears to rewrite or ignore the bundlednode_replargs.This looks like a regression between
26.616.32156and26.616.41845, where Desktop/app-server no longer passes thesandboxPolicyfield expected by bundlednode_repl/js.joshp123 commentedon Jun 20, 2026
I'm experiencing the same issue; couple of additional data points:
cameronfairbairn commentedon Jun 20, 2026
I can reproduce the same failure on macOS with the current Desktop build.
Environment:
26.616.41845, build4198codex-cli 0.142.0-alpha.626.3build25D125, arm64chrome@openai-bundledruntime26.616.41845149.0.7827.115Defaultprofile, extension version1.1.5_0exists=true,correct=true, expected origin presentMinimal repro in the affected Codex thread:
Actual result, before any user JS executes:
Additional recovery attempts / checks:
Google Chromeandextension-hostprocesses exited.scripts/open-chrome-window.js; fresh Chrome andextension-hostprocesses started.scripts/chrome-is-running.js --check-> OKscripts/check-extension-installed.js --json-> installed/enabled true for selected profilescripts/check-native-host-manifest.js --json-> manifest correctsandboxPolicyerror persists.Impact:
node_repl/jsfails before importing the browser client or callingagent.browsers.get('extension').giufrat commentedon Jun 20, 2026
Confirmed on macOS 26.5.1 arm64 with Codex Desktop 26.616.41845 (build 4198) and bundled runtime 0.142.0-alpha.6.
Additional evidence:
node_repl/jsBrowser workflow succeeded before the update and began failing after it.sandbox_policy: {"type":"danger-full-access"}.sandboxPolicy: {"type":"dangerFullAccess"}for the affected thread.node_repl/jsrejects the MCP call before executing JavaScript with:Mcp error: -32602: js: codex/sandbox-state-meta: missing field sandboxPolicyjs_resetstill works, confirming the failure is specific to the execution call requiring sandbox metadata._metaexplicitly is rejected by the exposed tool schema, so there is no agent-side workaround.This looks like a regression in Desktop/app-server metadata propagation introduced with the current build.
mahidalhan commentedon Jun 20, 2026
Additional macOS confirmation from my local setup after updating the standalone runtime:
Environment:
26.616.41845, build4198codex update:codex-cli 0.142.0-alpha.70.142.0-alpha.7browser_use,browser_use_external,in_app_browser,plugins,computer_use,apps, andenable_mcp_appsall effectively enabled in the projectMinimal repro still fails after the standalone update and app-server restart:
Result:
Important extra detail:
codex mcp list --jsonstill wiresnode_replto the Desktop app bundle:I also inspected the public
rust-v0.142.0-alpha.7macOS DMG from the GitHub release; it contains CLI payloads (codex,codex-responses-api-proxy) rather than a replacementCodex.app, so that update path does not refresh the desktop-bundlednode_repl.This makes the failure look independent of the project/user feature flags and independent of the standalone CLI/app-server version: the stale/mismatched Desktop-bundled
node_replpath is still the component rejecting the sandbox metadata before any user JS runs.Siruuui commentedon Jun 20, 2026
same on Codex Desktop 26.616.41845 build 4198, macOS Darwin 25.5.0 arm64, minimal
nodeRepl.write('ping')fails with the same missing sandboxPolicy error.giufrat commentedon Jun 20, 2026
Additional macOS confirmation after updating the standalone runtime:
Environment
codex update:codex-cli 0.142.0-alpha.70.142.0-alpha.7browser_use,browser_use_external,in_app_browser,plugins,computer_use,apps, andenable_mcp_appsall effectively enabledMinimal repro
The failure remains after the standalone update and app-server restart:
Result:
Important additional detail
codex mcp list --jsonstill wiresnode_replto the Desktop app bundle:The public
rust-v0.142.0-alpha.7macOS DMG from the GitHub release contains CLI payloads (codex,codex-responses-api-proxy) rather than a replacementCodex.app, so that update path does not refresh the Desktop-bundlednode_repl.This makes the failure independent of project/user feature flags and independent of the standalone CLI/app-server version: the Desktop-bundled
node_replpath remains the component rejecting the sandbox metadata before any user JavaScript runs.40 remaining items
tagcturner commentedon Jun 20, 2026
Adding another Windows data point from Codex Desktop after today's update.
Environment observed locally:
OpenAI.Codex_26.616.5445.0_x64__2p2nqsd0c76g0openai-bundled/chrome/26.616.41845node_replruntime path:AppData/Local/OpenAI/Codex/runtimes/cua_node/a89897d3d9baa117/bin/node_repl.exeMinimal repro in a local thread:
Result before any JS executes:
Additional checks/recovery attempted:
node_replwith tool search: same error.extensionReady: true,nativeHostCorrect: true,chromeRunning: false,bridgeResetRecommended: false.node_repl.exehelpers: the tool then reportedTransport closeduntil rediscovered/restarted, then returned to the samesandboxPolicyfailure.cua_noderuntime aside to force reprovisioning; Codex did not recreate it in-thread, so I restored the runtime folder.nodeRepl.write('ok')call before any browser/bootstrap code runs.This lines up with the suspected desktop app / bundled MCP schema mismatch rather than a Chrome native-host issue.
kevinb9n commentedon Jun 20, 2026
Adding another macOS reproduction with a small direct-MCP diagnostic.
Environment:
26.616.41845, build4198codex-cli 0.142.0-alpha.6v24.14.026.5(25F71), arm64node_replpath:/Applications/Codex.app/Contents/Resources/cua_node/bin/node_replcodexCLI path:/Applications/Codex.app/Contents/Resources/codexworkspace-writeObserved in a normal Codex Desktop thread:
This happens with a trivial non-browser JS call, before any user JavaScript runs:
Additional direct-MCP diagnostics:
--disable-sandboxsucceeds for a minimal JS call:reproduces the exact error:
{ "_meta": { "codex/sandbox-state-meta": {} } }Result:
This suggests the bundled
node_replserver and Node kernel are healthy, but the CodexDesktop/tool bridge is sending
codex/sandbox-state-metawithout the fields required by thisnode_replbuild. It also confirms the Chrome/browser connector is only a downstream casualty:the failure happens before any Chrome connector code can run.
m-thomson commentedon Jun 20, 2026
In case anyone would like to downgrade to the previous release until this is addressed:
https://persistent.oaistatic.com/codex-app-prod/Codex-darwin-arm64-26.616.32156.zip
As the name suggests, that's the MacOS/Arm build. I'm not sure how to download others, sorry.
Tip: You can verify that oaistatic.com is indeed an official OpenAI domain by going to https://chatgpt.com/download/ and observing that all MacOS downloads come from there.
hkay-dev commentedon Jun 20, 2026
I'm running into this as well. If it helps (but I'm guessing based on all these comments, it does not) I started a project on the latest Codex windows build, pushed a brand new repo, and moved over to macOS, downlaoded the repo, and opened it up in Codex macos build, and I'm stuck here.
Huge thank you to @m-thomson, this worked for me, just need to ignore that tempting Update button until this gets fixed.
gkb commentedon Jun 21, 2026
Adding another macOS repro with matching symptoms.
Environment
/Applications/Google Chrome.appDefault1.1.5_0Failure
Any attempt to use the Chrome bridge / browser automation path fails before JS executes:
Checks Performed
scripts/chrome-is-running.js --check: Chrome is running.scripts/installed-browsers.js --check: Google Chrome is installed.scripts/check-extension-installed.js --json: selectedDefaultprofile has the Codex Chrome Extension installed and enabled.scripts/check-native-host-manifest.js --json: manifest exists, host name matches, expected extension origin is allowed, andcorrect: true.scripts/open-chrome-window.jsfor the selectedDefaultprofile, waited, then retried the bridge. Samemissing field sandboxPolicyerror.Assessment
This looks like the same app-side metadata/schema issue described here, rather than a missing or disabled extension or a broken native host manifest.
etraut-openai commentedon Jun 21, 2026
Thanks for the bug report. We've issued a hotfix for this problem. Please update your app and confirm that it fixes the issue you were seeing.
murillodutt commentedon Jun 21, 2026
Update after the hotfix: resolved on my macOS setup.
Environment now:
Validation:
mcp__node_repl.jsnow executes and returns the bundled Browser documentation.agent.browsers.get("iab").tab.playwright.domSnapshot()returns page content.So the
codex/sandbox-state-meta: missing field sandboxPolicyfailure is fixed in this environment.3VILALLIUM commentedon Jun 21, 2026
Confirmed fixed on my Windows Codex Desktop host after updating.
Previous failing repro from my earlier comments:
26.616.5445.026.616.41845node_repl/jsexecution failed before user JS ran withMcp error: -32602: js: codex/sandbox-state-meta: missing field sandboxPolicy@Chrome, and Computer Use could not initialize.Current retest after hotfix/update:
26.616.6631.026.616.5143126.619.1182810.0.26200.8655Smoke results:
mcp__node_repl.js_resetsucceeded.nodeRepl.write('node-repl-ok')returnednode-repl-ok.https://example.com/, titleExample Domain.@Chromeinitially reportedBrowser is not available: extensionwhile Chrome was not running. After launching Chrome, extension-backed bootstrap succeeded, openedhttps://example.com/, read titleExample Domain, and finalized the agent-created tab.sky.list_apps()returned successfully with 40 apps, 6 running apps, and 8 targetable windows. I did not test click/type/window activation in this pass.So the original shared
node_repl/jssandboxPolicyfailure is resolved on this Windows host after the hotfix. The only caveat I observed is separate from the original bug: Chrome still needs to be running before the extension-backed@Chromepath connects.waleed-salama commentedon Jun 21, 2026
Confirmed fixed for me after updating Codex. The built-in Browser plugin now bootstraps successfully, and I can open/read a localhost page without the previous
codex/sandbox-state-meta: missing field sandboxPolicyfailure.enginoid commentedon Jun 21, 2026
Confirmed working after update at version 26.616.51431 on macOS – thanks for a quick fix!
maheshvi-dev02 commentedon Jun 21, 2026
It is good to know that its resolved, but the reason such a major bug existed without proper testing, needs to be investigated. It is okay if codex doesn't ship new features often, but stability of existing features is what should matter the most.
bobchristof-gp commentedon Jun 21, 2026
Confirmed fixed, thank you
fix(mcp): add legacy sandboxPolicy field to SandboxState for backward…
riwagne commentedon Jun 23, 2026
On macOS, using the same OpenAI account in each surface, the desktop Codex app can use the Chrome MCP successfully, but Codex CLI and Codex VS Code cannot.
Failure surfaces:
Error:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field
sandboxPolicyI tried reinstalling and pkill/restarting everything, with no change.
Versions:
CLI and VS Code appear not to send
sandboxPolicyincodex/sandbox-state-metafor node_repl/Chrome MCP calls, while the desktop Codex app does.