Frequently hanging when trying to run commands in agent mode

Describe the Bug

I’ve noticed over the last few Cursor versions that agent mode frequently “hangs” when trying to run simple commands. It’ll try to run something simple like “bun run build” and the progress/activity wheel will just spin forever. No output or anything. I often have to manually intervene by running the command and pasting the output, or skipping - although Claude 4 Sonnet tends to take that as a victory.

Steps to Reproduce

I’m running Cursor on Windows 11 with my repo stored in a WSL Ubuntu directory. I haven’t figured out how to reproduce, but it happens pretty frequently. In my project I’m using Bun 1.2.16 with NextJS and Vitest.

Expected Behavior

I’d like Cursor to automatically run commands without hanging.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.5 (user setup)
VSCode Version: 1.96.2
Commit: ef5eeb47a684b4c217dfaf0463aa7ea952f8ab90
Date: 2025-06-21T05:31:17.701Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

I also encountered this situation, but I am using debian in orbstack in macos