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.96
Louis Beaumontd1ba7f536e6e
diff --git a/screenpipe-app-tauri/app/onboarding/page.tsx b/screenpipe-app-tauri/app/onboarding/page.tsxindex 2c62b9340..d36cc3831 100644--- a/screenpipe-app-tauri/app/onboarding/page.tsx+++ b/screenpipe-app-tauri/app/onboarding/page.tsx@@ -233,26 +233,49 @@ export default function OnboardingPage() {};const handleEnd = async () => {+ setIsTransitioning(true);++ // Track completion (don't block on failure)try {- setIsTransitioning(true);trackOnboardingStep("completed");+ } catch (error) {+ console.error("Error tracking onboarding step:", error);+ }- // Complete onboarding in backend (only store completion status)+ // Complete onboarding in backend (don't block on failure)+ try {await completeOnboarding();+ } catch (error) {+ console.error("Error completing onboarding:", error);+ // Continue anyway - we'll try to proceed to main window+ }- // Now that onboarding is complete, show the shortcut reminder overlay+ // Show shortcut reminder (don't block on failure)+ try {if (settings.showScreenpipeShortcut && settings.showShortcutOverlay !== false) {commands.showShortcutReminder(settings.showScreenpipeShortcut);}+ } catch (error) {+ console.error("Error showing shortcut reminder:", error);+ }- // Schedule 2-hour reminder notification (first run only)+ // Schedule notification (don't block on failure)+ try {scheduleFirstRunNotification();+ } catch (error) {+ console.error("Error scheduling notification:", error);+ }+ // Always try to proceed to main window+ try {+ await commands.showWindow("Main");showSuccessToast("Onboarding completed successfully!");-+ if (typeof window !== 'undefined' && 'close' in window) {+ window.close();+ }} catch (error) {- console.error("Error completing onboarding:", error);- showErrorToast("Failed to complete onboarding");+ console.error("Error showing main window:", error);+ showErrorToast("Failed to open main window. Please restart the app.");setIsTransitioning(false);}};diff --git a/screenpipe-app-tauri/components/onboarding/status.tsx b/screenpipe-app-tauri/components/onboarding/status.tsxindex 070fcb063..6e2ae764e 100644--- a/screenpipe-app-tauri/components/onboarding/status.tsx+++ b/screenpipe-app-tauri/components/onboarding/status.tsx@@ -164,7 +164,13 @@ const OnboardingStatus: React.FC<OnboardingStatusProps> = ({};const handleComplete = async () => {- await ensureDefaultPreset();+ // Try to ensure default preset, but don't block onboarding if it fails+ try {+ await ensureDefaultPreset();+ } catch (error) {+ console.error("Failed to ensure default preset:", error);+ // Continue anyway - user can set up AI later+ }// Note: Shortcut reminder and notification are shown after entire onboarding completes (in page.tsx)handleNextSlide();};diff --git a/screenpipe-app-tauri/components/rewind/timeline.tsx b/screenpipe-app-tauri/components/rewind/timeline.tsxindex 7e989fcda..1b0ec2349 100644--- a/screenpipe-app-tauri/components/rewind/timeline.tsx+++ b/screenpipe-app-tauri/components/rewind/timeline.tsx@@ -174,59 +174,6 @@ export default function Timeline() {const hasInitialFrames = frames.length > 0;const showBlockingLoader = isLoading && !hasInitialFrames;- // Message timeout and dismiss state- const [messageShownAt, setMessageShownAt] = useState<number | null>(null);- const [canDismissMessage, setCanDismissMessage] = useState(false);- const [messageDismissed, setMessageDismissed] = useState(false);- const MESSAGE_DISMISS_DELAY = 3000; // Show dismiss button after 3 seconds- const MESSAGE_AUTO_TIMEOUT = 15000; // Auto-dismiss after 15 seconds if no frames-- // Track when message appears- useEffect(() => {- if (message && !messageShownAt) {- setMessageShownAt(Date.now());- setCanDismissMessage(false);- setMessageDismissed(false);- } else if (!message) {- setMessageShownAt(null);- setCanDismissMessage(false);- setMessageDismissed(false);- }- }, [message, messageShownAt]);-- // Enable dismiss button after delay- useEffect(() => {- if (messageShownAt && !canDismissMessage) {- const timer = setTimeout(() => {- setCanDismissMessage(true);- }, MESSAGE_DISMISS_DELAY);- return () => clearTimeout(timer);- }- }, [messageShownAt, canDismissMessage]);-- // Auto-dismiss message after timeout if no frames arrived- useEffect(() => {- if (messageShownAt && !hasInitialFrames) {- const timer = setTimeout(() => {- setMessageDismissed(true);- }, MESSAGE_AUTO_TIMEOUT);- return () => clearTimeout(timer);- }- }, [messageShownAt, hasInitialFrames]);-- // Clear message dismissed state when frames arrive- useEffect(() => {- if (hasInitialFrames && messageDismissed) {- setMessageDismissed(false);- }- }, [hasInitialFrames, messageDismissed]);-- const handleDismissMessage = useCallback(() => {- setMessageDismissed(true);- }, []);-- // Show message only if not dismissed- const shouldShowMessage = message && !messageDismissed && !hasInitialFrames;// Auto-select first frame when frames arrive and no frame is selecteduseEffect(() => {@@ -652,45 +599,6 @@ export default function Timeline() {</div>)}- {!error && shouldShowMessage && (- <div className="absolute inset-0 z-50 flex items-center justify-center bg-background/90">- {/* Close window button - always visible to prevent being stuck */}- <button- onClick={() => commands.closeWindow("Main")}- className="absolute top-4 right-4 p-2 bg-card hover:bg-muted border border-border rounded-md transition-colors z-50"- title="Close (Esc)"- >- <X className="w-4 h-4 text-muted-foreground" />- </button>- <div className="bg-card text-foreground p-6 border border-border rounded-2xl shadow-2xl text-center space-y-3 max-w-md mx-4 relative">- {/* Dismiss message button - appears after delay */}- {canDismissMessage && (- <button- onClick={handleDismissMessage}- className="absolute top-3 right-3 p-1.5 rounded-lg text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-all duration-200"- title="Dismiss message"- >- <X className="h-4 w-4" />- </button>- )}-- <h3 className="font-medium">- {message.includes("connecting") ? "Starting Up" : "Processing"}- </h3>- <p className="text-sm text-foreground">- {message}- </p>- <Loader2 className="h-5 w-5 animate-spin mx-auto mt-2" />-- {/* Progress hint after delay */}- {canDismissMessage && (- <p className="text-xs text-muted-foreground mt-3 animate-in fade-in duration-300">- Taking longer than expected? You can dismiss this and continue.- </p>- )}- </div>- </div>- )}{error && (<div className="absolute inset-0 z-50 flex items-center justify-center bg-background/90">diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.tomlindex f148601e1..6f6d4db27 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.95"+version = "2.0.96"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""