Skip to content

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

refactor(mcp): widen visibility of open_with_port_and_dispatch

Steven Enamakel89d11a4f5fc0
diff --git a/crates/openhuman-core/src/mcp/server/module.rs b/crates/openhuman-core/src/mcp/server/module.rs
index 9933392c1d..392e6677f7 100644
--- a/crates/openhuman-core/src/mcp/server/module.rs
+++ b/crates/openhuman-core/src/mcp/server/module.rs
@@ -215,7 +215,7 @@ impl ServerSession {
Self::open_with_port_and_dispatch(port, |call| Box::pin(handler::dispatch(call))).await
}
- async fn open_with_port_and_dispatch<F, Fut>(
+ pub(super) async fn open_with_port_and_dispatch<F, Fut>(
port: Arc<dyn ServerPort>,
dispatch: F,
) -> Result<Self, ServerError>