v2.8.10

BenedictKing/ccxv2.8.10May 28, 2026by github-actions[bot]

AI Summary

This update introduces a lightweight i18n framework for the desktop app and adds support for OpenCode Agent configuration. It also changes the update mechanism to silent checks and fixes routing issues with bare API prefixes.

Key Highlights

  • Desktop i18n framework added (zh-CN / en)
  • OpenCode Agent configuration support added
  • Silent version check replacing auto popup
  • Fixed SPA routing fallback for bare prefixes like /v1 and /api

New Features

  • i18n support
  • OpenCode support
  • Silent updates
  • Routing fix

Full Release Notes

### ✨ 新功能

- **桌面端多语言切换** - 新增轻量 i18n 框架(zh-CN / en),默认英文并自动跟随系统语言,首次启动按系统语言选择、手动切换后持久化;语言切换入口集成到侧栏底部守护面板,用户可见文案全面迁移到 i18n。
- **桌面端 Agent 配置支持 OpenCode** - 新增 OpenCode 平台支持,默认走 ccx 本地网关,可选直连 DeepSeek/Kimi/GLM/MiniMax 及 OpenCode Zen/Go;自动写入 `~/.config/opencode/opencode.jsonc` 与 `~/.local/share/opencode/auth.json`;同步补充中英文 OpenCode 客户端配置文档。
- **静默版本检查替代自动弹窗** - 关闭 Wails Updater 30 分钟自动检查弹窗,改为直查 GitHub Releases 并在侧栏版本号旁显示「新版」胶囊(仅在有更新时显示,点击打开 release 页);托盘菜单「检查更新…」入口保留主动安装流程。
- **渠道中心 preset 文案 i18n 化并区分 plan 渠道名** - preset/plan/target 文案按 key 翻译、缺失 key 回退到原文;选中非默认 plan 时自动追加 plan 后缀,避免 MiMo/DashScope 多套餐同名覆盖。

### 🐛 修复

- **裸 API 前缀不再被兜底成 WebUI** - 修复 `GET /v1`、`GET /api`、`GET /admin`、`GET /v1beta` 等裸前缀被 SPA 路由兜底返回 `index.html` 的问题。
- **统一 Agent 卡片 Provider 下拉文案** - 修复 Codex / Claude / OpenCode 卡片的 ccx 选项文案与 placeholder 不一致问题,统一改用同一套 i18n key。
- **修复回传 Thinking Blocks 开关图标** - 补齐 `mdi-head-snowflake` 的 SVG 导入与映射,开关不再回退到占位文本。

### 🔧 改进

- **OpenCode 直连仅保留官方原生支持的国产渠道** - OpenCode 卡片下拉移除 OpenCode 官方未原生支持的渠道,仅保留 ccx + DeepSeek/Kimi/GLM/MiniMax + Zen/Go。
- **状态页 ServiceDetails 卡片去重与瘦身** - 移除与 Sidebar 重叠的 PID/Health 信息和冗余小标题,并收紧上下内边距提升信息密度。

### 📝 文档

- **新增桌面端教程截图** - 为桌面端使用指南补充压缩后的 CCX Desktop 截图,端口引用对齐到默认 3688。

---

**Full Changelog**: https://github.com/BenedictKing/ccx/compare/v2.8.9...v2.8.10