Skip to main content

microclaw_sdk/
lib.rs

1//! Stable facade for embedding MicroClaw in Rust applications.
2//!
3//! `minimal` exposes protocol contracts only, `standard` adds the embeddable runtime, and
4//! `full` adds configuration-driven Agent Engine construction and Skill discovery.
5
6pub use microclaw_core::run_protocol::{
7    validate_worker_protocol_version, AgentId, AgentProfile, CallerContext, RunId, RunRequest,
8    RunResult, RunStatus, RuntimeCapabilities, RuntimeControl, RuntimeError, RuntimeErrorCode,
9    SessionId, ToolPolicy, WorkerCommand, WorkerDescriptor, WorkerFrame, WorkerHealth,
10    WorkerHealthStatus, WorkerId, WORKER_PROTOCOL_VERSION,
11};
12pub use microclaw_core::runtime_event::{
13    RuntimeApprovalDecision, RuntimeApprovalOption, RuntimeApprovalOptionKind, RuntimeEvent,
14    RuntimeEventEnvelope, RuntimePlanStep, RuntimePlanStepStatus, RuntimeProcessKind,
15};
16
17#[cfg(feature = "standard")]
18mod runtime_api;
19#[cfg(feature = "standard")]
20pub use runtime_api::*;