"use client"; import { Button } from "@/components/ui/button"; import { cn } from "@/lib/utils"; import { LOCAL_AI_QUICK_LINK_GROUPS } from "../_lib/local-ai-sections"; import type { LocalAiOverviewItem, LocalAiQuickLink } from "../_lib/types"; import { SettingStatusBadge } from "./setting-status-badge"; export function LocalAiCommandCenter({ openSectionCount, providerCount, modelCount, overviewItems, quickLinks, isSectionExpanded, onFocusSection, onSetAllExpanded, }: { openSectionCount: number; providerCount: number; modelCount: number; overviewItems: LocalAiOverviewItem[]; quickLinks: LocalAiQuickLink[]; isSectionExpanded: (sectionKey: string) => boolean; onFocusSection: (sectionKey: string) => void; onSetAllExpanded: (expanded: boolean) => void; }) { return (
把商品策划、图像处理、3D/CAD、实时画布和开放 API 按运维任务重新归类。折叠状态会保留,常用模块可以保持展开。