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§
- Resumed
Session - Result of a resume operation.
- Session
Info - Summary of a session for display purposes.
Enums§
- Session
CliError - 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).