Skip to content

v1.11.0 — AI Quality + UX Overhaul

Latest

Choose a tag to compare

@sampathmannam sampathmannam released this 14 Jul 17:25

NilaMind v1.11.0 — The biggest update yet

What's new

AI Quality Overhaul (18 improvements)

The on-device AI companion is now significantly smarter, warmer, and faster:

  • Therapeutic prompt — DBT, CBT, ACT, and Motivational Interviewing patterns baked in
  • Emotional intelligence — 9-state emotion detection with per-turn emotional priming
  • Response cleaner — removes robotic phrases, helpdesk register, therapist clichés
  • Personal RAG — retrieves what helped before, recent mood, check-in patterns, assessments
  • Conversation memory — keyword-based retrieval of past conversations across sessions
  • Topic tracking — 12 theme clusters (work stress, anxiety, relationships, etc.)
  • RAG warmth guidance — teaches the model how to use data naturally
  • 5 therapeutic protocols — structured grounding, mood check-in, wind-down, strengths, connection

Edge AI Optimizations (speed + quality)

  • KV cache q4_0 — 44% less memory (350MB → 200MB)
  • n_predict 96 — 25% faster responses
  • top_k 30 — tighter beam for more coherent replies
  • DRY 1.0 — stronger repetition prevention
  • n_batch 1024 — faster prompt processing
  • Context 4096 — 7x more conversation space
  • System prompt 200 tokens — 3.6x faster prefill

Data Collection Fixes

  • Auto social rhythm — wake/bed times from phone usage (no Health Connect needed)
  • Proactive assessments — ASRM on elevation, PHQ-9 on inflection, WHO-5 on cadence
  • Sleep in check-in — 5 quick-tap sleep chips (Under 5h → Over 8h)
  • Shame inference — auto-detected from emotion labels for pattern insights
  • Medication reminders — one-tap logging from notification, synced on startup

UX Overhaul (10 phases complete)

  • MoodHeatmap — Year in Pixels showing daily mood intensity
  • TrendChart — Assessment scores with severity bands
  • PhaseTimeline — Episode phase visualization
  • InsightCard — Pattern cards with sparklines
  • Adaptive home screen — hero gradient shifts with time of day
  • Achievements — 10 achievements with streak milestones + confetti
  • NilaCharacter — SVG illustrations with 6 emotional states
  • EmptyState — warm illustrations for 12 screens
  • BreathingScreen — immersive full-screen breathing with haptic feedback
  • Ambient sounds — white/brown/pink/green noise via Web Audio API

Retention Mechanics

  • Contextual weekly digest — personalized notification with check-in count + streak
  • Proactive insight notification — weekly pattern insight
  • Smart daily nudge — 8 signal types (sleep, inflection, elevation, disengagement)
  • Achievement wiring — all 10 achievements now unlock on real actions

World-Class Notifications

  • 5 Android channels (gentle/medication/reply/ema/crisis)
  • Inline action buttons (Snooze 1h/3h, Check in, Taken/Remind 30m)
  • EMA grouping + wind-down sync
  • One-tap medication logging

Architecture Cleanup

  • 100+ i18n keys wired into toolsRows.ts
  • CSS cleanup — removed unused classes, fixed .animate-fade-in
  • Dead wiring fixed — values_work → values_to_action redirect
  • Dead exports removed (missedDays, regionIsExplicit, measureAsync/measureSync, etc.)

Technical

  • 2551 tests passing
  • tsc clean, guard green
  • On-device only — nothing leaves your phone

Install

  • Download the APK below and install on Android 8+ (API 26+)
  • Or use Obtainium to auto-update