Accept agent approvals from macOS notifications without bringing Cursor to foreground

Feature request for product/service

Cursor IDE

Describe the request

When Cursor is in the background and an agent needs approval, macOS shows a notification with an Accept action (via long-press). Tapping Accept works — the approval is processed — but Cursor is also brought to the foreground, interrupting whatever app I’m actively using.

Expected behavior: Accept (and ideally Deny) from the notification should process the approval in the background, without activating Cursor or stealing focus.

Why this matters: The notification workflow is most useful when I’m working in another app (browser, Slack, Figma, etc.) and want to unblock the agent without context-switching. Today the notification partially solves that (I can approve remotely) but still forces a focus change, which defeats the purpose.

Suggested implementation: Register notification actions as background actions (not .foreground / activate-on-handle). Optionally add a setting:

Settings → Notifications → “Keep Cursor in background when approving from notification”

Related threads (different scope):

Push Notifications when agent needs approval — about getting notified at all: Push Notifications (Mobile/Desktop) When Agent Needs User Input or Approval
Add sound when confirmation is needed — about alerts, not focus behavior
Environment: macOS, Cursor desktop notifications enabled (Settings → Notifications → System Notifications): Add Notifications for Completed Cursor Tasks/Processes When VS Code is Minimized

Hey @Ofer_Morag_Brin

I agree it’s not ideal! I wouldn’t be surprised if there’s something funny with Electron that requires this. In any case, I’ll share it with the team.