pub fn agent_source_for_path(path: &Path) -> Option<&'static str>
Detect which agent a session file belongs to based on its path.