()
| 69 | * Check whether to show the remote callout (first-time dialog). |
| 70 | */ |
| 71 | export function shouldShowRemoteCallout(): boolean { |
| 72 | const config = getGlobalConfig(); |
| 73 | if (config.remoteDialogSeen) return false; |
| 74 | if (!isBridgeEnabled()) return false; |
| 75 | const tokens = getClaudeAIOAuthTokens(); |
| 76 | if (!tokens?.accessToken) return false; |
| 77 | return true; |
| 78 | } |
no test coverage detected