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(ci,rust,windows): unbreak Rust CI test-windows by importing process_ocr_task / continuous_capture via core::
Louis Beaumont24d12abbd3de
diff --git a/crates/screenpipe-screen/tests/windows_vision_test.rs b/crates/screenpipe-screen/tests/windows_vision_test.rsindex 54d600cb2..aa6b07723 100644--- a/crates/screenpipe-screen/tests/windows_vision_test.rs+++ b/crates/screenpipe-screen/tests/windows_vision_test.rs@@ -3,16 +3,20 @@mod tests {use chrono::Utc;use screenpipe_screen::capture_screenshot_by_window::{CapturedWindow, WindowFilters};- use screenpipe_screen::core::RawCaptureResult;+ // `process_ocr_task` and `continuous_capture` are not re-exported at+ // the crate root — import them via the `core` module to match how the+ // crate actually exposes them (see screenpipe-screen/src/lib.rs which+ // re-exports `RealtimeVisionEvent` from `core` but not the helpers).+ use screenpipe_screen::core::{+ continuous_capture, process_ocr_task, RawCaptureResult,+ };use screenpipe_screen::monitor::get_default_monitor;use screenpipe_screen::ocr_cache::WindowOcrCache;- use screenpipe_screen::{process_ocr_task, OcrEngine};+ use screenpipe_screen::{OcrEngine, PipelineMetrics};use std::sync::Arc;+ use std::time::Duration;use std::{path::PathBuf, time::Duration as StdDuration, time::Instant};use tokio::sync::{mpsc, Mutex};-- use screenpipe_screen::{continuous_capture, PipelineMetrics};- use std::time::Duration;use tokio::time::timeout;#[cfg(target_os = "windows")]