Agent Mode triggers Save dialog for random .aab file

Where does the bug appear (feature/product)?

Somewhere else…

Describe the Bug

Issue When I select New Agent or open a new tab/window in Agent mode, macOS shows a Save dialog for a file named like:

application-f99e10fd-93b0-41f6-9be3-5b7e86a4ab8f.aab

This appears to be unintended. I have not seen this happen in normal Editor usage so far.

Steps to Reproduce

Open Cursor in my workspace.
Enter/use Agent mode.
Click New Agent (or open a new tab/window for agent use).
Observe unexpected Save dialog for random application-.aab.

Actual A save-file dialog appears requesting save location for application-.aab.

Expected Behavior

Expected Opening a new agent/tab/window should not trigger any file download/save prompt.

Operating System

MacOS

Version Information

Cursor Version: 3.5.38 (Universal)
VSCode Version: 1.105.1
Commit: 009bb5a3600dd98fe1c1f25798f767f686e14750
Date: 2026-05-26T21:32:06.537Z
Layout: glass
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.5.0

Additional Information

Scope

Reproduces in Agent mode.
Not observed in Editor mode yet.
Diagnostics to attach (if needed)

Request ID from a failed Agent action
DevTools console errors from repro moment
Exported logs (Developer: Export Logs…)

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the detailed report. This looks a lot like an issue with external hooks or plugins. In Cursor’s own code, the application-<UUID>.aab pattern isn’t generated. On Windows, I’ve seen a similar case where Claude Code plugins like Superpowers, Ralph Loop, and others inject .sh hooks on sessionStart, and the OS tries to open or save the file instead of running it. It’s probably the same mechanism here, just with a different extension.

To confirm, can you check a couple things:

  1. Open Cursor Settings > Hooks. Is anything configured there, especially sessionStart?
  2. Check your repo and ~/.cursor/. Is there a hooks/ folder or any plugin config for Claude Code, Superpowers, or Ralph Loop?
  3. If you find anything, try disabling it temporarily and see if the dialog still shows up.

Also, if you can reproduce it with DevTools open, please paste the output from the moment the dialog appears. Go to Help > Toggle Developer Tools > Console. This should show what code is triggering the save prompt.