Skip to main content

Crate roboticus_core

Crate roboticus_core 

Source
Expand description

§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
  • errorRoboticusError 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.

Re-exports§

pub use config::RoboticusConfig;
pub use config::home_dir;
pub use config::resolve_config_path;
pub use error::RoboticusError;
pub use error::Result;
pub use keystore::Keystore;
pub use types::*;

Modules§

config
config_utils
Pure utility functions for config file management (backup, validation).
error
input_capability_scan
keystore
personality
security
Claim-based RBAC authority resolution.
style
types