Skip to content

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

refactor(subagent_sessions): gate test-only store re-export behind cfg(test)

Steven Enamakeldd4d2d1168e0
diff --git a/crates/openhuman-core/src/agent/orchestration/subagent_sessions/mod.rs b/crates/openhuman-core/src/agent/orchestration/subagent_sessions/mod.rs
index 8e34d1c1ce..12c303a534 100644
--- a/crates/openhuman-core/src/agent/orchestration/subagent_sessions/mod.rs
+++ b/crates/openhuman-core/src/agent/orchestration/subagent_sessions/mod.rs
@@ -12,7 +12,9 @@ pub use ops::{
mark_driver_pause_cancelled, mark_failed, mark_finished, normalize_task_key,
resolve_lifecycle_key, reuse_decision, upsert_running, DriverTaskCancellation,
};
-pub(crate) use tiny_port::{open_for_context, OpenHumanTinySubagentSessionStore};
+pub(crate) use tiny_port::open_for_context;
+#[cfg(test)]
+pub(crate) use tiny_port::OpenHumanTinySubagentSessionStore;
pub use types::{
DurableSubagentStatus, SubagentSessionSelector, SubagentSessionStore, SubagentSessionUpsert,
};