use std::path::PathBuf;
#[derive(Debug, Clone)]
pub struct ToolDetection {
pub name: String,
pub display_name: String,
pub status: ToolStatus,
pub version: Option<String>,
pub executable_path: Option<PathBuf>,
pub config_path: Option<PathBuf>,
pub config_format: Option<ConfigFormat>,
}
#[derive(Debug, Clone)]
pub enum ToolStatus {
Installed { healthy: bool },
NotInstalled,
DetectionFailed(String),
}
#[derive(Debug, Clone, Copy)]
pub enum ConfigFormat {
Json,
Toml,
Yaml,
Env,
}