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(session): dispatch skill use through tinyagents
Steven Enamakelc14ae7ce3ea5
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session.rs b/crates/openhuman-core/src/agent/session_host/runtime_session.rsindex 5262b09f48..6a3dcb4c55 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session.rs@@ -243,7 +243,7 @@ impl OpenHumanTurnPrelude {).filter(|spec| {self.thread_id.is_some()- || !crate::agent::tinyagents::harness_tool_registration::is_thread_goal_tool(+ || !crate::agent::tinyagents::tool_registration::is_thread_goal_tool(&spec.name,)})@@ -277,7 +277,7 @@ impl OpenHumanTurnPrelude {.filter(|spec| !withheld.contains(&spec.name)).filter(|spec| {self.thread_id.is_some()- || !crate::agent::tinyagents::harness_tool_registration::is_thread_goal_tool(+ || !crate::agent::tinyagents::tool_registration::is_thread_goal_tool(&spec.name,)})@@ -290,7 +290,7 @@ impl OpenHumanTurnPrelude {.chain(surface.synthesized_tools.iter()).filter(|tool| {self.thread_id.is_some()- || !crate::agent::tinyagents::harness_tool_registration::is_thread_goal_tool(+ || !crate::agent::tinyagents::tool_registration::is_thread_goal_tool(tool.name(),)})@@ -304,7 +304,7 @@ impl OpenHumanTurnPrelude {visible_tool_names.retain(|name| !surface.permanent_tool_names.contains(name));if self.thread_id.is_none() {visible_tool_names.retain(|name| {- !crate::agent::tinyagents::harness_tool_registration::is_thread_goal_tool(name)+ !crate::agent::tinyagents::tool_registration::is_thread_goal_tool(name)});}crate::agent::prompts::swap_deferred_for_discovery_bridge(diff --git a/crates/openhuman-core/src/agent/tinyagents/use_skill_dispatch_tests.rs b/crates/openhuman-core/src/agent/tinyagents/use_skill_dispatch_tests.rsindex 419ec5f8f3..4f18565cec 100644--- a/crates/openhuman-core/src/agent/tinyagents/use_skill_dispatch_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/use_skill_dispatch_tests.rs@@ -120,7 +120,7 @@ fn parent_execution_context(workspace_dir: &Path) -> ParentExecutionContext {}/// Builds the `use_skill` registration exactly as-/// `register_turn_tools_and_agents` does: a durable registry containing the+/// `host_tool_set_builder` does: a durable registry containing the/// real `UseSkillTool` plus one packed archetype-delegate stub, a/// `PackRegistryHandle` bound to it, and the `CanonicalSharedToolAdapter`/// wrapping `use_skill` that the harness would have registered.@@ -134,7 +134,7 @@ fn build_use_skill_dispatch_with_handle() -> (UseSkillDispatch, PackRegistryHandlet durable: Arc<Vec<Box<dyn Tool>>> = Arc::new(vec![use_skill_tool, create_image_tool]);handle.bind(Arc::downgrade(&durable));- let adapter = CanonicalSharedToolAdapter::for_name(+ let adapter = shared_tool_adapter(vec![durable],tinyagents_harness::tool::packs::USE_SKILL,)