Skip to content

Commit c2ce012

Browse files
committed
docs: add 2api risks, gRPC testing call, and test screenshot to v4.1.22 changelog
1 parent 09db304 commit c2ce012

File tree

20 files changed

+359
-548
lines changed

20 files changed

+359
-548
lines changed

Casks/antigravity-tools.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cask "antigravity-tools" do
2-
version "4.1.21"
2+
version "4.1.22"
33
sha256 :no_check
44

55
name "Antigravity Tools"

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ irm https://raw.githubusercontent.com/lbjlaq/Antigravity-Manager/main/install.ps
131131

132132
> **支持的格式**: Linux (`.deb` / `.rpm` / `.AppImage`) | macOS (`.dmg`) | Windows (NSIS `.exe`)
133133
>
134-
> **高级用法**: 安装指定版本 `curl -fsSL ... | bash -s -- --version 4.1.21`,预览模式 `curl -fsSL ... | bash -s -- --dry-run`
134+
> **高级用法**: 安装指定版本 `curl -fsSL ... | bash -s -- --version 4.1.22`,预览模式 `curl -fsSL ... | bash -s -- --dry-run`
135135
136136
#### macOS - Homebrew
137137
如果您已安装 [Homebrew](https://brew.sh/),也可以通过以下命令安装:
@@ -432,6 +432,10 @@ response = client.chat.completions.create(
432432

433433
* **版本演进 (Changelog)**:
434434
* **v4.1.22 (2026-02-21)**:
435+
- **[重要提醒] 2api 风控风险提示**:
436+
- 由于近期的谷歌风控原因,使用 2api 功能会导致账号被风控的概率显著增加。
437+
- **强烈建议**: 为了确保您的账号安全与调用稳定性,建议减少或停止使用 2api 功能。目前更原生、更稳定的 **gRPC (`application/grpc`)****gRPC-Web (`application/grpc-web`)** 协议代理支持仍在积极测试中,如果您有相关的测试经验或想法,非常欢迎联系讨论,也欢迎您建立新分支一起探索!
438+
- <details><summary>📸 点击查看 gRPC 实时转换 OpenAI 规范测试演示</summary><img src="docs/images/usage/grpc-test.png" alt="gRPC Test" width="600"></details>
435439
- **[核心优化] Claude Sonnet 4.5 迁移至 4.6 (PR #2014)**:
436440
- **模型升级**: 引入 `claude-sonnet-4-6``claude-sonnet-4-6-thinking` 作为主推模型。
437441
- **平滑过渡**: 自动将 legacy 模型 `claude-sonnet-4-5` 重定向至 `4.6`

README_EN.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ irm https://raw.githubusercontent.com/lbjlaq/Antigravity-Manager/main/install.ps
132132

133133
> **Supported formats**: Linux (`.deb` / `.rpm` / `.AppImage`) | macOS (`.dmg`) | Windows (NSIS `.exe`)
134134
>
135-
> **Advanced usage**: Install a specific version `curl -fsSL ... | bash -s -- --version 4.1.21`, dry-run mode `curl -fsSL ... | bash -s -- --dry-run`
135+
> **Advanced usage**: Install a specific version `curl -fsSL ... | bash -s -- --version 4.1.22`, dry-run mode `curl -fsSL ... | bash -s -- --dry-run`
136136
137137
#### macOS - Homebrew
138138
If you have [Homebrew](https://brew.sh/) installed, you can also install via:
@@ -284,6 +284,10 @@ print(response.choices[0].message.content)
284284
285285
* **Changelog**:
286286
* **v4.1.22 (2026-02-21)**:
287+
- **[Important Warning] 2api Risk Control Alert**:
288+
- Due to recent Google risk control measures, utilizing 2api features significantly increases the probability of your account being flagged.
289+
- **Highly Recommended**: To ensure account safety and interaction stability, we strongly advise reducing or discontinuing the use of 2api features. Support for the more native and stable **gRPC (`application/grpc`)** or **gRPC-Web (`application/grpc-web`)** protocols is currently under active testing. If you have any testing experience, ideas, or suggestions, please feel free to reach out for a discussion, or create a new branch to explore with us!
290+
- <details><summary>📸 View gRPC to OpenAI Proxy Test Screenshot</summary><img src="docs/images/usage/grpc-test.png" alt="gRPC Test" width="600"></details>
287291
- **[Core Optimization] Claude Sonnet 4.5 to 4.6 Migration (PR #2014)**:
288292
- **Model Upgrade**: Introduced `claude-sonnet-4-6` and `claude-sonnet-4-6-thinking` as primary models.
289293
- **Seamless Transition**: Automatically redirect `claude-sonnet-4-5` (legacy) to `4.6`.

dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
background-color: transparent;
4646
}
4747
</style>
48-
<script type="module" crossorigin src="/assets/index-eFt1wEZx.js"></script>
48+
<script type="module" crossorigin src="/assets/index-Ky6nO7nb.js"></script>
4949
<link rel="stylesheet" crossorigin href="/assets/index-D7AXo70I.css">
5050
</head>
5151

docs/images/usage/grpc-test.png

903 KB
Loading

en_pr.json

Lines changed: 0 additions & 251 deletions
This file was deleted.

install.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Usage: irm https://raw.githubusercontent.com/lbjlaq/Antigravity-Manager/main/install.ps1 | iex
33
#
44
# Parameters (set before running):
5-
# $Version = "4.1.21" # Install specific version
5+
# $Version = "4.1.22" # Install specific version
66
# $DryRun = $true # Preview commands without executing
77

88
if (-not $Version) { $Version = "" }
@@ -85,12 +85,12 @@ function Get-ReleaseVersion {
8585
}
8686

8787
Script-Error "Failed to determine latest version. Try specifying version manually:"
88-
Write-Host ' $Version = "4.1.21"; irm https://raw.githubusercontent.com/lbjlaq/Antigravity-Manager/main/install.ps1 | iex' -ForegroundColor Yellow
88+
Write-Host ' $Version = "4.1.22"; irm https://raw.githubusercontent.com/lbjlaq/Antigravity-Manager/main/install.ps1 | iex' -ForegroundColor Yellow
8989
return $false
9090
}
9191

9292
function Get-DownloadUrl {
93-
# NSIS installer: Antigravity.Tools_4.1.21_x64-setup.exe
93+
# NSIS installer: Antigravity.Tools_4.1.22_x64-setup.exe
9494
$script:DownloadUrl = "https://github.com/$Repo/releases/download/v$($script:ReleaseVersion)/Antigravity.Tools_$($script:ReleaseVersion)_x64-setup.exe"
9595
$script:Filename = "Antigravity.Tools_$($script:ReleaseVersion)_x64-setup.exe"
9696

0 commit comments

Comments
 (0)