The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
style: apply rustfmt formatting
Steven Enamakel91bd5e1f07de
diff --git a/crates/openhuman-core/src/modules/tinybox.rs b/crates/openhuman-core/src/modules/tinybox.rsindex 4aa0f4b729..5115b47cd6 100644--- a/crates/openhuman-core/src/modules/tinybox.rs+++ b/crates/openhuman-core/src/modules/tinybox.rs@@ -6,7 +6,7 @@use std::time::Duration;-use serde::{Serialize, de::DeserializeOwned};+use serde::{de::DeserializeOwned, Serialize};pub use tinybox_bus as contract;use crate::config::Config;@@ -220,9 +220,10 @@ async fn call_cleanup_docker_with_client(client: &ModuleClient,request: contract::CleanupDockerRequest,) -> Result<contract::CleanupDockerOutput, String> {- let client = client- .clone()- .with_timeout(docker_control_deadline(request.timeout_ms, DOCKER_CALL_GRACE));+ let client = client.clone().with_timeout(docker_control_deadline(+ request.timeout_ms,+ DOCKER_CALL_GRACE,+ ));call_with_client(&client, CLEANUP_DOCKER, (request,), false).await}diff --git a/crates/openhuman-core/src/modules/tinybox_tests.rs b/crates/openhuman-core/src/modules/tinybox_tests.rsindex 0bb7dbf0fb..cfa4a024a7 100644--- a/crates/openhuman-core/src/modules/tinybox_tests.rs+++ b/crates/openhuman-core/src/modules/tinybox_tests.rs@@ -2,7 +2,7 @@use std::sync::{Arc, Mutex};-use serde_json::{Value, json};+use serde_json::{json, Value};use tinybus::broker::Broker;use tinybus::service::Interface;use tinybus::transport::memory::MemoryBus;@@ -369,8 +369,8 @@ fn every_host_operation_is_a_member_of_the_canonical_contract() {}#[tokio::test]-async fn docker_controls_use_typed_calls_with_validated_contract_capability()--> Result<(), Box<dyn std::error::Error>> {+async fn docker_controls_use_typed_calls_with_validated_contract_capability(+) -> Result<(), Box<dyn std::error::Error>> {let (_service, client, calls) = mock_client().await;let status = call_docker_status_with_client(&client,diff --git a/crates/openhuman-core/src/security/policy/command_checks.rs b/crates/openhuman-core/src/security/policy/command_checks.rsindex 847e94f636..fa84e2cbd3 100644--- a/crates/openhuman-core/src/security/policy/command_checks.rs+++ b/crates/openhuman-core/src/security/policy/command_checks.rs@@ -1,13 +1,13 @@use std::path::{Path, PathBuf};+#[cfg(test)]+use super::types::CommandRiskLevel;use super::types::{AutonomyLevel, CommandClass, GateDecision, SecurityPolicy, POLICY_BLOCKED_MARKER,};#[cfg(test)]use crate::util::floor_char_boundary;#[cfg(test)]-use super::types::CommandRiskLevel;-#[cfg(test)]use tinybox_core::shell::classify::{classify_segment, has_hidden_execution};#[cfg(test)]use tinybox_core::shell::env_guard::has_dangerous_env_prefix;