v2.6.81

BenedictKing/ccxv2.6.81May 10, 2026by github-actions[bot]

AI Summary

Introduces advanced reasoning support and enhanced testing capabilities while refactoring authentication and optimizing frontend memory usage.

Key Highlights

  • Support 'max' reasoning effort option in frontend channel parameters
  • Add redirect validation for channel mapping to test upstream redirection rules
  • Improve frontend unit test coverage for data merging and chart logic
  • Optimize frontend memory usage by reducing SVG and chart refresh overhead

New Features

  • Support max reasoning effort
  • Add redirect validation for channel mapping
  • Frontend unit test coverage

Full Release Notes

### ✨ 新功能

- **支持 max 思考强度** - 前端渠道高级参数的 reasoning effort 选项支持 `max`
- **能力测试新增重定向验证** - 渠道配置 ModelMapping 后可额外验证“重定向规则 + 上游”链路是否可用,并在测试弹窗独立展示结果
- **前端单元测试补齐** - 为渠道数据合并、稀疏图表展开和全局定时器等逻辑补充测试覆盖

### 🐛 修复

- **修复前端环境类型声明** - 补充 Vue 单文件组件模块声明,避免 Vite/Vue 类型检查中的全局类型失效
- **修复虚拟协议能力测试** - 重试和重定向验证按渠道实际上游协议构造探测请求,避免虚拟协议路径误测
- **修复上游 model_not_found 处理** - 上游返回 `model_not_found` 时最终归一化为 404,同时仍允许跨渠道故障转移

### 🔧 改进

- **重构前端认证 Store** - 降低 Pinia 持久化插件类型推断问题,保持现有认证行为不变
- **优化前端内存占用** - 收敛 SVG gradient、Tooltip 常驻 overlay、定时器和图表刷新开销,降低多渠道场景下的 heap 基线与 GC 抖动

---

**Full Changelog**: https://github.com/BenedictKing/ccx/compare/v2.6.77...v2.6.81