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 crates/openhuman-core/src/agent/harness/graph_tests.rs,crates/openhuman-core/sr
Steven Enamakel5bd2e61b64ee
diff --git a/crates/openhuman-core/src/agent/harness/graph_tests.rs b/crates/openhuman-core/src/agent/harness/graph_tests.rsindex 3153f27417..bb6cd8422d 100644--- a/crates/openhuman-core/src/agent/harness/graph_tests.rs+++ b/crates/openhuman-core/src/agent/harness/graph_tests.rs@@ -84,7 +84,7 @@ async fn channel_turn_runs_through_the_graph() {#[tokio::test]async fn channel_turn_pauses_on_ask_user_clarification() {let registry: Arc<Vec<Box<dyn Tool>>> = Arc::new(vec![Box::new(- tinyagents_harness::tools::AskClarificationTool::new(),+ tinyagents_harness_tools::AskClarificationTool::new(),)]);let mut history = vec![TranscriptMessage::user("build me a workflow")];let scripted: Arc<dyn ChatModel<()>> = Arc::new(ScriptedModel::new(vec![diff --git a/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod.rs b/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod.rsindex 1d2b8b6df5..ab2cd2665e 100644--- a/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod.rs+++ b/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod.rs@@ -174,7 +174,7 @@ pub(crate) fn artifact_read_target(tool_name: &str,args: &Value,) -> Option<ArtifactRead> {- let wrapper = tinyagents_harness::tool::packs::USE_SKILL;+ let wrapper = tinyagents_harness_tools::skills::USE_SKILL;match store {Some(store) => store.read_target(tool_name, args, wrapper),None => tool_results::artifact_read_target(tool_name, args, READ_TOOL, wrapper),diff --git a/crates/openhuman-core/src/agent/orchestration/tools/dispatch_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/dispatch_tests.rsindex 65e7d68afb..76735d5167 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/dispatch_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/dispatch_tests.rs@@ -3,7 +3,7 @@ use async_trait::async_trait;use std::sync::Arc;use tinytools::Tool;-use tinyagents_harness::tools::AskClarificationTool;+use tinyagents_harness_tools::AskClarificationTool;struct DelegationRegistrationTool {name: &'static str,diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rsindex 3f52fc6af2..b6b48e446b 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs@@ -12,7 +12,7 @@ async fn continue_subagent_resumes_paused_job_through_shared_driver() {seen: Mutex::new(Vec::new()),});let ask_tool: Box<dyn tinytools::Tool> =- Box::new(tinyagents_harness::tools::AskClarificationTool::new());+ Box::new(tinyagents_harness_tools::AskClarificationTool::new());let ask_spec = Arc::new(ask_tool.spec());let mut parent = parent_context(workspace.path(), provider.clone(), vec![]);parent.all_tools = Arc::new(vec![ask_tool]);@@ -126,7 +126,7 @@ async fn cancelling_a_paused_driver_through_rpc_settles_once_with_its_reason() {seen: Mutex::new(Vec::new()),});let ask_tool: Box<dyn tinytools::Tool> =- Box::new(tinyagents_harness::tools::AskClarificationTool::new());+ Box::new(tinyagents_harness_tools::AskClarificationTool::new());let ask_spec = Arc::new(ask_tool.spec());let mut parent = parent_context(workspace.path(), provider.clone(), vec![]);parent.workspace_dir = workspace.path().to_path_buf();diff --git a/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs b/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rsindex 0cbce14cf1..9cd23d8bd0 100644--- a/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs+++ b/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs@@ -276,7 +276,7 @@ fn datetime_section_appends_resolve_time_rule_only_when_tool_present() {// With `resolve_time` in the agent's tool set, the time-discipline rule// is rendered under the date block (prevents the LLM hand-computing epoch// timestamps — the bug this tool exists to fix).- let timed = vec![Box::new(tinyagents_harness::tools::ResolveTimeTool::new()) as Box<dyn Tool>];+ let timed = vec![Box::new(tinyagents_harness_tools::ResolveTimeTool::new()) as Box<dyn Tool>];let with_prompt_tools = PromptTool::from_tools(&timed);let ctx_with = PromptContext {workspace_dir: Path::new("/tmp"),diff --git a/crates/openhuman-core/src/agent/registration.rs b/crates/openhuman-core/src/agent/registration.rsindex e49744e103..3dd3cc5ead 100644--- a/crates/openhuman-core/src/agent/registration.rs+++ b/crates/openhuman-core/src/agent/registration.rs@@ -9,7 +9,7 @@ use crate::config::Config;#[cfg(feature = "skills")]use crate::skills::run_workflow::{AwaitWorkflowTool, RunWorkflowTool};use std::path::Path;-use tinyagents_harness::tools as harness_tools;+use tinyagents_harness_tools as harness_tools;use tinytools::Tool;use tinytools_std::filesystem::WorkspaceStateTool;diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rsindex 238712fcd6..f860502917 100644--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs@@ -112,7 +112,7 @@ fn use_skill_spec_from_registry() -> ToolSpec {crate::tools::toolpacks::append_pack_tools(&mut tools);let tool = tools.iter()- .find(|t| t.name() == tinyagents_harness::tool::packs::USE_SKILL)+ .find(|t| t.name() == tinyagents_harness_tools::skills::USE_SKILL).expect("append_pack_tools registers use_skill");ToolSpec {name: tool.name().to_string(),@@ -132,12 +132,12 @@ fn visible_specs_scope_use_skills_index_to_the_session() {let visible: std::collections::HashSet<String> = specs.iter().map(|s| s.name.clone()).collect();// Reachable: one workflows tool. Everything else in every other pack is// denied, exactly like the orchestrator against `system` / `audio`.- let session = session_allowing(&["run_workflow", tinyagents_harness::tool::packs::USE_SKILL]);+ let session = session_allowing(&["run_workflow", tinyagents_harness_tools::skills::USE_SKILL]);let out = visible_tool_specs_for_policy(&specs, &visible, &session);let load = out.iter()- .find(|s| s.name == tinyagents_harness::tool::packs::USE_SKILL)+ .find(|s| s.name == tinyagents_harness_tools::skills::USE_SKILL).expect("use_skill is still offered — workflows is reachable");assert!(@@ -169,7 +169,7 @@ fn visible_specs_drop_the_pack_tool_when_no_pack_is_reachable() {let specs: Vec<std::sync::Arc<ToolSpec>> =vec![std::sync::Arc::new(use_skill_spec_from_registry())];let visible: std::collections::HashSet<String> = specs.iter().map(|s| s.name.clone()).collect();- let session = session_allowing(&[tinyagents_harness::tool::packs::USE_SKILL]);+ let session = session_allowing(&[tinyagents_harness_tools::skills::USE_SKILL]);let out = visible_tool_specs_for_policy(&specs, &visible, &session);assert!(@@ -246,12 +246,12 @@ fn a_realistic_withheld_session_keeps_its_packs_advertised() {let names: Vec<&str> = out.iter().map(|s| s.name.as_str()).collect();assert!(- names.contains(&tinyagents_harness::tool::packs::USE_SKILL),+ names.contains(&tinyagents_harness_tools::skills::USE_SKILL),"use_skill must survive — the pack it opens is reachable: {names:?}");let load = out.iter()- .find(|s| s.name == tinyagents_harness::tool::packs::USE_SKILL)+ .find(|s| s.name == tinyagents_harness_tools::skills::USE_SKILL).expect("use_skill spec");assert!(load.description.contains("`goals`"),@@ -281,7 +281,7 @@ fn use_skill_survives_a_ceiling_that_excludes_it_when_a_pack_is_still_reachable(assert!(!session.allowed_tool_names- .contains(tinyagents_harness::tool::packs::USE_SKILL),+ .contains(tinyagents_harness_tools::skills::USE_SKILL),"precondition: use_skill itself is not in the allowlist");@@ -292,7 +292,7 @@ fn use_skill_survives_a_ceiling_that_excludes_it_when_a_pack_is_still_reachable(let out = visible_tool_specs_for_policy(&specs, &visible, &session);let load = out.iter()- .find(|s| s.name == tinyagents_harness::tool::packs::USE_SKILL)+ .find(|s| s.name == tinyagents_harness_tools::skills::USE_SKILL).expect("use_skill must survive even though it is not itself in allowed_tool_names — \its listing action is always ReadOnly and the workflows pack is reachable",diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_spec_views_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_spec_views_tests.rsindex 4795f071bb..70af683dd5 100644--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_spec_views_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_spec_views_tests.rs@@ -62,7 +62,7 @@ fn the_three_spec_views_share_their_leaf_schemas() {// rewrite mutate in place would silently scope the durable set, and a// change that deep-copied everything again would still pass an// exclusion-only test.- let use_skill = tinyagents_harness::tool::packs::USE_SKILL;+ let use_skill = tinyagents_harness_tools::skills::USE_SKILL;let mut saw_scoped_use_skill = false;let mut saw_scoped_spawn = false;diff --git a/crates/openhuman-core/src/agent/session_host/builder/mod.rs b/crates/openhuman-core/src/agent/session_host/builder/mod.rsindex cbecdc30bc..4ae675c953 100644--- a/crates/openhuman-core/src/agent/session_host/builder/mod.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/mod.rs@@ -144,7 +144,7 @@ pub(super) fn visible_tool_specs_for_policy(// below already does the real per-tool narrowing via `is_callable`// (and drops the spec entirely when nothing survives), so this// filter only needs to gate *other* tools on the static ceiling.- spec.name == tinyagents_harness::tool::packs::USE_SKILL+ spec.name == tinyagents_harness_tools::skills::USE_SKILL|| tool_policy.is_allowed(&spec.name)}).cloned()@@ -161,7 +161,7 @@ pub(super) fn visible_tool_specs_for_policy(}return Some(spec);}- if spec.name == tinyagents_harness::tool::packs::USE_SKILL {+ if spec.name == tinyagents_harness_tools::skills::USE_SKILL {// `false` means no pack has a callable tool: an empty index and// an empty enum are not a tool, so drop it rather than ship one.// `Arc::make_mut`, not `&mut spec`: the three spec views share@@ -170,7 +170,7 @@ pub(super) fn visible_tool_specs_for_policy(// `durable_tool_specs` is meant to stay the unscoped truth.// This copies exactly the one spec being rewritten and leaves// the other ~48 visible schemas shared.- return tinyagents_harness::tool::packs::scope_use_skill_spec(+ return tinyagents_harness_tools::skills::scope_use_skill_spec(&crate::tools::toolpacks::CATALOG,Arc::make_mut(&mut spec),&is_callable,diff --git a/crates/openhuman-core/src/agent/subagent_host/tool_prep_recovery_visibility_tests_tests.rs b/crates/openhuman-core/src/agent/subagent_host/tool_prep_recovery_visibility_tests_tests.rsindex 1ee0da0f19..0e36a4ceaa 100644--- a/crates/openhuman-core/src/agent/subagent_host/tool_prep_recovery_visibility_tests_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/tool_prep_recovery_visibility_tests_tests.rs@@ -1,7 +1,7 @@use super::*;use crate::inference::tokenjuice::LEGACY_RETRIEVE_TOOL_NAME as RECOVERY_TOOL_NAME;use crate::tools::retrieve_tool_output_tool;-use tinyagents_harness::tools::CurrentTimeTool;+use tinyagents_harness_tools::CurrentTimeTool;fn tools() -> Vec<Box<dyn tinytools::Tool>> {vec![diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/packed_tool_route.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/packed_tool_route.rsindex 78e5380ff4..d2d456e682 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware/packed_tool_route.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/packed_tool_route.rs@@ -8,7 +8,7 @@//! and that pack's group is `Withheld`. No session (sub-agent, channel/CLI//! turns) means no routing, so the registration allowlist stays the boundary.-use tinyagents_harness::tool::packs::USE_SKILL;+use tinyagents_harness_tools::skills::USE_SKILL;use tinyagents_hooks::lifecycle::{PackedToolRouteMiddleware, PackedToolRouter};use tinytools::ToolPolicySession;diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/tool_policy.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/tool_policy.rsindex 7308c11c2c..eb306c29a2 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware/tool_policy.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/tool_policy.rs@@ -143,7 +143,7 @@ impl ToolPolicyMiddleware {#[cfg(test)]pub(crate) fn route_for_pack(&self,- pack: &tinyagents_harness::tool::packs::ToolPack,+ pack: &tinyagents_harness_tools::skills::ToolPack,) -> String {self.host.route_for_pack(pack)}@@ -151,9 +151,9 @@ impl ToolPolicyMiddleware {#[cfg(test)]pub(crate) fn no_such_pack_tool<'a>(&self,- pack: &'static tinyagents_harness::tool::packs::ToolPack,+ pack: &'static tinyagents_harness_tools::skills::ToolPack,tool: &'a str,- ) -> tinyagents_harness::tool::packs::NoSuchPackTool<'a> {+ ) -> tinyagents_harness_tools::skills::NoSuchPackTool<'a> {self.host.no_such_pack_tool(pack, tool)}}@@ -221,9 +221,9 @@ impl ToolPolicyHostState {/// the tools in it this session can call, or the pack's route when none.pub(crate) fn no_such_pack_tool<'a>(&self,- pack: &'static tinyagents_harness::tool::packs::ToolPack,+ pack: &'static tinyagents_harness_tools::skills::ToolPack,tool: &'a str,- ) -> tinyagents_harness::tool::packs::NoSuchPackTool<'a> {+ ) -> tinyagents_harness_tools::skills::NoSuchPackTool<'a> {let callable = pack.tools.iter()@@ -233,7 +233,7 @@ impl ToolPolicyHostState {&& !self.session.decision_for(name).blocks_execution()}).collect();- tinyagents_harness::tool::packs::NoSuchPackTool {+ tinyagents_harness_tools::skills::NoSuchPackTool {not_found_marker: tinytools::status::NOT_FOUND_MARKER,skill: pack.id,tool,@@ -245,9 +245,9 @@ impl ToolPolicyHostState {/// The route sentence for a pack, resolved against THIS session.pub(crate) fn route_for_pack(&self,- pack: &tinyagents_harness::tool::packs::ToolPack,+ pack: &tinyagents_harness_tools::skills::ToolPack,) -> String {- tinyagents_harness::tool::packs::route_sentence(+ tinyagents_harness_tools::skills::route_sentence(&self.callable_delegates_for(pack.owners),pack.owners,)@@ -264,7 +264,7 @@ impl ToolPolicyHostState {/// tool named, no `skill` argument, no pack handle), so the call falls/// through to the tool's own `execute` unchanged.pub(crate) fn render_skill_for_session(&self, call: &TaToolCall) -> Option<TaToolResult> {- if tinyagents_harness::tool::packs::named_tool(&call.arguments).is_some() {+ if tinyagents_harness_tools::skills::named_tool(&call.arguments).is_some() {return None;}let skill = call@@ -277,7 +277,7 @@ impl ToolPolicyHostState {let route = crate::tools::toolpacks::pack(skill).map(|pack| self.route_for_pack(pack)).unwrap_or_default();- let rendered = tinyagents_harness::tool::packs::render_pack_filtered(+ let rendered = tinyagents_harness_tools::skills::render_pack_filtered(&crate::tools::toolpacks::CATALOG,skill,handle,diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware_tool_policy_tests.rs b/crates/openhuman-core/src/agent/tinyagents/middleware_tool_policy_tests.rsindex ebcc88633e..74129e776c 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware_tool_policy_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware_tool_policy_tests.rs@@ -12,7 +12,7 @@ use crate::agent::tinyagents::middleware::tool_policy::ToolPolicyMiddleware;use crate::agent::orchestration::tools::{ArchetypeDelegationTool, DelegationTarget};use crate::tools::toolpacks::{append_pack_tools, bind_pack_registry};-use tinyagents_harness::tool::packs::USE_SKILL;+use tinyagents_harness_tools::skills::USE_SKILL;use tinytools::{PermissionLevel, ToolResult};use tinytools::{TaskProfile, TaskRiskLevel, ToolCapability, ToolPolicyAction, ToolPolicyDecision,diff --git a/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs b/crates/openhuman-core/src/agent/tinyagents/tool_registration.rsindex 37993a885a..3428486ca4 100644--- a/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs+++ b/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs@@ -7,7 +7,7 @@ use std::collections::HashSet;use std::sync::Arc;use async_trait::async_trait;-use tinyagents_harness::tool::packs::{PackSelection, UseSkillDispatch, USE_SKILL};+use tinyagents_harness_tools::skills::{PackSelection, UseSkillDispatch, USE_SKILL};use tinyagents_harness::tool::{CanonicalSharedToolAdapter, ToolDispatch, ToolExecScope, ToolExecution, ToolExecutionContext,};@@ -346,7 +346,7 @@ fn dispatch_selector(tool_sets: Vec<SharedToolSet>) -> DispatchSelector {return typed_dispatch_for(name, adapter, delegation_target);}let selector: Arc<- tinyagents_harness::tool::packs::PackDispatchSelector<(), OpenHumanRunContext>,+ tinyagents_harness_tools::skills::PackDispatchSelector<(), OpenHumanRunContext>,> = Arc::new(select_packed_tool_dispatch);Some(Arc::new(UseSkillDispatch::new(adapter, selector)))})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 4632efa8da..62f0f88977 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@@ -22,7 +22,7 @@ use serde_json::json;use std::path::Path;use std::sync::Arc;use tinyagents_harness::context::RunConfig;-use tinyagents_harness::tool::packs::{PackRegistryHandle, UseSkillTool, USE_SKILL};+use tinyagents_harness_tools::skills::{PackRegistryHandle, UseSkillTool, USE_SKILL};use tinyagents_harness::CallId;use tinyinference_llm::message::Message;use tinyinference_llm::model::{ChatModel, ModelProfile, ModelRequest, ModelResponse};@@ -154,7 +154,7 @@ fn build_use_skill_dispatch_with_target(let adapter = shared_tool_adapter(vec![durable.clone()],- tinyagents_harness::tool::packs::USE_SKILL,+ tinyagents_harness_tools::skills::USE_SKILL,).expect("use_skill resolves in the durable registry it was just placed in");let dispatch = dispatch_selector(vec![durable])(USE_SKILL, Arc::new(adapter) as Arc<dyn Tool>)diff --git a/crates/openhuman-core/src/agent/tools.rs b/crates/openhuman-core/src/agent/tools.rsindex a91e4facfc..3e024e41db 100644--- a/crates/openhuman-core/src/agent/tools.rs+++ b/crates/openhuman-core/src/agent/tools.rs@@ -4,7 +4,7 @@//! memory, or the network. Wire names are//! given in parentheses where they differ from the type name://!-//! - `AskClarificationTool` (`ask_user_clarification`, from `tinyagents_harness::tools`) — returns the+//! - `AskClarificationTool` (`ask_user_clarification`, from `tinyagents_harness_tools`) — returns the//! question as its output; the turn actually pauses only because callers//! list this name in the harness seam's `early_exit_tools`.//! - [`PlanExitTool`] — ends a plan-mode pass by returning the plan plusdiff --git a/crates/openhuman-core/src/agent_registry/agents/fleet_prompt_tests.rs b/crates/openhuman-core/src/agent_registry/agents/fleet_prompt_tests.rsindex 7d30df7bd7..f49a834383 100644--- a/crates/openhuman-core/src/agent_registry/agents/fleet_prompt_tests.rs+++ b/crates/openhuman-core/src/agent_registry/agents/fleet_prompt_tests.rs@@ -134,7 +134,7 @@ fn on_belt(def: &AgentDefinition, tool: &str) -> bool {/// spawn and continuation tools.fn can_call(def: &AgentDefinition, tool: &str, universe: &BTreeSet<String>) -> bool {use crate::tools::toolpacks::ops::is_withheld_from;- if tool == tinyagents_harness::tool::packs::USE_SKILL {+ if tool == tinyagents_harness_tools::skills::USE_SKILL {return universe.iter().any(|n| on_belt(def, n) && is_withheld_from(&def.id, n));diff --git a/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt.rs b/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt.rsindex 95eef83121..990aaea484 100644--- a/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt.rs+++ b/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt.rs@@ -39,7 +39,7 @@ pub fn build(ctx: &PromptContext<'_>) -> Result<String> {// A packed install route is already named under "Capabilities not in your// tool list"; the skills section names it only when it is on the belt.let skill_install = hand_off_route(ctx, "skill_setup")- .filter(|route| !route.contains(tinyagents_harness::tool::packs::USE_SKILL));+ .filter(|route| !route.contains(tinyagents_harness_tools::skills::USE_SKILL));// An empty visibility set is the builder's unfiltered sentinel. Preserve// the MCP route for those sessions while suppressing it in gated-off builds.// Registered is enough: the orchestrator defers the registry tools@@ -278,7 +278,7 @@ fn hand_off_route(ctx: &PromptContext<'_>, specialist: &str) -> Option<String> {// tool you do not have" failure this whole block exists to end (#6302).if !ctx.visible_tool_names- .contains(tinyagents_harness::tool::packs::USE_SKILL)+ .contains(tinyagents_harness_tools::skills::USE_SKILL){return None;}@@ -301,7 +301,7 @@ fn run_workflow_route(ctx: &PromptContext<'_>) -> Option<String> {// which case the policy gate would refuse the call this names.if !ctx.visible_tool_names- .contains(tinyagents_harness::tool::packs::USE_SKILL)+ .contains(tinyagents_harness_tools::skills::USE_SKILL)|| !belt_lists(ctx, RUN_WORKFLOW){return None;diff --git a/crates/openhuman-core/src/tools/host_extensions.rs b/crates/openhuman-core/src/tools/host_extensions.rsindex 1c4a958efe..808bb93c22 100644--- a/crates/openhuman-core/src/tools/host_extensions.rs+++ b/crates/openhuman-core/src/tools/host_extensions.rs@@ -5,7 +5,7 @@//! host implementation details, not portable tool-trait APIs.use crate::agent::orchestration::tools::DelegationTarget;-use tinyagents_harness::tool::packs::{PackRegistryHandle, PackToolExtension};+use tinyagents_harness_tools::skills::{PackRegistryHandle, PackToolExtension};#[cfg(test)]use tinytools::{PermissionLevel, ToolCategory, ToolResult, ToolScope};use tinytools::{Tool, ToolRunContext};diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rsindex 08311c2618..0514eeee95 100644--- a/crates/openhuman-core/src/tools/ops.rs+++ b/crates/openhuman-core/src/tools/ops.rs@@ -5,7 +5,7 @@ use crate::config::Config;use crate::modules::tinybox::host_runtime::{NativeRuntime, RuntimeAdapter};use crate::security::{AuditLogger, SecurityPolicy};use std::sync::Arc;-use tinyagents_harness::tools::{CurrentTimeTool, ResolveTimeTool};+use tinyagents_harness_tools::{CurrentTimeTool, ResolveTimeTool};use tinytools::Tool;use tinytools_std::detect_tools::DetectToolsTool;use tinytools_std::filesystem::{diff --git a/crates/openhuman-core/src/tools/toolpacks/mod.rs b/crates/openhuman-core/src/tools/toolpacks/mod.rsindex 9f70b5caa9..ea56cda198 100644--- a/crates/openhuman-core/src/tools/toolpacks/mod.rs+++ b/crates/openhuman-core/src/tools/toolpacks/mod.rs@@ -7,7 +7,7 @@//! idle in most conversations.//!//! A pack keeps its tools constructed and executable but unadvertised. The-//! agent sees one small tool instead: `tinyagents_harness::tool::packs::UseSkillTool` renders a pack's+//! agent sees one small tool instead: `tinyagents_harness_tools::skills::UseSkillTool` renders a pack's//! schemas into the conversation when called with a `skill` alone, and executes//! one of them when also given a `tool`, forwarding permission level and//! execution context to the real tool so nothing is laundered through thediff --git a/crates/openhuman-core/src/tools/toolpacks/ops.rs b/crates/openhuman-core/src/tools/toolpacks/ops.rsindex 8b57a4ff77..b5db31bec0 100644--- a/crates/openhuman-core/src/tools/toolpacks/ops.rs+++ b/crates/openhuman-core/src/tools/toolpacks/ops.rs@@ -4,7 +4,7 @@ use std::collections::HashSet;use std::sync::{Arc, Weak};use super::registry;-use tinyagents_harness::tool::packs::{PackRegistryHandle, UseSkillTool, USE_SKILL};+use tinyagents_harness_tools::skills::{PackRegistryHandle, UseSkillTool, USE_SKILL};use tinytools::Tool;/// Append `use_skill` to a freshly built registry.diff --git a/crates/openhuman-core/src/tools/toolpacks/registry.rs b/crates/openhuman-core/src/tools/toolpacks/registry.rsindex d7c6303918..cc3746d39b 100644--- a/crates/openhuman-core/src/tools/toolpacks/registry.rs+++ b/crates/openhuman-core/src/tools/toolpacks/registry.rs@@ -4,7 +4,7 @@//! could edit would let a caller move a dangerous tool out of the advertised//! surface (or back into it) without review. Adding a pack is a source change.-use tinyagents_harness::tool::packs::{PackCatalog, ToolPack};+use tinyagents_harness_tools::skills::{PackCatalog, ToolPack};/// Every pack this build knows about.///@@ -406,7 +406,7 @@ pub(crate) const DELIBERATELY_UNPACKED_FLEET_TOOLS: &[&str] = &[];/// The lookup surface over [`PACKS`] handed to the generic `use_skill` tool-/// (`tinyagents_harness::tool::packs`). `NOT_FOUND_MARKER` is the host's status+/// (`tinyagents_harness_tools::skills`). `NOT_FOUND_MARKER` is the host's status/// vocabulary, so a "no such skill / tool" result classifies as `NotFound`.pub const CATALOG: PackCatalog = PackCatalog::new(PACKS, tinytools::status::NOT_FOUND_MARKER);diff --git a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rsindex 96457af298..42fa9ada38 100644--- a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs+++ b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs@@ -11,7 +11,7 @@ use async_trait::async_trait;use serde_json::{json, Value};use super::*;-use tinyagents_harness::tool::packs::USE_SKILL;+use tinyagents_harness_tools::skills::USE_SKILL;use tinytools::{PermissionLevel, Tool, ToolResult, ToolTimeout};struct FakeTool {diff --git a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests_scoping_and_visibility_tests.rs b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests_scoping_and_visibility_tests.rsindex 2923575f2d..fb138d2029 100644--- a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests_scoping_and_visibility_tests.rs+++ b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests_scoping_and_visibility_tests.rs@@ -2,7 +2,7 @@//! execution distinction the whole pack mechanism rests on.use super::*;-use tinyagents_harness::tool::packs::{route_sentence, USE_SKILL};+use tinyagents_harness_tools::skills::{route_sentence, USE_SKILL};// ── the index must agree with the gate too ──────────────────────────────────@@ -32,7 +32,7 @@ fn the_index_drops_a_pack_this_session_can_call_nothing_in() {// Only the workflows pack is reachable.let workflows = pack("workflows").expect("workflows pack");let kept =- tinyagents_harness::tool::packs::scope_use_skill_spec(&CATALOG, &mut spec, &|name| {+ tinyagents_harness_tools::skills::scope_use_skill_spec(&CATALOG, &mut spec, &|name| {workflows.tools.contains(&name)});assert!(@@ -60,7 +60,7 @@ fn the_index_drops_a_pack_this_session_can_call_nothing_in() {fn the_skill_enum_offers_only_reachable_packs() {let mut spec = use_skill_spec();let workflows = pack("workflows").expect("workflows pack");- tinyagents_harness::tool::packs::scope_use_skill_spec(&CATALOG, &mut spec, &|name| {+ tinyagents_harness_tools::skills::scope_use_skill_spec(&CATALOG, &mut spec, &|name| {workflows.tools.contains(&name)});@@ -85,7 +85,7 @@ fn the_skill_enum_offers_only_reachable_packs() {fn a_session_that_can_reach_no_pack_loses_use_skill() {let mut spec = use_skill_spec();assert!(- !tinyagents_harness::tool::packs::scope_use_skill_spec(&CATALOG, &mut spec, &|_| false),+ !tinyagents_harness_tools::skills::scope_use_skill_spec(&CATALOG, &mut spec, &|_| false),"with nothing reachable, use_skill must be dropped, not emptied");}@@ -97,7 +97,7 @@ fn scoping_the_index_only_ever_shrinks_it() {let mut spec = use_skill_spec();let before = spec.description.len();let workflows = pack("workflows").expect("workflows pack");- tinyagents_harness::tool::packs::scope_use_skill_spec(&CATALOG, &mut spec, &|name| {+ tinyagents_harness_tools::skills::scope_use_skill_spec(&CATALOG, &mut spec, &|name| {workflows.tools.contains(&name)});assert!(@@ -244,7 +244,7 @@ fn a_non_owner_listing_omits_the_tools_the_gate_will_refuse() {let handle = crate::tools::host_extensions::pack_registry_handle(find(&tools, USE_SKILL)).expect("use_skill carries the pack handle");- let rendered = tinyagents_harness::tool::packs::render_pack_filtered(+ let rendered = tinyagents_harness_tools::skills::render_pack_filtered(&CATALOG,"workflows",handle,@@ -272,7 +272,7 @@ fn a_listing_with_nothing_callable_names_the_route_out() {.expect("use_skill carries the pack handle");let route = route_sentence(&["build_workflow".to_string()], &["workflow_builder"]);- let err = tinyagents_harness::tool::packs::render_pack_filtered(+ let err = tinyagents_harness_tools::skills::render_pack_filtered(&CATALOG,"workflows",handle,