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
fix: autocomplete shows app names (no dupes) + allow custom values
Louis Beaumontede975029369
diff --git a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsxindex 86de80928..dadb12818 100644--- a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx+++ b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx@@ -2089,6 +2089,7 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. Screvalue={settings.ignoredWindows}onValueChange={handleIgnoredWindowsChange}placeholder="Select apps to ignore..."+ allowCustomValues/>{filterView === "all" && (settings.teamFilters?.ignoredWindows?.length ?? 0) > 0 && (<div className="flex flex-wrap gap-1 mt-1">@@ -2142,6 +2143,7 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. Screvalue={settings.includedWindows}onValueChange={handleIncludedWindowsChange}placeholder="Only capture these apps (optional)..."+ allowCustomValues/>{filterView === "all" && (settings.teamFilters?.includedWindows?.length ?? 0) > 0 && (<div className="flex flex-wrap gap-1 mt-1">diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-sql-autocomplete.tsx b/apps/screenpipe-app-tauri/lib/hooks/use-sql-autocomplete.tsxindex ecf4bc6b6..54edf0349 100644--- a/apps/screenpipe-app-tauri/lib/hooks/use-sql-autocomplete.tsx+++ b/apps/screenpipe-app-tauri/lib/hooks/use-sql-autocomplete.tsx@@ -59,25 +59,15 @@ export function useSqlAutocomplete(type: "app" | "window" | "url") {LIMIT 100`;} else if (type === "window") {- // App names first (always included), then top window titles- // ignoredWindows matches against both app_name and window_name+ // Distinct app names — ignoredWindows matches against app_name and window_namequery = `- SELECT name, app_name, count FROM (- SELECT app_name as name, app_name, COUNT(*) as count, 0 as sort_group- FROM frames- WHERE timestamp > datetime('now', '-7 days')- AND app_name IS NOT NULL AND app_name != ''- GROUP BY app_name- UNION ALL- SELECT window_name as name, MAX(app_name) as app_name, COUNT(*) as count, 1 as sort_group- FROM frames- WHERE timestamp > datetime('now', '-7 days')- AND window_name IS NOT NULL AND window_name != ''- AND window_name != app_name- GROUP BY window_name- ORDER BY sort_group, count DESC- LIMIT 500- )+ SELECT app_name as name, app_name, COUNT(*) as count+ FROM frames+ WHERE timestamp > datetime('now', '-7 days')+ AND app_name IS NOT NULL AND app_name != ''+ GROUP BY app_name+ ORDER BY count DESC+ LIMIT 200`;} else {query = `