"use client" import * as DialogPrimitive from "@radix-ui/react-dialog" import { Download, X } from "lucide-react" import { cn } from "@lib/utils" import { dmSans125ClassName } from "@/lib/fonts" import { RAYCAST_EXTENSION_URL } from "@lib/constants" import { RaycastIcon } from "@/components/integration-icons" import { Dialog, DialogContent, DialogTitle } from "@ui/components/dialog" import type { InstallStep } from "@/lib/plugin-catalog" import { INSET, InstallSteps } from "./install-steps" const RAYCAST_STEPS: InstallStep[] = [ { title: "Copy your API key", description: "You won't be able to see it again — store it somewhere safe.", code: "sm_...", copyLabel: "API key", secret: true, }, { title: "Install the Raycast extension", description: "Open the Supermemory extension page in the Raycast Store.", }, { title: "Paste your key in Raycast preferences", description: "Open Raycast preferences → Extensions → Supermemory, then paste the key above.", }, { title: 'Run "Add Memory" or "Search Memories"', description: "Trigger Raycast and start using Supermemory from anywhere.", }, ] function RaycastIconBox() { return (
) } export function RaycastSetupModal({ open, onOpenChange, apiKey, }: { open: boolean onOpenChange: (open: boolean) => void apiKey: string }) { return ( Set up Raycast Extension

Set up Raycast Extension

Copy your key and follow these steps to finish.

) }