Skip to content

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

refactor(subagent_host): widen shared_subagent_flight visibility to pub(super)

Steven Enamakel0789b88261a7
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
index 9e46b266d7..46c74088e8 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
@@ -578,7 +578,7 @@ pub struct OpenHumanSubagentHost {
type ScopedSubagentFlights =
std::sync::Mutex<std::collections::HashMap<PathBuf, tinyagents_orchestration::subagent::SubagentInFlight>>;
-fn shared_subagent_flight(
+pub(super) fn shared_subagent_flight(
ctx: &crate::core::runtime::DispatchCtx,
checkpoint_dir: &std::path::Path,
) -> tinyagents_orchestration::subagent::SubagentInFlight {