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
docs(runtime): correct channels gate comment and cfg-gate test
Steven Enamakel0591cb88de2c
diff --git a/crates/openhuman-core/src/core/runtime/subscribers.rs b/crates/openhuman-core/src/core/runtime/subscribers.rsindex b9de73a2ce..7c16f9d74d 100644--- a/crates/openhuman-core/src/core/runtime/subscribers.rs+++ b/crates/openhuman-core/src/core/runtime/subscribers.rs@@ -308,10 +308,9 @@ pub(super) fn register_domain_subscribers(// Channels: inbound dispatch.// The `plan.channels` runtime guard cannot stand in for the compile-time- // gate: the `channels::bus::ChannelInboundSubscriber` +- // `channels::proactive` type paths below must still resolve for this to- // compile, so the whole block is `#[cfg]`-gated too (mirrors the flows- // dual-gate below).+ // gate: the `channels::bus::ChannelInboundSubscriber` type path below must+ // still resolve for this to compile, so the whole block is `#[cfg]`-gated+ // too (mirrors the flows dual-gate below).#[cfg(feature = "channels")]if plan.channels {if group_first_time(DomainGroup::Channels) {diff --git a/crates/openhuman-core/src/core/runtime/subscribers_tests.rs b/crates/openhuman-core/src/core/runtime/subscribers_tests.rsindex cfde9b2a23..0efc474361 100644--- a/crates/openhuman-core/src/core/runtime/subscribers_tests.rs+++ b/crates/openhuman-core/src/core/runtime/subscribers_tests.rs@@ -213,6 +213,7 @@ async fn tool_timeout_seeds_on_channelless_core_boot() {}#[tokio::test]+#[cfg(feature = "channels")]async fn proactive_message_reaches_web_on_channelless_core_boot() {crate::core::bus::init().await.expect("bus init");let mut web_events = crate::web_chat::subscribe_web_channel_events();