provider: Command Code's plugin is at least 0.1.17, its Credits bar second where magpie shows two windows (01huadalang on Discord)

01huadalang said the Command Code card has no bar for the total quota
left. The Providers account line (quotaLine) and the menu bar
(trayusage) show a provider's first two windows. A plan account's
plugin reported [5 hours, Weekly, Credits], so the dollars were only
in the tooltip. Plugin 0.1.17 (plugins 8531ccc) puts Credits second,
after the 5 hours. The min goes to 0.1.17 so keepMovedCurrent updates
every moved user.

npm view @magpie-community/opencode-commandcode-auth --prefer-online:
latest 0.1.17, published by publish.yml run 40186792179 with provenance
(its npm job is red only on think-tags 0.1.1's known E404, plugins#180).
The plugin's bun test: 65 pass. The plugin's auth.usage, against the
owner's real GOAT account: 5 hours 0.93%, Credits $0.63 / $70.00,
Weekly 1.20% (before: 5 hours, Weekly, Credits). Plugins PR #303 was
reviewed and not merged (it loses the $ on today's magpie and adds no
bar); see its comment.

At the pushed head (this and the provider commit, rebased on
origin/main 758be6d14): go test -tags nogui -count=1 ./internal/gui
./internal/provider in a sandbox HOME: ok (67.5s, 133.5s); gofmt -l
clean; go vet ./internal/gui ./internal/provider ok; go build ./...
(mac) ok; heatmap-scrollbar, usage-heatmap, view-scrollbar and
view-wheel-unheard .test.cjs at 7ad6df865: 38 pass, 0 fail. Before the rebase, at
30bd722ef on d2e0ea393: the same two packages ok (84.9s, 157.1s), and
go vet ./... for mac, GOOS=linux -tags nogui and GOOS=windows ok, with
linux nogui and windows go build ok.
Not run: the full suite (the disk was full). Not tried: a sandbox magpie
showing the bar on the account line. No test fails without a min
bump; the plugin's usage test holds the order.
This commit is contained in:
yetone
2026-10-25 19:40:37 +08:00
parent 47689f9fd9
commit 83571db8ed
+1 -1
View File
@@ -139,7 +139,7 @@ func init() {
movers[CommandCodePlanID] = &mover{
pkg: "@magpie-community/opencode-commandcode-auth",
min: "0.1.16", // 0.1.16: the Go catalog goes with the CLI's own User-Agent and /alpha/generate with the working folder's slug, as command-code 1.88.0 sends them, not "magpie" (plugins #352); 0.1.15: DeepSeek V4 Pro, V4 Flash, V4 Flash Vision, V4.1 Flash and V4.1 Flash Fast offer an off level, sent to the Provider API as reasoning_effort "off" (plugins #334); 0.1.14: a Zero Data Retention switch (or CMD_ZDR=1) sends x-cmd-zdr: 1 on the Provider API and /alpha/generate, as the CLI does (plugins #246); 0.1.13: the Credits window resets at the plan's period end (#2454); the models the built-in counted free are marked free; max_tokens capped at 200,000 as the built-in; 0.1.12: each plan lists only the models its plan may use, as the CLI's table has it, so a Go account no longer lists GOAT's (plugins 49e9d89, 01huadalang on Discord); 0.1.11: a streamed Go reply the upstream cuts off after it has said something ends cut short with a note, not a lost turn (plugins #91); 0.1.10: a Go request says the agent's folder and git repository as magpie tells them, not the home's (plugins #86); 0.1.9: a Go key the Provider API refuses is taken as Go's and asked at /alpha/generate (#969); a failure's status and its sign-in mark as the built-in's; a Go account lists Go's models; a model the plugin doesn't know takes pictures as models.dev says
min: "0.1.17", // 0.1.17: a plan account's Credits window goes second, after its 5 hours, so the account line and the menu bar, which show two windows, show the dollars left (01huadalang on Discord); 0.1.16: the Go catalog goes with the CLI's own User-Agent and /alpha/generate with the working folder's slug, as command-code 1.88.0 sends them, not "magpie" (plugins #352); 0.1.15: DeepSeek V4 Pro, V4 Flash, V4 Flash Vision, V4.1 Flash and V4.1 Flash Fast offer an off level, sent to the Provider API as reasoning_effort "off" (plugins #334); 0.1.14: a Zero Data Retention switch (or CMD_ZDR=1) sends x-cmd-zdr: 1 on the Provider API and /alpha/generate, as the CLI does (plugins #246); 0.1.13: the Credits window resets at the plan's period end (#2454); the models the built-in counted free are marked free; max_tokens capped at 200,000 as the built-in; 0.1.12: each plan lists only the models its plan may use, as the CLI's table has it, so a Go account no longer lists GOAT's (plugins 49e9d89, 01huadalang on Discord); 0.1.11: a streamed Go reply the upstream cuts off after it has said something ends cut short with a note, not a lost turn (plugins #91); 0.1.10: a Go request says the agent's folder and git repository as magpie tells them, not the home's (plugins #86); 0.1.9: a Go key the Provider API refuses is taken as Go's and asked at /alpha/generate (#969); a failure's status and its sign-in mark as the built-in's; a Go account lists Go's models; a model the plugin doesn't know takes pictures as models.dev says
agents: []string{CommandCodePlanID},
out: func() ([]Moving, error) {
var out []Moving