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.235, CLI to v0.3.29
Louis Beaumontd4a0c47540cd
diff --git a/Cargo.lock b/Cargo.lockindex 5b85f3589..528073e16 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -6628,7 +6628,7 @@ dependencies = [[[package]]name = "screenpipe-audio"-version = "0.3.27"+version = "0.3.28"dependencies = ["anyhow","bytemuck",@@ -6681,7 +6681,7 @@ dependencies = [[[package]]name = "screenpipe-core"-version = "0.3.27"+version = "0.3.28"dependencies = ["accessibility","accessibility-sys",@@ -6732,7 +6732,7 @@ dependencies = [[[package]]name = "screenpipe-db"-version = "0.3.27"+version = "0.3.28"dependencies = ["anyhow","chrono",@@ -6756,7 +6756,7 @@ dependencies = [[[package]]name = "screenpipe-events"-version = "0.3.27"+version = "0.3.28"dependencies = ["anyhow","chrono",@@ -6774,7 +6774,7 @@ dependencies = [[[package]]name = "screenpipe-integrations"-version = "0.3.27"+version = "0.3.28"dependencies = ["anyhow","image",@@ -6789,7 +6789,7 @@ dependencies = [[[package]]name = "screenpipe-server"-version = "0.3.27"+version = "0.3.28"dependencies = ["anyhow","async-trait",@@ -6858,7 +6858,7 @@ dependencies = [[[package]]name = "screenpipe-vision"-version = "0.3.27"+version = "0.3.28"dependencies = ["accessibility-sys","anyhow",diff --git a/Cargo.toml b/Cargo.tomlindex c8f3f0176..336e65990 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -13,7 +13,7 @@ exclude = ["screenpipe-app-tauri/src-tauri"]resolver = "2"[workspace.package]-version = "0.3.28"+version = "0.3.29"authors = ["louis030195 <[email protected]>"]description = ""repository = "https://github.com/mediar-ai/screenpipe"diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.tomlindex e82e32fa2..17c3fed0d 100644--- a/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "screenpipe-app"-version = "2.0.234"+version = "2.0.235"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""diff --git a/screenpipe-audio/src/transcription/whisper/batch.rs b/screenpipe-audio/src/transcription/whisper/batch.rsindex 4086e3c6e..f82548b7b 100644--- a/screenpipe-audio/src/transcription/whisper/batch.rs+++ b/screenpipe-audio/src/transcription/whisper/batch.rs@@ -14,7 +14,7 @@ pub async fn process_with_whisper() -> Result<String> {let mut whisper_state = whisper_context.create_state()- .expect("failed to create key");+ .map_err(|e| anyhow::anyhow!("failed to create whisper state: {}", e))?;let mut params = FullParams::new(SamplingStrategy::Greedy { best_of: 0 });@@ -32,8 +32,8 @@ pub async fn process_with_whisper(params.set_print_progress(false);params.set_print_realtime(false);params.set_print_timestamps(false);- // Enable token level timestamps- params.set_token_timestamps(true);+ // Disable token-level timestamps since DTW is disabled for stability.+ params.set_token_timestamps(false);whisper_state.pcm_to_mel(&audio, 2)?;let (_, lang_tokens) = whisper_state.lang_detect(0, 2)?;let lang = detect_language(lang_tokens, languages);@@ -44,7 +44,7 @@ pub async fn process_with_whisper(whisper_state.full(params, &audio)- .expect("failed to run model");+ .map_err(|e| anyhow::anyhow!("failed to run whisper model: {}", e))?;let num_segments = whisper_state.full_n_segments();diff --git a/screenpipe-audio/src/transcription/whisper/model.rs b/screenpipe-audio/src/transcription/whisper/model.rsindex a1d568b13..11cb3450b 100644--- a/screenpipe-audio/src/transcription/whisper/model.rs+++ b/screenpipe-audio/src/transcription/whisper/model.rs@@ -43,17 +43,12 @@ pub fn download_whisper_model(engine: Arc<AudioTranscriptionEngine>) -> Result<Ppub fn create_whisper_context_parameters<'a>(engine: Arc<AudioTranscriptionEngine>,) -> Result<WhisperContextParameters<'a>> {- let model_preset = match *engine {- AudioTranscriptionEngine::WhisperLargeV3- | AudioTranscriptionEngine::WhisperLargeV3Quantized => whisper_rs::DtwModelPreset::LargeV3,- AudioTranscriptionEngine::WhisperTiny | AudioTranscriptionEngine::WhisperTinyQuantized => {- whisper_rs::DtwModelPreset::Tiny- }- _ => whisper_rs::DtwModelPreset::LargeV3Turbo,- };-let mut context_param = WhisperContextParameters::default();- context_param.dtw_parameters.mode = whisper_rs::DtwMode::ModelPreset { model_preset };++ // NOTE: keep DTW disabled to avoid whisper.cpp median_filter asserts on short inputs+ // (WHISPER_ASSERT filter_width < a->ne[2]). Token-level timestamps are optional for us+ // and DTW can be re-enabled after the upstream issue is addressed.+ context_param.dtw_parameters.mode = whisper_rs::DtwMode::None;Ok(context_param)}