pub fn transcript_path(
home: &Path,
working_directory: &Path,
session_id: impl AsRef<str>,
) -> PathBufExpand description
Resolve <home>/.claude/projects/<encoded-cwd>/<session-id>.jsonl —
the transcript file the CLI writes for session_id runs in
working_directory. Takes home explicitly (pass a tempdir in tests;
never let a test path resolve into a real transcript store).