Skip to main content

Module capability

Module capability 

Source
Expand description

Handshake and capability negotiation types (SPEC.md §3). DataFlow is the security-critical field: hosts surface it at install/consent time, and egress: true providers must never be auto-enabled (SPEC.md §4).

Structs§

Capabilities
What a provider can do, negotiated at handshake time.
DataFlow
Declares what a provider does with data, so a host can gate consent before ever sending it a query.
ProviderInfo
Provider identity reported at initialize.
QueryCapability
The retrieval surface a provider offers.

Functions§

embedding_fingerprints_match
Whether a host may send its embeddings to a provider: exact string equality of the two fingerprints (SPEC.md §E1).
fingerprint_dimensions
The dimension count declared by an embedding fingerprint, if it is well-formed.