Skip to content

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

fix: remove duplicate `use` statements across multiple files

Steven Enamakel61b89d651df8
diff --git a/crates/openhuman-core/src/agent/harness/subagent_runner/ops/graph/dispatch.rs b/crates/openhuman-core/src/agent/harness/subagent_runner/ops/graph/dispatch.rs
index 8d22857236..6e24e66bc4 100644
--- a/crates/openhuman-core/src/agent/harness/subagent_runner/ops/graph/dispatch.rs
+++ b/crates/openhuman-core/src/agent/harness/subagent_runner/ops/graph/dispatch.rs
@@ -19,7 +19,6 @@ use tinyagents_harness::workspace::WorkspaceDescriptor;
use super::transcript::persist_subagent_transcript;
use super::worker_mirror::mirror_worker_thread;
-use use crate::agent::harness::subagent_runner::ops::checkpoint;;
/// Cumulative usage stats gathered across a sub-agent graph run.
#[derive(Debug, Clone, Default)]
pub(in super::super) struct AggregatedUsage {
diff --git a/crates/openhuman-core/src/modules/memory_capability_and_dispatch_tests.rs b/crates/openhuman-core/src/modules/memory_capability_and_dispatch_tests.rs
index 7d7afb757d..1410cd6fe0 100644
--- a/crates/openhuman-core/src/modules/memory_capability_and_dispatch_tests.rs
+++ b/crates/openhuman-core/src/modules/memory_capability_and_dispatch_tests.rs
@@ -4,7 +4,6 @@
use crate::modules::memory::capabilities::capabilities_for;
use super::*;
-use use crate::modules::memory::capabilities::capabilities_for;;
/// The runtime-tree and flavour doors, driven against a **real** module.
///
/// The test above proves the `module_call!` arms exist by discriminating
diff --git a/crates/openhuman-core/src/platform/socket/ws_loop/dispatch.rs b/crates/openhuman-core/src/platform/socket/ws_loop/dispatch.rs
index 67243e48ea..2fc5184004 100644
--- a/crates/openhuman-core/src/platform/socket/ws_loop/dispatch.rs
+++ b/crates/openhuman-core/src/platform/socket/ws_loop/dispatch.rs
@@ -14,7 +14,6 @@ use crate::util::utf8_safe_prefix_at_byte_boundary;
use crate::platform::socket::event_handlers::{handle_sio_event, parse_sio_event};
use crate::platform::socket::manager::SharedState;
-use use crate::platform::socket::ws_loop::dispatch::workflows;;
/// Handle an incoming Engine.IO text message by its type prefix.
pub(super) fn handle_eio_message(
text: &str,
diff --git a/crates/openhuman-core/src/platform/socket/ws_loop/reconnect.rs b/crates/openhuman-core/src/platform/socket/ws_loop/reconnect.rs
index 1177a04efb..56234dfdd2 100644
--- a/crates/openhuman-core/src/platform/socket/ws_loop/reconnect.rs
+++ b/crates/openhuman-core/src/platform/socket/ws_loop/reconnect.rs
@@ -17,7 +17,6 @@ use crate::platform::socket::manager::{emit_state_change, SharedState};
use crate::platform::socket::token_provider::{is_invalid_token_error, TokenProvider};
use crate::platform::socket::types::ConnectionOutcome;
-use use crate::platform::socket::ws_loop::reconnect::workflows;;
/// Number of consecutive `ConnectionOutcome::Failed` attempts at which the
/// loop fires exactly one `error`-level log (and therefore one Sentry event).
/// Below the threshold, repeated transient failures (gateway 5xx, TLS