fix: update Antigravity User-Agent to 1.15.8 (#4111)

This commit is contained in:
anthropic-code-agent[bot] 2026-01-30 11:09:10 +00:00
parent 2c3a19fe52
commit 5156c579e6
3 changed files with 3 additions and 2 deletions

View File

@ -69,6 +69,7 @@ Status: stable.
- Docs: keep docs header sticky so navbar stays visible while scrolling. (#2445) Thanks @chenyuan99. - Docs: keep docs header sticky so navbar stays visible while scrolling. (#2445) Thanks @chenyuan99.
- Docs: update exe.dev install instructions. (#https://github.com/openclaw/openclaw/pull/3047) Thanks @zackerthescar. - Docs: update exe.dev install instructions. (#https://github.com/openclaw/openclaw/pull/3047) Thanks @zackerthescar.
- Build: skip redundant UI install step in the Dockerfile. (#4584) Thanks @obviyus. - Build: skip redundant UI install step in the Dockerfile. (#4584) Thanks @obviyus.
- Antigravity: update User-Agent to 1.15.8 to fix "no longer supported" errors. (#4111)
### Breaking ### Breaking
- **BREAKING:** Gateway auth mode "none" is removed; gateway now requires token/password (Tailscale Serve identity still allowed). - **BREAKING:** Gateway auth mode "none" is removed; gateway now requires token/password (Tailscale Serve identity still allowed).

View File

@ -230,7 +230,7 @@ async function fetchProjectId(accessToken: string): Promise<string> {
const headers = { const headers = {
Authorization: `Bearer ${accessToken}`, Authorization: `Bearer ${accessToken}`,
"Content-Type": "application/json", "Content-Type": "application/json",
"User-Agent": "google-api-nodejs-client/9.15.1", "User-Agent": "antigravity/1.15.8 linux/arm64",
"X-Goog-Api-Client": "google-cloud-sdk vscode_cloudshelleditor/0.1", "X-Goog-Api-Client": "google-cloud-sdk vscode_cloudshelleditor/0.1",
"Client-Metadata": JSON.stringify({ "Client-Metadata": JSON.stringify({
ideType: "IDE_UNSPECIFIED", ideType: "IDE_UNSPECIFIED",

View File

@ -174,7 +174,7 @@ export async function fetchAntigravityUsage(
const headers: Record<string, string> = { const headers: Record<string, string> = {
Authorization: `Bearer ${token}`, Authorization: `Bearer ${token}`,
"Content-Type": "application/json", "Content-Type": "application/json",
"User-Agent": "antigravity", "User-Agent": "antigravity/1.15.8 linux/arm64",
"X-Goog-Api-Client": "google-cloud-sdk vscode_cloudshelleditor/0.1", "X-Goog-Api-Client": "google-cloud-sdk vscode_cloudshelleditor/0.1",
}; };