The User-Agent's version comes from Antigravity's update manifest. A read that failed (5s timeout, often hit on a cold plugin host) left the 2.9.1 default in place for the full six hours. Google lists and serves Gemini 4 only to newer releases, so under 2.9.1 the Argon and Carbon models fell out of the list and a request for them got 404. - The default is the manifest's version today, 2.31.2. - The read waits 15s, and one that fails is tried again after a minute. - A version that changes drops the model lists read under the old one, so the newer list arrives at once, not up to ten minutes later. magpie puts delisted picks back when the list has them again. Run on a separate test Mac (Bun 1.4.2, temp HOME): - bun test packages/antigravity: 99 pass, 0 fail (4 new in version.test.mjs). - bun scripts/check.mjs antigravity: ok. - The manifest answered "version: 2.31.2" today. Broken by hand, each red then restored: - no retry after a failed read: 1 fail. - no list drop on a new version: 1 fail. Not tried: a real Antigravity account. The reporter's own test of 2.9.1 vs 2.31.2 on one token is what shows the version gates Gemini 4. Reported-by: floodsource
13 lines
631 B
JSON
13 lines
631 B
JSON
{
|
|
"name": "@magpie-community/opencode-antigravity-auth",
|
|
"version": "0.1.8",
|
|
"description": "Sign in to Antigravity with a Google account from OpenCode or magpie: Gemini, and the Claude and GPT-OSS models Google hosts for it",
|
|
"type": "module",
|
|
"main": "./opencode.mjs",
|
|
"exports": { ".": "./opencode2.mjs" },
|
|
"files": ["index.mjs", "opencode.mjs", "opencode2.mjs", "README.md"],
|
|
"keywords": ["opencode", "opencode-plugin", "magpie", "antigravity", "gemini"],
|
|
"license": "MIT",
|
|
"repository": { "type": "git", "url": "git+https://github.com/magpie-community/plugins.git", "directory": "packages/antigravity" }
|
|
}
|