Agent Client Protocol - v0.28.1
    Preparing search index...

    Type Alias TextDocumentContentChangeEvent

    A content change event for a document.

    When range is None, text is the full content of the document. When range is Some, text replaces the given range.

    type TextDocumentContentChangeEvent = {
        range?: Range | null;
        text: string;
        _meta?: { [key: string]: unknown } | null;
    }
    Index

    Properties

    Properties

    range?: Range | null

    The range of the document that changed. If None, the entire content is replaced.

    text: string

    The new text for the range, or the full document content if range is None.

    _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