Agent cannot reconnect when internet switches

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

I switch wifi mid-execution and it can’t reconnect even after saying ctrl+c and continue, but other AI CLIs do fine.

Steps to Reproduce

Switch wifi mid-execution.

Expected Behavior

Should detect the new network and continue, internet is fine.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Latest CLI verison.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. I can see the repeated “Connection lost. Attempting to reconnect.” messages in the screenshot. Right now the CLI doesn’t handle network switches very well, like changing Wi‑Fi.

This is a known gap in the CLI retry and resiliency logic. The team is aware and it’s planned, but there’s no ETA yet. Your report helps us prioritize it.

As a temporary workaround, if you hit this state, stop the CLI process and restart it after the network switch is finished. Not ideal, but it should unblock you.

Let me know if you run into anything else.