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: remove isSnapshotFrame from livetext analyze deps — was causing 150ms timer cancellation
Louis Beaumont1685d89d2b65
diff --git a/apps/screenpipe-app-tauri/components/rewind/hooks/use-live-text.ts b/apps/screenpipe-app-tauri/components/rewind/hooks/use-live-text.tsindex e4985024d..5e84ff22c 100644--- a/apps/screenpipe-app-tauri/components/rewind/hooks/use-live-text.ts+++ b/apps/screenpipe-app-tauri/components/rewind/hooks/use-live-text.ts@@ -142,7 +142,7 @@ export function useLiveText(opts: {});}, 150);return () => { cancelled = true; clearTimeout(timer); };- }, [nativeLiveTextActive, debouncedFrame?.frameId, isSnapshotFrame]);+ }, [nativeLiveTextActive, debouncedFrame?.frameId]);// Prefetch VisionKit analysis for adjacent frames so scrolling is instant.// Fire-and-forget: Swift caches results in an LRU for future hits.@@ -242,9 +242,7 @@ export function useLiveText(opts: {} else if (debouncedFrame?.frameId) {// Re-analyze to show overlay again, then send position update// to apply the pending analysis with correct geometry.- const imagePath = isSnapshotFrame && debouncedFrame.filePath- ? debouncedFrame.filePath- : `http://localhost:3030/frames/${debouncedFrame.frameId}`;+ const imagePath = `http://localhost:3030/frames/${debouncedFrame.frameId}`;const fid = String(debouncedFrame.frameId);invoke("livetext_analyze", {imagePath,