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
Bump app to v2.0.551
Louis Beaumonte381c39f96d5
diff --git a/apps/screenpipe-app-tauri/components/rewind/timeline.tsx b/apps/screenpipe-app-tauri/components/rewind/timeline.tsxindex 5809fd2e4..5f93303c5 100644--- a/apps/screenpipe-app-tauri/components/rewind/timeline.tsx+++ b/apps/screenpipe-app-tauri/components/rewind/timeline.tsx@@ -581,6 +581,7 @@ export default function Timeline({ embedded = false }: { embedded?: boolean }) {}});+ resetFilters();const snapped = snapToDevice(closestIndex);setCurrentIndex(snapped);setCurrentFrame(frames[snapped]);diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lockindex 55d0c4728..a00912953 100755--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -8097,7 +8097,7 @@ dependencies = [[[package]]name = "screenpipe-app"-version = "2.0.550"+version = "2.0.551"dependencies = ["anyhow","arboard",diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.tomlindex 00d1c2727..b6e49615c 100644--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "screenpipe-app"-version = "2.0.550"+version = "2.0.551"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""diff --git a/crates/screenpipe-server/src/paired_capture.rs b/crates/screenpipe-server/src/paired_capture.rsindex 36dcf4fd2..c28777f5b 100644--- a/crates/screenpipe-server/src/paired_capture.rs+++ b/crates/screenpipe-server/src/paired_capture.rs@@ -92,11 +92,30 @@ pub async fn paired_capture(// ~50-200ms of Apple Vision CPU work per capture AND prevents cloning// the Arc<DynamicImage> into the spawn_blocking closure (which would// make Arc::try_unwrap fail later, forcing a full image copy).- let has_accessibility_text = tree_snapshot- .map(|s| !s.text_content.is_empty())- .unwrap_or(false);-- // Only run OCR when accessibility tree returned no text (games, terminals, etc.)+ //+ // Exception: terminal emulators expose their buffer via AXTextArea,+ // which returns non-empty but low-quality text (raw buffer content+ // without visual formatting). For these apps we always run OCR to get+ // proper bounding-box text positions for the selectable overlay.+ let app_prefers_ocr = ctx.app_name.map_or(false, |name| {+ let n = name.to_lowercase();+ // Terminal emulators whose AX text is raw buffer and not useful+ // for bounding-box overlay. OCR produces better results.+ n.contains("wezterm")+ || n.contains("iterm")+ || n.contains("terminal")+ || n.contains("alacritty")+ || n.contains("kitty")+ || n.contains("hyper")+ || n.contains("warp")+ || n.contains("ghostty")+ });+ let has_accessibility_text = !app_prefers_ocr+ && tree_snapshot+ .map(|s| !s.text_content.is_empty())+ .unwrap_or(false);++ // Only run OCR when accessibility tree returned no text or app prefers OCRlet (ocr_text, ocr_text_json) = if !has_accessibility_text {let image_for_ocr = ctx.image.clone();let ocr_result = tokio::task::spawn_blocking(move || {@@ -131,7 +150,8 @@ pub async fn paired_capture()}_ => {- // OCR fallback: accessibility returned no text (games, terminals, bad a11y apps).+ // OCR fallback: accessibility returned no text (games, bad a11y apps)+ // or app_prefers_ocr forced OCR (terminals).if ocr_text.is_empty() {(None, None, None, None)} else {diff --git a/crates/screenpipe-server/src/vision_manager/manager.rs b/crates/screenpipe-server/src/vision_manager/manager.rsindex d961b779d..3d624a0ed 100644--- a/crates/screenpipe-server/src/vision_manager/manager.rs+++ b/crates/screenpipe-server/src/vision_manager/manager.rs@@ -200,8 +200,12 @@ impl VisionManager {// Create activity feed for this monitorlet activity_feed = ActivityFeed::new();- // Tree walker config with defaults- let tree_walker_config = TreeWalkerConfig::default();+ // Tree walker config — pass through user's ignored/included window filters+ let tree_walker_config = TreeWalkerConfig {+ ignored_windows: self.config.ignored_windows.clone(),+ included_windows: self.config.included_windows.clone(),+ ..TreeWalkerConfig::default()+ };// Event-driven capture configlet capture_config = EventDrivenCaptureConfig::default();