"No code block found" when using 'open in composer' button

I used o1 in chat to create a large number of react components at once. I clicked “open in composer” at the end of the output. The chat opened in composer but it just says “No code block found” everywhere a code change is supposed to be.

Tried refreshing window, verified that codebase is indexed properly, asked sonnet 3.5 to output everything again … same issue.

Screenshots below

Version info

Version: 0.41.1
VSCode Version: 1.91.1
Commit: 10e3716b510a5d447c1a07b2edd37a352bbea4d0
Date: 2024-09-18T07:38:06.522Z
Electron: 29.4.0
ElectronBuildId: undefined
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22631

Running WSL 2 on Win 11

I have the same issue

After doing some more digging I found out that cursor chat / composer was writing files to /home/{username}/folder while the file explorer would open files as ~/folder. Even though both paths point to the same location, everything composer / chat was writing wouldn’t be applied to disk.

Did some more digging and found out that 0.41.1 fixed an issue related to WSL that previously required you had to source a custom bash script in /home/{username}/.local/bin/cursor which executes the mounted .exe for cursor in Windows. I removed that bash file and restarted cursor as well as cleared cache in AppData/Roaming/Cursor/Cache and now the issue is gone.

** EDIT ** I just jinxed myself the issue is not gone :joy: