Skip to main content

find_current_session_jsonl

Function find_current_session_jsonl 

Source
pub fn find_current_session_jsonl(
    config_dir: &str,
    project_path: &str,
    spawned_at: SystemTime,
) -> Option<PathBuf>
Expand description

Find the JSONL file for the current session by looking up Claude Code’s active sessions directory, matching on project path. Falls back to finding the newest JSONL created after spawned_at.