state/sessions_controller library

Classes

ActionResult
The outcome of a session action (kill/detach), surfaced to the UI as a toast.
PeekResult
A captured session screen, decoded to text for display.
SessionsController
Loads and acts on the sessions of a single node: list, kill, detach, peek. Created per sessions-screen instance (sessions are per-node and ephemeral).