"use client"; import { useTranslations } from "next-intl"; import type { MemoryEngineStatus } from "@/shared/schemas/memory"; type ConfigureTarget = "embedding" | "qdrant" | "rerank"; interface Props { status: MemoryEngineStatus; onConfigure?: (target: ConfigureTarget) => void; } type ChipColor = "green" | "gray" | "red"; function StatusChip({ color }: { color: ChipColor }) { const colorMap: Record = { green: "bg-emerald-500", gray: "bg-border", red: "bg-red-500", }; return (