[Cursor][Codex Extension 0.5.78][Windows] Clicking file links in chat triggers `vscode://codex/local-environments` and blocks file open

Open 💬 3 comments Opened Feb 27, 2026 by Xujian66
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the IDE extension are you using?

Codex Extension 0.5.78

What subscription do you have?

pro

Which IDE are you using?

Cursor

What platform is your computer?

Environment: - OS: Windows 11 - IDE: Cursor - Extension: openai.chatgpt 0.5.78-universal - WSL: not installed

What issue are you seeing?

Title:
[Cursor][Codex Extension 0.5.78][Windows] Clicking file links in chat triggers vscode://codex/local-environments and blocks file open

Environment:

  • OS: Windows 11
  • IDE: Cursor
  • Extension: openai.chatgpt 0.5.78-universal
  • WSL: not installed

Steps to Reproduce:

  1. Ask Codex to return file references in chat.
  2. Click a file link in the chat response.
  3. Observe extension log.

Expected:

  • Click opens target file at path/line directly.

Actual:

  • Error: local-environments is not supported in the extension
  • URL: vscode://codex/local-environments
  • File open action does not execute.

Impact:

  • Cannot open files directly from Codex chat links, breaks core workflow.

Logs:

  • Attach Codex.log excerpt with timestamp and stack trace.

What steps can reproduce the bug?

Title:
[Cursor][Codex Extension 0.5.78][Windows] Clicking file links in chat triggers vscode://codex/local-environments and blocks file open

Environment:

  • OS: Windows 11
  • IDE: Cursor
  • Extension: openai.chatgpt 0.5.78-universal
  • WSL: not installed

Steps to Reproduce:

  1. Ask Codex to return file references in chat.
  2. Click a file link in the chat response.
  3. Observe extension log.

Expected:

  • Click opens target file at path/line directly.

Actual:

  • Error: local-environments is not supported in the extension
  • URL: vscode://codex/local-environments
  • File open action does not execute.

Impact:

  • Cannot open files directly from Codex chat links, breaks core workflow.

Logs:

  • Attach Codex.log excerpt with timestamp and stack trace.

What is the expected behavior?

Title:
[Cursor][Codex Extension 0.5.78][Windows] Clicking file links in chat triggers vscode://codex/local-environments and blocks file open

Environment:

  • OS: Windows 11
  • IDE: Cursor
  • Extension: openai.chatgpt 0.5.78-universal
  • WSL: not installed

Steps to Reproduce:

  1. Ask Codex to return file references in chat.
  2. Click a file link in the chat response.
  3. Observe extension log.

Expected:

  • Click opens target file at path/line directly.

Actual:

  • Error: local-environments is not supported in the extension
  • URL: vscode://codex/local-environments
  • File open action does not execute.

Impact:

  • Cannot open files directly from Codex chat links, breaks core workflow.

Logs:

  • Attach Codex.log excerpt with timestamp and stack trace.

Additional information

Title:
[Cursor][Codex Extension 0.5.78][Windows] Clicking file links in chat triggers vscode://codex/local-environments and blocks file open

Environment:

  • OS: Windows 11
  • IDE: Cursor
  • Extension: openai.chatgpt 0.5.78-universal
  • WSL: not installed

Steps to Reproduce:

  1. Ask Codex to return file references in chat.
  2. Click a file link in the chat response.
  3. Observe extension log.

Expected:

  • Click opens target file at path/line directly.

Actual:

  • Error: local-environments is not supported in the extension
  • URL: vscode://codex/local-environments
  • File open action does not execute.

Impact:

  • Cannot open files directly from Codex chat links, breaks core workflow.

Logs:

  • Attach Codex.log excerpt with timestamp and stack trace.

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 6 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #12161
  • #12661
  • #12903

Powered by Codex Action

Dalomeve · 5 months ago

Added a docs PR with Windows/Cursor workaround details for ile+.vscode-resource.vscode-cdn.net/... link failures:\n- https://github.com/openai/codex/pull/13667\n\nFor tracking, this appears related to #12661.

Dalomeve · 5 months ago

Likely same root cause as #12661.

Observed in Windows + Cursor:

  • Clicking local links in Codex output can resolve to https://file+.vscode-resource.vscode-cdn.net/...
  • Link opens in browser context or fails to open in editor tab

Workaround currently used:

  • Decode URL path and open with code --goto / cursor --goto