pub struct CatalogSearchSucceeded {
pub candidates: Vec<CatalogCandidate>,
pub kind: CatalogSearchSucceededKind,
pub negotiated: CatalogNegotiatedContract,
pub pagination: Option<CatalogSearchPagination>,
pub search_id: String,
pub truncated: bool,
}Expand description
A completed catalog search containing inert candidate summaries. MCP server and AI skill variants carry a single-use handle; the Agent Plugin variant is handleless.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§candidates: Vec<CatalogCandidate>Matching candidates, never more than the requested limit. All text is inert untrusted data.
kind: CatalogSearchSucceededKindDiscriminator: the search completed
negotiated: CatalogNegotiatedContractProtocol version and capabilities the runtime honoured.
pagination: Option<CatalogSearchPagination>Navigation metadata for callers explicitly requiring catalog-search-pagination. Omitted when the authority returns no token, including tokenless first-page and continuation responses. Counts are never substituted from candidates.length.
search_id: StringPseudonymous identifier for this search, issued by the runtime or by the catalog authority it queried and never by the caller, so it cannot be forged or replayed to attribute an install to a search that never happened. Always present on a success, so a result set can be tied to the installs it leads to. It identifies a search rather than a person: it is derived from no user, account, device, or query data, and must never be joined with user identity to re-identify anyone.
truncated: boolLegacy indication that the authority returned a page token. Preserved for compatibility; this is not a has-next-page indicator. Use pagination.hasNextPage when pagination metadata is present.