OptionalautoAuto-connect on creation. Default: false — call connect() to start.
When true, the connection opens immediately and reconnects until
disconnect() is called.
OptionalidentifyIdentify debounce window in ms. Default: 50.
OptionalidentifyIdentify duplicate-suppression window in ms. Default: 500.
OptionalkeepKeep-alive re-identify interval in ms. Default: 60 000.
OptionallogOptional debug logger.
OptionalmaxReconnect attempt cap. Default: 100 (matches legacy).
OptionalonReload-on-error callback wired to the "command:reload" server
message. Defaults to a browser-only window.location.reload() when
globalThis.window is defined.
OptionalreconnectBase reconnect delay in ms. Default: 1500 (matches legacy).
Required vanilla Zustand store created by import("../store").createPipelineStore.
OptionalurlWebSocket URL to connect to. Defaults to store.getState().wsURL.
When supplied, it is written back into the store via setCurrentURL
so the rest of the pipeline observes the override.
OptionalwebNative WebSocket constructor. Defaults to globalThis.WebSocket.
Pass an explicit ctor for environments where the global is missing
(older Node) or when tests want to inject a mock.
Options accepted by createPipelineConnection.