Expand description
Shared foundations for OpenRustClaw crates.
openrustclaw-core is the lowest-level public crate in the workspace. It
defines the shared types, traits, configuration structures, and error
surfaces used by the rest of the platform.
§Modules
typescontains the shared domain models for messages, sessions, tool calls, completion requests, and other runtime data.traitsdefines the core subsystem contracts for providers, tools, channels, and memory stores.configcontains serializable application configuration structures.errordefines the common error enums used across OpenRustClaw crates.
§Quick start
use openrustclaw_core::types::{Message, Platform, Session};
let message = Message::user("Hello from crates.io");
let session = Session::new_dm("user-123", Platform::Cli);
assert_eq!(message.content, "Hello from crates.io");
assert_eq!(session.user_id, "user-123");