Skip to content

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 01 Jul 01:40
· 13 commits to main since this release

更新日志

新增

  • 在 TrafficMonitor tooltip 中展示 Codex 额度重置卡信息:可用数量、每张卡的状态、标题、获取时间和过期时间。
  • 采集脚本会读取本机 Codex auth.json 中的 tokens.access_token,请求 ChatGPT reset credits 接口,并把 UTC 时间转换为当前电脑时区显示。

隐私与失败处理

  • 状态 JSON 和 tooltip 只写入 available_count、status、title、granted_at、expires_at,不会写入 access token、refresh token、cookie 或完整唯一 ID。
  • 如果本机缺少凭证、接口返回 401 或请求失败,则不展示重置卡区域;401 会记录为凭证失效或未携带 Authorization header。
  • 对既有 rate-limit 来源字段中的完整 UUID 也做了短化,避免状态文件暴露完整唯一 ID。

其他

  • 插件版本更新到 0.1.3。
  • 更新 README 和数据格式文档。
  • 增加 reset credits 采集、脱敏、401 处理、tooltip 条件展示测试。

验证

  • python -m unittest discover -s tests
  • .\tools\build.ps1 -Platform x64 -Configuration Release -SkipSign
  • GitHub Actions Release workflow 已通过,并上传 CodexUsage-TrafficMonitor-x64.zip。