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
feat(subagent-host): mirror worker graph updates to the parent
Steven Enamakel823c10c75511
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph/worker_mirror.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph/worker_mirror.rsindex 5c0e003599..ebe43b2d41 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph/worker_mirror.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph/worker_mirror.rs@@ -13,7 +13,7 @@ use tinytools_agent::dialect::{DialectRole, TranscriptEntry};/// task_id}` only, dropping the fields worker-thread consumers key on.#[allow(clippy::too_many_arguments)]fn append_worker_message(- ctx: &crate::core::runtime::DispatchCtx,+ ctx: &DispatchCtx,workspace_dir: &std::path::Path,thread_id: &str,agent_id: &str,@@ -77,7 +77,7 @@ fn append_worker_message(/// `iteration` counter, `final` on the trailing message, `tool_calls` on an/// assistant round, and `tool_call_id` / `tool_name` on each tool result.pub(super) fn mirror_worker_thread(- ctx: &crate::core::runtime::DispatchCtx,+ ctx: &DispatchCtx,workspace_dir: &std::path::Path,thread_id: &str,agent_id: &str,@@ -108,6 +108,7 @@ pub(super) fn mirror_worker_thread(let call_names: Vec<&str> =tool_calls.iter().map(|c| c.name.as_str()).collect();append_worker_message(+ ctx,workspace_dir,thread_id,agent_id,@@ -129,6 +130,7 @@ pub(super) fn mirror_worker_thread(.copied().unwrap_or("tool");append_worker_message(+ ctx,workspace_dir,thread_id,agent_id,@@ -168,6 +170,7 @@ pub(super) fn mirror_worker_thread(if let Some(text) = extra_final.filter(|t| !t.trim().is_empty()) {append_worker_message(+ ctx,workspace_dir,thread_id,agent_id,@@ -185,7 +188,7 @@ pub(super) fn mirror_worker_thread(/// `conversation`) is available. `failure_final`, when set, is appended as a/// trailing `agent` failure marker.pub(super) fn mirror_worker_thread_from_history(- ctx: &crate::core::runtime::DispatchCtx,+ ctx: &DispatchCtx,workspace_dir: &std::path::Path,thread_id: &str,agent_id: &str,@@ -226,6 +229,7 @@ pub(super) fn mirror_worker_thread_from_history(}if let Some(text) = failure_final.filter(|t| !t.trim().is_empty()) {append_worker_message(+ ctx,workspace_dir,thread_id,agent_id,