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
test(ws-loop): add missing imports for mpsc and tungstenite types
Steven Enamakel8e592a40afe1
diff --git a/crates/openhuman-core/src/platform/socket/ws_loop_reconnect_tests.rs b/crates/openhuman-core/src/platform/socket/ws_loop_reconnect_tests.rsindex 4862421d24..bdfe63d4f1 100644--- a/crates/openhuman-core/src/platform/socket/ws_loop_reconnect_tests.rs+++ b/crates/openhuman-core/src/platform/socket/ws_loop_reconnect_tests.rs@@ -2,6 +2,8 @@ use super::*;use crate::platform::socket::token_provider::TokenProvider;use std::sync::Arc;+use tokio::sync::mpsc;+use tokio_tungstenite::tungstenite::Error as WsError;/// Driver-level proof: when the configured URL responds with a 301 pointing/// at a working Engine.IO server, `ws_loop` follows the redirect, completes/// the handshake, and records a one-shot warning in `SharedState.error` sodiff --git a/crates/openhuman-core/src/platform/socket/ws_loop_tests.rs b/crates/openhuman-core/src/platform/socket/ws_loop_tests.rsindex 218d87946a..433524735d 100644--- a/crates/openhuman-core/src/platform/socket/ws_loop_tests.rs+++ b/crates/openhuman-core/src/platform/socket/ws_loop_tests.rs@@ -7,6 +7,8 @@ use crate::platform::socket::token_provider::{is_invalid_token_error, static_tokuse crate::platform::socket::manager::SharedState;use std::sync::Arc;+use tokio::sync::mpsc;+use tokio_tungstenite::tungstenite::{Error as WsError, Message as WsMessage};fn make_shared() -> Arc<SharedState> {Arc::new(SharedState {webhook_router: RwLock::new(None),