Commit Graph
100 Commits
Author SHA1 Message Date
yige d97b9c105a docs: 明确纯运行发布无变化核验与恢复边界 (#123) 2026-10-16 20:08:23 +08:00
yige fd6261859b feat: 增加配置中心纯运行数据发布流程 (#122) 2026-10-16 20:04:55 +08:00
yige d77e4a27ac fix(runtime): 恢复 Python 3.13.9 默认以匹配 Office (#121)
恢复默认 Python 3.13.9,匹配 Office cp313 与随包 Hatch pin;同步六平台官方归档摘要和来源记录,保持 Node、客户端门槛及用户显式版本选择不变。
2026-10-13 04:37:59 -07:00
yige 73b278df51 fix(compute): GLM-5.3 系列在 anthropic 协议按官网用 output_config.effort 控制思考强度 (#120)
智谱官网(国内 coding-plan/latest-model、国际 devpack/latest-model)写明 /api/anthropic
以 thinking.type 与 output_config.effort 控制思考强度,thinking.type=enabled 一律按默认 max
处理,budget_tokens 不是控制项。两个 anthropic-messages 接入面的 GLM-5.3 系列此前只有按
OpenAI 协议文档写的 low/high/max 矩阵,客户端按 budget 形态发送:low/high 在上游都成了 max,
max(也是默认档)在客户端本机被拒绝;经 new-api 的 OpenAI 类渠道转换时 low 变成
reasoning_effort=medium,被智谱标准 API 拒绝。

- zhipu、zhipu-coding 接入面的 GLM-5.3 / 5.3-Flash / 5.3-FlashX 声明 adaptiveThinking
- GLM-5.3 系列规格加 anthropic-messages 协议 profile(V1 副本为 spec.extra.adaptiveThinking),
  覆盖经 ModelSpec 补全的云端条目
- 来源记录补国际 Coding Plan 页;按量 API Key 与 FlashX 按同一端点推定,未列入已核字段
- presetDataVersion 130
2026-10-05 09:17:43 -07:00
yige e8122c1d77 fix(compute): 按官网补对话型号的 tool_use 标签 (#119)
逐条对照供应商官方文档,核对 36 个对话规格与 70 个 Provider / 套餐预置条目
(capabilities 缺 tool_use / tools / function_calling)的工具调用支持情况:

- 补 tool_use 25 条:规格 9、随规格继承的接入条目 5、接入覆盖 11
- 保持原样 81 条:官方写明不支持或页面互相矛盾 10、已下线或数日内下线 26、
  官方当前文档无该型号或无工具调用说明 34、只在未适配接口上支持 2、官网读取失败 9
- 只改 capabilities,不动 routing;qwen-max 等按华北 2(北京)地域记,国际站不适用
- 同步单模型来源记录、供应商证据目录与来源缺口清单;逐条决定与依据见
  docs/source-rechecks/2026-10-05-tool-calling/README.md
- presetDataVersion 128 → 129
2026-10-04 18:26:40 -07:00
yige a94a751078 docs: 重查供应商来源并记录逐字段复核候选 (#118) 2026-10-03 20:26:42 -07:00
yige 987f286c86 docs: 记录目录实施验证与客户端发布阻塞 (#117) 2026-10-03 12:28:53 -07:00
yige 7f4073a769 feat: 建立版本化模型目录与规范字段生成链路 (#116) 2026-10-03 11:05:56 -07:00
yige 4f4e5093e9 docs: 单列官网证据缺失和字段来源不明清单 (#115)
* docs: separate unavailable and unclear data sources

* fix(docs): handle providers with no static model directory
2026-10-03 04:28:26 -07:00
yige 5d9217f740 fix(compute): summary 服务映射改指 desirecore-cloud/mimo-v2.6-flash (#108)
原映射 desirecore-cloud/mimo-v2.5 已不在云端目录;summary 改为同系后继 mimo-v2.6-flash(balanced,支持关闭思考),presetDataVersion 126→127,并在 docs/data-sources/policies/service-map.md 登记调整理由与日期。
2026-10-03 04:21:59 -07:00
yige 642985e819 fix(data): complete verified contracts and source maintenance (#114) 2026-10-03 03:49:55 -07:00
yige 647d6f0cfd docs: split model source records and unify project instructions (#113)
* docs: split model sources and consolidate project instructions

* docs: normalize empty model navigation footer
2026-10-03 00:29:46 -07:00
yige cccf14f72d fix(compute): verify official model data and document sources (#112)
* fix(compute): verify official data and document model sources

* test(docs): guard provider metadata source freshness
2026-10-02 23:51:28 -07:00
yige 79ffd1f8c3 feat(compute): refresh provider model catalog and compatibility profiles (#111) 2026-10-02 07:38:18 -07:00
yige 614801a566 feat(runtimes): 推荐运行时升级到 Python 3.14.8 与 Node.js 24.21.0,minClientVersion 提到 10.0.178 (#110)
- Python:3.13 已于 2026-10-01 转入仅安全修复,改用 3.14 线最新版 3.14.8
  (python-build-standalone 20261001);内置 Hatch 1.16.5 认识发行版名 3.14
- Node.js:Krypton(24.x)最新 LTS 24.21.0;Node 26 要到 2026-10-28 才转 LTS
- 六个平台的 SHA-256 取自上游 SHA256SUMS / SHASUMS256.txt
- minClientVersion 10.0.82 → 10.0.178:首启离线导入按此清单在安装包里找归档,
  已发布客户端(≤10.0.177)只打包了 3.13.9 / 24.18.0,必须继续用各自的内置种子
2026-10-02 16:47:41 +08:00
yige dc7d48957e feat(compute): add GPT-6.1 Sol and Claude Sonnet 5.5 (#109) 2026-10-01 21:41:50 +08:00
yige 74f92ac15a fix(compute): Codex 订阅接入面去掉 gpt-6-sol / gpt-6-luna 的 none 档 (#107)
OpenAI 下发给 Codex 的模型元数据(supported_reasoning_levels)里,ChatGPT
订阅接入面没有任何模型支持 none。#106 给 gpt-6-sol、gpt-6-luna 声明了 none,
客户端据此在 AI 审批等关闭思考的调用上发送 reasoning.effort=none,上游 400,
审批拿不到建议即自动拒绝,Agent 的每个中风险操作都被拒(2026-09-26 达摩院
176 在 win-test 上复现)。

去掉 none 后客户端对这两个模型不发关闭参数,改用上游默认档位;已在 win-test
真机验证 gpt-6-sol 的 AI 审批恢复为 200、Write 正常执行。model-specs 中的
off 是模型本身的事实,保持不变,本次只收紧 Codex 接入面。

presetDataVersion 121 → 122。
2026-09-26 15:53:12 +08:00
yige b64ee77342 feat(compute): update current model catalog (#106)
* feat(compute): update current model catalog

* feat(compute): add MiMo V2.6 model profiles
2026-09-25 23:33:23 +08:00
yige b4ff98c38c feat(compute): add Xiaomi MiMo-X preview models (#105) 2026-09-15 00:03:04 -04:00
yige ea59c02709 chore(compute): 删除无消费者的 extra.thinkingOnByDefault (#100)
客户端从未读取该字段:DesireCore 主仓的代码与 Schema 都没有引用它。「省略 thinking 时
上游是否默认思考」由主仓 thinking-profiles.ts 的 Anthropic 代际表判定(desirecore#2944)。
数据本身也不一致:Fable 5.1 / Opus 5 有该字段,同样默认 adaptive 的 Sonnet 5 却缺失,
保留下去容易被误当成可以调整行为的开关。

删除 model-specs/anthropic.json 1 处,providers/anthropic.json 与 anthropic-claude.json
各 2 处。extra 是开放对象,本仓与客户端 Schema 都未声明该字段,删除不影响任何校验;
客户端合并预设不回传字段删除,存量 compute.json 里残留的该字段依旧无人读取,无害。

presetDataVersion 118 → 119。
2026-09-14 08:56:59 -04:00
yige f3bf4e092c feat(compute): add DeepSeek V4.1 Flash alias (#104) 2026-09-14 01:23:52 -04:00
yige 5171219a13 feat(compute): 声明 Anthropic 模型拒绝的采样参数与强制工具选择 (#103)
Claude Opus 4.7+ / Opus 5 / Fable 携带 temperature / top_p / top_k 会被官方 400
(Sonnet 5 非默认值 400),Claude Fable 5.1 对 tool_choice any / tool 回 400。客户端
改为纯按声明在出站删除采样参数、把强制工具选择降级为 auto(desirecore 主仓配套 PR)。

- providers/anthropic.json:claude-fable-5-1 增加 forcedToolChoiceUnsupported
- model-specs/anthropic.json:fable-5-1 / opus-5 / opus-4-8 / opus-4-7 / sonnet-5 声明
  samplingParametersDeprecated,fable-5-1 声明 forcedToolChoiceUnsupported,供精确命中
  补全的动态 Provider 使用;opus-4-7 的 defaultTemperature 由 1 改为 null(不支持温度调节)
- schemas:provider model extra 与 ModelSpec spec.extra 声明两个布尔字段(含 description)
- 测试:已知拒绝代际必须声明(单向)、布尔类型校验
- presetDataVersion 116 → 117
2026-09-13 22:56:51 -04:00
yige 0be8207e32 fix(compute): 为 Anthropic adaptive 代际模型规格补齐 adaptiveThinking 声明 (#102)
Opus 5 / Sonnet 5 / Opus 4.8 / Opus 4.7 规格补 spec.extra.adaptiveThinking;各版本规格 family 收窄为自身版本,新增同名 claude-opus / claude-sonnet 家族规格承接兜底,防止声明泄漏给 Opus 4.5 等旧型号;schema 声明 adaptiveThinking 并写明匹配键约束;测试约束代际声明与 id/exact/pattern/family 不变式;presetDataVersion 115 → 116。
2026-09-13 22:39:20 -04:00
yige 143b567a84 feat(compute): add DeepSeek V4.1 Flash profile (#101) 2026-09-13 22:05:51 -04:00
yige d28297242c feat(compute): 官方 Anthropic 模型声明接受不含 thinking 的工具轮 (#99)
新增 extra.thinkingToolTurnValidation(requires-thinking / accepts-thinkless),与
thinkingRoundTrip 并列(后者 additionalProperties:false,不能往里加字段)。

anthropic.json 与 anthropic-claude.json 的 Fable 5.1 / Opus 5 / Sonnet 5 声明
accepts-thinkless:官方 adaptive thinking 不要求工具轮以 thinking 开头,模型跳过思考的
工具轮原样回放即合法(mini 真机六轮验证全部 200)。客户端据此不再对这类响应重试、
不再降级为关闭思考。旧客户端忽略该字段,行为不变。

model-spec schema 的 spec.extra 同步禁止 thinkingRoundTrip 与 thinkingToolTurnValidation,
与客户端 Schema 一致,避免写错后新客户端整份拒收规格。

presetDataVersion 113 → 114。
2026-09-13 05:48:36 -04:00
yige 008a082b2a fix(compute): 补齐 API Key 版 Fable 5.1 的 thinking 回放声明 (#97)
#87 为当时全部 Anthropic 模型(含 claude-fable-5)声明了 thinkingRoundTrip,
#94 新增 claude-fable-5-1 时漏掉,#95 删除 Fable 5 后 API Key 版只剩 Opus 5 /
Sonnet 5 声明。#96 已为订阅版 claude-fable-5-1 声明同款能力,说明意图一致。

Fable 5.1 为 thinkingOnly + thinkingOnByDefault,工具轮携带 thinking 是常态。
缺少声明时客户端 resolver 不下发 thinkingRoundTrip,出站重建会剥离当前工具轮
已签名的 thinking,续接请求会被 Anthropic 拒绝;同时入站守卫也不生效。

presetDataVersion 112 → 113。
2026-09-13 05:15:03 -04:00
yige 014d532708 feat(compute): API Key 版 Fable 5.1 补齐 thinking 回放声明 (#98)
#94 新增 claude-fable-5-1 时漏掉了 Fable 5 自 #87 起就有的 thinkingRoundTrip
(active-tool-turn)。该模型 thinkingOnly,开启 thinking 的工具续接必须回放
本工具轮的已签名 thinking;订阅版 anthropic-claude.json 已在 #96 声明。
presetDataVersion 112 → 113。
2026-09-13 02:50:48 -04:00
yige 9e6dc2bce0 feat(compute): Claude 订阅模型声明 thinking 回放能力 (#96)
与 anthropic.json(API Key 版)同款 thinkingRoundTrip(active-tool-turn)。
DesireCore ADR-161 把 Claude 订阅改为无状态传输后,开启 thinking 的工具续接
只能由请求携带本工具轮的已签名 thinking;在客户端删除按身份排除的逻辑之前,
此声明不改变任何行为。presetDataVersion 111 → 112。
2026-09-12 15:25:56 -04:00
yige 064c561202 chore(compute): remove Fable 5 and Haiku 4.5 presets (#95) 2026-09-10 11:53:08 -04:00
yige 571b98e682 feat(compute): add GPT-Reserve, Fable 5.1 and GPT-6 Astra (#94) 2026-09-06 04:20:15 -04:00
yigeandyi-ge 9f331d3f78 feat(compute): 新增 GitHub Copilot 订阅 Provider 预设 (#90)
- compute/providers/github-copilot.json:coding-plan + credentialSource
  github-copilot,models 留空(可用集合随订阅档位与组织策略变化,由客户端
  登录后经 /models 动态发现)
- schemas/provider.schema.json:credentialSource 枚举登记 github-copilot 及其语义
- _index.json 顺序追加;manifest presetDataVersion 105 → 106
- 测试计价归属表登记 github-copilot(USD)

Co-authored-by: yi-ge <jackyoncode@gmail.com>
2026-08-31 14:16:30 +08:00
yige 59743a99b4 feat(compute): 默认话题/摘要模型改为裸 mimo-v2.5(lightweight 档) (#89)
defaultServiceMap.summary.modelName: mimo-v2.5-pro → mimo-v2.5。

mimo-v2.5-pro 是 flagship 档(model-specs/xiaomi.json 里 tier=flagship),
裸 mimo-v2.5 才是 lightweight 档、支持 vision 的全模态版本,更符合摘要
用轻量模型的本意。

已知:该模型目前尚未出现在 desirecore-cloud 账号实时同步的模型列表里
(compute/providers/xiaomi.json 静态目录同样只有 -pro/-asr/-tts 三个变体),
应用侧的 applySummaryModelPin 精确匹配当前会跳过钉选、原样透传(不报错,
但也不生效),账号后续同步到该模型后自动生效,无需再改代码或数据。
2026-08-29 00:58:52 +08:00
yige ec57989864 feat(compute): 默认话题/摘要模型改为 mimo-v2.5-pro (#88)
defaultServiceMap.summary.modelName: deepseek-v4-flash-0731 → mimo-v2.5-pro
(desirecore-cloud 下唯一的 mimo-v2.5 系通用对话/推理变体,另有 -asr/-tts
两个语音专用变体不适用;账号已同步确认可用)。
2026-08-29 00:29:01 +08:00
yigeandyige 37ad16f612 feat(compute): 声明 Anthropic thinking 回放能力 (#87)
Co-authored-by: yige <yige@yigedeMacBook-Neo.local>
2026-08-28 18:55:12 +08:00
yige 3dbb9f2d83 fix(compute): 修正 summary 映射的模型名,账号实际同步的是带日期后缀版本 (#86)
真机验证发现 desirecore-cloud 账号 /api/v1/me/models 同步下来的模型目录里
只有 deepseek-v4-flash-0731(isDefault=true),没有裸的 deepseek-v4-flash——
PR #85 用的裸模型名精确匹配不上,导致摘要模型钉选静默失效(原样透传,无报错)。

改为 deepseek-v4-flash-0731(当前账号实际的 flash 档默认模型,contextWindow
与 pro 档一致但 inputRatio/outputRatio 明显更低)。这类日期后缀模型名可能
随云端版本迭代变化,后续如再次不匹配,只需改这个文件重新同步,无需改代码。
2026-08-28 18:07:10 +08:00
yige fadc3375c2 feat(compute): 新增 summary 服务映射,摘要专用轻量模型可配置化 (#85)
desirecore 主仓库把话题摘要/会话摘要/只读深度摘要三处的 provider/model 钉选逻辑
统一收口,原先硬编码在代码里的 desirecore-cloud + deepseek-v4-flash 组合改为读取
这里的 defaultServiceMap.summary,命中该 providerId 时钉选为该轻量模型,避免摘要
任务沿用主会话的重型模型参数。
2026-08-28 16:33:31 +08:00
yige a998e18e6c chore(compute): 下架零一万物 API 配置 (#84) 2026-08-28 14:52:05 +08:00
yige c46cf07d2f feat(compute): 补 GLM-5.3 系列规格并标注 Ox Alpha 真身 (#81)
* feat(compute): 补 GLM-5.3 系列规格并标注 Ox Alpha 真身

Ox Alpha 是智谱 GLM-5.3-Flash 的匿名发布别名(canonical_slug
z-ai/glm-5.3-flash-20260826,2026-08-26 揭晓后已从 OpenRouter 列表下架)。

改动:
- model-specs/zhipu.json 新增 glm-5.3 与 glm-5.3-flash 正式规格。两者均
  强制思考(z.ai 文档:thinking.type 仅接受 enabled;OpenRouter models API:
  reasoning.mandatory=true,supported_efforts=[max,high,low]),故
  routing.reasoning.supportedModes 不含 off。按 #79 的教训只用 exact 匹配,
  避免 glm-5.3* 误吞 glm-5.3-flash。
- model-specs/stealth.json 的 ox-alpha 用 spec.extra.modelOrigin 标注真身。
  条目保留:云端算力可能仍以旧别名下发该模型。
- schemas/model-spec.schema.json 为 extra.thinkingOnly / thinkingDefault
  补正式定义与 description。此前这两个键无任何说明,客户端因此从未消费,
  用户选「关闭思考」即触发上游 400(见 desirecore#2307)。
- scripts/validate.mjs 新增静默失效键名巡检:extra 是开放对象,写错键名
  既不报错也无告警。当前巡出 17 处扁平 extra.reasoningEffort。刻意只告警
  不失败——存量取值需逐个核实各自接入面实际接受哪些 effort。

* docs(schema): 写明 extra.reasoning 与 thinkingOnly 的职责边界

provider schema 的 extra.reasoning 此前只有子字段 description、对象本身没有,
维护者看不出它与 model-spec 的 thinkingOnly 分别回答什么问题——issue
desirecore#2307 的误解正源于此。补上对象级说明:本键答「接入面接受哪些 effort
值」且只能写在 provider model;thinkingOnly 答「off 能不能用」、不声明深度档位。
2026-08-27 15:21:25 +08:00
yige fa2f10dd0d feat: 添加万相 3.0 视频模型配置 (#80) 2026-08-25 08:35:44 -04:00
yige e3b20e4790 fix: validate smart routing tier completeness (#76) 2026-08-10 19:32:41 +08:00
yige ad8c515938 refactor: consolidate smart routing into model specs (#75) 2026-08-10 19:13:08 +08:00
yige d6f939af52 feat: 下发智能路由模型目录 (#74) 2026-08-10 17:03:06 +08:00
yige 78ed93f127 feat(compute): Claude 系列 defaultEffort 统一为 xhigh,presetDataVersion → 87 (#73)
Anthropic 对 Fable 5 / Opus 5 / Sonnet 5 的建议是编程与智能体场景用 xhigh
(Claude Code 自身默认即 xhigh),而此前沿用的是 API 默认值 high。DesireCore
是智能体操作系统,主力场景就是编程与长程智能体任务,故对齐到 xhigh。

两个 Anthropic provider 的 fable-5 / opus-5 / sonnet-5 同步调整,
extra.reasoning.defaultEffort 与顶层文档性 extra.defaultEffort 保持一致。
Haiku 4.5 不支持 effort 参数,无 reasoning 声明,不受影响。

注意:这会抬高默认 token 消耗;用户仍可在模型选择器按会话下调档位。
OpenAI Codex 的 per-model defaultEffort(low/medium/medium)是按模型分别调过的,
不属于本次对齐范围。
2026-08-08 18:52:31 +08:00
yige 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
yige 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
yige 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
yige 89b292dc12 fix: correct MiMo V2.5 Pro multimodal capability (#69) 2026-07-28 09:47:26 +08:00
yige 130b8f9ef9 feat(compute): 添加 qwen3.8-max-preview 模型 (#66)
- 新增 Qwen3.8-Max Preview 到 dashscope provider 和 model-specs
- 100万上下文,支持视觉理解(serviceType 含 vision)、Agent、推理
- supportsReasoning: true
- 定价:输入 ¥12/M token,输出 ¥36/M token
- presetDataVersion 81 → 82
2026-07-25 15:31:40 +08:00
yige 2ddf3045d6 fix: account for native search request pricing (#65) 2026-07-24 12:28:07 +08:00
yige 96842d2080 feat: configure tiered web search providers (#64) 2026-07-24 00:30:47 +08:00
yige 523e667b40 fix(compute): enforce reasoning effort boundaries (#60) 2026-07-19 21:47:10 +08:00
yige 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
yige 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
yige 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
yige 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
yige 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
yige 6d7a3a70c3 feat(schemas): provider 加可选 requiredClientVersion 字段 + 向后兼容规约 (#54)
配合 desirecore #1038 的 provider 级版本门槛:新凭据源/新能力 provider 必须
声明最低客户端版本,≥#1038 的客户端据此优雅门控为「需更新客户端」。
带 pattern 收紧格式(客户端 schema 端故意开放 string + fail-open,源头把关
放这里)。CLAUDE.md 补充「enum 扩值 vs 新增可选字段」的风险区别与推送时序规约。
2026-07-09 18:25:16 +08:00
yige 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
yige 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
yige 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
yige 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
yige 4c17911630 chore(schemas): runtime-recommended 收紧 sha256 为必填(6 平台齐全) (#46)
与主仓库 lib/schemas/agent-service/runtime-manifest.ts 同源导出,强化归档防篡改校验
2026-07-07 19:23:22 +08:00
yige c67dfc2143 chore: refresh vendor model presets
Refresh vendor model presets and bump config data version.
2026-07-07 16:31:24 +08:00
yige 92e0d4651a chore: refresh GLM model configs
## Summary
- add GLM-5.2 and GLM-4.7-FlashX to Zhipu provider config
- update GLM context/output/pricing tiers from official BigModel docs and pricing
- align Zhipu Coding Plan with official GLM-5.2, GLM-5-Turbo, and GLM-4.7 availability
- sync existing GLM max output values in DashScope configs
- address Copilot review by using extra.pricingTiers consistently

## Validation
- npm run validate
- npm test
- git diff --check
2026-07-07 16:25:21 +08:00
yige 255e5a5b1b feat(runtimes): 新增推荐运行时清单与离线兜底版本清单 (#44)
- runtimes/recommended.json:Python 3.13.9 (hatch 1.16.5 pin) + Node.js 24.18.0 LTS,
  含 6 平台归档路径与 SHA-256,供主仓库构建时打包离线运行时与首启导入
- runtimes/versions-fallback.json:Node/Python/包管理器版本快照,
  客户端联网查询失败时的兜底列表
- schemas + validate.mjs 映射 + 测试(与主仓库 lib/schemas/agent-service/runtime-manifest.ts 同源导出)
- 不递增 presetDataVersion:runtimes/ 由客户端直接读取,不参与 compute.json 合并
2026-07-07 16:04:14 +08:00
yige 847f4bd139 更新 Kimi 模型配置 (#40)
更新 Kimi 模型配置

- 更新 Moonshot/Kimi 官方 provider 模型清单
- 新增 K2.7 Code、K2.7 Code HighSpeed 和 V1 vision-preview 模型
- 移除已下线 K2 系列并添加 tombstones
- 同步 Kimi Code coding plan 参数

验证:
- npm run validate
- npm test
2026-07-07 15:51:36 +08:00
yige f0e14a8b5e 更新 DeepSeek 官方模型配置
更新 DeepSeek 官方模型配置
2026-07-07 15:47:06 +08:00
yige 66113b06cf 更新 Qwen 模型配置 (#41)
更新 Qwen 模型配置
2026-07-07 15:41:24 +08:00
yige da0397f74b feat(compute): 补齐媒体生成 provider 能力声明(Seedream/Seedance/快乐马) (#34)
- volcengine:services 增 image_gen/video_gen;新增 doubao-seedream-4-0-250828(真 img2img/多图融合)与 doubao-seedance-2-0-260128(多素材视频)模型
- dashscope:新增快乐马 happyhorse-1.0-t2v/i2v/r2v 视频模型
- service-map:默认 image_gen→minimax/image-01、video_gen→minimax/MiniMax-Hailuo-2.3(指向已有内置工具适配器的后端)

使算力配置 UI 能展示这些 provider 的图像/视频能力标签与模型,用户填 key 时即可显式知晓其用途。
2026-07-06 14:41:57 +08:00
yigeandyi-ge ef632d4e6a feat(api-providers): 新增 web_search / image_understanding 声明式后端默认配置 (#31)
- api-providers/{web-search,image-understanding}/*.json + _index.json
- 新增 schemas/api-provider.schema.json,validate.mjs 纳入校验(CI 自检)
- 不改 compute/ 与 manifest,presetDataVersion 不变:老客户端忽略新目录,线上不受影响

Co-authored-by: yi-ge <jackyoncode@gmail.com>
2026-06-09 09:54:27 +08:00
yige 9633df0219 chore(internal-testing): 默认模型改为 MiMo V2.5 Pro(小米 Pro);bump presetDataVersion to 54 (#29) 2026-05-30 15:05:04 +08:00
yige e17a00d48b chore(internal-testing): 新增 Qwen3.7 Max 并设为默认模型;bump presetDataVersion to 51 (#25) 2026-05-23 10:24:58 +08:00
yige cc3f0b53da chore(internal-testing): 回退 DeepSeek V4 Pro/Flash 视觉与 OCR 能力(实测不支持);bump presetDataVersion to 50 (#24) 2026-05-20 13:37:45 +08:00
yige b8019c4a30 chore(internal-testing): DeepSeek V4 Pro/Flash 新增视觉(图像理解)与 OCR 能力;bump presetDataVersion to 49 (#23) 2026-05-20 12:35:23 +08:00
yige 72163bac46 chore(internal-testing): 默认模型改为 DeepSeek V4 Pro;bump presetDataVersion to 48 (#22) 2026-05-18 22:37:08 +08:00
yige 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
yige 75f507b6fd chore: 新增 CI 拦截 AI 贡献痕迹 (#18)
- scripts/check-no-ai-attribution.sh:扫描指定 git 范围,命中 AI 身份、Co-Authored-By trailer、Generated/Authored 声明或机器人 emoji 时报错
- scripts/ai-attribution-patterns.txt:外置 AI 工具/厂商关键字清单,便于按需扩展
- .github/workflows/no-ai-attribution.yml:PR (target main) 与 push (main) 时对增量 commit 范围运行扫描
- CLAUDE.md:项目级 commit 身份规范,禁止任何 AI 署名/辅助标记
2026-05-08 17:48:34 +08:00
yigeandClaude Opus 4.7 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
yige 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
yige 8aa03dbb4e fix(ci): drop npm install fallback and use explicit test file path (#4)
回应 PR #3 review 反馈:

1. 移除 'npm ci || npm install' 兜底 (Copilot review #2)
   lockfile 已 commit,兜底反而会掩盖未来 lockfile 不一致问题,
   导致 CI 依赖解析随时间漂移。改为纯 'npm ci' 严格按 lockfile 安装。

2. test 脚本改用具体文件路径 (Copilot review #3)
   原 'node --test __tests__/*.test.mjs' 依赖 shell glob 展开,
   在 Windows cmd(npm 在 Windows 上的默认 script-shell)不展开 glob。
   实测 'node --test __tests__'(Copilot 建议)在 Node v22 报
   'Cannot find module',故改用直接列具体文件方式:
   'node --test __tests__/validate.test.mjs',跨平台稳定。
   未来新增测试文件需手动追加(成本极低)。

未应用的 review 评论:
- README 表格语法误报:实际已用单 |,Copilot 误读 unified diff 的 + 前缀
- loadSchemas 加 try/catch:schema 文件由维护者控制,原 stack trace 已显示路径,
  额外错误处理属过度防御
2026-04-25 21:50:07 +08:00
yige b238e9e496 Merge pull request #3 from desirecore/feat/schema-validation
feat: frozen schema + CI validation to prevent client-breaking data
2026-04-25 21:40:06 +08:00
yige 96bd5d0de4 chore: commit package-lock.json for CI cache 2026-04-25 21:11:24 +08:00
yige bd448f6c43 feat: frozen schema + CI validation to prevent client-breaking data
引入 frozen JSON Schema 契约(schemas/)和自动校验,作为已发布客户端的兼容防线。

背景:
PR #1 把 reasoning 模型 defaultTemperature/defaultTopP 写为 null,已发布客户端
schema 严格 number → readComputeConfig 校验失败 → sync 死锁。详见 desirecore PR #471。

本次新增:
- schemas/provider.schema.json: 镜像 desirecore d185299(fix #471 之前)的 strict
  computeProviderSchema/providerModelSchema,禁止 null/string/未知字段
- schemas/{manifest,service-map,pricing,providers-index}.schema.json: 配套契约
- scripts/validate.mjs: 扫所有数据文件自动校验
- __tests__/validate.test.mjs: 28 个测试,含 PR #1 反例的回归测试
- .github/workflows/validate.yml: PR/push 自动跑 validate + test

未来新增字段流程:
1. 先在 desirecore 主仓升级 schema 接受新字段
2. 发布新客户端,等用户升级
3. 再更新本仓库 frozen schema 和数据

否则老客户端因 additionalProperties: false 拒绝未知字段而死锁。
2026-04-25 21:09:23 +08:00
yige 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
yige 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
yige 88a8cf2db6 Merge pull request #1 from desirecore/model-field-official-audit
修改模型参数
2026-04-25 17:56:48 +08:00
yige 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
yige 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
yige 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
yige 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
yige 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
yige b2726851e8 chore: bump presetDataVersion to 17 2026-04-08 17:43:58 +08:00
yige c8d4061422 feat: 内测 provider 新增 qwen3.6-plus、qwen3.5-35b-a3b、qwen3.5-27b 三个模型 2026-04-08 16:52:35 +08:00
yigeandClaude Opus 4.6 8ea6fa7bba feat: 内测渠道增加 GLM-5.1 模型支持
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 23:36:33 +08:00
yige a35b268011 feat: add MiniMax M2.7 to official minimax provider 2026-03-19 23:17:37 +08:00
yigeandClaude Opus 4.6 3a655077b0 feat: 内测供应商增加 GLM-5-Turbo 并设为默认
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 20:29:54 +08:00
yigeandClaude Opus 4.6 9d5f1df7cb feat: 内测供应商增加 MiniMax-M2.7
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 16:32:27 +08:00
yigeandClaude Opus 4.6 d44541ca74 feat: 添加内测专用供应商 (internal-testing)
- 端点: https://api.yizhioa.cn/v1
- 协议: anthropic-messages
- 模型: GLM-5, Kimi-2.5, MiniMax-M2.5, Qwen3 Max, Qwen3.5 Plus, 豆包 Seed 2.0 Code Preview
- presetDataVersion: 10 → 11

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 01:57:40 +08:00
yigeandClaude Opus 4.6 b1e6046061 feat: bump presetDataVersion to 9 — apiFormat UI exposure
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 16:22:54 +08:00
yigeandClaude Opus 4.6 e2f4a6935c refactor: defaultTemperature/defaultTopP 从 Provider 级别迁移到 Model 级别
- 删除所有 Provider 顶层的 defaultTemperature / defaultTopP
- 为所有对话类模型添加 model 级别的推荐温度参数(基于官方文档)
- volcengine:将 extra 内温度参数提升到模型顶层正式字段
- presetDataVersion 7→8

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 18:57:13 +08:00