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.
OptionalsourceThe source string attached to every published Axon event, or a
resolver invoked at publish time to obtain it. Use the resolver form to
change the source between messages without recreating the stream
(e.g. () => this.currentSource). When omitted, or when the resolver
returns undefined, the default is used.
Configuration for creating a low-level Axon stream via axonStream.