Skip to main content

Crate scv_clawbot

Crate scv_clawbot 

Source
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§

ToolOwner
The account owner granted remote tools.

Functions§

check_envelope
check_send_ack
Classify a 2xx iLink sendmessage body. Live acknowledgements omit ret and need not be JSON, so only an explicit non-zero ret or errcode rejects; 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