diff --git a/compute/providers/_index.json b/compute/providers/_index.json index a737bd9..20a9ea2 100644 --- a/compute/providers/_index.json +++ b/compute/providers/_index.json @@ -4,7 +4,6 @@ "openai", "openai-codex", "anthropic", - "anthropic-claude", "deepseek", "dashscope", "volcengine", diff --git a/compute/providers/anthropic-claude.json b/compute/providers/anthropic-claude.json deleted file mode 100644 index 2699c18..0000000 --- a/compute/providers/anthropic-claude.json +++ /dev/null @@ -1,105 +0,0 @@ -{ - "id": "provider-anthropic-claude-plan-001", - "provider": "anthropic-claude", - "brandGroup": "anthropic", - "label": "Claude 订阅 (Claude Code)", - "baseUrl": "https://api.anthropic.com", - "apiFormat": "anthropic-messages", - "apiKeyRef": "anthropic-claude-oauth-token", - "apiKeyVerified": false, - "enabled": false, - "status": "unconfigured", - "priceCurrency": "USD", - "accessMode": "coding-plan", - "credentialSource": "claude-oauth", - "codingPlan": { - "quotas": {}, - "usageTracking": { - "method": "none", - "consoleUrl": "https://claude.ai/settings/usage" - } - }, - "services": [ - "chat", - "reasoning" - ], - "models": [ - { - "modelName": "claude-fable-5", - "displayName": "Claude Fable 5 (订阅)", - "serviceType": [ - "chat" - ], - "description": "Claude 订阅额度计费,Anthropic 最高能力公开模型,面向长程智能体与高难推理,1M 上下文", - "contextWindow": 1000000, - "maxOutputTokens": 128000, - "capabilities": [ - "chat", - "reasoning", - "code", - "vision", - "tool_use", - "agent", - "long_context" - ], - "source": "preset" - }, - { - "modelName": "claude-opus-4-8", - "displayName": "Claude Opus 4.8 (订阅)", - "serviceType": [ - "chat" - ], - "description": "Claude 订阅额度计费,Opus 级复杂智能体编码与企业任务模型,1M 上下文", - "contextWindow": 1000000, - "maxOutputTokens": 128000, - "capabilities": [ - "chat", - "reasoning", - "code", - "vision", - "tool_use", - "agent", - "long_context" - ], - "source": "preset" - }, - { - "modelName": "claude-sonnet-5", - "displayName": "Claude Sonnet 5 (订阅)", - "serviceType": [ - "chat" - ], - "description": "Claude 订阅额度计费,速度与智能平衡模型,支持长上下文智能体任务", - "contextWindow": 1000000, - "maxOutputTokens": 128000, - "capabilities": [ - "chat", - "reasoning", - "code", - "vision", - "tool_use", - "agent", - "long_context" - ], - "source": "preset" - }, - { - "modelName": "claude-haiku-4-5", - "displayName": "Claude Haiku 4.5 (订阅)", - "serviceType": [ - "chat" - ], - "description": "Claude 订阅额度计费,最快模型,具备接近前沿模型的智能水平,200K 上下文", - "contextWindow": 200000, - "maxOutputTokens": 64000, - "capabilities": [ - "chat", - "code", - "vision", - "tool_use" - ], - "source": "preset" - } - ] -} diff --git a/manifest.json b/manifest.json index 3aa9ab6..aa1fc07 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "presetDataVersion": 69, - "updatedAt": "2026-07-07", + "presetDataVersion": 70, + "updatedAt": "2026-07-08", "description": "DesireCore 官方配置中心" } diff --git a/schemas/provider.schema.json b/schemas/provider.schema.json index ff5d1c2..0a9c1f4 100644 --- a/schemas/provider.schema.json +++ b/schemas/provider.schema.json @@ -83,8 +83,8 @@ }, "credentialSource": { "type": "string", - "enum": ["codex-cli", "claude-oauth"], - "description": "凭证托管来源。codex-cli:密钥由客户端本地 Codex CLI 凭证检测器托管(读取 ~/.codex/auth.json 自动刷新写回,fresh token 同步 secrets.json)。claude-oauth:Claude 订阅接入,由客户端 claude-auth 检测器托管——首选复用本机 Claude Code 登录(Agent SDK 自读,不写不刷新),或应用内 OAuth / setup-token 兜底;模型调用经 compat-proxy 内 claude-agent-sdk 后端履约,不直连。需 requiredClientVersion ≥ 引入此字段的客户端版本——老客户端不识别本字段,必须先发版铺开 compute.json 韧性(容忍未知字段)再推送本数据" + "enum": ["codex-cli"], + "description": "凭证托管来源。codex-cli:密钥由客户端本地 Codex CLI 凭证检测器托管(读取 ~/.codex/auth.json 自动刷新写回,fresh token 同步 secrets.json)。需 requiredClientVersion ≥ 引入此字段的客户端版本——老客户端不识别本字段,必须先发版铺开 compute.json 韧性(容忍未知字段)再推送本数据" }, "codingPlan": { "type": "object",