/** * Cohere client implementation. * * Uses the proto-generated REST API Integration Plugin type from @superblocksteam/types. * Cohere integrations use the REST API Integration plugin under the hood. */ import { RestApiIntegrationClient } from "../base/index.js"; import type { CohereClient } from "./types.js"; /** * Internal implementation of CohereClient. * * Extends RestApiIntegrationClient to inherit the generic apiRequest() method. * This implementation communicates with the orchestrator to execute * Cohere API calls. At runtime, the orchestrator handles authentication * and API request execution. */ export class CohereClientImpl extends RestApiIntegrationClient implements CohereClient { // Inherits: name, pluginId, config, executeQuery, apiRequest() }