import { BookOpen, Briefcase, FileText, Image, MessageCircle, Users, Video, Wrench } from "lucide-react";

export const tabs = [
  { id: "clone", label: "微信分身", icon: MessageCircle, badge: "3" },
  { id: "knowledge", label: "知识库", icon: BookOpen, badge: "" },
  { id: "skills", label: "skill市场", icon: Wrench, badge: "新" },
  { id: "distill", label: "员工蒸馏", icon: Users, badge: "" },
];

export const knowledgeTypeIcons = {
  视频: Video,
  图片: Image,
  文件: FileText,
  案例: Briefcase,
};

export const tagToneClasses = ["tag-tone-green", "tag-tone-orange", "tag-tone-purple"];

export const logs = [
  { level: "info", message: "[20:16:11] engine status: waiting for local wechat session" },
  { level: "info", message: "[20:16:14] pi-agent rpc heartbeat ready" },
  { level: "info", message: "[20:16:16] knowledge retriever loaded: FTS5/BM25" },
  { level: "warning", message: "[20:16:18] wechat adapter latency is higher than expected: 184ms" },
  { level: "info", message: "[20:16:21] model gateway connected: doubao-compatible" },
  { level: "info", message: "[20:16:28] reply policy: whitelist + skill authorization enabled" },
  { level: "warning", message: "[20:16:34] employee skill '售后安抚助手' is disabled, fallback to base prompt" },
  { level: "info", message: "[20:16:41] incoming message normalized: customer_id=wx_9271" },
  { level: "info", message: "[20:16:42] retrieval hit: 售后常见问题与退款边界, score=0.86" },
  { level: "info", message: "[20:16:44] draft reply generated, tokens=312" },
  { level: "warning", message: "[20:16:47] manual confirmation required by托管配置" },
  { level: "info", message: "[20:16:53] operator approved message delivery" },
  { level: "info", message: "[20:16:54] message delivered to local wechat session" },
  { level: "error", message: "[20:17:02] media parser failed: unsupported image format webp-alpha" },
  { level: "warning", message: "[20:17:05] retry media parser with safe mode" },
  { level: "info", message: "[20:17:07] media parser recovered: generated OCR summary" },
  { level: "info", message: "[20:17:12] sqlite config synced: 7 keys updated" },
  { level: "error", message: "[20:17:19] model gateway timeout after 8000ms, request_id=req_91fa" },
  { level: "warning", message: "[20:17:20] switched to backup model endpoint" },
  { level: "info", message: "[20:17:23] backup model endpoint connected" },
  { level: "info", message: "[20:17:30] background distill queue idle" },
  { level: "info", message: "[20:17:36] heartbeat ok: memory=128MB, queue=0" },
];

export const knowledgeItems = [
  { title: "销售冠军高意向客户跟进案例", type: "案例", updated: "2026-06-08 18:20", refs: 128, version: "v2.4", status: "已生效" },
  { title: "售后常见问题与退款边界", type: "文件", updated: "2026-06-05 09:42", refs: 82, version: "v1.7", status: "已生效" },
  { title: "企业微信客户分层话术图片包", type: "图片", updated: "2026-05-30 14:12", refs: 41, version: "v1.1", status: "未生效" },
  { title: "直播间私域导流短视频脚本", type: "视频", updated: "2026-05-24 22:05", refs: 35, version: "v0.9", status: "已停用" },
];

export const skillItems = [
  { name: "客户意图识别", type: "内置", enabled: true, tags: ["线索分级", "异议判断", "下一步建议"] },
  { name: "报价策略生成", type: "自定义", enabled: true, tags: ["利润保护", "阶梯报价", "优惠边界"] },
  { name: "售后安抚助手", type: "内置", enabled: false, tags: ["情绪识别", "补偿建议", "工单摘要"] },
  { name: "朋友圈内容策划", type: "自定义", enabled: true, tags: ["素材改写", "发布时间", "人设统一"] },
];

export const employeeItems = [
  { name: "销售冠军 Aileen", version: "v3.2", enabled: true, traits: "高意向逼单 / 异议拆解 / 温和推进", domain: "企微私域成交" },
  { name: "售前专家 Leo", version: "v1.8", enabled: true, traits: "需求澄清 / 方案对齐 / 技术问答", domain: "B2B咨询" },
  { name: "客服主管 Mina", version: "v2.1", enabled: false, traits: "投诉降温 / 售后边界 / 情绪安抚", domain: "售后服务" },
];

export const settingSections = [
  "基础配置",
  "提示词配置",
  "回复规则",
  "skill管理",
  "员工管理",
  "知识库管理",
  "托管配置",
];
