|
|
7832ae26a9
|
feat(compute): 下线 Opus 4.8 / Opus 4.7 / Sonnet 4.6,presetDataVersion → 86 (#72)
Anthropic provider 保留 Fable 5 / Opus 5 / Sonnet 5 / Haiku 4.5;Claude 订阅
provider 保留 Fable 5 / Opus 5 / Sonnet 5 / Haiku 4.5。
三个模型同时写入 provider.tombstones —— 仅从 models 数组删除只会触发 deprecated
软降级(保留本地数据),写入 tombstones 才是真删除,且客户端 resolver 的
resolveMappingModel() 只对 tombstone 模型执行「回退到同 serviceType 的其他可用
模型」,未 tombstone 的缺失模型会原样透传。因此写 tombstones 才能让存量会话平滑
迁移到 Opus 5,而不是继续指向一个已消失的模型名。
model-specs/anthropic.json 中三者的规格条目保留:规格库按 model_name 匹配任意
上游(含 OpenRouter 风格 vendor 前缀),与 provider 清单解耦——该文件本来就有
claude-sonnet-4-5 这类无 provider 条目的规格。删除会让经其他网关访问这些模型的
用户丢失上下文窗口/能力元数据。
用户侧 user-added / synced / ollama-discovery 来源的同名模型不受 tombstones 影响。
|
2026-08-08 18:44:57 +08:00 |
|
|
|
a752fddd0b
|
feat(compute): 新增 Claude Opus 5 + 补齐 Claude 系列 effort 档位,presetDataVersion → 85 (#71)
Opus 5 是 Anthropic Opus 系列当前旗舰(1M 上下文 / 128K 输出 / $5·$25 per MTok,
与 Opus 4.8 同价),此前 config-center 完全缺失,用户在模型选择器里看不到它。
变更:
- compute/providers/anthropic.json:新增 claude-opus-5(排在 fable-5 之后、
opus-4-8 之前);serverSideWebSearch.fallbackPriority 顺延重排
- compute/providers/anthropic-claude.json:Claude 订阅 provider 同步新增 claude-opus-5
- compute/model-specs/anthropic.json:补 claude-opus-5 与 claude-sonnet-5 规格
(sonnet-5 此前只有 provider 条目、没有规格)
- 补 extra.reasoning.supportedEfforts:客户端 parseReasoningEffortConfig 只读
extra.reasoning,原有的顶层 extra.defaultEffort 不被消费,导致 Claude 模型的
effort 档位在 UI 上始终不可选。按各模型实际支持声明档位(sonnet-4-6 无 xhigh)
- __tests__/validate.test.mjs:WebSearch 允许名单登记 claude-opus-5
- manifest.json:presetDataVersion 84 → 85
|
2026-08-08 17:59:09 +08:00 |
|
|
|
6befa8ebb6
|
feat(compute): 重新发布 Claude 订阅 provider(anthropic-claude),presetDataVersion → 84 (#70)
#47/#48/#49 曾因 credentialSource 硬 enum 毒丸老客户端而被 #50 回滚。毒丸根因已由
客户端 desirecore#1021 系统性修复(credentialSource 改开放 string + 合并 salvage +
能力门控降级),claude-oauth 检测器与 SDK 网关由 desirecore#1008 提供,
requiredClientVersion 运行时门槛由 desirecore#1038 提供,三者同在 v10.0.83 发布。
本次重新发布相较 #47 的变化:
- 声明 requiredClientVersion = 10.0.83,低版本客户端优雅门控为「需更新客户端」
- displayName 去掉冗余 (订阅) 后缀,对齐 #58 的 Codex 命名约定
- 文件名 anthropic-claude.json 与 _index.json basename 一致(#48 的修正一并纳入)
|
2026-08-08 17:12:10 +08:00 |
|
|
|
6ed4b1a66a
|
revert(compute): 回滚 Claude 订阅 provider(#47/#48/#49),presetDataVersion → 70 (#50)
* Revert "chore(compute): bump presetDataVersion to 69 (Claude provider now loads) (#49)"
This reverts commit 717ae69635.
* Revert "fix(compute): rename anthropic-claude provider file to match _index basename (#48)"
This reverts commit a1ec69ee71.
* Revert "feat(compute): 新增 Claude 订阅 provider(anthropic-claude) (#47)"
This reverts commit 1261460734.
* chore(compute): bump presetDataVersion to 70(推送回滚后的干净数据给已同步 v68/v69 的客户端)
|
2026-07-08 23:19:11 +08:00 |
|
|
|
a1ec69ee71
|
fix(compute): rename anthropic-claude provider file to match _index basename (#48)
provider-loader loads <basename>.json from _index order; the file must be
anthropic-claude.json (was anthropic-claude-plan.json) or it is not loaded.
|
2026-07-07 22:47:39 +08:00 |
|