With Use AI credits on, a 429 from the plan's quota was cancelled before the second ask with credits; when that ask was refused too, the code read the cancelled body and threw, so every retry came back as a 502 "Body already used" and the quota's 429 was never told. The refusal is read first and told when the credits ask fails or throws. Run: bun test packages/antigravity (84 pass); the new test is red on the old index.mjs (TypeError: Body already used), green on the new. Other packages that cancel a body before a retry reassign the reply (read: kiro, minimax, nous, atomcode, joycode, gcp-ai, factory); none read the cancelled one.
13 lines
631 B
JSON
13 lines
631 B
JSON
{
|
|
"name": "@magpie-community/opencode-antigravity-auth",
|
|
"version": "0.1.3",
|
|
"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" }
|
|
}
|