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.40, Bump CLI to v0.3.269 — release-app release-cli

Louis Beaumontddeba3c751bc
diff --git a/Cargo.toml b/Cargo.toml
index 4cd637a0d..4197f21ed 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.268"
+version = "0.3.269"
authors = ["louis030195 <[email protected]>"]
description = ""
repository = "https://github.com/screenpipe/screenpipe"
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index e2d84fc9a..d035226fc 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -388,7 +388,7 @@ version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
dependencies = [
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -399,7 +399,7 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
dependencies = [
"anstyle",
"once_cell_polyfill",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -2861,7 +2861,7 @@ dependencies = [
"libc",
"option-ext",
"redox_users 0.5.2",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -2893,7 +2893,7 @@ version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab8ecd87370524b461f8557c119c405552c396ed91fc0a8eec68679eab26f94a"
dependencies = [
- "libloading 0.8.9",
+ "libloading 0.7.4",
]
[[package]]
@@ -3262,7 +3262,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
dependencies = [
"libc",
- "windows-sys 0.52.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -3432,8 +3432,8 @@ dependencies = [
[[package]]
name = "ffmpeg-sidecar"
-version = "2.3.0"
-source = "git+https://github.com/nathanbabcock/ffmpeg-sidecar?branch=main#b3d375274620a2668b3d169f81e3f9890433a455"
+version = "2.5.0"
+source = "git+https://github.com/nathanbabcock/ffmpeg-sidecar?branch=main#33272cc8203d85983f805b23892c889c2308b816"
dependencies = [
"anyhow",
"tar",
@@ -4124,7 +4124,7 @@ dependencies = [
"gobject-sys 0.21.5",
"libc",
"system-deps 7.0.7",
- "windows-sys 0.52.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -4817,7 +4817,7 @@ dependencies = [
"libc",
"percent-encoding",
"pin-project-lite",
- "socket2 0.5.10",
+ "socket2 0.6.3",
"tokio",
"tower-service",
"tracing",
@@ -4835,7 +4835,7 @@ dependencies = [
"js-sys",
"log",
"wasm-bindgen",
- "windows-core 0.62.2",
+ "windows-core 0.61.2",
]
[[package]]
@@ -5262,7 +5262,7 @@ checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46"
dependencies = [
"hermit-abi",
"libc",
- "windows-sys 0.52.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -6685,7 +6685,7 @@ version = "0.50.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
dependencies = [
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -6823,7 +6823,7 @@ version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8"
dependencies = [
- "proc-macro-crate 3.5.0",
+ "proc-macro-crate 1.3.1",
"proc-macro2",
"quote",
"syn 2.0.117",
@@ -7547,7 +7547,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967"
dependencies = [
"libc",
- "windows-sys 0.45.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -8498,7 +8498,7 @@ dependencies = [
"quinn-udp",
"rustc-hash 2.1.1",
"rustls 0.23.37",
- "socket2 0.5.10",
+ "socket2 0.6.3",
"thiserror 2.0.18",
"tokio",
"tracing",
@@ -8535,7 +8535,7 @@ dependencies = [
"cfg_aliases 0.2.1",
"libc",
"once_cell",
- "socket2 0.5.10",
+ "socket2 0.6.3",
"tracing",
"windows-sys 0.60.2",
]
@@ -9323,7 +9323,7 @@ dependencies = [
"errno",
"libc",
"linux-raw-sys 0.12.1",
- "windows-sys 0.52.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -9411,7 +9411,7 @@ dependencies = [
"security-framework",
"security-framework-sys",
"webpki-root-certs",
- "windows-sys 0.52.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -9642,7 +9642,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.3.38"
+version = "2.3.40"
dependencies = [
"anyhow",
"arboard",
@@ -9744,7 +9744,7 @@ dependencies = [
[[package]]
name = "screenpipe-audio"
-version = "0.3.267"
+version = "0.3.269"
dependencies = [
"anyhow",
"audiopipe",
@@ -9799,7 +9799,7 @@ dependencies = [
[[package]]
name = "screenpipe-config"
-version = "0.3.267"
+version = "0.3.269"
dependencies = [
"dirs 6.0.0",
"serde",
@@ -9811,7 +9811,7 @@ dependencies = [
[[package]]
name = "screenpipe-connect"
-version = "0.3.267"
+version = "0.3.269"
dependencies = [
"anyhow",
"async-trait",
@@ -9839,7 +9839,7 @@ dependencies = [
[[package]]
name = "screenpipe-core"
-version = "0.3.267"
+version = "0.3.269"
dependencies = [
"accessibility",
"accessibility-sys",
@@ -9885,7 +9885,7 @@ dependencies = [
[[package]]
name = "screenpipe-db"
-version = "0.3.267"
+version = "0.3.269"
dependencies = [
"anyhow",
"chrono",
@@ -9910,7 +9910,7 @@ dependencies = [
[[package]]
name = "screenpipe-engine"
-version = "0.3.267"
+version = "0.3.269"
dependencies = [
"anyhow",
"async-trait",
@@ -9973,7 +9973,7 @@ dependencies = [
[[package]]
name = "screenpipe-events"
-version = "0.3.267"
+version = "0.3.269"
dependencies = [
"anyhow",
"chrono",
@@ -9989,7 +9989,7 @@ dependencies = [
[[package]]
name = "screenpipe-screen"
-version = "0.3.267"
+version = "0.3.269"
dependencies = [
"accessibility-sys",
"anyhow",
@@ -10025,7 +10025,7 @@ dependencies = [
[[package]]
name = "screenpipe-vault"
-version = "0.3.267"
+version = "0.3.269"
dependencies = [
"argon2",
"chacha20poly1305",
@@ -10855,7 +10855,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e"
dependencies = [
"libc",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -12450,7 +12450,7 @@ dependencies = [
"getrandom 0.4.2",
"once_cell",
"rustix 1.1.4",
- "windows-sys 0.52.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -13164,7 +13164,7 @@ checksum = "f2f6fb2847f6742cd76af783a2a2c49e9375d0a111c7bef6f71cd9e738c72d6e"
dependencies = [
"memoffset",
"tempfile",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -14101,7 +14101,7 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [
- "windows-sys 0.48.0",
+ "windows-sys 0.61.2",
]
[[package]]
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index d70988315..da5b4e950 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.39"
+version = "2.3.40"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/main.rs b/apps/screenpipe-app-tauri/src-tauri/src/main.rs
index e4ebae2d8..bb8d0510d 100755
--- a/apps/screenpipe-app-tauri/src-tauri/src/main.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/main.rs
@@ -437,6 +437,14 @@ async fn main() {
// This is critical because panics inside `tao::send_event` (called from Obj-C)
// hit `panic_cannot_unwind` → `abort()`, and the default hook's output may be lost.
// By logging here we capture the actual panic message for diagnosis.
+ //
+ // Truncate the crash log at startup so it only contains panics from THIS launch.
+ // The hook appends (not truncates) so that both the original panic and the
+ // subsequent panic_cannot_unwind are preserved in the same file.
+ {
+ let log_dir = screenpipe_core::paths::default_screenpipe_data_dir();
+ let _ = std::fs::File::create(log_dir.join("last-panic.log")); // truncate
+ }
let default_hook = std::panic::take_hook();
std::panic::set_hook(Box::new(move |info| {
// Log the actual panic first — before any processing. Once unwinding hits
@@ -473,7 +481,13 @@ async fn main() {
// (send_event, did_finish_launching) where panic_cannot_unwind → abort()
let log_dir = screenpipe_core::paths::default_screenpipe_data_dir();
let crash_path = log_dir.join("last-panic.log");
- if let Ok(mut f) = std::fs::File::create(&crash_path) {
+ // Append instead of truncate — when panic_cannot_unwind fires after
+ // the original panic, both messages are preserved in the file.
+ if let Ok(mut f) = std::fs::OpenOptions::new()
+ .create(true)
+ .append(true)
+ .open(&crash_path)
+ {
use std::io::Write;
let timestamp = chrono::Local::now().format("%Y-%m-%d %H:%M:%S%.3f");
let _ = writeln!(f, "[{}] {}", timestamp, crash_msg);
@@ -1534,7 +1548,7 @@ async fn main() {
debug!(
"registered for autostart? {}",
- autostart_manager.is_enabled().unwrap()
+ autostart_manager.is_enabled().unwrap_or(false)
);
// Use persistent analytics_id for PostHog (consistent across frontend and backend)
@@ -1600,11 +1614,13 @@ async fn main() {
if store.enhanced_ai {
let token = store.user.token.clone().unwrap_or_default();
if !token.is_empty() {
- let mut guard = suggestions_state.enhanced_ai.blocking_lock();
- *guard = Some(suggestions::EnhancedAIConfig {
- enabled: true,
- token,
- });
+ // Use try_lock — blocking_lock panics inside a tokio runtime context
+ if let Ok(mut guard) = suggestions_state.enhanced_ai.try_lock() {
+ *guard = Some(suggestions::EnhancedAIConfig {
+ enabled: true,
+ token,
+ });
+ }
}
}
}