pub struct CatalogAgentPluginCandidate {
pub compatibility_tags: Vec<CatalogAgentPluginCompatibilityTag>,
pub description: Option<String>,
pub display_name: String,
pub identity: String,
pub kind: CatalogAgentPluginCandidateKind,
pub media_type: CatalogAgentPluginMediaType,
pub provenance: CatalogAgentPluginCandidateProvenance,
pub publisher: Option<String>,
pub source: CatalogPluginRepositorySource,
pub trust: Option<Value>,
pub version: Option<String>,
}Expand description
An inert Agent Plugin catalog result. Its canonical catalog identity, declared version, repository source claim, and explicit compatibility tags are safe to correlate, while its descriptor, URL, raw data, and installed-plugin state remain runtime-private. This contract-only variant does not mint or expose a candidate handle.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
Explicit validated compatibility tags, in canonical order. An empty list means the source declared no recognised compatibility; clients must not infer compatibility from other fields. canvas-only requires both canvas and github-copilot.
description: Option<String>Description taken verbatim from the card. Inert untrusted text.
display_name: StringDisplay name taken verbatim from the card. Inert untrusted text.
identity: StringValidated, normalised catalogue resource URN. This identity comes only from the catalog identifier and is never inferred from display text or installed-plugin state.
kind: CatalogAgentPluginCandidateKindDiscriminator: this candidate describes an Agent Plugin.
media_type: CatalogAgentPluginMediaTypeCanonical Agent Plugin media type.
provenance: CatalogAgentPluginCandidateProvenanceWhere the Agent Plugin catalog reference was observed, without its descriptor, URL, raw data, or content digest.
publisher: Option<String>Publisher taken verbatim from the card. Inert untrusted text.
source: CatalogPluginRepositorySourceBounded repository provenance declared through the catalog’s sourceSet and repoPath metadata. It contains no descriptor URL.
trust: Option<Value>Versioned trust metadata observed from the catalog authority. Optional for protocol-3 compatibility and emitted only when the caller also requires the trust-snapshot capability.
version: Option<String>Optional version declared by the catalog source. Omitted rather than guessed when the source supplies no version.