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

Bump app to v2.3.24, Bump CLI to v0.3.261

Louis Beaumont81ec0f5baaa1
diff --git a/Cargo.lock b/Cargo.lock
index d9d463fdf..d52ee552b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6737,7 +6737,7 @@ dependencies = [
[[package]]
name = "screenpipe-audio"
-version = "0.3.258"
+version = "0.3.261"
dependencies = [
"anyhow",
"audiopipe",
@@ -6797,7 +6797,7 @@ dependencies = [
[[package]]
name = "screenpipe-config"
-version = "0.3.258"
+version = "0.3.261"
dependencies = [
"dirs 6.0.0",
"serde",
@@ -6810,7 +6810,7 @@ dependencies = [
[[package]]
name = "screenpipe-connect"
-version = "0.3.258"
+version = "0.3.261"
dependencies = [
"anyhow",
"async-trait",
@@ -6839,7 +6839,7 @@ dependencies = [
[[package]]
name = "screenpipe-core"
-version = "0.3.258"
+version = "0.3.261"
dependencies = [
"accessibility",
"accessibility-sys",
@@ -6885,7 +6885,7 @@ dependencies = [
[[package]]
name = "screenpipe-db"
-version = "0.3.258"
+version = "0.3.261"
dependencies = [
"anyhow",
"chrono",
@@ -6911,7 +6911,7 @@ dependencies = [
[[package]]
name = "screenpipe-engine"
-version = "0.3.258"
+version = "0.3.261"
dependencies = [
"anyhow",
"async-trait",
@@ -6981,7 +6981,7 @@ dependencies = [
[[package]]
name = "screenpipe-events"
-version = "0.3.258"
+version = "0.3.261"
dependencies = [
"anyhow",
"chrono",
@@ -6999,7 +6999,7 @@ dependencies = [
[[package]]
name = "screenpipe-screen"
-version = "0.3.258"
+version = "0.3.261"
dependencies = [
"accessibility-sys",
"anyhow",
@@ -7039,7 +7039,7 @@ dependencies = [
[[package]]
name = "screenpipe-vault"
-version = "0.3.258"
+version = "0.3.261"
dependencies = [
"argon2",
"chacha20poly1305",
diff --git a/Cargo.toml b/Cargo.toml
index 7cc3e49ce..831afd3a0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,7 +6,7 @@ exclude = ["apps/screenpipe-app-tauri/src-tauri", "crates/screenpipe-integration
resolver = "2"
[workspace.package]
-version = "0.3.260"
+version = "0.3.261"
authors = ["louis030195 <[email protected]>"]
description = ""
repository = "https://github.com/screenpipe/screenpipe"
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 2d8479dd1..014ea7705 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.3.23"
+version = "2.3.24"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/crates/screenpipe-a11y/src/budget.rs b/crates/screenpipe-a11y/src/budget.rs
index ed8a0c193..f642c90f4 100644
--- a/crates/screenpipe-a11y/src/budget.rs
+++ b/crates/screenpipe-a11y/src/budget.rs
@@ -65,7 +65,7 @@ impl AppCost {
Self {
durations: Vec::with_capacity(WINDOW_SIZE),
truncation_count: 0,
- last_walk: Instant::now() - Duration::from_secs(600), // allow first walk immediately
+ last_walk: Instant::now().checked_sub(Duration::from_secs(600)).unwrap_or(Instant::now()), // allow first walk immediately
tier: WalkTier::Light,
}
}
diff --git a/crates/screenpipe-core/src/pipes/mod.rs b/crates/screenpipe-core/src/pipes/mod.rs
index 24b744c35..506484efb 100644
--- a/crates/screenpipe-core/src/pipes/mod.rs
+++ b/crates/screenpipe-core/src/pipes/mod.rs
@@ -1032,7 +1032,7 @@ impl PipeManager {
store,
api_port,
last_reload: Arc::new(Mutex::new(
- Instant::now() - std::time::Duration::from_secs(10),
+ Instant::now().checked_sub(std::time::Duration::from_secs(10)).unwrap_or(Instant::now()),
)),
token_registry: None,
extra_context: None,
diff --git a/crates/screenpipe-engine/src/video_utils.rs b/crates/screenpipe-engine/src/video_utils.rs
index 8e1abf17e..9a3d6d384 100644
--- a/crates/screenpipe-engine/src/video_utils.rs
+++ b/crates/screenpipe-engine/src/video_utils.rs
@@ -875,7 +875,7 @@ pub async fn extract_frame_from_video(
async fn cleanup_old_frames(frames_dir: &PathBuf) -> Result<()> {
use std::time::{Duration, SystemTime};
- let one_hour_ago = SystemTime::now() - Duration::from_secs(3600);
+ let one_hour_ago = SystemTime::now().checked_sub(Duration::from_secs(3600)).unwrap_or(SystemTime::UNIX_EPOCH);
let mut read_dir = tokio::fs::read_dir(frames_dir).await?;
while let Some(entry) = read_dir.next_entry().await? {