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

v2.3.32

Louis Beaumont1bedd007cfa0
diff --git a/apps/screenpipe-app-tauri/components/pipe-store.tsx b/apps/screenpipe-app-tauri/components/pipe-store.tsx
index 070e3c156..2ac4c7a69 100644
--- a/apps/screenpipe-app-tauri/components/pipe-store.tsx
+++ b/apps/screenpipe-app-tauri/components/pipe-store.tsx
@@ -319,7 +319,14 @@ function ConnectionsStrip() {
}
export function PipeStoreView() {
- const [activeTab, setActiveTab] = useState<"discover" | "my-pipes">("my-pipes");
+ // Read initial tab from URL param (e.g. ?section=pipes&tab=discover)
+ const [activeTab, setActiveTab] = useState<"discover" | "my-pipes">(() => {
+ if (typeof window !== "undefined") {
+ const params = new URLSearchParams(window.location.search);
+ if (params.get("tab") === "discover") return "discover";
+ }
+ return "my-pipes";
+ });
const tabs = [
{ key: "my-pipes" as const, label: "My Pipes" },
diff --git a/apps/screenpipe-app-tauri/components/settings/connections-section.tsx b/apps/screenpipe-app-tauri/components/settings/connections-section.tsx
index 575e5e221..d2c546570 100644
--- a/apps/screenpipe-app-tauri/components/settings/connections-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/connections-section.tsx
@@ -994,22 +994,34 @@ function OAuthPanel({ integrationId, integrationName }: { integrationId: string;
const [status, setStatus] = useState<"idle" | "loading" | "connected">("idle");
const [displayName, setDisplayName] = useState<string | null>(null);
- useEffect(() => {
- commands.oauthStatus(integrationId).then(res => {
+ const fetchStatus = useCallback(async () => {
+ try {
+ // Try list instances first for richer info
+ const listRes = await commands.oauthListInstances(integrationId);
+ if (listRes.status === "ok" && listRes.data.length > 0) {
+ setStatus("connected");
+ setDisplayName(listRes.data.map(i => i.display_name || i.instance).filter(Boolean).join(", ") || null);
+ return;
+ }
+ } catch { /* fallback below */ }
+ try {
+ const res = await commands.oauthStatus(integrationId);
if (res.status === "ok" && res.data.connected) {
setStatus("connected");
setDisplayName(res.data.display_name ?? null);
}
- });
+ } catch { /* ignore */ }
}, [integrationId]);
+ useEffect(() => { fetchStatus(); }, [fetchStatus]);
+
const handleConnect = async () => {
setStatus("loading");
try {
const res = await commands.oauthConnect(integrationId);
if (res.status === "ok" && res.data.connected) {
setStatus("connected");
- setDisplayName(res.data.display_name ?? null);
+ await fetchStatus();
} else {
setStatus("idle");
}
@@ -1032,7 +1044,7 @@ function OAuthPanel({ integrationId, integrationName }: { integrationId: string;
<div className="flex flex-wrap gap-2">
{status === "connected" ? (
<Button onClick={handleDisconnect} variant="outline" size="sm" className="gap-1.5 h-7 text-xs normal-case font-sans tracking-normal">
- <LogOut className="h-3 w-3" />disconnect
+ <LogOut className="h-3 w-3" />disconnect{displayName ? ` (${displayName})` : ""}
</Button>
) : !isPro ? (
<div className="flex flex-col gap-1.5">
diff --git a/apps/screenpipe-app-tauri/components/settings/memories-section.tsx b/apps/screenpipe-app-tauri/components/settings/memories-section.tsx
index 19a8198b9..9043e9d7a 100644
--- a/apps/screenpipe-app-tauri/components/settings/memories-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/memories-section.tsx
@@ -586,7 +586,7 @@ export function MemoriesSection() {
<p className="text-xs mt-3">
install pipes from the{" "}
<a
- href="?section=pipes"
+ href="?section=pipes&tab=discover"
className="underline text-foreground hover:text-foreground/80 transition-colors"
>
pipe store
diff --git a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
index 34774444d..955369dbb 100644
--- a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
@@ -1528,10 +1528,12 @@ export function PipesSection() {
<>
<p>no pipes installed</p>
<p className="text-sm mt-2">
- create a pipe at{" "}
- <code className="text-xs bg-muted px-1 py-0.5 rounded">
- ~/.screenpipe/pipes/my-pipe/pipe.md
- </code>
+ <a
+ href="?section=pipes&tab=discover"
+ className="underline text-foreground hover:text-foreground/80 transition-colors"
+ >
+ browse the store
+ </a>
</p>
</>
) : pipeFilter === "team" ? (
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index dd25f5f0b..4dac4d7e4 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.3.31"
+version = "2.3.32"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""