Skip to content

Agent Signal Bar v1.4.1

Choose a tag to compare

@github-actions github-actions released this 19 Jun 15:05

Agent Signal Bar v1.4.1

English

Highlights

  • Adds a Usage page with Codex quota, token usage, and tool-call activity in the same native settings UI.
  • Adds floating-light badges for Codex quota and token usage, with persistent badge positions and compact popovers.
  • Improves local Codex token scanning with daily bars, hover details, model breakdowns, and Fast/Standard usage estimates.

Changes

  • The Usage page now shows Codex quota, 30-day token usage, today's token usage, daily bar charts, model details, and local tool-call totals.
  • Floating badges can show running-agent count, quota, and token usage with default positions around the floating signal light.
  • Token usage refresh now uses cached local results immediately, then refreshes in the background.
  • Tool-call activity now updates from live events so the Usage page does not wait for the next full scan.
  • Release verification now writes temporary status JSON to a unique file instead of a fixed /tmp path.

Fixes

  • Fixed Codex API-key auth handling so quota polling no longer rewrites API keys into OAuth token fields in ~/.codex/auth.json.
  • Fixed WHAM quota decoding when used_percent is returned as a decimal value.
  • Fixed a startup window where restored live token usage could be counted twice before the first token scan finished.
  • Fixed token chart details so Standard/Fast usage is visible whenever the selected day has classifiable usage.
  • Kept CodexBar from being treated as a release blocker because it is not misdetected on the tested local process shape.

Release verification

  • git diff --check
  • bash -n script/verify_release_all.sh
  • DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift test --filter AgentSignalLightCoreTests/testCodexRateLimitFetcher
  • DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift test --filter AgentSignalLightCoreTests/testCodexTokenActivity
  • DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift build --product AgentSignalLight

Downloads

简体中文

亮点

  • 新增「用量」页面,把 Codex 配额、Token 使用和工具调用活动放进同一套原生设置 UI。
  • 悬浮灯新增 Codex 配额和 Token 用量角标,支持位置持久化和紧凑浮窗。
  • 改进本地 Codex Token 扫描,支持每日柱状图、悬停详情、模型拆分,以及快速 / 标准用量估算。

改进

  • 「用量」页面现在显示 Codex 配额、近 30 天 Token 用量、今日 Token 用量、每日柱状图、模型详情和本地工具调用总计。
  • 悬浮角标可以显示运行数量、配额和 Token 用量,并在悬浮信号灯周围提供默认位置。
  • Token 用量刷新会先立即显示本地缓存,再在后台刷新完整扫描结果。
  • 工具调用活动会从实时事件更新,减少等待下一次完整扫描的延迟。
  • 发布验证脚本现在把 status JSON 写入唯一临时文件,不再使用固定 /tmp 路径。

修复

  • 修复 Codex API key 认证处理:配额轮询不会再把 API key 写进 ~/.codex/auth.json 的 OAuth token 字段。
  • 修复 WHAM 配额接口返回小数 used_percent 时解码失败的问题。
  • 修复启动初期 Token 扫描尚未完成时,恢复的 live token 可能被重复计入的问题。
  • 修复 Token 图表详情:只要选中日期有可分类用量,就会显示标准 / 快速拆分。
  • CodexBar 在本机测试的进程形态下不会误判为 Codex CLI,因此本次不加入额外过滤。

发布验证

  • git diff --check
  • bash -n script/verify_release_all.sh
  • DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift test --filter AgentSignalLightCoreTests/testCodexRateLimitFetcher
  • DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift test --filter AgentSignalLightCoreTests/testCodexTokenActivity
  • DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift build --product AgentSignalLight

下载