github jlcodes99/cockpit-tools v0.17.6
Cockpit Tools v0.17.6

8 hours ago

更新日志(中文)

[0.17.6] - 2026-03-20

变更

  • Windsurf 用量模式判定现已按官方 billing strategy 枚举值全链路对齐:账号页会先归一化原始 BILLING_STRATEGY_* 值,再决定走 quota 还是 credits 展示,避免官方 quota 账号因枚举式原值而被误判。
  • Windsurf 的 quota 面板现保持官方三字段摘要完整可见:按 quota 计费的账号现在始终展示每日额度用量、每周额度用量和额外用量余额;当本地快照缺少余额字段时,额外用量余额默认显示为 $0.00

Changelog (English)

[0.17.6] - 2026-03-20

Changed

  • Windsurf usage-mode detection now follows the official billing-strategy enums end-to-end: the account page now normalizes raw BILLING_STRATEGY_* values before deciding between quota and credits, preventing official quota accounts from being misclassified when Windsurf stores enum-style strategy strings.
  • Windsurf quota panels now keep the official three-field summary visible: quota-billed accounts now always render daily quota usage, weekly quota usage, and extra usage balance, defaulting the extra-balance row to $0.00 when the local snapshot does not include an upstream balance value.

Don't miss a new cockpit-tools release

NewReleases is sending notifications on new releases.