MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / shouldShowRemoteCallout

Function shouldShowRemoteCallout

src/components/RemoteCallout.tsx:71–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 * Check whether to show the remote callout (first-time dialog).
70 */
71export 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}

Callers 1

BridgeToggleFunction · 0.85

Calls 2

getGlobalConfigFunction · 0.85
isBridgeEnabledFunction · 0.85

Tested by

no test coverage detected