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): drop dead RecordingSettings fields
Louis Beaumont8963b0c07bf8
diff --git a/apps/screenpipe-app-tauri/components/cli-command-dialog.tsx b/apps/screenpipe-app-tauri/components/cli-command-dialog.tsxindex 4aa271943..7f99fc291 100644--- a/apps/screenpipe-app-tauri/components/cli-command-dialog.tsx+++ b/apps/screenpipe-app-tauri/components/cli-command-dialog.tsx@@ -130,8 +130,6 @@ export function CliCommandDialog({ settings }: CliCommandDialogProps) {settings.languages.forEach((id) => args.push(`--language ${id}`));}- // enableInputCapture and enableAccessibility are always on (no CLI flag needed)-const envVarsStr =envVars.length > 0? `${envVars.join(diff --git a/apps/screenpipe-app-tauri/components/settings/meetings-section.tsx b/apps/screenpipe-app-tauri/components/settings/meetings-section.tsxindex 6d87a38fc..eccfa595d 100644--- a/apps/screenpipe-app-tauri/components/settings/meetings-section.tsx+++ b/apps/screenpipe-app-tauri/components/settings/meetings-section.tsx@@ -16,10 +16,7 @@ import {GitMerge,ArrowUpDown,Sparkles,- Keyboard,} from "lucide-react";-import { Switch } from "@/components/ui/switch";-import { useSettings } from "@/lib/hooks/use-settings";import { showChatWithPrefill } from "@/lib/chat-utils";import { localFetch } from "@/lib/api";import {@@ -107,7 +104,6 @@ function MeetingsSkeleton() {export function MeetingsSection() {const { toast } = useToast();- const { settings, updateSettings } = useSettings();const [meetings, setMeetings] = useState<MeetingRecord[]>([]);const [loading, setLoading] = useState(true);const [loadingMore, setLoadingMore] = useState(false);@@ -424,14 +420,7 @@ export function MeetingsSection() {return (<div className="space-y-4 h-full flex flex-col"><div className="flex items-center justify-between">- <label className="flex items-center gap-2 cursor-pointer" title="automatically append everything you typed during a meeting to its notes">- <Switch- checked={Boolean(settings.appendTypedTextToMeetingNotes ?? true)}- onCheckedChange={(checked) => updateSettings({ appendTypedTextToMeetingNotes: checked })}- />- <Keyboard className="h-3.5 w-3.5 text-muted-foreground" />- <span className="text-xs text-muted-foreground">auto-capture typed text</span>- </label>+ <div />{loading ? (<Skeleton className="h-8 w-28 rounded-md" />) : (diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsxindex a251c8b70..32c250687 100644--- a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx+++ b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx@@ -168,10 +168,6 @@ export type Settings = SettingsStore & {lockVaultShortcut?: string;/** When true, audio devices follow system default and auto-switch on changes */useSystemDefaultAudio?: boolean;- /** @deprecated Always true — kept for serde compat */- enableInputCapture?: boolean;- /** @deprecated Always true — kept for serde compat */- enableAccessibility?: boolean;/** Enable AI workflow event detection (cloud, triggers event-based pipes) */enableWorkflowEvents?: boolean;/** Audio transcription scheduling: "realtime" (default) or "batch" (longer chunks for quality) */@@ -232,8 +228,6 @@ export type Settings = SettingsStore & {experimentalCoreaudioSystemAudio?: boolean;/** Continue recording audio when the screen is locked (default: false) */recordWhileLocked?: boolean;- /** Auto-append typed text to meeting notes when a meeting ends */- appendTypedTextToMeetingNotes?: boolean;/** Auto-delete local data older than retention days (free alternative to cloud archive) */localRetentionEnabled?: boolean;/** Days to keep data locally before auto-deleting (default: 14) */@@ -408,7 +402,6 @@ let DEFAULT_SETTINGS: Settings = {ignoredUrls: [],teamFilters: { ignoredWindows: [], includedWindows: [], ignoredUrls: [] },- vadSensitivity: "medium",analyticsEnabled: true,audioChunkDuration: 30,useChineseMirror: false,@@ -457,8 +450,6 @@ let DEFAULT_SETTINGS: Settings = {activeConversationId: null,historyEnabled: true,},- enableInputCapture: true,- enableAccessibility: true,overlayMode: "fullscreen",showOverlayInScreenRecording: false,videoQuality: "balanced",@@ -471,7 +462,6 @@ let DEFAULT_SETTINGS: Settings = {disableClipboardCapture: false,experimentalCoreaudioSystemAudio: false,recordWhileLocked: false,- appendTypedTextToMeetingNotes: true,localRetentionEnabled: false,localRetentionDays: 14,localRetentionMode: "media",diff --git a/apps/screenpipe-app-tauri/lib/utils/tauri.ts b/apps/screenpipe-app-tauri/lib/utils/tauri.tsindex 06f7d49f1..460389d66 100644--- a/apps/screenpipe-app-tauri/lib/utils/tauri.ts+++ b/apps/screenpipe-app-tauri/lib/utils/tauri.ts@@ -1475,15 +1475,11 @@ audioChunkDuration: number;* Empty string or "default" means not configured.* Kept as String (not Option) to match existing store.bin schema.*/-deepgramApiKey: string;-/**- * VAD sensitivity level: "low", "medium", "high".- */-vadSensitivity: string;+deepgramApiKey: string;/*** Filter music-dominant audio before transcription using spectral analysis.*/-filterMusic: boolean;+filterMusic: boolean;/*** Maximum batch duration in seconds for batch transcription.* None = use engine-aware defaults (Deepgram=5000s, OpenAI=3000s, Whisper=600s).@@ -1552,16 +1548,11 @@ disableClipboardCapture?: boolean;* Continue recording audio when the screen is locked.* Default: false (audio pauses when screen is locked to save resources).*/-recordWhileLocked?: boolean;-/**- * Automatically append text typed during a meeting to the meeting's note- * when the meeting ends. Groups typed text by app/window context.- */-appendTypedTextToMeetingNotes?: boolean;+recordWhileLocked?: boolean;/*** Languages for transcription (ISO 639-1 codes).*/-languages: string[];+languages: string[];/*** Redact personally identifiable information from transcriptions.*/@@ -1668,24 +1659,12 @@ analyticsEnabled: boolean;/*** Persistent analytics ID (UUID, stable across sessions).*/-analyticsId: string;-/**- * Legacy: input capture is always enabled. Kept for serde compat with- * existing store.bin files; deserialized but ignored.- * @deprecated input capture is always enabled; will be removed- */-enableInputCapture?: boolean;-/**- * Legacy: accessibility capture is always enabled. Kept for serde compat- * with existing store.bin files; deserialized but ignored.- * @deprecated accessibility capture is always enabled; will be removed- */-enableAccessibility?: boolean;+analyticsId: string;/*** Enable AI workflow event detection (cloud feature, requires subscription).* When enabled, classifies desktop activity and triggers event-based pipes.*/-enableWorkflowEvents?: boolean;+enableWorkflowEvents?: boolean;/*** Detected hardware tier ("high", "mid", "low").* Set once on first launch; `None` for existing installs (treated as High).diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lockindex fca895ab0..5eb67eaea 100644--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -10557,7 +10557,7 @@ dependencies = [[[package]]name = "screenpipe-app"-version = "2.4.180"+version = "2.4.181"dependencies = ["aes","anyhow",diff --git a/apps/screenpipe-app-tauri/src-tauri/src/analytics.rs b/apps/screenpipe-app-tauri/src-tauri/src/analytics.rsindex 4ee48dbbc..84b1251fe 100755--- a/apps/screenpipe-app-tauri/src-tauri/src/analytics.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/analytics.rs@@ -343,10 +343,6 @@ impl AnalyticsManager {"setting_monitor_count": get_arr_len("monitorIds"),"setting_video_quality": get_str("videoQuality").unwrap_or("balanced"),- // Element capture / accessibility — always enabled- "setting_enable_input_capture": true,- "setting_enable_accessibility": true,-// Audio"setting_disable_audio": get_bool("disableAudio").unwrap_or(false),"setting_audio_device_count": get_arr_len("audioDevices"),diff --git a/apps/screenpipe-app-tauri/src-tauri/src/main.rs b/apps/screenpipe-app-tauri/src-tauri/src/main.rsindex 487d46845..d58db7c63 100755--- a/apps/screenpipe-app-tauri/src-tauri/src/main.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/main.rs@@ -1353,8 +1353,6 @@ async fn main() {map.insert("languages".into(), serde_json::json!(store.recording.languages));map.insert("use_pii_removal".into(), serde_json::json!(store.recording.use_pii_removal));map.insert("disable_vision".into(), serde_json::json!(store.recording.disable_vision));- map.insert("enable_input_capture".into(), serde_json::json!(true));- map.insert("enable_accessibility".into(), serde_json::json!(true));map.insert("auto_start_enabled".into(), serde_json::json!(store.auto_start_enabled));map.insert("platform".into(), serde_json::json!(store.platform));map.insert("embedded_llm_enabled".into(), serde_json::json!(store.embedded_llm.enabled));diff --git a/apps/screenpipe-app-tauri/src-tauri/src/store.rs b/apps/screenpipe-app-tauri/src-tauri/src/store.rsindex 5ccc6dc00..c55ccb70b 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/store.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/store.rs@@ -749,7 +749,6 @@ Rules:monitor_ids: vec!["default".to_string()],audio_devices: vec!["default".to_string()],use_pii_removal: true,- vad_sensitivity: "medium".to_string(),analytics_id: uuid::Uuid::new_v4().to_string(),ignored_windows,..screenpipe_config::RecordingSettings::default()@@ -937,12 +936,6 @@ impl SettingsStore {.filter(|s| !s.trim().is_empty()).or_else(|| self.user.name.clone().filter(|s| !s.trim().is_empty())).or_else(|| self.user.email.clone().filter(|s| !s.trim().is_empty()));- // Legacy fields — always true, no-op but kept for serde compat- #[allow(deprecated)]- {- settings.enable_input_capture = true;- settings.enable_accessibility = true;- }settings}diff --git a/crates/screenpipe-config/src/recording.rs b/crates/screenpipe-config/src/recording.rsindex 305c2ee9e..33004acf1 100644--- a/crates/screenpipe-config/src/recording.rs+++ b/crates/screenpipe-config/src/recording.rs@@ -99,10 +99,6 @@ pub struct RecordingSettings {#[serde(rename = "deepgramApiKey")]pub deepgram_api_key: String,- /// VAD sensitivity level: "low", "medium", "high".- #[serde(rename = "vadSensitivity")]- pub vad_sensitivity: String,-/// Filter music-dominant audio before transcription using spectral analysis.#[serde(rename = "filterMusic")]pub filter_music: bool,@@ -178,11 +174,6 @@ pub struct RecordingSettings {#[serde(rename = "recordWhileLocked", default)]pub record_while_locked: bool,- /// Automatically append text typed during a meeting to the meeting's note- /// when the meeting ends. Groups typed text by app/window context.- #[serde(rename = "appendTypedTextToMeetingNotes", default = "default_true")]- pub append_typed_text_to_meeting_notes: bool,-/// Languages for transcription (ISO 639-1 codes).pub languages: Vec<String>,@@ -295,22 +286,6 @@ pub struct RecordingSettings {#[serde(rename = "analyticsId")]pub analytics_id: String,- /// Legacy: input capture is always enabled. Kept for serde compat with- /// existing store.bin files; deserialized but ignored.- #[serde(rename = "enableInputCapture", default = "default_true")]- #[deprecated(note = "input capture is always enabled; will be removed")]- pub enable_input_capture: bool,-- /// Legacy: accessibility capture is always enabled. Kept for serde compat- /// with existing store.bin files; deserialized but ignored.- #[serde(- rename = "enableAccessibility",- alias = "enableUiEvents",- default = "default_true"- )]- #[deprecated(note = "accessibility capture is always enabled; will be removed")]- pub enable_accessibility: bool,-/// Enable AI workflow event detection (cloud feature, requires subscription)./// When enabled, classifies desktop activity and triggers event-based pipes.#[serde(rename = "enableWorkflowEvents", default)]@@ -386,7 +361,6 @@ impl Default for RecordingSettings {experimental_coreaudio_system_audio: false,audio_chunk_duration: 30,deepgram_api_key: String::new(),- vad_sensitivity: "high".to_string(),filter_music: false,batch_max_duration_secs: None,vocabulary: vec![],@@ -402,7 +376,6 @@ impl Default for RecordingSettings {pause_on_drm_content: false,disable_clipboard_capture: false,record_while_locked: false,- append_typed_text_to_meeting_notes: true,languages: vec![],use_pii_removal: false,async_pii_redaction: false,@@ -420,10 +393,6 @@ impl Default for RecordingSettings {use_chinese_mirror: false,analytics_enabled: true,analytics_id: String::new(),- #[allow(deprecated)]- enable_input_capture: true,- #[allow(deprecated)]- enable_accessibility: true,enable_workflow_events: false,device_tier: None,schedule_enabled: false,diff --git a/crates/screenpipe-engine/src/bin/screenpipe-engine.rs b/crates/screenpipe-engine/src/bin/screenpipe-engine.rsindex e732e45a5..56992e230 100644--- a/crates/screenpipe-engine/src/bin/screenpipe-engine.rs+++ b/crates/screenpipe-engine/src/bin/screenpipe-engine.rs@@ -455,7 +455,6 @@ async fn main() -> anyhow::Result<()> {map.insert("use_pii_removal".into(), json!(record_args.use_pii_removal));map.insert("disable_vision".into(), json!(record_args.disable_vision));map.insert("vad_engine".into(), json!("Silero"));- // enable_input_capture / enable_accessibility always true (removed as settings)map.insert("enable_sync".into(), json!(record_args.enable_sync));map.insert("sync_interval_secs".into(),diff --git a/crates/screenpipe-engine/src/cli/mod.rs b/crates/screenpipe-engine/src/cli/mod.rsindex 0f1ceebfd..06b4839f5 100644--- a/crates/screenpipe-engine/src/cli/mod.rs+++ b/crates/screenpipe-engine/src/cli/mod.rs@@ -506,10 +506,6 @@ impl RecordArgs {async_image_pii_redaction: self.async_image_pii_redaction,pii_backend: self.pii_backend.clone(),filter_music: self.filter_music,- #[allow(deprecated)]- enable_input_capture: true,- #[allow(deprecated)]- enable_accessibility: true,audio_transcription_engine: engine_str.to_string(),transcription_mode: mode_str.to_string(),audio_devices: self.audio_device.clone(),diff --git a/crates/screenpipe-engine/src/recording_config.rs b/crates/screenpipe-engine/src/recording_config.rsindex 4bf3d2e36..6cea6b323 100644--- a/crates/screenpipe-engine/src/recording_config.rs+++ b/crates/screenpipe-engine/src/recording_config.rs@@ -46,7 +46,6 @@ pub struct RecordingConfig {pub pii_backend: String,/// Filter music-dominant audio before transcription using spectral analysispub filter_music: bool,- // enable_input_capture and enable_accessibility removed — always true// Engines (typed, not strings)pub audio_transcription_engine: AudioTranscriptionEngine,@@ -182,7 +181,6 @@ impl RecordingConfig {async_image_pii_redaction: settings.async_image_pii_redaction,pii_backend: settings.pii_backend.clone(),filter_music: settings.filter_music,- // enable_input_capture / enable_accessibility removed — always trueenable_workflow_events: settings.enable_workflow_events,audio_transcription_engine: engine_str.parse()