Cursor Agent unable to read shell output over SSH

I’m connecting to Replit via SSH using Cursor, and the Agent seems consistently unable to read the output of any commands executed via shell, even though I can see the output.

This prevents me from using Cursor, since it requires me to stop and copy/paste the terminal output into the agent every time it runs a command.

Any ideas?

Specs:

Version: 0.48.6

VSCode Version: 1.96.2

Commit: 1649e229afdef8fd1d18ea173f063563f1e722e0

Date: 2025-03-31T04:59:09.581Z (22 hrs ago)

Electron: 34.3.4

Chromium: 132.0.6834.210

Node.js: 20.18.3

V8: 13.2.152.41-electron.0

OS: Darwin arm64 24.3.0