After a recent Cursor update, agents no longer work. The Send button enables but does nothing. Network diagnostics show no API/Chat/Agent attempts.
The ~/Library/Application Support/Cursor/Service Worker/ directory remains empty (no CacheStorage) even after:
• full app reinstall (preserving data)
• clearing service worker state
• disabling experiments
• new folders
• multiple networks
Marketplace works. This appears to be a silent agent bootstrap failure on macOS Tahoe. Reinstall does not recover.
Please advise how to force-reset agent runtime / workspace binding or provide a fix.
Steps to Reproduce
Open cursor after software upgrade to 2.4.27
Expected Behavior
Open app and continue working with agents from existing chat history
ERR Expected ',' or '}' after property value in JSON at position 11310 (line 1 column 11311): SyntaxError: Expected ',' or '}' after property value in JSON at position 11310 (line 1 column 11311)
at JSON.parse (<anonymous>)
at hmc.loadGenerationsFromStorage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34043:5619)
at new hmc (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34043:6906)
at gOc._createInstance (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34468:2025)
at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34468:4626
at Lin._executor (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:53:94251)
at get value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:53:94436)
at Object.get (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34468:5163)
at Kpe._isActivelyGenerating (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:656:1194)
at Kpe.computeDecorations (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:656:1670)
at new Kpe (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:651:446)
at gOc._createInstance (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34468:2025)
at gOc.createInstance (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34468:1454)
at rms.addDiff (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:646:10119)
at rms.addActiveDiff (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:646:10033)
at rms.loadInlineDiffs (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:646:742) SyntaxError: Expected ',' or '}' after property value in JSON at position 11310 (line 1 column 11311)
at JSON.parse (<anonymous>)
at hmc.loadGenerationsFromStorage (workbench.desktop.main.js:34043:5619)
at new hmc (workbench.desktop.main.js:34043:6906)
at gOc._createInstance (workbench.desktop.main.js:34468:2025)
at workbench.desktop.main.js:34468:4626
at Lin._executor (workbench.desktop.main.js:53:94251)
at get value (workbench.desktop.main.js:53:94436)
at Object.get (workbench.desktop.main.js:34468:5163)
at Kpe._isActivelyGenerating (workbench.desktop.main.js:656:1194)
at Kpe.computeDecorations (workbench.desktop.main.js:656:1670)
at new Kpe (workbench.desktop.main.js:651:446)
at gOc._createInstance (workbench.desktop.main.js:34468:2025)
at gOc.createInstance (workbench.desktop.main.js:34468:1454)
at rms.addDiff (workbench.desktop.main.js:646:10119)
at rms.addActiveDiff (workbench.desktop.main.js:646:10033)
at rms.loadInlineDiffs (workbench.desktop.main.js:646:742)
error @ workbench.desktop.main.js:58
error @ workbench.desktop.main.js:58
error @ workbench.desktop.main.js:35994
handleUnexpectedError @ workbench.desktop.main.js:35991
(anonymous) @ workbench.desktop.main.js:35991
onUnexpectedError @ workbench.desktop.main.js:27
Uc @ workbench.desktop.main.js:22
(anonymous) @ workbench.desktop.main.js:35991
Thanks, the console log is really helpful, I can see the issue. It’s a corrupted JSON file in the generation history that’s blocking the agent from starting:
SyntaxError: Expected ',' or '}' after property value in JSON at position 11310
at hmc.loadGenerationsFromStorage
About chat history, you can keep it. Try this approach:
First, make a backup:
~/Library/Application Support/Cursor/User/workspaceStorage/ for workspace data
~/.cursor/projects/ for agent transcripts
Try a “surgical” fix, delete only the corrupted generation storage:
In ~/Library/Application Support/Cursor/User/, look for files like state.vscdb or directories in workspaceStorage/
You can try deleting only workspaceStorage/ (not the whole Application Support folder)
Restart Cursor
If that doesn’t help, try a clean reinstall. Make the backup above first.
Thanks - that gets me back into Cursor and the agents are there, but the chat history is completely missing. How do I get that back? It’s too much work to lose
Thanks for your help. I found text transcripts in the .cursor folder and have discovered I can have a new agent read the text file and continue working in a somewhat acceptable way (at least better than going in circles trying to restore the original agent chats). As I need to get back on to progressing my project I’m going to use this as a workaround.
Did anyone ever find out why the previous software update corrupted the data? It would be nice to know that it will be taken into account for future releases so it won’t happen again.