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§
- Checkpoint
Summary - Compact checkpoint info for the session detail endpoint.
- History
Message - A single chat message rendered in the Web UI conversation history.
- History
Tool Call - A tool call within a message.
- Session
History - Metadata about the session/task for the history header.
- Session
Summary - Compact session info suitable for JSON API responses.
Functions§
- create_
resume_ info - Create a
ResumeInfofrom 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.