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
test: cover explicit subagent run context
Steven Enamakel26b277b81e3e
diff --git a/crates/openhuman-core/src/agent/harness/subagent_runner/ops_tests_slug_filter_typed_mode_tests.rs b/crates/openhuman-core/src/agent/harness/subagent_runner/ops_tests_slug_filter_typed_mode_tests.rsindex 904c12c941..8181b22360 100644--- a/crates/openhuman-core/src/agent/harness/subagent_runner/ops_tests_slug_filter_typed_mode_tests.rs+++ b/crates/openhuman-core/src/agent/harness/subagent_runner/ops_tests_slug_filter_typed_mode_tests.rs@@ -208,6 +208,8 @@ async fn typed_mode_returns_text_through_runner() {context: None,model_override: None,task_id: Some("t1".into()),+ thread_id: None,+ run_context: Default::default(),worker_thread_id: None,initial_history: None,checkpoint_dir: None,@@ -424,6 +426,8 @@ async fn typed_mode_filters_tools_by_skill_filter() {context: None,model_override: None,task_id: None,+ thread_id: None,+ run_context: Default::default(),worker_thread_id: None,initial_history: None,checkpoint_dir: None,diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents.rsindex a9cf1cd22f..0c633bc811 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents.rs@@ -71,6 +71,7 @@ impl ToolDispatch<(), crate::agent::tinyagents::host::OpenHumanRunContext>arguments,parent.cancellation.clone(),parent.workspace.clone(),+ parent.data.child(),).await}@@ -84,12 +85,14 @@ pub(crate) async fn execute_spawn_parallel_agents(args: serde_json::Value,cancellation: tinyagents_harness::CancellationToken,workspace_descriptor: Option<tinytools::WorkspaceDescriptor>,+ run_context: crate::agent::tinyagents::host::OpenHumanRunContext,) -> anyhow::Result<ToolResult> {tracing::debug!("[spawn_parallel_agents] execute entry");let outcome = run_spawn_parallel_graph_with_cancellation_and_workspace(args,cancellation,workspace_descriptor,+ run_context,).await.map_err(|e| anyhow::anyhow!(e))?;@@ -212,6 +215,7 @@ impl Tool for SpawnParallelAgentsTool {args,tinyagents_harness::CancellationToken::new(),workspace_descriptor,+ crate::agent::tinyagents::host::OpenHumanRunContext::new(),).await}