Skip to content

v1.0.2 — 倒计时解析修复

Choose a tag to compare

@pemagic pemagic released this 23 Feb 09:32
· 14 commits to main since this release

Changes since v1.0.1

  • 配额重置自动刷新: 配额窗口到期后 5 秒自动拉取最新数据,不再卡在旧百分比 + "Resetting..."
  • ANSI 解析修复: 修复 CLI TUI 光标优化导致 "6am" 被误解析为 "6 minutes" 的问题(显示错误的 "Resets in 5m")
  • 相对时间正则严格化: 数字与单位之间不再允许空格,防止乱码文本误匹配
  • 乱码时间回退解析: 新增启发式解析器,识别 ANSI 剥离后的残缺时间格式

  • Auto-refresh on quota reset: Fetches fresh data 5s after usage window expires, no more stale "11% + Resetting..."
  • ANSI parsing fix: Fixed CLI TUI cursor optimization garbling "6am" → "6 m", which was misinterpreted as "6 minutes"
  • Strict relative-time regex: No spaces allowed between number and unit, preventing garbled text false positives
  • Garbled time fallback: New heuristic parser recovers hour from ANSI-mangled time strings