Skip to main content

Module session

Module session 

Source
Expand description

Per-session PTY state (RFC-038).

A PtySession holds the master PTY handle and bookkeeping. The session outlives the WebSocket — when the WS closes, the session becomes Detached and may be re-attached (until max_lifetime_secs elapses).

Structs§

PtySession
A live PTY session.
PtySessionInfo
Per-session info exposed to the Web UI (GET /api/terminal/sessions).
PtySize
PTY size used at spawn / resize time.

Enums§

PtySessionState
State of a session.

Type Aliases§

PtySessionId
Session id (ULID, time-sortable). Type alias for readability.