Agent’s terminal commands ends with dump_bash_state not found

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.