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

    Type Alias NesEditSuggestion

    A text edit suggestion.

    type NesEditSuggestion = {
        id: NesSuggestionId;
        uri: string;
        edits: NesTextEdit[];
        cursorPosition?: Position | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index

    Unique identifier for accept/reject tracking.

    uri: string

    The URI of the file to edit.

    edits: NesTextEdit[]

    The text edits to apply.

    cursorPosition?: Position | null

    Optional suggested cursor position after applying edits.

    _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