Skip to content

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

fix: convert frameId to string for livetext_analyze command

Louis Beaumont33c7875d5f24
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.ts
index 80fbbe18a..4b5e96525 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
@@ -110,7 +110,7 @@ export function useLiveText(opts: {
// rapid arrow key presses. The 80ms frame-loading debounce already handles
// fast scrolling; generation counter in Swift cancels stale requests.
let cancelled = false;
- const currentFrameId = debouncedFrame.frameId;
+ const currentFrameId = String(debouncedFrame.frameId);
const timer = setTimeout(() => {
if (cancelled) return;
invoke("livetext_analyze", {