I am seeing what looks like the same Windows bundled runtime relocation failure on Codex Desktop.
Open 💬 5 comments Opened Jun 11, 2026 by sunquan1024
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
版本 26.608.12217 • 发布于 2026年6月9日
What subscription do you have?
plus
What platform is your computer?
_No response_
What issue are you seeing?
I am seeing what looks like the same Windows bundled runtime relocation failure on Codex Desktop.
Environment:
- OS: Windows
- Codex Desktop: 26.608.1337.0
- Install path:
C:\Program Files\WindowsApps\OpenAI.Codex_26.608.1337.0_x64__2p2nqsd0c76g0 - Plugin:
computer-use@openai-bundledenabled - Computer Use plugin files exist, including:
scripts/computer-use-client.mjsnode_modules/@oai/sky/bin/windows/codex-computer-use.exe
Symptom:
- Computer Use is listed/enabled, but no Node REPL JavaScript tool is exposed in the session.
mcp__node_repl__js,js, andjs_resetare not available.- As a result, Computer Use cannot bootstrap through the official
computer-use-client.mjspath.
Relevant log lines:
warning bundled_executable_relocation_failed
destinationPath=C:\Users\<user>\AppData\Local\OpenAI\Codex\runtimes\cua_node\.staging-...
errorCode=EIO
errorMessage="Bundled executable relocation failed during copy_directory"
executableName=node.exe
failedExecutableName=node.exe
sourceKind=windowsapps
sourcePath="C:\Program Files\WindowsApps\OpenAI.Codex_26.608.1337.0_x64__2p2nqsd0c76g0\app\resources\cua_node"
warning bundled_executable_relocation_failed
executableName=node_repl.exe
failedExecutableName=node_repl.exe
errorCode=EIO
operation=copy_directory
Then:
warning [computer-use-native-pipe] computer-use native pipe startup failed
errorMessage="Windows Computer Use helper paths are unavailable"
And:
info [BrowserUseThreadConfig] browser_use_setup_failed backend=node_repl phase=runtime-paths platform=win32 reason=node-repl-missing
Things checked:
Source files exist under ...\app\resources\cua_node\bin\, including node.exe and node_repl.exe.
cipher /c reports the files are not encrypted.
Manually copying the runtime from the WindowsApps source into C:\Users\<user>\AppData\Local\OpenAI\Codex\runtimes\cua_node succeeds.
Manually running Node's fs.cp(src, dst, { recursive: true }) against the same source and a staging destination succeeds.
Even after the local cache contains bin/node.exe, bin/node_repl.exe, bin/node_modules, and manifest.json, Codex Desktop still tries to relocate into a fresh .staging-* path on startup and fails before exposing Node REPL tools.
Question:
Is there a known workaround for this WindowsApps runtime relocation failure, or a way to force Codex Desktop to use an already-populated local cua_node runtime cache?
### What steps can reproduce the bug?
null
### What is the expected behavior?
_No response_
### Additional information
_No response_
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Windows 原生工作区仍可复现。
26.609.30741computer-use@openai-bundled已启用scripts/computer-use-client.mjs存在mcp__node_repl__js、js或js_resetcomputer-use-client.mjs路径启动 Computer Use当前会话的工具清单已直接验证缺少上述 Node REPL JavaScript 执行工具。请协助检查 Computer Use 插件工具注册、app-server 运行时路径解析以及会话工具注入流程。
I can reproduce a very similar issue on Codex Desktop 26.611.8273.0.
Environment:
C:\Users\<JapaneseUser>\...Symptoms:
Module not found: @oai/sky/dist/project/cua/sky_js/src/targets/windows/internal/computer_use_client_base.js
Desktop logs show:
[computer-use-native-pipe] computer-use native pipe helper paths unavailable
missingHelperPath=true missingTransportModulePath=true platform=win32
Things tried:
Despite that, Codex Desktop still attempts its own relocation into a fresh .staging-* directory and fails with EIO before Computer Use/native pipe becomes available.
This looks like the same Windows bundled runtime relocation / non-ASCII path handling class of bug, still reproducible on 26.611.8273.0.
I turned a related Windows field case into a small public diagnostic lab:
https://github.com/2agathon/codex-control-runtime
The part most relevant to this issue is the runtime-relocation evidence model and the read-only Doctor script. It checks the packaged
cua_nodesource, the relocated runtime,node.exe/node_repl.exe, plugin clients, Native Messaging, and recent relocation/native-pipe log signatures without rewriting Codex caches.One useful conclusion from the case: “plugin installed/enabled”, “runtime relocated”, “
mcp__node_repl__jsinjected”, and “privileged native pipe available” are separate gates. Treating them as one state led to a lot of false fixes.This is an independent community experiment, not an official repair or a claim that every report has the same root cause. The evidence in the repo is redacted and marked by provenance.
I maintain WinBridge Recovery, an independent recovery/diagnostic tool for Windows Codex Desktop local plugin/runtime state: https://github.com/zemeng5208/winbridge-recovery
This report is a particularly useful match because the relocation failure is
EIO, while directrobocopy/ Nodefs.cpfrom the same packagedcua_nodesource can succeed. That suggests the source payload itself is readable and the failure can be specific to Desktop's staging/materialization lifecycle rather than a universally unreadable package.WinBridge v3.1.1 resolves the currently installed Store AppX, reads the bundled CUA manifest, verifies the official runtime/plugin resources, and creates a user-owned verified mirror using byte-stream copying plus source/destination SHA-256 checks. It then validates the
node_replcommand,NODE_REPL_NODE_PATH,CODEX_CLI_PATH, CUA runtime paths, marketplace/cache versions and related helper state before doing an atomic staged switch with rollback data.So the variant in this thread where the official files are present/readable but Codex repeatedly ignores a complete user-side runtime and fails a fresh
.staging-*relocation is within the local recovery layer WinBridge is intended to diagnose and potentially recover.One limitation is important: a complete local
cua_noderuntime does not by itself guarantee that Desktop will exposemcp__node_repl__jsto the active thread. If the runtime, config and helper paths are all healthy but tool injection is still absent, WinBridge should report that as an upstream Desktop/tool-provisioning failure rather than force a workaround.The project does not take ownership of, decrypt, patch, or change ACLs on
WindowsApps.