pub fn validate_agent_name(config: &Config, name: &str) -> Result<()>
Validate that name matches an agent configured in config.toml. Accepts "-" (the sentinel used to clear the field) without error.
name
"-"