Skip to content

v0.7.0 — template docs links + cce template docs + Xiaomi MiMo

Choose a tag to compare

@zhouxiaofu zhouxiaofu released this 12 Jun 16:10
· 12 commits to main since this release

cce v0.7.0 — 模板文档直达 + 小米 MiMo 模板 / template docs links + Xiaomi MiMo templates

每个内置模板现在都带官方文档链接,新命令 cce template docs 一键在浏览器打开,配置对不对、模型名变没变,跳过去一比就知道。同时新增小米 MiMo 两套模板(按量付费 / Token Plan),智谱 GLM 模板按官方文档补齐模型映射。

Every builtin template now carries its official docs URL, and the new cce template docs command opens it in your browser — one jump to verify your config against the provider's own page. Also new: two Xiaomi MiMo templates (pay-as-you-go / Token Plan), and the GLM template gains the official model mappings.

新增 / New

  • cce template docs <名> [--print](别名 doc)/ (alias doc)
    cce template docs deepseek   # 在浏览器打开官方接入文档 / open the official docs in your browser
    cce template docs            # 不带名字:弹出模板选择菜单 / no name: interactive picker
    cce template docs glm -p     # 只打印 URL(SSH/无图形环境)/ just print the URL (headless)
    浏览器打开失败时自动降级为打印链接;仅放行 http(s) 链接。/ Falls back to printing the URL when no browser is available; only http(s) URLs are ever handed to the OS.
  • 模板新增 docs 字段 / docs field on templates:cce template show 会显示文档链接,cce add 创建成功后也会附上,方便对照官方文档确认配置。/ Shown in cce template show and after cce add, so you can verify the config against the provider's docs.
  • 小米 MiMo 模板 / Xiaomi MiMo templates:mimo(按量付费 API / pay-as-you-go)与 mimo-tp(Token Plan 订阅 / subscription),模型预置 mimo-v2.5-pro[1m](1M 上下文 / 1M context)。

变化 / Changes

  • glm 模板对齐官方文档 / GLM template synced with official docs:补上 ANTHROPIC_DEFAULT_OPUS_MODEL=glm-5.1、SONNET=glm-5-turbo、HAIKU=glm-4.5-air。
  • README 重写(中英)/ README rewritten (zh + en):开头一眼看懂定位,「30 秒接入第三方 API」快速上手,与 cc-switch 的逐项对比表。/ Lead with what/why, a "30s third-party API" quickstart, and a point-by-point cc-switch comparison.
  • 四种 shell 的补全、help、中英文界面文案均已更新。/ Completion for all four shells, help, and both UI languages updated.

模板(含文档链接与 MiMo)从 GitHub 实时获取,老版本 cce 也能在缓存刷新后用上新模板;但 cce template docs 命令本身需要升级到 v0.7.0。/ Templates (docs links + MiMo) are fetched live from GitHub, so older cce versions pick them up after a cache refresh — but the cce template docs command itself requires v0.7.0.

升级 / Upgrade

cce update 或 / or npm i -g @xiaofuzhou/cce@latest

Full changelog: v0.6.1...v0.7.0