Agent Client Protocol - v1.2.1
    Preparing search index...

    Type Alias Position

    A zero-based position in a text document.

    The meaning of character depends on the negotiated position encoding.

    type Position = {
        line: number;
        character: number;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    line: number

    Zero-based line number.

    character: number

    Zero-based character offset (encoding-dependent).

    _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.

    See protocol docs: Extensibility