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: add missing fields to Windows vision test structs
Louis Beaumont463adc89faab
diff --git a/screenpipe-server/src/server.rs b/screenpipe-server/src/server.rsindex b7ddea981..4266aa3de 100644--- a/screenpipe-server/src/server.rs+++ b/screenpipe-server/src/server.rs@@ -3274,8 +3274,8 @@ async fn handle_stream_frames_socket(let mut frame_buffer = Vec::with_capacity(100);let mut buffer_timer = tokio::time::interval(Duration::from_millis(100));- // Timer for polling new frames (every 2 seconds)- let mut poll_timer = tokio::time::interval(Duration::from_secs(2));+ // Timer for polling new frames (every 1 second for faster timeline updates)+ let mut poll_timer = tokio::time::interval(Duration::from_secs(1));poll_timer.set_missed_tick_behavior(tokio::time::MissedTickBehavior::Skip);// Timer for keep-alive messages (every 30 seconds)diff --git a/screenpipe-vision/tests/windows_vision_test.rs b/screenpipe-vision/tests/windows_vision_test.rsindex 13de1cc59..a7e99a4fe 100644--- a/screenpipe-vision/tests/windows_vision_test.rs+++ b/screenpipe-vision/tests/windows_vision_test.rs@@ -1,6 +1,7 @@#[cfg(target_os = "windows")]#[cfg(test)]mod tests {+ use chrono::Utc;use screenpipe_vision::capture_screenshot_by_window::{CapturedWindow, WindowFilters};use screenpipe_vision::core::OcrTaskData;use screenpipe_vision::monitor::get_default_monitor;@@ -32,9 +33,14 @@ mod tests {let window_images = vec![CapturedWindow {app_name: "test_app".to_string(),window_name: "test_window".to_string(),- image,+ image: image.clone(),is_focused: true,process_id: 1234,+ browser_url: None,+ window_x: 0,+ window_y: 0,+ window_width: image.width(),+ window_height: image.height(),}];let result = process_ocr_task(@@ -43,6 +49,7 @@ mod tests {window_images,frame_number,timestamp,+ captured_at: Utc::now(),result_tx: tx,},&ocr_engine,