Repository navigation
AuthBaton 0.37.3. It needs macOS 14 or later on Apple silicon. The interface is in Chinese. This release also brings 0.36.1–0.37.2, which were not released on their own.
Install
If 0.31.0 or later is installed, AuthBaton updates itself: it downloads this version in the background and installs it when you quit. From this version on, a downloaded update goes in on its own once AuthBaton is idle with its window and menu bar panel closed (see below). AuthBaton → 检查更新… checks right away.
For a new install, or to update from 0.29.3 or earlier:
-
Download
AuthBaton-0.37.3-arm64.dmg, open it, and dragAuthManager.appto Applications. The bundle file keeps the development name; the app shows as AuthBaton. -
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
-
Open AuthManager from Applications.
When updating by hand, quit AuthBaton first. 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 arrive in one step
- An update that had been downloaded waited for AuthBaton to quit, and while it waited Sparkle did not look for newer ones. AuthBaton is rarely quit, so with two releases in a row it installed the older one first and needed a second round for the newer.
- Now a downloaded update is installed once AuthBaton has been idle for 30 seconds with its window and menu bar panel closed: it quits and opens again within a few seconds. Nothing in progress (a sign-in, a switch, a check, an automatic relay, a network switch) is cut short. Quitting before then still installs it.
Codex desktop switching (Codex 26.11)
- Codex 26.11 closes its main window and opens a new one when the account changes, so AuthBaton lost the answer to a switch that had worked and reported 「桌面连接不可用」. It now reads the result from the new window.
- An automatic relay switch waits for the desktop to show the new account before asking you to check. While a relay waits for you to check, only the next Codex desktop switch is held back: quota, checks and renewals go on for every account, Claude included. Before, all of them stopped, and quota read 「额度暂不可查」 everywhere.
Claude page
- With Code and the desktop app both in use, the account the desktop (Chat) uses now shows its quota in the relay queue, marked 「Chat 在用」. Only Code's account, shown in full above, keeps the one-line 「在上方」 entry.
- 「队列里都见底了」 names the window it waits for: 「最早回满:beta-1,7 天额度 明天 11:02 回满」.
External account sources
- New, optional: pair AuthBaton with an external credential center (a pairing string from its web page, on the 个人云端 page). Its Codex and Claude accounts appear with quota and reset cards. For each account choose 只看, 可用重置卡 or 可换上本机 (which can also join the relay queue). AuthBaton leases only short-lived access tokens; the center keeps and renews the sign-ins, and AuthBaton reports the quota it reads back to it. An account also signed in here is shown once.
Network switching
- Safe network switching now waits only for AI clients. Codex (CLI and desktop) counts as busy while its session records show an unfinished turn, not by its network traffic, which never stopped; browsers, curl and other programs are no longer waited for.
AuthBaton 0.37.3。需要 Apple 芯片的 Mac,macOS 14 或更高。界面是中文。这一版也包含没单独发布的 0.36.1–0.37.2。
安装
装着 0.31.0 或更新版本的会自己更新:后台下载这一版,退出时安装。从这一版起,下载好的更新会在 AuthBaton 空闲、窗口和菜单栏面板都关着时自己装上(见下)。菜单「AuthBaton → 检查更新…」马上检查。
第一次安装,或从 0.29.3 及更早的版本更新:
-
下载
AuthBaton-0.37.3-arm64.dmg,打开后把AuthManager.app拖进「应用程序」。App 包沿用开发时的文件名,打开后显示为 AuthBaton。 -
App 只有 ad-hoc 签名,没有经过 Apple 公证,从网上下载后 macOS 会拦下它。第一次打开前,先去掉下载隔离标记:
xattr -dr com.apple.quarantine /Applications/AuthManager.app
-
从「应用程序」打开 AuthManager。
手动更新时先退出 AuthBaton。Claude Code 配套插件和 Claude 桌面 Code 无感换号插件(v2.0.1)从 0.29.3 起没有变化。
改动
更新一次到位
- 以前下载好的更新要等 AuthBaton 退出才装,等的时候 Sparkle 不再查有没有更新的版本。AuthBaton 很少退出,连着发两版时会先装旧的那版,再来一轮才装上新的。
- 现在下载好的更新等 AuthBaton 空闲 30 秒、窗口和菜单栏面板都关着时就装上:几秒内自己退出再打开,不会打断正在进行的登录、换号、检查、自动接力或切网。在这之前退出也照样会装。
Codex 桌面换号(Codex 26.11)
- Codex 26.11 换号时会关掉主窗口另开一个,AuthBaton 收不到已经换成的结果,报「桌面连接不可用」。现在到新窗口里读结果。
- 自动接力换号先等桌面显示新账号,再决定要不要请你核对。接力停在待核对时,只挡下一次 Codex 桌面换号;额度、检查和续期对所有账号照常,Claude 也一样。以前会全部停下,所有账号都显示「额度暂不可查」。
Claude 页
- Code 和桌面都在用时,桌面(Chat)在用的账号在自动接力队列里写出额度,标「Chat 在用」。只有上方整张卡显示的 Code 在用的账号,还是一行「在上方」。
- 「队列里都见底了」写明在等哪个额度:「最早回满:beta-1,7 天额度 明天 11:02 回满」。
外部账号来源
- 新增,可选:在「个人云端」页用外部凭据中心网页上给的配对串连接。它的 Codex 和 Claude 账号会连同额度和重置卡显示出来,每个账号可选「只看」「可用重置卡」「可换上本机」(还能加入自动接力)。AuthBaton 只领短期 access token,登录由中心保存和续期,读到的额度会回报给中心。本机也登录了的同一个账号只显示一份。
切换网络
- 安全切换网络只等 AI 客户端。Codex(CLI 和桌面)看会话记录里有没有没结束的一轮,不再看它一直不停的网络流量;浏览器、curl 和其他程序不再等。