feat(desktop-client): clear auth failure on active probe and trigger probe when opening console
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -347,6 +347,16 @@ function registerBridgeHandlers(): void {
|
||||
account: { id: string; platform: string; platformUid: string; displayName: string },
|
||||
) => {
|
||||
await openPublishAccountConsole(account);
|
||||
void requestRuntimeAccountProbe(account.id, {
|
||||
account,
|
||||
force: true,
|
||||
}).catch((error) => {
|
||||
console.warn("[desktop-console] background account probe failed", {
|
||||
accountId: account.id,
|
||||
platform: account.platform,
|
||||
message: error instanceof Error ? error.message : String(error),
|
||||
});
|
||||
});
|
||||
return null;
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user