An "an empty reply" (502) said nothing of why, so #60's 14 empty replies on grok-4.7-fast over seven days can't be told apart: a turn of thinking only, a turn spent asking for Cursor's own tools (which the plugin refuses), something Cursor now sends that decode doesn't read, or an end frame that carried words without a Connect code (which failure() treated as a clean end and dropped). Its message now names them, e.g. an empty reply (Cursor ended the turn; after 31 chars of thinking, no text and no tool call; Cursor counted 41 output tokens; Cursor's own tools asked for and refused: #14; try again) and, when the stream itself ended, the end frame's JSON (cut at 300 chars). Field numbers are agent.v1's. Status, retry and behaviour are unchanged: magpie's gateway retries on the 502, not on the words. Run: HOME=<tmp> bun test, 1103 pass, 0 fail (a first run under load average 16 had 7 bun 5s timeouts in other packages' CLI/login tests, #65's class; the rerun was green); bun scripts/check.mjs cursor passes. The two decode tests go red with the old index.mjs. Through the plugin's loader against a local HTTP/2 fake Run (thinking, an own-tool exec, TurnEnded, no text): the unstreamed 502 and the streamed error frame both carry the message above. Not tried against real Cursor: no cause is proved; this is to name it on the next occurrence.
13 lines
534 B
JSON
13 lines
534 B
JSON
{
|
|
"name": "@magpie-community/opencode-cursor-auth",
|
|
"version": "0.2.8",
|
|
"description": "Cursor subscriptions (Pro, Pro+, Ultra, Teams) in OpenCode and magpie, through the API cursor-agent talks to",
|
|
"type": "module",
|
|
"main": "./index.mjs",
|
|
"exports": "./index.mjs",
|
|
"files": ["index.mjs", "README.md"],
|
|
"keywords": ["opencode", "opencode-plugin", "magpie", "cursor"],
|
|
"license": "MIT",
|
|
"repository": { "type": "git", "url": "git+https://github.com/magpie-community/plugins.git", "directory": "packages/cursor" }
|
|
}
|