provider: the ZCode mover's min is 0.1.39, gift plans are also claimed from the ZCode app's banner feed (plugins#503)
Plugin 0.1.39 (magpie-community/plugins 2e580cf) reads the ZCode app's claim banners from GET /api/v1/marketing/touch as well as billing/preview. A banner plan (ZCODE WEEKEND BUILD, 10-30) is in neither billing list while the app shows it, so the daily check-in said there was nothing to claim (kongbai01203's capture on plugins#503). The claim itself is the same POST /billing/claim; a list that doesn't read is a failed check-in, asked again later. keepMovedCurrent brings every moved ZCode user to it. Run on mote, worktree at origin/mainec5571d6f+ this change: gofmt -l clean; `go vet`, GOOS=linux and GOOS=windows `go vet` of ./internal/provider/ ok; `go test -timeout 45m ./...`: every package ok except internal/gui, whose ten real-window AppKit tests (TestPanelCloseHidesIt, TestDockJoinLeadsCommandTab, TestMainWindowCorners, ...) were killed at their 20-80s deadlines on mote, filed as #4125 and #2645; this change touches only a string in internal/provider. Rebased onto5bb252c8fbefore the push; `go test ./internal/provider/` at the pushed tree: one red, TestQuotaSpanCarriesEveryWindowField ("trayKind" isn't on QuotaSpan), from7d4a63148on main, filed as #4457. `npm view @magpie-community/opencode-zcode-auth version --prefer-online --registry=https://registry.npmjs.org/` says 0.1.39. The plugin's own record (zcode 178 pass, 3 red on the old code, dedupe and unread-list returns broken by hand) is in 2e580cf. Not tried: a real banner claim through the plugin; its feed fixture is built from the capture's description of the fields.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user