SurrealDB live stream → per-channel state machine → RealtimeAdapter contract
one ChannelConfig = one LIVE SELECT = one independent reconnect/replay state
Implements the RealtimeAdapter contract (NOT SyncAdapter) per the corrected
spec at openspec/specs/entity-surreal-live-adapter/spec.md. The consumer
owns the SurrealDB client; the adapter only orchestrates live queries.
adapters/surreal-live.ts
SurrealDB LIVE SELECT realtime adapter.
SurrealDB live stream → per-channel state machine → RealtimeAdapter contract one ChannelConfig = one LIVE SELECT = one independent reconnect/replay state
Implements the RealtimeAdapter contract (NOT SyncAdapter) per the corrected spec at openspec/specs/entity-surreal-live-adapter/spec.md. The consumer owns the SurrealDB client; the adapter only orchestrates live queries.