Skip to content

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

release-app fix build

Louis Beaumont001f15604ace
diff --git a/Cargo.toml b/Cargo.toml
index d33971941..da22573d2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -36,7 +36,6 @@ tokio = { version = "1.15", features = ["full", "tracing"] }
crossbeam = "0.8.4"
dashmap = "6.1.0"
image = "0.25"
-reqwest = { version = "0.11", features = ["blocking", "multipart", "json"] }
criterion = { version = "0.5.1", features = ["async_tokio"] }
vcpkg = "0.2"
cc = "1.0"
@@ -44,6 +43,11 @@ oasgen = { version = "0.22.0", features = ["axum", "chrono"] }
once_cell = "1.20.2"
sentry = { version = "0.36.0", features = ["tracing"] }
+http-cache-reqwest = "0.15.0"
+reqwest = { version = "=0.12.12", features = ["blocking", "multipart", "json"] }
+reqwest-middleware = "0.4.1"
+
+
[patch.crates-io]
# enables chinese mirror (hf is banned in china) and native-tls
hf-hub = { git = "https://github.com/neo773/hf-hub", features = ["native-tls"] }
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 571ffc7fb..c964c311b 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.40.1"
+version = "0.40.2"
description = ""
authors = ["you"]
license = ""
@@ -50,7 +50,7 @@ log = "0.4.17"
tokio = { version = "1.36.0", features = ["full"] }
# HTTP client
-reqwest = { version = "0.11", features = ["json"] }
+reqwest = { workspace = true }
# tracing
tracing = "0.1.40"
diff --git a/screenpipe-core/Cargo.toml b/screenpipe-core/Cargo.toml
index 75c560680..b99b7b2b0 100644
--- a/screenpipe-core/Cargo.toml
+++ b/screenpipe-core/Cargo.toml
@@ -22,8 +22,8 @@ hf-hub = { workspace = true, features = [
"tokio",
"native-tls",
] }
-http-cache-reqwest = "0.15.0"
-reqwest-middleware = "0.4.1"
+http-cache-reqwest = { workspace = true }
+reqwest-middleware = { workspace = true }
tokio = { workspace = true }
# Security
diff --git a/screenpipe-core/src/operator/mod.rs b/screenpipe-core/src/operator/mod.rs
index cce6eea33..17e8fc3f1 100644
--- a/screenpipe-core/src/operator/mod.rs
+++ b/screenpipe-core/src/operator/mod.rs
@@ -12,7 +12,6 @@ mod platforms;
mod selector;
#[cfg(test)]
mod tests;
-mod tree_search;
pub use element::{UIElement, UIElementAttributes};
pub use errors::AutomationError;
diff --git a/screenpipe-core/src/operator/platforms/macos.rs b/screenpipe-core/src/operator/platforms/macos.rs
index baf339b32..27c947ff7 100644
--- a/screenpipe-core/src/operator/platforms/macos.rs
+++ b/screenpipe-core/src/operator/platforms/macos.rs
@@ -1,5 +1,4 @@
use crate::operator::platforms::AccessibilityEngine;
-use crate::operator::tree_search::{ElementFinderWithWindows, TreeWalkerWithWindows};
use crate::operator::{
element::UIElementImpl, AutomationError, Locator, Selector, UIElement, UIElementAttributes,
};
@@ -21,6 +20,10 @@ use std::fmt;
use std::sync::Arc;
use tracing::{debug, trace};
+use super::tree_search::{
+ ElementFinderWithWindows, ElementsCollectorWithWindows, TreeWalkerWithWindows,
+};
+
// Import the C function for setting attributes
#[link(name = "ApplicationServices", kind = "framework")]
extern "C" {
@@ -552,8 +555,6 @@ impl AccessibilityEngine for MacOSEngine {
selector: &Selector,
root: Option<&UIElement>,
) -> Result<Vec<UIElement>, AutomationError> {
- use crate::operator::tree_search::ElementsCollectorWithWindows;
-
// Get the start element from the provided root or fall back to system_wide
let start_element = root
.map(|el| {