I’m still having the issue with the agent terminal freezing. I’m sure this is the case for many. But I’d like to point out that the freezing is related to the allowlist: if it’s large enough, the issue occurs, but if you clear it, it goes away. I hope this helps you solve this problem.
Steps to Reproduce
fill allowlist with a lot of allowed commands
give agent a task to do something in terminal
issue occures randomly
Expected Behavior
agent is waiting for terminal command finish continious
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
This seems related to a known issue with command completion detection in Windows, where the agent doesn’t recognize that commands have finished. Your note about the allowlist size being a factor is new and valuable.
It seems I was a bit hasty in linking the allowlist to these freezes. Clearing the allowlist fixed the issue for a while, but now it’s back, even with an empty list.
toggling the Legacy Terminal Tool setting doesn’t helps.