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: remove unused imports across multiple files
Steven Enamakeleb964896fbbe
diff --git a/crates/openhuman-core/src/agent/orchestration/workflow_runs/ops.rs b/crates/openhuman-core/src/agent/orchestration/workflow_runs/ops.rsindex 852ea6f564..4876f9d209 100644--- a/crates/openhuman-core/src/agent/orchestration/workflow_runs/ops.rs+++ b/crates/openhuman-core/src/agent/orchestration/workflow_runs/ops.rs@@ -9,15 +9,13 @@ use std::collections::BTreeMap;use anyhow::Result;use serde_json::json;use tinyagents_orchestration::workflow::{- validate_agents, validate_structure, DefinitionError, WorkflowDefinition,- WorkflowDefinitionListResponse, WorkflowPhase,+ WorkflowDefinition, WorkflowDefinitionListResponse, WorkflowPhase,};use tinyagents_session::run_ledger::{get_workflow_run, list_workflow_runs, WorkflowRun, WorkflowRunListRequest,WorkflowRunListResponse,};-use crate::agent::harness::definition::AgentDefinitionRegistry;use crate::config::Config;pub const PARALLEL_RESEARCH_ID: &str = "parallel_research_cross_check";diff --git a/crates/openhuman-core/src/agent/orchestration/worktree.rs b/crates/openhuman-core/src/agent/orchestration/worktree.rsindex 6b27cd0506..48d677740d 100644--- a/crates/openhuman-core/src/agent/orchestration/worktree.rs+++ b/crates/openhuman-core/src/agent/orchestration/worktree.rs@@ -37,7 +37,7 @@//! explicit, validated working directory. It does not inherit ambient git//! configuration that could redirect operations elsewhere.-use std::path::{Path, PathBuf};+use std::path::PathBuf;use tinyagents_harness::workspace::{GitWorktreeBaseRef, GitWorktreeIsolation, WorkspaceIsolation};use tinytools::{SandboxMode, WorkspaceDescriptor};diff --git a/crates/openhuman-core/src/agent/triage/routing.rs b/crates/openhuman-core/src/agent/triage/routing.rsindex fb9278b83e..5588cef5d5 100644--- a/crates/openhuman-core/src/agent/triage/routing.rs+++ b/crates/openhuman-core/src/agent/triage/routing.rs@@ -11,8 +11,6 @@use std::sync::Arc;-use anyhow::Context;-use crate::config::Config;use crate::inference::provider::{self, INFERENCE_BACKEND_ID};diff --git a/crates/openhuman-core/src/channels/host/mod.rs b/crates/openhuman-core/src/channels/host/mod.rsindex 587531bb09..dfb48ef82d 100644--- a/crates/openhuman-core/src/channels/host/mod.rs+++ b/crates/openhuman-core/src/channels/host/mod.rs@@ -26,7 +26,7 @@ pub use channel_events::{ChannelApprovalSurfaceSubscriber, ChannelTurnStateSubscuse std::sync::Arc;-use tinychannels::host::{ChannelHostBuilder, ProviderContext};+use tinychannels::host::ChannelHostBuilder;use tinychannels::ChannelHost;use crate::config::Config;diff --git a/crates/openhuman-core/src/inference/provider/types.rs b/crates/openhuman-core/src/inference/provider/types.rsindex 4d077831d6..60bf91ad3c 100644--- a/crates/openhuman-core/src/inference/provider/types.rs+++ b/crates/openhuman-core/src/inference/provider/types.rs@@ -1,9 +1,7 @@-use crate::agent::messages::ChatMessage;/// Token usage returned by a provider. Defined in the contract crate because/// the extracted memory subsystem threads it out of summarisation runs; every/// existing `inference::provider::UsageInfo` path keeps naming this one type.pub use tinymemory_api::host::UsageInfo;-use tinytools::ToolSpec;use tinytools_agent::dialect::NativeToolCall;/// An LLM response that may contain text, tool calls, or both.diff --git a/crates/openhuman-core/src/skills/ops.rs b/crates/openhuman-core/src/skills/ops.rsindex 725ec05383..4ffdb3b97b 100644--- a/crates/openhuman-core/src/skills/ops.rs+++ b/crates/openhuman-core/src/skills/ops.rs@@ -41,7 +41,7 @@ pub use super::ops_install::{UninstallWorkflowParams, DEFAULT_INSTALL_TIMEOUT_SECS, MAX_INSTALL_TIMEOUT_SECS,MAX_INSTALL_URL_LEN, MAX_WORKFLOW_MD_BYTES,};-pub use super::ops_parse::{inventory_resources};+pub use super::ops_parse::inventory_resources;pub use super::ops_types::{Workflow, WorkflowFrontmatter, WorkflowScope, MAX_WORKFLOW_RESOURCE_BYTES,};diff --git a/crates/openhuman-core/src/skills/ops_parse.rs b/crates/openhuman-core/src/skills/ops_parse.rsindex 91440e64ef..ae1c10d37d 100644--- a/crates/openhuman-core/src/skills/ops_parse.rs+++ b/crates/openhuman-core/src/skills/ops_parse.rs@@ -1,7 +1,3 @@//! Compatibility facade over the portable `tinyskills` document parser.-use std::path::Path;--use super::ops_types::WorkflowFrontmatter;-pub use tinyskills::inventory_resources;