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 public re-exports for testing
Steven Enamakeleee4f7e7740f
diff --git a/crates/openhuman-core/src/channels/context.rs b/crates/openhuman-core/src/channels/context.rsindex 23ef1977bd..8967e0473b 100644--- a/crates/openhuman-core/src/channels/context.rs+++ b/crates/openhuman-core/src/channels/context.rs@@ -12,10 +12,11 @@ use tinytools::Tool;pub(crate) use tinychannels_bus::context::ChannelRouteSelection;pub(crate) use tinychannels_bus::{- CHANNEL_MESSAGE_TIMEOUT_SECS, CHANNEL_TYPING_REFRESH_INTERVAL_SECS,- DEFAULT_CHANNEL_INITIAL_BACKOFF_SECS, DEFAULT_CHANNEL_MAX_BACKOFF_SECS, MAX_CHANNEL_HISTORY,- MIN_CHANNEL_MESSAGE_TIMEOUT_SECS,+ CHANNEL_TYPING_REFRESH_INTERVAL_SECS, DEFAULT_CHANNEL_INITIAL_BACKOFF_SECS,+ DEFAULT_CHANNEL_MAX_BACKOFF_SECS, MAX_CHANNEL_HISTORY,};+#[cfg(test)]+pub(crate) use tinychannels_bus::{CHANNEL_MESSAGE_TIMEOUT_SECS, MIN_CHANNEL_MESSAGE_TIMEOUT_SECS};// Compatibility projection for tests that exercise route-state consumers with// legacy message fixtures. Runtime turns consume TinyChannels' prepareddiff --git a/crates/openhuman-core/src/channels/runtime/dispatch/mod.rs b/crates/openhuman-core/src/channels/runtime/dispatch/mod.rsindex 4f31890b03..c65c95c382 100644--- a/crates/openhuman-core/src/channels/runtime/dispatch/mod.rs+++ b/crates/openhuman-core/src/channels/runtime/dispatch/mod.rs@@ -21,9 +21,11 @@ pub(crate) use processor::progressive::{};pub(crate) use processor::{- process_channel_message, process_channel_runtime_message, reset_durable_channel_session,- run_message_dispatch_loop, RuntimeChannelMessage,+ process_channel_runtime_message, reset_durable_channel_session, run_message_dispatch_loop,+ RuntimeChannelMessage,};+#[cfg(any(test, debug_assertions))]+pub(crate) use processor::process_channel_message;// `channel_has_approval_surface` stays pub(crate) on processor; re-export so// the inline test module can reach it via `super::channel_has_approval_surface`.