Skip to main content

Module session_cli

Module session_cli 

Source
Expand description

Session management CLI operations (task 2.7).

Provides list/resume/delete operations for session JSONL files stored in the platform-specific sessions directory (S9.2).

Structs§

ResumedSession
Result of a resume operation.
SessionInfo
Summary of a session for display purposes.

Enums§

SessionCliError
Errors from session CLI operations.

Functions§

delete_session
Delete a session file by ID.
format_sessions
Format a list of session info for stdout display.
handle_session_cli
Handle session CLI dispatch.
list_sessions
List all sessions in the given directory.
reconstruct_context
Reconstruct agent messages from session entries for resume.
resume_session
Resume a session by reading its header and entries.
session_dir
Return the platform-specific session storage directory (S9.2).