Skip to main content

Crate tinychannels

Crate tinychannels 

Source
Expand description

Pluggable channel and messaging primitives for OpenHuman harness communication.

TinyChannels owns portable channel configuration, controller metadata, runtime helpers, and the backend boundary that OpenHuman implements for channel side effects.

Re-exports§

pub use backend::ChannelBackend;
pub use backend::ChannelManager;
pub use channel::ChannelInboundEnvelope;
pub use channel::ChannelOutboundIntent;
pub use channel::DeliveryDurability;
pub use channel::OutboundPayload;
pub use channel::build_session_key_for_inbound_envelope;
pub use channel::inbound_envelope_from_legacy_message;
pub use channel::legacy_message_from_inbound_envelope;
pub use channel::legacy_message_value_from_outbound_intent;
pub use channel::outbound_intent_from_legacy_message;
pub use channel::outbound_intent_from_send_message;
pub use config::ChannelsConfig;
pub use controllers::ChannelAuthMode;
pub use controllers::ChannelDefinition;
pub use error::Result;
pub use error::TinyChannelsError;
pub use providers::SignalChannel;
pub use providers::SlackChannel;
pub use providers::WhatsAppChannel;
pub use traits::Channel;
pub use traits::ChannelMessage;
pub use traits::ChannelSendExt;
pub use traits::SendMessage;

Modules§

adapters
Generic channel adapters.
backend
Backend abstraction for OpenHuman-owned channel operations.
channel
Channel-side messaging abstractions and portable channel layer types.
config
Channel provider configuration for portable OpenHuman channel surfaces.
context
Shared channel runtime helpers.
controllers
Channel controller metadata and backend response types.
delivery
Durable outbound delivery queue.
error
Crate-wide error helpers.
harness
Harness communication boundaries.
providers
Portable channel provider implementations.
relay
Relay connector contract primitives.
routes
Per-sender route selection and runtime command helpers.
runtime
Runtime helper functions that are independent of OpenHuman application state.
text
Text measurement, truncation, and outbound chunking.
traits