YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(windows): filter noisy system apps from capture
louis030195d219b0712d7d
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/store.rs b/apps/screenpipe-app-tauri/src-tauri/src/store.rsindex f1e301857..85947d3b8 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/store.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/store.rs@@ -430,6 +430,12 @@ impl Default for SettingsStore {"Nvidia".to_string(),"Control Panel".to_string(),"System Properties".to_string(),+ "LockApp.exe".to_string(),+ "SearchHost.exe".to_string(),+ "ShellExperienceHost.exe".to_string(),+ "PickerHost.exe".to_string(),+ "Taskmgr.exe".to_string(),+ "SnippingTool.exe".to_string(),]);#[cfg(target_os = "linux")]diff --git a/crates/screenpipe-accessibility/src/tree/windows.rs b/crates/screenpipe-accessibility/src/tree/windows.rsindex 3a658585f..9b721a077 100644--- a/crates/screenpipe-accessibility/src/tree/windows.rs+++ b/crates/screenpipe-accessibility/src/tree/windows.rs@@ -32,6 +32,12 @@ const EXCLUDED_APPS: &[&str] = &["keepassxc","credential manager","logonui",+ // System UI processes that produce noise (lock screen, search, notifications, etc.)+ "lockapp",+ "searchhost",+ "shellexperiencehost",+ "pickerhost",+ "snippingtool",];/// Window title patterns that indicate sensitive content.@@ -193,6 +199,25 @@ impl TreeWalkerPlatform for WindowsTreeWalker {return Ok(None);}+ // Apply user-configured ignored windows (check app name and window title)+ if self.config.ignored_windows.iter().any(|pattern| {+ let p = pattern.to_lowercase();+ app_lower.contains(&p) || window_lower.contains(&p)+ }) {+ return Ok(None);+ }++ // Apply user-configured included windows (whitelist mode)+ if !self.config.included_windows.is_empty() {+ let matches = self.config.included_windows.iter().any(|pattern| {+ let p = pattern.to_lowercase();+ app_lower.contains(&p) || window_lower.contains(&p)+ });+ if !matches {+ return Ok(None);+ }+ }+// Check timeout budgetif start.elapsed() >= self.config.walk_timeout {return Ok(None);