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-jupi--sub-agent-fil...

890 B

title status type priority created_at updated_at parent
Sub-agent file discovery completed task normal 2026-03-27T19:39:15Z 2026-03-28T06:07:11Z claudbg-mztt

Given a session ID, locate its subagents/ directory under ~/.claude/projects/{project-dir}/{session-id}/subagents/. Enumerate agent-{id}.jsonl files and their corresponding .meta.json files. Return AgentRef { agent_id: String, agent_type: Option, session_id: Uuid, file_path: PathBuf }.

Summary of Changes\n\nExtended src/parser/discovery.rs with AgentRef struct, discover_agents_for_session(session_file: &Path) that looks in sibling subagents/ directory, and discover_all_agents() that walks all project dirs. collect_agents_in_dir() helper handles filename parsing (agent-{uuid}.jsonl), reads session_id from first JSONL line, and reads agent_type from agent-{id}.meta.json if present.