Skip to content

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

fix(embed): widen visibility of internal modules

Steven Enamakel7686d4d51f3b
diff --git a/crates/openhuman-embed/src/agent/mod.rs b/crates/openhuman-embed/src/agent/mod.rs
index b96cc3071e..01e9e1a41a 100644
--- a/crates/openhuman-embed/src/agent/mod.rs
+++ b/crates/openhuman-embed/src/agent/mod.rs
@@ -15,10 +15,10 @@
//! loader, DomainSet gate, tool-group filter and skill discovery all read
//! the ambient context.
-mod build;
+pub(crate) mod build;
mod definition;
mod layout;
-mod spec;
+pub(crate) mod spec;
pub use definition::{AgentDefinitionSpec, SandboxModeSpec, ToolScopeSpec};
pub use layout::AgentLayout;
diff --git a/crates/openhuman-embed/src/harness/provider.rs b/crates/openhuman-embed/src/harness/provider.rs
index c2302f8277..4d333483c2 100644
--- a/crates/openhuman-embed/src/harness/provider.rs
+++ b/crates/openhuman-embed/src/harness/provider.rs
@@ -16,7 +16,7 @@
//! roles — memory, embeddings, heartbeat, learning — alone, because those run
//! tier-specific models a chat endpoint generally cannot serve.
-use crate::agent::Route;
+use crate::turn::Route;
/// Where a harness sends its inference.
#[derive(Debug, Clone, Default, PartialEq, Eq)]
diff --git a/crates/openhuman-embed/src/runtime/mod.rs b/crates/openhuman-embed/src/runtime/mod.rs
index e2edcb77b7..3b5908bdf0 100644
--- a/crates/openhuman-embed/src/runtime/mod.rs
+++ b/crates/openhuman-embed/src/runtime/mod.rs
@@ -68,7 +68,7 @@
//! worker stack overflows.
mod api_key;
-mod builder;
+pub(crate) mod builder;
pub use api_key::ApiKey;
pub use builder::RuntimeBuilder;