Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
After running the Cursor Agent, once the process finishes, the command does not exit as expected.
Steps to Reproduce
cursor-agent -p --force --output-format text
also i use api key
Expected Behavior
exit command with 0 code
Screenshots / Screen Recordings
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
cli version: 2025.09.18-7ae6800
For AI issues: which model did you use?
sonnet-4
