ACP v2 (Preview) TypeScript SDK — EXPERIMENTAL - v2.12.1
    Preparing search index...

    Type Alias ReplayCompleteExperimental

    Marks the end of the history replay requested by session/resume.

    The Agent MUST send this exactly once on a session for each session/resume request with a replayFrom cursor, after the last replayed update for that session and before the response, even for an empty replay. After receiving the request, the Agent MUST hold live updates for the session during replay. If the session is already active on the connection, a live update the Agent sent earlier can still arrive after the Client sends the request. The marker signals the end of the requested replay, not its start. A full replay covers all the history the Agent retained for that session.

    The Agent MUST NOT send it when replayFrom is omitted or null, or when it cannot finish the replay. A replay that ends without it and without a successful response is truncated.

    See protocol docs: Replay Complete

    type ReplayComplete = {
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow Clients and Agents to attach additional metadata to their interactions. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize.

    See protocol docs: Extensibility