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

    Type Alias DidOpenDocumentNotification

    Notification sent when a file is opened in the editor.

    type DidOpenDocumentNotification = {
        sessionId: SessionId;
        uri: string;
        languageId: string;
        version: number;
        text: string;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    sessionId: SessionId

    The session ID for this notification.

    uri: string

    The URI of the opened document.

    languageId: string

    The language identifier of the document (e.g., "rust", "python").

    version: number

    The version number of the document.

    text: string

    The full text content of the document.

    _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