Skip to content

Releases: blackstone2333/CPA-Widget

CPA Widget v0.5.10

Choose a tag to compare

@blackstone2333 blackstone2333 released this 08 Aug 10:04

中文

  • 修复从旧版本覆盖升级后,macOS WidgetKit 可能继续运行旧版小组件扩展,导致刷新时间变化但额度仍停留在旧数据的问题。
  • 新版本首次启动时会自动替换旧扩展进程;同一版本后续启动不会重复处理。
  • 不会清空配额缓存、小组件配置或钥匙串信息。
  • 提供 Intel + Apple Silicon 通用版 DMG。

English

  • Fixes an upgrade issue where macOS WidgetKit could keep an older widget extension running, causing the timestamp to refresh while quota values stayed stale.
  • The app now replaces the stale extension once on the first launch of a new build and leaves subsequent launches untouched.
  • Quota cache, widget configuration, and Keychain data are preserved.
  • Includes a universal DMG for Intel and Apple Silicon Macs.

安装 / Installation

打开 DMG,将 CPA Widget 拖入 Applications。由于此版本尚未经过 Apple 公证,如 macOS 阻止启动,请运行:

Open the DMG and drag CPA Widget to Applications. This build is not notarized; if macOS blocks it, run:

xattr -dr com.apple.quarantine "/Applications/CPA Widget.app"

SHA-256: 3dbc9c407ed93bceb12be08abc4b26e2e07ed018a49b5f05a1dbf540fe3a90c5

CPA Widget v0.5.9

Choose a tag to compare

@blackstone2333 blackstone2333 released this 08 Aug 02:40

中文

  • 修复应用启动后菜单栏额度项偶尔不出现的问题。
  • 修复菜单栏外观变更后需要重新开关“显示”才能刷新的问题。
  • 修复浏览器或其他应用进入 macOS 原生全屏后,点击菜单栏图标无法显示额度卡片的问题。
  • 菜单栏现在会同步完成首次渲染、立即重绘,并以跨应用全屏弹层显示。
  • 提供适用于 macOS 14+ 的 Intel / Apple Silicon 通用 DMG。

安装包使用 Apple Development 签名,但未经过 Apple 公证。如果 macOS 阻止打开,请按照 README 中的安装授权说明操作。

English

  • Fixed the menu-bar quota item sometimes missing after app launch.
  • Fixed appearance changes not updating until the Show switch was toggled.
  • Fixed the quota card failing to appear over another app's native macOS full-screen Space.
  • The menu-bar item now performs a synchronous first render, immediate redraw, and cross-app full-screen presentation.
  • Universal DMG for Intel and Apple Silicon Macs running macOS 14+.

The app is Apple Development-signed but not notarized. If macOS blocks it, follow the authorization steps in the README.

CPA Widget v0.5.8

Choose a tag to compare

@blackstone2333 blackstone2333 released this 08 Aug 01:45

中文

  • 修复菜单栏配额按钮偶尔无法点开或无法关闭的问题。
  • 改用明确的菜单栏状态项与弹窗控制,支持再次点击关闭及点击外部关闭。
  • 保留现有配额、刷新、下拉卡片和小组件配置。
  • 支持 Apple Silicon 与 Intel Mac,要求 macOS 14 Sonoma 或更高版本。

当前安装包使用 Apple Development 证书签名但未公证。若 macOS 阻止首次打开,请按 README 中的安装授权说明处理。

English

  • Fixed the menu-bar quota button intermittently failing to open or close.
  • Uses an explicitly managed status item and popover, including second-click and outside-click dismissal.
  • Preserves existing quota, refresh, panel, and widget settings.
  • Universal build for Apple Silicon and Intel Macs; macOS 14 Sonoma or later is required.

The app is Apple Development-signed but not notarized. If macOS blocks the first launch, follow the authorization steps in the README.

CPA Widget v0.5.7

Choose a tag to compare

@blackstone2333 blackstone2333 released this 07 Aug 13:51

CPA Widget v0.5.7

中文

本版本完善了菜单栏点击卡片的双配额信息和长内容滚动体验。

新功能与修复

  • 菜单栏卡片现在会同时显示第一配额与第二配额,不再只显示其中一条。
  • “综合余量”改为两条已选配额百分比的算术平均值,同时保留两条配额各自的明细。
  • 第一配额与第二配额的时间线、账号信息会分别完整展示。
  • 内容较多时仍可垂直滚动;滚动条仅在滚动期间出现,停止后自动淡出,避免长期遮挡内容。

安装

  1. 下载并打开 CPA-Widget-v0.5.7-macOS-universal.dmg
  2. CPA Widget.app 拖到 Applications
  3. 本公开版本未经过 Apple 公证。如果 macOS 阻止打开,请先确认文件来自本仓库,再执行:
sudo xattr -rd com.apple.quarantine "/Applications/CPA Widget.app"
open "/Applications/CPA Widget.app"

