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
feat: windows native ocr
Louis Beaumont0dd444d3bea8
diff --git a/screenpipe-audio/tests/core_tests.rs b/screenpipe-audio/tests/core_tests.rsindex a1e394881..7dffed8fa 100644--- a/screenpipe-audio/tests/core_tests.rs+++ b/screenpipe-audio/tests/core_tests.rs@@ -3,7 +3,7 @@ mod tests {use chrono::Utc;use log::{debug, LevelFilter};use screenpipe_audio::{default_output_device, list_audio_devices, stt, WhisperModel};- use screenpipe_audio::{parse_audio_device, record_and_transcribe, create_whisper_channel};+ use screenpipe_audio::{parse_audio_device, record_and_transcribe};use std::path::PathBuf;use std::process::Command;use std::str::FromStr;@@ -11,7 +11,6 @@ mod tests {use std::sync::Arc;use std::time::{Duration, Instant};use tokio::sync::mpsc::unbounded_channel;- use tokio::time::timeout;fn setup() {// Initialize the logger with an info level filter@@ -225,7 +224,8 @@ mod tests {PathBuf::from(format!("test_output_{}.mp4", Utc::now().timestamp_millis()));let output_path_2 = output_path.clone();let cloud_audio = true; // Set this based on your test requirements- let (whisper_sender, mut whisper_receiver) = create_whisper_channel(cloud_audio).await.unwrap();+ let (whisper_sender, mut whisper_receiver) =+ create_whisper_channel(cloud_audio).await.unwrap();let is_running = Arc::new(AtomicBool::new(true));// Start recording in a separate threadlet recording_thread = tokio::spawn(async move {@@ -287,4 +287,4 @@ mod tests {let _ = recording_thread.abort();std::fs::remove_file(output_path_2).unwrap_or_default();}-}\ No newline at end of file+}diff --git a/screenpipe-vision/tests/windows_vision_test.rs b/screenpipe-vision/tests/windows_vision_test.rsindex 4d14d645f..18b85845c 100644--- a/screenpipe-vision/tests/windows_vision_test.rs+++ b/screenpipe-vision/tests/windows_vision_test.rs@@ -1,9 +1,8 @@#[cfg(target_os = "windows")]#[cfg(test)]mod tests {- use super::*;- use image::DynamicImage;use screenpipe_vision::{process_ocr_task, OcrEngine};+ use std::path::PathBuf;use std::{sync::Arc, time::Instant};use tokio::sync::{mpsc, Mutex};#[cfg(target_os = "windows")]