3 Commits
Author SHA1 Message Date
yetone 50b554c9ab gui: an account row's tooltip joins its windows past the first two with " · " again, not a line each (reviewing #510) — #510 made the windows the row draws a filtered copy, the unlimited ones left out, and the separator still asked whether familyWindows had returned q.windows itself, which a copy never is: every vendor's tooltip put each window on a line of its own, as only a family's should. It now asks of the filtered copy. plugin-plan.test.cjs (an account with four windows: the tooltip is one line, C then D) fails without the change and passes with it in WebKit, en and zh; quota-families, quota-pools and panel-usage pass in WebKit, go test ./internal/gui passes. 2026-10-02 19:39:01 +08:00
Zhaofeng 5fd503c789 fix(copilot): unify plan and entitlement identification (#510)
* fix(copilot): show subscription plans in account labels

* fix(copilot): unify plan and entitlement identification

* fix(copilot): prioritize limited quotas and Free access SKU

* fix(cursor): wait for complete CLI sign-in parameters
2026-10-02 19:34:33 +08:00
yetone a999770531 plugins: a plugin's subscription does what a built-in's does, in seven places it didn't (the user: 要保证插件订阅 provider 跟内置的订阅 provider所有逻辑都要一模一样) — an installed plugin's provider id is kept for it signed in or not, as a built-in's is: a provider of the user's own isn't saved on it, renamed onto it or imported as it (freeID gives id-2). A plugin's account whose plan lacks the model is tried after the ones that list it, as a Codex Free account behind a Plus, by the list the plugin told for it. Cursor's plugin has fast mode where the built-in Cursor has it: a model with a -fast one is saved :fast in a group and sent service_tier "priority", one without is refused. Removing a plugin's provider hides it as a built-in's is, its accounts kept and shown again from Hidden or by signing in, rather than signing every account out ("stays signed in" said so already). magpie accounts lists, adds, switches and forgets a plugin's accounts by its provider's id or name. Grok's plugin beside the built-in Grok (grok-plugin) searches by itself as Grok does. A plugin's plan is named as its built-in's ("Cursor Pro", "SuperGrok"), and a plugin's resets are shown but have no Use button or Auto-use, which spent Codex's reset of the same user. TestPluginIDReservedSignedOut, TestPluginAccountLackingTheModelGoesLast, TestCursorPluginGroupFast, TestAccountsOfAPlugin, TestGrokPluginSearchesItself, plugin-plan and codex-auto-reset fail without the change; TestPluginSignIn and TestPluginAccounts now expect a removed plugin hidden. go vet, go build -tags nogui (darwin, GOOS=linux), GOOS=windows go build, go test -tags nogui ./... pass (TestClaudeSignedOut failed once under load, passes alone); the gateway, provider and plugin suites and TestAccountsOfAPlugin pass on Windows, the plugin tests on Linux. 2026-10-01 20:26:55 +08:00