Windows Computer Use fails to initialize: @oai/sky internal subpath not exported

Resolved 💬 2 comments Opened Jun 12, 2026 by ChrisEvans2 Closed Jun 12, 2026

What variant of Codex are you using?

Codex Desktop app on Windows, with the bundled computer-use@openai-bundled plugin.

What version of Codex is running?

  • Codex Desktop app build seen in config/env: 26.609.30741
  • Codex CLI: codex-cli 0.130.0
  • Computer Use plugin: computer-use 26.609.30741
  • Bundled runtime package: @oai/sky 0.4.10

Which model were you using?

gpt-5.5

What platform is your computer?

Windows 11 Pro, version 10.0.26200, build 26200, 64-bit.

Steps to reproduce

  1. In Codex Desktop on Windows, install or enable the bundled Computer Use plugin.
  2. Start a new thread and invoke @电脑 / Computer Use with a simple task such as opening Chrome.
  3. The assistant loads:

C:\Users\<user>\.codex\plugins\cache\openai-bundled\computer-use\26.609.30741\scripts\computer-use-client.mjs

  1. Computer Use initialization fails before it can list apps or control the desktop.

I also tried:

  • Restarting Codex Desktop.
  • Opening a new thread and invoking Computer Use again.
  • Clearing and reinstalling these caches:
  • ~\.codex\plugins\cache\openai-bundled\computer-use
  • %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node

After reinstall, the same plugin/runtime versions were downloaded and the issue persisted.

Expected behavior

Computer Use should initialize successfully, connect to the Windows desktop bridge, and allow actions such as sky.list_apps() and launching or activating Chrome.

Actual behavior

Initialization fails with:

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './dist/project/cua/sky_js/src/targets/windows/internal/computer_use_client_base.js' is not defined by "exports" in C:\Users\<user>\AppData\Local\OpenAI\Codex\runtimes\cua_node\789504f803e82e2b\bin\node_modules\@oai\sky\package.json

The failing import is in:

import { WindowsComputerUseClientBase } from "@oai/sky/dist/project/cua/sky_js/src/targets/windows/internal/computer_use_client_base.js";

from:

~\.codex\plugins\cache\openai-bundled\computer-use\26.609.30741\scripts\computer-use-client.mjs

The target file exists on disk:

...\node_modules\@oai\sky\dist\project\cua\sky_js\src\targets\windows\internal\computer_use_client_base.js

but @oai/sky@0.4.10 only exports the package root:

"exports": {
  ".": "./dist/project/cua/sky_js/src/index.js"
}

Additional information

As a local diagnostic only, I backed up and patched the installed @oai/sky/package.json to export the exact subpath used by the plugin:

"./dist/project/cua/sky_js/src/targets/windows/internal/computer_use_client_base.js": "./dist/project/cua/sky_js/src/targets/windows/internal/computer_use_client_base.js"

After this local patch, Computer Use initialized successfully. I verified that sky.list_apps() returned 40 Windows apps, and Computer Use could find and activate Google Chrome:

{
  "ok": true,
  "app": {
    "id": "Chrome",
    "displayName": "Google Chrome"
  }
}

This strongly suggests the bundled Computer Use plugin and bundled @oai/sky package are version/API incompatible: the plugin depends on an internal @oai/sky subpath that the package does not export.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