Skip to main content

Module session

Module session 

Source

Structs§

CompactionRecord
A durable summary boundary that lets provider context shrink without rewriting the append-only session history.
InterruptionRecord
The safe observations written when a user stops an active turn.
Session
A compatibility wrapper around Lucy’s append-only session. Every mutable handle owns the same process-shared, OS-backed writer lease.
SessionError
SessionMetadata
SessionToolResult
A bounded, secret-safe observation retained for a canceled tool call.
TurnLifecycleRecord
TurnState

Enums§

SessionHistoryRecord
The ordered, replayable records after a session header.
TurnEvent
TurnKind
TurnOutcome
TurnPhase
TurnStatus

Functions§

sessions_dir
validate_session_id