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

Function hasVoiceAuth

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

Source from the content-addressed store, hash-verified

27 * cold spawn per refresh is expected. Cheap enough for usage-time checks.
28 */
29export function hasVoiceAuth(): boolean {
30 return getCurrentVoiceSession() !== null
31}
32
33/**
34 * Full runtime check: auth + GrowthBook kill-switch. Callers: `/voice`

Callers 2

callFunction · 0.85
isVoiceModeEnabledFunction · 0.85

Calls 1

getCurrentVoiceSessionFunction · 0.85

Tested by

no test coverage detected