mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-07 16:18:29 +08:00
active poll 拿到新 5h ResetsAt 时只回写了 Extra.session_window_utilization, 没回写 SessionWindowEnd column;estimateSetupTokenUsage 读这个 column 作为 5h 窗口结束时间,导致被动采样模式下 dashboard 显示 utilization > 0 但 reset 时间渲染为「现在」。 - syncActiveToPassive 增加 UpdateSessionWindowEnd 回写 - estimateSetupTokenUsage 抄齐 Codex 分支的过期归零 guard,避免 active poll 没回写时 UI 渲染矛盾 - UsageProgressBar 区分「待刷新」/「现在」语义;i18n key 中英补齐