agentOS API Reference - v0.0.1
    Preparing search index...

    Interface ShellSnapshot

    Server-rendered repaint for a shell that is already running. data is an ANSI stream to write verbatim into a fresh terminal.

    interface ShellSnapshot {
        cols: number;
        data: string;
        mode: ShellReplayMode;
        rows: number;
        seq: number;
        shellId: string;
    }
    Index
    cols: number
    data: string
    rows: number
    seq: number

    Sequence of the last shellData chunk folded into this snapshot. Broadcasts carry the same counter, so a client applies the snapshot and then only the chunks whose seq is greater — no gap, no double-render.

    shellId: string