roboticus-api 0.11.3

HTTP routes, WebSocket, auth, rate limiting, and dashboard for the Roboticus agent runtime
Documentation
mod architecture_tests;
mod channel_tests;
mod decomposition_tests;
mod delegation_tests;
mod diagnostics_tests;
mod guard_tests;
mod memory_recall_tests;
mod planner_pipeline_tests;
mod routing_tests;
mod tool_tests;

use super::*;
use chrono::Utc;

pub(super) fn test_config_with_scope(scope_mode: &str) -> roboticus_core::RoboticusConfig {
    roboticus_core::RoboticusConfig::from_str(&format!(
        r#"
[agent]
name = "TestBot"
id = "test-agent"

[server]
port = 0

[database]
path = ":memory:"

[models]
primary = "ollama/qwen3:8b"

[session]
scope_mode = "{scope_mode}"
"#
    ))
    .unwrap()
}

pub(super) fn inbound_with_meta(meta: serde_json::Value) -> roboticus_channels::InboundMessage {
    roboticus_channels::InboundMessage {
        id: "msg-1".into(),
        platform: "telegram".into(),
        sender_id: "sender-1".into(),
        content: "hello".into(),
        timestamp: Utc::now(),
        metadata: Some(meta),
    }
}