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
fix: strip sensitive data from logs sent to sentry
Louis Beaumont96ab6fc8aecf
diff --git a/Cargo.lock b/Cargo.lockindex fecf97ce5..87f96f238 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -6628,7 +6628,7 @@ dependencies = [[[package]]name = "screenpipe-audio"-version = "0.3.41"+version = "0.3.42"dependencies = ["anyhow","bytemuck",@@ -6681,7 +6681,7 @@ dependencies = [[[package]]name = "screenpipe-core"-version = "0.3.41"+version = "0.3.42"dependencies = ["accessibility","accessibility-sys",@@ -6732,7 +6732,7 @@ dependencies = [[[package]]name = "screenpipe-db"-version = "0.3.41"+version = "0.3.42"dependencies = ["anyhow","chrono",@@ -6756,7 +6756,7 @@ dependencies = [[[package]]name = "screenpipe-events"-version = "0.3.41"+version = "0.3.42"dependencies = ["anyhow","chrono",@@ -6774,7 +6774,7 @@ dependencies = [[[package]]name = "screenpipe-integrations"-version = "0.3.41"+version = "0.3.42"dependencies = ["anyhow","image",@@ -6789,7 +6789,7 @@ dependencies = [[[package]]name = "screenpipe-server"-version = "0.3.41"+version = "0.3.42"dependencies = ["anyhow","async-trait",@@ -6858,7 +6858,7 @@ dependencies = [[[package]]name = "screenpipe-vision"-version = "0.3.41"+version = "0.3.42"dependencies = ["accessibility-sys","anyhow",diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lockindex 639e33f18..9057c1f90 100755--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -9007,7 +9007,7 @@ dependencies = [[[package]]name = "screenpipe-app"-version = "2.0.246"+version = "2.0.248"dependencies = ["anyhow","async-stream",@@ -9039,6 +9039,7 @@ dependencies = ["objc","once_cell","raw-window-handle",+ "regex","reqwest 0.12.12","resvg","screenpipe-audio",@@ -9088,7 +9089,7 @@ dependencies = [[[package]]name = "screenpipe-audio"-version = "0.3.40"+version = "0.3.42"dependencies = ["anyhow","bytemuck",@@ -9136,7 +9137,7 @@ dependencies = [[[package]]name = "screenpipe-core"-version = "0.3.40"+version = "0.3.42"dependencies = ["accessibility","accessibility-sys",@@ -9187,7 +9188,7 @@ dependencies = [[[package]]name = "screenpipe-db"-version = "0.3.40"+version = "0.3.42"dependencies = ["anyhow","chrono",@@ -9211,7 +9212,7 @@ dependencies = [[[package]]name = "screenpipe-events"-version = "0.3.40"+version = "0.3.42"dependencies = ["anyhow","chrono",@@ -9227,7 +9228,7 @@ dependencies = [[[package]]name = "screenpipe-integrations"-version = "0.3.40"+version = "0.3.42"dependencies = ["anyhow","image 0.25.9",@@ -9242,7 +9243,7 @@ dependencies = [[[package]]name = "screenpipe-server"-version = "0.3.40"+version = "0.3.42"dependencies = ["anyhow","async-trait",@@ -9306,7 +9307,7 @@ dependencies = [[[package]]name = "screenpipe-vision"-version = "0.3.40"+version = "0.3.42"dependencies = ["accessibility-sys","anyhow",diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.tomlindex eb13fa163..5fb647e4b 100644--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -89,6 +89,7 @@ tauri-plugin-deep-link = "=2.4.6"once_cell = "1.20.0"tauri-plugin-sentry = "0.5.0"sentry = "0.42"+regex = "1"raw-window-handle = "0.6"notify = "8.0.0"diff --git a/crates/screenpipe-audio/src/transcription/deepgram/batch.rs b/crates/screenpipe-audio/src/transcription/deepgram/batch.rsindex e1c4a9c74..ece5508f0 100644--- a/crates/screenpipe-audio/src/transcription/deepgram/batch.rs+++ b/crates/screenpipe-audio/src/transcription/deepgram/batch.rs@@ -34,7 +34,7 @@ pub async fn transcribe_with_deepgram(custom_api_key};- debug!("deepgram api key: {}", api_key_to_use);+ debug!("deepgram api key: {}...", &api_key_to_use[..api_key_to_use.len().min(8)]);let response =get_deepgram_response(api_key_to_use, is_custom_endpoint, wav_data, query_params).await;diff --git a/crates/screenpipe-audio/src/transcription/handle_new_transcript.rs b/crates/screenpipe-audio/src/transcription/handle_new_transcript.rsindex e1e12bf14..05474813e 100644--- a/crates/screenpipe-audio/src/transcription/handle_new_transcript.rs+++ b/crates/screenpipe-audio/src/transcription/handle_new_transcript.rs@@ -96,8 +96,9 @@ pub async fn handle_new_transcript(TRANSCRIPTS_TOTAL.fetch_add(1, Ordering::SeqCst);info!(- "device {} received transcription {:?}",- transcription.input.device, transcription.transcription+ "device {} received transcription ({} chars)",+ transcription.input.device,+ transcription.transcription.as_ref().map(|t| t.len()).unwrap_or(0));// Insert the new transcript after fetching