v2.7.1

BenedictKing/ccxv2.7.1May 17, 2026by github-actions[bot]

AI Summary

Enhances channel statistics with time dimensions and adds a switch to handle empty text blocks in Claude protocols.

Key Highlights

  • Expanded channel statistics with 7d and 30d time dimensions
  • New switch to strip empty text blocks for strict upstreams
  • SSE keep-alive improvements to prevent disconnects

New Features

  • 渠道统计对齐接入点统计 - 7d/30d trends with request/success/token cards
  • Claude 协议空 Text Block 兼容开关 - New switch to remove empty blocks
  • Responses SSE keep-alive - Prevents disconnects during slow upstreams
  • Override 熔断自动清除 - Clears override when all channels are fused

Full Release Notes

### ✨ 新功能

- **渠道统计对齐接入点统计** - 渠道 Key 趋势图新增 7d/30d 时间维度,展示总请求次数、成功率、Token 汇总卡片

### 🐛 修复

- **Claude 协议空 Text Block 兼容开关** - 修复第三方 Claude 协议上游因空 text block 返回 400 的问题,新增 `stripEmptyTextBlocks` 开关
- **Responses SSE keep-alive** - 为 Responses 流式代理增加 SSE keep-alive,防止慢上游思考期间触发客户端 idle timeout 断连

### 🔧 改进

- **Override 熔断自动清除** - 当 override 序列中所有渠道均熔断时自动清除,避免 NEXT 标签长期残留
- **渠道熔断状态下发前端** - 驾驶舱实时显示渠道熔断状态(FUSED 标记)

---

**Full Changelog**: https://github.com/BenedictKing/ccx/compare/v2.7.0...v2.7.1