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 tests
Louis Beaumont5b72fcb239b2
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 106ac7147..f52b3da71 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -54,7 +54,7 @@ jobs:# working-directory: ./screenpipe-jstest-windows:- runs-on: windows-latest+ runs-on: windows-2019steps:- uses: actions/checkout@v4- uses: actions/cache@v4diff --git a/screenpipe-vision/examples/screenpipe-vision.rs b/screenpipe-vision/examples/screenpipe-vision.rsindex e08f0b081..fdcb6d785 100644--- a/screenpipe-vision/examples/screenpipe-vision.rs+++ b/screenpipe-vision/examples/screenpipe-vision.rs@@ -41,11 +41,11 @@ async fn main() {let window_filters = Arc::new(WindowFilters::new(&[], &[]));- continuous_capture(+ let _ = continuous_capture(result_tx,Duration::from_secs_f32(1.0 / cli.fps),OcrEngine::AppleNative,- monitor_id,+ monitor_id.unwrap(),window_filters,languages.clone(),false,diff --git a/screenpipe-vision/src/capture_screenshot_by_window.rs b/screenpipe-vision/src/capture_screenshot_by_window.rsindex 0cc5c8741..a3913437f 100644--- a/screenpipe-vision/src/capture_screenshot_by_window.rs+++ b/screenpipe-vision/src/capture_screenshot_by_window.rs@@ -236,6 +236,10 @@ pub async fn capture_all_visible_windows("Failed to get process ID for window {} ({}): {}",app_name, title, e);+ // on linux return 0 as process id (happens in server/ci/cd)+ #[cfg(target_os = "linux")]+ return 0;+ #[cfg(not(target_os = "linux"))]return None;}};