Stop Voice Chat
Gracefully shut down the voice chat session.
Steps
- •
Update voice state. Read
~/.claude-talk/config.envto getCLAUDE_TALK_DIR, then run (Bash):bashsource "<CLAUDE_TALK_DIR>/scripts/state.sh" && voice_state_write SESSION=stopped STATUS=idle MUTED=false
- •
Kill capture processes and the whisper server FIRST (this unblocks the audio-mate's foreground Bash call). Wait briefly after killing to ensure processes actually exit:
bashtouch /tmp/voice_chat/wlk.stop pkill -f "capture-utterance" || true pkill -f "wlk-capture" || true pkill -f "wlk.*--port" || true pkill -f "whisper-server.*--port" || true pkill -f "start-whisper-server" || true sleep 0.5 # Verify and force-kill any survivors pkill -9 -f "wlk-capture" 2>/dev/null || true pkill -9 -f "wlk.*--port" 2>/dev/null || true
- •
Send a shutdown request to the "audio-mate" teammate:
codeSendMessage type: "shutdown_request", recipient: "audio-mate"
- •
Wait for shutdown confirmation.
- •
Delete the team using TeamDelete.
- •
Confirm to the user: "Voice chat stopped."