支持 macOS 14 Sonoma 及更高版本,包含 Apple Silicon 与 Intel 双架构。

English

This release improves dual-quota information and scrolling in the menu-bar detail panel.

Changes

  • The menu-bar panel now shows Quota 1 and Quota 2 together instead of displaying only one channel.
  • Combined remaining quota is the arithmetic mean of the two selected quota percentages while preserving both underlying details.
  • Timelines and account information are shown independently for both quota channels.
  • Overflow content remains vertically scrollable; the scrollbar appears during scrolling and fades automatically when idle.

Installation

  1. Download and open CPA-Widget-v0.5.7-macOS-universal.dmg.
  2. Drag CPA Widget.app to Applications.
  3. This public build is not Apple-notarized. If macOS blocks it, verify that it came from this repository and run the commands above.

Requires macOS 14 Sonoma or later. The app includes both Apple Silicon and Intel architectures.

SHA-256: 75a16d4d8c8046670f981b7703de479a3f058d9fc3c22250841a56c7d5b05f62

CPA Widget v0.5.6

Choose a tag to compare

@blackstone2333 blackstone2333 released this 07 Aug 12:25

CPA Widget v0.5.6

中文

本版本升级了 macOS 菜单栏配额选择与双额度布局。

新功能与修复

  • 第一配额和第二配额现在是完全独立的数据通道;每条都能分别选择全部账号、某类服务或指定账号。
  • 两条通道都可以选择 CLIProxyAPI 实际返回的任意配额窗口,并支持两个账号、两个服务或同一服务不同窗口自由搭配。
  • 修复 Antigravity 的 Gemini 模型配额与 Claude/GPT 模型配额被错误合并的问题,两类配额现在分别可选。
  • 双进度条和双行布局均使用两个独立通道。
  • 自定义菜单栏布局可分别控制两条配额的图标、百分比和进度条。
  • 百分比与图标等信息可放在进度条同行、上方或下方;双进度条默认使用上方紧凑布局。
  • 旧版菜单栏设置会自动迁移,并保留回退兼容字段。

安装

  • 支持 macOS 14 Sonoma 及更高版本,同时包含 Apple Silicon 与 Intel 架构。
  • 公开包未经过 Apple 公证。如 macOS 阻止打开,请确认文件来自本仓库后执行:
sudo xattr -rd com.apple.quarantine "/Applications/CPA Widget.app"
open "/Applications/CPA Widget.app"

English

This release upgrades the macOS menu-bar quota selector and dual-quota layouts.

Changes

  • Quota 1 and Quota 2 are now fully independent channels; each can target all accounts, one provider, or selected accounts.
  • Each channel can select any quota window actually returned by CLIProxyAPI, enabling arbitrary account/provider/window combinations.
  • Fixed Antigravity Gemini Models being merged with Claude/GPT Models; both windows are now independently selectable.
  • Dual-progress and two-line layouts consume the two independent channels.
  • The custom composer independently controls icons, percentages, and bars for both channels.
  • Meter information can appear inline, above, or below each bar; the dual-progress preset uses the compact above-bar layout by default.
  • Existing menu-bar settings migrate automatically and retain rollback-compatible fields.

Installation

  • Requires macOS 14 Sonoma or later; the archive includes both Apple Silicon and Intel architectures.
  • The public build is not Apple-notarized. If macOS blocks it, verify that it came from this repository and run the commands above.

SHA-256: 21466105a31a3dd38c8aa10012ea0cf191f43dc326afe31c5406f304213968ae

CPA Widget v0.5.5

Choose a tag to compare

@blackstone2333 blackstone2333 released this 07 Aug 11:10
7dcb108

中文

新功能

  • 新增可配置的 macOS 菜单栏额度显示:全部账号、指定服务或指定账号范围。
  • 支持主配额与第二配额窗口选择,以及 10 种预设和自定义组合。
  • 新增双进度条、双行双额度进度条、环形进度和统一 16pt Provider Logo。
  • 菜单栏下拉面板可配置总额度、配额时间线和账号详情的显示与顺序。

修复与改进

  • 修复 Widget 账号选择失效、默认排序覆盖用户选择的问题。
  • Widget 手动刷新改用 App Intent,不再自动打开主应用。
  • 修复菜单栏图标/圆环/进度条异常放大、消失和布局裁切。
  • 主窗口改为单实例,避免“详情/设置”不断叠加重复窗口。
  • 自动刷新继续复用现有配额缓存;关闭主窗口后应用仍在后台运行。
  • Management Key 只在实际变化时写入钥匙串,减少重复授权提示。
  • “连接与显示设置”整条标题栏均可点击展开或收起。
  • 主应用与 Widget Extension 均为 Apple Silicon + Intel 双架构。

