pty_exited message is surfaced as a transport disconnect.
Desktop
Managed viewer
Input, windows, and recordings
PTY
session_id for reconnect and management helpers.
id is an alias for session_id. Numeric pid reconnect remains available
for legacy scripts.
session_id: