Feature request for product/service
Cursor IDE
Describe the request
In Agent mode with auto-accept enabled, the chat panel shows a “Changed files” list. Each file has a small “X” button. For newly created files, clicking this button permanently deletes the file with:
No confirmation dialog
No undo option
No Recycle Bin recovery
This is especially dangerous for files created during the current session that haven’t been committed to git yet. A single misclick destroys work that may have been built up over many iterations.
Steps to reproduce:
Enable auto-accept in Agent mode
Have the agent create a new file (not yet in git)
Click the “X” next to that file in the “Changed files” list in the chat panel
File is permanently deleted
Expected behavior:
At minimum: a confirmation dialog (“This will permanently delete this file. Are you sure?”)
Ideally: the action should be undoable (Ctrl+Z), or the file should go to the Recycle Bin
For files not tracked by git, the warning should be more prominent
Workaround found: The file can sometimes be recovered via VS Code’s Local History (Timeline panel), which saved the day in my case. But this is not obvious and users may not know about it.
Environment: Windows 10, Cursor latest
Screenshot / Screen Recording
Operating System (if it applies)
Windows 10/11
