Skip to main content

Module session

Module session 

Source

Structs§

BackgroundResultDelivered
An append-only commit marker. Its history position is the provider-context position at which an automatic synthetic observation is materialized.
BackgroundResultPending
The parent-owned source of truth for one terminal child result.
ChildSession
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
SessionError
SessionMetadata
SessionToolResult
A bounded, secret-safe observation retained for a canceled tool call.

Enums§

BackgroundResultDelivery
ChildSessionStatus
SessionHistoryRecord
The ordered, replayable records after a session header.

Constants§

BACKGROUND_RESULT_TOOL_NAME

Functions§

sessions_dir
validate_session_id