mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-21 07:32:54 +00:00
* feat(terminal): enable SSH auto-reconnect by default Unexpected transport drops (VPN / Wi-Fi blips) are recoverable events, not shell exits: the tab stays and the 5s in-place reconnect loop keeps the same session id, so AI sessions and long-running work continue once the link is back. With the previous default (off), a dropped link left the tab parked on 'Press Enter to reconnect', which reads as 'the session closed'. Clean shell exits still close the tab; explicit opt-out in Settings is preserved. mosh/et sessions self-heal and are unaffected by this gate. * fix(terminal): skip auto-reconnect after idle timeouts SSH auto-reconnect stays on by default for transport drops. A timeout exit (TMOUT, server idle logout, or connect timeout) leaves the tab disconnected instead of logging back in every 5 seconds. Co-authored-by: 陈大猫 <binaricat@users.noreply.github.com> --------- Co-authored-by: yuyang2230 <yuyang2230@users.noreply.github.com> Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: 陈大猫 <binaricat@users.noreply.github.com>