You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix pty-host ring buffer race condition & dead session cleanup
1. Replace check-then-send with atomic _send_or_buffer() that holds
the writer lock for the entire operation. Previously, the client
could disconnect between has_client check and _send(), causing
_send() to silently drop data instead of buffering it.
2. Dead sessions now auto-removed from sessions dict 5s after exit,
giving the client time to see exit_code via list_sessions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>