Skip to main content

resolve_resources

Function resolve_resources 

Source
pub fn resolve_resources(
    project_root: &Path,
    agent_dir: &Path,
    settings: &SettingsManager,
    builtins: &[&str],
    chest: &Installed,
) -> ResolvedPaths
Expand description

pi’s DefaultPackageManager.resolve for the settings of the project in project_root and of agent_dir: every resource of installed packages, settings entries and the discovered directories, each enabled or not, with builtins as the built-in extensions, and the packages and placed skills that chest installed. Packages that are not installed are left out, and so is each copy of a package that another source installs too, as LeftOut decides.