安装

  1. 下载并解压 CPA-Widget-v0.5.5-macOS-universal.zip
  2. CPA Widget.app 拖到 /Applications
  3. 本项目暂未使用 Developer ID 签名。确认文件来自本仓库后,如 macOS 阻止打开,请执行:
sudo xattr -rd com.apple.quarantine "/Applications/CPA Widget.app"
open "/Applications/CPA Widget.app"

公网 HTTP 会明文传输 Management Key。跨网络使用时请优先配置 HTTPS、VPN 或可信隧道。

已知限制

  • 部分 macOS 26 环境可能在台前调度或 Widget 编辑器中保留通用占位图标;Dock、应用功能和 Widget 数据不受影响。

English

New

  • Adds a configurable macOS menu-bar quota display for all accounts, one provider, or selected accounts.
  • Supports primary and secondary quota windows, ten presets, and a custom composer.
  • Adds dual progress bars, two-line quota bars, ring progress, and normalized 16pt Provider logos.
  • Makes quota summary, timeline, and account-detail sections configurable and reorderable in the menu panel.

Fixes and improvements

  • Fixes Widget account selections being replaced by the default ordering.
  • Widget refresh now uses an App Intent and no longer opens the host app.
  • Fixes oversized, missing, or clipped status-item logos, rings, bars, and two-line layouts.
  • Uses a single main window so Details and Settings cannot stack duplicate windows.
  • Keeps automatic refresh and the shared quota cache active after the main window closes.
  • Writes the Management Key to Keychain only when it changes, reducing repeated authorization prompts.
  • Makes the full Connection & Display Settings header clickable.
  • Both the host app and Widget Extension are universal Apple Silicon + Intel binaries.

Install

Download the ZIP, move CPA Widget.app to /Applications, and use the quarantine-removal command above only after verifying that the download came from this repository.

Public HTTP transmits the Management Key without transport encryption. Prefer HTTPS, a VPN, or a trusted tunnel across networks.

Known limitation

  • Some macOS 26 installations may retain a generic placeholder icon in Stage Manager or the Widget editor. Dock appearance, app functionality, and Widget data are unaffected.

SHA-256

98b80dfc704a8912e2fb65810045931da0944cb8d5b4b933728c225a1d24e896

CPA Widget v0.5.4

Choose a tag to compare

@blackstone2333 blackstone2333 released this 07 Aug 03:44

中文

修复内容

  • 修复公网 HTTP CLIProxyAPI Endpoint 被 macOS App Transport Security 错误拦截的问题。
  • Endpoint 请填写根地址(例如 http://host:8317),不要添加 /v1
  • 加固 Release 构建:移除调试附加权限和编译机绝对路径。
  • 主应用与 Widget Extension 均为 Apple Silicon + Intel 双架构。

安装

  1. 下载并解压 CPA-Widget-v0.5.4-macOS-universal.zip
  2. CPA Widget.app 拖到 /Applications
  3. 若 macOS 提示无法验证开发者,请确认文件来自本仓库后执行:
sudo xattr -rd com.apple.quarantine "/Applications/CPA Widget.app"
open "/Applications/CPA Widget.app"

公网 HTTP 会明文传输 Management Key,建议尽快为 CLIProxyAPI 配置 HTTPS、VPN 或可信隧道。

English

Fixes

  • Fixed macOS App Transport Security incorrectly blocking public HTTP CLIProxyAPI endpoints.
  • Enter the endpoint root URL (for example, http://host:8317); do not append /v1.
  • Hardened the Release build by removing debugger attachment permission and build-machine paths.
  • Both the host app and Widget Extension are universal Apple Silicon + Intel binaries.

Install

Download the ZIP, move CPA Widget.app to /Applications, and use the quarantine-removal command above only after verifying the download came from this repository.

Public HTTP transmits the Management Key without transport encryption. Prefer HTTPS, a VPN, or a trusted tunnel.

SHA-256

f451669b1225813620ec54649ed5ab2e539cc17e4dd1b86fd922ca6fdceee15a

CPA Widget v0.5.3

Choose a tag to compare

@blackstone2333 blackstone2333 released this 06 Aug 18:40

首个公开版本 / First public release

  • macOS 14+ 原生主应用与 WidgetKit 小组件
  • 支持 Codex、Claude、Gemini / Antigravity 和 Kimi
  • 可配置小型、中型和大型额度 / 时间线 Widget
  • 中英文界面,5 / 15 / 30 分钟自动刷新
  • Universal build: Apple Silicon + Intel

安装 / Installation

  1. 解压并把 CPA Widget.app 移入 /Applications。
  2. 如果 macOS 提示无法验证开发者,请仅在确认文件来自本仓库后执行:
sudo xattr -rd com.apple.quarantine "/Applications/CPA Widget.app"
open "/Applications/CPA Widget.app"

SHA-256: eb5c2375b9d009ec4977c7a4fb4b5d19f226fe263db831617fb11d629cdb903d