Skip to content

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

docs(channels): add README for channels module

Steven Enamakelde30852d592d
diff --git a/crates/openhuman-core/src/channels/README.md b/crates/openhuman-core/src/channels/README.md
index 097db972b3..2491a288ee 100644
--- a/crates/openhuman-core/src/channels/README.md
+++ b/crates/openhuman-core/src/channels/README.md
@@ -8,15 +8,15 @@ The domain lives behind the `channels` feature (default-ON, #4801), except two d
## Public surface
-- `pub use tinychannels_bus::{Channel, ChannelMessage, ChannelSendExt, SendMessage}` — `traits.rs` — the provider contract, sourced from the transport-free `tinychannels-bus` contract crate so it resolves even in `channels`-less builds.
-- `ChannelDefinition` / `ChannelAuthMode` — re-exported from `tinychannels::controllers` through `controllers/definitions.rs` and `mod.rs` — declarative provider metadata.
-- `pub fn start_channels` — `runtime/startup.rs` (re-exported from `mod.rs`) — boot all enabled channels under the supervisor.
-- `pub fn doctor_channels` — `commands.rs` — diagnose connectivity for the doctor CLI.
-- `pub fn build_system_prompt` — re-exported from `crate::agent::context::channels_prompt`.
-- `pub(crate) enum ChannelSystemPrompt` — `system_prompt.rs` — the prompt a turn is seeded with: `fixed` (tests) or `refreshing` (production), which renders `build_system_prompt_with_identity` for the active agent definition.
-- Per-provider channel structs re-exported from `providers/<name>.rs` (all thin `pub use tinychannels::providers::…` shims): `DingTalkChannel`, `DiscordChannel`, `EmailChannel`, `IMessageChannel`, `IrcChannel`, `LarkChannel`, `LinqChannel`, `MattermostChannel`, `QQChannel`, `SignalChannel`, `SlackChannel`, `TelegramChannel`, `WhatsAppChannel`, `YuanbaoChannel`. Cargo-feature-gated: `WhatsAppWebChannel` (`whatsapp-web`). `CliChannel` (`cli.rs`) is the one local implementation and is ungated.
-- Stable `pub use providers::<name>` paths for every provider — `mod.rs`.
-- RPC `channels.{list, describe, connect, disconnect, status, set_default, get_default, test, telegram_login_start, telegram_login_check, discord_link_start, discord_link_check, discord_list_guilds, discord_list_channels, discord_check_permissions, send_message, send_reaction, create_thread, update_thread, list_threads}` — `controllers/schemas.rs`.
+- `pub use tinychannels_bus::{Channel, ChannelMessage, ChannelSendExt, SendMessage}` (`traits.rs`): the provider contract, sourced from the transport-free `tinychannels-bus` contract crate so it resolves even in `channels`-less builds.
+- `ChannelDefinition` / `ChannelAuthMode` (re-exported from `tinychannels::controllers` through `controllers/definitions.rs` and `mod.rs`): declarative provider metadata.
+- `pub fn start_channels` (`runtime/startup.rs`, re-exported from `mod.rs`): boots all enabled channels under the supervisor.
+- `pub fn doctor_channels` (`commands.rs`): diagnoses connectivity for the doctor CLI.
+- `pub fn build_system_prompt`: re-exported from `crate::agent::context::channels_prompt`.
+- `pub(crate) enum ChannelSystemPrompt` (`system_prompt.rs`): the prompt a turn is seeded with, `fixed` (tests) or `refreshing` (production), which renders `build_system_prompt_with_identity` for the active agent definition.
+- Per-provider channel structs re-exported from `providers/<name>.rs` (all thin `pub use tinychannels::providers::...` shims): `DingTalkChannel`, `DiscordChannel`, `EmailChannel`, `IMessageChannel`, `IrcChannel`, `LarkChannel`, `LinqChannel`, `MattermostChannel`, `QQChannel`, `SignalChannel`, `SlackChannel`, `TelegramChannel`, `WhatsAppChannel`, `YuanbaoChannel`. Cargo-feature-gated: `WhatsAppWebChannel` (`whatsapp-web`). `CliChannel` (`cli.rs`) is the one local implementation and is ungated.
+- Stable `pub use providers::<name>` paths for every provider, in `mod.rs`.
+- RPC `channels.{list, describe, connect, disconnect, status, set_default, get_default, test, telegram_login_start, telegram_login_check, discord_link_start, discord_link_check, discord_list_guilds, discord_list_channels, discord_check_permissions, send_message, send_reaction, create_thread, update_thread, list_threads}`, declared in `controllers/schemas.rs`.
## Submodule map