Skip to main content

Module sessions

Module sessions 

Source
Expand description

Session discovery for the API/Web layer.

Wraps abk::checkpoint to provide serializable session listing, detail, and resume-info creation — used by the Trustee REST API so users can browse and resume checkpoint sessions from the Web UI.

Structs§

CheckpointSummary
Compact checkpoint info for the session detail endpoint.
HistoryMessage
A single chat message rendered in the Web UI conversation history.
HistoryToolCall
A tool call within a message.
SessionHistory
Metadata about the session/task for the history header.
SessionSummary
Compact session info suitable for JSON API responses.

Functions§

create_resume_info
Create a ResumeInfo from the latest checkpoint of a given session.
get_session_detail
Get detailed information about a specific session, including its checkpoints.
list_all_sessions
List all sessions across all projects that have at least one checkpoint.
load_session_history
Load conversation history from a session’s latest checkpoint.