Repository navigation
Releases
CCRouter 0.2.0
English
- Switch accounts mid-conversation: continue a conversation under another account from the panel or with
--switch-account. There is still only one copy of your conversations: each account's conversation folders are now shared with~/.claude, so a switch moves no files. Quit the conversation first. The first request after a switch rebuilds the prompt cache. - Recent conversations open inline in the panel. Each row shows its account; click the account to continue on another one.
- Automatic scheduling, optional and off by default: new conversations pick an account by strategy (5h/7d optimal, round robin or 5h max), with a threshold and an on/off choice per account. A resumed conversation moves only when its account reaches its threshold, and you can turn that off. Set it up in the panel or with
ccrouter schedule. While it is on, the menu bar app runsclaude -p /usageevery 10 minutes. Before you turn it on, check that it fits the terms of each account's plan. - The exit IP now follows Claude's own route: CCRouter reads Cloudflare's trace page on
api.anthropic.com, the host Claude Code talks to, instead of ipify and ipinfo. The request carries no account information, and it is the only one CCRouter sends to an Anthropic domain. The panel catches a change within a minute, and refresh always probes again.
Upgrading: the next time you launch an account through ccrouter, its conversation folders move into ~/.claude. Files are moved, not copied, and this waits until that account has no Claude running.
简体中文
- 对话中途换账户:在面板里或用
--switch-account,换另一个账户继续同一个对话。对话仍然只有一份:各账户的对话目录现在与~/.claude共享,换号不移动任何文件。换号前请先退出该对话。换号后的第一次请求会重建提示缓存。 - 最近对话在面板里原地展开。每一行显示所属账户,点账户名可以换到其他账户继续。
- 自动调度(可选,默认关闭):新对话按策略选账户(5h/7d 最优、轮询或 5h 最大利用),每个账户可以单独设置阈值和是否参与。续聊只有在原账户达到阈值时才换号,这一项也可以关闭。在面板里或用
ccrouter schedule设置。开启后,菜单栏每 10 分钟运行一次claude -p /usage。开启前请自行确认它符合各账户所属套餐的条款。 - 出口 IP 现在跟随 Claude 自己的线路:CCRouter 改为读取
api.anthropic.com(Claude Code 连接的域名)上的 Cloudflare 诊断页面,不再使用 ipify 和 ipinfo。这个请求不带任何账户信息,也是 CCRouter 唯一发往 Anthropic 域名的请求。出口变化后一分钟内就能显示,点刷新一定会重新查询。
升级说明: 下次用 ccrouter 启动某个账户时,它的对话目录会合并到 ~/.claude。文件只移动不复制,并且会等该账户的 Claude 全部退出后才进行。
Install / 安装: Apple Silicon, macOS 13+. Unzip, move CCRouter.app to /Applications, then run once / 解压后移到「应用程序」,然后运行一次:
xattr -dr com.apple.quarantine /Applications/CCRouter.app
open /Applications/CCRouter.appCCRouter 0.1.1
English
- Quota reset countdowns: each quota bar in an expanded account shows the time left until it resets, updated every minute while the panel is open. A window that has already reset is shown as such and refreshed through Claude Code the next time the panel opens.
- No more hover: all tooltips are gone. A quota reading older than 10 minutes shows its age inline.
- The About dialog shows the real version.
简体中文
- 额度重置倒计时:展开账户后,每条额度条下方显示距离重置还剩多久;面板打开时每分钟刷新。已经重置的窗口会直接标出,并在下次打开面板时经由 Claude Code 重新查询。
- 不再依赖悬停:所有悬停提示都已移除;额度数据超过 10 分钟未更新时,直接显示更新时间。
- 「关于」对话框显示真实版本号。
Install / 安装: Apple Silicon, macOS 13+. Unzip, move CCRouter.app to /Applications, then run once / 解压后移到「应用程序」,然后运行一次:
xattr -dr com.apple.quarantine /Applications/CCRouter.app
open /Applications/CCRouter.appCCRouter 0.1.0
First public release. / 首个公开版本。
English
- Pins every Claude Code conversation to the account that started it; resuming always uses that account.
ccrouterworks likeclaude: pick the account for a new conversation, orccrouter --resumeto choose a conversation from any account.- Native macOS menu bar panel: tokens per account and in total, cache hit rate, 5-hour and weekly quota, exit IP.
- No proxy, and no requests to Anthropic of its own: logins, account details and quota all go through the official
claudeCLI. OAuth tokens are never read.
Install: Apple Silicon, macOS 13 or later. Unzip, move CCRouter.app to /Applications, then clear the download quarantine once (the app isn't notarized):
xattr -dr com.apple.quarantine /Applications/CCRouter.app
open /Applications/CCRouter.app
ln -s /Applications/CCRouter.app/Contents/MacOS/ccrouter ~/.local/bin/ccrouter简体中文
- 把每个 Claude Code 对话固定在创建它的账户上,恢复时始终使用原账户。
ccrouter的用法和claude一样:开新对话前先选择账户;ccrouter --resume可从所有账户的对话中选择恢复。- 原生 macOS 菜单栏面板:分账户与合计的 token 用量、缓存命中率、5 小时和每周额度、出口 IP。
- 没有反向代理,自己也不向 Anthropic 发任何请求:登录、账户资料和额度都经由官方
claudeCLI,从不读取 OAuth token。
安装:适用于 Apple Silicon、macOS 13 及以上。解压后把 CCRouter.app 移到「应用程序」,再清除一次下载隔离标记(应用未经公证),命令见上方。
SHA-256 is in CCRouter-0.1.0-macos-arm64.zip.sha256. / 校验值见 .sha256 文件。