synheart-sensor-agent 0.2.2

Privacy-first PC background sensor for behavioral research
Documentation
//! Core functionality for the Synheart Sensor Agent.
//!
//! This module contains:
//!
//! - **Windowing** — [`WindowManager`] collects [`SensorEvent`](crate::SensorEvent)s
//!   into fixed-duration `EventWindow`s
//! - **Feature extraction** — [`compute_features`] derives 16+ behavioural signals
//!   from an event window
//! - **HSI encoding** — [`HsiBuilder`] produces HSI 1.0 JSON snapshots

/// Behavioural feature extraction from event windows.
pub mod features;
/// HSI 1.0 snapshot types and builder.
pub mod hsi;
/// Time-based event windowing.
pub mod windowing;

// Re-export commonly used types
pub use features::{
    compute_features, BehavioralSignals, KeyboardFeatures, MouseFeatures, WindowFeatures,
};
pub use hsi::{HsiBuilder, HsiSnapshot, HSI_VERSION, PRODUCER_NAME};
pub use windowing::{EventWindow, WindowManager};