Files
plugins/packages/agy-cli/package.json
T
yetone 8c3397d3ff agy-cli 0.1.88, antigravity 0.2.2: DeepSeek Harness's browser sentence goes "gives"
LayFz (#1105, @baoshijie8848 on X) ran a controlled A/B on one Antigravity
Ultra account, same model and endpoint, only the system prompt changed:
"You are an AI agent powered by DeepSeek Harness." and, in the middle of
DSH's Web GUI paragraph (@deepseek-ai/dsh-harness-dev-context), "The
browser provides no implicit DOM, route, or screenshot context." each got
429 RESOURCE_EXHAUSTED; each paraphrased got 200.

- agy-cli's cloak.mjs already had the first line (#1171, 0.1.57). It now
  has the browser sentence too, sent as "The browser gives no implicit
  DOM, route, or screenshot context.", and the DSH hint names both.
- The antigravity plugin (0.2.1, serving existing users) had neither:
  both lines are added there, with a DSH hint.

The rewording keeps every word but the verb. sub2api's PR 8878 drops
"route", which changes what DSH tells the model, so it was not copied.

Real account, 11-17, through the antigravity plugin, sandbox HOME, the
owner's existing plugin sign-in (no credentials entered), 3 runs each:
- 0.2.1 (old): opener 429 3/3 on gemini-4-hydrogen-sonar (gemini-3.8-flash
  gave three 502 cert errors upstream that round, 429 3/3 in the earlier
  round); the literal Web GUI paragraph 429 on both models; opener +
  paragraph 429 3/3 on both.
- agy-cli 0.1.88's outgoing() text for opener + paragraph, sent through
  0.2.1 (which leaves it as is): 200 3/3 on both models.
- 0.2.2 (new): opener, paragraph, opener + paragraph raw from the client:
  200 on both models (one upstream 502 cert error on flash).
- Bisect (gemini-3.8-flash): the sentence lower-cased or wrapped over a
  newline 429; without its period, without the comma before "or",
  without "implicit", or "gives" for "provides" 200. So those variants
  stay as written and the tests check it.

Tests use the paragraph word for word.

Run (mote, HOME=$(mktemp -d)) at this tree: bun test packages/agy-cli
packages/antigravity 173 pass, 0 fail; bun scripts/check.mjs ok.
Broken by hand: 0.1.87's cloak.mjs and 0.2.1's index.mjs with the new
tests: both new tests fail (2 of 40 in cloak.test.mjs + shape.test.mjs).
Not changed: magpie's codeassist.go list and the antigravity-cloak
middleware act only on the retired built-in Antigravity (Account.Agent
"antigravity"), which serves no requests.
2026-11-17 15:44:38 +08:00

60 lines
1.2 KiB
JSON

{
"name": "@magpie-community/opencode-agy-cli-auth",
"version": "0.1.88",
"description": "Magpie/OpenCode model provider that connects your local agy CLI through the Agent Client Protocol (agy acp), so Antigravity subscription models run through the real CLI",
"type": "module",
"main": "./opencode.mjs",
"exports": {
".": "./opencode2.mjs"
},
"files": [
"proc.mjs",
"index.mjs",
"documents.mjs",
"opencode.mjs",
"opencode2.mjs",
"platform.mjs",
"install.mjs",
"login.mjs",
"mcp-server.mjs",
"step-usage.mjs",
"tool-schema.mjs", "tool-budget.mjs",
"usage.mjs",
"model-ids.mjs",
"signin.mjs",
"account.mjs",
"import.mjs",
"README.md",
"README.en.md",
"LICENSE",
"NOTICE.md",
"re2-pattern.mjs",
"array-items.mjs",
"cloak.mjs"
],
"keywords": [
"magpie",
"magpie-plugin",
"opencode",
"opencode-plugin",
"antigravity",
"agy",
"acp"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/agy-cli"
},
"scripts": {
"test": "bun test"
},
"engines": {
"magpie": ">=0.1.4246"
},
"magpie": {
"maxConcurrency": 16
}
}