nullburn's DeepSeek Harness requests kept getting Antigravity's "Resource has been exhausted" with ~99% of the 5-hour window left, while the title request on the same model went through. Replays traced it to a prompt that a separate DSH plugin injects, not to DSH, magpie or this middleware. The README said nothing about telling this refusal from real quota, or how to find what is matched. The README (en, zh) now has "When the 429 comes back anyway": quota left plus other requests on the model going through means the prompt is refused; replay with parts of the system prompt taken out, half at a time; then add a phrase to extraWords or change the text at its source. It says the middleware doesn't hide arbitrary prompts, as the reporter asked. Run (mica, HOME=$(mktemp -d)): bun test packages/antigravity-cloak 16 pass; bun scripts/check.mjs exit 0. Docs and version only, no code. Reported-by: nullburn
15 lines
706 B
JSON
15 lines
706 B
JSON
{
|
|
"name": "@magpie-community/middleware-antigravity-cloak",
|
|
"version": "0.1.5",
|
|
"description": "magpie gateway middleware: Antigravity stops turning Claude Code's and the Claude Agent SDK's system prompts away, and no other provider's request is changed",
|
|
"type": "module",
|
|
"files": ["antigravity-cloak.middleware.js", "README.md"],
|
|
"keywords": ["magpie", "magpie-middleware", "antigravity", "claude-code", "llm-gateway"],
|
|
"license": "MIT",
|
|
"repository": { "type": "git", "url": "git+https://github.com/magpie-community/plugins.git", "directory": "packages/antigravity-cloak" },
|
|
"magpie": {
|
|
"middleware": "./antigravity-cloak.middleware.js",
|
|
"options": { "extraWords": [] }
|
|
}
|
|
}
|