Skip to content

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

chore(core): gate lock_mode re-export behind cfg(test)

Steven Enamakel0672ac6a0efb
diff --git a/crates/openhuman-core/src/core/runtime/mod.rs b/crates/openhuman-core/src/core/runtime/mod.rs
index 5b732734a5..3ae6ea3b9f 100644
--- a/crates/openhuman-core/src/core/runtime/mod.rs
+++ b/crates/openhuman-core/src/core/runtime/mod.rs
@@ -66,6 +66,7 @@ pub use agent_scope::{agent_scope_dir, slot_for, AgentContextRegistry, AgentScop
pub use builder::{CoreBuilder, CoreRuntime, DomainSet, ServiceSet, TokenSource};
pub use context::{ContextOverlay, CoreContext};
pub use dispatch_ctx::DispatchCtx;
+#[cfg(test)]
pub(crate) use mode::lock_mode;
pub use mode::{current_mode, is_saas, Mode};
pub use saas::SaasConfig;