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
chore(settings): remove dead disableOcr setting — never reached the CLI
Louis Beaumont1851179f5513
diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsxindex ee9afecfc..d03ac6d42 100644--- a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx+++ b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx@@ -182,8 +182,6 @@ export type Settings = SettingsStore & {appendTypedTextToMeetingNote?: boolean;/** User's name for speaker identification — input device audio will be labeled with this name */userName?: string;- /** When true, screen capture continues but OCR text extraction is skipped (saves CPU) */- disableOcr?: boolean;/** Filters pushed from team — merged with local filters for recording */teamFilters?: {ignoredWindows: string[];@@ -505,7 +503,6 @@ let DEFAULT_SETTINGS: Settings = {searchShortcut: "Control+Super+K",lockVaultShortcut: "Super+Shift+L",disableVision: false,- disableOcr: false,useAllMonitors: true,showShortcutOverlay: true,chatHistory: {@@ -547,7 +544,6 @@ export function createDefaultSettingsObject(): Settings {DEFAULT_SETTINGS.lockVaultShortcut = p === "windows" ? "Ctrl+Shift+L" : "Super+Shift+L";if (p === "windows") {- DEFAULT_SETTINGS.disableOcr = true;DEFAULT_SETTINGS.overlayMode = "window";}diff --git a/apps/screenpipe-app-tauri/src-tauri/src/analytics.rs b/apps/screenpipe-app-tauri/src-tauri/src/analytics.rsindex 84b1251fe..5e219791f 100755--- a/apps/screenpipe-app-tauri/src-tauri/src/analytics.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/analytics.rs@@ -335,7 +335,6 @@ impl AnalyticsManager {json!({// Screen capture"setting_disable_vision": get_bool("disableVision").unwrap_or(false),- "setting_disable_ocr": get_bool("disableOcr").unwrap_or(false),"setting_fps": get_f64("fps").unwrap_or(0.5),"setting_adaptive_fps": get_bool("adaptiveFps").unwrap_or(false),"setting_ocr_engine": get_str("ocrEngine").unwrap_or("unknown"),diff --git a/apps/screenpipe-app-tauri/src-tauri/src/store.rs b/apps/screenpipe-app-tauri/src-tauri/src/store.rsindex 21569ed61..418ceffa0 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/store.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/store.rs@@ -633,10 +633,6 @@ pub struct SettingsStore {pub search_shortcut: String,#[serde(rename = "lockVaultShortcut", default)]pub lock_vault_shortcut: String,- /// When true, screen capture continues but OCR text extraction is skipped.- /// Reduces CPU usage significantly while still recording video.- #[serde(rename = "disableOcr", default)]- pub disable_ocr: bool,#[serde(rename = "showShortcutOverlay", default = "default_true")]pub show_shortcut_overlay: bool,/// Overlay size: "small" (default), "medium" (1.5x), "large" (2x)@@ -1022,7 +1018,6 @@ Rules:lock_vault_shortcut: "Ctrl+Shift+L".to_string(),#[cfg(not(target_os = "windows"))]lock_vault_shortcut: "Super+Shift+L".to_string(),- disable_ocr: false,show_shortcut_overlay: true,shortcut_overlay_size: "small".to_string(),device_id: uuid::Uuid::new_v4().to_string(),