provider: Cursor's plugin min is 0.2.28, which doesn't wait on a failed model list or send HTTP/1.1 appends one at a time
ysm119 on Discord: claude-opus-5-5 through the Cursor plugin takes 33-36 s to its first token and 83-253 s in all. Two waits on our side, both fixed in the plugin (magpie-community/plugins fc14571, d9c858c, 944610f): - A chat request picked its variant from AvailableModels (up to 30 s) before its Run, and a list Cursor couldn't give was asked again, and waited for, by every request. Now a stale list is used while a new one is asked for, requests at once share one ask, and after a failed ask requests go without it for 5 minutes. - Over HTTP/1.1 each history message's BidiAppend waited for the one before it. Now up to 16 go at once, as cursor-agent 2026.10.01 sends them; a native session's Run stays one at a time. 0.2.28 is on npm (npm view --prefer-online). 0.2.27 never reached npm on its own: its publish run went red on a test token collision, fixed in 944610f. Run: gofmt -l (clean); on mote go build -tags nogui ./... and go test -tags nogui ./internal/provider/ (ok). Plugin side: bun test packages/cursor 314 pass on mote and on Linux; the whole plugins suite 2997 pass; the publish run's test job green. Broken by hand (plugin): the old index.mjs turns all three listwait.test.mjs tests red; openH1 back to one at a time turns the new http1 test red. Not tried: a real Cursor account (its token is in the Keychain), so whether these are the time ysm119 sees, or Cursor's own, is not measured; not the full go suite (a one-string min change).
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user