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.389
Louis Beaumont250627797731
diff --git a/apps/screenpipe-app-tauri/components/conversation-bubble.tsx b/apps/screenpipe-app-tauri/components/conversation-bubble.tsxindex 01515a4e6..6d5b8239c 100644--- a/apps/screenpipe-app-tauri/components/conversation-bubble.tsx+++ b/apps/screenpipe-app-tauri/components/conversation-bubble.tsx@@ -175,19 +175,25 @@ export function ParticipantsSummary({totalDuration: number;timeRange: { start: Date; end: Date };}) {+ // Filter: hide speakers under 5%, cap at top 5+ const visible = participants+ .filter((p) => Math.round((p.duration / totalDuration) * 100) >= 5)+ .slice(0, 5);+ const hiddenCount = participants.length - visible.length;+return (<div className="px-3 py-2 border-b border-border">- <div className="flex items-center justify-between text-xs">- <div className="flex items-center gap-2 flex-wrap">- {participants.map((p) => {+ <div className="flex items-center justify-between text-xs gap-2">+ <div className="flex items-center gap-1.5 flex-wrap min-w-0">+ {visible.map((p) => {const percentage = Math.round((p.duration / totalDuration) * 100);return (<divkey={p.id}- className="flex items-center gap-1 px-2 py-0.5 border border-border"+ className="flex items-center gap-1 px-1.5 py-0.5 border border-border">- <span className="font-medium text-foreground">- {p.name || `Unknown #${p.id}`}+ <span className="font-medium text-foreground truncate max-w-[100px]">+ {p.name || `#${p.id}`}</span><span className="text-muted-foreground text-[10px]">{percentage}%@@ -195,8 +201,13 @@ export function ParticipantsSummary({</div>);})}+ {hiddenCount > 0 && (+ <span className="text-[10px] text-muted-foreground">+ +{hiddenCount} more+ </span>+ )}</div>- <div className="text-muted-foreground text-[10px]">+ <div className="text-muted-foreground text-[10px] shrink-0">{formatTime(timeRange.start)} - {formatTime(timeRange.end)}</div></div>diff --git a/apps/screenpipe-app-tauri/components/rewind/timeline.tsx b/apps/screenpipe-app-tauri/components/rewind/timeline.tsxindex af6aa8a2a..537f3eebe 100644--- a/apps/screenpipe-app-tauri/components/rewind/timeline.tsx+++ b/apps/screenpipe-app-tauri/components/rewind/timeline.tsx@@ -13,8 +13,7 @@ import { getStartDate } from "@/lib/actions/get-start-date";import { useTimelineData } from "@/lib/hooks/use-timeline-data";import { useCurrentFrame } from "@/lib/hooks/use-current-frame";import { TimelineSlider, getFrameAppName } from "@/components/rewind/timeline/timeline";-import { useMeetings, Meeting } from "@/lib/hooks/use-meetings";-import { MeetingBar } from "@/components/rewind/timeline/meeting-bar";+import { useMeetings } from "@/lib/hooks/use-meetings";import { useTimelineStore } from "@/lib/hooks/use-timeline-store";import { hasFramesForDate } from "@/lib/actions/has-frames-date";import { CurrentFrameTimeline } from "@/components/rewind/current-frame-timeline";@@ -74,7 +73,7 @@ export default function Timeline() {const [currentIndex, setCurrentIndex] = useState(0);const [showAudioTranscript, setShowAudioTranscript] = useState(true);const [showSearchModal, setShowSearchModal] = useState(false);- const [activeMeeting, setActiveMeeting] = useState<Meeting | null>(null);+const containerRef = useRef<HTMLDivElement | null>(null);// const [searchResults, setSearchResults] = useState<number[]>([]);@@ -143,7 +142,7 @@ export default function Timeline() {});// Meeting detection from existing frame data- const { meetings, getMeetingAtTime } = useMeetings(frames);+ const { meetings } = useMeetings(frames);// Track if user is at "live edge" (viewing newest frame, index 0)const isAtLiveEdge = currentIndex === 0;@@ -1290,13 +1289,9 @@ export default function Timeline() {frames={frames}currentIndex={currentIndex}groupingWindowMs={30000} // 30 seconds window- activeMeeting={activeMeeting}- onClose={() => {- setShowAudioTranscript(false);- setActiveMeeting(null);- }}+ meetings={meetings}+ onClose={() => setShowAudioTranscript(false)}onJumpToTime={(timestamp) => {- // Find the frame closest to this timestampconst targetTime = timestamp.getTime();let bestIdx = 0;let bestDiff = Infinity;@@ -1316,20 +1311,7 @@ export default function Timeline() {</div>)}- {/* Meeting Bar - thin accent lines just above the timeline slider */}- {meetings.length > 0 && frames.length > 0 && (- <div className="absolute bottom-[84px] left-0 right-0 z-[41] pointer-events-auto">- <MeetingBar- meetings={meetings}- frames={frames}- currentIndex={currentIndex}- onMeetingClick={(meeting) => {- setActiveMeeting(meeting);- setShowAudioTranscript(true);- }}- />- </div>- )}+ {/* Meeting bar removed — meeting detection handled inside transcript panel */}{/* Bottom Timeline - Overlay that doesn't cut off image */}<div className="absolute bottom-0 left-0 right-0 z-40 pointer-events-auto">diff --git a/apps/screenpipe-app-tauri/components/rewind/timeline/audio-transcript.tsx b/apps/screenpipe-app-tauri/components/rewind/timeline/audio-transcript.tsxindex f46d149e0..f4b26667e 100644--- a/apps/screenpipe-app-tauri/components/rewind/timeline/audio-transcript.tsx+++ b/apps/screenpipe-app-tauri/components/rewind/timeline/audio-transcript.tsx@@ -44,7 +44,7 @@ interface AudioTranscriptProps {frames: StreamTimeSeriesResponse[];currentIndex: number;groupingWindowMs?: number;- activeMeeting?: Meeting | null;+ meetings?: Meeting[];onClose?: () => void;onJumpToTime?: (timestamp: Date) => void;}@@ -80,7 +80,7 @@ export function AudioTranscript({frames,currentIndex,groupingWindowMs = 30000,- activeMeeting,+ meetings = [],onClose,onJumpToTime,}: AudioTranscriptProps) {@@ -93,13 +93,22 @@ export function AudioTranscript({const MEETING_PAGE_SIZE = 50;const [meetingPageSize, setMeetingPageSize] = useState(MEETING_PAGE_SIZE);- // Auto-switch to meeting tab when activeMeeting is set+ // Auto-detect meeting at current frame position+ const activeMeeting = useMemo(() => {+ if (meetings.length === 0 || !frames[currentIndex]) return null;+ const currentTime = new Date(frames[currentIndex].timestamp);+ for (const meeting of meetings) {+ if (currentTime >= meeting.startTime && currentTime <= meeting.endTime) {+ return meeting;+ }+ }+ return null;+ }, [meetings, frames, currentIndex]);++ // Reset pagination when meeting changesconst activeMeetingId = activeMeeting?.id;useEffect(() => {- if (activeMeetingId) {- setTabMode("meeting");- setMeetingPageSize(MEETING_PAGE_SIZE); // reset pagination- }+ setMeetingPageSize(MEETING_PAGE_SIZE);}, [activeMeetingId]);const [position, setPosition] = useState(() => ({@@ -433,38 +442,25 @@ export function AudioTranscript({<GripHorizontal className="w-4 h-4" /><span>{tabMode === "meeting" && activeMeeting- ? `meeting — ${activeMeeting.startTime.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" })}–${activeMeeting.endTime.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" })}`+ ? `meeting · ${activeMeeting.audioEntries.length} segments · ${activeMeeting.startTime.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" })}–${activeMeeting.endTime.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" })}`: "audio transcripts"}</span></div><div className="flex items-center gap-1">- {activeMeeting ? (- <>- {/* Tab toggle: only shown when a meeting is active */}- <Button- variant={tabMode === "nearby" ? "secondary" : "ghost"}- size="sm"- className="h-6 px-2 text-xs gap-1"- onClick={() => setTabMode("nearby")}- title="Nearby audio (30s window)"- >- nearby- </Button>- <Button- variant={tabMode === "meeting" ? "secondary" : "ghost"}- size="sm"- className="h-6 px-2 text-xs gap-1"- onClick={() => setTabMode("meeting")}- title="Full meeting transcript"- >- <Users className="h-3 w-3" />- full meeting- </Button>- </>+ {tabMode === "meeting" ? (+ <Button+ variant="ghost"+ size="sm"+ className="h-6 px-2 text-xs"+ onClick={() => setTabMode("nearby")}+ title="Back to nearby view"+ >+ ← nearby+ </Button>) : (<>- {/* Device/thread toggle: only when no meeting active */}+ {/* Device/thread toggle */}<Buttonvariant={viewMode === "device" ? "secondary" : "ghost"}size="sm"@@ -483,6 +479,22 @@ export function AudioTranscript({><MessageSquare className="h-3 w-3" /></Button>+ {/* Show "full meeting" button when a meeting is detected */}+ {activeMeeting && (+ <>+ <div className="w-px h-4 bg-border mx-0.5" />+ <Button+ variant="ghost"+ size="sm"+ className="h-6 px-2 text-xs gap-1"+ onClick={() => setTabMode("meeting")}+ title="View full meeting transcript"+ >+ <Users className="h-3 w-3" />+ full meeting+ </Button>+ </>+ )}</>)}@@ -534,7 +546,7 @@ export function AudioTranscript({>{tabMode === "meeting" && activeMeeting ? (// Full meeting transcript view- <div className="p-3 pb-6 space-y-0">+ <div className="p-3 pb-14 space-y-0">{meetingConversationData.items.length === 0 ? (<div className="text-center text-sm text-muted-foreground py-8">No transcriptions in this meeting@@ -621,7 +633,7 @@ export function AudioTranscript({</div>) : viewMode === "device" ? (// Device view (original)- <div className="space-y-2 p-3 pb-6">+ <div className="space-y-2 p-3 pb-14">{audioGroups.map((group, groupIndex) => (<Cardkey={groupIndex}@@ -707,7 +719,7 @@ export function AudioTranscript({</div>) : (// Conversation thread view (nearby)- <div className="p-3 pb-6 space-y-0">+ <div className="p-3 pb-14 space-y-0">{conversationData.items.length === 0 ? (<div className="text-center text-sm text-muted-foreground py-8">No audio in this time windowdiff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lockindex 40c51e256..c4f6e3323 100755--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -8719,7 +8719,7 @@ dependencies = [[[package]]name = "screenpipe-app"-version = "2.0.387"+version = "2.0.388"dependencies = ["anyhow","async-stream",diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.tomlindex 83b75b989..9e91d9cdc 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.0.388"+version = "2.0.389"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""diff --git a/apps/screenpipe-app-tauri/src-tauri/src/commands.rs b/apps/screenpipe-app-tauri/src-tauri/src/commands.rsindex d00aada64..123be9fb4 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/commands.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/commands.rs@@ -572,9 +572,11 @@ pub async fn show_shortcut_reminder(let _ = app_handle.run_on_main_thread(move || {if let Ok(panel) = app_clone.get_webview_panel("shortcut-reminder") {use tauri_nspanel::cocoa::appkit::NSWindowCollectionBehavior;- // Re-set level and behaviors on every show — order_out- // may have cleared the Space association.+ // Re-set level, style mask, and behaviors on every show —+ // order_out may have cleared the Space association.panel.set_level(1001);+ panel.set_style_mask(128); // NonActivatingPanel+ panel.set_hides_on_deactivate(false);panel.set_collection_behaviour(NSWindowCollectionBehavior::NSWindowCollectionBehaviorCanJoinAllSpaces |NSWindowCollectionBehavior::NSWindowCollectionBehaviorIgnoresCycle |@@ -648,7 +650,12 @@ pub async fn show_shortcut_reminder(// Level 1001 = above CGShieldingWindowLevel, shows over fullscreenpanel.set_level(1001);- panel.set_style_mask(0);+ // NonActivatingPanel (128) so the reminder doesn't activate+ // the app (which would cause Space switching on fullscreen).+ // style_mask(0) was wrong — it cleared NonActivatingPanel.+ panel.set_style_mask(128);+ // Don't hide when app deactivates (default is YES for NSPanel)+ panel.set_hides_on_deactivate(false);// Exclude from screen capture (NSWindowSharingNone = 0)let _: () = unsafe { msg_send![&*panel, setSharingType: 0_u64] };