Skip to content

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

chore(core): allow deprecated TinyChannels v21 calls in host adapters

Steven Enamakel2e927be57313
diff --git a/crates/openhuman-core/src/lib.rs b/crates/openhuman-core/src/lib.rs
index d2ad17c81d..9b3cbda68f 100644
--- a/crates/openhuman-core/src/lib.rs
+++ b/crates/openhuman-core/src/lib.rs
@@ -57,10 +57,18 @@ pub mod agent_registry;
pub mod agent_runs;
pub mod artifacts;
pub mod attachments;
+// These host adapters still call TinyChannels' v21 compatibility surface.
+// Keep the deprecation exception scoped here while the v22 adapter migration
+// is handled separately.
+#[allow(deprecated)]
pub mod channels;
pub mod commands;
pub mod config;
pub mod core;
+// These host adapters still call TinyChannels' v21 compatibility surface.
+// Keep the deprecation exception scoped here while the v22 adapter migration
+// is handled separately.
+#[allow(deprecated)]
pub mod cron;
pub mod desktop;
pub mod doctor;
@@ -92,6 +100,10 @@ pub mod skills;
pub mod storage;
#[cfg(feature = "e2e-test-support")]
pub mod test_support;
+// These host adapters still call TinyChannels' v21 compatibility surface.
+// Keep the deprecation exception scoped here while the v22 adapter migration
+// is handled separately.
+#[allow(deprecated)]
pub mod threads;
#[cfg(feature = "tinymemes")]
pub mod tinymemes;