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
style: reorder test-only re-export and fix indentation
Steven Enamakel3ea81b3df480
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents.rsindex 1f731f5c86..bd441aaae5 100644--- a/crates/openhuman-core/src/agent/orchestration/running_subagents.rs+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents.rs@@ -62,6 +62,8 @@ mod wait;#[path = "running_subagents_tests.rs"]mod tests;+#[cfg(test)]+pub(crate) use cancel::cancel_by_task;#[cfg(test)]pub(crate) use cancel::prune;#[cfg(test)]@@ -70,8 +72,6 @@ pub(crate) use cancel::{cancel_all, cancel_by_session_in_workspace, cancel_by_task_with_workspace_reason,cancel_for_thread, stop_for_thread, CancelledSubagent,};-#[cfg(test)]-pub(crate) use cancel::cancel_by_task;pub(crate) use registry::admit_spawn;#[cfg(test)]pub(crate) use registry::{register, status_channel, RegistrationError};diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle/driver_result.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle/driver_result.rsindex 76385403d9..066e46d2da 100644--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle/driver_result.rs+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle/driver_result.rs@@ -59,20 +59,20 @@ pub(crate) async fn resolve_inline_driver_outcome())} else {bundle- .persistence- .load_pause(task_key)- .await- .map_err(map_lifecycle_error)?- .map(|outcome| {- (- outcome,- cached- .as_ref()- .map_or(SubagentPersistenceDisposition::PauseExisting, |host| {- host.persistence_disposition- }),- )- })+ .persistence+ .load_pause(task_key)+ .await+ .map_err(map_lifecycle_error)?+ .map(|outcome| {+ (+ outcome,+ cached+ .as_ref()+ .map_or(SubagentPersistenceDisposition::PauseExisting, |host| {+ host.persistence_disposition+ }),+ )+ })};if let Some((outcome, disposition)) = persisted {