Agent’s terminal commands ends with dump_bash_state not found

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Agent’s terminal commands ends with dump_bash_state not found

Steps to Reproduce

in ssh window, prompt : run pwd

Screenshots / Screen Recordings

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.46 (system setup)
VSCode Version: 1.105.1
Commit: ab326d0767c02fb9847b342c43ea58275c4b1680
Date: 2025-12-02T03:59:29.283Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200

Additional Information

related: Agent's terminal commands fail with dump_bash_state not found

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This seems related to the shell config on the remote machine, when ~/.bash_profile or ~/.bashrc forces a shell switch (like exec zsh) - it breaks the agent initialization.

Details and solution: AI Terminal over SSH fails with `dump_bash_state: command not found` and random "command not found" lines

If that doesn’t help, please share:

  • Which SSH extension you’re using (Microsoft Remote-SSH or Anysphere Remote SSH)
  • Contents of ~/.bash_profile and ~/.bashrc (relevant lines)
  • Errors from View → Output → Remote SSH
  • Request ID for the failed agent action

Let me know if the fix worked.

I am on Windows 11 Pro and have the exact same issue. Not a breaker bug but still, a bug. It wasn’t happening at all, started happening a week ago I guess.