pub struct Describe {
pub name: String,
pub link_namespace: String,
pub fetch_style: FetchStyle,
pub auth_realm: Option<String>,
pub protocol: u32,
}Expand description
What a plugin declares about itself.
Fields§
§name: StringPlugin name (local-recordings, graph).
link_namespace: StringThe link namespace this source’s citations carry (recording,
graph). Recorded into sources.ron at install; collision-checked.
fetch_style: FetchStyle§auth_realm: Option<String>FALLBACK credentials realm; prefer config_auth_realm (derived from
validated configuration — tenant/client — so unrelated tenants never
share a token). None = no auth (local sources).
protocol: u32Plugin protocol version (ADR 0001). v1 = typed items + engine-owned
checkpoints — the first externally observable wire contract; earlier
in-process trait shapes are implementation history, not versions.
The engine refuses to fetch from a plugin declaring any version other
than PROTOCOL, and the field is REQUIRED on the wire: no plugin
protocol has ever shipped besides the current one, so a missing
declaration is a malformed plugin, not an old one — there is no
legacy to default to.