7ae536e80d
Add on-device AI writing assistance using ML Kit GenAI APIs (Rewriting, Proofreading) powered by Gemini Nano via Android AICore. Users can tap the sparkle button in the compose toolbar to access tone chips (Correct, Rephrase, Shorter, Elaborate, Friendly, Professional, More Direct, Punchy, + Emoji) that transform their post text. Results appear in a card with Use/Dismiss actions. - Play flavor: MLKitWritingAssistant using on-device Gemini Nano - F-Droid flavor: NoOpWritingAssistant stub (returns unavailable) - WritingAssistant interface for future DVM/NIP90 integration - AI button hidden on unsupported devices Also fixes pre-existing exhaustive when expression in DecryptAndIndexProcessor for GroupEventResult.Duplicate. https://claude.ai/code/session_01RbCYGrbbapRMike8WQy41F