source dump of claude code
at main 20 lines 482 B view raw
1import type { Command } from '../../commands.js' 2import { 3 isVoiceGrowthBookEnabled, 4 isVoiceModeEnabled, 5} from '../../voice/voiceModeEnabled.js' 6 7const voice = { 8 type: 'local', 9 name: 'voice', 10 description: 'Toggle voice mode', 11 availability: ['claude-ai'], 12 isEnabled: () => isVoiceGrowthBookEnabled(), 13 get isHidden() { 14 return !isVoiceModeEnabled() 15 }, 16 supportsNonInteractive: false, 17 load: () => import('./voice.js'), 18} satisfies Command 19 20export default voice