Describe the Bug
Terminal commands executed through the AI assistant get stuck in a hanging state and require manual cancellation to proceed. This behavior started occurring after a machine restart, despite having the same Cursor version (1.0.0) installed previously.
Steps to Reproduce
Steps to Reproduce
- Start a conversation with AI assistant
- Execute any terminal command (e.g.,
vendor/bin/pest tests/Unit/Helpers/GeneralHelperTest.php
) - Command executes but hangs after producing output
- Manual cancellation required to continue
Expected Behavior
Expected Behavior
- Commands should execute and return output automatically
- Chat conversation should continue without manual intervention
- Terminal output should be processed normally regardless of length
Actual Behavior
- Commands execute but hang indefinitely
- Output shows āCommand was canceled by the userā when manually canceled
- Only way to continue the conversation is to manually cancel the terminal command
- This happens even with simple commands that previously worked fine
Steps to Reproduce
- Start a conversation with AI assistant
- Execute any terminal command (e.g.,
vendor/bin/pest tests/Unit/Helpers/GeneralHelperTest.php
) - Command executes but hangs after producing output
- Manual cancellation required to continue
Sample Command That Hangs
vendor/bin/pest tests/Unit/Helpers/GeneralHelperTest.php
# Output appears correctly but then hangs indefinitely
Impact
- Severely disrupts development workflow
- Makes terminal-based debugging and testing difficult
- Requires constant manual intervention
Timeline
- This morning: Everything worked perfectly with same configuration
- After machine restart: Problem started occurring
- Current: Consistent reproduction of the issue
Additional Notes
- Same behavior occurs with both short and long command outputs
- No changes made to project configuration, Cursor rules, or shell settings
- Issue is specific to Cursor terminal integration, direct terminal works fine
- Project has custom Cursor rules but these were working fine before restart
Workaround
Currently manually canceling each command, but this is highly disruptive to productivity.
Logs/Console Output
When manually canceling, the following appears:
Command was canceled by the user. ASK THE USER what they would like to do next.
The previous shell command ended, so on the next invocation of this tool, you will be reusing the shell.
On the next terminal tool call, the directory of the shell will already be /Users/abkrim/Sites/sitelight.
Expected Resolution
Commands should complete automatically without requiring manual intervention, returning to the previous working behavior.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu ā About Cursor ā Copy)
Environment
- Cursor Version: 1.0.0
- OS: macOS 24.5.0 (Darwin)
- Shell: /bin/zsh
- Project: Laravel/PHP project
Additional Information
Cursor Configuration
Project Structure:
- .cursorignore present (excludes .env files)
- .cursor/rules/ directory with 5 rule files:
- coding-conventions.mdc (157 lines)
- shell-aliases.mdc (58 lines)
- git-conventions.mdc (86 lines)
- project-overview.mdc (122 lines)
- language-preferences.mdc (71 lines)
.cursorignore contents:
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
Does this stop you from using Cursor
No - Cursor works, but with this issue