Antigravity answers "Hermes Agent, an intelligent AI assistant created by Nous Research" (Hermes' earlier default SOUL.md, which a SOUL.md the user edited keeps) with the same fake 429 "Resource has been exhausted" (zgoodz on X, 10-27: "antigravity在Hermes里一样429"). Hermes' current default persona goes through. The line joins the words broken with a zero-width space, after its H: "You are Hermes Agent, an intelligent ..." still fails on a real account, while "Hermes Agent, an intelligent ..." goes through. magpie v0.1.1641 breaks the same lines on an Antigravity account by itself (`magpie provider set antigravity prompt=as-written` turns it off); the README says so, and that this middleware then adds only extraWords. Run: - bun test packages/antigravity-cloak: 15 pass, 0 fail (new case: Hermes' old persona in a chat system message, broken after its H; the current "You are Hermes Agent, built by Nous Research." stays). With the word taken out: 14 pass, 1 fail. - bun test scripts/check.test.mjs: 3 pass. - Real Antigravity account through a sandbox magpie: the line whole is refused; broken after its H, 200; real Hermes Agent with the old persona answered through magpie's own break (magpie-side, same rule). Not tried: this plugin installed in a running magpie on a real account.
15 lines
706 B
JSON
15 lines
706 B
JSON
{
|
|
"name": "@magpie-community/middleware-antigravity-cloak",
|
|
"version": "0.1.2",
|
|
"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": [] }
|
|
}
|
|
}
|