synheart-sensor-agent 0.2.2

Privacy-first PC background sensor for behavioral research
Documentation
//! Synheart Flux integration module.
//!
//! Provides integration with [synheart-flux](https://crates.io/crates/synheart-flux) for:
//!
//! - Rolling baseline tracking across sessions
//! - HSI-compliant behavioural metrics enrichment
//! - Cross-session deviation analysis
//!
//! The main entry point is [`SensorFluxProcessor`], which wraps
//! synheart-flux's `BehaviorProcessor` and produces [`EnrichedSnapshot`]s
//! with baseline-relative deviations.
//!
//! # Feature Flag
//!
//! This module is only available when the `flux` feature is enabled:
//!
//! ```toml
//! [dependencies]
//! synheart-sensor-agent = { version = "0.2", features = ["flux"] }
//! ```
//!
//! # Usage
//!
//! ```no_run
//! use synheart_sensor_agent::flux::SensorFluxProcessor;
//!
//! // Create processor with baseline tracking (20 session window)
//! let processor = SensorFluxProcessor::new(20);
//! ```

/// Adapter that converts sensor event windows into synheart-flux behavioural sessions.
mod adapter;
/// Stateful Flux processor that maintains rolling baselines.
mod processor;

pub use adapter::{convert_to_behavior_session, SensorBehaviorAdapter};
pub use processor::{EnrichedSnapshot, SensorFluxProcessor};