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

    Type Alias DidFocusDocumentNotification

    Notification sent when a file becomes the active editor tab.

    type DidFocusDocumentNotification = {
        _meta?: { [key: string]: unknown } | null;
        position: Position;
        sessionId: SessionId;
        uri: string;
        version: number;
        visibleRange: Range;
    }
    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

    position: Position

    The current cursor position.

    sessionId: SessionId

    The session ID for this notification.

    uri: string

    The URI of the focused document.

    version: number

    The version number of the document.

    visibleRange: Range

    The portion of the file currently visible in the editor viewport.