Skip to main content

default_transcript_dir

Function default_transcript_dir 

Source
pub fn default_transcript_dir() -> Option<PathBuf>
Expand description

Auto-discover the agent-transcripts directory so lean-ctx learn --mine works with zero arguments. Prefers Claude Code’s ~/.claude/projects, then Cursor’s ~/.cursor/agent-transcripts. Returns the first that exists, or None.