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.404

Louis Beaumont46249e0f9009
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index 1723722f5..bdd94b516 100755
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -8719,7 +8719,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.0.402"
+version = "2.0.403"
dependencies = [
"anyhow",
"async-stream",
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index f2adc8875..b87712f28 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.403"
+version = "2.0.404"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/crates/screenpipe-db/src/migrations/20260210000000_fix_orphaned_speaker_transcriptions.sql b/crates/screenpipe-db/src/migrations/20260210000000_fix_orphaned_speaker_transcriptions.sql
new file mode 100644
index 000000000..258133a24
--- /dev/null
+++ b/crates/screenpipe-db/src/migrations/20260210000000_fix_orphaned_speaker_transcriptions.sql
@@ -0,0 +1,11 @@
+-- Fix orphaned audio_transcriptions pointing to deleted speakers.
+-- These were left behind by the old reassign_speaker propagation bug
+-- which deleted speakers without properly moving all their transcriptions.
+--
+-- Set speaker_id to NULL so these transcriptions are "unassigned" rather than
+-- pointing to non-existent speakers. They remain searchable via general audio
+-- search and can be manually reassigned to the correct speaker.
+UPDATE audio_transcriptions
+SET speaker_id = NULL
+WHERE speaker_id IS NOT NULL
+ AND speaker_id NOT IN (SELECT id FROM speakers);