pub fn load_agents_dir(dir: &Path) -> Result<Vec<HostSession>, ShellError>Expand description
Reads each agent folder under dir. Folder name is the agent id and the
mail session id. profile.json supplies the display name. Folders
without a usable profile are skipped. This does not hardcode agent ids.