"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createCliApiClient = createCliApiClient;
exports.createCliAiClient = createCliAiClient;
const api_client_1 = require("@playdrop/api-client");
const ai_client_1 = require("@playdrop/ai-client");
const clientInfo_1 = require("./clientInfo");
function createCliApiClient(options) {
    return (0, api_client_1.createApiClient)({
        baseUrl: options.baseUrl,
        clientHeaders: () => (0, clientInfo_1.createClientHeaders)(),
        tokenProvider: () => options.token ?? null,
    });
}
function createCliAiClient(options) {
    return (0, ai_client_1.createAiClient)({
        baseUrl: options.baseUrl,
        clientHeaders: () => (0, clientInfo_1.createClientHeaders)(),
        tokenProvider: () => options.token ?? null,
    });
}
