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.51

Louis Beaumont6c3f350f66e3
diff --git a/screenpipe-app-tauri/components/global-chat.tsx b/screenpipe-app-tauri/components/global-chat.tsx
index 460ab86dd..73f3fba77 100644
--- a/screenpipe-app-tauri/components/global-chat.tsx
+++ b/screenpipe-app-tauri/components/global-chat.tsx
@@ -12,7 +12,7 @@ import { useSettings } from "@/lib/hooks/use-settings";
import { cn } from "@/lib/utils";
import { Loader2, Send, Square, User, X, Settings, ExternalLink } from "lucide-react";
import { motion, AnimatePresence } from "framer-motion";
-import { PipeAIIcon } from "@/components/pipe-ai-icon";
+import { PipeAIIcon, PipeAIIconLarge } from "@/components/pipe-ai-icon";
import { MemoizedReactMarkdown } from "@/components/markdown";
import { VideoComponent } from "@/components/rewind/video";
import { AIPresetsSelector } from "@/components/rewind/ai-presets-selector";
@@ -599,42 +599,67 @@ Always use these exact start_time and end_time values when searching, unless the
animate={{ opacity: 1, scale: 1 }}
exit={{ opacity: 0, scale: 0.9 }}
onClick={() => setOpen(true)}
- className="fixed bottom-4 right-4 z-50 flex items-center gap-1.5 px-2.5 py-1.5 rounded-full bg-background/80 backdrop-blur-sm border border-border/50 text-xs text-muted-foreground hover:text-foreground hover:bg-background transition-colors shadow-sm"
+ className="fixed bottom-4 right-4 z-50 group flex items-center gap-2 px-3 py-2 rounded-lg bg-background/90 backdrop-blur-md border border-border/50 hover:border-foreground/20 text-xs text-muted-foreground hover:text-foreground transition-all duration-200 shadow-lg shadow-black/5"
>
- <PipeAIIcon size={12} animated={false} />
- <span>{isMac ? "⌘L" : "Ctrl+L"}</span>
+ <div className="p-1 rounded bg-foreground/5 group-hover:bg-foreground/10 transition-colors">
+ <PipeAIIcon size={14} animated={false} />
+ </div>
+ <span className="font-mono text-[10px] uppercase tracking-wider">{isMac ? "⌘L" : "Ctrl+L"}</span>
</motion.button>
)}
</AnimatePresence>
<Dialog open={open} onOpenChange={setOpen}>
<DialogTitle className="sr-only">AI Chat</DialogTitle>
<CustomDialogContent
- className="p-0 max-w-2xl h-[70vh] flex flex-col"
+ className="p-0 max-w-2xl h-[70vh] flex flex-col overflow-hidden bg-background/95 backdrop-blur-xl border-border/50"
customClose={<X className="w-4 h-4" />}
>
- {/* Header */}
- <div className="flex items-center gap-2 p-3 pr-10 border-b">
- <PipeAIIcon size={20} animated={false} className="text-primary" />
- <span className="font-medium">Ask about your screen activity</span>
- <span className="text-xs text-muted-foreground ml-auto">{isMac ? "⌘L" : "Ctrl+L"} to toggle</span>
+ {/* Header - sleek geometric style */}
+ <div className="relative flex items-center gap-3 px-4 py-3 pr-12 border-b border-border/50 bg-gradient-to-r from-background to-muted/30">
+ {/* Geometric corner accent */}
+ <div className="absolute top-0 left-0 w-8 h-8 border-l-2 border-t-2 border-foreground/10 rounded-tl-lg" />
+
+ <div className="relative z-10 p-1.5 rounded-lg bg-foreground/5 border border-border/50">
+ <PipeAIIcon size={18} animated={false} className="text-foreground" />
+ </div>
+ <div className="flex-1">
+ <h2 className="font-semibold text-sm tracking-tight">Pipe AI</h2>
+ <p className="text-[10px] text-muted-foreground font-mono uppercase tracking-wider">Screen Activity Assistant</p>
+ </div>
+ <kbd className="hidden sm:inline-flex items-center gap-1 px-2 py-0.5 text-[10px] font-mono text-muted-foreground bg-muted/50 border border-border/50 rounded">
+ {isMac ? "⌘" : "Ctrl"}+L
+ </kbd>
</div>
- {/* Messages */}
- <div className="flex-1 overflow-y-auto p-4 space-y-4">
+ {/* Messages - with subtle pattern background */}
+ <div className="relative flex-1 overflow-y-auto p-4 space-y-4">
+ {/* Subtle geometric background pattern */}
+ <div className="absolute inset-0 opacity-[0.02] pointer-events-none" style={{
+ backgroundImage: `url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-width='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E")`,
+ }} />
+
{messages.length === 0 && disabledReason && (
- <div className="flex flex-col items-center justify-center py-12 space-y-4">
+ <div className="relative flex flex-col items-center justify-center py-12 space-y-4">
<div className={cn(
- "p-4 rounded-full",
- needsLogin ? "bg-muted" : "bg-destructive/10"
+ "relative p-6 rounded-2xl border",
+ needsLogin
+ ? "bg-muted/50 border-border/50"
+ : "bg-destructive/5 border-destructive/20"
)}>
+ {/* Corner accents */}
+ <div className="absolute top-0 left-0 w-4 h-4 border-l-2 border-t-2 border-current opacity-20 rounded-tl" />
+ <div className="absolute top-0 right-0 w-4 h-4 border-r-2 border-t-2 border-current opacity-20 rounded-tr" />
+ <div className="absolute bottom-0 left-0 w-4 h-4 border-l-2 border-b-2 border-current opacity-20 rounded-bl" />
+ <div className="absolute bottom-0 right-0 w-4 h-4 border-r-2 border-b-2 border-current opacity-20 rounded-br" />
+
{needsLogin ? (
- <PipeAIIcon size={32} animated={false} className="text-muted-foreground" />
+ <PipeAIIconLarge size={48} className="text-muted-foreground" />
) : (
- <Settings className="h-8 w-8 text-destructive" />
+ <Settings className="h-12 w-12 text-destructive/70" />
)}
</div>
<div className="text-center space-y-2">
- <h3 className="font-semibold">
+ <h3 className="font-semibold tracking-tight">
{!hasPresets ? "No AI Presets" : !hasValidModel ? "No Model Selected" : "Login Required"}
</h3>
<p className="text-sm text-muted-foreground max-w-sm">
@@ -645,7 +670,7 @@ Always use these exact start_time and end_time values when searching, unless the
<Button
variant="default"
onClick={() => openUrl("https://screenpi.pe/login")}
- className="gap-2"
+ className="gap-2 font-medium"
>
<ExternalLink className="h-4 w-4" />
Login
@@ -665,26 +690,33 @@ Always use these exact start_time and end_time values when searching, unless the
</Button>
)}
{hasPresets && !hasValidModel && (
- <p className="text-xs text-muted-foreground">
- Use the preset selector below to edit your preset and select a model
+ <p className="text-xs text-muted-foreground font-mono">
+ Use the preset selector below to configure a model
</p>
)}
</div>
)}
{messages.length === 0 && canChat && (
- <div className="text-center text-muted-foreground py-12">
- <div className="mx-auto mb-3 w-fit opacity-60">
- <PipeAIIcon size={32} thinking={false} />
+ <div className="relative text-center py-12">
+ {/* Geometric frame around icon */}
+ <div className="relative mx-auto mb-6 w-fit">
+ <div className="absolute -inset-4 border border-dashed border-border/50 rounded-xl" />
+ <div className="absolute -inset-2 border border-border/30 rounded-lg" />
+ <PipeAIIconLarge size={56} thinking={false} className="relative text-foreground/80" />
</div>
+
{selectionRange ? (
<>
- <p className="text-sm mb-1">
- Selected: {selectionRange.start.toLocaleString([], { month: "short", day: "numeric", hour: "2-digit", minute: "2-digit" })}
- {" - "}
- {selectionRange.end.toLocaleString([], { month: "short", day: "numeric", hour: "2-digit", minute: "2-digit" })}
- </p>
- <p className="text-xs opacity-70 mb-4">Ask about this time period</p>
- <div className="flex flex-wrap gap-2 justify-center">
+ <div className="inline-flex items-center gap-2 px-3 py-1.5 mb-4 bg-muted/50 border border-border/50 rounded-full">
+ <div className="w-1.5 h-1.5 bg-foreground/50 rounded-full" />
+ <span className="text-xs font-mono text-foreground/70">
+ {selectionRange.start.toLocaleString([], { month: "short", day: "numeric", hour: "2-digit", minute: "2-digit" })}
+ {" → "}
+ {selectionRange.end.toLocaleString([], { month: "short", day: "numeric", hour: "2-digit", minute: "2-digit" })}
+ </span>
+ </div>
+ <p className="text-xs text-muted-foreground mb-5 uppercase tracking-wider font-medium">Ask about this time period</p>
+ <div className="flex flex-wrap gap-2 justify-center max-w-md mx-auto">
{TIMELINE_SUGGESTIONS.map((suggestion) => (
<button
key={suggestion}
@@ -695,8 +727,9 @@ Always use these exact start_time and end_time values when searching, unless the
if (form) form.requestSubmit();
}, 50);
}}
- className="px-3 py-1.5 text-xs font-mono bg-muted/50 hover:bg-muted border border-border rounded-full text-muted-foreground hover:text-foreground transition-colors"
+ className="group px-4 py-2 text-xs bg-background hover:bg-muted border border-border/50 hover:border-border rounded-lg text-muted-foreground hover:text-foreground transition-all duration-200"
>
+ <span className="opacity-50 group-hover:opacity-100 transition-opacity mr-1">→</span>
{suggestion}
</button>
))}
@@ -704,10 +737,14 @@ Always use these exact start_time and end_time values when searching, unless the
</>
) : (
<>
- <p className="text-sm">Ask me anything about your screen activity!</p>
- <p className="text-xs mt-2 opacity-70">
- Try: &quot;What did I do in the last hour?&quot; or &quot;Find my Slack messages&quot;
+ <h3 className="text-base font-medium mb-2 text-foreground">Ask about your screen activity</h3>
+ <p className="text-sm text-muted-foreground mb-6">
+ Search your recordings, transcriptions, and interactions
</p>
+ <div className="flex flex-wrap gap-2 justify-center max-w-sm mx-auto text-xs text-muted-foreground">
+ <span className="px-2 py-1 bg-muted/30 rounded border border-border/30 font-mono">&quot;What did I do in the last hour?&quot;</span>
+ <span className="px-2 py-1 bg-muted/30 rounded border border-border/30 font-mono">&quot;Find my Slack messages&quot;</span>
+ </div>
</>
)}
</div>
@@ -719,18 +756,18 @@ Always use these exact start_time and end_time values when searching, unless the
initial={{ opacity: 0, y: 10 }}
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: -10 }}
- transition={{ duration: 0.2, delay: index === messages.length - 1 ? 0 : 0 }}
+ transition={{ duration: 0.2 }}
className={cn(
- "flex gap-3",
+ "relative flex gap-3",
message.role === "user" ? "flex-row-reverse" : "flex-row"
)}
>
<div
className={cn(
- "flex h-8 w-8 shrink-0 items-center justify-center rounded-full",
+ "flex h-8 w-8 shrink-0 items-center justify-center rounded-lg border transition-colors",
message.role === "user"
- ? "bg-primary text-primary-foreground"
- : "bg-muted text-muted-foreground"
+ ? "bg-foreground text-background border-foreground"
+ : "bg-muted/50 text-foreground border-border/50"
)}
>
{message.role === "user" ? (
@@ -741,12 +778,16 @@ Always use these exact start_time and end_time values when searching, unless the
</div>
<div
className={cn(
- "flex-1 rounded-lg px-4 py-3 text-sm",
+ "relative flex-1 rounded-xl px-4 py-3 text-sm border",
message.role === "user"
- ? "bg-primary text-primary-foreground"
- : "bg-muted"
+ ? "bg-foreground text-background border-foreground"
+ : "bg-muted/30 border-border/50"
)}
>
+ {/* Subtle corner accent on AI messages */}
+ {message.role === "assistant" && (
+ <div className="absolute top-0 left-0 w-3 h-3 border-l border-t border-foreground/10 rounded-tl-xl" />
+ )}
<MemoizedReactMarkdown
className={cn(
"prose prose-sm max-w-none",
@@ -755,7 +796,7 @@ Always use these exact start_time and end_time values when searching, unless the
remarkPlugins={[remarkGfm]}
components={{
p({ children }) {
- return <p className="mb-2 last:mb-0">{children}</p>;
+ return <p className="mb-2 last:mb-0 leading-relaxed">{children}</p>;
},
a({ href, children, ...props }) {
const isMediaLink = href?.toLowerCase().match(/\.(mp4|mp3|wav|webm)$/);
@@ -763,7 +804,7 @@ Always use these exact start_time and end_time values when searching, unless the
return <VideoComponent filePath={href} className="my-2" />;
}
return (
- <a href={href} target="_blank" rel="noopener noreferrer" {...props}>
+ <a href={href} target="_blank" rel="noopener noreferrer" className="underline underline-offset-2" {...props}>
{children}
</a>
);
@@ -777,7 +818,7 @@ Always use these exact start_time and end_time values when searching, unless the
}
return (
- <code className="px-1 py-0.5 rounded-sm bg-muted font-mono text-xs" {...props}>
+ <code className="px-1.5 py-0.5 rounded bg-background/50 border border-border/50 font-mono text-xs" {...props}>
{content}
</code>
);
@@ -792,41 +833,55 @@ Always use these exact start_time and end_time values when searching, unless the
</AnimatePresence>
{isLoading && !messages.find(m => m.content.includes("Searching")) && (
<motion.div
- initial={{ opacity: 0 }}
- animate={{ opacity: 1 }}
- className="flex items-center gap-2 text-muted-foreground"
+ initial={{ opacity: 0, y: 5 }}
+ animate={{ opacity: 1, y: 0 }}
+ className="flex items-center gap-3 px-4 py-3 bg-muted/30 rounded-xl border border-border/50 w-fit"
>
- <PipeAIIcon size={16} thinking={true} />
- <span className="text-sm">Thinking...</span>
+ <PipeAIIcon size={18} thinking={true} className="text-foreground/70" />
+ <span className="text-sm text-muted-foreground font-medium">Processing...</span>
</motion.div>
)}
<div ref={messagesEndRef} />
</div>
- {/* AI Preset Selector & Input */}
- <div className="border-t">
- <div className="p-2 border-b">
+ {/* AI Preset Selector & Input - refined styling */}
+ <div className="relative border-t border-border/50 bg-gradient-to-t from-muted/20 to-transparent">
+ {/* Geometric accent line */}
+ <div className="absolute top-0 left-4 right-4 h-px bg-gradient-to-r from-transparent via-border/50 to-transparent" />
+
+ <div className="p-2 border-b border-border/30">
<AIPresetsSelector onPresetChange={setActivePreset} />
</div>
<form onSubmit={handleSubmit} className="p-3">
<div className="flex gap-2">
- <Input
- ref={inputRef}
- value={input}
- onChange={(e) => setInput(e.target.value)}
- placeholder={
- disabledReason
- ? disabledReason
- : "Ask about your screen activity..."
- }
- disabled={isLoading || !canChat}
- className={cn("flex-1", disabledReason && "border-destructive/50")}
- />
+ <div className="relative flex-1">
+ <Input
+ ref={inputRef}
+ value={input}
+ onChange={(e) => setInput(e.target.value)}
+ placeholder={
+ disabledReason
+ ? disabledReason
+ : "Ask about your screen activity..."
+ }
+ disabled={isLoading || !canChat}
+ className={cn(
+ "flex-1 bg-background/50 border-border/50 focus:border-foreground/30 focus:ring-foreground/10 transition-colors",
+ disabledReason && "border-destructive/50"
+ )}
+ />
+ </div>
<Button
type={isStreaming ? "button" : "submit"}
size="icon"
disabled={(!input.trim() && !isStreaming) || !canChat}
onClick={isStreaming ? handleStop : undefined}
+ className={cn(
+ "shrink-0 transition-all duration-200",
+ isStreaming
+ ? "bg-destructive hover:bg-destructive/90"
+ : "bg-foreground hover:bg-foreground/90 text-background"
+ )}
>
{isStreaming ? (
<Square className="h-4 w-4" />
diff --git a/screenpipe-app-tauri/components/pipe-ai-icon.tsx b/screenpipe-app-tauri/components/pipe-ai-icon.tsx
index d64114ee7..dd7a08863 100644
--- a/screenpipe-app-tauri/components/pipe-ai-icon.tsx
+++ b/screenpipe-app-tauri/components/pipe-ai-icon.tsx
@@ -6,125 +6,258 @@ import { cn } from "@/lib/utils";
interface PipeAIIconProps {
className?: string;
size?: number;
- animated?: boolean;
thinking?: boolean;
+ animated?: boolean;
}
/**
- * Animated Pipe AI Icon
- * Geometric, Escher-inspired design with flowing data animation
+ * Pipe AI Icon - A recognizable pipe with flowing data particles
+ * Inspired by classic plumbing pipe with data visualization
*/
export function PipeAIIcon({
className,
size = 24,
- animated = true,
thinking = false,
+ animated = true,
}: PipeAIIconProps) {
- // Data flow particles
- const particles = [0, 1, 2];
+ const duration = thinking ? 0.5 : 1.0;
+ const scale = size / 24;
return (
- <motion.svg
+ <svg
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={cn("text-current", className)}
- initial={{ opacity: 0, scale: 0.8 }}
- animate={{ opacity: 1, scale: 1 }}
- transition={{ duration: 0.3 }}
>
- {/* Main pipe structure - L-shaped */}
- <motion.path
- d="M4 4h6v2H6v12h12v-6h2v8H4V4z"
+ {/* Main pipe body - horizontal tube */}
+ <rect
+ x="4"
+ y="9"
+ width="16"
+ height="6"
+ rx="1"
+ fill="currentColor"
+ fillOpacity={0.15}
+ stroke="currentColor"
+ strokeWidth="1.5"
+ />
+
+ {/* Left pipe connector/flange */}
+ <rect
+ x="2"
+ y="7"
+ width="4"
+ height="10"
+ rx="1"
+ fill="currentColor"
+ fillOpacity={0.1}
+ stroke="currentColor"
+ strokeWidth="1.5"
+ />
+
+ {/* Right pipe connector/flange */}
+ <rect
+ x="18"
+ y="7"
+ width="4"
+ height="10"
+ rx="1"
+ fill="currentColor"
+ fillOpacity={0.1}
+ stroke="currentColor"
+ strokeWidth="1.5"
+ />
+
+ {/* Pipe inner highlight line */}
+ <line
+ x1="6"
+ y1="12"
+ x2="18"
+ y2="12"
+ stroke="currentColor"
+ strokeWidth="0.5"
+ strokeOpacity={0.3}
+ />
+
+ {/* Flowing data particles */}
+ {animated ? (
+ <>
+ {[0, 1, 2].map((i) => (
+ <motion.circle
+ key={i}
+ cy="12"
+ r="1.5"
+ fill="currentColor"
+ initial={{ cx: 7, opacity: 0 }}
+ animate={{
+ cx: [7, 12, 17],
+ opacity: [0, 1, 0],
+ }}
+ transition={{
+ duration,
+ repeat: Infinity,
+ delay: i * (duration / 3),
+ ease: "easeInOut",
+ }}
+ />
+ ))}
+ </>
+ ) : (
+ <>
+ {/* Static data dots when not animated */}
+ <circle cx="9" cy="12" r="1.2" fill="currentColor" fillOpacity={0.5} />
+ <circle cx="12" cy="12" r="1.2" fill="currentColor" fillOpacity={0.7} />
+ <circle cx="15" cy="12" r="1.2" fill="currentColor" fillOpacity={0.5} />
+ </>
+ )}
+ </svg>
+ );
+}
+
+/**
+ * Larger, more detailed Pipe AI Icon for headers and empty states
+ */
+export function PipeAIIconLarge({
+ className,
+ size = 48,
+ thinking = false,
+}: {
+ className?: string;
+ size?: number;
+ thinking?: boolean;
+}) {
+ const duration = thinking ? 0.4 : 0.8;
+
+ return (
+ <svg
+ width={size}
+ height={size}
+ viewBox="0 0 48 48"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ className={cn("text-current", className)}
+ >
+ {/* Background glow effect */}
+ <circle
+ cx="24"
+ cy="24"
+ r="20"
fill="currentColor"
- initial={{ pathLength: 0 }}
- animate={{ pathLength: 1 }}
- transition={{ duration: 0.6, ease: "easeOut" }}
+ fillOpacity={0.05}
/>
- {/* Inner pipe hollow */}
- <motion.path
- d="M8 8h2v8h8v2H8V8z"
+ {/* Main pipe body */}
+ <rect
+ x="8"
+ y="18"
+ width="32"
+ height="12"
+ rx="2"
fill="currentColor"
- fillOpacity={0.3}
- initial={{ opacity: 0 }}
- animate={{ opacity: 0.3 }}
- transition={{ delay: 0.3, duration: 0.3 }}
+ fillOpacity={0.1}
+ stroke="currentColor"
+ strokeWidth="2"
/>
- {/* Pipe opening top */}
- <motion.rect
+ {/* Left flange with detail */}
+ <rect
x="4"
- y="2"
+ y="14"
width="8"
- height="2"
+ height="20"
+ rx="2"
fill="currentColor"
- initial={{ scaleX: 0 }}
- animate={{ scaleX: 1 }}
- transition={{ delay: 0.2, duration: 0.3 }}
- style={{ transformOrigin: "left" }}
+ fillOpacity={0.08}
+ stroke="currentColor"
+ strokeWidth="2"
/>
+ <line x1="8" y1="16" x2="8" y2="32" stroke="currentColor" strokeWidth="1" strokeOpacity={0.3} />
- {/* Pipe opening right */}
- <motion.rect
- x="20"
+ {/* Right flange with detail */}
+ <rect
+ x="36"
y="14"
- width="2"
- height="8"
+ width="8"
+ height="20"
+ rx="2"
fill="currentColor"
- initial={{ scaleY: 0 }}
- animate={{ scaleY: 1 }}
- transition={{ delay: 0.2, duration: 0.3 }}
- style={{ transformOrigin: "bottom" }}
+ fillOpacity={0.08}
+ stroke="currentColor"
+ strokeWidth="2"
/>
+ <line x1="40" y1="16" x2="40" y2="32" stroke="currentColor" strokeWidth="1" strokeOpacity={0.3} />
- {/* Flowing data particles */}
- {animated && particles.map((i) => (
+ {/* Inner pipe highlight */}
+ <line
+ x1="12"
+ y1="24"
+ x2="36"
+ y2="24"
+ stroke="currentColor"
+ strokeWidth="1"
+ strokeOpacity={0.2}
+ />
+
+ {/* Flowing data particles - larger and more visible */}
+ {[0, 1, 2, 3].map((i) => (
<motion.circle
key={i}
- r={1.5}
+ cy="24"
+ r="2.5"
fill="currentColor"
- initial={{ cx: 7, cy: 3, opacity: 0 }}
- animate={
- thinking
- ? {
- cx: [7, 7, 11, 11, 21],
- cy: [3, 11, 11, 19, 19],
- opacity: [0, 1, 1, 1, 0],
- }
- : {
- cx: [7, 7, 11, 11, 21],
- cy: [3, 11, 11, 19, 19],
- opacity: [0, 0.8, 0.8, 0.8, 0],
- }
- }
+ initial={{ cx: 14, opacity: 0, scale: 0.5 }}
+ animate={{
+ cx: [14, 24, 34],
+ opacity: [0, 1, 0],
+ scale: [0.5, 1, 0.5],
+ }}
transition={{
- duration: thinking ? 1.2 : 2,
+ duration,
repeat: Infinity,
- delay: i * (thinking ? 0.3 : 0.5),
+ delay: i * (duration / 4),
ease: "easeInOut",
}}
/>
))}
- {/* Corner accent - geometric detail */}
- <motion.path
- d="M14 6l2 2-2 2-2-2 2-2z"
- fill="currentColor"
- fillOpacity={0.6}
- initial={{ scale: 0, rotate: 45 }}
- animate={{ scale: 1, rotate: 0 }}
- transition={{ delay: 0.5, duration: 0.3, type: "spring" }}
- style={{ transformOrigin: "14px 8px" }}
+ {/* Decorative corner accents - geometric Escher-inspired */}
+ <path
+ d="M4 10 L8 10 L8 14"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ strokeOpacity={0.3}
+ fill="none"
/>
- </motion.svg>
+ <path
+ d="M44 10 L40 10 L40 14"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ strokeOpacity={0.3}
+ fill="none"
+ />
+ <path
+ d="M4 38 L8 38 L8 34"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ strokeOpacity={0.3}
+ fill="none"
+ />
+ <path
+ d="M44 38 L40 38 L40 34"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ strokeOpacity={0.3}
+ fill="none"
+ />
+ </svg>
);
}
/**
- * Static version for non-animated contexts
+ * Static version for contexts where animation isn't needed
*/
export function PipeAIIconStatic({
className,
@@ -133,20 +266,5 @@ export function PipeAIIconStatic({
className?: string;
size?: number;
}) {
- return (
- <svg
- width={size}
- height={size}
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- className={cn("text-current", className)}
- >
- <path d="M4 4h6v2H6v12h12v-6h2v8H4V4z" fill="currentColor" />
- <path d="M8 8h2v8h8v2H8V8z" fill="currentColor" fillOpacity={0.3} />
- <rect x="4" y="2" width="8" height="2" fill="currentColor" />
- <rect x="20" y="14" width="2" height="8" fill="currentColor" />
- <path d="M14 6l2 2-2 2-2-2 2-2z" fill="currentColor" fillOpacity={0.6} />
- </svg>
- );
+ return <PipeAIIcon className={className} size={size} animated={false} />;
}
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index 5518ed4d5..380808fd8 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -5629,7 +5629,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "screenpipe-app"
-version = "2.0.44"
+version = "2.0.51"
dependencies = [
"anyhow",
"async-stream",
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 174dfcb94..909de5a29 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.50"
+version = "2.0.51"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""