Skip to main content

agent_id_from_container_name

Function agent_id_from_container_name 

Source
fn agent_id_from_container_name(container_name: &str) -> Option<&str>
Expand description

Reverses container_name_for_slug — "agentmux-foo" → Some("foo"). Used by cleanup_dev_proxy_routes to key off the container name alone (stop/remove only get a container_name, not the agent’s own id).