Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(cron): conditionally expose bus module

Steven Enamakel332b489cf7e2
diff --git a/crates/openhuman-core/src/cron/mod.rs b/crates/openhuman-core/src/cron/mod.rs
index 023a8102e4..994110d418 100644
--- a/crates/openhuman-core/src/cron/mod.rs
+++ b/crates/openhuman-core/src/cron/mod.rs
@@ -16,7 +16,8 @@
deprecated,
reason = "v21 ChannelMessage/SendMessage shims stay until the native channel path moves to canonical v22 content"
)]
-pub mod bus;
+#[cfg(feature = "channels")]
+pub(crate) mod bus;
pub(crate) mod bus_host;
#[allow(
deprecated,