ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
    Preparing search index...

    Type Alias AgentResponse

    AgentResponse:
        | {
            id: RequestId;
            result: | InitializeResponse
            | LoginAuthResponse
            | ListProvidersResponse
            | SetProviderResponse
            | DisableProviderResponse
            | LogoutAuthResponse
            | AuthStatusResponse
            | NewSessionResponse
            | ListSessionsResponse
            | DeleteSessionResponse
            | ForkSessionResponse
            | ArchiveSessionResponse
            | UnarchiveSessionResponse
            | SessionStatusResponse
            | SessionOptionsResponse
            | SetSessionTitleResponse
            | ResumeSessionResponse
            | CloseSessionResponse
            | CancelToolCallResponse
            | CancelTerminalResponse
            | SetSessionConfigOptionResponse
            | PromptResponse
            | ExtResponse;
        }
        | { id: number
        | string
        | null; error: Error }

    A JSON-RPC response object.

    Type Declaration