chore: rename project to clawdbot
This commit is contained in:
13
apps/macos/Sources/Clawdbot/GatewayPush.swift
Normal file
13
apps/macos/Sources/Clawdbot/GatewayPush.swift
Normal file
@@ -0,0 +1,13 @@
|
||||
import ClawdbotProtocol
|
||||
|
||||
/// Server-push messages from the gateway websocket.
|
||||
///
|
||||
/// This is the in-process replacement for the legacy `NotificationCenter` fan-out.
|
||||
enum GatewayPush: Sendable {
|
||||
/// A full snapshot that arrives on connect (or reconnect).
|
||||
case snapshot(HelloOk)
|
||||
/// A server push event frame.
|
||||
case event(EventFrame)
|
||||
/// A detected sequence gap (`expected...received`) for event frames.
|
||||
case seqGap(expected: Int, received: Int)
|
||||
}
|
||||
Reference in New Issue
Block a user