The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(subagent_sessions): treat awaiting-user sessions as reusable
Steven Enamakelff1746ca0c09
diff --git a/crates/openhuman-core/src/agent/orchestration/subagent_sessions/types.rs b/crates/openhuman-core/src/agent/orchestration/subagent_sessions/types.rsindex 0b7979e389..fea3ce7610 100644--- a/crates/openhuman-core/src/agent/orchestration/subagent_sessions/types.rs+++ b/crates/openhuman-core/src/agent/orchestration/subagent_sessions/types.rs@@ -29,7 +29,7 @@ impl DurableSubagentStatus {}pub fn reusable(self) -> bool {- matches!(self, Self::Running | Self::Idle)+ matches!(self, Self::Running | Self::Idle | Self::AwaitingUser)}}diff --git a/crates/openhuman-core/src/agent/subagent_host/mod.rs b/crates/openhuman-core/src/agent/subagent_host/mod.rsindex 067c4fc891..a4541dd787 100644--- a/crates/openhuman-core/src/agent/subagent_host/mod.rs+++ b/crates/openhuman-core/src/agent/subagent_host/mod.rs@@ -59,6 +59,7 @@ pub use autonomous::{definition_iter_cap, subagent_iter_cap_with_autonomous_liftpub(crate) use lifecycle::detached_subagent_parent;pub(crate) use lifecycle::load_subagent_checkpoint;pub(crate) use lifecycle::load_terminal_outcome;+pub(crate) use lifecycle::resume_async_via_driver_tool;pub(crate) use lifecycle::run_subagent_via_driver_tool;pub(crate) use lifecycle::spawn_async_via_driver_tool;#[cfg(test)]