The owner, on Claude Code's editor with four Claude accounts in it and
"Claude 账号可能被封禁" shown on Add another: "这里就不要显示可能被封禁了".
A subscription that warns before a sign-in (Claude, Antigravity and the
plugin-served ones with risk) now warns only while it has no account
signed in, and never to sign one of its accounts in again. startSignIn
asks hasLogins(agent), and its o.user, before the risk step. The import
box keeps its note.
What goes with it: Factory's warning offered "Use an API key instead…".
Factory is retired and the Add sheet leaves it out with no account, so
that warning was reachable only beside an account, and no longer is.
Its accounts list's "Add an account by API key…" row still offers the
key; factory-key.test.cjs now starts there. signin-close and
signin-proxy no longer click "Sign in anyway" in editors with accounts.
claude-risk.test.cjs: a new case opens a Claude editor with an account,
clicks Add another, and wants the sign-in asked at once with no warning
(chromium and webkit, en and zh). The first-account case is unchanged.
Run, on the Linux box (magpie-desktop):
- Broken by hand: the old app.js with the new test: red in both engines,
nothing asked.
- All 46 GUI files that reach a sign-in or the warning, plus i18n-keys:
739 ok, 2 red. login-import chromium en timed out waiting on its
import box, then passed 4 of 4 alone. i18n-keys' "a plugin's words are
its own" is red the same at origin/main fb29cd30f: #4524.
- An earlier run of the same files had claude-setup-token chromium zh
and deprecated-subscriptions webkit zh red once each; both passed in
the six-file rerun at this head (74 of 74).
At the pushed head (rebased on fb29cd30f): the four changed GUI files,
60 of 60 ok. go test ./internal/gui on mote: red only in
TestSettingsSaveKeepsWhatItDoesNotSend (#4514) and
TestMainWindowCorners/macOS_26_SDK (#3949), both red the same at
origin/main fb29cd30f.
Not tried: the real app, and macOS WebKit (mote's WebKit launches hang).