Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
My workflow recently has been to have several persistent worktrees, each with a separate cursor window that I swap back and forth on my mac. This ends up being 5+ cursor windows, each with an agent running.
However, even if my macbook is active and I am working on it, the agents seem to freeze until I focus back on that window. Once I am looking at the specific window, the agent starts back up again without me doing anything.
This makes it very difficult to parallelize things, since agents aren’t actually working to completion and I have to cycle through them just to keep them going.
This is persistent. I am ssh’d into an ubuntu machine.
I have tried:
- mac caffeinate
- Cursor is not using appnap
The commands are not trying to access the internet, it is just using linux commands to run python and c++ tests. Its not the commands themselves that are hanging, its something to do with cursor, since if I am focused on the window the whole time, it finishes without hanging.
Steps to Reproduce
Open up 5+ cursor windows on mac in different worktrees
Run agents on each of them, they should be accomplishing a coding task that requires running tool calls and linux pythong commands
Unfocus them and do something else on the machine like surfing the internet.
See that they don’t actually finish the task until you focus back on their window.
Expected Behavior
They should keep running.
Operating System
MacOS
Version Information
Version: 2.6.20 (Universal)
VSCode Version: 1.105.1
Commit: b29eb4ee5f9f6d1cb2afbc09070198d3ea6ad760
Date: 2026-03-17T01:50:02.404Z (4 days ago)
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 24.3.0
For AI issues: which model did you use?
All models, mostly composer 2.0 fast and gpt 5.4
For AI issues: add Request ID with privacy disabled
ff05db66-d2e4-49f9-a691-87ef89e65938
Additional Information
several others in my org have reported this and it has encouraged them to switch to claude code. ![]()
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor