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

feat: auth + stripe, fix: pipe store subcommand

Louis Beaumont22105fe48a3b
diff --git a/.cargo/config.toml b/.cargo/config.toml
index ad038201e..dfae75492 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -16,10 +16,4 @@ rustflags = [
[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "link-arg=-Wl,--allow-multiple-definition"]
-[target.aarch64-apple-darwin]
-rustflags = ["-L", "screenpipe-vision/lib"]
-
-[target.x86_64-apple-darwin]
-rustflags = ["-L", "screenpipe-vision/lib"]
-
diff --git a/examples/typescript/pipe-for-loom/components/header.tsx b/examples/typescript/pipe-for-loom/components/header.tsx
index 7da8d4e7f..360e0363c 100644
--- a/examples/typescript/pipe-for-loom/components/header.tsx
+++ b/examples/typescript/pipe-for-loom/components/header.tsx
@@ -8,7 +8,7 @@ export default function Header() {
src="/128x128.png"
alt="screenpipe-logo"
/>
- <h1 className="font-bold text-center text-2xl">Screenpipe</h1>
+ <h1 className="font-bold text-center text-2xl">screenpipe</h1>
</div>
);
}
diff --git a/screenpipe-app-tauri/app/layout.tsx b/screenpipe-app-tauri/app/layout.tsx
index 382bc7bc6..6d1a91b12 100644
--- a/screenpipe-app-tauri/app/layout.tsx
+++ b/screenpipe-app-tauri/app/layout.tsx
@@ -3,6 +3,7 @@ import { Inter } from "next/font/google";
import "./globals.css";
import { Providers } from "./providers";
import { Toaster } from "@/components/ui/toaster";
+import { ClerkProvider } from "@clerk/nextjs";
const inter = Inter({ subsets: ["latin"] });
@@ -18,14 +19,23 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
- <Providers>
- {/* https://posthog.com/docs/libraries/next-js for more info */}
- <body className={inter.className}>
- {children}
-
- <Toaster />
- </body>
- </Providers>
+ <ClerkProvider
+ publishableKey="pk_live_Y2xlcmsudGF1cmkubG9jYWxob3N0JA"
+ appearance={{
+ baseTheme: undefined,
+ layout: {
+ socialButtonsPlacement: "bottom",
+ socialButtonsVariant: "blockButton",
+ },
+ }}
+ >
+ <Providers>
+ <body className={inter.className}>
+ {children}
+ <Toaster />
+ </body>
+ </Providers>
+ </ClerkProvider>
</html>
);
}
diff --git a/screenpipe-app-tauri/components/auth.tsx b/screenpipe-app-tauri/components/auth.tsx
new file mode 100644
index 000000000..cd8d3739c
--- /dev/null
+++ b/screenpipe-app-tauri/components/auth.tsx
@@ -0,0 +1,38 @@
+import { SignInButton, SignOutButton, useUser } from "@clerk/nextjs";
+import { Button } from "./ui/button";
+import { useEffect } from "react";
+import posthog from "posthog-js";
+import { useSettings } from "@/lib/hooks/use-settings";
+export function AuthButton() {
+ const { isSignedIn, user } = useUser();
+ const { settings } = useSettings();
+
+ useEffect(() => {
+ posthog.identify(settings.userId, {
+ email: user?.primaryEmailAddress?.emailAddress,
+ clerkId: user?.id,
+ });
+ posthog.setPersonProperties({
+ email: user?.primaryEmailAddress?.emailAddress,
+ clerkId: user?.id,
+ });
+ }, [isSignedIn, user, settings.userId]);
+
+ return (
+ <div >
+ {isSignedIn ? (
+ <SignOutButton>
+ <Button variant="outline">
+ sign out
+ </Button>
+ </SignOutButton>
+ ) : (
+ <SignInButton mode="redirect">
+ <Button variant="outline">
+ sign in
+ </Button>
+ </SignInButton>
+ )}
+ </div>
+ );
+}
diff --git a/screenpipe-app-tauri/components/meeting-history.tsx b/screenpipe-app-tauri/components/meeting-history.tsx
index 8cfa5c5bb..6b6b7a6f3 100644
--- a/screenpipe-app-tauri/components/meeting-history.tsx
+++ b/screenpipe-app-tauri/components/meeting-history.tsx
@@ -146,10 +146,6 @@ export default function MeetingHistory() {
useEffect(() => {
if (posthog) {
posthog.identify(settings.userId);
- posthog.people.set({
- userId: settings.userId,
- // Add any other relevant user properties
- });
}
}, [posthog, settings.userId]);
diff --git a/screenpipe-app-tauri/components/pipe-store.tsx b/screenpipe-app-tauri/components/pipe-store.tsx
index 82e295996..583f3fd59 100644
--- a/screenpipe-app-tauri/components/pipe-store.tsx
+++ b/screenpipe-app-tauri/components/pipe-store.tsx
@@ -51,6 +51,8 @@ import {
} from "@/components/ui/collapsible";
import { LogFileButton } from "./log-file-button";
import { useSettings } from "@/lib/hooks/use-settings";
+import { useUser } from "@clerk/nextjs";
+import { StripeSubscriptionButton } from "./stripe-subscription-button";
export interface Pipe {
enabled: boolean;
@@ -69,7 +71,8 @@ interface CorePipe {
const corePipes: CorePipe[] = [
{
id: "pipe-for-loom",
- description: "automatically summarize loom videos and add them to your notes",
+ description:
+ "generate looms from your screenpipe data",
url: "https://github.com/mediar-ai/screenpipe/tree/main/examples/typescript/pipe-for-loom",
},
{
@@ -96,12 +99,14 @@ const corePipes: CorePipe[] = [
url: "https://github.com/mediar-ai/screenpipe/tree/main/examples/typescript/pipe-simple-nextjs",
},
];
+
const PipeDialog: React.FC = () => {
const [newRepoUrl, setNewRepoUrl] = useState("");
const [selectedPipe, setSelectedPipe] = useState<Pipe | null>(null);
const [pipes, setPipes] = useState<Pipe[]>([]);
const { health } = useHealthCheck();
const { getDataDir } = useSettings();
+ const { isSignedIn } = useUser();
useEffect(() => {
fetchInstalledPipes();
@@ -116,17 +121,17 @@ const PipeDialog: React.FC = () => {
await cmd.execute();
await new Promise((resolve) => setTimeout(resolve, 1000));
toast({
- title: "All pipes deleted",
- description: "The pipes folder has been reset.",
+ title: "all pipes deleted",
+ description: "the pipes folder has been reset.",
});
// Refresh the pipe list and installed pipes
await fetchInstalledPipes();
setSelectedPipe(null);
} catch (error) {
- console.error("Failed to reset pipes:", error);
+ console.error("failed to reset pipes:", error);
toast({
- title: "Error resetting pipes",
- description: "Please try again or check the logs for more information.",
+ title: "error resetting pipes",
+ description: "please try again or check the logs for more information.",
variant: "destructive",
});
} finally {
@@ -134,16 +139,18 @@ const PipeDialog: React.FC = () => {
setPipes([]);
}
};
- // console.log("pipes", pipes);
+
const fetchInstalledPipes = async () => {
if (!health || health?.status === "error") {
return;
}
const dataDir = await getDataDir();
try {
- const cmd = Command.sidecar("screenpipe", ["pipe", "list", "-o", "json"]);
- const output = await cmd.execute();
- const data = JSON.parse(output.stdout).data;
+ const response = await fetch("http://localhost:3030/pipes/list");
+ if (!response.ok) {
+ throw new Error("failed to fetch installed pipes");
+ }
+ const data = (await response.json()).data;
for (const pipe of data) {
const pathToReadme = await join(dataDir, "pipes", pipe.id, "README.md");
@@ -172,6 +179,7 @@ const PipeDialog: React.FC = () => {
});
}
};
+
const handleDownloadPipe = async (url: string) => {
try {
posthog.capture("download_pipe", {
@@ -182,14 +190,17 @@ const PipeDialog: React.FC = () => {
description: "please wait...",
});
- const cmd = Command.sidecar("screenpipe", [
- "pipe",
- "download",
- url,
- "-o",
- "json",
- ]);
- await cmd.execute();
+ const response = await fetch(`http://localhost:3030/pipes/download`, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ body: JSON.stringify({ url }),
+ });
+ if (!response.ok) {
+ throw new Error("failed to download pipe");
+ }
+ const data = await response.json();
toast({
title: "pipe downloaded",
@@ -206,31 +217,52 @@ const PipeDialog: React.FC = () => {
};
const handleToggleEnabled = async (pipe: Pipe) => {
+ if (pipe.id === "pipe-for-loom" && !pipe.enabled) {
+ const isSubscribed = localStorage.getItem('loom_pipe_subscribed') === 'true';
+ if (!isSubscribed) {
+ toast({
+ title: "Subscription required",
+ description: "Please subscribe to use the Loom pipe",
+ });
+ return;
+ }
+ }
+
try {
posthog.capture("toggle_pipe", {
pipe_id: pipe.id,
enabled: !pipe.enabled,
});
- toast({
- title: pipe.enabled ? "disabling pipe" : "enabling pipe",
- description: "this may take a few moments...",
- });
+ if (!pipe.enabled) {
+ await fetch(`http://localhost:3030/pipes/enable`, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ body: JSON.stringify({ pipe_id: pipe.id }),
+ });
- const cmd = Command.sidecar("screenpipe", [
- "pipe",
- pipe.enabled ? "disable" : "enable",
- pipe.id,
- ]);
- await cmd.execute();
+ toast({
+ title: "enabling pipe",
+ description: "this may take a few moments...",
+ });
+ } else {
+ await fetch(`http://localhost:3030/pipes/disable`, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ body: JSON.stringify({ pipe_id: pipe.id }),
+ });
- await new Promise((resolve) => setTimeout(resolve, 1000));
+ toast({
+ title: "disabling pipe",
+ description: "this may take a few moments...",
+ });
+ }
- toast({
- title: pipe.enabled ? "pipe disabled" : "pipe enabled",
- description:
- "screenpipe has been updated with the new configuration. please restart screenpipe now in status badge",
- });
+ await new Promise((resolve) => setTimeout(resolve, 1000));
if (selectedPipe && selectedPipe.id === pipe.id) {
setSelectedPipe((prevPipe) =>
@@ -315,14 +347,16 @@ const PipeDialog: React.FC = () => {
const handleConfigSave = async (config: Record<string, any>) => {
if (selectedPipe) {
try {
- const cmd = Command.sidecar("screenpipe", [
- "pipe",
- "update",
- selectedPipe.id,
- JSON.stringify(config),
- ]);
- await cmd.execute();
-
+ const response = await fetch(`http://localhost:3030/pipes/update`, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ body: JSON.stringify({ pipe_id: selectedPipe.id, config }),
+ });
+ if (!response.ok) {
+ throw new Error("failed to update pipe config");
+ }
toast({
title: "Configuration saved",
description: "The pipe configuration has been updated.",
@@ -349,13 +383,17 @@ const PipeDialog: React.FC = () => {
description: "please wait...",
});
- const cmd = Command.sidecar("screenpipe", [
- "pipe",
- "delete",
- pipe.id,
- "-y",
- ]);
- await cmd.execute();
+ const response = await fetch(`http://localhost:3030/pipes/delete`, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ body: JSON.stringify({ pipe_id: pipe.id }),
+ });
+
+ if (!response.ok) {
+ throw new Error("failed to delete pipe");
+ }
await fetchInstalledPipes();
setSelectedPipe(null);
@@ -366,7 +404,7 @@ const PipeDialog: React.FC = () => {
} catch (error) {
console.error("failed to delete pipe:", error);
toast({
- title: "error deleting pipe",
+ title: "error deleting pipe",
description: "please try again or check the logs for more information.",
variant: "destructive",
});
@@ -396,15 +434,20 @@ const PipeDialog: React.FC = () => {
<h2 className="text-2xl font-bold mb-2">{selectedPipe.id}</h2>
<div className="flex space-x-2 mb-4">
- <Button
- onClick={() => handleToggleEnabled(selectedPipe)}
- variant={selectedPipe.enabled ? "default" : "outline"}
- disabled={health?.status === "error"}
- >
- <Power className="mr-2 h-4 w-4" />
- {selectedPipe.enabled ? "disable" : "enable"}
- </Button>
-
+ {selectedPipe.id === "pipe-for-loom" && !selectedPipe.enabled && !localStorage.getItem("loom_pipe_subscribed") ? (
+ <StripeSubscriptionButton
+ onSubscriptionComplete={() => handleToggleEnabled(selectedPipe)}
+ />
+ ) : (
+ <Button
+ onClick={() => handleToggleEnabled(selectedPipe)}
+ variant={selectedPipe.enabled ? "default" : "outline"}
+ disabled={health?.status === "error"}
+ >
+ <Power className="mr-2 h-4 w-4" />
+ {selectedPipe.enabled ? "disable" : "enable"}
+ </Button>
+ )}
{!selectedPipe.source?.startsWith("https://") && (
<TooltipProvider>
<Tooltip>
@@ -429,8 +472,7 @@ const PipeDialog: React.FC = () => {
onClick={() => openUrl(selectedPipe.source)}
variant="outline"
>
- <ExternalLink className="mr-2 h-4 w-4" />
- view source
+ <ExternalLink className="h-4 w-4" />
</Button>
)}
<LogFileButton />
@@ -438,8 +480,7 @@ const PipeDialog: React.FC = () => {
onClick={() => handleDeletePipe(selectedPipe)}
variant="outline"
>
- <Trash2 className="mr-2 h-4 w-4" />
- delete
+ <Trash2 className=" h-4 w-4" />
</Button>
</div>
<Separator className="my-4" />
@@ -606,50 +647,29 @@ const PipeDialog: React.FC = () => {
);
};
- // Add this function to handle refreshing from disk
const handleRefreshFromDisk = async (pipe: Pipe) => {
try {
posthog.capture("refresh_pipe_from_disk", {
pipe_id: pipe.id,
});
- // First disable the pipe if it's enabled
- if (pipe.enabled) {
- const disableCmd = Command.sidecar("screenpipe", [
- "pipe",
- "disable",
- pipe.id,
- ]);
- await disableCmd.execute();
- }
-
toast({
title: "refreshing pipe",
description: "please wait...",
});
- // Download/refresh the pipe
- const downloadCmd = Command.sidecar("screenpipe", [
- "pipe",
- "download",
- pipe.source,
- "-o",
- "json",
- ]);
- await downloadCmd.execute();
-
- // Re-enable the pipe if it was enabled before
- if (pipe.enabled) {
- const enableCmd = Command.sidecar("screenpipe", [
- "pipe",
- "enable",
- pipe.id,
- ]);
- await enableCmd.execute();
+ const response = await fetch(`http://localhost:3030/pipes/download`, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ body: JSON.stringify({ url: pipe.source }),
+ });
+ if (!response.ok) {
+ throw new Error("failed to refresh pipe");
}
await fetchInstalledPipes();
-
toast({
title: "pipe refreshed",
description: "the pipe has been successfully refreshed from disk.",
@@ -669,10 +689,22 @@ const PipeDialog: React.FC = () => {
const renderCorePipes = () => (
<div className="mb-3">
<h3 className="text-lg font-semibold mb-2">try these pipes</h3>
- <div className="flex flex-col overflow-hidden">
+ <div className="flex flex-col overflow-hidden space-y-2">
{corePipes.map((pipe) => (
<Card key={pipe.id} className="p-4">
- <h4 className="font-medium text-lg mb-2">{pipe.id}</h4>
+ <div className="flex justify-between items-start mb-2">
+ <h4 className="font-medium text-lg">{pipe.id}</h4>
+ <Button
+ size="icon"
+ variant="ghost"
+ onClick={(e) => {
+ e.stopPropagation();
+ openUrl(pipe.url);
+ }}
+ >
+ <ExternalLink className="h-4 w-4" />
+ </Button>
+ </div>
<p className="text-sm text-gray-500 mb-4">{pipe.description}</p>
<Button
size="sm"
@@ -789,12 +821,12 @@ const PipeDialog: React.FC = () => {
screenpipe&apos;s store is a collection of plugins called
&quot;pipes&quot; that are available to install.
<br />
- it will process, annotate, help you search, automate in your
- screenpipe&apos;s data, or anything else you can imagine that help
- you get more out of your recordings.
+ it will process, annotate, automate in your screenpipe&apos;s data,
+ or anything else you can imagine that help you get more out of your
+ recordings.
+ <br />
+ revenue from paid pipes goes directly to community contributors who maintain them.
<br />
- make sure to restart screenpipe after changing a pipe&apos;s
- configuration.
<a
href="https://docs.screenpi.pe/docs/plugins"
className="text-blue-500 hover:underline"
@@ -814,7 +846,6 @@ const PipeDialog: React.FC = () => {
export default PipeDialog;
-// Add this new component
const RetryableVideo = ({
src,
maxRetries = 3,
diff --git a/screenpipe-app-tauri/components/settings.tsx b/screenpipe-app-tauri/components/settings.tsx
index f4222b46d..39ab477a7 100644
--- a/screenpipe-app-tauri/components/settings.tsx
+++ b/screenpipe-app-tauri/components/settings.tsx
@@ -21,9 +21,10 @@ import {
import { Separator } from "@/components/ui/separator";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { Textarea } from "./ui/textarea";
-import { Slider } from "@/components/ui/slider"; // Add this import
-import { Badge } from "@/components/ui/badge"; // Add this import
-import { parseKeyboardShortcut } from "@/lib/utils"; // Add this import
+import { Slider } from "@/components/ui/slider";
+import { Badge } from "@/components/ui/badge";
+import { parseKeyboardShortcut } from "@/lib/utils";
+import { ExternalAuthButton } from "./external-auth-button";
import {
Eye,
@@ -55,6 +56,7 @@ import {
SelectValue,
} from "@/components/ui/select";
import { useInterval } from "@/lib/hooks/use-interval";
+import { AuthButton } from "./auth";
export function Settings({ className }: { className?: string }) {
const { settings, updateSettings, resetSetting } = useSettings();
@@ -490,19 +492,20 @@ export function Settings({ className }: { className?: string }) {
</DialogTrigger>
<DialogContent className="max-w-[80vw] w-full max-h-[80vh] h-full overflow-y-auto">
<DialogHeader>
- <div className="flex items-center justify-between">
- <DialogTitle>settings</DialogTitle>
- <Badge className="mr-4">$200 cloud credits</Badge>
+ <div className="flex flex-col items-end space-y-2">
+ <div className="w-full flex justify-between items-center">
+ <DialogTitle>settings</DialogTitle>
+ <Badge className="mr-4">$200 cloud credits</Badge>
+ </div>
+ <div className="flex items-center space-x-2">
+ <AuthButton />
+ </div>
</div>
- <DialogDescription>
- choose your AI provider, enter necessary credentials, and more.
- </DialogDescription>
</DialogHeader>
<div className="mt-8 space-y-6">
<RecordingSettings
localSettings={localSettings}
- setLocalSettings={setLocalSettings}
- />
+ setLocalSettings={setLocalSettings} />
<Separator />
diff --git a/screenpipe-app-tauri/components/stripe-subscription-button.tsx b/screenpipe-app-tauri/components/stripe-subscription-button.tsx
new file mode 100644
index 000000000..e9f11ddae
--- /dev/null
+++ b/screenpipe-app-tauri/components/stripe-subscription-button.tsx
@@ -0,0 +1,70 @@
+import { Button } from "@/components/ui/button";
+import { useUser } from "@clerk/nextjs";
+import { open } from "@tauri-apps/plugin-shell";
+import { toast } from "./ui/use-toast";
+import posthog from "posthog-js";
+import { useEffect, useState } from "react";
+
+interface StripeSubscriptionButtonProps {
+ onSubscriptionComplete?: () => void;
+}
+
+export function StripeSubscriptionButton({
+ onSubscriptionComplete,
+}: StripeSubscriptionButtonProps) {
+ const { user, isSignedIn } = useUser();
+ const [isSubscribed, setIsSubscribed] = useState(false);
+
+ useEffect(() => {
+ const subscribed = localStorage.getItem("loom_pipe_subscribed") === "true";
+ setIsSubscribed(subscribed);
+ }, []);
+
+ const handleSubscribe = async () => {
+ posthog.capture("subscribe_button_clicked", {
+ email: user?.primaryEmailAddress?.emailAddress,
+ });
+ if (!isSignedIn) {
+ toast({
+ title: "sign in required",
+ description: "please sign in to subscribe to the Loom pipe",
+ variant: "destructive",
+ });
+ return;
+ }
+
+ try {
+ // Direct Stripe Checkout URL with price_id
+ const checkoutUrl = `https://buy.stripe.com/28o00JcCq2JsgAE9AX?prefilled_email=${user.primaryEmailAddress?.emailAddress}&client_reference_id=${user.id}`;
+
+ // Open Stripe checkout in default browser
+ await open(checkoutUrl);
+
+ // Store subscription locally
+ localStorage.setItem("loom_pipe_subscribed", "true");
+ setIsSubscribed(true);
+
+ if (onSubscriptionComplete) {
+ onSubscriptionComplete();
+ }
+ } catch (error) {
+ console.error("failed to open stripe checkout:", error);
+ toast({
+ title: "error",
+ description: "failed to open subscription page. please try again.",
+ variant: "destructive",
+ });
+ }
+ };
+
+ return (
+ <Button
+ onClick={handleSubscribe}
+ variant="outline"
+ className="min-w-[100px]"
+ disabled={isSubscribed}
+ >
+ {isSubscribed ? "subscribed" : "subscribe - $10/month"}
+ </Button>
+ );
+}
diff --git a/screenpipe-app-tauri/package-lock.json b/screenpipe-app-tauri/package-lock.json
index 60dee5743..7e11c872d 100644
--- a/screenpipe-app-tauri/package-lock.json
+++ b/screenpipe-app-tauri/package-lock.json
@@ -7,7 +7,8 @@
"name": "screenpipe-app",
"dependencies": {
"@ai-sdk/openai": "^0.0.39",
- "@mlc-ai/web-llm": "^0.2.51",
+ "@clerk/nextjs": "^6.5.1",
+ "@dnd-kit/core": "^6.1.0",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/context-zone": "^1.22.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.49.1",
@@ -20,11 +21,11 @@
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-collapsible": "^1.1.0",
- "@radix-ui/react-dialog": "^1.1.1",
+ "@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.1.0",
- "@radix-ui/react-popover": "^1.1.1",
+ "@radix-ui/react-popover": "^1.1.2",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-scroll-area": "^1.1.0",
"@radix-ui/react-select": "^2.1.1",
@@ -34,8 +35,8 @@
"@radix-ui/react-switch": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"@radix-ui/react-toast": "^1.2.1",
- "@radix-ui/react-tooltip": "^1.1.2",
- "@tauri-apps/api": "^2.0.0",
+ "@radix-ui/react-tooltip": "^1.1.3",
+ "@tauri-apps/api": "^2.1.1",
"@tauri-apps/plugin-cli": "2.0.0",
"@tauri-apps/plugin-dialog": "2.0.0",
"@tauri-apps/plugin-fs": "2.0.0",
@@ -66,6 +67,7 @@
"react-day-picker": "8.10.1",
"react-dom": "^18",
"react-markdown": "^9.0.1",
+ "react-resizable-panels": "^2.1.6",
"react-syntax-highlighter": "^15.5.0",
"remark-gfm": "^4.0.0",
"remark-math": "^6.0.0",
@@ -76,12 +78,13 @@
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.13",
- "@tauri-apps/cli": "2.0.0",
+ "@tauri-apps/cli": "^2.1.0",
"@types/lodash": "^4.17.7",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react-syntax-highlighter": "^15.5.13",
+ "deps-analyzer": "^1.0.2",
"eslint": "^8",
"eslint-config-next": "14.2.4",
"postcss": "^8",
@@ -593,6 +596,157 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@clerk/backend": {
+ "version": "1.18.0",
+ "resolved": "https://registry.npmjs.org/@clerk/backend/-/backend-1.18.0.tgz",
+ "integrity": "sha512-FIGBtr8qIgS+NbovKcLOIg8BsQj1JaykW3VKft3H83tONQD5Rg9ENXj/JX1HyZGC3ixLv5BUxu4bihQ78L/gJQ==",
+ "dependencies": {
+ "@clerk/shared": "2.17.0",
+ "@clerk/types": "4.35.0",
+ "cookie": "0.7.0",
+ "snakecase-keys": "5.4.4",
+ "tslib": "2.4.1"
+ },
+ "engines": {
+ "node": ">=18.17.0"
+ }
+ },
+ "node_modules/@clerk/backend/node_modules/tslib": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz",
+ "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA=="
+ },
+ "node_modules/@clerk/clerk-react": {
+ "version": "5.17.1",
+ "resolved": "https://registry.npmjs.org/@clerk/clerk-react/-/clerk-react-5.17.1.tgz",
+ "integrity": "sha512-j8WfJcd0NrD2hvtc3EF5IcWos3ajbKz2Bmv5do3VKYoj2JG1M6UbT2jDJ0Qv2gV8Cks51VNp+YuP89gX5ZNnrQ==",
+ "dependencies": {
+ "@clerk/shared": "2.17.0",
+ "@clerk/types": "4.35.0",
+ "tslib": "2.4.1"
+ },
+ "engines": {
+ "node": ">=18.17.0"
+ },
+ "peerDependencies": {
+ "react": "^18 || ^19.0.0-0",
+ "react-dom": "^18 || ^19.0.0-0"
+ }
+ },
+ "node_modules/@clerk/clerk-react/node_modules/tslib": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz",
+ "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA=="
+ },
+ "node_modules/@clerk/nextjs": {
+ "version": "6.5.1",
+ "resolved": "https://registry.npmjs.org/@clerk/nextjs/-/nextjs-6.5.1.tgz",
+ "integrity": "sha512-/FS1wRMOZvEF7azI+DX/DoQ3Q49oqjC3R4GgJzKnd1TIXZxhnPQbM1OvOnwBa7OEieieaXm+aPko+EYPYnSy9A==",
+ "dependencies": {
+ "@clerk/backend": "1.18.0",
+ "@clerk/clerk-react": "5.17.1",
+ "@clerk/shared": "2.17.0",
+ "@clerk/types": "4.35.0",
+ "crypto-js": "4.2.0",
+ "ezheaders": "0.1.0",
+ "server-only": "0.0.1",
+ "tslib": "2.4.1"
+ },
+ "engines": {
+ "node": ">=18.17.0"
+ },
+ "peerDependencies": {
+ "next": "^13.5.4 || ^14.0.3 || ^15.0.0",
+ "react": "^18 || ^19.0.0-0",
+ "react-dom": "^18 || ^19.0.0-0"
+ }
+ },
+ "node_modules/@clerk/nextjs/node_modules/tslib": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz",
+ "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA=="
+ },
+ "node_modules/@clerk/shared": {
+ "version": "2.17.0",
+ "resolved": "https://registry.npmjs.org/@clerk/shared/-/shared-2.17.0.tgz",
+ "integrity": "sha512-Jn/oBGjGfQQJIiMMf6Y0puC62R0rL1l/gLoPWnO6vNlCBzuFHGcsSTCWWDpmAXfyVwY7wJ7Dcq/B1UEsKeJ8zQ==",
+ "hasInstallScript": true,
+ "dependencies": {
+ "@clerk/types": "4.35.0",
+ "dequal": "2.0.3",
+ "glob-to-regexp": "0.4.1",
+ "js-cookie": "3.0.5",
+ "std-env": "^3.7.0",
+ "swr": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=18.17.0"
+ },
+ "peerDependencies": {
+ "react": "^18 || ^19.0.0-0",
+ "react-dom": "^18 || ^19.0.0-0"
+ },
+ "peerDependenciesMeta": {
+ "react": {
+ "optional": true
+ },
+ "react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@clerk/types": {
+ "version": "4.35.0",
+ "resolved": "https://registry.npmjs.org/@clerk/types/-/types-4.35.0.tgz",
+ "integrity": "sha512-sBSYCCIXcwI+JHQRqBtskw10+rQ1NcA9w1G6ndnS48F5C+if6xI9OpYaaDjhhvzLjBeZFydKAOhe35mgC7bmoA==",
+ "dependencies": {
+ "csstype": "3.1.1"
+ },
+ "engines": {
+ "node": ">=18.17.0"
+ }
+ },
+ "node_modules/@clerk/types/node_modules/csstype": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz",
+ "integrity": "sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw=="
+ },
+ "node_modules/@dnd-kit/accessibility": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/@dnd-kit/accessibility/-/accessibility-3.1.1.tgz",
+ "integrity": "sha512-2P+YgaXF+gRsIihwwY1gCsQSYnu9Zyj2py8kY5fFvUM1qm2WA2u639R6YNVfU4GWr+ZM5mqEsfHZZLoRONbemw==",
+ "dependencies": {
+ "tslib": "^2.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0"
+ }
+ },
+ "node_modules/@dnd-kit/core": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/@dnd-kit/core/-/core-6.2.0.tgz",
+ "integrity": "sha512-KVK/CJmaYGTxTPU6P0+Oy4itgffTUa80B8317sXzfOr1qUzSL29jE7Th11llXiu2haB7B9Glpzo2CDElin+geQ==",
+ "dependencies": {
+ "@dnd-kit/accessibility": "^3.1.1",
+ "@dnd-kit/utilities": "^3.2.2",
+ "tslib": "^2.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@dnd-kit/utilities": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@dnd-kit/utilities/-/utilities-3.2.2.tgz",
+ "integrity": "sha512-+MKAJEOfaBe5SmV6t34p80MMKhjvUz0vRrvVJbPT0WElzaOJ/1xs+D+KDv+tD/NE5ujfrChEcshd4fLn0wpiqg==",
+ "dependencies": {
+ "tslib": "^2.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0"
+ }
+ },
"node_modules/@eslint-community/eslint-utils": {
"version": "4.4.0",
"dev": true,
@@ -781,13 +935,6 @@
"@jridgewell/sourcemap-codec": "^1.4.14"
}
},
- "node_modules/@mlc-ai/web-llm": {
- "version": "0.2.51",
- "license": "Apache-2.0",
- "dependencies": {
- "loglevel": "^1.9.1"
- }
- },
"node_modules/@next/env": {
"version": "14.2.4",
"license": "MIT"
@@ -1538,23 +1685,101 @@
}
},
"node_modules/@radix-ui/react-dialog": {
- "version": "1.1.1",
- "license": "MIT",
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.2.tgz",
+ "integrity": "sha512-Yj4dZtqa2o+kG61fzB0H2qUvmwBA2oyQroGLyNtBj1beo1khoQ3q1a2AO8rrQYjd8256CO9+N8L9tvsS+bnIyA==",
"dependencies": {
"@radix-ui/primitive": "1.1.0",
"@radix-ui/react-compose-refs": "1.1.0",
- "@radix-ui/react-context": "1.1.0",
- "@radix-ui/react-dismissable-layer": "1.1.0",
- "@radix-ui/react-focus-guards": "1.1.0",
+ "@radix-ui/react-context": "1.1.1",
+ "@radix-ui/react-dismissable-layer": "1.1.1",
+ "@radix-ui/react-focus-guards": "1.1.1",
"@radix-ui/react-focus-scope": "1.1.0",
"@radix-ui/react-id": "1.1.0",
- "@radix-ui/react-portal": "1.1.1",
- "@radix-ui/react-presence": "1.1.0",
+ "@radix-ui/react-portal": "1.1.2",
+ "@radix-ui/react-presence": "1.1.1",
"@radix-ui/react-primitive": "2.0.0",
"@radix-ui/react-slot": "1.1.0",
"@radix-ui/react-use-controllable-state": "1.1.0",
"aria-hidden": "^1.1.1",
- "react-remove-scroll": "2.5.7"
+ "react-remove-scroll": "2.6.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.1.tgz",
+ "integrity": "sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.1.tgz",
+ "integrity": "sha512-QSxg29lfr/xcev6kSz7MAlmDnzbP1eI/Dwn3Tp1ip0KT5CUELsxkekFEMVBEoykI3oV39hKT4TKZzBNMbcTZYQ==",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.0",
+ "@radix-ui/react-compose-refs": "1.1.0",
+ "@radix-ui/react-primitive": "2.0.0",
+ "@radix-ui/react-use-callback-ref": "1.1.0",
+ "@radix-ui/react-use-escape-keydown": "1.1.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-focus-guards": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.1.tgz",
+ "integrity": "sha512-pSIwfrT1a6sIoDASCSpFwOasEwKTZWDw/iBdtnqKO7v6FeOzYJ7U53cPzYFVR3geGGXgVHaH+CdngrrAzqUGxg==",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.2.tgz",
+ "integrity": "sha512-WeDYLGPxJb/5EGBoedyJbT0MpoULmwnIPMJMSldkuiMsBAv7N1cRdsTWZWht9vpPOiN3qyiGAtbK2is47/uMFg==",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.0.0",
+ "@radix-ui/react-use-layout-effect": "1.1.0"
},
"peerDependencies": {
"@types/react": "*",
@@ -1571,6 +1796,53 @@
}
}
},
+ "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.1.tgz",
+ "integrity": "sha512-IeFXVi4YS1K0wVZzXNrbaaUvIJ3qdY+/Ih4eHFhWA9SwGR9UDX7Ck8abvL57C4cv3wwMvUE0OG69Qc3NCcTe/A==",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.0",
+ "@radix-ui/react-use-layout-effect": "1.1.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dialog/node_modules/react-remove-scroll": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.6.0.tgz",
+ "integrity": "sha512-I2U4JVEsQenxDAKaVa3VZ/JeJZe0/2DxPWL8Tj8yLKctQJQiZM52pn/GWFpSp8dftjM3pSAHVJZscAnC/y+ySQ==",
+ "dependencies": {
+ "react-remove-scroll-bar": "^2.3.6",
+ "react-style-singleton": "^2.2.1",
+ "tslib": "^2.1.0",
+ "use-callback-ref": "^1.3.0",
+ "use-sidecar": "^1.1.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/@radix-ui/react-direction": {
"version": "1.1.0",
"license": "MIT",
@@ -1755,25 +2027,65 @@
}
},
"node_modules/@radix-ui/react-popover": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.1.1.tgz",
- "integrity": "sha512-3y1A3isulwnWhvTTwmIreiB8CF4L+qRjZnK1wYLO7pplddzXKby/GnZ2M7OZY3qgnl6p9AodUIHRYGXNah8Y7g==",
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.1.2.tgz",
+ "integrity": "sha512-u2HRUyWW+lOiA2g0Le0tMmT55FGOEWHwPFt1EPfbLly7uXQExFo5duNKqG2DzmFXIdqOeNd+TpE8baHWJCyP9w==",
"dependencies": {
"@radix-ui/primitive": "1.1.0",
"@radix-ui/react-compose-refs": "1.1.0",
- "@radix-ui/react-context": "1.1.0",
- "@radix-ui/react-dismissable-layer": "1.1.0",
- "@radix-ui/react-focus-guards": "1.1.0",
+ "@radix-ui/react-context": "1.1.1",
+ "@radix-ui/react-dismissable-layer": "1.1.1",
+ "@radix-ui/react-focus-guards": "1.1.1",
"@radix-ui/react-focus-scope": "1.1.0",
"@radix-ui/react-id": "1.1.0",
"@radix-ui/react-popper": "1.2.0",
- "@radix-ui/react-portal": "1.1.1",
- "@radix-ui/react-presence": "1.1.0",
+ "@radix-ui/react-portal": "1.1.2",
+ "@radix-ui/react-presence": "1.1.1",
"@radix-ui/react-primitive": "2.0.0",
"@radix-ui/react-slot": "1.1.0",
"@radix-ui/react-use-controllable-state": "1.1.0",
"aria-hidden": "^1.1.1",
- "react-remove-scroll": "2.5.7"
+ "react-remove-scroll": "2.6.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-context": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.1.tgz",
+ "integrity": "sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-dismissable-layer": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.1.tgz",
+ "integrity": "sha512-QSxg29lfr/xcev6kSz7MAlmDnzbP1eI/Dwn3Tp1ip0KT5CUELsxkekFEMVBEoykI3oV39hKT4TKZzBNMbcTZYQ==",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.0",
+ "@radix-ui/react-compose-refs": "1.1.0",
+ "@radix-ui/react-primitive": "2.0.0",
+ "@radix-ui/react-use-callback-ref": "1.1.0",
+ "@radix-ui/react-use-escape-keydown": "1.1.0"
},
"peerDependencies": {
"@types/react": "*",
@@ -1790,6 +2102,90 @@
}
}
},
+ "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-focus-guards": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.1.tgz",
+ "integrity": "sha512-pSIwfrT1a6sIoDASCSpFwOasEwKTZWDw/iBdtnqKO7v6FeOzYJ7U53cPzYFVR3geGGXgVHaH+CdngrrAzqUGxg==",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-portal": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.2.tgz",
+ "integrity": "sha512-WeDYLGPxJb/5EGBoedyJbT0MpoULmwnIPMJMSldkuiMsBAv7N1cRdsTWZWht9vpPOiN3qyiGAtbK2is47/uMFg==",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.0.0",
+ "@radix-ui/react-use-layout-effect": "1.1.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-presence": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.1.tgz",
+ "integrity": "sha512-IeFXVi4YS1K0wVZzXNrbaaUvIJ3qdY+/Ih4eHFhWA9SwGR9UDX7Ck8abvL57C4cv3wwMvUE0OG69Qc3NCcTe/A==",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.0",
+ "@radix-ui/react-use-layout-effect": "1.1.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-popover/node_modules/react-remove-scroll": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.6.0.tgz",
+ "integrity": "sha512-I2U4JVEsQenxDAKaVa3VZ/JeJZe0/2DxPWL8Tj8yLKctQJQiZM52pn/GWFpSp8dftjM3pSAHVJZscAnC/y+ySQ==",
+ "dependencies": {
+ "react-remove-scroll-bar": "^2.3.6",
+ "react-style-singleton": "^2.2.1",
+ "tslib": "^2.1.0",
+ "use-callback-ref": "^1.3.0",
+ "use-sidecar": "^1.1.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/@radix-ui/react-popper": {
"version": "1.2.0",
"license": "MIT",
@@ -2168,17 +2564,18 @@
}
},
"node_modules/@radix-ui/react-tooltip": {
- "version": "1.1.2",
- "license": "MIT",
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tooltip/-/react-tooltip-1.1.4.tgz",
+ "integrity": "sha512-QpObUH/ZlpaO4YgHSaYzrLO2VuO+ZBFFgGzjMUPwtiYnAzzNNDPJeEGRrT7qNOrWm/Jr08M1vlp+vTHtnSQ0Uw==",
"dependencies": {
"@radix-ui/primitive": "1.1.0",
"@radix-ui/react-compose-refs": "1.1.0",
- "@radix-ui/react-context": "1.1.0",
- "@radix-ui/react-dismissable-layer": "1.1.0",
+ "@radix-ui/react-context": "1.1.1",
+ "@radix-ui/react-dismissable-layer": "1.1.1",
"@radix-ui/react-id": "1.1.0",
"@radix-ui/react-popper": "1.2.0",
- "@radix-ui/react-portal": "1.1.1",
- "@radix-ui/react-presence": "1.1.0",
+ "@radix-ui/react-portal": "1.1.2",
+ "@radix-ui/react-presence": "1.1.1",
"@radix-ui/react-primitive": "2.0.0",
"@radix-ui/react-slot": "1.1.0",
"@radix-ui/react-use-controllable-state": "1.1.0",
@@ -2199,6 +2596,92 @@
}
}
},
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.1.tgz",
+ "integrity": "sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.1.tgz",
+ "integrity": "sha512-QSxg29lfr/xcev6kSz7MAlmDnzbP1eI/Dwn3Tp1ip0KT5CUELsxkekFEMVBEoykI3oV39hKT4TKZzBNMbcTZYQ==",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.0",
+ "@radix-ui/react-compose-refs": "1.1.0",
+ "@radix-ui/react-primitive": "2.0.0",
+ "@radix-ui/react-use-callback-ref": "1.1.0",
+ "@radix-ui/react-use-escape-keydown": "1.1.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.2.tgz",
+ "integrity": "sha512-WeDYLGPxJb/5EGBoedyJbT0MpoULmwnIPMJMSldkuiMsBAv7N1cRdsTWZWht9vpPOiN3qyiGAtbK2is47/uMFg==",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.0.0",
+ "@radix-ui/react-use-layout-effect": "1.1.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-presence": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.1.tgz",
+ "integrity": "sha512-IeFXVi4YS1K0wVZzXNrbaaUvIJ3qdY+/Ih4eHFhWA9SwGR9UDX7Ck8abvL57C4cv3wwMvUE0OG69Qc3NCcTe/A==",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.0",
+ "@radix-ui/react-use-layout-effect": "1.1.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
"node_modules/@radix-ui/react-use-callback-ref": {
"version": "1.1.0",
"license": "MIT",
@@ -2359,18 +2842,18 @@
}
},
"node_modules/@tauri-apps/api": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.0.1.tgz",
- "integrity": "sha512-eoQWT+Tq1qSwQpHV+nw1eNYe5B/nm1PoRjQCRiEOS12I1b+X4PUcREfXVX8dPcBT6GrzWGDtaecY0+1p0Rfqlw==",
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.1.1.tgz",
+ "integrity": "sha512-fzUfFFKo4lknXGJq8qrCidkUcKcH2UHhfaaCNt4GzgzGaW2iS26uFOg4tS3H4P8D6ZEeUxtiD5z0nwFF0UN30A==",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/tauri"
}
},
"node_modules/@tauri-apps/cli": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-2.0.0.tgz",
- "integrity": "sha512-xxmPllRa6w/LRRcPczST3yHrYoi8l6ZZmzwabEmM0cgDdhVDmX+Y4oDJkiKD+8cVdxwwEzIuIKuaCwsX8iNsgA==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-2.1.0.tgz",
+ "integrity": "sha512-K2VhcKqBhAeS5pNOVdnR/xQRU6jwpgmkSL2ejHXcl0m+kaTggT0WRDQnFtPq6NljA7aE03cvwsbCAoFG7vtkJw==",
"dev": true,
"bin": {
"tauri": "tauri.js"
@@ -2383,22 +2866,22 @@
"url": "https://opencollective.com/tauri"
},
"optionalDependencies": {
- "@tauri-apps/cli-darwin-arm64": "2.0.0",
- "@tauri-apps/cli-darwin-x64": "2.0.0",
- "@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0",
- "@tauri-apps/cli-linux-arm64-gnu": "2.0.0",
- "@tauri-apps/cli-linux-arm64-musl": "2.0.0",
- "@tauri-apps/cli-linux-x64-gnu": "2.0.0",
- "@tauri-apps/cli-linux-x64-musl": "2.0.0",
- "@tauri-apps/cli-win32-arm64-msvc": "2.0.0",
- "@tauri-apps/cli-win32-ia32-msvc": "2.0.0",
- "@tauri-apps/cli-win32-x64-msvc": "2.0.0"
+ "@tauri-apps/cli-darwin-arm64": "2.1.0",
+ "@tauri-apps/cli-darwin-x64": "2.1.0",
+ "@tauri-apps/cli-linux-arm-gnueabihf": "2.1.0",
+ "@tauri-apps/cli-linux-arm64-gnu": "2.1.0",
+ "@tauri-apps/cli-linux-arm64-musl": "2.1.0",
+ "@tauri-apps/cli-linux-x64-gnu": "2.1.0",
+ "@tauri-apps/cli-linux-x64-musl": "2.1.0",
+ "@tauri-apps/cli-win32-arm64-msvc": "2.1.0",
+ "@tauri-apps/cli-win32-ia32-msvc": "2.1.0",
+ "@tauri-apps/cli-win32-x64-msvc": "2.1.0"
}
},
"node_modules/@tauri-apps/cli-darwin-arm64": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-2.0.0.tgz",
- "integrity": "sha512-+agYqg2c77imaMfKw7mzqecVIDGcwr6bZMdglJ808O2UjTFzMwnAam1sU26YBYU+IyIjwOu00fm9Azpal+N/Ew==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-2.1.0.tgz",
+ "integrity": "sha512-ESc6J6CE8hl1yKH2vJ+ALF+thq4Be+DM1mvmTyUCQObvezNCNhzfS6abIUd3ou4x5RGH51ouiANeT3wekU6dCw==",
"cpu": [
"arm64"
],
@@ -2412,9 +2895,9 @@
}
},
"node_modules/@tauri-apps/cli-darwin-x64": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-2.0.0.tgz",
- "integrity": "sha512-keN2PLTTcZmbWwFMup/NGcshmvyLnhRPChO8lbm9C5a0IY7zUNQUD7/o/zIulQdLJqDxkdpWJ1j2jTycAtvtKQ==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-2.1.0.tgz",
+ "integrity": "sha512-TasHS442DFs8cSH2eUQzuDBXUST4ECjCd0yyP+zZzvAruiB0Bg+c8A+I/EnqCvBQ2G2yvWLYG8q/LI7c87A5UA==",
"cpu": [
"x64"
],
@@ -2428,9 +2911,9 @@
}
},
"node_modules/@tauri-apps/cli-linux-arm-gnueabihf": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-2.0.0.tgz",
- "integrity": "sha512-FQJNrlCUBb9E7Fhp5ARy+Or8lSvorG41aVrfi0cGNvv1QlIGSj77TN7SKK+L1jAGzKj1Bl2kCZIESF6Zi8N/+Q==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-2.1.0.tgz",
+ "integrity": "sha512-aP7ZBGNL4ny07Cbb6kKpUOSrmhcIK2KhjviTzYlh+pPhAptxnC78xQGD3zKQkTi2WliJLPmBYbOHWWQa57lQ9w==",
"cpu": [
"arm"
],
@@ -2444,9 +2927,9 @@
}
},
"node_modules/@tauri-apps/cli-linux-arm64-gnu": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-2.0.0.tgz",
- "integrity": "sha512-TK3VrZG5LK1NGueKwnZA1/3gj/qkwry001MNCHXjT6394dwrDv+digCc9Qc569h+xeH/FF71jyoiRIu3gRE6iA==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-2.1.0.tgz",
+ "integrity": "sha512-ZTdgD5gLeMCzndMT2f358EkoYkZ5T+Qy6zPzU+l5vv5M7dHVN9ZmblNAYYXmoOuw7y+BY4X/rZvHV9pcGrcanQ==",
"cpu": [
"arm64"
],
@@ -2460,9 +2943,9 @@
}
},
"node_modules/@tauri-apps/cli-linux-arm64-musl": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.0.0.tgz",
- "integrity": "sha512-E3hRmS/0m8YUYMTKZtBExpk/284CTi2nymks0dK0L1j+3KjffL7DiilnIfNFmTvWBgMrs0cVCtoaN/ba/A9mNA==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.1.0.tgz",
+ "integrity": "sha512-NzwqjUCilhnhJzusz3d/0i0F1GFrwCQbkwR6yAHUxItESbsGYkZRJk0yMEWkg3PzFnyK4cWTlQJMEU52TjhEzA==",
"cpu": [
"arm64"
],
@@ -2476,9 +2959,9 @@
}
},
"node_modules/@tauri-apps/cli-linux-x64-gnu": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-2.0.0.tgz",
- "integrity": "sha512-veX4BJp5xnW8KmxVjchWt4oZEIvKGhuSR7qU1WpqTR21e/eTe/ksGsdXPsqOKQvv/w1X6jhqmlPvhnFmDwUJ/w==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-2.1.0.tgz",
+ "integrity": "sha512-TyiIpMEtZxNOQmuFyfJwaaYbg3movSthpBJLIdPlKxSAB2BW0VWLY3/ZfIxm/G2YGHyREkjJvimzYE0i37PnMA==",
"cpu": [
"x64"
],
@@ -2492,9 +2975,9 @@
}
},
"node_modules/@tauri-apps/cli-linux-x64-musl": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-2.0.0.tgz",
- "integrity": "sha512-9Eso/8wbsWbOyd9PZEIzN/48ZQJrUGQqGZtglcjUku0lO76mnX0fOnit4nQ57Oj0wezJPhv4mgSseG1OsTIVzw==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-2.1.0.tgz",
+ "integrity": "sha512-/dQd0TlaxBdJACrR72DhynWftzHDaX32eBtS5WBrNJ+nnNb+znM3gON6nJ9tSE9jgDa6n1v2BkI/oIDtypfUXw==",
"cpu": [
"x64"
],
@@ -2508,9 +2991,9 @@
}
},
"node_modules/@tauri-apps/cli-win32-arm64-msvc": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-arm64-msvc/-/cli-win32-arm64-msvc-2.0.0.tgz",
- "integrity": "sha512-ky8vWAuDUf8WGt9+a0G/EbU0OhdIkogelh9qjIYGHbyEYAJqXfN5P40aHUEg3y8ngQ0YGwRX5ePsQsSZiiR5PQ==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-arm64-msvc/-/cli-win32-arm64-msvc-2.1.0.tgz",
+ "integrity": "sha512-NdQJO7SmdYqOcE+JPU7bwg7+odfZMWO6g8xF9SXYCMdUzvM2Gv/AQfikNXz5yS7ralRhNFuW32i5dcHlxh4pDg==",
"cpu": [
"arm64"
],
@@ -2524,9 +3007,9 @@
}
},
"node_modules/@tauri-apps/cli-win32-ia32-msvc": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-2.0.0.tgz",
- "integrity": "sha512-uD45cLZ/EBaT8o4a27tHW7t5UKFplnvDLt/uSUaCpJ3NyOTV6nMXOUrJBe+hH9hSBohqNAF7LEyYo1p932DWFg==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-2.1.0.tgz",
+ "integrity": "sha512-f5h8gKT/cB8s1ticFRUpNmHqkmaLutT62oFDB7N//2YTXnxst7EpMIn1w+QimxTvTk2gcx6EcW6bEk/y2hZGzg==",
"cpu": [
"ia32"
],
@@ -2540,9 +3023,9 @@
}
},
"node_modules/@tauri-apps/cli-win32-x64-msvc": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-2.0.0.tgz",
- "integrity": "sha512-oFlo14YMsvyhJHmmHgRuOpJ1L9w15193c1Nfj1DksS2LHj6tLzirI7YrAF9inY/XjHFjNHzYPmBpABibkf/9wQ==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-2.1.0.tgz",
+ "integrity": "sha512-P/+LrdSSb5Xbho1LRP4haBjFHdyPdjWvGgeopL96OVtrFpYnfC+RctB45z2V2XxqFk3HweDDxk266btjttfjGw==",
"cpu": [
"x64"
],
@@ -4082,6 +4565,14 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/cookie": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.0.tgz",
+ "integrity": "sha512-qCf+V4dtlNhSRXGAZatc1TasyFO6GjohcOul807YOb5ik3+kQSnb4d7iajeCL8QHaJ4uZEjCgiCJerKXwdRVlQ==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/cross-spawn": {
"version": "7.0.3",
"license": "MIT",
@@ -4094,6 +4585,11 @@
"node": ">= 8"
}
},
+ "node_modules/crypto-js": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz",
+ "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
+ },
"node_modules/css-tree": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz",
@@ -4291,6 +4787,15 @@
"node": ">=0.4.0"
}
},
+ "node_modules/deps-analyzer": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/deps-analyzer/-/deps-analyzer-1.0.2.tgz",
+ "integrity": "sha512-yTq6cuqVsVdnSeNgg1GfwiCvLXl219sv+YRwHmOSEsdMNsPLwkNq0/WdFtWdq5cA4QPAink+R591EzJ1R0ZVPw==",
+ "dev": true,
+ "dependencies": {
+ "match-require": "^2.1.0"
+ }
+ },
"node_modules/dequal": {
"version": "2.0.3",
"license": "MIT",
@@ -4347,6 +4852,15 @@
"node": ">=6.0.0"
}
},
+ "node_modules/dot-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-3.0.4.tgz",
+ "integrity": "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==",
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
"node_modules/eastasianwidth": {
"version": "0.2.0",
"license": "MIT"
@@ -4961,6 +5475,14 @@
"version": "3.0.2",
"license": "MIT"
},
+ "node_modules/ezheaders": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/ezheaders/-/ezheaders-0.1.0.tgz",
+ "integrity": "sha512-U0wdCs2dS+IzFuxyHGyw1aWhiunW22sGqnyH4yQsovkgqUvO4YSbzQ5BQzV6HY4oFlNnK+TbFGJj8rvvX5aN7w==",
+ "peerDependencies": {
+ "next": "^13.5.4 || ^14 || ^15"
+ }
+ },
"node_modules/fast-deep-equal": {
"version": "3.1.3",
"dev": true,
@@ -5293,6 +5815,11 @@
"node": ">=10.13.0"
}
},
+ "node_modules/glob-to-regexp": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz",
+ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw=="
+ },
"node_modules/glob/node_modules/minimatch": {
"version": "9.0.5",
"dev": true,
@@ -6098,6 +6625,14 @@
"jiti": "bin/jiti.js"
}
},
+ "node_modules/js-cookie": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.5.tgz",
+ "integrity": "sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==",
+ "engines": {
+ "node": ">=14"
+ }
+ },
"node_modules/js-levenshtein": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.6.tgz",
@@ -6313,17 +6848,6 @@
"version": "4.6.2",
"license": "MIT"
},
- "node_modules/loglevel": {
- "version": "1.9.1",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6.0"
- },
- "funding": {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/loglevel"
- }
- },
"node_modules/longest-streak": {
"version": "3.1.0",
"license": "MIT",
@@ -6342,6 +6866,14 @@
"loose-envify": "cli.js"
}
},
+ "node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "dependencies": {
+ "tslib": "^2.0.3"
+ }
+ },
"node_modules/lowlight": {
"version": "1.20.0",
"license": "MIT",
@@ -6373,6 +6905,17 @@
"@jridgewell/sourcemap-codec": "^1.4.15"
}
},
+ "node_modules/map-obj": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz",
+ "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/markdown-table": {
"version": "3.0.3",
"license": "MIT",
@@ -6381,6 +6924,15 @@
"url": "https://github.com/sponsors/wooorm"
}
},
+ "node_modules/match-require": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/match-require/-/match-require-2.1.0.tgz",
+ "integrity": "sha512-GH3yLnQbQ2bFGY2aRqc0r78LI1yZvmO56lcKLJswjRDIv0EvwTf9xalrWT1m5W3ShHuTAj2T1P/dSNuW5ytuXQ==",
+ "dev": true,
+ "dependencies": {
+ "uuid": "^3.0.0"
+ }
+ },
"node_modules/mdast-util-find-and-replace": {
"version": "3.0.1",
"license": "MIT",
@@ -7434,6 +7986,15 @@
"node": "^10 || ^12 || >=14"
}
},
+ "node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
"node_modules/node-domexception": {
"version": "1.0.0",
"funding": [
@@ -8245,6 +8806,15 @@
}
}
},
+ "node_modules/react-resizable-panels": {
+ "version": "2.1.7",
+ "resolved": "https://registry.npmjs.org/react-resizable-panels/-/react-resizable-panels-2.1.7.tgz",
+ "integrity": "sha512-JtT6gI+nURzhMYQYsx8DKkx6bSoOGFp7A3CwMrOb8y5jFHFyqwo9m68UhmXRw57fRVJksFn1TSlm3ywEQ9vMgA==",
+ "peerDependencies": {
+ "react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
+ "react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ }
+ },
"node_modules/react-style-singleton": {
"version": "2.2.1",
"license": "MIT",
@@ -8588,6 +9158,11 @@
"semver": "bin/semver.js"
}
},
+ "node_modules/server-only": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/server-only/-/server-only-0.0.1.tgz",
+ "integrity": "sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA=="
+ },
"node_modules/set-function-length": {
"version": "1.2.2",
"license": "MIT",
@@ -8673,6 +9248,39 @@
"node": ">=8"
}
},
+ "node_modules/snake-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/snake-case/-/snake-case-3.0.4.tgz",
+ "integrity": "sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==",
+ "dependencies": {
+ "dot-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/snakecase-keys": {
+ "version": "5.4.4",
+ "resolved": "https://registry.npmjs.org/snakecase-keys/-/snakecase-keys-5.4.4.tgz",
+ "integrity": "sha512-YTywJG93yxwHLgrYLZjlC75moVEX04LZM4FHfihjHe1FCXm+QaLOFfSf535aXOAd0ArVQMWUAe8ZPm4VtWyXaA==",
+ "dependencies": {
+ "map-obj": "^4.1.0",
+ "snake-case": "^3.0.4",
+ "type-fest": "^2.5.2"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/snakecase-keys/node_modules/type-fest": {
+ "version": "2.19.0",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz",
+ "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==",
+ "engines": {
+ "node": ">=12.20"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/source-map-js": {
"version": "1.2.0",
"license": "BSD-3-Clause",
@@ -8699,6 +9307,11 @@
"svelte": "^4.0.0 || ^5.0.0-next.0"
}
},
+ "node_modules/std-env": {
+ "version": "3.8.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.8.0.tgz",
+ "integrity": "sha512-Bc3YwwCB+OzldMxOXJIIvC6cPRWr/LxOp48CdQTOkPyk/t4JWWJbrilwBd7RJzKV8QW7tJkcgAmeuLLJugl5/w=="
+ },
"node_modules/stop-iteration-iterator": {
"version": "1.0.0",
"dev": true,
@@ -9552,6 +10165,16 @@
"version": "1.0.2",
"license": "MIT"
},
+ "node_modules/uuid": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
+ "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
+ "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.",
+ "dev": true,
+ "bin": {
+ "uuid": "bin/uuid"
+ }
+ },
"node_modules/vfile": {
"version": "6.0.2",
"license": "MIT",
diff --git a/screenpipe-app-tauri/package.json b/screenpipe-app-tauri/package.json
index e2f899bad..03030eb81 100644
--- a/screenpipe-app-tauri/package.json
+++ b/screenpipe-app-tauri/package.json
@@ -11,6 +11,7 @@
},
"dependencies": {
"@ai-sdk/openai": "^0.0.39",
+ "@clerk/nextjs": "^6.5.1",
"@dnd-kit/core": "^6.1.0",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/context-zone": "^1.22.0",
diff --git a/screenpipe-app-tauri/scripts/pre_build.js b/screenpipe-app-tauri/scripts/pre_build.js
index b82ac1fb0..d1b220d5a 100644
--- a/screenpipe-app-tauri/scripts/pre_build.js
+++ b/screenpipe-app-tauri/scripts/pre_build.js
@@ -308,78 +308,6 @@ async function getMostRecentBinaryPath(targetArch, paths) {
}
/* ########## macOS ########## */
if (platform == 'macos') {
-
- const architectures = ['arm64', 'x86_64'];
-
- for (const arch of architectures) {
- if (process.env['SKIP_SCREENPIPE_SETUP']) {
- break;
- }
- console.log(`Setting up screenpipe bin for ${arch}...`);
-
- if (arch === 'arm64') {
- const paths = [
- "../../target/aarch64-apple-darwin/release/screenpipe",
- "../../target/release/screenpipe"
- ];
-
- const mostRecentPath = await getMostRecentBinaryPath('arm64', paths);
- if (mostRecentPath) {
- await $`cp ${mostRecentPath} screenpipe-aarch64-apple-darwin`;
- console.log(`Copied most recent arm64 screenpipe binary from ${mostRecentPath}`);
- } else {
- console.error("No suitable arm64 screenpipe binary found");
- }
-
- try {
- // if the binary exists, hard code the fucking dylib
- if (await fs.exists('screenpipe-aarch64-apple-darwin') && !isDevMode) {
- await $`install_name_tool -change screenpipe-vision/lib/libscreenpipe_arm64.dylib @rpath/../Frameworks/libscreenpipe_arm64.dylib ./screenpipe-aarch64-apple-darwin`
- await $`install_name_tool -change screenpipe-vision/lib/libscreenpipe.dylib @rpath/../Frameworks/libscreenpipe.dylib ./screenpipe-aarch64-apple-darwin`
- console.log(`hard coded the dylib`);
- } else if (await fs.exists('screenpipe-aarch64-apple-darwin') && isDevMode) {
- await $`install_name_tool -change screenpipe-vision/lib/libscreenpipe_arm64.dylib @executable_path/../Frameworks/libscreenpipe_arm64.dylib ./screenpipe-aarch64-apple-darwin`
- await $`install_name_tool -change screenpipe-vision/lib/libscreenpipe.dylib @executable_path/../Frameworks/libscreenpipe.dylib ./screenpipe-aarch64-apple-darwin`
- await $`install_name_tool -add_rpath @executable_path/../Frameworks ./screenpipe-aarch64-apple-darwin`
- console.log(`Updated dylib paths for arm64 in dev mode`);
- }
- } catch (error) {
- console.error('Error updating dylib paths:', error);
- }
-
-
- } else if (arch === 'x86_64') {
- // copy screenpipe binary (more recent one)
- const paths = [
- "../../target/x86_64-apple-darwin/release/screenpipe",
- "../../target/release/screenpipe"
- ];
-
- const mostRecentPath = await getMostRecentBinaryPath('x86_64', paths);
-
- if (mostRecentPath) {
- await $`cp ${mostRecentPath} screenpipe-x86_64-apple-darwin`;
- console.log(`Copied most recent x86_64 screenpipe binary from ${mostRecentPath}`);
- } else {
- console.error("No suitable x86_64 screenpipe binary found");
- }
-
- try {
- // hard code the dylib
- if (await fs.exists('screenpipe-x86_64-apple-darwin') && !isDevMode) {
- await $`install_name_tool -change screenpipe-vision/lib/libscreenpipe_x86_64.dylib @rpath/../Frameworks/libscreenpipe_x86_64.dylib ./screenpipe-x86_64-apple-darwin`
- await $`install_name_tool -change screenpipe-vision/lib/libscreenpipe.dylib @rpath/../Frameworks/libscreenpipe.dylib ./screenpipe-x86_64-apple-darwin`
- console.log(`hard coded the dylib`);
- }
- } catch (error) {
- console.error('Error updating dylib paths:', error);
- }
-
- }
-
- console.log(`screenpipe for ${arch} set up successfully.`);
- }
-
// Setup FFMPEG
if (!(await fs.exists(config.ffmpegRealname))) {
await $`wget --no-config -nc ${config.macos.ffmpegUrl} -O ${config.macos.ffmpegName}.tar.xz`
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index dd72b5922..831e4247d 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -4170,7 +4170,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "screenpipe-app"
-version = "0.14.8"
+version = "0.14.9"
dependencies = [
"anyhow",
"axum",
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 7f84acd1e..9b6b61796 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 = "0.14.8"
+version = "0.14.9"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-app-tauri/src-tauri/build.rs b/screenpipe-app-tauri/src-tauri/build.rs
index 0e5867b2b..efd3a7b7e 100644
--- a/screenpipe-app-tauri/src-tauri/build.rs
+++ b/screenpipe-app-tauri/src-tauri/build.rs
@@ -1,60 +1,76 @@
#[cfg(target_os = "macos")]
-use std::{fs, process::Command, env};
+use std::{env, fs, process::Command};
fn main() {
- // Copies executables and hardcodes the dylibs
- /* #[cfg(target_os = "macos")]
+ #[cfg(target_arch = "x86_64")]
{
- #[cfg(target_arch = "x86_64")]
- {
- let primary_path = "../../target/x86_64-apple-darwin/release/screenpipe";
- let fallback_path = "../../target/release/screenpipe";
+ let primary_path = "../../target/x86_64-apple-darwin/release/screenpipe";
+ let fallback_path = "../../target/release/screenpipe";
- let source_path = if fs::metadata(primary_path).is_ok() {
- primary_path
- } else {
- fallback_path
- };
+ let source_path = if fs::metadata(primary_path).is_ok() {
+ primary_path
+ } else {
+ fallback_path
+ };
- fs::copy(source_path, "screenpipe-x86_64-apple-darwin")
- .expect("failed to copy screenpipe binary");
+ fs::copy(source_path, "screenpipe-x86_64-apple-darwin")
+ .expect("failed to copy screenpipe binary");
+ if env::var("PROFILE").unwrap() != "debug" {
Command::new("install_name_tool")
- .args(["-change", "../../screenpipe-vision/lib/libscreenpipe_x86_64.dylib",
- "@executable_path/../Frameworks/libscreenpipe_x86_64.dylib", "./screenpipe-x86_64-apple-darwin"])
+ .args([
+ "-change",
+ "../../screenpipe-vision/lib/libscreenpipe_x86_64.dylib",
+ "@executable_path/../Frameworks/libscreenpipe_x86_64.dylib",
+ "./screenpipe-x86_64-apple-darwin",
+ ])
.status()
.expect("failed to execute process");
Command::new("install_name_tool")
- .args(["-change", "../../screenpipe-vision/lib/libscreenpipe.dylib",
- "@executable_path/../Frameworks/libscreenpipe.dylib", "./screenpipe-x86_64-apple-darwin"])
+ .args([
+ "-change",
+ "../../screenpipe-vision/lib/libscreenpipe.dylib",
+ "@executable_path/../Frameworks/libscreenpipe.dylib",
+ "./screenpipe-x86_64-apple-darwin",
+ ])
.status()
.expect("failed to execute process");
}
- #[cfg(target_arch = "aarch64")]
- if env::var("TARGET").unwrap() == "aarch64-apple-darwin" {
- let primary_path = "../../target/aarch64-apple-darwin/release/screenpipe";
- let fallback_path = "../../target/release/screenpipe";
+ }
+ #[cfg(target_arch = "aarch64")]
+ if env::var("TARGET").unwrap() == "aarch64-apple-darwin" {
+ let primary_path = "../../target/aarch64-apple-darwin/release/screenpipe";
+ let fallback_path = "../../target/release/screenpipe";
- let source_path = if fs::metadata(primary_path).is_ok() {
- primary_path
- } else {
- fallback_path
- };
+ let source_path = if fs::metadata(primary_path).is_ok() {
+ primary_path
+ } else {
+ fallback_path
+ };
- fs::copy(source_path, "screenpipe-aarch64-apple-darwin")
- .expect("failed to copy screenpipe binary");
+ fs::copy(source_path, "screenpipe-aarch64-apple-darwin")
+ .expect("failed to copy screenpipe binary");
+ if env::var("PROFILE").unwrap() != "debug" {
Command::new("install_name_tool")
- .args(["-change", "../../screenpipe-vision/lib/libscreenpipe_arm64.dylib",
- "@executable_path/../Frameworks/libscreenpipe_arm64.dylib", "./screenpipe-aarch64-apple-darwin"])
+ .args([
+ "-change",
+ "../../screenpipe-vision/lib/libscreenpipe_arm64.dylib",
+ "@executable_path/../Frameworks/libscreenpipe_arm64.dylib",
+ "./screenpipe-aarch64-apple-darwin",
+ ])
.status()
.expect("failed to execute process");
Command::new("install_name_tool")
- .args(["-change", "../../screenpipe-vision/lib/libscreenpipe.dylib",
- "@executable_path/../Frameworks/libscreenpipe.dylib", "./screenpipe-aarch64-apple-darwin"])
+ .args([
+ "-change",
+ "../../screenpipe-vision/lib/libscreenpipe.dylib",
+ "@executable_path/../Frameworks/libscreenpipe.dylib",
+ "./screenpipe-aarch64-apple-darwin",
+ ])
.status()
.expect("failed to execute process");
}
- } */
+ }
tauri_build::build()
}
diff --git a/screenpipe-app-tauri/src-tauri/tauri.conf.json b/screenpipe-app-tauri/src-tauri/tauri.conf.json
index 2c2acfdb9..64f4ba0e3 100644
--- a/screenpipe-app-tauri/src-tauri/tauri.conf.json
+++ b/screenpipe-app-tauri/src-tauri/tauri.conf.json
@@ -107,14 +107,14 @@
},
"csp": {
"default-src": "'self' customprotocol: asset:",
- "connect-src": "ipc: http://ipc.localhost https://youtube.com https://api.openai.com http://localhost:3030 http://localhost:* https://web.crabnebula.cloud https://api.github.com https://eu.i.posthog.com https://github.com https://*.githubusercontent.com https://*.github.com http://*:11434 http://*:9000 https://ai-proxy.i-f9f.workers.dev *",
+ "connect-src": "ipc: http://ipc.localhost https://youtube.com https://api.openai.com http://localhost:3030 http://localhost:* https://web.crabnebula.cloud https://api.github.com https://eu.i.posthog.com https://github.com https://*.githubusercontent.com https://*.github.com http://*:11434 http://*:9000 https://ai-proxy.i-f9f.workers.dev https://*.clerk.com https://*.screenpi.pe *",
"font-src": [
"https://fonts.gstatic.com",
"tauri://localhost",
"http://tauri.localhost"
],
"media-src": "'self' mediadevices: asset: http://asset.localhost file: blob: tauri://localhost file: blob: https://youtube.com https://github.com https://youtu.be",
- "img-src": "'self' asset: http://asset.localhost blob: data: https://*.githubusercontent.com https://*.github.com https://github.com https://*.s3.amazonaws.com",
+ "img-src": "'self' asset: http://asset.localhost blob: data: https://*.githubusercontent.com https://*.github.com https://github.com https://*.s3.amazonaws.com https://*.clerk.com",
"style-src": [
"'unsafe-inline'",
"'self'",
@@ -125,7 +125,7 @@
"data:",
"*"
],
- "frame-src": "https://www.youtube.com http://localhost:*"
+ "frame-src": "https://www.youtube.com http://localhost:* https://*.clerk.com"
}
},
"macOSPrivateApi": true