Skip to main content

DaemonNotification

Type Alias DaemonNotification 

Source
pub type DaemonNotification = DaemonEvent;
Expand description

The notification frame as its own named shape (the TypeScript DaemonNotification alias); clients use it for owner messages only, never for model conversation patches.

Aliased Type§

pub enum DaemonNotification {
    Snapshot {
        version: u32,
        snapshot: SessionSnapshotData,
        runtime: RuntimeViewData,
    },
    Patch {
        version: u32,
        patch: SessionPatch,
    },
    Notification {
        version: u32,
        title: String,
        message: String,
    },
}

Variants§

§

Snapshot

Full session state; also pushed right after attach with the same window as the response.

Fields

§version: u32
§

Patch

Incremental session state.

Fields

§version: u32
§

Notification

Owner-directed message. An empty title with content is promoted into the transcript by clients; a titled one is a transient notice.

Fields

§version: u32
§title: String
§message: String