pub struct RegistryConfig {
pub enabled: bool,
pub backend_kind: RegistryBackendKind,
pub backend_url: Option<String>,
pub auth_vault_key: Option<String>,
pub registry_timeout_secs: u64,
}Expand description
External skill/plugin registry connection settings, nested under [skills.registry] in
TOML (spec-045, #5869).
Registry search/install is strictly opt-in (NFR-001): enabled defaults to false, and no
field on this type is read — no network call is made — unless enabled = true.
§Example (TOML)
[skills.registry]
enabled = true
backend_kind = "skills-sh"
auth_vault_key = "ZEPH_SKILL_REGISTRY_TOKEN"Fields§
§enabled: boolEnable registry search/install. Default: false.
When false, zeph skill search/add and zeph plugin search/add refuse to make
any network call and print an actionable opt-in message instead (FR-004).
backend_kind: RegistryBackendKindWhich registry backend implementation (zeph_plugins::marketplace::RegistryClient,
crate not depended on here — see RegistryBackendKind) to use.
backend_url: Option<String>Registry base URL. None uses the backend’s built-in default (for
RegistryBackendKind::SkillsSh, https://www.skills.sh).
auth_vault_key: Option<String>Vault key name to resolve the registry’s bearer credential from, e.g.
"ZEPH_SKILL_REGISTRY_TOKEN". None means an anonymous (unauthenticated) request is
attempted; the backend may reject it if it requires a credential.
Always resolved via VaultProvider — never stored as a plain config field.
registry_timeout_secs: u64Per-request timeout in seconds for registry search/fetch HTTP calls.
Trait Implementations§
Source§impl Clone for RegistryConfig
impl Clone for RegistryConfig
Source§fn clone(&self) -> RegistryConfig
fn clone(&self) -> RegistryConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more