voicemode
voicemode copied to clipboard
feat(installer): add telemetry opt-in prompt to Python installer (VM-256)
Summary
- Add telemetry consent flow to the Python-based installer (
voice-mode-install) - VM-249/PR-142 incorrectly targeted the deprecated bash installer - this implements it properly
- Prompt appears after VoiceMode installation, before local services section
Changes
installer/voicemode_install/cli.py: Addconfigure_telemetry_consent()andset_telemetry_preference()functionsvoice_mode/config.py: Update voicemode.env template with telemetry section
Features
- Respects
DO_NOT_TRACKenvironment variable (universal opt-out standard) - Respects existing
VOICEMODE_TELEMETRYsetting - Defaults to disabled in non-interactive/
--yesmode - Saves preference to
~/.voicemode/voicemode.env - Clear privacy messaging with link to docs
Test plan
- [x] Tested dry run mode - shows placeholder message
- [x] Tested non-interactive mode - defaults to disabled
- [x] Tested DO_NOT_TRACK - respects universal opt-out
- [x] Tested existing setting - skips prompt when already configured
- [x] Existing tests pass
Related
- Supersedes VM-249/PR-142 (which targeted deprecated bash installer)
- Related to VM-152 (telemetry system)
🤖 Generated with Claude Code