v2.6.25

BenedictKing/ccxv2.6.25Mar 3, 2026by github-actions[bot]

AI Summary

Fixes token counting errors in Gemini streaming responses and resolves compatibility issues when converting Gemini formats to Claude format.

Key Highlights

  • Gemini streaming response token count correction
  • Gemini to Claude format compatibility fix

Full Release Notes

### 🐛 修复

- **Gemini 流式响应 token 统计修正** - 修复流式响应中 `cachedContentTokenCount` 迟到时 input token 值计算错误的问题,现在会正确扣除缓存 token 数
- **Gemini 转 Claude 格式兼容** - 修复 Claude  Code 使用 Gemini 模型时提示找不到 usage 字段的问题(感谢 [@DragonFive](https://github.com/DragonFive) 的贡献 [#13](https://github.com/BenedictKing/ccx/pull/13))

---

## New Contributors

* @DragonFive made their first contribution in https://github.com/BenedictKing/ccx/pull/13

**Full Changelog**: https://github.com/BenedictKing/ccx/compare/v2.6.24...v2.6.25