You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
claudbg/.beans/claudbg-g5uv--session-file-...

954 B

title status type priority created_at updated_at parent
Session file discovery completed task normal 2026-03-27T19:39:15Z 2026-03-28T05:48:59Z claudbg-mztt

Walk ~/.claude/projects/ to enumerate all session .jsonl files. Decode URL-encoded directory names (e.g. -run-media-pop-... → /run/media/pop/...) to recover the project path. Return a list of SessionRef { session_id: Uuid, project_path: PathBuf, file_path: PathBuf, modified_at: SystemTime }.

Summary of Changes\n\nCreated src/parser/discovery.rs with SessionRef struct and discover_sessions() function. Walks ~/.claude/projects/ one level deep, collects *.jsonl files (skipping subagents/ dirs), extracts session_id from filename stem, reads project_path from first parseable JSONL line cwd field. Uses HOME env var for path expansion. Skips unreadable files with eprintln! warnings. Created src/parser/mod.rs and updated src/lib.rs to expose pub mod parser.