the Cursor agent gets stuck indefinitely on “Editing index.html…” and never completes the operation, and the file is never actually written (verified with ls -la from Terminal).
Cleared cache, uninstalled and reinstalled the app
Restarted the Mac and updated macOS
Full Disk Access enabled for Cursor
Manual test: touch from Terminal in the same folder works fine
Steps to Reproduce
Open a new project/folder in Cursor
Open a new chat in Agent mode
Ask the agent to create a simple file, e.g. “create an html file that says hello”
The agent shows “Thought briefly” followed by “Editing index.html” (or “Creating a simple HTML file…”)
The operation stays stuck on “Editing index.html” indefinitely and never completes
Expected Behavior
The agent should complete the file-edit operation within a few seconds, show a confirmation message (e.g. “Edited index.html” with the content diff), and the file should actually be present on the filesystem, verifiable via ls -la from Terminal.
Hey @chiaramazzeo
This isn’t anything on your Mac, and green Network Diagnostics doesn’t fully rule out a network cause here (those are quick checks, while the agent runs on a longer-lived connection that can still stall). A few things to try, in order. Let me know which one changes it:
Cursor Settings → Network → set HTTP Compatibility Mode to HTTP/1.1, then fully quit (Cmd+Q) and reopen, and retry.
Still stuck? Try a different network (a phone hotspot is the fastest test), and switch off any VPN or iCloud Private Relay while you test.
Still stuck? Relaunch with extensions off: /Applications/Cursor.app/Contents/MacOS/Cursor --disable-extensions, then retry.
If none of those help, tell me which step you reached and whether you’re on Wi-Fi, a hotspot, or ethernet (plus any VPN or security software you run), and I’ll dig in from there. We’ve let the team know.
I’ve already gone through all the suggested troubleshooting steps (HTTP/1.1 mode, testing on both Wi-Fi and a phone hotspot with no VPN/private relay, and launching with --disable-extensions), but unfortunately, the agent is still stuck.
I have also tried switching from the Auto model to a specific one (like Opus) manually, creating the file first using the Terminal and then asking the agent to edit it instead of creating it, and checking if the issue occurs with a brand new empty folder in a location like ~/Work rather than Desktop or Documents.
I’ve already contacted support, provided the full logs and my Request ID (47a12b34-ea6f-4451-b2af-a4828be11f4f), and the team is currently looking into it. Gemini suspects the issue might be related to using my institutional email, even though it worked fine until recently.
With HTTP/1.1, a hotspot, and --disable-extensions all making no difference, it’s not the network or third-party extensions. That leaves the built-in part of Cursor that runs file/shell actions locally not completing them, which is why it sits on “Editing” and nothing gets written (--disable-extensions doesn’t cover that built-in host).
Two things to pin it down:
Command Palette (Cmd+Shift+P) → Developer: Restart Extension Host, then retry in a new chat.
If it still hangs, at that moment grab View → Output → the Extension Host and Agent channels, plus Help → Toggle Developer Tools → Console, and paste them (here or on your support ticket).
Also, since you mentioned an institutional setup: is this a managed Mac with corporate security/EDR, or a networked home directory? Either can block local execution with the network otherwise fine. I’ll get this and your Request ID to the team alongside your ticket.