pub fn project_dir_for(cwd: &Path, home: &Path) -> PathBufExpand description
Resolve the directory Claude Code uses for transcripts of cwd.
Claude Code substitutes path separators with - and strips
leading slashes. e.g. /Users/long/Work/spool →
~/.claude/projects/-Users-long-Work-spool/.