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.0.245, CLI to v0.3.39

Louis Beaumont175aa726cb61
diff --git a/Cargo.toml b/Cargo.toml
index 8d8cd5455..2d583358a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,7 +6,7 @@ exclude = ["apps/screenpipe-app-tauri/src-tauri"]
resolver = "2"
[workspace.package]
-version = "0.3.38"
+version = "0.3.39"
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 c75a6a88e..c4961b526 100755
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -8612,7 +8612,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.0.243"
+version = "2.0.244"
dependencies = [
"anyhow",
"async-stream",
@@ -8692,7 +8692,7 @@ dependencies = [
[[package]]
name = "screenpipe-audio"
-version = "0.3.37"
+version = "0.3.38"
dependencies = [
"anyhow",
"bytemuck",
@@ -8740,7 +8740,7 @@ dependencies = [
[[package]]
name = "screenpipe-core"
-version = "0.3.37"
+version = "0.3.38"
dependencies = [
"accessibility",
"accessibility-sys",
@@ -8791,7 +8791,7 @@ dependencies = [
[[package]]
name = "screenpipe-db"
-version = "0.3.37"
+version = "0.3.38"
dependencies = [
"anyhow",
"chrono",
@@ -8815,7 +8815,7 @@ dependencies = [
[[package]]
name = "screenpipe-events"
-version = "0.3.37"
+version = "0.3.38"
dependencies = [
"anyhow",
"chrono",
@@ -8831,7 +8831,7 @@ dependencies = [
[[package]]
name = "screenpipe-integrations"
-version = "0.3.37"
+version = "0.3.38"
dependencies = [
"anyhow",
"image 0.25.5",
@@ -8846,7 +8846,7 @@ dependencies = [
[[package]]
name = "screenpipe-server"
-version = "0.3.37"
+version = "0.3.38"
dependencies = [
"anyhow",
"async-trait",
@@ -8910,7 +8910,7 @@ dependencies = [
[[package]]
name = "screenpipe-vision"
-version = "0.3.37"
+version = "0.3.38"
dependencies = [
"accessibility-sys",
"anyhow",
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index c613d8f4f..ebdebece5 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.0.244"
+version = "2.0.245"
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 3e6f33d21..92fdfd11a 100755
--- a/apps/screenpipe-app-tauri/src-tauri/src/main.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/main.rs
@@ -1114,6 +1114,45 @@ async fn main() {
});
app.manage(store.clone());
+ // Attach non-sensitive settings to all future Sentry events
+ if !telemetry_disabled {
+ sentry::configure_scope(|scope| {
+ scope.set_context("app_settings", sentry::protocol::Context::Other({
+ let mut map = std::collections::BTreeMap::new();
+ map.insert("fps".into(), serde_json::json!(store.fps));
+ map.insert("adaptive_fps".into(), serde_json::json!(store.adaptive_fps));
+ map.insert("audio_chunk_duration".into(), serde_json::json!(store.audio_chunk_duration));
+ map.insert("port".into(), serde_json::json!(store.port));
+ map.insert("disable_audio".into(), serde_json::json!(store.disable_audio));
+ map.insert("audio_transcription_engine".into(), serde_json::json!(store.audio_transcription_engine));
+ map.insert("enable_realtime_audio_transcription".into(), serde_json::json!(store.enable_realtime_audio_transcription));
+ map.insert("enable_realtime_vision".into(), serde_json::json!(store.enable_realtime_vision));
+ map.insert("ocr_engine".into(), serde_json::json!(store.ocr_engine));
+ map.insert("monitor_ids".into(), serde_json::json!(store.monitor_ids));
+ map.insert("use_all_monitors".into(), serde_json::json!(store.use_all_monitors));
+ map.insert("languages".into(), serde_json::json!(store.languages));
+ map.insert("use_pii_removal".into(), serde_json::json!(store.use_pii_removal));
+ map.insert("disable_vision".into(), serde_json::json!(store.disable_vision));
+ map.insert("vad_sensitivity".into(), serde_json::json!(store.vad_sensitivity));
+ map.insert("enable_frame_cache".into(), serde_json::json!(store.enable_frame_cache));
+ map.insert("enable_ui_events".into(), serde_json::json!(store.enable_ui_events));
+ map.insert("enable_beta".into(), serde_json::json!(store.enable_beta));
+ map.insert("auto_start_enabled".into(), serde_json::json!(store.auto_start_enabled));
+ map.insert("platform".into(), serde_json::json!(store.platform));
+ map.insert("embedded_llm_enabled".into(), serde_json::json!(store.embedded_llm.enabled));
+ map.insert("embedded_llm_model".into(), serde_json::json!(store.embedded_llm.model));
+ map.insert("restart_interval".into(), serde_json::json!(store.restart_interval));
+ // Only send counts for privacy-sensitive lists (not actual values)
+ map.insert("audio_device_count".into(), serde_json::json!(store.audio_devices.len()));
+ map.insert("ignored_windows_count".into(), serde_json::json!(store.ignored_windows.len()));
+ map.insert("included_windows_count".into(), serde_json::json!(store.included_windows.len()));
+ map.insert("ignored_urls_count".into(), serde_json::json!(store.ignored_urls.len()));
+ map.insert("ai_preset_count".into(), serde_json::json!(store.ai_presets.len()));
+ map
+ }));
+ });
+ }
+
// Initialize sync state
app.manage(sync::SyncState::default());
diff --git a/crates/screenpipe-server/src/bin/screenpipe-server.rs b/crates/screenpipe-server/src/bin/screenpipe-server.rs
index a7337b501..9e15891f7 100644
--- a/crates/screenpipe-server/src/bin/screenpipe-server.rs
+++ b/crates/screenpipe-server/src/bin/screenpipe-server.rs
@@ -257,14 +257,55 @@ async fn main() -> anyhow::Result<()> {
sentry::release_name!().unwrap_or_default(),
sentry_release_name_append
);
- Some(sentry::init((
+ let guard = sentry::init((
"https://123656092b01a72b0417355ebbfb471f@o4505591122886656.ingest.us.sentry.io/4510761360949248",
sentry::ClientOptions {
release: Some(release_name.into()),
traces_sample_rate: 0.1,
..Default::default()
}
- )))
+ ));
+
+ // Attach non-sensitive CLI settings to all future Sentry events
+ sentry::configure_scope(|scope| {
+ scope.set_context("cli_settings", sentry::protocol::Context::Other({
+ let mut map = std::collections::BTreeMap::new();
+ map.insert("fps".into(), json!(cli.fps));
+ map.insert("adaptive_fps".into(), json!(cli.adaptive_fps));
+ map.insert("audio_chunk_duration".into(), json!(cli.audio_chunk_duration));
+ map.insert("port".into(), json!(cli.port));
+ map.insert("disable_audio".into(), json!(cli.disable_audio));
+ map.insert("audio_transcription_engine".into(), json!(format!("{:?}", cli.audio_transcription_engine)));
+ map.insert("enable_realtime_audio_transcription".into(), json!(cli.enable_realtime_audio_transcription));
+ map.insert("enable_realtime_vision".into(), json!(cli.enable_realtime_vision));
+ map.insert("ocr_engine".into(), json!(format!("{:?}", cli.ocr_engine)));
+ map.insert("monitor_ids".into(), json!(cli.monitor_id));
+ map.insert("use_all_monitors".into(), json!(cli.use_all_monitors));
+ map.insert("languages".into(), json!(cli.language.iter().map(|l| format!("{:?}", l)).collect::<Vec<_>>()));
+ map.insert("use_pii_removal".into(), json!(cli.use_pii_removal));
+ map.insert("disable_vision".into(), json!(cli.disable_vision));
+ map.insert("vad_engine".into(), json!(format!("{:?}", cli.vad_engine)));
+ map.insert("vad_sensitivity".into(), json!(format!("{:?}", cli.vad_sensitivity)));
+ map.insert("video_chunk_duration".into(), json!(cli.video_chunk_duration));
+ map.insert("enable_llm".into(), json!(cli.enable_llm));
+ map.insert("enable_frame_cache".into(), json!(cli.enable_frame_cache));
+ map.insert("capture_unfocused_windows".into(), json!(cli.capture_unfocused_windows));
+ map.insert("enable_pipe_manager".into(), json!(cli.enable_pipe_manager));
+ map.insert("enable_ui_events".into(), json!(cli.enable_ui_events));
+ map.insert("enable_sync".into(), json!(cli.enable_sync));
+ map.insert("sync_interval_secs".into(), json!(cli.sync_interval_secs));
+ map.insert("debug".into(), json!(cli.debug));
+ // Only send counts for privacy-sensitive lists (not actual values)
+ map.insert("audio_device_count".into(), json!(cli.audio_device.len()));
+ map.insert("realtime_audio_device_count".into(), json!(cli.realtime_audio_device.len()));
+ map.insert("ignored_windows_count".into(), json!(cli.ignored_windows.len()));
+ map.insert("included_windows_count".into(), json!(cli.included_windows.len()));
+ map.insert("ignored_urls_count".into(), json!(cli.ignored_urls.len()));
+ map
+ }));
+ });
+
+ Some(guard)
} else {
None
};