From 316cb6d69995cb67653a97c124babf53b03db31e Mon Sep 17 00:00:00 2001 From: Hermes Date: Fri, 13 Nov 2026 22:57:09 -0600 Subject: [PATCH] fix(version): CLI fallback to 1.5.8, the version the auto-updater reports --- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- src/constants.ts | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc28226..981ea78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ ## [Unreleased] +## [2.9.1] - 2026-11-13 + +### Fixed + +- **The CLI version fallback was two releases behind.** `ANTIGRAVITY_CLI_VERSION_FALLBACK` + still said `1.5.3` while the CLI auto-updater reports `1.5.8` at 100% rollout. At runtime + `initAntigravityCliVersion()` already fetches the live value, so signatures were correct; + the stale constant only mattered when the updater was unreachable, which is exactly the + case a fallback exists for. + +## [Unreleased] + ### Docs - **Gemini 4 Carbon is covered by discovery, and not yet observed.** The `gemini-4-*` diff --git a/package.json b/package.json index f09fe0b..f0d380d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opencode-antigravity-auth", - "version": "2.9.0", + "version": "2.9.1", "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", diff --git a/src/constants.ts b/src/constants.ts index a8e28df..dac516b 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -85,7 +85,7 @@ export function setAntigravityVersion(version: string): void { * signature that the backend requires for Gemini 3.7/3.8 Flash. Kept current by * `initAntigravityCliVersion()`; see docs/ANTIGRAVITY_API_SPEC.md. */ -export const ANTIGRAVITY_CLI_VERSION_FALLBACK = "1.5.3"; +export const ANTIGRAVITY_CLI_VERSION_FALLBACK = "1.5.8"; let antigravityCliVersion = ANTIGRAVITY_CLI_VERSION_FALLBACK; let cliVersionLocked = false;