[Windows] Native Computer Use app inventory is empty; persistent node_repl workaround works without switching models #46287
Unanswered
BFTwarrior
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
I am reporting a reproducible Windows native Computer Use initialization failure. Browser Computer Use works, but the native Windows application inventory is empty (
apps: []), so native apps such as WeChat and Notepad cannot be discovered or controlled.The issue appears to be in the initialization / bridge path, not in the target applications and not an intentional limitation of GPT-5.6.
How I discovered this
Today, I connected Codex through a third-party API relay configured with CC Switch. Codex reported that initialization failed because the authentication token was missing or unavailable. My original intention was simply to ask whether that token error was normal.
Because I had lost confidence in Computer Use, I installed the third-party Windows-MCP desktop-control tool as a fallback. I also added an instruction saying that if Computer Use desktop control failed, Windows-MCP should be started and the task should continue with it.
Then one task unexpectedly initialized Computer Use successfully. I asked that task how it had managed to do it. It returned the fallback prompt described below. I tried that prompt directly. The persistent
node_replpath imported@oai/sky, calledsky.list_apps(), and recovered native Windows application discovery. After that, Computer Use could be started reliably without switching models.I am sharing this now so other users can try it and report whether the workaround generalizes. I am not claiming that the authentication-token error, CC Switch, Windows-MCP, and the native Windows bridge always have the same root cause. They are part of the discovery path, but they should be tested separately.
Environment and affected versions
Symptoms
After asking Computer Use to initialize:
apps: []).getApp/listAppsare unavailable, or the runtime reports errors such asTrusted RPC service is not configured: sky,trusted Node process exited unexpectedly, orsetup refresh had errors.This is confusing because the UI says that Computer Use is enabled and the browser surface works. It looks like the native Windows bridge fails to initialize while the browser bridge remains alive.
Troubleshooting already attempted
I have tried all of the following:
None of these steps reliably fixed the cold-start problem.
Older workaround: switch models
The old workaround was:
After this bootstrap, the GPT-5.6-series model could often reuse the already initialized native Computer Use session. This worked, but it is expensive, awkward, and should not be required for a basic desktop-control initialization.
New workaround: persistent node_repl
The following workaround has been tested successfully. It does not require switching models.
First ask to initialize desktop control. When the result says that desktop control is unavailable, browser control is available, and the native application list contains zero apps, send this prompt:
Exact workaround prompt (English translation)
The original Chinese prompt is preserved verbatim in the Chinese section below.
After that, the persistent
node_replsession can load@oai/sky, runsky.list_apps(), and restore native Windows application discovery. On my machine it returned approximately 40 applications, including WeChat, and the native WeChat window could then be read successfully.I have tested this method twice without switching models, and both tests succeeded.
Important limitation
This is a workaround, not a mature fix. It depends on a persistent
node_replsession and may be sensitive to the lifetime of the current task or runtime. I cannot yet claim that it is guaranteed to survive every cold start or every future update. However, it has been successful in essentially all of our repeated tests so far.Requested fix
When
cua_replinitialization fails but the persistentnode_replruntime is still usable, Computer Use should automatically fall back to the documented@oai/skyinitialization path and callsky.list_apps()before reporting that desktop control is unavailable.At this point, this no longer looks like an obscure edge case; it looks like a basic initialization path that was never given a proper regression test. Several consecutive builds have shipped with a broken native-app bridge, while the browser path remains functional, and users are expected to discover an undocumented model-switching ritual or a hidden fallback prompt on their own. If a one-line
sky.list_apps()bootstrap can restore the feature, then allowing the product to repeatedly report "desktop control unavailable" is not a technically difficult limitation - it is a release-quality failure. The fact that users had to reverse-engineer the fallback is a particularly unflattering sign that the Computer Use Windows path is being shipped without even basic end-to-end verification.Related reports
中文说明
我报告的是一个可以稳定复现的 Windows 原生 Computer Use 初始化问题。浏览器 Computer Use 正常,但是 Windows 原生应用列表为空(
apps: []),因此无法发现或控制微信、记事本等原生应用。这个问题看起来出在初始化或桥接路径,而不是目标应用本身,也不是 GPT-5.6 有意限制原生 Windows 应用。
我是怎么发现这个问题的
今天我通过 CC Switch 配置的第三方中转站 API 连接 Codex。Codex 显示初始化认证令牌失败或认证令牌不可用。我原本只是想先询问这种令牌错误是否正常。
因为当时对 Computer Use 已经不抱太大希望,我安装了第三方桌面控制工具 Windows-MCP 作为备用方案,并加入了这样的指示:如果 Computer Use 的桌面控制失败,就启动 Windows-MCP 继续任务。
但是,之后有一个任务意外成功启动了 Computer Use。我追问它是怎么做到的,它给出了下面所写的备用提示词。我直接使用这段提示词后,持久化的
node_repl成功加载@oai/sky,执行sky.list_apps(),恢复了 Windows 原生应用发现。之后不切换模型也可以比较稳定地启动 Computer Use。我今天把这个方法分享出来,是想让其他用户也尝试一下,看看它是否具有普遍性。我并不声称认证令牌错误、CC Switch、Windows-MCP 和 Windows 原生桥接一定有同一个根因;它们是这次发现过程中的不同环节,应该分别验证。
环境和已知受影响版本
现象
请求 Computer Use 初始化后:
apps: [])。getApp/listApps不可用,或者出现Trusted RPC service is not configured: sky、trusted Node process exited unexpectedly、setup refresh had errors等错误。这很容易误导用户,因为界面显示 Computer Use 已启用,浏览器控制也能用。实际情况像是原生 Windows 桥接没有初始化成功,而浏览器桥接仍然正常。
已经尝试过的排查
我已经尝试了以下所有方法:
这些操作都不能稳定解决冷启动问题。
旧的解决方法:切换模型
旧方法是:
这样 GPT-5.6 系列模型通常可以复用已经初始化好的原生 Computer Use 会话。但这个方法成本高、操作麻烦,不应该成为初始化桌面控制的必要步骤。
新的解决方法:持久化 node_repl
下面这个方法不需要切换模型,而且已经测试成功。
先请求初始化桌面控制。当返回桌面控制不可用、浏览器控制可用、原生应用列表为 0 时,直接输入下面这段提示词:
原始提示词(中文)
之后,持久化的
node_repl可以加载@oai/sky,执行sky.list_apps(),恢复 Windows 原生应用发现。在我的电脑上,它返回了大约 40 个应用,其中包括微信,随后也成功读取了微信原生窗口。我在不切换模型的情况下测试了两次,两次都成功。
重要限制
这只是 workaround,还不是成熟的正式修复。它依赖持久化的
node_repl会话,可能受到当前任务或运行时生命周期影响。我还不能保证它在每次冷启动或未来每个版本中都稳定有效。但到目前为止,在我们反复进行的测试中,它基本都能成功。希望官方修复
当
cua_repl初始化失败、但持久化node_repl仍然可用时,Computer Use 应该自动使用官方的@oai/sky初始化路径,并先执行sky.list_apps(),而不是直接报告桌面控制不可用。说得直接一点,这已经不像什么难以复现的边缘案例,而像是一条根本没有做基本回归测试的初始化路径。连续多个版本把原生应用桥接故障带给用户,却让浏览器路径继续制造“功能正常”的假象,最后还要用户自己摸索出切模型仪式或隐藏提示词才能修复。如果一条 sky.list_apps() 的初始化 fallback 就能恢复功能,那么系统反复报告“桌面控制不可用”显然不是技术上做不到,而是发布质量没有过关。更尴尬的是,这个 fallback 不是官方提供的,而是用户自己反向排查出来的,这充分说明 Windows Computer Use 这条路径在发布前连最基本的端到端验收都没有做好。
相关报告
All reactions