🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
♻️ refactor: migrate ActionIcon, Avatar, Tag and Text to @lobehub/ui/base-ui (#18729)
Inneif32a4eb9c52e
diff --git a/apps/share/src/features/artifact/ArtifactShareChrome.tsx b/apps/share/src/features/artifact/ArtifactShareChrome.tsxindex 04eea2209fd..a5e45d83a45 100644--- a/apps/share/src/features/artifact/ArtifactShareChrome.tsx+++ b/apps/share/src/features/artifact/ArtifactShareChrome.tsx@@ -1,7 +1,7 @@'use client';-import { copyToClipboard, Flexbox, Text } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { copyToClipboard, Flexbox } from '@lobehub/ui';+import { Button, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { useTranslation } from 'react-i18next';diff --git a/apps/share/src/features/topic/SharedMessageList.tsx b/apps/share/src/features/topic/SharedMessageList.tsxindex 52d1ba8e521..dd55b60902c 100644--- a/apps/share/src/features/topic/SharedMessageList.tsx+++ b/apps/share/src/features/topic/SharedMessageList.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, type ReactNode, useCallback, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/apps/share/src/features/topic/TopicAvatar.tsx b/apps/share/src/features/topic/TopicAvatar.tsxindex 36cf5052fec..07f3b574013 100644--- a/apps/share/src/features/topic/TopicAvatar.tsx+++ b/apps/share/src/features/topic/TopicAvatar.tsx@@ -1,4 +1,4 @@-import { Avatar } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { memo, useMemo } from 'react';import { DEFAULT_AVATAR, DEFAULT_INBOX_AVATAR } from '@/const/meta';diff --git a/apps/workbench/src/features/acceptance/AcceptanceDetail.tsx b/apps/workbench/src/features/acceptance/AcceptanceDetail.tsxindex 7aa36ea028e..a008b248bb7 100644--- a/apps/workbench/src/features/acceptance/AcceptanceDetail.tsx+++ b/apps/workbench/src/features/acceptance/AcceptanceDetail.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { useParams } from 'react-router';diff --git a/package.json b/package.jsonindex c5ed80ff942..30f1f053913 100644--- a/package.json+++ b/package.json@@ -308,7 +308,7 @@"@lobehub/icons": "^5.15.0","@lobehub/market-sdk": "0.39.2","@lobehub/tts": "^5.1.2",- "@lobehub/ui": "^5.32.7",+ "@lobehub/ui": "^5.33.1","@modelcontextprotocol/sdk": "^1.30.0","@neondatabase/serverless": "^1.1.0","@next/third-parties": "^16.3.0",diff --git a/packages/builtin-tool-activator/src/client/Inspector/ActivateTools/index.tsx b/packages/builtin-tool-activator/src/client/Inspector/ActivateTools/index.tsxindex c3b08d0d168..c7811faac32 100644--- a/packages/builtin-tool-activator/src/client/Inspector/ActivateTools/index.tsx+++ b/packages/builtin-tool-activator/src/client/Inspector/ActivateTools/index.tsx@@ -1,7 +1,8 @@'use client';import { type BuiltinInspectorProps } from '@lobechat/types';-import { Avatar, Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { AlertTriangle } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-agent-builder/src/client/Inspector/SearchMarketTools/index.tsx b/packages/builtin-tool-agent-builder/src/client/Inspector/SearchMarketTools/index.tsxindex 7547e8e3163..07e4a4e31e8 100644--- a/packages/builtin-tool-agent-builder/src/client/Inspector/SearchMarketTools/index.tsx+++ b/packages/builtin-tool-agent-builder/src/client/Inspector/SearchMarketTools/index.tsx@@ -1,7 +1,7 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar, cx } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-agent-builder/src/client/Inspector/UpdatePrompt/index.tsx b/packages/builtin-tool-agent-builder/src/client/Inspector/UpdatePrompt/index.tsxindex b5be766dea9..8740d892220 100644--- a/packages/builtin-tool-agent-builder/src/client/Inspector/UpdatePrompt/index.tsx+++ b/packages/builtin-tool-agent-builder/src/client/Inspector/UpdatePrompt/index.tsx@@ -1,7 +1,7 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { Check } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/packages/builtin-tool-agent-builder/src/client/Intervention/InstallPlugin.tsx b/packages/builtin-tool-agent-builder/src/client/Intervention/InstallPlugin.tsxindex cc8f78142ee..d21a5c6bb2d 100644--- a/packages/builtin-tool-agent-builder/src/client/Intervention/InstallPlugin.tsx+++ b/packages/builtin-tool-agent-builder/src/client/Intervention/InstallPlugin.tsx@@ -2,7 +2,8 @@import { COMPOSIO_APP_TYPES, LOBEHUB_SKILL_PROVIDERS } from '@lobechat/const';import type { BuiltinInterventionProps } from '@lobechat/types';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { CheckCircle } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-agent-builder/src/client/Render/GetAvailableModels.tsx b/packages/builtin-tool-agent-builder/src/client/Render/GetAvailableModels.tsxindex 0dfd1207ead..47a7a48b121 100644--- a/packages/builtin-tool-agent-builder/src/client/Render/GetAvailableModels.tsx+++ b/packages/builtin-tool-agent-builder/src/client/Render/GetAvailableModels.tsx@@ -1,5 +1,6 @@import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { memo } from 'react';import type { GetAvailableModelsParams, GetAvailableModelsState } from '../../types';diff --git a/packages/builtin-tool-agent-builder/src/client/Render/SearchMarketTools.tsx b/packages/builtin-tool-agent-builder/src/client/Render/SearchMarketTools.tsxindex c7f5603a85f..76214b35d29 100644--- a/packages/builtin-tool-agent-builder/src/client/Render/SearchMarketTools.tsx+++ b/packages/builtin-tool-agent-builder/src/client/Render/SearchMarketTools.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Avatar, Button, Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, Button, Tag } from '@lobehub/ui/base-ui';import { CheckCircle, Download, Package, Search } from 'lucide-react';import { memo, useState } from 'react';@@ -108,7 +109,7 @@ const ToolItem = memo<ToolItemProps>(({ tool }) => {<span style={{ fontSize: 12 }}>Installed</span></Flexbox>) : isInstalling ? (- <Button size="small" variant="filled" onClick={handleCancel}>+ <Button size="small" type="fill" onClick={handleCancel}>Cancel</Button>) : (diff --git a/packages/builtin-tool-agent-documents/src/client/Render/CreateDocument/DocumentCard.tsx b/packages/builtin-tool-agent-documents/src/client/Render/CreateDocument/DocumentCard.tsxindex b9f3ed4ade3..835fab79cc0 100644--- a/packages/builtin-tool-agent-documents/src/client/Render/CreateDocument/DocumentCard.tsx+++ b/packages/builtin-tool-agent-documents/src/client/Render/CreateDocument/DocumentCard.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, CopyButton, Flexbox, Markdown, ScrollShadow, TooltipGroup } from '@lobehub/ui';-import { Button } from 'antd';+import { CopyButton, Flexbox, Markdown, ScrollShadow, TooltipGroup } from '@lobehub/ui';+import { ActionIcon, Button } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { FileTextIcon, Maximize2, Minimize2, PencilLine } from 'lucide-react';import { memo } from 'react';@@ -112,10 +112,9 @@ const DocumentCard = memo<DocumentCardProps>(({ content, documentId, title }) =>{documentId && (<ButtonclassName={styles.expandButton}- color={'default'}icon={isExpanded ? <Minimize2 size={14} /> : <Maximize2 size={14} />}shape={'round'}- variant={'outlined'}+ type={'default'}onClick={handleToggle}>{isExpandeddiff --git a/packages/builtin-tool-agent-management/src/client/Inspector/CallAgent/index.tsx b/packages/builtin-tool-agent-management/src/client/Inspector/CallAgent/index.tsxindex 59e91b2df75..44e028a3d54 100644--- a/packages/builtin-tool-agent-management/src/client/Inspector/CallAgent/index.tsx+++ b/packages/builtin-tool-agent-management/src/client/Inspector/CallAgent/index.tsx@@ -2,7 +2,8 @@import { DEFAULT_AVATAR } from '@lobechat/const';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cx, useTheme } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-agent-management/src/client/Inspector/CreateAgent/index.tsx b/packages/builtin-tool-agent-management/src/client/Inspector/CreateAgent/index.tsxindex af0661622e3..09ebf713676 100644--- a/packages/builtin-tool-agent-management/src/client/Inspector/CreateAgent/index.tsx+++ b/packages/builtin-tool-agent-management/src/client/Inspector/CreateAgent/index.tsx@@ -2,7 +2,8 @@import { DEFAULT_AVATAR } from '@lobechat/const';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cx, useTheme } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-agent-management/src/client/Inspector/GetAgentDetail/index.tsx b/packages/builtin-tool-agent-management/src/client/Inspector/GetAgentDetail/index.tsxindex 9913c15579b..42738e4804d 100644--- a/packages/builtin-tool-agent-management/src/client/Inspector/GetAgentDetail/index.tsx+++ b/packages/builtin-tool-agent-management/src/client/Inspector/GetAgentDetail/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Avatar, Flexbox, Tooltip } from '@lobehub/ui';+import { Flexbox, Tooltip } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-agent-management/src/client/Render/CreateAgent/index.tsx b/packages/builtin-tool-agent-management/src/client/Render/CreateAgent/index.tsxindex 7c1264c1b43..dc05c299975 100644--- a/packages/builtin-tool-agent-management/src/client/Render/CreateAgent/index.tsx+++ b/packages/builtin-tool-agent-management/src/client/Render/CreateAgent/index.tsx@@ -2,7 +2,8 @@import { AGENT_CHAT_URL } from '@lobechat/const';import type { BuiltinRenderProps } from '@lobechat/types';-import { Avatar, Block, Flexbox, Markdown, Tag } from '@lobehub/ui';+import { Block, Flexbox, Markdown } from '@lobehub/ui';+import { Avatar, Tag } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ArrowRight } from 'lucide-react';import { memo, useCallback } from 'react';diff --git a/packages/builtin-tool-agent-management/src/client/Render/GetAgentDetail/index.tsx b/packages/builtin-tool-agent-management/src/client/Render/GetAgentDetail/index.tsxindex e45162ecca6..a3e5d2abaa6 100644--- a/packages/builtin-tool-agent-management/src/client/Render/GetAgentDetail/index.tsx+++ b/packages/builtin-tool-agent-management/src/client/Render/GetAgentDetail/index.tsx@@ -2,7 +2,8 @@import { DEFAULT_AVATAR } from '@lobechat/const';import type { BuiltinRenderProps } from '@lobechat/types';-import { Avatar, Block, Flexbox, Markdown, Tag } from '@lobehub/ui';+import { Block, Flexbox, Markdown } from '@lobehub/ui';+import { Avatar, Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, useTheme } from 'antd-style';import { memo } from 'react';diff --git a/packages/builtin-tool-agent-management/src/client/Render/InstallPlugin/index.tsx b/packages/builtin-tool-agent-management/src/client/Render/InstallPlugin/index.tsxindex abe4c37258f..aca15b48b2b 100644--- a/packages/builtin-tool-agent-management/src/client/Render/InstallPlugin/index.tsx+++ b/packages/builtin-tool-agent-management/src/client/Render/InstallPlugin/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-agent-management/src/client/Render/SearchAgent/index.tsx b/packages/builtin-tool-agent-management/src/client/Render/SearchAgent/index.tsxindex 8e0ec597a96..23189066b65 100644--- a/packages/builtin-tool-agent-management/src/client/Render/SearchAgent/index.tsx+++ b/packages/builtin-tool-agent-management/src/client/Render/SearchAgent/index.tsx@@ -3,7 +3,8 @@import { DEFAULT_AVATAR } from '@lobechat/const';import { HETEROGENEOUS_TYPE_LABELS } from '@lobechat/heterogeneous-agents';import type { BuiltinRenderProps } from '@lobechat/types';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, useTheme } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-agent-management/src/client/Streaming/CreateAgent/index.tsx b/packages/builtin-tool-agent-management/src/client/Streaming/CreateAgent/index.tsxindex 8c69f2dae67..47595b4930a 100644--- a/packages/builtin-tool-agent-management/src/client/Streaming/CreateAgent/index.tsx+++ b/packages/builtin-tool-agent-management/src/client/Streaming/CreateAgent/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinStreamingProps } from '@lobechat/types';-import { Block, Flexbox, Markdown, Tag } from '@lobehub/ui';+import { Block, Flexbox, Markdown } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';diff --git a/packages/builtin-tool-browser/src/client/Render/PageAction.tsx b/packages/builtin-tool-browser/src/client/Render/PageAction.tsxindex cbf3dd0547c..1757b068bf8 100644--- a/packages/builtin-tool-browser/src/client/Render/PageAction.tsx+++ b/packages/builtin-tool-browser/src/client/Render/PageAction.tsx@@ -1,5 +1,6 @@import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Globe } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-browser/src/client/Render/Snapshot.tsx b/packages/builtin-tool-browser/src/client/Render/Snapshot.tsxindex 7366c444d8f..79bcb9bf43f 100644--- a/packages/builtin-tool-browser/src/client/Render/Snapshot.tsx+++ b/packages/builtin-tool-browser/src/client/Render/Snapshot.tsx@@ -1,5 +1,6 @@import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ScanText } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-claude-code/src/client/Render/Agent/index.tsx b/packages/builtin-tool-claude-code/src/client/Render/Agent/index.tsxindex f6011ca1fa6..04aa227b475 100644--- a/packages/builtin-tool-claude-code/src/client/Render/Agent/index.tsx+++ b/packages/builtin-tool-claude-code/src/client/Render/Agent/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Button, Flexbox, Markdown, Text } from '@lobehub/ui';+import { Flexbox, Markdown } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ListTree } from 'lucide-react';import { memo, useCallback } from 'react';diff --git a/packages/builtin-tool-claude-code/src/client/Render/BrowserMcp.tsx b/packages/builtin-tool-claude-code/src/client/Render/BrowserMcp.tsxindex 10db40868db..7474cd49416 100644--- a/packages/builtin-tool-claude-code/src/client/Render/BrowserMcp.tsx+++ b/packages/builtin-tool-claude-code/src/client/Render/BrowserMcp.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRender, BuiltinRenderProps } from '@lobechat/types';-import { Block, Flexbox, Highlighter, Image, PreviewGroup, Text } from '@lobehub/ui';+import { Block, Flexbox, Highlighter, Image, PreviewGroup } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Globe } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-claude-code/src/client/Render/SendMessage/index.tsx b/packages/builtin-tool-claude-code/src/client/Render/SendMessage/index.tsxindex c3c17af042e..043ab21df7a 100644--- a/packages/builtin-tool-claude-code/src/client/Render/SendMessage/index.tsx+++ b/packages/builtin-tool-claude-code/src/client/Render/SendMessage/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Icon, Markdown, Text } from '@lobehub/ui';+import { Flexbox, Icon, Markdown } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { CircleCheckBig, SendHorizontal } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-claude-code/src/client/Render/Skill/index.tsx b/packages/builtin-tool-claude-code/src/client/Render/Skill/index.tsxindex 0300b7cecfb..de11045d284 100644--- a/packages/builtin-tool-claude-code/src/client/Render/Skill/index.tsx+++ b/packages/builtin-tool-claude-code/src/client/Render/Skill/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Icon, Markdown, Text } from '@lobehub/ui';+import { Flexbox, Icon, Markdown } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Sparkles } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-claude-code/src/client/Render/WebSearch/index.tsx b/packages/builtin-tool-claude-code/src/client/Render/WebSearch/index.tsxindex c6d112da2a6..1b3bdcd1b2b 100644--- a/packages/builtin-tool-claude-code/src/client/Render/WebSearch/index.tsx+++ b/packages/builtin-tool-claude-code/src/client/Render/WebSearch/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Highlighter, Text } from '@lobehub/ui';+import { Flexbox, Highlighter } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';diff --git a/packages/builtin-tool-claude-code/src/client/Streaming/Agent/index.tsx b/packages/builtin-tool-claude-code/src/client/Streaming/Agent/index.tsxindex cbe2da9f6c1..c2121aa7092 100644--- a/packages/builtin-tool-claude-code/src/client/Streaming/Agent/index.tsx+++ b/packages/builtin-tool-claude-code/src/client/Streaming/Agent/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinStreamingProps } from '@lobechat/types';-import { Button, Flexbox, Markdown, Text } from '@lobehub/ui';+import { Flexbox, Markdown } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ListTree } from 'lucide-react';import { memo, useCallback } from 'react';diff --git a/packages/builtin-tool-cloud-sandbox/src/client/Intervention/EditLocalFile/index.tsx b/packages/builtin-tool-cloud-sandbox/src/client/Intervention/EditLocalFile/index.tsxindex b804d5c9219..1516cc9c9d3 100644--- a/packages/builtin-tool-cloud-sandbox/src/client/Intervention/EditLocalFile/index.tsx+++ b/packages/builtin-tool-cloud-sandbox/src/client/Intervention/EditLocalFile/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInterventionProps } from '@lobechat/types';-import { Flexbox, Highlighter, Text } from '@lobehub/ui';+import { Flexbox, Highlighter } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';interface EditLocalFileParams {diff --git a/packages/builtin-tool-cloud-sandbox/src/client/Intervention/ExecuteCode/index.tsx b/packages/builtin-tool-cloud-sandbox/src/client/Intervention/ExecuteCode/index.tsxindex 3c6442df4b1..0d18025769d 100644--- a/packages/builtin-tool-cloud-sandbox/src/client/Intervention/ExecuteCode/index.tsx+++ b/packages/builtin-tool-cloud-sandbox/src/client/Intervention/ExecuteCode/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInterventionProps } from '@lobechat/types';-import { Flexbox, Highlighter, Text } from '@lobehub/ui';+import { Flexbox, Highlighter } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';interface ExecuteCodeParams {diff --git a/packages/builtin-tool-cloud-sandbox/src/client/Intervention/MoveLocalFiles/index.tsx b/packages/builtin-tool-cloud-sandbox/src/client/Intervention/MoveLocalFiles/index.tsxindex 586bc7a94c4..08b67ea59d3 100644--- a/packages/builtin-tool-cloud-sandbox/src/client/Intervention/MoveLocalFiles/index.tsx+++ b/packages/builtin-tool-cloud-sandbox/src/client/Intervention/MoveLocalFiles/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInterventionProps } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { ArrowRight } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-cloud-sandbox/src/client/Intervention/RunCommand/index.tsx b/packages/builtin-tool-cloud-sandbox/src/client/Intervention/RunCommand/index.tsxindex 7b81c6c5839..add438695c6 100644--- a/packages/builtin-tool-cloud-sandbox/src/client/Intervention/RunCommand/index.tsx+++ b/packages/builtin-tool-cloud-sandbox/src/client/Intervention/RunCommand/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInterventionProps } from '@lobechat/types';-import { Flexbox, Highlighter, Text } from '@lobehub/ui';+import { Flexbox, Highlighter } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';interface RunCommandParams {diff --git a/packages/builtin-tool-cloud-sandbox/src/client/Intervention/WriteFile/index.tsx b/packages/builtin-tool-cloud-sandbox/src/client/Intervention/WriteFile/index.tsxindex ea3e52f2ec9..55db90ee6c7 100644--- a/packages/builtin-tool-cloud-sandbox/src/client/Intervention/WriteFile/index.tsx+++ b/packages/builtin-tool-cloud-sandbox/src/client/Intervention/WriteFile/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInterventionProps } from '@lobechat/types';-import { Flexbox, Highlighter, Text } from '@lobehub/ui';+import { Flexbox, Highlighter } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';interface WriteLocalFileParams {diff --git a/packages/builtin-tool-cloud-sandbox/src/client/Render/ExportFile/index.tsx b/packages/builtin-tool-cloud-sandbox/src/client/Render/ExportFile/index.tsxindex 4f391e143da..01771bb0f42 100644--- a/packages/builtin-tool-cloud-sandbox/src/client/Render/ExportFile/index.tsx+++ b/packages/builtin-tool-cloud-sandbox/src/client/Render/ExportFile/index.tsx@@ -2,7 +2,8 @@import { CheckCircleFilled, CloseCircleFilled, DownloadOutlined } from '@ant-design/icons';import type { BuiltinRenderProps } from '@lobechat/types';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo, useCallback } from 'react';diff --git a/packages/builtin-tool-group-agent-builder/src/client/Inspector/BatchCreateAgents/index.tsx b/packages/builtin-tool-group-agent-builder/src/client/Inspector/BatchCreateAgents/index.tsxindex 8229932bcf0..3f8dd94256c 100644--- a/packages/builtin-tool-group-agent-builder/src/client/Inspector/BatchCreateAgents/index.tsx+++ b/packages/builtin-tool-group-agent-builder/src/client/Inspector/BatchCreateAgents/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { Check } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/packages/builtin-tool-group-agent-builder/src/client/Inspector/CreateAgent/index.tsx b/packages/builtin-tool-group-agent-builder/src/client/Inspector/CreateAgent/index.tsxindex 10bd0a007ef..d1227d5066f 100644--- a/packages/builtin-tool-group-agent-builder/src/client/Inspector/CreateAgent/index.tsx+++ b/packages/builtin-tool-group-agent-builder/src/client/Inspector/CreateAgent/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { Check } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-group-agent-builder/src/client/Inspector/CreateGroup/index.tsx b/packages/builtin-tool-group-agent-builder/src/client/Inspector/CreateGroup/index.tsxindex ece45d26eb9..d71fcd7ca5f 100644--- a/packages/builtin-tool-group-agent-builder/src/client/Inspector/CreateGroup/index.tsx+++ b/packages/builtin-tool-group-agent-builder/src/client/Inspector/CreateGroup/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { Check } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-group-agent-builder/src/client/Inspector/GetAgentInfo/index.tsx b/packages/builtin-tool-group-agent-builder/src/client/Inspector/GetAgentInfo/index.tsxindex de3cafb2779..999aed1149b 100644--- a/packages/builtin-tool-group-agent-builder/src/client/Inspector/GetAgentInfo/index.tsx+++ b/packages/builtin-tool-group-agent-builder/src/client/Inspector/GetAgentInfo/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-group-agent-builder/src/client/Inspector/InviteAgent/index.tsx b/packages/builtin-tool-group-agent-builder/src/client/Inspector/InviteAgent/index.tsxindex bee0081999c..308306e2020 100644--- a/packages/builtin-tool-group-agent-builder/src/client/Inspector/InviteAgent/index.tsx+++ b/packages/builtin-tool-group-agent-builder/src/client/Inspector/InviteAgent/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { Check } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-group-agent-builder/src/client/Inspector/RemoveAgent/index.tsx b/packages/builtin-tool-group-agent-builder/src/client/Inspector/RemoveAgent/index.tsxindex 366d3ddd19c..704fc24fd7f 100644--- a/packages/builtin-tool-group-agent-builder/src/client/Inspector/RemoveAgent/index.tsx+++ b/packages/builtin-tool-group-agent-builder/src/client/Inspector/RemoveAgent/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { Check } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-group-agent-builder/src/client/Inspector/SearchAgent/index.tsx b/packages/builtin-tool-group-agent-builder/src/client/Inspector/SearchAgent/index.tsxindex 654cec92f65..d810afcd0d1 100644--- a/packages/builtin-tool-group-agent-builder/src/client/Inspector/SearchAgent/index.tsx+++ b/packages/builtin-tool-group-agent-builder/src/client/Inspector/SearchAgent/index.tsx@@ -1,7 +1,7 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar, cx } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-group-agent-builder/src/client/Inspector/UpdateAgentPrompt/index.tsx b/packages/builtin-tool-group-agent-builder/src/client/Inspector/UpdateAgentPrompt/index.tsxindex 6e50e050833..a5f49617e00 100644--- a/packages/builtin-tool-group-agent-builder/src/client/Inspector/UpdateAgentPrompt/index.tsx+++ b/packages/builtin-tool-group-agent-builder/src/client/Inspector/UpdateAgentPrompt/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Avatar, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-group-agent-builder/src/client/Inspector/UpdateGroupPrompt/index.tsx b/packages/builtin-tool-group-agent-builder/src/client/Inspector/UpdateGroupPrompt/index.tsxindex 14d2815914e..7091180b493 100644--- a/packages/builtin-tool-group-agent-builder/src/client/Inspector/UpdateGroupPrompt/index.tsx+++ b/packages/builtin-tool-group-agent-builder/src/client/Inspector/UpdateGroupPrompt/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-group-agent-builder/src/client/Render/BatchCreateAgents.tsx b/packages/builtin-tool-group-agent-builder/src/client/Render/BatchCreateAgents.tsxindex 8cb7203ad95..21591ca56b7 100644--- a/packages/builtin-tool-group-agent-builder/src/client/Render/BatchCreateAgents.tsx+++ b/packages/builtin-tool-group-agent-builder/src/client/Render/BatchCreateAgents.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Users } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-group-agent-builder/src/client/Streaming/BatchCreateAgents/index.tsx b/packages/builtin-tool-group-agent-builder/src/client/Streaming/BatchCreateAgents/index.tsxindex 0633071dafc..f3b1a0e82f4 100644--- a/packages/builtin-tool-group-agent-builder/src/client/Streaming/BatchCreateAgents/index.tsx+++ b/packages/builtin-tool-group-agent-builder/src/client/Streaming/BatchCreateAgents/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinStreamingProps } from '@lobechat/types';-import { Avatar, Block, Flexbox, Markdown } from '@lobehub/ui';+import { Block, Flexbox, Markdown } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { createStaticStyles } from 'antd-style';import { memo } from 'react';diff --git a/packages/builtin-tool-group-management/src/client/Inspector/Broadcast/index.tsx b/packages/builtin-tool-group-management/src/client/Inspector/Broadcast/index.tsxindex f082e9a90b7..4b657df45da 100644--- a/packages/builtin-tool-group-management/src/client/Inspector/Broadcast/index.tsx+++ b/packages/builtin-tool-group-management/src/client/Inspector/Broadcast/index.tsx@@ -2,7 +2,8 @@import { DEFAULT_AVATAR } from '@lobechat/const';import type { AgentGroupMember, BuiltinInspectorProps } from '@lobechat/types';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cx, useTheme } from 'antd-style';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-group-management/src/client/Inspector/ExecuteAgentTask/index.tsx b/packages/builtin-tool-group-management/src/client/Inspector/ExecuteAgentTask/index.tsxindex 543a65670fc..e013f4dd64a 100644--- a/packages/builtin-tool-group-management/src/client/Inspector/ExecuteAgentTask/index.tsx+++ b/packages/builtin-tool-group-management/src/client/Inspector/ExecuteAgentTask/index.tsx@@ -2,7 +2,8 @@import { DEFAULT_AVATAR } from '@lobechat/const';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cx, useTheme } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-group-management/src/client/Inspector/ExecuteAgentTasks/index.tsx b/packages/builtin-tool-group-management/src/client/Inspector/ExecuteAgentTasks/index.tsxindex 7a2cd301aec..f1d234d1ba7 100644--- a/packages/builtin-tool-group-management/src/client/Inspector/ExecuteAgentTasks/index.tsx+++ b/packages/builtin-tool-group-management/src/client/Inspector/ExecuteAgentTasks/index.tsx@@ -3,7 +3,8 @@import { DEFAULT_AVATAR } from '@lobechat/const';import type { AgentGroupMember, BuiltinInspectorProps } from '@lobechat/types';import { safeParsePartialJSON } from '@lobechat/utils';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cx, useTheme } from 'antd-style';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-group-management/src/client/Inspector/Speak/index.tsx b/packages/builtin-tool-group-management/src/client/Inspector/Speak/index.tsxindex 69d41808dfc..2242bd54659 100644--- a/packages/builtin-tool-group-management/src/client/Inspector/Speak/index.tsx+++ b/packages/builtin-tool-group-management/src/client/Inspector/Speak/index.tsx@@ -2,7 +2,8 @@import { DEFAULT_AVATAR } from '@lobechat/const';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cx, useTheme } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-group-management/src/client/Intervention/ExecuteTask.tsx b/packages/builtin-tool-group-management/src/client/Intervention/ExecuteTask.tsxindex 76a27ccf2cc..fbbafac396e 100644--- a/packages/builtin-tool-group-management/src/client/Intervention/ExecuteTask.tsx+++ b/packages/builtin-tool-group-management/src/client/Intervention/ExecuteTask.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInterventionProps } from '@lobechat/types';-import { Avatar, Flexbox, Tooltip } from '@lobehub/ui';+import { Flexbox, Tooltip } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { Input, InputNumber } from 'antd';import { createStaticStyles } from 'antd-style';import isEqual from 'fast-deep-equal';diff --git a/packages/builtin-tool-group-management/src/client/Render/ExecuteTask/index.tsx b/packages/builtin-tool-group-management/src/client/Render/ExecuteTask/index.tsxindex e3e3deec5fb..d2e0d215e2b 100644--- a/packages/builtin-tool-group-management/src/client/Render/ExecuteTask/index.tsx+++ b/packages/builtin-tool-group-management/src/client/Render/ExecuteTask/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Clock } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-group-management/src/client/Render/ExecuteTasks/index.tsx b/packages/builtin-tool-group-management/src/client/Render/ExecuteTasks/index.tsxindex 5a69dbcbe60..887f53c26c9 100644--- a/packages/builtin-tool-group-management/src/client/Render/ExecuteTasks/index.tsx+++ b/packages/builtin-tool-group-management/src/client/Render/ExecuteTasks/index.tsx@@ -2,7 +2,8 @@import { DEFAULT_AVATAR } from '@lobechat/const';import type { AgentGroupMember, BuiltinRenderProps } from '@lobechat/types';-import { Accordion, AccordionItem, Avatar, Block, Flexbox, Markdown, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Block, Flexbox, Markdown } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, useTheme } from 'antd-style';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-group-management/src/client/Streaming/ExecuteTask/index.tsx b/packages/builtin-tool-group-management/src/client/Streaming/ExecuteTask/index.tsxindex 31a870848fe..46a5b36c5c8 100644--- a/packages/builtin-tool-group-management/src/client/Streaming/ExecuteTask/index.tsx+++ b/packages/builtin-tool-group-management/src/client/Streaming/ExecuteTask/index.tsx@@ -2,7 +2,8 @@import { DEFAULT_AVATAR } from '@lobechat/const';import type { BuiltinStreamingProps } from '@lobechat/types';-import { Avatar, Flexbox, Markdown } from '@lobehub/ui';+import { Flexbox, Markdown } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, useTheme } from 'antd-style';import { memo } from 'react';diff --git a/packages/builtin-tool-group-management/src/client/Streaming/ExecuteTasks/index.tsx b/packages/builtin-tool-group-management/src/client/Streaming/ExecuteTasks/index.tsxindex b30a1a16257..580554bf72a 100644--- a/packages/builtin-tool-group-management/src/client/Streaming/ExecuteTasks/index.tsx+++ b/packages/builtin-tool-group-management/src/client/Streaming/ExecuteTasks/index.tsx@@ -2,7 +2,8 @@import { DEFAULT_AVATAR } from '@lobechat/const';import type { AgentGroupMember, BuiltinStreamingProps } from '@lobechat/types';-import { Avatar, Flexbox, Markdown } from '@lobehub/ui';+import { Flexbox, Markdown } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, useTheme } from 'antd-style';import { memo, useMemo } from 'react';diff --git a/packages/builtin-tool-image-generation/src/client/Render/GenerateImage.tsx b/packages/builtin-tool-image-generation/src/client/Render/GenerateImage.tsxindex 067282e6dbe..1ad0d1dccb5 100644--- a/packages/builtin-tool-image-generation/src/client/Render/GenerateImage.tsx+++ b/packages/builtin-tool-image-generation/src/client/Render/GenerateImage.tsx@@ -1,8 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Block, Text } from '@lobehub/ui';-import { Alert, Button } from '@lobehub/ui/base-ui';+import { Block } from '@lobehub/ui';+import { Alert, Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo, useCallback, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-image-generation/src/client/Render/GetImageGenerationStatus.tsx b/packages/builtin-tool-image-generation/src/client/Render/GetImageGenerationStatus.tsxindex a1945cba032..447929c404b 100644--- a/packages/builtin-tool-image-generation/src/client/Render/GetImageGenerationStatus.tsx+++ b/packages/builtin-tool-image-generation/src/client/Render/GetImageGenerationStatus.tsx@@ -1,8 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Block, Text } from '@lobehub/ui';-import { Alert } from '@lobehub/ui/base-ui';+import { Block } from '@lobehub/ui';+import { Alert, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-image-generation/src/client/Render/GetImageModelParameters.tsx b/packages/builtin-tool-image-generation/src/client/Render/GetImageModelParameters.tsxindex 4ee8bc570c2..991fa5e53be 100644--- a/packages/builtin-tool-image-generation/src/client/Render/GetImageModelParameters.tsx+++ b/packages/builtin-tool-image-generation/src/client/Render/GetImageModelParameters.tsx@@ -1,8 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Block, Flexbox, Text } from '@lobehub/ui';-import { Alert } from '@lobehub/ui/base-ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Alert, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-image-generation/src/client/Render/ListImageModels.tsx b/packages/builtin-tool-image-generation/src/client/Render/ListImageModels.tsxindex 281e946b902..7ca488599ba 100644--- a/packages/builtin-tool-image-generation/src/client/Render/ListImageModels.tsx+++ b/packages/builtin-tool-image-generation/src/client/Render/ListImageModels.tsx@@ -1,8 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Block, Flexbox, Text } from '@lobehub/ui';-import { Alert, Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Alert, Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { ChevronDown, ChevronUp } from 'lucide-react';import { memo, useState } from 'react';diff --git a/packages/builtin-tool-knowledge-base/src/client/Inspector/SearchKnowledgeBase/index.tsx b/packages/builtin-tool-knowledge-base/src/client/Inspector/SearchKnowledgeBase/index.tsxindex 70dfa733af8..117e03bf95a 100644--- a/packages/builtin-tool-knowledge-base/src/client/Inspector/SearchKnowledgeBase/index.tsx+++ b/packages/builtin-tool-knowledge-base/src/client/Inspector/SearchKnowledgeBase/index.tsx@@ -1,7 +1,7 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar, cx } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-knowledge-base/src/client/Render/ReadKnowledge/FileCard.tsx b/packages/builtin-tool-knowledge-base/src/client/Render/ReadKnowledge/FileCard.tsxindex 515d2b55e14..0a758d67888 100644--- a/packages/builtin-tool-knowledge-base/src/client/Render/ReadKnowledge/FileCard.tsx+++ b/packages/builtin-tool-knowledge-base/src/client/Render/ReadKnowledge/FileCard.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, MaterialFileTypeIcon, Text } from '@lobehub/ui';-import { Alert } from '@lobehub/ui/base-ui';+import { Flexbox, MaterialFileTypeIcon } from '@lobehub/ui';+import { Alert, Text } from '@lobehub/ui/base-ui';import { Descriptions } from 'antd';import { createStaticStyles } from 'antd-style';import { memo } from 'react';diff --git a/packages/builtin-tool-knowledge-base/src/client/Render/SearchKnowledgeBase/Item/index.tsx b/packages/builtin-tool-knowledge-base/src/client/Render/SearchKnowledgeBase/Item/index.tsxindex 9c6ab412256..39ff0c7ad31 100644--- a/packages/builtin-tool-knowledge-base/src/client/Render/SearchKnowledgeBase/Item/index.tsx+++ b/packages/builtin-tool-knowledge-base/src/client/Render/SearchKnowledgeBase/Item/index.tsx@@ -1,7 +1,8 @@'use client';import type { FileSearchResult } from '@lobechat/types';-import { Center, Flexbox, MaterialFileTypeIcon, Text, Tooltip } from '@lobehub/ui';+import { Center, Flexbox, MaterialFileTypeIcon, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cx } from 'antd-style';import { useTheme } from 'next-themes';import { memo } from 'react';diff --git a/packages/builtin-tool-lobe-agent/src/client/Inspector/AnalyzeMedia/index.tsx b/packages/builtin-tool-lobe-agent/src/client/Inspector/AnalyzeMedia/index.tsxindex 5a8c105d110..78c4c1984c2 100644--- a/packages/builtin-tool-lobe-agent/src/client/Inspector/AnalyzeMedia/index.tsx+++ b/packages/builtin-tool-lobe-agent/src/client/Inspector/AnalyzeMedia/index.tsx@@ -1,7 +1,7 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar, cx } from 'antd-style';import { memo } from 'react';import { Trans, useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-lobe-agent/src/client/Inspector/UpdatePlan/index.tsx b/packages/builtin-tool-lobe-agent/src/client/Inspector/UpdatePlan/index.tsxindex 9b2233a06b2..97546681eaf 100644--- a/packages/builtin-tool-lobe-agent/src/client/Inspector/UpdatePlan/index.tsx+++ b/packages/builtin-tool-lobe-agent/src/client/Inspector/UpdatePlan/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Icon, Text } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { CheckCircle, DiffIcon } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-lobe-agent/src/client/Render/CallSubAgent/index.tsx b/packages/builtin-tool-lobe-agent/src/client/Render/CallSubAgent/index.tsxindex 2ac000657e6..e83301ef5af 100644--- a/packages/builtin-tool-lobe-agent/src/client/Render/CallSubAgent/index.tsx+++ b/packages/builtin-tool-lobe-agent/src/client/Render/CallSubAgent/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Button, Flexbox, Markdown, Text } from '@lobehub/ui';+import { Flexbox, Markdown } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ListTree } from 'lucide-react';import { memo, useCallback } from 'react';diff --git a/packages/builtin-tool-lobe-agent/src/client/Render/CreatePlan/PlanCard.tsx b/packages/builtin-tool-lobe-agent/src/client/Render/CreatePlan/PlanCard.tsxindex e9de328f788..ca83ab10b6d 100644--- a/packages/builtin-tool-lobe-agent/src/client/Render/CreatePlan/PlanCard.tsx+++ b/packages/builtin-tool-lobe-agent/src/client/Render/CreatePlan/PlanCard.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Flexbox, Icon, Markdown, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon, Markdown } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ListChecksIcon } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-lobe-agent/src/client/Streaming/CreatePlan/index.tsx b/packages/builtin-tool-lobe-agent/src/client/Streaming/CreatePlan/index.tsxindex 10d692d73ba..f7d161c5420 100644--- a/packages/builtin-tool-lobe-agent/src/client/Streaming/CreatePlan/index.tsx+++ b/packages/builtin-tool-lobe-agent/src/client/Streaming/CreatePlan/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinStreamingProps } from '@lobechat/types';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ListChecksIcon } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-lobe-agent/src/client/components/SortableTodoList/AddItemRow.tsx b/packages/builtin-tool-lobe-agent/src/client/components/SortableTodoList/AddItemRow.tsxindex 6c9b4943262..841351d7ac0 100644--- a/packages/builtin-tool-lobe-agent/src/client/components/SortableTodoList/AddItemRow.tsx+++ b/packages/builtin-tool-lobe-agent/src/client/components/SortableTodoList/AddItemRow.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Flexbox, Input } from '@lobehub/ui';-import { Checkbox } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import { ActionIcon, Checkbox } from '@lobehub/ui/base-ui';import type { InputRef } from 'antd';import { createStaticStyles, cx } from 'antd-style';import { Plus } from 'lucide-react';diff --git a/packages/builtin-tool-lobe-agent/src/client/components/SortableTodoList/TodoItemRow.tsx b/packages/builtin-tool-lobe-agent/src/client/components/SortableTodoList/TodoItemRow.tsxindex eb219088817..0731a008267 100644--- a/packages/builtin-tool-lobe-agent/src/client/components/SortableTodoList/TodoItemRow.tsx+++ b/packages/builtin-tool-lobe-agent/src/client/components/SortableTodoList/TodoItemRow.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Flexbox, Icon, SortableList } from '@lobehub/ui';-import { Checkbox } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, SortableList } from '@lobehub/ui';+import { ActionIcon, Checkbox } from '@lobehub/ui/base-ui';import type { InputRef } from 'antd';import { Input } from 'antd';import { createStaticStyles, cssVar, cx } from 'antd-style';diff --git a/packages/builtin-tool-local-system/src/client/Intervention/EditLocalFile/index.tsx b/packages/builtin-tool-local-system/src/client/Intervention/EditLocalFile/index.tsxindex 3b17d4f7427..6639f113ecb 100644--- a/packages/builtin-tool-local-system/src/client/Intervention/EditLocalFile/index.tsx+++ b/packages/builtin-tool-local-system/src/client/Intervention/EditLocalFile/index.tsx@@ -1,7 +1,7 @@import type { EditLocalFileParams } from '@lobechat/electron-client-ipc';import type { BuiltinInterventionProps } from '@lobechat/types';-import { CodeDiff, Flexbox, Icon, Skeleton, Text } from '@lobehub/ui';-import { Alert } from '@lobehub/ui/base-ui';+import { CodeDiff, Flexbox, Icon, Skeleton } from '@lobehub/ui';+import { Alert, Text } from '@lobehub/ui/base-ui';import { ChevronRight } from 'lucide-react';import path from 'path-browserify-esm';import { memo, useMemo } from 'react';diff --git a/packages/builtin-tool-local-system/src/client/Intervention/GlobLocalFiles/index.tsx b/packages/builtin-tool-local-system/src/client/Intervention/GlobLocalFiles/index.tsxindex 138a8e45590..c6bcce2a537 100644--- a/packages/builtin-tool-local-system/src/client/Intervention/GlobLocalFiles/index.tsx+++ b/packages/builtin-tool-local-system/src/client/Intervention/GlobLocalFiles/index.tsx@@ -1,6 +1,7 @@-import { type GlobFilesParams } from '@lobechat/electron-client-ipc';-import { type BuiltinInterventionProps } from '@lobechat/types';-import { Flexbox, Highlighter, Text } from '@lobehub/ui';+import { type GlobFilesParams } from '@lobechat/electron-client-ipc';+import { type BuiltinInterventionProps } from '@lobechat/types';+import { Flexbox, Highlighter } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-local-system/src/client/Intervention/GrepContent/index.tsx b/packages/builtin-tool-local-system/src/client/Intervention/GrepContent/index.tsxindex 3500b5316c2..85a7d8d52c1 100644--- a/packages/builtin-tool-local-system/src/client/Intervention/GrepContent/index.tsx+++ b/packages/builtin-tool-local-system/src/client/Intervention/GrepContent/index.tsx@@ -1,6 +1,7 @@-import { type GrepContentParams } from '@lobechat/electron-client-ipc';-import { type BuiltinInterventionProps } from '@lobechat/types';-import { Flexbox, Highlighter, Text } from '@lobehub/ui';+import { type GrepContentParams } from '@lobechat/electron-client-ipc';+import { type BuiltinInterventionProps } from '@lobechat/types';+import { Flexbox, Highlighter } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-local-system/src/client/Intervention/MoveLocalFiles/MoveFileItem.tsx b/packages/builtin-tool-local-system/src/client/Intervention/MoveLocalFiles/MoveFileItem.tsxindex ccc47c34d56..ba98ab4d6ba 100644--- a/packages/builtin-tool-local-system/src/client/Intervention/MoveLocalFiles/MoveFileItem.tsx+++ b/packages/builtin-tool-local-system/src/client/Intervention/MoveLocalFiles/MoveFileItem.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ArrowRight } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-local-system/src/client/Intervention/MoveLocalFiles/index.tsx b/packages/builtin-tool-local-system/src/client/Intervention/MoveLocalFiles/index.tsxindex 56e13a2abb5..8630e070a00 100644--- a/packages/builtin-tool-local-system/src/client/Intervention/MoveLocalFiles/index.tsx+++ b/packages/builtin-tool-local-system/src/client/Intervention/MoveLocalFiles/index.tsx@@ -1,6 +1,7 @@import type { MoveLocalFilesParams } from '@lobechat/electron-client-ipc';import type { BuiltinInterventionProps } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-local-system/src/client/Intervention/ReadLocalFile/index.tsx b/packages/builtin-tool-local-system/src/client/Intervention/ReadLocalFile/index.tsxindex 5d97b79b1ba..81d9c2a1c25 100644--- a/packages/builtin-tool-local-system/src/client/Intervention/ReadLocalFile/index.tsx+++ b/packages/builtin-tool-local-system/src/client/Intervention/ReadLocalFile/index.tsx@@ -1,6 +1,7 @@import type { LocalReadFileParams } from '@lobechat/electron-client-ipc';import type { BuiltinInterventionProps } from '@lobechat/types';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { ChevronRight } from 'lucide-react';import path from 'path-browserify-esm';import { memo } from 'react';diff --git a/packages/builtin-tool-local-system/src/client/Intervention/RenameLocalFile/index.tsx b/packages/builtin-tool-local-system/src/client/Intervention/RenameLocalFile/index.tsxindex 131fe09e1fd..d44c66a2a63 100644--- a/packages/builtin-tool-local-system/src/client/Intervention/RenameLocalFile/index.tsx+++ b/packages/builtin-tool-local-system/src/client/Intervention/RenameLocalFile/index.tsx@@ -1,6 +1,7 @@import type { RenameLocalFileParams } from '@lobechat/electron-client-ipc';import type { BuiltinInterventionProps } from '@lobechat/types';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { ArrowRight, ChevronRight } from 'lucide-react';import path from 'path-browserify-esm';import { memo } from 'react';diff --git a/packages/builtin-tool-local-system/src/client/Intervention/RunCommand/index.tsx b/packages/builtin-tool-local-system/src/client/Intervention/RunCommand/index.tsxindex 0d4a52e2584..1850ac2ae9d 100644--- a/packages/builtin-tool-local-system/src/client/Intervention/RunCommand/index.tsx+++ b/packages/builtin-tool-local-system/src/client/Intervention/RunCommand/index.tsx@@ -1,6 +1,7 @@import type { RunCommandParams } from '@lobechat/electron-client-ipc';import type { BuiltinInterventionProps } from '@lobechat/types';-import { Flexbox, Highlighter, Text } from '@lobehub/ui';+import { Flexbox, Highlighter } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';const formatTimeout = (ms?: number) => {diff --git a/packages/builtin-tool-local-system/src/client/Intervention/SearchLocalFiles/index.tsx b/packages/builtin-tool-local-system/src/client/Intervention/SearchLocalFiles/index.tsxindex 1f6d3f4bbe9..2f2acea4f57 100644--- a/packages/builtin-tool-local-system/src/client/Intervention/SearchLocalFiles/index.tsx+++ b/packages/builtin-tool-local-system/src/client/Intervention/SearchLocalFiles/index.tsx@@ -1,6 +1,7 @@-import { type LocalSearchFilesParams } from '@lobechat/electron-client-ipc';-import { type BuiltinInterventionProps } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { type LocalSearchFilesParams } from '@lobechat/electron-client-ipc';+import { type BuiltinInterventionProps } from '@lobechat/types';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-local-system/src/client/Intervention/WriteFile/index.tsx b/packages/builtin-tool-local-system/src/client/Intervention/WriteFile/index.tsxindex 1a14e677bf8..da3612b90a4 100644--- a/packages/builtin-tool-local-system/src/client/Intervention/WriteFile/index.tsx+++ b/packages/builtin-tool-local-system/src/client/Intervention/WriteFile/index.tsx@@ -1,6 +1,7 @@import type { WriteLocalFileParams } from '@lobechat/electron-client-ipc';import type { BuiltinInterventionProps } from '@lobechat/types';-import { Flexbox, Highlighter, Icon, Text } from '@lobehub/ui';+import { Flexbox, Highlighter, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { ChevronRight } from 'lucide-react';import path from 'path-browserify-esm';import { memo, useMemo } from 'react';diff --git a/packages/builtin-tool-local-system/src/client/Render/MoveLocalFiles/MoveFileItem.tsx b/packages/builtin-tool-local-system/src/client/Render/MoveLocalFiles/MoveFileItem.tsxindex 4da1fd88b39..6304ea444b2 100644--- a/packages/builtin-tool-local-system/src/client/Render/MoveLocalFiles/MoveFileItem.tsx+++ b/packages/builtin-tool-local-system/src/client/Render/MoveLocalFiles/MoveFileItem.tsx@@ -1,5 +1,6 @@import { useToolRenderCapabilities } from '@lobechat/shared-tool-ui';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ArrowRight } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-local-system/src/client/Render/MoveLocalFiles/index.tsx b/packages/builtin-tool-local-system/src/client/Render/MoveLocalFiles/index.tsxindex 9062ef03054..b6b88bfa697 100644--- a/packages/builtin-tool-local-system/src/client/Render/MoveLocalFiles/index.tsx+++ b/packages/builtin-tool-local-system/src/client/Render/MoveLocalFiles/index.tsx@@ -1,5 +1,6 @@import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-local-system/src/client/Render/ReadLocalFile/ReadFileView.tsx b/packages/builtin-tool-local-system/src/client/Render/ReadLocalFile/ReadFileView.tsxindex 95108c0db56..70fe3776aa9 100644--- a/packages/builtin-tool-local-system/src/client/Render/ReadLocalFile/ReadFileView.tsx+++ b/packages/builtin-tool-local-system/src/client/Render/ReadLocalFile/ReadFileView.tsx@@ -1,6 +1,7 @@import { useToolRenderCapabilities } from '@lobechat/shared-tool-ui';import type { ReadFileState } from '@lobechat/tool-runtime';-import { ActionIcon, Flexbox, Icon, Image, Markdown, PreviewGroup, Text } from '@lobehub/ui';+import { Flexbox, Icon, Image, Markdown, PreviewGroup } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { AlignLeft, Asterisk, ExternalLink, FolderOpen } from 'lucide-react';import React, { memo } from 'react';diff --git a/packages/builtin-tool-local-system/src/client/components/FileItem.tsx b/packages/builtin-tool-local-system/src/client/components/FileItem.tsxindex d4fdcdffbd3..295ba84ca2c 100644--- a/packages/builtin-tool-local-system/src/client/components/FileItem.tsx+++ b/packages/builtin-tool-local-system/src/client/components/FileItem.tsx@@ -1,5 +1,6 @@import { useToolRenderCapabilities } from '@lobechat/shared-tool-ui';-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import dayjs from 'dayjs';import { FolderOpen } from 'lucide-react';diff --git a/packages/builtin-tool-memory/src/client/Inspector/QueryTaxonomyOptions/index.tsx b/packages/builtin-tool-memory/src/client/Inspector/QueryTaxonomyOptions/index.tsxindex fc5ed706c2f..949cb7caa9f 100644--- a/packages/builtin-tool-memory/src/client/Inspector/QueryTaxonomyOptions/index.tsx+++ b/packages/builtin-tool-memory/src/client/Inspector/QueryTaxonomyOptions/index.tsx@@ -1,7 +1,7 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar, cx } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-memory/src/client/Inspector/SearchUserMemory/index.tsx b/packages/builtin-tool-memory/src/client/Inspector/SearchUserMemory/index.tsxindex a94347537dc..b6fa8b82b67 100644--- a/packages/builtin-tool-memory/src/client/Inspector/SearchUserMemory/index.tsx+++ b/packages/builtin-tool-memory/src/client/Inspector/SearchUserMemory/index.tsx@@ -1,7 +1,7 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar, cx } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-memory/src/client/Render/SearchUserMemory/index.tsx b/packages/builtin-tool-memory/src/client/Render/SearchUserMemory/index.tsxindex bf6ad82b8a7..02b754efe15 100644--- a/packages/builtin-tool-memory/src/client/Render/SearchUserMemory/index.tsx+++ b/packages/builtin-tool-memory/src/client/Render/SearchUserMemory/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Accordion, AccordionItem, Flexbox, Tag, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-memory/src/client/Render/UpdateIdentityMemory/index.tsx b/packages/builtin-tool-memory/src/client/Render/UpdateIdentityMemory/index.tsxindex e75bcbbc4ed..54ed4e5f198 100644--- a/packages/builtin-tool-memory/src/client/Render/UpdateIdentityMemory/index.tsx+++ b/packages/builtin-tool-memory/src/client/Render/UpdateIdentityMemory/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Tag, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import type { UpdateIdentityMemoryParams, UpdateIdentityMemoryState } from '../../../types';diff --git a/packages/builtin-tool-memory/src/client/components/ActivityMemoryCard.tsx b/packages/builtin-tool-memory/src/client/components/ActivityMemoryCard.tsxindex 06473bad36e..3b422369457 100644--- a/packages/builtin-tool-memory/src/client/components/ActivityMemoryCard.tsx+++ b/packages/builtin-tool-memory/src/client/components/ActivityMemoryCard.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Tag, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import BubblesLoading from '@/components/BubblesLoading';diff --git a/packages/builtin-tool-memory/src/client/components/ContextMemoryCard.tsx b/packages/builtin-tool-memory/src/client/components/ContextMemoryCard.tsxindex 7f272b22c2e..934265b9571 100644--- a/packages/builtin-tool-memory/src/client/components/ContextMemoryCard.tsx+++ b/packages/builtin-tool-memory/src/client/components/ContextMemoryCard.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Tag, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { Progress } from 'antd';import { cssVar } from 'antd-style';import { memo } from 'react';diff --git a/packages/builtin-tool-memory/src/client/components/ExperienceMemoryCard.tsx b/packages/builtin-tool-memory/src/client/components/ExperienceMemoryCard.tsxindex 59aea5dfb53..f6b2c9f4061 100644--- a/packages/builtin-tool-memory/src/client/components/ExperienceMemoryCard.tsx+++ b/packages/builtin-tool-memory/src/client/components/ExperienceMemoryCard.tsx@@ -1,6 +1,7 @@'use client';-import { Accordion, AccordionItem, Avatar, Flexbox, Tag, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Flexbox } from '@lobehub/ui';+import { Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { Steps } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { memo } from 'react';diff --git a/packages/builtin-tool-memory/src/client/components/IdentityMemoryCard.tsx b/packages/builtin-tool-memory/src/client/components/IdentityMemoryCard.tsxindex 7fe98c49534..44d4afc9942 100644--- a/packages/builtin-tool-memory/src/client/components/IdentityMemoryCard.tsx+++ b/packages/builtin-tool-memory/src/client/components/IdentityMemoryCard.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Tag, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { Progress } from 'antd';import { createStaticStyles } from 'antd-style';import { memo } from 'react';diff --git a/packages/builtin-tool-memory/src/client/components/MemoryCardParts.tsx b/packages/builtin-tool-memory/src/client/components/MemoryCardParts.tsxindex 995f205cee1..e4eb2428467 100644--- a/packages/builtin-tool-memory/src/client/components/MemoryCardParts.tsx+++ b/packages/builtin-tool-memory/src/client/components/MemoryCardParts.tsx@@ -1,6 +1,7 @@'use client';-import { Accordion, AccordionItem, Flexbox, Tag, Text, Tooltip } from '@lobehub/ui';+import { Accordion, AccordionItem, Flexbox, Tooltip } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import type { ReactNode } from 'react';import { memo } from 'react';diff --git a/packages/builtin-tool-memory/src/client/components/PreferenceMemoryCard.tsx b/packages/builtin-tool-memory/src/client/components/PreferenceMemoryCard.tsxindex 076e3247a2e..662bff36126 100644--- a/packages/builtin-tool-memory/src/client/components/PreferenceMemoryCard.tsx+++ b/packages/builtin-tool-memory/src/client/components/PreferenceMemoryCard.tsx@@ -1,6 +1,7 @@'use client';-import { Accordion, AccordionItem, Avatar, Flexbox, Tag, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Flexbox } from '@lobehub/ui';+import { Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { Steps } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { memo } from 'react';diff --git a/packages/builtin-tool-memory/src/client/components/RemovedIdentityCard.tsx b/packages/builtin-tool-memory/src/client/components/RemovedIdentityCard.tsxindex 715669315fb..d981476cc2d 100644--- a/packages/builtin-tool-memory/src/client/components/RemovedIdentityCard.tsx+++ b/packages/builtin-tool-memory/src/client/components/RemovedIdentityCard.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Trash2 } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-page-agent/src/client/Inspector/InitPage/index.tsx b/packages/builtin-tool-page-agent/src/client/Inspector/InitPage/index.tsxindex a2ecd017e66..aaca8516f0d 100644--- a/packages/builtin-tool-page-agent/src/client/Inspector/InitPage/index.tsx+++ b/packages/builtin-tool-page-agent/src/client/Inspector/InitPage/index.tsx@@ -2,7 +2,8 @@import type { InitDocumentArgs } from '@lobechat/editor-runtime';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Icon, Text } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { Plus } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-page-agent/src/client/Inspector/ModifyNodes/index.tsx b/packages/builtin-tool-page-agent/src/client/Inspector/ModifyNodes/index.tsxindex 97868c9c413..ae503b22308 100644--- a/packages/builtin-tool-page-agent/src/client/Inspector/ModifyNodes/index.tsx+++ b/packages/builtin-tool-page-agent/src/client/Inspector/ModifyNodes/index.tsx@@ -2,7 +2,8 @@import type { ModifyNodesArgs } from '@lobechat/editor-runtime';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Icon, Text } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { DiffIcon, Minus, Plus } from 'lucide-react';import type { ReactNode } from 'react';diff --git a/packages/builtin-tool-page-agent/src/client/Inspector/ReplaceText/index.tsx b/packages/builtin-tool-page-agent/src/client/Inspector/ReplaceText/index.tsxindex 3b0099d0964..2cc23c04c92 100644--- a/packages/builtin-tool-page-agent/src/client/Inspector/ReplaceText/index.tsx+++ b/packages/builtin-tool-page-agent/src/client/Inspector/ReplaceText/index.tsx@@ -2,7 +2,8 @@import type { ReplaceTextArgs } from '@lobechat/editor-runtime';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Icon, Text } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { ArrowRight } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-page-agent/src/client/Render/ModifyNodes/index.tsx b/packages/builtin-tool-page-agent/src/client/Render/ModifyNodes/index.tsxindex 199bcef24a3..440cf6d967c 100644--- a/packages/builtin-tool-page-agent/src/client/Render/ModifyNodes/index.tsx+++ b/packages/builtin-tool-page-agent/src/client/Render/ModifyNodes/index.tsx@@ -2,7 +2,8 @@import type { ModifyNodesArgs, ModifyOperation } from '@lobechat/editor-runtime';import type { BuiltinRenderProps } from '@lobechat/types';-import { Block, Icon, Text } from '@lobehub/ui';+import { Block, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Check, DiffIcon, Minus, Plus, X } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-page-agent/src/client/Streaming/InitPage/index.tsx b/packages/builtin-tool-page-agent/src/client/Streaming/InitPage/index.tsxindex dd9edc29f0a..68943eff2cc 100644--- a/packages/builtin-tool-page-agent/src/client/Streaming/InitPage/index.tsx+++ b/packages/builtin-tool-page-agent/src/client/Streaming/InitPage/index.tsx@@ -2,7 +2,8 @@import type { InitDocumentArgs } from '@lobechat/editor-runtime';import type { BuiltinStreamingProps } from '@lobechat/types';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { FileText, Hash, ListTree } from 'lucide-react';import { memo, useMemo } from 'react';@@ -36,8 +37,8 @@ const styles = createStaticStyles(({ css, cssVar }) => ({color: ${cssVar.colorTextDescription};`,preview: css`- max-height: 360px;overflow: auto;+ max-height: 360px;padding-block: 8px;padding-inline: 12px;`,diff --git a/packages/builtin-tool-skill-store/src/client/Inspector/SearchSkill/index.tsx b/packages/builtin-tool-skill-store/src/client/Inspector/SearchSkill/index.tsxindex 5e9eb554afa..4b000801b80 100644--- a/packages/builtin-tool-skill-store/src/client/Inspector/SearchSkill/index.tsx+++ b/packages/builtin-tool-skill-store/src/client/Inspector/SearchSkill/index.tsx@@ -1,7 +1,7 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar, cx } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-skill-store/src/client/Render/SearchSkill/index.tsx b/packages/builtin-tool-skill-store/src/client/Render/SearchSkill/index.tsxindex 421c4633706..ebac045a42c 100644--- a/packages/builtin-tool-skill-store/src/client/Render/SearchSkill/index.tsx+++ b/packages/builtin-tool-skill-store/src/client/Render/SearchSkill/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Tag, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-skills/src/client/Render/ReadReference/index.tsx b/packages/builtin-tool-skills/src/client/Render/ReadReference/index.tsxindex afc9fcf3b48..fa62bb66dee 100644--- a/packages/builtin-tool-skills/src/client/Render/ReadReference/index.tsx+++ b/packages/builtin-tool-skills/src/client/Render/ReadReference/index.tsx@@ -1,7 +1,8 @@'use client';import { type BuiltinRenderProps } from '@lobechat/types';-import { Block, Flexbox, Highlighter, Markdown, Text } from '@lobehub/ui';+import { Block, Flexbox, Highlighter, Markdown } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';diff --git a/packages/builtin-tool-task/src/client/Inspector/ListTasks/index.tsx b/packages/builtin-tool-task/src/client/Inspector/ListTasks/index.tsxindex e2f8afdc447..8d43cc0fa1d 100644--- a/packages/builtin-tool-task/src/client/Inspector/ListTasks/index.tsx+++ b/packages/builtin-tool-task/src/client/Inspector/ListTasks/index.tsx@@ -1,7 +1,7 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar, cx } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-task/src/client/Intervention/CreateGoal.tsx b/packages/builtin-tool-task/src/client/Intervention/CreateGoal.tsxindex 9510a4b9b49..f07cf7387f5 100644--- a/packages/builtin-tool-task/src/client/Intervention/CreateGoal.tsx+++ b/packages/builtin-tool-task/src/client/Intervention/CreateGoal.tsx@@ -10,8 +10,8 @@ import {ReactTablePlugin,} from '@lobehub/editor';import { Editor, useEditor } from '@lobehub/editor/react';-import { ActionIcon, Flexbox, Icon, Input, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Input } from '@lobehub/ui';+import { ActionIcon, Button, Text } from '@lobehub/ui/base-ui';import { InputNumber } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { ChevronRight, Pencil, Plus, Trash2 } from 'lucide-react';diff --git a/packages/builtin-tool-task/src/client/Render/CreateGoal/index.tsx b/packages/builtin-tool-task/src/client/Render/CreateGoal/index.tsxindex 620bff9d182..46f1e7bef94 100644--- a/packages/builtin-tool-task/src/client/Render/CreateGoal/index.tsx+++ b/packages/builtin-tool-task/src/client/Render/CreateGoal/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import type { TFunction } from 'i18next';import {diff --git a/packages/builtin-tool-task/src/client/Render/CreateTask/index.tsx b/packages/builtin-tool-task/src/client/Render/CreateTask/index.tsxindex 98cad51866d..fb6aef9705f 100644--- a/packages/builtin-tool-task/src/client/Render/CreateTask/index.tsx+++ b/packages/builtin-tool-task/src/client/Render/CreateTask/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { ActionIcon, Block, Markdown, Text } from '@lobehub/ui';+import { Block, Markdown } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { PanelRight, PanelRightClose } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-task/src/client/Render/CreateTasks/index.tsx b/packages/builtin-tool-task/src/client/Render/CreateTasks/index.tsxindex 784c69815ba..d606bc2f999 100644--- a/packages/builtin-tool-task/src/client/Render/CreateTasks/index.tsx+++ b/packages/builtin-tool-task/src/client/Render/CreateTasks/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Block, Text } from '@lobehub/ui';+import { Block } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-task/src/client/Render/EditTask/index.tsx b/packages/builtin-tool-task/src/client/Render/EditTask/index.tsxindex d4718e383f5..503109a2b1b 100644--- a/packages/builtin-tool-task/src/client/Render/EditTask/index.tsx+++ b/packages/builtin-tool-task/src/client/Render/EditTask/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Markdown, Text } from '@lobehub/ui';+import { Markdown } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Pencil } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-task/src/client/Render/RunTasks/index.tsx b/packages/builtin-tool-task/src/client/Render/RunTasks/index.tsxindex 960b9bb9732..cb5c703566b 100644--- a/packages/builtin-tool-task/src/client/Render/RunTasks/index.tsx+++ b/packages/builtin-tool-task/src/client/Render/RunTasks/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Block, Icon, Text } from '@lobehub/ui';+import { Block, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Check, X } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-task/src/client/Render/shared.tsx b/packages/builtin-tool-task/src/client/Render/shared.tsxindex 838acd8bdbd..8982f080bf9 100644--- a/packages/builtin-tool-task/src/client/Render/shared.tsx+++ b/packages/builtin-tool-task/src/client/Render/shared.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Block, Icon, Text } from '@lobehub/ui';+import { Block, Icon } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import type { LucideIcon } from 'lucide-react';import { PanelRight, PanelRightClose } from 'lucide-react';diff --git a/packages/builtin-tool-user-interaction/src/client/Intervention/AskUserQuestion/index.tsx b/packages/builtin-tool-user-interaction/src/client/Intervention/AskUserQuestion/index.tsxindex 087caeb20d8..2b72d0aac09 100644--- a/packages/builtin-tool-user-interaction/src/client/Intervention/AskUserQuestion/index.tsx+++ b/packages/builtin-tool-user-interaction/src/client/Intervention/AskUserQuestion/index.tsx@@ -8,7 +8,8 @@ import {useAskUserForm,} from '@lobechat/shared-tool-ui/ask-user';import type { BuiltinInterventionProps } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, useCallback } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-web-browsing/src/client/Inspector/Search/index.tsx b/packages/builtin-tool-web-browsing/src/client/Inspector/Search/index.tsxindex 093b48b900f..b7b1d64bafa 100644--- a/packages/builtin-tool-web-browsing/src/client/Inspector/Search/index.tsx+++ b/packages/builtin-tool-web-browsing/src/client/Inspector/Search/index.tsx@@ -1,7 +1,7 @@'use client';import type { BuiltinInspectorProps, SearchQuery, UniformSearchResponse } from '@lobechat/types';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar, cx } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/CategoryAvatar.tsx b/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/CategoryAvatar.tsxindex 15f1287bdde..7d6cbb65b6d 100644--- a/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/CategoryAvatar.tsx+++ b/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/CategoryAvatar.tsx@@ -1,4 +1,5 @@-import { Avatar, Icon } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import {LucideAtom,diff --git a/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/TitleExtra.tsx b/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/TitleExtra.tsxindex 685947a80a5..2d4d3032143 100644--- a/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/TitleExtra.tsx+++ b/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/TitleExtra.tsx@@ -1,4 +1,5 @@-import { Flexbox, Tag, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Tooltip } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/Video.tsx b/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/Video.tsxindex 9da69fea228..d4fa9dc7cde 100644--- a/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/Video.tsx+++ b/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/Video.tsx@@ -1,5 +1,6 @@import type { UniformSearchResult } from '@lobechat/types';-import { Avatar, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo, useState } from 'react';diff --git a/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/index.tsx b/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/index.tsxindex 3a88fd37fa2..3104197ee0f 100644--- a/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/index.tsx+++ b/packages/builtin-tool-web-browsing/src/client/Portal/Search/ResultList/SearchItem/index.tsx@@ -1,7 +1,8 @@import { isDesktop } from '@lobechat/const';import { RENDERER_HANDLED_LINK_ATTR } from '@lobechat/desktop-bridge';import type { UniformSearchResult } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import type { MouseEvent } from 'react';import { memo } from 'react';diff --git a/packages/builtin-tool-web-browsing/src/client/Portal/Title.tsx b/packages/builtin-tool-web-browsing/src/client/Portal/Title.tsxindex e698bde16f3..cee163253d8 100644--- a/packages/builtin-tool-web-browsing/src/client/Portal/Title.tsx+++ b/packages/builtin-tool-web-browsing/src/client/Portal/Title.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinPortalTitleProps } from '@lobechat/types';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Globe } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-web-browsing/src/client/Render/PageContent/Result.tsx b/packages/builtin-tool-web-browsing/src/client/Render/PageContent/Result.tsxindex be06ec8d4bf..4e01f8b622f 100644--- a/packages/builtin-tool-web-browsing/src/client/Render/PageContent/Result.tsx+++ b/packages/builtin-tool-web-browsing/src/client/Render/PageContent/Result.tsx@@ -1,8 +1,8 @@'use client';import type { CrawlErrorResult, CrawlSuccessResult } from '@lobechat/web-crawler';-import { ActionIcon, Block, Flexbox, stopPropagation, Text } from '@lobehub/ui';-import { Alert } from '@lobehub/ui/base-ui';+import { Block, Flexbox, stopPropagation } from '@lobehub/ui';+import { ActionIcon, Alert, Text } from '@lobehub/ui/base-ui';import { Descriptions } from 'antd';import { createStaticStyles } from 'antd-style';import { ExternalLink } from 'lucide-react';diff --git a/packages/builtin-tool-web-browsing/src/client/Render/Search/ConfigForm/style.tsx b/packages/builtin-tool-web-browsing/src/client/Render/Search/ConfigForm/style.tsxindex 98eeb43fca3..559e1a00f8d 100644--- a/packages/builtin-tool-web-browsing/src/client/Render/Search/ConfigForm/style.tsx+++ b/packages/builtin-tool-web-browsing/src/client/Render/Search/ConfigForm/style.tsx@@ -1,5 +1,6 @@import type { CenterProps } from '@lobehub/ui';-import { Avatar, Center, Flexbox } from '@lobehub/ui';+import { Center, Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import type { ReactNode } from 'react';import { memo } from 'react';@@ -46,7 +47,6 @@ export const FormAction = memo<animation={animation}avatar={avatar}background={background ?? cssVar.colorFillContent}- gap={12}size={80}/><Flexbox gap={8} width={'100%'}>diff --git a/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchQuery/SearchView.tsx b/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchQuery/SearchView.tsxindex af4905044f7..b331aa1ff52 100644--- a/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchQuery/SearchView.tsx+++ b/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchQuery/SearchView.tsx@@ -1,4 +1,5 @@-import { Block, Flexbox, Icon, Skeleton, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon, Skeleton } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { SearchIcon } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchQuery/index.tsx b/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchQuery/index.tsxindex 2d05390267a..eda1cf75ce2 100644--- a/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchQuery/index.tsx+++ b/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchQuery/index.tsx@@ -1,5 +1,5 @@import type { SearchQuery, UniformSearchResponse } from '@lobechat/types';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { uniq } from 'es-toolkit/compat';import { XIcon } from 'lucide-react';import { memo } from 'react';diff --git a/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchResult/SearchResultItem.tsx b/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchResult/SearchResultItem.tsxindex 6e615f5b8f4..daaa9bbdf6b 100644--- a/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchResult/SearchResultItem.tsx+++ b/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchResult/SearchResultItem.tsx@@ -1,7 +1,8 @@import { isDesktop } from '@lobechat/const';import { RENDERER_HANDLED_LINK_ATTR } from '@lobechat/desktop-bridge';import type { UniformSearchResult } from '@lobechat/types';-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import type { CSSProperties, MouseEvent } from 'react';import { memo } from 'react';diff --git a/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchResult/ShowMore.tsx b/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchResult/ShowMore.tsxindex 87617634d9d..a93edbf0de8 100644--- a/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchResult/ShowMore.tsx+++ b/packages/builtin-tool-web-browsing/src/client/Render/Search/SearchResult/ShowMore.tsx@@ -1,4 +1,5 @@-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import type { CSSProperties } from 'react';import { memo } from 'react';diff --git a/packages/builtin-tool-web-browsing/src/client/components/CategoryAvatar.tsx b/packages/builtin-tool-web-browsing/src/client/components/CategoryAvatar.tsxindex 773594472d6..52662c0840e 100644--- a/packages/builtin-tool-web-browsing/src/client/components/CategoryAvatar.tsx+++ b/packages/builtin-tool-web-browsing/src/client/components/CategoryAvatar.tsx@@ -1,4 +1,4 @@-import { Avatar } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { memo } from 'react';@@ -14,7 +14,7 @@ export const CategoryAvatar = memo<CategoryAvatarProps>(({ category }) => {return (<Avataralt={category}- icon={<IconComponent />}+ avatar={<IconComponent />}style={{backgroundColor: 'transparent',color: cssVar.colorTextSecondary,diff --git a/packages/builtin-tool-web-browsing/src/client/components/EngineAvatar.tsx b/packages/builtin-tool-web-browsing/src/client/components/EngineAvatar.tsxindex 3696a2a4726..6869ff25936 100644--- a/packages/builtin-tool-web-browsing/src/client/components/EngineAvatar.tsx+++ b/packages/builtin-tool-web-browsing/src/client/components/EngineAvatar.tsx@@ -1,4 +1,4 @@-import { Avatar } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { memo } from 'react';@@ -13,7 +13,7 @@ interface EngineAvatarProps {size?: number;}export const EngineAvatar = memo<EngineAvatarProps>(({ engine }) => (- <Avatar alt={engine} src={ENGINE_ICON_MAP[engine]} style={{ height: 16, width: 16 }} />+ <Avatar alt={engine} avatar={ENGINE_ICON_MAP[engine]} style={{ height: 16, width: 16 }} />));export const EngineAvatarGroup = memo<EngineAvatarGroupProps>(({ engines }) => {diff --git a/packages/builtin-tool-web-browsing/src/client/components/SearchBar.tsx b/packages/builtin-tool-web-browsing/src/client/components/SearchBar.tsxindex 5c68b757e5b..7a556d733b3 100644--- a/packages/builtin-tool-web-browsing/src/client/components/SearchBar.tsx+++ b/packages/builtin-tool-web-browsing/src/client/components/SearchBar.tsx@@ -1,7 +1,7 @@import type { SearchQuery } from '@lobechat/types';// eslint-disable-next-line no-restricted-imports -- Base Select does not support multiple selection yet.-import { Block, Flexbox, SearchBar as Search, Select, Text, Tooltip } from '@lobehub/ui';-import { CheckboxGroup, Segmented } from '@lobehub/ui/base-ui';+import { Block, Flexbox, SearchBar as Search, Select, Tooltip } from '@lobehub/ui';+import { CheckboxGroup, Segmented, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import type { ReactNode } from 'react';import { memo, useState } from 'react';diff --git a/packages/builtin-tool-web-onboarding/src/agentMarketplace/client/Intervention/PickAgents/index.tsx b/packages/builtin-tool-web-onboarding/src/agentMarketplace/client/Intervention/PickAgents/index.tsxindex 630c33b1a0b..e9996b76f0f 100644--- a/packages/builtin-tool-web-onboarding/src/agentMarketplace/client/Intervention/PickAgents/index.tsx+++ b/packages/builtin-tool-web-onboarding/src/agentMarketplace/client/Intervention/PickAgents/index.tsx@@ -1,8 +1,8 @@'use client';import type { BuiltinInterventionProps } from '@lobechat/types';-import { Avatar, Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, Button, Text } from '@lobehub/ui/base-ui';import { cx } from 'antd-style';import type { KeyboardEvent } from 'react';import { memo, useCallback, useEffect, useMemo, useState } from 'react';diff --git a/packages/builtin-tool-web-onboarding/src/agentMarketplace/client/Render/SubmitAgentPick/index.tsx b/packages/builtin-tool-web-onboarding/src/agentMarketplace/client/Render/SubmitAgentPick/index.tsxindex 2d2663c385b..c8a6d89eef4 100644--- a/packages/builtin-tool-web-onboarding/src/agentMarketplace/client/Render/SubmitAgentPick/index.tsx+++ b/packages/builtin-tool-web-onboarding/src/agentMarketplace/client/Render/SubmitAgentPick/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Avatar, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-web-onboarding/src/client/Intervention/SaveUserQuestion.tsx b/packages/builtin-tool-web-onboarding/src/client/Intervention/SaveUserQuestion.tsxindex 3853dadf235..b35fab65232 100644--- a/packages/builtin-tool-web-onboarding/src/client/Intervention/SaveUserQuestion.tsx+++ b/packages/builtin-tool-web-onboarding/src/client/Intervention/SaveUserQuestion.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInterventionProps, SaveUserQuestionInput } from '@lobechat/types';-import { EmojiPicker, Flexbox, Text } from '@lobehub/ui';+import { EmojiPicker, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import type { CSSProperties } from 'react';import { memo, useEffect, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tool-web-onboarding/src/client/Render/SaveUserQuestion/index.tsx b/packages/builtin-tool-web-onboarding/src/client/Render/SaveUserQuestion/index.tsxindex bb4f6de1516..4d7b4c59fff 100644--- a/packages/builtin-tool-web-onboarding/src/client/Render/SaveUserQuestion/index.tsx+++ b/packages/builtin-tool-web-onboarding/src/client/Render/SaveUserQuestion/index.tsx@@ -2,7 +2,8 @@import type { InterestAreaKey } from '@lobechat/const';import type { BuiltinRenderProps, SaveUserQuestionInput } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tools/src/codex/CollabToolRender.tsx b/packages/builtin-tools/src/codex/CollabToolRender.tsxindex 5f2155d65d2..f95b480aa21 100644--- a/packages/builtin-tools/src/codex/CollabToolRender.tsx+++ b/packages/builtin-tools/src/codex/CollabToolRender.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Markdown, Text } from '@lobehub/ui';+import { Flexbox, Markdown } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tools/src/codex/FileChangeRender.tsx b/packages/builtin-tools/src/codex/FileChangeRender.tsxindex 02d2ab24243..79ed26ccae2 100644--- a/packages/builtin-tools/src/codex/FileChangeRender.tsx+++ b/packages/builtin-tools/src/codex/FileChangeRender.tsx@@ -8,7 +8,8 @@ import {LineStats,} from '@lobechat/shared-tool-ui/components';import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, PatchDiff, Text } from '@lobehub/ui';+import { Flexbox, PatchDiff } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tools/src/codex/McpToolRender.tsx b/packages/builtin-tools/src/codex/McpToolRender.tsxindex 9e19cba834c..7fd0298b531 100644--- a/packages/builtin-tools/src/codex/McpToolRender.tsx+++ b/packages/builtin-tools/src/codex/McpToolRender.tsx@@ -3,7 +3,8 @@import { LINEAR_TOOL_NAMES } from '@lobechat/shared-tool-ui/inspectors';import { GitHubRender, LinearRender } from '@lobechat/shared-tool-ui/renders';import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Highlighter, Text } from '@lobehub/ui';+import { Flexbox, Highlighter } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import type { ComponentType } from 'react';import { memo } from 'react';diff --git a/packages/builtin-tools/src/codex/WebSearchRender.tsx b/packages/builtin-tools/src/codex/WebSearchRender.tsxindex 6fe34e62f20..cd23a648de3 100644--- a/packages/builtin-tools/src/codex/WebSearchRender.tsx+++ b/packages/builtin-tools/src/codex/WebSearchRender.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/builtin-tools/src/github/RunCommandRender.tsx b/packages/builtin-tools/src/github/RunCommandRender.tsxindex 22709445422..0cf911b024a 100644--- a/packages/builtin-tools/src/github/RunCommandRender.tsx+++ b/packages/builtin-tools/src/github/RunCommandRender.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinRenderProps } from '@lobechat/types';-import { Flexbox, Highlighter, Text } from '@lobehub/ui';+import { Flexbox, Highlighter } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo, useMemo } from 'react';diff --git a/packages/builtin-tools/src/notebook/DocumentCard.tsx b/packages/builtin-tools/src/notebook/DocumentCard.tsxindex 44758784e47..409617a762d 100644--- a/packages/builtin-tools/src/notebook/DocumentCard.tsx+++ b/packages/builtin-tools/src/notebook/DocumentCard.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, CopyButton, Flexbox, Markdown, ScrollShadow, TooltipGroup } from '@lobehub/ui';-import { Button } from 'antd';+import { CopyButton, Flexbox, Markdown, ScrollShadow, TooltipGroup } from '@lobehub/ui';+import { ActionIcon, Button } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Maximize2, Minimize2, NotebookText, PencilLine } from 'lucide-react';import { memo } from 'react';@@ -111,10 +111,9 @@ const DocumentCard = memo<DocumentCardProps>(({ document }) => {{/* Floating expand/collapse button */}<ButtonclassName={styles.expandButton}- color={'default'}icon={isExpanded ? <Minimize2 size={14} /> : <Maximize2 size={14} />}shape={'round'}- variant={'outlined'}+ type={'default'}onClick={handleToggle}>{isExpandeddiff --git a/packages/shared-tool-ui/src/AskUserQuestion/AskUserQuestionResult.tsx b/packages/shared-tool-ui/src/AskUserQuestion/AskUserQuestionResult.tsxindex 67d56c19f9f..c495c754ea6 100644--- a/packages/shared-tool-ui/src/AskUserQuestion/AskUserQuestionResult.tsx+++ b/packages/shared-tool-ui/src/AskUserQuestion/AskUserQuestionResult.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';diff --git a/packages/shared-tool-ui/src/AskUserQuestion/AskUserQuestionView.tsx b/packages/shared-tool-ui/src/AskUserQuestion/AskUserQuestionView.tsxindex e513f0de4b1..a66df4506c6 100644--- a/packages/shared-tool-ui/src/AskUserQuestion/AskUserQuestionView.tsx+++ b/packages/shared-tool-ui/src/AskUserQuestion/AskUserQuestionView.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Hotkey, Icon, KeyMapEnum, Text, TextArea } from '@lobehub/ui';-import { Button, Tabs } from '@lobehub/ui/base-ui';+import { Flexbox, Hotkey, Icon, KeyMapEnum, TextArea } from '@lobehub/ui';+import { Button, Tabs, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Check, PenLine, Replace, Send, X } from 'lucide-react';import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';diff --git a/packages/shared-tool-ui/src/AskUserQuestion/QuestionPanel.tsx b/packages/shared-tool-ui/src/AskUserQuestion/QuestionPanel.tsxindex eed56e698d7..8a221fa3922 100644--- a/packages/shared-tool-ui/src/AskUserQuestion/QuestionPanel.tsx+++ b/packages/shared-tool-ui/src/AskUserQuestion/QuestionPanel.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text, TextArea } from '@lobehub/ui';+import { Flexbox, TextArea } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';diff --git a/packages/shared-tool-ui/src/Inspector/EditLocalFile/index.tsx b/packages/shared-tool-ui/src/Inspector/EditLocalFile/index.tsxindex de5e2fd5e0e..54e6be41879 100644--- a/packages/shared-tool-ui/src/Inspector/EditLocalFile/index.tsx+++ b/packages/shared-tool-ui/src/Inspector/EditLocalFile/index.tsx@@ -2,7 +2,8 @@import type { EditFileState } from '@lobechat/tool-runtime';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Icon, Text } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { Minus, Plus } from 'lucide-react';import type { ReactNode } from 'react';diff --git a/packages/shared-tool-ui/src/Inspector/GrepContent/index.tsx b/packages/shared-tool-ui/src/Inspector/GrepContent/index.tsxindex fccc4fdbcc6..62ca28f40b9 100644--- a/packages/shared-tool-ui/src/Inspector/GrepContent/index.tsx+++ b/packages/shared-tool-ui/src/Inspector/GrepContent/index.tsx@@ -2,7 +2,7 @@import type { GrepContentState } from '@lobechat/tool-runtime';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { Fragment, memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/shared-tool-ui/src/Inspector/MoveLocalFiles/index.tsx b/packages/shared-tool-ui/src/Inspector/MoveLocalFiles/index.tsxindex c5ae8289aad..3d686eb86a0 100644--- a/packages/shared-tool-ui/src/Inspector/MoveLocalFiles/index.tsx+++ b/packages/shared-tool-ui/src/Inspector/MoveLocalFiles/index.tsx@@ -2,7 +2,8 @@import type { MoveFilesState } from '@lobechat/tool-runtime';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Icon, Text } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar, cx } from 'antd-style';import { Check, X } from 'lucide-react';import { memo } from 'react';diff --git a/packages/shared-tool-ui/src/Inspector/SearchLocalFiles/index.tsx b/packages/shared-tool-ui/src/Inspector/SearchLocalFiles/index.tsxindex 52dce2ed55f..3c6c433253c 100644--- a/packages/shared-tool-ui/src/Inspector/SearchLocalFiles/index.tsx+++ b/packages/shared-tool-ui/src/Inspector/SearchLocalFiles/index.tsx@@ -2,7 +2,7 @@import type { SearchFilesState } from '@lobechat/tool-runtime';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar, cx } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/packages/shared-tool-ui/src/Inspector/WriteLocalFile/index.tsx b/packages/shared-tool-ui/src/Inspector/WriteLocalFile/index.tsxindex 9f60e5da168..7d9f509c039 100644--- a/packages/shared-tool-ui/src/Inspector/WriteLocalFile/index.tsx+++ b/packages/shared-tool-ui/src/Inspector/WriteLocalFile/index.tsx@@ -1,7 +1,8 @@'use client';import type { BuiltinInspectorProps } from '@lobechat/types';-import { Icon, Text } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar, cx } from 'antd-style';import { Plus } from 'lucide-react';import { memo } from 'react';diff --git a/packages/shared-tool-ui/src/Render/GitHub/index.tsx b/packages/shared-tool-ui/src/Render/GitHub/index.tsxindex 7ae663151ec..2ce27bd723e 100644--- a/packages/shared-tool-ui/src/Render/GitHub/index.tsx+++ b/packages/shared-tool-ui/src/Render/GitHub/index.tsx@@ -2,7 +2,8 @@import type { BuiltinRenderProps } from '@lobechat/types';import { fromNow } from '@lobechat/utils/time';-import { Block, Flexbox, Highlighter, Icon, Markdown, Tag, Text } from '@lobehub/ui';+import { Block, Flexbox, Highlighter, Icon, Markdown } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ExternalLink, Link2 } from 'lucide-react';import type { ReactNode } from 'react';diff --git a/packages/shared-tool-ui/src/Render/Linear/index.tsx b/packages/shared-tool-ui/src/Render/Linear/index.tsxindex 9da85bf8776..11c5a654f8a 100644--- a/packages/shared-tool-ui/src/Render/Linear/index.tsx+++ b/packages/shared-tool-ui/src/Render/Linear/index.tsx@@ -2,7 +2,8 @@import type { BuiltinRenderProps } from '@lobechat/types';import { fromNow } from '@lobechat/utils/time';-import { Block, Flexbox, Highlighter, Icon, Markdown, Tag, Text } from '@lobehub/ui';+import { Block, Flexbox, Highlighter, Icon, Markdown } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ExternalLink, Inbox, Link2 } from 'lucide-react';import type { ReactNode } from 'react';diff --git a/packages/shared-tool-ui/src/components/FilePathDisplay.tsx b/packages/shared-tool-ui/src/components/FilePathDisplay.tsxindex a09c6ef63ea..1a0b4f8b996 100644--- a/packages/shared-tool-ui/src/components/FilePathDisplay.tsx+++ b/packages/shared-tool-ui/src/components/FilePathDisplay.tsx@@ -1,6 +1,7 @@'use client';-import { Icon, MaterialFileTypeIcon, Text } from '@lobehub/ui';+import { Icon, MaterialFileTypeIcon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ImageIcon } from 'lucide-react';import path from 'path-browserify-esm';diff --git a/packages/shared-tool-ui/src/components/OptionCard.tsx b/packages/shared-tool-ui/src/components/OptionCard.tsxindex f55c464e484..81289e6578b 100644--- a/packages/shared-tool-ui/src/components/OptionCard.tsx+++ b/packages/shared-tool-ui/src/components/OptionCard.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { Check } from 'lucide-react';import { memo } from 'react';diff --git a/src/business/client/features/ShareShell/index.tsx b/src/business/client/features/ShareShell/index.tsxindex 64b36237dd5..439b5fcbf1d 100644--- a/src/business/client/features/ShareShell/index.tsx+++ b/src/business/client/features/ShareShell/index.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { type ReactNode } from 'react';import { Link } from 'react-router';diff --git a/src/business/client/hooks/useWorkspaceOptionLabel.tsx b/src/business/client/hooks/useWorkspaceOptionLabel.tsxindex 87747273079..41006ef5a3b 100644--- a/src/business/client/hooks/useWorkspaceOptionLabel.tsx+++ b/src/business/client/hooks/useWorkspaceOptionLabel.tsx@@ -1,7 +1,8 @@'use client';import { DEFAULT_AVATAR } from '@lobechat/const';-import { Avatar, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { type ReactNode, useCallback } from 'react';import type { WorkspaceListItem } from './useActiveWorkspace';diff --git a/src/components/AsyncError/index.tsx b/src/components/AsyncError/index.tsxindex 5c710e058df..091ef717c5f 100644--- a/src/components/AsyncError/index.tsx+++ b/src/components/AsyncError/index.tsx@@ -1,7 +1,7 @@'use client';-import { Center, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Center, Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { RotateCwIcon, TriangleAlertIcon } from 'lucide-react';import { memo, type ReactNode } from 'react';diff --git a/src/components/AvatarUpload/index.tsx b/src/components/AvatarUpload/index.tsxindex 26f56564691..7da54935642 100644--- a/src/components/AvatarUpload/index.tsx+++ b/src/components/AvatarUpload/index.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, Icon } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { Spin, Upload } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { Loader2, PencilIcon, X } from 'lucide-react';diff --git a/src/components/ChangelogModal/VersionTag.tsx b/src/components/ChangelogModal/VersionTag.tsxindex 79eb6a823c9..6d3390c565d 100644--- a/src/components/ChangelogModal/VersionTag.tsx+++ b/src/components/ChangelogModal/VersionTag.tsx@@ -1,6 +1,6 @@'use client';-import { Tag } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';diff --git a/src/components/CommentList/CommentItem.tsx b/src/components/CommentList/CommentItem.tsxindex f72e006f5d4..317214990b9 100644--- a/src/components/CommentList/CommentItem.tsx+++ b/src/components/CommentList/CommentItem.tsx@@ -1,7 +1,8 @@'use client';import { AgentIcon } from '@lobehub/icons';-import { Avatar, Flexbox, Markdown, Text } from '@lobehub/ui';+import { Flexbox, Markdown } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, responsive } from 'antd-style';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/components/CopyableLabel/index.tsx b/src/components/CopyableLabel/index.tsxindex 36347f8b165..aacecabcb3d 100644--- a/src/components/CopyableLabel/index.tsx+++ b/src/components/CopyableLabel/index.tsx@@ -1,4 +1,5 @@-import { CopyButton, Flexbox, Text } from '@lobehub/ui';+import { CopyButton, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { type CSSProperties } from 'react';import { memo } from 'react';diff --git a/src/components/Descriptions/index.tsx b/src/components/Descriptions/index.tsxindex 561a03bd16e..f412c9909e7 100644--- a/src/components/Descriptions/index.tsx+++ b/src/components/Descriptions/index.tsx@@ -1,5 +1,6 @@import { type GridProps, type IconProps } from '@lobehub/ui';-import { Flexbox, Grid, Icon, Text } from '@lobehub/ui';+import { Flexbox, Grid, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx, responsive } from 'antd-style';import { type CSSProperties, type ReactNode } from 'react';import { memo } from 'react';diff --git a/src/components/Editor/AutoSaveHint.tsx b/src/components/Editor/AutoSaveHint.tsxindex 3ce9fc15c4f..61fe26e5459 100644--- a/src/components/Editor/AutoSaveHint.tsx+++ b/src/components/Editor/AutoSaveHint.tsx@@ -1,6 +1,7 @@'use client';-import { Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import dayjs from 'dayjs';import { CloudIcon, Loader2Icon, TriangleAlertIcon } from 'lucide-react';import { type CSSProperties } from 'react';diff --git a/src/components/FileParsingStatus/EmbeddingStatus.tsx b/src/components/FileParsingStatus/EmbeddingStatus.tsxindex c25d173b34e..a5bf503936b 100644--- a/src/components/FileParsingStatus/EmbeddingStatus.tsx+++ b/src/components/FileParsingStatus/EmbeddingStatus.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Tag, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { BoltIcon, RotateCwIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/components/FileParsingStatus/index.tsx b/src/components/FileParsingStatus/index.tsxindex d68a288a04d..e15ac8cd0aa 100644--- a/src/components/FileParsingStatus/index.tsx+++ b/src/components/FileParsingStatus/index.tsx@@ -1,5 +1,5 @@-import { Flexbox, Icon, Tag, Tooltip } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Button, Tag } from '@lobehub/ui/base-ui';import { Badge } from 'antd';import { createStaticStyles, cssVar, cx } from 'antd-style';import { BoltIcon, Loader2Icon, RotateCwIcon } from 'lucide-react';diff --git a/src/components/FormAction/index.tsx b/src/components/FormAction/index.tsxindex 4ce39824150..c4882028371 100644--- a/src/components/FormAction/index.tsx+++ b/src/components/FormAction/index.tsx@@ -1,5 +1,6 @@import { type CenterProps } from '@lobehub/ui';-import { Avatar, Center, Flexbox } from '@lobehub/ui';+import { Center, Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { type ReactNode } from 'react';import { memo } from 'react';@@ -47,7 +48,6 @@ const FormAction = memo<animation={animation}avatar={avatar}background={background ?? cssVar.colorFillContent}- gap={12}size={80}/><Flexbox gap={8} width={'100%'}>diff --git a/src/components/ImageItem/index.tsx b/src/components/ImageItem/index.tsxindex 600c15db4ce..f8524ed51c3 100644--- a/src/components/ImageItem/index.tsx+++ b/src/components/ImageItem/index.tsx@@ -1,5 +1,6 @@import { type ImageProps } from '@lobehub/ui';-import { ActionIcon, Image } from '@lobehub/ui';+import { Image } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { Trash } from 'lucide-react';import { type CSSProperties } from 'react';diff --git a/src/components/KeyValueEditor/index.tsx b/src/components/KeyValueEditor/index.tsxindex f903bb596be..fc3b58cb010 100644--- a/src/components/KeyValueEditor/index.tsx+++ b/src/components/KeyValueEditor/index.tsx@@ -1,5 +1,5 @@-import { ActionIcon, Flexbox, Icon } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Button } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import fastDeepEqual from 'fast-deep-equal';import { LucidePlus, LucideTrash } from 'lucide-react';diff --git a/src/components/Loading/CircleLoading/index.tsx b/src/components/Loading/CircleLoading/index.tsxindex f4151d0f6cf..53f3284e8ab 100644--- a/src/components/Loading/CircleLoading/index.tsx+++ b/src/components/Loading/CircleLoading/index.tsx@@ -1,6 +1,7 @@'use client';-import { Center, Flexbox, Icon, Text } from '@lobehub/ui';+import { Center, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { LoaderCircle } from 'lucide-react';import { useTranslation } from 'react-i18next';diff --git a/src/components/MemberSelectionModal/MemberSelectionModal.tsx b/src/components/MemberSelectionModal/MemberSelectionModal.tsxindex 5d1228c717a..45e47781d37 100644--- a/src/components/MemberSelectionModal/MemberSelectionModal.tsx+++ b/src/components/MemberSelectionModal/MemberSelectionModal.tsx@@ -1,8 +1,8 @@'use client';import { agentDisplayName } from '@lobechat/types';-import { ActionIcon, Avatar, Flexbox, List, SearchBar, Text, Tooltip } from '@lobehub/ui';-import { Button, Checkbox, Switch } from '@lobehub/ui/base-ui';+import { Flexbox, List, SearchBar, Tooltip } from '@lobehub/ui';+import { ActionIcon, Avatar, Button, Checkbox, Switch, Text } from '@lobehub/ui/base-ui';import { useHover } from 'ahooks';import { List as AntdList } from 'antd';import { createStaticStyles, cx } from 'antd-style';diff --git a/src/components/ModelSelect/NewModelBadge.tsx b/src/components/ModelSelect/NewModelBadge.tsxindex e1f0ac9961c..b5a930cb68a 100644--- a/src/components/ModelSelect/NewModelBadge.tsx+++ b/src/components/ModelSelect/NewModelBadge.tsx@@ -1,4 +1,4 @@-import { Tag } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/components/ModelSelect/index.tsx b/src/components/ModelSelect/index.tsxindex 9cd9e3ac338..0beb5a15b6c 100644--- a/src/components/ModelSelect/index.tsx+++ b/src/components/ModelSelect/index.tsx@@ -2,7 +2,8 @@ import { type ChatModelCard } from '@lobechat/types';import { type IconAvatarProps } from '@lobehub/icons';import { LobeHub, ModelIcon, ProviderIcon } from '@lobehub/icons';import { type FlexboxProps } from '@lobehub/ui';-import { Avatar, Flexbox, Icon, Tag, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, useResponsive } from 'antd-style';import {AudioLines,diff --git a/src/components/Notification/index.tsx b/src/components/Notification/index.tsxindex 96cda40da0d..18a8a30aa24 100644--- a/src/components/Notification/index.tsx+++ b/src/components/Notification/index.tsx@@ -1,7 +1,8 @@'use client';import { type FlexboxProps } from '@lobehub/ui';-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { XIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/components/Plugins/MCPTag.tsx b/src/components/Plugins/MCPTag.tsxindex 30446e752fc..71f2b4e26f8 100644--- a/src/components/Plugins/MCPTag.tsx+++ b/src/components/Plugins/MCPTag.tsx@@ -1,5 +1,5 @@import { MCP } from '@lobehub/icons';-import { Tag } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { memo } from 'react';interface MCPTagProps {diff --git a/src/components/Plugins/PluginAvatar.tsx b/src/components/Plugins/PluginAvatar.tsxindex 7f6bc10f80d..2fc5131ef48 100644--- a/src/components/Plugins/PluginAvatar.tsx+++ b/src/components/Plugins/PluginAvatar.tsx@@ -1,5 +1,5 @@import { MCP } from '@lobehub/icons';-import { Avatar } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { type CSSProperties } from 'react';import { memo } from 'react';diff --git a/src/components/Plugins/PluginTag.tsx b/src/components/Plugins/PluginTag.tsxindex 52e1c3297ca..09ae2039d47 100644--- a/src/components/Plugins/PluginTag.tsx+++ b/src/components/Plugins/PluginTag.tsx@@ -1,4 +1,5 @@-import { Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { BadgeCheck, CircleUser, Package } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/components/RatingOverview/index.tsx b/src/components/RatingOverview/index.tsxindex 91aa93f9a93..31d7ee67b2b 100644--- a/src/components/RatingOverview/index.tsx+++ b/src/components/RatingOverview/index.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Progress } from 'antd';import { cssVar, useResponsive } from 'antd-style';import { memo } from 'react';diff --git a/src/components/RenameModal/index.tsx b/src/components/RenameModal/index.tsxindex 9806f4ae66e..31f26286c25 100644--- a/src/components/RenameModal/index.tsx+++ b/src/components/RenameModal/index.tsx@@ -1,7 +1,13 @@'use client';-import { Flexbox, Input, Text } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import {+ Button,+ createModal,+ type ModalInstance,+ Text,+ useModalContext,+} from '@lobehub/ui/base-ui';import { type InputRef } from 'antd';import { t } from 'i18next';import { memo, useCallback, useEffect, useRef, useState } from 'react';diff --git a/src/components/StatisticCard/TitleWithPercentage.tsx b/src/components/StatisticCard/TitleWithPercentage.tsxindex a5affebf160..e51f372bd3b 100644--- a/src/components/StatisticCard/TitleWithPercentage.tsx+++ b/src/components/StatisticCard/TitleWithPercentage.tsx@@ -1,4 +1,5 @@-import { Flexbox, Tag, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { type CSSProperties } from 'react';import { memo } from 'react';diff --git a/src/components/StatisticCard/index.tsx b/src/components/StatisticCard/index.tsxindex e589aca472c..6037d35acaa 100644--- a/src/components/StatisticCard/index.tsx+++ b/src/components/StatisticCard/index.tsx@@ -1,5 +1,6 @@import { type BlockProps } from '@lobehub/ui';-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Spin, Statistic } from 'antd';import { createStaticStyles, responsive } from 'antd-style';import { type CSSProperties, type ReactNode } from 'react';diff --git a/src/components/TipGuide/index.tsx b/src/components/TipGuide/index.tsxindex 4c977a6c5d0..d36e16fc948 100644--- a/src/components/TipGuide/index.tsx+++ b/src/components/TipGuide/index.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox, Popover } from '@lobehub/ui';+import { Flexbox, Popover } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { type TooltipProps } from 'antd';import { ConfigProvider } from 'antd';import { createStaticStyles, cssVar, cx } from 'antd-style';diff --git a/src/components/TotalToken/index.tsx b/src/components/TotalToken/index.tsxindex 177aa927d02..c4653758ffd 100644--- a/src/components/TotalToken/index.tsx+++ b/src/components/TotalToken/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Tag, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { useTheme } from 'antd-style';import { ArrowDownToDot, ArrowUpFromDot } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Acceptance/CriterionList/CriterionEditor.tsx b/src/features/Acceptance/CriterionList/CriterionEditor.tsxindex 9e900ad836f..06f96f514dd 100644--- a/src/features/Acceptance/CriterionList/CriterionEditor.tsx+++ b/src/features/Acceptance/CriterionList/CriterionEditor.tsx@@ -1,8 +1,8 @@'use client';import { type VerifierType, verifierTypes } from '@lobechat/const/verify';-import { Flexbox, Input, Text, TextArea } from '@lobehub/ui';-import { Button, Select, Switch } from '@lobehub/ui/base-ui';+import { Flexbox, Input, TextArea } from '@lobehub/ui';+import { Button, Select, Switch, Text } from '@lobehub/ui/base-ui';import { useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Acceptance/CriterionList/CriterionRow.tsx b/src/features/Acceptance/CriterionList/CriterionRow.tsxindex 1f5e7f4f8ec..ac99ba63b9b 100644--- a/src/features/Acceptance/CriterionList/CriterionRow.tsx+++ b/src/features/Acceptance/CriterionList/CriterionRow.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Flexbox, Tag, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import type { HTMLAttributes, ReactNode } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Acceptance/Report/MarkdownEvidence.tsx b/src/features/Acceptance/Report/MarkdownEvidence.tsxindex 7b33cd6b14f..5e4ddf94272 100644--- a/src/features/Acceptance/Report/MarkdownEvidence.tsx+++ b/src/features/Acceptance/Report/MarkdownEvidence.tsx@@ -1,7 +1,7 @@'use client';-import { Center, Flexbox, Highlighter, Icon, Markdown, Text } from '@lobehub/ui';-import { Drawer } from '@lobehub/ui/base-ui';+import { Center, Flexbox, Highlighter, Icon, Markdown } from '@lobehub/ui';+import { Drawer, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { ChevronRight, FileText } from 'lucide-react';import { memo, useMemo, useState } from 'react';diff --git a/src/features/Acceptance/Report/ReportViewer.tsx b/src/features/Acceptance/Report/ReportViewer.tsxindex dc88f4b92ae..a925d001e06 100644--- a/src/features/Acceptance/Report/ReportViewer.tsx+++ b/src/features/Acceptance/Report/ReportViewer.tsx@@ -13,8 +13,8 @@ import type {VerifyVerdict,} from '@lobechat/types';import { toRecord } from '@lobechat/utils/object';-import { Block, Center, Empty, Flexbox, Icon, Image, Markdown, Text } from '@lobehub/ui';-import { Button, Drawer } from '@lobehub/ui/base-ui';+import { Block, Center, Empty, Flexbox, Icon, Image, Markdown } from '@lobehub/ui';+import { Button, Drawer, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import type { TFunction } from 'i18next';import {diff --git a/src/features/Acceptance/Report/VisualizationRenderer.tsx b/src/features/Acceptance/Report/VisualizationRenderer.tsxindex bbefde3a5a5..4aa2032b010 100644--- a/src/features/Acceptance/Report/VisualizationRenderer.tsx+++ b/src/features/Acceptance/Report/VisualizationRenderer.tsx@@ -10,7 +10,8 @@ import type {VerifyVisualizationDataset,VerifyVisualizationManifest,} from '@lobechat/types';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { ArrowDownRight, ArrowUpRight, ChartNoAxesCombined } from 'lucide-react';import type { ReactNode } from 'react';diff --git a/src/features/Acceptance/Run/CheckerDock.tsx b/src/features/Acceptance/Run/CheckerDock.tsxindex c9deef4dfe5..dfa1bbe8c9d 100644--- a/src/features/Acceptance/Run/CheckerDock.tsx+++ b/src/features/Acceptance/Run/CheckerDock.tsx@@ -1,6 +1,6 @@import type { VerifyCheckItem } from '@lobechat/types';-import { ActionIcon, Flexbox, Icon, Input, TextArea } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Input, TextArea } from '@lobehub/ui';+import { ActionIcon, Button } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx, useThemeMode } from 'antd-style';import {Check,diff --git a/src/features/Acceptance/Viewer/AcceptanceCheckInventory.tsx b/src/features/Acceptance/Viewer/AcceptanceCheckInventory.tsxindex f74c366bed0..ef575d6f3b2 100644--- a/src/features/Acceptance/Viewer/AcceptanceCheckInventory.tsx+++ b/src/features/Acceptance/Viewer/AcceptanceCheckInventory.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';-import { Select } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Select, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, useResponsive } from 'antd-style';import { ChevronsDownUp, ChevronsUpDown } from 'lucide-react';import type { ReactNode } from 'react';diff --git a/src/features/Acceptance/Viewer/AcceptanceCheckOwnerToolbar.tsx b/src/features/Acceptance/Viewer/AcceptanceCheckOwnerToolbar.tsxindex e94ba476bcd..3770a19e53d 100644--- a/src/features/Acceptance/Viewer/AcceptanceCheckOwnerToolbar.tsx+++ b/src/features/Acceptance/Viewer/AcceptanceCheckOwnerToolbar.tsx@@ -1,7 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { ActionIcon, toast } from '@lobehub/ui/base-ui';import { Plus, Sparkles } from 'lucide-react';import { useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Acceptance/Viewer/AcceptanceFocusReview.tsx b/src/features/Acceptance/Viewer/AcceptanceFocusReview.tsxindex 48e6baca6db..e56082ebbb0 100644--- a/src/features/Acceptance/Viewer/AcceptanceFocusReview.tsx+++ b/src/features/Acceptance/Viewer/AcceptanceFocusReview.tsx@@ -1,8 +1,8 @@'use client';import type { AcceptanceChecklistItem } from '@lobechat/types';-import { Flexbox, Icon, Tag, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import {ArrowLeft,diff --git a/src/features/Acceptance/Viewer/AcceptanceGoal.tsx b/src/features/Acceptance/Viewer/AcceptanceGoal.tsxindex e77febf2aee..7d5ed1cf5a0 100644--- a/src/features/Acceptance/Viewer/AcceptanceGoal.tsx+++ b/src/features/Acceptance/Viewer/AcceptanceGoal.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ChevronsDownUp, ChevronsUpDown, GitBranch, GitCommitHorizontal } from 'lucide-react';import type { ReactNode } from 'react';diff --git a/src/features/Acceptance/Viewer/AcceptanceGoalEdit.tsx b/src/features/Acceptance/Viewer/AcceptanceGoalEdit.tsxindex 162775b0a29..63d6945aeda 100644--- a/src/features/Acceptance/Viewer/AcceptanceGoalEdit.tsx+++ b/src/features/Acceptance/Viewer/AcceptanceGoalEdit.tsx@@ -1,7 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { ActionIcon, toast } from '@lobehub/ui/base-ui';import { PencilLine } from 'lucide-react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Acceptance/Viewer/AcceptanceIdentity.tsx b/src/features/Acceptance/Viewer/AcceptanceIdentity.tsxindex 2dd34c6ebd3..092df740a53 100644--- a/src/features/Acceptance/Viewer/AcceptanceIdentity.tsx+++ b/src/features/Acceptance/Viewer/AcceptanceIdentity.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, Flexbox, Icon, Tag, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import dayjs from 'dayjs';import { GitPullRequest } from 'lucide-react';diff --git a/src/features/Acceptance/Viewer/AcceptanceLedgerRail.tsx b/src/features/Acceptance/Viewer/AcceptanceLedgerRail.tsxindex b58de4dd7ef..69e2cb55ce1 100644--- a/src/features/Acceptance/Viewer/AcceptanceLedgerRail.tsx+++ b/src/features/Acceptance/Viewer/AcceptanceLedgerRail.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, DraggablePanel, Flexbox } from '@lobehub/ui';-import { Drawer } from '@lobehub/ui/base-ui';+import { DraggablePanel, Flexbox } from '@lobehub/ui';+import { ActionIcon, Drawer } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, useResponsive } from 'antd-style';import { PanelRightOpen } from 'lucide-react';import { useEffect, useState } from 'react';diff --git a/src/features/Acceptance/Viewer/AddCheckModal.tsx b/src/features/Acceptance/Viewer/AddCheckModal.tsxindex 97302e6e01e..fb968451372 100644--- a/src/features/Acceptance/Viewer/AddCheckModal.tsx+++ b/src/features/Acceptance/Viewer/AddCheckModal.tsx@@ -1,12 +1,13 @@'use client';import type { AcceptanceChecklistItem } from '@lobechat/types';-import { Flexbox, Icon, Input, Text, TextArea } from '@lobehub/ui';+import { Flexbox, Icon, Input, TextArea } from '@lobehub/ui';import {Button,createModal,type ModalInstance,Select,+ Text,useModalContext,} from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';diff --git a/src/features/Acceptance/Viewer/Annotation.tsx b/src/features/Acceptance/Viewer/Annotation.tsxindex bc1edbc54cb..1b8daa43d0f 100644--- a/src/features/Acceptance/Viewer/Annotation.tsx+++ b/src/features/Acceptance/Viewer/Annotation.tsx@@ -1,7 +1,8 @@'use client';import type { AcceptanceReviewAnnotation } from '@lobechat/types';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Trash2 } from 'lucide-react';import { memo, useRef, useState } from 'react';diff --git a/src/features/Acceptance/Viewer/CheckRejectModal.tsx b/src/features/Acceptance/Viewer/CheckRejectModal.tsxindex 24545b2065e..431e3efce64 100644--- a/src/features/Acceptance/Viewer/CheckRejectModal.tsx+++ b/src/features/Acceptance/Viewer/CheckRejectModal.tsx@@ -1,8 +1,8 @@'use client';import type { AcceptanceReviewAnnotation } from '@lobechat/types';-import { ActionIcon, Flexbox, Text, TextArea } from '@lobehub/ui';-import { Button, createModal, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, TextArea } from '@lobehub/ui';+import { ActionIcon, Button, createModal, Text, useModalContext } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { ZoomIn, ZoomOut } from 'lucide-react';import { memo, useEffect, useLayoutEffect, useRef, useState } from 'react';diff --git a/src/features/Acceptance/Viewer/DecisionBar.tsx b/src/features/Acceptance/Viewer/DecisionBar.tsxindex c33970e08ce..4cb11c7fee4 100644--- a/src/features/Acceptance/Viewer/DecisionBar.tsx+++ b/src/features/Acceptance/Viewer/DecisionBar.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import {BadgeCheck,diff --git a/src/features/Acceptance/Viewer/FeedbackDrawer.tsx b/src/features/Acceptance/Viewer/FeedbackDrawer.tsxindex 32257183263..c44fe267de7 100644--- a/src/features/Acceptance/Viewer/FeedbackDrawer.tsx+++ b/src/features/Acceptance/Viewer/FeedbackDrawer.tsx@@ -1,8 +1,8 @@'use client';import type { AcceptanceAttachment } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';-import { Drawer } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Drawer, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import dayjs from 'dayjs';import { memo } from 'react';diff --git a/src/features/Acceptance/Viewer/LedgerPanel.tsx b/src/features/Acceptance/Viewer/LedgerPanel.tsxindex e42166f7da9..1df18229d81 100644--- a/src/features/Acceptance/Viewer/LedgerPanel.tsx+++ b/src/features/Acceptance/Viewer/LedgerPanel.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import dayjs from 'dayjs';import {diff --git a/src/features/Acceptance/Viewer/ProposalCard.tsx b/src/features/Acceptance/Viewer/ProposalCard.tsxindex 99dafc52d44..b3e143f49f6 100644--- a/src/features/Acceptance/Viewer/ProposalCard.tsx+++ b/src/features/Acceptance/Viewer/ProposalCard.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ChevronDown, ChevronRight, Sparkles } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/Acceptance/Viewer/TopicPanel.tsx b/src/features/Acceptance/Viewer/TopicPanel.tsxindex e52fa3be9f0..ad6c73964d7 100644--- a/src/features/Acceptance/Viewer/TopicPanel.tsx+++ b/src/features/Acceptance/Viewer/TopicPanel.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { ArrowLeft, MessagesSquare, PanelRightClose } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Acceptance/Viewer/modals.tsx b/src/features/Acceptance/Viewer/modals.tsxindex 2b59b4057f0..3b9e5e20965 100644--- a/src/features/Acceptance/Viewer/modals.tsx+++ b/src/features/Acceptance/Viewer/modals.tsx@@ -1,7 +1,13 @@'use client';-import { Flexbox, Text, TextArea } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, TextArea } from '@lobehub/ui';+import {+ Button,+ createModal,+ type ModalInstance,+ Text,+ useModalContext,+} from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { t } from 'i18next';import { memo, useState } from 'react';diff --git a/src/features/Acceptance/Workspace/AcceptanceRow.tsx b/src/features/Acceptance/Workspace/AcceptanceRow.tsxindex 8642323a44a..2c1ff0fcab7 100644--- a/src/features/Acceptance/Workspace/AcceptanceRow.tsx+++ b/src/features/Acceptance/Workspace/AcceptanceRow.tsx@@ -1,9 +1,9 @@'use client';import type { AcceptanceStatus } from '@lobechat/types';-import { ActionIcon, Flexbox, Icon } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';import type { DropdownItem } from '@lobehub/ui/base-ui';-import { confirmModal, DropdownMenu, toast } from '@lobehub/ui/base-ui';+import { ActionIcon, confirmModal, DropdownMenu, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import dayjs from 'dayjs';import {diff --git a/src/features/Acceptance/Workspace/MergeAcceptanceModal.tsx b/src/features/Acceptance/Workspace/MergeAcceptanceModal.tsxindex febb8292331..e22109e955e 100644--- a/src/features/Acceptance/Workspace/MergeAcceptanceModal.tsx+++ b/src/features/Acceptance/Workspace/MergeAcceptanceModal.tsx@@ -1,7 +1,13 @@'use client';-import { Empty, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, useModalContext } from '@lobehub/ui/base-ui';+import { Empty, Flexbox, Icon } from '@lobehub/ui';+import {+ Button,+ createModal,+ type ModalInstance,+ Text,+ useModalContext,+} from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { t } from 'i18next';import { Search, TriangleAlert } from 'lucide-react';diff --git a/src/features/AgentBreadcrumb/index.tsx b/src/features/AgentBreadcrumb/index.tsxindex 0e5bfb6bb68..f7ad23088f1 100644--- a/src/features/AgentBreadcrumb/index.tsx+++ b/src/features/AgentBreadcrumb/index.tsx@@ -1,7 +1,8 @@'use client';import { agentDisplayName } from '@lobechat/types';-import { Icon, Text } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Breadcrumb as AntBreadcrumb } from 'antd';import { createStaticStyles } from 'antd-style';import { ChevronRight } from 'lucide-react';diff --git a/src/features/AgentBuilder/AgentBuilderWelcome.tsx b/src/features/AgentBuilder/AgentBuilderWelcome.tsxindex 12c2bd5321b..0f20cf96522 100644--- a/src/features/AgentBuilder/AgentBuilderWelcome.tsx+++ b/src/features/AgentBuilder/AgentBuilderWelcome.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, Flexbox, Markdown, Text } from '@lobehub/ui';+import { Flexbox, Markdown } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentBuilder/SuggestionChips/index.tsx b/src/features/AgentBuilder/SuggestionChips/index.tsxindex de0daa67843..42a8506372b 100644--- a/src/features/AgentBuilder/SuggestionChips/index.tsx+++ b/src/features/AgentBuilder/SuggestionChips/index.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Block, Flexbox, Skeleton as LobeSkeleton, Text } from '@lobehub/ui';+import { Block, Flexbox, Skeleton as LobeSkeleton } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { RefreshCw } from 'lucide-react';import { memo, useCallback } from 'react';diff --git a/src/features/AgentBuilder/TopicSelector.tsx b/src/features/AgentBuilder/TopicSelector.tsxindex 4a994951d76..861c77228c5 100644--- a/src/features/AgentBuilder/TopicSelector.tsx+++ b/src/features/AgentBuilder/TopicSelector.tsx@@ -1,5 +1,6 @@import { type DropdownMenuCheckboxItem } from '@lobehub/ui';-import { ActionIcon, DropdownMenu, Flexbox } from '@lobehub/ui';+import { DropdownMenu, Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import dayjs from 'dayjs';import { Clock3Icon, PlusIcon } from 'lucide-react';diff --git a/src/features/AgentDocumentPage/Header/index.tsx b/src/features/AgentDocumentPage/Header/index.tsxindex f8ccc099358..eb20347cd2f 100644--- a/src/features/AgentDocumentPage/Header/index.tsx+++ b/src/features/AgentDocumentPage/Header/index.tsx@@ -1,8 +1,8 @@'use client';import { agentDisplayName } from '@lobechat/types';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';-import { DropdownMenu } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, DropdownMenu, Text } from '@lobehub/ui/base-ui';import { cssVar, cx } from 'antd-style';import { MoreHorizontal } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/AgentDocumentsExplorer/ConvertToSkillModal.tsx b/src/features/AgentDocumentsExplorer/ConvertToSkillModal.tsxindex 9c2fac6ce3e..f07630c825b 100644--- a/src/features/AgentDocumentsExplorer/ConvertToSkillModal.tsx+++ b/src/features/AgentDocumentsExplorer/ConvertToSkillModal.tsx@@ -1,7 +1,13 @@'use client';-import { Flexbox, Input, Text, TextArea } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Input, TextArea } from '@lobehub/ui';+import {+ Button,+ createModal,+ type ModalInstance,+ Text,+ useModalContext,+} from '@lobehub/ui/base-ui';import { type InputRef } from 'antd';import { cssVar } from 'antd-style';import { t } from 'i18next';diff --git a/src/features/AgentDocumentsExplorer/DocumentExplorerToolbar.tsx b/src/features/AgentDocumentsExplorer/DocumentExplorerToolbar.tsxindex 99f9c4094ca..19b32011e07 100644--- a/src/features/AgentDocumentsExplorer/DocumentExplorerToolbar.tsx+++ b/src/features/AgentDocumentsExplorer/DocumentExplorerToolbar.tsx@@ -1,5 +1,5 @@-import { ActionIcon, Flexbox, Icon, Text } from '@lobehub/ui';-import { type DropdownItem, DropdownMenu } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, type DropdownItem, DropdownMenu, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { FilePlusIcon, FolderPlusIcon, PlusIcon } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/features/AgentGoals/AgentGoalsPage.tsx b/src/features/AgentGoals/AgentGoalsPage.tsxindex af7328fdadf..b01c9c30852 100644--- a/src/features/AgentGoals/AgentGoalsPage.tsx+++ b/src/features/AgentGoals/AgentGoalsPage.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Block, Empty, Flexbox, Text } from '@lobehub/ui';-import { Button, Segmented } from '@lobehub/ui/base-ui';+import { Block, Empty, Flexbox } from '@lobehub/ui';+import { ActionIcon, Button, Segmented, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { LayoutGridIcon, ListIcon, PlusIcon, RefreshCwIcon } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/features/AgentGoals/CreateGoalModal/CreateGoalContent.tsx b/src/features/AgentGoals/CreateGoalModal/CreateGoalContent.tsxindex 0b8a07702fa..03e57414065 100644--- a/src/features/AgentGoals/CreateGoalModal/CreateGoalContent.tsx+++ b/src/features/AgentGoals/CreateGoalModal/CreateGoalContent.tsx@@ -3,8 +3,8 @@import type { CreateGoalParams, GoalCriterionDraft } from '@lobechat/builtin-tool-task';import { DEFAULT_GOAL_MAX_ROUNDS } from '@lobechat/const/verify';import { useEditor } from '@lobehub/editor/react';-import { ActionIcon, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Button, Text, toast, useModalContext } from '@lobehub/ui/base-ui';import { InputNumber } from 'antd';import { createGlobalStyle, createStaticStyles, cssVar } from 'antd-style';import {diff --git a/src/features/AgentGoals/GoalCardItem.tsx b/src/features/AgentGoals/GoalCardItem.tsxindex 8e48f8bce5c..7f69be0bc12 100644--- a/src/features/AgentGoals/GoalCardItem.tsx+++ b/src/features/AgentGoals/GoalCardItem.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Block, Flexbox, Icon, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ArrowRightIcon, RefreshCwIcon } from 'lucide-react';import type { KeyboardEvent } from 'react';diff --git a/src/features/AgentGoals/GoalDetailActions.tsx b/src/features/AgentGoals/GoalDetailActions.tsxindex d6b07796378..c274ab0e6e8 100644--- a/src/features/AgentGoals/GoalDetailActions.tsx+++ b/src/features/AgentGoals/GoalDetailActions.tsx@@ -1,5 +1,11 @@-import { ActionIcon, copyToClipboard, Icon } from '@lobehub/ui';-import { confirmModal, type DropdownItem, DropdownMenu, toast } from '@lobehub/ui/base-ui';+import { copyToClipboard, Icon } from '@lobehub/ui';+import {+ ActionIcon,+ confirmModal,+ type DropdownItem,+ DropdownMenu,+ toast,+} from '@lobehub/ui/base-ui';import { CopyIcon, LinkIcon, MoreHorizontalIcon, TrashIcon } from 'lucide-react';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentGoals/GoalDetailPage.tsx b/src/features/AgentGoals/GoalDetailPage.tsxindex 69dfbbfa8cd..f9a521895cd 100644--- a/src/features/AgentGoals/GoalDetailPage.tsx+++ b/src/features/AgentGoals/GoalDetailPage.tsx@@ -1,8 +1,8 @@'use client';import type { TaskDetailSubtask, TaskStatus } from '@lobechat/types';-import { Accordion, AccordionItem, Flexbox, Icon, Tag, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Accordion, AccordionItem, Flexbox, Icon } from '@lobehub/ui';+import { Button, Tag, Text } from '@lobehub/ui/base-ui';import { Progress } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { BotIcon } from 'lucide-react';diff --git a/src/features/AgentGoals/GoalEmptyState.tsx b/src/features/AgentGoals/GoalEmptyState.tsxindex a705bb9c8f7..42a71f369b9 100644--- a/src/features/AgentGoals/GoalEmptyState.tsx+++ b/src/features/AgentGoals/GoalEmptyState.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import type { TargetIcon } from 'lucide-react';import {diff --git a/src/features/AgentGoals/GoalHowItWorksModal/HowItWorksContent.tsx b/src/features/AgentGoals/GoalHowItWorksModal/HowItWorksContent.tsxindex 5e23f442f24..95e2f50c4c1 100644--- a/src/features/AgentGoals/GoalHowItWorksModal/HowItWorksContent.tsx+++ b/src/features/AgentGoals/GoalHowItWorksModal/HowItWorksContent.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Steps } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { RotateCcwIcon } from 'lucide-react';diff --git a/src/features/AgentGoals/GoalListItem.tsx b/src/features/AgentGoals/GoalListItem.tsxindex 17ef56dff78..7267c18b59c 100644--- a/src/features/AgentGoals/GoalListItem.tsx+++ b/src/features/AgentGoals/GoalListItem.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Block, Flexbox, Icon, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ArrowRightIcon, RefreshCwIcon } from 'lucide-react';import type { KeyboardEvent } from 'react';diff --git a/src/features/AgentGoals/GoalProgress.tsx b/src/features/AgentGoals/GoalProgress.tsxindex 3d2bcc27113..312f3f198fd 100644--- a/src/features/AgentGoals/GoalProgress.tsx+++ b/src/features/AgentGoals/GoalProgress.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentGroupAvatar/index.tsx b/src/features/AgentGroupAvatar/index.tsxindex 86780794e0f..5acad4a7604 100644--- a/src/features/AgentGroupAvatar/index.tsx+++ b/src/features/AgentGroupAvatar/index.tsx@@ -1,6 +1,6 @@'use client';-import { Avatar } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { memo } from 'react';import GroupAvatar from '@/features/GroupAvatar';diff --git a/src/features/AgentHome/AgentInfo.tsx b/src/features/AgentHome/AgentInfo.tsxindex 8753cc7765b..f0679f40319 100644--- a/src/features/AgentHome/AgentInfo.tsx+++ b/src/features/AgentHome/AgentInfo.tsx@@ -1,7 +1,8 @@'use client';import { agentDisplayName } from '@lobechat/types';-import { Flexbox, Markdown, Skeleton, Text } from '@lobehub/ui';+import { Flexbox, Markdown, Skeleton } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentIdentityModal/Content.tsx b/src/features/AgentIdentityModal/Content.tsxindex 086731b193a..fd42a160684 100644--- a/src/features/AgentIdentityModal/Content.tsx+++ b/src/features/AgentIdentityModal/Content.tsx@@ -1,8 +1,8 @@'use client';import { randomAgentName } from '@lobechat/const';-import { ActionIcon, Flexbox, Input, Text } from '@lobehub/ui';-import { Button, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import { ActionIcon, Button, Text, useModalContext } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { DicesIcon } from 'lucide-react';import { memo, type ReactNode, useCallback } from 'react';diff --git a/src/features/AgentMockDevtools/CaseTrigger.tsx b/src/features/AgentMockDevtools/CaseTrigger.tsxindex 0c648e2c037..c72f5f3c405 100644--- a/src/features/AgentMockDevtools/CaseTrigger.tsx+++ b/src/features/AgentMockDevtools/CaseTrigger.tsx@@ -1,5 +1,6 @@import type { MockCase } from '@lobechat/agent-mock';-import { Flexbox, Input, Popover, Text, usePopoverContext } from '@lobehub/ui';+import { Flexbox, Input, Popover, usePopoverContext } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ChevronDown } from 'lucide-react';import { memo, type ReactNode, useMemo, useState } from 'react';diff --git a/src/features/AgentMockDevtools/Controls.tsx b/src/features/AgentMockDevtools/Controls.tsxindex 15a2bf6c60e..c890c3c7471 100644--- a/src/features/AgentMockDevtools/Controls.tsx+++ b/src/features/AgentMockDevtools/Controls.tsx@@ -1,5 +1,5 @@-import { ActionIcon, Flexbox } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Pause, Play, Repeat, RotateCcw, SkipForward, Square } from 'lucide-react';import { memo, useCallback, useEffect, useRef, useState } from 'react';diff --git a/src/features/AgentMockDevtools/index.tsx b/src/features/AgentMockDevtools/index.tsxindex 40859f4a865..d2f030ab490 100644--- a/src/features/AgentMockDevtools/index.tsx+++ b/src/features/AgentMockDevtools/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useMatches } from 'react-router';diff --git a/src/features/AgentProfileArtwork/index.tsx b/src/features/AgentProfileArtwork/index.tsxindex 6b609d7ce64..3c8ea15d409 100644--- a/src/features/AgentProfileArtwork/index.tsx+++ b/src/features/AgentProfileArtwork/index.tsx@@ -5,8 +5,16 @@ import {type AgentArtworkStyle,DEFAULT_AGENT_ARTWORK_STYLE,} from '@lobechat/prompts';-import { ActionIcon, Avatar, Center, Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';-import { Button, type DropdownItem, DropdownMenu, toast } from '@lobehub/ui/base-ui';+import { Center, Flexbox, Icon, Tooltip } from '@lobehub/ui';+import {+ ActionIcon,+ Avatar,+ Button,+ type DropdownItem,+ DropdownMenu,+ Text,+ toast,+} from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Check, ImageIcon, MoreHorizontal, Trash2, UploadIcon, WandSparkles } from 'lucide-react';import { memo, useCallback, useId, useRef, useState } from 'react';diff --git a/src/features/AgentProfileCard/AgentProfilePopup.tsx b/src/features/AgentProfileCard/AgentProfilePopup.tsxindex 77553d12db7..2e08614bfa1 100644--- a/src/features/AgentProfileCard/AgentProfilePopup.tsx+++ b/src/features/AgentProfileCard/AgentProfilePopup.tsx@@ -2,7 +2,8 @@import { agentDisplayName, type AgentItem } from '@lobechat/types';import { ModelIcon } from '@lobehub/icons';-import { ActionIcon, Flexbox, Icon, Popover, Skeleton, Text } from '@lobehub/ui';+import { Flexbox, Icon, Popover, Skeleton } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { SkillsIcon } from '@lobehub/ui/icons';import { createStaticStyles } from 'antd-style';import { BookOpen, FileText, Settings } from 'lucide-react';diff --git a/src/features/AgentProfileCard/index.tsx b/src/features/AgentProfileCard/index.tsxindex 496cb20adc8..fbe97648a98 100644--- a/src/features/AgentProfileCard/index.tsx+++ b/src/features/AgentProfileCard/index.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, Center, Flexbox, Skeleton, Text, Tooltip } from '@lobehub/ui';+import { Center, Flexbox, Skeleton, Tooltip } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo, type ReactNode } from 'react';diff --git a/src/features/AgentQuotaCalendar/QuotaCalendarModal.tsx b/src/features/AgentQuotaCalendar/QuotaCalendarModal.tsxindex 6ca0ea1aabf..584044ef5a9 100644--- a/src/features/AgentQuotaCalendar/QuotaCalendarModal.tsx+++ b/src/features/AgentQuotaCalendar/QuotaCalendarModal.tsx@@ -2,8 +2,8 @@import type { QuotaLimitReading } from '@lobechat/heterogeneous-agents/quota';import { projectWindows } from '@lobechat/heterogeneous-agents/quota';-import { ActionIcon, Flexbox, Icon, Skeleton, Text, Tooltip } from '@lobehub/ui';-import { createModal, type ModalInstance, Segmented } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Skeleton, Tooltip } from '@lobehub/ui';+import { ActionIcon, createModal, type ModalInstance, Segmented, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import dayjs from 'dayjs';import type { TFunction } from 'i18next';diff --git a/src/features/AgentSetting/AgentOpening/OpeningQuestions.tsx b/src/features/AgentSetting/AgentOpening/OpeningQuestions.tsxindex f5906889229..54b892bc91a 100644--- a/src/features/AgentSetting/AgentOpening/OpeningQuestions.tsx+++ b/src/features/AgentSetting/AgentOpening/OpeningQuestions.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Empty, Flexbox, Input, SortableList } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Empty, Flexbox, Input, SortableList } from '@lobehub/ui';+import { ActionIcon, Button } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { MessageCircle, PlusIcon, Trash } from 'lucide-react';import { memo, useCallback, useMemo, useState } from 'react';diff --git a/src/features/AgentSetting/SettingsModalLayout.tsx b/src/features/AgentSetting/SettingsModalLayout.tsxindex fd38bfe3880..ec175b0b9b1 100644--- a/src/features/AgentSetting/SettingsModalLayout.tsx+++ b/src/features/AgentSetting/SettingsModalLayout.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Avatar, Flexbox, Icon, Text } from '@lobehub/ui';-import { Tabs, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Avatar, Tabs, Text, useModalContext } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { type LucideIcon, XIcon } from 'lucide-react';import { memo, type ReactNode } from 'react';diff --git a/src/features/AgentSidebar/Task/StatusGroup.tsx b/src/features/AgentSidebar/Task/StatusGroup.tsxindex 6d11aa4b5d0..e304a360329 100644--- a/src/features/AgentSidebar/Task/StatusGroup.tsx+++ b/src/features/AgentSidebar/Task/StatusGroup.tsx@@ -1,6 +1,7 @@'use client';-import { AccordionItem, Center, Flexbox, Icon, Text } from '@lobehub/ui';+import { AccordionItem, Center, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentSidebar/Task/TaskItem.tsx b/src/features/AgentSidebar/Task/TaskItem.tsxindex f859f45b48e..6fa0a30b752 100644--- a/src/features/AgentSidebar/Task/TaskItem.tsx+++ b/src/features/AgentSidebar/Task/TaskItem.tsx@@ -1,6 +1,6 @@'use client';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { memo, useCallback } from 'react';diff --git a/src/features/AgentSidebar/Task/index.tsx b/src/features/AgentSidebar/Task/index.tsxindex ea713e48a7f..c180fe5f97e 100644--- a/src/features/AgentSidebar/Task/index.tsx+++ b/src/features/AgentSidebar/Task/index.tsx@@ -1,6 +1,7 @@'use client';-import { Accordion, AccordionItem, ActionIcon, Flexbox, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { ArrowRight } from 'lucide-react';import { memo, type MouseEvent, useCallback, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentSidebar/Topic/Actions.tsx b/src/features/AgentSidebar/Topic/Actions.tsxindex 93feab8fe3c..654faf3fa53 100644--- a/src/features/AgentSidebar/Topic/Actions.tsx+++ b/src/features/AgentSidebar/Topic/Actions.tsx@@ -1,4 +1,5 @@-import { ActionIcon, DropdownMenu } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MoreHorizontal } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/AgentSidebar/Topic/Filter.tsx b/src/features/AgentSidebar/Topic/Filter.tsxindex c5eb0365987..25010ce02c5 100644--- a/src/features/AgentSidebar/Topic/Filter.tsx+++ b/src/features/AgentSidebar/Topic/Filter.tsx@@ -1,5 +1,4 @@-import { ActionIcon } from '@lobehub/ui';-import { DropdownMenu } from '@lobehub/ui/base-ui';+import { ActionIcon, DropdownMenu } from '@lobehub/ui/base-ui';import { ListFilter } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/AgentSidebar/Topic/List/Item/Actions.tsx b/src/features/AgentSidebar/Topic/List/Item/Actions.tsxindex 521c1c293ff..67865a13522 100644--- a/src/features/AgentSidebar/Topic/List/Item/Actions.tsx+++ b/src/features/AgentSidebar/Topic/List/Item/Actions.tsx@@ -1,4 +1,5 @@-import { ActionIcon, DropdownMenu } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MoreHorizontalIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/AgentSidebar/Topic/List/Item/index.tsx b/src/features/AgentSidebar/Topic/List/Item/index.tsxindex 36b58a1a735..091a99e3701 100644--- a/src/features/AgentSidebar/Topic/List/Item/index.tsx+++ b/src/features/AgentSidebar/Topic/List/Item/index.tsx@@ -5,7 +5,8 @@ import {getTopicMetadataWorkingDirectoryEffectivePath,getTopicMetadataWorkingDirectorySourcePath,} from '@lobechat/utils/client/topic';-import { Flexbox, Icon, Popover, Skeleton, Tag, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Popover, Skeleton, Tooltip } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, useTheme } from 'antd-style';import dayjs from 'dayjs';import isEqual from 'fast-deep-equal';diff --git a/src/features/AgentSidebar/Topic/ToggleGroups.tsx b/src/features/AgentSidebar/Topic/ToggleGroups.tsxindex 83c3a674c4e..556e7e14e7f 100644--- a/src/features/AgentSidebar/Topic/ToggleGroups.tsx+++ b/src/features/AgentSidebar/Topic/ToggleGroups.tsx@@ -1,4 +1,4 @@-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import { Maximize2, Minimize2 } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/features/AgentSidebar/Topic/TopicListContent/ByProjectMode/GroupItem.tsx b/src/features/AgentSidebar/Topic/TopicListContent/ByProjectMode/GroupItem.tsxindex 337f360f391..2aaf07cb268 100644--- a/src/features/AgentSidebar/Topic/TopicListContent/ByProjectMode/GroupItem.tsx+++ b/src/features/AgentSidebar/Topic/TopicListContent/ByProjectMode/GroupItem.tsx@@ -1,5 +1,6 @@import { AGENT_CHAT_URL } from '@lobechat/const';-import { AccordionItem, ActionIcon, Center, Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';+import { AccordionItem, Center, Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import isEqual from 'fast-deep-equal';import { FolderClosedIcon, FolderOpenIcon, type LucideIcon, PlusIcon } from 'lucide-react';diff --git a/src/features/AgentSidebar/Topic/TopicListContent/ByStatusMode/GroupItem.tsx b/src/features/AgentSidebar/Topic/TopicListContent/ByStatusMode/GroupItem.tsxindex 6d85b11ad1c..42ec6d2f4b4 100644--- a/src/features/AgentSidebar/Topic/TopicListContent/ByStatusMode/GroupItem.tsx+++ b/src/features/AgentSidebar/Topic/TopicListContent/ByStatusMode/GroupItem.tsx@@ -1,4 +1,5 @@-import { AccordionItem, Center, Flexbox, Icon, Text } from '@lobehub/ui';+import { AccordionItem, Center, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import { memo } from 'react';diff --git a/src/features/AgentSidebar/Topic/TopicListContent/ByTimeMode/GroupItem.tsx b/src/features/AgentSidebar/Topic/TopicListContent/ByTimeMode/GroupItem.tsxindex 0250cd6d0bb..2e1f0e28fde 100644--- a/src/features/AgentSidebar/Topic/TopicListContent/ByTimeMode/GroupItem.tsx+++ b/src/features/AgentSidebar/Topic/TopicListContent/ByTimeMode/GroupItem.tsx@@ -1,4 +1,5 @@-import { AccordionItem, Flexbox, Text } from '@lobehub/ui';+import { AccordionItem, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import dayjs from 'dayjs';import isEqual from 'fast-deep-equal';import { memo, useMemo } from 'react';diff --git a/src/features/AgentSidebar/Topic/TopicListContent/SearchResult/index.tsx b/src/features/AgentSidebar/Topic/TopicListContent/SearchResult/index.tsxindex 02eae3a61d7..215d6acf8e2 100644--- a/src/features/AgentSidebar/Topic/TopicListContent/SearchResult/index.tsx+++ b/src/features/AgentSidebar/Topic/TopicListContent/SearchResult/index.tsx@@ -1,6 +1,7 @@'use client';-import { Center, Text } from '@lobehub/ui';+import { Center } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import React, { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentSidebar/Topic/TopicListContent/ThreadList/ThreadItem/Actions.tsx b/src/features/AgentSidebar/Topic/TopicListContent/ThreadList/ThreadItem/Actions.tsxindex be1dce25cf0..73bca2db2fb 100644--- a/src/features/AgentSidebar/Topic/TopicListContent/ThreadList/ThreadItem/Actions.tsx+++ b/src/features/AgentSidebar/Topic/TopicListContent/ThreadList/ThreadItem/Actions.tsx@@ -1,5 +1,6 @@import type { DropdownItem } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MoreHorizontalIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/AgentSidebar/Topic/index.tsx b/src/features/AgentSidebar/Topic/index.tsxindex b87e266d6ac..f728af74b2b 100644--- a/src/features/AgentSidebar/Topic/index.tsx+++ b/src/features/AgentSidebar/Topic/index.tsx@@ -1,6 +1,7 @@'use client';-import { AccordionItem, ContextMenuTrigger, Flexbox, Text } from '@lobehub/ui';+import { AccordionItem, ContextMenuTrigger, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import React, { memo, Suspense, useEffect, useRef } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentSkillDetail/index.tsx b/src/features/AgentSkillDetail/index.tsxindex 71280d688b7..520f2b5c1b2 100644--- a/src/features/AgentSkillDetail/index.tsx+++ b/src/features/AgentSkillDetail/index.tsx@@ -2,7 +2,8 @@import { type SkillResourceTreeNode } from '@lobechat/types';import { Github } from '@lobehub/icons';-import { ActionIcon, Flexbox, Icon } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Skeleton } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { DotIcon, ExternalLinkIcon } from 'lucide-react';diff --git a/src/features/AgentSkillStore/Content.tsx b/src/features/AgentSkillStore/Content.tsxindex 69901d1afb5..ab5b488528c 100644--- a/src/features/AgentSkillStore/Content.tsx+++ b/src/features/AgentSkillStore/Content.tsx@@ -1,7 +1,8 @@'use client';import { COMPOSIO_APP_TYPES } from '@lobechat/const';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, useEffect } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentSkillStore/Item.tsx b/src/features/AgentSkillStore/Item.tsxindex 96161d4c2e0..a12fbb564b4 100644--- a/src/features/AgentSkillStore/Item.tsx+++ b/src/features/AgentSkillStore/Item.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Block, DropdownMenu, Flexbox, Icon, stopPropagation } from '@lobehub/ui';-import { confirmModal } from '@lobehub/ui/base-ui';+import { Block, DropdownMenu, Flexbox, Icon, stopPropagation } from '@lobehub/ui';+import { ActionIcon, confirmModal } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Loader2, MoreVerticalIcon, Plus, Unplug } from 'lucide-react';import React, { memo } from 'react';diff --git a/src/features/AgentTaskManager/Conversation.tsx b/src/features/AgentTaskManager/Conversation.tsxindex 873e3a697f6..477767483db 100644--- a/src/features/AgentTaskManager/Conversation.tsx+++ b/src/features/AgentTaskManager/Conversation.tsx@@ -1,7 +1,8 @@'use client';import { isChatGroupSessionId } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, useCallback, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentTaskManager/Toolbar.tsx b/src/features/AgentTaskManager/Toolbar.tsxindex 4e299cd2c60..850dcb876af 100644--- a/src/features/AgentTaskManager/Toolbar.tsx+++ b/src/features/AgentTaskManager/Toolbar.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox, Popover, Text } from '@lobehub/ui';+import { Flexbox, Popover } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { Clock3Icon, PanelRightCloseIcon, PlusIcon } from 'lucide-react';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentTasks/AgentTaskDetail/CommentInput.tsx b/src/features/AgentTasks/AgentTaskDetail/CommentInput.tsxindex 51f11d85631..60631a54fa2 100644--- a/src/features/AgentTasks/AgentTaskDetail/CommentInput.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/CommentInput.tsx@@ -1,5 +1,6 @@import { SendButton, useEditor } from '@lobehub/editor/react';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { $getRoot } from 'lexical';import { memo, useCallback, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentTasks/AgentTaskDetail/GoalRoundPopover.tsx b/src/features/AgentTasks/AgentTaskDetail/GoalRoundPopover.tsxindex b5e3da4b123..de9ae45a10b 100644--- a/src/features/AgentTasks/AgentTaskDetail/GoalRoundPopover.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/GoalRoundPopover.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Popover, Text } from '@lobehub/ui';+import { Flexbox, Popover } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo, type ReactNode } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentTasks/AgentTaskDetail/GoalRoundTimeline.tsx b/src/features/AgentTasks/AgentTaskDetail/GoalRoundTimeline.tsxindex 98638606d06..a67ac74b17f 100644--- a/src/features/AgentTasks/AgentTaskDetail/GoalRoundTimeline.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/GoalRoundTimeline.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentTasks/AgentTaskDetail/PendingAcceptanceCheckList.tsx b/src/features/AgentTasks/AgentTaskDetail/PendingAcceptanceCheckList.tsxindex 76b094cde18..ac20dae9d24 100644--- a/src/features/AgentTasks/AgentTaskDetail/PendingAcceptanceCheckList.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/PendingAcceptanceCheckList.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { CircleDashed } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/AgentTasks/AgentTaskDetail/RunSubtasksPreview.tsx b/src/features/AgentTasks/AgentTaskDetail/RunSubtasksPreview.tsxindex 9e8381b9fec..3937bbb68fa 100644--- a/src/features/AgentTasks/AgentTaskDetail/RunSubtasksPreview.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/RunSubtasksPreview.tsx@@ -1,4 +1,5 @@-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Tag } from 'antd';import { cssVar } from 'antd-style';import { memo } from 'react';diff --git a/src/features/AgentTasks/AgentTaskDetail/RunVerifyDetail.tsx b/src/features/AgentTasks/AgentTaskDetail/RunVerifyDetail.tsxindex 6e68ddad8f5..14a4cba5118 100644--- a/src/features/AgentTasks/AgentTaskDetail/RunVerifyDetail.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/RunVerifyDetail.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Check, ChevronDown, ChevronRight, CircleDashed, X } from 'lucide-react';import { memo, type ReactNode, useState } from 'react';diff --git a/src/features/AgentTasks/AgentTaskDetail/RunVerifyTag.tsx b/src/features/AgentTasks/AgentTaskDetail/RunVerifyTag.tsxindex fd144d8edb3..6b659e18b14 100644--- a/src/features/AgentTasks/AgentTaskDetail/RunVerifyTag.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/RunVerifyTag.tsx@@ -1,7 +1,8 @@'use client';import type { TaskRunVerifySummary } from '@lobechat/types';-import { Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { CircleCheck, CircleDashed, CircleX, Loader2, TriangleAlert } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskAcceptance.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskAcceptance.tsxindex 0eb0133d81d..5df1aa9cb14 100644--- a/src/features/AgentTasks/AgentTaskDetail/TaskAcceptance.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TaskAcceptance.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, confirmModal } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Button, confirmModal, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import {ChevronRight,diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskAcceptanceHeader.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskAcceptanceHeader.tsxindex 65ecb8908c4..d43a063d368 100644--- a/src/features/AgentTasks/AgentTaskDetail/TaskAcceptanceHeader.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TaskAcceptanceHeader.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Flexbox, Icon, Tag, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { ShieldCheck } from 'lucide-react';import { memo, type ReactNode } from 'react';diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskAcceptanceStateRow.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskAcceptanceStateRow.tsxindex d5eb27978b9..9147c4ea7f1 100644--- a/src/features/AgentTasks/AgentTaskDetail/TaskAcceptanceStateRow.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TaskAcceptanceStateRow.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Icon, Text } from '@lobehub/ui';+import { Block, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import {AlertTriangle,diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskActivities.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskActivities.tsxindex 599ecfdf6d4..c2ee8503603 100644--- a/src/features/AgentTasks/AgentTaskDetail/TaskActivities.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TaskActivities.tsx@@ -1,5 +1,6 @@import type { BriefType, TaskDetailActivity } from '@lobechat/types';-import { Accordion, AccordionItem, Avatar, Empty, Flexbox, Icon, Tag, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Empty, Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import type { TFunction } from 'i18next';import { BotMessageSquare, CircleDot, CirclePlus, MessageCircle } from 'lucide-react';diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskDetailAssignee.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskDetailAssignee.tsxindex 0abcdccd3e9..af73e5be4f5 100644--- a/src/features/AgentTasks/AgentTaskDetail/TaskDetailAssignee.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TaskDetailAssignee.tsx@@ -1,5 +1,6 @@import type { TaskStatus } from '@lobechat/types';-import { Block, Icon, Text, Tooltip } from '@lobehub/ui';+import { Block, Icon, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar, useThemeMode } from 'antd-style';import { UserCircle2 } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskDetailHeaderActions.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskDetailHeaderActions.tsxindex 0fd1a526305..7e7ba4161f0 100644--- a/src/features/AgentTasks/AgentTaskDetail/TaskDetailHeaderActions.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TaskDetailHeaderActions.tsx@@ -1,5 +1,5 @@-import { ActionIcon, copyToClipboard, type DropdownItem, DropdownMenu, Icon } from '@lobehub/ui';-import { confirmModal, toast } from '@lobehub/ui/base-ui';+import { copyToClipboard, type DropdownItem, DropdownMenu, Icon } from '@lobehub/ui';+import { ActionIcon, confirmModal, toast } from '@lobehub/ui/base-ui';import { CopyIcon, EyeOffIcon, LinkIcon, MoreHorizontal, Trash, UsersIcon } from 'lucide-react';import { memo, useCallback, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskDetailRunPauseAction.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskDetailRunPauseAction.tsxindex 700df833597..9e024a7ad75 100644--- a/src/features/AgentTasks/AgentTaskDetail/TaskDetailRunPauseAction.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TaskDetailRunPauseAction.tsx@@ -1,5 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';-import { Button, SplitButton } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, SplitButton, Text } from '@lobehub/ui/base-ui';import { CalendarOffIcon, PlayIcon, RotateCcwIcon } from 'lucide-react';import { memo, useCallback, useEffect, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskInstruction.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskInstruction.tsxindex c95ddc57865..3962cd88275 100644--- a/src/features/AgentTasks/AgentTaskDetail/TaskInstruction.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TaskInstruction.tsx@@ -1,5 +1,6 @@import { useEditor } from '@lobehub/editor/react';-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Paperclip } from 'lucide-react';import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskParentBar.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskParentBar.tsxindex 558e024819a..19ed1f4f839 100644--- a/src/features/AgentTasks/AgentTaskDetail/TaskParentBar.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TaskParentBar.tsx@@ -1,6 +1,6 @@import type { TaskDetailData, TaskDetailSubtask } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { memo, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskProperties.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskProperties.tsxindex 66d77f48c89..93131a17b71 100644--- a/src/features/AgentTasks/AgentTaskDetail/TaskProperties.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TaskProperties.tsx@@ -1,5 +1,6 @@import type { TaskPriority, TaskStatus } from '@lobechat/types';-import { Block, Text } from '@lobehub/ui';+import { Block } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskScheduleConfig.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskScheduleConfig.tsxindex 335921b90c1..f9c4804f685 100644--- a/src/features/AgentTasks/AgentTaskDetail/TaskScheduleConfig.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TaskScheduleConfig.tsx@@ -1,6 +1,6 @@import type { TaskAutomationMode } from '@lobechat/types';-import { ActionIcon, Avatar, Flexbox, Icon, InputNumber, Popover, Text } from '@lobehub/ui';-import { Button, Select, Switch, Tabs } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, InputNumber, Popover } from '@lobehub/ui';+import { ActionIcon, Avatar, Button, Select, Switch, Tabs, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import dayjs from 'dayjs';import { CalendarClockIcon, CalendarDays, Clock, RefreshCw, TimerIcon, Zap } from 'lucide-react';diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskSubtasks.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskSubtasks.tsxindex 7483edc0ffe..c65c523eee1 100644--- a/src/features/AgentTasks/AgentTaskDetail/TaskSubtasks.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TaskSubtasks.tsx@@ -1,6 +1,6 @@import type { TaskDetailSubtask } from '@lobechat/types';-import { ActionIcon, Block, Flexbox, Icon, Text } from '@lobehub/ui';-import { confirmModal, toast } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, confirmModal, Text, toast } from '@lobehub/ui/base-ui';import { ConfigProvider, Tree } from 'antd';import type { DataNode } from 'antd/es/tree';import { cssVar } from 'antd-style';diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskVerifyConfig.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskVerifyConfig.tsxindex 0c55347fa58..168a988e396 100644--- a/src/features/AgentTasks/AgentTaskDetail/TaskVerifyConfig.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TaskVerifyConfig.tsx@@ -1,13 +1,16 @@'use client';import { AgentRuntimeErrorType } from '@lobechat/model-runtime';-import { ActionIcon, Block, Flexbox, Icon, Tag, Text, TextArea } from '@lobehub/ui';+import { Block, Flexbox, Icon, TextArea } from '@lobehub/ui';import {+ ActionIcon,Button,confirmModal,type DropdownItem,DropdownMenu,Select,+ Tag,+ Text,toast,} from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';diff --git a/src/features/AgentTasks/AgentTaskDetail/TopicChatDrawer/index.tsx b/src/features/AgentTasks/AgentTaskDetail/TopicChatDrawer/index.tsxindex 77346195010..4098a3b9006 100644--- a/src/features/AgentTasks/AgentTaskDetail/TopicChatDrawer/index.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TopicChatDrawer/index.tsx@@ -3,8 +3,8 @@import { AGENT_CHAT_TOPIC_URL } from '@lobechat/const';import type { ConversationContext } from '@lobechat/types';import type { DropdownItem } from '@lobehub/ui';-import { ActionIcon, copyToClipboard, DropdownMenu, Flexbox, Freeze, Tag, Text } from '@lobehub/ui';-import { confirmModal, FloatingPanel, toast } from '@lobehub/ui/base-ui';+import { copyToClipboard, DropdownMenu, Flexbox, Freeze } from '@lobehub/ui';+import { ActionIcon, confirmModal, FloatingPanel, Tag, Text, toast } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import {Copy,diff --git a/src/features/AgentTasks/AgentTaskDetail/scheduler/SchedulerForm.tsx b/src/features/AgentTasks/AgentTaskDetail/scheduler/SchedulerForm.tsxindex e1fcf090134..6a0e9850e5e 100644--- a/src/features/AgentTasks/AgentTaskDetail/scheduler/SchedulerForm.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/scheduler/SchedulerForm.tsx@@ -1,5 +1,5 @@-import { Accordion, AccordionItem, Flexbox, Icon, InputNumber, Text } from '@lobehub/ui';-import { Checkbox, Select } from '@lobehub/ui/base-ui';+import { Accordion, AccordionItem, Flexbox, Icon, InputNumber } from '@lobehub/ui';+import { Checkbox, Select, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import dayjs, { type Dayjs } from 'dayjs';import { Globe, Hash, SlidersHorizontal } from 'lucide-react';diff --git a/src/features/AgentTasks/AgentTaskList/AgentTasksPage.tsx b/src/features/AgentTasks/AgentTaskList/AgentTasksPage.tsxindex 7521ff66fd8..702917cda90 100644--- a/src/features/AgentTasks/AgentTaskList/AgentTasksPage.tsx+++ b/src/features/AgentTasks/AgentTaskList/AgentTasksPage.tsx@@ -1,5 +1,5 @@-import { ActionIcon, Flexbox } from '@lobehub/ui';-import { TabsIndicator, TabsList, TabsRoot, TabsTab } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, TabsIndicator, TabsList, TabsRoot, TabsTab } from '@lobehub/ui/base-ui';import { Pagination } from 'antd';import { Plus } from 'lucide-react';import { memo, useCallback, useEffect, useMemo, useState } from 'react';diff --git a/src/features/AgentTasks/AgentTaskList/CreateTaskInlineEntry.tsx b/src/features/AgentTasks/AgentTaskList/CreateTaskInlineEntry.tsxindex daf397feec3..4326c316483 100644--- a/src/features/AgentTasks/AgentTaskList/CreateTaskInlineEntry.tsx+++ b/src/features/AgentTasks/AgentTaskList/CreateTaskInlineEntry.tsx@@ -1,8 +1,8 @@'use client';import { useEditor } from '@lobehub/editor/react';-import { ActionIcon, Block, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Button, Text, toast } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { $getRoot } from 'lexical';import { ChevronUp, Paperclip, UserCircle2 } from 'lucide-react';diff --git a/src/features/AgentTasks/AgentTaskList/EmptyState.tsx b/src/features/AgentTasks/AgentTaskList/EmptyState.tsxindex 1e8cbc193a9..e328b54b16f 100644--- a/src/features/AgentTasks/AgentTaskList/EmptyState.tsx+++ b/src/features/AgentTasks/AgentTaskList/EmptyState.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, responsive } from 'antd-style';import { RefreshCw } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/AgentTasks/AgentTaskList/HiddenColumnsPanel.tsx b/src/features/AgentTasks/AgentTaskList/HiddenColumnsPanel.tsxindex 7681a1f227e..ba1f62fdb9a 100644--- a/src/features/AgentTasks/AgentTaskList/HiddenColumnsPanel.tsx+++ b/src/features/AgentTasks/AgentTaskList/HiddenColumnsPanel.tsx@@ -1,5 +1,6 @@import type { TaskStatus } from '@lobechat/types';-import { Icon, Text, Tooltip } from '@lobehub/ui';+import { Icon, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { PanelRightClose, PanelRightOpen } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/AgentTasks/AgentTaskList/KanbanColumn.tsx b/src/features/AgentTasks/AgentTaskList/KanbanColumn.tsxindex cd962c1acd0..9bf09361a56 100644--- a/src/features/AgentTasks/AgentTaskList/KanbanColumn.tsx+++ b/src/features/AgentTasks/AgentTaskList/KanbanColumn.tsx@@ -1,6 +1,7 @@import { useDndContext, useDraggable, useDroppable } from '@dnd-kit/core';import type { TaskStatus } from '@lobechat/types';-import { ActionIcon, type DropdownItem, DropdownMenu, Icon, Skeleton, Text } from '@lobehub/ui';+import { type DropdownItem, DropdownMenu, Icon, Skeleton } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { EyeOff, MoreHorizontal, Plus } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/features/AgentTasks/AgentTaskList/TaskGroupLabel.tsx b/src/features/AgentTasks/AgentTaskList/TaskGroupLabel.tsxindex 45aca1cb188..9b9c0fa817f 100644--- a/src/features/AgentTasks/AgentTaskList/TaskGroupLabel.tsx+++ b/src/features/AgentTasks/AgentTaskList/TaskGroupLabel.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { CalendarClock, HeartPulse, UserRound } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/AgentTasks/AgentTaskList/TaskList.tsx b/src/features/AgentTasks/AgentTaskList/TaskList.tsxindex d09f0dee221..6e8dd3dc3ef 100644--- a/src/features/AgentTasks/AgentTaskList/TaskList.tsx+++ b/src/features/AgentTasks/AgentTaskList/TaskList.tsx@@ -1,4 +1,5 @@-import { Accordion, AccordionItem, Block, Center, Empty, Flexbox, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Block, Center, Empty, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { cssVar } from 'antd-style';import { ClipboardCheckIcon } from 'lucide-react';diff --git a/src/features/AgentTasks/AgentTaskList/TaskListVisibilityFilter.tsx b/src/features/AgentTasks/AgentTaskList/TaskListVisibilityFilter.tsxindex a5d9e1f039f..c0ba9850fcc 100644--- a/src/features/AgentTasks/AgentTaskList/TaskListVisibilityFilter.tsx+++ b/src/features/AgentTasks/AgentTaskList/TaskListVisibilityFilter.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, type DropdownItem, DropdownMenu, Icon, type MenuInfo } from '@lobehub/ui';+import { type DropdownItem, DropdownMenu, Icon, type MenuInfo } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Globe, LockIcon, UsersIcon } from 'lucide-react';import { memo, useMemo, useState } from 'react';diff --git a/src/features/AgentTasks/AgentTaskList/TasksGroupConfig.tsx b/src/features/AgentTasks/AgentTaskList/TasksGroupConfig.tsxindex 600eba1881a..f650de8131e 100644--- a/src/features/AgentTasks/AgentTaskList/TasksGroupConfig.tsx+++ b/src/features/AgentTasks/AgentTaskList/TasksGroupConfig.tsx@@ -1,6 +1,6 @@import { type FormItemProps } from '@lobehub/ui';-import { ActionIcon, Flexbox, Form, Icon, Popover } from '@lobehub/ui';-import { Select, Switch, Tabs } from '@lobehub/ui/base-ui';+import { Flexbox, Form, Icon, Popover } from '@lobehub/ui';+import { ActionIcon, Select, Switch, Tabs } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import {ArrowDownWideNarrow,diff --git a/src/features/AgentTasks/CreateTaskModal/CreateTaskContent.tsx b/src/features/AgentTasks/CreateTaskModal/CreateTaskContent.tsxindex 7c73963e958..0198cadd753 100644--- a/src/features/AgentTasks/CreateTaskModal/CreateTaskContent.tsx+++ b/src/features/AgentTasks/CreateTaskModal/CreateTaskContent.tsx@@ -1,8 +1,8 @@'use client';import { useEditor } from '@lobehub/editor/react';-import { ActionIcon, Block, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Button, Text, toast, useModalContext } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Minimize2, Paperclip, UserCircle2, X } from 'lucide-react';import { type KeyboardEvent, memo, useCallback, useEffect, useRef, useState } from 'react';diff --git a/src/features/AgentTasks/features/AgentTaskItem.tsx b/src/features/AgentTasks/features/AgentTaskItem.tsxindex 0dc25474e8a..5bbc2bef391 100644--- a/src/features/AgentTasks/features/AgentTaskItem.tsx+++ b/src/features/AgentTasks/features/AgentTaskItem.tsx@@ -1,5 +1,6 @@import type { TaskStatus } from '@lobechat/types';-import { Block, ContextMenuTrigger, Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';+import { Block, ContextMenuTrigger, Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { LockIcon } from 'lucide-react';import { memo, useCallback } from 'react';diff --git a/src/features/AgentTasks/features/AssigneeAgentSelector.tsx b/src/features/AgentTasks/features/AssigneeAgentSelector.tsxindex 9a0d00db78b..8e2c53fa085 100644--- a/src/features/AgentTasks/features/AssigneeAgentSelector.tsx+++ b/src/features/AgentTasks/features/AssigneeAgentSelector.tsx@@ -1,7 +1,8 @@import { DEFAULT_INBOX_AVATAR } from '@lobechat/const';import { canWorkspaceRoleBeTaskAssignee } from '@lobechat/const/rbac';import { agentDisplayName } from '@lobechat/types';-import { Flexbox, Icon, Popover, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Popover, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';import { UserRoundX } from 'lucide-react';diff --git a/src/features/AgentTasks/features/AssigneeAvatar.tsx b/src/features/AgentTasks/features/AssigneeAvatar.tsxindex aad617af057..7f250f7fada 100644--- a/src/features/AgentTasks/features/AssigneeAvatar.tsx+++ b/src/features/AgentTasks/features/AssigneeAvatar.tsx@@ -1,4 +1,5 @@-import { Avatar, Center, Icon } from '@lobehub/ui';+import { Center, Icon } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { CircleUser } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/AgentTasks/features/TaskStatusIcon.tsx b/src/features/AgentTasks/features/TaskStatusIcon.tsxindex 8e2b4dd8a32..af91101c2d6 100644--- a/src/features/AgentTasks/features/TaskStatusIcon.tsx+++ b/src/features/AgentTasks/features/TaskStatusIcon.tsx@@ -1,5 +1,5 @@import type { TaskStatus } from '@lobechat/types';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { memo } from 'react';import { TASK_STATUS_VISUALS } from '@/components/ExecutionStatus';diff --git a/src/features/AgentTasks/features/TaskSubtaskProgressTag.tsx b/src/features/AgentTasks/features/TaskSubtaskProgressTag.tsxindex bdf51c3c12d..e5d3751b2b0 100644--- a/src/features/AgentTasks/features/TaskSubtaskProgressTag.tsx+++ b/src/features/AgentTasks/features/TaskSubtaskProgressTag.tsx@@ -1,6 +1,7 @@import type { TaskDetailSubtask } from '@lobechat/types';import { type DropdownMenuProps } from '@lobehub/ui';-import { Block, DropdownMenu, Flexbox, Text } from '@lobehub/ui';+import { Block, DropdownMenu, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Progress } from 'antd';import { cssVar } from 'antd-style';import { memo, useMemo } from 'react';diff --git a/src/features/AgentTasks/features/TaskTriggerTag.tsx b/src/features/AgentTasks/features/TaskTriggerTag.tsxindex d4b5bba36b6..3e8759f9860 100644--- a/src/features/AgentTasks/features/TaskTriggerTag.tsx+++ b/src/features/AgentTasks/features/TaskTriggerTag.tsx@@ -1,4 +1,5 @@-import { Block, Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';+import { Block, Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { ClockIcon } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/features/AgentTasks/features/TaskVisibilityChipLabel.tsx b/src/features/AgentTasks/features/TaskVisibilityChipLabel.tsxindex 0eecfc0fc88..393971ec7c4 100644--- a/src/features/AgentTasks/features/TaskVisibilityChipLabel.tsx+++ b/src/features/AgentTasks/features/TaskVisibilityChipLabel.tsx@@ -1,4 +1,5 @@-import { Block, Icon, Text } from '@lobehub/ui';+import { Block, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { LockIcon, UsersIcon } from 'lucide-react';import { type ComponentProps, memo } from 'react';diff --git a/src/features/AgentTasks/shared/Breadcrumb.tsx b/src/features/AgentTasks/shared/Breadcrumb.tsxindex ed6684e2143..740fbd3de06 100644--- a/src/features/AgentTasks/shared/Breadcrumb.tsx+++ b/src/features/AgentTasks/shared/Breadcrumb.tsx@@ -1,5 +1,6 @@import { agentDisplayName } from '@lobechat/types';-import { Icon, Text } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Breadcrumb as AntBreadcrumb } from 'antd';import { ChevronRight } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/AgentTopicManager/BulkActionBar.tsx b/src/features/AgentTopicManager/BulkActionBar.tsxindex f9bc15f28b6..1db67cf5916 100644--- a/src/features/AgentTopicManager/BulkActionBar.tsx+++ b/src/features/AgentTopicManager/BulkActionBar.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Archive, Star, Trash2, X } from 'lucide-react';import { memo, useCallback } from 'react';diff --git a/src/features/AgentTopicManager/EmptyState.tsx b/src/features/AgentTopicManager/EmptyState.tsxindex c01878fd199..d77d3001525 100644--- a/src/features/AgentTopicManager/EmptyState.tsx+++ b/src/features/AgentTopicManager/EmptyState.tsx@@ -1,8 +1,8 @@'use client';import { AGENT_CHAT_URL } from '@lobechat/const';-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { MessagesSquare } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/AgentTopicManager/MoveToAgentButton.tsx b/src/features/AgentTopicManager/MoveToAgentButton.tsxindex c09bc887b55..8d6d8109dea 100644--- a/src/features/AgentTopicManager/MoveToAgentButton.tsx+++ b/src/features/AgentTopicManager/MoveToAgentButton.tsx@@ -1,6 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { FolderInput } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentTopicManager/MoveTopicsModal/Content.tsx b/src/features/AgentTopicManager/MoveTopicsModal/Content.tsxindex 0f241d26185..b2b4e5927e8 100644--- a/src/features/AgentTopicManager/MoveTopicsModal/Content.tsx+++ b/src/features/AgentTopicManager/MoveTopicsModal/Content.tsx@@ -2,8 +2,8 @@import { AGENT_CHAT_URL, DEFAULT_INBOX_AVATAR } from '@lobechat/const';import { agentDisplayName } from '@lobechat/types';-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Text, toast, useModalContext } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { CircleCheck } from 'lucide-react';import { memo, useMemo, useState } from 'react';diff --git a/src/features/AgentTopicManager/TopicCard.tsx b/src/features/AgentTopicManager/TopicCard.tsxindex 10c2aa3bc2b..3d92ca13edd 100644--- a/src/features/AgentTopicManager/TopicCard.tsx+++ b/src/features/AgentTopicManager/TopicCard.tsx@@ -2,8 +2,8 @@import { AGENT_CHAT_TOPIC_URL } from '@lobechat/const';import { formatPrice, formatTokenNumber } from '@lobechat/utils/format';-import { Block, Flexbox, Icon, Tag, Text } from '@lobehub/ui';-import { Checkbox } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Checkbox, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { CircleDollarSign, FolderIcon, MessageSquare, Star, Zap } from 'lucide-react';import { memo, type MouseEvent, useCallback } from 'react';@@ -160,7 +160,7 @@ const TopicCard = memo<TopicCardProps>(({ topic, agentId }) => {)}{projectLabel && (- <Tag bordered={false} icon={<Icon icon={FolderIcon} size={11} />} size={'small'}>+ <Tag icon={<Icon icon={FolderIcon} size={11} />} size={'small'}>{projectLabel}</Tag>)}diff --git a/src/features/AgentTopicManager/TopicGrid.tsx b/src/features/AgentTopicManager/TopicGrid.tsxindex f4a1d8df2dc..23158fbdfe4 100644--- a/src/features/AgentTopicManager/TopicGrid.tsx+++ b/src/features/AgentTopicManager/TopicGrid.tsx@@ -1,7 +1,8 @@'use client';import type { GroupedTopic } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, responsive } from 'antd-style';import { Fragment, memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentTopicManager/TopicListView.tsx b/src/features/AgentTopicManager/TopicListView.tsxindex ffe02ee5dad..87d63c5d1a3 100644--- a/src/features/AgentTopicManager/TopicListView.tsx+++ b/src/features/AgentTopicManager/TopicListView.tsx@@ -2,8 +2,8 @@import { AGENT_CHAT_TOPIC_URL } from '@lobechat/const';import type { GroupedTopic } from '@lobechat/types';-import { ActionIcon, DropdownMenu, Flexbox, Icon, Tag, Text } from '@lobehub/ui';-import { Checkbox } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Checkbox, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { FolderIcon, MoreHorizontal, Star } from 'lucide-react';import { Fragment, memo, type MouseEvent, useCallback } from 'react';@@ -209,7 +209,7 @@ const Row = memo<RowProps>(({ topic, agentId }) => {</div><div className={styles.cell}>{projectLabel ? (- <Tag bordered={false} icon={<Icon icon={FolderIcon} size={11} />} size={'small'}>+ <Tag icon={<Icon icon={FolderIcon} size={11} />} size={'small'}>{projectLabel}</Tag>) : (diff --git a/src/features/AgentTransferMigration/MigrationBanner.tsx b/src/features/AgentTransferMigration/MigrationBanner.tsxindex f992842a397..f2a27530baa 100644--- a/src/features/AgentTransferMigration/MigrationBanner.tsx+++ b/src/features/AgentTransferMigration/MigrationBanner.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Loader2 } from 'lucide-react';import { memo, useEffect, useRef } from 'react';diff --git a/src/features/AgentUsage/ModelBreakdown.tsx b/src/features/AgentUsage/ModelBreakdown.tsxindex 5f01cbe5212..7848079dcf3 100644--- a/src/features/AgentUsage/ModelBreakdown.tsx+++ b/src/features/AgentUsage/ModelBreakdown.tsx@@ -1,7 +1,8 @@'use client';import { ModelIcon } from '@lobehub/icons';-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Table } from 'antd';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentUsage/StatCards.tsx b/src/features/AgentUsage/StatCards.tsxindex c7f6e4bb6ef..7b98b9cee7d 100644--- a/src/features/AgentUsage/StatCards.tsx+++ b/src/features/AgentUsage/StatCards.tsx@@ -1,6 +1,7 @@'use client';-import { Grid, Text } from '@lobehub/ui';+import { Grid } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentUsage/UsageTrendChart.tsx b/src/features/AgentUsage/UsageTrendChart.tsxindex a5c8cc36c36..e8a7d19375d 100644--- a/src/features/AgentUsage/UsageTrendChart.tsx+++ b/src/features/AgentUsage/UsageTrendChart.tsx@@ -1,8 +1,8 @@'use client';import { BarChart, ChartTooltipFrame, ChartTooltipRow } from '@lobehub/charts';-import { Block, Flexbox, Skeleton, Text } from '@lobehub/ui';-import { Segmented } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Skeleton } from '@lobehub/ui';+import { Segmented, Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { memo, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentUsage/index.tsx b/src/features/AgentUsage/index.tsxindex be4ff2a33f9..531aa82e326 100644--- a/src/features/AgentUsage/index.tsx+++ b/src/features/AgentUsage/index.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Flexbox, Text } from '@lobehub/ui';-import { Segmented } from '@lobehub/ui/base-ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Segmented, Text } from '@lobehub/ui/base-ui';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentViewAll/AgentViewAllPage.tsx b/src/features/AgentViewAll/AgentViewAllPage.tsxindex 291d69619b7..d0781654e36 100644--- a/src/features/AgentViewAll/AgentViewAllPage.tsx+++ b/src/features/AgentViewAll/AgentViewAllPage.tsx@@ -2,8 +2,8 @@import { DEFAULT_AVATAR } from '@lobechat/const';import { agentDisplayName, type SidebarAgentItem } from '@lobechat/types';-import { Avatar, Center, Empty, Flexbox, Icon, SearchBar, Text, Tooltip } from '@lobehub/ui';-import { Button, DropdownMenu, Segmented, toast } from '@lobehub/ui/base-ui';+import { Center, Empty, Flexbox, Icon, SearchBar, Tooltip } from '@lobehub/ui';+import { Avatar, Button, DropdownMenu, Segmented, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import dayjs from 'dayjs';import isEqual from 'fast-deep-equal';diff --git a/src/features/AgentViewAll/ItemActions.tsx b/src/features/AgentViewAll/ItemActions.tsxindex eff59fa9259..f51a03c0cbd 100644--- a/src/features/AgentViewAll/ItemActions.tsx+++ b/src/features/AgentViewAll/ItemActions.tsx@@ -2,8 +2,8 @@import { agentDisplayName, type SidebarAgentItem } from '@lobechat/types';import type { MenuProps } from '@lobehub/ui';-import { ActionIcon, Icon } from '@lobehub/ui';-import { DropdownMenu } from '@lobehub/ui/base-ui';+import { Icon } from '@lobehub/ui';+import { ActionIcon, DropdownMenu } from '@lobehub/ui/base-ui';import { EllipsisIcon, EyeIcon, EyeOffIcon } from 'lucide-react';import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AgentViewAll/ListConfig.tsx b/src/features/AgentViewAll/ListConfig.tsxindex 2e0ca16ce77..4c3e9fb68e5 100644--- a/src/features/AgentViewAll/ListConfig.tsx+++ b/src/features/AgentViewAll/ListConfig.tsx@@ -1,8 +1,8 @@'use client';import { type FormItemProps } from '@lobehub/ui';-import { ActionIcon, Flexbox, Form, Icon, Popover } from '@lobehub/ui';-import { Select, Switch, Tabs } from '@lobehub/ui/base-ui';+import { Flexbox, Form, Icon, Popover } from '@lobehub/ui';+import { ActionIcon, Select, Switch, Tabs } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import {ArrowDownWideNarrow,diff --git a/src/features/AgentViewAll/SidebarAgentsSection.tsx b/src/features/AgentViewAll/SidebarAgentsSection.tsxindex 1d2b72a728b..709fe218466 100644--- a/src/features/AgentViewAll/SidebarAgentsSection.tsx+++ b/src/features/AgentViewAll/SidebarAgentsSection.tsx@@ -3,7 +3,8 @@import { AGENT_CHAT_URL, GROUP_CHAT_URL } from '@lobechat/const';import type { SidebarAgentItem } from '@lobechat/types';import { agentDisplayName, agentSecondaryDisplayName } from '@lobechat/types';-import { Block, ContextMenuTrigger, Flexbox, Icon, type MenuProps, Tag, Text } from '@lobehub/ui';+import { Block, ContextMenuTrigger, Flexbox, Icon, type MenuProps } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, responsive } from 'antd-style';import { ChevronDownIcon, ChevronUpIcon } from 'lucide-react';import { memo, useCallback, useRef, useState } from 'react';diff --git a/src/features/Apps/index.tsx b/src/features/Apps/index.tsxindex 1cf0a1c82da..8a4095de32f 100644--- a/src/features/Apps/index.tsx+++ b/src/features/Apps/index.tsx@@ -1,8 +1,7 @@'use client';import { DOWNLOAD_URL, isDesktop } from '@lobechat/const';-import { Tag, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Button, Tag, Text } from '@lobehub/ui/base-ui';import { ArrowUpRight, Check, Copy } from 'lucide-react';import { useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AttachmentInput/AttachmentUploadButton.tsx b/src/features/AttachmentInput/AttachmentUploadButton.tsxindex d568799114e..94c4b4418a6 100644--- a/src/features/AttachmentInput/AttachmentUploadButton.tsx+++ b/src/features/AttachmentInput/AttachmentUploadButton.tsx@@ -1,4 +1,4 @@-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Upload } from 'antd';import { Paperclip } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Auth/AuthError/index.tsx b/src/features/Auth/AuthError/index.tsxindex c3634e46f69..c924c9a9734 100644--- a/src/features/Auth/AuthError/index.tsx+++ b/src/features/Auth/AuthError/index.tsx@@ -2,8 +2,8 @@import { SiDiscord } from '@icons-pack/react-simple-icons';import { SOCIAL_URL } from '@lobechat/business-const';-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Auth/MarketAuthCallback/index.tsx b/src/features/Auth/MarketAuthCallback/index.tsxindex 28ff1d65b21..c5326a6864b 100644--- a/src/features/Auth/MarketAuthCallback/index.tsx+++ b/src/features/Auth/MarketAuthCallback/index.tsx@@ -1,7 +1,7 @@'use client';-import { FluentEmoji, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { FluentEmoji } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { Result } from 'antd';import { useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Auth/OAuthCallback/Error.tsx b/src/features/Auth/OAuthCallback/Error.tsxindex c44dbea6d09..efefaab6ad5 100644--- a/src/features/Auth/OAuthCallback/Error.tsx+++ b/src/features/Auth/OAuthCallback/Error.tsx@@ -1,8 +1,8 @@'use client';// Highlighter is intentionally avoided: it pulls every shiki grammar (~10 MB) into the auth bundle-import { Block, Flexbox, FluentEmoji, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox, FluentEmoji } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { Result } from 'antd';import { useTranslation } from 'react-i18next';import { useSearchParams } from 'react-router';diff --git a/src/features/Auth/OAuthCallback/Social.tsx b/src/features/Auth/OAuthCallback/Social.tsxindex 5aaafe9a208..e8cdd025863 100644--- a/src/features/Auth/OAuthCallback/Social.tsx+++ b/src/features/Auth/OAuthCallback/Social.tsx@@ -1,6 +1,7 @@'use client';-import { FluentEmoji, Text } from '@lobehub/ui';+import { FluentEmoji } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Result } from 'antd';import React, { memo, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Auth/OAuthCallback/Success.tsx b/src/features/Auth/OAuthCallback/Success.tsxindex cab93484805..c8d32569d51 100644--- a/src/features/Auth/OAuthCallback/Success.tsx+++ b/src/features/Auth/OAuthCallback/Success.tsx@@ -1,6 +1,7 @@'use client';-import { FluentEmoji, Text } from '@lobehub/ui';+import { FluentEmoji } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Result } from 'antd';import React, { memo, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Auth/OAuthConsent/ClientError.tsx b/src/features/Auth/OAuthConsent/ClientError.tsxindex 29a17b95070..32df34dbf61 100644--- a/src/features/Auth/OAuthConsent/ClientError.tsx+++ b/src/features/Auth/OAuthConsent/ClientError.tsx@@ -1,6 +1,7 @@'use client';-import { FluentEmoji, Text } from '@lobehub/ui';+import { FluentEmoji } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Result } from 'antd';import React, { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Auth/OAuthConsent/Consent/BuiltinConsent.tsx b/src/features/Auth/OAuthConsent/Consent/BuiltinConsent.tsxindex c9d218617a1..0f545b60f29 100644--- a/src/features/Auth/OAuthConsent/Consent/BuiltinConsent.tsx+++ b/src/features/Auth/OAuthConsent/Consent/BuiltinConsent.tsx@@ -1,6 +1,6 @@'use client';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Result } from 'antd';import { memo, useEffect, useRef } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Auth/OAuthConsent/Consent/index.tsx b/src/features/Auth/OAuthConsent/Consent/index.tsxindex 56063eead82..79da20cc841 100644--- a/src/features/Auth/OAuthConsent/Consent/index.tsx+++ b/src/features/Auth/OAuthConsent/Consent/index.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import React, { memo, useRef, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Auth/OAuthConsent/Login.tsx b/src/features/Auth/OAuthConsent/Login.tsxindex 7dcd3c177cd..f0e7b3540ab 100644--- a/src/features/Auth/OAuthConsent/Login.tsx+++ b/src/features/Auth/OAuthConsent/Login.tsx@@ -1,7 +1,7 @@'use client';-import { Avatar, Block, Flexbox, Skeleton, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Skeleton } from '@lobehub/ui';+import { Avatar, Button, Text } from '@lobehub/ui/base-ui';import React, { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Auth/OAuthConsent/OAuthApplicationLogo.tsx b/src/features/Auth/OAuthConsent/OAuthApplicationLogo.tsxindex dd02b62415d..6c947b4f9be 100644--- a/src/features/Auth/OAuthConsent/OAuthApplicationLogo.tsx+++ b/src/features/Auth/OAuthConsent/OAuthApplicationLogo.tsx@@ -1,4 +1,5 @@-import { Avatar, Center, Flexbox, FluentEmoji, Icon } from '@lobehub/ui';+import { Center, Flexbox, FluentEmoji, Icon } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Link2Icon } from 'lucide-react';import React, { memo } from 'react';diff --git a/src/features/Auth/OAuthConsent/ThirdPartyNotice.tsx b/src/features/Auth/OAuthConsent/ThirdPartyNotice.tsxindex f0742f662a4..4eb2400d40b 100644--- a/src/features/Auth/OAuthConsent/ThirdPartyNotice.tsx+++ b/src/features/Auth/OAuthConsent/ThirdPartyNotice.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Alert } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Alert, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { ExternalLinkIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Auth/OAuthDevice/DeviceCodeConfirm.tsx b/src/features/Auth/OAuthDevice/DeviceCodeConfirm.tsxindex 97fcc0154a4..b4dbcdfe04a 100644--- a/src/features/Auth/OAuthDevice/DeviceCodeConfirm.tsx+++ b/src/features/Auth/OAuthDevice/DeviceCodeConfirm.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import React, { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Auth/OAuthDevice/DeviceCodeInput.tsx b/src/features/Auth/OAuthDevice/DeviceCodeInput.tsxindex 3fa46f288da..40091cdb8c7 100644--- a/src/features/Auth/OAuthDevice/DeviceCodeInput.tsx+++ b/src/features/Auth/OAuthDevice/DeviceCodeInput.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Flexbox, Input, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Input } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import React, { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Auth/OAuthDevice/DeviceSuccess.tsx b/src/features/Auth/OAuthDevice/DeviceSuccess.tsxindex 5c59d917491..fb6bcb5fadd 100644--- a/src/features/Auth/OAuthDevice/DeviceSuccess.tsx+++ b/src/features/Auth/OAuthDevice/DeviceSuccess.tsx@@ -1,6 +1,7 @@'use client';-import { FluentEmoji, Text } from '@lobehub/ui';+import { FluentEmoji } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Result } from 'antd';import React, { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Auth/ResetPassword/ResetPasswordContent.tsx b/src/features/Auth/ResetPassword/ResetPasswordContent.tsxindex 66837b0d748..6975c06517b 100644--- a/src/features/Auth/ResetPassword/ResetPasswordContent.tsx+++ b/src/features/Auth/ResetPassword/ResetPasswordContent.tsx@@ -1,5 +1,5 @@-import { Block, Icon, InputPassword, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Icon, InputPassword } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { Form } from 'antd';import { Lock } from 'lucide-react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Auth/SignIn/SignInEmailSentStep.tsx b/src/features/Auth/SignIn/SignInEmailSentStep.tsxindex 4aea938594f..dcc3728c35b 100644--- a/src/features/Auth/SignIn/SignInEmailSentStep.tsx+++ b/src/features/Auth/SignIn/SignInEmailSentStep.tsx@@ -1,5 +1,5 @@-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { MailCheck, RefreshCw } from 'lucide-react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Auth/SignIn/SignInEmailStep.tsx b/src/features/Auth/SignIn/SignInEmailStep.tsxindex 26577e9cd86..d0c3dd2bc2c 100644--- a/src/features/Auth/SignIn/SignInEmailStep.tsx+++ b/src/features/Auth/SignIn/SignInEmailStep.tsx@@ -1,6 +1,6 @@import { BRANDING_NAME } from '@lobechat/business-const';-import { Flexbox, Icon, Input, Text } from '@lobehub/ui';-import { Alert, Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Input } from '@lobehub/ui';+import { Alert, Button, Text } from '@lobehub/ui/base-ui';import { type FormInstance, type InputRef } from 'antd';import { Badge, Divider, Form } from 'antd';import { createStaticStyles } from 'antd-style';diff --git a/src/features/Auth/SignIn/SignInPasswordStep.tsx b/src/features/Auth/SignIn/SignInPasswordStep.tsxindex 75f88ebdfae..be1c1fda306 100644--- a/src/features/Auth/SignIn/SignInPasswordStep.tsx+++ b/src/features/Auth/SignIn/SignInPasswordStep.tsx@@ -1,5 +1,5 @@-import { Icon, InputPassword, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Icon, InputPassword } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { type FormInstance, type InputRef } from 'antd';import { Form } from 'antd';import { Lock } from 'lucide-react';diff --git a/src/features/Auth/SignUp/BetterAuthSignUpForm.tsx b/src/features/Auth/SignUp/BetterAuthSignUpForm.tsxindex aed10afa204..0e4c30171ec 100644--- a/src/features/Auth/SignUp/BetterAuthSignUpForm.tsx+++ b/src/features/Auth/SignUp/BetterAuthSignUpForm.tsx@@ -1,8 +1,8 @@'use client';import { BRANDING_NAME } from '@lobechat/business-const';-import { Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { Form, Input, type InputRef } from 'antd';import { Lock, Mail } from 'lucide-react';import { useEffect, useRef } from 'react';diff --git a/src/features/Auth/VerifyEmail/VerifyEmailContent.tsx b/src/features/Auth/VerifyEmail/VerifyEmailContent.tsxindex a9bf49b9b7c..8d0cf4abf84 100644--- a/src/features/Auth/VerifyEmail/VerifyEmailContent.tsx+++ b/src/features/Auth/VerifyEmail/VerifyEmailContent.tsx@@ -1,5 +1,5 @@-import { Block, Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { RefreshCw } from 'lucide-react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AuthCard/index.tsx b/src/features/AuthCard/index.tsxindex 19ca1ec1dbf..f86d6a62684 100644--- a/src/features/AuthCard/index.tsx+++ b/src/features/AuthCard/index.tsx@@ -1,7 +1,8 @@'use client';import { type FlexboxProps } from '@lobehub/ui';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { type ReactNode } from 'react';import { memo } from 'react';diff --git a/src/features/AuthShell/AuthAgreement.tsx b/src/features/AuthShell/AuthAgreement.tsxindex fb33dabd33d..ea77f3c1784 100644--- a/src/features/AuthShell/AuthAgreement.tsx+++ b/src/features/AuthShell/AuthAgreement.tsx@@ -1,7 +1,6 @@'use client';-import { Text } from '@lobehub/ui';-import { Checkbox, confirmModal } from '@lobehub/ui/base-ui';+import { Checkbox, confirmModal, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo, useCallback, useState } from 'react';import { Trans, useTranslation } from 'react-i18next';diff --git a/src/features/AuthShell/AuthFooterLinks.tsx b/src/features/AuthShell/AuthFooterLinks.tsxindex a499c261bb1..7cdbcfa98dd 100644--- a/src/features/AuthShell/AuthFooterLinks.tsx+++ b/src/features/AuthShell/AuthFooterLinks.tsx@@ -1,6 +1,6 @@'use client';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/AuthShell/AuthThemeButton.tsx b/src/features/AuthShell/AuthThemeButton.tsxindex 7727548ea68..7bfe0a9951a 100644--- a/src/features/AuthShell/AuthThemeButton.tsx+++ b/src/features/AuthShell/AuthThemeButton.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, DropdownMenu, type DropdownMenuProps, Icon } from '@lobehub/ui';+import { DropdownMenu, type DropdownMenuProps, Icon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Monitor, Moon, Sun } from 'lucide-react';import { useTheme as useNextThemesTheme } from 'next-themes';import { memo, useMemo } from 'react';diff --git a/src/features/Billboard/Carousel.tsx b/src/features/Billboard/Carousel.tsxindex d8e1c19b056..d85d02018fb 100644--- a/src/features/Billboard/Carousel.tsx+++ b/src/features/Billboard/Carousel.tsx@@ -1,8 +1,8 @@'use client';import { useAnalytics } from '@lobehub/analytics/react';-import { ActionIcon, Flexbox, Tooltip } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Tooltip } from '@lobehub/ui';+import { ActionIcon, Button } from '@lobehub/ui/base-ui';import { Carousel as AntCarousel } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { X } from 'lucide-react';diff --git a/src/features/ChatInput/ActionBar/Mention/index.tsx b/src/features/ChatInput/ActionBar/Mention/index.tsxindex 7016430e35b..4991e2ffe63 100644--- a/src/features/ChatInput/ActionBar/Mention/index.tsx+++ b/src/features/ChatInput/ActionBar/Mention/index.tsx@@ -1,6 +1,6 @@import { agentDisplayName } from '@lobechat/types';import { type ItemType } from '@lobehub/ui';-import { Avatar } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { AtSign } from 'lucide-react';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/ChatInput/ActionBar/Plus/index.tsx b/src/features/ChatInput/ActionBar/Plus/index.tsxindex 7200b57f3d4..2fea487ece7 100644--- a/src/features/ChatInput/ActionBar/Plus/index.tsx+++ b/src/features/ChatInput/ActionBar/Plus/index.tsx@@ -2,8 +2,8 @@import { validateVideoFileSize } from '@lobechat/utils/client';import type { IconProps } from '@lobehub/ui';-import { Icon, Popover, Tag } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { Icon, Popover } from '@lobehub/ui';+import { Tag, toast } from '@lobehub/ui/base-ui';import { GlobeOffIcon, SkillsIcon } from '@lobehub/ui/icons';import { Upload } from 'antd';import { css, cssVar, cx } from 'antd-style';diff --git a/src/features/ChatInput/ActionBar/Tools/MarketAgentSkillPopoverContent.tsx b/src/features/ChatInput/ActionBar/Tools/MarketAgentSkillPopoverContent.tsxindex 5c3b32e8358..b727885b6fb 100644--- a/src/features/ChatInput/ActionBar/Tools/MarketAgentSkillPopoverContent.tsx+++ b/src/features/ChatInput/ActionBar/Tools/MarketAgentSkillPopoverContent.tsx@@ -1,4 +1,4 @@-import { Avatar } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useDiscoverStore } from '@/store/discover';diff --git a/src/features/ChatInput/ActionBar/Tools/MarketSkillIcon.tsx b/src/features/ChatInput/ActionBar/Tools/MarketSkillIcon.tsxindex 5d09cf2d3a5..53799eb3c99 100644--- a/src/features/ChatInput/ActionBar/Tools/MarketSkillIcon.tsx+++ b/src/features/ChatInput/ActionBar/Tools/MarketSkillIcon.tsx@@ -1,4 +1,4 @@-import { Avatar } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useDiscoverStore } from '@/store/discover';diff --git a/src/features/ChatInput/ActionBar/Tools/ToolItem.tsx b/src/features/ChatInput/ActionBar/Tools/ToolItem.tsxindex 5ac95ad8dda..64fc23c918b 100644--- a/src/features/ChatInput/ActionBar/Tools/ToolItem.tsx+++ b/src/features/ChatInput/ActionBar/Tools/ToolItem.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, Suspense } from 'react';import DebugNode from '@/components/DebugNode';diff --git a/src/features/ChatInput/ActionBar/Tools/ToolItemDetailPopover.tsx b/src/features/ChatInput/ActionBar/Tools/ToolItemDetailPopover.tsxindex 069b72cfdc2..2e813780bc8 100644--- a/src/features/ChatInput/ActionBar/Tools/ToolItemDetailPopover.tsx+++ b/src/features/ChatInput/ActionBar/Tools/ToolItemDetailPopover.tsx@@ -1,4 +1,5 @@-import { Flexbox, Tag, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo, type ReactNode } from 'react';diff --git a/src/features/ChatInput/ActionBar/Tools/ToolsList.tsx b/src/features/ChatInput/ActionBar/Tools/ToolsList.tsxindex 95e1e509531..18a0fc74e27 100644--- a/src/features/ChatInput/ActionBar/Tools/ToolsList.tsx+++ b/src/features/ChatInput/ActionBar/Tools/ToolsList.tsx@@ -1,5 +1,6 @@import type { ItemType } from '@lobehub/ui';-import { Flexbox, Icon, Popover, Text } from '@lobehub/ui';+import { Flexbox, Icon, Popover } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import type { ReactNode } from 'react';diff --git a/src/features/ChatInput/ActionBar/Tools/useControls.tsx b/src/features/ChatInput/ActionBar/Tools/useControls.tsxindex 00cebee11b9..2c2239b60bf 100644--- a/src/features/ChatInput/ActionBar/Tools/useControls.tsx+++ b/src/features/ChatInput/ActionBar/Tools/useControls.tsx@@ -6,8 +6,8 @@ import {} from '@lobechat/const';import { type AgentPluginMode, getDisabledPluginIds } from '@lobechat/types';import type { ItemType } from '@lobehub/ui';-import { Avatar, Icon, Popover, SearchBar, stopPropagation, Tag, Tooltip } from '@lobehub/ui';-import { confirmModal, Switch } from '@lobehub/ui/base-ui';+import { Icon, Popover, SearchBar, stopPropagation, Tooltip } from '@lobehub/ui';+import { Avatar, confirmModal, Switch, Tag } from '@lobehub/ui/base-ui';import { McpIcon, SkillsIcon } from '@lobehub/ui/icons';import { createStaticStyles, cssVar, cx } from 'antd-style';import isEqual from 'fast-deep-equal';diff --git a/src/features/ChatInput/ActionBar/components/Action.tsx b/src/features/ChatInput/ActionBar/components/Action.tsxindex 7db82be63d0..8f868942322 100644--- a/src/features/ChatInput/ActionBar/components/Action.tsx+++ b/src/features/ChatInput/ActionBar/components/Action.tsx@@ -1,7 +1,7 @@'use client';-import type { ActionIconProps, PopoverTrigger } from '@lobehub/ui';-import { ActionIcon } from '@lobehub/ui';+import type { PopoverTrigger } from '@lobehub/ui';+import { ActionIcon, type ActionIconProps } from '@lobehub/ui/base-ui';import { isUndefined } from 'es-toolkit/compat';import { memo } from 'react';import useMergeState from 'use-merge-value';diff --git a/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx b/src/features/ChatInput/ActionBar/components/ActionDropdown.tsxindex 319c20a1842..ec5c3723871 100644--- a/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx+++ b/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx@@ -261,9 +261,8 @@ const ActionDropdown = memo<ActionDropdownProps>(return trigger === 'hover';}, [trigger]);const resolvedTriggerProps = useMemo(() => {- if (openOnHover === undefined) return { nativeButton: false, ...triggerProps };+ if (openOnHover === undefined) return { ...triggerProps };return {- nativeButton: false,...triggerProps,openOnHover,};diff --git a/src/features/ChatInput/ControlBar/CreateBranchModal.tsx b/src/features/ChatInput/ControlBar/CreateBranchModal.tsxindex 00f8285c271..181860aa81e 100644--- a/src/features/ChatInput/ControlBar/CreateBranchModal.tsx+++ b/src/features/ChatInput/ControlBar/CreateBranchModal.tsx@@ -1,7 +1,13 @@'use client';-import { Flexbox, Input, Text } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import {+ Button,+ createModal,+ type ModalInstance,+ Text,+ useModalContext,+} from '@lobehub/ui/base-ui';import { type InputRef } from 'antd';import { cssVar } from 'antd-style';import { t } from 'i18next';diff --git a/src/features/ChatInput/ControlBar/CreateWorktreeModal.tsx b/src/features/ChatInput/ControlBar/CreateWorktreeModal.tsxindex 29099d8803d..8dfc806ad84 100644--- a/src/features/ChatInput/ControlBar/CreateWorktreeModal.tsx+++ b/src/features/ChatInput/ControlBar/CreateWorktreeModal.tsx@@ -1,7 +1,13 @@'use client';-import { Flexbox, Input, Text } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import {+ Button,+ createModal,+ type ModalInstance,+ Text,+ useModalContext,+} from '@lobehub/ui/base-ui';import { type InputRef } from 'antd';import { cssVar } from 'antd-style';import { t } from 'i18next';diff --git a/src/features/ChatInput/ControlBar/HeteroModel/ModelCatalogSelector.tsx b/src/features/ChatInput/ControlBar/HeteroModel/ModelCatalogSelector.tsxindex 8f9249cbd60..0725ffeeb73 100644--- a/src/features/ChatInput/ControlBar/HeteroModel/ModelCatalogSelector.tsx+++ b/src/features/ChatInput/ControlBar/HeteroModel/ModelCatalogSelector.tsx@@ -3,8 +3,9 @@import { getHeterogeneousTypeLabel } from '@lobechat/heterogeneous-agents';import type { HeterogeneousAgentModel, ListHeterogeneousAgentModelsParams } from '@lobechat/types';import { HETEROGENEOUS_AGENT_DEFAULT_SELECTION } from '@lobechat/types';-import { ActionIcon, Icon, Input, Tooltip } from '@lobehub/ui';+import { Icon, Input, Tooltip } from '@lobehub/ui';import {+ ActionIcon,Button,DropdownMenuGroup,DropdownMenuGroupLabel,diff --git a/src/features/ChatInput/ControlBar/RenameBranchModal.tsx b/src/features/ChatInput/ControlBar/RenameBranchModal.tsxindex 27c717b8a7e..9ec5996d3cc 100644--- a/src/features/ChatInput/ControlBar/RenameBranchModal.tsx+++ b/src/features/ChatInput/ControlBar/RenameBranchModal.tsx@@ -1,7 +1,13 @@'use client';-import { Flexbox, Input, Text } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import {+ Button,+ createModal,+ type ModalInstance,+ Text,+ useModalContext,+} from '@lobehub/ui/base-ui';import { type InputRef } from 'antd';import { cssVar } from 'antd-style';import { t } from 'i18next';diff --git a/src/features/ChatInput/ControlBar/WorkingDirectoryPicker.tsx b/src/features/ChatInput/ControlBar/WorkingDirectoryPicker.tsxindex 8ec80518a13..cc0869e0109 100644--- a/src/features/ChatInput/ControlBar/WorkingDirectoryPicker.tsx+++ b/src/features/ChatInput/ControlBar/WorkingDirectoryPicker.tsx@@ -3,8 +3,8 @@import { isDesktop } from '@lobechat/const';import type { WorkingDirEntry } from '@lobechat/types';import { getWorkingDirSourcePath } from '@lobechat/types';-import { ActionIcon, Flexbox, Icon, Input, Popover, Tooltip } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Input, Popover, Tooltip } from '@lobehub/ui';+import { ActionIcon, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import {CheckIcon,diff --git a/src/features/ChatInput/Desktop/ContextContainer/ContextItem/index.tsx b/src/features/ChatInput/Desktop/ContextContainer/ContextItem/index.tsxindex 4295bd7769e..aee5ed8356b 100644--- a/src/features/ChatInput/Desktop/ContextContainer/ContextItem/index.tsx+++ b/src/features/ChatInput/Desktop/ContextContainer/ContextItem/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Tag, Tooltip } from '@lobehub/ui';+import { Flexbox, Tooltip } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { Progress } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { memo } from 'react';diff --git a/src/features/ChatInput/Desktop/ContextContainer/ElementItem.tsx b/src/features/ChatInput/Desktop/ContextContainer/ElementItem.tsxindex c3ca8370a87..a1033fb3fd9 100644--- a/src/features/ChatInput/Desktop/ContextContainer/ElementItem.tsx+++ b/src/features/ChatInput/Desktop/ContextContainer/ElementItem.tsx@@ -1,5 +1,6 @@import type { ChatContextContent } from '@lobechat/types';-import { Tag, Tooltip } from '@lobehub/ui';+import { Tooltip } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { SquareDashedMousePointer } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/ChatInput/Desktop/ContextContainer/SelectionItem.tsx b/src/features/ChatInput/Desktop/ContextContainer/SelectionItem.tsxindex fd4c69729a0..a1e1a268200 100644--- a/src/features/ChatInput/Desktop/ContextContainer/SelectionItem.tsx+++ b/src/features/ChatInput/Desktop/ContextContainer/SelectionItem.tsx@@ -1,5 +1,6 @@import type { ChatContextContent } from '@lobechat/types';-import { Tag, Tooltip } from '@lobehub/ui';+import { Tooltip } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Code2Icon, TextIcon } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/features/ChatInput/Desktop/FilePreview/FileItem/index.tsx b/src/features/ChatInput/Desktop/FilePreview/FileItem/index.tsxindex 00fb88df6f5..94a34fa18e6 100644--- a/src/features/ChatInput/Desktop/FilePreview/FileItem/index.tsx+++ b/src/features/ChatInput/Desktop/FilePreview/FileItem/index.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Block, Center, Flexbox, Text } from '@lobehub/ui';+import { Block, Center, Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { RotateCwIcon, Trash2Icon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/ChatInput/Desktop/index.tsx b/src/features/ChatInput/Desktop/index.tsxindex f3d62e5d7f4..b266690a0be 100644--- a/src/features/ChatInput/Desktop/index.tsx+++ b/src/features/ChatInput/Desktop/index.tsx@@ -2,7 +2,8 @@import { type ChatInputProps } from '@lobehub/editor/react';import { ChatInput, ChatInputActionBar } from '@lobehub/editor/react';-import { Center, Flexbox, Skeleton, Text } from '@lobehub/ui';+import { Center, Flexbox, Skeleton } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { type ReactNode, use } from 'react';import { memo, useEffect } from 'react';diff --git a/src/features/ChatInput/Dictation/useDictationControlFocus.test.ts b/src/features/ChatInput/Dictation/useDictationControlFocus.test.tsindex b4121978dd0..4b749653767 100644--- a/src/features/ChatInput/Dictation/useDictationControlFocus.test.ts+++ b/src/features/ChatInput/Dictation/useDictationControlFocus.test.ts@@ -5,8 +5,8 @@ import { afterEach, describe, expect, it, vi } from 'vitest';import type { RealtimeDictationStatus } from './contract';import { useDictationControlFocus } from './useDictationControlFocus';-const mountControl = (ref: RefObject<HTMLDivElement | null>) => {- const control = document.createElement('div');+const mountControl = (ref: RefObject<HTMLButtonElement | null>) => {+ const control = document.createElement('button');control.tabIndex = 0;document.body.append(control);ref.current = control;@@ -14,7 +14,7 @@ const mountControl = (ref: RefObject<HTMLDivElement | null>) => {return control;};-const unmountControl = (ref: RefObject<HTMLDivElement | null>) => {+const unmountControl = (ref: RefObject<HTMLButtonElement | null>) => {ref.current?.remove();ref.current = null;};diff --git a/src/features/ChatInput/Dictation/useDictationControlFocus.ts b/src/features/ChatInput/Dictation/useDictationControlFocus.tsindex a1f13f49568..42c76fcff1e 100644--- a/src/features/ChatInput/Dictation/useDictationControlFocus.ts+++ b/src/features/ChatInput/Dictation/useDictationControlFocus.ts@@ -12,10 +12,10 @@ interface DictationControlFocusOptions {}interface DictationControlRefs {- actionRef: RefObject<HTMLDivElement | null>;- cancelRef: RefObject<HTMLDivElement | null>;- retryRef: RefObject<HTMLDivElement | null>;- stopRef: RefObject<HTMLDivElement | null>;+ actionRef: RefObject<HTMLButtonElement | null>;+ cancelRef: RefObject<HTMLButtonElement | null>;+ retryRef: RefObject<HTMLButtonElement | null>;+ stopRef: RefObject<HTMLButtonElement | null>;}const getFocusTarget = (@@ -36,10 +36,10 @@ export const useDictationControlFocus = ({retryable,status,}: DictationControlFocusOptions) => {- const actionRef = useRef<HTMLDivElement>(null);- const cancelRef = useRef<HTMLDivElement>(null);- const retryRef = useRef<HTMLDivElement>(null);- const stopRef = useRef<HTMLDivElement>(null);+ const actionRef = useRef<HTMLButtonElement>(null);+ const cancelRef = useRef<HTMLButtonElement>(null);+ const retryRef = useRef<HTMLButtonElement>(null);+ const stopRef = useRef<HTMLButtonElement>(null);const awaitingSessionRef = useRef(false);const manageFocusRef = useRef(false);@@ -53,7 +53,7 @@ export const useDictationControlFocus = ({const handleKeyboardActivation = useCallback((- event: Pick<KeyboardEvent<HTMLDivElement>, 'key' | 'preventDefault' | 'repeat'>,+ event: Pick<KeyboardEvent<HTMLButtonElement>, 'key' | 'preventDefault' | 'repeat'>,activate: () => void,) => {if ((event.key !== 'Enter' && event.key !== ' ') || event.repeat) return;@@ -74,13 +74,13 @@ export const useDictationControlFocus = ({const refs = { actionRef, cancelRef, retryRef, stopRef };const controls = Object.values(refs).map((ref) => ref.current)- .filter((control): control is HTMLDivElement => Boolean(control));+ .filter((control): control is HTMLButtonElement => Boolean(control));const activeElement = document.activeElement;if (activeElement &&activeElement !== document.body &&- !controls.includes(activeElement as HTMLDivElement)+ !controls.includes(activeElement as HTMLButtonElement)) {manageFocusRef.current = false;return;diff --git a/src/features/ChatInput/InputEditor/LocalFileTag/LocalFileTag.tsx b/src/features/ChatInput/InputEditor/LocalFileTag/LocalFileTag.tsxindex a9a5d644e2d..b6aac4dc847 100644--- a/src/features/ChatInput/InputEditor/LocalFileTag/LocalFileTag.tsx+++ b/src/features/ChatInput/InputEditor/LocalFileTag/LocalFileTag.tsx@@ -1,6 +1,6 @@import { isDesktop } from '@lobechat/const';-import { Flexbox, Icon, Popover, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Popover } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import type { LexicalEditor } from 'lexical';import { $createNodeSelection, $setSelection, CLICK_COMMAND, COMMAND_PRIORITY_LOW } from 'lexical';diff --git a/src/features/ChatInput/InputEditor/MentionItemIcon.tsx b/src/features/ChatInput/InputEditor/MentionItemIcon.tsxindex 0445e94d922..bee52a6834e 100644--- a/src/features/ChatInput/InputEditor/MentionItemIcon.tsx+++ b/src/features/ChatInput/InputEditor/MentionItemIcon.tsx@@ -1,4 +1,5 @@-import { Avatar, Icon } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { McpIcon, SkillsIcon } from '@lobehub/ui/icons';import { memo } from 'react';diff --git a/src/features/ChatInput/InputEditor/ReferTopic/ReferTopicView.tsx b/src/features/ChatInput/InputEditor/ReferTopic/ReferTopicView.tsxindex faa343f51c2..f72addb7e4e 100644--- a/src/features/ChatInput/InputEditor/ReferTopic/ReferTopicView.tsx+++ b/src/features/ChatInput/InputEditor/ReferTopic/ReferTopicView.tsx@@ -1,4 +1,4 @@-import { Tag } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { MessageSquareQuoteIcon } from 'lucide-react';import { memo, useCallback } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/ChatInput/InputEditor/useMentionCategories.tsx b/src/features/ChatInput/InputEditor/useMentionCategories.tsxindex 561391d3bbf..578f3c28110 100644--- a/src/features/ChatInput/InputEditor/useMentionCategories.tsx+++ b/src/features/ChatInput/InputEditor/useMentionCategories.tsx@@ -1,5 +1,6 @@import { agentDisplayName } from '@lobechat/types';-import { Avatar, Flexbox, Icon } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { SkillsIcon } from '@lobehub/ui/icons';import { cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';diff --git a/src/features/ChatInput/Mobile/FilePreview/FileItem/File.tsx b/src/features/ChatInput/Mobile/FilePreview/FileItem/File.tsxindex 6342ed5c5b2..a0ee9c45601 100644--- a/src/features/ChatInput/Mobile/FilePreview/FileItem/File.tsx+++ b/src/features/ChatInput/Mobile/FilePreview/FileItem/File.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { RotateCw, Trash } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/ChatInput/Mobile/FilePreview/FileItem/Image.tsx b/src/features/ChatInput/Mobile/FilePreview/FileItem/Image.tsxindex c32f9c9afda..9049d1ead4b 100644--- a/src/features/ChatInput/Mobile/FilePreview/FileItem/Image.tsx+++ b/src/features/ChatInput/Mobile/FilePreview/FileItem/Image.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox, Image } from '@lobehub/ui';+import { Flexbox, Image } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { RotateCw, Trash } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/ChatInput/SendArea/ExpandButton.tsx b/src/features/ChatInput/SendArea/ExpandButton.tsxindex 4472c9b036f..81157c5faff 100644--- a/src/features/ChatInput/SendArea/ExpandButton.tsx+++ b/src/features/ChatInput/SendArea/ExpandButton.tsx@@ -1,4 +1,4 @@-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Maximize2Icon, Minimize2Icon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/ChatInput/components/UploadDetail/UploadStatus.tsx b/src/features/ChatInput/components/UploadDetail/UploadStatus.tsxindex 852ec0c2924..24190684891 100644--- a/src/features/ChatInput/components/UploadDetail/UploadStatus.tsx+++ b/src/features/ChatInput/components/UploadDetail/UploadStatus.tsx@@ -1,5 +1,6 @@import { CheckCircleFilled } from '@ant-design/icons';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Progress } from 'antd';import { cssVar } from 'antd-style';import { CircleAlertIcon, Loader2Icon } from 'lucide-react';diff --git a/src/features/ChatInput/components/UploadDetail/index.tsx b/src/features/ChatInput/components/UploadDetail/index.tsxindex 671481776ff..a5a74c01bad 100644--- a/src/features/ChatInput/components/UploadDetail/index.tsx+++ b/src/features/ChatInput/components/UploadDetail/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/ChatTerminal/Content.tsx b/src/features/ChatTerminal/Content.tsxindex 6878d170273..6f97563e971 100644--- a/src/features/ChatTerminal/Content.tsx+++ b/src/features/ChatTerminal/Content.tsx@@ -1,7 +1,8 @@'use client';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';import {+ ActionIcon,Button,type ContextMenuItem,ContextMenuTrigger,@@ -9,6 +10,7 @@ import {TabsList,TabsRoot,TabsTab,+ Text,} from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import {diff --git a/src/features/ChatTerminal/SplitView.tsx b/src/features/ChatTerminal/SplitView.tsxindex d7bdc6ecdaf..96d3c23b4ad 100644--- a/src/features/ChatTerminal/SplitView.tsx+++ b/src/features/ChatTerminal/SplitView.tsx@@ -1,6 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { XIcon } from 'lucide-react';import { Fragment, type PointerEvent as ReactPointerEvent, useRef, useState } from 'react';diff --git a/src/features/CommandMenu/components/CommandInput.tsx b/src/features/CommandMenu/components/CommandInput.tsxindex fa6002c03b6..ddad4d30e82 100644--- a/src/features/CommandMenu/components/CommandInput.tsx+++ b/src/features/CommandMenu/components/CommandInput.tsx@@ -1,6 +1,6 @@import { DEFAULT_AVATAR } from '@lobechat/const';import { agentDisplayName } from '@lobechat/types';-import { Tag } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { Command } from 'cmdk';import { ArrowLeft, X } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/CommandMenu/index.tsx b/src/features/CommandMenu/index.tsxindex 0544a86a099..e4cb33a392a 100644--- a/src/features/CommandMenu/index.tsx+++ b/src/features/CommandMenu/index.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, stopPropagation } from '@lobehub/ui';+import { stopPropagation } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { Command, defaultFilter } from 'cmdk';import { CornerDownLeft } from 'lucide-react';import { memo, useCallback, useEffect, useRef, useState } from 'react';diff --git a/src/features/CommunitySkillDetail/Details/Install/Platform.tsx b/src/features/CommunitySkillDetail/Details/Install/Platform.tsxindex 364cbf5ae15..7963b1e229c 100644--- a/src/features/CommunitySkillDetail/Details/Install/Platform.tsx+++ b/src/features/CommunitySkillDetail/Details/Install/Platform.tsx@@ -2,8 +2,8 @@import { AGENT_CHAT_URL, DEFAULT_INBOX_AVATAR } from '@lobechat/const';import { Claude, Cline, Cursor, OpenAI } from '@lobehub/icons';-import { Avatar, Block, Flexbox, Highlighter, Icon, Markdown, Text } from '@lobehub/ui';-import { Button, Select, Tabs } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Highlighter, Icon, Markdown } from '@lobehub/ui';+import { Avatar, Button, Select, Tabs, Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { createStaticStyles, cx } from 'antd-style';import { BotIcon, UserRoundIcon } from 'lucide-react';diff --git a/src/features/CommunitySkillDetail/Details/Install/index.tsx b/src/features/CommunitySkillDetail/Details/Install/index.tsxindex 751d1448750..dfe652e5567 100644--- a/src/features/CommunitySkillDetail/Details/Install/index.tsx+++ b/src/features/CommunitySkillDetail/Details/Install/index.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, MaterialFileTypeIcon, Text } from '@lobehub/ui';+import { Flexbox, MaterialFileTypeIcon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/CommunitySkillDetail/Details/Overview/RelatedSkillCard.tsx b/src/features/CommunitySkillDetail/Details/Overview/RelatedSkillCard.tsxindex ee34b0e21cf..ebc10cb82fb 100644--- a/src/features/CommunitySkillDetail/Details/Overview/RelatedSkillCard.tsx+++ b/src/features/CommunitySkillDetail/Details/Overview/RelatedSkillCard.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo, useCallback } from 'react';import urlJoin from 'url-join';diff --git a/src/features/CommunitySkillDetail/Details/Overview/index.tsx b/src/features/CommunitySkillDetail/Details/Overview/index.tsxindex 948941eb6c7..cd8a1d07843 100644--- a/src/features/CommunitySkillDetail/Details/Overview/index.tsx+++ b/src/features/CommunitySkillDetail/Details/Overview/index.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Collapse, Flexbox, Icon, Markdown, ScrollShadow, Tag, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Collapse, Flexbox, Icon, Markdown, ScrollShadow } from '@lobehub/ui';+import { Button, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, responsive } from 'antd-style';import { ChevronRight } from 'lucide-react';import qs from 'query-string';diff --git a/src/features/CommunitySkillDetail/Header.tsx b/src/features/CommunitySkillDetail/Header.tsxindex 4275ab75d16..cc5e9d09259 100644--- a/src/features/CommunitySkillDetail/Header.tsx+++ b/src/features/CommunitySkillDetail/Header.tsx@@ -1,7 +1,7 @@'use client';-import { Avatar, DropdownMenu, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, confirmModal, toast } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Button, confirmModal, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, responsive, useResponsive } from 'antd-style';import { CheckCircle2, CheckIcon, ChevronDown, Trash2 } from 'lucide-react';import { memo, type ReactNode, useCallback, useState } from 'react';diff --git a/src/features/ConnectAgent/index.tsx b/src/features/ConnectAgent/index.tsxindex 1bd003bb776..c4b4c6f1d0e 100644--- a/src/features/ConnectAgent/index.tsx+++ b/src/features/ConnectAgent/index.tsx@@ -9,7 +9,7 @@ import type {import { isRemoteHeterogeneousType } from '@lobechat/heterogeneous-agents';import type { DeviceListItem } from '@lobechat/types';import { agentDisplayName } from '@lobechat/types';-import { CopyButton, Flexbox, Icon, Input, Text, TextArea, Tooltip } from '@lobehub/ui';+import { CopyButton, Flexbox, Icon, Input, TextArea, Tooltip } from '@lobehub/ui';import {Alert,Button,@@ -17,6 +17,7 @@ import {createModal,type ModalInstance,ScrollArea,+ Text,useModalContext,} from '@lobehub/ui/base-ui';import { Typography } from 'antd';diff --git a/src/features/Connectors/ConnectorList/index.tsx b/src/features/Connectors/ConnectorList/index.tsxindex f6220afbe58..b14ffbffa1a 100644--- a/src/features/Connectors/ConnectorList/index.tsx+++ b/src/features/Connectors/ConnectorList/index.tsx@@ -1,4 +1,4 @@-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { PlusIcon } from 'lucide-react';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/ChatInput/QueueTray.tsx b/src/features/Conversation/ChatInput/QueueTray.tsxindex 0eb51e9bd9b..46a73f8352f 100644--- a/src/features/Conversation/ChatInput/QueueTray.tsx+++ b/src/features/Conversation/ChatInput/QueueTray.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Icon, Image } from '@lobehub/ui';+import { Flexbox, Icon, Image } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ArrowUp, ListEnd, Pencil, Trash2 } from 'lucide-react';import { memo, useCallback, useMemo } from 'react';diff --git a/src/features/Conversation/ChatInput/VerifyTray/CheckItem.tsx b/src/features/Conversation/ChatInput/VerifyTray/CheckItem.tsxindex 7fb59f70b55..35c83d7e63a 100644--- a/src/features/Conversation/ChatInput/VerifyTray/CheckItem.tsx+++ b/src/features/Conversation/ChatInput/VerifyTray/CheckItem.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { ChevronDown, ChevronRight, CircleDashed, PencilIcon } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/Conversation/ChatInput/VerifyTray/EditModal.tsx b/src/features/Conversation/ChatInput/VerifyTray/EditModal.tsxindex d8f168d670a..ae76aa39aab 100644--- a/src/features/Conversation/ChatInput/VerifyTray/EditModal.tsx+++ b/src/features/Conversation/ChatInput/VerifyTray/EditModal.tsx@@ -1,7 +1,13 @@'use client';-import { Flexbox, Input, Text, TextArea } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Input, TextArea } from '@lobehub/ui';+import {+ Button,+ createModal,+ type ModalInstance,+ Text,+ useModalContext,+} from '@lobehub/ui/base-ui';import { t } from 'i18next';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/ChatInput/VerifyTray/GoalModal.tsx b/src/features/Conversation/ChatInput/VerifyTray/GoalModal.tsxindex 3cd16069f0a..f2447eccdec 100644--- a/src/features/Conversation/ChatInput/VerifyTray/GoalModal.tsx+++ b/src/features/Conversation/ChatInput/VerifyTray/GoalModal.tsx@@ -1,7 +1,13 @@'use client';-import { Flexbox, Text, TextArea } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, TextArea } from '@lobehub/ui';+import {+ Button,+ createModal,+ type ModalInstance,+ Text,+ useModalContext,+} from '@lobehub/ui/base-ui';import { t } from 'i18next';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/ChatInput/VerifyTray/GoalTray.tsx b/src/features/Conversation/ChatInput/VerifyTray/GoalTray.tsxindex 52a95a35207..49fbabec8db 100644--- a/src/features/Conversation/ChatInput/VerifyTray/GoalTray.tsx+++ b/src/features/Conversation/ChatInput/VerifyTray/GoalTray.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { ActionIcon, Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { ChevronDown, ChevronRight, PencilIcon, PlusIcon, TargetIcon } from 'lucide-react';import { memo, useEffect, useState } from 'react';diff --git a/src/features/Conversation/ChatItem/components/Title.tsx b/src/features/Conversation/ChatItem/components/Title.tsxindex 1fabf556e73..0ccfd67822a 100644--- a/src/features/Conversation/ChatItem/components/Title.tsx+++ b/src/features/Conversation/ChatItem/components/Title.tsx@@ -1,5 +1,5 @@import { agentDisplayName } from '@lobechat/types';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/ChatList/components/BackBottom/index.tsx b/src/features/Conversation/ChatList/components/BackBottom/index.tsxindex c8735e60fab..5e4d6a359a6 100644--- a/src/features/Conversation/ChatList/components/BackBottom/index.tsx+++ b/src/features/Conversation/ChatList/components/BackBottom/index.tsx@@ -1,4 +1,4 @@-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { cx } from 'antd-style';import { ArrowDownIcon } from 'lucide-react';import { lazy, memo, Suspense } from 'react';diff --git a/src/features/Conversation/Error/BaseErrorForm.tsx b/src/features/Conversation/Error/BaseErrorForm.tsxindex 3de0376017c..3d78b92b6bd 100644--- a/src/features/Conversation/Error/BaseErrorForm.tsx+++ b/src/features/Conversation/Error/BaseErrorForm.tsx@@ -1,4 +1,5 @@-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { type ReactNode } from 'react';import { memo } from 'react';diff --git a/src/features/Conversation/Error/style.tsx b/src/features/Conversation/Error/style.tsxindex 321b9a872e7..5325ee811be 100644--- a/src/features/Conversation/Error/style.tsx+++ b/src/features/Conversation/Error/style.tsx@@ -1,5 +1,6 @@import { type CenterProps } from '@lobehub/ui';-import { Avatar, Center, Flexbox } from '@lobehub/ui';+import { Center, Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { type ReactNode } from 'react';import { memo } from 'react';@@ -61,7 +62,6 @@ export const FormAction = memo<animation={animation}avatar={avatar}background={background ?? cssVar.colorFillContent}- gap={12}shape={'square'}size={80}/>diff --git a/src/features/Conversation/InterventionBar/UserInterventionErrorBoundary.tsx b/src/features/Conversation/InterventionBar/UserInterventionErrorBoundary.tsxindex 0e6ae84fa08..ebaffec75ef 100644--- a/src/features/Conversation/InterventionBar/UserInterventionErrorBoundary.tsx+++ b/src/features/Conversation/InterventionBar/UserInterventionErrorBoundary.tsx@@ -1,7 +1,8 @@'use client';import { safeParseJSON } from '@lobechat/utils';-import { Flexbox, Highlighter, Icon, Text } from '@lobehub/ui';+import { Flexbox, Highlighter, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { AlertTriangle } from 'lucide-react';import type { ErrorInfo, ReactNode } from 'react';diff --git a/src/features/Conversation/Markdown/plugins/Link/Render/InternalEntityPreview.tsx b/src/features/Conversation/Markdown/plugins/Link/Render/InternalEntityPreview.tsxindex b72f6aefcf2..31f440487be 100644--- a/src/features/Conversation/Markdown/plugins/Link/Render/InternalEntityPreview.tsx+++ b/src/features/Conversation/Markdown/plugins/Link/Render/InternalEntityPreview.tsx@@ -1,7 +1,8 @@'use client';import type { VerifyCodingScope } from '@lobechat/types';-import { Avatar, Flexbox, Icon, Popover, Skeleton, Text } from '@lobehub/ui';+import { Flexbox, Icon, Popover, Skeleton } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import type { TFunction } from 'i18next';import {diff --git a/src/features/Conversation/Markdown/plugins/Link/Render/LinkChip.tsx b/src/features/Conversation/Markdown/plugins/Link/Render/LinkChip.tsxindex c6d6c238db7..de4c1a0f458 100644--- a/src/features/Conversation/Markdown/plugins/Link/Render/LinkChip.tsx+++ b/src/features/Conversation/Markdown/plugins/Link/Render/LinkChip.tsx@@ -1,7 +1,7 @@'use client';import { isDesktop } from '@lobechat/const';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { PanelRightIcon } from 'lucide-react';import { memo, type MouseEvent, type ReactNode, useCallback } from 'react';diff --git a/src/features/Conversation/Markdown/plugins/LobeAgents/Render/index.tsx b/src/features/Conversation/Markdown/plugins/LobeAgents/Render/index.tsxindex ae94a9d91c7..c2dffc854d7 100644--- a/src/features/Conversation/Markdown/plugins/LobeAgents/Render/index.tsx+++ b/src/features/Conversation/Markdown/plugins/LobeAgents/Render/index.tsx@@ -1,7 +1,8 @@'use client';import { AGENT_CHAT_URL } from '@lobechat/const';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ArrowRight } from 'lucide-react';import { memo, useCallback } from 'react';diff --git a/src/features/Conversation/Markdown/plugins/Mention/Render.tsx b/src/features/Conversation/Markdown/plugins/Mention/Render.tsxindex d11f99e0a17..81999621435 100644--- a/src/features/Conversation/Markdown/plugins/Mention/Render.tsx+++ b/src/features/Conversation/Markdown/plugins/Mention/Render.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, Flexbox, Popover, Text } from '@lobehub/ui';+import { Flexbox, Popover } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import isEqual from 'fast-deep-equal';import { memo } from 'react';diff --git a/src/features/Conversation/Markdown/plugins/Task/Render.tsx b/src/features/Conversation/Markdown/plugins/Task/Render.tsxindex cbc79078a7a..10c48b6172b 100644--- a/src/features/Conversation/Markdown/plugins/Task/Render.tsx+++ b/src/features/Conversation/Markdown/plugins/Task/Render.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ClipboardList } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/features/Conversation/Markdown/plugins/UserFeedback/Render.tsx b/src/features/Conversation/Markdown/plugins/UserFeedback/Render.tsxindex 8aaa18af947..b5d214c8049 100644--- a/src/features/Conversation/Markdown/plugins/UserFeedback/Render.tsx+++ b/src/features/Conversation/Markdown/plugins/UserFeedback/Render.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { MessageSquareText } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/features/Conversation/MessageForward/ForwardModal.tsx b/src/features/Conversation/MessageForward/ForwardModal.tsxindex c00f9e7e69e..add3460c65d 100644--- a/src/features/Conversation/MessageForward/ForwardModal.tsx+++ b/src/features/Conversation/MessageForward/ForwardModal.tsx@@ -1,8 +1,8 @@'use client';import { agentDisplayName, type StoreApiWithSelector } from '@lobechat/types';-import { Flexbox, SearchBar, Text, TextArea } from '@lobehub/ui';-import { Button, createModal, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, SearchBar, TextArea } from '@lobehub/ui';+import { Button, createModal, Text, useModalContext } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import isEqual from 'fast-deep-equal';import { t as translate } from 'i18next';diff --git a/src/features/Conversation/MessageForward/SelectionFooterBar.tsx b/src/features/Conversation/MessageForward/SelectionFooterBar.tsxindex 6f3862097c5..e373e4363e4 100644--- a/src/features/Conversation/MessageForward/SelectionFooterBar.tsx+++ b/src/features/Conversation/MessageForward/SelectionFooterBar.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, confirmModal, toast } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, confirmModal, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Forward, Trash2, X } from 'lucide-react';import { memo, useEffect, useState } from 'react';diff --git a/src/features/Conversation/MessageForward/TopicForwardModal/Content.tsx b/src/features/Conversation/MessageForward/TopicForwardModal/Content.tsxindex 87d50f82cce..5fc6ef49122 100644--- a/src/features/Conversation/MessageForward/TopicForwardModal/Content.tsx+++ b/src/features/Conversation/MessageForward/TopicForwardModal/Content.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, SearchBar, Text, TextArea } from '@lobehub/ui';-import { Button, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, SearchBar, TextArea } from '@lobehub/ui';+import { Button, Text, useModalContext } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/Messages/Assistant/components/ThreadExecutionSummary.tsx b/src/features/Conversation/Messages/Assistant/components/ThreadExecutionSummary.tsxindex 52626ac15d4..2b59d45d980 100644--- a/src/features/Conversation/Messages/Assistant/components/ThreadExecutionSummary.tsx+++ b/src/features/Conversation/Messages/Assistant/components/ThreadExecutionSummary.tsx@@ -1,4 +1,5 @@-import { Accordion, AccordionItem, Text } from '@lobehub/ui';+import { Accordion, AccordionItem } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { type Key, memo, useCallback } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/Actions/Settings.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/Actions/Settings.tsxindex f16146c8208..42d0016fbb4 100644--- a/src/features/Conversation/Messages/AssistantGroup/Tool/Actions/Settings.tsx+++ b/src/features/Conversation/Messages/AssistantGroup/Tool/Actions/Settings.tsx@@ -1,4 +1,4 @@-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { LucideSettings } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/Actions/index.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/Actions/index.tsxindex af7a6a61253..f156db7d05c 100644--- a/src/features/Conversation/Messages/AssistantGroup/Tool/Actions/index.tsx+++ b/src/features/Conversation/Messages/AssistantGroup/Tool/Actions/index.tsx@@ -1,4 +1,4 @@-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { LayoutPanelTop, LogsIcon, LucideBug, LucideBugOff, Trash2 } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Arguments/index.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Arguments/index.tsxindex 50678d5a8cd..18bcecea6bd 100644--- a/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Arguments/index.tsx+++ b/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Arguments/index.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox, Highlighter, Text } from '@lobehub/ui';+import { Flexbox, Highlighter } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { cssVar, cx } from 'antd-style';import { WrapText } from 'lucide-react';diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Intervention/Fallback.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Intervention/Fallback.tsxindex 4f05cfd4fca..f1dc6cf54cd 100644--- a/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Intervention/Fallback.tsx+++ b/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Intervention/Fallback.tsx@@ -5,7 +5,8 @@ import {} from '@lobechat/builtin-tool-activator';import { builtinToolIdentifiers } from '@lobechat/builtin-tools/identifiers';import { safeParseJSON } from '@lobechat/utils';-import { ActionIcon, Avatar, Flexbox, Icon } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import isEqual from 'fast-deep-equal';import { ChevronDown, ChevronRight, Edit3Icon } from 'lucide-react';diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Intervention/KeyValueEditor.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Intervention/KeyValueEditor.tsxindex b6c4dc2c491..adb22b67c21 100644--- a/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Intervention/KeyValueEditor.tsx+++ b/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Intervention/KeyValueEditor.tsx@@ -1,5 +1,5 @@-import { ActionIcon, Flexbox, Icon, Input } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Input } from '@lobehub/ui';+import { ActionIcon, Button, toast } from '@lobehub/ui/base-ui';import { type FormInstance } from 'antd';import { Form } from 'antd';import { createStaticStyles } from 'antd-style';diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Render/FallbacktArgumentRender.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Render/FallbacktArgumentRender.tsxindex 59f1e97ded4..d75e4587745 100644--- a/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Render/FallbacktArgumentRender.tsx+++ b/src/features/Conversation/Messages/AssistantGroup/Tool/Detail/Render/FallbacktArgumentRender.tsx@@ -1,4 +1,5 @@-import { Block, Flexbox, Highlighter, Text } from '@lobehub/ui';+import { Block, Flexbox, Highlighter } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/Messages/AssistantGroup/Tool/Inspector/ExecutionTime.tsx b/src/features/Conversation/Messages/AssistantGroup/Tool/Inspector/ExecutionTime.tsxindex ed2ddf66327..a2d494cc273 100644--- a/src/features/Conversation/Messages/AssistantGroup/Tool/Inspector/ExecutionTime.tsx+++ b/src/features/Conversation/Messages/AssistantGroup/Tool/Inspector/ExecutionTime.tsx@@ -1,4 +1,4 @@-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, useEffect, useState } from 'react';interface ExecutionTimeProps {diff --git a/src/features/Conversation/Messages/AssistantGroup/components/ProcessFold.tsx b/src/features/Conversation/Messages/AssistantGroup/components/ProcessFold.tsxindex 425705f8243..bb0766d159c 100644--- a/src/features/Conversation/Messages/AssistantGroup/components/ProcessFold.tsx+++ b/src/features/Conversation/Messages/AssistantGroup/components/ProcessFold.tsx@@ -1,4 +1,5 @@-import { Accordion, AccordionItem, Flexbox, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { type Key, memo, type ReactNode, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/Messages/AssistantGroup/components/WorkflowCollapse.tsx b/src/features/Conversation/Messages/AssistantGroup/components/WorkflowCollapse.tsxindex 852b0e5074c..d2898232dd1 100644--- a/src/features/Conversation/Messages/AssistantGroup/components/WorkflowCollapse.tsx+++ b/src/features/Conversation/Messages/AssistantGroup/components/WorkflowCollapse.tsx@@ -1,5 +1,6 @@import { type ChatToolPayloadWithResult } from '@lobechat/types';-import { Accordion, AccordionItem, ActionIcon, Block, Flexbox, Icon, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Block, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { AlertTriangle, Check, HandIcon, Maximize2, Minimize2, X } from 'lucide-react';import { AnimatePresence, m as motion } from 'motion/react';diff --git a/src/features/Conversation/Messages/AssistantGroup/index.tsx b/src/features/Conversation/Messages/AssistantGroup/index.tsxindex c2f5583c35e..369ec9a9f8e 100644--- a/src/features/Conversation/Messages/AssistantGroup/index.tsx+++ b/src/features/Conversation/Messages/AssistantGroup/index.tsx@@ -1,7 +1,8 @@'use client';import type { AssistantContentBlock, EmojiReaction, UISignalCallbacksBlock } from '@lobechat/types';-import { Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import type { MouseEventHandler, ReactNode } from 'react';import { memo, Suspense, useCallback, useMemo } from 'react';diff --git a/src/features/Conversation/Messages/CompressedGroup/index.tsx b/src/features/Conversation/Messages/CompressedGroup/index.tsxindex ea1a615149c..cd6269ab2e3 100644--- a/src/features/Conversation/Messages/CompressedGroup/index.tsx+++ b/src/features/Conversation/Messages/CompressedGroup/index.tsx@@ -1,8 +1,8 @@'use client';import type { CompressionGroupMetadata, UIChatMessage } from '@lobechat/types';-import { ActionIcon, Flexbox, Icon, Markdown, ScrollShadow } from '@lobehub/ui';-import { confirmModal, Tabs, type TabsItem } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Markdown, ScrollShadow } from '@lobehub/ui';+import { ActionIcon, confirmModal, Tabs, type TabsItem } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import isEqual from 'fast-deep-equal';import { ChevronDown, ChevronUp, History, Sparkles, Undo2 } from 'lucide-react';diff --git a/src/features/Conversation/Messages/EditedFilesCard/index.tsx b/src/features/Conversation/Messages/EditedFilesCard/index.tsxindex 6bfac8ba20a..8b169b07043 100644--- a/src/features/Conversation/Messages/EditedFilesCard/index.tsx+++ b/src/features/Conversation/Messages/EditedFilesCard/index.tsx@@ -9,8 +9,8 @@ import {KindDot,LineStats,} from '@lobechat/shared-tool-ui/components';-import { Center, Flexbox, PatchDiff, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Center, Flexbox, PatchDiff } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { ArrowUpRightIcon, ChevronDownIcon, ChevronRightIcon, FilePenLineIcon } from 'lucide-react';import { type KeyboardEvent, memo, useState } from 'react';diff --git a/src/features/Conversation/Messages/GoalWorkCard/GoalElapsedTime.tsx b/src/features/Conversation/Messages/GoalWorkCard/GoalElapsedTime.tsxindex 76e2c57e5e6..d9867bfc4ad 100644--- a/src/features/Conversation/Messages/GoalWorkCard/GoalElapsedTime.tsx+++ b/src/features/Conversation/Messages/GoalWorkCard/GoalElapsedTime.tsx@@ -1,7 +1,7 @@'use client';import { formatElapsedClockTime } from '@lobechat/utils';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, useEffect, useState } from 'react';interface GoalElapsedTimeProps {diff --git a/src/features/Conversation/Messages/GoalWorkCard/GoalStatusLine.tsx b/src/features/Conversation/Messages/GoalWorkCard/GoalStatusLine.tsxindex 38d6cb327c8..dcdc4ce1cce 100644--- a/src/features/Conversation/Messages/GoalWorkCard/GoalStatusLine.tsx+++ b/src/features/Conversation/Messages/GoalWorkCard/GoalStatusLine.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import type { TargetIcon } from 'lucide-react';import {diff --git a/src/features/Conversation/Messages/GoalWorkCard/index.tsx b/src/features/Conversation/Messages/GoalWorkCard/index.tsxindex f9d0c40b7e4..3327ad76605 100644--- a/src/features/Conversation/Messages/GoalWorkCard/index.tsx+++ b/src/features/Conversation/Messages/GoalWorkCard/index.tsx@@ -1,6 +1,7 @@'use client';-import { Center, Flexbox, Icon, Tag, Text } from '@lobehub/ui';+import { Center, Flexbox, Icon } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ChevronRightIcon, TargetIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Conversation/Messages/GroupTasks/TaskItem/ClientTaskItem.tsx b/src/features/Conversation/Messages/GroupTasks/TaskItem/ClientTaskItem.tsxindex 93b2cbf984b..8767ce589dd 100644--- a/src/features/Conversation/Messages/GroupTasks/TaskItem/ClientTaskItem.tsx+++ b/src/features/Conversation/Messages/GroupTasks/TaskItem/ClientTaskItem.tsx@@ -1,6 +1,7 @@'use client';-import { AccordionItem, Block, Text } from '@lobehub/ui';+import { AccordionItem, Block } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, useMemo, useState } from 'react';import { useAgentGroupStore } from '@/store/agentGroup';diff --git a/src/features/Conversation/Messages/GroupTasks/TaskItem/TaskTitle.tsx b/src/features/Conversation/Messages/GroupTasks/TaskItem/TaskTitle.tsxindex 0ad40d30211..91f9dd79e72 100644--- a/src/features/Conversation/Messages/GroupTasks/TaskItem/TaskTitle.tsx+++ b/src/features/Conversation/Messages/GroupTasks/TaskItem/TaskTitle.tsx@@ -1,7 +1,8 @@'use client';import { ThreadStatus } from '@lobechat/types';-import { Avatar, Block, Flexbox, Icon, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Footprints, ListChecksIcon, Wrench, XIcon } from 'lucide-react';import { memo, useEffect, useState } from 'react';diff --git a/src/features/Conversation/Messages/GroupTasks/index.tsx b/src/features/Conversation/Messages/GroupTasks/index.tsxindex e624205f0b2..db5548b1fe7 100644--- a/src/features/Conversation/Messages/GroupTasks/index.tsx+++ b/src/features/Conversation/Messages/GroupTasks/index.tsx@@ -1,7 +1,8 @@'use client';import { type UIChatMessage } from '@lobechat/types';-import { Block, Flexbox, GroupAvatar, Icon, Tag } from '@lobehub/ui';+import { Block, Flexbox, GroupAvatar, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';import { ListTodo } from 'lucide-react';diff --git a/src/features/Conversation/Messages/SignalCallbacks/index.tsx b/src/features/Conversation/Messages/SignalCallbacks/index.tsxindex b184786a4d7..5577d9c4b7e 100644--- a/src/features/Conversation/Messages/SignalCallbacks/index.tsx+++ b/src/features/Conversation/Messages/SignalCallbacks/index.tsx@@ -1,7 +1,8 @@'use client';import { type UISignalCallbacksBlock } from '@lobechat/types';-import { Accordion, AccordionItem, Block, Flexbox, Icon, Markdown, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Block, Flexbox, Icon, Markdown } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Radio } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/Conversation/Messages/Task/ClientTaskDetail/InitializingState.tsx b/src/features/Conversation/Messages/Task/ClientTaskDetail/InitializingState.tsxindex 8e0cf4538da..88b28524664 100644--- a/src/features/Conversation/Messages/Task/ClientTaskDetail/InitializingState.tsx+++ b/src/features/Conversation/Messages/Task/ClientTaskDetail/InitializingState.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, keyframes } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/Messages/Task/index.tsx b/src/features/Conversation/Messages/Task/index.tsxindex b99de4b902f..992e8f85c4b 100644--- a/src/features/Conversation/Messages/Task/index.tsx+++ b/src/features/Conversation/Messages/Task/index.tsx@@ -1,7 +1,7 @@'use client';import { LOADING_FLAT } from '@lobechat/const';-import { Tag } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import { memo, useCallback } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/Messages/TaskCallback/index.tsx b/src/features/Conversation/Messages/TaskCallback/index.tsxindex fcc0d1897e6..4b1dea73ea5 100644--- a/src/features/Conversation/Messages/TaskCallback/index.tsx+++ b/src/features/Conversation/Messages/TaskCallback/index.tsx@@ -1,7 +1,7 @@'use client';-import { Center, Flexbox, Icon, Markdown, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Center, Flexbox, Icon, Markdown } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';import {diff --git a/src/features/Conversation/Messages/Tasks/TaskItem/ClientTaskItem.tsx b/src/features/Conversation/Messages/Tasks/TaskItem/ClientTaskItem.tsxindex f5651948cf1..515e4823e24 100644--- a/src/features/Conversation/Messages/Tasks/TaskItem/ClientTaskItem.tsx+++ b/src/features/Conversation/Messages/Tasks/TaskItem/ClientTaskItem.tsx@@ -1,6 +1,7 @@'use client';-import { AccordionItem, Block, Text } from '@lobehub/ui';+import { AccordionItem, Block } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, useMemo, useState } from 'react';import { useChatStore } from '@/store/chat';diff --git a/src/features/Conversation/Messages/Tasks/TaskItem/TaskTitle.tsx b/src/features/Conversation/Messages/Tasks/TaskItem/TaskTitle.tsxindex 5ac5758487e..d3932d59188 100644--- a/src/features/Conversation/Messages/Tasks/TaskItem/TaskTitle.tsx+++ b/src/features/Conversation/Messages/Tasks/TaskItem/TaskTitle.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Footprints, ListChecksIcon, Wrench, XIcon } from 'lucide-react';import { memo, useEffect, useState } from 'react';diff --git a/src/features/Conversation/Messages/Tasks/index.tsx b/src/features/Conversation/Messages/Tasks/index.tsxindex 600aba2c80d..da7f3de5b8c 100644--- a/src/features/Conversation/Messages/Tasks/index.tsx+++ b/src/features/Conversation/Messages/Tasks/index.tsx@@ -1,7 +1,8 @@'use client';import { type UIChatMessage } from '@lobechat/types';-import { Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/Messages/Tasks/shared/CompletedState.tsx b/src/features/Conversation/Messages/Tasks/shared/CompletedState.tsxindex 90fea8f6fa7..49dab0f70f3 100644--- a/src/features/Conversation/Messages/Tasks/shared/CompletedState.tsx+++ b/src/features/Conversation/Messages/Tasks/shared/CompletedState.tsx@@ -2,7 +2,8 @@import { type TaskDetail } from '@lobechat/types';import { type IconProps } from '@lobehub/ui';-import { Flexbox, Icon, Tag } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Footprints, Timer, Wrench } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/features/Conversation/Messages/Tasks/shared/InitializingState.tsx b/src/features/Conversation/Messages/Tasks/shared/InitializingState.tsxindex ef1d85e4562..0412f52899e 100644--- a/src/features/Conversation/Messages/Tasks/shared/InitializingState.tsx+++ b/src/features/Conversation/Messages/Tasks/shared/InitializingState.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, keyframes } from 'antd-style';import { memo, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/Messages/Tasks/shared/ProcessingState.tsx b/src/features/Conversation/Messages/Tasks/shared/ProcessingState.tsxindex 9d78b4a4c0f..40a849ac140 100644--- a/src/features/Conversation/Messages/Tasks/shared/ProcessingState.tsx+++ b/src/features/Conversation/Messages/Tasks/shared/ProcessingState.tsx@@ -1,7 +1,8 @@'use client';import { type TaskDetail } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, keyframes } from 'antd-style';import { Footprints, Timer, Wrench } from 'lucide-react';import { memo, useEffect, useState } from 'react';diff --git a/src/features/Conversation/Messages/Tasks/shared/TaskContent.tsx b/src/features/Conversation/Messages/Tasks/shared/TaskContent.tsxindex 85556160adf..8d350fd316d 100644--- a/src/features/Conversation/Messages/Tasks/shared/TaskContent.tsx+++ b/src/features/Conversation/Messages/Tasks/shared/TaskContent.tsx@@ -1,7 +1,8 @@'use client';import { type TaskDetail, type ThreadStatus, type UIChatMessage } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/Messages/Tasks/shared/TaskMessages.tsx b/src/features/Conversation/Messages/Tasks/shared/TaskMessages.tsxindex bd43ed5992b..2245775464c 100644--- a/src/features/Conversation/Messages/Tasks/shared/TaskMessages.tsx+++ b/src/features/Conversation/Messages/Tasks/shared/TaskMessages.tsx@@ -1,7 +1,8 @@'use client';import { type AssistantContentBlock, type UIChatMessage } from '@lobechat/types';-import { Accordion, AccordionItem, Block, Flexbox, Icon, Markdown, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Block, Flexbox, Icon, Markdown } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ScrollText, Workflow } from 'lucide-react';import { memo, useEffect, useMemo, useState } from 'react';diff --git a/src/features/Conversation/Messages/User/ScheduledRunFooter.tsx b/src/features/Conversation/Messages/User/ScheduledRunFooter.tsxindex 73f087a6c51..e9acacbb69f 100644--- a/src/features/Conversation/Messages/User/ScheduledRunFooter.tsx+++ b/src/features/Conversation/Messages/User/ScheduledRunFooter.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import dayjs from 'dayjs';import { BanIcon, ClockIcon } from 'lucide-react';diff --git a/src/features/Conversation/Messages/User/components/FileListViewer/Item.tsx b/src/features/Conversation/Messages/User/components/FileListViewer/Item.tsxindex 4e4c1b1b87d..db584cb605f 100644--- a/src/features/Conversation/Messages/User/components/FileListViewer/Item.tsx+++ b/src/features/Conversation/Messages/User/components/FileListViewer/Item.tsx@@ -1,4 +1,5 @@-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { FileLock2Icon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/Messages/User/index.tsx b/src/features/Conversation/Messages/User/index.tsxindex 72f9963a260..2f5dbc170c7 100644--- a/src/features/Conversation/Messages/User/index.tsx+++ b/src/features/Conversation/Messages/User/index.tsx@@ -1,5 +1,5 @@import { agentDisplayName } from '@lobechat/types';-import { Tag } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import { type MouseEventHandler } from 'react';import { memo, useCallback, useMemo } from 'react';diff --git a/src/features/Conversation/Messages/components/Extras/TTS/Player.tsx b/src/features/Conversation/Messages/components/Extras/TTS/Player.tsxindex b830aa31e18..51672726251 100644--- a/src/features/Conversation/Messages/components/Extras/TTS/Player.tsx+++ b/src/features/Conversation/Messages/components/Extras/TTS/Player.tsx@@ -1,8 +1,8 @@import { type ChatMessageError } from '@lobechat/types';import { type AudioPlayerProps } from '@lobehub/tts/react';import { AudioPlayer } from '@lobehub/tts/react';-import { ActionIcon, Flexbox, Highlighter } from '@lobehub/ui';-import { Alert, Button } from '@lobehub/ui/base-ui';+import { Flexbox, Highlighter } from '@lobehub/ui';+import { ActionIcon, Alert, Button } from '@lobehub/ui/base-ui';import { TrashIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/Messages/components/Extras/Translate.tsx b/src/features/Conversation/Messages/components/Extras/Translate.tsxindex 4f86fc089b8..23c65660db4 100644--- a/src/features/Conversation/Messages/components/Extras/Translate.tsx+++ b/src/features/Conversation/Messages/components/Extras/Translate.tsx@@ -1,6 +1,6 @@import { type ChatTranslate } from '@lobechat/types';-import { ActionIcon, copyToClipboard, Flexbox, Icon, Markdown, Tag } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { copyToClipboard, Flexbox, Icon, Markdown } from '@lobehub/ui';+import { ActionIcon, Tag, toast } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { ChevronDown, ChevronsRight, ChevronUp, CopyIcon, TrashIcon } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/Conversation/Messages/components/FileChunks/ChunkItem.tsx b/src/features/Conversation/Messages/components/FileChunks/ChunkItem.tsxindex 420977d2a0d..3a1a44a90ee 100644--- a/src/features/Conversation/Messages/components/FileChunks/ChunkItem.tsx+++ b/src/features/Conversation/Messages/components/FileChunks/ChunkItem.tsx@@ -1,5 +1,6 @@import { type ChatFileChunk } from '@lobechat/types';-import { Center, Flexbox, Text, Tooltip } from '@lobehub/ui';+import { Center, Flexbox, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cx } from 'antd-style';import { memo } from 'react';diff --git a/src/features/Conversation/Messages/components/SearchGrounding.tsx b/src/features/Conversation/Messages/components/SearchGrounding.tsxindex edfae784475..fcc2fc55b06 100644--- a/src/features/Conversation/Messages/components/SearchGrounding.tsx+++ b/src/features/Conversation/Messages/components/SearchGrounding.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, SearchResultCards, Tag } from '@lobehub/ui';+import { Flexbox, Icon, SearchResultCards } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { ChevronDown, ChevronRight, Globe, Images } from 'lucide-react';import { AnimatePresence, m } from 'motion/react';diff --git a/src/features/Conversation/SplitDropZone/index.tsx b/src/features/Conversation/SplitDropZone/index.tsxindex ab08aea9e28..4464c43c954 100644--- a/src/features/Conversation/SplitDropZone/index.tsx+++ b/src/features/Conversation/SplitDropZone/index.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { PanelRight } from 'lucide-react';import { memo, type ReactNode } from 'react';diff --git a/src/features/Conversation/TodoProgress/index.tsx b/src/features/Conversation/TodoProgress/index.tsxindex fa579b98225..b5abf828c79 100644--- a/src/features/Conversation/TodoProgress/index.tsx+++ b/src/features/Conversation/TodoProgress/index.tsx@@ -1,8 +1,8 @@'use client';import { type StepContextTodos } from '@lobechat/types';-import { Flexbox, Icon, Tag } from '@lobehub/ui';-import { Checkbox } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Checkbox, Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { ChevronDown, ChevronUp, CircleArrowRight } from 'lucide-react';import { memo, useMemo, useState } from 'react';diff --git a/src/features/Conversation/WorkingSidebar/Browser/index.tsx b/src/features/Conversation/WorkingSidebar/Browser/index.tsxindex 369ba2f22d8..064604f2df5 100644--- a/src/features/Conversation/WorkingSidebar/Browser/index.tsx+++ b/src/features/Conversation/WorkingSidebar/Browser/index.tsx@@ -1,7 +1,7 @@import { isDesktop } from '@lobechat/const';import { nanoid } from '@lobechat/utils';-import { ActionIcon, Center, Empty, Flexbox, Icon, Input, Text } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { Center, Empty, Flexbox, Icon, Input } from '@lobehub/ui';+import { ActionIcon, Button, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import {Camera,diff --git a/src/features/Conversation/WorkingSidebar/Overview/index.tsx b/src/features/Conversation/WorkingSidebar/Overview/index.tsxindex 5030968a8ae..fdc8cb5250d 100644--- a/src/features/Conversation/WorkingSidebar/Overview/index.tsx+++ b/src/features/Conversation/WorkingSidebar/Overview/index.tsx@@ -1,7 +1,7 @@'use client';-import { Center, Empty, Flexbox, Icon, type IconProps, Skeleton, Tag, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Center, Empty, Flexbox, Icon, type IconProps, Skeleton } from '@lobehub/ui';+import { Button, Tag, Text } from '@lobehub/ui/base-ui';import { SkillsIcon } from '@lobehub/ui/icons';import { createStaticStyles, cssVar, cx } from 'antd-style';import {diff --git a/src/features/Conversation/WorkingSidebar/ResourcesSection/AgentDocumentsGroup.tsx b/src/features/Conversation/WorkingSidebar/ResourcesSection/AgentDocumentsGroup.tsxindex 158e2fe0472..a4f75c3484f 100644--- a/src/features/Conversation/WorkingSidebar/ResourcesSection/AgentDocumentsGroup.tsx+++ b/src/features/Conversation/WorkingSidebar/ResourcesSection/AgentDocumentsGroup.tsx@@ -4,8 +4,8 @@ import {buildAgentSkillIdentifier,EMPTY_ARRAY,} from '@lobechat/const';-import { ActionIcon, Center, Empty, Flexbox, Text } from '@lobehub/ui';-import { confirmModal, toast } from '@lobehub/ui/base-ui';+import { Center, Empty, Flexbox } from '@lobehub/ui';+import { ActionIcon, confirmModal, Text, toast } from '@lobehub/ui/base-ui';import { SkillsIcon } from '@lobehub/ui/icons';import { createStaticStyles, cx } from 'antd-style';import dayjs from 'dayjs';diff --git a/src/features/Conversation/WorkingSidebar/Review/FileItem.tsx b/src/features/Conversation/WorkingSidebar/Review/FileItem.tsxindex f5eb98fa720..4b101f57b65 100644--- a/src/features/Conversation/WorkingSidebar/Review/FileItem.tsx+++ b/src/features/Conversation/WorkingSidebar/Review/FileItem.tsx@@ -2,8 +2,8 @@import type { GitFileDiffStatus } from '@lobechat/electron-client-ipc';import { nanoid } from '@lobechat/utils';-import { ActionIcon, copyToClipboard, Flexbox, PatchDiff } from '@lobehub/ui';-import { confirmModal, toast } from '@lobehub/ui/base-ui';+import { copyToClipboard, Flexbox, PatchDiff } from '@lobehub/ui';+import { ActionIcon, confirmModal, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar as themeCssVar } from 'antd-style';import { CopyIcon, LocateFixedIcon, Undo2Icon } from 'lucide-react';import path from 'path-browserify-esm';diff --git a/src/features/Conversation/WorkingSidebar/Review/GroupHeader.tsx b/src/features/Conversation/WorkingSidebar/Review/GroupHeader.tsxindex 140da6beff2..f7322c529e8 100644--- a/src/features/Conversation/WorkingSidebar/Review/GroupHeader.tsx+++ b/src/features/Conversation/WorkingSidebar/Review/GroupHeader.tsx@@ -1,6 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ChevronRightIcon, FoldVerticalIcon, UnfoldVerticalIcon } from 'lucide-react';import { type KeyboardEvent, memo, type MouseEvent, useCallback } from 'react';diff --git a/src/features/Conversation/WorkingSidebar/Review/index.tsx b/src/features/Conversation/WorkingSidebar/Review/index.tsxindex 0a595a80c72..3c5e71d6fa3 100644--- a/src/features/Conversation/WorkingSidebar/Review/index.tsx+++ b/src/features/Conversation/WorkingSidebar/Review/index.tsx@@ -1,7 +1,8 @@'use client';import type { GitWorkingTreePatch } from '@lobechat/electron-client-ipc';-import { ActionIcon, Center, type DropdownItem, DropdownMenu, Empty, Flexbox } from '@lobehub/ui';+import { Center, type DropdownItem, DropdownMenu, Empty, Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import {ArrowLeftIcon,diff --git a/src/features/Conversation/WorkingSidebar/WorksSection/VersionList.tsx b/src/features/Conversation/WorkingSidebar/WorksSection/VersionList.tsxindex 66113bb81db..9618845609b 100644--- a/src/features/Conversation/WorkingSidebar/WorksSection/VersionList.tsx+++ b/src/features/Conversation/WorkingSidebar/WorksSection/VersionList.tsx@@ -1,5 +1,6 @@import type { WorkVersionItem } from '@lobechat/types';-import { Center, Flexbox, Text } from '@lobehub/ui';+import { Center, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Conversation/WorkingSidebar/WorksSection/WorkVersionHistoryCard.tsx b/src/features/Conversation/WorkingSidebar/WorksSection/WorkVersionHistoryCard.tsxindex 4c07f703a74..e25a2d6e3c3 100644--- a/src/features/Conversation/WorkingSidebar/WorksSection/WorkVersionHistoryCard.tsx+++ b/src/features/Conversation/WorkingSidebar/WorksSection/WorkVersionHistoryCard.tsx@@ -1,5 +1,6 @@import type { TaskStatus, WorkListItem } from '@lobechat/types';-import { Flexbox, Tag, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ChevronDownIcon, ChevronRightIcon, Trash2Icon } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/Conversation/WorkingSidebar/WorksSection/index.tsx b/src/features/Conversation/WorkingSidebar/WorksSection/index.tsxindex 89903954e3e..1ae781ec530 100644--- a/src/features/Conversation/WorkingSidebar/WorksSection/index.tsx+++ b/src/features/Conversation/WorkingSidebar/WorksSection/index.tsx@@ -1,5 +1,6 @@import type { WorkListItem } from '@lobechat/types';-import { ActionIcon, Center, Empty, Flexbox } from '@lobehub/ui';+import { Center, Empty, Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import isEqual from 'fast-deep-equal';import { ClipboardListIcon, HistoryIcon, ListIcon } from 'lucide-react';diff --git a/src/features/Conversation/WorkingSidebar/index.tsx b/src/features/Conversation/WorkingSidebar/index.tsxindex d3080fcf09b..9bc9feb1add 100644--- a/src/features/Conversation/WorkingSidebar/index.tsx+++ b/src/features/Conversation/WorkingSidebar/index.tsx@@ -1,7 +1,7 @@import type { SFSymbol } from '@lobechat/electron-client-ipc';import { nanoid } from '@lobechat/utils';-import { ActionIcon, Flexbox, Icon, type IconProps, Skeleton } from '@lobehub/ui';-import { type DropdownItem, DropdownMenu } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, type IconProps, Skeleton } from '@lobehub/ui';+import { ActionIcon, type DropdownItem, DropdownMenu } from '@lobehub/ui/base-ui';import { SkillsIcon } from '@lobehub/ui/icons';import { createStaticStyles } from 'antd-style';import {diff --git a/src/features/Conversation/components/History/HistoryDivider.tsx b/src/features/Conversation/components/History/HistoryDivider.tsxindex de8ed8f77f8..1cd58f009f3 100644--- a/src/features/Conversation/components/History/HistoryDivider.tsx+++ b/src/features/Conversation/components/History/HistoryDivider.tsx@@ -1,4 +1,5 @@-import { Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { Timer } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Conversation/components/History/index.tsx b/src/features/Conversation/components/History/index.tsxindex 6ea1b8dcd9c..cc13040136e 100644--- a/src/features/Conversation/components/History/index.tsx+++ b/src/features/Conversation/components/History/index.tsx@@ -1,5 +1,6 @@import { ModelTag } from '@lobehub/icons';-import { Center, Flexbox, Icon, Markdown, Text } from '@lobehub/ui';+import { Center, Flexbox, Icon, Markdown } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ScrollText } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Conversation/components/PortalResourceCard/index.tsx b/src/features/Conversation/components/PortalResourceCard/index.tsxindex 1080c65f66c..94c9f42c3e4 100644--- a/src/features/Conversation/components/PortalResourceCard/index.tsx+++ b/src/features/Conversation/components/PortalResourceCard/index.tsx@@ -1,6 +1,7 @@'use client';-import { Center, Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';+import { Center, Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { FileText } from 'lucide-react';import type { KeyboardEvent, MouseEvent, ReactNode } from 'react';diff --git a/src/features/Conversation/components/Reaction/ReactionPicker.tsx b/src/features/Conversation/components/Reaction/ReactionPicker.tsxindex 0d015d00b4f..859a5815f8a 100644--- a/src/features/Conversation/components/Reaction/ReactionPicker.tsx+++ b/src/features/Conversation/components/Reaction/ReactionPicker.tsx@@ -2,7 +2,8 @@import data from '@emoji-mart/data';import Picker from '@emoji-mart/react';-import { ActionIcon, Flexbox, Tooltip } from '@lobehub/ui';+import { Flexbox, Tooltip } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Popover } from 'antd';import { createStaticStyles, useTheme } from 'antd-style';import { PlusIcon, SmilePlus } from 'lucide-react';diff --git a/src/features/Conversation/components/Thinking/Title.tsx b/src/features/Conversation/components/Thinking/Title.tsxindex 2ab6090d573..38fc5ebb955 100644--- a/src/features/Conversation/components/Thinking/Title.tsx+++ b/src/features/Conversation/components/Thinking/Title.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/DailyBrief/BriefCardActions.tsx b/src/features/DailyBrief/BriefCardActions.tsxindex 66a470cab1e..087fac6f426 100644--- a/src/features/DailyBrief/BriefCardActions.tsx+++ b/src/features/DailyBrief/BriefCardActions.tsx@@ -1,6 +1,6 @@import { type BriefAction, DEFAULT_BRIEF_ACTIONS, type TaskStatus } from '@lobechat/types';-import { Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Button, Text, toast } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Check, SquarePen, Workflow } from 'lucide-react';import { memo, useCallback, useState } from 'react';diff --git a/src/features/DailyBrief/BriefCardArtifacts.tsx b/src/features/DailyBrief/BriefCardArtifacts.tsxindex a5e9ea19632..cfa73abc995 100644--- a/src/features/DailyBrief/BriefCardArtifacts.tsx+++ b/src/features/DailyBrief/BriefCardArtifacts.tsx@@ -1,5 +1,6 @@import type { BriefArtifactDocument, BriefArtifacts } from '@lobechat/types';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ChevronRightIcon, FileTextIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/DataImporter/ImportDetail.tsx b/src/features/DataImporter/ImportDetail.tsxindex 9a2103ab39d..7bbfa9d06b8 100644--- a/src/features/DataImporter/ImportDetail.tsx+++ b/src/features/DataImporter/ImportDetail.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { Table } from 'antd';import { createStaticStyles } from 'antd-style';import { Info } from 'lucide-react';diff --git a/src/features/DesktopOnboarding/Layout/index.tsx b/src/features/DesktopOnboarding/Layout/index.tsxindex 58fd9e220f0..fe9c875d080 100644--- a/src/features/DesktopOnboarding/Layout/index.tsx+++ b/src/features/DesktopOnboarding/Layout/index.tsx@@ -1,7 +1,8 @@'use client';import { TITLE_BAR_HEIGHT } from '@lobechat/desktop-bridge';-import { Center, Flexbox, Text } from '@lobehub/ui';+import { Center, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { css, cx } from 'antd-style';import { type FC, type PropsWithChildren } from 'react';diff --git a/src/features/DesktopOnboarding/components/LobeMessage.tsx b/src/features/DesktopOnboarding/components/LobeMessage.tsxindex 22d93769fb0..e24a62c23ce 100644--- a/src/features/DesktopOnboarding/components/LobeMessage.tsx+++ b/src/features/DesktopOnboarding/components/LobeMessage.tsx@@ -1,7 +1,8 @@import { type FlexboxProps } from '@lobehub/ui';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';import { type TypewriterEffectProps } from '@lobehub/ui/awesome';import { TypewriterEffect } from '@lobehub/ui/awesome';+import { Text } from '@lobehub/ui/base-ui';import { LoadingDots } from '@lobehub/ui/chat';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/DesktopOnboarding/steps/DataModeStep.tsx b/src/features/DesktopOnboarding/steps/DataModeStep.tsxindex eb0ff7db863..8301cb44cb6 100644--- a/src/features/DesktopOnboarding/steps/DataModeStep.tsx+++ b/src/features/DesktopOnboarding/steps/DataModeStep.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Empty, Flexbox, Text } from '@lobehub/ui';-import { Button, Checkbox } from '@lobehub/ui/base-ui';+import { Block, Empty, Flexbox } from '@lobehub/ui';+import { Button, Checkbox, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { HeartHandshake, Undo2Icon } from 'lucide-react';import { memo, useCallback, useState } from 'react';diff --git a/src/features/DesktopOnboarding/steps/LoginStep.tsx b/src/features/DesktopOnboarding/steps/LoginStep.tsxindex ff9ad627d9b..d040fb24e4e 100644--- a/src/features/DesktopOnboarding/steps/LoginStep.tsx+++ b/src/features/DesktopOnboarding/steps/LoginStep.tsx@@ -2,8 +2,8 @@import { type AuthorizationPhase, type AuthorizationProgress } from '@lobechat/electron-client-ipc';import { useWatchBroadcast } from '@lobechat/electron-client-ipc';-import { Center, Flexbox, Icon, Input, Text } from '@lobehub/ui';-import { Alert, Button } from '@lobehub/ui/base-ui';+import { Center, Flexbox, Icon, Input } from '@lobehub/ui';+import { Alert, Button, Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { cssVar } from 'antd-style';import { Cloud, LogOutIcon, Server, Undo2Icon } from 'lucide-react';diff --git a/src/features/DesktopOnboarding/steps/PermissionsStep.tsx b/src/features/DesktopOnboarding/steps/PermissionsStep.tsxindex e236c716175..6ea6d58e6ba 100644--- a/src/features/DesktopOnboarding/steps/PermissionsStep.tsx+++ b/src/features/DesktopOnboarding/steps/PermissionsStep.tsx@@ -1,8 +1,8 @@'use client';import { useWatchBroadcast } from '@lobechat/electron-client-ipc';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import {Bell,diff --git a/src/features/DesktopOnboarding/steps/WelcomeStep.tsx b/src/features/DesktopOnboarding/steps/WelcomeStep.tsxindex 0bfedbe79b0..7423c57f599 100644--- a/src/features/DesktopOnboarding/steps/WelcomeStep.tsx+++ b/src/features/DesktopOnboarding/steps/WelcomeStep.tsx@@ -1,9 +1,9 @@'use client';import { type IconProps } from '@lobehub/ui';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';import { TypewriterEffect } from '@lobehub/ui/awesome';-import { Button } from '@lobehub/ui/base-ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { LoadingDots } from '@lobehub/ui/chat';import { Steps } from 'antd';import { cssVar } from 'antd-style';diff --git a/src/features/DevDock/PanelHost.tsx b/src/features/DevDock/PanelHost.tsxindex e3b7bbee715..cb64b107804 100644--- a/src/features/DevDock/PanelHost.tsx+++ b/src/features/DevDock/PanelHost.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Maximize2, Minimize2, XIcon } from 'lucide-react';import { memo, Suspense, useCallback, useEffect, useRef, useState } from 'react';diff --git a/src/features/DevFeatureFlagPanel/FlagRow.tsx b/src/features/DevFeatureFlagPanel/FlagRow.tsxindex cb610d16015..0de5dd42e10 100644--- a/src/features/DevFeatureFlagPanel/FlagRow.tsx+++ b/src/features/DevFeatureFlagPanel/FlagRow.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';-import { Segmented } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Segmented, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { snakeCase } from 'es-toolkit/compat';import { memo, useMemo } from 'react';diff --git a/src/features/DevFeatureFlagPanel/Panel.tsx b/src/features/DevFeatureFlagPanel/Panel.tsxindex f7d002de0fe..661317cbec1 100644--- a/src/features/DevFeatureFlagPanel/Panel.tsx+++ b/src/features/DevFeatureFlagPanel/Panel.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Input, Text } from '@lobehub/ui';-import { Button, Switch } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import { Button, Switch, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { snakeCase } from 'es-toolkit/compat';import { ListRestartIcon } from 'lucide-react';diff --git a/src/features/DevPanel/RenderGallery/ApiList.tsx b/src/features/DevPanel/RenderGallery/ApiList.tsxindex 35eda0042e5..e59dfc12945 100644--- a/src/features/DevPanel/RenderGallery/ApiList.tsx+++ b/src/features/DevPanel/RenderGallery/ApiList.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { memo, useEffect, useRef } from 'react';diff --git a/src/features/DevPanel/RenderGallery/MessageList.tsx b/src/features/DevPanel/RenderGallery/MessageList.tsxindex 8fd9088275c..c8984c053d5 100644--- a/src/features/DevPanel/RenderGallery/MessageList.tsx+++ b/src/features/DevPanel/RenderGallery/MessageList.tsx@@ -2,7 +2,7 @@import { LOADING_FLAT } from '@lobechat/const';import type { ChatToolPayload, UIChatMessage } from '@lobechat/types';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo, useMemo } from 'react';diff --git a/src/features/DevPanel/RenderGallery/Sidebar.tsx b/src/features/DevPanel/RenderGallery/Sidebar.tsxindex f27cc1102f4..b27ec627892 100644--- a/src/features/DevPanel/RenderGallery/Sidebar.tsx+++ b/src/features/DevPanel/RenderGallery/Sidebar.tsx@@ -1,6 +1,7 @@'use client';-import { Menu, type MenuProps, Text } from '@lobehub/ui';+import { Menu, type MenuProps } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';diff --git a/src/features/DevPanel/RenderGallery/ToolPage.tsx b/src/features/DevPanel/RenderGallery/ToolPage.tsxindex 8235d3dc829..7498b23dc1c 100644--- a/src/features/DevPanel/RenderGallery/ToolPage.tsx+++ b/src/features/DevPanel/RenderGallery/ToolPage.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Tag, Text } from '@lobehub/ui';-import { Tabs } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Tabs, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { useEffect, useRef, useState } from 'react';diff --git a/src/features/DevPanel/RenderGallery/ToolPreview.tsx b/src/features/DevPanel/RenderGallery/ToolPreview.tsxindex e649601f29b..bb005469563 100644--- a/src/features/DevPanel/RenderGallery/ToolPreview.tsx+++ b/src/features/DevPanel/RenderGallery/ToolPreview.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Tag, Text } from '@lobehub/ui';-import { Tabs } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Tabs, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { useMemo, useState } from 'react';diff --git a/src/features/DevPanel/RenderGallery/toolSurfaces.tsx b/src/features/DevPanel/RenderGallery/toolSurfaces.tsxindex a2018cde99a..5298453cf7b 100644--- a/src/features/DevPanel/RenderGallery/toolSurfaces.tsx+++ b/src/features/DevPanel/RenderGallery/toolSurfaces.tsx@@ -1,7 +1,8 @@'use client';import type { UIChatMessage } from '@lobechat/types';-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Component, memo, type ReactNode, useMemo } from 'react';diff --git a/src/features/DeviceManager/DeviceConnectModal.tsx b/src/features/DeviceManager/DeviceConnectModal.tsxindex 3ea50ad27a0..b7f2a3f0819 100644--- a/src/features/DeviceManager/DeviceConnectModal.tsx+++ b/src/features/DeviceManager/DeviceConnectModal.tsx@@ -2,8 +2,8 @@import { DOWNLOAD_URL } from '@lobechat/const';import type { DeviceScope, DeviceVisibility } from '@lobechat/types';-import { CopyButton, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, Tabs } from '@lobehub/ui/base-ui';+import { CopyButton, Flexbox, Icon } from '@lobehub/ui';+import { Button, Tabs, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { DownloadIcon, MonitorDownIcon, ShieldCheckIcon, TerminalIcon } from 'lucide-react';import { memo, useEffect, useState } from 'react';diff --git a/src/features/DeviceManager/DeviceDetailPanel.tsx b/src/features/DeviceManager/DeviceDetailPanel.tsxindex 3f57e69f4b5..cd307ebb311 100644--- a/src/features/DeviceManager/DeviceDetailPanel.tsx+++ b/src/features/DeviceManager/DeviceDetailPanel.tsx@@ -2,8 +2,8 @@import { isDesktop } from '@lobechat/const';import type { DeviceListItem, DeviceWorkspaceShare } from '@lobechat/types';-import { ActionIcon, Avatar, Flexbox, Icon, Input, SortableList, Tag, Text } from '@lobehub/ui';-import { Button, confirmModal, toast } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Input, SortableList } from '@lobehub/ui';+import { ActionIcon, Avatar, Button, confirmModal, Tag, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import dayjs from 'dayjs';import { FolderOpenIcon, FolderPlusIcon, LockIcon, XIcon } from 'lucide-react';diff --git a/src/features/DeviceManager/DeviceItem.tsx b/src/features/DeviceManager/DeviceItem.tsxindex c28f3ec65ee..522a076d67f 100644--- a/src/features/DeviceManager/DeviceItem.tsx+++ b/src/features/DeviceManager/DeviceItem.tsx@@ -1,8 +1,8 @@'use client';import type { DeviceListItem } from '@lobechat/types';-import { Avatar, DropdownMenu, Flexbox, Icon, Tag, Text, Tooltip } from '@lobehub/ui';-import { Button, confirmModal } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Avatar, Button, confirmModal, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import dayjs from 'dayjs';import {diff --git a/src/features/DeviceManager/DeviceManager.tsx b/src/features/DeviceManager/DeviceManager.tsxindex 322fd8e58bf..a541deb6924 100644--- a/src/features/DeviceManager/DeviceManager.tsx+++ b/src/features/DeviceManager/DeviceManager.tsx@@ -2,8 +2,8 @@import { isDesktop } from '@lobechat/const';import type { DeviceScope, DeviceVisibility } from '@lobechat/types';-import { ActionIcon, Flexbox, Icon, Skeleton, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Skeleton } from '@lobehub/ui';+import { ActionIcon, Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import {ChevronRightIcon,diff --git a/src/features/DeviceManager/ShareDeviceModal.tsx b/src/features/DeviceManager/ShareDeviceModal.tsxindex 0c5efe1e4ab..5e9a6a283d0 100644--- a/src/features/DeviceManager/ShareDeviceModal.tsx+++ b/src/features/DeviceManager/ShareDeviceModal.tsx@@ -1,12 +1,14 @@'use client';import type { DeviceListItem, DeviceVisibility } from '@lobechat/types';-import { Flexbox, Icon, Tag, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';import {Button,confirmModal,createModal,Select,+ Tag,+ Text,toast,useModalContext,} from '@lobehub/ui/base-ui';diff --git a/src/features/DocumentModal/Header.tsx b/src/features/DocumentModal/Header.tsxindex b7099117d74..a4f1745581c 100644--- a/src/features/DocumentModal/Header.tsx+++ b/src/features/DocumentModal/Header.tsx@@ -1,7 +1,14 @@'use client';-import { ActionIcon, Avatar, copyToClipboard, Flexbox, Skeleton, Text } from '@lobehub/ui';-import { DropdownMenu, toast, useModalContext } from '@lobehub/ui/base-ui';+import { copyToClipboard, Flexbox, Skeleton } from '@lobehub/ui';+import {+ ActionIcon,+ Avatar,+ DropdownMenu,+ Text,+ toast,+ useModalContext,+} from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { MoreHorizontal, XIcon } from 'lucide-react';import { memo, useCallback } from 'react';diff --git a/src/features/EditLock/EditingIndicator.tsx b/src/features/EditLock/EditingIndicator.tsxindex e1340840690..77279dd2522 100644--- a/src/features/EditLock/EditingIndicator.tsx+++ b/src/features/EditLock/EditingIndicator.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Loader2Icon, PencilIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/EditorCanvas/LinearFilePlugin.tsx b/src/features/EditorCanvas/LinearFilePlugin.tsxindex 675c371ec90..9e90c2f597e 100644--- a/src/features/EditorCanvas/LinearFilePlugin.tsx+++ b/src/features/EditorCanvas/LinearFilePlugin.tsx@@ -1,7 +1,7 @@'use client';import { FilePlugin, UploadPlugin, useLexicalComposerContext } from '@lobehub/editor';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { DownloadIcon } from 'lucide-react';import {diff --git a/src/features/Electron/HeterogeneousAgent/StatusGuide/GuideShell.tsx b/src/features/Electron/HeterogeneousAgent/StatusGuide/GuideShell.tsxindex 0da0274d653..2bfd76d5789 100644--- a/src/features/Electron/HeterogeneousAgent/StatusGuide/GuideShell.tsx+++ b/src/features/Electron/HeterogeneousAgent/StatusGuide/GuideShell.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Avatar, Block, Flexbox, Text, Tooltip } from '@lobehub/ui';+import { Block, Flexbox, Tooltip } from '@lobehub/ui';+import { ActionIcon, Avatar, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { X } from 'lucide-react';import type { ReactNode } from 'react';@@ -45,7 +46,6 @@ const GuideShell = ({<Avataravatar={icon}background={cssVar.colorFillQuaternary}- gap={compact ? 8 : 12}shape={'square'}size={compact ? 32 : 48}/>diff --git a/src/features/Electron/HeterogeneousAgent/StatusGuide/states/AuthRequiredState.tsx b/src/features/Electron/HeterogeneousAgent/StatusGuide/states/AuthRequiredState.tsxindex f4a051b1e14..d5e7c496f60 100644--- a/src/features/Electron/HeterogeneousAgent/StatusGuide/states/AuthRequiredState.tsx+++ b/src/features/Electron/HeterogeneousAgent/StatusGuide/states/AuthRequiredState.tsx@@ -1,5 +1,6 @@import { isDesktop } from '@lobechat/const';-import { Flexbox, Highlighter, Snippet, Text } from '@lobehub/ui';+import { Flexbox, Highlighter, Snippet } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { useTranslation } from 'react-i18next';import GuideActions from '../GuideActions';diff --git a/src/features/Electron/HeterogeneousAgent/StatusGuide/states/CliInstallState.tsx b/src/features/Electron/HeterogeneousAgent/StatusGuide/states/CliInstallState.tsxindex f387e09c563..0df0a62ec82 100644--- a/src/features/Electron/HeterogeneousAgent/StatusGuide/states/CliInstallState.tsx+++ b/src/features/Electron/HeterogeneousAgent/StatusGuide/states/CliInstallState.tsx@@ -1,5 +1,6 @@import { HeterogeneousAgentSessionErrorCode } from '@lobechat/electron-client-ipc';-import { Flexbox, Snippet, Text } from '@lobehub/ui';+import { Flexbox, Snippet } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { useTranslation } from 'react-i18next';import GuideActions from '../GuideActions';diff --git a/src/features/Electron/HeterogeneousAgent/StatusGuide/states/OverloadedState.tsx b/src/features/Electron/HeterogeneousAgent/StatusGuide/states/OverloadedState.tsxindex b174eba5a58..b6c1715e7a6 100644--- a/src/features/Electron/HeterogeneousAgent/StatusGuide/states/OverloadedState.tsx+++ b/src/features/Electron/HeterogeneousAgent/StatusGuide/states/OverloadedState.tsx@@ -1,5 +1,5 @@-import { Flexbox, Highlighter, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Highlighter, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { Ban, Loader2, RotateCcw } from 'lucide-react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Electron/HeterogeneousAgent/StatusGuide/states/RateLimitState.tsx b/src/features/Electron/HeterogeneousAgent/StatusGuide/states/RateLimitState.tsxindex b949a991f8d..ea2f171c272 100644--- a/src/features/Electron/HeterogeneousAgent/StatusGuide/states/RateLimitState.tsx+++ b/src/features/Electron/HeterogeneousAgent/StatusGuide/states/RateLimitState.tsx@@ -1,5 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { CalendarClock, Play, RotateCcw } from 'lucide-react';import { useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Electron/HeterogeneousAgent/StatusGuide/states/WorkingDirectoryState.tsx b/src/features/Electron/HeterogeneousAgent/StatusGuide/states/WorkingDirectoryState.tsxindex fb8b1760be4..2e2c589d1cd 100644--- a/src/features/Electron/HeterogeneousAgent/StatusGuide/states/WorkingDirectoryState.tsx+++ b/src/features/Electron/HeterogeneousAgent/StatusGuide/states/WorkingDirectoryState.tsx@@ -1,4 +1,4 @@-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { FolderX } from 'lucide-react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Electron/connection/DeviceGateway.tsx b/src/features/Electron/connection/DeviceGateway.tsxindex 484f28f7c0c..4d641d6c78c 100644--- a/src/features/Electron/connection/DeviceGateway.tsx+++ b/src/features/Electron/connection/DeviceGateway.tsx@@ -1,6 +1,6 @@import { useWatchBroadcast } from '@lobechat/electron-client-ipc';-import { ActionIcon, Flexbox } from '@lobehub/ui';-import { Popover, Switch } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Popover, Switch } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { HardDrive, SettingsIcon } from 'lucide-react';import { memo, useCallback, useState } from 'react';diff --git a/src/features/Electron/connection/RemoteStatus.tsx b/src/features/Electron/connection/RemoteStatus.tsxindex 17491f1ec6f..72123adfc33 100644--- a/src/features/Electron/connection/RemoteStatus.tsx+++ b/src/features/Electron/connection/RemoteStatus.tsx@@ -1,4 +1,4 @@-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Loader, Wifi, WifiOffIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Electron/titlebar/NavigationBar.tsx b/src/features/Electron/titlebar/NavigationBar.tsxindex a09b563c3b5..859ba028128 100644--- a/src/features/Electron/titlebar/NavigationBar.tsx+++ b/src/features/Electron/titlebar/NavigationBar.tsx@@ -1,7 +1,8 @@'use client';import { useWatchBroadcast } from '@lobechat/electron-client-ipc';-import { ActionIcon, Flexbox, Popover, Tooltip } from '@lobehub/ui';+import { Flexbox, Popover, Tooltip } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ArrowLeft, ArrowRight, Clock } from 'lucide-react';import { memo, useCallback, useEffect, useState } from 'react';diff --git a/src/features/Electron/titlebar/RecentlyViewed/PageItem.tsx b/src/features/Electron/titlebar/RecentlyViewed/PageItem.tsxindex da691e0e380..b0e0c9baf1d 100644--- a/src/features/Electron/titlebar/RecentlyViewed/PageItem.tsx+++ b/src/features/Electron/titlebar/RecentlyViewed/PageItem.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Icon } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { cx } from 'antd-style';import { Pin, PinOff } from 'lucide-react';import React, { memo } from 'react';diff --git a/src/features/Electron/titlebar/TabBar/TabItem.tsx b/src/features/Electron/titlebar/TabBar/TabItem.tsxindex 85e6688bf15..65c7ec96434 100644--- a/src/features/Electron/titlebar/TabBar/TabItem.tsx+++ b/src/features/Electron/titlebar/TabBar/TabItem.tsx@@ -1,7 +1,8 @@'use client';import { useSortable } from '@dnd-kit/sortable';-import { ActionIcon, ContextMenuTrigger, type GenericItemType, Icon, Tooltip } from '@lobehub/ui';+import { ContextMenuTrigger, type GenericItemType, Icon, Tooltip } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { cx } from 'antd-style';import { X } from 'lucide-react';import { useMotionValue, useSpring, useTransform } from 'motion/react';diff --git a/src/features/Electron/titlebar/TabBar/index.tsx b/src/features/Electron/titlebar/TabBar/index.tsxindex 44ded723433..a0289beb125 100644--- a/src/features/Electron/titlebar/TabBar/index.tsx+++ b/src/features/Electron/titlebar/TabBar/index.tsx@@ -12,8 +12,8 @@ import {} from '@dnd-kit/core';import { horizontalListSortingStrategy, SortableContext } from '@dnd-kit/sortable';import { useWatchBroadcast } from '@lobechat/electron-client-ipc';-import { ActionIcon, Flexbox } from '@lobehub/ui';-import { type DropdownItem, DropdownMenu } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, type DropdownItem, DropdownMenu } from '@lobehub/ui/base-ui';import { cx } from 'antd-style';import { ChevronDown, Plus } from 'lucide-react';import { useMotionValue, useSpring } from 'motion/react';diff --git a/src/features/Electron/titlebar/WinControl.tsx b/src/features/Electron/titlebar/WinControl.tsxindex 0432ee109f5..4e26af13fab 100644--- a/src/features/Electron/titlebar/WinControl.tsx+++ b/src/features/Electron/titlebar/WinControl.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { Maximize2Icon, Minimize2Icon, MinusIcon, XIcon } from 'lucide-react';import { memo, useEffect, useMemo, useState } from 'react';diff --git a/src/features/FloatingChatPanel/index.tsx b/src/features/FloatingChatPanel/index.tsxindex 0ee8e1c57e9..aab8bd2c81a 100644--- a/src/features/FloatingChatPanel/index.tsx+++ b/src/features/FloatingChatPanel/index.tsx@@ -1,8 +1,7 @@'use client';import { type UIChatMessage } from '@lobechat/types';-import { ActionIcon } from '@lobehub/ui';-import { FloatingSheet, type FloatingSheetProps } from '@lobehub/ui/base-ui';+import { ActionIcon, FloatingSheet, type FloatingSheetProps } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ChevronDown } from 'lucide-react';import type { ReactNode } from 'react';diff --git a/src/features/GlobalApprovalNotification/ApprovalCard.tsx b/src/features/GlobalApprovalNotification/ApprovalCard.tsxindex dd43678b4a2..62ab24ba6e3 100644--- a/src/features/GlobalApprovalNotification/ApprovalCard.tsx+++ b/src/features/GlobalApprovalNotification/ApprovalCard.tsx@@ -2,7 +2,7 @@import { AGENT_CHAT_TOPIC_URL, GROUP_CHAT_TOPIC_URL, GROUP_CHAT_URL } from '@lobechat/const';import { agentDisplayName, type UIChatMessage } from '@lobechat/types';-import { ActionIcon, Avatar } from '@lobehub/ui';+import { ActionIcon, Avatar } from '@lobehub/ui/base-ui';import { ArrowUpRight } from 'lucide-react';import { memo, useCallback, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/GlobalApprovalNotification/index.tsx b/src/features/GlobalApprovalNotification/index.tsxindex bdb6bcf78bb..3b5f7d59bdb 100644--- a/src/features/GlobalApprovalNotification/index.tsx+++ b/src/features/GlobalApprovalNotification/index.tsx@@ -1,7 +1,7 @@'use client';import { TITLE_BAR_HEIGHT } from '@lobechat/desktop-bridge';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { ChevronUp } from 'lucide-react';import { AnimatePresence, m } from 'motion/react';import { memo, useEffect, useRef, useState } from 'react';diff --git a/src/features/GroupPermission/GroupBreadcrumb.tsx b/src/features/GroupPermission/GroupBreadcrumb.tsxindex e7c949789c4..b80b22c8585 100644--- a/src/features/GroupPermission/GroupBreadcrumb.tsx+++ b/src/features/GroupPermission/GroupBreadcrumb.tsx@@ -1,6 +1,7 @@'use client';-import { Icon, Text } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Breadcrumb as AntBreadcrumb } from 'antd';import { createStaticStyles } from 'antd-style';import { ChevronRight } from 'lucide-react';diff --git a/src/features/HeteroSessionImport/Content.tsx b/src/features/HeteroSessionImport/Content.tsxindex 77c1e84e414..3be45efd16b 100644--- a/src/features/HeteroSessionImport/Content.tsx+++ b/src/features/HeteroSessionImport/Content.tsx@@ -6,8 +6,8 @@ import type {HeteroSessionDirPref,HeteroSessionImportStatus,} from '@lobechat/types';-import { Flexbox, Icon, NeuralNetworkLoading, ScrollShadow, SearchBar, Text } from '@lobehub/ui';-import { Button, Checkbox, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, NeuralNetworkLoading, ScrollShadow, SearchBar } from '@lobehub/ui';+import { Button, Checkbox, Text, useModalContext } from '@lobehub/ui/base-ui';import { Progress } from 'antd';import { createStaticStyles } from 'antd-style';import { Check, FolderSearch, TriangleAlert, X } from 'lucide-react';diff --git a/src/features/HeteroSessionImport/SessionList.tsx b/src/features/HeteroSessionImport/SessionList.tsxindex 3579c08820d..c056301b4d1 100644--- a/src/features/HeteroSessionImport/SessionList.tsx+++ b/src/features/HeteroSessionImport/SessionList.tsx@@ -1,7 +1,7 @@import type { HeteroSessionDigest } from '@lobechat/types';import { ClaudeCode, Codex } from '@lobehub/icons';-import { Flexbox, Icon, NeuralNetworkLoading, Tag, Text, Tooltip } from '@lobehub/ui';-import { Button, Checkbox } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, NeuralNetworkLoading, Tooltip } from '@lobehub/ui';+import { Button, Checkbox, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import dayjs from 'dayjs';import { Check, RotateCcw, X } from 'lucide-react';diff --git a/src/features/HeterogeneousTag/index.tsx b/src/features/HeterogeneousTag/index.tsxindex 001ec82ec1a..b01db9b296d 100644--- a/src/features/HeterogeneousTag/index.tsx+++ b/src/features/HeterogeneousTag/index.tsx@@ -1,5 +1,5 @@import { getHeterogeneousTypeLabel } from '@lobechat/heterogeneous-agents';-import { Tag } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import type { CSSProperties } from 'react';import { memo } from 'react';diff --git a/src/features/Home/AgentSelect/AgentList.tsx b/src/features/Home/AgentSelect/AgentList.tsxindex 484ca345041..9b1ca77acd2 100644--- a/src/features/Home/AgentSelect/AgentList.tsx+++ b/src/features/Home/AgentSelect/AgentList.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { PinIcon } from 'lucide-react';import { memo, type ReactNode } from 'react';diff --git a/src/features/Home/AgentSelect/index.tsx b/src/features/Home/AgentSelect/index.tsxindex 9f027345dd5..d66d074078d 100644--- a/src/features/Home/AgentSelect/index.tsx+++ b/src/features/Home/AgentSelect/index.tsx@@ -1,8 +1,7 @@'use client';import { agentDisplayName } from '@lobechat/types';-import { Text } from '@lobehub/ui';-import { Button, Popover } from '@lobehub/ui/base-ui';+import { Button, Popover, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ChevronsUpDownIcon } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/Home/CustomizeModal/Content.tsx b/src/features/Home/CustomizeModal/Content.tsxindex 14b6b894cde..c6042259994 100644--- a/src/features/Home/CustomizeModal/Content.tsx+++ b/src/features/Home/CustomizeModal/Content.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';-import { Button, Switch, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Button, Switch, Text, useModalContext } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { RotateCcw, XIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Home/CustomizeModal/components/CountStepper.tsx b/src/features/Home/CustomizeModal/components/CountStepper.tsxindex d1765e26152..db00e772909 100644--- a/src/features/Home/CustomizeModal/components/CountStepper.tsx+++ b/src/features/Home/CustomizeModal/components/CountStepper.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { MinusIcon, PlusIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Home/CustomizeModal/components/SettingRow.tsx b/src/features/Home/CustomizeModal/components/SettingRow.tsxindex 2b859620297..c748760e030 100644--- a/src/features/Home/CustomizeModal/components/SettingRow.tsx+++ b/src/features/Home/CustomizeModal/components/SettingRow.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, type ReactNode } from 'react';export interface SettingRowProps {diff --git a/src/features/Home/EmptySuggestions.tsx b/src/features/Home/EmptySuggestions.tsxindex 38002858ab0..f2d7e735cbf 100644--- a/src/features/Home/EmptySuggestions.tsx+++ b/src/features/Home/EmptySuggestions.tsx@@ -1,5 +1,5 @@-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { FileTextIcon, ListTodoIcon, SearchIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Home/HomeHeader.tsx b/src/features/Home/HomeHeader.tsxindex 31fa1f4bc2d..e73e0787790 100644--- a/src/features/Home/HomeHeader.tsx+++ b/src/features/Home/HomeHeader.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Home/HomeModeContent.tsx b/src/features/Home/HomeModeContent.tsxindex ca5b5c81b59..e80f166652c 100644--- a/src/features/Home/HomeModeContent.tsx+++ b/src/features/Home/HomeModeContent.tsx@@ -2,8 +2,8 @@ import { TASK_STATUSES } from '@lobechat/builtin-tool-task';import type { TaskStatus } from '@lobechat/types';import { agentDisplayName } from '@lobechat/types';import type { FlexboxProps } from '@lobehub/ui';-import { Avatar, Flexbox, Icon, Skeleton, Text } from '@lobehub/ui';-import { Segmented } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Skeleton } from '@lobehub/ui';+import { Avatar, Segmented, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { HashIcon } from 'lucide-react';import { memo, type ReactNode, useMemo, useState } from 'react';diff --git a/src/features/Home/InputArea/EditorInput.tsx b/src/features/Home/InputArea/EditorInput.tsxindex 96baa905e2e..2f00d9a0a12 100644--- a/src/features/Home/InputArea/EditorInput.tsx+++ b/src/features/Home/InputArea/EditorInput.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { PlusIcon } from 'lucide-react';import { memo, type ReactNode, useMemo } from 'react';diff --git a/src/features/Home/InputArea/InputFallback.tsx b/src/features/Home/InputArea/InputFallback.tsxindex 413b662e0b3..ce139c4723e 100644--- a/src/features/Home/InputArea/InputFallback.tsx+++ b/src/features/Home/InputArea/InputFallback.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ArrowUpIcon, PlusIcon } from 'lucide-react';import { type ChangeEventHandler, type CompositionEventHandler, memo } from 'react';diff --git a/src/features/Home/NewModelShortcuts/index.tsx b/src/features/Home/NewModelShortcuts/index.tsxindex 9e71df78db6..1cacacc9171 100644--- a/src/features/Home/NewModelShortcuts/index.tsx+++ b/src/features/Home/NewModelShortcuts/index.tsx@@ -1,6 +1,6 @@import { ModelIcon } from '@lobehub/icons';-import { Avatar, Flexbox, Skeleton, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Skeleton } from '@lobehub/ui';+import { Avatar, Button, Text } from '@lobehub/ui/base-ui';import { App } from 'antd';import { createStaticStyles, cx } from 'antd-style';import { useCallback, useState } from 'react';diff --git a/src/features/Home/RailToggle.tsx b/src/features/Home/RailToggle.tsxindex d0ec478db88..429c1258e9f 100644--- a/src/features/Home/RailToggle.tsx+++ b/src/features/Home/RailToggle.tsx@@ -1,4 +1,4 @@-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { PanelRightCloseIcon, PanelRightOpenIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Home/components/GroupBlock/index.tsx b/src/features/Home/components/GroupBlock/index.tsxindex 9d170fede37..2bbd98abc78 100644--- a/src/features/Home/components/GroupBlock/index.tsx+++ b/src/features/Home/components/GroupBlock/index.tsx@@ -1,5 +1,6 @@import { type FlexboxProps, type IconProps } from '@lobehub/ui';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { ChevronDownIcon, ChevronRightIcon } from 'lucide-react';import { type ReactNode } from 'react';diff --git a/src/features/Home/components/RailCard/index.tsx b/src/features/Home/components/RailCard/index.tsxindex 5177bf62e45..33c111c69af 100644--- a/src/features/Home/components/RailCard/index.tsx+++ b/src/features/Home/components/RailCard/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ChevronDownIcon, ChevronRightIcon } from 'lucide-react';import { memo, type ReactNode } from 'react';diff --git a/src/features/Home/components/Time.tsx b/src/features/Home/components/Time.tsxindex daec4788bc0..2ff8cd155dc 100644--- a/src/features/Home/components/Time.tsx+++ b/src/features/Home/components/Time.tsx@@ -1,4 +1,4 @@-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useActivityTime } from '@/hooks/useActivityTime';diff --git a/src/features/HomeInbox/AuthorChip.tsx b/src/features/HomeInbox/AuthorChip.tsxindex b12db97b340..46ec73ef1ee 100644--- a/src/features/HomeInbox/AuthorChip.tsx+++ b/src/features/HomeInbox/AuthorChip.tsx@@ -1,5 +1,6 @@import { DEFAULT_USER_AVATAR_URL } from '@lobechat/const';-import { Avatar, Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { AlarmClockIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/HomeInbox/GoalsRailCard.tsx b/src/features/HomeInbox/GoalsRailCard.tsxindex fffc9a654b7..bae97f044ff 100644--- a/src/features/HomeInbox/GoalsRailCard.tsx+++ b/src/features/HomeInbox/GoalsRailCard.tsx@@ -1,5 +1,5 @@-import { Avatar, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { ChevronRightIcon, FlagIcon } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/HomeInbox/InboxBriefCard.tsx b/src/features/HomeInbox/InboxBriefCard.tsxindex 6b200b8f4ad..994fd942c74 100644--- a/src/features/HomeInbox/InboxBriefCard.tsx+++ b/src/features/HomeInbox/InboxBriefCard.tsx@@ -1,6 +1,7 @@import { DEFAULT_AVATAR, INBOX_SESSION_ID } from '@lobechat/const';import { agentDisplayName } from '@lobechat/types';-import { Avatar, Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/HomeInbox/NeedsYouRailCard.tsx b/src/features/HomeInbox/NeedsYouRailCard.tsxindex 2fa6956932c..5f5a2f9473c 100644--- a/src/features/HomeInbox/NeedsYouRailCard.tsx+++ b/src/features/HomeInbox/NeedsYouRailCard.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ChevronLeftIcon, ChevronRightIcon } from 'lucide-react';import { memo, type ReactNode, useState } from 'react';diff --git a/src/features/HomeInbox/NewsList.tsx b/src/features/HomeInbox/NewsList.tsxindex 53ade76c641..d4ef642dc6b 100644--- a/src/features/HomeInbox/NewsList.tsx+++ b/src/features/HomeInbox/NewsList.tsx@@ -1,6 +1,6 @@import { agentDisplayName } from '@lobechat/types';-import { Avatar, Flexbox, Icon, Markdown, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Markdown } from '@lobehub/ui';+import { Avatar, Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { ChevronDownIcon, ChevronRightIcon } from 'lucide-react';import { memo, useCallback, useState } from 'react';diff --git a/src/features/HomeInbox/RunningElapsedTime.tsx b/src/features/HomeInbox/RunningElapsedTime.tsxindex 91aa39948c0..002e9253255 100644--- a/src/features/HomeInbox/RunningElapsedTime.tsx+++ b/src/features/HomeInbox/RunningElapsedTime.tsx@@ -1,5 +1,5 @@import { formatElapsedClockTime } from '@lobechat/utils';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, useEffect, useState } from 'react';interface RunningElapsedTimeProps {diff --git a/src/features/HomeInbox/RunningTasksCard.tsx b/src/features/HomeInbox/RunningTasksCard.tsxindex d48a4334304..496e4a081d7 100644--- a/src/features/HomeInbox/RunningTasksCard.tsx+++ b/src/features/HomeInbox/RunningTasksCard.tsx@@ -1,6 +1,6 @@import { agentDisplayName } from '@lobechat/types';-import { Avatar, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { ChevronDownIcon, ChevronRightIcon } from 'lucide-react';import { memo, type ReactNode, useState } from 'react';diff --git a/src/features/HomeInbox/TopicRow.tsx b/src/features/HomeInbox/TopicRow.tsxindex d6957293292..a42a98c6e13 100644--- a/src/features/HomeInbox/TopicRow.tsx+++ b/src/features/HomeInbox/TopicRow.tsx@@ -1,6 +1,7 @@import { AGENT_CHAT_TOPIC_URL } from '@lobechat/const';import { agentDisplayName } from '@lobechat/types';-import { Avatar, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo, type ReactNode } from 'react';diff --git a/src/features/HomeInbox/UnreadTopicList.tsx b/src/features/HomeInbox/UnreadTopicList.tsxindex 9fd5127dd1b..3c9e02527b2 100644--- a/src/features/HomeInbox/UnreadTopicList.tsx+++ b/src/features/HomeInbox/UnreadTopicList.tsx@@ -1,8 +1,8 @@import { AGENT_CHAT_TOPIC_URL } from '@lobechat/const';import type { ConversationContext } from '@lobechat/types';import { agentDisplayName } from '@lobechat/types';-import { Avatar, Flexbox, Icon, stopPropagation, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, stopPropagation } from '@lobehub/ui';+import { Avatar, Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { ChevronDownIcon, ChevronRightIcon, MessageSquarePlus } from 'lucide-react';import { lazy, memo, Suspense, useCallback, useState } from 'react';diff --git a/src/features/HomeInbox/index.tsx b/src/features/HomeInbox/index.tsxindex 214e7f024e9..8004eb89ab1 100644--- a/src/features/HomeInbox/index.tsx+++ b/src/features/HomeInbox/index.tsx@@ -1,5 +1,5 @@-import { ActionIcon, Flexbox } from '@lobehub/ui';-import { Segmented } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Segmented } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import dayjs from 'dayjs';import { ChevronLeftIcon, ChevronRightIcon } from 'lucide-react';diff --git a/src/features/HomeSidebar/Body/Agent/List/AgentGroupItem/index.tsx b/src/features/HomeSidebar/Body/Agent/List/AgentGroupItem/index.tsxindex a6c673435ef..2f4489944ca 100644--- a/src/features/HomeSidebar/Body/Agent/List/AgentGroupItem/index.tsx+++ b/src/features/HomeSidebar/Body/Agent/List/AgentGroupItem/index.tsx@@ -1,6 +1,7 @@import { GROUP_CHAT_URL } from '@lobechat/const';import { type SidebarAgentItem } from '@lobechat/types';-import { ActionIcon, Flexbox, Icon, Tag } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Tag } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Loader2, PinIcon } from 'lucide-react';import { type CSSProperties, type DragEvent } from 'react';diff --git a/src/features/HomeSidebar/Body/Agent/List/AgentItem/index.tsx b/src/features/HomeSidebar/Body/Agent/List/AgentItem/index.tsxindex 87fb95066c5..5c5b5303971 100644--- a/src/features/HomeSidebar/Body/Agent/List/AgentItem/index.tsx+++ b/src/features/HomeSidebar/Body/Agent/List/AgentItem/index.tsx@@ -1,6 +1,7 @@import type { SidebarAgentItem } from '@lobechat/types';import { agentDisplayName, agentSecondaryDisplayName } from '@lobechat/types';-import { ActionIcon, Icon } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Loader2, PinIcon } from 'lucide-react';import { type CSSProperties, type DragEvent } from 'react';diff --git a/src/features/HomeSidebar/Body/Agent/List/Group/Actions.tsx b/src/features/HomeSidebar/Body/Agent/List/Group/Actions.tsxindex 8b4171b9c7b..cd1c09338e9 100644--- a/src/features/HomeSidebar/Body/Agent/List/Group/Actions.tsx+++ b/src/features/HomeSidebar/Body/Agent/List/Group/Actions.tsx@@ -1,5 +1,6 @@import { type MenuProps } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MoreHorizontalIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/HomeSidebar/Body/Agent/List/Group/Item.tsx b/src/features/HomeSidebar/Body/Agent/List/Group/Item.tsxindex bcefbb5c51b..a05670e0cd7 100644--- a/src/features/HomeSidebar/Body/Agent/List/Group/Item.tsx+++ b/src/features/HomeSidebar/Body/Agent/List/Group/Item.tsx@@ -1,5 +1,6 @@import { type SidebarGroup } from '@lobechat/types';-import { AccordionItem, ContextMenuTrigger, Flexbox, Icon, Text } from '@lobehub/ui';+import { AccordionItem, ContextMenuTrigger, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { HashIcon, Loader2 } from 'lucide-react';import React, { memo, useCallback, useMemo, useState } from 'react';diff --git a/src/features/HomeSidebar/Body/Agent/List/InboxItem.tsx b/src/features/HomeSidebar/Body/Agent/List/InboxItem.tsxindex 126b60f45fa..af42eef277d 100644--- a/src/features/HomeSidebar/Body/Agent/List/InboxItem.tsx+++ b/src/features/HomeSidebar/Body/Agent/List/InboxItem.tsx@@ -2,7 +2,8 @@import { DEFAULT_INBOX_AVATAR } from '@lobechat/const';import { agentDisplayName } from '@lobechat/types';-import { Avatar, Icon } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Loader2 } from 'lucide-react';import { type CSSProperties } from 'react';diff --git a/src/features/HomeSidebar/Body/Agent/List/Item/Actions.tsx b/src/features/HomeSidebar/Body/Agent/List/Item/Actions.tsxindex 6409785f4ac..6b19c4604cb 100644--- a/src/features/HomeSidebar/Body/Agent/List/Item/Actions.tsx+++ b/src/features/HomeSidebar/Body/Agent/List/Item/Actions.tsx@@ -1,5 +1,6 @@import { type DropdownItem } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MoreHorizontalIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/HomeSidebar/Body/Agent/Modals/ConfigGroupModal/GroupItem.tsx b/src/features/HomeSidebar/Body/Agent/Modals/ConfigGroupModal/GroupItem.tsxindex c36fd1cfc29..91267d1ae75 100644--- a/src/features/HomeSidebar/Body/Agent/Modals/ConfigGroupModal/GroupItem.tsx+++ b/src/features/HomeSidebar/Body/Agent/Modals/ConfigGroupModal/GroupItem.tsx@@ -1,5 +1,5 @@-import { ActionIcon, EditableText, SortableList } from '@lobehub/ui';-import { confirmModal, toast } from '@lobehub/ui/base-ui';+import { EditableText, SortableList } from '@lobehub/ui';+import { ActionIcon, confirmModal, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Eye, EyeOff, PencilLine, Trash } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/HomeSidebar/Body/Agent/index.tsx b/src/features/HomeSidebar/Body/Agent/index.tsxindex feb36c0bb70..a4b2b12b3e8 100644--- a/src/features/HomeSidebar/Body/Agent/index.tsx+++ b/src/features/HomeSidebar/Body/Agent/index.tsx@@ -1,6 +1,7 @@'use client';-import { AccordionItem, ActionIcon, ContextMenuTrigger, Flexbox, Text } from '@lobehub/ui';+import { AccordionItem, ContextMenuTrigger, Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { ArrowRight } from 'lucide-react';import React, { memo, type MouseEvent, Suspense, useCallback, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/HomeSidebar/Body/CustomizeSidebarModal.tsx b/src/features/HomeSidebar/Body/CustomizeSidebarModal.tsxindex e98e8795d20..574492640da 100644--- a/src/features/HomeSidebar/Body/CustomizeSidebarModal.tsx+++ b/src/features/HomeSidebar/Body/CustomizeSidebarModal.tsx@@ -20,8 +20,15 @@ import {verticalListSortingStrategy,} from '@dnd-kit/sortable';import { CSS } from '@dnd-kit/utilities';-import { ActionIcon, Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import {+ ActionIcon,+ Button,+ createModal,+ type ModalInstance,+ Text,+ useModalContext,+} from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { t } from 'i18next';import { ArrowDownToLine, Eye, EyeOff, GripVertical, PinIcon, RotateCcw } from 'lucide-react';diff --git a/src/features/HomeSidebar/Body/Private/index.tsx b/src/features/HomeSidebar/Body/Private/index.tsxindex 2e3d191a453..7cbf02eb52e 100644--- a/src/features/HomeSidebar/Body/Private/index.tsx+++ b/src/features/HomeSidebar/Body/Private/index.tsx@@ -1,6 +1,7 @@'use client';-import { AccordionItem, ActionIcon, ContextMenuTrigger, Flexbox, Text } from '@lobehub/ui';+import { AccordionItem, ContextMenuTrigger, Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { ArrowRight } from 'lucide-react';import React, { memo, type MouseEvent, Suspense, useCallback, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/HomeSidebar/Body/Project/ProjectItem.tsx b/src/features/HomeSidebar/Body/Project/ProjectItem.tsxindex 7009b9f8887..f21c60467aa 100644--- a/src/features/HomeSidebar/Body/Project/ProjectItem.tsx+++ b/src/features/HomeSidebar/Body/Project/ProjectItem.tsx@@ -1,8 +1,8 @@'use client';import type { MenuProps } from '@lobehub/ui';-import { ActionIcon, DropdownMenu, Icon } from '@lobehub/ui';-import { confirmModal, toast } from '@lobehub/ui/base-ui';+import { DropdownMenu, Icon } from '@lobehub/ui';+import { ActionIcon, confirmModal, toast } from '@lobehub/ui/base-ui';import { FolderClosedIcon, MoreHorizontalIcon, PencilIcon, TrashIcon } from 'lucide-react';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/HomeSidebar/Body/Project/index.tsx b/src/features/HomeSidebar/Body/Project/index.tsxindex cf8c28dc08c..21f03999a3c 100644--- a/src/features/HomeSidebar/Body/Project/index.tsx+++ b/src/features/HomeSidebar/Body/Project/index.tsx@@ -1,6 +1,7 @@'use client';-import { AccordionItem, ActionIcon, Flexbox, Text } from '@lobehub/ui';+import { AccordionItem, Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { ArrowRightIcon, PlusIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/HomeSidebar/Footer/index.tsx b/src/features/HomeSidebar/Footer/index.tsxindex ac6a780ac81..2e9b2657be8 100644--- a/src/features/HomeSidebar/Footer/index.tsx+++ b/src/features/HomeSidebar/Footer/index.tsx@@ -3,7 +3,8 @@import { SOCIAL_URL } from '@lobechat/business-const';import { useAnalytics } from '@lobehub/analytics/react';import { type MenuProps } from '@lobehub/ui';-import { ActionIcon, DropdownMenu, Flexbox, Icon } from '@lobehub/ui';+import { DropdownMenu, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { DiscordIcon, GithubIcon } from '@lobehub/ui/icons';import {Book,diff --git a/src/features/HomeSidebar/Header/components/InboxButton.tsx b/src/features/HomeSidebar/Header/components/InboxButton.tsxindex 55d72ef89e1..debebed25a3 100644--- a/src/features/HomeSidebar/Header/components/InboxButton.tsx+++ b/src/features/HomeSidebar/Header/components/InboxButton.tsx@@ -1,6 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Badge } from 'antd';import { BellIcon } from 'lucide-react';import { memo, useCallback } from 'react';diff --git a/src/features/HomeSidebar/Header/components/InboxModal/Content.tsx b/src/features/HomeSidebar/Header/components/InboxModal/Content.tsxindex ec8a1671dc5..36bb6f2a957 100644--- a/src/features/HomeSidebar/Header/components/InboxModal/Content.tsx+++ b/src/features/HomeSidebar/Header/components/InboxModal/Content.tsx@@ -1,7 +1,8 @@'use client';import type { NotificationMetadata } from '@lobechat/types';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { BellOffIcon } from 'lucide-react';import { memo, useCallback, useEffect, useRef } from 'react';diff --git a/src/features/HomeSidebar/Header/components/InboxModal/NotificationDetailModal.tsx b/src/features/HomeSidebar/Header/components/InboxModal/NotificationDetailModal.tsxindex 625126e81f3..f628591abbb 100644--- a/src/features/HomeSidebar/Header/components/InboxModal/NotificationDetailModal.tsx+++ b/src/features/HomeSidebar/Header/components/InboxModal/NotificationDetailModal.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Markdown, Text } from '@lobehub/ui';-import { Button, createModal, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Markdown } from '@lobehub/ui';+import { Button, createModal, Text, useModalContext } from '@lobehub/ui/base-ui';import dayjs from 'dayjs';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/HomeSidebar/Header/components/InboxModal/NotificationItem.tsx b/src/features/HomeSidebar/Header/components/InboxModal/NotificationItem.tsxindex 23265271bc6..4a558bcffbb 100644--- a/src/features/HomeSidebar/Header/components/InboxModal/NotificationItem.tsx+++ b/src/features/HomeSidebar/Header/components/InboxModal/NotificationItem.tsx@@ -2,8 +2,8 @@import { DEFAULT_USER_AVATAR_URL } from '@lobechat/const';import type { NotificationMetadata } from '@lobechat/types';-import { Avatar, Block, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, ContextMenuTrigger, useModalContext } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Button, ContextMenuTrigger, Text, useModalContext } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ArchiveIcon, BellIcon, ImageIcon, MegaphoneIcon, VideoIcon } from 'lucide-react';import type { MouseEvent } from 'react';diff --git a/src/features/HomeSidebar/Header/components/InboxModal/index.tsx b/src/features/HomeSidebar/Header/components/InboxModal/index.tsxindex b3338c78d27..223615be49d 100644--- a/src/features/HomeSidebar/Header/components/InboxModal/index.tsx+++ b/src/features/HomeSidebar/Header/components/InboxModal/index.tsx@@ -1,7 +1,8 @@'use client';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';import {+ ActionIcon,Button,createModal,DropdownMenu,@@ -9,6 +10,7 @@ import {ModalHeader,ModalTitle,Tabs,+ Text,toast,} from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';diff --git a/src/features/HomeSidebar/Header/components/Nav.tsx b/src/features/HomeSidebar/Header/components/Nav.tsxindex 2c021ebdc3a..a84f3b297d3 100644--- a/src/features/HomeSidebar/Header/components/Nav.tsx+++ b/src/features/HomeSidebar/Header/components/Nav.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/HomeSidebar/Header/components/User.tsx b/src/features/HomeSidebar/Header/components/User.tsxindex 20083f187e4..1081f41f4d0 100644--- a/src/features/HomeSidebar/Header/components/User.tsx+++ b/src/features/HomeSidebar/Header/components/User.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ChevronDownIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/HomeSidebar/hooks/useCreateMenuItems.tsx b/src/features/HomeSidebar/hooks/useCreateMenuItems.tsxindex 3afb1491532..f758d2f8e5e 100644--- a/src/features/HomeSidebar/hooks/useCreateMenuItems.tsx+++ b/src/features/HomeSidebar/hooks/useCreateMenuItems.tsx@@ -1,6 +1,6 @@import type { SFSymbol } from '@lobechat/electron-client-ipc';-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text, toast } from '@lobehub/ui/base-ui';import { GroupBotSquareIcon } from '@lobehub/ui/icons';import type { ItemType } from 'antd/es/menu/interface';import {diff --git a/src/features/HomeSidebar/hooks/useCreateModal.tsx b/src/features/HomeSidebar/hooks/useCreateModal.tsxindex e3ddd237d20..57f916e9575 100644--- a/src/features/HomeSidebar/hooks/useCreateModal.tsx+++ b/src/features/HomeSidebar/hooks/useCreateModal.tsx@@ -1,5 +1,5 @@-import { ActionIcon, Block, Flexbox, Text } from '@lobehub/ui';-import { Button, createModal, type ModalInstance } from '@lobehub/ui/base-ui';+import { Block, Flexbox } from '@lobehub/ui';+import { ActionIcon, Button, createModal, type ModalInstance, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Blocks, CheckCircle2, Lightbulb, PencilLineIcon, RefreshCw, X } from 'lucide-react';import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';diff --git a/src/features/LibraryModal/AssignKnowledgeBase/Item/Action.tsx b/src/features/LibraryModal/AssignKnowledgeBase/Item/Action.tsxindex 683bcddf28f..75e5f03fcd1 100644--- a/src/features/LibraryModal/AssignKnowledgeBase/Item/Action.tsx+++ b/src/features/LibraryModal/AssignKnowledgeBase/Item/Action.tsx@@ -1,5 +1,5 @@-import { ActionIcon, DropdownMenu, Flexbox, Icon } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Button } from '@lobehub/ui/base-ui';import { InfoIcon, MoreVerticalIcon, Trash2 } from 'lucide-react';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/LibraryModal/AssignKnowledgeBase/Item/MasonryItem.tsx b/src/features/LibraryModal/AssignKnowledgeBase/Item/MasonryItem.tsxindex f5ca25b4bef..f82c92ed261 100644--- a/src/features/LibraryModal/AssignKnowledgeBase/Item/MasonryItem.tsx+++ b/src/features/LibraryModal/AssignKnowledgeBase/Item/MasonryItem.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { LockIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/LibraryModal/AssignKnowledgeBase/Item/index.tsx b/src/features/LibraryModal/AssignKnowledgeBase/Item/index.tsxindex f2d3ccaf3c4..0f8db9db0eb 100644--- a/src/features/LibraryModal/AssignKnowledgeBase/Item/index.tsx+++ b/src/features/LibraryModal/AssignKnowledgeBase/Item/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { LockIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/LibraryModal/AssignKnowledgeBase/ViewSwitcher.tsx b/src/features/LibraryModal/AssignKnowledgeBase/ViewSwitcher.tsxindex 3405e4e19a7..887c2b7728b 100644--- a/src/features/LibraryModal/AssignKnowledgeBase/ViewSwitcher.tsx+++ b/src/features/LibraryModal/AssignKnowledgeBase/ViewSwitcher.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Grid3x3Icon, ListIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/MCP/MCPInstallProgress/InstallError/ErrorDetails.tsx b/src/features/MCP/MCPInstallProgress/InstallError/ErrorDetails.tsxindex f86425e1f83..b7b4c50ac3f 100644--- a/src/features/MCP/MCPInstallProgress/InstallError/ErrorDetails.tsx+++ b/src/features/MCP/MCPInstallProgress/InstallError/ErrorDetails.tsx@@ -1,4 +1,5 @@-import { Flexbox, Highlighter, Tag } from '@lobehub/ui';+import { Flexbox, Highlighter } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import * as m from 'motion/react-m';import { memo } from 'react';diff --git a/src/features/MCP/MCPInstallProgress/MCPDependenciesGuide.tsx b/src/features/MCP/MCPInstallProgress/MCPDependenciesGuide.tsxindex a92c331e44a..f854fb1f25a 100644--- a/src/features/MCP/MCPInstallProgress/MCPDependenciesGuide.tsx+++ b/src/features/MCP/MCPInstallProgress/MCPDependenciesGuide.tsx@@ -1,5 +1,5 @@-import { Flexbox, Markdown, Snippet, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Markdown, Snippet } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { Card, Space } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { AlertTriangle, CheckCircle, ExternalLink, Terminal } from 'lucide-react';diff --git a/src/features/MCP/MCPInstallProgress/index.tsx b/src/features/MCP/MCPInstallProgress/index.tsxindex 65c08221679..6eff27d5258 100644--- a/src/features/MCP/MCPInstallProgress/index.tsx+++ b/src/features/MCP/MCPInstallProgress/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Progress } from 'antd';import { cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';diff --git a/src/features/MCP/MCPSettings/index.tsx b/src/features/MCP/MCPSettings/index.tsxindex 6dfa071a45e..b76056d0a06 100644--- a/src/features/MCP/MCPSettings/index.tsx+++ b/src/features/MCP/MCPSettings/index.tsx@@ -1,5 +1,5 @@-import { Flexbox, Icon, Input, Text } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Input } from '@lobehub/ui';+import { Button, Text, toast } from '@lobehub/ui/base-ui';import { Form as AForm } from 'antd';import { createStaticStyles } from 'antd-style';import { EditIcon, LinkIcon, Settings2Icon, TerminalIcon } from 'lucide-react';diff --git a/src/features/MCPPluginDetail/Agents.tsx b/src/features/MCPPluginDetail/Agents.tsxindex 6b0acecb953..b2b571c3ec4 100644--- a/src/features/MCPPluginDetail/Agents.tsx+++ b/src/features/MCPPluginDetail/Agents.tsx@@ -1,6 +1,7 @@'use client';-import { Center, Grid, Icon, Skeleton, Text } from '@lobehub/ui';+import { Center, Grid, Icon, Skeleton } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { InboxIcon, ServerCrash } from 'lucide-react';import { memo, useCallback, useEffect, useRef, useState } from 'react';diff --git a/src/features/MCPPluginDetail/CollapseDesc.tsx b/src/features/MCPPluginDetail/CollapseDesc.tsxindex cf4bba1f3d1..75a7cbc9323 100644--- a/src/features/MCPPluginDetail/CollapseDesc.tsx+++ b/src/features/MCPPluginDetail/CollapseDesc.tsx@@ -1,4 +1,4 @@-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { type PropsWithChildren } from 'react';import { memo } from 'react';diff --git a/src/features/MCPPluginDetail/Nav.tsx b/src/features/MCPPluginDetail/Nav.tsxindex bd70c3361d2..0a39b21d60c 100644--- a/src/features/MCPPluginDetail/Nav.tsx+++ b/src/features/MCPPluginDetail/Nav.tsx@@ -1,8 +1,8 @@'use client';import { SOCIAL_URL } from '@lobechat/business-const';-import { Flexbox, Icon, Tag } from '@lobehub/ui';-import { Tabs, type TabsItem } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Tabs, type TabsItem, Tag } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import {BookOpenIcon,diff --git a/src/features/MCPPluginDetail/Overview/TagList.tsx b/src/features/MCPPluginDetail/Overview/TagList.tsxindex 849fb93d7aa..5a9afaf9488 100644--- a/src/features/MCPPluginDetail/Overview/TagList.tsx+++ b/src/features/MCPPluginDetail/Overview/TagList.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import qs from 'query-string';import { memo } from 'react';diff --git a/src/features/MCPPluginDetail/Schema/Block.tsx b/src/features/MCPPluginDetail/Schema/Block.tsxindex 6050d3926d4..66d2ba2f937 100644--- a/src/features/MCPPluginDetail/Schema/Block.tsx+++ b/src/features/MCPPluginDetail/Schema/Block.tsx@@ -1,5 +1,5 @@-import { Flexbox, Tag } from '@lobehub/ui';-import { Tabs } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Tabs, Tag } from '@lobehub/ui/base-ui';import { type ReactNode } from 'react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/MCPPluginDetail/Schema/Resources.tsx b/src/features/MCPPluginDetail/Schema/Resources.tsxindex 815d7fc177a..0aff1ca0225 100644--- a/src/features/MCPPluginDetail/Schema/Resources.tsx+++ b/src/features/MCPPluginDetail/Schema/Resources.tsx@@ -1,4 +1,5 @@-import { Block, Empty, Highlighter, Tag } from '@lobehub/ui';+import { Block, Empty, Highlighter } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Database } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/MCPPluginDetail/Schema/Tools.tsx b/src/features/MCPPluginDetail/Schema/Tools.tsxindex 0d0bb245a4b..eb7b45d8246 100644--- a/src/features/MCPPluginDetail/Schema/Tools.tsx+++ b/src/features/MCPPluginDetail/Schema/Tools.tsx@@ -1,4 +1,5 @@-import { Block, Collapse, Empty, Highlighter, Icon, Markdown, Tag } from '@lobehub/ui';+import { Block, Collapse, Empty, Highlighter, Icon, Markdown } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { CheckIcon, MinusIcon, Wrench } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/MCPPluginDetail/Score/GithubBadge/index.tsx b/src/features/MCPPluginDetail/Score/GithubBadge/index.tsxindex c40393e287a..83279e148eb 100644--- a/src/features/MCPPluginDetail/Score/GithubBadge/index.tsx+++ b/src/features/MCPPluginDetail/Score/GithubBadge/index.tsx@@ -1,5 +1,5 @@-import { Markdown, Snippet, Tag } from '@lobehub/ui';-import { Select } from '@lobehub/ui/base-ui';+import { Markdown, Snippet } from '@lobehub/ui';+import { Select, Tag } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { cssVar } from 'antd-style';import { memo, useState } from 'react';diff --git a/src/features/Messenger/AgentSelect.tsx b/src/features/Messenger/AgentSelect.tsxindex 7232c9a7bc1..586205d7592 100644--- a/src/features/Messenger/AgentSelect.tsx+++ b/src/features/Messenger/AgentSelect.tsx@@ -1,8 +1,8 @@'use client';import { agentDisplayName } from '@lobechat/types';-import { Avatar, Flexbox, Text } from '@lobehub/ui';-import { Select, type SelectProps } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, Select, type SelectProps, Text } from '@lobehub/ui/base-ui';import { memo, useEffect, useMemo, useRef } from 'react';import { useTranslation } from 'react-i18next';import useSWR from 'swr';diff --git a/src/features/Messenger/IntegrationDetail/CommandsSection.tsx b/src/features/Messenger/IntegrationDetail/CommandsSection.tsxindex 9cc21097914..b85c9e05a39 100644--- a/src/features/Messenger/IntegrationDetail/CommandsSection.tsx+++ b/src/features/Messenger/IntegrationDetail/CommandsSection.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import type { LucideIcon } from 'lucide-react';import {diff --git a/src/features/Messenger/IntegrationDetail/Discord.tsx b/src/features/Messenger/IntegrationDetail/Discord.tsxindex 873d11f1956..694c8e31e11 100644--- a/src/features/Messenger/IntegrationDetail/Discord.tsx+++ b/src/features/Messenger/IntegrationDetail/Discord.tsx@@ -1,7 +1,7 @@'use client';-import { Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { LinkIcon, ServerIcon, Trash2Icon, UserIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Messenger/IntegrationDetail/MessengerPush.tsx b/src/features/Messenger/IntegrationDetail/MessengerPush.tsxindex 88e6aeb9afc..ba6ac3fcf49 100644--- a/src/features/Messenger/IntegrationDetail/MessengerPush.tsx+++ b/src/features/Messenger/IntegrationDetail/MessengerPush.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Flexbox, Icon, Input, Text } from '@lobehub/ui';-import { Alert, Button, Select, toast } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon, Input } from '@lobehub/ui';+import { Alert, Button, Select, Text, toast } from '@lobehub/ui/base-ui';import { SendIcon } from 'lucide-react';import { memo, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Messenger/IntegrationDetail/MessengerPushWindowState.tsx b/src/features/Messenger/IntegrationDetail/MessengerPushWindowState.tsxindex 60521302a06..63ae4c50a49 100644--- a/src/features/Messenger/IntegrationDetail/MessengerPushWindowState.tsx+++ b/src/features/Messenger/IntegrationDetail/MessengerPushWindowState.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Icon, Skeleton, Tag, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Skeleton } from '@lobehub/ui';+import { Button, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { CheckCircle2Icon, ClockIcon, MoonIcon, RefreshCwIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Messenger/IntegrationDetail/Wechat.tsx b/src/features/Messenger/IntegrationDetail/Wechat.tsxindex 28dff82a4ad..aaab252d7f2 100644--- a/src/features/Messenger/IntegrationDetail/Wechat.tsx+++ b/src/features/Messenger/IntegrationDetail/Wechat.tsx@@ -1,8 +1,8 @@'use client';import { InfoCircleOutlined } from '@ant-design/icons';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';-import { Alert, Button, toast } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Alert, Button, Text, toast } from '@lobehub/ui/base-ui';import { QRCode } from 'antd';import { createStaticStyles } from 'antd-style';import { ExternalLinkIcon, QrCodeIcon, RefreshCwIcon, XIcon } from 'lucide-react';diff --git a/src/features/Messenger/IntegrationDetail/shared.tsx b/src/features/Messenger/IntegrationDetail/shared.tsxindex d1de46e5336..317e8a7c7de 100644--- a/src/features/Messenger/IntegrationDetail/shared.tsx+++ b/src/features/Messenger/IntegrationDetail/shared.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Flexbox, Icon, Skeleton, Tag, Text } from '@lobehub/ui';-import { Button, confirmModal, Select, toast } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon, Skeleton } from '@lobehub/ui';+import { Button, confirmModal, Select, Tag, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ArrowLeftIcon, CheckCircle2Icon, Trash2Icon, UserIcon } from 'lucide-react';import type { ReactNode } from 'react';diff --git a/src/features/Messenger/IntegrationList.tsx b/src/features/Messenger/IntegrationList.tsxindex ac6210598b8..720ac730046 100644--- a/src/features/Messenger/IntegrationList.tsx+++ b/src/features/Messenger/IntegrationList.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Flexbox, Icon, Tag, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ChevronRightIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Messenger/LinkModal/Discord.tsx b/src/features/Messenger/LinkModal/Discord.tsxindex 0bcb19d0830..94ec4def805 100644--- a/src/features/Messenger/LinkModal/Discord.tsx+++ b/src/features/Messenger/LinkModal/Discord.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { LinkIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Messenger/LinkModal/Slack.tsx b/src/features/Messenger/LinkModal/Slack.tsxindex 561859726b0..a494bea2be9 100644--- a/src/features/Messenger/LinkModal/Slack.tsx+++ b/src/features/Messenger/LinkModal/Slack.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Messenger/LinkModal/Telegram.tsx b/src/features/Messenger/LinkModal/Telegram.tsxindex 862f68f1021..cd4a5fdf30f 100644--- a/src/features/Messenger/LinkModal/Telegram.tsx+++ b/src/features/Messenger/LinkModal/Telegram.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { QRCode } from 'antd';import { createStaticStyles } from 'antd-style';import { LinkIcon } from 'lucide-react';diff --git a/src/features/Messenger/PushResourceModal/PushResourceContent.tsx b/src/features/Messenger/PushResourceModal/PushResourceContent.tsxindex dce8b8fea7e..bd27ba25600 100644--- a/src/features/Messenger/PushResourceModal/PushResourceContent.tsx+++ b/src/features/Messenger/PushResourceModal/PushResourceContent.tsx@@ -2,13 +2,14 @@import type { MessengerOversizeImageStrategy } from '@lobechat/const';import { DEFAULT_OVERSIZE_IMAGE_STRATEGY } from '@lobechat/const';-import { Block, Flexbox, Input, Text } from '@lobehub/ui';+import { Block, Flexbox, Input } from '@lobehub/ui';import {Alert,Button,ModalFooter,Segmented,Select,+ Text,toast,useModalContext,} from '@lobehub/ui/base-ui';diff --git a/src/features/Messenger/Verify/Body/shared.tsx b/src/features/Messenger/Verify/Body/shared.tsxindex 28e69022365..7977c3ef02f 100644--- a/src/features/Messenger/Verify/Body/shared.tsx+++ b/src/features/Messenger/Verify/Body/shared.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, Select, toast } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Button, Select, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { AlertTriangleIcon, CheckCircle2Icon, LinkIcon } from 'lucide-react';import { memo, useEffect, useMemo, useState } from 'react';diff --git a/src/features/Messenger/index.tsx b/src/features/Messenger/index.tsxindex 8413036bb06..366b427287f 100644--- a/src/features/Messenger/index.tsx+++ b/src/features/Messenger/index.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Skeleton, Text } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { Flexbox, Skeleton } from '@lobehub/ui';+import { Button, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Messenger/scopeOptions.tsx b/src/features/Messenger/scopeOptions.tsxindex 08a69d1834e..6d3214f98b5 100644--- a/src/features/Messenger/scopeOptions.tsx+++ b/src/features/Messenger/scopeOptions.tsx@@ -1,4 +1,5 @@-import { Avatar, Flexbox, Tag, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';export const PERSONAL_SCOPE = 'personal';diff --git a/src/features/MobileHome/Layout/SessionHeader.tsx b/src/features/MobileHome/Layout/SessionHeader.tsxindex 661a421632d..c6201a8ac84 100644--- a/src/features/MobileHome/Layout/SessionHeader.tsx+++ b/src/features/MobileHome/Layout/SessionHeader.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { ChatHeader } from '@lobehub/ui/mobile';import { MessageSquarePlus } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/MobileHome/SessionListContent/CollapseGroup/Actions.tsx b/src/features/MobileHome/SessionListContent/CollapseGroup/Actions.tsxindex c3066c3ccb0..706ba9f56c7 100644--- a/src/features/MobileHome/SessionListContent/CollapseGroup/Actions.tsx+++ b/src/features/MobileHome/SessionListContent/CollapseGroup/Actions.tsx@@ -1,6 +1,6 @@import { type DropdownMenuProps, type MenuProps } from '@lobehub/ui';-import { ActionIcon, DropdownMenu, Icon } from '@lobehub/ui';-import { confirmModal, toast } from '@lobehub/ui/base-ui';+import { DropdownMenu, Icon } from '@lobehub/ui';+import { ActionIcon, confirmModal, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { MoreVertical, PencilLine, Plus, Settings2, Trash, UsersRound } from 'lucide-react';import { memo, useMemo, useState } from 'react';diff --git a/src/features/MobileHome/SessionListContent/List/Item/Actions.tsx b/src/features/MobileHome/SessionListContent/List/Item/Actions.tsxindex aadc6771a87..3731d4077c3 100644--- a/src/features/MobileHome/SessionListContent/List/Item/Actions.tsx+++ b/src/features/MobileHome/SessionListContent/List/Item/Actions.tsx@@ -1,5 +1,5 @@-import { ActionIcon, DropdownMenu, Icon } from '@lobehub/ui';-import { confirmModal, toast } from '@lobehub/ui/base-ui';+import { DropdownMenu, Icon } from '@lobehub/ui';+import { ActionIcon, confirmModal, toast } from '@lobehub/ui/base-ui';import { type ItemType } from 'antd/es/menu/interface';import isEqual from 'fast-deep-equal';import {diff --git a/src/features/MobileHome/SessionListContent/ListItem/index.tsx b/src/features/MobileHome/SessionListContent/ListItem/index.tsxindex 08086732782..517a2900979 100644--- a/src/features/MobileHome/SessionListContent/ListItem/index.tsx+++ b/src/features/MobileHome/SessionListContent/ListItem/index.tsx@@ -1,5 +1,6 @@import { type ListItemProps } from '@lobehub/ui';-import { Avatar, List } from '@lobehub/ui';+import { List } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { useHover } from 'ahooks';import { createStaticStyles, cx } from 'antd-style';import { memo, useMemo, useRef } from 'react';diff --git a/src/features/MobileHome/SessionListContent/Modals/ConfigGroupModal/GroupItem.tsx b/src/features/MobileHome/SessionListContent/Modals/ConfigGroupModal/GroupItem.tsxindex 4eb4f79a347..8b20bad284b 100644--- a/src/features/MobileHome/SessionListContent/Modals/ConfigGroupModal/GroupItem.tsx+++ b/src/features/MobileHome/SessionListContent/Modals/ConfigGroupModal/GroupItem.tsx@@ -1,5 +1,5 @@-import { ActionIcon, EditableText, SortableList } from '@lobehub/ui';-import { confirmModal, toast } from '@lobehub/ui/base-ui';+import { EditableText, SortableList } from '@lobehub/ui';+import { ActionIcon, confirmModal, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { PencilLine, Trash } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/ModelSelect/index.tsx b/src/features/ModelSelect/index.tsxindex f257b2cb1f2..21da33d5502 100644--- a/src/features/ModelSelect/index.tsx+++ b/src/features/ModelSelect/index.tsx@@ -1,7 +1,6 @@import { ModelIcon } from '@lobehub/icons';-import { Flexbox, Tag, Text, Tooltip, TooltipGroup } from '@lobehub/ui';-import { Button, Select, type SelectProps, Switch } from '@lobehub/ui/base-ui';-import { toast } from '@lobehub/ui/base-ui';+import { Flexbox, Tooltip, TooltipGroup } from '@lobehub/ui';+import { Button, Select, type SelectProps, Switch, Tag, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { type ReactNode } from 'react';import { memo, useCallback, useMemo, useState } from 'react';diff --git a/src/features/ModelSwitchPanel/components/ModelDetailPanel.tsx b/src/features/ModelSwitchPanel/components/ModelDetailPanel.tsxindex 9efb5eb4f21..9a3467c6f0b 100644--- a/src/features/ModelSwitchPanel/components/ModelDetailPanel.tsx+++ b/src/features/ModelSwitchPanel/components/ModelDetailPanel.tsx@@ -1,4 +1,5 @@-import { Accordion, AccordionItem, Flexbox, Icon, Tag, Text, Tooltip } from '@lobehub/ui';+import { Accordion, AccordionItem, Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ArrowDownToDot, ArrowUpFromDot, CircleFadingArrowUp } from 'lucide-react';import type { FC } from 'react';diff --git a/src/features/NavPanel/SideBarDrawer.tsx b/src/features/NavPanel/SideBarDrawer.tsxindex 0a5e7aa4672..b3ea219bb6f 100644--- a/src/features/NavPanel/SideBarDrawer.tsx+++ b/src/features/NavPanel/SideBarDrawer.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';-import { DrawerPopup, DrawerPortal, DrawerRoot } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, DrawerPopup, DrawerPortal, DrawerRoot, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { XIcon } from 'lucide-react';import type { ReactNode } from 'react';diff --git a/src/features/NavPanel/SideBarHeaderLayout.tsx b/src/features/NavPanel/SideBarHeaderLayout.tsxindex 15a120be067..ecd9c5766a0 100644--- a/src/features/NavPanel/SideBarHeaderLayout.tsx+++ b/src/features/NavPanel/SideBarHeaderLayout.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import type { BreadcrumbProps } from 'antd';import { Breadcrumb } from 'antd';import { createStaticStyles } from 'antd-style';diff --git a/src/features/NavPanel/SidebarHeaderSelect.tsx b/src/features/NavPanel/SidebarHeaderSelect.tsxindex 5206aa5096b..095895e8082 100644--- a/src/features/NavPanel/SidebarHeaderSelect.tsx+++ b/src/features/NavPanel/SidebarHeaderSelect.tsx@@ -1,7 +1,8 @@'use client';import type { BlockProps } from '@lobehub/ui';-import { ActionIcon, Block, Popover, Text } from '@lobehub/ui';+import { Block, Popover } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ChevronsUpDownIcon } from 'lucide-react';import type { ReactNode } from 'react';diff --git a/src/features/NavPanel/ToggleLeftPanelButton.tsx b/src/features/NavPanel/ToggleLeftPanelButton.tsxindex a4fe1e99091..0091c9d0d9d 100644--- a/src/features/NavPanel/ToggleLeftPanelButton.tsx+++ b/src/features/NavPanel/ToggleLeftPanelButton.tsx@@ -1,8 +1,7 @@'use client';import { HotkeyEnum } from '@lobechat/const/hotkeys';-import { type ActionIconProps } from '@lobehub/ui';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon, type ActionIconProps } from '@lobehub/ui/base-ui';import { PanelLeftClose, PanelLeftOpen } from 'lucide-react';import { type ReactNode } from 'react';import { memo } from 'react';diff --git a/src/features/NavPanel/components/BackButton.tsx b/src/features/NavPanel/components/BackButton.tsxindex bb538fc1355..b5439f9f67b 100644--- a/src/features/NavPanel/components/BackButton.tsx+++ b/src/features/NavPanel/components/BackButton.tsx@@ -1,5 +1,4 @@-import { type ActionIconProps } from '@lobehub/ui';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon, type ActionIconProps } from '@lobehub/ui/base-ui';import { ChevronLeftIcon } from 'lucide-react';import { memo, type MouseEvent } from 'react';diff --git a/src/features/NavPanel/components/EmptyNavItem.tsx b/src/features/NavPanel/components/EmptyNavItem.tsxindex e34ef0cc865..6fd2e20e94a 100644--- a/src/features/NavPanel/components/EmptyNavItem.tsx+++ b/src/features/NavPanel/components/EmptyNavItem.tsx@@ -1,4 +1,5 @@-import { Block, Center, Icon, Text } from '@lobehub/ui';+import { Block, Center, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { PlusIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/NavPanel/components/NavItem.tsx b/src/features/NavPanel/components/NavItem.tsxindex 4d0014786eb..d88fa8ee2c1 100644--- a/src/features/NavPanel/components/NavItem.tsx+++ b/src/features/NavPanel/components/NavItem.tsx@@ -1,7 +1,8 @@'use client';import { type BlockProps, type GenericItemType, type IconProps } from '@lobehub/ui';-import { Block, Center, ContextMenuTrigger, Flexbox, Icon, Text } from '@lobehub/ui';+import { Block, Center, ContextMenuTrigger, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { type FocusEvent, type PointerEvent, type ReactNode } from 'react';import { memo } from 'react';diff --git a/src/features/NavPanel/switcher/SwitcherMenu.tsx b/src/features/NavPanel/switcher/SwitcherMenu.tsxindex e8cb3a3a4db..01406b6be66 100644--- a/src/features/NavPanel/switcher/SwitcherMenu.tsx+++ b/src/features/NavPanel/switcher/SwitcherMenu.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Input, Text, usePopoverContext } from '@lobehub/ui';+import { Flexbox, Icon, Input, usePopoverContext } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { SearchIcon } from 'lucide-react';import { memo, useEffect, useMemo, useState } from 'react';diff --git a/src/features/NavPanel/switcher/SwitcherRow.tsx b/src/features/NavPanel/switcher/SwitcherRow.tsxindex af9d6ce740f..e21705b24c7 100644--- a/src/features/NavPanel/switcher/SwitcherRow.tsx+++ b/src/features/NavPanel/switcher/SwitcherRow.tsx@@ -1,4 +1,5 @@-import { Avatar, Block, Icon, Text } from '@lobehub/ui';+import { Block, Icon } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { CheckIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Onboarding/components/ComposioServerList/components/ComposioServerItem.tsx b/src/features/Onboarding/components/ComposioServerList/components/ComposioServerItem.tsxindex 2390aeb73eb..d6ace433577 100644--- a/src/features/Onboarding/components/ComposioServerList/components/ComposioServerItem.tsx+++ b/src/features/Onboarding/components/ComposioServerList/components/ComposioServerItem.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { memo } from 'react';diff --git a/src/features/Onboarding/components/ComposioServerList/components/ServerIcon.tsx b/src/features/Onboarding/components/ComposioServerList/components/ServerIcon.tsxindex 42311efbbda..21597851c2e 100644--- a/src/features/Onboarding/components/ComposioServerList/components/ServerIcon.tsx+++ b/src/features/Onboarding/components/ComposioServerList/components/ServerIcon.tsx@@ -1,4 +1,5 @@-import { Avatar, Icon } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { type LucideIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Onboarding/components/LobeMessage.tsx b/src/features/Onboarding/components/LobeMessage.tsxindex 00b10349db9..09895eb3901 100644--- a/src/features/Onboarding/components/LobeMessage.tsx+++ b/src/features/Onboarding/components/LobeMessage.tsx@@ -1,7 +1,8 @@-import { Avatar, type FlexboxProps } from '@lobehub/ui';-import { Flexbox, Text } from '@lobehub/ui';+import { type FlexboxProps } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';import { type TypewriterEffectProps } from '@lobehub/ui/awesome';import { TypewriterEffect } from '@lobehub/ui/awesome';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { LoadingDots } from '@lobehub/ui/chat';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Onboarding/steps/AgentPickerStep/AgentCard.tsx b/src/features/Onboarding/steps/AgentPickerStep/AgentCard.tsxindex 4b03c4abbb0..f2643b5cb2c 100644--- a/src/features/Onboarding/steps/AgentPickerStep/AgentCard.tsx+++ b/src/features/Onboarding/steps/AgentPickerStep/AgentCard.tsx@@ -1,5 +1,6 @@import type { AgentTemplate } from '@lobechat/builtin-tool-web-onboarding/agentMarketplace';-import { Avatar, Icon } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { cx } from 'antd-style';import { CheckIcon } from 'lucide-react';import type { KeyboardEvent } from 'react';diff --git a/src/features/Onboarding/steps/AgentPickerStep/index.tsx b/src/features/Onboarding/steps/AgentPickerStep/index.tsxindex cbb96b40a07..d33d823bcd1 100644--- a/src/features/Onboarding/steps/AgentPickerStep/index.tsx+++ b/src/features/Onboarding/steps/AgentPickerStep/index.tsx@@ -5,8 +5,8 @@ import type {MarketplaceCategory,} from '@lobechat/builtin-tool-web-onboarding/agentMarketplace';import { getTemplatesByCategoryPriority } from '@lobechat/builtin-tool-web-onboarding/agentMarketplace';-import { Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Undo2Icon } from 'lucide-react';import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';diff --git a/src/features/Onboarding/steps/InterestsStep.tsx b/src/features/Onboarding/steps/InterestsStep.tsxindex 3e2f75453c8..86162681540 100644--- a/src/features/Onboarding/steps/InterestsStep.tsx+++ b/src/features/Onboarding/steps/InterestsStep.tsx@@ -1,8 +1,8 @@'use client';import { normalizeInterestsForStorage } from '@lobechat/const';-import { Block, Flexbox, Icon, Input, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon, Input } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { BriefcaseIcon, Undo2Icon } from 'lucide-react';import { memo, useCallback, useMemo, useRef, useState } from 'react';diff --git a/src/features/Onboarding/steps/ResponseLanguageStep.tsx b/src/features/Onboarding/steps/ResponseLanguageStep.tsxindex 976b3eb3efc..0b03892319a 100644--- a/src/features/Onboarding/steps/ResponseLanguageStep.tsx+++ b/src/features/Onboarding/steps/ResponseLanguageStep.tsx@@ -1,8 +1,8 @@'use client';import { SendButton } from '@lobehub/editor/react';-import { Flexbox, Text } from '@lobehub/ui';-import { Button, Select } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, Select, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Undo2Icon } from 'lucide-react';import { memo, useCallback, useRef, useState } from 'react';diff --git a/src/features/Onboarding/steps/TelemetryStep.tsx b/src/features/Onboarding/steps/TelemetryStep.tsxindex 1c04bffc142..8926e95b6e9 100644--- a/src/features/Onboarding/steps/TelemetryStep.tsx+++ b/src/features/Onboarding/steps/TelemetryStep.tsx@@ -2,9 +2,9 @@import { BRANDING_NAME } from '@lobechat/business-const';import { type IconProps } from '@lobehub/ui';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';import { TypewriterEffect } from '@lobehub/ui/awesome';-import { Button, Switch } from '@lobehub/ui/base-ui';+import { Button, Switch, Text } from '@lobehub/ui/base-ui';import { LoadingDots } from '@lobehub/ui/chat';import { Steps } from 'antd';import { cssVar } from 'antd-style';diff --git a/src/features/PageEditor/Copilot/CopilotModelSelect.tsx b/src/features/PageEditor/Copilot/CopilotModelSelect.tsxindex c70082b280d..3e3d5cc5738 100644--- a/src/features/PageEditor/Copilot/CopilotModelSelect.tsx+++ b/src/features/PageEditor/Copilot/CopilotModelSelect.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Center, Flexbox } from '@lobehub/ui';+import { Center, Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ChevronDownIcon, Settings2Icon } from 'lucide-react';import { memo, useCallback, useState } from 'react';diff --git a/src/features/PageEditor/Copilot/Toolbar.tsx b/src/features/PageEditor/Copilot/Toolbar.tsxindex 2e75bbdde5e..fd96b12852b 100644--- a/src/features/PageEditor/Copilot/Toolbar.tsx+++ b/src/features/PageEditor/Copilot/Toolbar.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox, Popover, Text } from '@lobehub/ui';+import { Flexbox, Popover } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { Clock3Icon, PanelRightCloseIcon, PlusIcon } from 'lucide-react';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/PageEditor/Copilot/TopicSelector/Actions.tsx b/src/features/PageEditor/Copilot/TopicSelector/Actions.tsxindex 8b3e16803e8..0b8a34956cb 100644--- a/src/features/PageEditor/Copilot/TopicSelector/Actions.tsx+++ b/src/features/PageEditor/Copilot/TopicSelector/Actions.tsx@@ -1,5 +1,6 @@import { type DropdownItem } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MoreHorizontalIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/PageEditor/Copilot/Welcome.tsx b/src/features/PageEditor/Copilot/Welcome.tsxindex e9cd60faf22..c800c0422de 100644--- a/src/features/PageEditor/Copilot/Welcome.tsx+++ b/src/features/PageEditor/Copilot/Welcome.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/PageEditor/EditingIndicator.tsx b/src/features/PageEditor/EditingIndicator.tsxindex e3b8371f009..4960518ddc8 100644--- a/src/features/PageEditor/EditingIndicator.tsx+++ b/src/features/PageEditor/EditingIndicator.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Loader2Icon, PencilIcon } from 'lucide-react';import { type CSSProperties, memo } from 'react';diff --git a/src/features/PageEditor/EditorCanvas/useAskCopilotItem.tsx b/src/features/PageEditor/EditorCanvas/useAskCopilotItem.tsxindex 99b82439ae2..0e3801e6520 100644--- a/src/features/PageEditor/EditorCanvas/useAskCopilotItem.tsx+++ b/src/features/PageEditor/EditorCanvas/useAskCopilotItem.tsx@@ -5,7 +5,8 @@ import { nanoid } from '@lobechat/utils';import { type IEditor } from '@lobehub/editor';import { HIDE_TOOLBAR_COMMAND } from '@lobehub/editor';import { type ChatInputActionsProps } from '@lobehub/editor/react';-import { Avatar, Block } from '@lobehub/ui';+import { Block } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/PageEditor/EditorCanvas/useSlashItems.tsx b/src/features/PageEditor/EditorCanvas/useSlashItems.tsxindex 0c120dd37cf..2b7a7f61dc2 100644--- a/src/features/PageEditor/EditorCanvas/useSlashItems.tsx+++ b/src/features/PageEditor/EditorCanvas/useSlashItems.tsx@@ -10,7 +10,7 @@ import {INSERT_TABLE_COMMAND,INSERT_UNORDERED_LIST_COMMAND,} from '@lobehub/editor';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import {Heading1Icon,Heading2Icon,diff --git a/src/features/PageEditor/Header/index.tsx b/src/features/PageEditor/Header/index.tsxindex 0cc71755363..90849c83c93 100644--- a/src/features/PageEditor/Header/index.tsx+++ b/src/features/PageEditor/Header/index.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Avatar, DropdownMenu, Text } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon, Avatar, Text } from '@lobehub/ui/base-ui';import { ArrowLeftIcon, MoreHorizontal } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/PageEditor/History/CompareModal/CompareContent.tsx b/src/features/PageEditor/History/CompareModal/CompareContent.tsxindex 204d93afa4c..3580802701d 100644--- a/src/features/PageEditor/History/CompareModal/CompareContent.tsx+++ b/src/features/PageEditor/History/CompareModal/CompareContent.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import dayjs from 'dayjs';import { RotateCcwIcon } from 'lucide-react';diff --git a/src/features/PageEditor/History/CompareModal/HistorySidebar.tsx b/src/features/PageEditor/History/CompareModal/HistorySidebar.tsxindex 9ec86c2c02b..b98bcb99260 100644--- a/src/features/PageEditor/History/CompareModal/HistorySidebar.tsx+++ b/src/features/PageEditor/History/CompareModal/HistorySidebar.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Tag, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import dayjs from 'dayjs';import { memo, useCallback, useMemo } from 'react';diff --git a/src/features/PageEditor/History/HistoryListItem.tsx b/src/features/PageEditor/History/HistoryListItem.tsxindex 4c56f089503..ebccc3f6768 100644--- a/src/features/PageEditor/History/HistoryListItem.tsx+++ b/src/features/PageEditor/History/HistoryListItem.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Tag } from '@lobehub/ui/base-ui';import { Tooltip } from 'antd';import { createStaticStyles, cssVar, cx } from 'antd-style';import dayjs from 'dayjs';diff --git a/src/features/PageEditor/History/index.tsx b/src/features/PageEditor/History/index.tsxindex 823b547d96f..2d41e96ba3c 100644--- a/src/features/PageEditor/History/index.tsx+++ b/src/features/PageEditor/History/index.tsx@@ -1,8 +1,7 @@'use client';-import { Empty, Flexbox, Text } from '@lobehub/ui';-import { Button, confirmModal, type ModalInstance } from '@lobehub/ui/base-ui';-import { toast } from '@lobehub/ui/base-ui';+import { Empty, Flexbox } from '@lobehub/ui';+import { Button, confirmModal, type ModalInstance, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import dayjs from 'dayjs';import { ArrowLeftIcon, Clock3Icon } from 'lucide-react';diff --git a/src/features/PageExplorer/PageExplorerPlaceholder.tsx b/src/features/PageExplorer/PageExplorerPlaceholder.tsxindex 73a3e88fb99..42e7e29d42c 100644--- a/src/features/PageExplorer/PageExplorerPlaceholder.tsx+++ b/src/features/PageExplorer/PageExplorerPlaceholder.tsx@@ -1,6 +1,7 @@import { CUSTOM_DOCUMENT_FILE_TYPE } from '@lobechat/const';import { Notion } from '@lobehub/icons';-import { Center, FileTypeIcon, Flexbox, Icon, Text } from '@lobehub/ui';+import { Center, FileTypeIcon, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Upload } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { ArrowUpIcon, PlusIcon } from 'lucide-react';diff --git a/src/features/Pages/PageLayout/Body/Actions.tsx b/src/features/Pages/PageLayout/Body/Actions.tsxindex 29c652b10eb..f2920d281b6 100644--- a/src/features/Pages/PageLayout/Body/Actions.tsx+++ b/src/features/Pages/PageLayout/Body/Actions.tsx@@ -1,7 +1,8 @@'use client';import { type MenuProps } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MoreHorizontal } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Pages/PageLayout/Body/List/Item/Actions.tsx b/src/features/Pages/PageLayout/Body/List/Item/Actions.tsxindex 6409785f4ac..6b19c4604cb 100644--- a/src/features/Pages/PageLayout/Body/List/Item/Actions.tsx+++ b/src/features/Pages/PageLayout/Body/List/Item/Actions.tsx@@ -1,5 +1,6 @@import { type DropdownItem } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MoreHorizontalIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Pages/PageLayout/Body/List/Item/index.tsx b/src/features/Pages/PageLayout/Body/List/Item/index.tsxindex 87131006290..d69598e9927 100644--- a/src/features/Pages/PageLayout/Body/List/Item/index.tsx+++ b/src/features/Pages/PageLayout/Body/List/Item/index.tsx@@ -1,4 +1,5 @@-import { Avatar, Icon } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { FileTextIcon } from 'lucide-react';import { type MouseEvent } from 'react';import { memo, useCallback, useMemo, useRef } from 'react';diff --git a/src/features/Pages/PageLayout/Header/AddButton.tsx b/src/features/Pages/PageLayout/Header/AddButton.tsxindex 59074fe6e20..9e80a4af92e 100644--- a/src/features/Pages/PageLayout/Header/AddButton.tsx+++ b/src/features/Pages/PageLayout/Header/AddButton.tsx@@ -1,6 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { PlusIcon, SquarePenIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/PlanIcon/index.tsx b/src/features/PlanIcon/index.tsxindex b6d9ef167c7..5bc83fae177 100644--- a/src/features/PlanIcon/index.tsx+++ b/src/features/PlanIcon/index.tsx@@ -1,5 +1,6 @@import { Plans } from '@lobechat/types';-import { Center, Flexbox, Tag } from '@lobehub/ui';+import { Center, Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Atom, Box, CircleSlash, Sparkle, Zap } from 'lucide-react';import { type CSSProperties, type MouseEvent } from 'react';diff --git a/src/features/PluginDetailModal/Meta.tsx b/src/features/PluginDetailModal/Meta.tsxindex 05542dabb55..76f4bbbe190 100644--- a/src/features/PluginDetailModal/Meta.tsx+++ b/src/features/PluginDetailModal/Meta.tsx@@ -1,4 +1,5 @@-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import { memo } from 'react';diff --git a/src/features/PluginDevModal/MCPManifestForm/ArgsInput.tsx b/src/features/PluginDevModal/MCPManifestForm/ArgsInput.tsxindex eb4c8e15f9c..0e4679611c3 100644--- a/src/features/PluginDevModal/MCPManifestForm/ArgsInput.tsx+++ b/src/features/PluginDevModal/MCPManifestForm/ArgsInput.tsx@@ -1,6 +1,6 @@import { type InputProps } from '@lobehub/ui';-import { ActionIcon, Flexbox, Input } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import { ActionIcon, Button } from '@lobehub/ui/base-ui';import { Plus, X } from 'lucide-react';import React, { memo, useCallback } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/PluginDevModal/MCPManifestForm/MCPTypeSelect.tsx b/src/features/PluginDevModal/MCPManifestForm/MCPTypeSelect.tsxindex ca3ec339f2b..b053a3c9562 100644--- a/src/features/PluginDevModal/MCPManifestForm/MCPTypeSelect.tsx+++ b/src/features/PluginDevModal/MCPManifestForm/MCPTypeSelect.tsx@@ -1,4 +1,5 @@-import { Center, Flexbox, Icon, Text } from '@lobehub/ui';+import { Center, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { CheckIcon, RouterIcon, TerminalIcon } from 'lucide-react';import React, { memo } from 'react';diff --git a/src/features/PluginDevModal/PluginPreview/ApiVisualizer.tsx b/src/features/PluginDevModal/PluginPreview/ApiVisualizer.tsxindex bdd55cad2fa..36e38bfa50f 100644--- a/src/features/PluginDevModal/PluginPreview/ApiVisualizer.tsx+++ b/src/features/PluginDevModal/PluginPreview/ApiVisualizer.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Flexbox, Icon, Tag } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { Input, Space } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { ChevronDown, ChevronRight } from 'lucide-react';diff --git a/src/features/PluginDevModal/PluginPreview/EmptyState.tsx b/src/features/PluginDevModal/PluginPreview/EmptyState.tsxindex 8dd1b60b4d1..ad55f0ac5df 100644--- a/src/features/PluginDevModal/PluginPreview/EmptyState.tsx+++ b/src/features/PluginDevModal/PluginPreview/EmptyState.tsx@@ -1,4 +1,5 @@-import { Icon, Text } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Space } from 'antd';import { createStaticStyles } from 'antd-style';import { Puzzle } from 'lucide-react';diff --git a/src/features/PluginDevModal/PluginPreview/index.tsx b/src/features/PluginDevModal/PluginPreview/index.tsxindex f7baa7a4fd7..67423158c2b 100644--- a/src/features/PluginDevModal/PluginPreview/index.tsx+++ b/src/features/PluginDevModal/PluginPreview/index.tsx@@ -1,6 +1,6 @@import { type ToolManifest } from '@lobechat/types';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { type FormInstance } from 'antd';import { Form as AForm } from 'antd';import { cssVar } from 'antd-style';diff --git a/src/features/PluginTag/PluginStatus.tsx b/src/features/PluginTag/PluginStatus.tsxindex 71be44fcb9b..0da194617cf 100644--- a/src/features/PluginTag/PluginStatus.tsx+++ b/src/features/PluginTag/PluginStatus.tsx@@ -1,5 +1,5 @@-import { ActionIcon, Flexbox, Tag, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Button, Tag, Text } from '@lobehub/ui/base-ui';import { Badge } from 'antd';import isEqual from 'fast-deep-equal';import { LucideRotateCw, LucideTrash2, RotateCwIcon } from 'lucide-react';diff --git a/src/features/PluginTag/index.tsx b/src/features/PluginTag/index.tsxindex e9e24ad6dad..c4c96066aaa 100644--- a/src/features/PluginTag/index.tsx+++ b/src/features/PluginTag/index.tsx@@ -1,6 +1,7 @@'use client';-import { Center, DropdownMenu, Icon, Tag } from '@lobehub/ui';+import { Center, DropdownMenu, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import { LucideToyBrick } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/features/Portal/Acceptance/Header.tsx b/src/features/Portal/Acceptance/Header.tsxindex ccad8f2ab15..69676f28d1d 100644--- a/src/features/Portal/Acceptance/Header.tsx+++ b/src/features/Portal/Acceptance/Header.tsx@@ -1,7 +1,6 @@import { DESKTOP_HEADER_ICON_SMALL_SIZE, isDesktop } from '@lobechat/const';-import { ActionIcon, copyToClipboard, Flexbox, Icon } from '@lobehub/ui';-import { type DropdownItem, DropdownMenu } from '@lobehub/ui/base-ui';-import { toast } from '@lobehub/ui/base-ui';+import { copyToClipboard, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, type DropdownItem, DropdownMenu, toast } from '@lobehub/ui/base-ui';import { Copy, ExternalLink, MoreHorizontal, RefreshCw } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/AcceptanceCheck/Body.tsx b/src/features/Portal/AcceptanceCheck/Body.tsxindex 47f1f74af72..f2d98bf6e8d 100644--- a/src/features/Portal/AcceptanceCheck/Body.tsx+++ b/src/features/Portal/AcceptanceCheck/Body.tsx@@ -1,8 +1,8 @@'use client';import type { VerifyAgentPlanConfig } from '@lobechat/types';-import { Center, Empty, Flexbox, Icon, Tag, Text } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { Center, Empty, Flexbox, Icon } from '@lobehub/ui';+import { Button, Tag, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/AgentDetail/Body.tsx b/src/features/Portal/AgentDetail/Body.tsxindex 7a52ba2d9b4..bd04fd06809 100644--- a/src/features/Portal/AgentDetail/Body.tsx+++ b/src/features/Portal/AgentDetail/Body.tsx@@ -1,7 +1,8 @@'use client';import { agentDisplayName } from '@lobechat/types';-import { Flexbox, Markdown, Text } from '@lobehub/ui';+import { Flexbox, Markdown } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/AgentDetail/Header.tsx b/src/features/Portal/AgentDetail/Header.tsxindex 16803c0ff79..49917488701 100644--- a/src/features/Portal/AgentDetail/Header.tsx+++ b/src/features/Portal/AgentDetail/Header.tsx@@ -1,7 +1,7 @@'use client';import { DESKTOP_HEADER_ICON_SMALL_SIZE } from '@lobechat/const';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Maximize2Icon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/AgentDetail/Title.tsx b/src/features/Portal/AgentDetail/Title.tsxindex ea8b3ff1ad3..9bd981ab663 100644--- a/src/features/Portal/AgentDetail/Title.tsx+++ b/src/features/Portal/AgentDetail/Title.tsx@@ -1,7 +1,8 @@'use client';import { agentDisplayName } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import Avatar from '@/components/Avatar';diff --git a/src/features/Portal/Artifacts/Title.tsx b/src/features/Portal/Artifacts/Title.tsxindex f99e4583f07..34aa83879c1 100644--- a/src/features/Portal/Artifacts/Title.tsx+++ b/src/features/Portal/Artifacts/Title.tsx@@ -1,6 +1,6 @@import { ArtifactType } from '@lobechat/types';-import { ActionIcon, Flexbox, Icon, Text } from '@lobehub/ui';-import { Tabs } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Tabs, Text } from '@lobehub/ui/base-ui';import { ConfigProvider } from 'antd';import { cx } from 'antd-style';import { ArrowLeft, CodeIcon, EyeIcon } from 'lucide-react';diff --git a/src/features/Portal/Document/Body.tsx b/src/features/Portal/Document/Body.tsxindex 1b778c06ed2..59e19cf74a7 100644--- a/src/features/Portal/Document/Body.tsx+++ b/src/features/Portal/Document/Body.tsx@@ -1,8 +1,8 @@'use client';import { EDITOR_DEBOUNCE_TIME, EDITOR_MAX_WAIT } from '@lobechat/const';-import { ActionIcon, Flexbox, Text, TextArea } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, TextArea } from '@lobehub/ui';+import { ActionIcon, Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { debounce } from 'es-toolkit/compat';import { CheckIcon, PencilIcon, XIcon } from 'lucide-react';diff --git a/src/features/Portal/Document/Header.tsx b/src/features/Portal/Document/Header.tsxindex ad4e3d0bf44..52bf0cb0672 100644--- a/src/features/Portal/Document/Header.tsx+++ b/src/features/Portal/Document/Header.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Skeleton, Text } from '@lobehub/ui';+import { Flexbox, Skeleton } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cx } from 'antd-style';import { useClientDataSWR } from '@/libs/swr';diff --git a/src/features/Portal/Document/PortalHeader.tsx b/src/features/Portal/Document/PortalHeader.tsxindex 88e9de95312..af5fb236e9b 100644--- a/src/features/Portal/Document/PortalHeader.tsx+++ b/src/features/Portal/Document/PortalHeader.tsx@@ -1,7 +1,7 @@'use client';import { DESKTOP_HEADER_ICON_SMALL_SIZE } from '@lobechat/const';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Maximize2Icon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/Document/TodoList.tsx b/src/features/Portal/Document/TodoList.tsxindex 2c6b5cd7410..889d8aeb15c 100644--- a/src/features/Portal/Document/TodoList.tsx+++ b/src/features/Portal/Document/TodoList.tsx@@ -1,8 +1,8 @@'use client';import { AGENT_PLAN_FILE_TYPE } from '@lobechat/const';-import { Flexbox, Icon, Tag } from '@lobehub/ui';-import { Checkbox } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Checkbox, Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { ChevronDown, ChevronUp, ListTodo } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/Portal/FilePreview/Title.tsx b/src/features/Portal/FilePreview/Title.tsxindex 8fc99855463..2e1571c5c99 100644--- a/src/features/Portal/FilePreview/Title.tsx+++ b/src/features/Portal/FilePreview/Title.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox, Skeleton, Text } from '@lobehub/ui';+import { Flexbox, Skeleton } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { ArrowLeft } from 'lucide-react';import { useChatStore } from '@/store/chat';diff --git a/src/features/Portal/GroupThread/Header/index.tsx b/src/features/Portal/GroupThread/Header/index.tsxindex 2bfefbb0f7b..cfaba845582 100644--- a/src/features/Portal/GroupThread/Header/index.tsx+++ b/src/features/Portal/GroupThread/Header/index.tsx@@ -1,5 +1,6 @@import { agentDisplayName } from '@lobechat/types';-import { ActionIcon, Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Avatar } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { t } from 'i18next';import { XIcon } from 'lucide-react';diff --git a/src/features/Portal/Home/Body/Files/FileList/Item.tsx b/src/features/Portal/Home/Body/Files/FileList/Item.tsxindex 51704355e45..0aa680cf111 100644--- a/src/features/Portal/Home/Body/Files/FileList/Item.tsx+++ b/src/features/Portal/Home/Body/Files/FileList/Item.tsx@@ -1,5 +1,6 @@import { type ChatFileItem } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';diff --git a/src/features/Portal/Home/Body/Files/FileList/index.tsx b/src/features/Portal/Home/Body/Files/FileList/index.tsxindex 0a83c7bb9c3..5d46eaaf08a 100644--- a/src/features/Portal/Home/Body/Files/FileList/index.tsx+++ b/src/features/Portal/Home/Body/Files/FileList/index.tsx@@ -1,4 +1,5 @@-import { Avatar, Center, Flexbox, Icon, Text } from '@lobehub/ui';+import { Center, Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';import { InboxIcon } from 'lucide-react';diff --git a/src/features/Portal/Home/Body/Files/index.tsx b/src/features/Portal/Home/Body/Files/index.tsxindex 76ab2de8f17..450057c9473 100644--- a/src/features/Portal/Home/Body/Files/index.tsx+++ b/src/features/Portal/Home/Body/Files/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/Home/Body/Plugins/ArtifactList/Item/index.tsx b/src/features/Portal/Home/Body/Plugins/ArtifactList/Item/index.tsxindex c77f154398d..9260dbb21c3 100644--- a/src/features/Portal/Home/Body/Plugins/ArtifactList/Item/index.tsx+++ b/src/features/Portal/Home/Body/Plugins/ArtifactList/Item/index.tsx@@ -1,5 +1,6 @@import { type ChatPluginPayload } from '@lobechat/types';-import { Flexbox, Icon, Tag, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { cx } from 'antd-style';import isEqual from 'fast-deep-equal';import { CircuitBoard } from 'lucide-react';diff --git a/src/features/Portal/Home/Body/Plugins/ArtifactList/index.tsx b/src/features/Portal/Home/Body/Plugins/ArtifactList/index.tsxindex 7525aff7549..4f90348cb1a 100644--- a/src/features/Portal/Home/Body/Plugins/ArtifactList/index.tsx+++ b/src/features/Portal/Home/Body/Plugins/ArtifactList/index.tsx@@ -1,4 +1,5 @@-import { Avatar, Center, Flexbox, Icon, Skeleton, Text } from '@lobehub/ui';+import { Center, Flexbox, Icon, Skeleton } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';import { Origami } from 'lucide-react';diff --git a/src/features/Portal/Home/Body/Plugins/index.tsx b/src/features/Portal/Home/Body/Plugins/index.tsxindex a95a94b788d..c9f84b089bf 100644--- a/src/features/Portal/Home/Body/Plugins/index.tsx+++ b/src/features/Portal/Home/Body/Plugins/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/Home/Title.tsx b/src/features/Portal/Home/Title.tsxindex 7f423255a0a..944ca914310 100644--- a/src/features/Portal/Home/Title.tsx+++ b/src/features/Portal/Home/Title.tsx@@ -1,6 +1,6 @@'use client';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/LocalFile/Body.tsx b/src/features/Portal/LocalFile/Body.tsxindex b52c19c6f74..951b6816bf7 100644--- a/src/features/Portal/LocalFile/Body.tsx+++ b/src/features/Portal/LocalFile/Body.tsx@@ -1,7 +1,7 @@import { isDesktop } from '@lobechat/const';import type { MarkdownProps } from '@lobehub/ui';-import { ActionIcon, Center, Empty, Flexbox, Icon, Image, Markdown, Text } from '@lobehub/ui';-import { Tabs } from '@lobehub/ui/base-ui';+import { Center, Empty, Flexbox, Icon, Image, Markdown } from '@lobehub/ui';+import { ActionIcon, Tabs, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { CodeIcon, EyeIcon, RefreshCwIcon } from 'lucide-react';import { lazy, memo, Suspense, useCallback, useEffect, useMemo, useState } from 'react';diff --git a/src/features/Portal/LocalFile/DocumentPreview.tsx b/src/features/Portal/LocalFile/DocumentPreview.tsxindex a2019ac3551..5ccfab171a4 100644--- a/src/features/Portal/LocalFile/DocumentPreview.tsx+++ b/src/features/Portal/LocalFile/DocumentPreview.tsx@@ -3,8 +3,8 @@import 'react-pdf/dist/Page/AnnotationLayer.css';import 'react-pdf/dist/Page/TextLayer.css';-import { Center, Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Center, Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo, useCallback, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/LocalFile/Header.tsx b/src/features/Portal/LocalFile/Header.tsxindex a0ce0bbc051..b4e802b516c 100644--- a/src/features/Portal/LocalFile/Header.tsx+++ b/src/features/Portal/LocalFile/Header.tsx@@ -6,7 +6,7 @@ import {DESKTOP_HEADER_ICON_SMALL_SIZE,isDesktop,} from '@lobechat/const';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { ArrowLeft, FolderOpen, X } from 'lucide-react';import { Fragment, memo, useCallback } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/LocalFile/PublishHtmlArtifactConfirm.tsx b/src/features/Portal/LocalFile/PublishHtmlArtifactConfirm.tsxindex 1d7fe5a0710..36c1cedf2aa 100644--- a/src/features/Portal/LocalFile/PublishHtmlArtifactConfirm.tsx+++ b/src/features/Portal/LocalFile/PublishHtmlArtifactConfirm.tsx@@ -1,5 +1,5 @@-import { Accordion, AccordionItem, Flexbox, Text } from '@lobehub/ui';-import { Button, createModal, ScrollArea, useModalContext } from '@lobehub/ui/base-ui';+import { Accordion, AccordionItem, Flexbox } from '@lobehub/ui';+import { Button, createModal, ScrollArea, Text, useModalContext } from '@lobehub/ui/base-ui';import { t } from 'i18next';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/MessageDetail/Title.tsx b/src/features/Portal/MessageDetail/Title.tsxindex 56466ff0390..3394d6dce4c 100644--- a/src/features/Portal/MessageDetail/Title.tsx+++ b/src/features/Portal/MessageDetail/Title.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { useTranslation } from 'react-i18next';import { oneLineEllipsis } from '@/styles';diff --git a/src/features/Portal/Notebook/DocumentItem.tsx b/src/features/Portal/Notebook/DocumentItem.tsxindex b65bb56cd78..53873eb5777 100644--- a/src/features/Portal/Notebook/DocumentItem.tsx+++ b/src/features/Portal/Notebook/DocumentItem.tsx@@ -1,6 +1,6 @@import { type NotebookDocument } from '@lobechat/types';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';-import { confirmModal } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, confirmModal, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { FileTextIcon, Trash2Icon } from 'lucide-react';import { type MouseEvent } from 'react';diff --git a/src/features/Portal/Notebook/Title.tsx b/src/features/Portal/Notebook/Title.tsxindex aa645056f2b..c10557279ee 100644--- a/src/features/Portal/Notebook/Title.tsx+++ b/src/features/Portal/Notebook/Title.tsx@@ -1,6 +1,6 @@'use client';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/Plugins/Title.tsx b/src/features/Portal/Plugins/Title.tsxindex 364cc4d716a..650d688c552 100644--- a/src/features/Portal/Plugins/Title.tsx+++ b/src/features/Portal/Plugins/Title.tsx@@ -1,6 +1,7 @@import { getBuiltinPortalTitle } from '@lobechat/builtin-tools/portals';import type { BuiltinPortalTitle } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import PluginAvatar from '@/features/PluginAvatar';diff --git a/src/features/Portal/TaskDetail/Header.tsx b/src/features/Portal/TaskDetail/Header.tsxindex 4831524601c..33537ce11c6 100644--- a/src/features/Portal/TaskDetail/Header.tsx+++ b/src/features/Portal/TaskDetail/Header.tsx@@ -1,5 +1,5 @@import { DESKTOP_HEADER_ICON_SMALL_SIZE, isDesktop } from '@lobechat/const';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { ExternalLink } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/TaskDetail/Title.tsx b/src/features/Portal/TaskDetail/Title.tsxindex 61ce4500b71..fdf8b6933b9 100644--- a/src/features/Portal/TaskDetail/Title.tsx+++ b/src/features/Portal/TaskDetail/Title.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo } from 'react';diff --git a/src/features/Portal/Thread/Chat/ThreadDivider/index.tsx b/src/features/Portal/Thread/Chat/ThreadDivider/index.tsxindex ef021065143..adbbb5221f3 100644--- a/src/features/Portal/Thread/Chat/ThreadDivider/index.tsx+++ b/src/features/Portal/Thread/Chat/ThreadDivider/index.tsx@@ -1,4 +1,5 @@-import { Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { GitBranch } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Portal/Thread/Header/Active.tsx b/src/features/Portal/Thread/Header/Active.tsxindex 475a779b4ec..05fbef9ea45 100644--- a/src/features/Portal/Thread/Header/Active.tsx+++ b/src/features/Portal/Thread/Header/Active.tsx@@ -1,5 +1,6 @@import { resolveCCSubagentType } from '@lobechat/builtin-tool-claude-code/client';-import { Avatar, Flexbox, Icon, Tag, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';import { memo } from 'react';diff --git a/src/features/Portal/Thread/Header/New.tsx b/src/features/Portal/Thread/Header/New.tsxindex 8e881dde635..6f44a685830 100644--- a/src/features/Portal/Thread/Header/New.tsx+++ b/src/features/Portal/Thread/Header/New.tsx@@ -1,5 +1,5 @@-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Switch } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Switch, Text } from '@lobehub/ui/base-ui';import { GitBranch } from 'lucide-react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/Thread/Header/index.tsx b/src/features/Portal/Thread/Header/index.tsxindex 55a8c0c963a..09c1ad7e031 100644--- a/src/features/Portal/Thread/Header/index.tsx+++ b/src/features/Portal/Thread/Header/index.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { ArrowLeftRight, XIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Portal/Topic/Header/Title.tsx b/src/features/Portal/Topic/Header/Title.tsxindex 1f58323e02e..510a89d2372 100644--- a/src/features/Portal/Topic/Header/Title.tsx+++ b/src/features/Portal/Topic/Header/Title.tsx@@ -1,6 +1,6 @@'use client';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/Topic/Header/index.tsx b/src/features/Portal/Topic/Header/index.tsxindex 838a41b2a55..428e6f90785 100644--- a/src/features/Portal/Topic/Header/index.tsx+++ b/src/features/Portal/Topic/Header/index.tsx@@ -1,4 +1,4 @@-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { XIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Portal/TopicComments/AnchorPreview.tsx b/src/features/Portal/TopicComments/AnchorPreview.tsxindex 2d5f740a6b9..7cf61493716 100644--- a/src/features/Portal/TopicComments/AnchorPreview.tsx+++ b/src/features/Portal/TopicComments/AnchorPreview.tsx@@ -1,5 +1,6 @@import type { TopicCommentItem } from '@lobechat/types';-import { Flexbox, Icon, Tag, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { MessageSquareText } from 'lucide-react';import { memo, useCallback } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/TopicComments/CommentCard.tsx b/src/features/Portal/TopicComments/CommentCard.tsxindex 7a840d90bd0..70337181f7e 100644--- a/src/features/Portal/TopicComments/CommentCard.tsx+++ b/src/features/Portal/TopicComments/CommentCard.tsx@@ -1,7 +1,15 @@import type { TopicCommentItem } from '@lobechat/types';-import { ActionIcon, Avatar, Flexbox, Icon, Markdown, Text } from '@lobehub/ui';+import { Flexbox, Icon, Markdown } from '@lobehub/ui';import type { DropdownItem } from '@lobehub/ui/base-ui';-import { Button, confirmModal, DropdownMenu, toast } from '@lobehub/ui/base-ui';+import {+ ActionIcon,+ Avatar,+ Button,+ confirmModal,+ DropdownMenu,+ Text,+ toast,+} from '@lobehub/ui/base-ui';import { MessageCircle, MoreHorizontal, Pencil, Trash } from 'lucide-react';import { memo, useCallback, useMemo, useRef, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/TopicComments/Sidebar.tsx b/src/features/Portal/TopicComments/Sidebar.tsxindex 8faea683ddc..07ca4368cf2 100644--- a/src/features/Portal/TopicComments/Sidebar.tsx+++ b/src/features/Portal/TopicComments/Sidebar.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ArrowLeft } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Portal/TopicComments/ThreadBody.tsx b/src/features/Portal/TopicComments/ThreadBody.tsxindex 30240a3a2f9..794b3c777cb 100644--- a/src/features/Portal/TopicComments/ThreadBody.tsx+++ b/src/features/Portal/TopicComments/ThreadBody.tsx@@ -1,5 +1,5 @@-import { Center, Empty, Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Center, Empty, Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { MessageCircle } from 'lucide-react';import { memo, useCallback, useEffect, useMemo, useRef } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/TopicComments/Title.tsx b/src/features/Portal/TopicComments/Title.tsxindex 25d5d9ee4c7..4bfdb7031b6 100644--- a/src/features/Portal/TopicComments/Title.tsx+++ b/src/features/Portal/TopicComments/Title.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { MessageCircle } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/TopicComments/TopicCommentEditor.tsx b/src/features/Portal/TopicComments/TopicCommentEditor.tsxindex 3900638112c..ddcd401356e 100644--- a/src/features/Portal/TopicComments/TopicCommentEditor.tsx+++ b/src/features/Portal/TopicComments/TopicCommentEditor.tsx@@ -2,7 +2,7 @@ import type { TopicCommentJson } from '@lobechat/types';import type { IEditor, ISlashMenuOption } from '@lobehub/editor';import { INSERT_MENTION_COMMAND } from '@lobehub/editor';import { Editor, useEditor } from '@lobehub/editor/react';-import { Avatar } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import type { Ref } from 'react';import { memo, useCallback, useImperativeHandle, useMemo } from 'react';diff --git a/src/features/Portal/VerifyReport/Header.tsx b/src/features/Portal/VerifyReport/Header.tsxindex c44141aa4cb..8749ec30aac 100644--- a/src/features/Portal/VerifyReport/Header.tsx+++ b/src/features/Portal/VerifyReport/Header.tsx@@ -1,6 +1,6 @@import { DESKTOP_HEADER_ICON_SMALL_SIZE, isDesktop } from '@lobechat/const';-import { ActionIcon, copyToClipboard, Flexbox } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { copyToClipboard, Flexbox } from '@lobehub/ui';+import { ActionIcon, toast } from '@lobehub/ui/base-ui';import { Copy, ExternalLink } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Portal/VerifyResult/Body.tsx b/src/features/Portal/VerifyResult/Body.tsxindex 73745faac19..e32a2032327 100644--- a/src/features/Portal/VerifyResult/Body.tsx+++ b/src/features/Portal/VerifyResult/Body.tsx@@ -1,6 +1,6 @@import type { VerifierType } from '@lobechat/types';-import { Flexbox, Markdown, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Markdown } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ListTree } from 'lucide-react';import type { ReactNode } from 'react';diff --git a/src/features/Portal/VerifyResult/Title.tsx b/src/features/Portal/VerifyResult/Title.tsxindex aa9a3f05049..e99232a9293 100644--- a/src/features/Portal/VerifyResult/Title.tsx+++ b/src/features/Portal/VerifyResult/Title.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { CheckCircle2, Circle, CircleAlert, LoaderCircle, XCircle } from 'lucide-react';diff --git a/src/features/Portal/components/Header.tsx b/src/features/Portal/components/Header.tsxindex ce7d13c9471..55b70abb45c 100644--- a/src/features/Portal/components/Header.tsx+++ b/src/features/Portal/components/Header.tsx@@ -5,7 +5,8 @@ import {AGENT_CHAT_TOPIC_URL,DESKTOP_HEADER_ICON_SMALL_SIZE,} from '@lobechat/const';-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { ArrowLeft, X } from 'lucide-react';import { Fragment, type ReactNode } from 'react';import { memo } from 'react';diff --git a/src/features/ProfileEditor/AgentTool.tsx b/src/features/ProfileEditor/AgentTool.tsxindex cb78746e9af..7e1f687f0de 100644--- a/src/features/ProfileEditor/AgentTool.tsx+++ b/src/features/ProfileEditor/AgentTool.tsx@@ -3,8 +3,8 @@import { COMPOSIO_APP_TYPES, LOBEHUB_SKILL_PROVIDERS } from '@lobechat/const';import { getActivePluginIds, upsertPluginMode } from '@lobechat/types';import type { ItemType } from '@lobehub/ui';-import { Avatar, Flexbox, Icon } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Button } from '@lobehub/ui/base-ui';import { McpIcon, SkillsIcon } from '@lobehub/ui/icons';import { cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';diff --git a/src/features/ProfileEditor/AgentUserTools/AgentToolsSection.tsx b/src/features/ProfileEditor/AgentUserTools/AgentToolsSection.tsxindex 74825931a2e..beca52d0d70 100644--- a/src/features/ProfileEditor/AgentUserTools/AgentToolsSection.tsx+++ b/src/features/ProfileEditor/AgentUserTools/AgentToolsSection.tsx@@ -1,8 +1,8 @@'use client';import { upsertPluginMode } from '@lobechat/types';-import { Dropdown, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, confirmModal } from '@lobehub/ui/base-ui';+import { Dropdown, Flexbox, Icon } from '@lobehub/ui';+import { Button, confirmModal, Text } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import { CopyIcon, PlugZapIcon, PlusIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/ProfileEditor/AgentUserTools/UserToolsSection.tsx b/src/features/ProfileEditor/AgentUserTools/UserToolsSection.tsxindex 11ae5fa0b77..1d0a541945b 100644--- a/src/features/ProfileEditor/AgentUserTools/UserToolsSection.tsx+++ b/src/features/ProfileEditor/AgentUserTools/UserToolsSection.tsx@@ -1,8 +1,8 @@'use client';import { getActivePluginIds } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/ProfileEditor/PluginTag.tsx b/src/features/ProfileEditor/PluginTag.tsxindex 8422f6b4cf2..cdb3775bc6b 100644--- a/src/features/ProfileEditor/PluginTag.tsx+++ b/src/features/ProfileEditor/PluginTag.tsx@@ -2,7 +2,8 @@import { type ComposioAppType, type LobehubSkillProviderType } from '@lobechat/const';import { COMPOSIO_APP_TYPES, LOBEHUB_SKILL_PROVIDERS } from '@lobechat/const';-import { Avatar, Flexbox, Icon, Tag, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Avatar, Tag } from '@lobehub/ui/base-ui';import { McpIcon } from '@lobehub/ui/icons';import { createStaticStyles, cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';diff --git a/src/features/Projects/Acceptance/index.tsx b/src/features/Projects/Acceptance/index.tsxindex 510eebcd1d1..aec058b95d0 100644--- a/src/features/Projects/Acceptance/index.tsx+++ b/src/features/Projects/Acceptance/index.tsx@@ -1,8 +1,8 @@'use client';import type { ProjectCompletionDecision, ProjectStatus } from '@lobechat/types';-import { Block, Empty, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { Block, Empty, Flexbox, Icon } from '@lobehub/ui';+import { Button, Text, toast } from '@lobehub/ui/base-ui';import { BadgeCheckIcon, Clock3Icon } from 'lucide-react';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Projects/Conversation/index.tsx b/src/features/Projects/Conversation/index.tsxindex 5c11121b527..8501047f5ef 100644--- a/src/features/Projects/Conversation/index.tsx+++ b/src/features/Projects/Conversation/index.tsx@@ -1,6 +1,7 @@'use client';-import { Center, Flexbox, Text } from '@lobehub/ui';+import { Center, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, useCallback, useLayoutEffect } from 'react';import { useTranslation } from 'react-i18next';import { useParams } from 'react-router';diff --git a/src/features/Projects/CreateProjectModal.tsx b/src/features/Projects/CreateProjectModal.tsxindex a12f82bc283..d187ee14c02 100644--- a/src/features/Projects/CreateProjectModal.tsx+++ b/src/features/Projects/CreateProjectModal.tsx@@ -1,5 +1,12 @@-import { Flexbox, Input, Text } from '@lobehub/ui';-import { Button, createModal, ModalFooter, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import {+ Button,+ createModal,+ ModalFooter,+ Text,+ toast,+ useModalContext,+} from '@lobehub/ui/base-ui';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Projects/ProjectDisabled.tsx b/src/features/Projects/ProjectDisabled.tsxindex 11e07ac5cee..c2a002ffd09 100644--- a/src/features/Projects/ProjectDisabled.tsx+++ b/src/features/Projects/ProjectDisabled.tsx@@ -1,7 +1,7 @@'use client';-import { Center, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Center, Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { FolderKanbanIcon } from 'lucide-react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Projects/RenameProjectModal.tsx b/src/features/Projects/RenameProjectModal.tsxindex cf0a5c2cfce..a689cf63523 100644--- a/src/features/Projects/RenameProjectModal.tsx+++ b/src/features/Projects/RenameProjectModal.tsx@@ -1,7 +1,14 @@'use client';-import { Flexbox, Input, Text } from '@lobehub/ui';-import { Button, createModal, ModalFooter, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import {+ Button,+ createModal,+ ModalFooter,+ Text,+ toast,+ useModalContext,+} from '@lobehub/ui/base-ui';import { t as translate } from 'i18next';import { useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Projects/Workspace/ProjectDashboard.tsx b/src/features/Projects/Workspace/ProjectDashboard.tsxindex 5fde1916f64..f964b179791 100644--- a/src/features/Projects/Workspace/ProjectDashboard.tsx+++ b/src/features/Projects/Workspace/ProjectDashboard.tsx@@ -1,8 +1,8 @@'use client';import type { TaskStatus, WorkSummaryItem } from '@lobechat/types';-import { Block, Center, Empty, Flexbox, Icon, Skeleton, Tag, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Center, Empty, Flexbox, Icon, Skeleton } from '@lobehub/ui';+import { Button, Tag, Text } from '@lobehub/ui/base-ui';import { Progress } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import {diff --git a/src/features/Projects/Workspace/index.tsx b/src/features/Projects/Workspace/index.tsxindex 2d590c0c952..9557d653de1 100644--- a/src/features/Projects/Workspace/index.tsx+++ b/src/features/Projects/Workspace/index.tsx@@ -1,7 +1,7 @@'use client';-import { Center, Flexbox, Tag, Text, TextArea } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Center, Flexbox, TextArea } from '@lobehub/ui';+import { Button, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { SendHorizontalIcon, SparklesIcon } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/ProtocolUrlHandler/InstallPlugin/ConfigDisplay.tsx b/src/features/ProtocolUrlHandler/InstallPlugin/ConfigDisplay.tsxindex 211e45ad5ad..d11fe43dac8 100644--- a/src/features/ProtocolUrlHandler/InstallPlugin/ConfigDisplay.tsx+++ b/src/features/ProtocolUrlHandler/InstallPlugin/ConfigDisplay.tsx@@ -1,7 +1,8 @@'use client';import { type McpInstallSchema } from '@lobechat/electron-client-ipc';-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { LinkIcon, Settings2Icon } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/ProtocolUrlHandler/InstallPlugin/CustomPluginInstallModal.tsx b/src/features/ProtocolUrlHandler/InstallPlugin/CustomPluginInstallModal.tsxindex 276a2a6d5f6..e880f125bba 100644--- a/src/features/ProtocolUrlHandler/InstallPlugin/CustomPluginInstallModal.tsx+++ b/src/features/ProtocolUrlHandler/InstallPlugin/CustomPluginInstallModal.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Flexbox, Text } from '@lobehub/ui';-import { Alert, toast } from '@lobehub/ui/base-ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Alert, Text, toast } from '@lobehub/ui/base-ui';import { memo, useCallback, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/ProtocolUrlHandler/InstallPlugin/OfficialPluginInstallModal/index.tsx b/src/features/ProtocolUrlHandler/InstallPlugin/OfficialPluginInstallModal/index.tsxindex 3c4ea41d57e..53ecc3d5b1a 100644--- a/src/features/ProtocolUrlHandler/InstallPlugin/OfficialPluginInstallModal/index.tsx+++ b/src/features/ProtocolUrlHandler/InstallPlugin/OfficialPluginInstallModal/index.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Text } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { Block } from '@lobehub/ui';+import { Text, toast } from '@lobehub/ui/base-ui';import { memo, useCallback, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/RecommendTaskTemplates/ConnectorAuthRow.tsx b/src/features/RecommendTaskTemplates/ConnectorAuthRow.tsxindex 9875ecbe134..c59814fa346 100644--- a/src/features/RecommendTaskTemplates/ConnectorAuthRow.tsx+++ b/src/features/RecommendTaskTemplates/ConnectorAuthRow.tsx@@ -1,6 +1,6 @@import type { TaskTemplateConnectorReference } from '@lobechat/const';-import { Flexbox, Icon, Image, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Image } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { memo, useCallback, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/RecommendTaskTemplates/TaskTemplateCard.tsx b/src/features/RecommendTaskTemplates/TaskTemplateCard.tsxindex f0c694db6b3..f2ba826f3a5 100644--- a/src/features/RecommendTaskTemplates/TaskTemplateCard.tsx+++ b/src/features/RecommendTaskTemplates/TaskTemplateCard.tsx@@ -1,6 +1,6 @@import type { TaskTemplate } from '@lobechat/const';-import { ActionIcon, Block, Center, Flexbox, Tag, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Center, Flexbox } from '@lobehub/ui';+import { ActionIcon, Button, Tag, Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { cssVar, cx } from 'antd-style';import { Clock, X } from 'lucide-react';diff --git a/src/features/RecommendTaskTemplates/TaskTemplateDetailModal.tsx b/src/features/RecommendTaskTemplates/TaskTemplateDetailModal.tsxindex 3911485a141..26b6ece30bb 100644--- a/src/features/RecommendTaskTemplates/TaskTemplateDetailModal.tsx+++ b/src/features/RecommendTaskTemplates/TaskTemplateDetailModal.tsx@@ -1,8 +1,15 @@'use client';import type { TaskTemplate } from '@lobechat/const';-import { ActionIcon, Flexbox, Icon, Markdown, Text } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Markdown } from '@lobehub/ui';+import {+ ActionIcon,+ Button,+ createModal,+ type ModalInstance,+ Text,+ useModalContext,+} from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { cssVar } from 'antd-style';import { Clock, X } from 'lucide-react';diff --git a/src/features/Recommendations/RecommendationCard.tsx b/src/features/Recommendations/RecommendationCard.tsxindex 281d721ec6d..1143844e42c 100644--- a/src/features/Recommendations/RecommendationCard.tsx+++ b/src/features/Recommendations/RecommendationCard.tsx@@ -1,5 +1,5 @@-import { Block, Flexbox, Tag, Text } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Button, Tag, Text, toast } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { cssVar, cx } from 'antd-style';import { memo, type ReactNode, useCallback, useState } from 'react';diff --git a/src/features/Recommendations/index.tsx b/src/features/Recommendations/index.tsxindex 13f60d8d648..25cbe9ff3bb 100644--- a/src/features/Recommendations/index.tsx+++ b/src/features/Recommendations/index.tsx@@ -1,5 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { RefreshCw } from 'lucide-react';import { memo, useCallback, useEffect, useRef, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/ResourceHome/Layout/Body/LibraryList/Item/Actions.tsx b/src/features/ResourceHome/Layout/Body/LibraryList/Item/Actions.tsxindex 6409785f4ac..6b19c4604cb 100644--- a/src/features/ResourceHome/Layout/Body/LibraryList/Item/Actions.tsx+++ b/src/features/ResourceHome/Layout/Body/LibraryList/Item/Actions.tsx@@ -1,5 +1,6 @@import { type DropdownItem } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MoreHorizontalIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/ResourceHome/Layout/Body/index.tsx b/src/features/ResourceHome/Layout/Body/index.tsxindex eb4fd1769f1..e79eb0f17f5 100644--- a/src/features/ResourceHome/Layout/Body/index.tsx+++ b/src/features/ResourceHome/Layout/Body/index.tsx@@ -1,4 +1,5 @@-import { AccordionItem, ActionIcon, Text, Tooltip } from '@lobehub/ui';+import { AccordionItem, Tooltip } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { PlusIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/ResourceLibrary/Layout/Header/LibraryHead.tsx b/src/features/ResourceLibrary/Layout/Header/LibraryHead.tsxindex 5764f964376..a834a52f01b 100644--- a/src/features/ResourceLibrary/Layout/Header/LibraryHead.tsx+++ b/src/features/ResourceLibrary/Layout/Header/LibraryHead.tsx@@ -1,8 +1,8 @@'use client';-import { ActionIcon, Block, Center, Skeleton, stopPropagation, Text } from '@lobehub/ui';+import { Block, Center, Skeleton, stopPropagation } from '@lobehub/ui';import type { DropdownItem } from '@lobehub/ui/base-ui';-import { DropdownMenu } from '@lobehub/ui/base-ui';+import { ActionIcon, DropdownMenu, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { ChevronsUpDownIcon } from 'lucide-react';import type { DragEvent } from 'react';diff --git a/src/features/ResourceManager/FileDetail.tsx b/src/features/ResourceManager/FileDetail.tsxindex 6ad08791a2a..ccc5e5037e9 100644--- a/src/features/ResourceManager/FileDetail.tsx+++ b/src/features/ResourceManager/FileDetail.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Icon, Tag } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Tag } from '@lobehub/ui/base-ui';import { Descriptions, Divider } from 'antd';import dayjs from 'dayjs';import { BoltIcon, DownloadIcon } from 'lucide-react';diff --git a/src/features/ResourceManager/components/ChunkDrawer/SimilaritySearchList/Item.tsx b/src/features/ResourceManager/components/ChunkDrawer/SimilaritySearchList/Item.tsxindex cb2f22dfd89..b396e130991 100644--- a/src/features/ResourceManager/components/ChunkDrawer/SimilaritySearchList/Item.tsx+++ b/src/features/ResourceManager/components/ChunkDrawer/SimilaritySearchList/Item.tsx@@ -1,4 +1,5 @@-import { Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { memo, useMemo } from 'react';diff --git a/src/features/ResourceManager/components/Editor/index.tsx b/src/features/ResourceManager/components/Editor/index.tsxindex 36e6a4f1a62..0a39c7a99e0 100644--- a/src/features/ResourceManager/components/Editor/index.tsx+++ b/src/features/ResourceManager/components/Editor/index.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Flexbox, Skeleton } from '@lobehub/ui';-import { createModal } from '@lobehub/ui/base-ui';+import { Flexbox, Skeleton } from '@lobehub/ui';+import { ActionIcon, createModal } from '@lobehub/ui/base-ui';import { cssVar, useTheme } from 'antd-style';import { t as i18nT } from 'i18next';import { ArrowLeftIcon, DownloadIcon, InfoIcon } from 'lucide-react';diff --git a/src/features/ResourceManager/components/Explorer/EmptyPlaceholder.tsx b/src/features/ResourceManager/components/Explorer/EmptyPlaceholder.tsxindex 58c4e2ced7d..83e64c21e5f 100644--- a/src/features/ResourceManager/components/Explorer/EmptyPlaceholder.tsx+++ b/src/features/ResourceManager/components/Explorer/EmptyPlaceholder.tsx@@ -1,5 +1,5 @@-import { Center, FileTypeIcon, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Center, FileTypeIcon, Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { Upload } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { ArrowUpIcon, PlusIcon } from 'lucide-react';diff --git a/src/features/ResourceManager/components/Explorer/Header/SearchInput.tsx b/src/features/ResourceManager/components/Explorer/Header/SearchInput.tsxindex e68e289dc2b..5c850a88a0e 100644--- a/src/features/ResourceManager/components/Explorer/Header/SearchInput.tsx+++ b/src/features/ResourceManager/components/Explorer/Header/SearchInput.tsx@@ -1,6 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { useDebounce } from 'ahooks';import { Input } from 'antd';import { SearchIcon, XIcon } from 'lucide-react';diff --git a/src/features/ResourceManager/components/Explorer/Header/index.tsx b/src/features/ResourceManager/components/Explorer/Header/index.tsxindex d200784b39a..6fa8235eb03 100644--- a/src/features/ResourceManager/components/Explorer/Header/index.tsx+++ b/src/features/ResourceManager/components/Explorer/Header/index.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Flexbox } from '@lobehub/ui';-import { confirmModal, toast } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, confirmModal, toast } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { BookMinusIcon, FileBoxIcon, Trash2Icon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/ResourceManager/components/Explorer/ItemDropdown/DropdownMenu.tsx b/src/features/ResourceManager/components/Explorer/ItemDropdown/DropdownMenu.tsxindex 9da0a7623a3..dcd028ae4bb 100644--- a/src/features/ResourceManager/components/Explorer/ItemDropdown/DropdownMenu.tsx+++ b/src/features/ResourceManager/components/Explorer/ItemDropdown/DropdownMenu.tsx@@ -1,4 +1,5 @@-import { ActionIcon, DropdownMenu as DropdownMenuUI } from '@lobehub/ui';+import { DropdownMenu as DropdownMenuUI } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { type ItemType } from 'antd/es/menu/interface';import { MoreHorizontalIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/ResourceManager/components/Explorer/ListView/ListItem/index.tsx b/src/features/ResourceManager/components/Explorer/ListView/ListItem/index.tsxindex 6a097ecb3a7..002ad6bb09d 100644--- a/src/features/ResourceManager/components/Explorer/ListView/ListItem/index.tsx+++ b/src/features/ResourceManager/components/Explorer/ListView/ListItem/index.tsx@@ -1,5 +1,5 @@-import { Avatar, Center, ContextMenuTrigger, Flexbox, Tooltip } from '@lobehub/ui';-import { Checkbox } from '@lobehub/ui/base-ui';+import { Center, ContextMenuTrigger, Flexbox, Tooltip } from '@lobehub/ui';+import { Avatar, Checkbox } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { isEqual } from 'es-toolkit';import { memo, useCallback } from 'react';diff --git a/src/features/ResourceManager/components/FolderTree/index.tsx b/src/features/ResourceManager/components/FolderTree/index.tsxindex 1d7f5cbf19c..19a96d4fb39 100644--- a/src/features/ResourceManager/components/FolderTree/index.tsx+++ b/src/features/ResourceManager/components/FolderTree/index.tsx@@ -1,7 +1,8 @@'use client';import { CaretDownFilled } from '@ant-design/icons';-import { ActionIcon, Flexbox, Icon } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { FolderIcon, FolderOpenIcon } from 'lucide-react';import * as m from 'motion/react-m';diff --git a/src/features/ResourceManager/components/LibraryHierarchy/HierarchyNode.tsx b/src/features/ResourceManager/components/LibraryHierarchy/HierarchyNode.tsxindex 8fcb3c691e8..c975691d7e4 100644--- a/src/features/ResourceManager/components/LibraryHierarchy/HierarchyNode.tsx+++ b/src/features/ResourceManager/components/LibraryHierarchy/HierarchyNode.tsx@@ -2,8 +2,8 @@import { CaretDownFilled, LoadingOutlined } from '@ant-design/icons';import { DERIVED_DOCUMENT_SOURCE_TYPE } from '@lobechat/const';-import { ActionIcon, Block, Flexbox, Icon, stopPropagation } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon, stopPropagation } from '@lobehub/ui';+import { ActionIcon, toast } from '@lobehub/ui/base-ui';import { Input } from 'antd';import { cx } from 'antd-style';import { FileText, FolderIcon, FolderOpenIcon } from 'lucide-react';diff --git a/src/features/ResourceManager/components/LibraryHierarchy/index.tsx b/src/features/ResourceManager/components/LibraryHierarchy/index.tsxindex fdb37996f5e..d5a9ed1d143 100644--- a/src/features/ResourceManager/components/LibraryHierarchy/index.tsx+++ b/src/features/ResourceManager/components/LibraryHierarchy/index.tsx@@ -1,6 +1,7 @@'use client';-import { Center, Flexbox, Icon, Text } from '@lobehub/ui';+import { Center, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { FolderPlusIcon } from 'lucide-react';import { memo, useEffect, useMemo } from 'react';diff --git a/src/features/ResourceManager/components/UploadDock/Item.tsx b/src/features/ResourceManager/components/UploadDock/Item.tsxindex 0c0256684d7..4a877e19c8d 100644--- a/src/features/ResourceManager/components/UploadDock/Item.tsx+++ b/src/features/ResourceManager/components/UploadDock/Item.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { RotateCwIcon, XIcon } from 'lucide-react';import { type ReactNode } from 'react';diff --git a/src/features/ResourceManager/components/UploadDock/index.tsx b/src/features/ResourceManager/components/UploadDock/index.tsxindex ed3dedfe69d..6781c5db314 100644--- a/src/features/ResourceManager/components/UploadDock/index.tsx+++ b/src/features/ResourceManager/components/UploadDock/index.tsx@@ -1,5 +1,6 @@import { CheckCircleFilled, CloseCircleFilled } from '@ant-design/icons';-import { ActionIcon, Center, Flexbox, Icon, Text } from '@lobehub/ui';+import { Center, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';import { UploadIcon, XIcon } from 'lucide-react';diff --git a/src/features/ResourcePermission/AccessLevelTag.tsx b/src/features/ResourcePermission/AccessLevelTag.tsxindex a112421c0f3..62edc44a8c7 100644--- a/src/features/ResourcePermission/AccessLevelTag.tsx+++ b/src/features/ResourcePermission/AccessLevelTag.tsx@@ -1,6 +1,7 @@'use client';-import { Icon, Tag, Tooltip } from '@lobehub/ui';+import { Icon, Tooltip } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { EyeIcon, PlayIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/ResourcePermission/Collaborators/CollaboratorList.tsx b/src/features/ResourcePermission/Collaborators/CollaboratorList.tsxindex 2a18e4dc4ee..e7de927b666 100644--- a/src/features/ResourcePermission/Collaborators/CollaboratorList.tsx+++ b/src/features/ResourcePermission/Collaborators/CollaboratorList.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Avatar, Flexbox, SkeletonAvatar, SkeletonTitle, Tag, Text } from '@lobehub/ui';+import { Flexbox, SkeletonAvatar, SkeletonTitle } from '@lobehub/ui';+import { ActionIcon, Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { Popconfirm } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { XIcon } from 'lucide-react';diff --git a/src/features/ResourcePermission/ResourceAccessPage.tsx b/src/features/ResourcePermission/ResourceAccessPage.tsxindex 8d46d9f6684..715bceb0ca0 100644--- a/src/features/ResourcePermission/ResourceAccessPage.tsx+++ b/src/features/ResourcePermission/ResourceAccessPage.tsx@@ -1,8 +1,8 @@'use client';import type { FormGroupItemType } from '@lobehub/ui';-import { Flexbox, Form, Icon, Text } from '@lobehub/ui';-import { Alert, toast } from '@lobehub/ui/base-ui';+import { Flexbox, Form, Icon } from '@lobehub/ui';+import { Alert, Text, toast } from '@lobehub/ui/base-ui';import { Breadcrumb as AntBreadcrumb } from 'antd';import { createStaticStyles } from 'antd-style';import { ChevronRight, InfoIcon, UsersIcon } from 'lucide-react';diff --git a/src/features/ResourceTransferRequest/TransferManifestList.tsx b/src/features/ResourceTransferRequest/TransferManifestList.tsxindex 30cbf5526ef..6204a60c3a4 100644--- a/src/features/ResourceTransferRequest/TransferManifestList.tsx+++ b/src/features/ResourceTransferRequest/TransferManifestList.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Flexbox, Icon, SkeletonParagraph, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon, SkeletonParagraph } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import type { LucideIcon } from 'lucide-react';import { PowerOff, RotateCcw, TriangleAlert, Unlink } from 'lucide-react';diff --git a/src/features/ResourceTransferRequest/TransferRequestItem.tsx b/src/features/ResourceTransferRequest/TransferRequestItem.tsxindex bfd54231032..b50bf195ae4 100644--- a/src/features/ResourceTransferRequest/TransferRequestItem.tsx+++ b/src/features/ResourceTransferRequest/TransferRequestItem.tsx@@ -1,8 +1,8 @@'use client';import { AGENT_CHAT_URL, GROUP_CHAT_URL } from '@lobechat/const';-import { Avatar, Block, Flexbox, Tag, Text } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Avatar, Button, Tag, Text, toast } from '@lobehub/ui/base-ui';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/RightPanel/ToggleRightPanelButton.tsx b/src/features/RightPanel/ToggleRightPanelButton.tsxindex 9e0babb765e..dbff76408d6 100644--- a/src/features/RightPanel/ToggleRightPanelButton.tsx+++ b/src/features/RightPanel/ToggleRightPanelButton.tsx@@ -1,8 +1,7 @@'use client';import { HotkeyEnum } from '@lobechat/const/hotkeys';-import { type ActionIconProps } from '@lobehub/ui';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon, type ActionIconProps } from '@lobehub/ui/base-ui';import { PanelRightClose, PanelRightOpen } from 'lucide-react';import { type ReactNode } from 'react';import { memo } from 'react';diff --git a/src/features/SelfLearning/CreateDomainPage.tsx b/src/features/SelfLearning/CreateDomainPage.tsxindex da667f632dc..2f3b9786220 100644--- a/src/features/SelfLearning/CreateDomainPage.tsx+++ b/src/features/SelfLearning/CreateDomainPage.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Flexbox, Icon, Input, Text, TextArea } from '@lobehub/ui';-import { Button, Popover, toast } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Input, TextArea } from '@lobehub/ui';+import { ActionIcon, Button, Popover, Text, toast } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { createGlobalStyle, createStaticStyles, cssVar } from 'antd-style';import {diff --git a/src/features/SelfLearning/ExperienceList/index.tsx b/src/features/SelfLearning/ExperienceList/index.tsxindex a40b90a0c75..c926b0d15a2 100644--- a/src/features/SelfLearning/ExperienceList/index.tsx+++ b/src/features/SelfLearning/ExperienceList/index.tsx@@ -1,6 +1,7 @@'use client';-import { Center, Empty, Flexbox, Text } from '@lobehub/ui';+import { Center, Empty, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { DnaIcon } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/features/SelfLearning/LessonDetail/index.tsx b/src/features/SelfLearning/LessonDetail/index.tsxindex 035b3e73d91..21aa924130f 100644--- a/src/features/SelfLearning/LessonDetail/index.tsx+++ b/src/features/SelfLearning/LessonDetail/index.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Empty, Flexbox, Icon, Tag, Text } from '@lobehub/ui';+import { Block, Empty, Flexbox, Icon } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { MessagesSquare } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/SelfLearning/Portrait/AnchorCard.tsx b/src/features/SelfLearning/Portrait/AnchorCard.tsxindex 3b62e20ee1e..cb4c1b8c007 100644--- a/src/features/SelfLearning/Portrait/AnchorCard.tsx+++ b/src/features/SelfLearning/Portrait/AnchorCard.tsx@@ -1,6 +1,7 @@'use client';-import { Accordion, AccordionItem, Block, Flexbox, Icon, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Block, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { AnchorIcon, CircleCheckIcon, CircleXIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/SelfLearning/Portrait/DomainList.tsx b/src/features/SelfLearning/Portrait/DomainList.tsxindex e01d1976b08..ddaa0040b27 100644--- a/src/features/SelfLearning/Portrait/DomainList.tsx+++ b/src/features/SelfLearning/Portrait/DomainList.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { ChevronRightIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/SelfLearning/Portrait/GrowthCharts.tsx b/src/features/SelfLearning/Portrait/GrowthCharts.tsxindex 5f30857c791..4fe3e52308f 100644--- a/src/features/SelfLearning/Portrait/GrowthCharts.tsx+++ b/src/features/SelfLearning/Portrait/GrowthCharts.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/SelfLearning/Portrait/HabitList.tsx b/src/features/SelfLearning/Portrait/HabitList.tsxindex dd759019e7d..6e7252dee9c 100644--- a/src/features/SelfLearning/Portrait/HabitList.tsx+++ b/src/features/SelfLearning/Portrait/HabitList.tsx@@ -1,8 +1,8 @@'use client';-import { ActionIcon, Block, Flexbox, Icon, SearchBar, Tag, Text, Tooltip } from '@lobehub/ui';+import { Block, Flexbox, Icon, SearchBar, Tooltip } from '@lobehub/ui';import type { DropdownItem } from '@lobehub/ui/base-ui';-import { Button, DropdownMenu, Popover, toast } from '@lobehub/ui/base-ui';+import { ActionIcon, Button, DropdownMenu, Popover, Tag, Text, toast } from '@lobehub/ui/base-ui';import dayjs from 'dayjs';import {ArchiveIcon,diff --git a/src/features/SelfLearning/Portrait/LayerProfile.tsx b/src/features/SelfLearning/Portrait/LayerProfile.tsxindex 89601e9b4ff..efc2e6565a8 100644--- a/src/features/SelfLearning/Portrait/LayerProfile.tsx+++ b/src/features/SelfLearning/Portrait/LayerProfile.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/SelfLearning/Portrait/LessonPreview.tsx b/src/features/SelfLearning/Portrait/LessonPreview.tsxindex 49cb4b05fa4..d0fab7c37d3 100644--- a/src/features/SelfLearning/Portrait/LessonPreview.tsx+++ b/src/features/SelfLearning/Portrait/LessonPreview.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, SkeletonParagraph, Tag, Text } from '@lobehub/ui';+import { Flexbox, SkeletonParagraph } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/SelfLearning/Portrait/TaughtList.tsx b/src/features/SelfLearning/Portrait/TaughtList.tsxindex 6ed4fe585f0..dd38032b96c 100644--- a/src/features/SelfLearning/Portrait/TaughtList.tsx+++ b/src/features/SelfLearning/Portrait/TaughtList.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import dayjs from 'dayjs';import { memo, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/SelfLearning/Portrait/WarmupCard.tsx b/src/features/SelfLearning/Portrait/WarmupCard.tsxindex e9ca8dc91eb..680c573850a 100644--- a/src/features/SelfLearning/Portrait/WarmupCard.tsx+++ b/src/features/SelfLearning/Portrait/WarmupCard.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, keyframes } from 'antd-style';import { DnaIcon, HistoryIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/SelfLearning/index.tsx b/src/features/SelfLearning/index.tsxindex 778be04aee6..196630095bd 100644--- a/src/features/SelfLearning/index.tsx+++ b/src/features/SelfLearning/index.tsx@@ -1,8 +1,8 @@'use client';-import { ActionIcon, Block, Center, Empty, Flexbox, Icon, Text } from '@lobehub/ui';+import { Block, Center, Empty, Flexbox, Icon } from '@lobehub/ui';import type { DropdownItem } from '@lobehub/ui/base-ui';-import { Button, confirmModal, DropdownMenu, toast } from '@lobehub/ui/base-ui';+import { ActionIcon, Button, confirmModal, DropdownMenu, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { DnaIcon, HistoryIcon, MoreHorizontalIcon, PlusIcon, Trash2Icon } from 'lucide-react';import { memo, useCallback, useMemo, useState } from 'react';diff --git a/src/features/Settings/Layout/Body/index.tsx b/src/features/Settings/Layout/Body/index.tsxindex 5657e447f56..72c694e9780 100644--- a/src/features/Settings/Layout/Body/index.tsx+++ b/src/features/Settings/Layout/Body/index.tsx@@ -1,6 +1,7 @@'use client';-import { Accordion, AccordionItem, Flexbox, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, useMemo } from 'react';import { Link } from 'react-router';diff --git a/src/features/Settings/about/features/Version.tsx b/src/features/Settings/about/features/Version.tsxindex c5c3575d65a..2a05b2d0ddb 100644--- a/src/features/Settings/about/features/Version.tsx+++ b/src/features/Settings/about/features/Version.tsx@@ -4,8 +4,8 @@ import {type UpdaterState,useWatchBroadcast,} from '@lobechat/electron-client-ipc';-import { Block, Flexbox, Tag } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Button, Tag } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo, useEffect, useMemo, useRef, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Settings/apikey/features/ApiKey.tsx b/src/features/Settings/apikey/features/ApiKey.tsxindex ac7bab3fcef..f9ffe0796d0 100644--- a/src/features/Settings/apikey/features/ApiKey.tsx+++ b/src/features/Settings/apikey/features/ApiKey.tsx@@ -1,8 +1,8 @@'use client';import { isDesktop } from '@lobechat/const';-import { Center, Empty, Flexbox, Text } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { Center, Empty, Flexbox } from '@lobehub/ui';+import { Button, Text, toast } from '@lobehub/ui/base-ui';import { useMutation } from '@tanstack/react-query';import { createStaticStyles } from 'antd-style';import { BookOpen, ChevronRight } from 'lucide-react';diff --git a/src/features/Settings/apikey/features/ApiKeyDetail.tsx b/src/features/Settings/apikey/features/ApiKeyDetail.tsxindex afb6eb0e8e1..0e577d1fd27 100644--- a/src/features/Settings/apikey/features/ApiKeyDetail.tsx+++ b/src/features/Settings/apikey/features/ApiKeyDetail.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';-import { Button, Drawer, Switch } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, Drawer, Switch, Text } from '@lobehub/ui/base-ui';import { Popconfirm } from 'antd';import { createStaticStyles } from 'antd-style';import { Pencil, Trash } from 'lucide-react';diff --git a/src/features/Settings/apikey/features/ApiKeyModal/ScopeSelector.tsx b/src/features/Settings/apikey/features/ApiKeyModal/ScopeSelector.tsxindex 583f4bf07de..f7fefbc6ebf 100644--- a/src/features/Settings/apikey/features/ApiKeyModal/ScopeSelector.tsx+++ b/src/features/Settings/apikey/features/ApiKeyModal/ScopeSelector.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';-import { Checkbox, Switch } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Checkbox, Switch, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Check } from 'lucide-react';import type { FC } from 'react';diff --git a/src/features/Settings/apikey/features/EditableCell/index.tsx b/src/features/Settings/apikey/features/EditableCell/index.tsxindex a8ae26dfa74..4d9ef3791e3 100644--- a/src/features/Settings/apikey/features/EditableCell/index.tsx+++ b/src/features/Settings/apikey/features/EditableCell/index.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Input } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { Input } from '@lobehub/ui';+import { ActionIcon, toast } from '@lobehub/ui/base-ui';import { type InputRef } from 'antd';import { createStaticStyles, cx } from 'antd-style';import { type Dayjs } from 'dayjs';diff --git a/src/features/Settings/creds/features/CredItem.tsx b/src/features/Settings/creds/features/CredItem.tsxindex 747d238677b..96da011f8c9 100644--- a/src/features/Settings/creds/features/CredItem.tsx+++ b/src/features/Settings/creds/features/CredItem.tsx@@ -1,8 +1,8 @@'use client';import { type UserCredSummary } from '@lobechat/types';-import { Avatar, DropdownMenu, Flexbox, Icon, stopPropagation } from '@lobehub/ui';-import { Button, confirmModal } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Icon, stopPropagation } from '@lobehub/ui';+import { Avatar, Button, confirmModal } from '@lobehub/ui/base-ui';import { Tag } from 'antd';import {Eye,diff --git a/src/features/Settings/creds/index.tsx b/src/features/Settings/creds/index.tsxindex a6867f63a85..6a0c6c8074b 100644--- a/src/features/Settings/creds/index.tsx+++ b/src/features/Settings/creds/index.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { Plus } from 'lucide-react';import { useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Settings/features/SettingHeader.tsx b/src/features/Settings/features/SettingHeader.tsxindex 4374b82a78d..4fe496a9f79 100644--- a/src/features/Settings/features/SettingHeader.tsx+++ b/src/features/Settings/features/SettingHeader.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { type FC, type ReactNode } from 'react';diff --git a/src/features/Settings/features/SettingsContent.tsx b/src/features/Settings/features/SettingsContent.tsxindex 1bf8013f634..261ff559b76 100644--- a/src/features/Settings/features/SettingsContent.tsx+++ b/src/features/Settings/features/SettingsContent.tsx@@ -1,6 +1,6 @@'use client';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Fragment, useEffect } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Settings/hooks/useCategory.tsx b/src/features/Settings/hooks/useCategory.tsxindex e7bcc5ca020..760bf9fdff1 100644--- a/src/features/Settings/hooks/useCategory.tsx+++ b/src/features/Settings/hooks/useCategory.tsx@@ -1,5 +1,5 @@import { isDesktop } from '@lobechat/const';-import { Avatar } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { SkillsIcon } from '@lobehub/ui/icons';import {AppWindowIcon,diff --git a/src/features/Settings/labs/index.tsx b/src/features/Settings/labs/index.tsxindex b55523d8222..9b8edbea82c 100644--- a/src/features/Settings/labs/index.tsx+++ b/src/features/Settings/labs/index.tsx@@ -2,8 +2,8 @@import { isDesktop } from '@lobechat/const';import { type FormGroupItemType, type FormItemProps } from '@lobehub/ui';-import { Flexbox, Form, Skeleton, Tag, Tooltip } from '@lobehub/ui';-import { Alert, Switch } from '@lobehub/ui/base-ui';+import { Flexbox, Form, Skeleton, Tooltip } from '@lobehub/ui';+import { Alert, Switch, Tag } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { FlaskConicalIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Settings/oauth-apps/features/AppDetail/index.tsx b/src/features/Settings/oauth-apps/features/AppDetail/index.tsxindex f51dc3ecfb7..9dab70d1b00 100644--- a/src/features/Settings/oauth-apps/features/AppDetail/index.tsx+++ b/src/features/Settings/oauth-apps/features/AppDetail/index.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Icon, Skeleton, Tag, Text } from '@lobehub/ui';-import { Button, confirmModal, Switch, toast } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Skeleton } from '@lobehub/ui';+import { Button, confirmModal, Switch, Tag, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ArrowLeftIcon, Trash2Icon } from 'lucide-react';import { type FC, useEffect } from 'react';diff --git a/src/features/Settings/oauth-apps/features/AppItem/index.tsx b/src/features/Settings/oauth-apps/features/AppItem/index.tsxindex 66118d3c378..189d40ca7df 100644--- a/src/features/Settings/oauth-apps/features/AppItem/index.tsx+++ b/src/features/Settings/oauth-apps/features/AppItem/index.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Avatar, DropdownMenu, Flexbox, Icon, Tag, Text } from '@lobehub/ui';-import { confirmModal } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Avatar, confirmModal, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import dayjs from 'dayjs';import {diff --git a/src/features/Settings/oauth-apps/features/ClientIdDisplay/index.tsx b/src/features/Settings/oauth-apps/features/ClientIdDisplay/index.tsxindex 082ee46c766..3d1b528b514 100644--- a/src/features/Settings/oauth-apps/features/ClientIdDisplay/index.tsx+++ b/src/features/Settings/oauth-apps/features/ClientIdDisplay/index.tsx@@ -1,7 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { ActionIcon, toast } from '@lobehub/ui/base-ui';import { Flex } from 'antd';import { createStaticStyles } from 'antd-style';import { Copy } from 'lucide-react';diff --git a/src/features/Settings/oauth-apps/features/OAuthApps.tsx b/src/features/Settings/oauth-apps/features/OAuthApps.tsxindex efa1e4f5225..91eee217c06 100644--- a/src/features/Settings/oauth-apps/features/OAuthApps.tsx+++ b/src/features/Settings/oauth-apps/features/OAuthApps.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Skeleton, Text } from '@lobehub/ui';+import { Flexbox, Skeleton } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { type FC } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Settings/profile/features/ComposioAuthorizationList/index.tsx b/src/features/Settings/profile/features/ComposioAuthorizationList/index.tsxindex ca2aa04d829..780d96ce577 100644--- a/src/features/Settings/profile/features/ComposioAuthorizationList/index.tsx+++ b/src/features/Settings/profile/features/ComposioAuthorizationList/index.tsx@@ -1,6 +1,6 @@import { COMPOSIO_APP_TYPES } from '@lobechat/const';-import { Avatar, Flexbox, Tag } from '@lobehub/ui';-import { confirmModal } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, confirmModal, Tag } from '@lobehub/ui/base-ui';import { memo, useCallback, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Settings/profile/features/EmailRow.tsx b/src/features/Settings/profile/features/EmailRow.tsxindex be459bebae2..96c8d8c6eaf 100644--- a/src/features/Settings/profile/features/EmailRow.tsx+++ b/src/features/Settings/profile/features/EmailRow.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Input, Text } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import { Button, Text, toast } from '@lobehub/ui/base-ui';import { AnimatePresence, m } from 'motion/react';import { useCallback, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Settings/profile/features/InterestsRow.tsx b/src/features/Settings/profile/features/InterestsRow.tsxindex aa6be07be3d..4bb6936d35b 100644--- a/src/features/Settings/profile/features/InterestsRow.tsx+++ b/src/features/Settings/profile/features/InterestsRow.tsx@@ -2,7 +2,8 @@import type { InterestAreaKey } from '@lobechat/const';import { normalizeInterestsForStorage, resolveInterestAreaKey } from '@lobechat/const';-import { Block, Flexbox, Icon, Input, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon, Input } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { BriefcaseIcon } from 'lucide-react';import { useCallback, useMemo, useState } from 'react';diff --git a/src/features/Settings/profile/features/PasswordRow.tsx b/src/features/Settings/profile/features/PasswordRow.tsxindex deb2a8514b2..2432611371f 100644--- a/src/features/Settings/profile/features/PasswordRow.tsx+++ b/src/features/Settings/profile/features/PasswordRow.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { CheckCircle2Icon } from 'lucide-react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Settings/profile/features/ProfileRow.tsx b/src/features/Settings/profile/features/ProfileRow.tsxindex 0b0a26fa57a..5d75c063425 100644--- a/src/features/Settings/profile/features/ProfileRow.tsx+++ b/src/features/Settings/profile/features/ProfileRow.tsx@@ -1,6 +1,6 @@'use client';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { type ReactNode } from 'react';diff --git a/src/features/Settings/profile/features/SSOProvidersList/index.tsx b/src/features/Settings/profile/features/SSOProvidersList/index.tsxindex 65e04defd6a..8be87e50704 100644--- a/src/features/Settings/profile/features/SSOProvidersList/index.tsx+++ b/src/features/Settings/profile/features/SSOProvidersList/index.tsx@@ -1,7 +1,7 @@import { isDesktop } from '@lobechat/const';import { type MenuProps } from '@lobehub/ui';-import { ActionIcon, DropdownMenu, Flexbox, Text, Tooltip } from '@lobehub/ui';-import { confirmModal } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Tooltip } from '@lobehub/ui';+import { ActionIcon, confirmModal, Text } from '@lobehub/ui/base-ui';import { ArrowRight, Plus, Unlink } from 'lucide-react';import { type CSSProperties } from 'react';import { memo, useMemo } from 'react';diff --git a/src/features/Settings/profile/features/UsernameRow.tsx b/src/features/Settings/profile/features/UsernameRow.tsxindex 80aa266d7a2..620eb167859 100644--- a/src/features/Settings/profile/features/UsernameRow.tsx+++ b/src/features/Settings/profile/features/UsernameRow.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Icon, Input, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Input } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { type InputRef } from 'antd';import { Loader2Icon } from 'lucide-react';import { type ChangeEvent } from 'react';diff --git a/src/features/Settings/provider/(list)/ProviderGrid/Card.tsx b/src/features/Settings/provider/(list)/ProviderGrid/Card.tsxindex a6d53189827..fa07238ee53 100644--- a/src/features/Settings/provider/(list)/ProviderGrid/Card.tsx+++ b/src/features/Settings/provider/(list)/ProviderGrid/Card.tsx@@ -1,6 +1,7 @@import { BRANDING_PROVIDER } from '@lobechat/business-const';import { ProviderCombine, ProviderIcon } from '@lobehub/icons';-import { Avatar, Flexbox, Skeleton, Tag, Text } from '@lobehub/ui';+import { Flexbox, Skeleton } from '@lobehub/ui';+import { Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { cssVar, cx } from 'antd-style';import { memo } from 'react';diff --git a/src/features/Settings/provider/(list)/ProviderGrid/index.tsx b/src/features/Settings/provider/(list)/ProviderGrid/index.tsxindex 31195e407ce..ed032a8d8b1 100644--- a/src/features/Settings/provider/(list)/ProviderGrid/index.tsx+++ b/src/features/Settings/provider/(list)/ProviderGrid/index.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Grid, Tag, Text } from '@lobehub/ui';+import { Flexbox, Grid } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Settings/provider/ProviderMenu/Actions.tsx b/src/features/Settings/provider/ProviderMenu/Actions.tsxindex 6bdb6a693dd..008d0734b39 100644--- a/src/features/Settings/provider/ProviderMenu/Actions.tsx+++ b/src/features/Settings/provider/ProviderMenu/Actions.tsx@@ -1,5 +1,6 @@import { type MenuProps } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MoreHorizontalIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Settings/provider/ProviderMenu/AddNew.tsx b/src/features/Settings/provider/ProviderMenu/AddNew.tsxindex 389d661cc19..954680360c4 100644--- a/src/features/Settings/provider/ProviderMenu/AddNew.tsx+++ b/src/features/Settings/provider/ProviderMenu/AddNew.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Tooltip } from '@lobehub/ui';+import { Tooltip } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { PlusIcon } from 'lucide-react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Settings/provider/ProviderMenu/Item.tsx b/src/features/Settings/provider/ProviderMenu/Item.tsxindex 3df5d6a7d79..0fdb1ecad89 100644--- a/src/features/Settings/provider/ProviderMenu/Item.tsx+++ b/src/features/Settings/provider/ProviderMenu/Item.tsx@@ -1,6 +1,7 @@import { BRANDING_PROVIDER } from '@lobechat/business-const';import { ProviderIcon } from '@lobehub/icons';-import { Avatar, Center } from '@lobehub/ui';+import { Center } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { Badge } from 'antd';import { memo, useMemo } from 'react';import { useLocation } from 'react-router';diff --git a/src/features/Settings/provider/ProviderMenu/SortProviderModal/GroupItem.tsx b/src/features/Settings/provider/ProviderMenu/SortProviderModal/GroupItem.tsxindex 8d303bf560a..62aa7dd0b64 100644--- a/src/features/Settings/provider/ProviderMenu/SortProviderModal/GroupItem.tsx+++ b/src/features/Settings/provider/ProviderMenu/SortProviderModal/GroupItem.tsx@@ -1,5 +1,6 @@import { ProviderIcon } from '@lobehub/icons';-import { Avatar, Flexbox, SortableList } from '@lobehub/ui';+import { Flexbox, SortableList } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { memo } from 'react';import { type AiProviderListItem } from '@/types/aiProvider';diff --git a/src/features/Settings/provider/detail/ollama/Container.tsx b/src/features/Settings/provider/detail/ollama/Container.tsxindex ae77122caa3..e38477cbee3 100644--- a/src/features/Settings/provider/detail/ollama/Container.tsx+++ b/src/features/Settings/provider/detail/ollama/Container.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles, responsive } from 'antd-style';import { XIcon } from 'lucide-react';import { type ReactNode } from 'react';diff --git a/src/features/Settings/provider/features/CreateNewProvider/Content.tsx b/src/features/Settings/provider/features/CreateNewProvider/Content.tsxindex 41017f76132..57ba22b109c 100644--- a/src/features/Settings/provider/features/CreateNewProvider/Content.tsx+++ b/src/features/Settings/provider/features/CreateNewProvider/Content.tsx@@ -1,8 +1,8 @@'use client';import { ProviderIcon } from '@lobehub/icons';-import { Flexbox, Input, InputPassword, Text, TextArea } from '@lobehub/ui';-import { Button, Select, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Input, InputPassword, TextArea } from '@lobehub/ui';+import { Button, Select, Text, toast, useModalContext } from '@lobehub/ui/base-ui';import { Form } from 'antd';import { AiProviderBaseURLSchema } from 'model-bank/aiProvider';import { memo, useState } from 'react';diff --git a/src/features/Settings/provider/features/ModelList/DisabledModels.tsx b/src/features/Settings/provider/features/ModelList/DisabledModels.tsxindex 9716376a798..9ffba58c4f3 100644--- a/src/features/Settings/provider/features/ModelList/DisabledModels.tsx+++ b/src/features/Settings/provider/features/ModelList/DisabledModels.tsx@@ -1,4 +1,5 @@-import { ActionIcon, DropdownMenu, Flexbox, Icon, Text, TooltipGroup } from '@lobehub/ui';+import { DropdownMenu, Flexbox, Icon, TooltipGroup } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { type ItemType } from 'antd/es/menu/interface';import isEqual from 'fast-deep-equal';import { ArrowDownUpIcon, LucideCheck } from 'lucide-react';diff --git a/src/features/Settings/provider/features/ModelList/EnabledModelList/index.tsx b/src/features/Settings/provider/features/ModelList/EnabledModelList/index.tsxindex a9ceb7d86cd..1e3d09a4948 100644--- a/src/features/Settings/provider/features/ModelList/EnabledModelList/index.tsx+++ b/src/features/Settings/provider/features/ModelList/EnabledModelList/index.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Center, Flexbox, Text, TooltipGroup } from '@lobehub/ui';+import { Center, Flexbox, TooltipGroup } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import { ArrowDownUpIcon, ToggleLeft } from 'lucide-react';import { use, useMemo, useState } from 'react';diff --git a/src/features/Settings/provider/features/ModelList/ModelItem.tsx b/src/features/Settings/provider/features/ModelList/ModelItem.tsxindex 4fb907a2edc..0300f410a07 100644--- a/src/features/Settings/provider/features/ModelList/ModelItem.tsx+++ b/src/features/Settings/provider/features/ModelList/ModelItem.tsx@@ -1,6 +1,6 @@import { ModelIcon } from '@lobehub/icons';-import { ActionIcon, copyToClipboard, Flexbox, Tag, Text } from '@lobehub/ui';-import { confirmModal, Switch, toast } from '@lobehub/ui/base-ui';+import { copyToClipboard, Flexbox } from '@lobehub/ui';+import { ActionIcon, confirmModal, Switch, Tag, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { LucidePencil, TrashIcon } from 'lucide-react';import { type AiProviderModelListItem } from 'model-bank';diff --git a/src/features/Settings/provider/features/ModelList/ModelTitle/index.tsx b/src/features/Settings/provider/features/ModelList/ModelTitle/index.tsxindex 1bcae8d2429..9dfb78c1483 100644--- a/src/features/Settings/provider/features/ModelList/ModelTitle/index.tsx+++ b/src/features/Settings/provider/features/ModelList/ModelTitle/index.tsx@@ -1,5 +1,5 @@-import { ActionIcon, DropdownMenu, Flexbox, Skeleton, Text, Tooltip } from '@lobehub/ui';-import { Button, confirmModal, toast } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Skeleton, Tooltip } from '@lobehub/ui';+import { ActionIcon, Button, confirmModal, Text, toast } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { CircleX, EllipsisVertical, LucideRefreshCcwDot, PlusIcon } from 'lucide-react';import { memo, use, useEffect, useState } from 'react';diff --git a/src/features/Settings/provider/features/ModelList/SearchResult.tsx b/src/features/Settings/provider/features/ModelList/SearchResult.tsxindex 10c1d2e78d5..2cbb1f6a2c9 100644--- a/src/features/Settings/provider/features/ModelList/SearchResult.tsx+++ b/src/features/Settings/provider/features/ModelList/SearchResult.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Text, TooltipGroup } from '@lobehub/ui';+import { Flexbox, TooltipGroup } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import { ToggleRightIcon } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/Settings/provider/features/ProviderConfig/OAuthDeviceFlowAuth/index.tsx b/src/features/Settings/provider/features/ProviderConfig/OAuthDeviceFlowAuth/index.tsxindex f9a063e3c60..85d23967ee7 100644--- a/src/features/Settings/provider/features/ProviderConfig/OAuthDeviceFlowAuth/index.tsx+++ b/src/features/Settings/provider/features/ProviderConfig/OAuthDeviceFlowAuth/index.tsx@@ -2,8 +2,8 @@import { CheckCircleFilled } from '@ant-design/icons';import { MAX_WIDTH } from '@lobechat/const';-import { Avatar, CopyButton, Flexbox, Icon } from '@lobehub/ui';-import { Button, confirmModal, Modal } from '@lobehub/ui/base-ui';+import { CopyButton, Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Button, confirmModal, Modal } from '@lobehub/ui/base-ui';import { Typography } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { Loader2Icon, LogOutIcon, UnplugIcon } from 'lucide-react';diff --git a/src/features/Settings/provider/features/ProviderConfig/UpdateProviderInfo/SettingModal.tsx b/src/features/Settings/provider/features/ProviderConfig/UpdateProviderInfo/SettingModal.tsxindex d21b7c4dc7e..834b4b0f78a 100644--- a/src/features/Settings/provider/features/ProviderConfig/UpdateProviderInfo/SettingModal.tsx+++ b/src/features/Settings/provider/features/ProviderConfig/UpdateProviderInfo/SettingModal.tsx@@ -1,7 +1,7 @@'use client';import { ProviderIcon } from '@lobehub/icons';-import { Flexbox, Icon, Input, Text, TextArea } from '@lobehub/ui';+import { Flexbox, Icon, Input, TextArea } from '@lobehub/ui';import {Button,confirmModal,@@ -9,9 +9,10 @@ import {ModalFooter,type ModalInstance,Select,+ Text,+ toast,useModalContext,} from '@lobehub/ui/base-ui';-import { toast } from '@lobehub/ui/base-ui';import { Form } from 'antd';import { cssVar } from 'antd-style';import { t as i18nT } from 'i18next';diff --git a/src/features/Settings/provider/features/ProviderConfig/index.tsx b/src/features/Settings/provider/features/ProviderConfig/index.tsxindex 87ddfb90ac7..8c30d133a4e 100644--- a/src/features/Settings/provider/features/ProviderConfig/index.tsx+++ b/src/features/Settings/provider/features/ProviderConfig/index.tsx@@ -4,17 +4,8 @@ import { BRANDING_PROVIDER } from '@lobechat/business-const';import { AES_GCM_URL, BASE_PROVIDER_DOC_URL, FORM_STYLE } from '@lobechat/const';import { ProviderCombine, ProviderIcon } from '@lobehub/icons';import { type FormGroupItemType, type FormItemProps } from '@lobehub/ui';-import {- Avatar,- Center,- Flexbox,- Form,- Icon,- Skeleton,- stopPropagation,- Tooltip,-} from '@lobehub/ui';-import { Switch } from '@lobehub/ui/base-ui';+import { Center, Flexbox, Form, Icon, Skeleton, stopPropagation, Tooltip } from '@lobehub/ui';+import { Avatar, Switch } from '@lobehub/ui/base-ui';import { useDebounceFn } from 'ahooks';import { Form as AntdForm } from 'antd';import { createStaticStyles, cssVar, cx, responsive } from 'antd-style';diff --git a/src/features/Settings/skill/features/AgentConnectorItem.tsx b/src/features/Settings/skill/features/AgentConnectorItem.tsxindex 7274c2522bc..b587f76e16f 100644--- a/src/features/Settings/skill/features/AgentConnectorItem.tsx+++ b/src/features/Settings/skill/features/AgentConnectorItem.tsx@@ -1,7 +1,8 @@'use client';import { getComposioAppByIdentifier, getLobehubSkillProviderById } from '@lobechat/const';-import { Avatar, Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Avatar, Tag } from '@lobehub/ui/base-ui';import { McpIcon } from '@lobehub/ui/icons';import { cssVar } from 'antd-style';import { memo } from 'react';diff --git a/src/features/Settings/skill/features/AgentConnectorUsage.tsx b/src/features/Settings/skill/features/AgentConnectorUsage.tsxindex 8e096644457..34f6e316f62 100644--- a/src/features/Settings/skill/features/AgentConnectorUsage.tsx+++ b/src/features/Settings/skill/features/AgentConnectorUsage.tsx@@ -1,7 +1,7 @@'use client';-import { Avatar, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Button, Text } from '@lobehub/ui/base-ui';import { ArrowUpRight } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Settings/skill/features/AgentSkillItem.tsx b/src/features/Settings/skill/features/AgentSkillItem.tsxindex 44684a5f10e..7ecfd02fe5e 100644--- a/src/features/Settings/skill/features/AgentSkillItem.tsx+++ b/src/features/Settings/skill/features/AgentSkillItem.tsx@@ -1,8 +1,8 @@'use client';import { type BuiltinSkill, type SkillListItem } from '@lobechat/types';-import { Avatar, DropdownMenu, Flexbox, Icon, stopPropagation } from '@lobehub/ui';-import { Button, confirmModal, createModal } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Icon, stopPropagation } from '@lobehub/ui';+import { Avatar, Button, confirmModal, createModal } from '@lobehub/ui/base-ui';import { SkillsIcon } from '@lobehub/ui/icons';import { cssVar } from 'antd-style';import { DownloadIcon, MoreHorizontalIcon, Plus, Trash2 } from 'lucide-react';diff --git a/src/features/Settings/skill/features/BuiltinSkillItem.tsx b/src/features/Settings/skill/features/BuiltinSkillItem.tsxindex d8a27739e18..96c6cb2f01a 100644--- a/src/features/Settings/skill/features/BuiltinSkillItem.tsx+++ b/src/features/Settings/skill/features/BuiltinSkillItem.tsx@@ -1,7 +1,7 @@'use client';-import { Avatar, DropdownMenu, Flexbox, Icon, stopPropagation } from '@lobehub/ui';-import { Button, confirmModal } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Icon, stopPropagation } from '@lobehub/ui';+import { Avatar, Button, confirmModal } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { MoreHorizontalIcon, Plus, Trash2 } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/Settings/skill/features/ComposioSkillItem.tsx b/src/features/Settings/skill/features/ComposioSkillItem.tsxindex 8bb1c9589e4..b6ac24aa31c 100644--- a/src/features/Settings/skill/features/ComposioSkillItem.tsx+++ b/src/features/Settings/skill/features/ComposioSkillItem.tsx@@ -1,8 +1,8 @@'use client';import { type ComposioAppType } from '@lobechat/const';-import { Avatar, Center, DropdownMenu, Flexbox, Icon, Tooltip } from '@lobehub/ui';-import { Button, Button as LobeButton, confirmModal } from '@lobehub/ui/base-ui';+import { Center, DropdownMenu, Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Avatar, Button, Button as LobeButton, confirmModal } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import {CircleCheck,diff --git a/src/features/Settings/skill/features/LeftPanel.tsx b/src/features/Settings/skill/features/LeftPanel.tsxindex d48982c480e..babd2535473 100644--- a/src/features/Settings/skill/features/LeftPanel.tsx+++ b/src/features/Settings/skill/features/LeftPanel.tsx@@ -1,7 +1,7 @@'use client';-import { DropdownMenu, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { GithubIcon } from '@lobehub/ui/icons';import { createStaticStyles } from 'antd-style';import { FileArchive, Grid2x2Plus, Link, Store } from 'lucide-react';diff --git a/src/features/Settings/skill/features/LobehubSkillItem.tsx b/src/features/Settings/skill/features/LobehubSkillItem.tsxindex 189275ff2a3..21bf1f5a86c 100644--- a/src/features/Settings/skill/features/LobehubSkillItem.tsx+++ b/src/features/Settings/skill/features/LobehubSkillItem.tsx@@ -1,8 +1,8 @@'use client';import { type LobehubSkillProviderType } from '@lobechat/const';-import { Avatar, Center, DropdownMenu, Flexbox, Icon, Tooltip } from '@lobehub/ui';-import { Button, Button as LobeButton, confirmModal } from '@lobehub/ui/base-ui';+import { Center, DropdownMenu, Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Avatar, Button, Button as LobeButton, confirmModal } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import {CircleCheck,diff --git a/src/features/Settings/skill/features/McpSkillItem.tsx b/src/features/Settings/skill/features/McpSkillItem.tsxindex 2f25d6804b7..a5e6a088960 100644--- a/src/features/Settings/skill/features/McpSkillItem.tsx+++ b/src/features/Settings/skill/features/McpSkillItem.tsx@@ -1,7 +1,7 @@'use client';-import { Avatar, Flexbox, Icon } from '@lobehub/ui';-import { createModal } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Avatar, createModal } from '@lobehub/ui/base-ui';import { McpIcon } from '@lobehub/ui/icons';import { memo, Suspense } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Settings/skill/features/SkillDetail/index.tsx b/src/features/Settings/skill/features/SkillDetail/index.tsxindex d90d4997576..2251196c2b7 100644--- a/src/features/Settings/skill/features/SkillDetail/index.tsx+++ b/src/features/Settings/skill/features/SkillDetail/index.tsx@@ -2,8 +2,8 @@import { getLobehubSkillProviderById } from '@lobechat/const';import { agentDisplayName } from '@lobechat/types';-import { Avatar, Markdown, Skeleton, Tooltip } from '@lobehub/ui';-import { Button, confirmModal, toast } from '@lobehub/ui/base-ui';+import { Markdown, Skeleton, Tooltip } from '@lobehub/ui';+import { Avatar, Button, confirmModal, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import isEqual from 'fast-deep-equal';import { Plus, SquareArrowOutUpRight, Trash2, Unplug, Wrench } from 'lucide-react';diff --git a/src/features/Settings/stats/features/components/StatsFormGroup.tsx b/src/features/Settings/stats/features/components/StatsFormGroup.tsxindex 9e1190257ac..407eaebec5b 100644--- a/src/features/Settings/stats/features/components/StatsFormGroup.tsx+++ b/src/features/Settings/stats/features/components/StatsFormGroup.tsx@@ -1,7 +1,8 @@'use client';import { type BlockProps } from '@lobehub/ui';-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { type ReactNode } from 'react';import { memo } from 'react';diff --git a/src/features/Settings/stats/features/components/UsageBarChart.tsx b/src/features/Settings/stats/features/components/UsageBarChart.tsxindex 80e6254b7c5..19d72a4ff0d 100644--- a/src/features/Settings/stats/features/components/UsageBarChart.tsx+++ b/src/features/Settings/stats/features/components/UsageBarChart.tsx@@ -1,6 +1,7 @@import { type BarChartProps } from '@lobehub/charts';import { BarChart, ChartTooltipFrame, ChartTooltipRow } from '@lobehub/charts';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { formatNumber, formatTokenNumber } from '@/utils/format';diff --git a/src/features/Settings/stats/features/overview/ShareButton/index.tsx b/src/features/Settings/stats/features/overview/ShareButton/index.tsxindex 84436a580ee..5034fc9016a 100644--- a/src/features/Settings/stats/features/overview/ShareButton/index.tsx+++ b/src/features/Settings/stats/features/overview/ShareButton/index.tsx@@ -1,6 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Share2Icon } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/Settings/stats/features/rankings/AssistantsRank.tsx b/src/features/Settings/stats/features/rankings/AssistantsRank.tsxindex 1837f226683..a9a2a10be8e 100644--- a/src/features/Settings/stats/features/rankings/AssistantsRank.tsx+++ b/src/features/Settings/stats/features/rankings/AssistantsRank.tsx@@ -1,7 +1,7 @@import { AGENT_CHAT_URL } from '@lobechat/const';import { agentDisplayName } from '@lobechat/types';import { BarList } from '@lobehub/charts';-import { ActionIcon, Avatar } from '@lobehub/ui';+import { ActionIcon, Avatar } from '@lobehub/ui/base-ui';import { MaximizeIcon } from 'lucide-react';import qs from 'query-string';import { memo, useState } from 'react';diff --git a/src/features/Settings/stats/features/rankings/ModelsRank.tsx b/src/features/Settings/stats/features/rankings/ModelsRank.tsxindex f1bef175ece..11c06291062 100644--- a/src/features/Settings/stats/features/rankings/ModelsRank.tsx+++ b/src/features/Settings/stats/features/rankings/ModelsRank.tsx@@ -1,7 +1,7 @@import { type ModelRankItem } from '@lobechat/types';import { BarList } from '@lobehub/charts';import { ModelIcon } from '@lobehub/icons';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MaximizeIcon } from 'lucide-react';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Settings/stats/features/rankings/TopicsRank.tsx b/src/features/Settings/stats/features/rankings/TopicsRank.tsxindex f25e6c84982..e9e0917fb52 100644--- a/src/features/Settings/stats/features/rankings/TopicsRank.tsx+++ b/src/features/Settings/stats/features/rankings/TopicsRank.tsx@@ -1,6 +1,7 @@import { AGENT_CHAT_TOPIC_URL } from '@lobechat/const';import { BarList } from '@lobehub/charts';-import { ActionIcon, Icon } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { MaximizeIcon, MessageSquareIcon } from 'lucide-react';import qs from 'query-string';diff --git a/src/features/Settings/stats/features/usage/UsageCards/ActiveModels/ModelTable.tsx b/src/features/Settings/stats/features/usage/UsageCards/ActiveModels/ModelTable.tsxindex 41c34b8ffbc..44881ea3388 100644--- a/src/features/Settings/stats/features/usage/UsageCards/ActiveModels/ModelTable.tsx+++ b/src/features/Settings/stats/features/usage/UsageCards/ActiveModels/ModelTable.tsx@@ -1,6 +1,7 @@import { CategoryBar, useThemeColorRange } from '@lobehub/charts';import { ModelIcon, ProviderIcon } from '@lobehub/icons';-import { Avatar, Collapse, Flexbox, Skeleton, Tag } from '@lobehub/ui';+import { Collapse, Flexbox, Skeleton } from '@lobehub/ui';+import { Avatar, Tag } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Settings/stats/features/usage/UsageCards/ActiveModels/index.tsx b/src/features/Settings/stats/features/usage/UsageCards/ActiveModels/index.tsxindex a3296f0b06a..340e2c1edc0 100644--- a/src/features/Settings/stats/features/usage/UsageCards/ActiveModels/index.tsx+++ b/src/features/Settings/stats/features/usage/UsageCards/ActiveModels/index.tsx@@ -1,5 +1,6 @@import { ModelIcon, ProviderIcon } from '@lobehub/icons';-import { ActionIcon, Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Avatar } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { MaximizeIcon } from 'lucide-react';import { memo, useMemo, useState } from 'react';diff --git a/src/features/Settings/stats/features/usage/UsageTable.tsx b/src/features/Settings/stats/features/usage/UsageTable.tsxindex 61adf2d7c4c..0ecfe9ee9f4 100644--- a/src/features/Settings/stats/features/usage/UsageTable.tsx+++ b/src/features/Settings/stats/features/usage/UsageTable.tsx@@ -1,5 +1,6 @@import { ProviderIcon } from '@lobehub/icons';-import { Flexbox, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { type TableColumnType } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { memo, useEffect, useMemo, useState } from 'react';diff --git a/src/features/Settings/stats/features/visualization/AiHeatmaps.tsx b/src/features/Settings/stats/features/visualization/AiHeatmaps.tsxindex 7ba97bafca4..161b22ff916 100644--- a/src/features/Settings/stats/features/visualization/AiHeatmaps.tsx+++ b/src/features/Settings/stats/features/visualization/AiHeatmaps.tsx@@ -1,7 +1,7 @@import { type HeatmapsProps } from '@lobehub/charts';import { Heatmaps } from '@lobehub/charts';-import { Flexbox, Icon, Tag } from '@lobehub/ui';-import { Tabs } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Tabs, Tag } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { CoinsIcon, FlameIcon, MessageSquareIcon } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/features/Settings/system-tools/features/AppEnvironmentSection.tsx b/src/features/Settings/system-tools/features/AppEnvironmentSection.tsxindex 7c5ddcf26d7..b985db0c469 100644--- a/src/features/Settings/system-tools/features/AppEnvironmentSection.tsx+++ b/src/features/Settings/system-tools/features/AppEnvironmentSection.tsx@@ -1,7 +1,8 @@'use client';import { type FormGroupItemType } from '@lobehub/ui';-import { Flexbox, Form, Tag, Text } from '@lobehub/ui';+import { Flexbox, Form } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Settings/system-tools/features/CliTestSection.tsx b/src/features/Settings/system-tools/features/CliTestSection.tsxindex 4c005502c2a..20d55993c07 100644--- a/src/features/Settings/system-tools/features/CliTestSection.tsx+++ b/src/features/Settings/system-tools/features/CliTestSection.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Input, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { memo, useCallback, useState } from 'react';import { electronSystemService } from '@/services/electron/system';diff --git a/src/features/Settings/system-tools/features/ShellSection.tsx b/src/features/Settings/system-tools/features/ShellSection.tsxindex 9f5b0a486bc..3d849ab3144 100644--- a/src/features/Settings/system-tools/features/ShellSection.tsx+++ b/src/features/Settings/system-tools/features/ShellSection.tsx@@ -2,8 +2,8 @@import { type WindowsShellMode } from '@lobechat/electron-client-ipc';import { type FormGroupItemType } from '@lobehub/ui';-import { Form, Text } from '@lobehub/ui';-import { Select } from '@lobehub/ui/base-ui';+import { Form } from '@lobehub/ui';+import { Select, Text } from '@lobehub/ui/base-ui';import { memo, useCallback, useState } from 'react';import { useTranslation } from 'react-i18next';import useSWR from 'swr';diff --git a/src/features/Settings/system-tools/features/ToolDetectorSection.tsx b/src/features/Settings/system-tools/features/ToolDetectorSection.tsxindex 1eb7a0128ff..d4f30392e5d 100644--- a/src/features/Settings/system-tools/features/ToolDetectorSection.tsx+++ b/src/features/Settings/system-tools/features/ToolDetectorSection.tsx@@ -2,8 +2,8 @@import { type BinaryStatus } from '@lobechat/electron-client-ipc';import { type FormGroupItemType } from '@lobehub/ui';-import { CopyButton, Flexbox, Form, Icon, Tag, Text, Tooltip } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { CopyButton, Flexbox, Form, Icon, Tooltip } from '@lobehub/ui';+import { Button, Tag, Text } from '@lobehub/ui/base-ui';import { CheckCircle2, Loader2Icon, RefreshCw, XCircle } from 'lucide-react';import { memo, useCallback, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/SettingsSearch/SearchResults.tsx b/src/features/SettingsSearch/SearchResults.tsxindex 0575cc2562b..1fe0f854cb5 100644--- a/src/features/SettingsSearch/SearchResults.tsx+++ b/src/features/SettingsSearch/SearchResults.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Loader2Icon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/ShareModal/ShareImage/Preview.tsx b/src/features/ShareModal/ShareImage/Preview.tsxindex 2aa2a091049..0895091a912 100644--- a/src/features/ShareModal/ShareImage/Preview.tsx+++ b/src/features/ShareModal/ShareImage/Preview.tsx@@ -1,6 +1,7 @@import { agentDisplayName, type ConversationContext, type UIChatMessage } from '@lobechat/types';import { ModelTag } from '@lobehub/icons';-import { Avatar, Flexbox, Markdown, Text } from '@lobehub/ui';+import { Flexbox, Markdown } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { cx } from 'antd-style';import { memo } from 'react';diff --git a/src/features/SharePopover/index.tsx b/src/features/SharePopover/index.tsxindex 098de236df7..cd9f1dfedf8 100644--- a/src/features/SharePopover/index.tsx+++ b/src/features/SharePopover/index.tsx@@ -1,7 +1,7 @@'use client';-import { copyToClipboard, Flexbox, Popover, Skeleton, Text, usePopoverContext } from '@lobehub/ui';-import { Button, Checkbox, confirmModal, Select, toast } from '@lobehub/ui/base-ui';+import { copyToClipboard, Flexbox, Popover, Skeleton, usePopoverContext } from '@lobehub/ui';+import { Button, Checkbox, confirmModal, Select, Text, toast } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import {FileOutputIcon,diff --git a/src/features/SkillStore/SkillDetail/AgentItem.tsx b/src/features/SkillStore/SkillDetail/AgentItem.tsxindex b1b8a0dc20e..9c55b1df498 100644--- a/src/features/SkillStore/SkillDetail/AgentItem.tsx+++ b/src/features/SkillStore/SkillDetail/AgentItem.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, Block, Flexbox } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { memo } from 'react';import { itemStyles } from './style';diff --git a/src/features/SkillStore/SkillDetail/Agents.tsx b/src/features/SkillStore/SkillDetail/Agents.tsxindex aa32e220dbf..79d691b99e6 100644--- a/src/features/SkillStore/SkillDetail/Agents.tsx+++ b/src/features/SkillStore/SkillDetail/Agents.tsx@@ -1,6 +1,7 @@'use client';-import { Center, Grid, Icon, Skeleton, Text } from '@lobehub/ui';+import { Center, Grid, Icon, Skeleton } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { InboxIcon, ServerCrash } from 'lucide-react';import { memo, useCallback, useEffect, useRef, useState } from 'react';diff --git a/src/features/SkillStore/SkillDetail/Header.tsx b/src/features/SkillStore/SkillDetail/Header.tsxindex 73ae9a9544e..2d058d6dba8 100644--- a/src/features/SkillStore/SkillDetail/Header.tsx+++ b/src/features/SkillStore/SkillDetail/Header.tsx@@ -1,7 +1,7 @@'use client';-import { Avatar, Flexbox, Icon, Text, Tooltip, useModalContext } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Tooltip, useModalContext } from '@lobehub/ui';+import { Avatar, Button, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Loader2, Plus, SquareArrowOutUpRight } from 'lucide-react';import { memo, useEffect, useRef } from 'react';diff --git a/src/features/SkillStore/SkillDetail/Overview.tsx b/src/features/SkillStore/SkillDetail/Overview.tsxindex 675ffd50897..8a0884f901d 100644--- a/src/features/SkillStore/SkillDetail/Overview.tsx+++ b/src/features/SkillStore/SkillDetail/Overview.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Icon, Text, Typography } from '@lobehub/ui';+import { Flexbox, Icon, Typography } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { ExternalLink } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/SkillStore/SkillDetail/Schema.tsx b/src/features/SkillStore/SkillDetail/Schema.tsxindex 2cd595126ec..2556a3d6c40 100644--- a/src/features/SkillStore/SkillDetail/Schema.tsx+++ b/src/features/SkillStore/SkillDetail/Schema.tsx@@ -1,8 +1,8 @@'use client';import { type SkillItem } from '@lobechat/types';-import { Flexbox, Skeleton, Tag } from '@lobehub/ui';-import { Tabs } from '@lobehub/ui/base-ui';+import { Flexbox, Skeleton } from '@lobehub/ui';+import { Tabs, Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/SkillStore/SkillList/AddSkillButton.tsx b/src/features/SkillStore/SkillList/AddSkillButton.tsxindex 3943168776d..bb6cc010a25 100644--- a/src/features/SkillStore/SkillList/AddSkillButton.tsx+++ b/src/features/SkillStore/SkillList/AddSkillButton.tsx@@ -1,5 +1,5 @@-import { DropdownMenu, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { GithubIcon } from '@lobehub/ui/icons';import { ChevronDown, FileArchive, Grid2x2Plus, Link, PenLine } from 'lucide-react';import { type ReactNode, useState } from 'react';diff --git a/src/features/SkillStore/SkillList/Community/Item.tsx b/src/features/SkillStore/SkillList/Community/Item.tsxindex 805ab3d3715..946aa5d9d57 100644--- a/src/features/SkillStore/SkillList/Community/Item.tsx+++ b/src/features/SkillStore/SkillList/Community/Item.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Block, DropdownMenu, Flexbox, Icon, stopPropagation } from '@lobehub/ui';-import { Button, confirmModal, createModal } from '@lobehub/ui/base-ui';+import { Block, DropdownMenu, Flexbox, Icon, stopPropagation } from '@lobehub/ui';+import { ActionIcon, Button, confirmModal, createModal } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import { t as translate } from 'i18next';import { MoreVerticalIcon, Plus, Trash2 } from 'lucide-react';diff --git a/src/features/SkillStore/SkillList/Community/MarketSkillItem.tsx b/src/features/SkillStore/SkillList/Community/MarketSkillItem.tsxindex 9a589121182..1ab8954340e 100644--- a/src/features/SkillStore/SkillList/Community/MarketSkillItem.tsx+++ b/src/features/SkillStore/SkillList/Community/MarketSkillItem.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Avatar, Block, DropdownMenu, Flexbox, Icon, Tag } from '@lobehub/ui';-import { confirmModal, createModal } from '@lobehub/ui/base-ui';+import { Block, DropdownMenu, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Avatar, confirmModal, createModal, Tag } from '@lobehub/ui/base-ui';import { SkillsIcon } from '@lobehub/ui/icons';import { createStaticStyles, cssVar } from 'antd-style';import { t as translate } from 'i18next';diff --git a/src/features/SkillStore/SkillList/LobeHub/Item.tsx b/src/features/SkillStore/SkillList/LobeHub/Item.tsxindex 8b2bfe35b32..23a9e2da0cd 100644--- a/src/features/SkillStore/SkillList/LobeHub/Item.tsx+++ b/src/features/SkillStore/SkillList/LobeHub/Item.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Block, DropdownMenu, Flexbox, Icon, stopPropagation } from '@lobehub/ui';-import { confirmModal } from '@lobehub/ui/base-ui';+import { Block, DropdownMenu, Flexbox, Icon, stopPropagation } from '@lobehub/ui';+import { ActionIcon, confirmModal } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Loader2, MoreVerticalIcon, Plus, Unplug } from 'lucide-react';import React, { memo } from 'react';diff --git a/src/features/SkillStore/SkillList/MCP/index.tsx b/src/features/SkillStore/SkillList/MCP/index.tsxindex 0519e5ff5c9..349a02f1f74 100644--- a/src/features/SkillStore/SkillList/MCP/index.tsx+++ b/src/features/SkillStore/SkillList/MCP/index.tsx@@ -1,6 +1,7 @@'use client';-import { Center, Icon, Text } from '@lobehub/ui';+import { Center, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { ServerCrash } from 'lucide-react';import { memo, useEffect, useRef } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/SkillStore/SkillList/MarketSkills/MarketSkillDetail.tsx b/src/features/SkillStore/SkillList/MarketSkills/MarketSkillDetail.tsxindex 470e6ff3263..34f3afa2694 100644--- a/src/features/SkillStore/SkillList/MarketSkills/MarketSkillDetail.tsx+++ b/src/features/SkillStore/SkillList/MarketSkills/MarketSkillDetail.tsx@@ -2,7 +2,8 @@import { type SkillResourceTreeNode } from '@lobechat/types';import { Github } from '@lobehub/icons';-import { ActionIcon, Avatar, Flexbox, Icon } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Avatar } from '@lobehub/ui/base-ui';import { Skeleton } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { unzip } from 'fflate';diff --git a/src/features/SkillStore/SkillList/MarketSkills/index.tsx b/src/features/SkillStore/SkillList/MarketSkills/index.tsxindex 60b65318ad4..dc94b867410 100644--- a/src/features/SkillStore/SkillList/MarketSkills/index.tsx+++ b/src/features/SkillStore/SkillList/MarketSkills/index.tsx@@ -1,7 +1,7 @@'use client';-import { Center, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Center, Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { uniqBy } from 'es-toolkit/compat';import { ServerCrash } from 'lucide-react';import { memo, useCallback, useEffect, useRef, useState } from 'react';diff --git a/src/features/SkillsList/RenameSkillModal.tsx b/src/features/SkillsList/RenameSkillModal.tsxindex 70041823ca9..fddbc81d310 100644--- a/src/features/SkillsList/RenameSkillModal.tsx+++ b/src/features/SkillsList/RenameSkillModal.tsx@@ -1,7 +1,13 @@'use client';-import { Flexbox, Input, Text } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import {+ Button,+ createModal,+ type ModalInstance,+ Text,+ useModalContext,+} from '@lobehub/ui/base-ui';import { type InputRef } from 'antd';import { cssVar } from 'antd-style';import { t } from 'i18next';diff --git a/src/features/SkillsList/SkillSection.tsx b/src/features/SkillsList/SkillSection.tsxindex 8f93f673d51..174a420d316 100644--- a/src/features/SkillsList/SkillSection.tsx+++ b/src/features/SkillsList/SkillSection.tsx@@ -1,4 +1,5 @@-import { Accordion, AccordionItem, Center, Flexbox, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Center, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo, type ReactNode, useState } from 'react';diff --git a/src/features/SuggestQuestions/Item.tsx b/src/features/SuggestQuestions/Item.tsxindex e06b5e517bc..d0826047918 100644--- a/src/features/SuggestQuestions/Item.tsx+++ b/src/features/SuggestQuestions/Item.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { memo, useCallback } from 'react';diff --git a/src/features/SuggestQuestions/List.tsx b/src/features/SuggestQuestions/List.tsxindex 08121f1bc2b..d9c898ce82d 100644--- a/src/features/SuggestQuestions/List.tsx+++ b/src/features/SuggestQuestions/List.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { RefreshCw } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/ToolTag/index.tsx b/src/features/ToolTag/index.tsxindex b982e4ffc29..f15ffc3cbd1 100644--- a/src/features/ToolTag/index.tsx+++ b/src/features/ToolTag/index.tsx@@ -2,7 +2,8 @@import { type ComposioAppType } from '@lobechat/const';import { COMPOSIO_APP_TYPES } from '@lobechat/const';-import { Avatar, Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Avatar, Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';import { memo, useMemo } from 'react';diff --git a/src/features/TopicComment/TopicCommentButton.tsx b/src/features/TopicComment/TopicCommentButton.tsxindex 63effe91080..ad785d9be82 100644--- a/src/features/TopicComment/TopicCommentButton.tsx+++ b/src/features/TopicComment/TopicCommentButton.tsx@@ -1,4 +1,4 @@-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Badge } from 'antd';import { MessageCircle } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/TopicDoctorModal/Content.tsx b/src/features/TopicDoctorModal/Content.tsxindex c8678d3e69c..a3de3e200ce 100644--- a/src/features/TopicDoctorModal/Content.tsx+++ b/src/features/TopicDoctorModal/Content.tsx@@ -1,8 +1,8 @@'use client';import type { TopicIssue } from '@lobechat/conversation-flow';-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Text, toast, useModalContext } from '@lobehub/ui/base-ui';import { Skeleton } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { CircleAlert, CircleCheck, EyeOff, Stethoscope } from 'lucide-react';diff --git a/src/features/User/UserAvatar.tsx b/src/features/User/UserAvatar.tsxindex 25f642ef9ff..0a54fc1a8a1 100644--- a/src/features/User/UserAvatar.tsx+++ b/src/features/User/UserAvatar.tsx@@ -1,8 +1,7 @@'use client';import { BRANDING_NAME } from '@lobechat/business-const';-import { type AvatarProps } from '@lobehub/ui';-import { Avatar } from '@lobehub/ui';+import { Avatar, type AvatarProps } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { useMemo } from 'react';diff --git a/src/features/User/UserInfo.tsx b/src/features/User/UserInfo.tsxindex 742335da796..fbeb10d7774 100644--- a/src/features/User/UserInfo.tsx+++ b/src/features/User/UserInfo.tsx@@ -1,7 +1,8 @@'use client';import { type FlexboxProps } from '@lobehub/ui';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { memo } from 'react';diff --git a/src/features/User/UserPanel/LangButton.tsx b/src/features/User/UserPanel/LangButton.tsxindex 362f8ba0f6a..eab88bdc710 100644--- a/src/features/User/UserPanel/LangButton.tsx+++ b/src/features/User/UserPanel/LangButton.tsx@@ -1,6 +1,6 @@import { type DropdownMenuCheckboxItem, type DropdownMenuProps } from '@lobehub/ui';-import { DropdownMenu, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { ChevronRight, GlobeIcon } from 'lucide-react';import { memo, type ReactNode, useMemo } from 'react';diff --git a/src/features/User/UserPanel/ThemeButton.tsx b/src/features/User/UserPanel/ThemeButton.tsxindex 6fee0de1f29..38287901258 100644--- a/src/features/User/UserPanel/ThemeButton.tsx+++ b/src/features/User/UserPanel/ThemeButton.tsx@@ -1,5 +1,6 @@import { type DropdownMenuProps } from '@lobehub/ui';-import { ActionIcon, DropdownMenu, Icon } from '@lobehub/ui';+import { DropdownMenu, Icon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Monitor, Moon, Sun } from 'lucide-react';import { useTheme as useNextThemesTheme } from 'next-themes';import { type FC, useMemo } from 'react';diff --git a/src/features/User/UserPanel/UpgradeBadge.tsx b/src/features/User/UserPanel/UpgradeBadge.tsxindex 358c60a3a1e..677daba0eb7 100644--- a/src/features/User/UserPanel/UpgradeBadge.tsx+++ b/src/features/User/UserPanel/UpgradeBadge.tsx@@ -1,4 +1,5 @@-import { Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { type PropsWithChildren } from 'react';import { memo } from 'react';diff --git a/src/features/User/UserPanel/useMenu.tsx b/src/features/User/UserPanel/useMenu.tsxindex b484ff63e86..1ed69cb7266 100644--- a/src/features/User/UserPanel/useMenu.tsx+++ b/src/features/User/UserPanel/useMenu.tsx@@ -1,6 +1,7 @@import { LOBE_CHAT_CLOUD, UTM_SOURCE } from '@lobechat/business-const';import { isDesktop } from '@lobechat/const';-import { Flexbox, Hotkey, Icon, Tag } from '@lobehub/ui';+import { Flexbox, Hotkey, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import type { ItemType } from 'antd/es/menu/interface';import { BrainCircuit, Cloudy, Download, HardDriveDownload, LogOut, Settings2 } from 'lucide-react';import type { PropsWithChildren } from 'react';diff --git a/src/features/WideScreenContainer/WideScreenButton.tsx b/src/features/WideScreenContainer/WideScreenButton.tsxindex f4064a8724c..7f759c1951c 100644--- a/src/features/WideScreenContainer/WideScreenButton.tsx+++ b/src/features/WideScreenContainer/WideScreenButton.tsx@@ -1,6 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { PanelLeftRightDashedIcon, SquareChartGanttIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/Work/WorkSummaryCard.tsx b/src/features/Work/WorkSummaryCard.tsxindex c32f1557430..0decfd1870d 100644--- a/src/features/Work/WorkSummaryCard.tsx+++ b/src/features/Work/WorkSummaryCard.tsx@@ -1,7 +1,8 @@'use client';import type { WorkSummaryItem } from '@lobechat/types';-import { Flexbox, Tag, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { Trash2Icon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/WorkGallery/WorkPreview.tsx b/src/features/WorkGallery/WorkPreview.tsxindex e88d72de517..21328fb3094 100644--- a/src/features/WorkGallery/WorkPreview.tsx+++ b/src/features/WorkGallery/WorkPreview.tsx@@ -2,7 +2,8 @@import type { WorkSummaryItem } from '@lobechat/types';import { Github } from '@lobehub/icons';-import { Flexbox, Tag, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { CheckCircle2Icon, GitPullRequestIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/WorkGallery/WorkPreviewCard.tsx b/src/features/WorkGallery/WorkPreviewCard.tsxindex 43d5c42272f..fad50f6fca0 100644--- a/src/features/WorkGallery/WorkPreviewCard.tsx+++ b/src/features/WorkGallery/WorkPreviewCard.tsx@@ -2,7 +2,8 @@import type { WorkSummaryItem } from '@lobechat/types';import { formatTokenNumber } from '@lobechat/utils/format';-import { Avatar, Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { Trash2Icon } from 'lucide-react';import { memo } from 'react';diff --git a/src/features/WorkGallery/index.tsx b/src/features/WorkGallery/index.tsxindex af9a5126fff..5886de9efcf 100644--- a/src/features/WorkGallery/index.tsx+++ b/src/features/WorkGallery/index.tsx@@ -1,8 +1,8 @@'use client';import type { WorkSummaryItem } from '@lobechat/types';-import { Avatar, Center, Empty, Flexbox, Skeleton } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Center, Empty, Flexbox, Skeleton } from '@lobehub/ui';+import { Avatar, Button } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { PackageOpenIcon, TriangleAlertIcon } from 'lucide-react';import { memo, useEffect, useMemo, useRef, useState } from 'react';diff --git a/src/features/WorkingDirectory/AddWorkingDirModal.tsx b/src/features/WorkingDirectory/AddWorkingDirModal.tsxindex 25034055899..7398e82a421 100644--- a/src/features/WorkingDirectory/AddWorkingDirModal.tsx+++ b/src/features/WorkingDirectory/AddWorkingDirModal.tsx@@ -1,7 +1,13 @@'use client';-import { Flexbox, Input, Text } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import {+ Button,+ createModal,+ type ModalInstance,+ Text,+ useModalContext,+} from '@lobehub/ui/base-ui';import { type InputRef } from 'antd';import { cssVar } from 'antd-style';import { t } from 'i18next';diff --git a/src/features/WorkspaceDeleteAllModal/index.tsx b/src/features/WorkspaceDeleteAllModal/index.tsxindex fb1b382d6f2..e5249a1c380 100644--- a/src/features/WorkspaceDeleteAllModal/index.tsx+++ b/src/features/WorkspaceDeleteAllModal/index.tsx@@ -1,11 +1,12 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';import {Button,Checkbox,createModal,type ModalInstance,+ Text,useModalContext,} from '@lobehub/ui/base-ui';import { memo, useCallback, useState } from 'react';diff --git a/src/features/WorkspaceSetting/Labels/DeleteLabelModal.tsx b/src/features/WorkspaceSetting/Labels/DeleteLabelModal.tsxindex 2d273308ff2..c110f1416dc 100644--- a/src/features/WorkspaceSetting/Labels/DeleteLabelModal.tsx+++ b/src/features/WorkspaceSetting/Labels/DeleteLabelModal.tsx@@ -1,6 +1,13 @@import { type AgentLabelListItem } from '@lobechat/types';-import { Flexbox, Input, Text } from '@lobehub/ui';-import { Button, createModal, ModalFooter, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import {+ Button,+ createModal,+ ModalFooter,+ Text,+ toast,+ useModalContext,+} from '@lobehub/ui/base-ui';import { t as translate } from 'i18next';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/features/WorkspaceSetting/Labels/index.tsx b/src/features/WorkspaceSetting/Labels/index.tsxindex 57df74839ae..111848ae61c 100644--- a/src/features/WorkspaceSetting/Labels/index.tsx+++ b/src/features/WorkspaceSetting/Labels/index.tsx@@ -1,8 +1,8 @@'use client';import { type AgentLabelListItem } from '@lobechat/types';-import { ActionIcon, Empty, Flexbox, Icon, SearchBar, Text, Tooltip } from '@lobehub/ui';-import { Button, confirmModal, DropdownMenu, toast } from '@lobehub/ui/base-ui';+import { Empty, Flexbox, Icon, SearchBar, Tooltip } from '@lobehub/ui';+import { ActionIcon, Button, confirmModal, DropdownMenu, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import dayjs from 'dayjs';import isEqual from 'fast-deep-equal';diff --git a/src/features/WorkspaceSetting/Layout.tsx b/src/features/WorkspaceSetting/Layout.tsxindex 5a30ed3d076..7a671dca09b 100644--- a/src/features/WorkspaceSetting/Layout.tsx+++ b/src/features/WorkspaceSetting/Layout.tsx@@ -1,6 +1,6 @@'use client';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { type FC, memo } from 'react';import { Outlet, useMatch } from 'react-router';diff --git a/src/features/WorkspaceSetting/SideBar/Body.tsx b/src/features/WorkspaceSetting/SideBar/Body.tsxindex 82aa09b0660..c3682f498bf 100644--- a/src/features/WorkspaceSetting/SideBar/Body.tsx+++ b/src/features/WorkspaceSetting/SideBar/Body.tsx@@ -1,6 +1,7 @@'use client';-import { Accordion, AccordionItem, Flexbox, Text } from '@lobehub/ui';+import { Accordion, AccordionItem, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, useMemo } from 'react';import { Link } from 'react-router';diff --git a/src/features/WorkspaceSetting/Title.tsx b/src/features/WorkspaceSetting/Title.tsxindex 78ba5ded223..cc5d4d2ba06 100644--- a/src/features/WorkspaceSetting/Title.tsx+++ b/src/features/WorkspaceSetting/Title.tsx@@ -1,4 +1,4 @@-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo, type PropsWithChildren } from 'react';const WorkspaceSettingsTitle = memo<PropsWithChildren>(({ children }) => (diff --git a/src/layout/AuthProvider/MarketAuth/ClaimResourcesModal.tsx b/src/layout/AuthProvider/MarketAuth/ClaimResourcesModal.tsxindex 54777a011b3..2284f726992 100644--- a/src/layout/AuthProvider/MarketAuth/ClaimResourcesModal.tsx+++ b/src/layout/AuthProvider/MarketAuth/ClaimResourcesModal.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';-import { Checkbox, toast } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Checkbox, Text, toast } from '@lobehub/ui/base-ui';import { List } from 'antd';import { cssVar } from 'antd-style';import { Package, Wrench } from 'lucide-react';diff --git a/src/layout/AuthProvider/MarketAuth/MarketAuthConfirmModal.tsx b/src/layout/AuthProvider/MarketAuth/MarketAuthConfirmModal.tsxindex 469e4f199c6..9e09a7f9235 100644--- a/src/layout/AuthProvider/MarketAuth/MarketAuthConfirmModal.tsx+++ b/src/layout/AuthProvider/MarketAuth/MarketAuthConfirmModal.tsx@@ -1,7 +1,8 @@'use client';import { BRANDING_NAME } from '@lobechat/business-const';-import { Block, Text } from '@lobehub/ui';+import { Block } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { memo } from 'react';import { Trans, useTranslation } from 'react-i18next';diff --git a/src/layout/AuthProvider/MarketAuth/ProfileSetupModal.tsx b/src/layout/AuthProvider/MarketAuth/ProfileSetupModal.tsxindex a5272604d7b..2bd627e55f6 100644--- a/src/layout/AuthProvider/MarketAuth/ProfileSetupModal.tsx+++ b/src/layout/AuthProvider/MarketAuth/ProfileSetupModal.tsx@@ -1,7 +1,7 @@'use client';-import { Center, Flexbox, Icon, Input, Text, TextArea, Tooltip } from '@lobehub/ui';-import { confirmModal, toast } from '@lobehub/ui/base-ui';+import { Center, Flexbox, Icon, Input, TextArea, Tooltip } from '@lobehub/ui';+import { confirmModal, Text, toast } from '@lobehub/ui/base-ui';import { type UploadProps } from 'antd';import { Form, Upload } from 'antd';import { cssVar } from 'antd-style';diff --git a/src/layout/AuthProvider/MarketAuth/SocialConnectButton.tsx b/src/layout/AuthProvider/MarketAuth/SocialConnectButton.tsxindex 26d298f4aa4..fd90fd02754 100644--- a/src/layout/AuthProvider/MarketAuth/SocialConnectButton.tsx+++ b/src/layout/AuthProvider/MarketAuth/SocialConnectButton.tsx@@ -1,8 +1,8 @@'use client';import { SiGithub, SiX } from '@icons-pack/react-simple-icons';-import { ActionIcon, Flexbox, Text, Tooltip } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Tooltip } from '@lobehub/ui';+import { ActionIcon, Button, Text } from '@lobehub/ui/base-ui';import { Spin } from 'antd';import { cssVar } from 'antd-style';import { ArrowRight, Link2Off, Loader2 } from 'lucide-react';diff --git a/src/routes/(main)/(create)/components/GenerationModelItem.tsx b/src/routes/(main)/(create)/components/GenerationModelItem.tsxindex 8734c53f548..19c43dfe603 100644--- a/src/routes/(main)/(create)/components/GenerationModelItem.tsx+++ b/src/routes/(main)/(create)/components/GenerationModelItem.tsx@@ -3,7 +3,8 @@import { BRANDING_PROVIDER } from '@lobechat/business-const';import { CREDITS_PER_DOLLAR } from '@lobechat/const/currency';import { ModelIcon } from '@lobehub/icons';-import { Flexbox, Popover, Text } from '@lobehub/ui';+import { Flexbox, Popover } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import type { AiModelForSelect } from 'model-bank';import numeral from 'numeral';diff --git a/src/routes/(main)/(create)/features/GenerationInput/UploadCard.tsx b/src/routes/(main)/(create)/features/GenerationInput/UploadCard.tsxindex 154348a09db..446c00c1256 100644--- a/src/routes/(main)/(create)/features/GenerationInput/UploadCard.tsx+++ b/src/routes/(main)/(create)/features/GenerationInput/UploadCard.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Block } from '@lobehub/ui';+import { Block } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Spin } from 'antd';import { createStaticStyles, cssVar, cx } from 'antd-style';import { Plus, X } from 'lucide-react';diff --git a/src/routes/(main)/(create)/features/GenerationLayout/Body/List/Item/GridItem.tsx b/src/routes/(main)/(create)/features/GenerationLayout/Body/List/Item/GridItem.tsxindex b5a6de276a3..8a6af10ba18 100644--- a/src/routes/(main)/(create)/features/GenerationLayout/Body/List/Item/GridItem.tsx+++ b/src/routes/(main)/(create)/features/GenerationLayout/Body/List/Item/GridItem.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, ContextMenuTrigger, Flexbox, type GenericItemType, Tooltip } from '@lobehub/ui';+import { ContextMenuTrigger, Flexbox, type GenericItemType, Tooltip } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import type { CSSProperties, MouseEvent } from 'react';import { memo } from 'react';diff --git a/src/routes/(main)/(create)/features/GenerationLayout/Body/List/Item/ListItem.tsx b/src/routes/(main)/(create)/features/GenerationLayout/Body/List/Item/ListItem.tsxindex 684ca2a5a1f..d0ebda3fd10 100644--- a/src/routes/(main)/(create)/features/GenerationLayout/Body/List/Item/ListItem.tsx+++ b/src/routes/(main)/(create)/features/GenerationLayout/Body/List/Item/ListItem.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Avatar, type GenericItemType } from '@lobehub/ui';+import { type GenericItemType } from '@lobehub/ui';+import { ActionIcon, Avatar } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Trash } from 'lucide-react';import type { CSSProperties, MouseEvent } from 'react';diff --git a/src/routes/(main)/(create)/features/GenerationLayout/Body/index.tsx b/src/routes/(main)/(create)/features/GenerationLayout/Body/index.tsxindex 3b5df70d045..a0cd668c395 100644--- a/src/routes/(main)/(create)/features/GenerationLayout/Body/index.tsx+++ b/src/routes/(main)/(create)/features/GenerationLayout/Body/index.tsx@@ -1,7 +1,7 @@'use client';-import { Accordion, AccordionItem, Flexbox, Icon, Text } from '@lobehub/ui';-import { Tabs } from '@lobehub/ui/base-ui';+import { Accordion, AccordionItem, Flexbox, Icon } from '@lobehub/ui';+import { Tabs, Text } from '@lobehub/ui/base-ui';import { LayoutGrid, ListIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/(create)/image/features/ConfigPanel/components/AspectRatioSelect/index.tsx b/src/routes/(main)/(create)/image/features/ConfigPanel/components/AspectRatioSelect/index.tsxindex 4eea52ee938..5b67f664702 100644--- a/src/routes/(main)/(create)/image/features/ConfigPanel/components/AspectRatioSelect/index.tsx+++ b/src/routes/(main)/(create)/image/features/ConfigPanel/components/AspectRatioSelect/index.tsx@@ -1,7 +1,8 @@'use client';import type { GridProps } from '@lobehub/ui';-import { Block, Center, Grid, Text } from '@lobehub/ui';+import { Block, Center, Grid } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import type { ReactNode } from 'react';import { memo } from 'react';diff --git a/src/routes/(main)/(create)/image/features/ConfigPanel/components/DimensionControlGroup.tsx b/src/routes/(main)/(create)/image/features/ConfigPanel/components/DimensionControlGroup.tsxindex f168b3766c1..1ac82880f06 100644--- a/src/routes/(main)/(create)/image/features/ConfigPanel/components/DimensionControlGroup.tsx+++ b/src/routes/(main)/(create)/image/features/ConfigPanel/components/DimensionControlGroup.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Flexbox } from '@lobehub/ui';-import { SliderWithInput } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, SliderWithInput } from '@lobehub/ui/base-ui';import { LockIcon, UnlockIcon } from 'lucide-react';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/(create)/image/features/ConfigPanel/components/ImageNum.tsx b/src/routes/(main)/(create)/image/features/ConfigPanel/components/ImageNum.tsxindex 74a14b344f3..721127479c5 100644--- a/src/routes/(main)/(create)/image/features/ConfigPanel/components/ImageNum.tsx+++ b/src/routes/(main)/(create)/image/features/ConfigPanel/components/ImageNum.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Flexbox, InputNumber } from '@lobehub/ui';-import { Tabs, type TabsItem } from '@lobehub/ui/base-ui';+import { Flexbox, InputNumber } from '@lobehub/ui';+import { ActionIcon, Tabs, type TabsItem } from '@lobehub/ui/base-ui';import { Check, Plus, X } from 'lucide-react';import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';diff --git a/src/routes/(main)/(create)/image/features/ConfigPanel/components/Select/index.tsx b/src/routes/(main)/(create)/image/features/ConfigPanel/components/Select/index.tsxindex 639f0ba833e..7613e41d892 100644--- a/src/routes/(main)/(create)/image/features/ConfigPanel/components/Select/index.tsx+++ b/src/routes/(main)/(create)/image/features/ConfigPanel/components/Select/index.tsx@@ -1,8 +1,8 @@'use client';import { type GridProps } from '@lobehub/ui';-import { Block, Center, Grid, Text } from '@lobehub/ui';-import { Select } from '@lobehub/ui/base-ui';+import { Block, Center, Grid } from '@lobehub/ui';+import { Select, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { type ReactNode } from 'react';import { memo } from 'react';diff --git a/src/routes/(main)/(create)/image/features/GenerationFeed/BatchItem.tsx b/src/routes/(main)/(create)/image/features/GenerationFeed/BatchItem.tsxindex f47ebafc3d5..fde0ec91c30 100644--- a/src/routes/(main)/(create)/image/features/GenerationFeed/BatchItem.tsx+++ b/src/routes/(main)/(create)/image/features/GenerationFeed/BatchItem.tsx@@ -2,8 +2,8 @@import { useAutoAnimate } from '@formkit/auto-animate/react';import { ModelIcon } from '@lobehub/icons';-import { ActionIconGroup, Block, Flexbox, Grid, Image, Markdown, Tag, Text } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { ActionIconGroup, Block, Flexbox, Grid, Image, Markdown } from '@lobehub/ui';+import { Tag, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import dayjs from 'dayjs';import { omit } from 'es-toolkit/compat';diff --git a/src/routes/(main)/(create)/image/features/GenerationFeed/GenerationItem/ElapsedTime.tsx b/src/routes/(main)/(create)/image/features/GenerationFeed/GenerationItem/ElapsedTime.tsxindex 746899cbd44..16419dd7df0 100644--- a/src/routes/(main)/(create)/image/features/GenerationFeed/GenerationItem/ElapsedTime.tsx+++ b/src/routes/(main)/(create)/image/features/GenerationFeed/GenerationItem/ElapsedTime.tsx@@ -1,6 +1,6 @@'use client';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { useEffect, useRef, useState } from 'react';interface ElapsedTimeProps {diff --git a/src/routes/(main)/(create)/image/features/GenerationFeed/GenerationItem/ErrorState.tsx b/src/routes/(main)/(create)/image/features/GenerationFeed/GenerationItem/ErrorState.tsxindex af51bb5056b..5caee67755a 100644--- a/src/routes/(main)/(create)/image/features/GenerationFeed/GenerationItem/ErrorState.tsx+++ b/src/routes/(main)/(create)/image/features/GenerationFeed/GenerationItem/ErrorState.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Center, Icon, Text } from '@lobehub/ui';+import { Block, Center, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { ImageOffIcon } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/routes/(main)/(create)/image/features/GenerationFeed/ReferenceImages.tsx b/src/routes/(main)/(create)/image/features/GenerationFeed/ReferenceImages.tsxindex efe199155c5..137061dc00b 100644--- a/src/routes/(main)/(create)/image/features/GenerationFeed/ReferenceImages.tsx+++ b/src/routes/(main)/(create)/image/features/GenerationFeed/ReferenceImages.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Image } from '@lobehub/ui';+import { Flexbox, Image } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { QuoteIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/(create)/image/features/PromptInput/index.tsx b/src/routes/(main)/(create)/image/features/PromptInput/index.tsxindex c31da05cfb1..e7914111e1d 100644--- a/src/routes/(main)/(create)/image/features/PromptInput/index.tsx+++ b/src/routes/(main)/(create)/image/features/PromptInput/index.tsx@@ -1,8 +1,8 @@'use client';import { ModelIcon } from '@lobehub/icons';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';-import { Switch, Tabs } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Switch, Tabs, Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { Images } from 'lucide-react';import { memo, useEffect, useRef } from 'react';diff --git a/src/routes/(main)/(create)/video/features/GenerationFeed/BatchItem.tsx b/src/routes/(main)/(create)/video/features/GenerationFeed/BatchItem.tsxindex f65ea6c9dd7..2688cb52f4c 100644--- a/src/routes/(main)/(create)/video/features/GenerationFeed/BatchItem.tsx+++ b/src/routes/(main)/(create)/video/features/GenerationFeed/BatchItem.tsx@@ -1,8 +1,8 @@'use client';import { ModelIcon } from '@lobehub/icons';-import { ActionIconGroup, Block, Flexbox, Markdown, Tag, Text } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { ActionIconGroup, Block, Flexbox, Markdown } from '@lobehub/ui';+import { Tag, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import dayjs from 'dayjs';import { CopyIcon, RotateCcwSquareIcon, Trash2 } from 'lucide-react';diff --git a/src/routes/(main)/(create)/video/features/GenerationFeed/VideoErrorItem.tsx b/src/routes/(main)/(create)/video/features/GenerationFeed/VideoErrorItem.tsxindex 3ca57707b42..214efcf8158 100644--- a/src/routes/(main)/(create)/video/features/GenerationFeed/VideoErrorItem.tsx+++ b/src/routes/(main)/(create)/video/features/GenerationFeed/VideoErrorItem.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Center, Icon, Text } from '@lobehub/ui';+import { Block, Center, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { VideoOffIcon } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/routes/(main)/(create)/video/features/GenerationFeed/VideoReferenceFrames.tsx b/src/routes/(main)/(create)/video/features/GenerationFeed/VideoReferenceFrames.tsxindex 7b10d2d2ad8..5960975b767 100644--- a/src/routes/(main)/(create)/video/features/GenerationFeed/VideoReferenceFrames.tsx+++ b/src/routes/(main)/(create)/video/features/GenerationFeed/VideoReferenceFrames.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Image } from '@lobehub/ui';+import { Flexbox, Image } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { QuoteIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/(create)/video/features/PromptInput/index.tsx b/src/routes/(main)/(create)/video/features/PromptInput/index.tsxindex 669c178da15..bbc8399687d 100644--- a/src/routes/(main)/(create)/video/features/PromptInput/index.tsx+++ b/src/routes/(main)/(create)/video/features/PromptInput/index.tsx@@ -1,8 +1,8 @@'use client';import { ModelIcon } from '@lobehub/icons';-import { ActionIcon, Flexbox, InputNumber, Text } from '@lobehub/ui';-import { SliderWithInput, Switch, Tabs } from '@lobehub/ui/base-ui';+import { Flexbox, InputNumber } from '@lobehub/ui';+import { ActionIcon, SliderWithInput, Switch, Tabs, Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { Clock3, Dices } from 'lucide-react';import { memo, useCallback, useEffect, useMemo, useRef } from 'react';diff --git a/src/routes/(main)/[workspaceSlug]/settings/credential/features/PersonalCredsSection/ShareToggle.tsx b/src/routes/(main)/[workspaceSlug]/settings/credential/features/PersonalCredsSection/ShareToggle.tsxindex 5239db7b630..1ac43286460 100644--- a/src/routes/(main)/[workspaceSlug]/settings/credential/features/PersonalCredsSection/ShareToggle.tsx+++ b/src/routes/(main)/[workspaceSlug]/settings/credential/features/PersonalCredsSection/ShareToggle.tsx@@ -1,8 +1,8 @@'use client';import { type UserCredSummary } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';-import { Segmented, Switch, toast } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Segmented, Switch, Text, toast } from '@lobehub/ui/base-ui';import { useMutation } from '@tanstack/react-query';import { type FC, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/[workspaceSlug]/settings/credential/index.tsx b/src/routes/(main)/[workspaceSlug]/settings/credential/index.tsxindex 962f3a478cd..13459eb09d7 100644--- a/src/routes/(main)/[workspaceSlug]/settings/credential/index.tsx+++ b/src/routes/(main)/[workspaceSlug]/settings/credential/index.tsx@@ -1,7 +1,7 @@'use client';-import { Block, Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';-import { Button, Tabs } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Button, Tabs, Text } from '@lobehub/ui/base-ui';import { Empty } from 'antd';import { createStaticStyles } from 'antd-style';import { Plus, UserRoundIcon, UsersIcon } from 'lucide-react';diff --git a/src/routes/(main)/agent/channel/Header.tsx b/src/routes/(main)/agent/channel/Header.tsxindex 4e9fe77e334..e11005d7d5c 100644--- a/src/routes/(main)/agent/channel/Header.tsx+++ b/src/routes/(main)/agent/channel/Header.tsx@@ -1,9 +1,16 @@'use client';import { exportJSONFile } from '@lobechat/utils/client';-import { ActionIcon, Flexbox, Icon, Tag } from '@lobehub/ui';-import { confirmModal, type DropdownItem, DropdownMenu, Switch } from '@lobehub/ui/base-ui';-import { toast } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import {+ ActionIcon,+ confirmModal,+ type DropdownItem,+ DropdownMenu,+ Switch,+ Tag,+ toast,+} from '@lobehub/ui/base-ui';import {BookOpen,Download,diff --git a/src/routes/(main)/agent/channel/detail/Body.tsx b/src/routes/(main)/agent/channel/detail/Body.tsxindex d68ee046bf0..09d9d5d6326 100644--- a/src/routes/(main)/agent/channel/detail/Body.tsx+++ b/src/routes/(main)/agent/channel/detail/Body.tsx@@ -1,8 +1,8 @@'use client';-import { Block, Flexbox, Form, FormGroup, FormItem, Icon, Tag, Text } from '@lobehub/ui';+import { Block, Flexbox, Form, FormGroup, FormItem, Icon } from '@lobehub/ui';import type { SelectOption } from '@lobehub/ui/base-ui';-import { Button, Select, Switch } from '@lobehub/ui/base-ui';+import { Button, Select, Switch, Tag, Text } from '@lobehub/ui/base-ui';import { Form as AntdForm, type FormInstance, InputNumber, Popconfirm } from 'antd';import { createStaticStyles } from 'antd-style';import {diff --git a/src/routes/(main)/agent/channel/detail/Footer.tsx b/src/routes/(main)/agent/channel/detail/Footer.tsxindex 03c4a6a9898..38937f3370c 100644--- a/src/routes/(main)/agent/channel/detail/Footer.tsx+++ b/src/routes/(main)/agent/channel/detail/Footer.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Tag } from '@lobehub/ui';-import { Alert, Button } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Alert, Button, Tag } from '@lobehub/ui/base-ui';import { Form as AntdForm, type FormInstance } from 'antd';import { createStaticStyles } from 'antd-style';import { RefreshCw, Trash2 } from 'lucide-react';diff --git a/src/routes/(main)/agent/channel/list.tsx b/src/routes/(main)/agent/channel/list.tsxindex bea6e0358d6..839061db119 100644--- a/src/routes/(main)/agent/channel/list.tsx+++ b/src/routes/(main)/agent/channel/list.tsx@@ -1,7 +1,8 @@'use client';import { agentDisplayName } from '@lobechat/types';-import { Avatar, Block, Flexbox, Tag, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, responsive, useTheme } from 'antd-style';import isEqual from 'fast-deep-equal';import { memo } from 'react';diff --git a/src/routes/(main)/agent/channel/platform/imessage/CredentialExtras.tsx b/src/routes/(main)/agent/channel/platform/imessage/CredentialExtras.tsxindex 2633c3d5fd8..6b952c827ab 100644--- a/src/routes/(main)/agent/channel/platform/imessage/CredentialExtras.tsx+++ b/src/routes/(main)/agent/channel/platform/imessage/CredentialExtras.tsx@@ -2,8 +2,8 @@import { isDesktop } from '@lobechat/const';import type { ImessageBridgeConfig, ImessageBridgeStatus } from '@lobechat/electron-client-ipc';-import { Flexbox, FormItem, Icon, Tag, Text } from '@lobehub/ui';-import { Button, Switch, toast } from '@lobehub/ui/base-ui';+import { Flexbox, FormItem, Icon } from '@lobehub/ui';+import { Button, Switch, Tag, Text, toast } from '@lobehub/ui/base-ui';import { Form as AntdForm } from 'antd';import { createStaticStyles } from 'antd-style';import { KeyRound, Link2, Wrench } from 'lucide-react';diff --git a/src/routes/(main)/agent/channel/platform/wechat/QrCodeAuth.tsx b/src/routes/(main)/agent/channel/platform/wechat/QrCodeAuth.tsxindex eb7eb0ca800..036aec0eba3 100644--- a/src/routes/(main)/agent/channel/platform/wechat/QrCodeAuth.tsx+++ b/src/routes/(main)/agent/channel/platform/wechat/QrCodeAuth.tsx@@ -1,8 +1,8 @@'use client';import { InfoCircleOutlined } from '@ant-design/icons';-import { Flexbox, Text } from '@lobehub/ui';-import { Alert, Button, type ButtonProps } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Alert, Button, type ButtonProps, Text } from '@lobehub/ui/base-ui';import { QRCode } from 'antd';import { createStaticStyles } from 'antd-style';import { QrCode, RefreshCw } from 'lucide-react';diff --git a/src/routes/(main)/agent/features/Conversation/AgentWelcome/ToolAuthAlert.tsx b/src/routes/(main)/agent/features/Conversation/AgentWelcome/ToolAuthAlert.tsxindex d7c32fe5796..ffb4d4d10fe 100644--- a/src/routes/(main)/agent/features/Conversation/AgentWelcome/ToolAuthAlert.tsx+++ b/src/routes/(main)/agent/features/Conversation/AgentWelcome/ToolAuthAlert.tsx@@ -2,8 +2,8 @@import { type ComposioAppType } from '@lobechat/const';import { COMPOSIO_APP_TYPES } from '@lobechat/const';-import { ActionIcon, Avatar, Flexbox, Icon, Text } from '@lobehub/ui';-import { Alert, Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Alert, Avatar, Button, Text } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { createStaticStyles, cssVar, cx } from 'antd-style';import isEqual from 'fast-deep-equal';diff --git a/src/routes/(main)/agent/features/Conversation/Header/HeaderActions/index.tsx b/src/routes/(main)/agent/features/Conversation/Header/HeaderActions/index.tsxindex e0535f0c553..ad37800f270 100644--- a/src/routes/(main)/agent/features/Conversation/Header/HeaderActions/index.tsx+++ b/src/routes/(main)/agent/features/Conversation/Header/HeaderActions/index.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MoreHorizontal } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/agent/features/Conversation/Header/HeaderActions/useMenu.tsx b/src/routes/(main)/agent/features/Conversation/Header/HeaderActions/useMenu.tsxindex c40351225c5..178a937947d 100644--- a/src/routes/(main)/agent/features/Conversation/Header/HeaderActions/useMenu.tsx+++ b/src/routes/(main)/agent/features/Conversation/Header/HeaderActions/useMenu.tsx@@ -1,9 +1,8 @@'use client';import type { DropdownItem } from '@lobehub/ui';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';-import { confirmModal, type ModalInstance } from '@lobehub/ui/base-ui';-import { toast } from '@lobehub/ui/base-ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { confirmModal, type ModalInstance, Text, toast } from '@lobehub/ui/base-ui';import {Clock3Icon,Copy,diff --git a/src/routes/(main)/agent/features/Conversation/Header/ShareButton/index.tsx b/src/routes/(main)/agent/features/Conversation/Header/ShareButton/index.tsxindex 957ec7ca023..79085a3d8c7 100644--- a/src/routes/(main)/agent/features/Conversation/Header/ShareButton/index.tsx+++ b/src/routes/(main)/agent/features/Conversation/Header/ShareButton/index.tsx@@ -1,6 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Share2 } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/agent/features/Conversation/Header/Tags/MemberCountTag.tsx b/src/routes/(main)/agent/features/Conversation/Header/Tags/MemberCountTag.tsxindex f4a0ad5b444..065e78f50b1 100644--- a/src/routes/(main)/agent/features/Conversation/Header/Tags/MemberCountTag.tsx+++ b/src/routes/(main)/agent/features/Conversation/Header/Tags/MemberCountTag.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Tag, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { Users } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/agent/features/Conversation/Header/TerminalPanelToggle/index.tsx b/src/routes/(main)/agent/features/Conversation/Header/TerminalPanelToggle/index.tsxindex 55280bfd2ca..37f7b917462 100644--- a/src/routes/(main)/agent/features/Conversation/Header/TerminalPanelToggle/index.tsx+++ b/src/routes/(main)/agent/features/Conversation/Header/TerminalPanelToggle/index.tsx@@ -1,7 +1,7 @@'use client';import { HotkeyEnum } from '@lobechat/const/hotkeys';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { SquareTerminalIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/agent/features/Conversation/Header/WorkingPanelToggle/index.tsx b/src/routes/(main)/agent/features/Conversation/Header/WorkingPanelToggle/index.tsxindex 1905462d67d..13bc62f5232 100644--- a/src/routes/(main)/agent/features/Conversation/Header/WorkingPanelToggle/index.tsx+++ b/src/routes/(main)/agent/features/Conversation/Header/WorkingPanelToggle/index.tsx@@ -1,7 +1,7 @@'use client';import { DESKTOP_HEADER_ICON_SMALL_SIZE } from '@lobechat/const';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { PanelRightOpenIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/agent/features/Conversation/Header/index.tsx b/src/routes/(main)/agent/features/Conversation/Header/index.tsxindex 32c91a73042..2adf9289a9f 100644--- a/src/routes/(main)/agent/features/Conversation/Header/index.tsx+++ b/src/routes/(main)/agent/features/Conversation/Header/index.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo } from 'react';diff --git a/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/CodexQuotaMenu.tsx b/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/CodexQuotaMenu.tsxindex 48be3a75388..9a7b8097bc9 100644--- a/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/CodexQuotaMenu.tsx+++ b/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/CodexQuotaMenu.tsx@@ -6,8 +6,8 @@ import type {CodexRateLimitResetCredit,} from '@lobechat/electron-client-ipc';import { uuid } from '@lobechat/utils';-import { Collapse, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, confirmModal, toast } from '@lobehub/ui/base-ui';+import { Collapse, Flexbox, Icon } from '@lobehub/ui';+import { Button, confirmModal, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { RotateCcwIcon } from 'lucide-react';import { memo, useCallback, useEffect, useRef, useState } from 'react';diff --git a/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/QuotaAccountManagerModal.tsx b/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/QuotaAccountManagerModal.tsxindex 3c4be3a6a55..9d9c65b0ec6 100644--- a/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/QuotaAccountManagerModal.tsx+++ b/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/QuotaAccountManagerModal.tsx@@ -1,8 +1,16 @@'use client';import { currentUtilization, isWeeklyAllLimit } from '@lobechat/heterogeneous-agents/quota';-import { ActionIcon, DropdownMenu, Flexbox, Icon, Input, Text } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, RadioGroup, Switch } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Icon, Input } from '@lobehub/ui';+import {+ ActionIcon,+ Button,+ createModal,+ type ModalInstance,+ RadioGroup,+ Switch,+ Text,+} from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { t as i18nT } from 'i18next';import {diff --git a/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/QuotaAccountSwitcher.tsx b/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/QuotaAccountSwitcher.tsxindex 1917d2195e0..bad1117677f 100644--- a/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/QuotaAccountSwitcher.tsx+++ b/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/QuotaAccountSwitcher.tsx@@ -1,8 +1,8 @@'use client';import type { ClaudeCodeQuotaSnapshot } from '@lobechat/electron-client-ipc';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { CalendarDaysIcon } from 'lucide-react';import { memo, useCallback } from 'react';diff --git a/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/QuotaMenu.tsx b/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/QuotaMenu.tsxindex 7c8f8d56eef..e94a25d6f81 100644--- a/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/QuotaMenu.tsx+++ b/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/QuotaMenu/QuotaMenu.tsx@@ -1,7 +1,8 @@'use client';import type { HeteroQuotaWindow } from '@lobechat/electron-client-ipc';-import { ActionIcon, Flexbox, Icon, Popover, Skeleton, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Popover, Skeleton, Tooltip } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { ChevronDownIcon, GaugeIcon, RefreshCwIcon } from 'lucide-react';import type { ReactNode } from 'react';diff --git a/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/ScheduledSendChip.tsx b/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/ScheduledSendChip.tsxindex f0cd5c9bb80..c09f532bd8f 100644--- a/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/ScheduledSendChip.tsx+++ b/src/routes/(main)/agent/features/Conversation/HeterogeneousChatInput/ScheduledSendChip.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import dayjs from 'dayjs';import { CalendarClockIcon, XIcon } from 'lucide-react';diff --git a/src/routes/(main)/agent/features/TelemetryNotification.tsx b/src/routes/(main)/agent/features/TelemetryNotification.tsxindex c76d3c6ee99..8fd058c8044 100644--- a/src/routes/(main)/agent/features/TelemetryNotification.tsx+++ b/src/routes/(main)/agent/features/TelemetryNotification.tsx@@ -1,8 +1,8 @@'use client';import { BRANDING_NAME } from '@lobechat/business-const';-import { Avatar, Flexbox, Icon } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Button } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { LucideArrowUpRightFromSquare, TelescopeIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/agent/profile/features/EditorCanvas/index.tsx b/src/routes/(main)/agent/profile/features/EditorCanvas/index.tsxindex 4dd4dee1945..ec4df3e3fb6 100644--- a/src/routes/(main)/agent/profile/features/EditorCanvas/index.tsx+++ b/src/routes/(main)/agent/profile/features/EditorCanvas/index.tsx@@ -3,8 +3,8 @@import type { IEditor } from '@lobehub/editor';import { ReactMentionPlugin, ReactTablePlugin, ReactToolbarPlugin } from '@lobehub/editor';import { Editor } from '@lobehub/editor/react';-import { ActionIcon, Flexbox } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';import { CodeXmlIcon, LetterTextIcon } from 'lucide-react';diff --git a/src/routes/(main)/agent/profile/features/EditorCanvas/useSlashItems.tsx b/src/routes/(main)/agent/profile/features/EditorCanvas/useSlashItems.tsxindex 332bad82733..3b012779ce7 100644--- a/src/routes/(main)/agent/profile/features/EditorCanvas/useSlashItems.tsx+++ b/src/routes/(main)/agent/profile/features/EditorCanvas/useSlashItems.tsx@@ -8,7 +8,7 @@ import {INSERT_TABLE_COMMAND,INSERT_UNORDERED_LIST_COMMAND,} from '@lobehub/editor';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import {Heading1Icon,Heading2Icon,diff --git a/src/routes/(main)/agent/profile/features/Header/AgentForkTag.tsx b/src/routes/(main)/agent/profile/features/Header/AgentForkTag.tsxindex 8b89b88f9b6..9bdebe79116 100644--- a/src/routes/(main)/agent/profile/features/Header/AgentForkTag.tsx+++ b/src/routes/(main)/agent/profile/features/Header/AgentForkTag.tsx@@ -1,6 +1,7 @@'use client';-import { Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { GitFork } from 'lucide-react';import { memo, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';@@ -66,7 +67,6 @@ const AgentForkTag = memo(() => {return (<Tag- bordered={false}color="default"icon={<Icon icon={GitFork} />}style={{ cursor: 'pointer', marginRight: 8 }}diff --git a/src/routes/(main)/agent/profile/features/Header/AgentStatusTag.tsx b/src/routes/(main)/agent/profile/features/Header/AgentStatusTag.tsxindex 562d189a91c..940590962b2 100644--- a/src/routes/(main)/agent/profile/features/Header/AgentStatusTag.tsx+++ b/src/routes/(main)/agent/profile/features/Header/AgentStatusTag.tsx@@ -1,6 +1,6 @@'use client';-import { Tag } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { memo, useEffect, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';@@ -71,7 +71,7 @@ const AgentStatusTag = memo(() => {if (loading || !statusConfig) return null;return (- <Tag bordered={false} color={statusConfig.color} style={{ marginRight: 8 }}>+ <Tag color={statusConfig.color} style={{ marginRight: 8 }}>{statusConfig.label}</Tag>);diff --git a/src/routes/(main)/agent/profile/features/Header/AgentVersionReviewTag.tsx b/src/routes/(main)/agent/profile/features/Header/AgentVersionReviewTag.tsxindex 718f1d0fc9d..c11e999a128 100644--- a/src/routes/(main)/agent/profile/features/Header/AgentVersionReviewTag.tsx+++ b/src/routes/(main)/agent/profile/features/Header/AgentVersionReviewTag.tsx@@ -1,6 +1,6 @@'use client';-import { Tag } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { memo, useEffect, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';@@ -61,7 +61,7 @@ const AgentVersionReviewTag = memo(() => {if (loading || !showReviewTag) return null;return (- <Tag bordered={false} color="orange" style={{ marginRight: 8 }}>+ <Tag color="orange" style={{ marginRight: 8 }}>{t('marketPublish.status.underReview', { defaultValue: 'Under Review' })}</Tag>);diff --git a/src/routes/(main)/agent/profile/features/Header/index.tsx b/src/routes/(main)/agent/profile/features/Header/index.tsxindex 52d171324ed..8ca8245ef29 100644--- a/src/routes/(main)/agent/profile/features/Header/index.tsx+++ b/src/routes/(main)/agent/profile/features/Header/index.tsx@@ -1,8 +1,7 @@import { isDesktop } from '@lobechat/const';import { getActivePluginIds, type LobeAgentConfig } from '@lobechat/types';-import { ActionIcon, DropdownMenu, Flexbox, Icon } from '@lobehub/ui';-import { confirmModal, type ModalInstance } from '@lobehub/ui/base-ui';-import { toast } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, confirmModal, type ModalInstance, toast } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';import type { TFunction } from 'i18next';diff --git a/src/routes/(main)/agent/profile/features/ProfileEditor/AgentHeader.tsx b/src/routes/(main)/agent/profile/features/ProfileEditor/AgentHeader.tsxindex b93e7e530a2..1f1008fe6aa 100644--- a/src/routes/(main)/agent/profile/features/ProfileEditor/AgentHeader.tsx+++ b/src/routes/(main)/agent/profile/features/ProfileEditor/AgentHeader.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Flexbox, Text, Tooltip } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Tooltip } from '@lobehub/ui';+import { ActionIcon, Button, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import isEqual from 'fast-deep-equal';import { PencilIcon, SparklesIcon } from 'lucide-react';diff --git a/src/routes/(main)/agent/profile/features/ProfileEditor/RemoteAgentConfigCard.tsx b/src/routes/(main)/agent/profile/features/ProfileEditor/RemoteAgentConfigCard.tsxindex 48f8bf66dfc..3446ce0f7e0 100644--- a/src/routes/(main)/agent/profile/features/ProfileEditor/RemoteAgentConfigCard.tsx+++ b/src/routes/(main)/agent/profile/features/ProfileEditor/RemoteAgentConfigCard.tsx@@ -5,12 +5,14 @@ import {type RemoteHeterogeneousAgentType,} from '@lobechat/heterogeneous-agents';import type { HeterogeneousProviderConfig } from '@lobechat/types';-import { ActionIcon, Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';import {+ ActionIcon,Button as BaseButton,Button,createModal,Select,+ Text,useModalContext,} from '@lobehub/ui/base-ui';import { Tag } from 'antd';diff --git a/src/routes/(main)/agent/profile/features/ProfileEditor/WorkspaceAgentPolicyCard.tsx b/src/routes/(main)/agent/profile/features/ProfileEditor/WorkspaceAgentPolicyCard.tsxindex d3007b660b4..bafa451857b 100644--- a/src/routes/(main)/agent/profile/features/ProfileEditor/WorkspaceAgentPolicyCard.tsx+++ b/src/routes/(main)/agent/profile/features/ProfileEditor/WorkspaceAgentPolicyCard.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import type { LucideIcon } from 'lucide-react';import type { ReactNode } from 'react';diff --git a/src/routes/(main)/community/(detail)/_layout/Header.tsx b/src/routes/(main)/community/(detail)/_layout/Header.tsxindex 44baf169a94..88642b8a69e 100644--- a/src/routes/(main)/community/(detail)/_layout/Header.tsx+++ b/src/routes/(main)/community/(detail)/_layout/Header.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { ArrowLeft } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/community/(detail)/agent/features/AgentForkTag.tsx b/src/routes/(main)/community/(detail)/agent/features/AgentForkTag.tsxindex 1614fbe36ba..c800ce24974 100644--- a/src/routes/(main)/community/(detail)/agent/features/AgentForkTag.tsx+++ b/src/routes/(main)/community/(detail)/agent/features/AgentForkTag.tsx@@ -1,6 +1,7 @@'use client';-import { Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { GitFork } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';@@ -39,7 +40,6 @@ const AgentForkTag = memo(() => {return (<Tag- bordered={false}color="default"icon={<Icon icon={GitFork} />}style={{ cursor: 'pointer' }}diff --git a/src/routes/(main)/community/(detail)/agent/features/Details/Capabilities/Block.tsx b/src/routes/(main)/community/(detail)/agent/features/Details/Capabilities/Block.tsxindex 997bea56a57..98abda4f0aa 100644--- a/src/routes/(main)/community/(detail)/agent/features/Details/Capabilities/Block.tsx+++ b/src/routes/(main)/community/(detail)/agent/features/Details/Capabilities/Block.tsx@@ -1,4 +1,5 @@-import { Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { type ReactNode } from 'react';import { memo } from 'react';diff --git a/src/routes/(main)/community/(detail)/agent/features/Details/Capabilities/KnowledgeItem.tsx b/src/routes/(main)/community/(detail)/agent/features/Details/Capabilities/KnowledgeItem.tsxindex a8bb296477b..5e67d0f3090 100644--- a/src/routes/(main)/community/(detail)/agent/features/Details/Capabilities/KnowledgeItem.tsx+++ b/src/routes/(main)/community/(detail)/agent/features/Details/Capabilities/KnowledgeItem.tsx@@ -1,4 +1,5 @@-import { Avatar, Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';diff --git a/src/routes/(main)/community/(detail)/agent/features/Details/Capabilities/PluginItem.tsx b/src/routes/(main)/community/(detail)/agent/features/Details/Capabilities/PluginItem.tsxindex 006a1c6577f..78be1ace741 100644--- a/src/routes/(main)/community/(detail)/agent/features/Details/Capabilities/PluginItem.tsx+++ b/src/routes/(main)/community/(detail)/agent/features/Details/Capabilities/PluginItem.tsx@@ -7,7 +7,8 @@ import {OFFICIAL_SITE,} from '@lobechat/const';import { type DiscoverPluginDetail, type PluginSource } from '@lobechat/types';-import { Avatar, Block, Flexbox, Icon, Image, Skeleton, Tag, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon, Image, Skeleton } from '@lobehub/ui';+import { Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/agent/features/Details/Nav.tsx b/src/routes/(main)/community/(detail)/agent/features/Details/Nav.tsxindex 665d8a03168..50bd94c2770 100644--- a/src/routes/(main)/community/(detail)/agent/features/Details/Nav.tsx+++ b/src/routes/(main)/community/(detail)/agent/features/Details/Nav.tsx@@ -1,8 +1,8 @@'use client';import { SOCIAL_URL } from '@lobechat/business-const';-import { Flexbox, Icon, Tag } from '@lobehub/ui';-import { Tabs } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Tabs, Tag } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import {BookOpenIcon,diff --git a/src/routes/(main)/community/(detail)/agent/features/Details/SystemRole/TagList.tsx b/src/routes/(main)/community/(detail)/agent/features/Details/SystemRole/TagList.tsxindex 34af75184ce..45f60d0f130 100644--- a/src/routes/(main)/community/(detail)/agent/features/Details/SystemRole/TagList.tsx+++ b/src/routes/(main)/community/(detail)/agent/features/Details/SystemRole/TagList.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import qs from 'query-string';import { memo } from 'react';diff --git a/src/routes/(main)/community/(detail)/agent/features/Details/SystemRole/index.tsx b/src/routes/(main)/community/(detail)/agent/features/Details/SystemRole/index.tsxindex 81d4eed4c4b..36a36850e16 100644--- a/src/routes/(main)/community/(detail)/agent/features/Details/SystemRole/index.tsx+++ b/src/routes/(main)/community/(detail)/agent/features/Details/SystemRole/index.tsx@@ -1,4 +1,5 @@-import { Block, Flexbox, Icon, Tag } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { MessageCircleHeartIcon, MessageCircleQuestionIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/community/(detail)/agent/features/Details/Versions/index.tsx b/src/routes/(main)/community/(detail)/agent/features/Details/Versions/index.tsxindex e766d8abf93..a3e2f156a9b 100644--- a/src/routes/(main)/community/(detail)/agent/features/Details/Versions/index.tsx+++ b/src/routes/(main)/community/(detail)/agent/features/Details/Versions/index.tsx@@ -1,4 +1,5 @@-import { Block, Flexbox, Icon, Tag } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { CheckIcon, MinusIcon } from 'lucide-react';import qs from 'query-string';@@ -118,9 +119,7 @@ const Versions = memo(() => {{align: 'end',dataIndex: 'createdAt',- render: (_: any, record: any) => (- <PublishedTime date={record.createdAt} />- ),+ render: (_: any, record: any) => <PublishedTime date={record.createdAt} />,title: t('assistants.details.version.table.publishAt'),},]}diff --git a/src/routes/(main)/community/(detail)/agent/features/Header.tsx b/src/routes/(main)/community/(detail)/agent/features/Header.tsxindex 6e0bc76d222..f55df53799f 100644--- a/src/routes/(main)/community/(detail)/agent/features/Header.tsx+++ b/src/routes/(main)/community/(detail)/agent/features/Header.tsx@@ -1,8 +1,8 @@'use client';import { MCP } from '@lobehub/icons';-import { ActionIcon, Avatar, Flexbox, Icon, Tag, Text, Tooltip, TooltipGroup } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Tooltip, TooltipGroup } from '@lobehub/ui';+import { ActionIcon, Avatar, Button, Tag, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, useResponsive } from 'antd-style';import {BookmarkCheckIcon,@@ -177,7 +177,7 @@ const Header = memo<{ mobile?: boolean }>(({ mobile: isMobile }) => {<PublishedTime className={styles.time} date={createdAt as string} /><AgentForkTag />{!!forkCount && forkCount > 0 && (- <Tag bordered={false} color="default" icon={<Icon icon={GitBranchIcon} />}>+ <Tag color="default" icon={<Icon icon={GitBranchIcon} />}>{forkCount} {t('fork.forks')}</Tag>)}diff --git a/src/routes/(main)/community/(detail)/agent/features/Sidebar/Related/Item.tsx b/src/routes/(main)/community/(detail)/agent/features/Sidebar/Related/Item.tsxindex e9e4306b6d6..bc35785d065 100644--- a/src/routes/(main)/community/(detail)/agent/features/Sidebar/Related/Item.tsx+++ b/src/routes/(main)/community/(detail)/agent/features/Sidebar/Related/Item.tsx@@ -1,4 +1,5 @@-import { Avatar, Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';diff --git a/src/routes/(main)/community/(detail)/agent/features/StatusPage/index.tsx b/src/routes/(main)/community/(detail)/agent/features/StatusPage/index.tsxindex 3333255de37..6eddaaea221 100644--- a/src/routes/(main)/community/(detail)/agent/features/StatusPage/index.tsx+++ b/src/routes/(main)/community/(detail)/agent/features/StatusPage/index.tsx@@ -1,8 +1,8 @@'use client';import { ExclamationCircleOutlined, FolderOpenOutlined } from '@ant-design/icons';-import { FluentEmoji, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { FluentEmoji } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { Result } from 'antd';import { memo } from 'react';import { Trans, useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/group_agent/features/Details/Overview/index.tsx b/src/routes/(main)/community/(detail)/group_agent/features/Details/Overview/index.tsxindex 6c892906dc4..4df123047f4 100644--- a/src/routes/(main)/community/(detail)/group_agent/features/Details/Overview/index.tsx+++ b/src/routes/(main)/community/(detail)/group_agent/features/Details/Overview/index.tsx@@ -1,5 +1,6 @@import { BRANDING_NAME } from '@lobechat/business-const';-import { Avatar, Block, Collapse, Flexbox, Grid, Text } from '@lobehub/ui';+import { Block, Collapse, Flexbox, Grid } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { ChatList } from '@lobehub/ui/chat';import { createStaticStyles, useTheme } from 'antd-style';import { memo } from 'react';@@ -27,63 +28,55 @@ const styles = createStaticStyles(({ css, cssVar }) => {};});-const MemberCard = memo(- ({- agent,- currentVersion,- }: {- agent: any;- currentVersion: any;- }) => {- return (- <Block- height={'100%'}- variant={'outlined'}- width={'100%'}- style={{- cursor: 'default',- overflow: 'hidden',- }}- >- <Flexbox gap={12} padding={16}>- {/* Avatar and Basic Info */}- <Flexbox horizontal align={'flex-start'} gap={12}>- <Avatar- avatar={currentVersion.avatar || agent.name?.[0]}- shape={'square'}- size={40}- style={{ flex: 'none' }}- />- <Flexbox- flex={1}- gap={4}- style={{- overflow: 'hidden',- }}- >- <Text ellipsis as={'h3'} className={styles.title}>- {currentVersion.name || agent.name}- </Text>- </Flexbox>- </Flexbox>-- {/* Description */}- {currentVersion.description && currentVersion.description !== 'No description provided' && (- <Text- as={'p'}- className={styles.desc}- ellipsis={{- rows: 2,- }}- >- {currentVersion.description}+const MemberCard = memo(({ agent, currentVersion }: { agent: any; currentVersion: any }) => {+ return (+ <Block+ height={'100%'}+ variant={'outlined'}+ width={'100%'}+ style={{+ cursor: 'default',+ overflow: 'hidden',+ }}+ >+ <Flexbox gap={12} padding={16}>+ {/* Avatar and Basic Info */}+ <Flexbox horizontal align={'flex-start'} gap={12}>+ <Avatar+ avatar={currentVersion.avatar || agent.name?.[0]}+ shape={'square'}+ size={40}+ style={{ flex: 'none' }}+ />+ <Flexbox+ flex={1}+ gap={4}+ style={{+ overflow: 'hidden',+ }}+ >+ <Text ellipsis as={'h3'} className={styles.title}>+ {currentVersion.name || agent.name}</Text>- )}+ </Flexbox></Flexbox>- </Block>- );- },-);++ {/* Description */}+ {currentVersion.description && currentVersion.description !== 'No description provided' && (+ <Text+ as={'p'}+ className={styles.desc}+ ellipsis={{+ rows: 2,+ }}+ >+ {currentVersion.description}+ </Text>+ )}+ </Flexbox>+ </Block>+ );+});MemberCard.displayName = 'MemberCard';diff --git a/src/routes/(main)/community/(detail)/group_agent/features/Details/SystemRole/index.tsx b/src/routes/(main)/community/(detail)/group_agent/features/Details/SystemRole/index.tsxindex cd13f9fd7ab..678dec033b4 100644--- a/src/routes/(main)/community/(detail)/group_agent/features/Details/SystemRole/index.tsx+++ b/src/routes/(main)/community/(detail)/group_agent/features/Details/SystemRole/index.tsx@@ -1,4 +1,5 @@-import { Block, Flexbox, Icon, Tag } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { MessageCircleHeartIcon, MessageCircleQuestionIcon } from 'lucide-react';import { memo } from 'react';@@ -18,7 +19,15 @@ const SystemRole = memo(() => {<Flexbox gap={16}>{systemRole && (<>- <Title tag={tokenUsage && <Tag>{t('groupAgents.details.tokenUsage', { defaultValue: `${tokenUsage} tokens` })}</Tag>}>+ <Title+ tag={+ tokenUsage && (+ <Tag>+ {t('groupAgents.details.tokenUsage', { defaultValue: `${tokenUsage} tokens` })}+ </Tag>+ )+ }+ >{t('groupAgents.details.systemRole.title', { defaultValue: 'System Role' })}</Title><Block gap={16} padding={16} variant={'outlined'}>diff --git a/src/routes/(main)/community/(detail)/group_agent/features/Details/Versions/index.tsx b/src/routes/(main)/community/(detail)/group_agent/features/Details/Versions/index.tsxindex 2769cc70a37..139d06f1f27 100644--- a/src/routes/(main)/community/(detail)/group_agent/features/Details/Versions/index.tsx+++ b/src/routes/(main)/community/(detail)/group_agent/features/Details/Versions/index.tsx@@ -1,4 +1,5 @@-import { Block, Flexbox, Icon, Tag } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { CheckIcon, MinusIcon } from 'lucide-react';import { memo, useMemo } from 'react';@@ -39,9 +40,7 @@ const Versions = memo(() => {if (!versions.length) {return (<Flexbox gap={16}>- <Title>- {t('groupAgents.details.version.title', { defaultValue: 'Version History' })}- </Title>+ <Title>{t('groupAgents.details.version.title', { defaultValue: 'Version History' })}</Title><Block padding={24} variant={'outlined'}>{t('groupAgents.details.version.empty', { defaultValue: 'No version history available' })}</Block>@@ -51,9 +50,7 @@ const Versions = memo(() => {return (<Flexbox gap={16}>- <Title>- {t('groupAgents.details.version.title', { defaultValue: 'Version History' })}- </Title>+ <Title>{t('groupAgents.details.version.title', { defaultValue: 'Version History' })}</Title><Block variant={'outlined'}><InlineTabledataSource={versions}@@ -64,8 +61,7 @@ const Versions = memo(() => {dataIndex: 'version',render: (_: any, record: any) => {const statusKey =- record.status &&- Object.prototype.hasOwnProperty.call(statusTagMap, record.status)+ record.status && Object.prototype.hasOwnProperty.call(statusTagMap, record.status)? (record.status as keyof typeof statusTagMap): undefined;const statusMeta = statusKey ? statusTagMap[statusKey] : undefined;@@ -75,7 +71,9 @@ const Versions = memo(() => {<code style={{ fontSize: 14 }}>{record.version}</code>{(record.isLatest || record.version === currentVersion) && (<Tag color={'info'}>- {t('groupAgents.details.version.table.isLatest', { defaultValue: 'Latest' })}+ {t('groupAgents.details.version.table.isLatest', {+ defaultValue: 'Latest',+ })}</Tag>)}{statusMeta && <Tag color={statusMeta.color}>{statusMeta.label}</Tag>}@@ -100,9 +98,7 @@ const Versions = memo(() => {{align: 'end',dataIndex: 'createdAt',- render: (_: any, record: any) => (- <PublishedTime date={record.createdAt} />- ),+ render: (_: any, record: any) => <PublishedTime date={record.createdAt} />,title: t('groupAgents.details.version.table.publishAt', {defaultValue: 'Published At',}),diff --git a/src/routes/(main)/community/(detail)/group_agent/features/GroupAgentForkTag.tsx b/src/routes/(main)/community/(detail)/group_agent/features/GroupAgentForkTag.tsxindex 5c600e7e2fd..84ad14e9922 100644--- a/src/routes/(main)/community/(detail)/group_agent/features/GroupAgentForkTag.tsx+++ b/src/routes/(main)/community/(detail)/group_agent/features/GroupAgentForkTag.tsx@@ -1,6 +1,7 @@'use client';-import { Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { GitFork } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';@@ -39,7 +40,6 @@ const GroupAgentForkTag = memo(() => {return (<Tag- bordered={false}color="default"icon={<Icon icon={GitFork} />}style={{ cursor: 'pointer' }}diff --git a/src/routes/(main)/community/(detail)/group_agent/features/Header.tsx b/src/routes/(main)/community/(detail)/group_agent/features/Header.tsxindex 79998403ff6..92069ead47d 100644--- a/src/routes/(main)/community/(detail)/group_agent/features/Header.tsx+++ b/src/routes/(main)/community/(detail)/group_agent/features/Header.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Avatar, Flexbox, Icon, Tag, Text, Tooltip, TooltipGroup } from '@lobehub/ui';-import { Button, toast } from '@lobehub/ui/base-ui';+import { Flexbox, Icon, Tooltip, TooltipGroup } from '@lobehub/ui';+import { ActionIcon, Avatar, Button, Tag, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, useResponsive } from 'antd-style';import { BookmarkCheckIcon, BookmarkIcon, DotIcon, GitBranchIcon, UsersIcon } from 'lucide-react';import qs from 'query-string';@@ -172,7 +172,7 @@ const Header = memo<{ mobile?: boolean }>(({ mobile: isMobile }) => {<PublishedTime className={styles.time} date={createdAt as string} /><GroupAgentForkTag />{!!forkCount && forkCount > 0 && (- <Tag bordered={false} color="default" icon={<Icon icon={GitBranchIcon} />}>+ <Tag color="default" icon={<Icon icon={GitBranchIcon} />}>{forkCount} {t('fork.forks')}</Tag>)}diff --git a/src/routes/(main)/community/(detail)/group_agent/features/StatusPage/index.tsx b/src/routes/(main)/community/(detail)/group_agent/features/StatusPage/index.tsxindex 0371eea2ef6..230e7efb8b8 100644--- a/src/routes/(main)/community/(detail)/group_agent/features/StatusPage/index.tsx+++ b/src/routes/(main)/community/(detail)/group_agent/features/StatusPage/index.tsx@@ -1,8 +1,8 @@'use client';import { ExclamationCircleOutlined, FolderOpenOutlined } from '@ant-design/icons';-import { FluentEmoji, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { FluentEmoji } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { Result } from 'antd';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/mcp/features/Details/Versions/index.tsx b/src/routes/(main)/community/(detail)/mcp/features/Details/Versions/index.tsxindex f037ac175b8..d3f892f5903 100644--- a/src/routes/(main)/community/(detail)/mcp/features/Details/Versions/index.tsx+++ b/src/routes/(main)/community/(detail)/mcp/features/Details/Versions/index.tsx@@ -1,4 +1,5 @@-import { Block, Flexbox, Icon, Tag } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { CheckIcon, MinusIcon } from 'lucide-react';import qs from 'query-string';diff --git a/src/routes/(main)/community/(detail)/mcp/features/Sidebar/Related/Item.tsx b/src/routes/(main)/community/(detail)/mcp/features/Sidebar/Related/Item.tsxindex 7727f59cfa2..0f936a35c6c 100644--- a/src/routes/(main)/community/(detail)/mcp/features/Sidebar/Related/Item.tsx+++ b/src/routes/(main)/community/(detail)/mcp/features/Sidebar/Related/Item.tsx@@ -1,4 +1,5 @@-import { Avatar, Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';diff --git a/src/routes/(main)/community/(detail)/model/features/Details/Overview/ProviderList/index.tsx b/src/routes/(main)/community/(detail)/model/features/Details/Overview/ProviderList/index.tsxindex 7772e919c9e..e978c47c7c1 100644--- a/src/routes/(main)/community/(detail)/model/features/Details/Overview/ProviderList/index.tsx+++ b/src/routes/(main)/community/(detail)/model/features/Details/Overview/ProviderList/index.tsx@@ -1,7 +1,8 @@'use client';import { ProviderIcon } from '@lobehub/icons';-import { ActionIcon, Block, Flexbox, Icon, Tooltip, TooltipGroup } from '@lobehub/ui';+import { Block, Flexbox, Icon, Tooltip, TooltipGroup } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { BadgeCheck, BookIcon, ChevronRightIcon, KeyIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/community/(detail)/model/features/Details/Overview/index.tsx b/src/routes/(main)/community/(detail)/model/features/Details/Overview/index.tsxindex c960b93f915..fb986176226 100644--- a/src/routes/(main)/community/(detail)/model/features/Details/Overview/index.tsx+++ b/src/routes/(main)/community/(detail)/model/features/Details/Overview/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/model/features/Details/Parameter/index.tsx b/src/routes/(main)/community/(detail)/model/features/Details/Parameter/index.tsxindex e45d1923b00..1ebf13dc832 100644--- a/src/routes/(main)/community/(detail)/model/features/Details/Parameter/index.tsx+++ b/src/routes/(main)/community/(detail)/model/features/Details/Parameter/index.tsx@@ -1,6 +1,7 @@'use client';-import { Collapse, Flexbox, Icon, Tag } from '@lobehub/ui';+import { Collapse, Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { type LucideIcon } from 'lucide-react';import {ChartColumnBig,diff --git a/src/routes/(main)/community/(detail)/model/features/Header.tsx b/src/routes/(main)/community/(detail)/model/features/Header.tsxindex 171e03030ba..a9b49a328e8 100644--- a/src/routes/(main)/community/(detail)/model/features/Header.tsx+++ b/src/routes/(main)/community/(detail)/model/features/Header.tsx@@ -1,7 +1,8 @@'use client';import { ModelIcon } from '@lobehub/icons';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, useResponsive } from 'antd-style';import { DotIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/community/(detail)/model/features/Sidebar/Related/Item.tsx b/src/routes/(main)/community/(detail)/model/features/Sidebar/Related/Item.tsxindex 9d45766938e..2b8b610f6d0 100644--- a/src/routes/(main)/community/(detail)/model/features/Sidebar/Related/Item.tsx+++ b/src/routes/(main)/community/(detail)/model/features/Sidebar/Related/Item.tsx@@ -1,5 +1,6 @@import { ModelIcon } from '@lobehub/icons';-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/model/features/Sidebar/RelatedProviders/Item.tsx b/src/routes/(main)/community/(detail)/model/features/Sidebar/RelatedProviders/Item.tsxindex 7ece771a4db..b0b0f090b95 100644--- a/src/routes/(main)/community/(detail)/model/features/Sidebar/RelatedProviders/Item.tsx+++ b/src/routes/(main)/community/(detail)/model/features/Sidebar/RelatedProviders/Item.tsx@@ -1,5 +1,6 @@import { ProviderIcon } from '@lobehub/icons';-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/organization/features/FollowStats.tsx b/src/routes/(main)/community/(detail)/organization/features/FollowStats.tsxindex d9503e7812e..85ce790bfb8 100644--- a/src/routes/(main)/community/(detail)/organization/features/FollowStats.tsx+++ b/src/routes/(main)/community/(detail)/organization/features/FollowStats.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/organization/features/Header/index.tsx b/src/routes/(main)/community/(detail)/organization/features/Header/index.tsxindex 2e7eb57be08..568cf7008e8 100644--- a/src/routes/(main)/community/(detail)/organization/features/Header/index.tsx+++ b/src/routes/(main)/community/(detail)/organization/features/Header/index.tsx@@ -1,7 +1,8 @@'use client';import { SiGithub, SiX } from '@icons-pack/react-simple-icons';-import { ActionIcon, Avatar, Flexbox, Tag, Text, Tooltip, TooltipGroup } from '@lobehub/ui';+import { Flexbox, Tooltip, TooltipGroup } from '@lobehub/ui';+import { ActionIcon, Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Globe } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/routes/(main)/community/(detail)/provider/features/Details/Overview/ModelList/index.tsx b/src/routes/(main)/community/(detail)/provider/features/Details/Overview/ModelList/index.tsxindex 0de43dabce1..c79a4ad5714 100644--- a/src/routes/(main)/community/(detail)/provider/features/Details/Overview/ModelList/index.tsx+++ b/src/routes/(main)/community/(detail)/provider/features/Details/Overview/ModelList/index.tsx@@ -1,7 +1,8 @@'use client';import { ModelIcon } from '@lobehub/icons';-import { ActionIcon, Block, Flexbox, Tooltip, TooltipGroup } from '@lobehub/ui';+import { Block, Flexbox, Tooltip, TooltipGroup } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { ChevronRightIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/community/(detail)/provider/features/Details/Overview/index.tsx b/src/routes/(main)/community/(detail)/provider/features/Details/Overview/index.tsxindex 09ec6bff692..1a514006206 100644--- a/src/routes/(main)/community/(detail)/provider/features/Details/Overview/index.tsx+++ b/src/routes/(main)/community/(detail)/provider/features/Details/Overview/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/provider/features/Header.tsx b/src/routes/(main)/community/(detail)/provider/features/Header.tsxindex 751966e9709..0c964684d24 100644--- a/src/routes/(main)/community/(detail)/provider/features/Header.tsx+++ b/src/routes/(main)/community/(detail)/provider/features/Header.tsx@@ -1,7 +1,8 @@'use client';import { Github, ProviderCombine } from '@lobehub/icons';-import { ActionIcon, Flexbox, stopPropagation } from '@lobehub/ui';+import { Flexbox, stopPropagation } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { cssVar, useResponsive } from 'antd-style';import { GlobeIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/community/(detail)/provider/features/Sidebar/ActionButton/index.tsx b/src/routes/(main)/community/(detail)/provider/features/Sidebar/ActionButton/index.tsxindex 1e28acfa321..6300e31be09 100644--- a/src/routes/(main)/community/(detail)/provider/features/Sidebar/ActionButton/index.tsx+++ b/src/routes/(main)/community/(detail)/provider/features/Sidebar/ActionButton/index.tsx@@ -1,7 +1,8 @@'use client';import { ModelTag, ProviderIcon } from '@lobehub/icons';-import { Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';import urlJoin from 'url-join';diff --git a/src/routes/(main)/community/(detail)/provider/features/Sidebar/Related/Item.tsx b/src/routes/(main)/community/(detail)/provider/features/Sidebar/Related/Item.tsxindex 97d7f7395fc..44ec2aab950 100644--- a/src/routes/(main)/community/(detail)/provider/features/Sidebar/Related/Item.tsx+++ b/src/routes/(main)/community/(detail)/provider/features/Sidebar/Related/Item.tsx@@ -1,5 +1,6 @@import { ProviderIcon } from '@lobehub/icons';-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/provider/features/Sidebar/RelatedModels/Item.tsx b/src/routes/(main)/community/(detail)/provider/features/Sidebar/RelatedModels/Item.tsxindex ebad4b2b86e..363895674bb 100644--- a/src/routes/(main)/community/(detail)/provider/features/Sidebar/RelatedModels/Item.tsx+++ b/src/routes/(main)/community/(detail)/provider/features/Sidebar/RelatedModels/Item.tsx@@ -1,5 +1,6 @@import { ModelIcon } from '@lobehub/icons';-import { Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/user/features/FollowStats.tsx b/src/routes/(main)/community/(detail)/user/features/FollowStats.tsxindex fcdfadd58b5..db4cd42ef89 100644--- a/src/routes/(main)/community/(detail)/user/features/FollowStats.tsx+++ b/src/routes/(main)/community/(detail)/user/features/FollowStats.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/user/features/Header/index.tsx b/src/routes/(main)/community/(detail)/user/features/Header/index.tsxindex 746eb82ade5..aec7f247a2a 100644--- a/src/routes/(main)/community/(detail)/user/features/Header/index.tsx+++ b/src/routes/(main)/community/(detail)/user/features/Header/index.tsx@@ -1,8 +1,8 @@'use client';import { SiGithub, SiX } from '@icons-pack/react-simple-icons';-import { ActionIcon, Avatar, Flexbox, Tag, Text, Tooltip, TooltipGroup } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Tooltip, TooltipGroup } from '@lobehub/ui';+import { ActionIcon, Avatar, Button, Tag, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Globe } from 'lucide-react';import { memo, useMemo } from 'react';diff --git a/src/routes/(main)/community/(detail)/user/features/SubmitRepoModal.tsx b/src/routes/(main)/community/(detail)/user/features/SubmitRepoModal.tsxindex f867bebb4f3..f90ac2ecb30 100644--- a/src/routes/(main)/community/(detail)/user/features/SubmitRepoModal.tsx+++ b/src/routes/(main)/community/(detail)/user/features/SubmitRepoModal.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';-import { toast } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Text, toast } from '@lobehub/ui/base-ui';import { Form, Input } from 'antd';import { memo, useCallback, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/user/features/UserAgentList.tsx b/src/routes/(main)/community/(detail)/user/features/UserAgentList.tsxindex 9430031d9f6..8e6b8cbcac1 100644--- a/src/routes/(main)/community/(detail)/user/features/UserAgentList.tsx+++ b/src/routes/(main)/community/(detail)/user/features/UserAgentList.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Grid, SearchBar, Tag, Text } from '@lobehub/ui';+import { Flexbox, Grid, SearchBar } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { Pagination } from 'antd';import { memo, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/user/features/UserGroupList.tsx b/src/routes/(main)/community/(detail)/user/features/UserGroupList.tsxindex 075445e3e4f..af909fb8127 100644--- a/src/routes/(main)/community/(detail)/user/features/UserGroupList.tsx+++ b/src/routes/(main)/community/(detail)/user/features/UserGroupList.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Grid, SearchBar, Tag, Text } from '@lobehub/ui';+import { Flexbox, Grid, SearchBar } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { Pagination } from 'antd';import { memo, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/user/features/UserPluginCard.tsx b/src/routes/(main)/community/(detail)/user/features/UserPluginCard.tsxindex 13a31106814..4e450d6ffe4 100644--- a/src/routes/(main)/community/(detail)/user/features/UserPluginCard.tsx+++ b/src/routes/(main)/community/(detail)/user/features/UserPluginCard.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, Block, Flexbox, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo, useCallback } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/user/features/UserPluginList.tsx b/src/routes/(main)/community/(detail)/user/features/UserPluginList.tsxindex 4bf2f61b69a..94997959a64 100644--- a/src/routes/(main)/community/(detail)/user/features/UserPluginList.tsx+++ b/src/routes/(main)/community/(detail)/user/features/UserPluginList.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Grid, Tag, Text } from '@lobehub/ui';+import { Flexbox, Grid } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { Input, Pagination } from 'antd';import { memo, useEffect, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/user/features/UserSkillCard.tsx b/src/routes/(main)/community/(detail)/user/features/UserSkillCard.tsxindex 8e988c36d28..c4bce76fac3 100644--- a/src/routes/(main)/community/(detail)/user/features/UserSkillCard.tsx+++ b/src/routes/(main)/community/(detail)/user/features/UserSkillCard.tsx@@ -1,7 +1,8 @@'use client';import { Github } from '@lobehub/icons';-import { ActionIcon, Avatar, Block, Flexbox, Icon, stopPropagation, Tag, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon, stopPropagation } from '@lobehub/ui';+import { ActionIcon, Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ClockIcon, FileTextIcon, StarIcon } from 'lucide-react';import { memo, useCallback } from 'react';diff --git a/src/routes/(main)/community/(detail)/user/features/UserSkillList.tsx b/src/routes/(main)/community/(detail)/user/features/UserSkillList.tsxindex b024640c2ef..2d67404d979 100644--- a/src/routes/(main)/community/(detail)/user/features/UserSkillList.tsx+++ b/src/routes/(main)/community/(detail)/user/features/UserSkillList.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Grid, Tag, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Grid } from '@lobehub/ui';+import { Button, Tag, Text } from '@lobehub/ui/base-ui';import { Input, Pagination } from 'antd';import { Plus } from 'lucide-react';import { memo, useEffect, useMemo, useState } from 'react';diff --git a/src/routes/(main)/community/(detail)/workspace/features/Header/index.tsx b/src/routes/(main)/community/(detail)/workspace/features/Header/index.tsxindex 3390873346d..14099c4b7d4 100644--- a/src/routes/(main)/community/(detail)/workspace/features/Header/index.tsx+++ b/src/routes/(main)/community/(detail)/workspace/features/Header/index.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Avatar, Flexbox, Skeleton, Text, Tooltip, TooltipGroup } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Skeleton, Tooltip, TooltipGroup } from '@lobehub/ui';+import { ActionIcon, Avatar, Button, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { ExternalLink, Globe, Settings } from 'lucide-react';import { memo, useCallback, useMemo } from 'react';diff --git a/src/routes/(main)/community/(detail)/workspace/features/WorkspaceAgentList.tsx b/src/routes/(main)/community/(detail)/workspace/features/WorkspaceAgentList.tsxindex 39ef7ae35c6..805b9e07adc 100644--- a/src/routes/(main)/community/(detail)/workspace/features/WorkspaceAgentList.tsx+++ b/src/routes/(main)/community/(detail)/workspace/features/WorkspaceAgentList.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Grid, Tag, Text } from '@lobehub/ui';+import { Flexbox, Grid } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { Input, Pagination } from 'antd';import { memo, useEffect, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/workspace/features/WorkspaceContent.tsx b/src/routes/(main)/community/(detail)/workspace/features/WorkspaceContent.tsxindex 9287d4c7eae..06bed7403e1 100644--- a/src/routes/(main)/community/(detail)/workspace/features/WorkspaceContent.tsx+++ b/src/routes/(main)/community/(detail)/workspace/features/WorkspaceContent.tsx@@ -1,7 +1,7 @@'use client';-import { Center, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Center, Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { Building2 } from 'lucide-react';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/workspace/features/WorkspaceGroupList.tsx b/src/routes/(main)/community/(detail)/workspace/features/WorkspaceGroupList.tsxindex 2ae701a47c1..ccb61280745 100644--- a/src/routes/(main)/community/(detail)/workspace/features/WorkspaceGroupList.tsx+++ b/src/routes/(main)/community/(detail)/workspace/features/WorkspaceGroupList.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Grid, Tag, Text } from '@lobehub/ui';+import { Flexbox, Grid } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { Input, Pagination } from 'antd';import { memo, useEffect, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/workspace/features/WorkspacePluginList.tsx b/src/routes/(main)/community/(detail)/workspace/features/WorkspacePluginList.tsxindex 1f8ec68c805..635afab1c08 100644--- a/src/routes/(main)/community/(detail)/workspace/features/WorkspacePluginList.tsx+++ b/src/routes/(main)/community/(detail)/workspace/features/WorkspacePluginList.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Grid, Tag, Text } from '@lobehub/ui';+import { Flexbox, Grid } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { Input, Pagination } from 'antd';import { memo, useEffect, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(detail)/workspace/features/WorkspaceProfileModal/Content.tsx b/src/routes/(main)/community/(detail)/workspace/features/WorkspaceProfileModal/Content.tsxindex a3de446d651..b79d5c63525 100644--- a/src/routes/(main)/community/(detail)/workspace/features/WorkspaceProfileModal/Content.tsx+++ b/src/routes/(main)/community/(detail)/workspace/features/WorkspaceProfileModal/Content.tsx@@ -2,8 +2,8 @@import { OFFICIAL_URL } from '@lobechat/const';import type { CollapseProps } from '@lobehub/ui';-import { Center, Collapse, Flexbox, Icon, Input, Text, TextArea, Tooltip } from '@lobehub/ui';-import { Button, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Center, Collapse, Flexbox, Icon, Input, TextArea, Tooltip } from '@lobehub/ui';+import { Button, Text, toast, useModalContext } from '@lobehub/ui/base-ui';import type { UploadProps } from 'antd';import { Form, Input as AntInput, Upload } from 'antd';import { cssVar } from 'antd-style';diff --git a/src/routes/(main)/community/(detail)/workspace/features/WorkspaceProfileModal/index.tsx b/src/routes/(main)/community/(detail)/workspace/features/WorkspaceProfileModal/index.tsxindex 188154aa87d..c139abc0aa6 100644--- a/src/routes/(main)/community/(detail)/workspace/features/WorkspaceProfileModal/index.tsx+++ b/src/routes/(main)/community/(detail)/workspace/features/WorkspaceProfileModal/index.tsx@@ -1,8 +1,8 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';import type { ModalInstance } from '@lobehub/ui/base-ui';-import { createModal } from '@lobehub/ui/base-ui';+import { createModal, Text } from '@lobehub/ui/base-ui';import { t } from 'i18next';import type { DiscoverUserInfo } from '@/types/discover';diff --git a/src/routes/(main)/community/(detail)/workspace/features/WorkspaceSkillList.tsx b/src/routes/(main)/community/(detail)/workspace/features/WorkspaceSkillList.tsxindex 28ca60e9716..ebf6c5e1586 100644--- a/src/routes/(main)/community/(detail)/workspace/features/WorkspaceSkillList.tsx+++ b/src/routes/(main)/community/(detail)/workspace/features/WorkspaceSkillList.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Grid, Tag, Text } from '@lobehub/ui';+import { Flexbox, Grid } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { Input, Pagination } from 'antd';import { memo, useCallback, useEffect, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(list)/_layout/Footer.tsx b/src/routes/(main)/community/(list)/_layout/Footer.tsxindex d03a6f2e47f..f7b0b9203a2 100644--- a/src/routes/(main)/community/(list)/_layout/Footer.tsx+++ b/src/routes/(main)/community/(list)/_layout/Footer.tsx@@ -1,5 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { memo, useCallback, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/community/(list)/agent/features/Category/index.tsx b/src/routes/(main)/community/(list)/agent/features/Category/index.tsxindex b3460b333bc..b426bf0317e 100644--- a/src/routes/(main)/community/(list)/agent/features/Category/index.tsx+++ b/src/routes/(main)/community/(list)/agent/features/Category/index.tsx@@ -1,6 +1,7 @@'use client';-import { Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import qs from 'query-string';import { memo, useMemo } from 'react';diff --git a/src/routes/(main)/community/(list)/agent/features/List/Item.tsx b/src/routes/(main)/community/(list)/agent/features/List/Item.tsxindex 7780841f067..8c044c3f4e9 100644--- a/src/routes/(main)/community/(list)/agent/features/List/Item.tsx+++ b/src/routes/(main)/community/(list)/agent/features/List/Item.tsx@@ -1,4 +1,5 @@-import { Avatar, Block, Flexbox, Icon, Tag, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { ClockIcon } from 'lucide-react';import qs from 'query-string';diff --git a/src/routes/(main)/community/(list)/agent/features/List/TokenTag.tsx b/src/routes/(main)/community/(list)/agent/features/List/TokenTag.tsxindex 7a3284e3092..cdc57b4d287 100644--- a/src/routes/(main)/community/(list)/agent/features/List/TokenTag.tsx+++ b/src/routes/(main)/community/(list)/agent/features/List/TokenTag.tsx@@ -1,5 +1,6 @@import { MCP } from '@lobehub/icons';-import { Flexbox, Icon, Tag, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { BookTextIcon, CoinsIcon, GitForkIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/community/(list)/mcp/features/Category/index.tsx b/src/routes/(main)/community/(list)/mcp/features/Category/index.tsxindex 7f39d60b908..9fae888e21b 100644--- a/src/routes/(main)/community/(list)/mcp/features/Category/index.tsx+++ b/src/routes/(main)/community/(list)/mcp/features/Category/index.tsx@@ -1,6 +1,7 @@'use client';-import { Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import qs from 'query-string';import { memo, useMemo } from 'react';diff --git a/src/routes/(main)/community/(list)/model/features/Category/index.tsx b/src/routes/(main)/community/(list)/model/features/Category/index.tsxindex d33280e0cfc..4bb5b33fdca 100644--- a/src/routes/(main)/community/(list)/model/features/Category/index.tsx+++ b/src/routes/(main)/community/(list)/model/features/Category/index.tsx@@ -1,6 +1,7 @@'use client';-import { Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import qs from 'query-string';import { memo, useMemo } from 'react';diff --git a/src/routes/(main)/community/(list)/model/features/List/Item.tsx b/src/routes/(main)/community/(list)/model/features/List/Item.tsxindex 75bd2ca09c5..ea773109689 100644--- a/src/routes/(main)/community/(list)/model/features/List/Item.tsx+++ b/src/routes/(main)/community/(list)/model/features/List/Item.tsx@@ -1,7 +1,8 @@'use client';import { ModelIcon, ProviderIcon } from '@lobehub/icons';-import { Block, Flexbox, Icon, Popover, Tag, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon, Popover } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import dayjs from 'dayjs';import { ClockIcon } from 'lucide-react';diff --git a/src/routes/(main)/community/(list)/provider/features/List/Item.tsx b/src/routes/(main)/community/(list)/provider/features/List/Item.tsxindex 9ccc5a8c4e1..0599a752e47 100644--- a/src/routes/(main)/community/(list)/provider/features/List/Item.tsx+++ b/src/routes/(main)/community/(list)/provider/features/List/Item.tsx@@ -1,5 +1,6 @@import { Github, ModelTag, ProviderCombine } from '@lobehub/icons';-import { ActionIcon, Block, Flexbox, MaskShadow, stopPropagation, Text } from '@lobehub/ui';+import { Block, Flexbox, MaskShadow, stopPropagation } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { GlobeIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/community/(list)/skill/features/Category/index.tsx b/src/routes/(main)/community/(list)/skill/features/Category/index.tsxindex 578618503c1..d5456cef441 100644--- a/src/routes/(main)/community/(list)/skill/features/Category/index.tsx+++ b/src/routes/(main)/community/(list)/skill/features/Category/index.tsx@@ -1,6 +1,7 @@'use client';-import { Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import qs from 'query-string';import { memo, useMemo } from 'react';diff --git a/src/routes/(main)/community/(list)/skill/features/List/Item.tsx b/src/routes/(main)/community/(list)/skill/features/List/Item.tsxindex b2752379240..10b8e26c781 100644--- a/src/routes/(main)/community/(list)/skill/features/List/Item.tsx+++ b/src/routes/(main)/community/(list)/skill/features/List/Item.tsx@@ -1,8 +1,9 @@'use client';import { Github } from '@lobehub/icons';-import { ActionIcon, Avatar, Block, Flexbox, Icon, stopPropagation, Tag, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon, stopPropagation } from '@lobehub/ui';import { Spotlight } from '@lobehub/ui/awesome';+import { ActionIcon, Avatar, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ClockIcon, FileTextIcon, StarIcon } from 'lucide-react';import { memo, useCallback } from 'react';diff --git a/src/routes/(main)/community/components/CardBanner.tsx b/src/routes/(main)/community/components/CardBanner.tsxindex af3684b8737..31008079d82 100644--- a/src/routes/(main)/community/components/CardBanner.tsx+++ b/src/routes/(main)/community/components/CardBanner.tsx@@ -1,5 +1,6 @@import { type DivProps } from '@lobehub/ui';-import { Avatar, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { type ReactNode } from 'react';import { memo } from 'react';diff --git a/src/routes/(main)/community/components/Statistic.tsx b/src/routes/(main)/community/components/Statistic.tsxindex a0ef6f85dd6..055e3ff6897 100644--- a/src/routes/(main)/community/components/Statistic.tsx+++ b/src/routes/(main)/community/components/Statistic.tsx@@ -1,5 +1,6 @@import { type FlexboxProps } from '@lobehub/ui';-import { Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { HelpCircleIcon } from 'lucide-react';import { type CSSProperties, type ReactNode } from 'react';diff --git a/src/routes/(main)/community/components/Title.tsx b/src/routes/(main)/community/components/Title.tsxindex d20a38ab953..52d6b9c46c7 100644--- a/src/routes/(main)/community/components/Title.tsx+++ b/src/routes/(main)/community/components/Title.tsx@@ -1,8 +1,8 @@'use client';import { type FlexboxProps } from '@lobehub/ui';-import { Flexbox, Icon, Tag } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Tag } from '@lobehub/ui/base-ui';import { createStaticStyles, responsive, useResponsive } from 'antd-style';import { ChevronRight } from 'lucide-react';import { type ReactNode } from 'react';diff --git a/src/routes/(main)/community/features/UserAvatar/index.tsx b/src/routes/(main)/community/features/UserAvatar/index.tsxindex aa59369e111..cd35035d7d5 100644--- a/src/routes/(main)/community/features/UserAvatar/index.tsx+++ b/src/routes/(main)/community/features/UserAvatar/index.tsx@@ -1,7 +1,7 @@'use client';-import { Avatar, Skeleton } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Skeleton } from '@lobehub/ui';+import { Avatar, Button } from '@lobehub/ui/base-ui';import { UserCircleIcon } from 'lucide-react';import { memo, useCallback, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/eval/_layout/Sidebar/Body/BenchmarkList.tsx b/src/routes/(main)/eval/_layout/Sidebar/Body/BenchmarkList.tsxindex 62d0e8f33b6..0dacc8aa342 100644--- a/src/routes/(main)/eval/_layout/Sidebar/Body/BenchmarkList.tsx+++ b/src/routes/(main)/eval/_layout/Sidebar/Body/BenchmarkList.tsx@@ -1,6 +1,7 @@'use client';-import { AccordionItem, Flexbox, Text } from '@lobehub/ui';+import { AccordionItem, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import {Activity,Award,diff --git a/src/routes/(main)/eval/_layout/Sidebar/Body/ExperimentList.tsx b/src/routes/(main)/eval/_layout/Sidebar/Body/ExperimentList.tsxindex eabaea96862..f8eb20f8c19 100644--- a/src/routes/(main)/eval/_layout/Sidebar/Body/ExperimentList.tsx+++ b/src/routes/(main)/eval/_layout/Sidebar/Body/ExperimentList.tsx@@ -1,7 +1,7 @@'use client';-import { AccordionItem, Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { AccordionItem, Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { Beaker, RotateCw } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/_layout/Sidebar/Body/DatasetList.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/_layout/Sidebar/Body/DatasetList.tsxindex 3fd215d2489..c311aefddbe 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/_layout/Sidebar/Body/DatasetList.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/_layout/Sidebar/Body/DatasetList.tsx@@ -1,6 +1,7 @@'use client';-import { AccordionItem, Flexbox, Text } from '@lobehub/ui';+import { AccordionItem, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Database } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/_layout/Sidebar/Body/RunList.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/_layout/Sidebar/Body/RunList.tsxindex 19f83d5f773..adae43a0e66 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/_layout/Sidebar/Body/RunList.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/_layout/Sidebar/Body/RunList.tsx@@ -1,6 +1,7 @@'use client';-import { AccordionItem, Flexbox, Text } from '@lobehub/ui';+import { AccordionItem, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { CheckCircle2, CircleDot, CircleSlash, Loader2, Play, XCircle } from 'lucide-react';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/_layout/Sidebar/Header/BenchmarkHead.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/_layout/Sidebar/Header/BenchmarkHead.tsxindex 4155b421556..0beb7373679 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/_layout/Sidebar/Header/BenchmarkHead.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/_layout/Sidebar/Header/BenchmarkHead.tsx@@ -1,15 +1,8 @@'use client';import { type DropdownItem } from '@lobehub/ui';-import {- ActionIcon,- Block,- Center,- DropdownMenu,- Skeleton,- stopPropagation,- Text,-} from '@lobehub/ui';+import { Block, Center, DropdownMenu, Skeleton, stopPropagation } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import {Activity,diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/datasets/[datasetId]/index.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/datasets/[datasetId]/index.tsxindex 178b4ffa614..9e33c9abaa4 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/datasets/[datasetId]/index.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/datasets/[datasetId]/index.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';-import { Button, confirmModal, toast } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, confirmModal, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ArrowLeft, Database, Pencil, Plus, Trash2 } from 'lucide-react';import { memo, useCallback, useMemo, useState } from 'react';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/features/BenchmarkHeader/index.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/features/BenchmarkHeader/index.tsxindex 0912150fc5e..769caccbf8b 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/features/BenchmarkHeader/index.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/features/BenchmarkHeader/index.tsx@@ -2,8 +2,8 @@import type { AgentEvalRunListItem } from '@lobechat/types';import { formatCost } from '@lobechat/utils';-import { type DropdownItem, DropdownMenu, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button, confirmModal } from '@lobehub/ui/base-ui';+import { type DropdownItem, DropdownMenu, Flexbox, Icon } from '@lobehub/ui';+import { Button, confirmModal, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import {CircleDollarSign,diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/DatasetCard.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/DatasetCard.tsxindex 3cdd20fcfcb..7c41a050696 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/DatasetCard.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/DatasetCard.tsx@@ -1,5 +1,5 @@-import { ActionIcon, DropdownMenu, Flexbox, Tag } from '@lobehub/ui';-import { Button, confirmModal, toast } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox } from '@lobehub/ui';+import { ActionIcon, Button, confirmModal, Tag, toast } from '@lobehub/ui/base-ui';import { Card } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { ArrowRight, ChevronRight, Database, Ellipsis, Pencil, Play, Trash2 } from 'lucide-react';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/EmptyState.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/EmptyState.tsxindex 5205e912e11..cc258a15ad5 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/EmptyState.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/EmptyState.tsx@@ -1,5 +1,5 @@-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { Card } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { Database, Plus } from 'lucide-react';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/TestCaseEmptyState.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/TestCaseEmptyState.tsxindex c3d8944d0b2..6dd72e04fbb 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/TestCaseEmptyState.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/TestCaseEmptyState.tsx@@ -1,5 +1,5 @@-import { Flexbox, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Database, FileUp, Plus } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/TestCasePreviewPanel.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/TestCasePreviewPanel.tsxindex 9eef17500ed..7563baa6db9 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/TestCasePreviewPanel.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/TestCasePreviewPanel.tsx@@ -1,4 +1,5 @@-import { ActionIcon, CopyButton, Flexbox } from '@lobehub/ui';+import { CopyButton, Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { X } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/TestCaseTable.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/TestCaseTable.tsxindex 3dcecfc2d17..15997113a88 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/TestCaseTable.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/TestCaseTable.tsx@@ -1,5 +1,5 @@-import { ActionIcon, DropdownMenu, Flexbox, Input, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Input } from '@lobehub/ui';+import { ActionIcon, Button, Text } from '@lobehub/ui/base-ui';import { Pagination, Table } from 'antd';import { type ColumnsType } from 'antd/es/table';import { createStaticStyles, cssVar } from 'antd-style';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/index.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/index.tsxindex 7bb6b5b2986..b750f53175b 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/index.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/features/DatasetsTab/index.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';-import { Button, confirmModal, toast } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, confirmModal, Text, toast } from '@lobehub/ui/base-ui';import { Card, Skeleton } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { Plus } from 'lucide-react';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/features/RunCreateModal/Content.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/features/RunCreateModal/Content.tsxindex 40e43962360..ecedbdbfa6a 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/features/RunCreateModal/Content.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/features/RunCreateModal/Content.tsx@@ -1,8 +1,8 @@'use client';import { AGENT_PROFILE_URL, DEFAULT_INBOX_AVATAR, INBOX_SESSION_ID } from '@lobechat/const';-import { Accordion, AccordionItem, ActionIcon, Avatar, Flexbox, Text } from '@lobehub/ui';-import { Select, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Accordion, AccordionItem, Flexbox } from '@lobehub/ui';+import { ActionIcon, Avatar, Select, Text, toast, useModalContext } from '@lobehub/ui/base-ui';import { Form, Input, InputNumber, Space } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { SquareArrowOutUpRight } from 'lucide-react';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/features/RunEditModal/Content.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/features/RunEditModal/Content.tsxindex 9ec157f574c..17a71eb5278 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/features/RunEditModal/Content.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/features/RunEditModal/Content.tsx@@ -2,8 +2,8 @@import { AGENT_PROFILE_URL, DEFAULT_INBOX_AVATAR, INBOX_SESSION_ID } from '@lobechat/const';import type { AgentEvalRunStatus, EvalRunInputConfig } from '@lobechat/types';-import { Accordion, AccordionItem, ActionIcon, Avatar, Flexbox } from '@lobehub/ui';-import { Select, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Accordion, AccordionItem, Flexbox } from '@lobehub/ui';+import { ActionIcon, Avatar, Select, toast, useModalContext } from '@lobehub/ui/base-ui';import { Form, Input, InputNumber, Space } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { SquareArrowOutUpRight } from 'lucide-react';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/features/RunsTab/EmptyState.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/features/RunsTab/EmptyState.tsxindex abc7f7c08cb..5ec2aebc83e 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/features/RunsTab/EmptyState.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/features/RunsTab/EmptyState.tsx@@ -1,5 +1,5 @@-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Activity, Plus } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/features/RunsTab/index.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/features/RunsTab/index.tsxindex 58b03865797..48aba3a0dec 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/features/RunsTab/index.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/features/RunsTab/index.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';-import { Button, Select } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, Select, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { Plus } from 'lucide-react';import { memo, useMemo, useState } from 'react';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/cases/[caseId]/features/CaseBanner/index.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/cases/[caseId]/features/CaseBanner/index.tsxindex af2412f214f..96f39ea2e10 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/cases/[caseId]/features/CaseBanner/index.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/cases/[caseId]/features/CaseBanner/index.tsx@@ -2,7 +2,8 @@import type { EvalRunTopicResult } from '@lobechat/types';import { formatCost, formatShortenNumber } from '@lobechat/utils';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import {ArrowLeft,diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/cases/[caseId]/features/ChatArea/index.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/cases/[caseId]/features/ChatArea/index.tsxindex f8a38bf3d12..bf6072a49f6 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/cases/[caseId]/features/ChatArea/index.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/cases/[caseId]/features/ChatArea/index.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo, useCallback } from 'react';import { useTranslation } from 'react-i18next';@@ -12,16 +13,13 @@ import { useInitAgentConfig } from '@/hooks/useInitAgentConfig';const styles = createStaticStyles(({ css }) => ({header: css`flex: none;-padding-block: 12px;padding-inline: 16px;border-block-end: 1px solid ${cssVar.colorBorderSecondary};`,scroll: css`- overflow-x: hidden;- overflow-y: auto;-position: relative;+ overflow: hidden auto;flex: 1;`,}));diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/cases/[caseId]/features/InfoSidebar/index.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/cases/[caseId]/features/InfoSidebar/index.tsxindex 407f992116b..97e90eeb037 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/cases/[caseId]/features/InfoSidebar/index.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/cases/[caseId]/features/InfoSidebar/index.tsx@@ -2,7 +2,8 @@import type { EvalRubricScore } from '@lobechat/types';import { formatCost, formatShortenNumber } from '@lobechat/utils';-import { Flexbox, Highlighter, Tag, Text } from '@lobehub/ui';+import { Flexbox, Highlighter } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { Collapse } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { memo, type ReactNode } from 'react';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/CaseResultsTable/index.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/CaseResultsTable/index.tsxindex b3da0fb06c9..ed3e4c6c53e 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/CaseResultsTable/index.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/CaseResultsTable/index.tsx@@ -2,8 +2,8 @@import type { EvalThreadResult } from '@lobechat/types';import { formatCost, formatShortenNumber } from '@lobechat/utils';-import { ActionIcon, Flexbox, Icon, Tag } from '@lobehub/ui';-import { Select } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Select, Tag } from '@lobehub/ui/base-ui';import { Badge, Input, Table, Tooltip } from 'antd';import type { ColumnsType } from 'antd/es/table';import { createStaticStyles, cssVar } from 'antd-style';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/Charts/ScatterPlot.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/Charts/ScatterPlot.tsxindex 7d10ee42a58..0f7ced43631 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/Charts/ScatterPlot.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/Charts/ScatterPlot.tsx@@ -1,7 +1,8 @@'use client';import { formatCost, formatShortenNumber } from '@lobechat/utils';-import { Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { Divider, Tooltip } from 'antd';import { createStaticStyles, cssVar, useTheme } from 'antd-style';import { memo, useMemo } from 'react';diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/RunHeader/index.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/RunHeader/index.tsxindex 66459bf2b5f..8f9b09b40c8 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/RunHeader/index.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/RunHeader/index.tsx@@ -2,8 +2,8 @@import { AGENT_PROFILE_URL } from '@lobechat/const';import type { AgentEvalRunDetail } from '@lobechat/types';-import { ActionIcon, Avatar, copyToClipboard, Flexbox, Highlighter, Markdown } from '@lobehub/ui';-import { Button, confirmModal, toast } from '@lobehub/ui/base-ui';+import { copyToClipboard, Flexbox, Highlighter, Markdown } from '@lobehub/ui';+import { ActionIcon, Avatar, Button, confirmModal, toast } from '@lobehub/ui/base-ui';import { Tag } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import {diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/StatsCards/index.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/StatsCards/index.tsxindex de7959604b9..9f5d453ac0a 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/StatsCards/index.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/features/StatsCards/index.tsx@@ -2,7 +2,8 @@import type { EvalRunMetrics } from '@lobechat/types';import { formatCost, formatShortenNumber } from '@lobechat/utils';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { CheckCircle2, Clock, DollarSign, Hash } from 'lucide-react';import { memo } from 'react';@@ -18,14 +19,13 @@ const styles = createStaticStyles(({ css }) => ({`,grid: css`display: grid;- gap: 16px;grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));+ gap: 16px;`,// Pass rate hero — the run's headline outcome, given the most visual weight.hero: css`padding: 20px;border-radius: ${cssVar.borderRadiusLG};-background: ${cssVar.colorFillQuaternary};`,heroValue: css`@@ -52,9 +52,7 @@ const styles = createStaticStyles(({ css }) => ({progressFill: css`height: 100%;border-radius: 999px;-background: ${cssVar.colorSuccess};-transition: width 0.3s ease;@media (prefers-reduced-motion: reduce) {diff --git a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/index.tsx b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/index.tsxindex 88210021033..476d6d22ca6 100644--- a/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/index.tsx+++ b/src/routes/(main)/eval/bench/[benchmarkId]/runs/[runId]/index.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';-import { Button, confirmModal } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, confirmModal, Text } from '@lobehub/ui/base-ui';import { Progress } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { Play, RotateCcw } from 'lucide-react';diff --git a/src/routes/(main)/eval/features/BenchmarkCard/index.tsx b/src/routes/(main)/eval/features/BenchmarkCard/index.tsxindex 40dc85a9082..4fbc9c635d1 100644--- a/src/routes/(main)/eval/features/BenchmarkCard/index.tsx+++ b/src/routes/(main)/eval/features/BenchmarkCard/index.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Icon, Tag, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Button, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import {Activity,diff --git a/src/routes/(main)/eval/features/DatasetCreateModal/Content.tsx b/src/routes/(main)/eval/features/DatasetCreateModal/Content.tsxindex b8e418ae2b2..46d871cffb7 100644--- a/src/routes/(main)/eval/features/DatasetCreateModal/Content.tsx+++ b/src/routes/(main)/eval/features/DatasetCreateModal/Content.tsx@@ -1,7 +1,7 @@'use client';-import { Center, Flexbox, Icon, Input, Text, TextArea } from '@lobehub/ui';-import { Select, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Center, Flexbox, Icon, Input, TextArea } from '@lobehub/ui';+import { Select, Text, toast, useModalContext } from '@lobehub/ui/base-ui';import { Form } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { CheckIcon } from 'lucide-react';diff --git a/src/routes/(main)/eval/features/DatasetEditModal/Content.tsx b/src/routes/(main)/eval/features/DatasetEditModal/Content.tsxindex ebe61be687e..12fd4ceaf5e 100644--- a/src/routes/(main)/eval/features/DatasetEditModal/Content.tsx+++ b/src/routes/(main)/eval/features/DatasetEditModal/Content.tsx@@ -1,7 +1,7 @@'use client';-import { Center, Flexbox, Icon, Input, Text, TextArea } from '@lobehub/ui';-import { Select, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Center, Flexbox, Icon, Input, TextArea } from '@lobehub/ui';+import { Select, Text, toast, useModalContext } from '@lobehub/ui/base-ui';import { Form } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { CheckIcon } from 'lucide-react';diff --git a/src/routes/(main)/eval/features/DatasetImportModal/MappingStep.tsx b/src/routes/(main)/eval/features/DatasetImportModal/MappingStep.tsxindex ee1a65324f6..788c9b5c677 100644--- a/src/routes/(main)/eval/features/DatasetImportModal/MappingStep.tsx+++ b/src/routes/(main)/eval/features/DatasetImportModal/MappingStep.tsx@@ -1,7 +1,7 @@'use client';-import { Flexbox, Input, Text } from '@lobehub/ui';-import { Checkbox, Select } from '@lobehub/ui/base-ui';+import { Flexbox, Input } from '@lobehub/ui';+import { Checkbox, Select, Text } from '@lobehub/ui/base-ui';import { Table } from 'antd';import { cssVar } from 'antd-style';import { memo, type ReactNode, useMemo, useState } from 'react';diff --git a/src/routes/(main)/eval/features/DatasetImportModal/UploadStep.tsx b/src/routes/(main)/eval/features/DatasetImportModal/UploadStep.tsxindex 4af851209fe..c3bd5730084 100644--- a/src/routes/(main)/eval/features/DatasetImportModal/UploadStep.tsx+++ b/src/routes/(main)/eval/features/DatasetImportModal/UploadStep.tsx@@ -1,7 +1,8 @@'use client';import { type FileUploadState } from '@lobechat/types';-import { Center, Flexbox, Icon, Tag } from '@lobehub/ui';+import { Center, Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { Progress, Upload } from 'antd';import { createStaticStyles } from 'antd-style';import { CloudUpload, ImportIcon } from 'lucide-react';diff --git a/src/routes/(main)/eval/features/Experiments/BenchmarksSection.tsx b/src/routes/(main)/eval/features/Experiments/BenchmarksSection.tsxindex 8b5a4c14438..7a1ef75c553 100644--- a/src/routes/(main)/eval/features/Experiments/BenchmarksSection.tsx+++ b/src/routes/(main)/eval/features/Experiments/BenchmarksSection.tsx@@ -1,7 +1,8 @@'use client';import type { AgentEvalExperimentDetail } from '@lobechat/types';-import { ActionIcon, Empty, Flexbox } from '@lobehub/ui';+import { Empty, Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Card } from 'antd';import { createStaticStyles } from 'antd-style';import { ChevronRight, Database } from 'lucide-react';diff --git a/src/routes/(main)/eval/features/Experiments/DatasetRow.tsx b/src/routes/(main)/eval/features/Experiments/DatasetRow.tsxindex 1fee156e87d..691bffcc0a3 100644--- a/src/routes/(main)/eval/features/Experiments/DatasetRow.tsx+++ b/src/routes/(main)/eval/features/Experiments/DatasetRow.tsx@@ -1,8 +1,8 @@'use client';import type { AgentEvalDatasetListItem } from '@lobechat/types';-import { ActionIcon, Flexbox, Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ChevronRight, Database, Play } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/eval/features/Experiments/ExperimentCreateModal.tsx b/src/routes/(main)/eval/features/Experiments/ExperimentCreateModal.tsxindex 92af160434b..3a169c3693c 100644--- a/src/routes/(main)/eval/features/Experiments/ExperimentCreateModal.tsx+++ b/src/routes/(main)/eval/features/Experiments/ExperimentCreateModal.tsx@@ -6,9 +6,9 @@ import {ModalFooter,type ModalInstance,Select,+ toast,useModalContext,} from '@lobehub/ui/base-ui';-import { toast } from '@lobehub/ui/base-ui';import { Form, Input } from 'antd';import { t } from 'i18next';import { memo, useEffect } from 'react';diff --git a/src/routes/(main)/eval/features/Experiments/ExperimentHeader.tsx b/src/routes/(main)/eval/features/Experiments/ExperimentHeader.tsxindex b98a2606cde..04be1c7ba48 100644--- a/src/routes/(main)/eval/features/Experiments/ExperimentHeader.tsx+++ b/src/routes/(main)/eval/features/Experiments/ExperimentHeader.tsx@@ -1,9 +1,8 @@'use client';import type { AgentEvalExperimentDetail } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';-import { Button, type DropdownItem, DropdownMenu } from '@lobehub/ui/base-ui';-import { toast } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Button, type DropdownItem, DropdownMenu, Text, toast } from '@lobehub/ui/base-ui';import { App } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { Ellipsis, Pencil, Trash2 } from 'lucide-react';diff --git a/src/routes/(main)/eval/features/Experiments/ExperimentStats.tsx b/src/routes/(main)/eval/features/Experiments/ExperimentStats.tsxindex 8d94bc93c05..345532fb764 100644--- a/src/routes/(main)/eval/features/Experiments/ExperimentStats.tsx+++ b/src/routes/(main)/eval/features/Experiments/ExperimentStats.tsx@@ -1,7 +1,8 @@'use client';import type { AgentEvalExperimentDetail } from '@lobechat/types';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/eval/features/Experiments/RunRow.tsx b/src/routes/(main)/eval/features/Experiments/RunRow.tsxindex 33c8d3f02f7..11845112d16 100644--- a/src/routes/(main)/eval/features/Experiments/RunRow.tsx+++ b/src/routes/(main)/eval/features/Experiments/RunRow.tsx@@ -1,7 +1,8 @@'use client';import type { AgentEvalRunListItem } from '@lobechat/types';-import { ActionIcon, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ChevronRight } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/eval/features/Experiments/SummaryCard.tsx b/src/routes/(main)/eval/features/Experiments/SummaryCard.tsxindex 507edd7eaf0..0da02a8033c 100644--- a/src/routes/(main)/eval/features/Experiments/SummaryCard.tsx+++ b/src/routes/(main)/eval/features/Experiments/SummaryCard.tsx@@ -1,7 +1,8 @@'use client';import type { AgentEvalExperimentListItem } from '@lobechat/types';-import { Flexbox, Icon, Text } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { ArrowRight, Beaker } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/eval/features/TestCaseCreateModal/Content.tsx b/src/routes/(main)/eval/features/TestCaseCreateModal/Content.tsxindex 02a0df5ae42..8fb2d1dd27f 100644--- a/src/routes/(main)/eval/features/TestCaseCreateModal/Content.tsx+++ b/src/routes/(main)/eval/features/TestCaseCreateModal/Content.tsx@@ -1,7 +1,7 @@'use client';-import { Accordion, AccordionItem, Flexbox, Input, Text, TextArea } from '@lobehub/ui';-import { Select, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Accordion, AccordionItem, Flexbox, Input, TextArea } from '@lobehub/ui';+import { Select, Text, toast, useModalContext } from '@lobehub/ui/base-ui';import { Form } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { type FC } from 'react';diff --git a/src/routes/(main)/eval/features/TestCaseEditModal/Content.tsx b/src/routes/(main)/eval/features/TestCaseEditModal/Content.tsxindex 2e58e0403c7..55a1e344272 100644--- a/src/routes/(main)/eval/features/TestCaseEditModal/Content.tsx+++ b/src/routes/(main)/eval/features/TestCaseEditModal/Content.tsx@@ -1,7 +1,7 @@'use client';-import { Accordion, AccordionItem, Flexbox, Input, Text, TextArea } from '@lobehub/ui';-import { Select, toast, useModalContext } from '@lobehub/ui/base-ui';+import { Accordion, AccordionItem, Flexbox, Input, TextArea } from '@lobehub/ui';+import { Select, Text, toast, useModalContext } from '@lobehub/ui/base-ui';import { Form } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { type FC, useEffect } from 'react';diff --git a/src/routes/(main)/eval/index.tsx b/src/routes/(main)/eval/index.tsxindex 36855068e02..df1a1acdcf6 100644--- a/src/routes/(main)/eval/index.tsx+++ b/src/routes/(main)/eval/index.tsx@@ -1,7 +1,7 @@'use client';-import { Empty, Flexbox, Skeleton, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Empty, Flexbox, Skeleton } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { FlaskConical, Plus } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/group/_layout/Sidebar/AddGroupMemberModal/AgentItem.tsx b/src/routes/(main)/group/_layout/Sidebar/AddGroupMemberModal/AgentItem.tsxindex dc142500127..49278ae0188 100644--- a/src/routes/(main)/group/_layout/Sidebar/AddGroupMemberModal/AgentItem.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/AddGroupMemberModal/AgentItem.tsx@@ -1,8 +1,8 @@'use client';import { agentDisplayName } from '@lobechat/types';-import { Avatar, Flexbox, Text } from '@lobehub/ui';-import { Checkbox } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, Checkbox, Text } from '@lobehub/ui/base-ui';import { useHover } from 'ahooks';import { createStaticStyles } from 'antd-style';import { X } from 'lucide-react';diff --git a/src/routes/(main)/group/_layout/Sidebar/AddGroupMemberModal/AvailableAgentList.tsx b/src/routes/(main)/group/_layout/Sidebar/AddGroupMemberModal/AvailableAgentList.tsxindex fc9ffcf44ba..15cdfdf2120 100644--- a/src/routes/(main)/group/_layout/Sidebar/AddGroupMemberModal/AvailableAgentList.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/AddGroupMemberModal/AvailableAgentList.tsx@@ -1,7 +1,8 @@'use client';import { agentDisplayName } from '@lobechat/types';-import { Flexbox, SearchBar, Skeleton, Text } from '@lobehub/ui';+import { Flexbox, SearchBar, Skeleton } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import isEqual from 'fast-deep-equal';import { type ChangeEvent } from 'react';diff --git a/src/routes/(main)/group/_layout/Sidebar/GroupConfig/GroupMember.tsx b/src/routes/(main)/group/_layout/Sidebar/GroupConfig/GroupMember.tsxindex c8daa82589a..d77cce360cb 100644--- a/src/routes/(main)/group/_layout/Sidebar/GroupConfig/GroupMember.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/GroupConfig/GroupMember.tsx@@ -1,7 +1,8 @@'use client';import { agentDisplayName } from '@lobechat/types';-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { UserMinus } from 'lucide-react';import { memo, useMemo, useState } from 'react';diff --git a/src/routes/(main)/group/_layout/Sidebar/GroupConfig/GroupMemberItem.tsx b/src/routes/(main)/group/_layout/Sidebar/GroupConfig/GroupMemberItem.tsxindex 60a69327c38..a0eb2bbacdd 100644--- a/src/routes/(main)/group/_layout/Sidebar/GroupConfig/GroupMemberItem.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/GroupConfig/GroupMemberItem.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, Flexbox, Tag } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, Tag } from '@lobehub/ui/base-ui';import { type ReactNode } from 'react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/group/_layout/Sidebar/GroupConfig/SortMembersModal/MemberItem.tsx b/src/routes/(main)/group/_layout/Sidebar/GroupConfig/SortMembersModal/MemberItem.tsxindex 36a6e5fbb06..d10600dee0b 100644--- a/src/routes/(main)/group/_layout/Sidebar/GroupConfig/SortMembersModal/MemberItem.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/GroupConfig/SortMembersModal/MemberItem.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, SortableList, Tag } from '@lobehub/ui';+import { SortableList } from '@lobehub/ui';+import { Avatar, Tag } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/group/_layout/Sidebar/Header/Agent/index.tsx b/src/routes/(main)/group/_layout/Sidebar/Header/Agent/index.tsxindex 8469b8c19d9..a7557037a55 100644--- a/src/routes/(main)/group/_layout/Sidebar/Header/Agent/index.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/Header/Agent/index.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Block, Text } from '@lobehub/ui';+import { Block } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { ChevronsUpDownIcon } from 'lucide-react';import { type PropsWithChildren } from 'react';import React, { memo } from 'react';diff --git a/src/routes/(main)/group/_layout/Sidebar/Members/index.tsx b/src/routes/(main)/group/_layout/Sidebar/Members/index.tsxindex 5686470de36..6b94f890dbc 100644--- a/src/routes/(main)/group/_layout/Sidebar/Members/index.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/Members/index.tsx@@ -1,6 +1,7 @@'use client';-import { AccordionItem, ActionIcon, Flexbox, Text } from '@lobehub/ui';+import { AccordionItem, Flexbox } from '@lobehub/ui';+import { ActionIcon, Text } from '@lobehub/ui/base-ui';import { ArrowUpDown, Loader2Icon, UserPlus } from 'lucide-react';import { type MouseEvent } from 'react';import { memo, useState } from 'react';diff --git a/src/routes/(main)/group/_layout/Sidebar/Topic/Actions.tsx b/src/routes/(main)/group/_layout/Sidebar/Topic/Actions.tsxindex 93feab8fe3c..654faf3fa53 100644--- a/src/routes/(main)/group/_layout/Sidebar/Topic/Actions.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/Topic/Actions.tsx@@ -1,4 +1,5 @@-import { ActionIcon, DropdownMenu } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MoreHorizontal } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/routes/(main)/group/_layout/Sidebar/Topic/Filter.tsx b/src/routes/(main)/group/_layout/Sidebar/Topic/Filter.tsxindex c5eb0365987..25010ce02c5 100644--- a/src/routes/(main)/group/_layout/Sidebar/Topic/Filter.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/Topic/Filter.tsx@@ -1,5 +1,4 @@-import { ActionIcon } from '@lobehub/ui';-import { DropdownMenu } from '@lobehub/ui/base-ui';+import { ActionIcon, DropdownMenu } from '@lobehub/ui/base-ui';import { ListFilter } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/group/_layout/Sidebar/Topic/List/Item/Actions.tsx b/src/routes/(main)/group/_layout/Sidebar/Topic/List/Item/Actions.tsxindex be1dce25cf0..73bca2db2fb 100644--- a/src/routes/(main)/group/_layout/Sidebar/Topic/List/Item/Actions.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/Topic/List/Item/Actions.tsx@@ -1,5 +1,6 @@import type { DropdownItem } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MoreHorizontalIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/group/_layout/Sidebar/Topic/List/Item/index.tsx b/src/routes/(main)/group/_layout/Sidebar/Topic/List/Item/index.tsxindex 744f6227e06..ff387224618 100644--- a/src/routes/(main)/group/_layout/Sidebar/Topic/List/Item/index.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/Topic/List/Item/index.tsx@@ -1,6 +1,7 @@import { GROUP_CHAT_TOPIC_URL } from '@lobechat/const';import type { ChatTopicStatus } from '@lobechat/types';-import { Flexbox, Icon, Skeleton, Tag, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Skeleton, Tooltip } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, useTheme } from 'antd-style';import { HashIcon, MessageSquareDashed } from 'lucide-react';import { AnimatePresence, m } from 'motion/react';diff --git a/src/routes/(main)/group/_layout/Sidebar/Topic/TopicListContent/ByTimeMode/GroupItem.tsx b/src/routes/(main)/group/_layout/Sidebar/Topic/TopicListContent/ByTimeMode/GroupItem.tsxindex b47efde57cc..66fc5c90404 100644--- a/src/routes/(main)/group/_layout/Sidebar/Topic/TopicListContent/ByTimeMode/GroupItem.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/Topic/TopicListContent/ByTimeMode/GroupItem.tsx@@ -1,4 +1,5 @@-import { AccordionItem, Flexbox, Text } from '@lobehub/ui';+import { AccordionItem, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import dayjs from 'dayjs';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/group/_layout/Sidebar/Topic/TopicListContent/ThreadList/ThreadItem/Actions.tsx b/src/routes/(main)/group/_layout/Sidebar/Topic/TopicListContent/ThreadList/ThreadItem/Actions.tsxindex be1dce25cf0..73bca2db2fb 100644--- a/src/routes/(main)/group/_layout/Sidebar/Topic/TopicListContent/ThreadList/ThreadItem/Actions.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/Topic/TopicListContent/ThreadList/ThreadItem/Actions.tsx@@ -1,5 +1,6 @@import type { DropdownItem } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { MoreHorizontalIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/group/_layout/Sidebar/Topic/index.tsx b/src/routes/(main)/group/_layout/Sidebar/Topic/index.tsxindex 97575af15a3..31fc7f3b5f0 100644--- a/src/routes/(main)/group/_layout/Sidebar/Topic/index.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/Topic/index.tsx@@ -1,6 +1,7 @@'use client';-import { AccordionItem, ContextMenuTrigger, Flexbox, Text } from '@lobehub/ui';+import { AccordionItem, ContextMenuTrigger, Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import React, { memo, Suspense } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/group/features/Conversation/AgentWelcome/index.tsx b/src/routes/(main)/group/features/Conversation/AgentWelcome/index.tsxindex 795c021d217..402c47e0499 100644--- a/src/routes/(main)/group/features/Conversation/AgentWelcome/index.tsx+++ b/src/routes/(main)/group/features/Conversation/AgentWelcome/index.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Markdown, Text } from '@lobehub/ui';+import { Flexbox, Markdown } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import isEqual from 'fast-deep-equal';import React, { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/group/features/Conversation/Header/ShareButton/index.tsx b/src/routes/(main)/group/features/Conversation/Header/ShareButton/index.tsxindex 7cca8a1b820..0a8de7b6971 100644--- a/src/routes/(main)/group/features/Conversation/Header/ShareButton/index.tsx+++ b/src/routes/(main)/group/features/Conversation/Header/ShareButton/index.tsx@@ -1,6 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { Share2 } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/group/features/TelemetryNotification.tsx b/src/routes/(main)/group/features/TelemetryNotification.tsxindex c76d3c6ee99..8fd058c8044 100644--- a/src/routes/(main)/group/features/TelemetryNotification.tsx+++ b/src/routes/(main)/group/features/TelemetryNotification.tsx@@ -1,8 +1,8 @@'use client';import { BRANDING_NAME } from '@lobechat/business-const';-import { Avatar, Flexbox, Icon } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Avatar, Button } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { LucideArrowUpRightFromSquare, TelescopeIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/group/profile/features/AgentBuilder/TopicSelector.tsx b/src/routes/(main)/group/profile/features/AgentBuilder/TopicSelector.tsxindex eb65c0ac7db..7ed8c278c1f 100644--- a/src/routes/(main)/group/profile/features/AgentBuilder/TopicSelector.tsx+++ b/src/routes/(main)/group/profile/features/AgentBuilder/TopicSelector.tsx@@ -1,5 +1,6 @@import { type DropdownMenuCheckboxItem } from '@lobehub/ui';-import { ActionIcon, DropdownMenu, Tag } from '@lobehub/ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon, Tag } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { Clock3Icon, PlusIcon } from 'lucide-react';import { memo, useCallback, useMemo } from 'react';diff --git a/src/routes/(main)/group/profile/features/GroupProfile/GroupForkTag.tsx b/src/routes/(main)/group/profile/features/GroupProfile/GroupForkTag.tsxindex 059d3319160..a23079fc06d 100644--- a/src/routes/(main)/group/profile/features/GroupProfile/GroupForkTag.tsx+++ b/src/routes/(main)/group/profile/features/GroupProfile/GroupForkTag.tsx@@ -1,6 +1,7 @@'use client';-import { Icon, Tag } from '@lobehub/ui';+import { Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { GitFork } from 'lucide-react';import { memo, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';@@ -61,7 +62,6 @@ const GroupForkTag = memo(() => {return (<Tag- bordered={false}color="default"icon={<Icon icon={GitFork} />}style={{ cursor: 'pointer' }}diff --git a/src/routes/(main)/group/profile/features/GroupProfile/GroupStatusTag.tsx b/src/routes/(main)/group/profile/features/GroupProfile/GroupStatusTag.tsxindex 94c07ebb7a8..29e5832036e 100644--- a/src/routes/(main)/group/profile/features/GroupProfile/GroupStatusTag.tsx+++ b/src/routes/(main)/group/profile/features/GroupProfile/GroupStatusTag.tsx@@ -1,6 +1,6 @@'use client';-import { Tag } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { memo, useEffect, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';import { useParams } from 'react-router';@@ -73,11 +73,7 @@ const GroupStatusTag = memo(() => {if (loading || !statusConfig) return null;- return (- <Tag bordered={false} color={statusConfig.color}>- {statusConfig.label}- </Tag>- );+ return <Tag color={statusConfig.color}>{statusConfig.label}</Tag>;});GroupStatusTag.displayName = 'GroupStatusTag';diff --git a/src/routes/(main)/group/profile/features/GroupProfile/GroupVersionReviewTag.tsx b/src/routes/(main)/group/profile/features/GroupProfile/GroupVersionReviewTag.tsxindex 6c2f6177d58..ddc57bcd681 100644--- a/src/routes/(main)/group/profile/features/GroupProfile/GroupVersionReviewTag.tsx+++ b/src/routes/(main)/group/profile/features/GroupProfile/GroupVersionReviewTag.tsx@@ -1,6 +1,6 @@'use client';-import { Tag } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { memo, useEffect, useMemo, useState } from 'react';import { useTranslation } from 'react-i18next';import { useParams } from 'react-router';@@ -62,7 +62,7 @@ const GroupVersionReviewTag = memo(() => {if (loading || !showReviewTag) return null;return (- <Tag bordered={false} color="orange">+ <Tag color="orange">{t('marketPublish.status.underReview', { defaultValue: 'Under Review' })}</Tag>);diff --git a/src/routes/(main)/group/profile/features/GroupProfile/index.tsx b/src/routes/(main)/group/profile/features/GroupProfile/index.tsxindex b582cc31e68..093f804b462 100644--- a/src/routes/(main)/group/profile/features/GroupProfile/index.tsx+++ b/src/routes/(main)/group/profile/features/GroupProfile/index.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, DropdownMenu, Flexbox, Icon } from '@lobehub/ui';-import { Button, type ModalInstance } from '@lobehub/ui/base-ui';+import { DropdownMenu, Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Button, type ModalInstance } from '@lobehub/ui/base-ui';import { Divider } from 'antd';import { useTheme } from 'antd-style';import { MoreHorizontalIcon, PlayIcon, Settings2Icon, UsersIcon } from 'lucide-react';diff --git a/src/routes/(main)/group/profile/features/Header/AgentBuilderToggle.tsx b/src/routes/(main)/group/profile/features/Header/AgentBuilderToggle.tsxindex 916de48a0fd..d4f9c1be12e 100644--- a/src/routes/(main)/group/profile/features/Header/AgentBuilderToggle.tsx+++ b/src/routes/(main)/group/profile/features/Header/AgentBuilderToggle.tsx@@ -1,4 +1,4 @@-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { BotMessageSquareIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/group/profile/features/Header/ChromeTabs/index.tsx b/src/routes/(main)/group/profile/features/Header/ChromeTabs/index.tsxindex a6e43b086ba..edf6a7c4166 100644--- a/src/routes/(main)/group/profile/features/Header/ChromeTabs/index.tsx+++ b/src/routes/(main)/group/profile/features/Header/ChromeTabs/index.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, DropdownMenu, Flexbox, type MenuProps, Tooltip } from '@lobehub/ui';+import { DropdownMenu, Flexbox, type MenuProps, Tooltip } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { Plus } from 'lucide-react';import { type ReactNode } from 'react';diff --git a/src/routes/(main)/memory/(home)/features/Persona/PersonaHeader.tsx b/src/routes/(main)/memory/(home)/features/Persona/PersonaHeader.tsxindex cbab5fd502f..80d75cca3d7 100644--- a/src/routes/(main)/memory/(home)/features/Persona/PersonaHeader.tsx+++ b/src/routes/(main)/memory/(home)/features/Persona/PersonaHeader.tsx@@ -1,4 +1,4 @@-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';const styles = createStaticStyles(({ css, cssVar }) => ({diff --git a/src/routes/(main)/memory/(home)/features/RoleTagCloud/index.tsx b/src/routes/(main)/memory/(home)/features/RoleTagCloud/index.tsxindex 4e9007948bf..9a30c4bd28c 100644--- a/src/routes/(main)/memory/(home)/features/RoleTagCloud/index.tsx+++ b/src/routes/(main)/memory/(home)/features/RoleTagCloud/index.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Block } from '@lobehub/ui';+import { Block } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import { MaximizeIcon, MinimizeIcon } from 'lucide-react';import { memo, useEffect, useState } from 'react';diff --git a/src/routes/(main)/memory/activities/features/ActivityDropdown.tsx b/src/routes/(main)/memory/activities/features/ActivityDropdown.tsxindex 4785ce6033f..b1f5a644c08 100644--- a/src/routes/(main)/memory/activities/features/ActivityDropdown.tsx+++ b/src/routes/(main)/memory/activities/features/ActivityDropdown.tsx@@ -1,6 +1,5 @@-import { type ActionIconProps } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';-import { confirmModal } from '@lobehub/ui/base-ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon, type ActionIconProps, confirmModal } from '@lobehub/ui/base-ui';import { MoreHorizontal, Pencil, Trash2 } from 'lucide-react';import { type KeyboardEvent, type MouseEvent } from 'react';import { memo } from 'react';diff --git a/src/routes/(main)/memory/activities/features/ActivityRightPanel.tsx b/src/routes/(main)/memory/activities/features/ActivityRightPanel.tsxindex 2db6194f42d..e69e4544461 100644--- a/src/routes/(main)/memory/activities/features/ActivityRightPanel.tsx+++ b/src/routes/(main)/memory/activities/features/ActivityRightPanel.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Tag, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import dayjs from 'dayjs';import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/memory/activities/features/List/GridView/ActivityCard.tsx b/src/routes/(main)/memory/activities/features/List/GridView/ActivityCard.tsxindex 7f59cd607ad..6cf7696a08b 100644--- a/src/routes/(main)/memory/activities/features/List/GridView/ActivityCard.tsx+++ b/src/routes/(main)/memory/activities/features/List/GridView/ActivityCard.tsx@@ -1,5 +1,5 @@import { type ActivityListItem } from '@lobechat/types';-import { Tag } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/memory/activities/index.tsx b/src/routes/(main)/memory/activities/index.tsxindex 7a18b89ae2a..c727072b508 100644--- a/src/routes/(main)/memory/activities/index.tsx+++ b/src/routes/(main)/memory/activities/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Tag } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { CalendarClockIcon } from 'lucide-react';import { type FC } from 'react';import { memo, useCallback, useEffect, useState } from 'react';diff --git a/src/routes/(main)/memory/contexts/features/ContextDropdown.tsx b/src/routes/(main)/memory/contexts/features/ContextDropdown.tsxindex dc36e4ca268..68a0b6eaec1 100644--- a/src/routes/(main)/memory/contexts/features/ContextDropdown.tsx+++ b/src/routes/(main)/memory/contexts/features/ContextDropdown.tsx@@ -1,6 +1,5 @@-import { type ActionIconProps } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';-import { confirmModal } from '@lobehub/ui/base-ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon, type ActionIconProps, confirmModal } from '@lobehub/ui/base-ui';import { MoreHorizontal, Pencil, Trash2 } from 'lucide-react';import { type KeyboardEvent, type MouseEvent } from 'react';import { memo } from 'react';diff --git a/src/routes/(main)/memory/contexts/features/ContextRightPanel.tsx b/src/routes/(main)/memory/contexts/features/ContextRightPanel.tsxindex 5a0abd24ec9..a20f42ad765 100644--- a/src/routes/(main)/memory/contexts/features/ContextRightPanel.tsx+++ b/src/routes/(main)/memory/contexts/features/ContextRightPanel.tsx@@ -1,6 +1,7 @@'use client';-import { Center, Flexbox, Text, Tooltip } from '@lobehub/ui';+import { Center, Flexbox, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { Badge } from 'antd';import { cssVar } from 'antd-style';import { memo } from 'react';diff --git a/src/routes/(main)/memory/contexts/index.tsx b/src/routes/(main)/memory/contexts/index.tsxindex d001ed6704e..82b311dd4f3 100644--- a/src/routes/(main)/memory/contexts/index.tsx+++ b/src/routes/(main)/memory/contexts/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Tag } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { BrainCircuitIcon } from 'lucide-react';import { type FC } from 'react';import { memo, useCallback, useEffect, useState } from 'react';diff --git a/src/routes/(main)/memory/experiences/features/ExperienceDropdown.tsx b/src/routes/(main)/memory/experiences/features/ExperienceDropdown.tsxindex 8d389a17561..122d936276a 100644--- a/src/routes/(main)/memory/experiences/features/ExperienceDropdown.tsx+++ b/src/routes/(main)/memory/experiences/features/ExperienceDropdown.tsx@@ -1,6 +1,5 @@-import { type ActionIconProps } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';-import { confirmModal } from '@lobehub/ui/base-ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon, type ActionIconProps, confirmModal } from '@lobehub/ui/base-ui';import { MoreHorizontal, Pencil, Trash2 } from 'lucide-react';import { type KeyboardEvent, type MouseEvent } from 'react';import { memo } from 'react';diff --git a/src/routes/(main)/memory/experiences/features/ExperienceRightPanel.tsx b/src/routes/(main)/memory/experiences/features/ExperienceRightPanel.tsxindex 68451cb3426..8110f59d6da 100644--- a/src/routes/(main)/memory/experiences/features/ExperienceRightPanel.tsx+++ b/src/routes/(main)/memory/experiences/features/ExperienceRightPanel.tsx@@ -1,6 +1,7 @@'use client';-import { Avatar, Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';import { Steps } from 'antd';import { createStaticStyles, cssVar } from 'antd-style';import { memo } from 'react';diff --git a/src/routes/(main)/memory/experiences/index.tsx b/src/routes/(main)/memory/experiences/index.tsxindex 72130596b10..59c71d87dc2 100644--- a/src/routes/(main)/memory/experiences/index.tsx+++ b/src/routes/(main)/memory/experiences/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Tag } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { BrainCircuitIcon } from 'lucide-react';import { type FC } from 'react';import { memo, useCallback, useEffect, useState } from 'react';diff --git a/src/routes/(main)/memory/features/ActionBar/PurgeButton.tsx b/src/routes/(main)/memory/features/ActionBar/PurgeButton.tsxindex d50ac0328f6..382530c8140 100644--- a/src/routes/(main)/memory/features/ActionBar/PurgeButton.tsx+++ b/src/routes/(main)/memory/features/ActionBar/PurgeButton.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Icon, Tooltip } from '@lobehub/ui';-import { Button, confirmModal, toast } from '@lobehub/ui/base-ui';+import { Icon, Tooltip } from '@lobehub/ui';+import { ActionIcon, Button, confirmModal, toast } from '@lobehub/ui/base-ui';import { Trash2Icon } from 'lucide-react';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/memory/features/CateTag.tsx b/src/routes/(main)/memory/features/CateTag.tsxindex 74854ae0d2b..2f60cfc5ca3 100644--- a/src/routes/(main)/memory/features/CateTag.tsx+++ b/src/routes/(main)/memory/features/CateTag.tsx@@ -1,4 +1,4 @@-import { Tag } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useCateColor } from './useCateColor';diff --git a/src/routes/(main)/memory/features/DetailNotFound.tsx b/src/routes/(main)/memory/features/DetailNotFound.tsxindex 5ec625ab236..ead8f89b1dc 100644--- a/src/routes/(main)/memory/features/DetailNotFound.tsx+++ b/src/routes/(main)/memory/features/DetailNotFound.tsx@@ -1,6 +1,7 @@'use client';-import { Center, Flexbox, Icon, Text } from '@lobehub/ui';+import { Center, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { FileQuestionIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/memory/features/GridView/GridCard.tsx b/src/routes/(main)/memory/features/GridView/GridCard.tsxindex b14780cc526..eebea230ca5 100644--- a/src/routes/(main)/memory/features/GridView/GridCard.tsx+++ b/src/routes/(main)/memory/features/GridView/GridCard.tsx@@ -1,4 +1,5 @@-import { Block, Center, Flexbox, Tag, Text } from '@lobehub/ui';+import { Block, Center, Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { type ReactNode } from 'react';import { memo } from 'react';diff --git a/src/routes/(main)/memory/features/HashTags.tsx b/src/routes/(main)/memory/features/HashTags.tsxindex 2288e27361e..1aca0a780a9 100644--- a/src/routes/(main)/memory/features/HashTags.tsx+++ b/src/routes/(main)/memory/features/HashTags.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Tag } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { HashIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/memory/features/HighlightedContent.tsx b/src/routes/(main)/memory/features/HighlightedContent.tsxindex 90fa4df1981..2670a05abab 100644--- a/src/routes/(main)/memory/features/HighlightedContent.tsx+++ b/src/routes/(main)/memory/features/HighlightedContent.tsx@@ -1,4 +1,5 @@-import { Flexbox, Markdown, Text } from '@lobehub/ui';+import { Flexbox, Markdown } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { memo } from 'react';diff --git a/src/routes/(main)/memory/features/MemoryAnalysis/AnalysisTrigger.tsx b/src/routes/(main)/memory/features/MemoryAnalysis/AnalysisTrigger.tsxindex da1f4ddf1d9..14417c99b7c 100644--- a/src/routes/(main)/memory/features/MemoryAnalysis/AnalysisTrigger.tsx+++ b/src/routes/(main)/memory/features/MemoryAnalysis/AnalysisTrigger.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Tooltip } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Tooltip } from '@lobehub/ui';+import { ActionIcon, Button } from '@lobehub/ui/base-ui';import { CalendarClockIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/memory/features/MemoryAnalysis/DateRangeModal.tsx b/src/routes/(main)/memory/features/MemoryAnalysis/DateRangeModal.tsxindex ef46dcf9045..a3bad180955 100644--- a/src/routes/(main)/memory/features/MemoryAnalysis/DateRangeModal.tsx+++ b/src/routes/(main)/memory/features/MemoryAnalysis/DateRangeModal.tsx@@ -1,8 +1,14 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';-import { Button, createModal, type ModalInstance, useModalContext } from '@lobehub/ui/base-ui';-import { toast } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import {+ Button,+ createModal,+ type ModalInstance,+ Text,+ toast,+ useModalContext,+} from '@lobehub/ui/base-ui';import { DatePicker } from 'antd';import { type RangePickerProps } from 'antd/es/date-picker';import dayjs from 'dayjs';diff --git a/src/routes/(main)/memory/features/MemoryAnalysis/Status.tsx b/src/routes/(main)/memory/features/MemoryAnalysis/Status.tsxindex 69f6ee3bc6e..8b4b21bdca5 100644--- a/src/routes/(main)/memory/features/MemoryAnalysis/Status.tsx+++ b/src/routes/(main)/memory/features/MemoryAnalysis/Status.tsx@@ -1,8 +1,8 @@'use client';import { AsyncTaskStatus } from '@lobechat/types';-import { Flexbox, Icon, Text } from '@lobehub/ui';-import { Alert } from '@lobehub/ui/base-ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Alert, Text } from '@lobehub/ui/base-ui';import { Progress } from 'antd';import { Loader2Icon, TriangleAlertIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/memory/features/ProgressIcon.tsx b/src/routes/(main)/memory/features/ProgressIcon.tsxindex 4a33babb678..e840c3de863 100644--- a/src/routes/(main)/memory/features/ProgressIcon.tsx+++ b/src/routes/(main)/memory/features/ProgressIcon.tsx@@ -1,4 +1,5 @@-import { Flexbox, Text, Tooltip } from '@lobehub/ui';+import { Flexbox, Tooltip } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { type ProgressProps } from 'antd';import { Progress } from 'antd';import { cssVar } from 'antd-style';diff --git a/src/routes/(main)/memory/features/SourceLink.tsx b/src/routes/(main)/memory/features/SourceLink.tsxindex 72b6d06e329..5322427e208 100644--- a/src/routes/(main)/memory/features/SourceLink.tsx+++ b/src/routes/(main)/memory/features/SourceLink.tsx@@ -1,6 +1,6 @@import { AGENT_CHAT_TOPIC_URL } from '@lobechat/const';-import { Icon, Text } from '@lobehub/ui';-import { Button } from '@lobehub/ui/base-ui';+import { Icon } from '@lobehub/ui';+import { Button, Text } from '@lobehub/ui/base-ui';import { cssVar } from 'antd-style';import { Link2 } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/memory/features/Time.tsx b/src/routes/(main)/memory/features/Time.tsxindex 95634057a1c..681cdf68b74 100644--- a/src/routes/(main)/memory/features/Time.tsx+++ b/src/routes/(main)/memory/features/Time.tsx@@ -1,4 +1,4 @@-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import { useActivityTime } from '@/hooks/useActivityTime';diff --git a/src/routes/(main)/memory/features/TimeLineView/PeriodGroup.tsx b/src/routes/(main)/memory/features/TimeLineView/PeriodGroup.tsxindex e445529f373..c28d2270925 100644--- a/src/routes/(main)/memory/features/TimeLineView/PeriodGroup.tsx+++ b/src/routes/(main)/memory/features/TimeLineView/PeriodGroup.tsx@@ -1,6 +1,7 @@'use client';-import { Flexbox, Text } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import dayjs from 'dayjs';import { type ReactNode } from 'react';diff --git a/src/routes/(main)/memory/features/TimeLineView/TimeLineCard.tsx b/src/routes/(main)/memory/features/TimeLineView/TimeLineCard.tsxindex 667122fc3a1..064f692dc9a 100644--- a/src/routes/(main)/memory/features/TimeLineView/TimeLineCard.tsx+++ b/src/routes/(main)/memory/features/TimeLineView/TimeLineCard.tsx@@ -1,4 +1,5 @@-import { Block, Flexbox, Tag, Text } from '@lobehub/ui';+import { Block, Flexbox } from '@lobehub/ui';+import { Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import { type ReactNode } from 'react';import { memo } from 'react';diff --git a/src/routes/(main)/memory/features/ViewModeSwitcher.tsx b/src/routes/(main)/memory/features/ViewModeSwitcher.tsxindex e5161a76f28..245f06aeb1f 100644--- a/src/routes/(main)/memory/features/ViewModeSwitcher.tsx+++ b/src/routes/(main)/memory/features/ViewModeSwitcher.tsx@@ -1,6 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { CalendarDaysIcon, LayoutDashboardIcon } from 'lucide-react';import { memo } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(main)/memory/identities/features/IdentityDropdown.tsx b/src/routes/(main)/memory/identities/features/IdentityDropdown.tsxindex 44f9f29d224..599c2f860a6 100644--- a/src/routes/(main)/memory/identities/features/IdentityDropdown.tsx+++ b/src/routes/(main)/memory/identities/features/IdentityDropdown.tsx@@ -1,6 +1,5 @@-import { type ActionIconProps } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';-import { confirmModal } from '@lobehub/ui/base-ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon, type ActionIconProps, confirmModal } from '@lobehub/ui/base-ui';import { MoreHorizontal, Pencil, Trash2 } from 'lucide-react';import { type KeyboardEvent, type MouseEvent } from 'react';import { memo } from 'react';diff --git a/src/routes/(main)/memory/identities/features/IdentityRightPanel.tsx b/src/routes/(main)/memory/identities/features/IdentityRightPanel.tsxindex 76f8a78d029..68be08747a8 100644--- a/src/routes/(main)/memory/identities/features/IdentityRightPanel.tsx+++ b/src/routes/(main)/memory/identities/features/IdentityRightPanel.tsx@@ -1,6 +1,6 @@'use client';-import { Text } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { memo } from 'react';import AsyncBoundary from '@/components/AsyncBoundary';diff --git a/src/routes/(main)/memory/identities/index.tsx b/src/routes/(main)/memory/identities/index.tsxindex a5e8cbc2938..4b5b6f53788 100644--- a/src/routes/(main)/memory/identities/index.tsx+++ b/src/routes/(main)/memory/identities/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Tag } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { BrainCircuitIcon } from 'lucide-react';import { type FC } from 'react';import { memo, useCallback, useEffect, useState } from 'react';diff --git a/src/routes/(main)/memory/preferences/features/PreferenceDropdown.tsx b/src/routes/(main)/memory/preferences/features/PreferenceDropdown.tsxindex 2f96bcce994..4b1f37d2c35 100644--- a/src/routes/(main)/memory/preferences/features/PreferenceDropdown.tsx+++ b/src/routes/(main)/memory/preferences/features/PreferenceDropdown.tsx@@ -1,6 +1,5 @@-import { type ActionIconProps } from '@lobehub/ui';-import { ActionIcon, DropdownMenu } from '@lobehub/ui';-import { confirmModal } from '@lobehub/ui/base-ui';+import { DropdownMenu } from '@lobehub/ui';+import { ActionIcon, type ActionIconProps, confirmModal } from '@lobehub/ui/base-ui';import { MoreHorizontal, Pencil, Trash2 } from 'lucide-react';import { type KeyboardEvent, type MouseEvent } from 'react';import { memo } from 'react';diff --git a/src/routes/(main)/memory/preferences/features/PreferenceRightPanel.tsx b/src/routes/(main)/memory/preferences/features/PreferenceRightPanel.tsxindex d65f701d81a..98d2eea32a3 100644--- a/src/routes/(main)/memory/preferences/features/PreferenceRightPanel.tsx+++ b/src/routes/(main)/memory/preferences/features/PreferenceRightPanel.tsx@@ -1,6 +1,7 @@'use client';-import { Block, Flexbox, Icon, Text } from '@lobehub/ui';+import { Block, Flexbox, Icon } from '@lobehub/ui';+import { Text } from '@lobehub/ui/base-ui';import { createStaticStyles } from 'antd-style';import { BotIcon } from 'lucide-react';import { memo } from 'react';diff --git a/src/routes/(main)/memory/preferences/index.tsx b/src/routes/(main)/memory/preferences/index.tsxindex 2727f413179..d406608a6e1 100644--- a/src/routes/(main)/memory/preferences/index.tsx+++ b/src/routes/(main)/memory/preferences/index.tsx@@ -1,4 +1,5 @@-import { Flexbox, Icon, Tag } from '@lobehub/ui';+import { Flexbox, Icon } from '@lobehub/ui';+import { Tag } from '@lobehub/ui/base-ui';import { BrainCircuitIcon } from 'lucide-react';import { type FC } from 'react';import { memo, useCallback, useEffect, useState } from 'react';diff --git a/src/routes/(mobile)/chat/features/ChatHeader/ChatHeaderTitle.tsx b/src/routes/(mobile)/chat/features/ChatHeader/ChatHeaderTitle.tsxindex 5f86784f3b2..53540c5a24e 100644--- a/src/routes/(mobile)/chat/features/ChatHeader/ChatHeaderTitle.tsx+++ b/src/routes/(mobile)/chat/features/ChatHeader/ChatHeaderTitle.tsx@@ -1,4 +1,5 @@-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { ChatHeader } from '@lobehub/ui/mobile';import { cssVar } from 'antd-style';import { ChevronDown } from 'lucide-react';diff --git a/src/routes/(mobile)/community/(list)/_layout/Header.tsx b/src/routes/(mobile)/community/(list)/_layout/Header.tsxindex 25160c5d941..bcf671483bb 100644--- a/src/routes/(mobile)/community/(list)/_layout/Header.tsx+++ b/src/routes/(mobile)/community/(list)/_layout/Header.tsx@@ -1,6 +1,7 @@'use client';-import { ActionIcon, Flexbox } from '@lobehub/ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { ChatHeader } from '@lobehub/ui/mobile';import { createStaticStyles } from 'antd-style';import { SearchIcon } from 'lucide-react';diff --git a/src/routes/(mobile)/community/(list)/_layout/Nav.tsx b/src/routes/(mobile)/community/(list)/_layout/Nav.tsxindex cf65c8d5cd5..17c80f00ab1 100644--- a/src/routes/(mobile)/community/(list)/_layout/Nav.tsx+++ b/src/routes/(mobile)/community/(list)/_layout/Nav.tsx@@ -1,7 +1,7 @@'use client';-import { ActionIcon, Flexbox } from '@lobehub/ui';-import { Drawer } from '@lobehub/ui/base-ui';+import { Flexbox } from '@lobehub/ui';+import { ActionIcon, Drawer } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { MenuIcon } from 'lucide-react';import { memo, useState } from 'react';diff --git a/src/routes/(mobile)/me/(home)/features/Header.tsx b/src/routes/(mobile)/me/(home)/features/Header.tsxindex c4200c74915..e01aa58e7e4 100644--- a/src/routes/(mobile)/me/(home)/features/Header.tsx+++ b/src/routes/(mobile)/me/(home)/features/Header.tsx@@ -1,6 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { ChatHeader } from '@lobehub/ui/mobile';import { Moon, Sun } from 'lucide-react';import { useTheme as useNextThemesTheme } from 'next-themes';diff --git a/src/routes/(popup)/_layout/PinOnTopButton.tsx b/src/routes/(popup)/_layout/PinOnTopButton.tsxindex 632fcf3ec07..37627272869 100644--- a/src/routes/(popup)/_layout/PinOnTopButton.tsx+++ b/src/routes/(popup)/_layout/PinOnTopButton.tsx@@ -1,6 +1,6 @@'use client';-import { ActionIcon } from '@lobehub/ui';+import { ActionIcon } from '@lobehub/ui/base-ui';import { PinIcon, PinOffIcon } from 'lucide-react';import { memo, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/routes/(popup)/agent/[aid]/QuickChatAgentSwitcher.tsx b/src/routes/(popup)/agent/[aid]/QuickChatAgentSwitcher.tsxindex dec9e8324f1..a5c5ca73d1a 100644--- a/src/routes/(popup)/agent/[aid]/QuickChatAgentSwitcher.tsx+++ b/src/routes/(popup)/agent/[aid]/QuickChatAgentSwitcher.tsx@@ -2,7 +2,8 @@import { INBOX_SESSION_ID } from '@lobechat/const';import { agentDisplayName } from '@lobechat/types';-import { Avatar, Flexbox, Icon, Input, Popover, Tooltip } from '@lobehub/ui';+import { Flexbox, Icon, Input, Popover, Tooltip } from '@lobehub/ui';+import { Avatar } from '@lobehub/ui/base-ui';import { createStaticStyles, cx } from 'antd-style';import isEqual from 'fast-deep-equal';import { MoreHorizontalIcon } from 'lucide-react';