Skip to content

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

chore: files changed crates/openhuman-core/src/channels/host/adapters.rs,crates/openhuman-core/src/c

Steven Enamakel4dca4558cc26
diff --git a/crates/openhuman-core/src/channels/host/adapters.rs b/crates/openhuman-core/src/channels/host/adapters.rs
index e2d8b094a0..5dcdc73f6a 100644
--- a/crates/openhuman-core/src/channels/host/adapters.rs
+++ b/crates/openhuman-core/src/channels/host/adapters.rs
@@ -1,10 +1,8 @@
-//! OpenHuman-side implementations of the portable `tinychannels::host`
-//! capability traits.
+//! OpenHuman callback implementations used by the TinyChannels module.
//!
-//! Each adapter wraps existing OpenHuman internals (voice factory, inference
-//! ops, approval gate, conversation store, shutdown registry, web event bus)
-//! and exposes them through the portable, `Config`-free trait surface a ported
-//! channel provider consumes. See [`super::build_channel_host`].
+//! Production callbacks translate typed module requests into OpenHuman-owned
+//! voice, persistence, allowlist, and event operations. The legacy portable
+//! provider-trait adapters below exist only for unit-test compatibility.
use std::sync::Arc;
@@ -392,7 +390,6 @@ async fn publish_event(
Ok(())
}
-#[cfg(test)]
#[cfg(test)]
#[async_trait]
impl EventSink for OpenHumanEventSink {
diff --git a/crates/openhuman-core/src/channels/runtime/mod.rs b/crates/openhuman-core/src/channels/runtime/mod.rs
index 205035a9e0..17130f4994 100644
--- a/crates/openhuman-core/src/channels/runtime/mod.rs
+++ b/crates/openhuman-core/src/channels/runtime/mod.rs
@@ -3,6 +3,7 @@
mod dispatch;
pub(crate) mod session;
mod startup;
+#[cfg(test)]
mod supervision;
pub(crate) use startup::hydrate_channel_credentials;
diff --git a/crates/openhuman-core/src/channels/runtime/startup.rs b/crates/openhuman-core/src/channels/runtime/startup.rs
index 4bee6c13ab..60a02079ca 100644
--- a/crates/openhuman-core/src/channels/runtime/startup.rs
+++ b/crates/openhuman-core/src/channels/runtime/startup.rs
@@ -6,6 +6,7 @@ mod credentials;
mod delivery_store;
mod module_providers;
mod prompt;
+#[cfg(test)]
mod relay;
mod start_channels;
mod turn_parts;