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
Bump app to v2.0.234, CLI to v0.3.28
Louis Beaumontcec36abf0eef
diff --git a/Cargo.toml b/Cargo.tomlindex 949f4616e..c8f3f0176 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -13,7 +13,7 @@ exclude = ["screenpipe-app-tauri/src-tauri"]resolver = "2"[workspace.package]-version = "0.3.27"+version = "0.3.28"authors = ["louis030195 <[email protected]>"]description = ""repository = "https://github.com/mediar-ai/screenpipe"diff --git a/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx b/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsxindex d0ee77ade..9aec6da33 100644--- a/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx+++ b/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx@@ -44,7 +44,7 @@ export const CurrentFrameTimeline: FC<CurrentFrameTimelineProps> = ({width: number;height: number;} | null>(null);- // For object-cover, track the full rendered size and crop offset+ // For object-contain, track the full rendered size and padding offsetconst [renderedImageInfo, setRenderedImageInfo] = useState<{width: number;height: number;@@ -163,7 +163,7 @@ export const CurrentFrameTimeline: FC<CurrentFrameTimelineProps> = ({}, [debouncedFrameId, imageUrl]);// Update rendered image info on resize- // For object-cover: image fills container, may be cropped, centered+ // For object-contain: image fits within container, centered with letterboxinguseEffect(() => {const updateDimensions = () => {if (containerRef.current && naturalDimensions) {@@ -175,16 +175,16 @@ export const CurrentFrameTimeline: FC<CurrentFrameTimelineProps> = ({let renderedHeight: number;if (containerAspect > imageAspect) {- // Container is wider than image aspect - width fills, height overflows- renderedWidth = containerRect.width;- renderedHeight = containerRect.width / imageAspect;- } else {- // Container is taller than image aspect - height fills, width overflows+ // Container is wider - height fits, width letterboxesrenderedHeight = containerRect.height;renderedWidth = containerRect.height * imageAspect;+ } else {+ // Container is taller - width fits, height letterboxes+ renderedWidth = containerRect.width;+ renderedHeight = containerRect.width / imageAspect;}- // Calculate crop offset (image is centered with object-cover)+ // Calculate padding offset (image is centered with object-contain)const offsetX = (containerRect.width - renderedWidth) / 2;const offsetY = (containerRect.height - renderedHeight) / 2;@@ -276,7 +276,7 @@ export const CurrentFrameTimeline: FC<CurrentFrameTimelineProps> = ({<imgsrc={imageUrl}ref={imageRef}- className="absolute inset-0 w-full h-full object-cover"+ className="absolute inset-0 w-full h-full object-contain bg-black"style={{zIndex: 1,display: hasError ? 'none' : 'block',@@ -303,7 +303,7 @@ export const CurrentFrameTimeline: FC<CurrentFrameTimelineProps> = ({/>)}{/* Text selection overlay for timeline view */}- {/* Position overlay to match the actual rendered image (accounting for object-cover cropping) */}+ {/* Position overlay to match the actual rendered image (object-contain letterboxing) */}{!isLoading && !hasError && naturalDimensions && renderedImageInfo && textPositions.length > 0 && (<divclassName="absolute overflow-hidden"@@ -319,7 +319,7 @@ export const CurrentFrameTimeline: FC<CurrentFrameTimelineProps> = ({<divstyle={{// Position the overlay to match where the image actually renders- // For object-cover, offsets are negative when image overflows+ // For object-contain, offsets are positive when letterboxedposition: 'absolute',left: renderedImageInfo.offsetX,top: renderedImageInfo.offsetY,diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.tomlindex 821be3b26..e82e32fa2 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.233"+version = "2.0.234"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""