"use client"; import { FileText, Mail, Plus, X } from "lucide-react"; import { motion } from "motion/react"; import { Button } from "@/components/ui/button"; import { AGENT_AUDIENCE_TAGS, AGENT_PREVIEW_TAGS, AGENT_WORKSPACE_TITLE, } from "./playground-content"; import { agentFadeUp, agentLayoutTransition, agentSlideInEnd, agentStaggerContainer, } from "./agent-motion"; import { cn } from "@/lib/utils"; import { type } from "@/lib/typography"; interface AgentPreviewPanelProps { className?: string; onClose?: () => void; } function TagChip({ label }: { label: string }) { return ( {label} ); } function AudienceSection({ title, tags, }: { title: string; tags: readonly string[]; }) { return ( {title} {tags.map((tag, index) => ( ))} ); } export function AgentPreviewPanel({ className, onClose }: AgentPreviewPanelProps) { return ( پیشنمایش سناریو {onClose && ( )} سناریو {AGENT_WORKSPACE_TITLE} سناریوی آزمایشی برای طراحی workflow پشتیبانی و پاسخگویی خودکار به مشتریان. {AGENT_PREVIEW_TAGS.map((tag, index) => ( {tag} ))} قالب پاسخگویی خودکار تغییر نمای کلی مخاطب ساختار سناریو پیام ۱ زمانبندی اجرای سناریو ); }
{title}
سناریو
سناریوی آزمایشی برای طراحی workflow پشتیبانی و پاسخگویی خودکار به مشتریان.
قالب
نمای کلی مخاطب
ساختار سناریو