Repository navigation
AuthBaton 0.33.0
AuthBaton 0.33.0. It needs macOS 14 or later on Apple silicon. The interface is in Chinese.
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. AuthBaton → 检查更新… checks right away.
For a new install, or to update from 0.29.3 or earlier:
-
Download
AuthBaton-0.33.0-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.
New
Optional Chrome extension: sync claude.ai web login with Claude Desktop
- Switching Claude Desktop accounts when using the official Claude in Chrome extension previously required manually signing out and signing back into
claude.aiin Chrome, then signing out and re-authorizing the extension. - AuthBaton now ships an optional Manifest V3 companion extension (
AuthBaton Chrome Sync, fixed extension IDhkegchjkdgmjdgeioonhbjgdfeaobdfj) with a local Native Messaging bridge (io.github.wuxm5.authbaton.chrome), disabled by default and configurable from the Claude 桌面 card under Chrome 登录同步:- No admin prompt: clicking 「安装扩展…」 deploys the extension directory to
~/Library/Application Support/AuthManager/chrome-extension/and registers Chrome's user-local Native Messaging manifest; drag the folder once intochrome://extensions(Developer mode). Future AuthBaton updates refresh the extension files in place. - Same-profile cookie sync:
claude.aiauth cookies captured by the extension from Chrome are kept solely in AuthBaton's local Keychain Vault (never in extension disk storage, SQLite, UI IPC, or logs, and Claude Desktop's own Cookies DB is never decrypted). - Automatic follow-up on Desktop switch: when enabled and Chrome is connected, switching Claude Desktop swaps Chrome's
claude.aicookies, clears site storage, reloads openclaude.aitabs, resets the official Claude in Chrome extension to drop its old session token (no manual Log out needed), and arms a 90-second auto-approve window forclaude.ai/oauth/authorizeso you only click Log in once in the Claude extension. - Safe multi-account onboarding & full uninstall: includes 「本地切空登新号」 (clears local
claude.aicookies without calling server logout so saved sessions stay valid) and one-click uninstall that removes the deployed extension files, Native Messaging manifest, and saved Chrome cookie entries from Vault.
- No admin prompt: clicking 「安装扩展…」 deploys the extension directory to
AuthBaton 0.33.0。需要 Apple 芯片的 Mac,macOS 14 或更高。界面是中文。
安装
装着 0.31.0 或更新版本的会自己更新:后台下载这一版,退出时安装。菜单「AuthBaton → 检查更新…」马上检查。
第一次安装,或从 0.29.3 及更早的版本更新:
-
下载
AuthBaton-0.33.0-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 起没有变化。
新增
可选 Chrome 扩展:同步 claude.ai 网页登录与 Claude 插件重登
- 以前在测试 Claude 桌面并配合官方 Claude in Chrome 插件时,切完桌面账号后还需要在 Chrome 里手动退号重登
claude.ai,再去插件里退出、重新登录并授权。 - 现在 AuthBaton 内置了可选的 Manifest V3 伴随扩展(
AuthBaton Chrome Sync,固定扩展 IDhkegchjkdgmjdgeioonhbjgdfeaobdfj)及本地 Native Messaging 桥接(io.github.wuxm5.authbaton.chrome),默认关闭,可在 Claude 页的桌面卡片底部 「Chrome 登录同步」 启用:- 无需管理员密码:点「安装扩展…」自动在本地释放扩展目录(
~/Library/Application Support/AuthManager/chrome-extension/)并写入用户级 Native Messaging 配置,只需首次打开chrome://extensions(开发者模式)拖入一次文件夹,后续随 AuthBaton 自动原地更新。 - 同 Profile Cookie 同步与安全边界:仅在 AuthBaton 本机钥匙串 Vault 保管该扩展从 Chrome 读到的
claude.ai网页会话 Cookie(扩展本地不落盘,不进 SQLite、UI IPC 或日志,也不解密 Claude 桌面 Cookies)。 - 切桌面号自动联动:开启并连上 Chrome 后,切 Claude 桌面账号时自动回存旧号最新 Cookie、替换目标账号 Cookie(含会话绑定 Cookie 清理并保留 Cloudflare Cookie)、清站点缓存、刷新已开页面、通过
chrome.management重载官方 Claude 插件清掉旧登录态(免手动点 Log out),并开启 90 秒自动授权窗口——你只需在 Chrome 的 Claude 插件里点一下 Log in,授权页会自动点 Authorize 并在完成后自动关页。 - 便捷录号与一键卸载:提供「本地切空登新号」(仅删 Chrome 本地 Cookie、不注销服务端会话,方便录第二个测试号)以及一键卸载(清理扩展目录、Native Messaging 注册及 Vault 中保存的 Chrome 网页会话)。
- 无需管理员密码:点「安装扩展…」自动在本地释放扩展目录(