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: search results now show only frames containing the search term
Louis Beaumont2ab2160254e8
diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-keyword-search-store.tsx b/apps/screenpipe-app-tauri/lib/hooks/use-keyword-search-store.tsxindex 33d7ef4d4..b132ff3af 100644--- a/apps/screenpipe-app-tauri/lib/hooks/use-keyword-search-store.tsx+++ b/apps/screenpipe-app-tauri/lib/hooks/use-keyword-search-store.tsx@@ -188,7 +188,7 @@ export const useKeywordSearchStore = create<KeywordSearchState>((set, get) => ({offset: (options.offset ?? 0).toString(),include_context: (options.include_context ?? false).toString(),fuzzy_match: (options.fuzzy_match ?? fuzzy_default).toString(),- group: "true",+ group: "false",});if (options.app_names) {@@ -281,9 +281,16 @@ export const useKeywordSearchStore = create<KeywordSearchState>((set, get) => ({throw new Error("Search request failed");}- const rawResults: SearchMatchGroup[] = await response.json();- const groups = rawResults;- const results = groups.map((g: SearchMatchGroup) => g.representative);+ const rawResults: SearchMatch[] = await response.json();+ const results = rawResults;+ // Wrap each flat result as a single-item group for UI compatibility+ const groups: SearchMatchGroup[] = results.map((m) => ({+ representative: m,+ group_size: 1,+ start_time: m.timestamp,+ end_time: m.timestamp,+ frame_ids: [m.frame_id],+ }));if (get().activeRequestId === requestId) {if (!isInitialSearch) {diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.tomlindex f4d278e22..14fc3410b 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.67"+version = "2.2.68"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""