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: build

Louis Beaumontd978e35a56cf
diff --git a/screenpipe-app-tauri/app/layout.tsx b/screenpipe-app-tauri/app/layout.tsx
index 6d1a91b12..92e3dd244 100644
--- a/screenpipe-app-tauri/app/layout.tsx
+++ b/screenpipe-app-tauri/app/layout.tsx
@@ -1,34 +1,22 @@
-import type { Metadata } from "next";
+"use client";
import { Inter } from "next/font/google";
import "./globals.css";
import { Providers } from "./providers";
import { Toaster } from "@/components/ui/toaster";
-import { ClerkProvider } from "@clerk/nextjs";
+import { ClerkProvider } from "@clerk/clerk-react";
const inter = Inter({ subsets: ["latin"] });
-export const metadata: Metadata = {
- title: "Create Next App",
- description: "Generated by create next app",
-};
+
export default function RootLayout({
children,
-}: Readonly<{
+}: {
children: React.ReactNode;
-}>) {
+}) {
return (
- <html lang="en">
- <ClerkProvider
- publishableKey="pk_live_Y2xlcmsudGF1cmkubG9jYWxob3N0JA"
- appearance={{
- baseTheme: undefined,
- layout: {
- socialButtonsPlacement: "bottom",
- socialButtonsVariant: "blockButton",
- },
- }}
- >
+ <html lang="en" suppressHydrationWarning>
+ <ClerkProvider publishableKey="pk_live_Y2xlcmsuc2NyZWVucGkucGUk">
<Providers>
<body className={inter.className}>
{children}
diff --git a/screenpipe-app-tauri/bun.lockb b/screenpipe-app-tauri/bun.lockb
index bef639b28..732c6e972 100755
Binary files a/screenpipe-app-tauri/bun.lockb and b/screenpipe-app-tauri/bun.lockb differ
diff --git a/screenpipe-app-tauri/components/auth.tsx b/screenpipe-app-tauri/components/auth.tsx
index cd8d3739c..6d1ff87ce 100644
--- a/screenpipe-app-tauri/components/auth.tsx
+++ b/screenpipe-app-tauri/components/auth.tsx
@@ -1,4 +1,5 @@
-import { SignInButton, SignOutButton, useUser } from "@clerk/nextjs";
+"use client";
+import { SignInButton, SignOutButton, useUser } from "@clerk/clerk-react";
import { Button } from "./ui/button";
import { useEffect } from "react";
import posthog from "posthog-js";
diff --git a/screenpipe-app-tauri/components/pipe-store.tsx b/screenpipe-app-tauri/components/pipe-store.tsx
index 583f3fd59..63ceb9c20 100644
--- a/screenpipe-app-tauri/components/pipe-store.tsx
+++ b/screenpipe-app-tauri/components/pipe-store.tsx
@@ -51,7 +51,7 @@ import {
} from "@/components/ui/collapsible";
import { LogFileButton } from "./log-file-button";
import { useSettings } from "@/lib/hooks/use-settings";
-import { useUser } from "@clerk/nextjs";
+import { useUser } from "@clerk/clerk-react";
import { StripeSubscriptionButton } from "./stripe-subscription-button";
export interface Pipe {
diff --git a/screenpipe-app-tauri/components/stripe-subscription-button.tsx b/screenpipe-app-tauri/components/stripe-subscription-button.tsx
index e9f11ddae..2b40f35db 100644
--- a/screenpipe-app-tauri/components/stripe-subscription-button.tsx
+++ b/screenpipe-app-tauri/components/stripe-subscription-button.tsx
@@ -1,5 +1,7 @@
+"use client";
+
import { Button } from "@/components/ui/button";
-import { useUser } from "@clerk/nextjs";
+import { useUser } from "@clerk/clerk-react";
import { open } from "@tauri-apps/plugin-shell";
import { toast } from "./ui/use-toast";
import posthog from "posthog-js";
diff --git a/screenpipe-app-tauri/next.config.mjs b/screenpipe-app-tauri/next.config.mjs
index 4a5edf250..e5f94cb1d 100644
--- a/screenpipe-app-tauri/next.config.mjs
+++ b/screenpipe-app-tauri/next.config.mjs
@@ -1,5 +1,9 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
+ images: {
+ unoptimized: true,
+ },
}
-export default nextConfig;
\ No newline at end of file
+export default nextConfig;
+
diff --git a/screenpipe-app-tauri/package.json b/screenpipe-app-tauri/package.json
index 03030eb81..1577f195a 100644
--- a/screenpipe-app-tauri/package.json
+++ b/screenpipe-app-tauri/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@ai-sdk/openai": "^0.0.39",
- "@clerk/nextjs": "^6.5.1",
+ "@clerk/clerk-react": "^5.17.1",
"@dnd-kit/core": "^6.1.0",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/context-zone": "^1.22.0",
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 9b6b61796..fde36fab9 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.9"
+version = "0.14.10"
description = ""
authors = ["you"]
license = ""