Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed crates/openhuman-core/src/mcp/host_sandbox.rs,crates/openhuman-core/src/mcp/mod

Steven Enamakel5b3da5f9d1d8
diff --git a/crates/openhuman-core/src/mcp/host_sandbox.rs b/crates/openhuman-core/src/mcp/host_sandbox.rs
index 612aac336d..6fbd77624f 100644
--- a/crates/openhuman-core/src/mcp/host_sandbox.rs
+++ b/crates/openhuman-core/src/mcp/host_sandbox.rs
@@ -94,10 +94,10 @@ pub(super) async fn with_toolchain_grants(config: &Config, sandbox: &mut StdioSa
"[mcp] stdio sandbox grants resolved"
);
}
- Err(error) => {eprintln!("DBGSB grants error: {error}"); tracing::warn!(
+ Err(error) => tracing::warn!(
%error,
"[mcp] toolchain grants unavailable; stdio sandbox keeps configured grants only"
- )},
+ ),
}
}
diff --git a/crates/openhuman-core/src/mcp/module_port.rs b/crates/openhuman-core/src/mcp/module_port.rs
index 0ffab363ae..6a5201774d 100644
--- a/crates/openhuman-core/src/mcp/module_port.rs
+++ b/crates/openhuman-core/src/mcp/module_port.rs
@@ -78,8 +78,7 @@ impl McpModulePort for TinyMcpPort {
if let (Some(host), Some(sandbox)) = (&self.host_config, client.stdio_sandbox.as_mut()) {
crate::mcp::host_sandbox::with_toolchain_grants(host, sandbox).await;
}
- eprintln!("DBGSB sandbox={:?}", client.stdio_sandbox);
- let r = self.root_call(
+ self.root_call(
names::methods::OPEN_CONFIGURED,
(OpenConfiguredRequest {
data_dir: data_dir.to_owned(),
@@ -87,9 +86,7 @@ impl McpModulePort for TinyMcpPort {
},),
true,
)
- .await;
- eprintln!("DBGSB open ok={}", r.is_ok());
- r
+ .await
}
async fn close(&self, data_dir: &str) -> Result<Option<String>, ModuleCallError> {