#![forbid(unsafe_code)] #![warn(missing_docs)] //! Smith provider integrations and model registry. //! //! Vendor wire formats stop at the adapter boundary: each adapter is an //! incremental decoder producing [`smith::stream::StreamEvent`]s, proven //! against the shared conformance kit in [`conformance`]. /// Anthropic Messages adapter. pub mod anthropic; /// Credential resolution without context exposure. pub mod auth; /// Stream conformance kit shared by all vendor adapters. pub mod conformance; /// Google Gemini adapter. pub mod gemini; /// Offline model catalog, capabilities, and resolution. pub mod models; /// Endpoint routing with bounded retry and failover. pub mod mux; /// OpenAI-compatible chat-completions adapter. pub mod openai; /// Cancellable, generation-checked catalog refresh. pub mod refresh; /// Vendor HTTP transport. pub mod transport; pub use anthropic::AnthropicDecoder; pub use auth::{AuthRegistry, Credential, CredentialSource}; pub use conformance::{Expected, Fixture, StreamDecoder}; pub use gemini::GeminiDecoder; pub use models::{Catalog, ModelCapabilities, ModelEntry, ProviderKind}; pub use mux::{Endpoint, Router}; pub use openai::OpenAiDecoder; pub use refresh::{CatalogSnapshot, CatalogState, RefreshOutcome, refresh}; pub use transport::{VendorEndpoint, build_body, endpoint_headers, endpoint_url, transport};