Cursor agent CLI gets into bugged state where prompts and responses fail to render

This seems to be a similar issue that I’m encountering: Cursor CLI (cursor-agent) sometimes does not respond