Expand description
Shared provider platform: identity, registry, factories (JOE-1933 / JOE-1932 / JOE-1936).
Direction-specific execution traits remain in crate::providers (STT) and
crate::tts::provider (TTS). This module owns how those implementations
are identified, registered, and constructed without flattening STT/TTS
semantics. See docs/development/adr-002-provider-registry.md.
Capability discovery and conformance (JOE-1936) route through the registry
via capabilities_for and [conformance].
Structs§
- Conformance
Failure - A single conformance failure (honest, actionable).
- Local
SttFactory - Local
TtsFactory - Open
Router SttFactory - Open
Router TtsFactory - Provider
Build Context - Bounded inputs for constructing a single provider instance.
- Provider
Descriptor - Immutable description of a registered provider (compile-time / registration-time).
- Provider
Id - Stable, validated provider identity used at core boundaries.
- Provider
List - Versioned list payload for JSON discovery (
aurum providers --jsonlater). - Provider
Operations - Operations a provider factory may expose.
- Provider
Registry - Engine-owned registry of compiled provider factories.
- Provider
Registry Builder - Builder that rejects duplicate operation identities.
- Provider
Resolve Options - Optional overrides when resolving a provider through
crate::AurumEngine(JOE-1938). - Provider
Summary - One compiled provider as seen through the registry (no secrets).
Enums§
- Network
Requirement - Whether a provider implementation may perform network I/O.
- Provider
Stability - Stability of a registered provider surface.
Constants§
- MAX_
PROVIDER_ ID_ LEN - Maximum length of a provider id (bytes after normalization).
- PROVIDER_
LIST_ SCHEMA_ VERSION - Schema version for provider list JSON (discovery DTO).
Traits§
- Synthesis
Provider Factory - Constructs TTS providers from a bounded build context.
- Transcription
Provider Factory - Constructs STT providers from a bounded build context.
Functions§
- capabilities_
for - Look up capabilities via registered factories.
- check_
builtin_ conformance - Run built-in product conformance: unique ids + network claim samples.
- check_
descriptor_ capabilities - Run the standard static checks for one descriptor + capabilities pair.
- check_
network_ claim - Descriptor network claim must agree with capability
requires_network/local_only_ok(no lying about offline suitability). - check_
unique_ descriptor_ identities - Built-in descriptors must have unique (id, direction) identities.
- list_
provider_ summaries - Enumerate compiled providers from a registry (registration order, offline).
- merge_
provider_ summaries - Merge STT/TTS factories that share a provider id into one summary row.
- preflight_
stt_ with_ registry - Registry-backed STT preflight: factory must exist; request gates stay fail-closed.
- preflight_
tts_ with_ registry - Registry-backed TTS preflight.
- provider_
list - Versioned list for future CLI JSON output.