OpenRustClaw Core
Core types, traits, and configuration for the OpenRustClaw assistant platform.
Overview
This crate provides the foundational components used by the rest of the OpenRustClaw workspace:
- Types: Core data structures (Message, Session, etc.)
- Traits: Abstractions for channels, memory, and skills
- Configuration: Configuration structures for all components
- Errors: Error types and handling utilities
Key Components
Types
use ;
let msg = user;
let session = new_dm;
Configuration
use ;
let config = load_from_file?;
Traits
use ;
Architecture
The core crate follows a layered architecture:
- Types Layer: Domain models and data structures
- Traits Layer: Interface definitions
- Config Layer: Configuration management
- Error Layer: Error handling and propagation
Features
serde: Serialization support (enabled by default)uuid: UUID generation for entitieschrono: Timestamp handling
License
MIT OR Apache-2.0