Agent Client Protocol - v2.12.0
    Preparing search index...

    Type Alias AgentResponse

    AgentResponse:
        | {
            id: RequestId;
            result: | InitializeResponse
            | AuthenticateResponse
            | LogoutResponse
            | NewSessionResponse
            | LoadSessionResponse
            | ListSessionsResponse
            | DeleteSessionResponse
            | ResumeSessionResponse
            | CloseSessionResponse
            | SetSessionModeResponse
            | SetSessionConfigOptionResponse
            | PromptResponse
            | ExtResponse;
        }
        | { id: RequestId; error: Error }

    A JSON-RPC response object.

    Type Declaration