Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
Revert "light mode (#4)"
Theo Browne377d21211a6b
diff --git a/apps/desktop/scripts/smoke-test.mjs b/apps/desktop/scripts/smoke-test.mjsindex 482f26059..62884bcde 100644--- a/apps/desktop/scripts/smoke-test.mjs+++ b/apps/desktop/scripts/smoke-test.mjs@@ -13,7 +13,7 @@* the first render). For production mode (no React DevTools message), we* instead check that no fatal errors appeared.*/-import { execSync, spawn } from "node:child_process";+import { spawn, execSync } from "node:child_process";import { dirname, resolve } from "node:path";import { fileURLToPath } from "node:url";@@ -75,7 +75,7 @@ child.on("exit", () => {for (const f of failures) {console.error(` • ${f}`);}- console.error(`\nFull output:\n${output}`);+ console.error("\nFull output:\n" + output);process.exit(1);}diff --git a/apps/renderer/components.json b/apps/renderer/components.jsondeleted file mode 100644index 8d7bf441a..000000000--- a/apps/renderer/components.json+++ /dev/null@@ -1,25 +0,0 @@-{- "$schema": "https://ui.shadcn.com/schema.json",- "style": "new-york",- "rsc": false,- "tsx": true,- "tailwind": {- "config": "",- "css": "src/index.css",- "baseColor": "zinc",- "cssVariables": true,- "prefix": ""- },- "iconLibrary": "lucide",- "rtl": false,- "aliases": {- "components": "#/components",- "utils": "#/lib/utils",- "ui": "#/components/ui",- "lib": "#/lib",- "hooks": "#/hooks"- },- "registries": {- "@coss": "https://coss.com/ui/r/{name}.json"- }-}diff --git a/apps/renderer/index.html b/apps/renderer/index.htmlindex c2c8793a7..7084d1a08 100644--- a/apps/renderer/index.html+++ b/apps/renderer/index.html@@ -5,7 +5,7 @@<meta name="viewport" content="width=device-width, initial-scale=1.0" /><title>Electron Todo</title></head>- <body>+ <body class="bg-slate-100"><div id="root"></div><script type="module" src="/src/main.tsx"></script></body>diff --git a/apps/renderer/package.json b/apps/renderer/package.jsonindex 8ab450ea8..b91d3d1da 100644--- a/apps/renderer/package.json+++ b/apps/renderer/package.json@@ -12,17 +12,12 @@},"dependencies": {"@acme/contracts": "workspace:*",- "@base-ui/react": "^1.1.0",- "class-variance-authority": "^0.7.1",- "clsx": "^2.1.1","highlight.js": "^11.11.1",- "lucide-react": "^0.563.0","react": "^19.0.0","react-dom": "^19.0.0","react-markdown": "^10.1.0","rehype-highlight": "^7.0.2","remark-gfm": "^4.0.1",- "tailwind-merge": "^3.4.0","zod": "^3.24.1"},"devDependencies": {diff --git a/apps/renderer/src/App.tsx b/apps/renderer/src/App.tsxindex a525c7cae..252e1cd44 100644--- a/apps/renderer/src/App.tsx+++ b/apps/renderer/src/App.tsx@@ -31,10 +31,10 @@ function Layout() {if (!api) {return (- <div className="flex h-screen flex-col bg-background text-foreground">+ <div className="flex h-screen flex-col bg-[#0c0c0c] text-[#e0e0e0]"><div className="drag-region h-[52px] shrink-0" /><div className="flex flex-1 items-center justify-center">- <p className="text-sm text-muted-foreground">+ <p className="text-sm text-[#a0a0a0]/60">Native bridge unavailable. Launch through Electron.</p></div>@@ -43,7 +43,7 @@ function Layout() {}return (- <div className="flex h-screen overflow-hidden bg-background text-foreground">+ <div className="flex h-screen overflow-hidden bg-[#0c0c0c] text-[#e0e0e0]"><EventRouter /><Sidebar /><ChatView />diff --git a/apps/renderer/src/components/ChatMarkdown.tsx b/apps/renderer/src/components/ChatMarkdown.tsxindex 5104ddced..1d51a7685 100644--- a/apps/renderer/src/components/ChatMarkdown.tsx+++ b/apps/renderer/src/components/ChatMarkdown.tsx@@ -15,7 +15,7 @@ const markdownComponents: Components = {export default function ChatMarkdown({ text }: ChatMarkdownProps) {return (- <div className="chat-markdown text-sm leading-relaxed text-foreground/80">+ <div className="chat-markdown text-sm leading-relaxed text-[#d0d0d0]"><ReactMarkdownremarkPlugins={[remarkGfm]}rehypePlugins={[[rehypeHighlight, { detect: true, ignoreMissing: true }]]}diff --git a/apps/renderer/src/components/ChatView.tsx b/apps/renderer/src/components/ChatView.tsxindex 0bba8524b..8c1d89eee 100644--- a/apps/renderer/src/components/ChatView.tsx+++ b/apps/renderer/src/components/ChatView.tsx@@ -1,6 +1,7 @@-import { ArrowUpIcon, LoaderCircleIcon, SquareIcon } from "lucide-react";+import type { ProviderApprovalDecision, ProviderEvent } from "@acme/contracts";import {type FormEvent,+ Fragment,type KeyboardEvent,useEffect,useMemo,@@ -8,6 +9,7 @@ import {useState,} from "react";+import { EDITORS, type EditorId } from "@acme/contracts";import {DEFAULT_MODEL,DEFAULT_REASONING,@@ -19,44 +21,100 @@ import {derivePhase,deriveTimelineEntries,deriveWorkLogEntries,+ formatDuration,formatElapsed,formatTimestamp,readNativeApi,} from "../session-logic";import { useStore } from "../store";import ChatMarkdown from "./ChatMarkdown";-import { Button } from "./ui/button";-import {- InputGroup,- InputGroupAddon,- InputGroupText,- InputGroupTextarea,-} from "./ui/input-group";-import {- Select,- SelectItem,- SelectPopup,- SelectTrigger,- SelectValue,-} from "./ui/select";function formatMessageMeta(createdAt: string, duration: string | null): string {if (!duration) return formatTimestamp(createdAt);return `${formatTimestamp(createdAt)} • ${duration}`;}-function statusLabel(phase: string): string {- if (phase === "running") return "Thinking / working";- if (phase === "connecting") return "Connecting";- if (phase === "ready") return "Ready";- return "Disconnected";+const FILE_MANAGER_LABEL = navigator.platform.includes("Mac")+ ? "Finder"+ : navigator.platform.includes("Win")+ ? "Explorer"+ : "Files";++function editorLabel(editor: (typeof EDITORS)[number]): string {+ return editor.command ? editor.label : FILE_MANAGER_LABEL;}+const LAST_EDITOR_KEY = "codething:last-editor";+function workToneClass(tone: "thinking" | "tool" | "info" | "error"): string {- if (tone === "error") return "text-destructive/50";- if (tone === "tool") return "text-muted-foreground";- if (tone === "thinking") return "text-muted-foreground/70";- return "text-muted-foreground/60";+ if (tone === "error") return "text-rose-300/50";+ if (tone === "tool") return "text-[#8a8a8a]";+ if (tone === "thinking") return "text-[#707070]";+ return "text-[#606060]";+}++interface PendingApprovalCard {+ requestId: string;+ requestKind: "command" | "file-change";+ createdAt: string;+ detail?: string;+}++function asRecord(value: unknown): Record<string, unknown> | undefined {+ if (!value || typeof value !== "object") return undefined;+ return value as Record<string, unknown>;+}++function asString(value: unknown): string | undefined {+ return typeof value === "string" ? value : undefined;+}++function approvalDetail(event: ProviderEvent): string | undefined {+ const payload = asRecord(event.payload);+ const command = asString(payload?.command);+ if (command) return command;+ return asString(payload?.reason);+}++function derivePendingApprovals(+ events: ProviderEvent[],+): PendingApprovalCard[] {+ const pending = new Map<string, PendingApprovalCard>();+ const ordered = [...events].reverse();++ for (const event of ordered) {+ if (+ event.method === "session/closed" ||+ event.method === "session/exited"+ ) {+ pending.clear();+ continue;+ }++ const requestId =+ event.requestId ?? asString(asRecord(event.payload)?.requestId);+ if (!requestId) continue;++ if (+ event.kind === "request" &&+ (event.requestKind === "command" || event.requestKind === "file-change")+ ) {+ const detail = approvalDetail(event);+ pending.set(requestId, {+ requestId,+ requestKind: event.requestKind,+ createdAt: event.createdAt,+ ...(detail ? { detail } : {}),+ });+ continue;+ }++ if (event.method === "item/requestApproval/decision") {+ pending.delete(requestId);+ }+ }++ return Array.from(pending.values());}export default function ChatView() {@@ -65,30 +123,46 @@ export default function ChatView() {const [prompt, setPrompt] = useState("");const [isSending, setIsSending] = useState(false);const [isConnecting, setIsConnecting] = useState(false);+ const [isModelMenuOpen, setIsModelMenuOpen] = useState(false);+ const [isEditorMenuOpen, setIsEditorMenuOpen] = useState(false);+ const [lastEditor, setLastEditor] = useState<EditorId>(() => {+ const stored = localStorage.getItem(LAST_EDITOR_KEY);+ return EDITORS.some((e) => e.id === stored)+ ? (stored as EditorId)+ : EDITORS[0].id;+ });const [selectedEffort, setSelectedEffort] =useState<string>(DEFAULT_REASONING);+ const [isSwitchingRuntimeMode, setIsSwitchingRuntimeMode] = useState(false);+ const [respondingRequestIds, setRespondingRequestIds] = useState<string[]>(+ [],+ );const [nowTick, setNowTick] = useState(() => Date.now());const messagesEndRef = useRef<HTMLDivElement>(null);+ const textareaRef = useRef<HTMLTextAreaElement>(null);+ const modelMenuRef = useRef<HTMLDivElement>(null);+ const editorMenuRef = useRef<HTMLDivElement>(null);const activeThread = state.threads.find((t) => t.id === state.activeThreadId);- const activeProject = state.projects.find(- (p) => p.id === activeThread?.projectId,- );+ const activeProject = state.projects.find((p) => p.id === activeThread?.projectId);const selectedModel = resolveModelSlug(activeThread?.model ?? activeProject?.model ?? DEFAULT_MODEL,);const phase = derivePhase(activeThread?.session ?? null);const isWorking = phase === "running" || isSending || isConnecting;- const activeTurnId = activeThread?.session?.activeTurnId;const nowIso = new Date(nowTick).toISOString();const modelOptions = MODEL_OPTIONS;const workLogEntries = useMemo(- () => deriveWorkLogEntries(activeThread?.events ?? [], activeTurnId),- [activeThread?.events, activeTurnId],+ () => deriveWorkLogEntries(activeThread?.events ?? [], undefined),+ [activeThread?.events],+ );+ const pendingApprovals = useMemo(+ () => derivePendingApprovals(activeThread?.events ?? []),+ [activeThread?.events],);const assistantCompletionByItemId = useMemo(() => {const map = new Map<string, string>();- const ordered = [...(activeThread?.events ?? [])].reverse();+ const ordered = [...(activeThread?.events ?? [])].toReversed();for (const event of ordered) {if (event.method !== "item/completed") continue;if (!event.itemId) continue;@@ -97,27 +171,113 @@ export default function ChatView() {return map;}, [activeThread?.events]);const timelineEntries = useMemo(- () =>- deriveTimelineEntries(- activeThread?.messages ?? [],- isWorking ? workLogEntries : [],- ),- [activeThread?.messages, isWorking, workLogEntries],+ () => deriveTimelineEntries(activeThread?.messages ?? [], workLogEntries),+ [activeThread?.messages, workLogEntries],);+ const completionSummary = useMemo(() => {+ if (!activeThread?.latestTurnStartedAt) return null;+ if (!activeThread.latestTurnCompletedAt) return null;+ if (workLogEntries.length === 0) return null;++ if (+ typeof activeThread.latestTurnDurationMs === "number" &&+ Number.isFinite(activeThread.latestTurnDurationMs) &&+ activeThread.latestTurnDurationMs >= 0+ ) {+ return `Worked for ${formatDuration(activeThread.latestTurnDurationMs)}`;+ }++ const elapsed = formatElapsed(+ activeThread.latestTurnStartedAt,+ activeThread.latestTurnCompletedAt,+ );+ return elapsed ? `Worked for ${elapsed}` : null;+ }, [+ activeThread?.latestTurnStartedAt,+ activeThread?.latestTurnCompletedAt,+ activeThread?.latestTurnDurationMs,+ workLogEntries.length,+ ]);+ const completionDividerBeforeEntryId = useMemo(() => {+ if (!activeThread?.latestTurnStartedAt) return null;+ if (!activeThread.latestTurnCompletedAt) return null;+ if (workLogEntries.length === 0) return null;++ const turnStartedAt = Date.parse(activeThread.latestTurnStartedAt);+ if (Number.isNaN(turnStartedAt)) return null;++ const entry = timelineEntries.find((timelineEntry) => {+ if (timelineEntry.kind !== "message") return false;+ if (timelineEntry.message.role !== "assistant") return false;+ const messageAt = Date.parse(timelineEntry.message.createdAt);+ return !Number.isNaN(messageAt) && messageAt >= turnStartedAt;+ });+ return entry?.id ?? null;+ }, [+ activeThread?.latestTurnStartedAt,+ activeThread?.latestTurnCompletedAt,+ timelineEntries,+ workLogEntries.length,+ ]);+ const runtimeSessionConfig =+ state.runtimeMode === "full-access"+ ? ({+ approvalPolicy: "never",+ sandboxMode: "danger-full-access",+ } as const)+ : ({+ approvalPolicy: "on-request",+ sandboxMode: "workspace-write",+ } as const);++ const handleRuntimeModeChange = async (+ mode: "approval-required" | "full-access",+ ) => {+ if (mode === state.runtimeMode) return;+ dispatch({ type: "SET_RUNTIME_MODE", mode });+ if (!api) return;++ const sessionIds = state.threads+ .map((t) => t.session)+ .filter(+ (s): s is NonNullable<typeof s> =>+ s !== null && s.status !== "closed",+ )+ .map((s) => s.sessionId);++ if (sessionIds.length === 0) return;++ setIsSwitchingRuntimeMode(true);+ try {+ await Promise.all(+ sessionIds.map((id) =>+ api.providers.stopSession({ sessionId: id }).catch(() => undefined),+ ),+ );+ } finally {+ setIsSwitchingRuntimeMode(false);+ }+ };// Auto-scroll on new messagesconst messageCount = activeThread?.messages.length ?? 0;const workLogCount = workLogEntries.length;- // biome-ignore lint/correctness/useExhaustiveDependencies: trigger on message count changeuseEffect(() => {messagesEndRef.current?.scrollIntoView({ behavior: "smooth" });}, [messageCount]);- // biome-ignore lint/correctness/useExhaustiveDependencies: auto-scroll while active work-log events stream inuseEffect(() => {if (phase !== "running") return;messagesEndRef.current?.scrollIntoView({ behavior: "smooth" });}, [phase, workLogCount]);+ // Auto-resize textarea+ useEffect(() => {+ const ta = textareaRef.current;+ if (!ta) return;+ ta.style.height = "auto";+ ta.style.height = `${Math.min(ta.scrollHeight, 200)}px`;+ }, [prompt]);+useEffect(() => {if (phase !== "running") return;const timer = window.setInterval(() => {@@ -128,6 +288,63 @@ export default function ChatView() {};}, [phase]);+ useEffect(() => {+ if (!isModelMenuOpen) return;++ const handleClickOutside = (event: MouseEvent) => {+ if (!modelMenuRef.current) return;+ if (event.target instanceof Node && !modelMenuRef.current.contains(event.target)) {+ setIsModelMenuOpen(false);+ }+ };++ window.addEventListener("mousedown", handleClickOutside);+ return () => {+ window.removeEventListener("mousedown", handleClickOutside);+ };+ }, [isModelMenuOpen]);++ useEffect(() => {+ if (!isEditorMenuOpen) return;++ const handleClickOutside = (event: MouseEvent) => {+ if (!editorMenuRef.current) return;+ if (+ event.target instanceof Node &&+ !editorMenuRef.current.contains(event.target)+ ) {+ setIsEditorMenuOpen(false);+ }+ };++ window.addEventListener("mousedown", handleClickOutside);+ return () => {+ window.removeEventListener("mousedown", handleClickOutside);+ };+ }, [isEditorMenuOpen]);++ // Cmd+O / Ctrl+O to open in last-used editor+ useEffect(() => {+ const handler = (e: globalThis.KeyboardEvent) => {+ if (e.key === "o" && (e.metaKey || e.ctrlKey) && !e.shiftKey) {+ if (api && activeProject) {+ e.preventDefault();+ void api.shell.openInEditor(activeProject.cwd, lastEditor);+ }+ }+ };+ window.addEventListener("keydown", handler);+ return () => window.removeEventListener("keydown", handler);+ }, [api, activeProject, lastEditor]);++ const openInEditor = (editorId: EditorId) => {+ if (!api || !activeProject) return;+ void api.shell.openInEditor(activeProject.cwd, editorId);+ setLastEditor(editorId);+ localStorage.setItem(LAST_EDITOR_KEY, editorId);+ setIsEditorMenuOpen(false);+ };+const ensureSession = async (): Promise<string | null> => {if (!api || !activeThread || !activeProject) return null;if (activeThread.session && activeThread.session.status !== "closed") {@@ -140,6 +357,8 @@ export default function ChatView() {provider: "codex",cwd: activeProject.cwd || undefined,model: selectedModel || undefined,+ approvalPolicy: runtimeSessionConfig.approvalPolicy,+ sandboxMode: runtimeSessionConfig.sandboxMode,});dispatch({type: "UPDATE_SESSION",@@ -167,8 +386,7 @@ export default function ChatView() {// Auto-title from first messageif (activeThread.messages.length === 0) {- const title =- trimmed.length > 50 ? `${trimmed.slice(0, 50)}...` : trimmed;+ const title = trimmed.length > 50 ? `${trimmed.slice(0, 50)}...` : trimmed;dispatch({type: "SET_THREAD_TITLE",threadId: activeThread.id,@@ -219,6 +437,37 @@ export default function ChatView() {});};+ const onRespondToApproval = async (+ requestId: string,+ decision: ProviderApprovalDecision,+ ) => {+ if (!api || !activeThread?.session) return;++ setRespondingRequestIds((existing) =>+ existing.includes(requestId) ? existing : [...existing, requestId],+ );+ try {+ await api.providers.respondToRequest({+ sessionId: activeThread.session.sessionId,+ requestId,+ decision,+ });+ } catch (err) {+ dispatch({+ type: "SET_ERROR",+ threadId: activeThread.id,+ error:+ err instanceof Error+ ? err.message+ : "Failed to submit approval decision.",+ });+ } finally {+ setRespondingRequestIds((existing) =>+ existing.filter((id) => id !== requestId),+ );+ }+ };+const onModelSelect = (model: string) => {if (!activeThread) return;dispatch({@@ -226,6 +475,7 @@ export default function ChatView() {threadId: activeThread.id,model: resolveModelSlug(model),});+ setIsModelMenuOpen(false);};const onKeyDown = (e: KeyboardEvent<HTMLTextAreaElement>) => {@@ -238,13 +488,11 @@ export default function ChatView() {// Empty state: no active threadif (!activeThread) {return (- <div className="flex flex-1 flex-col bg-background text-muted-foreground/60">+ <div className="flex flex-1 flex-col bg-[#0c0c0c] text-[#a0a0a0]/40"><div className="drag-region h-[52px] shrink-0" /><div className="flex flex-1 items-center justify-center"><div className="text-center">- <p className="text-sm">- Select a thread or create a new one to get started.- </p>+ <p className="text-sm">Select a thread or create a new one to get started.</p></div></div></div>@@ -252,61 +500,55 @@ export default function ChatView() {}return (- <div className="flex flex-1 flex-col bg-background">+ <div className="flex flex-1 flex-col bg-[#0c0c0c]">{/* Top bar */}- <header className="drag-region flex items-center justify-between border-b px-5 pt-[28px] pb-3">+ <header className="drag-region flex items-center justify-between border-b border-white/8 px-5 pt-[28px] pb-3"><div className="flex items-center gap-3">- <h2 className="text-sm font-medium text-foreground">+ <h2 className="text-sm font-medium text-[#e0e0e0]">{activeThread.title}</h2>- {activeProject && (- <span className="rounded-full bg-accent px-2 py-0.5 text-[10px] text-muted-foreground/70">- {activeProject.name}- </span>- )}</div><div className="flex items-center gap-3">- {/* Status indicator */}- <div- className={`inline-flex items-center gap-2 rounded-full border px-2.5 py-1 text-[10px] ${- phase === "running"- ? "border-sky-400/35 bg-sky-500/8 text-sky-700 dark:text-sky-100"- : phase === "connecting"- ? "border-amber-400/35 bg-amber-500/8 text-amber-700 dark:text-amber-100"- : phase === "ready"- ? "border-emerald-400/35 bg-emerald-500/8 text-emerald-700 dark:text-emerald-100"- : "border-border bg-secondary text-muted-foreground"- }`}- >- <span className="relative inline-flex h-2.5 w-2.5">- {(phase === "running" || phase === "connecting") && (- <span- className={`absolute inline-flex h-full w-full animate-ping rounded-full ${- phase === "running" ? "bg-sky-300/70" : "bg-amber-300/70"- }`}- />+ {/* Open in editor */}+ {activeProject && (+ <div className="relative" ref={editorMenuRef}>+ <button+ type="button"+ className="rounded-md px-2 py-1 text-[10px] text-[#a0a0a0]/40 transition-colors duration-150 hover:text-[#a0a0a0]/60"+ onClick={() => setIsEditorMenuOpen((v) => !v)}+ >+ Open in…+ </button>+ {isEditorMenuOpen && (+ <div className="absolute right-0 top-full z-50 mt-1 min-w-[120px] rounded-md border border-white/[0.08] bg-[#1b1b1d] py-1 shadow-xl">+ {EDITORS.map((editor) => (+ <button+ key={editor.id}+ type="button"+ className="flex w-full items-center gap-2 px-3 py-1.5 text-left text-[11px] text-[#e0e0e0] hover:bg-white/[0.06]"+ onClick={() => openInEditor(editor.id)}+ >+ {editorLabel(editor)}+ {editor.id === lastEditor && (+ <kbd className="ml-auto text-[9px] text-[#a0a0a0]/40">+ {navigator.platform.includes("Mac")+ ? "\u2318O"+ : "Ctrl+O"}+ </kbd>+ )}+ </button>+ ))}+ </div>)}- <span- className={`relative inline-flex h-2.5 w-2.5 rounded-full ${- phase === "running"- ? "bg-sky-200"- : phase === "connecting"- ? "bg-amber-200"- : phase === "ready"- ? "bg-emerald-200"- : "bg-muted-foreground/40"- }`}- />- </span>- <span>{statusLabel(phase)}</span>- </div>+ </div>+ )}{/* Diff toggle */}<buttontype="button"className={`rounded-md px-2 py-1 text-[10px] transition-colors duration-150 ${state.diffOpen- ? "bg-accent text-accent-foreground"- : "text-muted-foreground/60 hover:text-muted-foreground"+ ? "bg-white/10 text-white"+ : "text-[#a0a0a0]/40 hover:text-[#a0a0a0]/60"}`}onClick={() => dispatch({ type: "TOGGLE_DIFF" })}>@@ -317,105 +559,192 @@ export default function ChatView() {{/* Error banner */}{activeThread.error && (- <div className="mx-4 mt-3 rounded-lg border border-destructive/20 bg-destructive/10 px-3 py-2 text-xs text-destructive-foreground">+ <div className="mx-4 mt-3 rounded-lg border border-rose-400/20 bg-rose-900/20 px-3 py-2 text-xs text-rose-200">{activeThread.error}</div>)}+ {pendingApprovals.length > 0 && (+ <div className="mx-4 mt-3 space-y-2">+ {pendingApprovals.map((approval) => {+ const isResponding = respondingRequestIds.includes(+ approval.requestId,+ );+ return (+ <div+ key={approval.requestId}+ className="rounded-lg border border-amber-300/20 bg-amber-500/[0.07] px-3 py-2"+ >+ <p className="text-xs font-medium text-amber-100">+ {approval.requestKind === "command"+ ? "Command approval requested"+ : "File-change approval requested"}+ </p>+ {approval.detail && (+ <p+ className="mt-1 truncate font-mono text-[11px] text-amber-100/75"+ title={approval.detail}+ >+ {approval.detail}+ </p>+ )}+ <div className="mt-2 flex flex-wrap gap-1.5">+ <button+ type="button"+ className="rounded-md border border-white/[0.15] bg-white/[0.08] px-2 py-1 text-[11px] text-[#e8e8e8] transition-colors duration-150 hover:bg-white/[0.13] disabled:cursor-not-allowed disabled:opacity-50"+ disabled={isResponding}+ onClick={() =>+ void onRespondToApproval(approval.requestId, "accept")+ }+ >+ Approve once+ </button>+ <button+ type="button"+ className="rounded-md border border-sky-300/30 bg-sky-500/[0.15] px-2 py-1 text-[11px] text-sky-100 transition-colors duration-150 hover:bg-sky-500/[0.22] disabled:cursor-not-allowed disabled:opacity-50"+ disabled={isResponding}+ onClick={() =>+ void onRespondToApproval(+ approval.requestId,+ "acceptForSession",+ )+ }+ >+ Always allow this session+ </button>+ <button+ type="button"+ className="rounded-md border border-white/[0.15] px-2 py-1 text-[11px] text-[#d8d8d8] transition-colors duration-150 hover:bg-white/[0.06] disabled:cursor-not-allowed disabled:opacity-50"+ disabled={isResponding}+ onClick={() =>+ void onRespondToApproval(approval.requestId, "decline")+ }+ >+ Decline+ </button>+ <button+ type="button"+ className="rounded-md border border-rose-300/30 bg-rose-500/[0.12] px-2 py-1 text-[11px] text-rose-100 transition-colors duration-150 hover:bg-rose-500/[0.2] disabled:cursor-not-allowed disabled:opacity-50"+ disabled={isResponding}+ onClick={() =>+ void onRespondToApproval(approval.requestId, "cancel")+ }+ >+ Cancel turn+ </button>+ </div>+ </div>+ );+ })}+ </div>+ )}+{/* Messages */}<div className="flex-1 overflow-y-auto px-5 py-4">{activeThread.messages.length === 0 && !isWorking ? (<div className="flex h-full items-center justify-center">- <p className="text-sm text-muted-foreground/40">- Send a message to start the conversation.- </p>+ <p className="text-sm text-[#a0a0a0]/30">Send a message to start the conversation.</p></div>) : (<div className="mx-auto max-w-3xl space-y-4">- {timelineEntries.map((timelineEntry) =>- timelineEntry.kind === "work" ? (- <div- key={timelineEntry.id}- className="border-l-2 border-border/60 pl-4 py-1"- >- <p- className={`py-[2px] text-[12px] leading-relaxed ${workToneClass(timelineEntry.entry.tone)}`}- >- {timelineEntry.entry.detail ? (- <>- {timelineEntry.entry.label}- <span className="ml-1.5 font-mono text-[11px] opacity-60">- {timelineEntry.entry.detail}- </span>- </>- ) : (- timelineEntry.entry.label- )}- </p>- </div>- ) : (- <div key={timelineEntry.id}>- {timelineEntry.message.role === "user" ? (- <div className="flex justify-end">- <div className="max-w-[80%] rounded-2xl rounded-br-sm border border-border bg-accent px-4 py-3">- <pre className="whitespace-pre-wrap wrap-break-word font-mono text-sm leading-relaxed text-foreground">- {timelineEntry.message.text}- </pre>- <p className="mt-1.5 text-right text-[10px] text-muted-foreground/40">- {formatTimestamp(timelineEntry.message.createdAt)}- </p>- </div>+ {timelineEntries.map((timelineEntry, index) => (+ <Fragment key={timelineEntry.id}>+ {timelineEntry.kind === "message" &&+ timelineEntry.message.role === "assistant" &&+ (completionDividerBeforeEntryId === timelineEntry.id ||+ timelineEntries[index - 1]?.kind === "work") && (+ <div className="my-3 flex items-center gap-3">+ <span className="h-px flex-1 bg-white/[0.1]" />+ <span className="rounded-full border border-white/[0.12] bg-[#121212] px-2.5 py-1 text-[10px] uppercase tracking-[0.14em] text-[#9a9a9a]/80">+ {completionSummary+ ? `Response • ${completionSummary}`+ : "Response"}+ </span>+ <span className="h-px flex-1 bg-white/[0.1]" /></div>- ) : (- <div className="border-l-2 border-border pl-4">- <ChatMarkdown- text={- timelineEntry.message.text ||- (timelineEntry.message.streaming- ? ""- : "(empty response)")- }- />- {timelineEntry.message.streaming && (- <div className="pt-1.5">- <span className="inline-flex items-center gap-2 rounded-full border border-sky-400/25 bg-sky-500/8 px-2 py-0.5 text-[10px] text-sky-700/90 dark:text-sky-100/90">- <span className="inline-flex gap-1">- <span className="h-1.5 w-1.5 animate-pulse rounded-full bg-sky-500/80 dark:bg-sky-100/80" />- <span className="h-1.5 w-1.5 animate-pulse rounded-full bg-sky-500/80 dark:bg-sky-100/80 [animation-delay:150ms]" />- <span className="h-1.5 w-1.5 animate-pulse rounded-full bg-sky-500/80 dark:bg-sky-100/80 [animation-delay:300ms]" />- </span>- <span>Thinking</span>+ )}+ {timelineEntry.kind === "work" ? (+ <div className="flex items-start gap-2 py-0.5 pl-1.5">+ <span className="mt-[7px] h-1.5 w-1.5 shrink-0 rounded-full bg-white/[0.18]" />+ <p+ className={`py-[2px] text-[11px] leading-relaxed ${workToneClass(timelineEntry.entry.tone)}`}+ >+ {timelineEntry.entry.detail ? (+ <>+ {timelineEntry.entry.label}+ <span+ className="ml-1.5 inline-block max-w-[70ch] truncate align-bottom font-mono text-[11px] opacity-60"+ title={timelineEntry.entry.detail}+ >+ {timelineEntry.entry.detail}</span>- </div>+ </>+ ) : (+ timelineEntry.entry.label)}- <p className="mt-1.5 text-[10px] text-muted-foreground/40">- {formatMessageMeta(- timelineEntry.message.createdAt,- timelineEntry.message.streaming- ? formatElapsed(- timelineEntry.message.createdAt,- nowIso,- )- : formatElapsed(- timelineEntry.message.createdAt,- assistantCompletionByItemId.get(- timelineEntry.message.id,- ),- ),- )}+ </p>+ </div>+ ) : timelineEntry.message.role === "user" ? (+ <div className="flex justify-end">+ <div className="max-w-[80%] rounded-2xl rounded-br-sm border border-white/[0.08] bg-white/[0.05] px-4 py-3">+ <pre className="whitespace-pre-wrap break-words font-mono text-sm leading-relaxed text-[#e0e0e0]">+ {timelineEntry.message.text}+ </pre>+ <p className="mt-1.5 text-right text-[10px] text-[#a0a0a0]/30">+ {formatTimestamp(timelineEntry.message.createdAt)}</p></div>- )}- </div>- ),- )}+ </div>+ ) : (+ <div className="px-1 py-0.5">+ <ChatMarkdown+ text={+ timelineEntry.message.text ||+ (timelineEntry.message.streaming+ ? ""+ : "(empty response)")+ }+ />+ {timelineEntry.message.streaming && (+ <div className="pt-1.5">+ <span className="inline-flex items-center gap-2 rounded-full border border-sky-400/25 bg-sky-500/[0.08] px-2 py-0.5 text-[10px] text-sky-100/90">+ <span className="inline-flex gap-1">+ <span className="h-1.5 w-1.5 animate-pulse rounded-full bg-sky-100/80" />+ <span className="h-1.5 w-1.5 animate-pulse rounded-full bg-sky-100/80 [animation-delay:150ms]" />+ <span className="h-1.5 w-1.5 animate-pulse rounded-full bg-sky-100/80 [animation-delay:300ms]" />+ </span>+ <span>Thinking</span>+ </span>+ </div>+ )}+ <p className="mt-1.5 text-[10px] text-[#a0a0a0]/30">+ {formatMessageMeta(+ timelineEntry.message.createdAt,+ timelineEntry.message.streaming+ ? formatElapsed(+ timelineEntry.message.createdAt,+ nowIso,+ )+ : formatElapsed(+ timelineEntry.message.createdAt,+ assistantCompletionByItemId.get(+ timelineEntry.message.id,+ ),+ ),+ )}+ </p>+ </div>+ )}+ </Fragment>+ ))}{isWorking && (- <div className="border-l-2 border-border/60 pl-4 py-1">+ <div className="flex items-center gap-2 py-0.5 pl-1.5">+ <span className="h-1.5 w-1.5 shrink-0 rounded-full bg-white/[0.18]" /><div className="flex items-center pt-1"><span className="inline-flex items-center gap-[3px]">- <span className="h-1 w-1 rounded-full bg-foreground/20 animate-pulse" />- <span className="h-1 w-1 rounded-full bg-foreground/20 animate-pulse [animation-delay:200ms]" />- <span className="h-1 w-1 rounded-full bg-foreground/20 animate-pulse [animation-delay:400ms]" />+ <span className="h-1 w-1 rounded-full bg-white/20 animate-pulse" />+ <span className="h-1 w-1 rounded-full bg-white/20 animate-pulse [animation-delay:200ms]" />+ <span className="h-1 w-1 rounded-full bg-white/20 animate-pulse [animation-delay:400ms]" /></span></div></div>@@ -428,101 +757,271 @@ export default function ChatView() {{/* Input bar */}<div className="px-5 pb-4 pt-2"><form onSubmit={onSend} className="mx-auto max-w-3xl">- <InputGroup className="rounded-[20px] before:rounded-[19px] **:[textarea]:max-h-[200px]">- <InputGroupTextarea- value={prompt}- onChange={(e) => setPrompt(e.target.value)}- onKeyDown={onKeyDown}- placeholder={- phase === "disconnected"- ? "Ask for follow-up changes"- : "Ask anything..."- }- disabled={isSending || isConnecting}- rows={2}- className="font-sans!"- />- <InputGroupAddon align="block-end">- {/* Model picker */}- <Select- value={selectedModel}- onValueChange={(val) => val && onModelSelect(val)}- >- <SelectTrigger- size="sm"- className="w-auto min-w-0 border-0 shadow-none bg-transparent dark:bg-transparent before:hidden data-[popup-open]:bg-accent dark:data-[popup-open]:bg-accent"- >- <SelectValue />- </SelectTrigger>- <SelectPopup side="top" align="start">- {modelOptions.map((model) => (- <SelectItem key={model} value={model}>- {model}- </SelectItem>- ))}- </SelectPopup>- </Select>+ <div className="group rounded-[20px] border border-white/8 bg-[#141416] transition-colors duration-200 focus-within:border-white/16">+ {/* Textarea area */}+ <div className="px-4 pt-4 pb-2">+ <textarea+ ref={textareaRef}+ className="w-full resize-none bg-transparent text-[14px] leading-relaxed text-[#e0e0e0] placeholder:text-[#a0a0a0]/35 focus:outline-none"+ rows={2}+ value={prompt}+ onChange={(e) => setPrompt(e.target.value)}+ onKeyDown={onKeyDown}+ placeholder={+ phase === "disconnected" ? "Ask for follow-up changes" : "Ask anything..."+ }+ disabled={isSending || isConnecting}+ />+ </div>- {/* Reasoning effort */}- <Select- value={selectedEffort}- onValueChange={(val) => val && setSelectedEffort(val)}- >- <SelectTrigger- size="sm"- className="w-auto min-w-0 border-0 shadow-none bg-transparent dark:bg-transparent before:hidden data-[popup-open]:bg-accent dark:data-[popup-open]:bg-accent capitalize"- >- <SelectValue />- </SelectTrigger>- <SelectPopup side="top" align="start">- {REASONING_OPTIONS.map((effort) => (- <SelectItem key={effort} value={effort}>- {effort.charAt(0).toUpperCase() + effort.slice(1)}- {effort === DEFAULT_REASONING ? " (default)" : ""}- </SelectItem>- ))}- </SelectPopup>- </Select>+ {/* Bottom toolbar */}+ <div className="flex items-center justify-between px-3 pb-3">+ <div className="flex items-center gap-1">+ {/* Model picker */}+ <div className="relative" ref={modelMenuRef}>+ <button+ type="button"+ className="inline-flex items-center gap-1.5 rounded-lg px-2.5 py-1.5 text-[13px] text-[#a0a0a0]/70 transition-colors duration-150 hover:bg-white/6 hover:text-[#d0d0d0]"+ onClick={() => setIsModelMenuOpen((open) => !open)}+ >+ <span className="max-w-[180px] truncate">{selectedModel}</span>+ <svg+ width="10"+ height="10"+ viewBox="0 0 10 10"+ fill="none"+ className="opacity-50"+ aria-hidden="true"+ >+ <path+ d="M2.5 4L5 6.5L7.5 4"+ stroke="currentColor"+ strokeWidth="1.2"+ strokeLinecap="round"+ strokeLinejoin="round"+ />+ </svg>+ </button>+ {isModelMenuOpen && (+ <div className="absolute bottom-full left-0 z-20 mb-2 w-[320px] rounded-2xl border border-white/10 bg-[#1b1b1d]/95 p-2 shadow-[0_16px_40px_rgba(0,0,0,0.55)] backdrop-blur">+ <p className="px-2 py-1 text-[11px] text-[#a0a0a0]/70">Select model</p>+ <div className="max-h-72 overflow-y-auto">+ {modelOptions.map((model) => {+ const isSelected = model === selectedModel;+ return (+ <button+ key={model}+ type="button"+ className={`mb-0.5 flex w-full items-center justify-between gap-2 rounded-xl px-2 py-2 text-left font-mono text-sm transition-colors duration-150 ${+ isSelected+ ? "bg-white/8 text-white"+ : "text-[#d4d4d4] hover:bg-white/5"+ }`}+ onClick={() => onModelSelect(model)}+ >+ <span className="truncate">{model}</span>+ <span+ className={`pt-0.5 text-sm ${+ isSelected ? "text-white" : "text-transparent"+ }`}+ >+ ✓+ </span>+ </button>+ );+ })}+ </div>+ </div>+ )}+ </div>- {activeProject && (- <InputGroupText className="ml-auto text-muted-foreground/40">- {activeProject.name}- </InputGroupText>- )}+ {/* Divider */}+ <div className="mx-0.5 h-4 w-px bg-white/8" />- {phase === "running" ? (- <Button- variant="destructive"- size="icon-sm"- className="rounded-full"- onClick={() => void onInterrupt()}- aria-label="Stop generation"+ {/* Reasoning effort */}+ <label+ className="inline-flex cursor-pointer items-center gap-1.5 rounded-lg px-2.5 py-1.5 text-[13px] text-[#a0a0a0]/70 transition-colors duration-150 hover:bg-white/6 hover:text-[#d0d0d0]"+ htmlFor="reasoning-effort">- <SquareIcon className="size-3" />- </Button>- ) : (- <Button- type="submit"- size="icon-sm"- className="rounded-full"- disabled={isSending || isConnecting || !prompt.trim()}- aria-label={- isConnecting- ? "Connecting"- : isSending- ? "Sending"- : "Send message"+ <span>{selectedEffort.charAt(0).toUpperCase() + selectedEffort.slice(1)}</span>+ <select+ id="reasoning-effort"+ className="absolute opacity-0 w-0 h-0"+ value={selectedEffort}+ onChange={(event) => setSelectedEffort(event.target.value)}+ >+ {REASONING_OPTIONS.map((effort) => (+ <option key={effort} value={effort} className="bg-[#1b1b1d]">+ {effort}+ {effort === DEFAULT_REASONING ? " (default)" : ""}+ </option>+ ))}+ </select>+ <svg+ width="10"+ height="10"+ viewBox="0 0 10 10"+ fill="none"+ className="opacity-50"+ aria-hidden="true"+ >+ <path+ d="M2.5 4L5 6.5L7.5 4"+ stroke="currentColor"+ strokeWidth="1.2"+ strokeLinecap="round"+ strokeLinejoin="round"+ />+ </svg>+ </label>++ {/* Divider */}+ <div className="mx-0.5 h-4 w-px bg-white/[0.08]" />++ {/* Runtime mode toggle */}+ <button+ type="button"+ className="inline-flex items-center gap-1.5 rounded-lg px-2.5 py-1.5 text-[13px] text-[#a0a0a0]/70 transition-colors duration-150 hover:bg-white/[0.06] hover:text-[#d0d0d0]"+ disabled={isSwitchingRuntimeMode}+ onClick={() =>+ void handleRuntimeModeChange(+ state.runtimeMode === "full-access"+ ? "approval-required"+ : "full-access",+ )+ }+ title={+ state.runtimeMode === "full-access"+ ? "Full access — click to require approvals"+ : "Approval required — click for full access"}>- {isConnecting || isSending ? (- <LoaderCircleIcon className="animate-spin" />+ {state.runtimeMode === "full-access" ? (+ <svg+ width="14"+ height="14"+ viewBox="0 0 14 14"+ fill="none"+ aria-hidden="true"+ >+ <rect+ x="2"+ y="5.5"+ width="10"+ height="7"+ rx="1.5"+ stroke="currentColor"+ strokeWidth="1.3"+ />+ <path+ d="M9.5 5.5V4a2.5 2.5 0 0 0-5 0"+ stroke="currentColor"+ strokeWidth="1.3"+ strokeLinecap="round"+ />+ </svg>) : (- <ArrowUpIcon />+ <svg+ width="14"+ height="14"+ viewBox="0 0 14 14"+ fill="none"+ aria-hidden="true"+ >+ <rect+ x="2"+ y="5.5"+ width="10"+ height="7"+ rx="1.5"+ stroke="currentColor"+ strokeWidth="1.3"+ />+ <path+ d="M4.5 5.5V4a2.5 2.5 0 0 1 5 0v1.5"+ stroke="currentColor"+ strokeWidth="1.3"+ strokeLinecap="round"+ />+ </svg>)}- </Button>- )}- </InputGroupAddon>- </InputGroup>+ <span>+ {state.runtimeMode === "full-access"+ ? "Full access"+ : "Supervised"}+ </span>+ </button>+ </div>++ {/* Right side: send / stop button */}+ <div className="flex items-center gap-2">+ {phase === "running" ? (+ <button+ type="button"+ className="flex h-8 w-8 items-center justify-center rounded-full bg-rose-500/90 text-white transition-all duration-150 hover:bg-rose-500 hover:scale-105"+ onClick={() => void onInterrupt()}+ aria-label="Stop generation"+ >+ <svg+ width="12"+ height="12"+ viewBox="0 0 12 12"+ fill="currentColor"+ aria-hidden="true"+ >+ <rect x="2" y="2" width="8" height="8" rx="1.5" />+ </svg>+ </button>+ ) : (+ <button+ type="submit"+ className="flex h-8 w-8 items-center justify-center rounded-full bg-white/90 text-[#0c0c0c] transition-all duration-150 hover:bg-white hover:scale-105 disabled:opacity-30 disabled:hover:scale-100"+ disabled={isSending || isConnecting || !prompt.trim()}+ aria-label={+ isConnecting ? "Connecting" : isSending ? "Sending" : "Send message"+ }+ >+ {isConnecting || isSending ? (+ <svg+ width="14"+ height="14"+ viewBox="0 0 14 14"+ fill="none"+ className="animate-spin"+ aria-hidden="true"+ >+ <circle+ cx="7"+ cy="7"+ r="5.5"+ stroke="currentColor"+ strokeWidth="1.5"+ strokeLinecap="round"+ strokeDasharray="20 12"+ />+ </svg>+ ) : (+ <svg+ width="14"+ height="14"+ viewBox="0 0 14 14"+ fill="none"+ aria-hidden="true"+ >+ <path+ d="M7 11.5V2.5M7 2.5L3 6.5M7 2.5L11 6.5"+ stroke="currentColor"+ strokeWidth="1.8"+ strokeLinecap="round"+ strokeLinejoin="round"+ />+ </svg>+ )}+ </button>+ )}+ </div>+ </div>+ </div></form></div></div>diff --git a/apps/renderer/src/components/DiffPanel.tsx b/apps/renderer/src/components/DiffPanel.tsxindex ba4274e91..80d44b14f 100644--- a/apps/renderer/src/components/DiffPanel.tsx+++ b/apps/renderer/src/components/DiffPanel.tsx@@ -4,15 +4,13 @@ export default function DiffPanel() {const { dispatch } = useStore();return (- <aside className="flex h-full w-[400px] shrink-0 flex-col border-l border-border bg-card">+ <aside className="flex h-full w-[400px] shrink-0 flex-col border-l border-white/[0.08] bg-[#141414]">{/* Header */}- <div className="drag-region flex items-center justify-between border-b border-border px-4 pt-[28px] pb-3">- <h3 className="text-xs font-medium text-foreground">- Uncommitted changes- </h3>+ <div className="drag-region flex items-center justify-between border-b border-white/[0.08] px-4 pt-[28px] pb-3">+ <h3 className="text-xs font-medium text-[#e0e0e0]">Uncommitted changes</h3><buttontype="button"- className="text-muted-foreground/60 transition-colors duration-150 hover:text-muted-foreground"+ className="text-[#a0a0a0]/40 transition-colors duration-150 hover:text-[#a0a0a0]/70"onClick={() => dispatch({ type: "TOGGLE_DIFF" })}><span className="text-sm">×</span>@@ -22,36 +20,30 @@ export default function DiffPanel() {{/* Placeholder content */}<div className="flex-1 overflow-y-auto p-4"><div className="space-y-3">- <div className="rounded-lg border border-border/80 bg-muted p-3">+ <div className="rounded-lg border border-white/[0.06] bg-white/[0.02] p-3"><div className="mb-2 flex items-center gap-2"><span className="rounded bg-emerald-500/20 px-1.5 py-0.5 text-[9px] font-medium text-emerald-400">M</span>- <span className="font-mono text-xs text-muted-foreground/80">- src/App.tsx- </span>+ <span className="font-mono text-xs text-[#a0a0a0]/60">src/App.tsx</span></div><div className="space-y-0.5 font-mono text-[11px]"><div className="text-red-400/60">- const oldValue = "hello";</div>- <div className="text-emerald-400/60">- + const newValue = "world";- </div>+ <div className="text-emerald-400/60">+ const newValue = "world";</div></div></div>- <div className="rounded-lg border border-border/80 bg-muted p-3">+ <div className="rounded-lg border border-white/[0.06] bg-white/[0.02] p-3"><div className="flex items-center gap-2"><span className="rounded bg-blue-500/20 px-1.5 py-0.5 text-[9px] font-medium text-blue-400">A</span>- <span className="font-mono text-xs text-muted-foreground/80">- src/utils.ts- </span>+ <span className="font-mono text-xs text-[#a0a0a0]/60">src/utils.ts</span></div></div></div>- <p className="mt-6 text-center text-[10px] text-muted-foreground/30">+ <p className="mt-6 text-center text-[10px] text-[#a0a0a0]/25">Diff integration coming soon</p></div>diff --git a/apps/renderer/src/components/Sidebar.tsx b/apps/renderer/src/components/Sidebar.tsxindex 8ba289579..9f6cd27c7 100644--- a/apps/renderer/src/components/Sidebar.tsx+++ b/apps/renderer/src/components/Sidebar.tsx@@ -1,11 +1,10 @@-import { MonitorIcon, MoonIcon, SunIcon } from "lucide-react";-import { useMemo, useState } from "react";-import { useTheme } from "../hooks/useTheme";-import { DEFAULT_MODEL, MODEL_OPTIONS, resolveModelSlug } from "../model-logic";+import { useCallback, useEffect, useMemo, useState } from "react";+import { DEFAULT_MODEL } from "../model-logic";import { readNativeApi } from "../session-logic";import { useStore } from "../store";import type { Project } from "../types";+function formatRelativeTime(iso: string): string {const diff = Date.now() - new Date(iso).getTime();const minutes = Math.floor(diff / 60_000);@@ -16,53 +15,58 @@ function formatRelativeTime(iso: string): string {return `${Math.floor(hours / 24)}d ago`;}-const THEME_CYCLE = { system: "light", light: "dark", dark: "system" } as const;+function threadStatusLabel(+ status: "connecting" | "ready" | "running" | "error" | "closed" | undefined,+): "Working" | "Connecting" | null {+ if (status === "running") return "Working";+ if (status === "connecting") return "Connecting";+ return null;+}export default function Sidebar() {const { state, dispatch } = useStore();const api = useMemo(() => readNativeApi(), []);- const { theme, setTheme } = useTheme();const [addingProject, setAddingProject] = useState(false);const [newCwd, setNewCwd] = useState("");- const [newModel, setNewModel] = useState(DEFAULT_MODEL);const [isPickingFolder, setIsPickingFolder] = useState(false);const handleAddProject = () => {const cwd = newCwd.trim();if (!cwd) return;const name = cwd.split("/").filter(Boolean).pop() ?? "project";- const normalizedModel = resolveModelSlug(newModel);const project: Project = {id: crypto.randomUUID(),name,cwd,- model: normalizedModel,+ model: DEFAULT_MODEL,expanded: true,};dispatch({ type: "ADD_PROJECT", project });setNewCwd("");- setNewModel(DEFAULT_MODEL);setAddingProject(false);};- const handleNewThread = (projectId: string) => {- dispatch({- type: "ADD_THREAD",- thread: {- id: crypto.randomUUID(),- projectId,- title: "New thread",- model:- state.projects.find((p) => p.id === projectId)?.model ??- DEFAULT_MODEL,- session: null,- messages: [],- events: [],- error: null,- createdAt: new Date().toISOString(),- },- });- };+ const handleNewThread = useCallback(+ (projectId: string) => {+ dispatch({+ type: "ADD_THREAD",+ thread: {+ id: crypto.randomUUID(),+ projectId,+ title: "New thread",+ model:+ state.projects.find((p) => p.id === projectId)?.model ??+ DEFAULT_MODEL,+ session: null,+ messages: [],+ events: [],+ error: null,+ createdAt: new Date().toISOString(),+ },+ });+ },+ [dispatch, state.projects],+ );const handlePickFolder = async () => {if (!api || isPickingFolder) return;@@ -76,40 +80,62 @@ export default function Sidebar() {}};+ useEffect(() => {+ const onWindowKeyDown = (event: KeyboardEvent) => {+ const isNewThreadShortcut =+ event.metaKey &&+ event.shiftKey &&+ !event.ctrlKey &&+ !event.altKey &&+ event.key.toLowerCase() === "o";+ if (!isNewThreadShortcut) return;++ const target = event.target;+ if (target instanceof HTMLElement) {+ const tagName = target.tagName;+ if (+ target.isContentEditable ||+ tagName === "INPUT" ||+ tagName === "TEXTAREA" ||+ tagName === "SELECT"+ ) {+ return;+ }+ }++ const activeThread = state.threads.find(+ (t) => t.id === state.activeThreadId,+ );+ const projectId = activeThread?.projectId ?? state.projects[0]?.id;+ if (!projectId) return;++ event.preventDefault();+ handleNewThread(projectId);+ };++ window.addEventListener("keydown", onWindowKeyDown);+ return () => {+ window.removeEventListener("keydown", onWindowKeyDown);+ };+ }, [handleNewThread, state.activeThreadId, state.projects, state.threads]);+return (- <aside className="sidebar flex h-full w-[260px] shrink-0 flex-col border-r border-border bg-card">+ <aside className="sidebar flex h-full w-[260px] shrink-0 flex-col border-r border-white/8 bg-[#141414]">{/* Drag region / traffic light space */}<div className="drag-region h-[52px] shrink-0" />{/* Branding */}<div className="flex items-center gap-2 px-4 pb-4">- <div className="flex h-7 w-7 items-center justify-center rounded-lg bg-primary text-xs font-bold text-primary-foreground">+ <div className="flex h-7 w-7 items-center justify-center rounded-lg bg-white text-xs font-bold text-[#0c0c0c]">CT</div>- <span className="flex-1 text-sm font-semibold tracking-tight text-foreground">- CodeThing- </span>- <button- type="button"- className="rounded-md p-1.5 text-muted-foreground/80 transition-colors duration-150 hover:bg-accent hover:text-muted-foreground"- onClick={() => setTheme(THEME_CYCLE[theme])}- aria-label={`Theme: ${theme}`}- title={`Theme: ${theme}`}- >- {theme === "system" ? (- <MonitorIcon className="size-3.5" />- ) : theme === "light" ? (- <SunIcon className="size-3.5" />- ) : (- <MoonIcon className="size-3.5" />- )}- </button>+ <span className="text-sm font-semibold tracking-tight text-[#e0e0e0]">CodeThing</span></div>{/* New thread (global) */}<div className="px-3 pb-3"><buttontype="button"- className="flex w-full items-center gap-2 rounded-lg border border-border bg-secondary px-3 py-2 text-xs text-muted-foreground transition-colors duration-150 hover:bg-accent"+ className="flex w-full items-center gap-2 rounded-lg border border-white/8 bg-white/4 px-3 py-2 text-xs text-[#a0a0a0]/80 transition-colors duration-150 hover:bg-white/[0.07]"onClick={() => {if (state.projects.length === 0) {setAddingProject(true);@@ -119,7 +145,7 @@ export default function Sidebar() {if (firstProject) handleNewThread(firstProject.id);}}>- <span className="text-foreground">+</span>+ <span className="text-white">+</span>New thread</button></div>@@ -127,43 +153,46 @@ export default function Sidebar() {{/* Project list */}<nav className="flex-1 overflow-y-auto px-2">{state.projects.map((project) => {- const threads = state.threads.filter(- (t) => t.projectId === project.id,- );+ const threads = state.threads+ .filter((t) => t.projectId === project.id)+ .sort((a, b) => {+ const byDate =+ new Date(b.createdAt).getTime() -+ new Date(a.createdAt).getTime();+ if (byDate !== 0) return byDate;+ return b.id.localeCompare(a.id);+ });return (<div key={project.id} className="mb-1">{/* Project header */}<buttontype="button"- className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left transition-colors duration-150 hover:bg-accent"- onClick={() =>- dispatch({ type: "TOGGLE_PROJECT", projectId: project.id })- }+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left transition-colors duration-150 hover:bg-white/5"+ onClick={() => dispatch({ type: "TOGGLE_PROJECT", projectId: project.id })}>- <span className="text-[10px] text-muted-foreground/70">+ <span className="text-[10px] text-[#a0a0a0]/50">{project.expanded ? "▼" : "▶"}</span>- <span className="flex-1 truncate text-xs font-medium text-foreground/90">+ <span className="flex-1 truncate text-xs font-medium text-[#e0e0e0]/90">{project.name}</span>- <span className="text-[10px] text-muted-foreground/60">- {threads.length}- </span>+ <span className="text-[10px] text-[#a0a0a0]/40">{threads.length}</span></button>{/* Threads */}{project.expanded && (- <div className="ml-2 border-l border-border/80 pl-2">+ <div className="ml-2 border-l border-white/6 pl-2">{threads.map((thread) => {const isActive = state.activeThreadId === thread.id;+ const threadStatus = threadStatusLabel(+ thread.session?.status,+ );return (<buttonkey={thread.id}type="button"className={`flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left transition-colors duration-150 ${- isActive- ? "bg-accent text-foreground"- : "text-muted-foreground hover:bg-secondary"+ isActive ? "bg-white/10 text-white" : "text-[#a0a0a0]/70 hover:bg-white/4"}`}onClick={() =>dispatch({@@ -172,10 +201,20 @@ export default function Sidebar() {})}>- <span className="flex-1 truncate text-xs">- {thread.title}- </span>- <span className="shrink-0 text-[10px] text-muted-foreground/40">+ <div className="flex min-w-0 flex-1 items-center gap-1.5">+ {threadStatus && (+ <span className="inline-flex items-center gap-1 text-[10px] text-[#7ed8ff]/80">+ <span className="h-1.5 w-1.5 animate-pulse rounded-full bg-sky-300/80" />+ <span className="hidden xl:inline">+ {threadStatus}+ </span>+ </span>+ )}+ <span className="min-w-0 flex-1 truncate text-xs">+ {thread.title}+ </span>+ </div>+ <span className="shrink-0 text-[10px] text-[#a0a0a0]/30">{formatRelativeTime(thread.createdAt)}</span></button>@@ -185,7 +224,7 @@ export default function Sidebar() {{/* New thread within project */}<buttontype="button"- className="flex w-full items-center gap-1 px-2 py-1 text-[10px] text-muted-foreground/60 transition-colors duration-150 hover:text-muted-foreground/80"+ className="flex w-full items-center gap-1 px-2 py-1 text-[10px] text-[#a0a0a0]/40 transition-colors duration-150 hover:text-[#a0a0a0]/60"onClick={() => handleNewThread(project.id)}><span>+</span> New thread@@ -197,7 +236,7 @@ export default function Sidebar() {})}{state.projects.length === 0 && !addingProject && (- <div className="px-2 pt-4 text-center text-xs text-muted-foreground/60">+ <div className="px-2 pt-4 text-center text-xs text-[#a0a0a0]/40">No projects yet.<br />Add one to get started.@@ -207,12 +246,12 @@ export default function Sidebar() {{/* Add project form */}{addingProject ? (- <div className="border-t border-border p-3">- <p className="mb-2 text-[10px] font-medium uppercase tracking-wider text-muted-foreground/70">+ <div className="border-t border-white/8 p-3">+ <p className="mb-2 text-[10px] font-medium uppercase tracking-wider text-[#a0a0a0]/50">Add project</p><input- className="mb-2 w-full rounded-md border border-border bg-secondary px-2 py-1.5 font-mono text-xs text-foreground placeholder:text-muted-foreground/40 focus:border-ring focus:outline-none"+ className="mb-2 w-full rounded-md border border-white/10 bg-white/4 px-2 py-1.5 font-mono text-xs text-[#e0e0e0] placeholder:text-[#a0a0a0]/30 focus:border-white/30 focus:outline-none"placeholder="/path/to/project"value={newCwd}onChange={(e) => setNewCwd(e.target.value)}@@ -224,39 +263,24 @@ export default function Sidebar() {{api && (<buttontype="button"- className="mb-2 flex w-full items-center justify-center rounded-md border border-border px-2 py-1.5 text-xs text-muted-foreground transition-colors duration-150 hover:bg-secondary disabled:cursor-not-allowed disabled:opacity-60"+ className="mb-2 flex w-full items-center justify-center rounded-md border border-white/10 px-2 py-1.5 text-xs text-[#a0a0a0]/70 transition-colors duration-150 hover:bg-white/4 disabled:cursor-not-allowed disabled:opacity-60"onClick={() => void handlePickFolder()}disabled={isPickingFolder}>{isPickingFolder ? "Picking folder..." : "Browse for folder"}</button>)}- <select- className="mb-2 w-full rounded-md border border-border bg-secondary px-2 py-1.5 font-mono text-xs text-foreground placeholder:text-muted-foreground/40 focus:border-ring focus:outline-none"- value={newModel}- onChange={(e) => setNewModel(e.target.value)}- onKeyDown={(e) => {- if (e.key === "Enter") handleAddProject();- if (e.key === "Escape") setAddingProject(false);- }}- >- {MODEL_OPTIONS.map((model) => (- <option key={model} value={model} className="bg-card">- {model}- </option>- ))}- </select><div className="flex gap-2"><buttontype="button"- className="flex-1 rounded-md bg-primary px-2 py-1 text-xs font-medium text-primary-foreground transition-colors duration-150 hover:bg-primary/90"+ className="flex-1 rounded-md bg-white px-2 py-1 text-xs font-medium text-[#0c0c0c] transition-colors duration-150 hover:bg-white/90"onClick={handleAddProject}>Add</button><buttontype="button"- className="flex-1 rounded-md border border-border px-2 py-1 text-xs text-muted-foreground/80 transition-colors duration-150 hover:bg-secondary"+ className="flex-1 rounded-md border border-white/10 px-2 py-1 text-xs text-[#a0a0a0]/60 transition-colors duration-150 hover:bg-white/4"onClick={() => setAddingProject(false)}>Cancel@@ -264,10 +288,10 @@ export default function Sidebar() {</div></div>) : (- <div className="border-t border-border p-3">+ <div className="border-t border-white/8 p-3"><buttontype="button"- className="flex w-full items-center justify-center gap-1 rounded-md border border-dashed border-border py-2 text-xs text-muted-foreground/70 transition-colors duration-150 hover:border-ring hover:text-muted-foreground"+ className="flex w-full items-center justify-center gap-1 rounded-md border border-dashed border-white/12 py-2 text-xs text-[#a0a0a0]/50 transition-colors duration-150 hover:border-white/20 hover:text-[#a0a0a0]/70"onClick={() => setAddingProject(true)}>+ Add projectdiff --git a/apps/renderer/src/components/ui/accordion.tsx b/apps/renderer/src/components/ui/accordion.tsxdeleted file mode 100644index 7074a6058..000000000--- a/apps/renderer/src/components/ui/accordion.tsx+++ /dev/null@@ -1,67 +0,0 @@-import { Accordion as AccordionPrimitive } from "@base-ui/react/accordion";-import { ChevronDownIcon } from "lucide-react";--import { cn } from "#/lib/utils";--function Accordion(props: AccordionPrimitive.Root.Props) {- return <AccordionPrimitive.Root data-slot="accordion" {...props} />;-}--function AccordionItem({ className, ...props }: AccordionPrimitive.Item.Props) {- return (- <AccordionPrimitive.Item- className={cn("border-b last:border-b-0", className)}- data-slot="accordion-item"- {...props}- />- );-}--function AccordionTrigger({- className,- children,- ...props-}: AccordionPrimitive.Trigger.Props) {- return (- <AccordionPrimitive.Header className="flex">- <AccordionPrimitive.Trigger- className={cn(- "flex flex-1 cursor-pointer items-start justify-between gap-4 rounded-md py-4 text-left font-medium text-sm outline-none transition-all focus-visible:ring-[3px] focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-64 data-panel-open:*:data-[slot=accordion-indicator]:rotate-180",- className,- )}- data-slot="accordion-trigger"- {...props}- >- {children}- <ChevronDownIcon- className="pointer-events-none size-4 shrink-0 translate-y-0.5 opacity-80 transition-transform duration-200 ease-in-out"- data-slot="accordion-indicator"- />- </AccordionPrimitive.Trigger>- </AccordionPrimitive.Header>- );-}--function AccordionPanel({- className,- children,- ...props-}: AccordionPrimitive.Panel.Props) {- return (- <AccordionPrimitive.Panel- className="h-(--accordion-panel-height) overflow-hidden text-muted-foreground text-sm transition-[height] duration-200 ease-in-out data-ending-style:h-0 data-starting-style:h-0"- data-slot="accordion-panel"- {...props}- >- <div className={cn("pt-0 pb-4", className)}>{children}</div>- </AccordionPrimitive.Panel>- );-}--export {- Accordion,- AccordionItem,- AccordionTrigger,- AccordionPanel,- AccordionPanel as AccordionContent,-};diff --git a/apps/renderer/src/components/ui/alert-dialog.tsx b/apps/renderer/src/components/ui/alert-dialog.tsxdeleted file mode 100644index 5de779b3c..000000000--- a/apps/renderer/src/components/ui/alert-dialog.tsx+++ /dev/null@@ -1,167 +0,0 @@-import { AlertDialog as AlertDialogPrimitive } from "@base-ui/react/alert-dialog";--import { cn } from "#/lib/utils";--const AlertDialogCreateHandle = AlertDialogPrimitive.createHandle;--const AlertDialog = AlertDialogPrimitive.Root;--const AlertDialogPortal = AlertDialogPrimitive.Portal;--function AlertDialogTrigger(props: AlertDialogPrimitive.Trigger.Props) {- return (- <AlertDialogPrimitive.Trigger data-slot="alert-dialog-trigger" {...props} />- );-}--function AlertDialogBackdrop({- className,- ...props-}: AlertDialogPrimitive.Backdrop.Props) {- return (- <AlertDialogPrimitive.Backdrop- className={cn(- "fixed inset-0 z-50 bg-black/32 backdrop-blur-sm transition-all duration-200 ease-out data-ending-style:opacity-0 data-starting-style:opacity-0",- className,- )}- data-slot="alert-dialog-backdrop"- {...props}- />- );-}--function AlertDialogViewport({- className,- ...props-}: AlertDialogPrimitive.Viewport.Props) {- return (- <AlertDialogPrimitive.Viewport- className={cn(- "fixed inset-0 z-50 grid grid-rows-[1fr_auto_3fr] justify-items-center p-4",- className,- )}- data-slot="alert-dialog-viewport"- {...props}- />- );-}--function AlertDialogPopup({- className,- bottomStickOnMobile = true,- ...props-}: AlertDialogPrimitive.Popup.Props & {- bottomStickOnMobile?: boolean;-}) {- return (- <AlertDialogPortal>- <AlertDialogBackdrop />- <AlertDialogViewport- className={cn(- bottomStickOnMobile &&- "max-sm:grid-rows-[1fr_auto] max-sm:p-0 max-sm:pt-12",- )}- >- <AlertDialogPrimitive.Popup- className={cn(- "-translate-y-[calc(1.25rem*var(--nested-dialogs))] relative row-start-2 flex max-h-full min-h-0 w-full min-w-0 max-w-lg scale-[calc(1-0.1*var(--nested-dialogs))] flex-col rounded-2xl border bg-popover not-dark:bg-clip-padding text-popover-foreground opacity-[calc(1-0.1*var(--nested-dialogs))] shadow-lg/5 transition-[scale,opacity,translate] duration-200 ease-in-out will-change-transform before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-2xl)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] data-nested:data-ending-style:translate-y-8 data-nested:data-starting-style:translate-y-8 data-nested-dialog-open:origin-top data-ending-style:scale-98 data-starting-style:scale-98 data-ending-style:opacity-0 data-starting-style:opacity-0 dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",- bottomStickOnMobile &&- "max-sm:max-w-none max-sm:rounded-none max-sm:border-x-0 max-sm:border-t max-sm:border-b-0 max-sm:opacity-[calc(1-min(var(--nested-dialogs),1))] max-sm:data-ending-style:translate-y-4 max-sm:data-starting-style:translate-y-4 max-sm:before:hidden max-sm:before:rounded-none",- className,- )}- data-slot="alert-dialog-popup"- {...props}- />- </AlertDialogViewport>- </AlertDialogPortal>- );-}--function AlertDialogHeader({- className,- ...props-}: React.ComponentProps<"div">) {- return (- <div- className={cn(- "flex flex-col gap-2 p-6 text-center max-sm:pb-4 sm:text-left",- className,- )}- data-slot="alert-dialog-header"- {...props}- />- );-}--function AlertDialogFooter({- className,- variant = "default",- ...props-}: React.ComponentProps<"div"> & {- variant?: "default" | "bare";-}) {- return (- <div- className={cn(- "flex flex-col-reverse gap-2 px-6 sm:flex-row sm:justify-end sm:rounded-b-[calc(var(--radius-2xl)-1px)]",- variant === "default" && "border-t bg-muted/72 py-4",- variant === "bare" && "pb-6",- className,- )}- data-slot="alert-dialog-footer"- {...props}- />- );-}--function AlertDialogTitle({- className,- ...props-}: AlertDialogPrimitive.Title.Props) {- return (- <AlertDialogPrimitive.Title- className={cn(- "font-heading font-semibold text-xl leading-none",- className,- )}- data-slot="alert-dialog-title"- {...props}- />- );-}--function AlertDialogDescription({- className,- ...props-}: AlertDialogPrimitive.Description.Props) {- return (- <AlertDialogPrimitive.Description- className={cn("text-muted-foreground text-sm", className)}- data-slot="alert-dialog-description"- {...props}- />- );-}--function AlertDialogClose(props: AlertDialogPrimitive.Close.Props) {- return (- <AlertDialogPrimitive.Close data-slot="alert-dialog-close" {...props} />- );-}--export {- AlertDialogCreateHandle,- AlertDialog,- AlertDialogPortal,- AlertDialogBackdrop,- AlertDialogBackdrop as AlertDialogOverlay,- AlertDialogTrigger,- AlertDialogPopup,- AlertDialogPopup as AlertDialogContent,- AlertDialogHeader,- AlertDialogFooter,- AlertDialogTitle,- AlertDialogDescription,- AlertDialogClose,- AlertDialogViewport,-};diff --git a/apps/renderer/src/components/ui/alert.tsx b/apps/renderer/src/components/ui/alert.tsxdeleted file mode 100644index 7b86f15ec..000000000--- a/apps/renderer/src/components/ui/alert.tsx+++ /dev/null@@ -1,80 +0,0 @@-import { type VariantProps, cva } from "class-variance-authority";-import type * as React from "react";--import { cn } from "#/lib/utils";--const alertVariants = cva(- "relative grid w-full items-start gap-x-2 gap-y-0.5 rounded-xl border px-3.5 py-3 text-card-foreground text-sm has-[>svg]:has-data-[slot=alert-action]:grid-cols-[calc(var(--spacing)*4)_1fr_auto] has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] has-data-[slot=alert-action]:grid-cols-[1fr_auto] has-[>svg]:gap-x-2 [&>svg]:h-lh [&>svg]:w-4",- {- defaultVariants: {- variant: "default",- },- variants: {- variant: {- default:- "bg-transparent dark:bg-input/32 [&>svg]:text-muted-foreground",- error:- "border-destructive/32 bg-destructive/4 [&>svg]:text-destructive",- info: "border-info/32 bg-info/4 [&>svg]:text-info",- success: "border-success/32 bg-success/4 [&>svg]:text-success",- warning: "border-warning/32 bg-warning/4 [&>svg]:text-warning",- },- },- },-);--function Alert({- className,- variant,- ...props-}: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>) {- return (- <div- className={cn(alertVariants({ variant }), className)}- data-slot="alert"- role="alert"- {...props}- />- );-}--function AlertTitle({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- className={cn("font-medium [svg~&]:col-start-2", className)}- data-slot="alert-title"- {...props}- />- );-}--function AlertDescription({- className,- ...props-}: React.ComponentProps<"div">) {- return (- <div- className={cn(- "flex flex-col gap-2.5 text-muted-foreground [svg~&]:col-start-2",- className,- )}- data-slot="alert-description"- {...props}- />- );-}--function AlertAction({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- className={cn(- "flex gap-1 max-sm:col-start-2 max-sm:mt-2 sm:row-start-1 sm:row-end-3 sm:self-center sm:[[data-slot=alert-description]~&]:col-start-2 sm:[[data-slot=alert-title]~&]:col-start-2 sm:[svg~&]:col-start-2 sm:[svg~[data-slot=alert-description]~&]:col-start-3 sm:[svg~[data-slot=alert-title]~&]:col-start-3",- className,- )}- data-slot="alert-action"- {...props}- />- );-}--export { Alert, AlertTitle, AlertDescription, AlertAction };diff --git a/apps/renderer/src/components/ui/autocomplete.tsx b/apps/renderer/src/components/ui/autocomplete.tsxdeleted file mode 100644index 4a2ce4f1c..000000000--- a/apps/renderer/src/components/ui/autocomplete.tsx+++ /dev/null@@ -1,308 +0,0 @@-import { Autocomplete as AutocompletePrimitive } from "@base-ui/react/autocomplete";-import { ChevronsUpDownIcon, XIcon } from "lucide-react";--import { Input } from "#/components/ui/input";-import { ScrollArea } from "#/components/ui/scroll-area";-import { cn } from "#/lib/utils";--const Autocomplete = AutocompletePrimitive.Root;--function AutocompleteInput({- className,- showTrigger = false,- showClear = false,- startAddon,- size,- ...props-}: Omit<AutocompletePrimitive.Input.Props, "size"> & {- showTrigger?: boolean;- showClear?: boolean;- startAddon?: React.ReactNode;- size?: "sm" | "default" | "lg" | number;- ref?: React.Ref<HTMLInputElement>;-}) {- const sizeValue = (size ?? "default") as "sm" | "default" | "lg" | number;-- return (- <div className="relative not-has-[>*.w-full]:w-fit w-full text-foreground has-disabled:opacity-64">- {startAddon && (- <div- aria-hidden="true"- className="[&_svg]:-mx-0.5 pointer-events-none absolute inset-y-0 start-px z-10 flex items-center ps-[calc(--spacing(3)-1px)] opacity-80 has-[+[data-size=sm]]:ps-[calc(--spacing(2.5)-1px)] [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4"- data-slot="autocomplete-start-addon"- >- {startAddon}- </div>- )}- <AutocompletePrimitive.Input- className={cn(- startAddon &&- "data-[size=sm]:*:data-[slot=autocomplete-input]:ps-[calc(--spacing(7.5)-1px)] *:data-[slot=autocomplete-input]:ps-[calc(--spacing(8.5)-1px)] sm:data-[size=sm]:*:data-[slot=autocomplete-input]:ps-[calc(--spacing(7)-1px)] sm:*:data-[slot=autocomplete-input]:ps-[calc(--spacing(8)-1px)]",- sizeValue === "sm"- ? "has-[+[data-slot=autocomplete-trigger],+[data-slot=autocomplete-clear]]:*:data-[slot=autocomplete-input]:pe-6.5"- : "has-[+[data-slot=autocomplete-trigger],+[data-slot=autocomplete-clear]]:*:data-[slot=autocomplete-input]:pe-7",- className,- )}- data-slot="autocomplete-input"- render={<Input nativeInput size={sizeValue} />}- {...props}- />- {showTrigger && (- <AutocompleteTrigger- className={cn(- "-translate-y-1/2 absolute top-1/2 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-colors pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=autocomplete-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",- sizeValue === "sm" ? "end-0" : "end-0.5",- )}- >- <ChevronsUpDownIcon />- </AutocompleteTrigger>- )}- {showClear && (- <AutocompleteClear- className={cn(- "-translate-y-1/2 absolute top-1/2 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-colors pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=autocomplete-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",- sizeValue === "sm" ? "end-0" : "end-0.5",- )}- >- <XIcon />- </AutocompleteClear>- )}- </div>- );-}--function AutocompletePopup({- className,- children,- side = "bottom",- sideOffset = 4,- alignOffset,- align = "start",- ...props-}: AutocompletePrimitive.Popup.Props & {- align?: AutocompletePrimitive.Positioner.Props["align"];- sideOffset?: AutocompletePrimitive.Positioner.Props["sideOffset"];- alignOffset?: AutocompletePrimitive.Positioner.Props["alignOffset"];- side?: AutocompletePrimitive.Positioner.Props["side"];-}) {- return (- <AutocompletePrimitive.Portal>- <AutocompletePrimitive.Positioner- align={align}- alignOffset={alignOffset}- className="z-50 select-none"- data-slot="autocomplete-positioner"- side={side}- sideOffset={sideOffset}- >- <span- className={cn(- "relative flex max-h-full min-w-(--anchor-width) max-w-(--available-width) origin-(--transform-origin) rounded-lg border bg-popover not-dark:bg-clip-padding shadow-lg/5 transition-[scale,opacity] before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",- className,- )}- >- <AutocompletePrimitive.Popup- className="flex max-h-[min(var(--available-height),23rem)] flex-1 flex-col text-foreground"- data-slot="autocomplete-popup"- {...props}- >- {children}- </AutocompletePrimitive.Popup>- </span>- </AutocompletePrimitive.Positioner>- </AutocompletePrimitive.Portal>- );-}--function AutocompleteItem({- className,- children,- ...props-}: AutocompletePrimitive.Item.Props) {- return (- <AutocompletePrimitive.Item- className={cn(- "flex min-h-8 cursor-default select-none items-center rounded-sm px-2 py-1 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm",- className,- )}- data-slot="autocomplete-item"- {...props}- >- {children}- </AutocompletePrimitive.Item>- );-}--function AutocompleteSeparator({- className,- ...props-}: AutocompletePrimitive.Separator.Props) {- return (- <AutocompletePrimitive.Separator- className={cn("mx-2 my-1 h-px bg-border last:hidden", className)}- data-slot="autocomplete-separator"- {...props}- />- );-}--function AutocompleteGroup({- className,- ...props-}: AutocompletePrimitive.Group.Props) {- return (- <AutocompletePrimitive.Group- className={cn("[[role=group]+&]:mt-1.5", className)}- data-slot="autocomplete-group"- {...props}- />- );-}--function AutocompleteGroupLabel({- className,- ...props-}: AutocompletePrimitive.GroupLabel.Props) {- return (- <AutocompletePrimitive.GroupLabel- className={cn(- "px-2 py-1.5 font-medium text-muted-foreground text-xs",- className,- )}- data-slot="autocomplete-group-label"- {...props}- />- );-}--function AutocompleteEmpty({- className,- ...props-}: AutocompletePrimitive.Empty.Props) {- return (- <AutocompletePrimitive.Empty- className={cn(- "not-empty:p-2 text-center text-base text-muted-foreground sm:text-sm",- className,- )}- data-slot="autocomplete-empty"- {...props}- />- );-}--function AutocompleteRow({- className,- ...props-}: AutocompletePrimitive.Row.Props) {- return (- <AutocompletePrimitive.Row- className={className}- data-slot="autocomplete-row"- {...props}- />- );-}--function AutocompleteValue({ ...props }: AutocompletePrimitive.Value.Props) {- return (- <AutocompletePrimitive.Value data-slot="autocomplete-value" {...props} />- );-}--function AutocompleteList({- className,- ...props-}: AutocompletePrimitive.List.Props) {- return (- <ScrollArea scrollbarGutter scrollFade>- <AutocompletePrimitive.List- className={cn(- "not-empty:scroll-py-1 not-empty:p-1 in-data-has-overflow-y:pe-3",- className,- )}- data-slot="autocomplete-list"- {...props}- />- </ScrollArea>- );-}--function AutocompleteClear({- className,- ...props-}: AutocompletePrimitive.Clear.Props) {- return (- <AutocompletePrimitive.Clear- className={cn(- "-translate-y-1/2 absolute end-0.5 top-1/2 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-[color,background-color,box-shadow,opacity] pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",- className,- )}- data-slot="autocomplete-clear"- {...props}- >- <XIcon />- </AutocompletePrimitive.Clear>- );-}--function AutocompleteStatus({- className,- ...props-}: AutocompletePrimitive.Status.Props) {- return (- <AutocompletePrimitive.Status- className={cn(- "px-3 py-2 font-medium text-muted-foreground text-xs empty:m-0 empty:p-0",- className,- )}- data-slot="autocomplete-status"- {...props}- />- );-}--function AutocompleteCollection({- ...props-}: AutocompletePrimitive.Collection.Props) {- return (- <AutocompletePrimitive.Collection- data-slot="autocomplete-collection"- {...props}- />- );-}--function AutocompleteTrigger({- className,- ...props-}: AutocompletePrimitive.Trigger.Props) {- return (- <AutocompletePrimitive.Trigger- className={className}- data-slot="autocomplete-trigger"- {...props}- />- );-}--const useAutocompleteFilter = AutocompletePrimitive.useFilter;--export {- Autocomplete,- AutocompleteInput,- AutocompleteTrigger,- AutocompletePopup,- AutocompleteItem,- AutocompleteSeparator,- AutocompleteGroup,- AutocompleteGroupLabel,- AutocompleteEmpty,- AutocompleteValue,- AutocompleteList,- AutocompleteClear,- AutocompleteStatus,- AutocompleteRow,- AutocompleteCollection,- useAutocompleteFilter,-};diff --git a/apps/renderer/src/components/ui/avatar.tsx b/apps/renderer/src/components/ui/avatar.tsxdeleted file mode 100644index 8ea9820d0..000000000--- a/apps/renderer/src/components/ui/avatar.tsx+++ /dev/null@@ -1,44 +0,0 @@-import { Avatar as AvatarPrimitive } from "@base-ui/react/avatar";--import { cn } from "#/lib/utils";--function Avatar({ className, ...props }: AvatarPrimitive.Root.Props) {- return (- <AvatarPrimitive.Root- className={cn(- "inline-flex size-8 shrink-0 select-none items-center justify-center overflow-hidden rounded-full bg-background align-middle font-medium text-xs",- className,- )}- data-slot="avatar"- {...props}- />- );-}--function AvatarImage({ className, ...props }: AvatarPrimitive.Image.Props) {- return (- <AvatarPrimitive.Image- className={cn("size-full object-cover", className)}- data-slot="avatar-image"- {...props}- />- );-}--function AvatarFallback({- className,- ...props-}: AvatarPrimitive.Fallback.Props) {- return (- <AvatarPrimitive.Fallback- className={cn(- "flex size-full items-center justify-center rounded-full bg-muted",- className,- )}- data-slot="avatar-fallback"- {...props}- />- );-}--export { Avatar, AvatarImage, AvatarFallback };diff --git a/apps/renderer/src/components/ui/badge.tsx b/apps/renderer/src/components/ui/badge.tsxdeleted file mode 100644index 6495231fb..000000000--- a/apps/renderer/src/components/ui/badge.tsx+++ /dev/null@@ -1,58 +0,0 @@-import { mergeProps } from "@base-ui/react/merge-props";-import { useRender } from "@base-ui/react/use-render";-import { type VariantProps, cva } from "class-variance-authority";--import { cn } from "#/lib/utils";--const badgeVariants = cva(- "relative inline-flex shrink-0 items-center justify-center gap-1 whitespace-nowrap rounded-sm border border-transparent font-medium outline-none transition-shadow focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 [&_svg:not([class*='opacity-'])]:opacity-80 [&_svg:not([class*='size-'])]:size-3.5 sm:[&_svg:not([class*='size-'])]:size-3 [&_svg]:pointer-events-none [&_svg]:shrink-0 [button,a&]:cursor-pointer [button,a&]:pointer-coarse:after:absolute [button,a&]:pointer-coarse:after:size-full [button,a&]:pointer-coarse:after:min-h-11 [button,a&]:pointer-coarse:after:min-w-11",- {- defaultVariants: {- size: "default",- variant: "default",- },- variants: {- size: {- default:- "h-5.5 min-w-5.5 px-[calc(--spacing(1)-1px)] text-sm sm:h-4.5 sm:min-w-4.5 sm:text-xs",- lg: "h-6.5 min-w-6.5 px-[calc(--spacing(1.5)-1px)] text-base sm:h-5.5 sm:min-w-5.5 sm:text-sm",- sm: "h-5 min-w-5 rounded-[calc(var(--radius-sm)-2px)] px-[calc(--spacing(1)-1px)] text-xs sm:h-4 sm:min-w-4 sm:text-[.625rem]",- },- variant: {- default:- "bg-primary text-primary-foreground [button,a&]:hover:bg-primary/90",- destructive:- "bg-destructive text-white [button,a&]:hover:bg-destructive/90",- error:- "bg-destructive/8 text-destructive-foreground dark:bg-destructive/16",- info: "bg-info/8 text-info-foreground dark:bg-info/16",- outline:- "border-input bg-background text-foreground dark:bg-input/32 [button,a&]:hover:bg-accent/50 dark:[button,a&]:hover:bg-input/48",- secondary:- "bg-secondary text-secondary-foreground [button,a&]:hover:bg-secondary/90",- success: "bg-success/8 text-success-foreground dark:bg-success/16",- warning: "bg-warning/8 text-warning-foreground dark:bg-warning/16",- },- },- },-);--interface BadgeProps extends useRender.ComponentProps<"span"> {- variant?: VariantProps<typeof badgeVariants>["variant"];- size?: VariantProps<typeof badgeVariants>["size"];-}--function Badge({ className, variant, size, render, ...props }: BadgeProps) {- const defaultProps = {- className: cn(badgeVariants({ className, size, variant })),- "data-slot": "badge",- };-- return useRender({- defaultTagName: "span",- props: mergeProps<"span">(defaultProps, props),- render,- });-}--export { Badge, badgeVariants };diff --git a/apps/renderer/src/components/ui/button.tsx b/apps/renderer/src/components/ui/button.tsxdeleted file mode 100644index ee7b7b433..000000000--- a/apps/renderer/src/components/ui/button.tsx+++ /dev/null@@ -1,71 +0,0 @@-import { mergeProps } from "@base-ui/react/merge-props";-import { useRender } from "@base-ui/react/use-render";-import { type VariantProps, cva } from "class-variance-authority";-import type * as React from "react";--import { cn } from "#/lib/utils";--const buttonVariants = cva(- "[&_svg]:-mx-0.5 relative inline-flex shrink-0 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-lg border font-medium text-base outline-none transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 sm:text-sm [&_svg:not([class*='opacity-'])]:opacity-80 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",- {- defaultVariants: {- size: "default",- variant: "default",- },- variants: {- size: {- default: "h-9 px-[calc(--spacing(3)-1px)] sm:h-8",- icon: "size-9 sm:size-8",- "icon-lg": "size-10 sm:size-9",- "icon-sm": "size-8 sm:size-7",- "icon-xl":- "size-11 sm:size-10 [&_svg:not([class*='size-'])]:size-5 sm:[&_svg:not([class*='size-'])]:size-4.5",- "icon-xs":- "size-7 rounded-md before:rounded-[calc(var(--radius-md)-1px)] sm:size-6 not-in-data-[slot=input-group]:[&_svg:not([class*='size-'])]:size-4 sm:not-in-data-[slot=input-group]:[&_svg:not([class*='size-'])]:size-3.5",- lg: "h-10 px-[calc(--spacing(3.5)-1px)] sm:h-9",- sm: "h-8 gap-1.5 px-[calc(--spacing(2.5)-1px)] sm:h-7",- xl: "h-11 px-[calc(--spacing(4)-1px)] text-lg sm:h-10 sm:text-base [&_svg:not([class*='size-'])]:size-5 sm:[&_svg:not([class*='size-'])]:size-4.5",- xs: "h-7 gap-1 rounded-md px-[calc(--spacing(2)-1px)] text-sm before:rounded-[calc(var(--radius-md)-1px)] sm:h-6 sm:text-xs [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5",- },- variant: {- default:- "not-disabled:inset-shadow-[0_1px_--theme(--color-white/16%)] border-primary bg-primary text-primary-foreground shadow-primary/24 shadow-xs [:active,[data-pressed]]:inset-shadow-[0_1px_--theme(--color-black/8%)] [:disabled,:active,[data-pressed]]:shadow-none [:hover,[data-pressed]]:bg-primary/90",- destructive:- "not-disabled:inset-shadow-[0_1px_--theme(--color-white/16%)] border-destructive bg-destructive text-white shadow-destructive/24 shadow-xs [:active,[data-pressed]]:inset-shadow-[0_1px_--theme(--color-black/8%)] [:disabled,:active,[data-pressed]]:shadow-none [:hover,[data-pressed]]:bg-destructive/90",- "destructive-outline":- "border-input bg-popover not-dark:bg-clip-padding text-destructive-foreground shadow-xs/5 not-disabled:not-active:not-data-pressed:before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-input/32 dark:not-disabled:before:shadow-[0_-1px_--theme(--color-white/2%)] dark:not-disabled:not-active:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/6%)] [:disabled,:active,[data-pressed]]:shadow-none [:hover,[data-pressed]]:border-destructive/32 [:hover,[data-pressed]]:bg-destructive/4",- ghost:- "border-transparent text-foreground data-pressed:bg-accent [:hover,[data-pressed]]:bg-accent",- link: "border-transparent underline-offset-4 [:hover,[data-pressed]]:underline",- outline:- "border-input bg-popover not-dark:bg-clip-padding text-foreground shadow-xs/5 not-disabled:not-active:not-data-pressed:before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-input/32 dark:not-disabled:before:shadow-[0_-1px_--theme(--color-white/2%)] dark:not-disabled:not-active:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/6%)] [:disabled,:active,[data-pressed]]:shadow-none [:hover,[data-pressed]]:bg-accent/50 dark:[:hover,[data-pressed]]:bg-input/64",- secondary:- "border-transparent bg-secondary text-secondary-foreground [:active,[data-pressed]]:bg-secondary/80 [:hover,[data-pressed]]:bg-secondary/90",- },- },- },-);--interface ButtonProps extends useRender.ComponentProps<"button"> {- variant?: VariantProps<typeof buttonVariants>["variant"];- size?: VariantProps<typeof buttonVariants>["size"];-}--function Button({ className, variant, size, render, ...props }: ButtonProps) {- const typeValue: React.ButtonHTMLAttributes<HTMLButtonElement>["type"] =- render ? undefined : "button";-- const defaultProps = {- className: cn(buttonVariants({ className, size, variant })),- "data-slot": "button",- type: typeValue,- };-- return useRender({- defaultTagName: "button",- props: mergeProps<"button">(defaultProps, props),- render,- });-}--export { Button, buttonVariants };diff --git a/apps/renderer/src/components/ui/card.tsx b/apps/renderer/src/components/ui/card.tsxdeleted file mode 100644index 402369628..000000000--- a/apps/renderer/src/components/ui/card.tsx+++ /dev/null@@ -1,242 +0,0 @@-import { mergeProps } from "@base-ui/react/merge-props";-import { useRender } from "@base-ui/react/use-render";--import { cn } from "#/lib/utils";--function Card({- className,- render,- ...props-}: useRender.ComponentProps<"div">) {- const defaultProps = {- className: cn(- "relative flex flex-col rounded-2xl border bg-card not-dark:bg-clip-padding text-card-foreground shadow-xs/5 before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-2xl)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",- className,- ),- "data-slot": "card",- };-- return useRender({- defaultTagName: "div",- props: mergeProps<"div">(defaultProps, props),- render,- });-}--function CardFrame({- className,- render,- ...props-}: useRender.ComponentProps<"div">) {- const defaultProps = {- className: cn(- "flex flex-col relative rounded-2xl border bg-card before:bg-muted/72 not-dark:bg-clip-padding text-card-foreground shadow-xs/5 before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-2xl)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/6%)] *:data-[slot=card]:-m-px *:not-last:data-[slot=card]:rounded-b-xl *:not-last:data-[slot=card]:before:rounded-b-[calc(var(--radius-xl)-1px)] *:not-first:data-[slot=card]:rounded-t-xl *:not-first:data-[slot=card]:before:rounded-t-[calc(var(--radius-xl)-1px)] *:data-[slot=card]:[clip-path:inset(-1rem_1px)] *:data-[slot=card]:first:[clip-path:inset(1px_1px_-1rem_1px_round_calc(var(--radius-2xl)-1px))] *:data-[slot=card]:last:[clip-path:inset(-1rem_1px_1px_1px_round_calc(var(--radius-2xl)-1px))] *:data-[slot=card]:shadow-none *:data-[slot=card]:before:hidden *:data-[slot=card]:bg-clip-padding",- className,- ),- "data-slot": "card-frame",- };-- return useRender({- defaultTagName: "div",- props: mergeProps<"div">(defaultProps, props),- render,- });-}--function CardFrameHeader({- className,- render,- ...props-}: useRender.ComponentProps<"div">) {- const defaultProps = {- className: cn("relative flex flex-col px-6 py-4", className),- "data-slot": "card-frame-header",- };-- return useRender({- defaultTagName: "div",- props: mergeProps<"div">(defaultProps, props),- render,- });-}--function CardFrameTitle({- className,- render,- ...props-}: useRender.ComponentProps<"div">) {- const defaultProps = {- className: cn("font-semibold text-sm", className),- "data-slot": "card-frame-title",- };-- return useRender({- defaultTagName: "div",- props: mergeProps<"div">(defaultProps, props),- render,- });-}--function CardFrameDescription({- className,- render,- ...props-}: useRender.ComponentProps<"div">) {- const defaultProps = {- className: cn("text-muted-foreground text-sm", className),- "data-slot": "card-frame-description",- };-- return useRender({- defaultTagName: "div",- props: mergeProps<"div">(defaultProps, props),- render,- });-}--function CardFrameFooter({- className,- render,- ...props-}: useRender.ComponentProps<"div">) {- const defaultProps = {- className: cn("px-6 py-4", className),- "data-slot": "card-frame-footer",- };-- return useRender({- defaultTagName: "div",- props: mergeProps<"div">(defaultProps, props),- render,- });-}--function CardHeader({- className,- render,- ...props-}: useRender.ComponentProps<"div">) {- const defaultProps = {- className: cn(- "grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 p-6 in-[[data-slot=card]:has(>[data-slot=card-panel])]:pb-4 has-data-[slot=card-action]:grid-cols-[1fr_auto]",- className,- ),- "data-slot": "card-header",- };-- return useRender({- defaultTagName: "div",- props: mergeProps<"div">(defaultProps, props),- render,- });-}--function CardTitle({- className,- render,- ...props-}: useRender.ComponentProps<"div">) {- const defaultProps = {- className: cn("font-semibold text-lg leading-none", className),- "data-slot": "card-title",- };-- return useRender({- defaultTagName: "div",- props: mergeProps<"div">(defaultProps, props),- render,- });-}--function CardDescription({- className,- render,- ...props-}: useRender.ComponentProps<"div">) {- const defaultProps = {- className: cn("text-muted-foreground text-sm", className),- "data-slot": "card-description",- };-- return useRender({- defaultTagName: "div",- props: mergeProps<"div">(defaultProps, props),- render,- });-}--function CardAction({- className,- render,- ...props-}: useRender.ComponentProps<"div">) {- const defaultProps = {- className: cn(- "col-start-2 row-span-2 row-start-1 self-start justify-self-end inline-flex",- className,- ),- "data-slot": "card-action",- };-- return useRender({- defaultTagName: "div",- props: mergeProps<"div">(defaultProps, props),- render,- });-}--function CardPanel({- className,- render,- ...props-}: useRender.ComponentProps<"div">) {- const defaultProps = {- className: cn(- "flex-1 p-6 in-[[data-slot=card]:has(>[data-slot=card-header]:not(.border-b))]:pt-0 in-[[data-slot=card]:has(>[data-slot=card-footer]:not(.border-t))]:pb-0",- className,- ),- "data-slot": "card-panel",- };-- return useRender({- defaultTagName: "div",- props: mergeProps<"div">(defaultProps, props),- render,- });-}--function CardFooter({- className,- render,- ...props-}: useRender.ComponentProps<"div">) {- const defaultProps = {- className: cn(- "flex items-center p-6 in-[[data-slot=card]:has(>[data-slot=card-panel])]:pt-4",- className,- ),- "data-slot": "card-footer",- };-- return useRender({- defaultTagName: "div",- props: mergeProps<"div">(defaultProps, props),- render,- });-}--export {- Card,- CardFrame,- CardFrameHeader,- CardFrameTitle,- CardFrameDescription,- CardFrameFooter,- CardAction,- CardDescription,- CardFooter,- CardHeader,- CardPanel,- CardPanel as CardContent,- CardTitle,-};diff --git a/apps/renderer/src/components/ui/checkbox-group.tsx b/apps/renderer/src/components/ui/checkbox-group.tsxdeleted file mode 100644index 03879c558..000000000--- a/apps/renderer/src/components/ui/checkbox-group.tsx+++ /dev/null@@ -1,14 +0,0 @@-import { CheckboxGroup as CheckboxGroupPrimitive } from "@base-ui/react/checkbox-group";--import { cn } from "#/lib/utils";--function CheckboxGroup({ className, ...props }: CheckboxGroupPrimitive.Props) {- return (- <CheckboxGroupPrimitive- className={cn("flex flex-col items-start gap-3", className)}- {...props}- />- );-}--export { CheckboxGroup };diff --git a/apps/renderer/src/components/ui/checkbox.tsx b/apps/renderer/src/components/ui/checkbox.tsxdeleted file mode 100644index d83dc9a8c..000000000--- a/apps/renderer/src/components/ui/checkbox.tsx+++ /dev/null@@ -1,58 +0,0 @@-import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox";--import { cn } from "#/lib/utils";--function Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props) {- return (- <CheckboxPrimitive.Root- className={cn(- "relative inline-flex size-4.5 shrink-0 items-center justify-center rounded-[4px] border border-input bg-background not-dark:bg-clip-padding shadow-xs/5 outline-none ring-ring transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[3px] not-data-disabled:not-data-checked:not-aria-invalid:before:shadow-[0_1px_--theme(--color-black/4%)] focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-background aria-invalid:border-destructive/36 focus-visible:aria-invalid:border-destructive/64 focus-visible:aria-invalid:ring-destructive/48 data-disabled:opacity-64 sm:size-4 dark:not-data-checked:bg-input/32 dark:aria-invalid:ring-destructive/24 dark:not-data-disabled:not-data-checked:not-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/6%)] [[data-disabled],[data-checked],[aria-invalid]]:shadow-none",- className,- )}- data-slot="checkbox"- {...props}- >- <CheckboxPrimitive.Indicator- className="-inset-px absolute flex items-center justify-center rounded-[4px] text-primary-foreground data-unchecked:hidden data-checked:bg-primary data-indeterminate:text-foreground"- data-slot="checkbox-indicator"- render={(props, state) => (- <span {...props}>- {state.indeterminate ? (- <svg- className="size-3.5 sm:size-3"- fill="none"- height="24"- stroke="currentColor"- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="3"- viewBox="0 0 24 24"- width="24"- xmlns="http://www.w3.org/2000/svg"- >- <path d="M5.252 12h13.496" />- </svg>- ) : (- <svg- className="size-3.5 sm:size-3"- fill="none"- height="24"- stroke="currentColor"- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="3"- viewBox="0 0 24 24"- width="24"- xmlns="http://www.w3.org/2000/svg"- >- <path d="M5.252 12.7 10.2 18.63 18.748 5.37" />- </svg>- )}- </span>- )}- />- </CheckboxPrimitive.Root>- );-}--export { Checkbox };diff --git a/apps/renderer/src/components/ui/collapsible.tsx b/apps/renderer/src/components/ui/collapsible.tsxdeleted file mode 100644index 2cf6810c8..000000000--- a/apps/renderer/src/components/ui/collapsible.tsx+++ /dev/null@@ -1,43 +0,0 @@-import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible";--import { cn } from "#/lib/utils";--function Collapsible({ ...props }: CollapsiblePrimitive.Root.Props) {- return <CollapsiblePrimitive.Root data-slot="collapsible" {...props} />;-}--function CollapsibleTrigger({- className,- ...props-}: CollapsiblePrimitive.Trigger.Props) {- return (- <CollapsiblePrimitive.Trigger- className={cn("cursor-pointer", className)}- data-slot="collapsible-trigger"- {...props}- />- );-}--function CollapsiblePanel({- className,- ...props-}: CollapsiblePrimitive.Panel.Props) {- return (- <CollapsiblePrimitive.Panel- className={cn(- "h-(--collapsible-panel-height) overflow-hidden transition-[height] duration-200 data-ending-style:h-0 data-starting-style:h-0",- className,- )}- data-slot="collapsible-panel"- {...props}- />- );-}--export {- Collapsible,- CollapsibleTrigger,- CollapsiblePanel,- CollapsiblePanel as CollapsibleContent,-};diff --git a/apps/renderer/src/components/ui/combobox.tsx b/apps/renderer/src/components/ui/combobox.tsxdeleted file mode 100644index 280908d8d..000000000--- a/apps/renderer/src/components/ui/combobox.tsx+++ /dev/null@@ -1,422 +0,0 @@-import { Combobox as ComboboxPrimitive } from "@base-ui/react/combobox";-import { ChevronsUpDownIcon, XIcon } from "lucide-react";-import * as React from "react";--import { Input } from "#/components/ui/input";-import { ScrollArea } from "#/components/ui/scroll-area";-import { cn } from "#/lib/utils";--const ComboboxContext = React.createContext<{- chipsRef: React.RefObject<Element | null> | null;- multiple: boolean;-}>({- chipsRef: null,- multiple: false,-});--function Combobox<Value, Multiple extends boolean | undefined = false>(- props: ComboboxPrimitive.Root.Props<Value, Multiple>,-): React.JSX.Element {- const chipsRef = React.useRef<Element | null>(null);- return (- <ComboboxContext.Provider value={{ chipsRef, multiple: !!props.multiple }}>- <ComboboxPrimitive.Root {...props} />- </ComboboxContext.Provider>- );-}--function ComboboxChipsInput({- className,- size,- ...props-}: Omit<ComboboxPrimitive.Input.Props, "size"> & {- size?: "sm" | "default" | "lg" | number;- ref?: React.Ref<HTMLInputElement>;-}) {- const sizeValue = (size ?? "default") as "sm" | "default" | "lg" | number;-- return (- <ComboboxPrimitive.Input- className={cn(- "min-w-12 flex-1 text-base outline-none sm:text-sm [[data-slot=combobox-chip]+&]:ps-0.5",- sizeValue === "sm" ? "ps-1.5" : "ps-2",- className,- )}- data-size={typeof sizeValue === "string" ? sizeValue : undefined}- data-slot="combobox-chips-input"- size={typeof sizeValue === "number" ? sizeValue : undefined}- {...props}- />- );-}--function ComboboxInput({- className,- showTrigger = true,- showClear = false,- startAddon,- size,- ...props-}: Omit<ComboboxPrimitive.Input.Props, "size"> & {- showTrigger?: boolean;- showClear?: boolean;- startAddon?: React.ReactNode;- size?: "sm" | "default" | "lg" | number;- ref?: React.Ref<HTMLInputElement>;-}) {- const sizeValue = (size ?? "default") as "sm" | "default" | "lg" | number;-- return (- <div className="relative not-has-[>*.w-full]:w-fit w-full text-foreground has-disabled:opacity-64">- {startAddon && (- <div- aria-hidden="true"- className="[&_svg]:-mx-0.5 pointer-events-none absolute inset-y-0 start-px z-10 flex items-center ps-[calc(--spacing(3)-1px)] opacity-80 has-[+[data-size=sm]]:ps-[calc(--spacing(2.5)-1px)] [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4"- data-slot="combobox-start-addon"- >- {startAddon}- </div>- )}- <ComboboxPrimitive.Input- className={cn(- startAddon &&- "data-[size=sm]:*:data-[slot=combobox-input]:ps-[calc(--spacing(7.5)-1px)] *:data-[slot=combobox-input]:ps-[calc(--spacing(8.5)-1px)] sm:data-[size=sm]:*:data-[slot=combobox-input]:ps-[calc(--spacing(7)-1px)] sm:*:data-[slot=combobox-input]:ps-[calc(--spacing(8)-1px)]",- sizeValue === "sm"- ? "has-[+[data-slot=combobox-trigger],+[data-slot=combobox-clear]]:*:data-[slot=combobox-input]:pe-6.5"- : "has-[+[data-slot=combobox-trigger],+[data-slot=combobox-clear]]:*:data-[slot=combobox-input]:pe-7",- className,- )}- data-slot="combobox-input"- render={- <Input- className="has-disabled:opacity-100"- nativeInput- size={sizeValue}- />- }- {...props}- />- {showTrigger && (- <ComboboxTrigger- className={cn(- "-translate-y-1/2 absolute top-1/2 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",- sizeValue === "sm" ? "end-0" : "end-0.5",- )}- >- <ChevronsUpDownIcon />- </ComboboxTrigger>- )}- {showClear && (- <ComboboxClear- className={cn(- "-translate-y-1/2 absolute top-1/2 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",- sizeValue === "sm" ? "end-0" : "end-0.5",- )}- >- <XIcon />- </ComboboxClear>- )}- </div>- );-}--function ComboboxTrigger({- className,- ...props-}: ComboboxPrimitive.Trigger.Props) {- return (- <ComboboxPrimitive.Trigger- className={className}- data-slot="combobox-trigger"- {...props}- />- );-}--function ComboboxPopup({- className,- children,- side = "bottom",- sideOffset = 4,- alignOffset,- align = "start",- ...props-}: ComboboxPrimitive.Popup.Props & {- align?: ComboboxPrimitive.Positioner.Props["align"];- sideOffset?: ComboboxPrimitive.Positioner.Props["sideOffset"];- alignOffset?: ComboboxPrimitive.Positioner.Props["alignOffset"];- side?: ComboboxPrimitive.Positioner.Props["side"];-}) {- const { chipsRef } = React.useContext(ComboboxContext);-- return (- <ComboboxPrimitive.Portal>- <ComboboxPrimitive.Positioner- align={align}- alignOffset={alignOffset}- anchor={chipsRef}- className="z-50 select-none"- data-slot="combobox-positioner"- side={side}- sideOffset={sideOffset}- >- <span- className={cn(- "relative flex max-h-full min-w-(--anchor-width) max-w-(--available-width) origin-(--transform-origin) rounded-lg border bg-popover not-dark:bg-clip-padding shadow-lg/5 transition-[scale,opacity] before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",- className,- )}- >- <ComboboxPrimitive.Popup- className="flex max-h-[min(var(--available-height),23rem)] flex-1 flex-col text-foreground"- data-slot="combobox-popup"- {...props}- >- {children}- </ComboboxPrimitive.Popup>- </span>- </ComboboxPrimitive.Positioner>- </ComboboxPrimitive.Portal>- );-}--function ComboboxItem({- className,- children,- ...props-}: ComboboxPrimitive.Item.Props) {- return (- <ComboboxPrimitive.Item- className={cn(- "grid min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",- className,- )}- data-slot="combobox-item"- {...props}- >- <ComboboxPrimitive.ItemIndicator className="col-start-1">- <svg- fill="none"- height="24"- stroke="currentColor"- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="2"- viewBox="0 0 24 24"- width="24"- xmlns="http://www.w3.org/1500/svg"- >- <path d="M5.252 12.7 10.2 18.63 18.748 5.37" />- </svg>- </ComboboxPrimitive.ItemIndicator>- <div className="col-start-2">{children}</div>- </ComboboxPrimitive.Item>- );-}--function ComboboxSeparator({- className,- ...props-}: ComboboxPrimitive.Separator.Props) {- return (- <ComboboxPrimitive.Separator- className={cn("mx-2 my-1 h-px bg-border last:hidden", className)}- data-slot="combobox-separator"- {...props}- />- );-}--function ComboboxGroup({ className, ...props }: ComboboxPrimitive.Group.Props) {- return (- <ComboboxPrimitive.Group- className={cn("[[role=group]+&]:mt-1.5", className)}- data-slot="combobox-group"- {...props}- />- );-}--function ComboboxGroupLabel({- className,- ...props-}: ComboboxPrimitive.GroupLabel.Props) {- return (- <ComboboxPrimitive.GroupLabel- className={cn(- "px-2 py-1.5 font-medium text-muted-foreground text-xs",- className,- )}- data-slot="combobox-group-label"- {...props}- />- );-}--function ComboboxEmpty({ className, ...props }: ComboboxPrimitive.Empty.Props) {- return (- <ComboboxPrimitive.Empty- className={cn(- "not-empty:p-2 text-center text-base text-muted-foreground sm:text-sm",- className,- )}- data-slot="combobox-empty"- {...props}- />- );-}--function ComboboxRow({ className, ...props }: ComboboxPrimitive.Row.Props) {- return (- <ComboboxPrimitive.Row- className={className}- data-slot="combobox-row"- {...props}- />- );-}--function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props) {- return <ComboboxPrimitive.Value data-slot="combobox-value" {...props} />;-}--function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props) {- return (- <ScrollArea scrollbarGutter scrollFade>- <ComboboxPrimitive.List- className={cn(- "not-empty:scroll-py-1 not-empty:px-1 not-empty:py-1 in-data-has-overflow-y:pe-3",- className,- )}- data-slot="combobox-list"- {...props}- />- </ScrollArea>- );-}--function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props) {- return (- <ComboboxPrimitive.Clear- className={className}- data-slot="combobox-clear"- {...props}- />- );-}--function ComboboxStatus({- className,- ...props-}: ComboboxPrimitive.Status.Props) {- return (- <ComboboxPrimitive.Status- className={cn(- "px-3 py-2 font-medium text-muted-foreground text-xs empty:m-0 empty:p-0",- className,- )}- data-slot="combobox-status"- {...props}- />- );-}--function ComboboxCollection(props: ComboboxPrimitive.Collection.Props) {- return (- <ComboboxPrimitive.Collection data-slot="combobox-collection" {...props} />- );-}--function ComboboxChips({- className,- children,- startAddon,- ...props-}: ComboboxPrimitive.Chips.Props & {- startAddon?: React.ReactNode;-}) {- const { chipsRef } = React.useContext(ComboboxContext);-- return (- <ComboboxPrimitive.Chips- className={cn(- "relative inline-flex min-h-9 w-full flex-wrap gap-1 rounded-lg border border-input bg-background not-dark:bg-clip-padding p-[calc(--spacing(1)-1px)] text-base shadow-xs/5 outline-none ring-ring/24 transition-shadow *:min-h-7 before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] not-has-disabled:not-focus-within:not-aria-invalid:before:shadow-[0_1px_--theme(--color-black/4%)] focus-within:border-ring focus-within:ring-[3px] has-disabled:pointer-events-none has-data-[size=lg]:min-h-10 has-data-[size=sm]:min-h-8 has-aria-invalid:border-destructive/36 has-autofill:bg-foreground/4 has-disabled:opacity-64 has-[:disabled,:focus-within,[aria-invalid]]:shadow-none focus-within:has-aria-invalid:border-destructive/64 focus-within:has-aria-invalid:ring-destructive/16 has-data-[size=lg]:*:min-h-8 has-data-[size=sm]:*:min-h-6 sm:min-h-8 sm:text-sm sm:has-data-[size=lg]:min-h-9 sm:has-data-[size=sm]:min-h-7 sm:*:min-h-6 sm:has-data-[size=lg]:*:min-h-7 sm:has-data-[size=sm]:*:min-h-5 dark:not-has-disabled:bg-input/32 dark:has-autofill:bg-foreground/8 dark:has-aria-invalid:ring-destructive/24 dark:not-has-disabled:not-focus-within:not-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/6%)]",- className,- )}- data-slot="combobox-chips"- onMouseDown={(e) => {- const target = e.target as HTMLElement;- const isChip = target.closest('[data-slot="combobox-chip"]');- if (isChip || !chipsRef?.current) return;- e.preventDefault();- const input: HTMLInputElement | null =- chipsRef.current.querySelector("input");- if (input && !chipsRef.current.querySelector("input:focus")) {- input.focus();- }- }}- ref={chipsRef as React.Ref<HTMLDivElement> | null}- {...props}- >- {startAddon && (- <div- aria-hidden="true"- className="[&_svg]:-ms-0.5 [&_svg]:-me-1.5 flex shrink-0 items-center ps-2 opacity-80 has-[~[data-size=sm]]:has-[+[data-slot=combobox-chip]]:pe-1.5 has-[~[data-size=sm]]:ps-1.5 has-[+[data-slot=combobox-chip]]:pe-2 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none"- data-slot="combobox-start-addon"- >- {startAddon}- </div>- )}- {children}- </ComboboxPrimitive.Chips>- );-}--function ComboboxChip({ children, ...props }: ComboboxPrimitive.Chip.Props) {- return (- <ComboboxPrimitive.Chip- className="flex items-center rounded-[calc(var(--radius-md)-1px)] bg-accent ps-2 font-medium text-accent-foreground text-sm outline-none sm:text-xs/(--text-xs--line-height) [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5"- data-slot="combobox-chip"- {...props}- >- {children}- <ComboboxChipRemove />- </ComboboxPrimitive.Chip>- );-}--function ComboboxChipRemove(props: ComboboxPrimitive.ChipRemove.Props) {- return (- <ComboboxPrimitive.ChipRemove- aria-label="Remove"- className="h-full shrink-0 cursor-pointer px-1.5 opacity-80 hover:opacity-100 [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5"- data-slot="combobox-chip-remove"- {...props}- >- <XIcon />- </ComboboxPrimitive.ChipRemove>- );-}--const useComboboxFilter = ComboboxPrimitive.useFilter;--export {- Combobox,- ComboboxChipsInput,- ComboboxInput,- ComboboxTrigger,- ComboboxPopup,- ComboboxItem,- ComboboxSeparator,- ComboboxGroup,- ComboboxGroupLabel,- ComboboxEmpty,- ComboboxValue,- ComboboxList,- ComboboxClear,- ComboboxStatus,- ComboboxRow,- ComboboxCollection,- ComboboxChips,- ComboboxChip,- useComboboxFilter,-};diff --git a/apps/renderer/src/components/ui/command.tsx b/apps/renderer/src/components/ui/command.tsxdeleted file mode 100644index 459862931..000000000--- a/apps/renderer/src/components/ui/command.tsx+++ /dev/null@@ -1,262 +0,0 @@-import { Dialog as CommandDialogPrimitive } from "@base-ui/react/dialog";-import { SearchIcon } from "lucide-react";-import type * as React from "react";-import {- Autocomplete,- AutocompleteCollection,- AutocompleteEmpty,- AutocompleteGroup,- AutocompleteGroupLabel,- AutocompleteInput,- AutocompleteItem,- AutocompleteList,- AutocompleteSeparator,-} from "#/components/ui/autocomplete";-import { cn } from "#/lib/utils";--const CommandDialog = CommandDialogPrimitive.Root;--const CommandDialogPortal = CommandDialogPrimitive.Portal;--const CommandCreateHandle = CommandDialogPrimitive.createHandle;--function CommandDialogTrigger(props: CommandDialogPrimitive.Trigger.Props) {- return (- <CommandDialogPrimitive.Trigger- data-slot="command-dialog-trigger"- {...props}- />- );-}--function CommandDialogBackdrop({- className,- ...props-}: CommandDialogPrimitive.Backdrop.Props) {- return (- <CommandDialogPrimitive.Backdrop- className={cn(- "fixed inset-0 z-50 bg-black/32 backdrop-blur-sm transition-all duration-200 data-ending-style:opacity-0 data-starting-style:opacity-0",- className,- )}- data-slot="command-dialog-backdrop"- {...props}- />- );-}--function CommandDialogViewport({- className,- ...props-}: CommandDialogPrimitive.Viewport.Props) {- return (- <CommandDialogPrimitive.Viewport- className={cn(- "fixed inset-0 z-50 flex flex-col items-center px-4 py-[max(--spacing(4),4vh)] sm:py-[10vh]",- className,- )}- data-slot="command-dialog-viewport"- {...props}- />- );-}--function CommandDialogPopup({- className,- children,- ...props-}: CommandDialogPrimitive.Popup.Props) {- return (- <CommandDialogPortal>- <CommandDialogBackdrop />- <CommandDialogViewport>- <CommandDialogPrimitive.Popup- className={cn(- "-translate-y-[calc(1.25rem*var(--nested-dialogs))] relative row-start-2 flex max-h-105 min-h-0 w-full min-w-0 max-w-xl scale-[calc(1-0.1*var(--nested-dialogs))] flex-col rounded-2xl border bg-popover not-dark:bg-clip-padding text-popover-foreground opacity-[calc(1-0.1*var(--nested-dialogs))] shadow-lg/5 outline-none transition-[scale,opacity,translate] duration-200 ease-in-out will-change-transform before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-2xl)-1px)] before:bg-muted/72 before:shadow-[0_1px_--theme(--color-black/4%)] data-nested:data-ending-style:translate-y-8 data-nested:data-starting-style:translate-y-8 data-nested-dialog-open:origin-top data-ending-style:scale-98 data-starting-style:scale-98 data-ending-style:opacity-0 data-starting-style:opacity-0 **:data-[slot=scroll-area-viewport]:data-has-overflow-y:pe-1 dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",- className,- )}- data-slot="command-dialog-popup"- {...props}- >- {children}- </CommandDialogPrimitive.Popup>- </CommandDialogViewport>- </CommandDialogPortal>- );-}--function Command({- autoHighlight = "always",- keepHighlight = true,- ...props-}: React.ComponentProps<typeof Autocomplete>) {- return (- <Autocomplete- autoHighlight={autoHighlight}- inline- keepHighlight={keepHighlight}- open- {...props}- />- );-}--function CommandInput({- className,- placeholder = undefined,- ...props-}: React.ComponentProps<typeof AutocompleteInput>) {- return (- <div className="px-2.5 py-1.5">- <AutocompleteInput- autoFocus- className={cn(- "border-transparent! bg-transparent! shadow-none before:hidden has-focus-visible:ring-0",- className,- )}- placeholder={placeholder}- size="lg"- startAddon={<SearchIcon />}- {...props}- />- </div>- );-}--function CommandList({- className,- ...props-}: React.ComponentProps<typeof AutocompleteList>) {- return (- <AutocompleteList- className={cn("not-empty:scroll-py-2 not-empty:p-2", className)}- data-slot="command-list"- {...props}- />- );-}--function CommandEmpty({- className,- ...props-}: React.ComponentProps<typeof AutocompleteEmpty>) {- return (- <AutocompleteEmpty- className={cn("not-empty:py-6", className)}- data-slot="command-empty"- {...props}- />- );-}--function CommandPanel({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- className="-mx-px not-has-[+[data-slot=command-footer]]:-mb-px relative min-h-0 rounded-t-xl not-has-[+[data-slot=command-footer]]:rounded-b-2xl border border-b-0 bg-popover bg-clip-padding shadow-xs/5 [clip-path:inset(0_1px)] not-has-[+[data-slot=command-footer]]:[clip-path:inset(0_1px_1px_1px_round_0_0_calc(var(--radius-2xl)-1px)_calc(var(--radius-2xl)-1px))] before:pointer-events-none before:absolute before:inset-0 before:rounded-t-[calc(var(--radius-xl)-1px)] **:data-[slot=scroll-area-scrollbar]:mt-2"- {...props}- />- );-}--function CommandGroup({- className,- ...props-}: React.ComponentProps<typeof AutocompleteGroup>) {- return (- <AutocompleteGroup- className={className}- data-slot="command-group"- {...props}- />- );-}--function CommandGroupLabel({- className,- ...props-}: React.ComponentProps<typeof AutocompleteGroupLabel>) {- return (- <AutocompleteGroupLabel- className={className}- data-slot="command-group-label"- {...props}- />- );-}--function CommandCollection({- ...props-}: React.ComponentProps<typeof AutocompleteCollection>) {- return <AutocompleteCollection data-slot="command-collection" {...props} />;-}--function CommandItem({- className,- ...props-}: React.ComponentProps<typeof AutocompleteItem>) {- return (- <AutocompleteItem- className={cn("py-1.5", className)}- data-slot="command-item"- {...props}- />- );-}--function CommandSeparator({- className,- ...props-}: React.ComponentProps<typeof AutocompleteSeparator>) {- return (- <AutocompleteSeparator- className={cn("my-2", className)}- data-slot="command-separator"- {...props}- />- );-}--function CommandShortcut({ className, ...props }: React.ComponentProps<"kbd">) {- return (- <kbd- className={cn(- "ms-auto font-medium font-sans text-muted-foreground/72 text-xs tracking-widest",- className,- )}- data-slot="command-shortcut"- {...props}- />- );-}--function CommandFooter({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- className={cn(- "flex items-center justify-between gap-2 rounded-b-[calc(var(--radius-2xl)-1px)] border-t px-5 py-3 text-muted-foreground text-xs",- className,- )}- data-slot="command-footer"- {...props}- />- );-}--export {- CommandCreateHandle,- Command,- CommandCollection,- CommandDialog,- CommandDialogPopup,- CommandDialogTrigger,- CommandEmpty,- CommandFooter,- CommandGroup,- CommandGroupLabel,- CommandInput,- CommandItem,- CommandList,- CommandPanel,- CommandSeparator,- CommandShortcut,-};diff --git a/apps/renderer/src/components/ui/dialog.tsx b/apps/renderer/src/components/ui/dialog.tsxdeleted file mode 100644index 1f5a8f096..000000000--- a/apps/renderer/src/components/ui/dialog.tsx+++ /dev/null@@ -1,194 +0,0 @@-import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";-import { XIcon } from "lucide-react";-import { Button } from "#/components/ui/button";-import { ScrollArea } from "#/components/ui/scroll-area";-import { cn } from "#/lib/utils";--const DialogCreateHandle = DialogPrimitive.createHandle;--const Dialog = DialogPrimitive.Root;--const DialogPortal = DialogPrimitive.Portal;--function DialogTrigger(props: DialogPrimitive.Trigger.Props) {- return <DialogPrimitive.Trigger data-slot="dialog-trigger" {...props} />;-}--function DialogClose(props: DialogPrimitive.Close.Props) {- return <DialogPrimitive.Close data-slot="dialog-close" {...props} />;-}--function DialogBackdrop({- className,- ...props-}: DialogPrimitive.Backdrop.Props) {- return (- <DialogPrimitive.Backdrop- className={cn(- "fixed inset-0 z-50 bg-black/32 backdrop-blur-sm transition-all duration-200 data-ending-style:opacity-0 data-starting-style:opacity-0",- className,- )}- data-slot="dialog-backdrop"- {...props}- />- );-}--function DialogViewport({- className,- ...props-}: DialogPrimitive.Viewport.Props) {- return (- <DialogPrimitive.Viewport- className={cn(- "fixed inset-0 z-50 grid grid-rows-[1fr_auto_3fr] justify-items-center p-4",- className,- )}- data-slot="dialog-viewport"- {...props}- />- );-}--function DialogPopup({- className,- children,- showCloseButton = true,- bottomStickOnMobile = true,- ...props-}: DialogPrimitive.Popup.Props & {- showCloseButton?: boolean;- bottomStickOnMobile?: boolean;-}) {- return (- <DialogPortal>- <DialogBackdrop />- <DialogViewport- className={cn(- bottomStickOnMobile &&- "max-sm:grid-rows-[1fr_auto] max-sm:p-0 max-sm:pt-12",- )}- >- <DialogPrimitive.Popup- className={cn(- "-translate-y-[calc(1.25rem*var(--nested-dialogs))] relative row-start-2 flex max-h-full min-h-0 w-full min-w-0 max-w-lg scale-[calc(1-0.1*var(--nested-dialogs))] flex-col rounded-2xl border bg-popover not-dark:bg-clip-padding text-popover-foreground opacity-[calc(1-0.1*var(--nested-dialogs))] shadow-lg/5 transition-[scale,opacity,translate] duration-200 ease-in-out will-change-transform before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-2xl)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] data-nested:data-ending-style:translate-y-8 data-nested:data-starting-style:translate-y-8 data-nested-dialog-open:origin-top data-ending-style:scale-98 data-starting-style:scale-98 data-ending-style:opacity-0 data-starting-style:opacity-0 dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",- bottomStickOnMobile &&- "max-sm:max-w-none max-sm:rounded-none max-sm:border-x-0 max-sm:border-t max-sm:border-b-0 max-sm:opacity-[calc(1-min(var(--nested-dialogs),1))] max-sm:data-ending-style:translate-y-4 max-sm:data-starting-style:translate-y-4 max-sm:before:hidden max-sm:before:rounded-none",- className,- )}- data-slot="dialog-popup"- {...props}- >- {children}- {showCloseButton && (- <DialogPrimitive.Close- aria-label="Close"- className="absolute end-2 top-2"- render={<Button size="icon" variant="ghost" />}- >- <XIcon />- </DialogPrimitive.Close>- )}- </DialogPrimitive.Popup>- </DialogViewport>- </DialogPortal>- );-}--function DialogHeader({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- className={cn(- "flex flex-col gap-2 p-6 in-[[data-slot=dialog-popup]:has([data-slot=dialog-panel])]:pb-3 max-sm:pb-4",- className,- )}- data-slot="dialog-header"- {...props}- />- );-}--function DialogFooter({- className,- variant = "default",- ...props-}: React.ComponentProps<"div"> & {- variant?: "default" | "bare";-}) {- return (- <div- className={cn(- "flex flex-col-reverse gap-2 px-6 sm:flex-row sm:justify-end sm:rounded-b-[calc(var(--radius-2xl)-1px)]",- variant === "default" && "border-t bg-muted/72 py-4",- variant === "bare" &&- "in-[[data-slot=dialog-popup]:has([data-slot=dialog-panel])]:pt-3 pt-4 pb-6",- className,- )}- data-slot="dialog-footer"- {...props}- />- );-}--function DialogTitle({ className, ...props }: DialogPrimitive.Title.Props) {- return (- <DialogPrimitive.Title- className={cn(- "font-heading font-semibold text-xl leading-none",- className,- )}- data-slot="dialog-title"- {...props}- />- );-}--function DialogDescription({- className,- ...props-}: DialogPrimitive.Description.Props) {- return (- <DialogPrimitive.Description- className={cn("text-muted-foreground text-sm", className)}- data-slot="dialog-description"- {...props}- />- );-}--function DialogPanel({- className,- scrollFade = true,- ...props-}: React.ComponentProps<"div"> & { scrollFade?: boolean }) {- return (- <ScrollArea scrollFade={scrollFade}>- <div- className={cn(- "p-6 in-[[data-slot=dialog-popup]:has([data-slot=dialog-header])]:pt-1 in-[[data-slot=dialog-popup]:has([data-slot=dialog-footer]:not(.border-t))]:pb-1",- className,- )}- data-slot="dialog-panel"- {...props}- />- </ScrollArea>- );-}--export {- DialogCreateHandle,- Dialog,- DialogTrigger,- DialogPortal,- DialogClose,- DialogBackdrop,- DialogBackdrop as DialogOverlay,- DialogPopup,- DialogPopup as DialogContent,- DialogHeader,- DialogFooter,- DialogTitle,- DialogDescription,- DialogPanel,- DialogViewport,-};diff --git a/apps/renderer/src/components/ui/empty.tsx b/apps/renderer/src/components/ui/empty.tsxdeleted file mode 100644index 013f85f2d..000000000--- a/apps/renderer/src/components/ui/empty.tsx+++ /dev/null@@ -1,127 +0,0 @@-import { type VariantProps, cva } from "class-variance-authority";--import { cn } from "#/lib/utils";--function Empty({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- className={cn(- "flex min-w-0 flex-1 flex-col items-center justify-center gap-6 text-balance p-6 text-center md:p-12",- className,- )}- data-slot="empty"- {...props}- />- );-}--function EmptyHeader({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- className={cn(- "flex max-w-sm flex-col items-center text-center",- className,- )}- data-slot="empty-header"- {...props}- />- );-}--const emptyMediaVariants = cva(- "flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",- {- defaultVariants: {- variant: "default",- },- variants: {- variant: {- default: "bg-transparent",- icon: "relative flex size-9 shrink-0 items-center justify-center rounded-md border bg-card not-dark:bg-clip-padding text-foreground shadow-sm/5 before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-md)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/6%)] [&_svg:not([class*='size-'])]:size-4.5",- },- },- },-);--function EmptyMedia({- className,- variant = "default",- ...props-}: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>) {- return (- <div- className={cn("relative mb-6", className)}- data-slot="empty-media"- data-variant={variant}- {...props}- >- {variant === "icon" && (- <>- <div- aria-hidden="true"- className={cn(- emptyMediaVariants({ className, variant }),- "-translate-x-0.5 -rotate-10 pointer-events-none absolute bottom-px origin-bottom-left scale-84 shadow-none",- )}- />- <div- aria-hidden="true"- className={cn(- emptyMediaVariants({ className, variant }),- "pointer-events-none absolute bottom-px origin-bottom-right translate-x-0.5 rotate-10 scale-84 shadow-none",- )}- />- </>- )}- <div- className={cn(emptyMediaVariants({ className, variant }))}- {...props}- />- </div>- );-}--function EmptyTitle({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- className={cn("font-heading font-semibold text-xl", className)}- data-slot="empty-title"- {...props}- />- );-}--function EmptyDescription({ className, ...props }: React.ComponentProps<"p">) {- return (- <div- className={cn(- "text-muted-foreground text-sm [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4 [[data-slot=empty-title]+&]:mt-1",- className,- )}- data-slot="empty-description"- {...props}- />- );-}--function EmptyContent({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- className={cn(- "flex w-full min-w-0 max-w-sm flex-col items-center gap-4 text-balance text-sm",- className,- )}- data-slot="empty-content"- {...props}- />- );-}--export {- Empty,- EmptyHeader,- EmptyTitle,- EmptyDescription,- EmptyContent,- EmptyMedia,-};diff --git a/apps/renderer/src/components/ui/field.tsx b/apps/renderer/src/components/ui/field.tsxdeleted file mode 100644index 71f3352e3..000000000--- a/apps/renderer/src/components/ui/field.tsx+++ /dev/null@@ -1,72 +0,0 @@-import { Field as FieldPrimitive } from "@base-ui/react/field";--import { cn } from "#/lib/utils";--function Field({ className, ...props }: FieldPrimitive.Root.Props) {- return (- <FieldPrimitive.Root- className={cn("flex flex-col items-start gap-2", className)}- data-slot="field"- {...props}- />- );-}--function FieldLabel({ className, ...props }: FieldPrimitive.Label.Props) {- return (- <FieldPrimitive.Label- className={cn(- "inline-flex items-center gap-2 font-medium text-base/4.5 text-foreground sm:text-sm/4",- className,- )}- data-slot="field-label"- {...props}- />- );-}--function FieldItem({ className, ...props }: FieldPrimitive.Item.Props) {- return (- <FieldPrimitive.Item- className={cn("flex", className)}- data-slot="field-item"- {...props}- />- );-}--function FieldDescription({- className,- ...props-}: FieldPrimitive.Description.Props) {- return (- <FieldPrimitive.Description- className={cn("text-muted-foreground text-xs", className)}- data-slot="field-description"- {...props}- />- );-}--function FieldError({ className, ...props }: FieldPrimitive.Error.Props) {- return (- <FieldPrimitive.Error- className={cn("text-destructive-foreground text-xs", className)}- data-slot="field-error"- {...props}- />- );-}--const FieldControl = FieldPrimitive.Control;-const FieldValidity = FieldPrimitive.Validity;--export {- Field,- FieldLabel,- FieldDescription,- FieldError,- FieldControl,- FieldItem,- FieldValidity,-};diff --git a/apps/renderer/src/components/ui/fieldset.tsx b/apps/renderer/src/components/ui/fieldset.tsxdeleted file mode 100644index 90e51b412..000000000--- a/apps/renderer/src/components/ui/fieldset.tsx+++ /dev/null@@ -1,27 +0,0 @@-import { Fieldset as FieldsetPrimitive } from "@base-ui/react/fieldset";--import { cn } from "#/lib/utils";--function Fieldset({ className, ...props }: FieldsetPrimitive.Root.Props) {- return (- <FieldsetPrimitive.Root- className={cn("flex w-full max-w-64 flex-col gap-6", className)}- data-slot="fieldset"- {...props}- />- );-}-function FieldsetLegend({- className,- ...props-}: FieldsetPrimitive.Legend.Props) {- return (- <FieldsetPrimitive.Legend- className={cn("font-semibold text-foreground", className)}- data-slot="fieldset-legend"- {...props}- />- );-}--export { Fieldset, FieldsetLegend };diff --git a/apps/renderer/src/components/ui/form.tsx b/apps/renderer/src/components/ui/form.tsxdeleted file mode 100644index aae0a4997..000000000--- a/apps/renderer/src/components/ui/form.tsx+++ /dev/null@@ -1,15 +0,0 @@-import { Form as FormPrimitive } from "@base-ui/react/form";--import { cn } from "#/lib/utils";--function Form({ className, ...props }: FormPrimitive.Props) {- return (- <FormPrimitive- className={cn("flex w-full flex-col gap-4", className)}- data-slot="form"- {...props}- />- );-}--export { Form };diff --git a/apps/renderer/src/components/ui/input-group.tsx b/apps/renderer/src/components/ui/input-group.tsxdeleted file mode 100644index 82759ef82..000000000--- a/apps/renderer/src/components/ui/input-group.tsx+++ /dev/null@@ -1,99 +0,0 @@-import { type VariantProps, cva } from "class-variance-authority";-import type * as React from "react";--import { Input, type InputProps } from "#/components/ui/input";-import { Textarea, type TextareaProps } from "#/components/ui/textarea";-import { cn } from "#/lib/utils";--function InputGroup({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- className={cn(- "relative inline-flex w-full min-w-0 items-center rounded-lg border border-input bg-background not-dark:bg-clip-padding text-base text-foreground shadow-xs/5 ring-ring/24 transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] not-has-[input:disabled,textarea:disabled]:not-has-[input:focus-visible,textarea:focus-visible]:not-has-[input[aria-invalid],textarea[aria-invalid]]:before:shadow-[0_1px_--theme(--color-black/4%)] has-[input:focus-visible,textarea:focus-visible]:has-[input[aria-invalid],textarea[aria-invalid]]:border-destructive/64 has-[input:focus-visible,textarea:focus-visible]:has-[input[aria-invalid],textarea[aria-invalid]]:ring-destructive/16 has-[textarea]:h-auto has-data-[align=block-end]:h-auto has-data-[align=block-start]:h-auto has-data-[align=block-end]:flex-col has-data-[align=block-start]:flex-col has-[input:focus-visible,textarea:focus-visible]:border-ring has-[input[aria-invalid],textarea[aria-invalid]]:border-destructive/36 has-autofill:bg-foreground/4 has-[input:disabled,textarea:disabled]:opacity-64 has-[input:disabled,textarea:disabled,input:focus-visible,textarea:focus-visible,input[aria-invalid],textarea[aria-invalid]]:shadow-none has-[input:focus-visible,textarea:focus-visible]:ring-[3px] sm:text-sm dark:bg-input/32 dark:has-autofill:bg-foreground/8 dark:has-[input[aria-invalid],textarea[aria-invalid]]:ring-destructive/24 dark:not-has-[input:disabled,textarea:disabled]:not-has-[input:focus-visible,textarea:focus-visible]:not-has-[input[aria-invalid],textarea[aria-invalid]]:before:shadow-[0_-1px_--theme(--color-white/6%)] has-data-[align=inline-start]:**:[[data-size=sm]_input]:ps-1.5 has-data-[align=inline-end]:**:[[data-size=sm]_input]:pe-1.5 *:[[data-slot=input-control],[data-slot=textarea-control]]:contents *:[[data-slot=input-control],[data-slot=textarea-control]]:before:hidden has-[[data-align=block-start],[data-align=block-end]]:**:[input]:h-auto has-data-[align=inline-start]:**:[input]:ps-2 has-data-[align=inline-end]:**:[input]:pe-2 has-data-[align=block-end]:**:[input]:pt-1.5 has-data-[align=block-start]:**:[input]:pb-1.5 **:[textarea]:min-h-20.5 **:[textarea]:resize-none **:[textarea]:py-[calc(--spacing(3)-1px)] **:[textarea]:max-sm:min-h-23.5 **:[textarea_button]:rounded-[calc(var(--radius-md)-1px)]",- className,- )}- data-slot="input-group"- role="group"- {...props}- />- );-}--const inputGroupAddonVariants = cva(- "[&_svg]:-mx-0.5 flex h-auto cursor-text select-none items-center justify-center gap-2 leading-none [&>kbd]:rounded-[calc(var(--radius)-5px)] in-[[data-slot=input-group]:has([data-slot=input-control],[data-slot=textarea-control])]:[&_svg:not([class*='size-'])]:size-4.5 sm:in-[[data-slot=input-group]:has([data-slot=input-control],[data-slot=textarea-control])]:[&_svg:not([class*='size-'])]:size-4 not-has-[button]:**:[svg:not([class*='opacity-'])]:opacity-80",- {- defaultVariants: {- align: "inline-start",- },- variants: {- align: {- "block-end":- "order-last w-full justify-start px-[calc(--spacing(3)-1px)] pb-[calc(--spacing(3)-1px)] [.border-t]:pt-[calc(--spacing(3)-1px)] [[data-size=sm]+&]:px-[calc(--spacing(2.5)-1px)]",- "block-start":- "order-first w-full justify-start px-[calc(--spacing(3)-1px)] pt-[calc(--spacing(3)-1px)] [.border-b]:pb-[calc(--spacing(3)-1px)] [[data-size=sm]+&]:px-[calc(--spacing(2.5)-1px)]",- "inline-end":- "has-[>:last-child[data-slot=badge]]:-me-1.5 has-[>button]:-me-2 order-last pe-[calc(--spacing(3)-1px)] has-[>kbd:last-child]:me-[-0.35rem] [[data-size=sm]+&]:pe-[calc(--spacing(2.5)-1px)]",- "inline-start":- "has-[>:last-child[data-slot=badge]]:-ms-1.5 has-[>button]:-ms-2 order-first ps-[calc(--spacing(3)-1px)] has-[>kbd:last-child]:ms-[-0.35rem] [[data-size=sm]+&]:ps-[calc(--spacing(2.5)-1px)]",- },- },- },-);--function InputGroupAddon({- className,- align = "inline-start",- ...props-}: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>) {- return (- <div- className={cn(inputGroupAddonVariants({ align }), className)}- data-align={align}- data-slot="input-group-addon"- onMouseDown={(e) => {- const target = e.target as HTMLElement;- const isInteractive = target.closest(- "button, a, input, select, textarea, [role='button'], [role='combobox'], [role='listbox'], [data-slot='select-trigger']",- );- if (isInteractive) return;- e.preventDefault();- const parent = e.currentTarget.parentElement;- const input = parent?.querySelector<- HTMLInputElement | HTMLTextAreaElement- >("input, textarea");- if (input && !parent?.querySelector("input:focus, textarea:focus")) {- input.focus();- }- }}- {...props}- />- );-}--function InputGroupText({ className, ...props }: React.ComponentProps<"span">) {- return (- <span- className={cn(- "[&_svg]:-mx-0.5 line-clamp-1 flex items-center gap-2 text-muted-foreground leading-none in-[[data-slot=input-group]:has([data-slot=input-control],[data-slot=textarea-control])]:[&_svg:not([class*='size-'])]:size-4.5 sm:in-[[data-slot=input-group]:has([data-slot=input-control],[data-slot=textarea-control])]:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none",- className,- )}- {...props}- />- );-}--function InputGroupInput({ className, ...props }: InputProps) {- return <Input className={className} unstyled {...props} />;-}--function InputGroupTextarea({ className, ...props }: TextareaProps) {- return <Textarea className={className} unstyled {...props} />;-}--export {- InputGroup,- InputGroupAddon,- InputGroupText,- InputGroupInput,- InputGroupTextarea,-};diff --git a/apps/renderer/src/components/ui/input.tsx b/apps/renderer/src/components/ui/input.tsxdeleted file mode 100644index 348aab81c..000000000--- a/apps/renderer/src/components/ui/input.tsx+++ /dev/null@@ -1,64 +0,0 @@-import { Input as InputPrimitive } from "@base-ui/react/input";-import type * as React from "react";--import { cn } from "#/lib/utils";--type InputProps = Omit<- InputPrimitive.Props & React.RefAttributes<HTMLInputElement>,- "size"-> & {- size?: "sm" | "default" | "lg" | number;- unstyled?: boolean;- nativeInput?: boolean;-};--function Input({- className,- size = "default",- unstyled = false,- nativeInput = false,- ...props-}: InputProps) {- const inputClassName = cn(- "h-8.5 w-full min-w-0 rounded-[inherit] px-[calc(--spacing(3)-1px)] leading-8.5 outline-none placeholder:text-muted-foreground/72 sm:h-7.5 sm:leading-7.5 [transition:background-color_5000000s_ease-in-out_0s]",- size === "sm" &&- "h-7.5 px-[calc(--spacing(2.5)-1px)] leading-7.5 sm:h-6.5 sm:leading-6.5",- size === "lg" && "h-9.5 leading-9.5 sm:h-8.5 sm:leading-8.5",- props.type === "search" &&- "[&::-webkit-search-cancel-button]:appearance-none [&::-webkit-search-decoration]:appearance-none [&::-webkit-search-results-button]:appearance-none [&::-webkit-search-results-decoration]:appearance-none",- props.type === "file" &&- "text-muted-foreground file:me-3 file:bg-transparent file:font-medium file:text-foreground file:text-sm",- );-- return (- <span- className={- cn(- !unstyled &&- "relative inline-flex w-full rounded-lg border border-input bg-background not-dark:bg-clip-padding text-base text-foreground shadow-xs/5 ring-ring/24 transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] not-has-disabled:not-has-focus-visible:not-has-aria-invalid:before:shadow-[0_1px_--theme(--color-black/4%)] has-focus-visible:has-aria-invalid:border-destructive/64 has-focus-visible:has-aria-invalid:ring-destructive/16 has-aria-invalid:border-destructive/36 has-focus-visible:border-ring has-autofill:bg-foreground/4 has-disabled:opacity-64 has-[:disabled,:focus-visible,[aria-invalid]]:shadow-none has-focus-visible:ring-[3px] sm:text-sm dark:bg-input/32 dark:has-autofill:bg-foreground/8 dark:has-aria-invalid:ring-destructive/24 dark:not-has-disabled:not-has-focus-visible:not-has-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/6%)]",- className,- ) || undefined- }- data-size={size}- data-slot="input-control"- >- {nativeInput ? (- <input- className={inputClassName}- data-slot="input"- size={typeof size === "number" ? size : undefined}- {...props}- />- ) : (- <InputPrimitive- className={inputClassName}- data-slot="input"- size={typeof size === "number" ? size : undefined}- {...props}- />- )}- </span>- );-}--export { Input, type InputProps };diff --git a/apps/renderer/src/components/ui/kbd.tsx b/apps/renderer/src/components/ui/kbd.tsxdeleted file mode 100644index 0bd1401a0..000000000--- a/apps/renderer/src/components/ui/kbd.tsx+++ /dev/null@@ -1,28 +0,0 @@-import type * as React from "react";--import { cn } from "#/lib/utils";--function Kbd({ className, ...props }: React.ComponentProps<"kbd">) {- return (- <kbd- className={cn(- "pointer-events-none inline-flex h-5 min-w-5 select-none items-center justify-center gap-1 rounded bg-muted px-1 font-medium font-sans text-muted-foreground text-xs [&_svg:not([class*='size-'])]:size-3",- className,- )}- data-slot="kbd"- {...props}- />- );-}--function KbdGroup({ className, ...props }: React.ComponentProps<"kbd">) {- return (- <kbd- className={cn("inline-flex items-center gap-1", className)}- data-slot="kbd-group"- {...props}- />- );-}--export { Kbd, KbdGroup };diff --git a/apps/renderer/src/components/ui/label.tsx b/apps/renderer/src/components/ui/label.tsxdeleted file mode 100644index d8ce1c7a8..000000000--- a/apps/renderer/src/components/ui/label.tsx+++ /dev/null@@ -1,26 +0,0 @@-import { mergeProps } from "@base-ui/react/merge-props";-import { useRender } from "@base-ui/react/use-render";--import { cn } from "#/lib/utils";--function Label({- className,- render,- ...props-}: useRender.ComponentProps<"label">) {- const defaultProps = {- className: cn(- "inline-flex items-center gap-2 text-base/4.5 sm:text-sm/4 font-medium text-foreground",- className,- ),- "data-slot": "label",- };-- return useRender({- defaultTagName: "label",- props: mergeProps<"label">(defaultProps, props),- render,- });-}--export { Label };diff --git a/apps/renderer/src/components/ui/menu.tsx b/apps/renderer/src/components/ui/menu.tsxdeleted file mode 100644index 48c5b4451..000000000--- a/apps/renderer/src/components/ui/menu.tsx+++ /dev/null@@ -1,308 +0,0 @@-import { Menu as MenuPrimitive } from "@base-ui/react/menu";-import { ChevronRightIcon } from "lucide-react";-import type * as React from "react";-import { cn } from "#/lib/utils";--const MenuCreateHandle = MenuPrimitive.createHandle;--const Menu = MenuPrimitive.Root;--const MenuPortal = MenuPrimitive.Portal;--function MenuTrigger(props: MenuPrimitive.Trigger.Props) {- return <MenuPrimitive.Trigger data-slot="menu-trigger" {...props} />;-}--function MenuPopup({- children,- className,- sideOffset = 4,- align = "center",- alignOffset,- side = "bottom",- ...props-}: MenuPrimitive.Popup.Props & {- align?: MenuPrimitive.Positioner.Props["align"];- sideOffset?: MenuPrimitive.Positioner.Props["sideOffset"];- alignOffset?: MenuPrimitive.Positioner.Props["alignOffset"];- side?: MenuPrimitive.Positioner.Props["side"];-}) {- return (- <MenuPrimitive.Portal>- <MenuPrimitive.Positioner- align={align}- alignOffset={alignOffset}- className="z-50"- data-slot="menu-positioner"- side={side}- sideOffset={sideOffset}- >- <MenuPrimitive.Popup- className={cn(- "relative flex not-[class*='w-']:min-w-32 origin-(--transform-origin) rounded-lg border bg-popover not-dark:bg-clip-padding shadow-lg/5 outline-none before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] focus:outline-none dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",- className,- )}- data-slot="menu-popup"- {...props}- >- <div className="max-h-(--available-height) w-full overflow-y-auto p-1">- {children}- </div>- </MenuPrimitive.Popup>- </MenuPrimitive.Positioner>- </MenuPrimitive.Portal>- );-}--function MenuGroup(props: MenuPrimitive.Group.Props) {- return <MenuPrimitive.Group data-slot="menu-group" {...props} />;-}--function MenuItem({- className,- inset,- variant = "default",- ...props-}: MenuPrimitive.Item.Props & {- inset?: boolean;- variant?: "default" | "destructive";-}) {- return (- <MenuPrimitive.Item- className={cn(- "[&>svg]:-mx-0.5 flex min-h-8 cursor-default select-none items-center gap-2 rounded-sm px-2 py-1 text-base text-foreground outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-inset:ps-8 data-[variant=destructive]:text-destructive-foreground data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&>svg:not([class*='opacity-'])]:opacity-80 [&>svg:not([class*='size-'])]:size-4.5 sm:[&>svg:not([class*='size-'])]:size-4 [&>svg]:pointer-events-none [&>svg]:shrink-0",- className,- )}- data-inset={inset}- data-slot="menu-item"- data-variant={variant}- {...props}- />- );-}--function MenuCheckboxItem({- className,- children,- checked,- variant = "default",- ...props-}: MenuPrimitive.CheckboxItem.Props & {- variant?: "default" | "switch";-}) {- return (- <MenuPrimitive.CheckboxItem- checked={checked}- className={cn(- "grid min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default items-center gap-2 rounded-sm py-1 ps-2 text-base text-foreground outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",- variant === "switch"- ? "grid-cols-[1fr_auto] gap-4 pe-1.5"- : "grid-cols-[1rem_1fr] pe-4",- className,- )}- data-slot="menu-checkbox-item"- {...props}- >- {variant === "switch" ? (- <>- <span className="col-start-1">{children}</span>- <MenuPrimitive.CheckboxItemIndicator- className="inset-shadow-[0_1px_--theme(--color-black/4%)] inline-flex h-[calc(var(--thumb-size)+2px)] w-[calc(var(--thumb-size)*2-2px)] shrink-0 items-center rounded-full p-px outline-none transition-[background-color,box-shadow] duration-200 [--thumb-size:--spacing(4)] focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background data-checked:bg-primary data-unchecked:bg-input data-disabled:opacity-64 sm:[--thumb-size:--spacing(3)]"- keepMounted- >- <span className="pointer-events-none block aspect-square h-full in-[[data-slot=menu-checkbox-item][data-checked]]:origin-[var(--thumb-size)_50%] origin-left in-[[data-slot=menu-checkbox-item][data-checked]]:translate-x-[calc(var(--thumb-size)-4px)] in-[[data-slot=menu-checkbox-item]:active]:not-data-disabled:scale-x-110 in-[[data-slot=menu-checkbox-item]:active]:rounded-[var(--thumb-size)/calc(var(--thumb-size)*1.10)] rounded-(--thumb-size) bg-background shadow-sm/5 will-change-transform [transition:translate_.15s,border-radius_.15s,scale_.1s_.1s,transform-origin_.15s]" />- </MenuPrimitive.CheckboxItemIndicator>- </>- ) : (- <>- <MenuPrimitive.CheckboxItemIndicator className="col-start-1">- <svg- fill="none"- height="24"- stroke="currentColor"- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="2"- viewBox="0 0 24 24"- width="24"- xmlns="http://www.w3.org/2000/svg"- >- <path d="M5.252 12.7 10.2 18.63 18.748 5.37" />- </svg>- </MenuPrimitive.CheckboxItemIndicator>- <span className="col-start-2">{children}</span>- </>- )}- </MenuPrimitive.CheckboxItem>- );-}--function MenuRadioGroup(props: MenuPrimitive.RadioGroup.Props) {- return <MenuPrimitive.RadioGroup data-slot="menu-radio-group" {...props} />;-}--function MenuRadioItem({- className,- children,- ...props-}: MenuPrimitive.RadioItem.Props) {- return (- <MenuPrimitive.RadioItem- className={cn(- "grid min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base text-foreground outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",- className,- )}- data-slot="menu-radio-item"- {...props}- >- <MenuPrimitive.RadioItemIndicator className="col-start-1">- <svg- fill="none"- height="24"- stroke="currentColor"- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="2"- viewBox="0 0 24 24"- width="24"- xmlns="http://www.w3.org/2000/svg"- >- <path d="M5.252 12.7 10.2 18.63 18.748 5.37" />- </svg>- </MenuPrimitive.RadioItemIndicator>- <span className="col-start-2">{children}</span>- </MenuPrimitive.RadioItem>- );-}--function MenuGroupLabel({- className,- inset,- ...props-}: MenuPrimitive.GroupLabel.Props & {- inset?: boolean;-}) {- return (- <MenuPrimitive.GroupLabel- className={cn(- "px-2 py-1.5 font-medium text-muted-foreground text-xs data-inset:ps-9 sm:data-inset:ps-8",- className,- )}- data-inset={inset}- data-slot="menu-label"- {...props}- />- );-}--function MenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props) {- return (- <MenuPrimitive.Separator- className={cn("mx-2 my-1 h-px bg-border", className)}- data-slot="menu-separator"- {...props}- />- );-}--function MenuShortcut({ className, ...props }: React.ComponentProps<"kbd">) {- return (- <kbd- className={cn(- "ms-auto font-medium font-sans text-muted-foreground/72 text-xs tracking-widest",- className,- )}- data-slot="menu-shortcut"- {...props}- />- );-}--function MenuSub(props: MenuPrimitive.SubmenuRoot.Props) {- return <MenuPrimitive.SubmenuRoot data-slot="menu-sub" {...props} />;-}--function MenuSubTrigger({- className,- inset,- children,- ...props-}: MenuPrimitive.SubmenuTrigger.Props & {- inset?: boolean;-}) {- return (- <MenuPrimitive.SubmenuTrigger- className={cn(- "flex min-h-8 items-center gap-2 rounded-sm px-2 py-1 text-base text-foreground outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-popup-open:bg-accent data-inset:ps-8 data-highlighted:text-accent-foreground data-popup-open:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none",- className,- )}- data-inset={inset}- data-slot="menu-sub-trigger"- {...props}- >- {children}- <ChevronRightIcon className="-me-0.5 ms-auto opacity-80" />- </MenuPrimitive.SubmenuTrigger>- );-}--function MenuSubPopup({- className,- sideOffset = 0,- alignOffset,- align = "start",- ...props-}: MenuPrimitive.Popup.Props & {- align?: MenuPrimitive.Positioner.Props["align"];- sideOffset?: MenuPrimitive.Positioner.Props["sideOffset"];- alignOffset?: MenuPrimitive.Positioner.Props["alignOffset"];-}) {- const defaultAlignOffset = align !== "center" ? -5 : undefined;-- return (- <MenuPopup- align={align}- alignOffset={alignOffset ?? defaultAlignOffset}- className={className}- data-slot="menu-sub-content"- side="inline-end"- sideOffset={sideOffset}- {...props}- />- );-}--export {- MenuCreateHandle,- MenuCreateHandle as DropdownMenuCreateHandle,- Menu,- Menu as DropdownMenu,- MenuPortal,- MenuPortal as DropdownMenuPortal,- MenuTrigger,- MenuTrigger as DropdownMenuTrigger,- MenuPopup,- MenuPopup as DropdownMenuContent,- MenuGroup,- MenuGroup as DropdownMenuGroup,- MenuItem,- MenuItem as DropdownMenuItem,- MenuCheckboxItem,- MenuCheckboxItem as DropdownMenuCheckboxItem,- MenuRadioGroup,- MenuRadioGroup as DropdownMenuRadioGroup,- MenuRadioItem,- MenuRadioItem as DropdownMenuRadioItem,- MenuGroupLabel,- MenuGroupLabel as DropdownMenuLabel,- MenuSeparator,- MenuSeparator as DropdownMenuSeparator,- MenuShortcut,- MenuShortcut as DropdownMenuShortcut,- MenuSub,- MenuSub as DropdownMenuSub,- MenuSubTrigger,- MenuSubTrigger as DropdownMenuSubTrigger,- MenuSubPopup,- MenuSubPopup as DropdownMenuSubContent,-};diff --git a/apps/renderer/src/components/ui/popover.tsx b/apps/renderer/src/components/ui/popover.tsxdeleted file mode 100644index df0f9beda..000000000--- a/apps/renderer/src/components/ui/popover.tsx+++ /dev/null@@ -1,102 +0,0 @@-import { Popover as PopoverPrimitive } from "@base-ui/react/popover";--import { cn } from "#/lib/utils";--const PopoverCreateHandle = PopoverPrimitive.createHandle;--const Popover = PopoverPrimitive.Root;--function PopoverTrigger(props: PopoverPrimitive.Trigger.Props) {- return <PopoverPrimitive.Trigger data-slot="popover-trigger" {...props} />;-}--function PopoverPopup({- children,- className,- side = "bottom",- align = "center",- sideOffset = 4,- alignOffset = 0,- tooltipStyle = false,- ...props-}: PopoverPrimitive.Popup.Props & {- side?: PopoverPrimitive.Positioner.Props["side"];- align?: PopoverPrimitive.Positioner.Props["align"];- sideOffset?: PopoverPrimitive.Positioner.Props["sideOffset"];- alignOffset?: PopoverPrimitive.Positioner.Props["alignOffset"];- tooltipStyle?: boolean;-}) {- return (- <PopoverPrimitive.Portal>- <PopoverPrimitive.Positioner- align={align}- alignOffset={alignOffset}- className="z-50 h-(--positioner-height) w-(--positioner-width) max-w-(--available-width) transition-[top,left,right,bottom,transform] data-instant:transition-none"- data-slot="popover-positioner"- side={side}- sideOffset={sideOffset}- >- <PopoverPrimitive.Popup- className={cn(- "relative flex h-(--popup-height,auto) w-(--popup-width,auto) origin-(--transform-origin) rounded-lg border bg-popover not-dark:bg-clip-padding text-popover-foreground shadow-lg/5 transition-[width,height,scale,opacity] before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] data-starting-style:scale-98 data-starting-style:opacity-0 dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",- tooltipStyle &&- "w-fit text-balance rounded-md text-xs shadow-md/5 before:rounded-[calc(var(--radius-md)-1px)]",- className,- )}- data-slot="popover-popup"- {...props}- >- <PopoverPrimitive.Viewport- className={cn(- "relative size-full max-h-(--available-height) overflow-clip px-(--viewport-inline-padding) py-4 outline-none [--viewport-inline-padding:--spacing(4)] data-instant:transition-none **:data-current:data-ending-style:opacity-0 **:data-current:data-starting-style:opacity-0 **:data-previous:data-ending-style:opacity-0 **:data-previous:data-starting-style:opacity-0 **:data-current:w-[calc(var(--popup-width)-2*var(--viewport-inline-padding)-2px)] **:data-previous:w-[calc(var(--popup-width)-2*var(--viewport-inline-padding)-2px)] **:data-current:opacity-100 **:data-previous:opacity-100 **:data-current:transition-opacity **:data-previous:transition-opacity",- tooltipStyle- ? "py-1 [--viewport-inline-padding:--spacing(2)]"- : "not-data-transitioning:overflow-y-auto",- )}- data-slot="popover-viewport"- >- {children}- </PopoverPrimitive.Viewport>- </PopoverPrimitive.Popup>- </PopoverPrimitive.Positioner>- </PopoverPrimitive.Portal>- );-}--function PopoverClose({ ...props }: PopoverPrimitive.Close.Props) {- return <PopoverPrimitive.Close data-slot="popover-close" {...props} />;-}--function PopoverTitle({ className, ...props }: PopoverPrimitive.Title.Props) {- return (- <PopoverPrimitive.Title- className={cn("font-semibold text-lg leading-none", className)}- data-slot="popover-title"- {...props}- />- );-}--function PopoverDescription({- className,- ...props-}: PopoverPrimitive.Description.Props) {- return (- <PopoverPrimitive.Description- className={cn("text-muted-foreground text-sm", className)}- data-slot="popover-description"- {...props}- />- );-}--export {- PopoverCreateHandle,- Popover,- PopoverTrigger,- PopoverPopup,- PopoverPopup as PopoverContent,- PopoverTitle,- PopoverDescription,- PopoverClose,-};diff --git a/apps/renderer/src/components/ui/progress.tsx b/apps/renderer/src/components/ui/progress.tsxdeleted file mode 100644index 382aa0bd3..000000000--- a/apps/renderer/src/components/ui/progress.tsx+++ /dev/null@@ -1,79 +0,0 @@-import { Progress as ProgressPrimitive } from "@base-ui/react/progress";--import { cn } from "#/lib/utils";--function Progress({- className,- children,- ...props-}: ProgressPrimitive.Root.Props) {- return (- <ProgressPrimitive.Root- className={cn("flex w-full flex-col gap-2", className)}- data-slot="progress"- {...props}- >- {children ? (- children- ) : (- <ProgressTrack>- <ProgressIndicator />- </ProgressTrack>- )}- </ProgressPrimitive.Root>- );-}--function ProgressLabel({ className, ...props }: ProgressPrimitive.Label.Props) {- return (- <ProgressPrimitive.Label- className={cn("font-medium text-sm", className)}- data-slot="progress-label"- {...props}- />- );-}--function ProgressTrack({ className, ...props }: ProgressPrimitive.Track.Props) {- return (- <ProgressPrimitive.Track- className={cn(- "block h-1.5 w-full overflow-hidden rounded-full bg-input",- className,- )}- data-slot="progress-track"- {...props}- />- );-}--function ProgressIndicator({- className,- ...props-}: ProgressPrimitive.Indicator.Props) {- return (- <ProgressPrimitive.Indicator- className={cn("bg-primary transition-all duration-500", className)}- data-slot="progress-indicator"- {...props}- />- );-}--function ProgressValue({ className, ...props }: ProgressPrimitive.Value.Props) {- return (- <ProgressPrimitive.Value- className={cn("text-sm tabular-nums", className)}- data-slot="progress-value"- {...props}- />- );-}--export {- Progress,- ProgressLabel,- ProgressTrack,- ProgressIndicator,- ProgressValue,-};diff --git a/apps/renderer/src/components/ui/radio-group.tsx b/apps/renderer/src/components/ui/radio-group.tsxdeleted file mode 100644index af65edd36..000000000--- a/apps/renderer/src/components/ui/radio-group.tsx+++ /dev/null@@ -1,34 +0,0 @@-import { Radio as RadioPrimitive } from "@base-ui/react/radio";-import { RadioGroup as RadioGroupPrimitive } from "@base-ui/react/radio-group";--import { cn } from "#/lib/utils";--function RadioGroup({ className, ...props }: RadioGroupPrimitive.Props) {- return (- <RadioGroupPrimitive- className={cn("flex flex-col gap-3", className)}- data-slot="radio-group"- {...props}- />- );-}--function Radio({ className, ...props }: RadioPrimitive.Root.Props) {- return (- <RadioPrimitive.Root- className={cn(- "relative inline-flex size-4.5 shrink-0 items-center justify-center rounded-full border border-input bg-background not-dark:bg-clip-padding shadow-xs/5 outline-none transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-full not-data-disabled:not-data-checked:not-aria-invalid:before:shadow-[0_1px_--theme(--color-black/4%)] focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background aria-invalid:border-destructive/36 focus-visible:aria-invalid:border-destructive/64 focus-visible:aria-invalid:ring-destructive/48 data-disabled:opacity-64 sm:size-4 dark:not-data-checked:bg-input/32 dark:aria-invalid:ring-destructive/24 dark:not-data-disabled:not-data-checked:not-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/6%)] [[data-disabled],[data-checked],[aria-invalid]]:shadow-none",- className,- )}- data-slot="radio"- {...props}- >- <RadioPrimitive.Indicator- className="-inset-px absolute flex size-4.5 items-center justify-center rounded-full before:size-2 before:rounded-full before:bg-primary-foreground data-unchecked:hidden data-checked:bg-primary sm:size-4 sm:before:size-1.5"- data-slot="radio-indicator"- />- </RadioPrimitive.Root>- );-}--export { RadioGroup, Radio, Radio as RadioGroupItem };diff --git a/apps/renderer/src/components/ui/scroll-area.tsx b/apps/renderer/src/components/ui/scroll-area.tsxdeleted file mode 100644index e4b1a887b..000000000--- a/apps/renderer/src/components/ui/scroll-area.tsx+++ /dev/null@@ -1,62 +0,0 @@-import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";--import { cn } from "#/lib/utils";--function ScrollArea({- className,- children,- scrollFade = false,- scrollbarGutter = false,- ...props-}: ScrollAreaPrimitive.Root.Props & {- scrollFade?: boolean;- scrollbarGutter?: boolean;-}) {- return (- <ScrollAreaPrimitive.Root- className={cn("size-full min-h-0", className)}- {...props}- >- <ScrollAreaPrimitive.Viewport- className={cn(- "h-full overscroll-contain rounded-[inherit] outline-none transition-shadows focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background data-has-overflow-x:overscroll-x-contain",- scrollFade &&- "mask-t-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-y-start)))] mask-b-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-y-end)))] mask-l-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-x-start)))] mask-r-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-x-end)))] [--fade-size:1.5rem]",- scrollbarGutter &&- "data-has-overflow-y:pe-2.5 data-has-overflow-x:pb-2.5",- )}- data-slot="scroll-area-viewport"- >- {children}- </ScrollAreaPrimitive.Viewport>- <ScrollBar orientation="vertical" />- <ScrollBar orientation="horizontal" />- <ScrollAreaPrimitive.Corner data-slot="scroll-area-corner" />- </ScrollAreaPrimitive.Root>- );-}--function ScrollBar({- className,- orientation = "vertical",- ...props-}: ScrollAreaPrimitive.Scrollbar.Props) {- return (- <ScrollAreaPrimitive.Scrollbar- className={cn(- "m-1 flex opacity-0 transition-opacity delay-300 data-[orientation=horizontal]:h-1.5 data-[orientation=vertical]:w-1.5 data-[orientation=horizontal]:flex-col data-hovering:opacity-100 data-scrolling:opacity-100 data-hovering:delay-0 data-scrolling:delay-0 data-hovering:duration-100 data-scrolling:duration-100",- className,- )}- data-slot="scroll-area-scrollbar"- orientation={orientation}- {...props}- >- <ScrollAreaPrimitive.Thumb- className="relative flex-1 rounded-full bg-foreground/20"- data-slot="scroll-area-thumb"- />- </ScrollAreaPrimitive.Scrollbar>- );-}--export { ScrollArea, ScrollBar };diff --git a/apps/renderer/src/components/ui/select.tsx b/apps/renderer/src/components/ui/select.tsxdeleted file mode 100644index f7662719a..000000000--- a/apps/renderer/src/components/ui/select.tsx+++ /dev/null@@ -1,187 +0,0 @@-import { Select as SelectPrimitive } from "@base-ui/react/select";-import {- ChevronDownIcon,- ChevronUpIcon,- ChevronsUpDownIcon,-} from "lucide-react";--import { cn } from "#/lib/utils";--const Select = SelectPrimitive.Root;--function SelectTrigger({- className,- size = "default",- children,- ...props-}: SelectPrimitive.Trigger.Props & {- size?: "sm" | "default" | "lg";-}) {- return (- <SelectPrimitive.Trigger- className={cn(- "relative inline-flex min-h-9 w-full min-w-36 select-none items-center justify-center gap-2 rounded-lg border border-input bg-background not-dark:bg-clip-padding px-[calc(--spacing(3)-1px)] text-left text-base text-foreground shadow-xs/5 outline-none ring-ring/24 transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] not-data-disabled:not-focus-visible:not-aria-invalid:not-data-pressed:before:shadow-[0_1px_--theme(--color-black/4%)] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 focus-visible:border-ring focus-visible:ring-[3px] aria-invalid:border-destructive/36 focus-visible:aria-invalid:border-destructive/64 focus-visible:aria-invalid:ring-destructive/16 data-disabled:pointer-events-none data-disabled:opacity-64 sm:min-h-8 sm:text-sm dark:bg-input/32 dark:aria-invalid:ring-destructive/24 dark:not-data-disabled:not-focus-visible:not-aria-invalid:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/6%)] [&_svg:not([class*='opacity-'])]:opacity-80 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 [[data-disabled],:focus-visible,[aria-invalid],[data-pressed]]:shadow-none",- size === "sm" &&- "min-h-8 gap-1.5 px-[calc(--spacing(2.5)-1px)] sm:min-h-7",- size === "lg" && "min-h-10 sm:min-h-9",- className,- )}- data-slot="select-trigger"- {...props}- >- {children}- <SelectPrimitive.Icon data-slot="select-icon">- <ChevronsUpDownIcon className="-me-1 size-4.5 opacity-80 sm:size-4" />- </SelectPrimitive.Icon>- </SelectPrimitive.Trigger>- );-}--function SelectValue({ className, ...props }: SelectPrimitive.Value.Props) {- return (- <SelectPrimitive.Value- className={cn(- "flex-1 truncate data-placeholder:text-muted-foreground",- className,- )}- data-slot="select-value"- {...props}- />- );-}--function SelectPopup({- className,- children,- side = "bottom",- sideOffset = 4,- align = "start",- alignOffset = 0,- alignItemWithTrigger = true,- ...props-}: SelectPrimitive.Popup.Props & {- side?: SelectPrimitive.Positioner.Props["side"];- sideOffset?: SelectPrimitive.Positioner.Props["sideOffset"];- align?: SelectPrimitive.Positioner.Props["align"];- alignOffset?: SelectPrimitive.Positioner.Props["alignOffset"];- alignItemWithTrigger?: SelectPrimitive.Positioner.Props["alignItemWithTrigger"];-}) {- return (- <SelectPrimitive.Portal>- <SelectPrimitive.Positioner- align={align}- alignItemWithTrigger={alignItemWithTrigger}- alignOffset={alignOffset}- className="z-50 select-none"- data-slot="select-positioner"- side={side}- sideOffset={sideOffset}- >- <SelectPrimitive.Popup- className="origin-(--transform-origin) text-foreground"- data-slot="select-popup"- {...props}- >- <SelectPrimitive.ScrollUpArrow- className="top-0 z-50 flex h-6 w-full cursor-default items-center justify-center before:pointer-events-none before:absolute before:inset-x-px before:top-px before:h-[200%] before:rounded-t-[calc(var(--radius-lg)-1px)] before:bg-linear-to-b before:from-50% before:from-popover"- data-slot="select-scroll-up-arrow"- >- <ChevronUpIcon className="relative size-4.5 sm:size-4" />- </SelectPrimitive.ScrollUpArrow>- <div className="relative h-full min-w-(--anchor-width) rounded-lg border bg-popover not-dark:bg-clip-padding shadow-lg/5 before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/6%)]">- <SelectPrimitive.List- className={cn(- "max-h-(--available-height) overflow-y-auto p-1",- className,- )}- data-slot="select-list"- >- {children}- </SelectPrimitive.List>- </div>- <SelectPrimitive.ScrollDownArrow- className="bottom-0 z-50 flex h-6 w-full cursor-default items-center justify-center before:pointer-events-none before:absolute before:inset-x-px before:bottom-px before:h-[200%] before:rounded-b-[calc(var(--radius-lg)-1px)] before:bg-linear-to-t before:from-50% before:from-popover"- data-slot="select-scroll-down-arrow"- >- <ChevronDownIcon className="relative size-4.5 sm:size-4" />- </SelectPrimitive.ScrollDownArrow>- </SelectPrimitive.Popup>- </SelectPrimitive.Positioner>- </SelectPrimitive.Portal>- );-}--function SelectItem({- className,- children,- ...props-}: SelectPrimitive.Item.Props) {- return (- <SelectPrimitive.Item- className={cn(- "grid min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",- className,- )}- data-slot="select-item"- {...props}- >- <SelectPrimitive.ItemIndicator className="col-start-1">- <svg- fill="none"- height="24"- stroke="currentColor"- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="2"- viewBox="0 0 24 24"- width="24"- xmlns="http://www.w3.org/1500/svg"- >- <path d="M5.252 12.7 10.2 18.63 18.748 5.37" />- </svg>- </SelectPrimitive.ItemIndicator>- <SelectPrimitive.ItemText className="col-start-2 min-w-0">- {children}- </SelectPrimitive.ItemText>- </SelectPrimitive.Item>- );-}--function SelectSeparator({- className,- ...props-}: SelectPrimitive.Separator.Props) {- return (- <SelectPrimitive.Separator- className={cn("mx-2 my-1 h-px bg-border", className)}- data-slot="select-separator"- {...props}- />- );-}--function SelectGroup(props: SelectPrimitive.Group.Props) {- return <SelectPrimitive.Group data-slot="select-group" {...props} />;-}--function SelectGroupLabel(props: SelectPrimitive.GroupLabel.Props) {- return (- <SelectPrimitive.GroupLabel- className="px-2 py-1.5 font-medium text-muted-foreground text-xs"- data-slot="select-group-label"- {...props}- />- );-}--export {- Select,- SelectTrigger,- SelectValue,- SelectPopup,- SelectPopup as SelectContent,- SelectItem,- SelectSeparator,- SelectGroup,- SelectGroupLabel,-};diff --git a/apps/renderer/src/components/ui/separator.tsx b/apps/renderer/src/components/ui/separator.tsxdeleted file mode 100644index 6a16d92b2..000000000--- a/apps/renderer/src/components/ui/separator.tsx+++ /dev/null@@ -1,23 +0,0 @@-import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";--import { cn } from "#/lib/utils";--function Separator({- className,- orientation = "horizontal",- ...props-}: SeparatorPrimitive.Props) {- return (- <SeparatorPrimitive- className={cn(- "shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:not-[[class^='h-']]:not-[[class*='_h-']]:self-stretch",- className,- )}- data-slot="separator"- orientation={orientation}- {...props}- />- );-}--export { Separator };diff --git a/apps/renderer/src/components/ui/sheet.tsx b/apps/renderer/src/components/ui/sheet.tsxdeleted file mode 100644index a90c12709..000000000--- a/apps/renderer/src/components/ui/sheet.tsx+++ /dev/null@@ -1,201 +0,0 @@-import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";-import { XIcon } from "lucide-react";-import { Button } from "#/components/ui/button";-import { ScrollArea } from "#/components/ui/scroll-area";-import { cn } from "#/lib/utils";--const Sheet = SheetPrimitive.Root;--const SheetPortal = SheetPrimitive.Portal;--function SheetTrigger(props: SheetPrimitive.Trigger.Props) {- return <SheetPrimitive.Trigger data-slot="sheet-trigger" {...props} />;-}--function SheetClose(props: SheetPrimitive.Close.Props) {- return <SheetPrimitive.Close data-slot="sheet-close" {...props} />;-}--function SheetBackdrop({ className, ...props }: SheetPrimitive.Backdrop.Props) {- return (- <SheetPrimitive.Backdrop- className={cn(- "fixed inset-0 z-50 bg-black/32 backdrop-blur-sm transition-all duration-200 data-ending-style:opacity-0 data-starting-style:opacity-0",- className,- )}- data-slot="sheet-backdrop"- {...props}- />- );-}--function SheetViewport({- className,- side,- variant = "default",- ...props-}: SheetPrimitive.Viewport.Props & {- side?: "right" | "left" | "top" | "bottom";- variant?: "default" | "inset";-}) {- return (- <SheetPrimitive.Viewport- className={cn(- "fixed inset-0 z-50 grid",- side === "bottom" && "grid grid-rows-[1fr_auto] pt-12",- side === "top" && "grid grid-rows-[auto_1fr] pb-12",- side === "left" && "flex justify-start",- side === "right" && "flex justify-end",- variant === "inset" && "sm:p-4",- )}- data-slot="sheet-viewport"- {...props}- />- );-}--function SheetPopup({- className,- children,- showCloseButton = true,- side = "right",- variant = "default",- ...props-}: SheetPrimitive.Popup.Props & {- showCloseButton?: boolean;- side?: "right" | "left" | "top" | "bottom";- variant?: "default" | "inset";-}) {- return (- <SheetPortal>- <SheetBackdrop />- <SheetViewport side={side} variant={variant}>- <SheetPrimitive.Popup- className={cn(- "relative flex max-h-full min-h-0 w-full min-w-0 flex-col bg-popover not-dark:bg-clip-padding text-popover-foreground shadow-lg/5 transition-[opacity,translate] duration-200 ease-in-out will-change-transform before:pointer-events-none before:absolute before:inset-0 before:shadow-[0_1px_--theme(--color-black/4%)] data-ending-style:opacity-0 data-starting-style:opacity-0 max-sm:before:hidden dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",- side === "bottom" &&- "row-start-2 border-t data-ending-style:translate-y-8 data-starting-style:translate-y-8",- side === "top" &&- "data-ending-style:-translate-y-8 data-starting-style:-translate-y-8 border-b",- side === "left" &&- "data-ending-style:-translate-x-8 data-starting-style:-translate-x-8 w-[calc(100%-(--spacing(12)))] max-w-md border-e",- side === "right" &&- "col-start-2 w-[calc(100%-(--spacing(12)))] max-w-md border-s data-ending-style:translate-x-8 data-starting-style:translate-x-8",- variant === "inset" &&- "before:hidden sm:rounded-2xl sm:border sm:before:rounded-[calc(var(--radius-2xl)-1px)] sm:**:data-[slot=sheet-footer]:rounded-b-[calc(var(--radius-2xl)-1px)]",- className,- )}- data-slot="sheet-popup"- {...props}- >- {children}- {showCloseButton && (- <SheetPrimitive.Close- aria-label="Close"- className="absolute end-2 top-2"- render={<Button size="icon" variant="ghost" />}- >- <XIcon />- </SheetPrimitive.Close>- )}- </SheetPrimitive.Popup>- </SheetViewport>- </SheetPortal>- );-}--function SheetHeader({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- className={cn(- "flex flex-col gap-2 p-6 in-[[data-slot=sheet-popup]:has([data-slot=sheet-panel])]:pb-3 max-sm:pb-4",- className,- )}- data-slot="sheet-header"- {...props}- />- );-}--function SheetFooter({- className,- variant = "default",- ...props-}: React.ComponentProps<"div"> & {- variant?: "default" | "bare";-}) {- return (- <div- className={cn(- "flex flex-col-reverse gap-2 px-6 sm:flex-row sm:justify-end",- variant === "default" && "border-t bg-muted/72 py-4",- variant === "bare" &&- "in-[[data-slot=sheet-popup]:has([data-slot=sheet-panel])]:pt-3 pt-4 pb-6",- className,- )}- data-slot="sheet-footer"- {...props}- />- );-}--function SheetTitle({ className, ...props }: SheetPrimitive.Title.Props) {- return (- <SheetPrimitive.Title- className={cn(- "font-heading font-semibold text-xl leading-none",- className,- )}- data-slot="sheet-title"- {...props}- />- );-}--function SheetDescription({- className,- ...props-}: SheetPrimitive.Description.Props) {- return (- <SheetPrimitive.Description- className={cn("text-muted-foreground text-sm", className)}- data-slot="sheet-description"- {...props}- />- );-}--function SheetPanel({- className,- scrollFade = true,- ...props-}: React.ComponentProps<"div"> & { scrollFade?: boolean }) {- return (- <ScrollArea scrollFade={scrollFade}>- <div- className={cn(- "p-6 in-[[data-slot=sheet-popup]:has([data-slot=sheet-header])]:pt-1 in-[[data-slot=sheet-popup]:has([data-slot=sheet-footer]:not(.border-t))]:pb-1",- className,- )}- data-slot="sheet-panel"- {...props}- />- </ScrollArea>- );-}--export {- Sheet,- SheetTrigger,- SheetPortal,- SheetClose,- SheetBackdrop,- SheetBackdrop as SheetOverlay,- SheetPopup,- SheetPopup as SheetContent,- SheetHeader,- SheetFooter,- SheetTitle,- SheetDescription,- SheetPanel,-};diff --git a/apps/renderer/src/components/ui/skeleton.tsx b/apps/renderer/src/components/ui/skeleton.tsxdeleted file mode 100644index 765128875..000000000--- a/apps/renderer/src/components/ui/skeleton.tsx+++ /dev/null@@ -1,16 +0,0 @@-import { cn } from "#/lib/utils";--function Skeleton({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- className={cn(- "animate-skeleton rounded-sm [--skeleton-highlight:--alpha(var(--color-white)/64%)] [background:linear-gradient(120deg,transparent_40%,var(--skeleton-highlight),transparent_60%)_var(--color-muted)_0_0/200%_100%_fixed] dark:[--skeleton-highlight:--alpha(var(--color-white)/4%)]",- className,- )}- data-slot="skeleton"- {...props}- />- );-}--export { Skeleton };diff --git a/apps/renderer/src/components/ui/spinner.tsx b/apps/renderer/src/components/ui/spinner.tsxdeleted file mode 100644index 51cf5c450..000000000--- a/apps/renderer/src/components/ui/spinner.tsx+++ /dev/null@@ -1,18 +0,0 @@-import { Loader2Icon } from "lucide-react";-import { cn } from "#/lib/utils";--function Spinner({- className,- ...props-}: React.ComponentProps<typeof Loader2Icon>) {- return (- <Loader2Icon- aria-label="Loading"- className={cn("animate-spin", className)}- role="status"- {...props}- />- );-}--export { Spinner };diff --git a/apps/renderer/src/components/ui/switch.tsx b/apps/renderer/src/components/ui/switch.tsxdeleted file mode 100644index fa8346c38..000000000--- a/apps/renderer/src/components/ui/switch.tsx+++ /dev/null@@ -1,25 +0,0 @@-import { Switch as SwitchPrimitive } from "@base-ui/react/switch";--import { cn } from "#/lib/utils";--function Switch({ className, ...props }: SwitchPrimitive.Root.Props) {- return (- <SwitchPrimitive.Root- className={cn(- "inline-flex h-[calc(var(--thumb-size)+2px)] w-[calc(var(--thumb-size)*2-2px)] shrink-0 items-center rounded-full p-px outline-none transition-[background-color,box-shadow] duration-200 [--thumb-size:--spacing(5)] focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background data-checked:bg-primary data-unchecked:bg-input data-disabled:opacity-64 sm:[--thumb-size:--spacing(4)]",- className,- )}- data-slot="switch"- {...props}- >- <SwitchPrimitive.Thumb- className={cn(- "pointer-events-none block aspect-square h-full origin-left in-[[role=switch]:active,[data-slot=label]:active]:not-data-disabled:scale-x-110 in-[[role=switch]:active,[data-slot=label]:active]:rounded-[var(--thumb-size)/calc(var(--thumb-size)*1.1)] rounded-(--thumb-size) bg-background shadow-sm/5 will-change-transform [transition:translate_.15s,border-radius_.15s,scale_.1s_.1s,transform-origin_.15s] data-checked:origin-[var(--thumb-size)_50%] data-checked:translate-x-[calc(var(--thumb-size)-4px)]",- )}- data-slot="switch-thumb"- />- </SwitchPrimitive.Root>- );-}--export { Switch };diff --git a/apps/renderer/src/components/ui/table.tsx b/apps/renderer/src/components/ui/table.tsxdeleted file mode 100644index e498f1a78..000000000--- a/apps/renderer/src/components/ui/table.tsx+++ /dev/null@@ -1,126 +0,0 @@-import type * as React from "react";--import { cn } from "#/lib/utils";--function Table({ className, ...props }: React.ComponentProps<"table">) {- return (- <div- className="relative w-full overflow-x-auto"- data-slot="table-container"- >- <table- className={cn(- "w-full caption-bottom in-data-[slot=frame]:border-separate in-data-[slot=frame]:border-spacing-0 text-sm",- className,- )}- data-slot="table"- {...props}- />- </div>- );-}--function TableHeader({ className, ...props }: React.ComponentProps<"thead">) {- return (- <thead- className={cn(- "[&_tr]:border-b in-data-[slot=frame]:**:[th]:h-9 in-data-[slot=frame]:*:[tr]:border-none in-data-[slot=frame]:*:[tr]:hover:bg-transparent",- className,- )}- data-slot="table-header"- {...props}- />- );-}--function TableBody({ className, ...props }: React.ComponentProps<"tbody">) {- return (- <tbody- className={cn(- "relative in-data-[slot=frame]:rounded-xl in-data-[slot=frame]:shadow-xs/5 before:pointer-events-none before:absolute before:inset-px not-in-data-[slot=frame]:before:hidden before:rounded-[calc(var(--radius-xl)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/8%)] [&_tr:last-child]:border-0 in-data-[slot=frame]:*:[tr]:border-0 in-data-[slot=frame]:*:[tr]:*:[td]:border-b in-data-[slot=frame]:*:[tr]:*:[td]:bg-background in-data-[slot=frame]:*:[tr]:*:[td]:bg-clip-padding in-data-[slot=frame]:*:[tr]:first:*:[td]:first:rounded-ss-xl in-data-[slot=frame]:*:[tr]:*:[td]:first:border-s in-data-[slot=frame]:*:[tr]:first:*:[td]:border-t in-data-[slot=frame]:*:[tr]:last:*:[td]:last:rounded-ee-xl in-data-[slot=frame]:*:[tr]:*:[td]:last:border-e in-data-[slot=frame]:*:[tr]:first:*:[td]:last:rounded-se-xl in-data-[slot=frame]:*:[tr]:last:*:[td]:first:rounded-es-xl in-data-[slot=frame]:*:[tr]:hover:*:[td]:bg-transparent in-data-[slot=frame]:*:[tr]:data-[state=selected]:*:[td]:bg-muted/72",- className,- )}- data-slot="table-body"- {...props}- />- );-}--function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">) {- return (- <tfoot- className={cn(- "border-t in-data-[slot=frame]:border-none bg-muted/72 in-data-[slot=frame]:bg-transparent font-medium [&>tr]:last:border-b-0 in-data-[slot=frame]:*:[tr]:hover:bg-transparent",- className,- )}- data-slot="table-footer"- {...props}- />- );-}--function TableRow({ className, ...props }: React.ComponentProps<"tr">) {- return (- <tr- className={cn(- "border-b transition-colors hover:bg-muted/72 in-data-[slot=frame]:hover:bg-transparent data-[state=selected]:bg-muted/72 in-data-[slot=frame]:data-[state=selected]:bg-transparent",- className,- )}- data-slot="table-row"- {...props}- />- );-}--function TableHead({ className, ...props }: React.ComponentProps<"th">) {- return (- <th- className={cn(- "h-10 whitespace-nowrap px-2.5 text-left align-middle font-medium text-muted-foreground leading-none has-[[role=checkbox]]:w-px has-[[role=checkbox]]:pe-0",- className,- )}- data-slot="table-head"- {...props}- />- );-}--function TableCell({ className, ...props }: React.ComponentProps<"td">) {- return (- <td- className={cn(- "whitespace-nowrap p-2.5 align-middle leading-none in-data-[slot=frame]:first:p-[calc(--spacing(2.5)-1px)] in-data-[slot=frame]:last:p-[calc(--spacing(2.5)-1px)] has-[[role=checkbox]]:pe-0",- className,- )}- data-slot="table-cell"- {...props}- />- );-}--function TableCaption({- className,- ...props-}: React.ComponentProps<"caption">) {- return (- <caption- className={cn(- "in-data-[slot=frame]:my-4 mt-4 text-muted-foreground text-sm",- className,- )}- data-slot="table-caption"- {...props}- />- );-}--export {- Table,- TableHeader,- TableBody,- TableFooter,- TableHead,- TableRow,- TableCell,- TableCaption,-};diff --git a/apps/renderer/src/components/ui/tabs.tsx b/apps/renderer/src/components/ui/tabs.tsxdeleted file mode 100644index e0485a6b0..000000000--- a/apps/renderer/src/components/ui/tabs.tsx+++ /dev/null@@ -1,85 +0,0 @@-import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";--import { cn } from "#/lib/utils";--type TabsVariant = "default" | "underline";--function Tabs({ className, ...props }: TabsPrimitive.Root.Props) {- return (- <TabsPrimitive.Root- className={cn(- "flex flex-col gap-2 data-[orientation=vertical]:flex-row",- className,- )}- data-slot="tabs"- {...props}- />- );-}--function TabsList({- variant = "default",- className,- children,- ...props-}: TabsPrimitive.List.Props & {- variant?: TabsVariant;-}) {- return (- <TabsPrimitive.List- className={cn(- "relative z-0 flex w-fit items-center justify-center gap-x-0.5 text-muted-foreground",- "data-[orientation=vertical]:flex-col",- variant === "default"- ? "rounded-lg bg-muted p-0.5 text-muted-foreground/72"- : "data-[orientation=vertical]:px-1 data-[orientation=horizontal]:py-1 *:data-[slot=tabs-tab]:hover:bg-accent",- className,- )}- data-slot="tabs-list"- {...props}- >- {children}- <TabsPrimitive.Indicator- className={cn(- "-translate-y-(--active-tab-bottom) absolute bottom-0 left-0 h-(--active-tab-height) w-(--active-tab-width) translate-x-(--active-tab-left) transition-[width,translate] duration-200 ease-in-out",- variant === "underline"- ? "data-[orientation=vertical]:-translate-x-px z-10 bg-primary data-[orientation=horizontal]:h-0.5 data-[orientation=vertical]:w-0.5 data-[orientation=horizontal]:translate-y-px"- : "-z-1 rounded-md bg-background shadow-sm/5 dark:bg-input",- )}- data-slot="tab-indicator"- />- </TabsPrimitive.List>- );-}--function TabsTab({ className, ...props }: TabsPrimitive.Tab.Props) {- return (- <TabsPrimitive.Tab- className={cn(- "[&_svg]:-mx-0.5 relative flex h-9 shrink-0 grow cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap rounded-md border border-transparent px-[calc(--spacing(2.5)-1px)] font-medium text-base outline-none transition-[color,background-color,box-shadow] hover:text-muted-foreground focus-visible:ring-2 focus-visible:ring-ring data-disabled:pointer-events-none data-[orientation=vertical]:w-full data-[orientation=vertical]:justify-start data-active:text-foreground data-disabled:opacity-64 sm:h-8 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",- className,- )}- data-slot="tabs-tab"- {...props}- />- );-}--function TabsPanel({ className, ...props }: TabsPrimitive.Panel.Props) {- return (- <TabsPrimitive.Panel- className={cn("flex-1 outline-none", className)}- data-slot="tabs-content"- {...props}- />- );-}--export {- Tabs,- TabsList,- TabsTab,- TabsTab as TabsTrigger,- TabsPanel,- TabsPanel as TabsContent,-};diff --git a/apps/renderer/src/components/ui/textarea.tsx b/apps/renderer/src/components/ui/textarea.tsxdeleted file mode 100644index 92934060f..000000000--- a/apps/renderer/src/components/ui/textarea.tsx+++ /dev/null@@ -1,49 +0,0 @@-import { Field as FieldPrimitive } from "@base-ui/react/field";-import { mergeProps } from "@base-ui/react/merge-props";-import type * as React from "react";--import { cn } from "#/lib/utils";--type TextareaProps = React.ComponentProps<"textarea"> & {- size?: "sm" | "default" | "lg" | number;- unstyled?: boolean;-};--function Textarea({- className,- size = "default",- unstyled = false,- ...props-}: TextareaProps) {- return (- <span- className={- cn(- !unstyled &&- "relative inline-flex w-full rounded-lg border border-input bg-background not-dark:bg-clip-padding text-base text-foreground shadow-xs/5 ring-ring/24 transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] has-focus-visible:has-aria-invalid:border-destructive/64 has-focus-visible:has-aria-invalid:ring-destructive/16 has-aria-invalid:border-destructive/36 has-focus-visible:border-ring has-disabled:opacity-64 has-[:disabled,:focus-visible,[aria-invalid]]:shadow-none has-focus-visible:ring-[3px] not-has-disabled:has-not-focus-visible:not-has-aria-invalid:before:shadow-[0_1px_--theme(--color-black/4%)] sm:text-sm dark:bg-input/32 dark:has-aria-invalid:ring-destructive/24 dark:not-has-disabled:has-not-focus-visible:not-has-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/6%)]",- className,- ) || undefined- }- data-size={size}- data-slot="textarea-control"- >- <FieldPrimitive.Control- render={(defaultProps) => (- <textarea- className={cn(- "field-sizing-content min-h-17.5 w-full rounded-[inherit] px-[calc(--spacing(3)-1px)] py-[calc(--spacing(1.5)-1px)] outline-none max-sm:min-h-20.5",- size === "sm" &&- "min-h-16.5 px-[calc(--spacing(2.5)-1px)] py-[calc(--spacing(1)-1px)] max-sm:min-h-19.5",- size === "lg" &&- "min-h-18.5 py-[calc(--spacing(2)-1px)] max-sm:min-h-21.5",- )}- data-slot="textarea"- {...mergeProps(defaultProps, props)}- />- )}- />- </span>- );-}--export { Textarea, type TextareaProps };diff --git a/apps/renderer/src/components/ui/toast.tsx b/apps/renderer/src/components/ui/toast.tsxdeleted file mode 100644index c7503b358..000000000--- a/apps/renderer/src/components/ui/toast.tsx+++ /dev/null@@ -1,267 +0,0 @@-import { Toast } from "@base-ui/react/toast";-import {- CircleAlertIcon,- CircleCheckIcon,- InfoIcon,- LoaderCircleIcon,- TriangleAlertIcon,-} from "lucide-react";--import { buttonVariants } from "#/components/ui/button";-import { cn } from "#/lib/utils";--const toastManager = Toast.createToastManager();-const anchoredToastManager = Toast.createToastManager();--const TOAST_ICONS = {- error: CircleAlertIcon,- info: InfoIcon,- loading: LoaderCircleIcon,- success: CircleCheckIcon,- warning: TriangleAlertIcon,-} as const;--type ToastPosition =- | "top-left"- | "top-center"- | "top-right"- | "bottom-left"- | "bottom-center"- | "bottom-right";--interface ToastProviderProps extends Toast.Provider.Props {- position?: ToastPosition;-}--function ToastProvider({- children,- position = "bottom-right",- ...props-}: ToastProviderProps) {- return (- <Toast.Provider toastManager={toastManager} {...props}>- {children}- <Toasts position={position} />- </Toast.Provider>- );-}--function Toasts({ position = "bottom-right" }: { position: ToastPosition }) {- const { toasts } = Toast.useToastManager();- const isTop = position.startsWith("top");-- return (- <Toast.Portal data-slot="toast-portal">- <Toast.Viewport- className={cn(- "fixed z-50 mx-auto flex w-[calc(100%-var(--toast-inset)*2)] max-w-90 [--toast-inset:--spacing(4)] sm:[--toast-inset:--spacing(8)]",- // Vertical positioning- "data-[position*=top]:top-(--toast-inset)",- "data-[position*=bottom]:bottom-(--toast-inset)",- // Horizontal positioning- "data-[position*=left]:left-(--toast-inset)",- "data-[position*=right]:right-(--toast-inset)",- "data-[position*=center]:-translate-x-1/2 data-[position*=center]:left-1/2",- )}- data-position={position}- data-slot="toast-viewport"- >- {toasts.map((toast) => {- const Icon = toast.type- ? TOAST_ICONS[toast.type as keyof typeof TOAST_ICONS]- : null;-- return (- <Toast.Root- className={cn(- "absolute z-[calc(9999-var(--toast-index))] h-(--toast-calc-height) w-full select-none rounded-lg border bg-popover not-dark:bg-clip-padding text-popover-foreground shadow-lg/5 [transition:transform_.5s_cubic-bezier(.22,1,.36,1),opacity_.5s,height_.15s] before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",- // Base positioning using data-position- "data-[position*=right]:right-0 data-[position*=right]:left-auto",- "data-[position*=left]:right-auto data-[position*=left]:left-0",- "data-[position*=center]:right-0 data-[position*=center]:left-0",- "data-[position*=top]:top-0 data-[position*=top]:bottom-auto data-[position*=top]:origin-top",- "data-[position*=bottom]:top-auto data-[position*=bottom]:bottom-0 data-[position*=bottom]:origin-bottom",- // Gap fill for hover- "after:absolute after:left-0 after:h-[calc(var(--toast-gap)+1px)] after:w-full",- "data-[position*=top]:after:top-full",- "data-[position*=bottom]:after:bottom-full",- // Define some variables- "[--toast-calc-height:var(--toast-frontmost-height,var(--toast-height))] [--toast-gap:--spacing(3)] [--toast-peek:--spacing(3)] [--toast-scale:calc(max(0,1-(var(--toast-index)*.1)))] [--toast-shrink:calc(1-var(--toast-scale))]",- // Define offset-y variable- "data-[position*=top]:[--toast-calc-offset-y:calc(var(--toast-offset-y)+var(--toast-index)*var(--toast-gap)+var(--toast-swipe-movement-y))]",- "data-[position*=bottom]:[--toast-calc-offset-y:calc(var(--toast-offset-y)*-1+var(--toast-index)*var(--toast-gap)*-1+var(--toast-swipe-movement-y))]",- // Default state transform- "data-[position*=top]:transform-[translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--toast-swipe-movement-y)+(var(--toast-index)*var(--toast-peek))+(var(--toast-shrink)*var(--toast-calc-height))))_scale(var(--toast-scale))]",- "data-[position*=bottom]:transform-[translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--toast-swipe-movement-y)-(var(--toast-index)*var(--toast-peek))-(var(--toast-shrink)*var(--toast-calc-height))))_scale(var(--toast-scale))]",- // Limited state- "data-limited:opacity-0",- // Expanded state- "data-expanded:h-(--toast-height)",- "data-position:data-expanded:transform-[translateX(var(--toast-swipe-movement-x))_translateY(var(--toast-calc-offset-y))]",- // Starting and ending animations- "data-[position*=top]:data-starting-style:transform-[translateY(calc(-100%-var(--toast-inset)))]",- "data-[position*=bottom]:data-starting-style:transform-[translateY(calc(100%+var(--toast-inset)))]",- "data-ending-style:opacity-0",- // Ending animations (direction-aware)- "data-ending-style:not-data-limited:not-data-swipe-direction:transform-[translateY(calc(100%+var(--toast-inset)))]",- "data-ending-style:data-[swipe-direction=left]:transform-[translateX(calc(var(--toast-swipe-movement-x)-100%-var(--toast-inset)))_translateY(var(--toast-calc-offset-y))]",- "data-ending-style:data-[swipe-direction=right]:transform-[translateX(calc(var(--toast-swipe-movement-x)+100%+var(--toast-inset)))_translateY(var(--toast-calc-offset-y))]",- "data-ending-style:data-[swipe-direction=up]:transform-[translateY(calc(var(--toast-swipe-movement-y)-100%-var(--toast-inset)))]",- "data-ending-style:data-[swipe-direction=down]:transform-[translateY(calc(var(--toast-swipe-movement-y)+100%+var(--toast-inset)))]",- // Ending animations (expanded)- "data-expanded:data-ending-style:data-[swipe-direction=left]:transform-[translateX(calc(var(--toast-swipe-movement-x)-100%-var(--toast-inset)))_translateY(var(--toast-calc-offset-y))]",- "data-expanded:data-ending-style:data-[swipe-direction=right]:transform-[translateX(calc(var(--toast-swipe-movement-x)+100%+var(--toast-inset)))_translateY(var(--toast-calc-offset-y))]",- "data-expanded:data-ending-style:data-[swipe-direction=up]:transform-[translateY(calc(var(--toast-swipe-movement-y)-100%-var(--toast-inset)))]",- "data-expanded:data-ending-style:data-[swipe-direction=down]:transform-[translateY(calc(var(--toast-swipe-movement-y)+100%+var(--toast-inset)))]",- )}- data-position={position}- key={toast.id}- swipeDirection={- position.includes("center")- ? [isTop ? "up" : "down"]- : position.includes("left")- ? ["left", isTop ? "up" : "down"]- : ["right", isTop ? "up" : "down"]- }- toast={toast}- >- <Toast.Content className="pointer-events-auto flex items-center justify-between gap-1.5 overflow-hidden px-3.5 py-3 text-sm transition-opacity duration-250 data-behind:not-data-expanded:pointer-events-none data-behind:opacity-0 data-expanded:opacity-100">- <div className="flex gap-2">- {Icon && (- <div- className="[&>svg]:h-lh [&>svg]:w-4 [&_svg]:pointer-events-none [&_svg]:shrink-0"- data-slot="toast-icon"- >- <Icon className="in-data-[type=loading]:animate-spin in-data-[type=error]:text-destructive in-data-[type=info]:text-info in-data-[type=success]:text-success in-data-[type=warning]:text-warning in-data-[type=loading]:opacity-80" />- </div>- )}-- <div className="flex flex-col gap-0.5">- <Toast.Title- className="font-medium"- data-slot="toast-title"- />- <Toast.Description- className="text-muted-foreground"- data-slot="toast-description"- />- </div>- </div>- {toast.actionProps && (- <Toast.Action- className={buttonVariants({ size: "xs" })}- data-slot="toast-action"- >- {toast.actionProps.children}- </Toast.Action>- )}- </Toast.Content>- </Toast.Root>- );- })}- </Toast.Viewport>- </Toast.Portal>- );-}--function AnchoredToastProvider({ children, ...props }: Toast.Provider.Props) {- return (- <Toast.Provider toastManager={anchoredToastManager} {...props}>- {children}- <AnchoredToasts />- </Toast.Provider>- );-}--function AnchoredToasts() {- const { toasts } = Toast.useToastManager();-- return (- <Toast.Portal data-slot="toast-portal-anchored">- <Toast.Viewport- className="outline-none"- data-slot="toast-viewport-anchored"- >- {toasts.map((toast) => {- const Icon = toast.type- ? TOAST_ICONS[toast.type as keyof typeof TOAST_ICONS]- : null;- const tooltipStyle =- (toast.data as { tooltipStyle?: boolean })?.tooltipStyle ?? false;- const positionerProps = toast.positionerProps;-- if (!positionerProps?.anchor) {- return null;- }-- return (- <Toast.Positioner- className="z-50 max-w-[min(--spacing(64),var(--available-width))]"- data-slot="toast-positioner"- key={toast.id}- sideOffset={positionerProps.sideOffset ?? 4}- toast={toast}- >- <Toast.Root- className={cn(- "relative text-balance border bg-popover not-dark:bg-clip-padding text-popover-foreground text-xs transition-[scale,opacity] before:pointer-events-none before:absolute before:inset-0 before:shadow-[0_1px_--theme(--color-black/4%)] data-ending-style:scale-98 data-starting-style:scale-98 data-ending-style:opacity-0 data-starting-style:opacity-0 dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",- tooltipStyle- ? "rounded-md shadow-md/5 before:rounded-[calc(var(--radius-md)-1px)]"- : "rounded-lg shadow-lg/5 before:rounded-[calc(var(--radius-lg)-1px)]",- )}- data-slot="toast-popup"- toast={toast}- >- {tooltipStyle ? (- <Toast.Content className="pointer-events-auto px-2 py-1">- <Toast.Title data-slot="toast-title" />- </Toast.Content>- ) : (- <Toast.Content className="pointer-events-auto flex items-center justify-between gap-1.5 overflow-hidden px-3.5 py-3 text-sm">- <div className="flex gap-2">- {Icon && (- <div- className="[&>svg]:h-lh [&>svg]:w-4 [&_svg]:pointer-events-none [&_svg]:shrink-0"- data-slot="toast-icon"- >- <Icon className="in-data-[type=loading]:animate-spin in-data-[type=error]:text-destructive in-data-[type=info]:text-info in-data-[type=success]:text-success in-data-[type=warning]:text-warning in-data-[type=loading]:opacity-80" />- </div>- )}-- <div className="flex flex-col gap-0.5">- <Toast.Title- className="font-medium"- data-slot="toast-title"- />- <Toast.Description- className="text-muted-foreground"- data-slot="toast-description"- />- </div>- </div>- {toast.actionProps && (- <Toast.Action- className={buttonVariants({ size: "xs" })}- data-slot="toast-action"- >- {toast.actionProps.children}- </Toast.Action>- )}- </Toast.Content>- )}- </Toast.Root>- </Toast.Positioner>- );- })}- </Toast.Viewport>- </Toast.Portal>- );-}--export {- ToastProvider,- type ToastPosition,- toastManager,- AnchoredToastProvider,- anchoredToastManager,-};diff --git a/apps/renderer/src/hooks/useTheme.ts b/apps/renderer/src/hooks/useTheme.tsdeleted file mode 100644index dd3e3c24f..000000000--- a/apps/renderer/src/hooks/useTheme.ts+++ /dev/null@@ -1,90 +0,0 @@-import { useCallback, useEffect, useSyncExternalStore } from "react";--type Theme = "light" | "dark" | "system";--const STORAGE_KEY = "codething:theme";-const MEDIA_QUERY = "(prefers-color-scheme: dark)";--let listeners: Array<() => void> = [];-function emitChange() {- for (const listener of listeners) listener();-}--function getSystemDark(): boolean {- return window.matchMedia(MEDIA_QUERY).matches;-}--function getStored(): Theme {- const raw = localStorage.getItem(STORAGE_KEY);- if (raw === "light" || raw === "dark" || raw === "system") return raw;- return "system";-}--function applyTheme(theme: Theme, suppressTransitions = false) {- if (suppressTransitions) {- document.documentElement.classList.add("no-transitions");- }- const isDark = theme === "dark" || (theme === "system" && getSystemDark());- document.documentElement.classList.toggle("dark", isDark);- if (suppressTransitions) {- // Force a reflow so the no-transitions class takes effect before removal- document.documentElement.offsetHeight;- requestAnimationFrame(() => {- document.documentElement.classList.remove("no-transitions");- });- }-}--// Apply immediately on module load to prevent flash-applyTheme(getStored());--function getSnapshot(): Theme {- return getStored();-}--function subscribe(listener: () => void): () => void {- listeners.push(listener);-- // Listen for system preference changes- const mq = window.matchMedia(MEDIA_QUERY);- const handleChange = () => {- if (getStored() === "system") applyTheme("system", true);- emitChange();- };- mq.addEventListener("change", handleChange);-- // Listen for storage changes from other tabs- const handleStorage = (e: StorageEvent) => {- if (e.key === STORAGE_KEY) {- applyTheme(getStored(), true);- emitChange();- }- };- window.addEventListener("storage", handleStorage);-- return () => {- listeners = listeners.filter((l) => l !== listener);- mq.removeEventListener("change", handleChange);- window.removeEventListener("storage", handleStorage);- };-}--export function useTheme() {- const theme = useSyncExternalStore(subscribe, getSnapshot);-- const resolvedTheme: "light" | "dark" =- theme === "system" ? (getSystemDark() ? "dark" : "light") : theme;-- const setTheme = useCallback((next: Theme) => {- localStorage.setItem(STORAGE_KEY, next);- applyTheme(next, true);- emitChange();- }, []);-- // Keep DOM in sync on mount/change- useEffect(() => {- applyTheme(theme);- }, [theme]);-- return { theme, setTheme, resolvedTheme } as const;-}diff --git a/apps/renderer/src/index.css b/apps/renderer/src/index.cssindex f0cc6c48d..f393ff72a 100644--- a/apps/renderer/src/index.css+++ b/apps/renderer/src/index.css@@ -1,178 +1,7 @@@import "tailwindcss";-@custom-variant dark (&:is(.dark, .dark *));--@theme inline {- --animate-skeleton: skeleton 2s -1s infinite linear;- --color-warning-foreground: var(--warning-foreground);- --color-warning: var(--warning);- --color-success-foreground: var(--success-foreground);- --color-success: var(--success);- --color-info-foreground: var(--info-foreground);- --color-info: var(--info);- --color-destructive-foreground: var(--destructive-foreground);- --color-sidebar-ring: var(--sidebar-ring);- --color-sidebar-border: var(--sidebar-border);- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);- --color-sidebar-accent: var(--sidebar-accent);- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);- --color-sidebar-primary: var(--sidebar-primary);- --color-sidebar-foreground: var(--sidebar-foreground);- --color-sidebar: var(--sidebar);- --color-chart-5: var(--chart-5);- --color-chart-4: var(--chart-4);- --color-chart-3: var(--chart-3);- --color-chart-2: var(--chart-2);- --color-chart-1: var(--chart-1);- --color-ring: var(--ring);- --color-input: var(--input);- --color-border: var(--border);- --color-destructive: var(--destructive);- --color-accent-foreground: var(--accent-foreground);- --color-accent: var(--accent);- --color-muted-foreground: var(--muted-foreground);- --color-muted: var(--muted);- --color-secondary-foreground: var(--secondary-foreground);- --color-secondary: var(--secondary);- --color-primary-foreground: var(--primary-foreground);- --color-primary: var(--primary);- --color-popover-foreground: var(--popover-foreground);- --color-popover: var(--popover);- --color-card-foreground: var(--card-foreground);- --color-card: var(--card);- --color-foreground: var(--foreground);- --color-background: var(--background);- --radius-sm: calc(var(--radius) - 4px);- --radius-md: calc(var(--radius) - 2px);- --radius-lg: var(--radius);- --radius-xl: calc(var(--radius) + 4px);- --radius-2xl: calc(var(--radius) + 8px);- --radius-3xl: calc(var(--radius) + 12px);- --radius-4xl: calc(var(--radius) + 16px);- @keyframes skeleton {- to {- background-position: -200% 0;- }- }-}--@layer base {- * {- @apply border-border outline-ring/50;- }- body {- @apply bg-background text-foreground;- }-}--/* Suppress all transitions during theme changes */-.no-transitions,-.no-transitions *,-.no-transitions *::before,-.no-transitions *::after {- transition-duration: 0s !important;- animation-duration: 0s !important;-}-:root {- color-scheme: light;- --radius: 0.625rem;- --background: var(--color-white);- --foreground: var(--color-neutral-800);- --card: var(--color-white);- --card-foreground: var(--color-neutral-800);- --popover: var(--color-white);- --popover-foreground: var(--color-neutral-800);- --primary: var(--color-neutral-800);- --primary-foreground: var(--color-neutral-50);- --secondary: --alpha(var(--color-black) / 4%);- --secondary-foreground: var(--color-neutral-800);- --muted: --alpha(var(--color-black) / 4%);- --muted-foreground: color-mix(- in srgb,- var(--color-neutral-500) 90%,- var(--color-black)- );- --accent: --alpha(var(--color-black) / 4%);- --accent-foreground: var(--color-neutral-800);- --destructive: var(--color-red-500);- --border: --alpha(var(--color-black) / 8%);- --input: --alpha(var(--color-black) / 10%);- --ring: var(--color-neutral-400);- --chart-1: oklch(0.646 0.222 41.116);- --chart-2: oklch(0.6 0.118 184.704);- --chart-3: oklch(0.398 0.07 227.392);- --chart-4: oklch(0.828 0.189 84.429);- --chart-5: oklch(0.769 0.188 70.08);- --sidebar: oklch(0.985 0 0);- --sidebar-foreground: oklch(0.141 0.005 285.823);- --sidebar-primary: oklch(0.21 0.006 285.885);- --sidebar-primary-foreground: oklch(0.985 0 0);- --sidebar-accent: oklch(0.967 0.001 286.375);- --sidebar-accent-foreground: oklch(0.21 0.006 285.885);- --sidebar-border: oklch(0.92 0.004 286.32);- --sidebar-ring: oklch(0.705 0.015 286.067);- --destructive-foreground: var(--color-red-700);- --info: var(--color-blue-500);- --info-foreground: var(--color-blue-700);- --success: var(--color-emerald-500);- --success-foreground: var(--color-emerald-700);- --warning: var(--color-amber-500);- --warning-foreground: var(--color-amber-700);-- @variant dark {- color-scheme: dark;- --background: color-mix(- in srgb,- var(--color-neutral-950) 95%,- var(--color-white)- );- --foreground: var(--color-neutral-100);- --card: color-mix(in srgb, var(--background) 98%, var(--color-white));- --card-foreground: var(--color-neutral-100);- --popover: color-mix(in srgb, var(--background) 98%, var(--color-white));- --popover-foreground: var(--color-neutral-100);- --primary: var(--color-neutral-100);- --primary-foreground: var(--color-neutral-800);- --secondary: --alpha(var(--color-white) / 4%);- --secondary-foreground: var(--color-neutral-100);- --muted: --alpha(var(--color-white) / 4%);- --muted-foreground: color-mix(- in srgb,- var(--color-neutral-500) 90%,- var(--color-white)- );- --accent: --alpha(var(--color-white) / 4%);- --accent-foreground: var(--color-neutral-100);- --destructive: color-mix(- in srgb,- var(--color-red-500) 90%,- var(--color-white)- );- --border: --alpha(var(--color-white) / 6%);- --input: --alpha(var(--color-white) / 8%);- --ring: var(--color-neutral-500);- --chart-1: oklch(0.488 0.243 264.376);- --chart-2: oklch(0.696 0.17 162.48);- --chart-3: oklch(0.769 0.188 70.08);- --chart-4: oklch(0.627 0.265 303.9);- --chart-5: oklch(0.645 0.246 16.439);- --sidebar: oklch(0.21 0.006 285.885);- --sidebar-foreground: oklch(0.985 0 0);- --sidebar-primary: oklch(0.488 0.243 264.376);- --sidebar-primary-foreground: oklch(0.985 0 0);- --sidebar-accent: oklch(0.274 0.006 286.033);- --sidebar-accent-foreground: oklch(0.985 0 0);- --sidebar-border: oklch(1 0 0 / 10%);- --sidebar-ring: oklch(0.552 0.016 285.938);- --destructive-foreground: var(--color-red-400);- --info: var(--color-blue-500);- --info-foreground: var(--color-blue-400);- --success: var(--color-emerald-500);- --success-foreground: var(--color-emerald-400);- --warning: var(--color-amber-500);- --warning-foreground: var(--color-amber-400);- }+ color-scheme: dark;}body {@@ -181,6 +10,8 @@ body {margin: 0;padding: 0;min-height: 100vh;+ color: #e0e0e0;+ background: #0c0c0c;}body::after {@@ -224,20 +55,25 @@ input {}::-webkit-scrollbar-thumb {- background: rgba(0, 0, 0, 0.15);+ background: rgba(255, 255, 255, 0.1);border-radius: 3px;}::-webkit-scrollbar-thumb:hover {- background: rgba(0, 0, 0, 0.25);+ background: rgba(255, 255, 255, 0.18);}-.dark ::-webkit-scrollbar-thumb {- background: rgba(255, 255, 255, 0.1);+/* Reasoning select — clickable label surface */+label:has(> select#reasoning-effort) {+ position: relative;}--.dark ::-webkit-scrollbar-thumb:hover {- background: rgba(255, 255, 255, 0.18);+label:has(> select#reasoning-effort) select {+ position: absolute;+ inset: 0;+ opacity: 0;+ cursor: pointer;+ width: 100%;+ height: 100%;}/* Chat markdown rendering */@@ -272,38 +108,34 @@ input {}.chat-markdown a {- color: var(--info-foreground);+ color: #93c5fd;text-decoration: underline;- text-decoration-color: color-mix(- in srgb,- var(--info-foreground) 40%,- transparent- );+ text-decoration-color: rgba(147, 197, 253, 0.4);}.chat-markdown a:hover {- opacity: 0.8;+ color: #bfdbfe;}.chat-markdown blockquote {- border-left: 2px solid var(--border);+ border-left: 2px solid rgba(255, 255, 255, 0.2);padding-left: 0.8rem;- color: var(--muted-foreground);+ color: rgba(224, 224, 224, 0.75);}.chat-markdown :not(pre) > code {- border: 1px solid var(--border);+ border: 1px solid rgba(255, 255, 255, 0.12);border-radius: 0.375rem;- background: var(--muted);+ background: rgba(255, 255, 255, 0.07);padding: 0.1rem 0.35rem;- color: var(--foreground);+ color: #f4f4f5;}.chat-markdown pre {overflow-x: auto;- border: 1px solid var(--border);+ border: 1px solid rgba(255, 255, 255, 0.12);border-radius: 0.75rem;- background: var(--muted);+ background: rgba(0, 0, 0, 0.3);padding: 0.8rem 0.9rem;}@@ -321,7 +153,7 @@ input {.chat-markdown th,.chat-markdown td {- border: 1px solid var(--border);+ border: 1px solid rgba(255, 255, 255, 0.12);padding: 0.35rem 0.45rem;text-align: left;}diff --git a/apps/renderer/src/lib/utils.ts b/apps/renderer/src/lib/utils.tsdeleted file mode 100644index 365058ceb..000000000--- a/apps/renderer/src/lib/utils.ts+++ /dev/null@@ -1,6 +0,0 @@-import { type ClassValue, clsx } from "clsx";-import { twMerge } from "tailwind-merge";--export function cn(...inputs: ClassValue[]) {- return twMerge(clsx(inputs));-}diff --git a/apps/renderer/tsconfig.json b/apps/renderer/tsconfig.jsonindex 8eca70ea2..86307ecec 100644--- a/apps/renderer/tsconfig.json+++ b/apps/renderer/tsconfig.json@@ -4,11 +4,7 @@"composite": true,"jsx": "react-jsx","lib": ["ES2023", "DOM", "DOM.Iterable"],- "exactOptionalPropertyTypes": false,- "types": ["vite/client"],- "paths": {- "#/*": ["./src/*"]- }+ "types": ["vite/client"]},"include": ["src", "vite.config.ts"]}diff --git a/apps/renderer/vite.config.ts b/apps/renderer/vite.config.tsindex 037f941e9..e57fcd856 100644--- a/apps/renderer/vite.config.ts+++ b/apps/renderer/vite.config.ts@@ -1,4 +1,3 @@-import path from "node:path";import tailwindcss from "@tailwindcss/vite";import react from "@vitejs/plugin-react";import { defineConfig } from "vite";@@ -12,11 +11,6 @@ export default defineConfig({}),tailwindcss(),],- resolve: {- alias: {- "#": path.resolve(__dirname, "src"),- },- },server: {port: Number(process.env.ELECTRON_RENDERER_PORT ?? 5173),strictPort: true,diff --git a/bun.lock b/bun.lockindex e53dc841d..68e4a9c63 100644--- a/bun.lock+++ b/bun.lock@@ -34,17 +34,12 @@"version": "0.0.0","dependencies": {"@acme/contracts": "workspace:*",- "@base-ui/react": "^1.1.0",- "class-variance-authority": "^0.7.1",- "clsx": "^2.1.1","highlight.js": "^11.11.1",- "lucide-react": "^0.563.0","react": "^19.0.0","react-dom": "^19.0.0","react-markdown": "^10.1.0","rehype-highlight": "^7.0.2","remark-gfm": "^4.0.1",- "tailwind-merge": "^3.4.0","zod": "^3.24.1",},"devDependencies": {@@ -109,18 +104,12 @@"@babel/plugin-transform-react-jsx-source": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw=="],- "@babel/runtime": ["@babel/[email protected]", "", {}, "sha512-05WQkdpL9COIMz4LjTxGpPNCdlpyimKppYNoJ5Di5EUObifl8t4tuLuUBBZEpoLYOmfvIWrsp9fCl0HoPRVTdA=="],-"@babel/template": ["@babel/[email protected]", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="],"@babel/traverse": ["@babel/[email protected]", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="],"@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="],- "@base-ui/react": ["@base-ui/[email protected]", "", { "dependencies": { "@babel/runtime": "^7.28.4", "@base-ui/utils": "0.2.4", "@floating-ui/react-dom": "^2.1.6", "@floating-ui/utils": "^0.2.10", "reselect": "^5.1.1", "tabbable": "^6.4.0", "use-sync-external-store": "^1.6.0" }, "peerDependencies": { "@types/react": "^17 || ^18 || ^19", "react": "^17 || ^18 || ^19", "react-dom": "^17 || ^18 || ^19" }, "optionalPeers": ["@types/react"] }, "sha512-ikcJRNj1mOiF2HZ5jQHrXoVoHcNHdBU5ejJljcBl+VTLoYXR6FidjTN86GjO6hyshi6TZFuNvv0dEOgaOFv6Lw=="],-- "@base-ui/utils": ["@base-ui/[email protected]", "", { "dependencies": { "@babel/runtime": "^7.28.4", "@floating-ui/utils": "^0.2.10", "reselect": "^5.1.1", "use-sync-external-store": "^1.6.0" }, "peerDependencies": { "@types/react": "^17 || ^18 || ^19", "react": "^17 || ^18 || ^19", "react-dom": "^17 || ^18 || ^19" }, "optionalPeers": ["@types/react"] }, "sha512-smZwpMhjO29v+jrZusBSc5T+IJ3vBb9cjIiBjtKcvWmRj9Z4DWGVR3efr1eHR56/bqY5a4qyY9ElkOY5ljo3ng=="],-"@electron/get": ["@electron/[email protected]", "", { "dependencies": { "debug": "^4.1.1", "env-paths": "^2.2.0", "fs-extra": "^8.1.0", "got": "^11.8.5", "progress": "^2.0.3", "semver": "^6.2.0", "sumchecker": "^3.0.1" }, "optionalDependencies": { "global-agent": "^3.0.0" } }, "sha512-Qkzpg2s9GnVV2I2BjRksUi43U5e6+zaQMcjoJy0C+C5oxaKl+fmckGDQFtRpZpZV0NQekuZZ+tGz7EA9TVnQtQ=="],"@electron/node-gyp": ["@electron/node-gyp@github:electron/node-gyp#06b29aa", { "dependencies": { "env-paths": "^2.2.0", "exponential-backoff": "^3.1.1", "glob": "^8.1.0", "graceful-fs": "^4.2.6", "make-fetch-happen": "^10.2.1", "nopt": "^6.0.0", "proc-log": "^2.0.1", "semver": "^7.3.5", "tar": "^6.2.1", "which": "^2.0.2" }, "bin": "./bin/node-gyp.js" }, "electron-node-gyp-06b29aa"],@@ -179,14 +168,6 @@"@esbuild/win32-x64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-4uJGhsxuptu3OcpVAzli+/gWusVGwZZHTlS63hh++ehExkVT8SgiEf7/uC/PclrPPkLhZqGgCTjd0VWLo6xMqA=="],- "@floating-ui/core": ["@floating-ui/[email protected]", "", { "dependencies": { "@floating-ui/utils": "^0.2.10" } }, "sha512-C3HlIdsBxszvm5McXlB8PeOEWfBhcGBTZGkGlWc2U0KFY5IwG5OQEuQ8rq52DZmcHDlPLd+YFBK+cZcytwIFWg=="],-- "@floating-ui/dom": ["@floating-ui/[email protected]", "", { "dependencies": { "@floating-ui/core": "^1.7.4", "@floating-ui/utils": "^0.2.10" } }, "sha512-N0bD2kIPInNHUHehXhMke1rBGs1dwqvC9O9KYMyyjK7iXt7GAhnro7UlcuYcGdS/yYOlq0MAVgrow8IbWJwyqg=="],-- "@floating-ui/react-dom": ["@floating-ui/[email protected]", "", { "dependencies": { "@floating-ui/dom": "^1.7.5" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" } }, "sha512-0tLRojf/1Go2JgEVm+3Frg9A3IW8bJgKgdO0BN5RkF//ufuz2joZM63Npau2ff3J6lUVYgDSNzNkR+aH3IVfjg=="],-- "@floating-ui/utils": ["@floating-ui/[email protected]", "", {}, "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ=="],-"@gar/promisify": ["@gar/[email protected]", "", {}, "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw=="],"@hapi/address": ["@hapi/[email protected]", "", { "dependencies": { "@hapi/hoek": "^11.0.2" } }, "sha512-A+po2d/dVoY7cYajycYI43ZbYMXukuopIsqCjh5QzsBCipDtdofHntljDlpccMjIfTy6UOkg+5KPriwYch2bXA=="],@@ -201,16 +182,6 @@"@hapi/topo": ["@hapi/[email protected]", "", { "dependencies": { "@hapi/hoek": "^11.0.2" } }, "sha512-KR3rD5inZbGMrHmgPxsJ9dbi6zEK+C3ZwUwTa+eMwWLz7oijWUTWD2pMSNNYJAU6Qq+65NkxXjqHr/7LM2Xkqg=="],- "@inquirer/ansi": ["@inquirer/[email protected]", "", {}, "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ=="],-- "@inquirer/confirm": ["@inquirer/[email protected]", "", { "dependencies": { "@inquirer/core": "^10.3.2", "@inquirer/type": "^3.0.10" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ=="],-- "@inquirer/core": ["@inquirer/[email protected]", "", { "dependencies": { "@inquirer/ansi": "^1.0.2", "@inquirer/figures": "^1.0.15", "@inquirer/type": "^3.0.10", "cli-width": "^4.1.0", "mute-stream": "^2.0.0", "signal-exit": "^4.1.0", "wrap-ansi": "^6.2.0", "yoctocolors-cjs": "^2.1.3" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-43RTuEbfP8MbKzedNqBrlhhNKVwoK//vUFNW3Q3vZ88BLcrs4kYpGg+B2mm5p2K/HfygoCxuKwJJiv8PbGmE0A=="],-- "@inquirer/figures": ["@inquirer/[email protected]", "", {}, "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g=="],-- "@inquirer/type": ["@inquirer/[email protected]", "", { "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA=="],-"@jridgewell/gen-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA=="],"@jridgewell/remapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ=="],@@ -223,18 +194,10 @@"@malept/cross-spawn-promise": ["@malept/[email protected]", "", { "dependencies": { "cross-spawn": "^7.0.1" } }, "sha512-1DpKU0Z5ThltBwjNySMC14g0CkbyhCaz9FkhxqNsZI6uAPJXFS8cMXlBKo26FJ8ZuW6S9GCMcR9IO5k2X5/9Fg=="],- "@mswjs/interceptors": ["@mswjs/[email protected]", "", { "dependencies": { "@open-draft/deferred-promise": "^2.2.0", "@open-draft/logger": "^0.3.0", "@open-draft/until": "^2.0.0", "is-node-process": "^1.2.0", "outvariant": "^1.4.3", "strict-event-emitter": "^0.5.1" } }, "sha512-7G0Uf0yK3f2bjElBLGHIQzgRgMESczOMyYVasq1XK8P5HaXtlW4eQhz9MBL+TQILZLaruq+ClGId+hH0w4jvWw=="],-"@npmcli/fs": ["@npmcli/[email protected]", "", { "dependencies": { "@gar/promisify": "^1.1.3", "semver": "^7.3.5" } }, "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ=="],"@npmcli/move-file": ["@npmcli/[email protected]", "", { "dependencies": { "mkdirp": "^1.0.4", "rimraf": "^3.0.2" } }, "sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ=="],- "@open-draft/deferred-promise": ["@open-draft/[email protected]", "", {}, "sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA=="],-- "@open-draft/logger": ["@open-draft/[email protected]", "", { "dependencies": { "is-node-process": "^1.2.0", "outvariant": "^1.4.0" } }, "sha512-X2g45fzhxH238HKO4xbSr7+wBS8Fvw6ixhTDuvLd5mqh6bJJCFAPwU9mPDxbcrRtfxv4u5IHCEH77BmxvXmmxQ=="],-- "@open-draft/until": ["@open-draft/[email protected]", "", {}, "sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg=="],-"@oxfmt/darwin-arm64": ["@oxfmt/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-jmUfF7cNJPw57bEK7sMIqrYRgn4LH428tSgtgLTCtjuGuu1ShREyrkeB7y8HtkXRfhBs4lVY+HMLhqElJvZ6ww=="],"@oxfmt/darwin-x64": ["@oxfmt/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-S6vlV8S7jbjzJOSjfVg2CimUC0r7/aHDLdUm/3+/B/SU/s1jV7ivqWkMv1/8EB43d1BBwT9JQ60ZMTkBqeXSFA=="],@@ -395,8 +358,6 @@"@types/responselike": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw=="],- "@types/statuses": ["@types/[email protected]", "", {}, "sha512-xMAgYwceFhRA2zY+XbEA7mxYbA093wdiW8Vu6gZPGWy9cmOyU9XesH1tNcEWsKFd5Vzrqx5T3D38PWx1FIIXkA=="],-"@types/unist": ["@types/[email protected]", "", {}, "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q=="],"@types/yauzl": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q=="],@@ -499,24 +460,18 @@"chownr": ["[email protected]", "", {}, "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ=="],- "class-variance-authority": ["[email protected]", "", { "dependencies": { "clsx": "^2.1.1" } }, "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg=="],-"clean-stack": ["[email protected]", "", {}, "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A=="],"cli-cursor": ["[email protected]", "", { "dependencies": { "restore-cursor": "^3.1.0" } }, "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw=="],"cli-spinners": ["[email protected]", "", {}, "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg=="],- "cli-width": ["[email protected]", "", {}, "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ=="],-"cliui": ["[email protected]", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="],"clone": ["[email protected]", "", {}, "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg=="],"clone-response": ["[email protected]", "", { "dependencies": { "mimic-response": "^1.0.0" } }, "sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA=="],- "clsx": ["[email protected]", "", {}, "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA=="],-"color-convert": ["[email protected]", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="],"color-name": ["[email protected]", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="],@@ -535,8 +490,6 @@"convert-source-map": ["[email protected]", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="],- "cookie": ["[email protected]", "", {}, "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ=="],-"cross-spawn": ["[email protected]", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="],"csstype": ["[email protected]", "", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="],@@ -661,8 +614,6 @@"graceful-fs": ["[email protected]", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="],- "graphql": ["[email protected]", "", {}, "sha512-DKKrynuQRne0PNpEbzuEdHlYOMksHSUI8Zc9Unei5gTsMNA2/vMpoMz/yKba50pejK56qj98qM0SjYxAKi13gQ=="],-"has-flag": ["[email protected]", "", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="],"has-property-descriptors": ["[email protected]", "", { "dependencies": { "es-define-property": "^1.0.0" } }, "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg=="],@@ -681,8 +632,6 @@"hast-util-whitespace": ["[email protected]", "", { "dependencies": { "@types/hast": "^3.0.0" } }, "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw=="],- "headers-polyfill": ["[email protected]", "", {}, "sha512-IScLbePpkvO846sIwOtOTDjutRMWdXdJmXdMvk6gCBHxFO8d+QKOQedyZSxFTTFYRSmlgSTDtXqqq4pcenBXLQ=="],-"highlight.js": ["[email protected]", "", {}, "sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w=="],"html-url-attributes": ["[email protected]", "", {}, "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ=="],@@ -731,8 +680,6 @@"is-lambda": ["[email protected]", "", {}, "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ=="],- "is-node-process": ["[email protected]", "", {}, "sha512-Vg4o6/fqPxIjtxgUH5QLJhwZ7gW5diGCVlXpuUfELC62CuxM1iHcRe51f2W1FDy04Ai4KJkagKjx3XaqyfRKXw=="],-"is-number": ["[email protected]", "", {}, "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="],"is-plain-obj": ["[email protected]", "", {}, "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg=="],@@ -807,8 +754,6 @@"lru-cache": ["[email protected]", "", {}, "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA=="],- "lucide-react": ["[email protected]", "", { "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-8dXPB2GI4dI8jV4MgUDGBeLdGk8ekfqVZ0BdLcrRzocGgG75ltNEmWS+gE7uokKF/0oSUuczNDT+g9hFJ23FkA=="],-"magic-string": ["[email protected]", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="],"make-fetch-happen": ["[email protected]", "", { "dependencies": { "agentkeepalive": "^4.2.1", "cacache": "^16.1.0", "http-cache-semantics": "^4.1.0", "http-proxy-agent": "^5.0.0", "https-proxy-agent": "^5.0.0", "is-lambda": "^1.0.1", "lru-cache": "^7.7.1", "minipass": "^3.1.6", "minipass-collect": "^1.0.2", "minipass-fetch": "^2.0.3", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", "negotiator": "^0.6.3", "promise-retry": "^2.0.1", "socks-proxy-agent": "^7.0.0", "ssri": "^9.0.0" } }, "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w=="],@@ -939,10 +884,6 @@"ms": ["[email protected]", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],- "msw": ["[email protected]", "", { "dependencies": { "@inquirer/confirm": "^5.0.0", "@mswjs/interceptors": "^0.41.2", "@open-draft/deferred-promise": "^2.2.0", "@types/statuses": "^2.0.6", "cookie": "^1.0.2", "graphql": "^16.12.0", "headers-polyfill": "^4.0.2", "is-node-process": "^1.2.0", "outvariant": "^1.4.3", "path-to-regexp": "^6.3.0", "picocolors": "^1.1.1", "rettime": "^0.10.1", "statuses": "^2.0.2", "strict-event-emitter": "^0.5.1", "tough-cookie": "^6.0.0", "type-fest": "^5.2.0", "until-async": "^3.0.2", "yargs": "^17.7.2" }, "peerDependencies": { "typescript": ">= 4.8.x" }, "optionalPeers": ["typescript"], "bin": { "msw": "cli/index.js" } }, "sha512-NYbi51C6M3dujGmcmuGemu68jy12KqQPoVWGeroKToLGsBgrwG5ErM8WctoIIg49/EV49SEvYM9WSqO4G7kNeQ=="],-- "mute-stream": ["[email protected]", "", {}, "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA=="],-"mz": ["[email protected]", "", { "dependencies": { "any-promise": "^1.0.0", "object-assign": "^4.0.1", "thenify-all": "^1.0.0" } }, "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q=="],"nanoid": ["[email protected]", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w=="],@@ -975,8 +916,6 @@"ora": ["[email protected]", "", { "dependencies": { "bl": "^4.1.0", "chalk": "^4.1.0", "cli-cursor": "^3.1.0", "cli-spinners": "^2.5.0", "is-interactive": "^1.0.0", "is-unicode-supported": "^0.1.0", "log-symbols": "^4.1.0", "strip-ansi": "^6.0.0", "wcwidth": "^1.0.1" } }, "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ=="],- "outvariant": ["[email protected]", "", {}, "sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA=="],-"oxfmt": ["[email protected]", "", { "dependencies": { "tinypool": "2.1.0" }, "optionalDependencies": { "@oxfmt/darwin-arm64": "0.28.0", "@oxfmt/darwin-x64": "0.28.0", "@oxfmt/linux-arm64-gnu": "0.28.0", "@oxfmt/linux-arm64-musl": "0.28.0", "@oxfmt/linux-x64-gnu": "0.28.0", "@oxfmt/linux-x64-musl": "0.28.0", "@oxfmt/win32-arm64": "0.28.0", "@oxfmt/win32-x64": "0.28.0" }, "bin": { "oxfmt": "bin/oxfmt" } }, "sha512-3+hhBqPE6Kp22KfJmnstrZbl+KdOVSEu1V0ABaFIg1rYLtrMgrupx9znnHgHLqKxAVHebjTdiCJDk30CXOt6cw=="],"oxlint": ["[email protected]", "", { "optionalDependencies": { "@oxlint/darwin-arm64": "1.43.0", "@oxlint/darwin-x64": "1.43.0", "@oxlint/linux-arm64-gnu": "1.43.0", "@oxlint/linux-arm64-musl": "1.43.0", "@oxlint/linux-x64-gnu": "1.43.0", "@oxlint/linux-x64-musl": "1.43.0", "@oxlint/win32-arm64": "1.43.0", "@oxlint/win32-x64": "1.43.0" }, "peerDependencies": { "oxlint-tsgolint": ">=0.11.2" }, "optionalPeers": ["oxlint-tsgolint"], "bin": { "oxlint": "bin/oxlint" } }, "sha512-xiqTCsKZch+R61DPCjyqUVP2MhkQlRRYxLRBeBDi+dtQJ90MOgdcjIktvDCgXz0bgtx94EQzHEndsizZjMX2OA=="],@@ -991,8 +930,6 @@"path-key": ["[email protected]", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="],- "path-to-regexp": ["[email protected]", "", {}, "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ=="],-"pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],"pathval": ["[email protected]", "", {}, "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ=="],@@ -1057,8 +994,6 @@"require-directory": ["[email protected]", "", {}, "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q=="],- "reselect": ["[email protected]", "", {}, "sha512-K/BG6eIky/SBpzfHZv/dd+9JBFiS4SWV7FIujVyJRux6e45+73RaUHXLmIR1f7WOMaQ0U1km6qwklRQxpJJY0w=="],-"resolve-alpn": ["[email protected]", "", {}, "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g=="],"resolve-from": ["[email protected]", "", {}, "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw=="],@@ -1069,8 +1004,6 @@"retry": ["[email protected]", "", {}, "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow=="],- "rettime": ["[email protected]", "", {}, "sha512-uyDrIlUEH37cinabq0AX4QbgV4HbFZ/gqoiunWQ1UqBtRvTTytwhNYjE++pO/MjPTZL5KQCf2bEoJ/BJNVQ5Kw=="],-"rimraf": ["[email protected]", "", { "dependencies": { "glob": "^7.1.3" }, "bin": { "rimraf": "bin.js" } }, "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA=="],"roarr": ["[email protected]", "", { "dependencies": { "boolean": "^3.0.1", "detect-node": "^2.0.4", "globalthis": "^1.0.1", "json-stringify-safe": "^5.0.1", "semver-compare": "^1.0.0", "sprintf-js": "^1.1.2" } }, "sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A=="],@@ -1119,12 +1052,8 @@"stackback": ["[email protected]", "", {}, "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw=="],- "statuses": ["[email protected]", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="],-"std-env": ["[email protected]", "", {}, "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg=="],- "strict-event-emitter": ["[email protected]", "", {}, "sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ=="],-"string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],"string_decoder": ["[email protected]", "", { "dependencies": { "safe-buffer": "~5.2.0" } }, "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA=="],@@ -1145,12 +1074,6 @@"supports-color": ["[email protected]", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="],- "tabbable": ["[email protected]", "", {}, "sha512-05PUHKSNE8ou2dwIxTngl4EzcnsCDZGJ/iCLtDflR/SHB/ny14rXc+qU5P4mG9JkusiV7EivzY9Mhm55AzAvCg=="],-- "tagged-tag": ["[email protected]", "", {}, "sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng=="],-- "tailwind-merge": ["[email protected]", "", {}, "sha512-uSaO4gnW+b3Y2aWoWfFpX62vn2sR3skfhbjsEnaBI81WD1wBLlHZe5sWf0AqjksNdYTbGBEd0UasQMT3SNV15g=="],-"tailwindcss": ["[email protected]", "", {}, "sha512-4+Z+0yiYyEtUVCScyfHCxOYP06L5Ne+JiHhY2IjR2KWMIWhJOYZKLSGZaP5HkZ8+bY0cxfzwDE5uOmzFXyIwxw=="],"tapable": ["[email protected]", "", {}, "sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg=="],@@ -1173,14 +1096,8 @@"tinyspy": ["[email protected]", "", {}, "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q=="],- "tldts": ["[email protected]", "", { "dependencies": { "tldts-core": "^7.0.23" }, "bin": { "tldts": "bin/cli.js" } }, "sha512-ASdhgQIBSay0R/eXggAkQ53G4nTJqTXqC2kbaBbdDwM7SkjyZyO0OaaN1/FH7U/yCeqOHDwFO5j8+Os/IS1dXw=="],-- "tldts-core": ["[email protected]", "", {}, "sha512-0g9vrtDQLrNIiCj22HSe9d4mLVG3g5ph5DZ8zCKBr4OtrspmNB6ss7hVyzArAeE88ceZocIEGkyW1Ime7fxPtQ=="],-"to-regex-range": ["[email protected]", "", { "dependencies": { "is-number": "^7.0.0" } }, "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="],- "tough-cookie": ["[email protected]", "", { "dependencies": { "tldts": "^7.0.5" } }, "sha512-kXuRi1mtaKMrsLUxz3sQYvVl37B0Ns6MzfrtV5DvJceE9bPyspOqk9xxv7XbZWcfLWbFmm997vl83qUWVJA64w=="],-"tree-kill": ["[email protected]", "", { "bin": { "tree-kill": "cli.js" } }, "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A=="],"trim-lines": ["[email protected]", "", {}, "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg=="],@@ -1207,7 +1124,7 @@"turbo-windows-arm64": ["[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-afTUGKBRmOJU1smQSBnFGcbq0iabAPwh1uXu2BVk7BREg30/1gMnJh9DFEQTah+UD3n3ru8V55J83RQNFfqoyw=="],- "type-fest": ["[email protected]", "", { "dependencies": { "tagged-tag": "^1.0.0" } }, "sha512-JnTrzGu+zPV3aXIUhnyWJj4z/wigMsdYajGLIYakqyOW1nPllzXEJee0QQbHj+CTIQtXGlAjuK0UY+2xTyjVAw=="],+ "type-fest": ["[email protected]", "", {}, "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg=="],"typescript": ["[email protected]", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="],@@ -1237,12 +1154,8 @@"unixify": ["[email protected]", "", { "dependencies": { "normalize-path": "^2.1.1" } }, "sha512-6bc58dPYhCMHHuwxldQxO3RRNZ4eCogZ/st++0+fcC1nr0jiGUtAdBJ2qzmLQWSxbtz42pWt4QQMiZ9HvZf5cg=="],- "until-async": ["[email protected]", "", {}, "sha512-IiSk4HlzAMqTUseHHe3VhIGyuFmN90zMTpD3Z3y8jeQbzLIq500MVM7Jq2vUAnTKAFPJrqwkzr6PoTcPhGcOiw=="],-"update-browserslist-db": ["[email protected]", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w=="],- "use-sync-external-store": ["[email protected]", "", { "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w=="],-"util-deprecate": ["[email protected]", "", {}, "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="],"vfile": ["[email protected]", "", { "dependencies": { "@types/unist": "^3.0.0", "vfile-message": "^4.0.0" } }, "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q=="],@@ -1279,8 +1192,6 @@"yauzl": ["[email protected]", "", { "dependencies": { "buffer-crc32": "~0.2.3", "fd-slicer": "~1.1.0" } }, "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g=="],- "yoctocolors-cjs": ["[email protected]", "", {}, "sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw=="],-"zod": ["[email protected]", "", {}, "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ=="],"zwitch": ["[email protected]", "", {}, "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A=="],@@ -1297,10 +1208,6 @@"@electron/get/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],- "@inquirer/core/signal-exit": ["[email protected]", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="],-- "@inquirer/core/wrap-ansi": ["[email protected]", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA=="],-"@tailwindcss/node/jiti": ["[email protected]", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ=="],"@tailwindcss/oxide-wasm32-wasi/@emnapi/core": ["@emnapi/[email protected]", "", { "dependencies": { "@emnapi/wasi-threads": "1.1.0", "tslib": "^2.4.0" }, "bundled": true }, "sha512-AvT9QFpxK0Zd8J0jopedNm+w/2fIzvtPKPjqyw9jwvBaReTTqPBk9Hixaz7KbjimP+QNz605/XnjFcDAL2pqBg=="],@@ -1347,8 +1254,6 @@"rimraf/glob": ["[email protected]", "", { "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } }, "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q=="],- "serialize-error/type-fest": ["[email protected]", "", {}, "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg=="],-"ssri/minipass": ["[email protected]", "", { "dependencies": { "yallist": "^4.0.0" } }, "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw=="],"vite/esbuild": ["[email protected]", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.12", "@esbuild/android-arm": "0.25.12", "@esbuild/android-arm64": "0.25.12", "@esbuild/android-x64": "0.25.12", "@esbuild/darwin-arm64": "0.25.12", "@esbuild/darwin-x64": "0.25.12", "@esbuild/freebsd-arm64": "0.25.12", "@esbuild/freebsd-x64": "0.25.12", "@esbuild/linux-arm": "0.25.12", "@esbuild/linux-arm64": "0.25.12", "@esbuild/linux-ia32": "0.25.12", "@esbuild/linux-loong64": "0.25.12", "@esbuild/linux-mips64el": "0.25.12", "@esbuild/linux-ppc64": "0.25.12", "@esbuild/linux-riscv64": "0.25.12", "@esbuild/linux-s390x": "0.25.12", "@esbuild/linux-x64": "0.25.12", "@esbuild/netbsd-arm64": "0.25.12", "@esbuild/netbsd-x64": "0.25.12", "@esbuild/openbsd-arm64": "0.25.12", "@esbuild/openbsd-x64": "0.25.12", "@esbuild/openharmony-arm64": "0.25.12", "@esbuild/sunos-x64": "0.25.12", "@esbuild/win32-arm64": "0.25.12", "@esbuild/win32-ia32": "0.25.12", "@esbuild/win32-x64": "0.25.12" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg=="],