"use strict";
/**
 * Proxy server, global env, continuity, and image analysis types and defaults.
 *
 * Covers:
 * - CliproxyServerConfig: remote/local CLIProxy server mode
 * - OpenAICompatProxyConfig: OpenAI-compatible local proxy
 * - GlobalEnvConfig: global environment variable injection
 * - ContinuityConfig: cross-profile continuity inheritance
 * - ImageAnalysisConfig: vision analysis via CLIProxy
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_IMAGE_ANALYSIS_CONFIG = exports.DEFAULT_OPENAI_COMPAT_PROXY_CONFIG = exports.DEFAULT_CLIPROXY_SERVER_CONFIG = exports.DEFAULT_GLOBAL_ENV = void 0;
/**
 * Default global env vars for third-party profiles.
 * These disable Claude Code telemetry/reporting since we're using proxy.
 */
exports.DEFAULT_GLOBAL_ENV = {
    DISABLE_BUG_COMMAND: '1',
    DISABLE_ERROR_REPORTING: '1',
    DISABLE_TELEMETRY: '1',
};
/**
 * Default CLIProxy server configuration.
 * Local mode by default - remote must be explicitly enabled.
 * Port is optional for remote - defaults based on protocol.
 */
exports.DEFAULT_CLIPROXY_SERVER_CONFIG = {
    remote: {
        enabled: false,
        host: '',
        protocol: 'http',
        auth_token: '',
    },
    fallback: {
        enabled: true,
        auto_start: false,
    },
    local: {
        port: 8317,
        auto_start: true,
    },
};
exports.DEFAULT_OPENAI_COMPAT_PROXY_CONFIG = {
    profile_ports: {},
    routing: {
        longContextThreshold: 60000,
    },
};
/**
 * Default image analysis configuration.
 * Enabled by default for CLIProxy providers with vision support.
 */
exports.DEFAULT_IMAGE_ANALYSIS_CONFIG = {
    enabled: true,
    timeout: 60,
    provider_models: {
        agy: 'gemini-3-1-flash-preview',
        gemini: 'gemini-3-flash-preview',
        codex: 'gpt-5.1-codex-mini',
        kiro: 'kiro-claude-haiku-4-5',
        ghcp: 'claude-haiku-4.5',
        claude: 'claude-haiku-4.5-20251001',
        qwen: 'vision-model',
        iflow: 'qwen3-vl-plus',
        kimi: 'vision-model',
    },
    fallback_backend: 'gemini',
    profile_backends: {},
};
//# sourceMappingURL=proxy-server.js.map