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

    Type Alias DidChangeDocumentNotification

    Notification sent when a file is edited.

    type DidChangeDocumentNotification = {
        _meta?: { [key: string]: unknown } | null;
        contentChanges: TextDocumentContentChangeEvent[];
        sessionId: SessionId;
        uri: string;
        version: number;
    }
    Index

    Properties

    _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

    The content changes.

    sessionId: SessionId

    The session ID for this notification.

    uri: string

    The URI of the changed document.

    version: number

    The new version number of the document.