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

fix(app): make connections less technical (#6532)

Louis Beaumont68e810dbae56
diff --git a/apps/screenpipe-app-tauri/components/settings/__tests__/ai-tools-card.test.tsx b/apps/screenpipe-app-tauri/components/settings/__tests__/ai-tools-card.test.tsx
index 77bf5dbb3..deb23efcf 100644
--- a/apps/screenpipe-app-tauri/components/settings/__tests__/ai-tools-card.test.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/__tests__/ai-tools-card.test.tsx
@@ -141,7 +141,7 @@ describe("AiToolsCard", () => {
render(<AiToolsCard />);
- expect(await screen.findByText(/2 tools found on this Mac/i)).toBeTruthy();
+ expect(await screen.findByText("2 found. Connect them in one click.")).toBeTruthy();
fireEvent.click(screen.getByRole("button", { name: /connect all/i }));
expect(await screen.findByText("Claude")).toBeTruthy();
@@ -193,14 +193,15 @@ describe("AiToolsCard", () => {
expect(await screen.findByText(/enable Settings > Workspace > Local MCP Servers/i)).toBeTruthy();
});
- it("shows detected Gemini CLI with MCP and skills", async () => {
+ it("describes detected AI apps by what they can access", async () => {
libMocks.detectAiTools.mockResolvedValue(["gemini"]);
render(<AiToolsCard />);
fireEvent.click(await screen.findByRole("button", { name: /connect all/i }));
expect(await screen.findByText("Gemini CLI")).toBeTruthy();
- expect(screen.getByText("MCP + skills")).toBeTruthy();
+ expect(screen.getByText("screen and audio history")).toBeTruthy();
+ expect(screen.queryByText("MCP + skills")).toBeNull();
await waitFor(() => expect(libMocks.connectAiToolTargets).toHaveBeenCalledWith(["gemini"]));
});
});
diff --git a/apps/screenpipe-app-tauri/components/settings/__tests__/pi-extensions-card.test.tsx b/apps/screenpipe-app-tauri/components/settings/__tests__/pi-extensions-card.test.tsx
index 4963afc10..3813b5305 100644
--- a/apps/screenpipe-app-tauri/components/settings/__tests__/pi-extensions-card.test.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/__tests__/pi-extensions-card.test.tsx
@@ -70,6 +70,8 @@ describe("PiExtensionsCard", () => {
"aria-checked",
"true",
);
+ expect(screen.getAllByText("screenpipe only").length).toBeGreaterThan(0);
+ expect(screen.queryByText("Pi only")).not.toBeInTheDocument();
expect(screen.getByRole("switch", { name: "Subagents always enabled" })).toBeDisabled();
expect(screen.getByText("required")).toBeInTheDocument();
expect(screen.getByRole("switch", { name: "Enable Web agent" })).toHaveAttribute(
@@ -79,15 +81,29 @@ describe("PiExtensionsCard", () => {
expect(commandMocks.piListExtensionPackages).toHaveBeenCalledTimes(1);
});
- it("shows provider-neutral extensions as built-in ACP middleware", async () => {
+ it("shows the common tool switches first in the modal content", async () => {
+ render(<PiExtensionsCard />);
+
+ const recommended = await screen.findByText("Recommended");
+ const included = screen.getByText("Included");
+ expect(screen.getByRole("switch", { name: "Subagents always enabled" })).toBeDisabled();
+ expect(screen.getByRole("switch", { name: "Enable Web agent" })).toBeInTheDocument();
+ expect(screen.getByRole("switch", { name: "Enable Ask user" })).toBeInTheDocument();
+ expect(
+ recommended.compareDocumentPosition(included) & Node.DOCUMENT_POSITION_FOLLOWING,
+ ).toBeTruthy();
+ });
+
+ it("shows included tools without protocol or package details", async () => {
render(<PiExtensionsCard />);
expect(await screen.findByText("Screen history")).toBeInTheDocument();
- expect(screen.getAllByText("ACP client middleware · MCP")).toHaveLength(5);
expect(
- screen.getByRole("switch", { name: "Screen history available to all agents" }),
- ).toBeDisabled();
- expect(screen.getByText("activity-summary")).toBeInTheDocument();
+ screen.getByText("Ready in every agent. Nothing to set up."),
+ ).toBeInTheDocument();
+ expect(screen.getByLabelText("Screen history ready")).toBeInTheDocument();
+ expect(screen.queryByText("ACP client middleware · MCP")).not.toBeInTheDocument();
+ expect(screen.queryByText("activity-summary")).not.toBeInTheDocument();
});
it("keeps subagents on when legacy settings do not list the package", async () => {
@@ -101,17 +117,17 @@ describe("PiExtensionsCard", () => {
expect(commandMocks.piRemoveExtensionPackage).not.toHaveBeenCalled();
});
- it("filters the curated catalog without losing the warning copy", async () => {
+ it("keeps the common tools visible while searching the community catalog", async () => {
render(<PiExtensionsCard />);
await screen.findByText("Subagents");
- fireEvent.change(screen.getByPlaceholderText("Search Pi packages..."), {
+ fireEvent.change(screen.getByPlaceholderText("Search tools..."), {
target: { value: "web" },
});
expect(screen.getByText("Web agent")).toBeInTheDocument();
- expect(screen.queryByRole("switch", { name: "Subagents always enabled" })).not.toBeInTheDocument();
- expect(screen.getByText(/third-party pi packages can execute local code/i)).toBeInTheDocument();
+ expect(screen.getByRole("switch", { name: "Subagents always enabled" })).toBeInTheDocument();
+ expect(screen.getByText(/community tools can run code/i)).toBeInTheDocument();
});
it("installs a curated package and refreshes enabled state from the returned package list", async () => {
@@ -157,7 +173,7 @@ describe("PiExtensionsCard", () => {
} as Response);
render(<PiExtensionsCard />);
- expect(await screen.findByText("All packages")).toBeInTheDocument();
+ expect(await screen.findByText("Community")).toBeInTheDocument();
expect(await screen.findByText("Reflag")).toBeInTheDocument();
fireEvent.click(screen.getByRole("switch", { name: "Enable Reflag" }));
@@ -195,7 +211,7 @@ describe("PiExtensionsCard", () => {
} as Response);
render(<PiExtensionsCard />);
- expect(await screen.findByText("Recently published")).toBeInTheDocument();
+ expect(await screen.findByText("Recently added")).toBeInTheDocument();
fireEvent.click(screen.getByRole("button", { name: "Add Recent Tool" }));
await waitFor(() =>
@@ -247,14 +263,14 @@ describe("PiExtensionsCard", () => {
});
render(<PiExtensionsCard />);
- expect(await screen.findByText("Installed outside this list")).toBeInTheDocument();
- fireEvent.click(screen.getByRole("switch", { name: "Disable npm:custom-pi-tool" }));
+ expect(await screen.findByText("Other installed tools")).toBeInTheDocument();
+ fireEvent.click(screen.getByRole("switch", { name: "Disable custom-pi-tool" }));
await waitFor(() =>
expect(commandMocks.piRemoveExtensionPackage).toHaveBeenCalledWith("npm:custom-pi-tool"),
);
await waitFor(() =>
- expect(screen.queryByText("npm:custom-pi-tool")).not.toBeInTheDocument(),
+ expect(screen.queryByText("custom-pi-tool")).not.toBeInTheDocument(),
);
});
diff --git a/apps/screenpipe-app-tauri/components/settings/ai-tools-card.tsx b/apps/screenpipe-app-tauri/components/settings/ai-tools-card.tsx
index c9a1ef72e..12110306d 100644
--- a/apps/screenpipe-app-tauri/components/settings/ai-tools-card.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/ai-tools-card.tsx
@@ -4,12 +4,11 @@
"use client";
-// "AI tools" block — 4th sibling to MCP servers / Agent extensions / Skills in
-// Settings > Connections. One place to see every AI tool detected on this
-// machine, connect them all in one click, connect/remove a single tool, or
-// disconnect everything (two-step confirm). Connect always leads; disconnect
-// never headlines. First-run setup runs in native Rust; this card remains the
-// visible repair, explicit connect, and explicit removal surface.
+// "AI apps" keeps detected apps ready to connect in one click. Protocol and
+// config details stay out of the default surface while per-app removal and the
+// two-step disconnect-all remain available.
+// First-run setup runs in native Rust; this card remains the visible repair,
+// explicit connect, and explicit removal surface.
import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
import { Bot, Check, Loader2, Plus, RotateCw } from "lucide-react";
@@ -21,7 +20,6 @@ import { platform } from "@tauri-apps/plugin-os";
import {
CONNECT_ALL_TOOL_NAMES,
type ConnectAllToolId,
- SKILLS_TARGET,
connectAiToolTargets,
disconnectAiToolTargets,
detectAiTools,
@@ -279,9 +277,9 @@ export function AiToolsCard({ onChanged }: { onChanged?: () => void }) {
if (detected.length === 0) return null;
const summary = noneConnected
- ? `${rows.length} tool${rows.length === 1 ? "" : "s"} found on this Mac — add screenpipe to ${rows.length === 1 ? "it" : "all of them"} in one click`
+ ? `${rows.length} found. Connect ${rows.length === 1 ? "it" : "them"} in one click.`
: allConnected
- ? `All ${rows.length} tools connected`
+ ? `All ${rows.length} connected`
: `${connectedCount} of ${rows.length} connected`;
return (
@@ -297,7 +295,7 @@ export function AiToolsCard({ onChanged }: { onChanged?: () => void }) {
</div>
<div className="min-w-0">
<div className="flex items-center gap-2">
- <h3 className="text-sm font-medium text-foreground">AI tools</h3>
+ <h3 className="text-sm font-medium text-foreground">AI apps</h3>
{connectedCount > 0 && <span className="h-2 w-2 rounded-full bg-foreground" />}
</div>
<p className="text-xs text-muted-foreground">{summary}</p>
@@ -337,9 +335,7 @@ export function AiToolsCard({ onChanged }: { onChanged?: () => void }) {
{expanded && (
<div className="mt-3 border-t border-border">
<p className="text-xs text-muted-foreground pt-3 pb-1">
- screenpipe adds its MCP server{" "}
- <span className="text-muted-foreground/70">+ skills</span> to each tool&apos;s own
- config — remove any time.
+ Connected apps can search your screen and audio history. Remove access any time.
</p>
<div>
{rows.map((row) => {
@@ -356,7 +352,7 @@ export function AiToolsCard({ onChanged }: { onChanged?: () => void }) {
<div className="min-w-0 flex-1">
<span className="text-[13px] text-foreground">{DISPLAY_NAMES[id]}</span>
<span className="ml-2 text-xs text-muted-foreground">
- {SKILLS_TARGET[id] ? "MCP + skills" : "MCP"}
+ screen and audio history
</span>
{err && (
<p className="text-[11px] mt-1 flex items-center gap-1.5 flex-wrap">
diff --git a/apps/screenpipe-app-tauri/components/settings/composio-card.tsx b/apps/screenpipe-app-tauri/components/settings/composio-card.tsx
index a5c4ed40f..788ba57e0 100644
--- a/apps/screenpipe-app-tauri/components/settings/composio-card.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/composio-card.tsx
@@ -290,9 +290,8 @@ export function ComposioCard({
}
};
- // Option B (design round 3): the third-party fact lives in the header as a
- // neutral "via composio" chip (rendered by connections-section); the body
- // sells the feature and keeps the honest data-path detail one click away.
+ // Lead with the user outcome. The third-party sign-in and data path remain
+ // available one click away in the privacy disclosure below.
const valueLine = (
<p className="text-xs text-foreground/90">{TOOLKIT_META[toolkit].value}</p>
);
diff --git a/apps/screenpipe-app-tauri/components/settings/connections-section.tsx b/apps/screenpipe-app-tauri/components/settings/connections-section.tsx
index 3e0512f28..b0209c10b 100644
--- a/apps/screenpipe-app-tauri/components/settings/connections-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/connections-section.tsx
@@ -12,7 +12,7 @@ import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select";
import { Dialog, DialogClose, DialogContent, DialogHeader, DialogTitle } from "@/components/ui/dialog";
-import { Download, ExternalLink, Check, Loader2, Copy, Terminal, LogIn, LogOut, RotateCw, Send, X, HelpCircle, Search, Calendar as CalendarIcon, Eye, EyeOff, FolderOpen, Plus, AlertCircle, MessageSquare, Inbox } from "lucide-react";
+import { Download, ExternalLink, Check, Loader2, Copy, Terminal, LogIn, LogOut, RotateCw, Send, X, HelpCircle, Search, Calendar as CalendarIcon, Eye, EyeOff, FolderOpen, Plus, AlertCircle, MessageSquare, Inbox, ChevronDown } from "lucide-react";
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip";
import { commands } from "@/lib/utils/tauri";
import { useSettings } from "@/lib/hooks/use-settings";
@@ -762,6 +762,7 @@ type ConnectionTile = ConnectionSuggestionTile & { icon: string };
type ConnectionSort = "suggested" | "alphabetical";
const ALL_CONNECTION_CATEGORIES = "All";
+const SETTINGS_CONNECTION_IDS = new Set(["custom-mcp", "skills", "pi-extensions"]);
// Per-connection quickstart prompts shown when "Try in Chat" is clicked.
@@ -888,8 +889,8 @@ function McpSpotlight({
onClick: () => void;
}) {
const summary = totalCount === 0
- ? "No servers yet"
- : `${enabledCount}/${totalCount} enabled`;
+ ? "None added"
+ : `${enabledCount} active`;
return (
<div
@@ -910,7 +911,7 @@ function McpSpotlight({
/>
<div className="min-w-0">
<div className="flex items-center gap-2">
- <h3 className="text-sm font-medium text-foreground">MCP servers</h3>
+ <h3 className="text-sm font-medium text-foreground">Advanced connections</h3>
{enabledCount > 0 && (
<span className="h-2 w-2 rounded-full bg-foreground" />
)}
@@ -933,19 +934,13 @@ function McpSpotlight({
);
}
-// Skills spotlight — mirrors McpSpotlight. Opens the skills importer dialog.
-function SkillsSpotlight({
- count,
+function AiToolsSpotlight({
selected,
onClick,
}: {
- count: number;
selected: boolean;
onClick: () => void;
}) {
- const summary =
- count === 0 ? "No skills yet" : `${count} skill${count === 1 ? "" : "s"} imported`;
-
return (
<div
className={`
@@ -960,33 +955,30 @@ function SkillsSpotlight({
className="flex min-w-0 flex-1 items-center gap-3 text-left"
>
<IntegrationIcon
- icon="skills"
+ icon="pi-extensions"
className="flex h-10 w-10 items-center justify-center rounded-lg bg-muted"
/>
<div className="min-w-0">
- <div className="flex items-center gap-2">
- <h3 className="text-sm font-medium text-foreground">Skills</h3>
- {count > 0 && <span className="h-2 w-2 rounded-full bg-foreground" />}
- </div>
- <p className="text-xs text-muted-foreground">{summary}</p>
+ <h3 className="text-sm font-medium text-foreground">AI tools</h3>
+ <p className="text-xs text-muted-foreground">Choose what your AI can use</p>
</div>
</button>
<Button
type="button"
size="sm"
- variant={count === 0 ? "default" : "outline"}
+ variant="outline"
onClick={onClick}
- className="h-8 gap-1.5 text-xs normal-case font-sans tracking-normal"
+ className="h-8 text-xs normal-case font-sans tracking-normal"
>
- <Plus className="h-3.5 w-3.5" />
- {count === 0 ? "Connect skills" : "Manage"}
+ Manage
</Button>
</div>
</div>
);
}
-function PiExtensionsSpotlight({
+// Skills spotlight — mirrors McpSpotlight. Opens the skills importer dialog.
+function SkillsSpotlight({
count,
selected,
onClick,
@@ -995,12 +987,13 @@ function PiExtensionsSpotlight({
selected: boolean;
onClick: () => void;
}) {
- const summary = `5 work with every agent · ${count} Pi package${count === 1 ? "" : "s"}`;
+ const summary =
+ count === 0 ? "No skills yet" : `${count} skill${count === 1 ? "" : "s"} imported`;
return (
<div
className={`
- border bg-card p-3 transition-colors
+ rounded-xl border bg-card p-3 transition-colors
${selected ? "border-foreground bg-accent" : "border-border"}
`}
>
@@ -1011,13 +1004,13 @@ function PiExtensionsSpotlight({
className="flex min-w-0 flex-1 items-center gap-3 text-left"
>
<IntegrationIcon
- icon="pi-extensions"
- className="flex h-10 w-10 items-center justify-center border border-border bg-muted"
+ icon="skills"
+ className="flex h-10 w-10 items-center justify-center rounded-lg bg-muted"
/>
<div className="min-w-0">
<div className="flex items-center gap-2">
- <h3 className="text-sm font-medium text-foreground">Agent extensions</h3>
- <span className="h-2 w-2 rounded-full bg-foreground" />
+ <h3 className="text-sm font-medium text-foreground">Skills</h3>
+ {count > 0 && <span className="h-2 w-2 rounded-full bg-foreground" />}
</div>
<p className="text-xs text-muted-foreground">{summary}</p>
</div>
@@ -1025,12 +1018,12 @@ function PiExtensionsSpotlight({
<Button
type="button"
size="sm"
- variant="outline"
+ variant={count === 0 ? "default" : "outline"}
onClick={onClick}
className="h-8 gap-1.5 text-xs normal-case font-sans tracking-normal"
>
<Plus className="h-3.5 w-3.5" />
- Manage
+ {count === 0 ? "Connect skills" : "Manage"}
</Button>
</div>
</div>
@@ -1194,7 +1187,7 @@ function ClaudePanel({
return (
<div className="space-y-3">
<p className="text-xs text-muted-foreground">
- Install screenpipe MCP and skills for every Claude app detected on this device.
+ Let Claude search your screen and audio history.
</p>
<div className="flex flex-wrap gap-2">
{state === "connected" ? (
@@ -1219,7 +1212,7 @@ function ClaudePanel({
{connectError && <PanelConfigError err={connectError} />}
{state === "connected" && (
<p className="text-xs text-muted-foreground">
- <strong>connected!</strong> MCP + both skills installed. Restart Claude and ask: &quot;what did I do in the last 5 minutes?&quot;
+ <strong>Connected.</strong> Restart Claude and ask: &quot;what did I do in the last 5 minutes?&quot;
</p>
)}
{targets.includes("claude-code") && (
@@ -1297,7 +1290,7 @@ function CursorPanel({ onConnected, onDisconnected }: { onConnected?: () => void
return (
<div className="space-y-3">
- <p className="text-xs text-muted-foreground">Give Cursor access to your screen &amp; audio history via MCP.</p>
+ <p className="text-xs text-muted-foreground">Let Cursor search your screen and audio history.</p>
<div className="flex flex-wrap gap-2">
{state === "installed" ? (
<Button onClick={handleDisconnect} variant="outline" size="sm" className="gap-1.5 h-7 text-xs normal-case font-sans tracking-normal">
@@ -1375,7 +1368,7 @@ function CodexPanel({ onConnected, onDisconnected }: { onConnected?: () => void;
return (
<div className="space-y-3">
- <p className="text-xs text-muted-foreground">Install the screenpipe MCP plus API and CLI skills for Codex in one click.</p>
+ <p className="text-xs text-muted-foreground">Let Codex search your screen and audio history.</p>
<div className="flex flex-wrap gap-2">
{state === "installed" ? (
<Button onClick={handleDisconnect} variant="outline" size="sm" className="gap-1.5 h-7 text-xs normal-case font-sans tracking-normal">
@@ -1393,7 +1386,7 @@ function CodexPanel({ onConnected, onDisconnected }: { onConnected?: () => void;
{connectError && <PanelConfigError err={connectError} />}
{state === "installed" && (
<p className="text-xs text-muted-foreground">
- <strong>connected!</strong> MCP + both skills installed. Open a new Codex session and ask: &quot;what did I do in the last 5 minutes?&quot;
+ <strong>Connected.</strong> Open a new Codex session and ask: &quot;what did I do in the last 5 minutes?&quot;
</p>
)}
<details className="text-xs text-muted-foreground">
@@ -1441,7 +1434,7 @@ function GrokPanel({ onConnected, onDisconnected }: { onConnected?: () => void;
return (
<div className="space-y-3">
- <p className="text-xs text-muted-foreground">Give Grok CLI access to your screen &amp; audio history via MCP.</p>
+ <p className="text-xs text-muted-foreground">Let Grok search your screen and audio history.</p>
<div className="flex flex-wrap gap-2">
{state === "installed" ? (
<Button onClick={handleDisconnect} variant="outline" size="sm" className="gap-1.5 h-7 text-xs normal-case font-sans tracking-normal">
@@ -1459,7 +1452,7 @@ function GrokPanel({ onConnected, onDisconnected }: { onConnected?: () => void;
{connectError && <PanelConfigError err={connectError} />}
{state === "installed" && (
<p className="text-xs text-muted-foreground">
- <strong>connected!</strong> start a new <code>grok</code> session and ask: &quot;what did I do in the last 5 minutes?&quot;
+ <strong>Connected.</strong> Start a new <code>grok</code> session and ask: &quot;what did I do in the last 5 minutes?&quot;
</p>
)}
<details className="text-xs text-muted-foreground">
@@ -1868,7 +1861,7 @@ function AnythingLLMPanel() {
return (
<div className="space-y-3">
<p className="text-xs text-muted-foreground">
- Give AnythingLLM access to your screen &amp; audio history via MCP.
+ Let AnythingLLM search your screen and audio history.
</p>
<p className="text-xs text-muted-foreground">
1. In AnythingLLM, go to <strong>Agent Skills</strong> &gt; <strong>MCP Servers</strong>
@@ -1906,7 +1899,7 @@ function MstyPanel() {
return (
<div className="space-y-3">
<p className="text-xs text-muted-foreground">
- Give Msty access to your screen &amp; audio history via MCP.
+ Let Msty search your screen and audio history.
</p>
<p className="text-xs text-muted-foreground">
1. Open Msty and go to <strong>Settings</strong> &gt; <strong>Toolbox</strong>
@@ -1952,7 +1945,7 @@ function WarpPanel() {
return (
<div className="space-y-3">
<p className="text-xs text-muted-foreground">
- Give Warp&apos;s Agent Mode access to your screen &amp; audio history via MCP.
+ Let Warp search your screen and audio history.
</p>
<p className="text-xs text-muted-foreground">
1. In Warp, open <strong>Settings</strong> &gt; <strong>AI</strong> &gt; <strong>Manage MCP servers</strong> &gt; <strong>+ Add</strong> (or run <code className="bg-muted px-1 rounded">Open MCP Servers</code> from the Command Palette)
@@ -3794,7 +3787,6 @@ export function ConnectionsSection({
const [mcpProviderConnected, setMcpProviderConnected] = useState<Record<string, boolean>>({});
const [excalidrawConnected, setExcalidrawConnected] = useState(false);
const [importedSkillsCount, setImportedSkillsCount] = useState(0);
- const [piExtensionCount, setPiExtensionCount] = useState(0);
// Composio-backed connections (managed auth through screenpipe.com; see
// composio-card.tsx): gmail, zoom, google drive/docs/sheets.
const { settings: composioSettings } = useSettings();
@@ -3827,17 +3819,9 @@ export function ConnectionsSection({
.catch(() => setImportedSkillsCount(0));
}, []);
- const loadPiExtensionCount = useCallback(() => {
- commands
- .piListExtensionPackages()
- .then((res) => setPiExtensionCount(res.status === "ok" ? res.data.length : 0))
- .catch(() => setPiExtensionCount(0));
- }, []);
-
useEffect(() => {
loadSkillsCount();
- loadPiExtensionCount();
- }, [loadSkillsCount, loadPiExtensionCount]);
+ }, [loadSkillsCount]);
const refreshStatus = useCallback(() => {
detectInstalledConnectionIds()
@@ -3997,11 +3981,11 @@ export function ConnectionsSection({
{ id: "claude", name: "Claude", icon: "claude", connected: claudeInstalled, detected: detectedConnectionIds.has("claude") || detectedConnectionIds.has("claude-code") },
{ id: "cursor", name: "Cursor", icon: "cursor", connected: cursorInstalled, detected: detectedConnectionIds.has("cursor") },
{ id: "codex", name: "Codex", icon: "codex", connected: codexInstalled, detected: detectedConnectionIds.has("codex") },
- { id: "grok", name: "Grok CLI", icon: "grok", connected: grokInstalled, detected: detectedConnectionIds.has("grok") },
+ { id: "grok", name: "Grok", icon: "grok", connected: grokInstalled, detected: detectedConnectionIds.has("grok") },
{ id: "warp", name: "Warp", icon: "warp", connected: false, detected: detectedConnectionIds.has("warp") },
{ id: "chatgpt", name: "ChatGPT", icon: "chatgpt", connected: chatgptConnected, detected: detectedConnectionIds.has("chatgpt") },
...(os === "macos" ? [
- { id: "browser-url", name: "Browser URL Capture", icon: "browser-url", connected: browserUrlConnected, detected: browserUrlDetected },
+ { id: "browser-url", name: "Browser activity", icon: "browser-url", connected: browserUrlConnected, detected: browserUrlDetected },
{ id: "voice-memos", name: "Voice Memos", icon: "voice-memos", connected: false },
] : []),
...(os === "macos" ? [{ id: "apple-calendar", name: "Apple Calendar", icon: "apple-calendar", connected: appleCalendarConnected }] : []),
@@ -4010,8 +3994,8 @@ export function ConnectionsSection({
{ id: "gmail", name: "Gmail", icon: "gmail", connected: composioConnected.gmail },
{ id: "google-drive", name: "Google Drive", icon: "google-drive", connected: composioConnected.googledrive },
{ id: "google-sheets", name: "Google Sheets", icon: "google-sheets", connected: composioConnected.googlesheets },
- { id: "ics-calendar", name: "ICS Calendar", icon: "ics-calendar", connected: false },
- { id: "remote-agent", name: "Remote agent", icon: "remote-agent", connected: false },
+ { id: "ics-calendar", name: "Other calendars", icon: "ics-calendar", connected: false },
+ { id: "remote-agent", name: "Always-on AI", icon: "remote-agent", connected: false },
{ id: "whatsapp", name: "WhatsApp", icon: "whatsapp", connected: false, detected: detectedConnectionIds.has("whatsapp") },
{ id: "anythingllm", name: "AnythingLLM", icon: "anythingllm", connected: false, detected: detectedConnectionIds.has("anythingllm") },
{ id: "ollama", name: "Ollama", icon: "ollama", connected: false, detected: detectedConnectionIds.has("ollama") },
@@ -4024,9 +4008,9 @@ export function ConnectionsSection({
{ id: "krisp", name: "Krisp", icon: "krisp", connected: krispConnected, detected: detectedConnectionIds.has("krisp") },
{ id: "plaud", name: "Plaud", icon: "plaud", connected: plaudConnected },
{ id: "excalidraw", name: "Excalidraw", icon: "excalidraw", connected: excalidrawConnected },
- { id: "custom-mcp", name: "Custom MCP", icon: "custom-mcp", connected: false, detected: customMcpServerCount > 0 },
+ { id: "custom-mcp", name: "Advanced connections", icon: "custom-mcp", connected: false, detected: customMcpServerCount > 0 },
{ id: "skills", name: "Skills", icon: "skills", connected: importedSkillsCount > 0, category: "Agent" },
- { id: "pi-extensions", name: "Agent extensions", icon: "pi-extensions", connected: true, category: "Agent" },
+ { id: "pi-extensions", name: "AI tools", icon: "pi-extensions", connected: true, category: "Agent" },
];
// Merge API tiles, skipping duplicates already in hardcoded.
// owned-default is hidden from settings — the agent drives it via the
@@ -4089,13 +4073,20 @@ export function ConnectionsSection({
category: CONNECTION_CATEGORY_BY_ID[tile.id] ?? tile.category ?? "Other",
description: tile.description ?? CONNECTION_HARDCODED_DESCRIPTIONS[tile.id],
}));
- }, [os, claudeInstalled, cursorInstalled, codexInstalled, grokInstalled, chatgptConnected, browserUrlConnected, browserUrlDetected, integrations, appleCalendarConnected, googleCalendarConnected, googleDocsConnected, customMcpConnected, customMcpServerCount, krispConnected, plaudConnected, mcpProviderConnected, excalidrawConnected, importedSkillsCount, piExtensionCount, detectedConnectionIds, composioConnected]);
+ }, [os, claudeInstalled, cursorInstalled, codexInstalled, grokInstalled, chatgptConnected, browserUrlConnected, browserUrlDetected, integrations, appleCalendarConnected, googleCalendarConnected, googleDocsConnected, customMcpConnected, customMcpServerCount, krispConnected, plaudConnected, mcpProviderConnected, excalidrawConnected, importedSkillsCount, detectedConnectionIds, composioConnected]);
const isDefaultView = !search.trim() && categoryFilter === ALL_CONNECTION_CATEGORIES;
const suggested = useMemo(() => {
if (!isDefaultView) return [];
- return getSuggestedConnectionsForDevice(allTiles, 8);
+ return getSuggestedConnectionsForDevice(allTiles, 6);
+ }, [allTiles, isDefaultView]);
+
+ const connectedTiles = useMemo(() => {
+ if (!isDefaultView) return [];
+ return allTiles
+ .filter((tile) => tile.connected && !SETTINGS_CONNECTION_IDS.has(tile.id))
+ .sort(compareConnectionTiles);
}, [allTiles, isDefaultView]);
// Flat search results (used when search is active or category is programmatically focused)
@@ -4116,11 +4107,18 @@ export function ConnectionsSection({
// categories sort after these, alphabetically.
const CATEGORY_ORDER = ["Desktop", "AI", "Agent", "Automation", "Meetings", "Calendar", "Communication", "Notes", "Documents", "Project Management", "CRM", "Support", "Finance", "Developer", "Wearables", "Notifications", "System", "Other"];
- // Grouped tiles by category (default view — excludes suggested items)
+ // Grouped tiles by category for the collapsed catalog. Connected, suggested,
+ // and advanced AI setup each have a clearer home above or below this list.
const groupedTiles = useMemo(() => {
if (!isDefaultView) return null;
const suggestedIds = new Set(suggested.map(t => t.id));
- const remaining = allTiles.filter(t => !suggestedIds.has(t.id));
+ const connectedIds = new Set(connectedTiles.map(t => t.id));
+ const remaining = allTiles.filter(
+ (tile) =>
+ !suggestedIds.has(tile.id) &&
+ !connectedIds.has(tile.id) &&
+ !SETTINGS_CONNECTION_IDS.has(tile.id),
+ );
const groups = new Map<string, ConnectionTile[]>();
for (const tile of remaining) {
const cat = normalizeConnectionCategory(tile.category);
@@ -4138,7 +4136,9 @@ export function ConnectionsSection({
if (bi === -1) return -1;
return ai - bi;
});
- }, [allTiles, isDefaultView, suggested]);
+ }, [allTiles, connectedTiles, isDefaultView, suggested]);
+
+ const catalogTileCount = groupedTiles?.reduce((sum, [, tiles]) => sum + tiles.length, 0) ?? 0;
const selectedIntegration = integrations.find(i => i.id === selected);
const selectedScopeVariant =
@@ -4278,7 +4278,7 @@ export function ConnectionsSection({
case "anythingllm": return <AnythingLLMPanel />;
case "custom-mcp": return <CustomMcpCard />;
case "skills": return <SkillsCard onChanged={loadSkillsCount} />;
- case "pi-extensions": return <PiExtensionsCard onChanged={loadPiExtensionCount} />;
+ case "pi-extensions": return <PiExtensionsCard />;
case "krisp": return <OAuthMcpPanel
name="Krisp"
mcpUrl={KRISP_MCP_URL}
@@ -4417,89 +4417,124 @@ export function ConnectionsSection({
<div className="space-y-5">
{/* Header: title + inline search */}
<div className="flex items-center gap-3">
- <p className="flex-1 text-sm text-muted-foreground">Connect to the apps you use every day</p>
+ <p className="flex-1 text-sm text-muted-foreground">Connect your apps</p>
<div className="relative w-52 shrink-0">
<Search className="absolute left-2.5 top-1/2 -translate-y-1/2 h-3.5 w-3.5 text-muted-foreground" />
<Input
{...searchInputBehaviorProps}
value={search}
onChange={(e) => setSearch(e.target.value)}
- placeholder="Search..."
+ placeholder="Find an app"
className="pl-8 h-8 text-xs"
/>
</div>
</div>
- <McpSpotlight
- enabledCount={customMcpEnabledCount}
- totalCount={customMcpServerCount}
- selected={selected === "custom-mcp"}
- onClick={() => setSelected(selected === "custom-mcp" ? null : "custom-mcp")}
- />
-
- <PiExtensionsSpotlight
- count={piExtensionCount}
- selected={selected === "pi-extensions"}
- onClick={() => setSelected(selected === "pi-extensions" ? null : "pi-extensions")}
- />
-
- <SkillsSpotlight
- count={importedSkillsCount}
- selected={selected === "skills"}
- onClick={() => setSelected(selected === "skills" ? null : "skills")}
- />
-
- {/* AI tools block — 4th sibling to MCP servers / Agent extensions / Skills.
- Connect-all when nothing is on, per-tool manage + disconnect-all once
- connected (Louis's "easy way to uninstall" ask). Default view only. */}
- {isDefaultView && (
- <AiToolsCard
- onChanged={() => {
- refreshStatus();
- notifyConnectionsUpdated();
- }}
- />
- )}
-
- {/* Suggested — device-aware high-activation connections, default view only. */}
- {!search.trim() && suggested.length > 0 && (
- <div className="space-y-2">
- <h3 className="text-xs font-medium text-muted-foreground">Suggested for this device</h3>
- <div className="grid grid-cols-2 gap-2">
- {suggested.map((tile) => (
- <ListRow
- key={tile.id}
- tile={tile}
- selected={selected === tile.id}
- onClick={() => setSelected(selected === tile.id ? null : tile.id)}
- onTryInChat={tile.connected ? () => tryInChat(tile) : undefined}
- />
- ))}
+ {isDefaultView ? (
+ <>
+ <div className="space-y-3">
+ <AiToolsSpotlight
+ selected={selected === "pi-extensions"}
+ onClick={() => setSelected(selected === "pi-extensions" ? null : "pi-extensions")}
+ />
+ <AiToolsCard
+ onChanged={() => {
+ refreshStatus();
+ notifyConnectionsUpdated();
+ }}
+ />
+ <SkillsSpotlight
+ count={importedSkillsCount}
+ selected={selected === "skills"}
+ onClick={() => setSelected(selected === "skills" ? null : "skills")}
+ />
+ <McpSpotlight
+ enabledCount={customMcpEnabledCount}
+ totalCount={customMcpServerCount}
+ selected={selected === "custom-mcp"}
+ onClick={() => setSelected(selected === "custom-mcp" ? null : "custom-mcp")}
+ />
</div>
- </div>
- )}
- {/* Connections — categorized sections or flat search results */}
- {!integrationsLoaded ? (
- <div className="space-y-6">
- {Array.from({ length: 3 }).map((_, gi) => (
- <div key={gi} className="space-y-2">
- <div className="h-4 bg-muted rounded w-24 animate-pulse" />
+ {connectedTiles.length > 0 && (
+ <div className="space-y-2">
+ <h3 className="text-xs font-medium text-muted-foreground">Connected</h3>
<div className="grid grid-cols-2 gap-2">
- {Array.from({ length: 4 }).map((_, i) => (
- <div key={i} className="flex items-center gap-3 px-3 py-2.5 rounded-xl border border-border bg-card animate-pulse">
- <div className="w-10 h-10 rounded-xl bg-muted shrink-0" />
- <div className="flex-1 space-y-1.5">
- <div className="h-3 bg-muted rounded w-20" />
- <div className="h-2.5 bg-muted rounded w-32" />
- </div>
- </div>
+ {connectedTiles.map((tile) => (
+ <ListRow
+ key={tile.id}
+ tile={tile}
+ selected={selected === tile.id}
+ onClick={() => setSelected(selected === tile.id ? null : tile.id)}
+ onTryInChat={() => tryInChat(tile)}
+ />
))}
</div>
</div>
- ))}
+ )}
+
+ {suggested.length > 0 && (
+ <div className="space-y-2">
+ <h3 className="text-xs font-medium text-muted-foreground">Suggested</h3>
+ <div className="grid grid-cols-2 gap-2">
+ {suggested.map((tile) => (
+ <ListRow
+ key={tile.id}
+ tile={tile}
+ selected={selected === tile.id}
+ onClick={() => setSelected(selected === tile.id ? null : tile.id)}
+ />
+ ))}
+ </div>
+ </div>
+ )}
+
+ <details className="group border-t border-border pt-4">
+ <summary className="flex cursor-pointer list-none items-center gap-3 select-none">
+ <div className="min-w-0 flex-1">
+ <h3 className="text-sm font-medium text-foreground">Browse all apps</h3>
+ <p className="text-xs text-muted-foreground">
+ {integrationsLoaded ? `${catalogTileCount} more` : "Loading apps"}
+ </p>
+ </div>
+ <ChevronDown className="h-4 w-4 text-muted-foreground transition-transform group-open:rotate-180" />
+ </summary>
+ <div className="mt-5 space-y-8">
+ {!integrationsLoaded ? (
+ <div className="grid grid-cols-2 gap-2">
+ {Array.from({ length: 4 }).map((_, i) => (
+ <div key={i} className="h-16 border border-border bg-muted animate-pulse" />
+ ))}
+ </div>
+ ) : (
+ groupedTiles?.map(([category, tiles]) => (
+ <div key={category} className="space-y-3">
+ <div className="border-b border-border pb-2">
+ <h3 className="text-sm font-semibold text-foreground">{category}</h3>
+ </div>
+ <div className="grid grid-cols-2 gap-1">
+ {tiles.map((tile) => (
+ <ListRow
+ key={tile.id}
+ tile={tile}
+ selected={selected === tile.id}
+ onClick={() => setSelected(selected === tile.id ? null : tile.id)}
+ />
+ ))}
+ </div>
+ </div>
+ ))
+ )}
+ </div>
+ </details>
+
+ </>
+ ) : !integrationsLoaded ? (
+ <div className="flex items-center gap-2 text-xs text-muted-foreground">
+ <Loader2 className="h-3 w-3 animate-spin" />
+ Loading connections
</div>
- ) : search.trim() || categoryFilter !== ALL_CONNECTION_CATEGORIES ? (
+ ) : filtered.length > 0 ? (
<div className="grid grid-cols-2 gap-2">
{filtered.map((tile) => (
<ListRow
@@ -4512,26 +4547,7 @@ export function ConnectionsSection({
))}
</div>
) : (
- <div className="space-y-8">
- {groupedTiles?.map(([category, tiles]) => (
- <div key={category} className="space-y-3">
- <div className="border-b border-border pb-2">
- <h3 className="text-sm font-semibold text-foreground">{category}</h3>
- </div>
- <div className="grid grid-cols-2 gap-1">
- {tiles.map((tile) => (
- <ListRow
- key={tile.id}
- tile={tile}
- selected={selected === tile.id}
- onClick={() => setSelected(selected === tile.id ? null : tile.id)}
- onTryInChat={tile.connected ? () => tryInChat(tile) : undefined}
- />
- ))}
- </div>
- </div>
- ))}
- </div>
+ <p className="py-8 text-center text-sm text-muted-foreground">No matching apps</p>
)}
<Dialog
@@ -4564,14 +4580,11 @@ export function ConnectionsSection({
macOS
</span>
)}
- {["gmail", "zoom", "google-drive", "google-docs", "google-sheets"].includes(selectedTile.id) && (
- <span className="px-2 py-0.5 text-[10px] font-mono border border-border text-muted-foreground inline-flex items-center">
- via composio
- </span>
- )}
</div>
{selectedTile.connected && (
- <span className="text-xs text-foreground">connected</span>
+ <span className="text-xs text-foreground">
+ {selectedTile.id === "pi-extensions" ? "ready" : "connected"}
+ </span>
)}
</div>
<DialogClose asChild>
diff --git a/apps/screenpipe-app-tauri/components/settings/pi-extensions-card.tsx b/apps/screenpipe-app-tauri/components/settings/pi-extensions-card.tsx
index 962435424..d689b1685 100644
--- a/apps/screenpipe-app-tauri/components/settings/pi-extensions-card.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/pi-extensions-card.tsx
@@ -6,7 +6,6 @@
import React, { useCallback, useEffect, useMemo, useState } from "react";
import {
AlertCircle,
- Blocks,
CheckCircle2,
Clock3,
ExternalLink,
@@ -22,7 +21,6 @@ import { Switch } from "@/components/ui/switch";
import { useToast } from "@/components/ui/use-toast";
import { commands, type PiExtensionPackage } from "@/lib/utils/tauri";
import {
- filterPiExtensionCatalog,
installedPiPackageSourceSet,
normalizePiPackageSource,
PI_EXTENSION_CATALOG,
@@ -45,8 +43,10 @@ const COMPATIBILITY_CLASS = {
} as const;
function compatibilityLabel(item: PiExtensionCatalogItem): string {
- if (item.compatibility === "pi-only") return "Pi only";
- return item.compatibilityVerified ? "all ACP agents" : "portable candidate";
+ if (item.compatibility === "pi-only") return "screenpipe only";
+ return item.compatibilityVerified
+ ? "works with every agent"
+ : "may work with other agents";
}
function compatibilityClass(item: PiExtensionCatalogItem): string {
@@ -59,7 +59,11 @@ function compatibilityClass(item: PiExtensionCatalogItem): string {
function packageErrorMessage(error: unknown): string {
if (typeof error === "string") return error;
if (error instanceof Error) return error.message;
- return "Something went wrong while changing this Pi extension.";
+ return "Something went wrong while changing this tool.";
+}
+
+function packageDisplayName(source: string): string {
+ return source.replace(/^npm:/, "");
}
function relativeDate(value?: string): string | null {
@@ -152,7 +156,9 @@ function PiExtensionRow({
</p>
<div className="mt-auto flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1 border-t border-border pt-2.5 text-[10px] text-muted-foreground">
- <span className="max-w-full truncate font-mono">{item.source}</span>
+ <span className="max-w-full truncate font-mono">
+ {packageDisplayName(item.source)}
+ </span>
{published && (
<span className="inline-flex items-center gap-1">
<Clock3 className="h-3 w-3" />
@@ -164,7 +170,7 @@ function PiExtensionRow({
onClick={() => openUrl(item.npmUrl)}
className="ml-auto inline-flex items-center gap-1 underline-offset-4 hover:underline"
>
- npm <ExternalLink className="h-3 w-3" />
+ package <ExternalLink className="h-3 w-3" />
</button>
{item.sourceUrl && (
<button
@@ -172,7 +178,7 @@ function PiExtensionRow({
onClick={() => openUrl(item.sourceUrl!)}
className="inline-flex items-center gap-1 underline-offset-4 hover:underline"
>
- source <ExternalLink className="h-3 w-3" />
+ code <ExternalLink className="h-3 w-3" />
</button>
)}
</div>
@@ -186,38 +192,18 @@ function PortableExtensionRow({
item: PortableAgentExtensionCatalogItem;
}) {
return (
- <article className="flex min-h-[148px] flex-col border border-border bg-card p-3.5 transition-colors hover:border-foreground/30">
+ <article className="flex min-h-[112px] flex-col border border-border bg-card p-3.5 transition-colors hover:border-foreground/30">
<div className="flex items-start justify-between gap-3">
- <div className="min-w-0 space-y-1.5">
- <div className="flex flex-wrap items-center gap-1.5">
- <h4 className="text-sm font-medium leading-tight text-foreground">{item.name}</h4>
- <span className="inline-flex items-center gap-1 border border-foreground/30 bg-foreground px-1.5 py-0.5 text-[10px] font-medium text-background">
- <Blocks className="h-3 w-3" />
- all ACP agents
- </span>
- </div>
- <span className="font-mono text-[10px] text-muted-foreground">
- ACP client middleware · MCP
- </span>
- </div>
- <Switch
- checked
- disabled
- aria-label={`${item.name} available to all agents`}
- className="shrink-0"
- />
+ <h4 className="text-sm font-medium leading-tight text-foreground">{item.name}</h4>
+ <span
+ aria-label={`${item.name} ready`}
+ className="inline-flex shrink-0 items-center gap-1 text-[10px] font-medium text-muted-foreground"
+ >
+ <CheckCircle2 className="h-3.5 w-3.5" />
+ ready
+ </span>
</div>
<p className="mt-2.5 text-xs leading-relaxed text-muted-foreground">{item.summary}</p>
- <div className="mt-auto flex flex-wrap gap-1.5 border-t border-border pt-2.5">
- {item.tools.map((tool) => (
- <span
- key={tool}
- className="border border-border px-1.5 py-0.5 font-mono text-[9px] text-muted-foreground"
- >
- {tool}
- </span>
- ))}
- </div>
</article>
);
}
@@ -380,7 +366,7 @@ export function PiExtensionsCard({ onChanged }: { onChanged?: () => void }) {
[packages],
);
- const visibleItems = useMemo(() => filterPiExtensionCatalog(query), [query]);
+ const visibleItems = PI_EXTENSION_CATALOG;
const changingPackage = busySource !== null;
const visibleSources = useMemo(
() => installedPiPackageSourceSet(visibleItems.map((item) => item.source)),
@@ -423,7 +409,7 @@ export function PiExtensionsCard({ onChanged }: { onChanged?: () => void }) {
if (res.status === "error") {
setError(res.error);
toast({
- title: "Pi extension failed",
+ title: "Tool could not be changed",
description: res.error,
variant: "destructive",
});
@@ -439,14 +425,16 @@ export function PiExtensionsCard({ onChanged }: { onChanged?: () => void }) {
title: checked ? `${item.name} enabled` : `${item.name} disabled`,
description:
checked && changedPackage?.acpCompatible
- ? "New ACP sessions mount this package through its portable MCP entrypoint."
- : "Pi reloads idle sessions so the next turn uses the new package list.",
+ ? "Ready to use in new agent chats."
+ : checked
+ ? "Ready to use in new Pi chats."
+ : "Removed from new Pi chats.",
});
} catch (err) {
const message = packageErrorMessage(err);
setError(message);
toast({
- title: "Pi extension failed",
+ title: "Tool could not be changed",
description: message,
variant: "destructive",
});
@@ -466,7 +454,7 @@ export function PiExtensionsCard({ onChanged }: { onChanged?: () => void }) {
if (res.status === "error") {
setError(res.error);
toast({
- title: "Pi extension failed",
+ title: "Tool could not be changed",
description: res.error,
variant: "destructive",
});
@@ -476,14 +464,14 @@ export function PiExtensionsCard({ onChanged }: { onChanged?: () => void }) {
setPackages(res.data);
onChanged?.();
toast({
- title: "Pi extension disabled",
- description: "Pi reloads idle sessions so the next turn uses the new package list.",
+ title: "Tool removed",
+ description: "It will no longer be available in new Pi chats.",
});
} catch (err) {
const message = packageErrorMessage(err);
setError(message);
toast({
- title: "Pi extension failed",
+ title: "Tool could not be changed",
description: message,
variant: "destructive",
});
@@ -498,12 +486,9 @@ export function PiExtensionsCard({ onChanged }: { onChanged?: () => void }) {
<div className="space-y-4 text-sm">
<div className="space-y-2">
<div className="flex items-center justify-between gap-3">
- <div>
- <h3 className="text-sm font-medium text-foreground">Agent extensions</h3>
- <p className="text-xs leading-relaxed text-muted-foreground">
- One catalog with an explicit runtime boundary for every provider.
- </p>
- </div>
+ <p className="text-xs leading-relaxed text-muted-foreground">
+ Add new tools for your AI to use.
+ </p>
<Button
variant="ghost"
size="sm"
@@ -514,30 +499,55 @@ export function PiExtensionsCard({ onChanged }: { onChanged?: () => void }) {
<RefreshCw className="h-3.5 w-3.5" />
</Button>
</div>
+ </div>
- <div className="border border-border bg-muted/25 p-3">
- <div className="flex items-start gap-2">
- <ShieldAlert className="mt-0.5 h-4 w-4 text-muted-foreground" />
- <div className="space-y-1 text-xs leading-relaxed text-muted-foreground">
- <p>
- Screenpipe extensions use ACP client middleware and work in every agent. Third-party Pi packages can execute local code and influence agent behavior.
- </p>
- <p>
- Portable candidates advertise the catalog keyword; Screenpipe validates their MCP manifest and path after install. Pi-only lifecycle, provider, and terminal UI hooks stay in Pi.
+ {!loaded ? (
+ <div className="flex items-center gap-2 text-xs text-muted-foreground">
+ <Loader2 className="h-3.5 w-3.5 animate-spin" />
+ loading tools...
+ </div>
+ ) : (
+ <div className="space-y-2">
+ <div className="flex items-center justify-between gap-3">
+ <div>
+ <h4 className="text-xs font-medium uppercase tracking-[0.14em] text-muted-foreground">
+ Recommended
+ </h4>
+ <p className="mt-1 text-[11px] text-muted-foreground">
+ Turn tools on or off for new chats.
</p>
</div>
+ <span className="text-[11px] tabular-nums text-muted-foreground">
+ {visibleItems.length}
+ </span>
+ </div>
+ <div className="grid grid-cols-1 gap-2 md:grid-cols-2 xl:grid-cols-3">
+ {visibleItems.map((item) => {
+ const normalized = normalizePiPackageSource(item.source);
+ return (
+ <PiExtensionRow
+ key={item.id}
+ item={effectiveItem(item)}
+ enabled={item.required || configuredSources.has(normalized)}
+ stale={missingSources.has(normalized)}
+ busy={busySource === item.source}
+ disabled={changingPackage && busySource !== item.source}
+ onToggle={(checked) => togglePackage(item, checked)}
+ />
+ );
+ })}
</div>
</div>
- </div>
+ )}
<div className="space-y-2">
<div className="flex items-center justify-between gap-3">
<div>
<h4 className="text-xs font-medium uppercase tracking-[0.14em] text-muted-foreground">
- All agents
+ Included
</h4>
<p className="mt-1 text-[11px] text-muted-foreground">
- Built into the ACP client. No provider-specific install.
+ Ready in every agent. Nothing to set up.
</p>
</div>
<span className="text-[11px] tabular-nums text-muted-foreground">
@@ -551,12 +561,22 @@ export function PiExtensionsCard({ onChanged }: { onChanged?: () => void }) {
</div>
</div>
+ <div className="border border-border bg-muted/25 p-3">
+ <div className="flex items-start gap-2">
+ <ShieldAlert className="mt-0.5 h-4 w-4 text-muted-foreground" />
+ <p className="text-xs leading-relaxed text-muted-foreground">
+ Community tools can run code and change how your agents behave. Only add tools you
+ trust.
+ </p>
+ </div>
+ </div>
+
<div className="relative">
<Search className="absolute left-2.5 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-muted-foreground" />
<Input
value={query}
onChange={(event) => setQuery(event.target.value)}
- placeholder="Search Pi packages..."
+ placeholder="Search tools..."
className="h-8 rounded-none pl-8 text-xs"
/>
</div>
@@ -568,53 +588,16 @@ export function PiExtensionsCard({ onChanged }: { onChanged?: () => void }) {
</div>
)}
- {!loaded ? (
- <div className="flex items-center gap-2 text-xs text-muted-foreground">
- <Loader2 className="h-3.5 w-3.5 animate-spin" />
- loading Pi packages...
- </div>
- ) : (
+ {loaded && (
<div className="space-y-4">
- <div className="space-y-2">
- <div className="flex items-center justify-between gap-3">
- <h4 className="text-xs font-medium uppercase tracking-[0.14em] text-muted-foreground">
- Curated
- </h4>
- <span className="text-[11px] tabular-nums text-muted-foreground">
- {visibleItems.length}
- </span>
- </div>
- <div className="grid grid-cols-1 gap-2 md:grid-cols-2 xl:grid-cols-3">
- {visibleItems.map((item) => {
- const normalized = normalizePiPackageSource(item.source);
- return (
- <PiExtensionRow
- key={item.id}
- item={effectiveItem(item)}
- enabled={item.required || configuredSources.has(normalized)}
- stale={missingSources.has(normalized)}
- busy={busySource === item.source}
- disabled={changingPackage && busySource !== item.source}
- onToggle={(checked) => togglePackage(item, checked)}
- />
- );
- })}
- </div>
- {visibleItems.length === 0 && (
- <div className="border border-border bg-muted/25 p-3 text-xs text-muted-foreground">
- No matching curated Pi packages.
- </div>
- )}
- </div>
-
{recentRegistryItems.length > 0 && (
<div className="space-y-2">
<div className="flex items-center justify-between gap-3">
<h4 className="text-xs font-medium uppercase tracking-[0.14em] text-muted-foreground">
- Recently published
+ Recently added
</h4>
<span className="text-[11px] text-muted-foreground">
- from npm
+ community
</span>
</div>
<div className="grid grid-cols-1 gap-2 md:grid-cols-2 xl:grid-cols-4">
@@ -639,19 +622,19 @@ export function PiExtensionsCard({ onChanged }: { onChanged?: () => void }) {
<div className="space-y-2">
<div className="flex items-center justify-between gap-3">
<h4 className="text-xs font-medium uppercase tracking-[0.14em] text-muted-foreground">
- All packages
+ Community
</h4>
<span className="text-[11px] text-muted-foreground">
{registryLoading
? "searching..."
: registryTotal === null
- ? "registry"
- : `${visibleRegistryItems.length} shown / ${registryTotal.toLocaleString()} matches`}
+ ? "tools"
+ : `${visibleRegistryItems.length} shown / ${registryTotal.toLocaleString()} found`}
</span>
</div>
{registryError && (
<div className="border border-border bg-muted/25 p-3 text-xs text-muted-foreground">
- Could not search npm right now. Curated packages are still available.
+ Could not search for tools right now. Recommended tools are still available.
</div>
)}
<div className="grid grid-cols-1 gap-2 md:grid-cols-2 xl:grid-cols-3">
@@ -672,18 +655,18 @@ export function PiExtensionsCard({ onChanged }: { onChanged?: () => void }) {
</div>
{!registryLoading && !registryError && visibleRegistryItems.length === 0 && (
<div className="border border-border bg-muted/25 p-3 text-xs text-muted-foreground">
- No npm Pi packages matched this search.
+ No community tools match this search.
</div>
)}
{registryLoading && visibleRegistryItems.length === 0 && (
<div className="flex items-center gap-2 border border-border bg-muted/25 p-3 text-xs text-muted-foreground">
<Loader2 className="h-3.5 w-3.5 animate-spin" />
- searching npm packages...
+ searching tools...
</div>
)}
</div>
- {visibleItems.length === 0 && visibleRegistryItems.length === 0 && registryError && (
+ {visibleRegistryItems.length === 0 && registryError && (
<div className="border border-border bg-muted/25 p-3 text-xs text-muted-foreground">
Try another search or refresh the catalog.
</div>
@@ -693,23 +676,25 @@ export function PiExtensionsCard({ onChanged }: { onChanged?: () => void }) {
{unknownPackages.length > 0 && (
<div className="space-y-2">
- <h4 className="text-xs font-medium text-muted-foreground">Installed outside this list</h4>
+ <h4 className="text-xs font-medium text-muted-foreground">Other installed tools</h4>
<div className="space-y-1.5">
{unknownPackages.map((pkg) => (
<div
key={pkg.source}
className="flex items-center justify-between gap-2 border border-border px-2.5 py-2 text-xs"
>
- <span className="min-w-0 truncate font-mono">{pkg.source}</span>
+ <span className="min-w-0 truncate font-mono">
+ {packageDisplayName(pkg.source)}
+ </span>
<div className="flex shrink-0 items-center gap-2">
<span className="text-[11px] text-muted-foreground">
{pkg.filtered
- ? "filtered"
+ ? "unavailable"
: !pkg.installed
? "repair needed"
: pkg.acpCompatible
- ? "all ACP agents"
- : "Pi only"}
+ ? "works with every agent"
+ : "screenpipe only"}
</span>
{busySource === pkg.source ? (
<Loader2 className="h-3.5 w-3.5 animate-spin text-muted-foreground" />
@@ -720,7 +705,7 @@ export function PiExtensionsCard({ onChanged }: { onChanged?: () => void }) {
onCheckedChange={(checked) => {
if (!checked) removePackageSource(pkg.source);
}}
- aria-label={`Disable ${pkg.source}`}
+ aria-label={`Disable ${packageDisplayName(pkg.source)}`}
/>
)}
</div>
diff --git a/apps/screenpipe-app-tauri/e2e/COVERAGE.md b/apps/screenpipe-app-tauri/e2e/COVERAGE.md
index e5a47dd9a..6409b9c19 100644
--- a/apps/screenpipe-app-tauri/e2e/COVERAGE.md
+++ b/apps/screenpipe-app-tauri/e2e/COVERAGE.md
@@ -183,7 +183,7 @@ pass/fail/skip counts.
| onboarding-trust-affordances.spec.ts | windows, macos, linux | onboarding, real-ui-e2e, tauri-command | onboarding, settings-privacy-api-auth, storage-retention | high | strong | real-user-flow | 4 | Pre-grant reassurance in setup: the login slide carries the storage-locality line and the pause affordance on one line (the only slide every platform sees, since permissions auto-advances on non-mac); the mac permissions slide keeps that promise collapsed to a single line below the permission wheel and on expand renders the data dir the running app actually resolved rather than a reconstructed ~/.screenpipe, with an open action pointed at that path; collapsed and expanded states are both asserted to fit inside the fixed-size onboarding window; and the timeline slide states the capture bounds (incognito skipped, per-app exclusions) where the capture decision is made. The mac assertions share one visit because the slide auto-advances 600ms after all grants land. |
| owned-browser.spec.ts | windows, macos | os-integration, window-lifecycle | owned-browser, window-lifecycle | low | smoke | command | 1 | Embedded agent browser hides safely without an attached child. |
| permission-recovery.spec.ts | macos | os-integration, real-ui-e2e, window-lifecycle | permission-recovery, window-lifecycle | high | conditional | real-user-flow | 2 | macOS-only recovery window for missing TCC permissions. |
-| pi-extensions.spec.ts | windows, macos, linux | real-ui-e2e, settings | connections, pi-extensions, agent-extensions | medium | strong | real-user-flow | 1 | Opens Home -> Connections, opens Agent extensions, verifies provider-neutral built-ins and compatibility labels, filters the Pi package search, and captures a screenshot. Read-only smoke: does not install packages. |
+| pi-extensions.spec.ts | windows, macos, linux | real-ui-e2e, settings | ai-tools, connections, pi-extensions | medium | strong | real-user-flow | 1 | Opens Home -> Connections, opens the first AI tools setting, verifies the common tool toggles are first and directly visible in the modal, checks plain-language built-ins and compatibility labels, filters the package search, and captures a screenshot. Read-only smoke: does not install packages. |
| pipe-continuous-chat.spec.ts | macos | pipes, chat-ai, real-ui-e2e, local-api, storage-privacy | pipes, chat | high | strong | real-user-flow | 5 | Five native desktop journeys cover failed-save rollback and retry, stable one-chat continuity across real Pipe runs, a human follow-up carried into the next scheduled run, explicit pause/resume behavior with a read-only old chat, reset rejection during an active human reply, and a confirmed clean run without prior scheduled or human context. |
| pipe-local-ai-gateway.spec.ts | macos | pipes, chat-ai, local-api, tauri-command | pipes | high | strong | command | 1 | Opt-in full-stack hosted Pipe coverage records the real Pi request entering the production Worker bundle and verifies the Pipe workload marker plus nonblank session affinity for history-off runs and stable affinity across history-on runs. |
| pipes-mcp-connections.spec.ts | windows, macos, linux | pipes, real-ui-e2e, local-api | pipes, connections | high | strong | real-user-flow | 3 | Seeds a custom MCP server, installs a local pipe, selects the MCP server from the pipe connection picker, and verifies the mcp:<id> allowlist persists. |
diff --git a/apps/screenpipe-app-tauri/e2e/coverage-map.json b/apps/screenpipe-app-tauri/e2e/coverage-map.json
index 675dbc4e4..a33018389 100644
--- a/apps/screenpipe-app-tauri/e2e/coverage-map.json
+++ b/apps/screenpipe-app-tauri/e2e/coverage-map.json
@@ -1994,14 +1994,14 @@
"settings"
],
"features": [
+ "ai-tools",
"connections",
- "pi-extensions",
- "agent-extensions"
+ "pi-extensions"
],
"criticality": "medium",
"confidence": "strong",
"ux": "real-user-flow",
- "notes": "Opens Home -> Connections, opens Agent extensions, verifies provider-neutral built-ins and compatibility labels, filters the Pi package search, and captures a screenshot. Read-only smoke: does not install packages."
+ "notes": "Opens Home -> Connections, opens the first AI tools setting, verifies the common tool toggles are first and directly visible in the modal, checks plain-language built-ins and compatibility labels, filters the package search, and captures a screenshot. Read-only smoke: does not install packages."
},
{
"spec": "pipe-continuous-chat.spec.ts",
diff --git a/apps/screenpipe-app-tauri/e2e/specs/pi-extensions.spec.ts b/apps/screenpipe-app-tauri/e2e/specs/pi-extensions.spec.ts
index 1ff5e9066..a44564433 100644
--- a/apps/screenpipe-app-tauri/e2e/specs/pi-extensions.spec.ts
+++ b/apps/screenpipe-app-tauri/e2e/specs/pi-extensions.spec.ts
@@ -89,7 +89,7 @@ async function openHomeForAgentExtensionsCatalog(): Promise<void> {
}
}
-describe('Agent extensions catalog', function () {
+describe('AI tools catalog', function () {
this.timeout(t(180_000));
before(async () => {
@@ -105,34 +105,52 @@ describe('Agent extensions catalog', function () {
await browser.waitUntil(
async () => {
const body = (await browser.execute(() => document.body.innerText.toLowerCase())) as string;
- return body.includes('connections') && body.includes('agent extensions');
+ return body.includes('connections') &&
+ body.includes('ai tools') &&
+ body.includes('choose what your ai can use');
},
- { timeout: t(12_000), timeoutMsg: 'Connections did not render Agent extensions entry' },
+ { timeout: t(12_000), timeoutMsg: 'Connections did not render the AI tools settings' },
);
await browser.execute(() => {
const buttons = Array.from(document.querySelectorAll('button'));
const target = buttons.find((button) =>
- button.textContent?.toLowerCase().includes('agent extensions'),
- ) ?? buttons.find((button) => button.textContent?.toLowerCase().includes('manage'));
+ button.textContent?.trim().toLowerCase() === 'manage' &&
+ button.parentElement?.textContent?.toLowerCase().includes('ai tools'),
+ );
target?.dispatchEvent(new MouseEvent('click', { bubbles: true, cancelable: true }));
});
await browser.waitUntil(
async () => {
- const body = (await browser.execute(() => document.body.innerText.toLowerCase())) as string;
- return body.includes('screenpipe extensions use acp client middleware') &&
- body.includes('screen history') &&
- body.includes('all acp agents') &&
- body.includes('pi only') &&
- body.includes('subagents') &&
- body.includes('web agent') &&
- body.includes('ask user');
+ const state = (await browser.execute(() => {
+ const headings = Array.from(document.querySelectorAll('h4'));
+ const recommended = headings.find((heading) =>
+ heading.textContent?.trim().toLowerCase() === 'recommended',
+ );
+ const included = headings.find((heading) =>
+ heading.textContent?.trim().toLowerCase() === 'included',
+ );
+ return {
+ body: document.body.innerText.toLowerCase(),
+ recommendedComesFirst: !!recommended && !!included && !!(
+ recommended.compareDocumentPosition(included) & Node.DOCUMENT_POSITION_FOLLOWING
+ ),
+ };
+ })) as { body: string; recommendedComesFirst: boolean };
+ return state.recommendedComesFirst &&
+ state.body.includes('community tools can run code') &&
+ state.body.includes('screen history') &&
+ state.body.includes('ready in every agent') &&
+ state.body.includes('screenpipe only') &&
+ state.body.includes('subagents') &&
+ state.body.includes('web agent') &&
+ state.body.includes('ask user');
},
- { timeout: t(12_000), timeoutMsg: 'Agent extensions catalog did not open' },
+ { timeout: t(12_000), timeoutMsg: 'AI tools catalog did not open' },
);
- const search = await $('input[placeholder="Search Pi packages..."]');
+ const search = await $('input[placeholder="Search tools..."]');
await search.waitForExist({ timeout: t(8_000) });
await search.setValue('web');
@@ -140,10 +158,10 @@ describe('Agent extensions catalog', function () {
async () => {
const body = (await browser.execute(() => document.body.innerText.toLowerCase())) as string;
return body.includes('web agent') &&
- body.includes('npm:@demigodmode/pi-web-agent') &&
- !body.includes('delegate work to focused child agents');
+ body.includes('@demigodmode/pi-web-agent') &&
+ body.includes('delegate work to focused child agents');
},
- { timeout: t(8_000), timeoutMsg: 'Agent extensions catalog search did not filter to web agent' },
+ { timeout: t(8_000), timeoutMsg: 'AI tools catalog search did not filter to web agent' },
);
const filepath = await saveScreenshot('connections-agent-extensions');
diff --git a/apps/screenpipe-app-tauri/lib/constants/__tests__/connections-suggestions.test.ts b/apps/screenpipe-app-tauri/lib/constants/__tests__/connections-suggestions.test.ts
index c665699a1..f944d6482 100644
--- a/apps/screenpipe-app-tauri/lib/constants/__tests__/connections-suggestions.test.ts
+++ b/apps/screenpipe-app-tauri/lib/constants/__tests__/connections-suggestions.test.ts
@@ -8,6 +8,7 @@ import {
isSuggestedForThisDevice,
compareConnectionTiles,
connectionMatchesSearch,
+ CONNECTION_HARDCODED_DESCRIPTIONS,
type ConnectionSuggestionTile,
} from "../connections";
@@ -110,3 +111,12 @@ describe("connection search", () => {
},
);
});
+
+describe("connection copy", () => {
+ it("keeps implementation details out of the default descriptions", () => {
+ const copy = Object.values(CONNECTION_HARDCODED_DESCRIPTIONS).join(" ");
+
+ expect(copy).not.toMatch(/\b(MCP|VPS|CLI|Composio)\b/i);
+ expect(copy).not.toMatch(/managed auth|config/i);
+ });
+});
diff --git a/apps/screenpipe-app-tauri/lib/constants/connections.ts b/apps/screenpipe-app-tauri/lib/constants/connections.ts
index 8eca64555..2c9dc8e18 100644
--- a/apps/screenpipe-app-tauri/lib/constants/connections.ts
+++ b/apps/screenpipe-app-tauri/lib/constants/connections.ts
@@ -173,29 +173,29 @@ export function connectionMatchesSearch(
}
export const CONNECTION_HARDCODED_DESCRIPTIONS: Record<string, string> = {
- "claude": "Give Claude Desktop and Code access to your screen & audio",
- "cursor": "Give Cursor AI access to your screen history via MCP",
- "codex": "Give Codex access to your screen & audio via MCP",
- "grok": "Give Grok CLI access to your screen & audio via MCP",
- "claude-code": "Add screen memory to the Claude Code CLI",
- "warp": "Search screen history from Warp terminal via MCP",
+ "claude": "Let Claude search your screen and audio history",
+ "cursor": "Let Cursor search your screen and audio history",
+ "codex": "Let Codex search your screen and audio history",
+ "grok": "Let Grok search your screen and audio history",
+ "claude-code": "Use your screen history in Claude Code",
+ "warp": "Search your screen and audio history from Warp",
"chatgpt": "Search your screen history from ChatGPT",
- "browser-url": "Capture visited URLs from your browser in real time",
- "voice-memos": "Sync Apple Voice Memos for AI-powered search",
- "apple-calendar": "Search Apple Calendar events with AI",
- "google-calendar": "Search Google Calendar events with AI",
+ "browser-url": "Include the pages you visit in your screen history",
+ "voice-memos": "Search your Apple Voice Memos",
+ "apple-calendar": "Search your Apple Calendar events",
+ "google-calendar": "Search your Google Calendar events",
"google-docs": "Read and search your Google Docs",
- gmail: "Read your Gmail inbox (via composio.dev managed auth)",
- "google-drive": "Search and read your Google Drive files (via composio.dev managed auth)",
- "google-sheets": "Read, create, and edit Google Sheets (via composio.dev managed auth)",
+ gmail: "Read your Gmail inbox",
+ "google-drive": "Search and read your Google Drive files",
+ "google-sheets": "Read, create, and edit Google Sheets",
"outlook-email": "Read and send your Outlook email",
- "ics-calendar": "Subscribe to any ICS calendar feed",
- "remote-agent": "Run a 24/7 agent (OpenClaw, Hermes, Claude, Codex) on your VPS, wired to screenpipe",
+ "ics-calendar": "Add a calendar using its subscription link",
+ "remote-agent": "Keep an AI agent running on another computer",
"whatsapp": "Search your WhatsApp conversations",
- "anythingllm": "Give AnythingLLM access to your screen",
- "ollama": "Connect local Ollama models to screenpipe",
- "lmstudio": "Connect LM Studio models to screenpipe",
- "msty": "Connect Msty models to screenpipe",
+ "anythingllm": "Let AnythingLLM search your screen history",
+ "ollama": "Use your Ollama models with screenpipe",
+ "lmstudio": "Use your LM Studio models with screenpipe",
+ "msty": "Use your Msty models with screenpipe",
"obsidian": "Sync screen memory to your Obsidian vault",
"notion": "Search Notion pages with your screen context",
"linear": "Search Linear issues from your screen context",
@@ -203,9 +203,9 @@ export const CONNECTION_HARDCODED_DESCRIPTIONS: Record<string, string> = {
"krisp": "Search Krisp meeting transcripts and notes",
"plaud": "Search Plaud recordings and transcripts",
"excalidraw": "Search and edit your Excalidraw+ whiteboards",
- "custom-mcp": "Connect any MCP-compatible server",
- "skills": "Import Claude Code skills for AI automations",
- "pi-extensions": "Manage portable agent extensions and native Pi packages",
+ "custom-mcp": "Connect another tool or data source",
+ "skills": "Add reusable instructions and workflows to your AI",
+ "pi-extensions": "Add web browsing and more to your AI",
};
// High-activation defaults fill the suggested row when there are not enough
diff --git a/apps/screenpipe-app-tauri/lib/dev/browser-runtime.test.ts b/apps/screenpipe-app-tauri/lib/dev/browser-runtime.test.ts
index bb9a079f9..509097001 100644
--- a/apps/screenpipe-app-tauri/lib/dev/browser-runtime.test.ts
+++ b/apps/screenpipe-app-tauri/lib/dev/browser-runtime.test.ts
@@ -143,6 +143,19 @@ describe("browser development runtime", () => {
expect(tasks[2].executionScope).toBe("session");
});
+ it("supports toggling extensions during browser design review", () => {
+ const invoke = createBrowserIpcMock({ mode: "mock", apiPort: 3030 });
+
+ expect(invoke("pi_list_extension_packages")).toEqual([]);
+ expect(invoke("pi_install_extension_package", { source: "npm:@demo/tool" })).toEqual([
+ expect.objectContaining({ source: "npm:@demo/tool", installed: true }),
+ ]);
+ expect(invoke("pi_list_extension_packages")).toEqual([
+ expect.objectContaining({ source: "npm:@demo/tool", installed: true }),
+ ]);
+ expect(invoke("pi_remove_extension_package", { source: "npm:@demo/tool" })).toEqual([]);
+ });
+
it("returns useful empty engine responses", async () => {
const health = mockLocalApiResponse(
new URL("http://localhost:3030/health"),
diff --git a/apps/screenpipe-app-tauri/lib/dev/browser-tauri-mock.ts b/apps/screenpipe-app-tauri/lib/dev/browser-tauri-mock.ts
index 87fa904db..28e05b51f 100644
--- a/apps/screenpipe-app-tauri/lib/dev/browser-tauri-mock.ts
+++ b/apps/screenpipe-app-tauri/lib/dev/browser-tauri-mock.ts
@@ -8,6 +8,7 @@ import type {
BrainViewDefinition,
BrainViewTemplateKit,
ImportedSkill,
+ PiExtensionPackage,
ProviderAutomation,
SaveBrainViewCanvasRequest,
SaveBrainViewRequest,
@@ -431,6 +432,7 @@ export function createBrowserIpcMock(options: BrowserIpcMockOptions) {
const storePaths = new Map<string, number>();
const warned = new Set<string>();
let nextResourceId = 1;
+ let piExtensionPackages: PiExtensionPackage[] = [];
const initialTimestamp = new Date().toISOString();
let liveViews =
options.scenario === "empty"
@@ -659,6 +661,31 @@ export function createBrowserIpcMock(options: BrowserIpcMockOptions) {
case "get_missing_permissions":
case "pi_pending":
return [];
+ case "pi_list_extension_packages":
+ return piExtensionPackages.map((pkg) => ({ ...pkg }));
+ case "pi_install_extension_package": {
+ const source = String(input.source ?? "");
+ if (!source) return piExtensionPackages.map((pkg) => ({ ...pkg }));
+ const existing = piExtensionPackages.find((pkg) => pkg.source === source);
+ if (existing) {
+ existing.filtered = false;
+ existing.installed = true;
+ } else {
+ piExtensionPackages.push({
+ source,
+ scope: "user",
+ filtered: false,
+ installed: true,
+ acpCompatible: false,
+ });
+ }
+ return piExtensionPackages.map((pkg) => ({ ...pkg }));
+ }
+ case "pi_remove_extension_package": {
+ const source = String(input.source ?? "");
+ piExtensionPackages = piExtensionPackages.filter((pkg) => pkg.source !== source);
+ return piExtensionPackages.map((pkg) => ({ ...pkg }));
+ }
case "list_brain_views":
return liveViews;
case "list_brain_view_template_kits":
diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-hardcoded-tiles.ts b/apps/screenpipe-app-tauri/lib/hooks/use-hardcoded-tiles.ts
index 407748c1e..1af308e81 100644
--- a/apps/screenpipe-app-tauri/lib/hooks/use-hardcoded-tiles.ts
+++ b/apps/screenpipe-app-tauri/lib/hooks/use-hardcoded-tiles.ts
@@ -245,13 +245,13 @@ export function useHardcodedTiles(): HardcodedTile[] {
{ id: "claude", name: "Claude Desktop", icon: "claude", connected: claudeInstalled },
{ id: "cursor", name: "Cursor", icon: "cursor", connected: cursorInstalled },
{ id: "codex", name: "Codex", icon: "codex", connected: codexInstalled },
- { id: "grok", name: "Grok CLI", icon: "grok", connected: grokInstalled },
+ { id: "grok", name: "Grok", icon: "grok", connected: grokInstalled },
{ id: "claude-code", name: "Claude Code", icon: "claude-code", connected: false },
{ id: "warp", name: "Warp", icon: "warp", connected: false },
{ id: "chatgpt", name: "ChatGPT", icon: "chatgpt", connected: chatgptConnected },
- { id: "custom-mcp", name: "Custom MCP", icon: "custom-mcp", connected: customMcpConnected, detected: customMcpDetected },
+ { id: "custom-mcp", name: "Advanced connections", icon: "custom-mcp", connected: customMcpConnected, detected: customMcpDetected },
...(os === "macos" ? [
- { id: "browser-url", name: "Browser URL Capture", icon: "browser-url", connected: false },
+ { id: "browser-url", name: "Browser activity", icon: "browser-url", connected: false },
{ id: "voice-memos", name: "Voice Memos", icon: "voice-memos", connected: false },
] as HardcodedTile[] : []),
...(os === "macos" ? [{ id: "apple-calendar", name: "Apple Calendar", icon: "apple-calendar", connected: calendarConnected } as HardcodedTile] : []),
diff --git a/apps/screenpipe-app-tauri/lib/pi-extension-catalog.ts b/apps/screenpipe-app-tauri/lib/pi-extension-catalog.ts
index 5caebee53..74a2f4688 100644
--- a/apps/screenpipe-app-tauri/lib/pi-extension-catalog.ts
+++ b/apps/screenpipe-app-tauri/lib/pi-extension-catalog.ts
@@ -93,7 +93,7 @@ export const PORTABLE_AGENT_EXTENSION_CATALOG: PortableAgentExtensionCatalogItem
{
id: "connections",
name: "Connections",
- summary: "Discover connected apps, request access, and call their MCP tools.",
+ summary: "Find and use the apps you've connected to screenpipe.",
tools: ["list_connections", "screenpipe_connect_app", "sp_mcp_call"],
},
{
@@ -120,7 +120,7 @@ export const PI_EXTENSION_CATALOG: PiExtensionCatalogItem[] = [
modelFit: "cloud-preferred",
modelFitLabel: "Cloud model recommended",
modelFitCopy: "Subagents amplify planning mistakes. Use a strong cloud model first; small local models may over-spawn or lose tool boundaries.",
- risk: "Runs extra Pi sessions locally and can multiply tool calls.",
+ risk: "Runs extra AI sessions locally and can multiply tool calls.",
npmUrl: "https://www.npmjs.com/package/pi-subagents",
sourceUrl: "https://github.com/nicobailon/pi-subagents",
tags: ["subagents", "parallel", "code review"],
@@ -131,7 +131,7 @@ export const PI_EXTENSION_CATALOG: PiExtensionCatalogItem[] = [
id: "pi-web-agent",
name: "Web agent",
source: "npm:@demigodmode/pi-web-agent",
- summary: "Adds a web research tool for Pi.",
+ summary: "Adds web research to your AI.",
details: "Searches, fetches, ranks sources, and can use a local Chromium-family browser for pages that need rendering.",
modelFit: "strong-model",
modelFitLabel: "Strong model",
@@ -146,7 +146,7 @@ export const PI_EXTENSION_CATALOG: PiExtensionCatalogItem[] = [
id: "pi-ask",
name: "Ask user",
source: "npm:@eko24ive/pi-ask",
- summary: "Lets Pi pause and ask structured questions.",
+ summary: "Lets your AI pause and ask structured questions.",
details: "Good when a task needs human confirmation before it keeps changing files or spending tokens.",
modelFit: "local-friendly",
modelFitLabel: "Local friendly",
@@ -160,7 +160,7 @@ export const PI_EXTENSION_CATALOG: PiExtensionCatalogItem[] = [
id: "pi-package-search",
name: "Package search",
source: "npm:pi-package-search",
- summary: "Search Pi packages from inside Pi.",
+ summary: "Find more tools from inside screenpipe.",
details: "Adds package discovery tools and install prompts that point at npm packages tagged for Pi.",
modelFit: "local-friendly",
modelFitLabel: "Local friendly",
@@ -175,7 +175,7 @@ export const PI_EXTENSION_CATALOG: PiExtensionCatalogItem[] = [
id: "pi-research",
name: "Research",
source: "npm:pi-research",
- summary: "Adds a research-oriented Pi extension.",
+ summary: "Adds a focused research workflow.",
details: "A lightweight research package surfaced in the Pi package catalog for users who want broader investigation tools.",
modelFit: "strong-model",
modelFitLabel: "Strong model",
@@ -273,8 +273,8 @@ function registryPackageToCatalogItem(pkg: NpmSearchPackage): PiExtensionCatalog
modelFitLabel: "Community package",
modelFitCopy: "Model fit depends on the package. Prefer stronger models for tools that browse, spawn agents, or change files.",
risk: portable
- ? "Third-party npm package. It runs locally in Pi and exposes its declared MCP server to other agents."
- : "Third-party npm package. It can run local code inside Pi after install.",
+ ? "Third-party package. It runs locally in screenpipe and can be used by other AI apps."
+ : "Third-party package. It can run local code inside screenpipe after install.",
npmUrl: pkg.links?.npm || `https://www.npmjs.com/package/${name}`,
sourceUrl: pkg.links?.repository || pkg.links?.homepage,
tags,
diff --git a/docs/pr-assets/6532/after-ai-setup.png b/docs/pr-assets/6532/after-ai-setup.png
new file mode 100644
index 000000000..36a6d23d2
Binary files /dev/null and b/docs/pr-assets/6532/after-ai-setup.png differ
diff --git a/docs/pr-assets/6532/after-empty-search.png b/docs/pr-assets/6532/after-empty-search.png
new file mode 100644
index 000000000..72bb6463b
Binary files /dev/null and b/docs/pr-assets/6532/after-empty-search.png differ
diff --git a/docs/pr-assets/6532/after-gmail-dialog.png b/docs/pr-assets/6532/after-gmail-dialog.png
new file mode 100644
index 000000000..aba1eb3bb
Binary files /dev/null and b/docs/pr-assets/6532/after-gmail-dialog.png differ
diff --git a/docs/pr-assets/6532/after-overview.png b/docs/pr-assets/6532/after-overview.png
new file mode 100644
index 000000000..d7a77de9c
Binary files /dev/null and b/docs/pr-assets/6532/after-overview.png differ
diff --git a/docs/pr-assets/6532/after-tools-dialog.png b/docs/pr-assets/6532/after-tools-dialog.png
new file mode 100644
index 000000000..f5d8894d5
Binary files /dev/null and b/docs/pr-assets/6532/after-tools-dialog.png differ
diff --git a/docs/pr-assets/6532/before-ai-setup.png b/docs/pr-assets/6532/before-ai-setup.png
new file mode 100644
index 000000000..2721c7160
Binary files /dev/null and b/docs/pr-assets/6532/before-ai-setup.png differ
diff --git a/docs/pr-assets/6532/before-empty-search.png b/docs/pr-assets/6532/before-empty-search.png
new file mode 100644
index 000000000..45d084855
Binary files /dev/null and b/docs/pr-assets/6532/before-empty-search.png differ
diff --git a/docs/pr-assets/6532/before-gmail-dialog.png b/docs/pr-assets/6532/before-gmail-dialog.png
new file mode 100644
index 000000000..696143313
Binary files /dev/null and b/docs/pr-assets/6532/before-gmail-dialog.png differ
diff --git a/docs/pr-assets/6532/before-overview.png b/docs/pr-assets/6532/before-overview.png
new file mode 100644
index 000000000..51693553d
Binary files /dev/null and b/docs/pr-assets/6532/before-overview.png differ
diff --git a/docs/pr-assets/6532/before-tools-dialog.png b/docs/pr-assets/6532/before-tools-dialog.png
new file mode 100644
index 000000000..a24ce557c
Binary files /dev/null and b/docs/pr-assets/6532/before-tools-dialog.png differ