|
|
c2edba2cef
|
Revert "revert(compute): 回滚 Claude 订阅 provider(#47/#48/#49),presetDataVersion → 70 (#50)"
This reverts commit 6ed4b1a66a.
|
2026-07-09 17:53:53 +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 |
|
|
|
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 |
|
|
|
4c17911630
|
chore(schemas): runtime-recommended 收紧 sha256 为必填(6 平台齐全) (#46)
与主仓库 lib/schemas/agent-service/runtime-manifest.ts 同源导出,强化归档防篡改校验
|
2026-07-07 19:23:22 +08:00 |
|
|
|
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 |
|
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
|
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 |
|
|
|
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 |
|
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 |
|
|
|
37d51e6e4d
|
feat(schema): 扩展 provider schema 支持 Token Plan
- accessMode enum 新增 "token-plan"
- 新增顶层 tokenPlan 属性(与 codingPlan 结构对齐)
- usageTracking.method enum 新增 "credits"(Token Plan 使用 Credits 计量)
- dashscope-token-plan.json 恢复语义正确的 tokenPlan 配置
|
2026-05-07 20:15:58 +08:00 |
|
|
|
f29e6966dc
|
fix(schema): allow mediaBaseUrl in provider schema
|
2026-04-29 21:43:28 +08:00 |
|
|
|
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 |
|