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.
- PtySession
Info - Per-session info exposed to the Web UI (
GET /api/terminal/sessions). - PtySize
- PTY size used at spawn / resize time.
Enums§
- PtySession
State - State of a session.
Type Aliases§
- PtySession
Id - Session id (ULID, time-sortable). Type alias for readability.