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/harness/session/builder/factory.rs
Steven Enamakel2b98f8784881
diff --git a/src/openhuman/agent/harness/session/builder/factory.rs b/src/openhuman/agent/harness/session/builder/factory.rsindex befbf188c0..7bb73a2503 100644--- a/src/openhuman/agent/harness/session/builder/factory.rs+++ b/src/openhuman/agent/harness/session/builder/factory.rs@@ -840,7 +840,30 @@ impl Agent {ToolScope::Named(names) => {let mut set: std::collections::HashSet<String> =names.iter().cloned().collect();+ // Only the *advertised* ones. A synthesised tool that+ // reports `ToolExposure::Hidden` is a member of a+ // collapsed tool — today every `ArchetypeDelegationTool`,+ // whose family the single `delegate_to` tool now stands+ // for. Inserting it here would put it back on the wire+ // beside the tool that replaced it, shipping both+ // surfaces and saving nothing.+ //+ // This is not the same judgement as+ // `strip_deferred_from_visible`, which deliberately+ // leaves a hand-written `[tools] named` belt alone. That+ // restraint is about not second-guessing a human's+ // choice; these names were never chosen by a human, they+ // are inserted right here. Hiding one removes nothing an+ // author asked for.+ //+ // The tool stays in `synthed`, so it stays registered+ // and dispatchable for a replayed transcript or a saved+ // skill that names it — exactly like a packed tool.for t in &synthed {+ if t.exposure() == crate::openhuman::tools::traits::ToolExposure::Hidden+ {+ continue;+ }set.insert(t.name().to_string());}Some(set)