Skip to main content

list_session_metadata

Function list_session_metadata 

Source
pub async fn list_session_metadata(
    cwd: &str,
) -> Result<Vec<JsonlSessionMetadata>, BuildError>
Expand description

List the JSONL session metadata under the default session dir, newest first. Shared by startup restore and the TUI /session hot-switch.