Skip to content

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

docs(release): add v4.0.46 release notes

Jason5d7c941641df
diff --git a/docs/release-notes/v4.0.46-en.md b/docs/release-notes/v4.0.46-en.md
index 61247cee5..abf0a34dd 100644
--- a/docs/release-notes/v4.0.46-en.md
+++ b/docs/release-notes/v4.0.46-en.md
@@ -2,7 +2,7 @@
This release adds Routing, failover and Aggregation modes to Antigravity: as with Claude Code and Codex, requests can be forwarded through local routing with usage recorded, the next provider takes over automatically when one fails, and the models of several providers can go into one agy model list. Antigravity's Routing and Aggregation modes don't yet convert to and from the OpenAI Responses and Anthropic Messages formats; that will come later. Antigravity models can now have a display name, context window, output limit and reasoning levels, and in Routing you switch the thinking effort right in agy's model menu. The Global Proxy in Settings now covers every program CC Switch starts: opening a terminal, installing and upgrading tools, MCP connectivity checks and login terminals all use it.
-Fixes include: the cache hit rate dropping to zero when Claude Code uses Gemini models through an OpenAI-compatible relay, Claude Code dropping thinking blocks after model mapping, Codex compacting the context early with an explicit model list, a terminal popping up when Antigravity quota is checked in the background on Windows, Antigravity official cards not showing quota by default, WorkBuddy "Fetch Models" dropping image models, and several problems when adding Antigravity accounts.
+Fixes include: the cache hit rate dropping to zero when Claude Code uses Gemini models through an OpenAI-compatible relay, Claude Code dropping thinking blocks after model mapping, Codex compacting the context early with an explicit model list, a terminal popping up when Antigravity quota is checked in the background on Windows, Antigravity official cards not showing quota by default, Claude Code requests with long attachments losing their latency and first-token time, WorkBuddy "Fetch Models" dropping image models, and several problems when adding Antigravity accounts.
> ⚠️ Antigravity's Direct mode doesn't support reasoning levels for third-party models yet: in Direct mode agy doesn't send a thinking effort to gateway models, so the level you pick has no effect. To set reasoning levels for models from third-party platforms (such as Gemini models through a relay), turn on Routing or Aggregation mode.
@@ -89,6 +89,7 @@ When you click "Add account" in "Accounts" and Antigravity Desktop is installed
- **Claude Code dropped thinking blocks after model mapping** ([#10108](https://github.com/farion1231/cc-switch/pull/10108), see [#5578](https://github.com/farion1231/cc-switch/issues/5578)): when the upstream returned the mapped model name, Claude Code dropped earlier signed thinking blocks. The model name in responses is now changed back to the one the client requested; requests sent upstream are unchanged, and usage is still recorded with the real upstream model.
- **A terminal popped up when Antigravity quota was checked in the background on Windows** ([#10124](https://github.com/farion1231/cc-switch/pull/10124), closes [#10123](https://github.com/farion1231/cc-switch/issues/10123))
- **Antigravity official cards didn't show quota by default**: after the tray moved to listing provider cards in 4.0.45, official cards with no saved usage settings (including the one imported on first launch) showed no quota in the tray or on the card. Official quota is now queried by default: bound cards query their account, and unbound cards follow agy's current login; cards where you turned it off still aren't queried.
+- **Claude Code requests with long attachments lost their latency and first-token time** ([#10149](https://github.com/farion1231/cc-switch/pull/10149), closes [#9954](https://github.com/farion1231/cc-switch/issues/9954)): when a lot of attachment data was written between a request and its reply, usage imported from session logs had no latency or first-token time. When the request start cannot be found, CC Switch now reads further back once and looks again.
- **WorkBuddy "Fetch Models" dropped image models** (see [#10129](https://github.com/farion1231/cc-switch/issues/10129)): since 4.0.44, "Fetch Models" filters out image, video and other non-chat models, so a relay's image models (such as gpt-image) could no longer be picked in WorkBuddy. WorkBuddy no longer filters them; other apps are unchanged.
- **Several problems when adding Antigravity accounts** ([#10102](https://github.com/farion1231/cc-switch/pull/10102), closes [#10099](https://github.com/farion1231/cc-switch/issues/10099)): on macOS and Linux, the wait ends as soon as agy exits in the terminal, and the original login is restored (Windows still waits until sign-in or timeout); the login terminal gets the Global Proxy on all platforms; Ghostty is brought to the front when it's already open; agy is found even when PATH is set only in shell config files; and the metadata agy 1.5 leaves after `/logout` is no longer taken as signed in.
- **Resuming Oh My Pi sessions in Warp failed**: Warp's launch script now uses `exec env`.
@@ -97,8 +98,8 @@ When you click "Add account" in "Accounts" and Antigravity Desktop is installed
## Thanks
-Thanks to [@allenxu09](https://github.com/allenxu09) (Gemini relay caching, response model name, CI speed-up), [@fightingnoble](https://github.com/fightingnoble) (per-model Fast and Lite for Codex), [@codexvn](https://github.com/codexvn) (response model name), [@jimpablo](https://github.com/jimpablo) (Antigravity login terminal), [@funkpopo](https://github.com/funkpopo) (Antigravity Desktop sign-in), [@z570093689](https://github.com/z570093689) (no terminal for background quota checks on Windows), [@awakenginexe](https://github.com/awakenginexe) (THB), [@YUZHEthefool](https://github.com/YUZHEthefool) (CI speed-up) for their contributions.
+Thanks to [@allenxu09](https://github.com/allenxu09) (Gemini relay caching, response model name, CI speed-up), [@fightingnoble](https://github.com/fightingnoble) (per-model Fast and Lite for Codex), [@codexvn](https://github.com/codexvn) (response model name), [@jimpablo](https://github.com/jimpablo) (Antigravity login terminal), [@funkpopo](https://github.com/funkpopo) (Antigravity Desktop sign-in), [@z570093689](https://github.com/z570093689) (no terminal for background quota checks on Windows), [@awakenginexe](https://github.com/awakenginexe) (THB), [@YUZHEthefool](https://github.com/YUZHEthefool) (CI speed-up), [@The-Minion-oOo](https://github.com/The-Minion-oOo) (timing for requests with long attachments) for their contributions.
-Thanks to [@niruiqing](https://github.com/niruiqing), [@kingys1992](https://github.com/kingys1992), [@Leafseaquiet](https://github.com/Leafseaquiet), [@ref4rain](https://github.com/ref4rain), [@PHOENIX-collab-bot](https://github.com/PHOENIX-collab-bot) for issue reports and reproduction details.
+Thanks to [@niruiqing](https://github.com/niruiqing), [@kingys1992](https://github.com/kingys1992), [@Leafseaquiet](https://github.com/Leafseaquiet), [@ref4rain](https://github.com/ref4rain), [@NovumOrbis](https://github.com/NovumOrbis), [@PHOENIX-collab-bot](https://github.com/PHOENIX-collab-bot) for issue reports and reproduction details.
For the full technical details, see the [CHANGELOG](https://github.com/farion1231/cc-switch/blob/main/CHANGELOG.md).
diff --git a/docs/release-notes/v4.0.46-ja.md b/docs/release-notes/v4.0.46-ja.md
index ef50cb5ba..a19281ae0 100644
--- a/docs/release-notes/v4.0.46-ja.md
+++ b/docs/release-notes/v4.0.46-ja.md
@@ -2,7 +2,7 @@
今回のリリースでは、Antigravity にルーティング、フェイルオーバー、集約モードを追加しました。Claude Code や Codex と同じく、ローカルルーティング経由で転送して使用量を記録し、1 つのプロバイダーでエラーが起きると自動で次のプロバイダーに切り替えられます。複数のプロバイダーのモデルを agy の 1 つのモデル一覧にまとめることもできます。Antigravity のルーティングと集約モードは、OpenAI Responses や Anthropic Messages 形式との変換にはまだ対応しておらず、今後対応する予定です。Antigravity のモデルには表示名、コンテキストウィンドウ、最大出力、思考レベルを設定でき、ルーティング中は agy のモデルメニューで思考の強さを直接切り替えられます。設定のグローバルプロキシは、CC Switch が起動するすべてのプログラムに適用されるようになりました。ターミナルを開く操作、ツールのインストールとアップグレード、MCP の接続チェック、ログイン用ターミナルのいずれもこのプロキシを使います。
-このほか、Claude Code で OpenAI 互換の中継経由で Gemini モデルを使うとキャッシュヒット率がゼロになる問題、モデルマッピング後に Claude Code が思考ブロックを失う問題、Codex の明示的なモデル一覧でコンテキストが早めに圧縮される問題、Windows でバックグラウンドで Antigravity の残量を照会するとターミナルが開く問題、Antigravity の公式カードにデフォルトで残量が表示されない問題、WorkBuddy の「モデル一覧を取得」で画像モデルが除外される問題、Antigravity でアカウントを追加するときの複数の問題を修正しました。
+このほか、Claude Code で OpenAI 互換の中継経由で Gemini モデルを使うとキャッシュヒット率がゼロになる問題、モデルマッピング後に Claude Code が思考ブロックを失う問題、Codex の明示的なモデル一覧でコンテキストが早めに圧縮される問題、Windows でバックグラウンドで Antigravity の残量を照会するとターミナルが開く問題、Antigravity の公式カードにデフォルトで残量が表示されない問題、Claude Code で長い添付ファイルを含むリクエストの所要時間と最初のトークンまでの時間が失われる問題、WorkBuddy の「モデル一覧を取得」で画像モデルが除外される問題、Antigravity でアカウントを追加するときの複数の問題を修正しました。
> ⚠️ Antigravity の直接接続モードは、サードパーティモデルの思考レベルにまだ対応していません。直接接続では agy がゲートウェイのモデルに思考の強さを送らないため、選んだ段階は反映されません。サードパーティのプラットフォームが提供するモデル(中継の Gemini モデルなど)で思考レベルを調整するには、ルーティングまたは集約モードをオンにしてください。
@@ -89,6 +89,7 @@ Antigravity の Key カードは、サブタイトルにゲートウェイのデ
- **モデルマッピング後に Claude Code が思考ブロックを失う**([#10108](https://github.com/farion1231/cc-switch/pull/10108)、[#5578](https://github.com/farion1231/cc-switch/issues/5578) を参照):上流がマッピング後のモデル名を返すと、Claude Code はそれまでの署名付き思考ブロックを捨てていました。現在はレスポンスのモデル名をクライアントがリクエストしたものに戻します。上流に送るリクエストは変わらず、使用量は引き続き上流の実際のモデルで記録します。
- **Windows でバックグラウンドで Antigravity の残量を照会するとターミナルが開く**([#10124](https://github.com/farion1231/cc-switch/pull/10124)、[#10123](https://github.com/farion1231/cc-switch/issues/10123) をクローズ)
- **Antigravity の公式カードにデフォルトで残量が表示されない**:4.0.45 でトレイがプロバイダーカードを並べるようになってから、使用量の設定を保存したことのない公式カード(初回起動時に取り込んだカードを含む)は、トレイとカードのどちらにも残量が表示されませんでした。現在はデフォルトで公式の残量を照会します。アカウントを紐付けたカードはそのアカウントを、紐付けていないカードは agy の現在のログインを照会します。手動でオフにしたカードは引き続き照会しません。
+- **Claude Code で長い添付ファイルを含むリクエストの所要時間と最初のトークンまでの時間が失われる**([#10149](https://github.com/farion1231/cc-switch/pull/10149)、[#9954](https://github.com/farion1231/cc-switch/issues/9954) をクローズ):リクエストとレスポンスの間に大量の添付データが書き込まれると、セッションログから取り込んだ使用量で所要時間と最初のトークンまでの時間が空になっていました。リクエストの開始位置が見つからないときは、もう一段さかのぼって読み直して探すようになりました。
- **WorkBuddy でモデル一覧を取得すると画像モデルが除外される**([#10129](https://github.com/farion1231/cc-switch/issues/10129) を参照):4.0.44 から「モデル一覧を取得」は画像や動画などの会話用でないモデルを除外するようになり、WorkBuddy で中継の画像生成モデル(gpt-image など)を選べなくなっていました。現在は WorkBuddy では除外せず、ほかのアプリはこれまでどおりです。
- **Antigravity でアカウントを追加するときの複数の問題**([#10102](https://github.com/farion1231/cc-switch/pull/10102)、[#10099](https://github.com/farion1231/cc-switch/issues/10099) をクローズ):macOS と Linux では、ターミナルで agy が終了するとすぐに待機を終え、元のログインを書き戻します(Windows は引き続きログインかタイムアウトまで待ちます)。ログイン用ターミナルはすべてのプラットフォームでグローバルプロキシを使います。Ghostty がすでに開いている場合は前面に表示されます。PATH をシェルの設定ファイルにだけ書いている場合も agy を見つけられます。agy 1.5 で `/logout` を実行した後に残るメタデータを、ログイン済みとみなさなくなりました。
- **Warp で Oh My Pi のセッションを再開できない**:Warp の起動スクリプトで `exec env` を使うようにしました。
@@ -97,8 +98,8 @@ Antigravity の Key カードは、サブタイトルにゲートウェイのデ
## 謝辞
-[@allenxu09](https://github.com/allenxu09)(Gemini の中継のキャッシュ、レスポンスのモデル名、CI の高速化)、[@fightingnoble](https://github.com/fightingnoble)(Codex のモデルごとの Fast と Lite)、[@codexvn](https://github.com/codexvn)(レスポンスのモデル名)、[@jimpablo](https://github.com/jimpablo)(Antigravity のログイン用ターミナル)、[@funkpopo](https://github.com/funkpopo)(Antigravity デスクトップ版でのログイン)、[@z570093689](https://github.com/z570093689)(Windows のバックグラウンドでの残量照会でターミナルを開かない)、[@awakenginexe](https://github.com/awakenginexe)(タイバーツ)、[@YUZHEthefool](https://github.com/YUZHEthefool)(CI の高速化)の貢献に感謝します。
+[@allenxu09](https://github.com/allenxu09)(Gemini の中継のキャッシュ、レスポンスのモデル名、CI の高速化)、[@fightingnoble](https://github.com/fightingnoble)(Codex のモデルごとの Fast と Lite)、[@codexvn](https://github.com/codexvn)(レスポンスのモデル名)、[@jimpablo](https://github.com/jimpablo)(Antigravity のログイン用ターミナル)、[@funkpopo](https://github.com/funkpopo)(Antigravity デスクトップ版でのログイン)、[@z570093689](https://github.com/z570093689)(Windows のバックグラウンドでの残量照会でターミナルを開かない)、[@awakenginexe](https://github.com/awakenginexe)(タイバーツ)、[@YUZHEthefool](https://github.com/YUZHEthefool)(CI の高速化)、[@The-Minion-oOo](https://github.com/The-Minion-oOo)(長い添付ファイルを含むリクエストの所要時間)の貢献に感謝します。
-問題の報告と再現情報の提供に協力してくださった [@niruiqing](https://github.com/niruiqing)、[@kingys1992](https://github.com/kingys1992)、[@Leafseaquiet](https://github.com/Leafseaquiet)、[@ref4rain](https://github.com/ref4rain)、[@PHOENIX-collab-bot](https://github.com/PHOENIX-collab-bot) に感謝します。
+問題の報告と再現情報の提供に協力してくださった [@niruiqing](https://github.com/niruiqing)、[@kingys1992](https://github.com/kingys1992)、[@Leafseaquiet](https://github.com/Leafseaquiet)、[@ref4rain](https://github.com/ref4rain)、[@NovumOrbis](https://github.com/NovumOrbis)、[@PHOENIX-collab-bot](https://github.com/PHOENIX-collab-bot) に感謝します。
技術的な詳細は [CHANGELOG](https://github.com/farion1231/cc-switch/blob/main/CHANGELOG.md) をご覧ください。
diff --git a/docs/release-notes/v4.0.46-zh.md b/docs/release-notes/v4.0.46-zh.md
index aa04f4d42..c7b87074c 100644
--- a/docs/release-notes/v4.0.46-zh.md
+++ b/docs/release-notes/v4.0.46-zh.md
@@ -2,7 +2,7 @@
本版本为 Antigravity 增加了路由、故障转移和聚合模式:和 Claude Code、Codex 一样,可以经本地路由转发、记录用量,一家出错时自动换下一家,也可以把多家供应商的模型放进 agy 的同一个模型列表。Antigravity 的路由和聚合模式暂时还不支持和 OpenAI Responses、Anthropic Messages 格式之间的转换,后续会做。Antigravity 的模型可以填显示名、上下文窗口、输出上限和思考等级,路由时在 agy 的模型菜单里直接切换思考强度。设置里的全局代理现在覆盖 CC Switch 启动的所有程序:打开终端、安装升级工具、MCP 连通性检查和登录终端都会走它。
-修复包括:Claude Code 经 OpenAI 兼容中转用 Gemini 模型时缓存命中率归零,模型映射后 Claude Code 丢掉思考块,Codex 显式模型列表提前压缩上下文,Windows 后台查 Antigravity 额度弹出终端,Antigravity 官方卡默认不显示额度,WorkBuddy 获取模型列表丢掉图片模型,以及 Antigravity 添加账号时的多处问题。
+修复包括:Claude Code 经 OpenAI 兼容中转用 Gemini 模型时缓存命中率归零,模型映射后 Claude Code 丢掉思考块,Codex 显式模型列表提前压缩上下文,Windows 后台查 Antigravity 额度弹出终端,Antigravity 官方卡默认不显示额度,Claude Code 带长附件的请求丢失耗时和首字时间,WorkBuddy 获取模型列表丢掉图片模型,以及 Antigravity 添加账号时的多处问题。
> ⚠️ Antigravity 的直连模式暂不支持第三方模型的思考等级:直连时 agy 不会给网关模型发思考强度,选的档位不生效。要用第三方平台提供的模型(比如中转的 Gemini 模型)调思考等级,请打开路由或聚合模式。
@@ -89,6 +89,7 @@ Antigravity 的 Key 卡不再在副标题里显示网关的默认模型,改成
- **模型映射后,Claude Code 丢掉思考块**([#10108](https://github.com/farion1231/cc-switch/pull/10108),见 [#5578](https://github.com/farion1231/cc-switch/issues/5578)):上游返回的是映射后的模型名时,Claude Code 会丢掉之前带签名的思考块。现在响应里的模型名改回客户端请求的那个,发给上游的请求不变,用量仍按上游真实模型记录。
- **Windows 后台查 Antigravity 额度时弹出终端**([#10124](https://github.com/farion1231/cc-switch/pull/10124),关闭 [#10123](https://github.com/farion1231/cc-switch/issues/10123))
- **Antigravity 官方卡默认不显示额度**:4.0.45 托盘改成列供应商卡片后,没保存过用量设置的官方卡(包括首次启动导入的那张)在托盘和卡片上都不显示额度。现在默认查官方额度:绑定了账号的卡查那个号,没绑定的跟随 agy 当前登录;手动关掉的仍然不查。
+- **Claude Code 带长附件的请求丢失耗时和首字时间**([#10149](https://github.com/farion1231/cc-switch/pull/10149),关闭 [#9954](https://github.com/farion1231/cc-switch/issues/9954)):请求和回复之间写了大量附件数据时,从会话日志导入的用量里耗时和首字时间为空。现在找不到请求起点时会多往前读一段再找。
- **WorkBuddy 获取模型列表时丢掉图片模型**(见 [#10129](https://github.com/farion1231/cc-switch/issues/10129)):4.0.44 起「获取模型列表」会过滤掉图片、视频等非对话模型,WorkBuddy 里用中转的作图模型(如 gpt-image)就选不到了。现在 WorkBuddy 不再过滤,其他应用照旧。
- **Antigravity 添加账号的多处问题**([#10102](https://github.com/farion1231/cc-switch/pull/10102),关闭 [#10099](https://github.com/farion1231/cc-switch/issues/10099)):macOS、Linux 上 agy 在终端里退出后立即结束等待,并还原原来的登录(Windows 仍等到登录或超时);登录终端在所有平台都带上全局代理;Ghostty 已打开时会被带到前台;PATH 只写在 shell 配置文件里时也能找到 agy;agy 1.5 执行 `/logout` 后残留的元数据不再被当成已登录。
- **在 Warp 里恢复 Oh My Pi 会话失败**:Warp 的启动脚本改用 `exec env`。
@@ -97,8 +98,8 @@ Antigravity 的 Key 卡不再在副标题里显示网关的默认模型,改成
## 致谢
-感谢 [@allenxu09](https://github.com/allenxu09)(Gemini 中转缓存、响应模型名、CI 提速)、[@fightingnoble](https://github.com/fightingnoble)(Codex 每模型 Fast 和 Lite)、[@codexvn](https://github.com/codexvn)(响应模型名)、[@jimpablo](https://github.com/jimpablo)(Antigravity 登录终端)、[@funkpopo](https://github.com/funkpopo)(Antigravity 桌面版登录)、[@z570093689](https://github.com/z570093689)(Windows 后台查额度不弹终端)、[@awakenginexe](https://github.com/awakenginexe)(泰铢)、[@YUZHEthefool](https://github.com/YUZHEthefool)(CI 提速)的贡献。
+感谢 [@allenxu09](https://github.com/allenxu09)(Gemini 中转缓存、响应模型名、CI 提速)、[@fightingnoble](https://github.com/fightingnoble)(Codex 每模型 Fast 和 Lite)、[@codexvn](https://github.com/codexvn)(响应模型名)、[@jimpablo](https://github.com/jimpablo)(Antigravity 登录终端)、[@funkpopo](https://github.com/funkpopo)(Antigravity 桌面版登录)、[@z570093689](https://github.com/z570093689)(Windows 后台查额度不弹终端)、[@awakenginexe](https://github.com/awakenginexe)(泰铢)、[@YUZHEthefool](https://github.com/YUZHEthefool)(CI 提速)、[@The-Minion-oOo](https://github.com/The-Minion-oOo)(长附件请求的耗时)的贡献。
-感谢 [@niruiqing](https://github.com/niruiqing)、[@kingys1992](https://github.com/kingys1992)、[@Leafseaquiet](https://github.com/Leafseaquiet)、[@ref4rain](https://github.com/ref4rain)、[@PHOENIX-collab-bot](https://github.com/PHOENIX-collab-bot) 报告问题和提供复现信息。
+感谢 [@niruiqing](https://github.com/niruiqing)、[@kingys1992](https://github.com/kingys1992)、[@Leafseaquiet](https://github.com/Leafseaquiet)、[@ref4rain](https://github.com/ref4rain)、[@NovumOrbis](https://github.com/NovumOrbis)、[@PHOENIX-collab-bot](https://github.com/PHOENIX-collab-bot) 报告问题和提供复现信息。
完整的技术细节请见 [CHANGELOG](https://github.com/farion1231/cc-switch/blob/main/CHANGELOG.md)。