provider: Cursor's plugin min is 0.2.30, an Enterprise account's overall allowance (plugins #391)

0.2.30 (lexleizou, #3288, plugins #391): an Enterprise account's
GetCurrentPeriodUsage has no plan pools, so its card was empty; the
plugin now reads the website's usage-summary and shows the overall
allowance as an Enterprise window in USD, aside while team on-demand is
unlimited or a measured budget has room.

npm view @magpie-community/opencode-cursor-auth version --prefer-online:
0.2.30 when this landed.

Run on mote at this tree: go test -timeout 45m ./internal/provider ok
(139s); gofmt -l clean. Not tried: a real Enterprise account.
This commit is contained in:
yetone
2026-10-28 23:58:55 +08:00
parent b69f8e96af
commit 298bfce59e
File diff suppressed because one or more lines are too long