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
chore: files changed src/openhuman/agent/orchestration/tools.rs,src/openhuman/agent/orchestration/to
Steven Enamakelb062a58fafa2
diff --git a/src/openhuman/agent/orchestration/tools.rs b/src/openhuman/agent/orchestration/tools.rsindex 043ea61e65..488e1facff 100644--- a/src/openhuman/agent/orchestration/tools.rs+++ b/src/openhuman/agent/orchestration/tools.rs@@ -45,7 +45,7 @@ pub use agent_prepare_context::{};pub use archetype_delegation::ArchetypeDelegationTool;pub use close_subagent::CloseSubagentTool;-pub use collapsed_delegation::{DelegateTarget, DelegateTool, DELEGATE_TOOL_NAME};+pub use collapsed_delegation::{CollapsedDelegationTool, DelegateTarget, DELEGATE_TO_TOOL_NAME};pub use continue_subagent::ContinueSubagentTool;pub use delegate_graph::DelegateGraphTool;pub use list_subagents::ListSubagentsTool;diff --git a/src/openhuman/agent/orchestration/tools/archetype_delegation.rs b/src/openhuman/agent/orchestration/tools/archetype_delegation.rsindex 3f0e5d4f0f..fe16d584c6 100644--- a/src/openhuman/agent/orchestration/tools/archetype_delegation.rs+++ b/src/openhuman/agent/orchestration/tools/archetype_delegation.rs@@ -23,12 +23,12 @@ impl Tool for ArchetypeDelegationTool {&self.tool_description}- /// The delegation envelope, shared with the collapsed [`DelegateTool`].+ /// The delegation envelope, shared with the collapsed [`CollapsedDelegationTool`].////// See [`delegation_envelope_properties`] for why it is description-light/// and where the field semantics live instead.///- /// [`DelegateTool`]: super::DelegateTool+ /// [`CollapsedDelegationTool`]: super::CollapsedDelegationToolfn parameters_schema(&self) -> serde_json::Value {json!({"type": "object",@@ -43,14 +43,14 @@ impl Tool for ArchetypeDelegationTool {/// Off the wire, still callable.///- /// The collapsed [`DelegateTool`] advertises this hand-off as an `agent`+ /// The collapsed [`CollapsedDelegationTool`] advertises this hand-off as an `agent`/// enum value, so advertising the member as well would ship both surfaces/// and save nothing. It stays registered — and therefore dispatchable — so/// a replayed transcript, a saved skill or a flow node that names/// `research` still resolves. Same treatment as the members of the/// collapsed `cron` and `memory` tools.///- /// [`DelegateTool`]: super::DelegateTool+ /// [`CollapsedDelegationTool`]: super::CollapsedDelegationToolfn exposure(&self) -> ToolExposure {ToolExposure::Hidden}@@ -137,7 +137,7 @@ impl Tool for ArchetypeDelegationTool {/// The delegation envelope's properties, defined **once**.///-/// Both this tool and the collapsed [`DelegateTool`] emit it, and+/// Both this tool and the collapsed [`CollapsedDelegationTool`] emit it, and/// `render_structured_handoff` below reads these exact property names back out/// again. A second copy would be a third place for the three to drift, and the/// drift is silent: a field the collapsed schema advertises but the renderer@@ -164,7 +164,7 @@ impl Tool for ArchetypeDelegationTool {/// Enforced by `envelope_descriptions_stay_within_budget`. If you are about to/// add a description here, put it in prompt.md instead.///-/// [`DelegateTool`]: super::DelegateTool+/// [`CollapsedDelegationTool`]: super::CollapsedDelegationToolpub(super) fn delegation_envelope_properties() -> Value {json!({"prompt": { "type": "string" },diff --git a/src/openhuman/tools/orchestrator_tools.rs b/src/openhuman/tools/orchestrator_tools.rsindex c25b6eec7d..5dce4b106e 100644--- a/src/openhuman/tools/orchestrator_tools.rs+++ b/src/openhuman/tools/orchestrator_tools.rs@@ -40,7 +40,7 @@ use crate::openhuman::agent::harness::definition::{#[allow(unused_imports)]use super::SpawnWorkerThreadTool;use super::{ArchetypeDelegationTool, SkillDelegationTool, Tool};-use crate::openhuman::agent::orchestration::tools::{DelegateTarget, DelegateTool};+use crate::openhuman::agent::orchestration::tools::{CollapsedDelegationTool, DelegateTarget};/// Synthesise the delegation tool list for an agent based on its/// declarative `subagents` field.@@ -237,7 +237,7 @@ pub fn collect_orchestrator_tools(}}- match DelegateTool::for_targets(delegate_targets) {+ match CollapsedDelegationTool::for_targets(delegate_targets) {Some(tool) => {log::debug!("[orchestrator_tools] registering collapsed delegation tool ({} targets)",