UNPKG

cc-code-status

Version:

Enhanced Claude Code launcher with statusline - supports multiple custom API configurations and code statistics

42 lines 1.34 kB
"use strict"; /** * 配置常量 * 定义所有 API 提供商的预设配置 */ Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_SYNC_CONFIG = exports.API_PROVIDERS = exports.CONFIG_NAME = void 0; exports.CONFIG_NAME = 'cc-code-status'; exports.API_PROVIDERS = { anthropic: { name: 'Anthropic 官方', baseUrl: 'https://api.anthropic.com', description: '官方 Claude API(需要国际网络)' }, glm: { name: '智谱 GLM', baseUrl: 'https://open.bigmodel.cn/api/paas/v4', description: '智谱 AI GLM 模型(国内可用)' }, qwen: { name: '通义千问', baseUrl: 'https://dashscope.aliyuncs.com/compatible-mode/v1', description: '阿里云通义千问模型(国内可用)' }, deepseek: { name: 'DeepSeek', baseUrl: 'https://api.deepseek.com', description: 'DeepSeek AI 模型(国内可用)' }, custom: { name: '自定义 API', baseUrl: '', description: '自定义 Anthropic 兼容 API 地址' } }; // 默认数据上报配置 exports.DEFAULT_SYNC_CONFIG = { apiUrl: 'http://10.40.0.70:8087/api/cloudcode-ai/batch-receive', syncInterval: 30 * 60 * 1000, // 30分钟 enabled: true }; //# sourceMappingURL=constants.js.map