Add user consent mechanism for data collection
The code collects user settings and host information without explicit user consent, which may violate privacy regulations (GDPR, CCPA).
Consider implementing:
- A consent management system
- Clear user notification about data collection
- Option to opt-out of analytics
Originally posted by @coderabbitai[bot] in #97 (comment)