Skip to content

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

fix: remove stale dispatch imports

Steven Enamakel1df6a76cd49e
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/delegate_graph.rs b/crates/openhuman-core/src/agent/orchestration/tools/delegate_graph.rs
index fc204c7ac4..9e6ba9dc56 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/delegate_graph.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/delegate_graph.rs
@@ -12,7 +12,6 @@
use crate::agent::harness::host_definition::AgentDefinitionRegistry;
use crate::agent::orchestration::delegation::run_subagent_delegation_with_parent_context;
-use crate::core::runtime::DispatchCtx;
use async_trait::async_trait;
use serde_json::json;
use std::sync::Arc;
diff --git a/crates/openhuman-core/src/agent/orchestration/worktree_schemas.rs b/crates/openhuman-core/src/agent/orchestration/worktree_schemas.rs
index 37bca01040..b5059136ed 100644
--- a/crates/openhuman-core/src/agent/orchestration/worktree_schemas.rs
+++ b/crates/openhuman-core/src/agent/orchestration/worktree_schemas.rs
@@ -20,7 +20,6 @@ use std::path::{Path, PathBuf};
use serde_json::{json, Map, Value};
-use crate::config::rpc as config_rpc;
use crate::core::all::{ControllerFuture, RegisteredController};
use crate::core::Outcome;
use crate::core::{ControllerSchema, FieldSchema, TypeSchema};
diff --git a/crates/openhuman-core/src/agent/session_host/prelude_integrations.rs b/crates/openhuman-core/src/agent/session_host/prelude_integrations.rs
index 977eff98e2..85d56ee0a7 100644
--- a/crates/openhuman-core/src/agent/session_host/prelude_integrations.rs
+++ b/crates/openhuman-core/src/agent/session_host/prelude_integrations.rs
@@ -3,7 +3,6 @@
//! revokes between turns, and adopting the integration actions the tinyagents
//! session restored for a resumed thread.
-use crate::core::runtime::DispatchCtx;
use std::sync::Arc;
use tinyagents_runtime::ToolSnapshot;
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs b/crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs
index 91a532a086..93af5e05b6 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs
@@ -15,7 +15,6 @@
//! The committed turn is also published as
//! `DomainEvent::ConversationTurnCommitted` for observers.
-use crate::core::runtime::DispatchCtx;
use std::sync::Arc;
use chrono::Utc;
diff --git a/crates/openhuman-core/src/agent/tinyagents/payload_summarizer.rs b/crates/openhuman-core/src/agent/tinyagents/payload_summarizer.rs
index 75507c31a6..689b6e9159 100644
--- a/crates/openhuman-core/src/agent/tinyagents/payload_summarizer.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/payload_summarizer.rs
@@ -20,7 +20,6 @@
//! `agent_id == "orchestrator"`); every other agent's results are compacted
//! without a summary.
-use crate::core::runtime::DispatchCtx;
use std::sync::Arc;
use anyhow::{anyhow, Result};
diff --git a/crates/openhuman-core/src/agent/tools/todo.rs b/crates/openhuman-core/src/agent/tools/todo.rs
index fb4ae0fbcf..40578586c5 100644
--- a/crates/openhuman-core/src/agent/tools/todo.rs
+++ b/crates/openhuman-core/src/agent/tools/todo.rs
@@ -19,7 +19,6 @@
use crate::agent::harness::fork_context::ParentExecutionContext;
use crate::agent::todos::ops::{self, TodoScope};
-use crate::core::runtime::DispatchCtx;
use async_trait::async_trait;
use std::path::PathBuf;
use std::sync::Arc;