pub struct ResolveInput<'a> {
pub cwd: PathBuf,
pub agent_dir: PathBuf,
pub project_dir: PathBuf,
pub home: PathBuf,
pub project_trusted: bool,
pub packages: Vec<PackageInput>,
pub skills: Vec<PackageInput>,
pub user: [&'a [String]; 4],
pub project: [&'a [String]; 4],
pub builtins: &'a [&'a str],
}Expand description
What resolve reads.
Fields§
§cwd: PathBufThe project’s directory, whose ancestors’ .agents/skills are
project skills: the working directory unless the run names another.
agent_dir: PathBufThe agent directory.
project_dir: PathBufThe project’s directory of yapi files, <cwd>/.yapi.
home: PathBufThe home directory, for ~/.agents/skills.
project_trusted: boolWhether the project’s own resources load.
packages: Vec<PackageInput>Installed packages, project entries first.
skills: Vec<PackageInput>Skill folders a package manager placed, each one skill of the package its source and scope name.
user: [&'a [String]; 4]The user’s extensions, skills, prompts and themes settings.
project: [&'a [String]; 4]The project’s.
builtins: &'a [&'a str]Built-in extension names.
Trait Implementations§
Source§impl<'a> Clone for ResolveInput<'a>
impl<'a> Clone for ResolveInput<'a>
Source§impl<'a> Debug for ResolveInput<'a>
impl<'a> Debug for ResolveInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for ResolveInput<'a>
impl<'a> RefUnwindSafe for ResolveInput<'a>
impl<'a> Send for ResolveInput<'a>
impl<'a> Sync for ResolveInput<'a>
impl<'a> Unpin for ResolveInput<'a>
impl<'a> UnsafeUnpin for ResolveInput<'a>
impl<'a> UnwindSafe for ResolveInput<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more