Skip to content

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

refactor(channels): import traits from tinychannels_bus

Steven Enamakel6e897ff8fb3d
diff --git a/crates/openhuman-core/src/channels/runtime/supervision.rs b/crates/openhuman-core/src/channels/runtime/supervision.rs
index 3ec9ca3cfd..72174ab9ac 100644
--- a/crates/openhuman-core/src/channels/runtime/supervision.rs
+++ b/crates/openhuman-core/src/channels/runtime/supervision.rs
@@ -1,6 +1,6 @@
//! OpenHuman observer adapter for TinyChannels listener supervision.
-use super::super::traits;
+use tinychannels_bus as traits;
use super::super::Channel;
use crate::core::bus::BUS;
use crate::core::events::DomainEvent;
diff --git a/crates/openhuman-core/src/channels/tests/discord_integration.rs b/crates/openhuman-core/src/channels/tests/discord_integration.rs
index 738af9ff53..6e138db4d8 100644
--- a/crates/openhuman-core/src/channels/tests/discord_integration.rs
+++ b/crates/openhuman-core/src/channels/tests/discord_integration.rs
@@ -27,7 +27,7 @@ use super::super::context::{
conversation_history_key, ChannelRuntimeContext, CHANNEL_MESSAGE_TIMEOUT_SECS,
};
use super::super::runtime::process_channel_message;
-use super::super::traits;
+use tinychannels_bus as traits;
use super::super::{Channel, SendMessage};
use super::common::HistoryCaptureModel;
use std::collections::HashMap;
diff --git a/crates/openhuman-core/src/channels/tests/telegram_integration.rs b/crates/openhuman-core/src/channels/tests/telegram_integration.rs
index df1285943b..23c3b54789 100644
--- a/crates/openhuman-core/src/channels/tests/telegram_integration.rs
+++ b/crates/openhuman-core/src/channels/tests/telegram_integration.rs
@@ -9,7 +9,7 @@ use super::super::context::{
conversation_history_key, ChannelRuntimeContext, CHANNEL_MESSAGE_TIMEOUT_SECS,
};
use super::super::runtime::process_channel_message;
-use super::super::traits;
+use tinychannels_bus as traits;
use super::super::{Channel, SendMessage};
use super::common::SlowModel;
use std::collections::HashMap;