Skip to main content

locate_for_resolve

Function locate_for_resolve 

Source
async fn locate_for_resolve(
    cmd: &CommandResolveCliData,
    paths: &DataPaths,
    pinned_version: &str,
) -> Option<LocatedCli>
Expand description

Steps 1 and 2 of resolvecli: already there? A provider in the registry goes through the one lookup (locate_provider_cli): AgentMux’s install, else the user’s own copy only when the registry says AgentMux doesn’t install it. A core tool (git, node, …) isn’t in the registry: its install dir, else PATH when the caller sent no package.