Skip to content

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

refactor(rpc): narrow core_host binding to module-private

Steven Enamakel51e31ba8153f
diff --git a/crates/openhuman-rpc/src/lib.rs b/crates/openhuman-rpc/src/lib.rs
index 0221cf0796..c92b69e0f2 100644
--- a/crates/openhuman-rpc/src/lib.rs
+++ b/crates/openhuman-rpc/src/lib.rs
@@ -60,8 +60,9 @@ pub mod embed {
}
/// Core internals for this crate's own modules, through embed's doc-hidden
-/// `__host` list. Crate-private: never re-exported on a public path.
-pub(crate) use openhuman_tinyhumans::__host as core_host;
+/// `__host` list. A private binding: child modules reach it as
+/// `crate::core_host`, and it is not part of this crate's API.
+use openhuman_tinyhumans::__host as core_host;
#[cfg(feature = "http-client")]
mod client;