//! Meeting auto-capture — the single-signal variant. //! //! The frontend polls `detect_meeting_processes` on an interval with the //! user's app patterns. On a positive hit it surfaces a non-modal toast //! that reminds the user to start recording with their hotkey. We do not //! start recording from this signal — the user decides. use kon_core::process_watch; #[tauri::command] pub fn detect_meeting_processes(patterns: Vec) -> Result, String> { if patterns.is_empty() { return Ok(Vec::new()); } let processes = process_watch::list_running_process_names(); Ok(process_watch::match_meeting_patterns(&processes, &patterns)) }