Can not use cursor because of clash verge

I see that 2.3.x works, and that’s a totally fine temporary workaround. The issue is that in 2.4.x the proxy handling logic changed, and even with the correct settings the streaming still gets buffered.

Your case isn’t the only one. A few users reported the same thing after upgrading to 2.4.x: 2.4.x version can't use agent behind company proxy

For now I recommend staying on 2.3.x. It’s a stable version and works correctly with Clash Verge. The team knows about the issue, but there’s no fix yet.

If you want to help with diagnostics for the engineers, send the result of this terminal command. Run it with Clash Verge enabled.

echo -ne "\x0\x0\x0\x0\x11{\"payload\":\"foo\"}" | curl --http1.1 -No - -XPOST \
  -H "Content-Type: application/connect+json" \
  --data-binary @- https://api2.cursor.sh/aiserver.v1.HealthService/StreamSSE