Releases: zhuchenxi113/ai-limit
Release list
v0.3.22
修复 / Fixed
- 修复菜单栏详情下拉面板在出现
⚠️ 报错时会变宽的问题(NSMenu 按字符数截断报错文案,跟真实渲染像素宽度无关,长英文报错句会把面板从 290pt 撑到 456pt;现在改为按真实像素宽度裁尾) - Fixed the menu bar detail dropdown panel becoming wider when a
⚠️ error appears (error text was truncated by character count, unrelated to actual rendered pixel width; long English error messages could stretch the panel from 290pt to 456pt — now truncated by real pixel width instead)
v0.3.21
修复 Fix
- 菜单栏下拉菜单里"打开 Claude 用量页 / 打开 CodeX 分析页"两项顺序此前与其他所有位置(菜单栏图标、显示开关子菜单)不一致,CodeX 排在 Claude 前面;本版本统一改成 Claude 在前,界面顺序保持一致。
- Fixed an inconsistency where the "Open Claude usage / Open CodeX analytics" menu items were ordered CodeX-before-Claude, unlike every other place in the menu (bar icons, visibility toggles). Now consistently Claude-first throughout.
v0.3.20
新增 New
- 菜单栏 App 新增"一键更新":发现新版本后点击"立即更新",App 会自动下载并校验官方签名公证的安装包,退出后自动替换为新版并重新启动,不用再手动下载 DMG 拖拽安装。
- Added one-click update to the menu bar app: when a new version is found, click "Update Now" and the app will automatically download and verify the officially signed & notarized installer, then quit, replace itself, and relaunch — no more manual DMG download and drag-install.
v0.3.19
- Add local-only 2-hour menubar quota history for diagnosing sudden quota changes.\n- Replace oversized status emoji with smaller self-drawn status dots using Claude Status colors.\n- Bump app and CLI version to 0.3.19.
v0.3.18
修复 Fixes
- 图标黑色色块此前画满整个画布无留白,macOS(Big Sur+) 按标准留白网格渲染时色块外面多出一圈系统加的白色背板;现按 80.5%/9.77% 留白公式 + 淡投影重画,图标外圈白边消失。
- App icon's black tile previously filled the entire canvas with no transparent margin. macOS (Big Sur+) renders icons on a grid expecting ~80.5% fill / ~9.77% margin, so the missing margin caused the system to composite an extra white backing plate around it. Redrawn with the correct margin + subtle drop shadow — the white halo is gone.
改进 Improvements
- 菜单栏 App 在 Finder / Dock / 关于窗口的展示名从
ai-limit改为AI Limit,符合 macOS Title Case 惯例;终端 CLI 命令ai-limit、GitHub 仓库名、Bundle Identifier 均保持不变。 - The menu bar app's display name in Finder / Dock / About panel changed from
ai-limittoAI Limit, matching macOS Title Case convention. Theai-limitCLI command, GitHub repo name, and Bundle Identifier are all unchanged.
v0.3.17
新增功能 / New Feature
服务状态监控 Service Status Monitoring
菜单栏 Claude Code / CodeX 段头新增服务状态圆点(🟢/🟡/🟠/🔴),点开子菜单可勾选具体监控哪些官方组件(Claude Code、claude.ai、Codex CLI/App/API 等),多选时展示最差状态;子菜单第一行可直接跳转官方 status 页查看详情。
Added a service-status indicator (🟢/🟡/🟠/🔴) next to the Claude Code / CodeX menu bar headers. Open the submenu to choose which official components to monitor (Claude Code, claude.ai, Codex CLI/App/API, etc.) — when multiple are selected, the worst status is shown. The first submenu item jumps directly to the official status page.
改进 / Improvements
- 语言切换入口固定显示"语言 Language"双语标签,避免误入陌生语言界面的用户找不到切换入口 / The language-switch menu entry now always shows a bilingual "语言 Language" label so users who land on an unfamiliar-language UI can still find it
- Developer ID 签名 + 公证 + Staple 完整走通,首装无需绕过 Gatekeeper / Fully signed, notarized, and stapled with Developer ID — no manual Gatekeeper bypass needed on first install
v0.3.16
安装说明 / Installation
直接双击 DMG 安装,无需手动绕过 Gatekeeper。
Double-click the DMG to install. No manual Gatekeeper bypass required.
更新内容 / Changes
改进
- DMG 安装包现已通过 Apple Developer ID 公证(Notarized)。首次安装仅弹一次系统确认,不再出现「已损坏」或「无法验证开发者」的拦截提示。
Improvements
- The DMG is now notarized with Apple Developer ID. First launch shows only a standard system confirmation dialog — no more "app is damaged" or "unidentified developer" warnings.
v0.3.15
修复
- 修复菜单栏详情行百分比对齐问题:当剩余额度为个位数(如 7%)时,重置时间列与两位数行不对齐。根因是
{pct:>3}用 ASCII 空格填充,但 ASCII 空格比数字字符窄,导致 tab stop 提前耗尽。改用等宽的 U+2007 Figure Space 填充后,所有行的重置时间列对齐一致。
Fix
- Fix misaligned reset-time column in menu bar detail rows when remaining quota is a single digit (e.g. 7%). ASCII space padding in
{pct:>3}was narrower than a digit in SF Pro, causing the tab stop to be hit at a different pixel position. Replaced with U+2007 figure space (digit-width) so all rows align correctly.
v0.3.14
中文
修复:初次打开 App 时,因数据尚未读取完成而误显示 ai-limit… 加载态,数据就绪后展示用量百分比。真正的未登录 / 抓取失败仍会显示
English
Fix: on first launch, the menu bar no longer shows a false ai-limit… loading state and switches to usage percentages once data is ready. Genuine not-logged-in / fetch failures still show
v0.3.13 — 菜单栏图标/详情面板分开控制 + UA 跟随本机 Chrome
新功能 / New
- 菜单栏图标与详情面板分开控制:菜单栏只显示部分服务以省空间,下拉面板仍看全部 / Menu bar icons and the detail panel can now be controlled separately
- 菜单栏样式:数字+电池 / 仅数字 / 仅电池 — Menu bar style: number+battery / number only / battery only
改进 / Improved
- User-Agent 跟随本机 Chrome 版本,减少一个被识别为自动化的特征 —— 感谢 @FernandeZ-hjm (#2) / User-Agent now follows the installed Chrome version, removing one signal that looks like automated traffic — thanks @FernandeZ-hjm (#2)
修复 / Fixed
- 「检查更新」遇预览版号静默崩溃 / "Check for Updates" silently crashing on pre-release version strings
- import 时跑 subprocess 拖慢菜单栏 App 启动 / subprocess running at import time slowing menu-bar app startup