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>
17 lines
348 B
Rust
17 lines
348 B
Rust
// Activity Tracker MVP+ - Library
|
|
// Backend de suivi d'activité pour reconstruire l'historique de travail
|
|
|
|
pub mod capture;
|
|
pub mod storage;
|
|
pub mod analysis;
|
|
pub mod report;
|
|
pub mod config;
|
|
pub mod error;
|
|
pub mod web;
|
|
pub mod ai;
|
|
|
|
pub use error::{Result, AppError};
|
|
|
|
/// Application version
|
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|