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
refactor(channels): clean up unused imports and test names
Steven Enamakel73dd98997258
diff --git a/crates/openhuman-core/src/channels/routes_tests.rs b/crates/openhuman-core/src/channels/routes_tests.rsindex cf957aabc5..a01219a0b3 100644--- a/crates/openhuman-core/src/channels/routes_tests.rs+++ b/crates/openhuman-core/src/channels/routes_tests.rs@@ -13,7 +13,6 @@ use std::task::{Context, Poll, Waker};use tinybus::EventHandler;use tinychannels::routes::resolve_provider_alias;use tinychannels_bus::ChannelMessage;-use tinychannels_runtime::context::ChatMessage;use tinytools::{Tool, ToolResult};struct DummyTool;@@ -652,8 +651,6 @@ async fn handle_runtime_command_telegram_new_reports_unavailable_storage() {let ctx = runtime_context(tempdir.path().to_path_buf());let channel_impl = Arc::new(RecordingChannel::default());let channel: Arc<dyn Channel> = channel_impl.clone();- let sender_key = "telegram_alice_chat-remote";-let msg = ChannelMessage {reply_to_id: None,topic_id: None,diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/helpers.rs b/crates/openhuman-core/src/channels/runtime/dispatch/helpers.rsindex 545325ac73..21e55f839d 100644--- a/crates/openhuman-core/src/channels/runtime/dispatch/helpers.rs+++ b/crates/openhuman-core/src/channels/runtime/dispatch/helpers.rs@@ -1,7 +1,6 @@//! OpenHuman-specific dispatch prompt context plus TinyChannels helpers.use crate::channels::context::CHANNEL_TYPING_REFRESH_INTERVAL_SECS;-use crate::channels::Channel;use tinychannels_bus as traits;/// Maximum characters shown in the debug reply println.diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/native_runner_tests.rs b/crates/openhuman-core/src/channels/runtime/dispatch/native_runner_tests.rsindex 8d8f90d8cc..dacee579ad 100644--- a/crates/openhuman-core/src/channels/runtime/dispatch/native_runner_tests.rs+++ b/crates/openhuman-core/src/channels/runtime/dispatch/native_runner_tests.rs@@ -33,7 +33,7 @@ async fn active_terminal_delivery_is_returned_to_its_waiting_caller() {}#[tokio::test]-async fn terminal_delivery_releases_session_profile_and_busy_guards() {+async fn native_runner_checkouts_serialize_and_cancel_waiters_cleanly() {use crate::agent::host_agents::HostAgent;use crate::core::runtime::{ContextOverlay, CoreContext, DispatchCtx, DomainSet};@@ -44,11 +44,11 @@ async fn terminal_delivery_releases_session_profile_and_busy_guards() {request_id: &str,) -> TurnRequest<QueuedPayload> {let core = dispatch.core().expect("profile context").clone();- let definition = crate::agent::harness::host_definition::AgentDefinitionRegistry::- builtins_only()- .get("orchestrator")- .cloned()- .expect("built-in orchestrator definition");+ let definition =+ crate::agent::harness::host_definition::AgentDefinitionRegistry::builtins_only()+ .get("orchestrator")+ .cloned()+ .expect("built-in orchestrator definition");let trusted = Arc::new(crate::agent::turn_host::TrustedAgentTurn {host_agent: HostAgent {definition,