Skip to content

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

chore(cron): remove unused channel bridge and bus modules

Steven Enamakelaecdb4cf6888
diff --git a/crates/openhuman-core/src/channels/mod.rs b/crates/openhuman-core/src/channels/mod.rs
index 31dbd19928..7680f0cda0 100644
--- a/crates/openhuman-core/src/channels/mod.rs
+++ b/crates/openhuman-core/src/channels/mod.rs
@@ -4,6 +4,10 @@
//! TinyChannels TinyBus module. Serialized configuration, messages, and
//! schemas come from `tinychannels-bus`; OpenHuman retains host policy and
//! lifecycle orchestration.
+#![allow(
+ deprecated,
+ reason = "the v21 ChannelMessage/SendMessage shims stay in use here until the single inbound path (senamakel/openhuman#136) moves the host to canonical v22 content"
+)]
// Always-compiled carve-outs (see module docs).
pub(crate) mod capabilities;
diff --git a/crates/openhuman-core/src/cron/bus.rs b/crates/openhuman-core/src/cron/bus.rs
index 4a95582319..e9ca71932d 100644
--- a/crates/openhuman-core/src/cron/bus.rs
+++ b/crates/openhuman-core/src/cron/bus.rs
@@ -5,6 +5,10 @@
//! of directly constructing channel instances. The [`CronDeliverySubscriber`]
//! picks up those events and dispatches to the appropriate channel, keeping
//! channel construction out of the scheduler.
+#![allow(
+ deprecated,
+ reason = "the v21 ChannelMessage/SendMessage shims stay in use here until the single inbound path (senamakel/openhuman#136) moves the host to canonical v22 content"
+)]
use crate::core::events::DomainEvent;
use async_trait::async_trait;
diff --git a/crates/openhuman-core/src/cron/channel_bridge.rs b/crates/openhuman-core/src/cron/channel_bridge.rs
index 315428b21d..2adbd5a50f 100644
--- a/crates/openhuman-core/src/cron/channel_bridge.rs
+++ b/crates/openhuman-core/src/cron/channel_bridge.rs
@@ -7,6 +7,10 @@
//! channel instances (to send through). The runtime registers both here when
//! it starts; nothing registers in a core with no channels, and every accessor
//! then answers "unavailable" instead of failing.
+#![allow(
+ deprecated,
+ reason = "the v21 ChannelMessage/SendMessage shims stay in use here until the single inbound path (senamakel/openhuman#136) moves the host to canonical v22 content"
+)]
use std::collections::HashMap;
use std::sync::{Arc, Mutex, RwLock};
diff --git a/crates/openhuman-core/src/threads/store/bus.rs b/crates/openhuman-core/src/threads/store/bus.rs
index b09deafa4b..eda8d8b063 100644
--- a/crates/openhuman-core/src/threads/store/bus.rs
+++ b/crates/openhuman-core/src/threads/store/bus.rs
@@ -20,6 +20,10 @@
//! there is exactly one thread-id derivation again rather than a copy and a
//! promise, and this file's behaviour is untouched by the move — which matters,
//! because it decides the id under which channel turns are persisted.
+#![allow(
+ deprecated,
+ reason = "the v21 ChannelMessage/SendMessage shims stay in use here until the single inbound path (senamakel/openhuman#136) moves the host to canonical v22 content"
+)]
use crate::core::runtime::DispatchCtx;
use std::path::{Path, PathBuf};