AI Models:
- Add model download system for Mistral-7B, CLIP, MiniLM
- Mistral-7B-Instruct Q4 (~4GB) for text analysis
- CLIP ViT for image-text embeddings
- MiniLM L6 for lightweight text embeddings
- Model caching in models/ directory
- CLI commands: models list/download/info/downloaded
Vision & Image Analysis:
- Image analyzer module with OCR support (planned)
- CLIP integration for screenshot understanding
- Multimodal analysis (text + image)
- ImageAnalysis struct for structured results
Data Export & Retrieval:
- New API endpoints:
- GET /api/captures - List all captures
- GET /api/captures/:id - Get specific capture with screenshot
- GET /api/export/full - Full data export
- Screenshots encoded in base64 for API responses
- Configurable export (include/exclude screenshots)
- All data fully retrievable via API
CLI Commands:
- `activity-tracker models list` - Show available models
- `activity-tracker models download mistral` - Download Mistral
- `activity-tracker models info <model>` - Show model details
- `activity-tracker models downloaded` - List downloaded models
Storage:
- All captures stored in encrypted SQLite DB
- Screenshots preserved with AES-256-GCM encryption
- Analysis metadata linked to captures
- Full data retention and recovery
Dependencies:
- base64 0.22 for screenshot encoding
All tests passing (30/30)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Backend:
- Add web server module with Axum (localhost:2759 by default)
- Create REST API endpoints (/api/stats, /api/dashboard, /api/health)
- Add AI module with NPU support via ONNX Runtime + DirectML
- Support Intel AI Boost NPU on Intel Core Ultra processors
- Add 'serve' command to CLI for dashboard server
Frontend:
- Modern dashboard with Tailwind CSS and Chart.js
- Real-time activity statistics and visualizations
- Category distribution pie chart
- Daily activity trend line chart
- Recent activities table with filtering
AI/ML:
- NPU device detection and DirectML configuration
- ONNX Runtime integration for model inference
- Fallback to rule-based classification when no model loaded
- Support for future AI model integration
Dependencies:
- axum 0.7 (web framework)
- tower + tower-http (middleware and static files)
- ort 2.0.0-rc.10 (ONNX Runtime with DirectML)
- ndarray 0.16 + tokenizers 0.20 (ML utilities)
All tests passing (27/27)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove xcap dependency (Linux-focused)
- Add Windows crate with Win32 APIs support
- Implement native Windows window capture using GetForegroundWindow
- Implement process name retrieval using GetModuleBaseNameW
- Update all paths to use Windows backslash separators
- Update README to specify Windows-only platform
- Add Windows badge and requirements
- Update installation instructions for PowerShell
- Add error handling for non-Windows platforms
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Fix screenshot capture to use correct API from screenshots library
- Remove unused imports and methods
- Add missing trait imports (OptionalExtension, Timelike, Hash)
- Fix type conversions in database operations
- Fix encryption salt conversion
Compilation successful!
Implémentation complète du MVP (Minimum Viable Product) :
✅ Module de capture :
- Screenshots avec compression WebP (qualité 80%)
- Métadonnées des fenêtres actives
- Détection d'inactivité (pause après 10min)
✅ Module de stockage :
- Base SQLite avec schéma optimisé
- Chiffrement AES-256-GCM des données sensibles
- Dérivation de clé PBKDF2-HMAC-SHA512 (100k itérations)
- Nettoyage automatique après 30 jours
✅ Module d'analyse IA :
- Classification heuristique en 5 catégories
- Extraction d'entités (projet, outil, langage)
- Patterns optimisés pour Development, Meeting, Research, Design
✅ Module de rapport :
- Génération de rapports JSON
- Timeline d'activités avec statistiques
- Export chiffré des données
✅ CLI complète :
- activity-tracker start : capture en arrière-plan
- activity-tracker report : génération de rapport
- activity-tracker stats : statistiques de stockage
- activity-tracker cleanup : nettoyage des données
- activity-tracker export : export complet
📚 Documentation :
- README complet avec exemples d'utilisation
- Configuration via settings.toml
- Tests unitaires pour chaque module
🔒 Sécurité :
- Chiffrement end-to-end des screenshots
- Pas de stockage du mot de passe
- Protection RGPD avec consentement explicite
Conformité avec le design-journal.md pour le MVP.
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>