Agent runtime never initializes after update – Service Worker folder empty

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

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

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 2.4.27
VSCode Version: 1.105.1
Commit: 4f2b772756b8f609e1354b3063de282ccbe7a690
Date: 2026-01-31T21:24:58.143Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 25.3.0

Additional Information

Was working fine before the latest software update

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report.

It looks like this is related to a broader issue we’re tracking in update 2.4.27. Please try this:

Full clean reinstall (it’s important to remove all Cursor data, not just the app):

  1. Fully quit Cursor
  2. Delete these folders:
    • ~/Library/Application Support/Cursor
    • ~/.cursor
  3. Download a fresh version from Download · Cursor and install it

Since you mentioned you kept your data during the reinstall, the issue might be caused by cached state that didn’t get cleared.

For debugging, I’ll need:

  • Console logs: Cmd+Shift+P > “Developer: Toggle Developer Tools” > Console tab. Copy what shows up when you try to send a message.

If a clean reinstall doesn’t help, the console logs will help us understand why the agent isn’t starting.

It sounds like doing this would erase all my agent chat history? That will be an unacceptable route forward. Please advise?

How do I send you the console log? It’s greyed out when I try to attach here.

In case it’s just this small subsection

 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:

  1. First, make a backup:

    • ~/Library/Application Support/Cursor/User/workspaceStorage/ for workspace data
    • ~/.cursor/projects/ for agent transcripts
  2. 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

Chats should be in the backup you made before deleting workspaceStorage. Let’s try to restore them.

Check the backup:

  • Fully quit Cursor.
  • Make sure your backup includes ~/Library/Application Support/Cursor/User/workspaceStorage/ and ~/.cursor/projects/.

Restore attempt:

  • Copy the contents of the backup back into ~/Library/Application Support/Cursor/User/workspaceStorage/.
  • Launch Cursor and check if the chats are back.

Please send a screenshot of what’s inside the globalStorage folder, and what you have in the workspaceStorage backup. I’ll help you restore it.

Similar case that was resolved via DM: Can't load or click on chats

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.

1 Like