Skip to content

AuthBaton 0.31.0

Choose a tag to compare

@WUXM5 WUXM5 released this 22 Nov 08:57

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

Install

  1. Download AuthBaton-0.31.0-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 from 0.29.3 or earlier, quit AuthBaton first, replace the app in Applications, and run the xattr command again. This is the last manual update: from 0.31.0 on, AuthBaton updates itself. The Claude Code companion plugin and the Claude desktop Code seamless switching plugin (v2.0.1) have not changed since 0.29.3.

Changes

Updates install themselves

  • AuthBaton checks GitHub once a day, downloads a new version in the background and installs it when you quit; it opens as the new version next time. If you don't quit it for about a week, it shows the update and lets you install and relaunch. A relaunch waits until no sign-in or account operation is running and no dialog is open.
  • AuthBaton → 检查更新… checks right away.
  • Updates come through Sparkle 2.10.1 and are checked against an EdDSA signature before they are unpacked; an update that fails the check is not installed. Updates arrive without the download quarantine, so xattr is not needed after this version.
  • The daily check downloads appcast.xml from this repository's latest Release. It sends no account data.
  • macOS's own menus and Sparkle's windows are in Chinese now too (文件, 编辑, 显示, 窗口, 帮助).

Claude page: in use, relay queue, outside the relay

  • At the top, the accounts in use. With Claude desktop Code seamless switching on there are two places, 桌面 · 对话 / 工作 and Code · 桌面与 CLI: the desktop's Code tab follows the Code account. One account in both shows as one card.
  • 换下一棒 switches Claude Code to the next account at once. The next account is the one automatic switching would pick.
  • Below, 自动接力队列: the participating accounts in relay order, with 下一棒 marked. Drag to reorder (saving asks first while the rules are on); show compact rows or full cards.
  • 不参与自动接力 holds the accounts outside the relay, including accounts signed in only to Claude desktop (补登 Code). 加入接力 adds an account as switch-only, so it uses no reset cards.
  • An account whose weekly quota is used up shows only when it refills and what is left of the 7 days, not the 5-hour or Fable windows.
  • When no account in the queue can take over, the Code card suggests the account outside the relay with the most quota left.
  • With several kinds of Claude reset cards, the kind that expires within 30 minutes is selected by default.
  • The menu bar marks 下一棒 in the Claude list.

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

安装

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

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

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

从 0.29.3 或更早的版本更新时,先退出 AuthBaton,替换「应用程序」里的 App,再运行一次上面的 xattr 命令。这是最后一次手动更新:从 0.31.0 起,AuthBaton 会自己更新。Claude Code 配套插件和 Claude 桌面 Code 无感换号插件(v2.0.1)从 0.29.3 起没有变化。

改动

更新自己装上

  • AuthBaton 每天查一次 GitHub,在后台下载新版本,退出时安装,下次打开就是新版。连续一周左右没退出,会弹出提示,可以直接安装并重启;重启会等到没有登录和账号操作在进行、也没有对话框开着。
  • 菜单「AuthBaton → 检查更新…」马上检查。
  • 更新经 Sparkle 2.10.1 下发,解压前先核对 EdDSA 签名,核对不过就不装。装上的新版本没有下载隔离标记,这一版之后不用再跑 xattr。
  • 每天的检查只从本仓库最新的 Release 下载 appcast.xml,不发送账号数据。
  • 系统菜单和 Sparkle 的窗口也是中文了(文件、编辑、显示、窗口、帮助)。

Claude 页:在用、接力队列、不参与

  • 上方是在用的账号。开着 Claude 桌面 Code 无感换号时分两个位置:「桌面 · 对话 / 工作」和「Code · 桌面与 CLI」,桌面的 Code 标签跟着 Code 账号换;两边是同一个账号时合成一张卡。
  • 「换下一棒」点了就把 Claude Code 换到下一个账号;下一个就是自动换号会选的那个。
  • 下方「自动接力队列」按接力顺序列出参与的账号,标出「下一棒」。拖动改顺序(规则开着时保存前先确认),可以选紧凑的一行一个或整张卡片。
  • 「不参与自动接力」里是没参与接力的账号,包括只在 Claude 桌面登录过的(给「补登 Code」)。「加入接力」按「只换号」加入,不会因此用掉重置卡。
  • 周额度用完的账号只写多久后回满和 7 天还剩多少,不再写 5 小时和 Fable。
  • 队列里没有能接力的账号时,Code 卡推荐不参与接力、剩余最多的那个。
  • 有几类 Claude 重置卡时,默认选 30 分钟内到期的那类。
  • 菜单栏的 Claude 列表里标出「下一棒」。