CodeX电脑操控/Computer use插件不可用解决方案

在这里插入图片描述
亲测解决办法:让Codex或者ClaudeCode直接读取本文内容进行修复即可生效。

问题描述:CodeX电脑操控/Computer use插件不可用
版本是 26.602.4764.0_x64,更新之后, Windows应该可以使用 computer use 的插件了,但是打开Codex之后还是不能使用该插件。

问题总结

Codex 设置页要能显示 Chrome / Computer Use,至少要同时满足:
openai-bundled marketplace 注册正常。
chrome@openai-bundled /computer-use@openai-bundled 能被 codex plugin list 找到。
插件已经 installed, enabled。
插件缓存目录完整,尤其是 Chrome 的 scripts/browser-client.mjs、extension-host.exe。
Chrome native host 注册正常。
问题是:openai-bundled 源没正确进入 marketplace;直接从 WindowsApps 应用包安装又因为文件是 Application Protected,触发 os error 6000。所以界面只看到 “配置里启用了”,但插件市场和缓存实际不可用,UI 就不显示。

正确修法如下:


第一步:先备份Codex数据

$backup = “𝐻𝑂𝑀𝐸\.𝑐𝑜𝑑𝑒𝑥\backups\plugin −𝑟𝑒𝑝𝑎𝑖𝑟 −(Get-Date -Format yyyyMMdd-HHmmss)”
New-Item -ItemType Directory -Force $backup
Copy-Item “$HOME.codex\config.toml” $backup -Force
Copy-Item “$HOME.codex.codex-global-state.json” $backup -Force -ErrorAction SilentlyContinue

第二步:找 Codex 桌面版 bundled 插件源

Get-Process Codex | Select-Object Path
然后按实际路径找到:
…\Codex…\app\resources\plugins\openai-bundled
如果直接注册后安装报 os error 6000,不要硬改权限,正确做法是复制一份未加密镜像到用户目录,再注册这个镜像源。

示例:把这里改成你本机实际路径

$src = “D:\WindowsApps\OpenAI.Codex_版本号 \app\resources\plugins\openai-bundled”
$dst = “$HOME.codex\plugins\sources\openai-bundled-fixed”

用字节流复制,避免 WindowsApps 加密属性导致 os error 6000

New-Item -ItemType Directory -Force $dst | Out-Null
Get-ChildItem $src -Recurse -Directory | ForEach-Object {
New-Item -ItemType Directory -Force (Join-Path 𝑑𝑠𝑡.FullName.Substring($src.Length).TrimStart('')) | Out-Null
}
Get-ChildItem $src -Recurse -File | ForEach-Object {
$target = Join-Path 𝑑𝑠𝑡.FullName.Substring($src.Length).TrimStart('')
New-Item -ItemType Directory -Force (Split-Path $target) | Out-Null
[IO.File]::WriteAllBytes(𝑡𝑎𝑟𝑔𝑒𝑡,[𝐼𝑂.𝐹𝑖𝑙𝑒] ::𝑅𝑒𝑎𝑑𝐴𝑙𝑙𝐵𝑦𝑡𝑒𝑠(_.FullName))
}
codex plugin marketplace remove openai-bundled
codex plugin marketplace add $dst
codex plugin add chrome@openai-bundled
codex plugin add computer-use@openai-bundled
验证:
codex plugin list --marketplace openai-bundled
应该看到:
chrome@openai-bundled installed, enabled
computer-use@openai-bundled installed, enabled
最后重启 Codex。

其他方法

https://github.com/chen0416ccc-cpu/codex-windows-fast-patch-skill
使用 codex-windows-fast-patch 这个 skill,检查并修复这台 Windows 机器上的 Codex Desktop Fast Mode、插件市场和 Computer Use 等可用性问题。
Logo

欢迎加入DeepSeek 技术社区。在这里,你可以找到志同道合的朋友,共同探索AI技术的奥秘。

更多推荐