Files
plugins/packages/cursor/package.json
T
wuuliandwuuli 62c3241954 cursor 0.2.47: wait for announced MCP execs before sealing a batch (#1133)
A Cursor step can send its tool count, then a checkpoint naming only the
first MCP call, then the second call's exec. The count made the #550
fallback seal the batch at that checkpoint, so the second tool was lost
(native: "native call arrived after its batch was sealed"; stateless: one
tool). StepCalls now tracks MCP calls announced by a partial or started
update until their exec or Cursor's own completion arrives, and neither
path seals on a checkpoint while one is pending. Cleared at nextStep.

Reviewed at d3a50d48. Run (macOS, mica): bun test packages/cursor 425
pass 0 fail; bun scripts/check.mjs cursor ok. Broken by hand: without
both pendingMcp checks the four new tests fail; with them they pass.
PR checks bumped, test, on-npm green. Not tried: a real Cursor account
(the author ran a live Pi -> magpie -> Cursor probe, 6 tool calls ok).

Co-authored-by: wuuli <wuuli@users.noreply.github.com>
2026-11-14 16:04:32 +08:00

13 lines
606 B
JSON

{
"name": "@magpie-community/opencode-cursor-auth",
"version": "0.2.47",
"description": "Cursor subscriptions (Pro, Pro+, Ultra, Teams) in OpenCode and magpie, through the API cursor-agent talks to",
"type": "module",
"main": "./opencode.mjs",
"exports": { ".": "./opencode2.mjs" },
"files": ["index.mjs", "opencode.mjs", "opencode2.mjs", "native-session.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" }
}