mod agent;
pub mod builtin;
mod cli;
mod context;
mod diagnostic;
mod engine;
mod error;
mod grpc;
mod loader;
mod module;
mod request;
mod result;
mod service;
mod version;

pub use agent::{Agent, AgentBuilder};
pub use context::{ExecutionContext, RunCancellation};
pub use diagnostic::{Category, Diagnostic, LogEntry, RunDiagnostics, Severity, SourceLocation};
pub use error::{Error, ErrorKind, Result};
pub use module::{
    CapabilityMetadata, FunctionMetadata, FunctionModule, FunctionModuleBuilder, FunctionSpec,
    Module, ModuleMetadata, ModuleParameter, ModuleSpec, qualified_name, register_fn,
};
pub use request::{RunLimits, RunRequest, ScriptSource};
pub use result::{AgentMetadata, RunResult};
pub use roto::Val;
