OptionalafterAxon sequence number to resume from. When set, the initial SSE subscription starts after this sequence — earlier events are skipped. Omit to replay the full event history.
Axon channel to connect to (from @runloop/api-client).
OptionallogDiagnostic log callback. When provided, the stream emits verbose logs.
OptionalonCalled for every Axon event before JSON-RPC translation.
OptionalonCalled when a non-critical error occurs (e.g. unparseable SSE event).
Defaults to console.error.
OptionalreplayWhen set, events with sequence <= replayTargetSequence are considered
historical replay. During replay, onAxonEvent still fires (so timeline
listeners work) but agent-to-client requests are buffered instead of
enqueued. After replay ends, only unresolved requests are enqueued.
OptionalsignalAbortSignal to cancel the SSE connection and stop publishing.
Configuration for creating a low-level Axon stream via axonStream.