repositories / smith
smith
There are many coding harnesses - but this one is fast
owned by admin
smith-ai/src/lib.rs
Raw#![deny(unsafe_code)]
#![warn(missing_docs)]
//! Smith provider identity, credentials, and model registry.
//!
//! Protocol request encoding and response decoding run in sandboxed protocol
//! guests; host code retains credentials, catalog data, routing, and effects.
/// Credential resolution without context exposure.
pub mod auth;
/// Offline model catalog, capabilities, and resolution.
pub mod models;
/// Endpoint routing with bounded retry and failover.
pub mod mux;
/// Cancellable, generation-checked catalog refresh.
pub mod refresh;
pub use auth::{AuthRegistry, Credential, CredentialSource};
pub use models::{Catalog, ModelCapabilities, ModelEntry, ProviderKind};
pub use mux::{Endpoint, Router};
pub use refresh::{CatalogSnapshot, CatalogState, RefreshOutcome, refresh};