pub struct AgentPackage {
pub schema_version: u32,
pub id: String,
pub name: String,
pub version: String,
pub description: Option<String>,
pub workspace: PathBuf,
pub package_root: PathBuf,
pub manifest_path: PathBuf,
pub agent: AgentFolder,
pub capabilities: AgentPackageCapabilities,
pub storage: AgentPackageStorage,
pub contributions: Vec<AgentContribution>,
}Expand description
A fully resolved, validated repository agent package.
Fields§
§schema_version: u32Manifest schema version.
id: StringStable package identifier.
name: StringHuman-readable package name.
version: StringDescriptive package version.
description: Option<String>Optional package description.
workspace: PathBufCanonical workspace that owns this package.
package_root: PathBufCanonical .supercode package root.
manifest_path: PathBufCanonical manifest path.
agent: AgentFolderResolved portable agent folder.
capabilities: AgentPackageCapabilitiesCapabilities the package requires or can optionally use.
storage: AgentPackageStorageWorkspace-owned durable data location. Supercode does not create it.
contributions: Vec<AgentContribution>Declarative frontend contributions, sorted by source filename.
Trait Implementations§
Source§impl Clone for AgentPackage
impl Clone for AgentPackage
Source§fn clone(&self) -> AgentPackage
fn clone(&self) -> AgentPackage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentPackage
impl Debug for AgentPackage
Source§impl PartialEq for AgentPackage
impl PartialEq for AgentPackage
Source§impl Serialize for AgentPackage
impl Serialize for AgentPackage
impl StructuralPartialEq for AgentPackage
Auto Trait Implementations§
impl Freeze for AgentPackage
impl RefUnwindSafe for AgentPackage
impl Send for AgentPackage
impl Sync for AgentPackage
impl Unpin for AgentPackage
impl UnsafeUnpin for AgentPackage
impl UnwindSafe for AgentPackage
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