ChatGPT classic cannot attach cursor repository view, active editor error

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

when attempting to attach cursor as an app from ChatGPT classic, ChatGPT immediately displays cannot read properties of undefined, reading active editor. Terminal attaches successfully from the same ChatGPT session, but cursor fails consistently.

Steps to Reproduce

Open ChatGPT classic. Attach terminal. Works. Open cursor in repositories workflow. Open a repository conversation. Attempt to attach cursor from ChatGPT classic. Also reproduced after opening an existing file and after creating a new file.

Expected Behavior

Cursor attaches successfully or ChatGPT indicates that the current cursor view is unsupported. Actual behavior. ChatGPT immediately reports cannot read properties of undefined, reading active editor.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

3.16.29 (Universal)

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the detailed report and the screenshot. I can see the toast saying Cannot read properties of undefined (reading 'activeEditor') when you try to attach Cursor from ChatGPT.

This happens because you’re in the Agents Window (repositories workflow), and it doesn’t have a classic active text editor. ChatGPT Work with Apps expects an active text editor, so Terminal attaches fine, but Cursor in this mode fails with the activeEditor error.

Workaround:

  • Open the repo folder in a normal Cursor editor window, the classic editor layout, not the Agents Window.
  • Open any file and make sure the window is focused.
  • Then try attaching Cursor from ChatGPT again.

Let me know if that works. I’ve also shared this behavior with the team. We’re tracking it, but there’s no ETA yet.