#[non_exhaustive]pub struct Marketplace {
pub source: Option<Source>,
pub install_location: Option<String>,
pub auto_update: Option<bool>,
pub last_updated: Option<String>,
pub extra: Extra,
}Expand description
An entry of extraKnownMarketplaces.
Register additional plugin marketplaces by name, so that people who open the repository, or everyone your managed settings reach, get the marketplace without adding it themselves. Claude Code registers each marketplace it doesn’t already know.
Docs: extraKnownMarketplaces.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.source: Option<Source>Where to fetch the marketplace from.
- Values: a marketplace source object:
sourcenames the kind (github,git,url,npm,file,directory,hostPattern,settings), and the other fields are the ones that kind takes - Default: unset
Docs: source.
install_location: Option<String>Local cache path where marketplace manifest is stored (auto-generated if not provided).
- Values: string
- Default: unset
Docs: installLocation.
auto_update: Option<bool>Whether to automatically update this marketplace on Claude Code startup. Written automatically by Claude Code when you toggle auto-update for a marketplace.
- Values: Boolean
- Default: unset
Docs: autoUpdate.
last_updated: Option<String>ISO 8601 timestamp of the last marketplace refresh. Written automatically by Claude Code.
- Values: string
- Default: unset
Docs: lastUpdated.
extra: ExtraKeys Claude Code accepts here that this crate doesn’t model (newer or undocumented ones), kept as written so the document round-trips.