mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-07-23 06:13:14 +08:00
revert(compute): 回滚 Claude 订阅 provider(#47/#48/#49),presetDataVersion → 70 (#50)
* Revert "chore(compute): bump presetDataVersion to 69 (Claude provider now loads) (#49)" This reverts commit717ae69635. * Revert "fix(compute): rename anthropic-claude provider file to match _index basename (#48)" This reverts commita1ec69ee71. * Revert "feat(compute): 新增 Claude 订阅 provider(anthropic-claude) (#47)" This reverts commit1261460734. * chore(compute): bump presetDataVersion to 70(推送回滚后的干净数据给已同步 v68/v69 的客户端)
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
"openai",
|
"openai",
|
||||||
"openai-codex",
|
"openai-codex",
|
||||||
"anthropic",
|
"anthropic",
|
||||||
"anthropic-claude",
|
|
||||||
"deepseek",
|
"deepseek",
|
||||||
"dashscope",
|
"dashscope",
|
||||||
"volcengine",
|
"volcengine",
|
||||||
|
|||||||
@@ -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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"presetDataVersion": 69,
|
"presetDataVersion": 70,
|
||||||
"updatedAt": "2026-07-07",
|
"updatedAt": "2026-07-08",
|
||||||
"description": "DesireCore 官方配置中心"
|
"description": "DesireCore 官方配置中心"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,8 +83,8 @@
|
|||||||
},
|
},
|
||||||
"credentialSource": {
|
"credentialSource": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["codex-cli", "claude-oauth"],
|
"enum": ["codex-cli"],
|
||||||
"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 韧性(容忍未知字段)再推送本数据"
|
"description": "凭证托管来源。codex-cli:密钥由客户端本地 Codex CLI 凭证检测器托管(读取 ~/.codex/auth.json 自动刷新写回,fresh token 同步 secrets.json)。需 requiredClientVersion ≥ 引入此字段的客户端版本——老客户端不识别本字段,必须先发版铺开 compute.json 韧性(容忍未知字段)再推送本数据"
|
||||||
},
|
},
|
||||||
"codingPlan": {
|
"codingPlan": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|||||||
Reference in New Issue
Block a user