Skip to content

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

chore(mcp): reorder test-only http client re-exports

Steven Enamakele98a5d2e8c37
diff --git a/crates/openhuman-core/src/mcp/mod.rs b/crates/openhuman-core/src/mcp/mod.rs
index 975b73e998..72e2736f3e 100644
--- a/crates/openhuman-core/src/mcp/mod.rs
+++ b/crates/openhuman-core/src/mcp/mod.rs
@@ -205,11 +205,11 @@ pub mod server;
/// MCP wire-contract response types used by host adapters.
pub mod http_client {
+ #[cfg(test)]
+ pub use tinymcp::transport::http::{McpHttpClient, McpHttpClientBuilder};
pub use tinymcp_bus::{
AuthorizationServerMetadata, McpAuthChallenge, McpAuthorizationContext,
McpInitializeResult, McpRemoteTool, McpServerToolResult, McpSseEvent,
ProtectedResourceMetadata,
};
- #[cfg(test)]
- pub use tinymcp::transport::http::{McpHttpClient, McpHttpClientBuilder};
}