Skip to content

AuthBaton 0.32.1

Choose a tag to compare

@WUXM5 WUXM5 released this 24 Nov 09:18

AuthBaton 0.32.1. 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:

  1. Download AuthBaton-0.32.1-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.

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

Automatic proxy configuration (PAC)

  • AuthBaton now works when macOS uses an automatic proxy configuration script (PAC), as proxy apps do in their PAC mode. Before, it refused PAC before sending anything: adding an account showed 「当前系统使用自动代理…」 and Claude desktop quota showed 「网络没有连上,稍后再试」, although the network was fine.
  • For each request, AuthBaton fetches the script directly and runs it for that request's URL with the same engine macOS uses. DIRECT means no proxy; a PROXY or SOCKS answer is the proxy the request uses. The script comes before manual proxies and the bypass list, as it does in macOS.
  • Only the script's first answer is used. If the script can't be fetched, fails, or gives nothing usable (macOS itself ignores SOCKS5 and HTTPS entries), the request is not sent and AuthBaton says why; it never falls back to a direct connection on its own.
  • The official CLIs AuthBaton starts (sign-in, checks, warm-up) get the proxy the script gives for their sign-in or main host.
  • Auto Proxy Discovery on its own is still not supported. Use PAC, a manual proxy, or proxy environment variables.

Fix

  • Claude desktop quota: when the system proxy can't be used, the card says 「系统代理用不了…」 instead of 「网络没有连上」.

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

安装

装着 0.31.0 或更新版本的会自己更新:后台下载这一版,退出时安装。菜单「AuthBaton → 检查更新…」马上检查。

第一次安装,或从 0.29.3 及更早的版本更新:

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

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

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

手动更新时先退出 AuthBaton。Claude Code 配套插件和 Claude 桌面 Code 无感换号插件(v2.0.1)从 0.29.3 起没有变化。

改动

支持自动代理配置(PAC)

  • 系统用自动代理配置脚本(PAC)时 AuthBaton 也能用了,代理软件的 PAC 模式就是这种设置。以前它一看到 PAC 就不发请求:添加账号时提示「当前系统使用自动代理…」,Claude 桌面额度显示「网络没有连上,稍后再试」,其实网络是好的。
  • 每次联网,AuthBaton 直接取回 PAC 脚本,用 macOS 自己的引擎按这次请求的网址执行:结果是 DIRECT 就直连,是 PROXY 或 SOCKS 就走那个代理。和 macOS 一样,PAC 排在手动代理和例外列表前面。
  • 只用脚本给出的第一项。取不到脚本、脚本出错或没有能用的代理(macOS 自己也不认 SOCKS5 和 HTTPS 写法)时,请求不发出,界面写明原因,不会自己改成直连。
  • AuthBaton 启动的官方 CLI(登录、检查、预热)按它们的登录或主要地址取代理。
  • 只开「自动代理发现」仍不支持,请改用 PAC、手动代理或代理环境变量。

修正

  • Claude 桌面额度:系统代理用不了时,卡片写「系统代理用不了…」,不再写「网络没有连上」。