codex - 💡(How to fix) Fix Windows Codex Desktop: browser-use@openai-bundled 0.1.0-alpha2 cache is missing scripts/browser-client.mjs [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#22035Fetched 2026-05-11 03:20:28
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×5commented ×1

Error Message

Because of that, there may be no ChatGPT account login state available to the Browser Use runtime. If the aura/site_status preflight requires a ChatGPT-authenticated session, that should be surfaced explicitly as an auth/provider-state problem. The current user-facing error only says Browser Use cannot determine whether the target URL is allowed, which makes it look like a target-site policy issue rather than a missing ChatGPT login/session preflight dependency.

Root Cause

  1. The import fails because the module is missing.

Code Example

OpenAI.Codex_26.506.2212.0_x64__2p2nqsd0c76g0

---

chrome@openai-bundled: 0.1.7
browser-use@openai-bundled: 0.1.0-alpha2

---

%USERPROFILE%\.codex\plugins\cache\openai-bundled\browser-use\0.1.0-alpha2\scripts\browser-client.mjs

---

skills\browser\SKILL.md
skills\browser\agents\openai.yaml

---

The browser-client module is the core entry point for browser use, and is available under scripts/browser-client.mjs.
IMPORTANT: If this path cannot be found, stop and report that this plugin is missing scripts/browser-client.mjs.

---

[@浏览器](plugin://browser-use@openai-bundled)

---

Get-ChildItem -LiteralPath '%USERPROFILE%\.codex\plugins\cache\openai-bundled\browser-use\0.1.0-alpha2' -Recurse -File | Where-Object { $_.FullName -notmatch '\\node_modules\\' }

---

const { setupAtlasRuntime } = await import(
  'file:///<user-profile>/.codex/plugins/cache/openai-bundled/browser-use/0.1.0-alpha2/scripts/browser-client.mjs'
);

---

%USERPROFILE%\.codex\plugins\cache\openai-bundled\chrome\0.1.7\scripts\browser-client.mjs

---

Browser Use rejected this action due to browser security policy. Reason: Browser Use cannot determine if https://www.google.com/search is allowed.

---

https://chatgpt.com/backend-api/aura/site_status?site_url=...&url_request_source=codex_browser_use
RAW_BUFFERClick to expand / collapse

### What version of the Codex App are you using?

Codex Desktop for Windows:

OpenAI.Codex_26.506.2212.0_x64__2p2nqsd0c76g0

Local bundled plugin versions observed:

chrome@openai-bundled: 0.1.7
browser-use@openai-bundled: 0.1.0-alpha2

What platform is your computer?

Windows x64.

What issue are you seeing?

The bundled browser-use@openai-bundled plugin cache for version 0.1.0-alpha2 is missing the runtime file that its own skill instructions require:

%USERPROFILE%\.codex\plugins\cache\openai-bundled\browser-use\0.1.0-alpha2\scripts\browser-client.mjs

The file does not exist. The browser-use plugin cache only contains:

skills\browser\SKILL.md
skills\browser\agents\openai.yaml

However, skills/browser/SKILL.md explicitly says the browser client module is available at scripts/browser-client.mjs and instructs agents to stop if that path cannot be found:

The browser-client module is the core entry point for browser use, and is available under scripts/browser-client.mjs.
IMPORTANT: If this path cannot be found, stop and report that this plugin is missing scripts/browser-client.mjs.

This means the direct @browser-use / in-app browser skill path cannot be bootstrapped as documented.

Reproduction

  1. On Windows Codex Desktop, enable/use bundled Browser Use:
[@浏览器](plugin://browser-use@openai-bundled)
  1. Inspect the active plugin cache:
Get-ChildItem -LiteralPath '%USERPROFILE%\.codex\plugins\cache\openai-bundled\browser-use\0.1.0-alpha2' -Recurse -File | Where-Object { $_.FullName -notmatch '\\node_modules\\' }
  1. Observe that scripts/browser-client.mjs is absent.

  2. Attempt to follow the skill's documented bootstrap:

const { setupAtlasRuntime } = await import(
  'file:///<user-profile>/.codex/plugins/cache/openai-bundled/browser-use/0.1.0-alpha2/scripts/browser-client.mjs'
);
  1. The import fails because the module is missing.

Expected behavior

One of these should be true:

  • browser-use@openai-bundled/0.1.0-alpha2 should include scripts/browser-client.mjs, matching its SKILL.md; or
  • the skill instructions should point at the correct shared runtime path; or
  • Codex should not expose the browser-use skill as usable when the required runtime file is missing.

Actual behavior

The plugin is exposed with instructions that depend on a missing runtime file.

Using the Chrome plugin's bundled browser client instead:

%USERPROFILE%\.codex\plugins\cache\openai-bundled\chrome\0.1.7\scripts\browser-client.mjs

can enumerate both browser backends (extension Chrome and iab Codex In-app Browser), which suggests the runtime exists elsewhere, but not under the browser-use plugin path promised by its own skill.

Additional observed behavior

While investigating this, I also reproduced the existing Browser Use external-navigation preflight failure:

  • Chrome extension backend can be listed/created.
  • In-app browser backend can be listed and can screenshot about:blank.
  • Navigating either backend to Google search is rejected before page load with:
Browser Use rejected this action due to browser security policy. Reason: Browser Use cannot determine if https://www.google.com/search is allowed.

The packed browser-client.mjs performs this check through:

https://chatgpt.com/backend-api/aura/site_status?site_url=...&url_request_source=codex_browser_use

Related issues for the navigation/preflight side:

  • #19270
  • #21710
  • #21955

This issue is specifically about the browser-use@openai-bundled/0.1.0-alpha2 package/cache mismatch: the skill references scripts/browser-client.mjs, but the file is absent from the active plugin cache.

Auth/provider note

This repro was collected in a setup that uses a third-party / OpenAI-compatible API provider for model requests, not a ChatGPT web-account login session.

Because of that, there may be no ChatGPT account login state available to the Browser Use runtime. If the aura/site_status preflight requires a ChatGPT-authenticated session, that should be surfaced explicitly as an auth/provider-state problem. The current user-facing error only says Browser Use cannot determine whether the target URL is allowed, which makes it look like a target-site policy issue rather than a missing ChatGPT login/session preflight dependency.

This may overlap with #21710, but the packaging issue above still remains: browser-use@openai-bundled/0.1.0-alpha2 points at a missing scripts/browser-client.mjs in its own active plugin cache.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

One of these should be true:

  • browser-use@openai-bundled/0.1.0-alpha2 should include scripts/browser-client.mjs, matching its SKILL.md; or
  • the skill instructions should point at the correct shared runtime path; or
  • Codex should not expose the browser-use skill as usable when the required runtime file is missing.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING