Commit Graph
2 Commits
Author SHA1 Message Date
yetone 7a091e31ae devin: the CLI's own account is named by its plan, as the Devin plugin names it (goal: 插件订阅 provider 跟内置的所有逻辑都要一模一样) — a sandbox move showed the built-in's own row with no plan while the plugin's said Devin Pro: the tier devin auth status gives was read and dropped. TestDevinUsage fails without the change, and now waits for the CLI as long as a loaded machine needs (it failed under -count=8). go vet, go build -tags nogui (darwin, GOOS=linux), GOOS=windows go build, go test -tags nogui ./... pass; in a sandbox HOME, Devin's two accounts read the same day/week windows on the built-in and on the plugin, and Grok moved with one account past its time and back. 2026-10-01 12:37:01 +08:00
yetone 181eefdc31 plugins: built-in Devin shows its usage as the Devin plugin does, and a Grok account whose sign-in has expired no longer stops Grok's move (goal: 插件订阅 provider 跟内置的所有逻辑都要一模一样) — the plugin showed a Devin account's day and week quotas, its ACUs and extra balance from GetUserStatus while the built-in showed no usage at all, so routing had no allowance to fail over on until the move; the built-in now reads the same and fills the same windows (1 day, 7 days, ACUs aside), plan end and balance, and a refused key says to sign in again. A move checks each account through the plugin and stopped when one failed; Grok's plugin says an expired sign-in only in words ("Grok's sign-in has expired"), so one dead account kept every Grok account on the built-in. Such an account now moves along untried and unmarked, as a built-in Grok account was never marked; any other failure still stops the move. TestDevinUsage and TestMoveExpiredInWords fail without the change. go vet, go build -tags nogui (darwin, GOOS=linux), GOOS=windows go build, go test -tags nogui ./... pass. 2026-10-01 12:24:45 +08:00