fix(desktop): isolate AI account auth probes
This commit is contained in:
@@ -2,6 +2,7 @@ import { readFileSync, writeFileSync } from 'node:fs'
|
||||
import { join } from 'node:path'
|
||||
|
||||
import type { DesktopAccountInfo, DesktopRuntimeSessionSyncRequest } from '@geo/shared-types'
|
||||
import { isAIPlatformId } from '@geo/shared-types'
|
||||
import { shell } from 'electron'
|
||||
import type {
|
||||
BrowserWindow as ElectronBrowserWindow,
|
||||
@@ -753,6 +754,9 @@ function registerBridgeHandlers(): void {
|
||||
account: { id: string; platform: string; platformUid: string; displayName: string },
|
||||
) => {
|
||||
await openPublishAccountConsole(account)
|
||||
if (isAIPlatformId(account.platform)) {
|
||||
return null
|
||||
}
|
||||
void requestRuntimeAccountProbe(account.id, {
|
||||
account,
|
||||
force: true,
|
||||
|
||||
Reference in New Issue
Block a user