cursor 0.2.41 (ooboqoo): new input past a parent that is awaiting results gets a retained Run that takes no reservation, so those turns stop falling back to "owner busy" and then "historical native calls" rebuilds. When a later Run of the conversation starts, a parent waiting on results owes its step at once, bounded before that start, and the later Run collects it. The collection waits until owedAt, because Cursor adds a step to a Run's one event as the step ends. If the parent's own results resume it, an uncollected count is withdrawn, and a collected one comes off its final, so the event is billed once.
Reviewed at 74a1d8b23 merged onto main 20b89389, on Linux (WSL2 Ubuntu 24.04, Bun 1.4.2):
- `bun scripts/check.mjs` OK.
- `bun test packages/cursor` three times: 400/1 once, under load, from native-http1's 100 ms writeWait test. That test isn't touched here and is filed as #754. The other two runs were 401/0. Main ran 394/0 twice.
- `native-e2e` + `native-session` + `native-http1` three times: 182/0 each. native-http1 alone five times: green.
- Broken by hand:
- The selector filter in `create` dropped: the admission test red.
- No handover: 5 red.
- No hold: 1 red.
- No withdraw: 1 red.
- No final subtraction: 1 red.
- Restored: 177/0.
- Real account: the author's runs are in the PR. 398 requests at a0f9363, with no owner busy. 144 requests at 74a1d8b, where all 15 handed-over parents were collected once.
13 lines
606 B
JSON
13 lines
606 B
JSON
{
|
|
"name": "@magpie-community/opencode-cursor-auth",
|
|
"version": "0.2.41",
|
|
"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" }
|
|
}
|