fix(bridge): keep account recovery non-interactive

Keep background account discovery passive and distinguish an identified account from a ready session.

Update the process dialog and regression coverage so recovery waits for authoritative readiness before exposing the account as online.
This commit is contained in:
DrSmoothl committed 2026-08-03 12:54:48 +08:00
1 parent dae486a0ad
commit 4a0d14ce56
6 files changed
+58 -130

No files matched your search

@@ -45,7 +45,7 @@ describe('API client request deadline', () => {
}),
)
.mockResolvedValueOnce(new Response(JSON.stringify({
info: { port: 0, uin: '', loggedIn: false },
info: { port: 0, uin: '', identityKnown: false },
}), {
status: 200,
headers: { 'content-type': 'application/json' },
@@ -61,7 +61,7 @@ describe('API client request deadline', () => {
await expect(client.processes.probeLoginInfo(4242)).resolves.toEqual({
port: 0,
uin: '',
loggedIn: false,
identityKnown: false,
});
});