Skip to main content

Documentation Index

Fetch the complete documentation index at: https://smithers.sh/llms.txt

Use this file to discover all available pages before exploring further.

streamRunEvents subscribes to per-run events over WebSocket.
  • Method: streamRunEvents
  • Scope: run:read
  • Transport: WebSocket RPC
  • Request: { runId, afterSeq? }
  • Response: { streamId, runId, afterSeq, currentSeq }
Reconnect with the last seen seq as afterSeq. The Gateway stores a bounded per-run event window, default 10000. If the requested sequence has been truncated, the stream emits GapResync { fromSeq, toSeq } with a run snapshot, then continues. Heartbeat frames are separate from events.