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(orchestration): restore subagent delegation tools
Steven Enamakel98bec5b84e6c
diff --git a/crates/openhuman-core/src/agent/orchestration/tools.rs b/crates/openhuman-core/src/agent/orchestration/tools.rsindex 589bc3dba0..67b81f2222 100644--- a/crates/openhuman-core/src/agent/orchestration/tools.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools.rs@@ -16,23 +16,23 @@//! Execution crosses the shared TinyAgents Jobs/Message and subagent driver//! ports while this module retains product-specific policies and envelopes.-#[path = "tools/archetype_delegation.rs"]+#[path = "tools/archetype_delegation_host.rs"]mod archetype_delegation;#[path = "tools/awaiting_user.rs"]pub(crate) mod awaiting_user;-#[path = "tools/collapsed_delegation.rs"]+#[path = "tools/collapsed_delegation_host.rs"]mod collapsed_delegation;-#[path = "tools/continue_subagent.rs"]+#[path = "tools/continue_subagent_host.rs"]mod continue_subagent;#[path = "tools/delegate_graph.rs"]mod delegate_graph;-#[path = "tools/dispatch.rs"]+#[path = "tools/subagent_dispatch_host.rs"]mod dispatch;-#[path = "tools/spawn_async_subagent.rs"]+#[path = "tools/spawn_async_subagent_surface.rs"]mod spawn_async_subagent;#[path = "tools/spawn_parallel_agents.rs"]mod spawn_parallel_agents;-#[path = "tools/spawn_subagent.rs"]+#[path = "tools/spawn_subagent_surface.rs"]mod spawn_subagent;#[path = "tools/subagent_abort_report.rs"]mod subagent_abort_report;diff --git a/crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation.rs b/crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation_host.rssimilarity index 100%rename from crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation.rsrename to crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation_host.rsdiff --git a/crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation.rs b/crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation_host.rssimilarity index 100%rename from crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation.rsrename to crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation_host.rsdiff --git a/crates/openhuman-core/src/agent/orchestration/tools/continue_subagent.rs b/crates/openhuman-core/src/agent/orchestration/tools/continue_subagent_host.rssimilarity index 100%rename from crates/openhuman-core/src/agent/orchestration/tools/continue_subagent.rsrename to crates/openhuman-core/src/agent/orchestration/tools/continue_subagent_host.rsdiff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_host_impl.rssimilarity index 100%rename from crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rsrename to crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_host_impl.rsdiff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_results.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_projection.rssimilarity index 100%rename from crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_results.rsrename to crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_projection.rsdiff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_args.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_request.rssimilarity index 96%rename from crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_args.rsrename to crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_request.rsindex 0f37485775..39782fc938 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_args.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_request.rs@@ -1,7 +1,7 @@// Argument decoding for `spawn_async_subagent`.//// Textually included into `spawn_async_subagent.rs` beside-// `spawn_async_subagent_execute.rs`, so it shares that module's imports. Split+// `spawn_async_subagent_host_impl.rs`, so it shares that module's imports. Split// out because the execute fragment had grown to 847 lines against the layout// gate's pin, and this prologue is the one phase of that function that is a// pure function of `args` — every other phase closes over the run context, thediff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_surface.rssimilarity index 99%rename from crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent.rsrename to crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_surface.rsindex 2549eda279..e5cd58fd72 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_surface.rs@@ -366,9 +366,9 @@ impl SpawnAsyncSubagentTool {}}-include!("spawn_async_subagent_execute.rs");-include!("spawn_async_subagent_args.rs");-include!("spawn_async_subagent_results.rs");+include!("spawn_async_subagent_host_impl.rs");+include!("spawn_async_subagent_request.rs");+include!("spawn_async_subagent_projection.rs");/// Settle a late registration refusal before an accepted response is built.#[cfg(test)]diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rssimilarity index 100%rename from crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rsrename to crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rsdiff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_parameters.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_schema.rssimilarity index 100%rename from crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_parameters.rsrename to crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_schema.rsdiff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_surface.rssimilarity index 98%rename from crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent.rsrename to crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_surface.rsindex 35f0f4d281..a8bcbd8253 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_surface.rs@@ -107,8 +107,8 @@ impl SpawnSubagentTool {}}-include!("spawn_subagent_tool_impl.rs");-include!("spawn_subagent_parameters.rs");+include!("spawn_subagent_host_impl.rs");+include!("spawn_subagent_schema.rs");/// Trim a raw prompt down to a thread-list-friendly title.///diff --git a/crates/openhuman-core/src/agent/orchestration/tools/dispatch.rs b/crates/openhuman-core/src/agent/orchestration/tools/subagent_dispatch_host.rssimilarity index 100%rename from crates/openhuman-core/src/agent/orchestration/tools/dispatch.rsrename to crates/openhuman-core/src/agent/orchestration/tools/subagent_dispatch_host.rs