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
fix(config): correct sandbox config operation path
Steven Enamakeld5925731ee58
diff --git a/crates/openhuman-core/src/config/ops/sandbox.rs b/crates/openhuman-core/src/config/ops/sandbox.rsindex 9169bf7594..aafe70e15a 100644--- a/crates/openhuman-core/src/config/ops/sandbox.rs+++ b/crates/openhuman-core/src/config/ops/sandbox.rs@@ -21,7 +21,14 @@ pub async fn get_sandbox_settings() -> Result<Outcome<serde_json::Value>, Stringlet sandbox = &config.sandbox;let docker = &config.runtime.docker;- let docker_available = is_docker_available().await;+ // The daemon probe has no timeout of its own; bound it so a wedged+ // daemon cannot hang the settings read.+ let docker_available = tokio::time::timeout(+ std::time::Duration::from_secs(5),+ crate::sandbox::docker::is_docker_available(),+ )+ .await+ .unwrap_or(false);let backend_str = match sandbox.backend {crate::config::SandboxBackend::Auto => "auto",@@ -117,18 +124,6 @@ pub async fn load_and_apply_sandbox_settings(apply_sandbox_settings(&mut config, update).await}-async fn is_docker_available() -> bool {- let fut = tokio::process::Command::new("docker")- .arg("info")- .stdout(std::process::Stdio::null())- .stderr(std::process::Stdio::null())- .status();- match tokio::time::timeout(std::time::Duration::from_secs(5), fut).await {- Ok(Ok(status)) => status.success(),- _ => false,- }-}-fn detect_os_sandbox_backend() -> &'static str {#[cfg(target_os = "linux")]{