MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isGateEnabled

Function isGateEnabled

src/bridge/trustedDevice.ts:35–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33const TRUSTED_DEVICE_GATE = 'tengu_sessions_elevated_auth_enforcement'
34
35function isGateEnabled(): boolean {
36 return getFeatureValue_CACHED_MAY_BE_STALE(TRUSTED_DEVICE_GATE, false)
37}
38
39// Memoized — secureStorage.read() spawns a macOS `security` subprocess (~40ms).
40// bridgeApi.ts calls this from getHeaders() on every poll/heartbeat/ack.

Callers 2

getTrustedDeviceTokenFunction · 0.85
clearTrustedDeviceTokenFunction · 0.85

Tested by

no test coverage detected