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
release-app fix build, revert windows
Louis Beaumontadcb99195e26
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.tomlindex 203b73690..a8757e76d 100644--- a/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "screenpipe-app"-version = "0.17.4"+version = "0.17.5"description = ""authors = ["you"]license = ""diff --git a/screenpipe-vision/Cargo.toml b/screenpipe-vision/Cargo.tomlindex 5c718855d..93c58f47f 100644--- a/screenpipe-vision/Cargo.toml+++ b/screenpipe-vision/Cargo.toml@@ -88,7 +88,7 @@ path = "examples/websocket.rs"[target.'cfg(target_os = "windows")'.dependencies]windows = { version = "0.58", features = ["Graphics_Imaging", "Media_Ocr", "Storage", "Storage_Streams"] }-xcap-win = { package = "xcap", git = "https://github.com/nashaofu/xcap", branch = "fix-pr" }+xcap = "0.0.12"[target.'cfg(target_os = "macos")'.dependencies]libc = "=0.2.164"diff --git a/screenpipe-vision/src/capture_screenshot_by_window.rs b/screenpipe-vision/src/capture_screenshot_by_window.rsindex 6310ec2f7..9cc00491f 100644--- a/screenpipe-vision/src/capture_screenshot_by_window.rs+++ b/screenpipe-vision/src/capture_screenshot_by_window.rs@@ -10,12 +10,9 @@ use tokio::time;#[cfg(target_os = "macos")]use xcap_macos::{Monitor, Window, XCapError};-#[cfg(target_os = "linux")]+#[cfg(not(target_os = "macos"))]use xcap::{Monitor, Window, XCapError};-#[cfg(target_os = "windows")]-use xcap_win::{Monitor, Window, XCapError};-#[derive(Debug)]enum CaptureError {NoWindows,diff --git a/screenpipe-vision/src/core.rs b/screenpipe-vision/src/core.rsindex 905640234..3dea68919 100644--- a/screenpipe-vision/src/core.rs+++ b/screenpipe-vision/src/core.rs@@ -27,10 +27,7 @@ use tokio::time::sleep;#[cfg(target_os = "macos")]use xcap_macos::Monitor;-#[cfg(target_os = "windows")]-use xcap_win::Monitor;--#[cfg(target_os = "linux")]+#[cfg(not(target_os = "macos"))]use xcap::Monitor;pub struct CaptureResult {diff --git a/screenpipe-vision/src/monitor.rs b/screenpipe-vision/src/monitor.rsindex 8872306a9..142c6c49a 100644--- a/screenpipe-vision/src/monitor.rs+++ b/screenpipe-vision/src/monitor.rs@@ -1,10 +1,7 @@#[cfg(target_os = "macos")]use xcap_macos::Monitor;-#[cfg(target_os = "windows")]-use xcap_win::Monitor;--#[cfg(target_os = "linux")]+#[cfg(not(target_os = "macos"))]use xcap::Monitor;pub async fn list_monitors() -> Vec<Monitor> {diff --git a/screenpipe-vision/src/utils.rs b/screenpipe-vision/src/utils.rsindex 7a87f7243..75a1eb828 100644--- a/screenpipe-vision/src/utils.rs+++ b/screenpipe-vision/src/utils.rs@@ -11,10 +11,7 @@ use std::time::{Duration, Instant};#[cfg(target_os = "macos")]use xcap_macos::Monitor;-#[cfg(target_os = "windows")]-use xcap_win::Monitor;--#[cfg(target_os = "linux")]+#[cfg(not(target_os = "macos"))]use xcap::Monitor;#[derive(Clone, Debug, Copy)]