Commit Graph
5 Commits
Author SHA1 Message Date
yetone ff94998ad2 accounts: a moved built-in keeps its place in Providers and in magpie accounts (要保证插件订阅 provider 跟内置的订阅 provider所有逻辑都要一模一样) — with WorkBuddy and WorkBuddy AI both moved, WorkBuddy AI came first when its plugin listed it first, as a moved one placed already didn't count; and magpie accounts put every moved built-in's accounts after all the others. Both now go where the built-in stood. TestMovedAccountsKeepTheirOrder and TestAllLoginsMovedKeepTheirPlace 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 11:15:26 +08:00
yetone 7d9f4458da plugins: a moved built-in's sign-in goes as the built-in's did (插件版…保持一模一样) — through its plugin, Devin, Grok and Cursor started with no CLI on the machine and failed ("install Grok Build first") where the built-in installed it; the code Factory's page asks to confirm was only in the instructions' text, not in the box to copy; and the sign-in never said the account was the one in use, so a first account read "added — switch to it any time". The CLI is now installed first as the built-in's was (Cancel stops the installer), the code in the instructions is given to copy, and the account in use says so. TestMovedSignInAsBuiltIn fails without the change. 2026-10-01 04:04:24 +08:00
yetone 5346486d50 accounts: magpie accounts lists a moved built-in's accounts by its id, the one in use marked (插件版…保持一模一样) — with no agent named, they showed as plugin:zed rows as logins.json keeps them and none was marked in use; each plugin's provider now lists its accounts as its own page does, under its magpie id. TestAllLoginsMoved fails without the change. 2026-10-01 04:04:22 +08:00
yetone 0362a3f860 plugins: deleting a moved built-in hides it, as deleting the built-in did (插件版…保持一模一样) — a plugin's provider is signed out when deleted, and a built-in moved onto its plugin went the same way, every account signed out; it is now only hidden, its accounts and model picks kept, and Add brings it back. TestDeleteMovedHides fails without the change. 2026-10-01 04:04:22 +08:00
yetone 47786c456e plugins: a moved built-in's own account stays the agent's, and Qoder's first goes (插件版…保持一模一样) — the plugin's accounts were listed with no own one, so removing the agent CLI's own account (Devin, Grok, Command Code, Cursor, Kiro, ZCode, WorkBuddy) signed it out of the plugin and its name stayed as signed in at the move; it is now told by the mark each mover leaves on it, named as the CLI is signed in now, only hidden when removed (the CLI stays signed in) and shown again once the CLI or magpie signs in anew, as the built-in's was. Qoder's first account showed Remove and was refused; it now goes, the next put first, as the built-in let it. plugin.UseCached lets a test stand a plugin's provider up without Bun. TestMovedOwnAccount and TestMovedQoderFirstGoes fail without the change. 2026-10-01 04:04:22 +08:00