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.2.174
Louis Beaumont68ff4bbe2839
diff --git a/apps/screenpipe-app-tauri/components/settings/general-settings.tsx b/apps/screenpipe-app-tauri/components/settings/general-settings.tsxindex 1a68286c7..02e340ba2 100644--- a/apps/screenpipe-app-tauri/components/settings/general-settings.tsx+++ b/apps/screenpipe-app-tauri/components/settings/general-settings.tsx@@ -255,7 +255,7 @@ export default function GeneralSettings() {</p></div><Switch- checked={settings?.showRestartNotifications !== false}+ checked={settings?.showRestartNotifications === true}onCheckedChange={(checked) =>handleSettingsChange({ showRestartNotifications: checked })}diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsxindex d3064d79e..2ade3e373 100644--- a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx+++ b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx@@ -139,7 +139,7 @@ export type Settings = SettingsStore & {pipeSuggestionFrequencyHours?: number;/** User's power mode preference — persisted so it survives app restarts */powerMode?: "auto" | "performance" | "battery_saver";- /** Show restart notifications when audio/vision capture stalls (default: true) */+ /** Show restart notifications when audio/vision capture stalls (default: false for now) */showRestartNotifications?: boolean;}diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.tomlindex 8762fd366..bed42f57e 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.2.173"+version = "2.2.174"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""diff --git a/apps/screenpipe-app-tauri/src-tauri/src/health.rs b/apps/screenpipe-app-tauri/src-tauri/src/health.rsindex 9651dc74a..41254921e 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/health.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/health.rs@@ -292,8 +292,8 @@ fn parse_devices_from_health(health_result: &Result<HealthCheckResponse>) -> Vec}/// How many consecutive stale/not_started checks before showing a notification.-/// At 1-second polling, 30 = 30 seconds of sustained failure.-const CAPTURE_STALL_THRESHOLD: u32 = 30;+/// At 1-second polling, 90 = 90 seconds of sustained failure.+const CAPTURE_STALL_THRESHOLD: u32 = 90;/// Suppress re-notification for this long after showing one.const NOTIFICATION_COOLDOWN: Duration = Duration::from_secs(300); // 5 minutes@@ -546,7 +546,7 @@ pub async fn start_health_check(app: tauri::AppHandle) -> Result<()> {.ok().flatten().map(|s| s.show_restart_notifications)- .unwrap_or(true);+ .unwrap_or(false);let now_instant = Instant::now();if consecutive_audio_stall == CAPTURE_STALL_THRESHOLD && notifications_enabled {@@ -605,8 +605,8 @@ async fn show_capture_stall_notification(app: &tauri::AppHandle, system: &str) -let payload = serde_json::json!({"id": format!("capture_stall_{}", system),"type": "capture_stall",- "title": format!("{} recording stopped", system),- "body": format!("{} capture appears to have stopped. you can restart to fix this.", system),+ "title": format!("{} capture may be stalled", system),+ "body": format!("screenpipe has not received recent {} updates. this may recover on its own, but restarting usually fixes it.", system),"actions": [{ "label": "RESTART", "action": "restart_recording", "primary": true }],diff --git a/apps/screenpipe-app-tauri/src-tauri/src/store.rs b/apps/screenpipe-app-tauri/src-tauri/src/store.rsindex 2ad9b6ddf..40bd281f5 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/store.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/store.rs@@ -176,8 +176,8 @@ pub struct SettingsStore {pub chat_always_on_top: bool,/// Show restart notifications when audio/vision capture stalls.- /// Disable to suppress all capture-stall notification popups.- #[serde(rename = "showRestartNotifications", default = "default_true")]+ /// Disabled by default for now until the stall detector is more reliable.+ #[serde(rename = "showRestartNotifications", default)]pub show_restart_notifications: bool,/// Catch-all for fields added by the frontend (e.g. chatHistory)@@ -480,7 +480,7 @@ impl Default for SettingsStore {overlay_mode: "window".to_string(),show_overlay_in_screen_recording: false,chat_always_on_top: true,- show_restart_notifications: true,+ show_restart_notifications: false,extra: std::collections::HashMap::new(),}}@@ -500,6 +500,21 @@ impl SettingsStore {obj.insert("enableAccessibility".to_string(), v);}+ // Temporary one-time migration: disable restart notifications for all+ // existing users until the stall detector is more reliable. Users can+ // still opt back in manually from Settings; once they've seen this+ // version, we stop overriding their choice.+ if !obj.contains_key("restartNotificationsDefaultedOff") {+ obj.insert(+ "showRestartNotifications".to_string(),+ Value::Bool(false),+ );+ obj.insert(+ "restartNotificationsDefaultedOff".to_string(),+ Value::Bool(true),+ );+ }+// Sanitize unknown provider types in aiPresets to prevent deserialization failureslet known_providers = ["openai",