Skip to main content

tinychannels/
lib.rs

1//! Pluggable channel and messaging primitives for OpenHuman harness
2//! communication.
3//!
4//! TinyChannels owns portable channel configuration, controller metadata,
5//! runtime helpers, and the backend boundary that OpenHuman implements for
6//! channel side effects.
7
8pub mod adapters;
9pub mod backend;
10pub mod channel;
11pub mod config;
12pub mod context;
13pub mod controllers;
14pub mod delivery;
15pub mod error;
16pub mod harness;
17pub mod providers;
18pub mod relay;
19pub mod routes;
20pub mod runtime;
21pub mod text;
22pub mod traits;
23
24pub use backend::{ChannelBackend, ChannelManager};
25pub use channel::{
26    ChannelInboundEnvelope, ChannelOutboundIntent, DeliveryDurability, OutboundPayload,
27    build_session_key_for_inbound_envelope, inbound_envelope_from_legacy_message,
28    legacy_message_from_inbound_envelope, legacy_message_value_from_outbound_intent,
29    outbound_intent_from_legacy_message, outbound_intent_from_send_message,
30};
31pub use config::ChannelsConfig;
32pub use controllers::{ChannelAuthMode, ChannelDefinition};
33pub use error::{Result, TinyChannelsError};
34pub use providers::{SignalChannel, SlackChannel, WhatsAppChannel};
35pub use traits::{Channel, ChannelMessage, ChannelSendExt, SendMessage};