ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v1.3.0
    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. Implementations MUST NOT make assumptions about values at these keys. This field is chunk-scoped. Omitted and null are equivalent and mean no chunk metadata was provided.

    See protocol docs: Extensibility