Expand description
CLI (stdin/stdout) chat channel — port of wabot-ts
addon/chat-controller/cmd/CmdChannel.ts.
Reads lines from stdin until EOF or exit. Each non-empty line
becomes a ChannelMessage whose chat_connection.id is taken from
.cmd-channel/id.json (created on first use). Replies print
[<sender>]: <text> to stdout.
Designed for local testing; production deployments should use Telegram / Socket / WhatsApp channels.
Structs§
- CmdChannel
- CLI channel. Cheap to clone (
Arc-internal); construct one per process and register as a singleton.