pub fn scan_dir(root: &Path, config: &ContextConfig) -> Result<ContextScan>Expand description
Scan the most recently modified top-level session transcripts below
root. Subagent sidechains are excluded, and discovered symlinks are never
followed. The caller should run this blocking filesystem work on Tokio’s
blocking pool.