Skip to main content

Module state

Module state 

Source

Structs§

IterationRecord
LiveState
Live streaming state for a session, written frequently during Claude runs.
RunState
SessionMetadata
Metadata about a session, stored separately from the full state.
SessionStatus
Enriched session status for display purposes.
StateManager
Manages session state storage with per-session directory structure.

Enums§

IterationStatus
MachineState
RunStatus

Constants§

HEARTBEAT_STALE_THRESHOLD_SECS
Threshold for considering a heartbeat “stale” (run likely dead). GUI/TUI should consider a run inactive if heartbeat is older than this. Set to 60 seconds to account for periods where Claude is thinking without sending output, and for phases like Reviewing/Correcting that may take time.