Skip to content

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

fix(mcp): mark transform_text as a root call

Steven Enamakelc91ad4cd990d
diff --git a/crates/openhuman-core/src/mcp/module_port.rs b/crates/openhuman-core/src/mcp/module_port.rs
index 6fe7baf665..d48d0cc079 100644
--- a/crates/openhuman-core/src/mcp/module_port.rs
+++ b/crates/openhuman-core/src/mcp/module_port.rs
@@ -181,7 +181,7 @@ impl McpModulePort for TinyMcpPort {
&self,
request: tinymcp_bus::TransformTextRequest,
) -> Result<String, ModuleCallError> {
- self.root_call(names::methods::TRANSFORM_TEXT, (request,), false)
+ self.root_call(names::methods::TRANSFORM_TEXT, (request,), true)
.await
}
}
diff --git a/crates/openhuman-core/src/modules/storage_import_tinymcp_tests.rs b/crates/openhuman-core/src/modules/storage_import_tinymcp_tests.rs
index d54d1490be..d412ccda88 100644
--- a/crates/openhuman-core/src/modules/storage_import_tinymcp_tests.rs
+++ b/crates/openhuman-core/src/modules/storage_import_tinymcp_tests.rs
@@ -546,9 +546,7 @@ async fn a_captured_import_claim_cannot_write_after_profile_lease_takeover() {
.storage_backend_for(&profile_b)
.map_err(anyhow::Error::from)?
.expect("the takeover host uses shared storage");
- let current_storage = new_backend
- .for_scope(&scope)
- .map_err(anyhow::Error::from)?;
+ let current_storage = new_backend.for_scope(&scope).map_err(anyhow::Error::from)?;
let stale_write = stale_storage
.documents()