Files
plugins/packages/antigravity/package.json
T
yetone 934e6b3312 antigravity 0.1.6: gemini-4's rejected call (400 INVALID_ARGUMENT after the model ran) is asked again, up to twice (shzutbi1 on X)
Gemini 4 now and then builds a call Google's validator rejects; the same
request passes on a resend. A 400 INVALID_ARGUMENT that took 3s or more, or
an error chunk in the stream before any non-thinking part, is sent again for
gemini-4 models only. Thinking-only chunks are held back until the first
answer part, so a retry never repeats thinking to the client; once an answer
has begun the stream goes through as it is (a reply can't be taken back). A
fast 400 and other models are returned as before.

Run: bun test in packages/antigravity on mica, 78 pass. Broken by hand:
RETRY_BAD_CALL=0 turns 4 new tests red.
Not tried: a real Antigravity account (the 400 is intermittent).
Cost: thinking shows once the first answer part (or the end) arrives, not live.
2026-11-12 01:08:25 +08:00

13 lines
631 B
JSON

{
"name": "@magpie-community/opencode-antigravity-auth",
"version": "0.1.6",
"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" }
}