Skip to content

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

chore(tools): remove unused tool execution context imports\n\nRemove obsolete `ToolExecutionContext` imports from tool implementations now that they use `ToolRunContext` exclusively.\n\nAuto-committed-on: dragonfly\n

Steven Enamakel62cc2a594ed8
diff --git a/src/openhuman/agent/orchestration/tools/agent_prepare_context.rs b/src/openhuman/agent/orchestration/tools/agent_prepare_context.rs
index 14442d4863..c9fd00f8c9 100644
--- a/src/openhuman/agent/orchestration/tools/agent_prepare_context.rs
+++ b/src/openhuman/agent/orchestration/tools/agent_prepare_context.rs
@@ -26,7 +26,6 @@ use crate::openhuman::tools::traits::{PermissionLevel, Tool, ToolCallOptions, To
use async_trait::async_trait;
use serde_json::json;
use std::fmt::Write as _;
-use tinyagents::harness::tool::ToolExecutionContext;
use tinyagents::harness::workspace::WorkspaceDescriptor;
use tinytools::ToolRunContext;
diff --git a/src/openhuman/agent/orchestration/tools/continue_subagent.rs b/src/openhuman/agent/orchestration/tools/continue_subagent.rs
index 02314efbe7..60af77d7b9 100644
--- a/src/openhuman/agent/orchestration/tools/continue_subagent.rs
+++ b/src/openhuman/agent/orchestration/tools/continue_subagent.rs
@@ -18,7 +18,6 @@ use crate::openhuman::agent::progress::AgentProgress;
use crate::openhuman::tools::traits::{PermissionLevel, Tool, ToolCallOptions, ToolResult};
use async_trait::async_trait;
use serde_json::json;
-use tinyagents::harness::tool::ToolExecutionContext;
use tinytools::ToolRunContext;
pub struct ContinueSubagentTool;
diff --git a/src/openhuman/agent/orchestration/tools/dispatch.rs b/src/openhuman/agent/orchestration/tools/dispatch.rs
index 52e3bdec80..e0b56b44f5 100644
--- a/src/openhuman/agent/orchestration/tools/dispatch.rs
+++ b/src/openhuman/agent/orchestration/tools/dispatch.rs
@@ -7,7 +7,6 @@ use crate::openhuman::agent::harness::subagent_runner::{
};
use crate::openhuman::agent::progress::AgentProgress;
use crate::openhuman::tools::traits::{Tool as _, ToolCallOptions, ToolResult};
-use tinyagents::harness::tool::ToolExecutionContext;
use tinytools::ToolRunContext;
/// How a delegated sub-agent run should be scheduled relative to the parent
diff --git a/src/openhuman/agent/orchestration/tools/spawn_async_subagent.rs b/src/openhuman/agent/orchestration/tools/spawn_async_subagent.rs
index e5a6a49ca2..2b4f9f1c8d 100644
--- a/src/openhuman/agent/orchestration/tools/spawn_async_subagent.rs
+++ b/src/openhuman/agent/orchestration/tools/spawn_async_subagent.rs
@@ -20,7 +20,6 @@ use crate::openhuman::agent::progress::AgentProgress;
use crate::openhuman::tools::traits::{PermissionLevel, Tool, ToolCallOptions, ToolResult};
use async_trait::async_trait;
use serde_json::json;
-use tinyagents::harness::tool::ToolExecutionContext;
use tinycortex::memory::conversations::{self as conversations, ConversationMessage};
use tinytools::ToolRunContext;
diff --git a/src/openhuman/agent/orchestration/tools/spawn_subagent.rs b/src/openhuman/agent/orchestration/tools/spawn_subagent.rs
index 11ae190c7f..5b12710365 100644
--- a/src/openhuman/agent/orchestration/tools/spawn_subagent.rs
+++ b/src/openhuman/agent/orchestration/tools/spawn_subagent.rs
@@ -22,7 +22,6 @@ use crate::openhuman::tools::traits::{PermissionLevel, Tool, ToolCallOptions, To
use async_trait::async_trait;
use serde_json::json;
use std::path::PathBuf;
-use tinyagents::harness::tool::ToolExecutionContext;
use tinycortex::memory::conversations::{
self as conversations, ConversationMessage, CreateConversationThread,
};
diff --git a/src/openhuman/agent/orchestration/tools/spawn_worker_thread.rs b/src/openhuman/agent/orchestration/tools/spawn_worker_thread.rs
index 3145add8e4..5acaf0e754 100644
--- a/src/openhuman/agent/orchestration/tools/spawn_worker_thread.rs
+++ b/src/openhuman/agent/orchestration/tools/spawn_worker_thread.rs
@@ -15,7 +15,6 @@ use crate::openhuman::agent::harness::subagent_runner::{run_subagent, SubagentRu
use crate::openhuman::tools::traits::{PermissionLevel, Tool, ToolCallOptions, ToolResult};
use async_trait::async_trait;
use serde_json::json;
-use tinyagents::harness::tool::ToolExecutionContext;
use tinycortex::memory::conversations;
use tinytools::ToolRunContext;
diff --git a/src/openhuman/agent/tools/delegate_to_personality.rs b/src/openhuman/agent/tools/delegate_to_personality.rs
index bfca6fc1f6..88942ca84b 100644
--- a/src/openhuman/agent/tools/delegate_to_personality.rs
+++ b/src/openhuman/agent/tools/delegate_to_personality.rs
@@ -8,7 +8,6 @@ use crate::openhuman::agent::profiles::PersonalityContext;
use crate::openhuman::tools::traits::{PermissionLevel, Tool, ToolCallOptions, ToolResult};
use async_trait::async_trait;
use serde_json::json;
-use tinyagents::harness::tool::ToolExecutionContext;
use tinytools::ToolRunContext;
pub struct DelegateToPersonalityTool;
diff --git a/src/openhuman/integrations/file_storage/tools.rs b/src/openhuman/integrations/file_storage/tools.rs
index c72fd5be12..b7fe24803e 100644
--- a/src/openhuman/integrations/file_storage/tools.rs
+++ b/src/openhuman/integrations/file_storage/tools.rs
@@ -26,7 +26,6 @@ use crate::openhuman::security::SecurityPolicy;
use crate::openhuman::tools::traits::{
PermissionLevel, Tool, ToolCallOptions, ToolCategory, ToolResult,
};
-use tinyagents::harness::tool::ToolExecutionContext;
use tinytools::ToolRunContext;
use super::types::{DeleteResponse, FileMeta, LinkResponse, ListFilesResponse, UploadResponse};
diff --git a/src/openhuman/media/generation/tools.rs b/src/openhuman/media/generation/tools.rs
index 755bc43cd6..e3a1ab7dea 100644
--- a/src/openhuman/media/generation/tools.rs
+++ b/src/openhuman/media/generation/tools.rs
@@ -27,7 +27,6 @@ use crate::openhuman::integrations::IntegrationClient;
use crate::openhuman::tools::traits::{
PermissionLevel, Tool, ToolCallOptions, ToolCategory, ToolResult,
};
-use tinyagents::harness::tool::ToolExecutionContext;
use tinytools::ToolRunContext;
use super::download::persist_media;
diff --git a/src/openhuman/memory/agent/tools.rs b/src/openhuman/memory/agent/tools.rs
index 8db85dc578..f6bad21cc0 100644
--- a/src/openhuman/memory/agent/tools.rs
+++ b/src/openhuman/memory/agent/tools.rs
@@ -19,7 +19,6 @@ use crate::openhuman::tools::traits::{
};
use async_trait::async_trait;
use serde_json::json;
-use tinyagents::harness::tool::ToolExecutionContext;
use tinytools::ToolRunContext;
const AGENT_ID: &str = "agent_memory";
diff --git a/src/openhuman/tools/impl/system/shell.rs b/src/openhuman/tools/impl/system/shell.rs
index f2a9c1bfbe..b4dc12f72c 100644
--- a/src/openhuman/tools/impl/system/shell.rs
+++ b/src/openhuman/tools/impl/system/shell.rs
@@ -10,7 +10,6 @@ use serde_json::json;
use std::path::{Path, PathBuf};
use std::sync::Arc;
use std::time::{Duration, Instant};
-use tinyagents::harness::tool::ToolExecutionContext;
use tinytools::ToolRunContext;
/// Maximum output size in bytes (1MB).