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

Bump app to v2.0.164

Louis Beaumont2b2c0ed6223c
diff --git a/screenpipe-app-tauri/components/rewind/timeline.tsx b/screenpipe-app-tauri/components/rewind/timeline.tsx
index 573055f1b..b7e835f96 100644
--- a/screenpipe-app-tauri/components/rewind/timeline.tsx
+++ b/screenpipe-app-tauri/components/rewind/timeline.tsx
@@ -980,6 +980,7 @@ export default function Timeline() {
startAndEndDates={startAndEndDates}
newFramesCount={newFramesCount}
lastFlushTimestamp={lastFlushTimestamp}
+ isSearchModalOpen={showSearchModal}
/>
) : (
<div className="bg-card/80 backdrop-blur-sm p-4 border-t border-border">
diff --git a/screenpipe-app-tauri/components/rewind/timeline/timeline.tsx b/screenpipe-app-tauri/components/rewind/timeline/timeline.tsx
index 0bf07f5b5..714a9aed3 100644
--- a/screenpipe-app-tauri/components/rewind/timeline/timeline.tsx
+++ b/screenpipe-app-tauri/components/rewind/timeline/timeline.tsx
@@ -17,6 +17,7 @@ interface TimelineSliderProps {
onSelectionChange?: (selectedFrames: StreamTimeSeriesResponse[]) => void;
newFramesCount?: number; // Number of new frames added (for animation)
lastFlushTimestamp?: number; // When frames were last added (to trigger animation)
+ isSearchModalOpen?: boolean; // When true, disable wheel/focus handling to not interfere with modal
}
interface AppGroup {
@@ -57,6 +58,7 @@ export const TimelineSlider = ({
onSelectionChange,
newFramesCount = 0,
lastFlushTimestamp = 0,
+ isSearchModalOpen = false,
}: TimelineSliderProps) => {
const containerRef = useRef<HTMLDivElement>(null);
const observerTargetRef = useRef<HTMLDivElement>(null);
@@ -103,6 +105,9 @@ export const TimelineSlider = ({
// Handle pinch-to-zoom (trackpad) and Cmd+Scroll (mouse)
const handleWheel = useCallback((e: WheelEvent) => {
+ // Don't handle wheel events when search modal is open
+ if (isSearchModalOpen) return;
+
// Pinch gesture on trackpad sends ctrlKey=true
// Cmd+Scroll on mouse sends metaKey=true
if (e.ctrlKey || e.metaKey) {
@@ -138,7 +143,7 @@ export const TimelineSlider = ({
}
}
}
- }, [zoomLevel, currentIndex, frames.length, onFrameChange]);
+ }, [zoomLevel, currentIndex, frames.length, onFrameChange, isSearchModalOpen]);
// Attach wheel event listener for zoom
useEffect(() => {
@@ -154,7 +159,10 @@ export const TimelineSlider = ({
}, [handleWheel]);
// Auto-focus container on mount so zoom works immediately
+ // But skip when search modal is open to not steal focus from modal input
useEffect(() => {
+ if (isSearchModalOpen) return;
+
const container = containerRef.current;
if (container) {
// Small delay to ensure DOM is ready
@@ -162,7 +170,7 @@ export const TimelineSlider = ({
container.focus();
});
}
- }, []);
+ }, [isSearchModalOpen]);
// Calculate frame width based on zoom level
const frameWidth = useMemo(() => {
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 9af5bf161..31b13df42 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.0.163"
+version = "2.0.164"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/screenpipe-js/ai-proxy/src/providers/gemini.ts b/screenpipe-js/ai-proxy/src/providers/gemini.ts
index e1a1a28b4..2876f0f66 100644
--- a/screenpipe-js/ai-proxy/src/providers/gemini.ts
+++ b/screenpipe-js/ai-proxy/src/providers/gemini.ts
@@ -291,8 +291,9 @@ export class GeminiProvider implements AIProvider {
const hasWebSearch = this.hasWebSearchTool(body.tools);
// Check for explicit web search intent - bypass model and search directly
+ // Always allow web search when intent is detected, even if web_search tool isn't in request
const webSearchQuery = this.detectWebSearchIntent(body.messages);
- if (webSearchQuery && hasWebSearch) {
+ if (webSearchQuery) {
console.log('[Gemini Vertex] Direct web search for:', webSearchQuery);
return this.createDirectWebSearchStream(body, webSearchQuery);
}