#![cfg_attr(test, allow(clippy::unwrap_used, clippy::expect_used))]

//! kernex-core: Foundation types, traits, and error handling for the Kernex runtime.

pub mod config;
pub mod context;
pub mod error;
pub mod guardrails;
pub mod hooks;
pub mod message;
pub mod permissions;
pub mod pricing;
pub mod run;
pub mod sanitize;
pub mod spawn;
pub mod stream;
pub mod traits;
pub mod utf8;

pub use config::shellexpand;
pub use error::KernexError;
pub use guardrails::{GuardrailAction, GuardrailRunner, NoopGuardrailRunner};
pub use permissions::{PermissionOutcome, PermissionRules};
pub use run::ModelTier;
