When I try to use the Agent view, Cursor freezes and macOS shows a “The window is not responding” dialog.
Steps to Reproduce
Open any project.
Click the Agent button in the header.
Cursor stops responding.
After a short time macOS shows the system dialog: “The window is not responding” with options to wait, reopen, or close. Waiting for several minutes does not help, I have to close the window.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
It might be because I have a lot of chats, several thousand chats for sure. I’m heavy user of cursor since september '24. It doesn’t work in new empty projects too.
It never worked since the release of Agent layout, still hoping to try using it one day.
Maybe then you’d be able to start fresh in Cursor and get back to work, while still preserving your chat history in the exported files. You should definitely take a backup of your existing state.vscdb in case you realize there’s more data to extract, the script needs adjusting, or you want to swap it back temporarily. Resetting state.vscdb will also clear other Cursor state like recent files, but your actual code/projects are untouched."
That said, noted that this isn’t ideal. I’m also not 100% sure it will fix your issue (there could be other causes), but it seems a good place to start. You can always restore your backup later if it doesn’t improve the performance.