Expand description
Long-lived WSS client. Performs the signed handshake (auth_challenge →
auth_response → auth_ok) and runs heartbeat/job loops thereafter.
Reconnect with exponential backoff per plan/V2_AGENT_SPEC.md §9.
NOTE: this is the scaffold. Job dispatch and capability discovery are
implemented in subsequent tasks (#15/#16). For now we authenticate, send a
placeholder capabilities payload, then drive heartbeats while listening
for and tracing-logging incoming messages.
Functions§
- run
- Connect, authenticate, and run forever with reconnect.