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.473, fix onboarding login redirect

Louis Beaumonta812f29f4700
diff --git a/Cargo.lock b/Cargo.lock
index cd07a99be..9d3b12ef8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5518,7 +5518,7 @@ dependencies = [
[[package]]
name = "screenpipe-audio"
-version = "0.3.145"
+version = "0.3.146"
dependencies = [
"anyhow",
"bytemuck",
@@ -5574,7 +5574,7 @@ dependencies = [
[[package]]
name = "screenpipe-core"
-version = "0.3.145"
+version = "0.3.146"
dependencies = [
"accessibility",
"accessibility-sys",
@@ -5615,7 +5615,7 @@ dependencies = [
[[package]]
name = "screenpipe-db"
-version = "0.3.145"
+version = "0.3.146"
dependencies = [
"anyhow",
"chrono",
@@ -5640,7 +5640,7 @@ dependencies = [
[[package]]
name = "screenpipe-events"
-version = "0.3.145"
+version = "0.3.146"
dependencies = [
"anyhow",
"chrono",
@@ -5658,7 +5658,7 @@ dependencies = [
[[package]]
name = "screenpipe-integrations"
-version = "0.3.145"
+version = "0.3.146"
dependencies = [
"anyhow",
"chrono",
@@ -5679,7 +5679,7 @@ dependencies = [
[[package]]
name = "screenpipe-server"
-version = "0.3.145"
+version = "0.3.146"
dependencies = [
"anyhow",
"async-trait",
@@ -5740,7 +5740,7 @@ dependencies = [
[[package]]
name = "screenpipe-vision"
-version = "0.3.145"
+version = "0.3.146"
dependencies = [
"accessibility-sys",
"anyhow",
diff --git a/apps/screenpipe-app-tauri/components/onboarding/login-gate.tsx b/apps/screenpipe-app-tauri/components/onboarding/login-gate.tsx
index 2d4fea464..316284f5d 100644
--- a/apps/screenpipe-app-tauri/components/onboarding/login-gate.tsx
+++ b/apps/screenpipe-app-tauri/components/onboarding/login-gate.tsx
@@ -5,7 +5,7 @@
import React, { useEffect, useRef, useState, useCallback } from "react";
import { useSettings } from "@/lib/hooks/use-settings";
-import { open as openUrl } from "@tauri-apps/plugin-shell";
+import { commands } from "@/lib/utils/tauri";
import { motion, AnimatePresence } from "framer-motion";
import posthog from "posthog-js";
@@ -247,7 +247,9 @@ const OnboardingLogin: React.FC<OnboardingLoginProps> = ({ handleNextSlide }) =>
const handleLogin = useCallback(() => {
posthog.capture("onboarding_login_clicked");
- openUrl("https://screenpi.pe/login");
+ // Open login in an in-app WebView instead of Safari so we can intercept
+ // the screenpipe:// deep-link redirect (Safari blocks custom-scheme redirects)
+ commands.openLoginWindow();
}, []);
const handleSkip = useCallback(() => {
diff --git a/apps/screenpipe-app-tauri/lib/utils/tauri.ts b/apps/screenpipe-app-tauri/lib/utils/tauri.ts
index 1761b57fb..f53f86bf9 100644
--- a/apps/screenpipe-app-tauri/lib/utils/tauri.ts
+++ b/apps/screenpipe-app-tauri/lib/utils/tauri.ts
@@ -139,6 +139,19 @@ async showWindow(window: ShowRewindWindow) : Promise<Result<null, string>> {
else return { status: "error", error: e as any };
}
},
+/**
+ * Open the screenpi.pe login page inside an in-app WebView.
+ * Intercepts the screenpipe:// deep-link redirect so we don't rely on
+ * Safari custom-scheme support (which can silently fail).
+ */
+async openLoginWindow() : Promise<Result<null, string>> {
+ try {
+ return { status: "ok", data: await TAURI_INVOKE("open_login_window") };
+} catch (e) {
+ if(e instanceof Error) throw e;
+ else return { status: "error", error: e as any };
+}
+},
/**
* Re-assert the WKWebView as first responder for the current key panel.
* Called from JS on pointer enter / window focus to ensure trackpad pinch
diff --git a/apps/screenpipe-app-tauri/public/CHANGELOG.md b/apps/screenpipe-app-tauri/public/CHANGELOG.md
index 97545ea6e..b2251a7f5 100644
--- a/apps/screenpipe-app-tauri/public/CHANGELOG.md
+++ b/apps/screenpipe-app-tauri/public/CHANGELOG.md
@@ -1,8 +1,8 @@
+## New Features
+- Voice training for speaker identification: record your voice so screenpipe can better identify you in audio transcriptions
+- Audio device modal improvements
+
## Bug Fixes
-- Fixed silent screen recording data loss: FFmpeg crashes now auto-recover instead of silently destroying frames forever
-- Fixed video chunk DB registration race condition that could cause hours of missing timeline data
-- Pipeline now self-heals after 100 consecutive database errors instead of looping silently
-- Dead capture/OCR/video tasks now trigger automatic restart instead of running as empty shells
-- Frame drops and queue overflows are now visible in logs (previously hidden at debug level)
+- Fixed login on onboarding page: sign-in now opens in an in-app browser instead of Safari, fixing the issue where Safari blocked the redirect back to the app
-#### **Full Changelog:** [300d588c..68973c9d](https://github.com/mediar-ai/screenpipe/compare/300d588c..68973c9d)
+#### **Full Changelog:** [6a0f06ab..HEAD](https://github.com/mediar-ai/screenpipe/compare/6a0f06ab..HEAD)
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index 29fd9b473..3ca7fa924 100755
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -8097,7 +8097,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.0.472"
+version = "2.0.473"
dependencies = [
"anyhow",
"arboard",
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 171cca8da..25e9a6516 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.472"
+version = "2.0.473"
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.rs
index 96557a97c..5a7d9b0e0 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/commands.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/commands.rs
@@ -337,6 +337,53 @@ pub async fn get_disk_usage(
}
}
+/// Open the screenpi.pe login page inside an in-app WebView.
+/// Intercepts the screenpipe:// deep-link redirect so we don't rely on
+/// Safari custom-scheme support (which can silently fail).
+#[tauri::command]
+#[specta::specta]
+pub async fn open_login_window(app_handle: tauri::AppHandle) -> Result<(), String> {
+ use tauri::{WebviewUrl, WebviewWindowBuilder};
+
+ let label = "login-browser";
+
+ // If already open, just focus it
+ if let Some(w) = app_handle.get_webview_window(label) {
+ let _ = w.show();
+ let _ = w.set_focus();
+ return Ok(());
+ }
+
+ let app_for_nav = app_handle.clone();
+
+ WebviewWindowBuilder::new(
+ &app_handle,
+ label,
+ WebviewUrl::External("https://screenpi.pe/login".parse().unwrap()),
+ )
+ .title("sign in to screenpipe")
+ .inner_size(460.0, 700.0)
+ .focused(true)
+ .on_navigation(move |url| {
+ if url.scheme() == "screenpipe" {
+ info!("login window intercepted deep link: {}", url);
+ let _ = app_for_nav.emit("deep-link-received", url.to_string());
+ // Close the login window after a short delay to avoid
+ // closing before the event is delivered
+ if let Some(w) = app_for_nav.get_webview_window("login-browser") {
+ let _ = w.close();
+ }
+ false // block navigation to custom scheme
+ } else {
+ true // allow all https navigations (Clerk, OAuth providers, etc.)
+ }
+ })
+ .build()
+ .map_err(|e| e.to_string())?;
+
+ Ok(())
+}
+
#[tauri::command]
#[specta::specta]
pub async fn show_window(
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/main.rs b/apps/screenpipe-app-tauri/src-tauri/src/main.rs
index c36f6ef7f..dad0a5fb7 100755
--- a/apps/screenpipe-app-tauri/src-tauri/src/main.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/main.rs
@@ -1120,6 +1120,7 @@ async fn main() {
commands::open_pipe_window,
commands::update_show_screenpipe_shortcut,
commands::show_window,
+ commands::open_login_window,
commands::ensure_webview_focus,
commands::close_window,
commands::reset_main_window,
@@ -1302,6 +1303,7 @@ async fn main() {
commands::get_disk_usage,
commands::open_pipe_window,
commands::show_window,
+ commands::open_login_window,
commands::ensure_webview_focus,
commands::close_window,
commands::reset_main_window,