anyclaw-sdk-channel
Build messaging channel integrations for anyclaw — implement the Channel trait and the SDK handles all JSON-RPC framing, the initialize handshake, and bidirectional message routing.
⚠️ Unstable — APIs may change between releases.
Quick Example
use ;
use ;
use mpsc;
async
on_initialize, handle_unknown, and on_session_created have default no-op implementations. Override them only if needed.
Going Further
- docs.rs — full API reference, trait contract,
ChannelTesterfor unit testing - Building extensions guide — end-to-end walkthrough for building and deploying a channel
- debug-http reference implementation — a complete working channel (HTTP + SSE + permission handling)
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.