Skip to content

v1.8.0

Choose a tag to compare

@zdx52 zdx52 released this 20 Aug 09:51
· 3 commits to main since this release

🌐 OpenRouter Usage Card (Re-added)

The menu bar now shows OpenRouter account usage alongside DeepSeek / Tavily / MiniMax / OpenCode GO:

  • Balance via GET /api/v1/credits — total credits, used, remaining (requires a Management Key)
  • Today's spend via the beta Analytics API (POST /api/v1/analytics/query), grouped by day (UTC-aligned)
  • Used-percentage progress bar with orange/red quota warnings at 50% / 80% usage
  • Health indicator turns orange when OpenRouter quota usage ≥ 75%

🎛️ Settings

  • New "OpenRouter 用量" (show/hide) toggle
  • New OpenRouter Management Key input in Settings (openrouter.ai → Settings → Keys → create a Management Key; regular API keys return 403)

📦 Install

  1. Download AIUsageMonitor-v1.8.0.dmg
  2. Mount it, drag AIUsageMonitor.app into Applications
  3. First launch: right-click → Open (Gatekeeper)
  4. Configure API keys in Settings

Full changelog: v1.8.0 commits.


🌐 OpenRouter 用量卡片(重新加入)

菜单栏现在与 DeepSeek / Tavily / MiniMax / OpenCode GO 一起显示 OpenRouter 账户用量:

  • 余额 — 通过 GET /api/v1/credits 获取充值总额 / 已用 / 剩余(需 Management Key)
  • 当日花费 — 通过 beta Analytics API(POST /api/v1/analytics/query)按天分组(UTC 日对齐)
  • 已用百分比进度条,额度使用 50% / 80% 时显示橙色 / 红色预警
  • 用量占比 ≥ 75% 时菜单栏健康指示变橙色

🎛️ 设置

  • 新增「OpenRouter 用量」显示开关
  • 新增 OpenRouter Management Key 输入框(openrouter.ai → Settings → Keys → 创建 Management Key;普通 API Key 调用会返回 403)

📦 安装

  1. 下载 AIUsageMonitor-v1.8.0.dmg
  2. 双击挂载,将 AIUsageMonitor.app 拖入 Applications
  3. 首次启动:右键 → 打开(Gatekeeper 限制)
  4. 在设置面板填 API Key

完整更新内容见 v1.8.0 commits