Skip to content

CodexUsageBar v0.3.0

Choose a tag to compare

@github-actions github-actions released this 06 Aug 14:47
· 17 commits to master since this release

v0.3.0 主要更新

刷新与倒计时

  • “距重置”改为根据绝对重置时间逐秒递减,归零后显示“正在重置…”。
  • 保持用户选择的 1 / 3 / 5 / 10 / 30 分钟固定刷新;连续失败按 1 / 3 / 5 / 10 / 30 分钟退避,成功后恢复固定间隔。
  • 修复手动刷新、设置变更与并发刷新之间的旧计时器和截止时间竞态。

系统通知

  • 新增低额度、消耗快于时间进度和额度重置通知;总开关默认关闭。
  • 支持可配置阈值、跨午夜静默时段、同周期去重和多窗口合并。
  • 首次成功刷新只建立基线,静默期间事件不会在恢复后补发。

中英文、诊断与反馈

  • 主卡、设置、错误、日期、ARIA、原生设置窗口标题和系统通知完整支持简体中文与英文。
  • 新增只写剪贴板的“复制脱敏诊断”、独立的新建 Issue 和 Release 说明入口。
  • 新增中英文 Issue 表单,并明确提醒不要提交 auth.json、Token 或未检查日志。

本地趋势与耗尽预测

  • 设置侧栏新增独立趋势页,支持 24 小时 / 7 天面积图和重置周期断线。
  • 历史默认采集,只保存在本机,最多保留 7 天;可暂停或清除,账号切换会立即清除旧账号历史。
  • 使用本机随机盐生成不可逆账号指纹和匿名额度流键,不持久化账号、Token、邮箱、上游窗口文案或原始响应。
  • 样本足够时提供“预计在重置前耗尽”或“预计可撑到重置”等本地预测,绝不外推到重置之后。

质量与兼容性

  • Recharts 趋势页动态加载,不进入主卡首屏 chunk。
  • 加强设置保存、事件监听、历史清除和账号切换的并发与隐私边界。
  • 通过 57 项前端测试、2 项更新清单测试和 74 项 Rust 测试,并由 GitHub Actions 在 Windows x64、Windows ARM64、Intel Mac 与 Apple Silicon Mac 上构建验证。

Upgrade notes

  • Existing refresh intervals are preserved. New installations still default to a 1-minute fixed refresh interval.
  • Notifications remain off until explicitly enabled and granted system permission.
  • Local history collection is enabled by default after upgrade and never uploads data; it can be disabled or cleared from Settings → Trends.
  • macOS DMG files use ad-hoc signing and are not notarized by Apple. If Gatekeeper blocks first launch, use System Settings → Privacy & Security, or Control-click the app and choose Open.

From v0.2.5 or earlier, first install a current DMG/NSIS package manually. Later versions can then use the signed in-app updater after user confirmation.