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): adjust visibility and clean up test code
Steven Enamakelc90e035f1451
diff --git a/crates/openhuman-core/src/channels/runtime/startup.rs b/crates/openhuman-core/src/channels/runtime/startup.rsindex b0818d2e89..aec3c53d5d 100644--- a/crates/openhuman-core/src/channels/runtime/startup.rs+++ b/crates/openhuman-core/src/channels/runtime/startup.rs@@ -83,7 +83,7 @@ impl ChannelHandle {Self::Module(channel) => channel.capabilities(),Self::Relay(_) => tinychannels_bus::ChannelCapabilities::unknown(),#[cfg(test)]- Self::Test(channel) => tinychannels_bus::ChannelCapabilities::unknown(),+ Self::Test(_channel) => tinychannels_bus::ChannelCapabilities::unknown(),}}diff --git a/crates/openhuman-core/src/channels/runtime/startup/module_providers.rs b/crates/openhuman-core/src/channels/runtime/startup/module_providers.rsindex fb62b504f6..0ef78cbd00 100644--- a/crates/openhuman-core/src/channels/runtime/startup/module_providers.rs+++ b/crates/openhuman-core/src/channels/runtime/startup/module_providers.rs@@ -30,7 +30,7 @@ pub(super) struct ModuleChannelRuntime {}#[derive(Clone)]-pub(super) struct ModuleChannel {+pub(crate) struct ModuleChannel {pub(super) name: String,pub(super) object: ModuleObjectClient,pub(super) interaction: tinychannels_bus::ChannelInteractionInfo,diff --git a/crates/openhuman-core/src/channels/tests/common.rs b/crates/openhuman-core/src/channels/tests/common.rsindex 18fd377b5f..66f30c4501 100644--- a/crates/openhuman-core/src/channels/tests/common.rs+++ b/crates/openhuman-core/src/channels/tests/common.rs@@ -1,6 +1,6 @@use crate::channels::runtime::TestChannel;use std::sync::atomic::{AtomicUsize, Ordering};-use std::sync::{Arc, Mutex};+use std::sync::Mutex;use std::time::Duration;use tempfile::TempDir;use tinyinference_llm::message::{AssistantMessage, Message};diff --git a/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs b/crates/openhuman-core/src/channels/tests/runtime_dispatch.rsindex 327df27ae4..12bfc16ec9 100644--- a/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs+++ b/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs@@ -5,7 +5,7 @@ use super::super::runtime::test_support::{use super::super::runtime::{process_channel_message, run_message_dispatch_loop, RuntimeChannelMessage,};-use super::common::{use_real_agent_handler, HistoryCaptureModel, RecordingChannel, SlowModel};+use super::common::{use_real_agent_handler, RecordingChannel, SlowModel};use crate::agent::bus::{mock_agent_run_turn, AgentTurnRequest, AgentTurnResponse};use crate::channels::runtime::ChannelHandle;use crate::core::events::DomainEvent;