MCPcopy Create free account
hub / github.com/Noumena-Network/code / shouldShowRemoteCallout

Function shouldShowRemoteCallout

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

Source from the content-addressed store, hash-verified

88 * Check whether to show the remote callout (first-time dialog).
89 */
90export function shouldShowRemoteCallout(): boolean {
91 const config = getGlobalConfig()
92 return shouldShowRemoteCalloutForState({
93 remoteDialogSeen: Boolean(config.remoteDialogSeen),
94 bridgeEnabled: isBridgeEnabled(),
95 session: getAuthRuntime().getCurrentSession(),
96 })
97}
98
99export function shouldShowRemoteCalloutForState(params: {
100 remoteDialogSeen: boolean

Callers 1

BridgeToggleFunction · 0.85

Calls 5

isBridgeEnabledFunction · 0.85
getAuthRuntimeFunction · 0.85
getGlobalConfigFunction · 0.70
getCurrentSessionMethod · 0.65

Tested by

no test coverage detected