MCPcopy
hub / github.com/codeaashu/claude-code / isBridgeEnabled

Function isBridgeEnabled

src/bridge/bridgeEnabled.ts:28–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 * is only referenced when bridge mode is enabled at build time.
27 */
28export function isBridgeEnabled(): boolean {
29 // Positive ternary pattern — see docs/feature-gating.md.
30 // Negative pattern (if (!feature(...)) return) does not eliminate
31 // inline string literals from external builds.
32 return feature('BRIDGE_MODE')
33 ? isClaudeAISubscriber() &&
34 getFeatureValue_CACHED_MAY_BE_STALE('tengu_ccr_bridge', false)
35 : false
36}
37
38/**
39 * Blocking entitlement check for Remote Control.

Callers 4

shouldShowRemoteCalloutFunction · 0.85
ConfigFunction · 0.85
BridgeStatusIndicatorFunction · 0.85
isEnabledFunction · 0.85

Calls 3

featureFunction · 0.85
isClaudeAISubscriberFunction · 0.70

Tested by

no test coverage detected