Skip to content

AuthBaton 0.29.3

Choose a tag to compare

@WUXM5 WUXM5 released this 21 Nov 14:50

AuthBaton 0.29.3. It needs macOS 14 or later on Apple silicon. The interface is in Chinese.

Install

  1. Download AuthBaton-0.29.3-arm64.dmg, open it, and drag AuthManager.app to Applications. The bundle file keeps the development name; the app shows as AuthBaton.

  2. The app is ad-hoc signed and not notarized by Apple, so macOS blocks it when it comes from the internet. Before you open it the first time, remove the download quarantine:

    xattr -dr com.apple.quarantine /Applications/AuthManager.app
  3. Open AuthManager from Applications.

To update, quit AuthBaton first, replace the app in Applications, and run the xattr command again. If you turned on Claude desktop Code seamless switching, click 更新插件 on the Claude page to update the managed plugin to v2.0.1; it asks for the administrator password once. The Claude Code companion plugin has not changed since 0.27.2.

Changes

Faster page switching, less work while idle

  • Every 2 seconds the window laid out the whole page again when the service answered a poll, even when nothing had changed, and a click in the sidebar often ran into that. A page was also laid out several times at widths it is never shown at.
  • An answer that changes nothing now redraws nothing (relative times such as 「3 分钟前」 still refresh every 10 seconds), and a page is laid out once, at the width it gets. In our measurements with a handful of accounts, switching to the Claude page went from about 160 ms to about 60 ms, and to the accounts page from about 60 ms to about 40 ms.

Text that says only what holds for your rules

  • The confirmation for turning on 换号与重置 is now written from the rules you are saving. With a Claude account set to 只换号 it used to say both "no account will use reset cards" and "Claude accounts will use the official reset card"; it now says only the first.
  • 「见底时只会重置」 appears only when a participating rule includes a reset. pi is said to follow the Codex account only when it has the AuthBaton extension. Times are no longer written twice (「25 分钟后回满 · 25 分钟后」).
  • Messages from the service use the names the interface uses: 热切换, 认证检查, 查询额度.

Buttons that do what they say

  • 以调试模式重新打开 now reopens Codex desktop for you. If the desktop is open and no task is running, AuthBaton quits it the normal way and opens it with the debugging port. With a task running, or while the desktop is still starting, it is left alone and the reason is shown. A desktop that is closed is simply opened.
  • 认证检查 on the Codex account in use: while the official client is running it renews that sign-in itself, so AuthBaton does not check it. This used to look as if nothing had happened; the reason now shows on the account card.
  • A sign-in that finished but is not saved yet (you signed in again while the official client was running): the account's main button is now 本地检查, the button its note tells you to click. It used to be 恢复同步 for a Claude account, nothing for a Codex account, and 换上 for a spare account.
  • Claude desktop Code seamless switching (plugin v2.0.1): the note 「已无感切到 X,对话继续」 appears only after the request to the account switched to was served. It used to appear even when that account was refused too.
  • Importing a Claude sign-in: the option is now named 导入 Claude Code CLI 的登录. When the CLI on this Mac has no sign-in, the error says so and says that a Claude desktop sign-in cannot be imported.

AuthBaton 0.29.3。需要 Apple 芯片的 Mac,macOS 14 或更高。界面是中文。

安装

  1. 下载 AuthBaton-0.29.3-arm64.dmg,打开后把 AuthManager.app 拖进「应用程序」。App 包沿用开发时的文件名,打开后显示为 AuthBaton。

  2. App 只有 ad-hoc 签名,没有经过 Apple 公证,从网上下载后 macOS 会拦下它。第一次打开前,先去掉下载隔离标记:

    xattr -dr com.apple.quarantine /Applications/AuthManager.app
  3. 从「应用程序」打开 AuthManager。

更新时先退出 AuthBaton,替换「应用程序」里的 App,再运行一次上面的 xattr 命令。开了 Claude 桌面 Code 无感换号的,在 Claude 页点「更新插件」把系统插件更新到 v2.0.1,要输一次管理员密码。Claude Code 配套插件从 0.27.2 起没有变化。

改动

换页更快,空闲时少干活

  • 以前服务每 2 秒回一次轮询,结果没变窗口也把整页重排一遍,点侧栏时常撞上;页面本身还会在用不到的宽度上多排几遍。
  • 现在结果没变就不重绘(「3 分钟前」这类相对时间仍每 10 秒刷新一次),页面只按实际宽度排一次。我们用几个账号实测:换到 Claude 页从约 160 ms 降到约 60 ms,换到账号页从约 60 ms 降到约 40 ms。

文案只写当前规则下成立的话

  • 开启「换号与重置」的确认框改成按要保存的规则逐段生成。Claude 账号设「只换号」时,以前同时写着「没有账号会自动用重置卡」和「参与的 Claude 账号会用掉官方给的重置卡」,现在只写前一句。
  • 「见底时只会重置」只在有参与的规则含重置时出现;pi 装了 AuthBaton 扩展才写它跟着 Codex 换号;时间不再写两遍(「25 分钟后回满 · 25 分钟后」)。
  • 服务回给界面的提示改用界面上的叫法:热切换、认证检查、查询额度。

按钮做它写的事

  • **「以调试模式重新打开」**真的替你重开 Codex 桌面:桌面开着且没有任务在运行时,让它正常退出,再带调试端口打开;有任务在运行或桌面还在启动时不动它,并说明原因;桌面没开就直接打开。
  • 在用的 Codex 账号点「认证检查」:官方客户端开着时这份登录由它自己续期,AuthBaton 不检查。以前点了像没反应,现在原因显示在账号卡上。
  • 登录完成但还没保存(官方客户端开着时重新登录):账号的主按钮改成说明里让点的「本地检查」。以前 Claude 账号给的是「恢复同步」,Codex 账号没有按钮,备用账号给的是「换上」。
  • Claude 桌面 Code 无感换号(插件 v2.0.1):换过去的账号这次请求成功了,才提示「已无感切到 X,对话继续」。以前那个账号也被拒时照样提示。
  • 导入 Claude 登录:选项改名为「导入 Claude Code CLI 的登录」;本机 CLI 没有登录时,报错会说清楚,并说明 Claude 桌面的登录不能导入。