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

    Type Alias DiffPatch

    Renderable patch text and its format.

    type DiffPatch = {
        format: DiffPatchFormat;
        text: string;
        _meta?: { [key: string]: unknown } | null;
    }
    Index

    Patch format. The only ACP-defined value is git_patch.

    text: string

    Patch text in the format named by format.

    _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