Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(agent): update subagent dependency imports

Steven Enamakelbf7de67a5881
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents/steering.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents/steering.rs
index bcd2b7eb21..9d68c3e8c7 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents/steering.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents/steering.rs
@@ -2,7 +2,7 @@
use tinyagents_harness::ids::TaskId;
use tinyagents_harness::run_queue::QueueLane;
-use tinyagents_orchestration::subagent::{steer_detached, SteerAccess, SteerError};
+use tinyagents_orchestration::steering::{steer_detached, SteerAccess, SteerError};
use super::cancel::now_ms;
use super::registry::{control_admits, owner_key, registry};
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_surface.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_surface.rs
index 60e162d08d..6940c1af17 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_surface.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_surface.rs
@@ -109,7 +109,7 @@ async fn steer_reusable_session(
message: String,
) -> Result<(), String> {
use tinyagents_harness::tool::ToolDispatch;
- use tinyagents_orchestration::subagent::{SubAgentJobRegistry, SubAgentMessageTool};
+ use tinyagents_harness_tools::subagents::{SubAgentJobRegistry, SubAgentMessageTool};
use tinytools::{ToolCallOptions, ToolTimeout};
let context = &parent.data;
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
index 140b4217cb..98c1ad4d3d 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
@@ -315,7 +315,7 @@ async fn invoke_driver_tool_with_request(
continuation: Option<(SubagentTaskKey, SubagentResume)>,
) -> Result<(tinytools::ToolResult, OpenHumanDriverBundle), SubagentRunError> {
use tinyagents_harness::tool::ToolDispatch;
- use tinyagents_orchestration::subagent::{DriverSubAgentTool, SubAgentJobRegistry};
+ use tinyagents_harness_tools::subagents::{DriverSubAgentTool, SubAgentJobRegistry};
use tinytools::{PermissionLevel, ToolCallOptions, ToolCategory, ToolScope, ToolTimeout};
let task_id = host_request
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops_tests_driver_bridge_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops_tests_driver_bridge_tests.rs
index aeb098505f..d13962bbbc 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops_tests_driver_bridge_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops_tests_driver_bridge_tests.rs
@@ -266,9 +266,11 @@ async fn closing_a_durable_driver_session_cancels_only_its_registered_child() {
DurableSubagentSession, DurableSubagentStatus, OpenHumanTinySubagentSessionStore,
SubagentSessionStore as HostSessionStore,
};
+ use tinyagents_harness_tools::subagents::{
+ SubAgentJobAction, SubAgentJobRegistry, SubAgentJobsTool,
+ };
use tinyagents_orchestration::subagent::{
- SubAgentJobAction, SubAgentJobRegistry, SubAgentJobStatus, SubAgentJobsTool,
- SubagentSessionStore as TinySessionStore, SubagentTaskKey,
+ SubAgentJobStatus, SubagentSessionStore as TinySessionStore, SubagentTaskKey,
};
let scratch = tempfile::tempdir().expect("isolated driver close fixture");
diff --git a/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs b/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs
index 3428486ca4..78c8ca81e4 100644
--- a/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs
@@ -371,7 +371,7 @@ fn subagent_control_dispatches(
tool_sets: &[SharedToolSet],
run_context: &OpenHumanRunContext,
) -> std::collections::HashMap<String, RegisteredToolDispatch> {
- use tinyagents_orchestration::subagent::{
+ use tinyagents_harness_tools::subagents::{
SubAgentJobAction, SubAgentJobRegistry, SubAgentJobsTool, SubAgentMessageTool,
};