🤯 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
🔨 chore: update compoents version (#10957)
CanisMinorc5fe456aecf4
diff --git a/package.json b/package.jsonindex 4f41271143d..b45128c229f 100644--- a/package.json+++ b/package.json@@ -195,15 +195,15 @@"@lobechat/utils": "workspace:*","@lobechat/web-crawler": "workspace:*","@lobehub/analytics": "^1.6.0",- "@lobehub/charts": "^3.0.4",+ "@lobehub/charts": "^4.0.0","@lobehub/chat-plugin-sdk": "^1.32.4","@lobehub/chat-plugins-gateway": "^1.9.0","@lobehub/desktop-ipc-typings": "workspace:*",- "@lobehub/editor": "^3.1.0",- "@lobehub/icons": "^3.0.0",+ "@lobehub/editor": "^3.1.1",+ "@lobehub/icons": "^4.0.0","@lobehub/market-sdk": "^0.24.0",- "@lobehub/tts": "^3.0.2",- "@lobehub/ui": "^3.4.5",+ "@lobehub/tts": "^4.0.0",+ "@lobehub/ui": "^4.1.3","@modelcontextprotocol/sdk": "^1.25.1","@neondatabase/serverless": "^1.0.2","@next/third-parties": "^16.1.0",@@ -459,4 +459,4 @@"stylelint-config-clean-order": "7.0.0"}}-}\ No newline at end of file+}diff --git a/packages/agent-runtime/package.json b/packages/agent-runtime/package.jsonindex a9e731d941b..76bb80afbb9 100644--- a/packages/agent-runtime/package.json+++ b/packages/agent-runtime/package.json@@ -9,10 +9,10 @@"test:coverage": "vitest --coverage --silent='passed-only'"},"dependencies": {- "@lobechat/types": "workspace:*","p-map": "^7.0.4"},"devDependencies": {+ "@lobechat/types": "workspace:*","openai": "^4.104.0"}}diff --git a/packages/builtin-agents/package.json b/packages/builtin-agents/package.jsonindex 4bcd1b7e8cb..d33ac448bdf 100644--- a/packages/builtin-agents/package.json+++ b/packages/builtin-agents/package.json@@ -8,7 +8,9 @@"@lobechat/builtin-tool-group-agent-builder": "workspace:*","@lobechat/builtin-tool-group-management": "workspace:*","@lobechat/builtin-tool-gtd": "workspace:*",- "@lobechat/builtin-tool-notebook": "workspace:*",+ "@lobechat/builtin-tool-notebook": "workspace:*"+ },+ "devDependencies": {"@lobechat/types": "workspace:*"}}diff --git a/packages/builtin-tool-agent-builder/package.json b/packages/builtin-tool-agent-builder/package.jsonindex 6a1ffe25dc8..8a8c5b4fc06 100644--- a/packages/builtin-tool-agent-builder/package.json+++ b/packages/builtin-tool-agent-builder/package.json@@ -11,11 +11,13 @@"dependencies": {"@lobechat/const": "workspace:*","@lobechat/prompts": "workspace:*",- "@lobechat/types": "workspace:*","type-fest": "^4.18.3"},+ "devDependencies": {+ "@lobechat/types": "workspace:*"+ },"peerDependencies": {- "@lobehub/ui": "^3",+ "@lobehub/ui": "^4","antd": "^6","lucide-react": "*","next": "*",diff --git a/packages/builtin-tool-group-agent-builder/package.json b/packages/builtin-tool-group-agent-builder/package.jsonindex 48a89c4fe6f..02013639aae 100644--- a/packages/builtin-tool-group-agent-builder/package.json+++ b/packages/builtin-tool-group-agent-builder/package.json@@ -8,7 +8,9 @@},"main": "./src/index.ts","dependencies": {- "@lobechat/builtin-tool-agent-builder": "workspace:*",+ "@lobechat/builtin-tool-agent-builder": "workspace:*"+ },+ "devDependencies": {"@lobechat/types": "workspace:*"},"peerDependencies": {diff --git a/packages/builtin-tool-group-management/package.json b/packages/builtin-tool-group-management/package.jsonindex 455b8d47e62..ff8b4946f05 100644--- a/packages/builtin-tool-group-management/package.json+++ b/packages/builtin-tool-group-management/package.json@@ -8,7 +8,7 @@"./executor": "./src/executor.ts"},"main": "./src/index.ts",- "dependencies": {+ "devDependencies": {"@lobechat/types": "workspace:*"}}diff --git a/packages/builtin-tool-gtd/package.json b/packages/builtin-tool-gtd/package.jsonindex fe98ccad3c2..917826a1b0f 100644--- a/packages/builtin-tool-gtd/package.json+++ b/packages/builtin-tool-gtd/package.json@@ -9,14 +9,16 @@},"main": "./src/index.ts","dependencies": {- "@lobechat/prompts": "workspace:*",- "@lobechat/types": "workspace:*",- "lucide-react": "*",- "react": "*"+ "@lobechat/prompts": "workspace:*"+ },+ "devDependencies": {+ "@lobechat/types": "workspace:*"},"peerDependencies": {- "@lobehub/ui": "^3",+ "@lobehub/ui": "^4","antd": "^6",- "antd-style": "*"+ "antd-style": "*",+ "lucide-react": "*",+ "react": "*"}}diff --git a/packages/builtin-tool-knowledge-base/package.json b/packages/builtin-tool-knowledge-base/package.jsonindex 88346b51f5d..52db153a42a 100644--- a/packages/builtin-tool-knowledge-base/package.json+++ b/packages/builtin-tool-knowledge-base/package.json@@ -9,11 +9,13 @@},"main": "./src/index.ts","dependencies": {- "@lobechat/prompts": "workspace:*",+ "@lobechat/prompts": "workspace:*"+ },+ "devDependencies": {"@lobechat/types": "workspace:*"},"peerDependencies": {- "@lobehub/ui": "^3",+ "@lobehub/ui": "^4","antd": "^6","antd-style": "*","polished": "*",diff --git a/packages/builtin-tool-local-system/package.json b/packages/builtin-tool-local-system/package.jsonindex 24ffba7d8ee..74f7517bb90 100644--- a/packages/builtin-tool-local-system/package.json+++ b/packages/builtin-tool-local-system/package.json@@ -8,7 +8,9 @@},"main": "./src/index.ts","dependencies": {- "@lobechat/electron-client-ipc": "workspace:*",+ "@lobechat/electron-client-ipc": "workspace:*"+ },+ "devDependencies": {"@lobechat/types": "workspace:*"}}diff --git a/packages/builtin-tool-memory/package.json b/packages/builtin-tool-memory/package.jsonindex 578106e6281..316de8529e8 100644--- a/packages/builtin-tool-memory/package.json+++ b/packages/builtin-tool-memory/package.json@@ -7,7 +7,9 @@},"main": "./src/index.ts","dependencies": {- "@lobechat/memory-user-memory": "workspace:*",+ "@lobechat/memory-user-memory": "workspace:*"+ },+ "devDependencies": {"@lobechat/types": "workspace:*"}}diff --git a/packages/builtin-tool-notebook/package.json b/packages/builtin-tool-notebook/package.jsonindex abe588bb8f3..a4a9a8f2efe 100644--- a/packages/builtin-tool-notebook/package.json+++ b/packages/builtin-tool-notebook/package.json@@ -9,11 +9,13 @@},"main": "./src/index.ts","dependencies": {- "@lobechat/prompts": "workspace:*",+ "@lobechat/prompts": "workspace:*"+ },+ "devDependencies": {"@lobechat/types": "workspace:*"},"peerDependencies": {- "@lobehub/ui": "^3.3.3",+ "@lobehub/ui": "^4","antd": "^6","antd-style": "*","lucide-react": "*",diff --git a/packages/builtin-tool-page-agent/package.json b/packages/builtin-tool-page-agent/package.jsonindex abf074378e2..f33922b292f 100644--- a/packages/builtin-tool-page-agent/package.json+++ b/packages/builtin-tool-page-agent/package.json@@ -7,11 +7,11 @@"./executionRuntime": "./src/ExecutionRuntime/index.ts"},"main": "./src/index.ts",- "dependencies": {+ "devDependencies": {"@lobechat/types": "workspace:*"},"peerDependencies": {- "@lobehub/editor": "*",+ "@lobehub/editor": "^3","debug": "*"}}diff --git a/packages/business/config/package.json b/packages/business/config/package.jsonindex 8ac4cb36c70..29df4d7a142 100644--- a/packages/business/config/package.json+++ b/packages/business/config/package.json@@ -10,7 +10,9 @@"dependencies": {"@lobechat/business-const": "workspace:*","@lobechat/const": "workspace:*",- "@lobechat/types": "workspace:*","model-bank": "workspace:*"+ },+ "devDependencies": {+ "@lobechat/types": "workspace:*"}}diff --git a/packages/config/package.json b/packages/config/package.jsonindex 75bd10b441c..b55fed0edef 100644--- a/packages/config/package.json+++ b/packages/config/package.json@@ -8,7 +8,9 @@"main": "./src/index.ts","dependencies": {"@lobechat/business-config": "workspace:*",- "@lobechat/const": "workspace:*",+ "@lobechat/const": "workspace:*"+ },+ "devDependencies": {"@lobechat/types": "workspace:*"}}diff --git a/packages/const/package.json b/packages/const/package.jsonindex c5c8c5f9afb..5af6655326c 100644--- a/packages/const/package.json+++ b/packages/const/package.json@@ -8,13 +8,16 @@},"main": "./src/index.ts","dependencies": {- "@icons-pack/react-simple-icons": "^13.8.0","@lobechat/business-const": "workspace:*",- "@lobechat/types": "workspace:*",- "@lobehub/ui": "^2.13.8",- "klavis": "^2.15.0",- "lodash-es": "^4.17.21","query-string": "^9.3.1","url-join": "^5.0.0"+ },+ "devDependencies": {+ "@lobechat/types": "workspace:*"+ },+ "peerDependencies": {+ "@icons-pack/react-simple-icons": "^13.8.0",+ "@lobehub/ui": "^4",+ "klavis": "^2.15.0"}}diff --git a/packages/context-engine/package.json b/packages/context-engine/package.jsonindex e28dc848562..843f4b20b3a 100644--- a/packages/context-engine/package.json+++ b/packages/context-engine/package.json@@ -19,7 +19,6 @@},"dependencies": {"@lobechat/prompts": "workspace:*",- "@lobechat/types": "workspace:*","@lobechat/utils": "workspace:*","debug": "^4.4.3","es-toolkit": "^1.43.0",@@ -30,6 +29,7 @@"xastscript": "^4.0.0"},"devDependencies": {+ "@lobechat/types": "workspace:*","@types/debug": "^4.1.12"}}diff --git a/packages/conversation-flow/package.json b/packages/conversation-flow/package.jsonindex c8367094059..179a9daac63 100644--- a/packages/conversation-flow/package.json+++ b/packages/conversation-flow/package.json@@ -7,7 +7,7 @@"test": "vitest","test:coverage": "vitest --coverage --silent='passed-only'"},- "dependencies": {+ "devDependencies": {"@lobechat/types": "workspace:*"}}diff --git a/packages/database/package.json b/packages/database/package.jsonindex 3422a13688f..b5318612a6d 100644--- a/packages/database/package.json+++ b/packages/database/package.json@@ -16,15 +16,12 @@"dependencies": {"@lobechat/builtin-agents": "workspace:*","@lobechat/const": "workspace:*",- "@lobechat/types": "workspace:*","@lobechat/utils": "workspace:*",- "@lobehub/charts": "^2.1.2","@lobehub/chat-plugin-sdk": "^1.32.4","@neondatabase/serverless": "^1.0.2","@trpc/server": "^11.7.1","debug": "^4.4.3","drizzle-zod": "^0.5.1",- "lodash-es": "^4.17.21","model-bank": "workspace:*","next-auth": "5.0.0-beta.30","p-map": "^7.0.4",@@ -34,11 +31,13 @@"ws": "^8.18.3"},"devDependencies": {+ "@lobechat/types": "workspace:*","dotenv": "^17.2.3","fake-indexeddb": "^6.2.5"},"peerDependencies": {"@electric-sql/pglite": "^0.2.17",+ "@lobehub/charts": "^4","dayjs": ">=1.11.19","drizzle-orm": ">=0.44.7","nanoid": ">=5.1.6",diff --git a/packages/electron-client-ipc/package.json b/packages/electron-client-ipc/package.jsonindex c3fed7f48da..a81879297da 100644--- a/packages/electron-client-ipc/package.json+++ b/packages/electron-client-ipc/package.json@@ -8,6 +8,6 @@"electron": "^34.0.0"},"peerDependencies": {- "react": "^19.2.0"+ "react": "*"}}diff --git a/packages/fetch-sse/package.json b/packages/fetch-sse/package.jsonindex 07bb0c5c9aa..9ac7374cc25 100644--- a/packages/fetch-sse/package.json+++ b/packages/fetch-sse/package.json@@ -22,8 +22,10 @@"dependencies": {"@lobechat/const": "workspace:*","@lobechat/model-runtime": "workspace:*",- "@lobechat/types": "workspace:*","@lobechat/utils": "workspace:*","i18next": "^24.2.3"+ },+ "devDependencies": {+ "@lobechat/types": "workspace:*"}}diff --git a/packages/model-runtime/package.json b/packages/model-runtime/package.jsonindex 95253f4909a..7932ceb3453 100644--- a/packages/model-runtime/package.json+++ b/packages/model-runtime/package.json@@ -20,7 +20,6 @@"@google/genai": "^1.29.0","@huggingface/inference": "^4.13.4","@lobechat/const": "workspace:*",- "@lobechat/types": "workspace:*","@lobechat/utils": "workspace:*","async-retry": "^1.3.3","dayjs": "^1.11.19",@@ -28,7 +27,6 @@"immer": "^10.2.0","langfuse": "^3.38.6","langfuse-core": "^3.38.6",- "lodash-es": "^4.17.21","model-bank": "workspace:*","nanoid": "^5.1.6","ollama": "^0.6.2",@@ -37,6 +35,9 @@"type-fest": "^5.2.0","url-join": "^5.0.0"},+ "devDependencies": {+ "@lobechat/types": "workspace:*"+ },"peerDependencies": {"zod": "^3.25.76"}diff --git a/packages/prompts/package.json b/packages/prompts/package.jsonindex 960b52f939e..c978fc8c5b0 100644--- a/packages/prompts/package.json+++ b/packages/prompts/package.json@@ -18,10 +18,8 @@"test:prompts:translate": "promptfoo eval -c promptfoo/translate/eval.yaml","test:update": "vitest -u"},- "dependencies": {- "@lobechat/types": "workspace:*"- },"devDependencies": {+ "@lobechat/types": "workspace:*","promptfoo": "^0.118.17","tsx": "^4.20.6"}diff --git a/packages/types/package.json b/packages/types/package.jsonindex 6ed9d809769..c1806edf3e5 100644--- a/packages/types/package.json+++ b/packages/types/package.json@@ -11,14 +11,13 @@"@lobehub/chat-plugin-sdk": "^1.32.4","@lobehub/market-sdk": "beta","@lobehub/market-types": "^1.11.4",- "@lobehub/ui": "^2.13.8","model-bank": "workspace:*",- "react": "19.2.0","type-fest": "^4.41.0",- "zod": "^3.25.76","zustand": "5.0.4"},"peerDependencies": {+ "@lobehub/ui": "^4",+ "react": "*","zod": "^3.25.76"}}diff --git a/packages/utils/package.json b/packages/utils/package.jsonindex 14fcacbb256..db197ba7f9e 100644--- a/packages/utils/package.json+++ b/packages/utils/package.json@@ -15,7 +15,6 @@},"dependencies": {"@lobechat/const": "workspace:*",- "@lobechat/types": "workspace:*","@lobehub/chat-plugin-sdk": "^1.32.4","@vercel/functions": "^3.3.0","brotli-wasm": "^3.0.1",@@ -25,7 +24,6 @@"debug": "^4.4.3","dompurify": "^3.3.0","fast-deep-equal": "^3.1.3",- "lodash-es": "^4.17.21","mime": "^4.1.0","model-bank": "workspace:*","nanoid": "^5.1.6",@@ -41,6 +39,7 @@"yaml": "^2.8.1"},"devDependencies": {+ "@lobechat/types": "workspace:*","vitest-canvas-mock": "^1.1.3"},"peerDependencies": {diff --git a/src/components/Error/Description.tsx b/src/components/Error/Description.tsxindex 245ddf376fa..00ea57ac0e2 100644--- a/src/components/Error/Description.tsx+++ b/src/components/Error/Description.tsx@@ -1,23 +1,10 @@'use client';-import { Flexbox, Icon, Skeleton } from '@lobehub/ui';-import { css, cx } from 'antd-style';+import { Flexbox, Highlighter, Icon } from '@lobehub/ui';import { ChevronDown, ChevronUp } from 'lucide-react';-import dynamic from 'next/dynamic';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';-const container = css`- pre.shiki {- padding: 8px !important;- }-`;--const Highlighter = dynamic(() => import('@lobehub/ui/es/Highlighter/index.mjs'), {- loading: () => <Skeleton avatar={false} title={false} />,- ssr: false,-});-const Description = memo<{ message: string; status: number }>(({ message, status }) => {const { t } = useTranslation('error');const [show, setShow] = useState(false);@@ -34,11 +21,7 @@ const Description = memo<{ message: string; status: number }>(({ message, status>{t('fetchError.detail')} <Icon icon={show ? ChevronUp : ChevronDown} /></Flexbox>- <Highlighter- className={cx(container)}- language={'text'}- style={{ display: show ? undefined : 'none', maxHeight: 80 }}- >+ <Highlighter language={'text'} style={{ display: show ? undefined : 'none', maxHeight: 80 }}>{message}</Highlighter></Flexbox>diff --git a/src/components/InfoTooltip/index.tsx b/src/components/InfoTooltip/index.tsxindex 28544a45529..0e69a429829 100644--- a/src/components/InfoTooltip/index.tsx+++ b/src/components/InfoTooltip/index.tsx@@ -1,12 +1,11 @@-import { Icon, Tooltip, TooltipProps } from '@lobehub/ui';-import { IconSizeType } from '@lobehub/ui/es/Icon/index.mjs';+import { Icon, type IconSize, Tooltip, TooltipProps } from '@lobehub/ui';import { useTheme } from 'antd-style';import { CircleHelp } from 'lucide-react';import { CSSProperties, memo } from 'react';interface InfoTooltipProps extends Omit<TooltipProps, 'children'> {iconStyle?: CSSProperties;- size?: IconSizeType;+ size?: IconSize;}const InfoTooltip = memo<InfoTooltipProps>(({ size, iconStyle, ...res }) => {diff --git a/src/components/Loading/UpdateLoading/index.tsx b/src/components/Loading/UpdateLoading/index.tsxindex 7b386c3ec0f..08290dbe14d 100644--- a/src/components/Loading/UpdateLoading/index.tsx+++ b/src/components/Loading/UpdateLoading/index.tsx@@ -1,10 +1,9 @@-import { Icon } from '@lobehub/ui';-import { IconSizeType } from '@lobehub/ui/es/Icon/index.mjs';+import { Icon, IconSize } from '@lobehub/ui';import { Loader2 } from 'lucide-react';import { CSSProperties, memo } from 'react';interface UpdateLoadingProps {- size?: IconSizeType;+ size?: IconSize;style?: CSSProperties;}diff --git a/src/features/ChatInput/store/initialState.ts b/src/features/ChatInput/store/initialState.tsindex ea66583314e..1c701c85c52 100644--- a/src/features/ChatInput/store/initialState.ts+++ b/src/features/ChatInput/store/initialState.ts@@ -1,6 +1,6 @@import { IEditor, SlashOptions } from '@lobehub/editor';import type { ChatInputProps } from '@lobehub/editor/react';-import type { MenuProps } from '@lobehub/ui/es/Menu/index.mjs';+import type { MenuProps } from '@lobehub/ui';import { ActionKeys } from '@/features/ChatInput';diff --git a/src/features/Conversation/ChatInput/index.tsx b/src/features/Conversation/ChatInput/index.tsxindex 8801cb8b0f6..9a577d5816e 100644--- a/src/features/Conversation/ChatInput/index.tsx+++ b/src/features/Conversation/ChatInput/index.tsx@@ -1,8 +1,7 @@'use client';import type { SlashOptions } from '@lobehub/editor';-import { Alert, Flexbox } from '@lobehub/ui';-import type { MenuProps } from '@lobehub/ui/es/Menu/index.mjs';+import { Alert, Flexbox, type MenuProps } from '@lobehub/ui';import { type ReactNode, memo, useCallback } from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/layout/GlobalProvider/AppTheme.tsx b/src/layout/GlobalProvider/AppTheme.tsxindex 40fd11f0c79..892c0daaae1 100644--- a/src/layout/GlobalProvider/AppTheme.tsx+++ b/src/layout/GlobalProvider/AppTheme.tsx@@ -11,6 +11,7 @@ import { message as antdMessage } from 'antd';import { ThemeAppearance, createStyles } from 'antd-style';import 'antd/dist/reset.css';import { AppConfigContext } from 'antd/es/app/context';+import * as motion from 'motion/react-m';import Image from 'next/image';import Link from 'next/link';import { ReactNode, memo, useEffect, useMemo } from 'react';@@ -166,6 +167,7 @@ const AppTheme = memo<AppThemeProps>(imgUnoptimized: true,proxy: globalCDN ? 'unpkg' : undefined,}}+ motion={motion}>{children}</ConfigProvider>