"use client"; import { FolderTree } from "lucide-react"; import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "@/components/ui/dialog"; import type { ChatMemoryWriteScope } from "@/components/chat/chat-config-context"; import { MemoryFilesBrowser } from "@/components/memory/memory-files-browser"; import { useI18n } from "@/i18n/i18n-context"; /** * 记忆文件浏览器弹窗(对话抽屉入口)。内容复用 {@link MemoryFilesBrowser}, * 这里只负责 Dialog 外壳与标题。 */ export function MemoryFilesDialog(props: { open: boolean; onOpenChange: (open: boolean) => void; memoryStoreName: string; scope: ChatMemoryWriteScope; }) { const { open, onOpenChange, memoryStoreName, scope } = props; const { t } = useI18n(); return ( {t("chat.filesDialog.title")} {t("chat.filesDialog.description")} ); }