roboticus-core 0.11.1

Shared types, config parsing, personality system, and error types for the Roboticus agent runtime
Documentation
//! # roboticus-core
//!
//! Core types, configuration, error handling, and encrypted credential storage
//! for the Roboticus agent runtime. This is the leaf crate in the dependency
//! graph -- every other workspace crate depends on it.
//!
//! ## Key Types
//!
//! - [`RoboticusConfig`] -- Central configuration loaded from `roboticus.toml`
//! - [`RoboticusError`] / [`Result`] -- Unified error type (13 variants) used across all crates
//! - [`Keystore`] -- Encrypted key-value storage for API keys and secrets
//! - [`SurvivalTier`] -- Financial health tier derived from on-chain balance
//!
//! ## Modules
//!
//! - `config` -- Configuration structs, TOML parsing, tilde expansion, validation
//! - `error` -- `RoboticusError` enum and `Result` type alias
//! - `keystore` -- Encrypted JSON file store with machine-key auto-unlock
//! - `personality` -- OS/firmware personality loading from workspace
//! - `style` -- Terminal theme (CRT, typewriter effect, icons)
//! - `types` -- Shared domain enums: `SurvivalTier`, `AgentState`, `ApiFormat`,
//!   `ModelTier`, `PolicyDecision`, `RiskLevel`, `SkillManifest`, etc.

pub mod composition;
pub mod config;
pub mod config_utils;
pub mod delegation_error;
pub mod delegation_tools;
pub mod error;
pub mod input_capability_scan;
pub mod keystore;
pub mod limits;
pub mod model;
pub mod personality;
pub mod security;
pub mod style;
pub mod types;

pub use config::{
    ProfileEntry, ProfileRegistry, RoboticusConfig, home_dir, resolve_config_path,
    resolve_profile_config_path, rewrite_all_toml_files, rewrite_legacy_paths_in_config,
};
pub use error::{Result, RoboticusError};
pub use keystore::Keystore;
pub use types::*;