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
Bump app to v2.0.595
Louis Beaumont3c3b4f2266c4
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lockindex 5df1cf94d..442fac02f 100644--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -8183,7 +8183,7 @@ dependencies = [[[package]]name = "screenpipe-app"-version = "2.0.594"+version = "2.0.595"dependencies = ["anyhow","arboard",diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.tomlindex f6092a508..d970926fd 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.594"+version = "2.0.595"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""diff --git a/crates/screenpipe-audio/src/core/run_record_and_transcribe.rs b/crates/screenpipe-audio/src/core/run_record_and_transcribe.rsindex 952ae1921..53ef04c6d 100644--- a/crates/screenpipe-audio/src/core/run_record_and_transcribe.rs+++ b/crates/screenpipe-audio/src/core/run_record_and_transcribe.rs@@ -29,10 +29,11 @@ use super::AudioStream;const AUDIO_RECEIVE_TIMEOUT_SECS: u64 = 30;/// Batch mode: flush every this many seconds.-/// 30s matches realtime mode and is plenty of context for whisper-large-v3-turbo.-/// Previously tried silence-gap detection (3s quiet → flush) but RMS thresholds+/// Longer segments give VAD more context for natural speech boundaries,+/// producing cleaner sentence-level segments for whisper → better quality.+/// Previously tried silence-gap detection but RMS thresholds/// are device-dependent and fail across different mics/gain settings.-const BATCH_FLUSH_SECS: usize = 30;+const BATCH_FLUSH_SECS: usize = 120;pub async fn run_record_and_transcribe(audio_stream: Arc<AudioStream>,@@ -87,6 +88,18 @@ pub async fn run_record_and_transcribe().await?;}++ // Flush remaining audio on exit+ flush_audio(+ &mut collected_audio,+ 0,+ &audio_stream,+ &whisper_sender,+ &device_name,+ &metrics,+ )+ .await+ .ok();}TranscriptionMode::Batch => {info!(@@ -123,6 +136,18 @@ pub async fn run_record_and_transcribe().await?;}++ // Flush remaining audio on exit+ flush_audio(+ &mut collected_audio,+ 0,+ &audio_stream,+ &whisper_sender,+ &device_name,+ &metrics,+ )+ .await+ .ok();}}