roboticus-api
HTTP routes, WebSocket push, authentication middleware, rate limiting, dashboard serving, config runtime, cron runtime, and abuse protection for the Roboticus agent runtime.
Key Types
- [
AppState] -- Shared application state passed to all route handlers - [
PersonalityState] -- Loaded personality files (OS, firmware, identity) - [
EventBus] -- Tokio broadcast channel for WebSocket event push
Modules
api-- REST API mount point,build_router(), route modulesauth-- API key authentication middleware layerrate_limit-- Global + per-IP rate limiting (sliding window)dashboard-- Embedded SPA serving (compile-time or filesystem)ws-- WebSocket upgrade and event broadcastingconfig_runtime-- Runtime config parsing, hot-reload, and applycron_runtime-- Background cron task executionabuse-- Abuse detection and protection