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

    Type Alias TerminalOutputChunkExperimental

    A chunk of bytes appended to an Agent-owned terminal's output.

    type TerminalOutputChunk = {
        terminalId: TerminalId;
        data: string;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    terminalId: TerminalId

    The terminal receiving these bytes.

    data: string

    Independently base64-encoded terminal output bytes.

    _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. This metadata is scoped to the chunk and does not patch stored metadata.

    See protocol docs: Extensibility