Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Changelog

## 2.9.13

### Fixed

- **Un 403 por suspension de cuenta contaba como un fallo reintentable.** Cuando Google responde
`This service has been disabled in this account for violation of Terms of Service`, el plugin
reintentaba el mismo modelo, dejaba la cuenta en la rotacion y seguia intentando en cada request.
Ahora el 403 se reconoce como suspension permanente: la cuenta se deshabilita, se sale de la
rotacion y ya no se reintenta. El estado (`suspended`, `suspendedAt`, `suspendedReason`) se
persiste, y una cuenta suspendida sigue fuera aunque el archivo diga `enabled: true`. Re-habilitarla
a mano limpia la marca.
- **La suspension no se veia en ningun reporte.** `antigravity_stats` muestra `SUSPENDED`,
`antigravity_quota` muestra `(suspended)` y `USABLE no`, y el menu la marca `[suspended: ToS]`.
Antes la cuenta suspendida seguia apareciendo con 100% de salud y `USABLE yes`, porque el resumen de
cuota responde igual para una cuenta bloqueada.
- **La firma de cliente del CLI estaba desactualizada.** Se actualizo la pareja version/build a la que
publica agy 1.5.17 (`cl=4823843970351104`, tomado del artefacto
`antigravity-cli/1.5.17-4823843970351104/linux-x64/cli_linux_x64.tar.gz`).

### Verified

- Peticiones vivas con la firma nueva: `gemini-3.8-flash-low`, `gemini-3.8-flash-high` y
`claude-sonnet-4-6` devuelven HTTP 200 con `modelVersion` correcto en dos cuentas.
- Una cuenta que solo fallaba con `Requested entity was not found` volvio a servir trafico normal: el
404 era del modelo pedido, no del proyecto.

## 2.9.12

### Fixed
Expand Down
19 changes: 19 additions & 0 deletions docs/TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,25 @@ If you're seeing unusual rate limit behavior, please share in a [GitHub issue](h

---

## 403 "This service has been disabled in this account for violation of Terms of Service"

This is not a rate limit and not the `validation_required` flow. Google disabled
the account itself, so retrying changes nothing: the backend answers the same
403 for every model.

Since 2.9.13 the plugin detects it, removes the account from rotation, persists
`suspended: true` plus `suspendedReason`, and reports it as `SUSPENDED` in
`antigravity_stats`, as `(suspended)` in `antigravity_quota`, and as
`[suspended: ToS]` in the account menu.

What to do:
1. Appeal with the link/instructions Google includes in the error, if any.
2. Keep using another account in the meantime; the suspended one is skipped.
3. If Google reinstates it, re-enable the account (menu or `enabled: true`
without `suspended`); the plugin clears the mark and tries it again.

---

## Infinite `.tmp` Files Created

**Cause:** When account is rate-limited and plugin retries infinitely, it creates many temp files.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opencode-antigravity-auth",
"version": "2.9.12",
"version": "2.9.13",
"description": "Google Antigravity IDE OAuth auth plugin for OpenCode v2 - access Gemini 4 Argon, 3.8 Flash, and Claude models using Google credentials",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down