openai / openai/codex

Cursor on Windows: `Codex: New Codex Agent` fails with `command 'chatgpt.newCodexPanel' not found` after update

Open
#42,855 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug extension windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What variant of Codex are you using?

IDE Extension

Which IDE are you using?

Cursor on Windows.

What issue are you seeing?

After updating the Codex/OpenAI IDE extension, invoking Codex: New Codex Agent fails immediately with this error dialog:

コマンド 'Codex: New Codex Agent' でエラーが発生しました

command 'chatgpt.newCodexPanel' not found

The command palette entry is present, but the contributed command itself is apparently not registered/available at runtime.

This worked before the update. The update was installed through the normal IDE extension update flow; no custom patching or unusual configuration was performed.

Steps to reproduce
  1. Use Cursor on Windows with the Codex/OpenAI IDE extension installed.
  2. Update the extension when the normal update prompt appears.
  3. Invoke Codex: New Codex Agent.
  4. Cursor shows: command 'chatgpt.newCodexPanel' not found.
Expected behavior

Codex: New Codex Agent should open a new Codex Agent panel in Cursor.

Actual behavior

The command fails before opening the panel because chatgpt.newCodexPanel is not found.

Environment
  • OS: Windows
  • IDE: Cursor
  • Codex/OpenAI IDE extension: updated immediately before the regression
  • Exact extension version: UNKNOWN at the moment
  • The workflow also uses Cursor Remote-SSH to a Mac mini, but this error is shown by the Windows Cursor UI before the Codex panel opens.
Why this matters

This is a regression caused by a normal extension update and completely blocks the New Codex Agent workflow. A user should not have to reinstall, downgrade, or manually repair the extension after accepting a standard update.

Please check whether the current Cursor/Windows extension package is failing to register chatgpt.newCodexPanel, or whether the command contribution changed without the UI command being updated.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing Codex: New Codex Agent in Cursor on Windows after a normal extension update, then inspect where chatgpt.newCodexPanel is contributed and registered in the IDE extension package. Confirm whether the command is available at runtime and verify that invoking it opens a new Codex Agent panel without the error.

Written by the indexing model from the issue text.

Assessment

Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.