[Bug] Runtime Error: Subpath computer_use_client_base.js is not defined by "exports" in @oai/sky/package.json

Environment

  • OS: Windows

  • Codex plugin: openai-bundled/computer-use/26.616.30709

  • @oai/sky: 0.4.13

  • Runtime path: C:\Users\username\AppData\Local\OpenAI\Codex\runtimes\cua_node\a89897d3d9baa117

Repro Steps

  1. Load bundled Computer Use client: C:\Users\username\.codex\plugins\cache\openai-bundled\computer-use\26.616.30709\scripts\computer-use-client.mjs

  2. Initialize Computer Use runtime.

  3. Attempt a read-only app listing health check.

Actual Behavior

Initialization fails deterministically before app listing with the following error:

Error Log:

Package subpath './dist/project/cua/sky_js/src/targets/windows/internal/computer_use_client_base.js' is not defined by "exports" in ...\node_modules\@oai\sky\package.json

Evidence

computer-use-client.mjs attempts to import the blocked internal subpath at line 4:

JavaScript

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

However, @oai/sky/package.json only exports the package root:

JSON

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

Expected Behavior

The plugin should initialize through the bundled client and allow list_apps() or equivalent read-only health checks to succeed.

Suggested Fix

Either:

  1. Expose the internal subpath in @oai/sky’s exports, or

  2. Update computer-use-client.mjs to import WindowsComputerUseClientBase from a public exported entrypoint.

Impact

Computer Use is visible as an installed/available plugin, but Windows automation cannot start because runtime initialization fails deterministically.