Commit Graph
3 Commits
Author SHA1 Message Date
Jidekin a9e1826377 chore(sync): 2026-10-21 模型清单同步(+4 / -7)
opencode: +beam-free +minimax-m3.1-flash-free +step-5-preview
          -deepseek-v4-flash -deepseek-v4-flash-vision-exp -grok-4.6
          -kimi-k2.6 -minimax-m2.7 -space-bunny -step-5-preview-free
agnes:    +agnes-2.5-pro-beta(¥3/¥6)
重新适配文档后首次落盘,热重载已生效。
2026-10-21 10:26:51 +08:00
Jidekin 5a69852dd8 fix(sync): 适配 OpenCode 文档改版(Endpoints 改为 /inference/go/<vendor>/v1/)
文档 Endpoints 表地址从 https://opencode.ai/zen/go/v1/<path> 改为按供应商分线:
  /inference/go/openai/v1/{chat/completions,responses}
  /inference/go/anthropic/v1/messages
  /inference/go/google/...(Google 原生,网关不支持)
旧的 "/zen/go/v1/" 硬匹配导致一个模型都解析不出,每日同步固定 exit 2。
改为按路径末尾识别三条协议线(新旧格式都兼容),认不出的跳过并在报告里单列。
2026-10-21 10:26:51 +08:00
Jidekin 23244a7b80 chore(frontend): package-lock 去掉腾讯云内网镜像源,改用官方源
194 处 resolved 指向 http://mirrors.tencentyun.com/npm/(腾讯云内网地址,
仅腾讯云机器可达)。在非腾讯云环境 npm ci 会直接失败:
  npm error network request to http://mirrors.tencentyun.com/npm/... failed,
  reason: getaddrinfo ENOTFOUND mirrors.tencentyun.com

改为 https://registry.npmjs.org/ —— 只换 URL,依赖版本与 integrity 哈希完全不变。
本机另配 registry=npmmirror + replace-registry-host=always,安装时自动走国内镜像。
实测:删掉 node_modules 后 npm ci 12.5s 通过,npm run build 28.7s 通过。
2026-10-16 16:06:40 +08:00