Expand description
Safe, testable primitives for the WeChat iLink ClawBot adapter.
Modules§
- bridge
- iLink bridge primitives shared by the CLI adapter and integration tests.
- protocol
- Protocol client for the single SCV Unix-socket daemon.
- state
- Durable ClawBot credentials, settings, and delivery state.
Structs§
- Tool
Owner - The account owner granted remote tools.
Functions§
- check_
envelope - check_
send_ ack - Classify a 2xx iLink sendmessage body. Live acknowledgements omit
retand need not be JSON, so only an explicit non-zeroretorerrcoderejects; the error is a bounded diagnostic without message content or non-integer code values. - login
- normalize_
base_ url - owner_
turn_ timeout - An owner turn outlasts the longest tool call the session allows
(
tools.max_timeout_seconds) by a margin for the model’s own work, and never runs shorter than 30 minutes. - run
- Compatibility entry point. Connects to the existing daemon; launches no process.
- run_
supervised - Run one account until cancelled. Only a validated authenticated getupdates response reports healthy. Cancellation drops all owned I/O and sessions; no adapter tasks are spawned. The caller supplies any external stop timeout.
- split_
utf8