Commit Graph

68 Commits

Author SHA1 Message Date
55999ce633 feat(compute): declare GPT-5.6 reasoning efforts (#59)
Declare model-level reasoning effort capabilities for GPT-5.6 Sol, Terra, and Luna, extend validation schema, and bump preset data version.
2026-07-19 20:58:00 +08:00
d5d0dfafbd fix(compute): Codex displayName 去掉冗余 (订阅) 后缀 (#58)
* fix(compute): Codex 模型 displayName 去掉多余的"(订阅)"后缀

整个 openai-codex provider 就是 ChatGPT 订阅接入,displayName 上
逐个标注"(订阅)"是冗余信息,用户在 provider 层面已经清楚。

* chore(manifest): bump presetDataVersion 74 -> 75
2026-07-19 17:46:40 +08:00
97bde1fe00 feat(compute): Codex 补充 GPT-5.6 家族并下线三个已停用 -codex 模型 (#57)
* feat(compute): Codex 订阅接入补充 GPT-5.6 家族并下线三个已停用 -codex 模型

新增 gpt-5.6-sol/terra/luna(2026-07-09 发布)、gpt-5.4-mini、
gpt-5.3-codex-spark(ChatGPT Pro 专属研究预览);将已从 ChatGPT 订阅接入
下线的 gpt-5.3-codex/gpt-5.2-codex/gpt-5.1-codex-mini 移入 tombstones。
presetDataVersion 73 -> 74。

* fix(compute): 补全 Luna 的 reasoning 与 Spark 的 tool_use 能力标签

采纳 Codex review 意见:GPT-5.6 Luna 官方文档确认支持 reasoning token;
GPT-5.3 Codex Spark 官方公告确认可做代码编辑、按需运行测试,属于 tool_use。
2026-07-19 15:30:16 +08:00
ce1a936284 fix: restore provider-based pricing currencies (#56)
Restore MiniMax domestic CNY pricing and enforce provider-based currency classification.
2026-07-13 16:16:03 +08:00
5a9b9c87c4 fix: align DeepSeek V4 model specs with official profile
Align the shared DeepSeek V4 Pro and Flash specifications with the official 1M context, 384K output, and high/max reasoning profile. Consolidate duplicate specs, add regression coverage, and bump presetDataVersion to 72.
2026-07-10 11:47:40 +08:00
Johnson-LYS
57937a93b7 feat: add Seedance video generation models to volcengine (#52)
- Add 6 Seedance models: 2.0/2.0-fast/2.0-mini/1.5-pro/1.0-pro/1.0-pro-fast
- doubao-seedance-2.0: 4-15s 2K video, native synced audio, 9 images+3 videos+3 audio refs
- Data source: Volcengine Ark model list + seedance2-video.com version history
- Bump presetDataVersion 70→71

Co-authored-by: DesireCore CI <ci@desirecore.test>
2026-07-09 17:29:47 +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
717ae69635 chore(compute): bump presetDataVersion to 69 (Claude provider now loads) (#49)
PR #47 bumped to 68 but the provider file was misnamed and never loaded; the
rename (#48) kept v68, so clients that already synced v68 will not re-merge.
Bump to 69 so existing clients pick up the now-loadable anthropic-claude provider.
2026-07-07 22:52:02 +08:00
1261460734 feat(compute): 新增 Claude 订阅 provider(anthropic-claude) (#47)
* feat(compute): 新增 Claude 订阅 provider(anthropic-claude,credentialSource=claude-oauth)

* chore(schemas): credentialSource enum 增加 claude-oauth
2026-07-07 21:29:37 +08:00
c67dfc2143 chore: refresh vendor model presets
Refresh vendor model presets and bump config data version.
2026-07-07 16:31:24 +08:00
f0e14a8b5e 更新 DeepSeek 官方模型配置
更新 DeepSeek 官方模型配置
2026-07-07 15:47:06 +08:00
66113b06cf 更新 Qwen 模型配置 (#41)
更新 Qwen 模型配置
2026-07-07 15:41:24 +08:00
Johnson-LYS
1f51224901 Revert "Revert "feat(compute): 新增 ChatGPT 订阅 (Codex) Provider 预设 (#33)" (#36)" (#37)
This reverts commit d85810da79.
2026-07-04 11:31:02 +08:00
Johnson-LYS
e73b607706 feat: add HappyHorse (快乐马) video generation models (#39)
- Add happyhorse.json with 6 models: 1.1/1.0 × T2V/I2V/R2V
- T2V: text-to-video, I2V: image-to-video, R2V: reference-to-video (up to 9 images)
- Provider: HappyHorse via Alibaba Cloud Bailian
- Register in _index.json (now 22 providers)
- Bump presetDataVersion 62→63
2026-07-03 13:37:51 +08:00
Johnson-LYS
51935c0d54 chore(internal-testing): 退役内置 provider;bump presetDataVersion to 61 (#26)
* chore(internal-testing): 退役内置 provider;bump presetDataVersion to 52

internal-testing 一直作为内测阶段的硬编码 provider 存在,现在客户端已切换到
登录后绑定 desirecore-cloud(NewAPI 网关)方案,internal-testing 不再需要。

从此 commit 起:
- compute/providers/internal-testing.json 删除
- _index.json 移除 internal-testing 条目
- presetDataVersion 51 → 52,触发客户端重新合并预置

客户端需配套实现 retired-providers 清理逻辑:在 mergeBuiltinIfNewer 之后
执行一次性清理,移除本地 compute.json 中残留的 provider-internal-testing-001
+ secrets.json#internal-testing。

* chore: bump preset data version to 61

* feat: 增量同步 16 个厂商旗舰模型 (首批精选)

首次从 OpenRouter 增量同步,覆盖 13 家厂商的最新旗舰:

概要
---
- 新增 .sync-watermark 水位线文件 (1782276303 / 2026-06-24)
- presetDataVersion: 61 → 62
- 校验 70/70 全部通过

新增模型
---
OpenAI:     gpt-image-2 (image_gen), gpt-5.5, gpt-5.4
Anthropic:  claude-fable-5, claude-opus-4.8
Google:     gemini-3.5-flash, gemini-3.1-flash-image (Nano Banana 2)
DeepSeek:   deepseek-v4-pro
Qwen:       qwen3.7-max, qwen3.7-plus
MiniMax:    MiniMax-M3
Moonshot:   kimi-k2.7-code
Zhipu:      glm-5.2
xAI:        grok-4.3
Mistral:    mistral-medium-3.5
Tencent:    hy3-preview
Cohere:     north-mini-code

后续机制
---
每日 10:00 心跳检查 OpenRouter 新模型,对比 .sync-watermark
增量入库,有更新才提 PR,无更新静默。
2026-06-29 20:52:13 +08:00
Johnson-LYS
d85810da79 Revert "feat(compute): 新增 ChatGPT 订阅 (Codex) Provider 预设 (#33)" (#36)
This reverts commit d8e458c3ca.
2026-06-29 16:21:09 +08:00
Johnson-LYS
d8e458c3ca feat(compute): 新增 ChatGPT 订阅 (Codex) Provider 预设 (#33)
自动检测客户端本地 Codex CLI 的 ChatGPT 订阅授权(~/.codex/auth.json),
以用户订阅额度调用 gpt-5.x/codex 模型,无需 API Key。

- compute/providers/openai-codex.json:accessMode=coding-plan +
  credentialSource=codex-cli + apiFormat=openai-codex-responses,5 个模型,
  enabled=false(由客户端检测器按本地凭证自动启用)
- schemas/provider.schema.json:frozen baseline 新增 credentialSource 字段
- manifest.json:presetDataVersion 59 → 60

⚠️ 发布顺序:本数据引入老客户端不识别的 credentialSource 字段。必须先发布带
compute.json 韧性(容忍未知字段)的客户端并等自动更新铺开,再合并本 PR——
否则更早的客户端合并时会因严格 schema 校验失败而停收所有预设更新。
2026-06-29 16:17:40 +08:00
xyx
65a8bc4af5 feat(coding-plan): 新增百度千帆 Coding Plan 配置(presetDataVersion 58→59) (#32)
- 新增 baidu-coding.json:10 个模型(qianfan-code-latest 自动路由、
  deepseek-v3.2/v4-flash、ernie-4.5-turbo、glm-5/5.1、kimi-k2.5/k2.6、
  minimax-m2.5/m2.7)
- baseUrl: https://qianfan.baidubce.com/v2/coding
- accessMode: coding-plan
- 更新 _index.json 添加 baidu-coding 条目
2026-06-12 14:30:12 +08:00
Johnson-LYS
e84edec964 feat(model-specs): 新增模型规格库——跨 provider 模型参数统一维护(presetDataVersion 54→58)
* feat(model-specs): 新增模型规格库与 schema 契约

- compute/model-specs/:按厂商维护模型内在参数(上下文窗口/最大输出/能力/serviceType/默认温度,不含价签)
- schemas/model-spec.schema.json:Draft-07 契约,spec 允许 null(新文件不影响老客户端 frozen 契约)
- scripts/validate.mjs:pickSchemaKey 纳入 model-specs 校验
- manifest.presetDataVersion 54→55

* feat(model-specs): 新增小米 MiMo 系列模型规格;bump presetDataVersion 55→56

* feat(model-specs): 补全全量模型规格;presetDataVersion 56→57

* feat(model-specs): 新增 releasedAt/retiredAt 时间戳字段;补充 mimo 退役日期
2026-06-01 19:45:14 +08:00
9633df0219 chore(internal-testing): 默认模型改为 MiMo V2.5 Pro(小米 Pro);bump presetDataVersion to 54 (#29) 2026-05-30 15:05:04 +08:00
xyx
161eb04d39 fix(deepseek): 更新 DeepSeek 模型至 V4 系列,修正价格与参数 (#28)
- 新增 deepseek-v4-flash(主力)和 deepseek-v4-pro(旗舰)
- 上下文窗口 128K → 1M,最大输出 8K/64K → 384K
- 价格更新:V4 Flash 输入 1 元/M 输出 2 元/M;V4 Pro 输入 3 元/M 输出 6 元/M
- 保留 deepseek-chat / deepseek-reasoner 作为旧别名(标记 2026-07-24 弃用)
- bump presetDataVersion to 52

Co-authored-by: Yige <a@wyr.me>
2026-05-28 14:50:28 +08:00
xyx
55f948a725 fix: mark internal testing models as tool-capable (#27) 2026-05-28 14:49:07 +08:00
e17a00d48b chore(internal-testing): 新增 Qwen3.7 Max 并设为默认模型;bump presetDataVersion to 51 (#25) 2026-05-23 10:24:58 +08:00
cc3f0b53da chore(internal-testing): 回退 DeepSeek V4 Pro/Flash 视觉与 OCR 能力(实测不支持);bump presetDataVersion to 50 (#24) 2026-05-20 13:37:45 +08:00
b8019c4a30 chore(internal-testing): DeepSeek V4 Pro/Flash 新增视觉(图像理解)与 OCR 能力;bump presetDataVersion to 49 (#23) 2026-05-20 12:35:23 +08:00
72163bac46 chore(internal-testing): 默认模型改为 DeepSeek V4 Pro;bump presetDataVersion to 48 (#22) 2026-05-18 22:37:08 +08:00
fffa2b1980 chore(internal-testing): 新增 DeepSeek V4 Pro/Flash;bump presetDataVersion to 47 (#21)
- deepseek-v4-pro:1.6T/49B MoE 旗舰,1M 上下文,思考型(reasoning),省略温度参数
- deepseek-v4-flash:284B/13B MoE 高速版,1M 上下文,serviceType=[chat, fast]
- 价格统一保持 0,遵循内测专用 provider 惯例
- manifest: presetDataVersion 46→47,updatedAt 2026-05-12
2026-05-12 11:29:19 +08:00
xyx
00e148af8e feat: 算力配置全面审计 — 6 家供应商 + Token/Coding Plan 对齐官方文档 (#20)
Providers:
- moonshot: 移除到期模型 kimi-k2/k2-thinking,修正 k2.6 maxOutputTokens 32768、k2.5 contextWindow 262144
- tencent: 修正 hunyuan-t1-latest 上下文/输出/价格,新增 hunyuan-t1-vision/turbos-vision
- volcengine: doubao-seed-2.0-lite/mini 新增 audio_understanding/video_understanding
- internal-testing: services 扩展为全部 18 种类型,新增 mediaBaseUrl

Coding Plans:
- dashscope-token-plan: baseUrl 修正为 coding.dashscope.aliyuncs.com,移除非 Coding Plan 模型,新增 kimi-k2.5/qwen3.5-plus/qwen3-coder-plus/glm-4.7
- minimax-coding: 修正 usageTracking 端点,services 扩展为 7 种含媒体类型
- moonshot-coding: maxOutputTokens 修正为 32768
- zhipu-coding: 新增 glm-5.1/glm-5-turbo/glm-4.5-air,修正 glm-5 contextWindow 200000
- volcengine-coding: 新增 glm-5.1/kimi-k2.6/minimax-m2.7
- tencent-token: 新增腾讯云 Token Plan(10 个模型)

presetDataVersion: 45 → 46
2026-05-10 00:58:56 +08:00
xyx
82ad03d9eb feat: 新增小米 MiMo Provider 配置 (#19)
- 添加 xiaomi.json:MiMo-V2.5-Pro(chat/reasoning)+ TTS 系列(tts/voicedesign/voiceclone)
- 更新 _index.json 加载顺序
- presetDataVersion 42 → 43
2026-05-09 15:04:55 +08:00
34a75a7b25 chore(internal-testing): 默认模型改为 GLM-5;bump presetDataVersion to 43
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 15:48:20 +08:00
xyx
86329ef928 chore: bump presetDataVersion to 42 (#17) 2026-05-08 12:51:04 +08:00
xyx
7c5cbca1c2 chore: bump presetDataVersion to 41 (#16)
验证 DashScope Token Plan + 文生图配置可用:
- dashscope-token-plan coding plan 已验证
- dashscope.json mediaBaseUrl 配置已验证
- 配合主仓库 media-proxy 动态路由修复
2026-05-08 12:40:02 +08:00
483356b9e7 chore: bump presetDataVersion to 40 2026-05-07 22:07:09 +08:00
799a11192e chore: bump presetDataVersion to 39 2026-05-07 21:16:30 +08:00
199a2bc528 feat(dashscope): 添加 mediaBaseUrl 和万相新模型系列
- 添加 mediaBaseUrl: https://dashscope.aliyuncs.com/api/v1
- 替换旧 wanx-v2 为 5 个最新模型:wan2.7-image-pro、wan2.7-image、wan2.6-t2i、wan2.2-t2i-plus、wan2.2-t2i-flash
- 更新 wanx-video 为 wan2.6-t2v,补充 endpoint 元数据
- 修正尺寸格式为阿里云 API 标准(`*` 分隔符)
- 各模型 extra 中记录 endpoint/asyncHeader/taskQueryEndpoint 供技能直接引用
2026-05-07 19:09:30 +08:00
648839c5dd feat(internal-testing): add Xiaomi MiMo V2.5 and V2.5 Pro models (#12)
在内测渠道挂载小米 MiMo V2.5 / V2.5 Pro 两款模型:

- mimo-v2.5-pro:1.02T/42B 激活 MoE 旗舰,1M 上下文,长程代码与 Agent 自治
- mimo-v2.5:原生全模态(文本/图像/视频/音频),1M 上下文

沿用 internal-testing 渠道的 anthropic-messages(Claude 兼容)协议
和 https://api.yizhioa.cn/v1 端点;价格保持 0(内测免费)。

manifest.presetDataVersion: 31 -> 32
2026-05-02 00:57:54 +08:00
7ac60f9c3c fix(volcengine): update provider and coding plan models 2026-04-29 21:24:59 +08:00
a1c9c7351b fix(minimax): 补全模型列表,Token Plan 升级为全模态
providers/minimax.json(API 按量计费):
- 新增文本模型:MiniMax-M2、M2-her
- 新增历史语音模型:speech-2.6-hd/turbo、speech-02-hd/turbo
- 新增历史视频模型:MiniMax-Hailuo-02、S2V-01
- 新增历史音乐模型:music-2.5+、music-2.5
- 标记历史版本 extra.legacy: true
- services 补充 vision

coding-plans/minimax-coding.json(Token Plan):
- label 从 "Coding Plan" 改为 "Token Plan"(MiniMax 2026.3 升级)
- 从仅 M1 扩展为全模态:M2.7、Speech 2.8、image-01、Hailuo-2.3、Music-2.6
- 补充完整配额信息(6 个套餐等级 × 5 个模态)
- 补充定价信息(月付/年付)

presetDataVersion: 34 → 35
2026-04-28 20:55:45 +08:00
ad0f83ead5 fix: MiniMax 切换为 Anthropic 消息格式 + mediaBaseUrl
- apiFormat: openai-completions → anthropic-messages
- baseUrl: api.minimaxi.com/v1 → api.minimaxi.com/anthropic
- 新增 mediaBaseUrl: api.minimaxi.com/v1(媒体 API 专用)

解决 pi-ai 注册表 api 字段与 compute.json apiFormat 冲突,
导致 chat 请求路径拼接为 /v1/v1/messages 而 404 的问题。
2026-04-28 12:01:23 +08:00
xyx
1c71483e25 feat: MiniMax Provider 合并媒体能力(图片/语音/视频/音乐) (#8)
将媒体生成模型直接合并到现有 provider-minimax-001,而非创建独立的媒体
Provider。原因:MiniMax 所有 API(聊天/图片/语音/视频/音乐)共享同一
域名(api.minimaxi.com)、同一认证方式(Bearer)和同一 API Key,与
OpenAI 的 provider 结构一致。

变更内容:
- 修改 compute/providers/minimax.json
  - services 新增:image_gen, tts, video_gen, music_gen
  - models 新增 10 个媒体模型(来源:官方文档):
    · image-01, image-01-live(文生图/图生图)
    · speech-2.8-hd, speech-2.8-turbo(语音合成,最新 2.8 系列)
    · MiniMax-Hailuo-2.3, Hailuo-2.3-Fast, T2V-01-Director(视频生成)
    · music-2.6, music-cover(音乐生成 + 翻唱)
- 更新 service-map.json:新增 music_gen → music-2.6 / provider-minimax-001
- 递增 manifest.json presetDataVersion 32 → 33

API 参数来源:MiniMax 国内开放平台官方文档
https://platform.minimaxi.com/docs/api-reference/api-overview
2026-04-27 22:17:12 +08:00
xyx
d1271bd894 fix: 补充缺失的 vision 能力声明 (#7)
以下模型实际支持图片理解但 capabilities 中缺少 vision,导致
DesireCore 前端误拦截图片消息:

minimax:
- MiniMax-M2.7(用户实测确认支持图片输入)
- MiniMax-M2.7-highspeed

volcengine:
- doubao-2.0-pro(官方:支持文字、图片、视频输入)
- doubao-seed-1.8(官方:升级多模态理解)
- doubao-seed-1.6(官方:All-in-One,支持多模态理解)
- doubao-seed-1.6-flash(官方:视觉理解能力比肩友商旗舰)

presetDataVersion: 31 → 32
2026-04-27 18:56:55 +08:00
380e99c577 修复算力模型采样默认值 2026-04-25 21:39:51 +08:00
10465e3570 chore: bump presetDataVersion to 30 to roll back PR #1
PR #1 (model-field-official-audit) caused production issues.
Reverted in previous commit; bumping version so clients pick up the rollback.
2026-04-25 19:35:39 +08:00
371336cdd6 Revert "Merge pull request #1 from desirecore/model-field-official-audit"
This reverts commit 88a8cf2db6, reversing
changes made to ca99ea272f.
2026-04-25 19:34:29 +08:00
c57cd4723d audit model field values against official docs 2026-04-24 12:20:24 +08:00
ca99ea272f feat(internal-testing): restore MiniMax-M2.5
- \u53ea\u79fb\u9664 MiniMax-M2.7\uff0c\u4fdd\u7559 MiniMax-M2.5 \u4f5c\u4e3a\u5907\u9009
- MiniMax-M2.5 \u63d2\u5165\u5728 kimi-k2.5 \u4e4b\u540e (\u4e0e\u5176\u4ed6\u975e-highspeed MiniMax \u7cfb\u5217\u4e00\u81f4\u7684\u4f4d\u7f6e)
- MiniMax-M2.7-highspeed \u4ecd\u7136\u5728 models[0]\uff0c\u4f5c\u4e3a provider \u9ed8\u8ba4\u6a21\u578b
- tombstones: ["MiniMax-M2.7", "MiniMax-M2.5"] -> ["MiniMax-M2.7"]
- bump presetDataVersion 23 -> 24
2026-04-20 11:10:37 +08:00
719407d82c feat: add per-provider tombstones whitelist for explicit model deletion
引入 tombstones 字段用于区分"主动删除"和"数据缺失"两种语义。
当合并策略(新版本客户端)遇到 preset 缺失的本地 preset-source 模型时:
- 若 modelName 在 tombstones 白名单 → 真删除
- 若不在白名单 → 保留并标 extra.deprecated: true(软降级)

本次添加 tombstones 的场景:
- internal-testing: MiniMax-M2.7 / MiniMax-M2.5(改为只保留 highspeed 版本)
- zhipu: embedding-3(已拆到独立的 zhipu-embedding provider)

user-added / synced / ollama-discovery 来源始终不受 tombstones 影响。

bump presetDataVersion 22 -> 23
2026-04-20 00:42:35 +08:00
2ed86a9561 refactor(internal-testing): drop MiniMax-M2.5/M2.7, keep only M2.7-highspeed
- 用户反馈内测只需要高速版本, 移除 MiniMax-M2.7 和 MiniMax-M2.5 两个普通版本
- MiniMax-M2.7-highspeed 保留在首位作为 provider 默认模型
- bump presetDataVersion 21 -> 22
2026-04-19 23:43:10 +08:00
5276339aa5 feat(internal-testing): add MiniMax-M2.7-highspeed as provider default model
- 在内测专用 provider 新增模型 MiniMax-M2.7-highspeed (高速版)
- 插入到 models 数组最前面, 基于前端 fallback 逻辑 (app/utils/compute-helpers.ts:
  fallback.models.find(chat) ?? fallback.models[0]) 成为该 provider 的默认选项
- bump presetDataVersion 18 -> 19
2026-04-19 23:32:31 +08:00
c7a24a7acd feat(zhipu): switch to anthropic-messages endpoint and split embedding provider
- zhipu (chat/reasoning/vision): baseUrl -> /api/anthropic, apiFormat -> anthropic-messages
  启用 Anthropic 协议的 thinking 字段以支持 GLM 深度思考流式输出
- zhipu-embedding (new): 独立承载 embedding-3, 保留 /api/paas/v4 + openai-completions
  Anthropic 协议不提供 /embeddings 端点
- zhipu-coding (Coding Plan): baseUrl -> /api/anthropic, apiFormat -> anthropic-messages
  与非套餐端点共用同一协议, 计费维度由 API Key 区分
- bump presetDataVersion 17 -> 18
2026-04-19 23:31:45 +08:00