Skip to main content

validate_agent_name

Function validate_agent_name 

Source
pub fn validate_agent_name(name: &str) -> Result<(), AgentNameError>
Expand description

Validate an agent name from any caller (HTTP path param, CLI argument, import file). Returns Ok(()) if the name is safe to use as a directory component under ~/.mur/agents/.