provider: the Cursor mover's min is 0.2.40 (plugins#672)

cursor 0.2.40 (plugins#672, ooboqoo) gives a new user turn whose earlier
native calls all have their results a retained Run of its own, with those
calls as imported history. Before, every tool step after the first user
turn rebuilt the whole history on a fresh stateless Run. Raising the min
makes keepMovedCurrent bring every moved Cursor user to it.

npm view --prefer-online @magpie-community/opencode-cursor-auth version
gave 0.2.40 before this commit.

Run on mote at this change on 6c201095d (rebased onto 22f5cf69e, which touches only internal/agent and internal/library, neither imported by internal/provider): go build ./..., GOOS=linux and GOOS=windows
go vet ./internal/provider, go test -timeout 45m ./internal/provider:
ok (169.8s); vet ok on both. gofmt -l internal/provider is empty.
Plugin side (at the merged head 5b4dcf1): packages/cursor bun test 394
pass; with main's native-session.mjs the PR's two new tests fail.
Not tried: a real Cursor account through magpie on 0.2.40.
This commit is contained in:
yetone
2026-11-03 20:05:00 +08:00
parent 22f5cf69e5
commit 7d022bdb63
File diff suppressed because one or more lines are too long