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

Function isVoiceGrowthBookEnabled

src/voice/voiceModeEnabled.ts:16–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 * should be *visible* (e.g., command registration, config UI).
15 */
16export function isVoiceGrowthBookEnabled(): boolean {
17 // Positive ternary pattern — see docs/feature-gating.md.
18 // Negative pattern (if (!feature(...)) return) does not eliminate
19 // inline string literals from external builds.
20 return feature('VOICE_MODE')
21 ? !getFeatureValue_CACHED_MAY_BE_STALE('tengu_amber_quartz_disabled', false)
22 : false
23}
24
25/**
26 * Auth-only check for voice mode. Returns true when the user has a valid

Callers 5

generatePromptFunction · 0.85
callFunction · 0.85
index.tsFile · 0.85
isVoiceModeEnabledFunction · 0.85
useVoiceEnabledFunction · 0.85

Calls 2

featureFunction · 0.85

Tested by

no test coverage detected