@lobehub/lobehub 2.0.0-next.96 → 2.0.0-next.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.console-log-whitelist.json +14 -0
- package/.github/workflows/check-console-log.yml +117 -0
- package/.github/workflows/desktop-pr-build.yml +4 -4
- package/.github/workflows/release-desktop-beta.yml +4 -4
- package/.github/workflows/release.yml +1 -1
- package/.github/workflows/test.yml +5 -5
- package/CHANGELOG.md +66 -0
- package/apps/desktop/src/preload/index.ts +2 -2
- package/apps/desktop/src/preload/invoke.ts +1 -1
- package/apps/desktop/src/preload/routeInterceptor.ts +41 -41
- package/changelog/v1.json +21 -0
- package/docs/development/database-schema.dbml +1 -0
- package/e2e/package.json +1 -1
- package/locales/ar/file.json +9 -11
- package/locales/ar/models.json +6 -0
- package/locales/bg-BG/file.json +8 -10
- package/locales/bg-BG/models.json +6 -0
- package/locales/de-DE/file.json +9 -11
- package/locales/de-DE/models.json +6 -0
- package/locales/en-US/file.json +12 -14
- package/locales/en-US/models.json +6 -0
- package/locales/es-ES/file.json +7 -9
- package/locales/es-ES/models.json +6 -0
- package/locales/fa-IR/file.json +9 -11
- package/locales/fa-IR/models.json +6 -0
- package/locales/fr-FR/file.json +6 -8
- package/locales/fr-FR/models.json +6 -0
- package/locales/it-IT/file.json +8 -10
- package/locales/it-IT/models.json +6 -0
- package/locales/ja-JP/file.json +10 -12
- package/locales/ja-JP/models.json +6 -0
- package/locales/ko-KR/file.json +8 -10
- package/locales/ko-KR/models.json +6 -0
- package/locales/nl-NL/file.json +8 -10
- package/locales/nl-NL/models.json +6 -0
- package/locales/pl-PL/file.json +7 -9
- package/locales/pl-PL/models.json +6 -0
- package/locales/pt-BR/file.json +7 -9
- package/locales/pt-BR/models.json +6 -0
- package/locales/ru-RU/file.json +9 -11
- package/locales/ru-RU/models.json +6 -0
- package/locales/tr-TR/file.json +8 -10
- package/locales/tr-TR/models.json +6 -0
- package/locales/vi-VN/file.json +9 -11
- package/locales/vi-VN/models.json +6 -0
- package/locales/zh-CN/file.json +10 -12
- package/locales/zh-CN/models.json +6 -0
- package/locales/zh-TW/file.json +10 -12
- package/locales/zh-TW/models.json +6 -0
- package/package.json +3 -2
- package/packages/database/migrations/0047_add_slug_document.sql +6 -0
- package/packages/database/migrations/meta/0047_snapshot.json +7891 -0
- package/packages/database/migrations/meta/_journal.json +7 -0
- package/packages/database/src/client/db.ts +12 -12
- package/packages/database/src/core/migrations.json +16 -7
- package/packages/database/src/models/document.ts +2 -2
- package/packages/database/src/repositories/dataImporter/index.ts +10 -10
- package/packages/database/src/schemas/file.ts +7 -1
- package/packages/database/src/schemas/topic.ts +1 -1
- package/packages/database/src/server/models/ragEval/evaluation.ts +1 -1
- package/packages/model-bank/src/aiModels/qwen.ts +5 -3
- package/packages/model-runtime/src/core/openaiCompatibleFactory/index.ts +21 -21
- package/packages/obervability-otel/package.json +2 -2
- package/scripts/checkConsoleLog.mts +148 -0
- package/scripts/prebuild.mts +5 -5
- package/src/app/[variants]/(main)/changelog/index.tsx +1 -1
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/ClassicChat.tsx +1 -1
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/GroupChat.tsx +1 -1
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/ChatItem/index.tsx +1 -1
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/Content.tsx +2 -2
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/index.tsx +1 -1
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatMinimap/index.tsx +1 -1
- package/src/app/[variants]/(main)/settings/_layout/Desktop/index.tsx +20 -16
- package/src/app/[variants]/(main)/settings/provider/(list)/ProviderGrid/Card.tsx +6 -3
- package/src/app/[variants]/(main)/settings/provider/(list)/index.tsx +3 -2
- package/src/app/[variants]/(main)/settings/provider/detail/index.tsx +14 -4
- package/src/app/[variants]/desktopRouter.config.tsx +23 -0
- package/src/app/[variants]/mobileRouter.config.tsx +23 -0
- package/src/components/InvalidAPIKey/APIKeyForm/Bedrock.tsx +1 -1
- package/src/components/InvalidAPIKey/APIKeyForm/ComfyUIForm.tsx +1 -1
- package/src/components/InvalidAPIKey/APIKeyForm/ProviderApiKeyForm.tsx +1 -1
- package/src/components/InvalidAPIKey/APIKeyForm/__tests__/ComfyUIForm.test.tsx +1 -1
- package/src/components/InvalidAPIKey/index.tsx +1 -1
- package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/getNodeContent.test.ts +1 -2
- package/src/features/{Conversation → ChatList}/Messages/Assistant/Actions/index.tsx +2 -2
- package/src/features/{Conversation → ChatList}/Messages/Assistant/Extra/index.test.tsx +3 -3
- package/src/features/{Conversation → ChatList}/Messages/Assistant/Extra/index.tsx +6 -5
- package/src/features/{Conversation → ChatList}/Messages/Assistant/MessageContent.tsx +1 -1
- package/src/features/{Conversation → ChatList}/Messages/Group/Actions/WithContentId.tsx +2 -2
- package/src/features/{Conversation → ChatList}/Messages/Group/ContentBlock.tsx +2 -2
- package/src/features/{Conversation → ChatList}/Messages/Group/Error/index.tsx +2 -1
- package/src/features/{Conversation → ChatList}/Messages/Group/Group.tsx +1 -1
- package/src/features/{Conversation → ChatList}/Messages/Group/GroupItem.tsx +3 -2
- package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/Intervention/ApprovalActions.tsx +1 -1
- package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/index.tsx +1 -2
- package/src/features/{Conversation → ChatList}/Messages/Group/index.tsx +1 -1
- package/src/features/{Conversation → ChatList}/Messages/User/Extra.tsx +3 -3
- package/src/features/{Conversation → ChatList}/Messages/User/index.tsx +1 -1
- package/src/features/{Conversation → ChatList}/Messages/index.tsx +1 -1
- package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/Preview.tsx +1 -1
- package/src/features/{Conversation → ChatList}/components/SkeletonList.tsx +1 -1
- package/src/features/{Conversation → ChatList}/components/VirtualizedList/index.tsx +1 -1
- package/src/features/KnowledgeManager/DocumentExplorer/NoteEditorModal.tsx +0 -20
- package/src/features/KnowledgeManager/DocumentExplorer/index.tsx +3 -3
- package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/index.tsx +0 -20
- package/src/features/KnowledgeManager/Header/AddButton.tsx +0 -1
- package/src/features/KnowledgeManager/Header/NewNoteButton.tsx +1 -1
- package/src/features/KnowledgeManager/Header/TogglePanelButton.tsx +2 -2
- package/src/features/KnowledgeManager/Home/UploadEntries.tsx +2 -2
- package/src/features/KnowledgeManager/Home/index.tsx +4 -4
- package/src/features/OllamaSetupGuide/index.tsx +1 -1
- package/src/features/PluginsUI/Render/MCPType/index.tsx +1 -1
- package/src/features/Portal/GroupThread/Body/ThreadChatItem.tsx +1 -1
- package/src/features/Portal/GroupThread/Body/ThreadChatList.tsx +1 -1
- package/src/features/Portal/Thread/Chat/ChatInput/index.tsx +1 -1
- package/src/features/Portal/Thread/Chat/ChatItem.tsx +1 -1
- package/src/features/Portal/Thread/Chat/ChatList.tsx +1 -1
- package/src/features/Portal/Thread/Chat/index.tsx +1 -1
- package/src/features/ShareModal/ShareImage/ChatList/index.tsx +1 -1
- package/src/features/User/UserPanel/useMenu.tsx +7 -3
- package/src/locales/default/file.ts +11 -13
- package/src/services/debug.ts +4 -4
- package/src/services/electron/remoteServer.ts +5 -5
- package/src/services/electron/settings.ts +6 -6
- package/src/services/mcp.ts +18 -18
- package/src/services/models.ts +20 -20
- package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/testExecutor.ts +1 -4
- /package/src/features/{Conversation → ChatList}/Error/AccessCodeForm.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Error/ChatInvalidApiKey.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Error/ClerkLogin/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Error/ErrorJsonViewer.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Error/OAuthForm.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Error/OllamaBizError/InvalidOllamaModel.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Error/OllamaBizError/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Error/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Error/style.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/Render/Icon.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/Render/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/rehypePlugin.test.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/rehypePlugin.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeThinking/Render.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeThinking/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LocalFile/Render/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LocalFile/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/Mention/Render.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/Mention/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/Thinking/Render.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/Thinking/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/__snapshots__/createRemarkSelfClosingTagPlugin.test.ts.snap +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/createRemarkCustomTagPlugin.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/createRemarkCustomTagWithAttributesPlugin.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.test.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/getNodeContent.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/type.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/utils.ts +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/Actions/Error.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/CollapsedMessage.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/Item/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/Item/style.ts +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/IntentUnderstanding.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/Reasoning/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/SearchGrounding.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Default.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Actions/WithoutContentId.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Actions/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/CollapsedMessage.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/EditState.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/GroupContext.ts +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/MessageContent.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Inspector/BuiltinPluginTitle.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Inspector/Debug.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Inspector/PluginResult.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Inspector/PluginState.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Inspector/Settings.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Inspector/StatusIndicator.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Inspector/ToolTitle.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Inspector/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/AbortResponse.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/Arguments/ObjectEntity.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/Arguments/ValueCell.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/Arguments/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/CustomRender.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/ErrorResponse.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/Intervention/Fallback.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/Intervention/KeyValueEditor.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/Intervention/ModeSelector.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/Intervention/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/LoadingPlaceholder/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/PluginSettings.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/Render/RejectedResponse.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tool/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Group/Tools.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Supervisor/TodoList.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Supervisor/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Inspector/BuiltinPluginTitle.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Inspector/Debug.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Inspector/PluginResult.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Inspector/PluginState.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Inspector/Settings.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Inspector/ToolTitle.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Inspector/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Render/Arguments/ObjectEntity.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Render/Arguments/ValueCell.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Render/Arguments/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Render/CustomRender.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Render/ErrorResponse.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Render/KeyValueEditor.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Render/PluginSettings.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/Render/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/ToolItem.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Tool/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/Actions/ActionsBar.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/Actions/MessageBranch.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/Actions/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/BelowMessage.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/FileListViewer/Item.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/FileListViewer/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/ImageFileListViewer.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/MarkdownRender/ContentPreview.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/MarkdownRender/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/MessageContent.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/VideoFileListViewer.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/AutoScroll.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/BackBottom/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/BackBottom/style.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/PdfPreview.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/style.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/template.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/usePdfGeneration.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/ExtraContainer.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/TTS/FilePlayer.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/TTS/InitPlayer.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/TTS/Player.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/TTS/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/Translate.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/AnimatedNumber.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/ModelCard.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/TokenProgress.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/pricing.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/tokens.test.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/tokens.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/Usage/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/History/HistoryDivider.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/History/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/OTPInput.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/style.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/type.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/Preview.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/template.test.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/template.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/type.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/style.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ThreadDivider/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/VirtualizedList/VirtuosoContext.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/WideScreenContainer/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/context/InPortalThreadContext.ts +0 -0
- /package/src/features/{Conversation → ChatList}/hooks/useChatListActionsBar.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/hooks/useDoubleClickEdit.ts +0 -0
- /package/src/features/{Conversation → ChatList}/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/types/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/utils/markdown.test.ts +0 -0
- /package/src/features/{Conversation → ChatList}/utils/markdown.ts +0 -0
|
@@ -1907,6 +1907,12 @@
|
|
|
1907
1907
|
"grok-4-0709": {
|
|
1908
1908
|
"description": "xAI'nin Grok 4 modeli, güçlü akıl yürütme yeteneklerine sahiptir."
|
|
1909
1909
|
},
|
|
1910
|
+
"grok-4-1-fast-non-reasoning": {
|
|
1911
|
+
"description": "Yüksek performanslı aracı araç çağrıları için özel olarak optimize edilmiş, son teknoloji çok modlu model."
|
|
1912
|
+
},
|
|
1913
|
+
"grok-4-1-fast-reasoning": {
|
|
1914
|
+
"description": "Yüksek performanslı aracı araç çağrıları için özel olarak optimize edilmiş, son teknoloji çok modlu model."
|
|
1915
|
+
},
|
|
1910
1916
|
"grok-4-fast-non-reasoning": {
|
|
1911
1917
|
"description": "Maliyet-etkin çıkarım modellerinde en son gelişmemiz olan Grok 4 Fast’i sunmaktan mutluluk duyuyoruz."
|
|
1912
1918
|
},
|
package/locales/vi-VN/file.json
CHANGED
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
},
|
|
56
56
|
"documentList": {
|
|
57
57
|
"copyContent": "Sao chép toàn bộ nội dung",
|
|
58
|
-
"documentCount": "Tổng cộng {{count}} tài liệu",
|
|
59
58
|
"duplicate": "Tạo bản sao",
|
|
60
|
-
"empty": "Chưa có
|
|
61
|
-
"noResults": "Không tìm thấy
|
|
62
|
-
"
|
|
59
|
+
"empty": "Chưa có bản thảo nào, hãy nhấn nút phía trên để tạo bản thảo đầu tiên của bạn",
|
|
60
|
+
"noResults": "Không tìm thấy bản thảo phù hợp",
|
|
61
|
+
"pageCount": "Tổng cộng {{count}} bản thảo",
|
|
62
|
+
"selectNote": "Chọn một bản thảo để bắt đầu chỉnh sửa",
|
|
63
63
|
"untitled": "Không có tiêu đề"
|
|
64
64
|
},
|
|
65
65
|
"empty": "Chưa có tệp/tệp tin nào được tải lên",
|
|
@@ -70,7 +70,6 @@
|
|
|
70
70
|
"uploadFile": "Tải tệp lên",
|
|
71
71
|
"uploadFolder": "Tải thư mục lên"
|
|
72
72
|
},
|
|
73
|
-
"newDocumentButton": "Tạo tài liệu mới",
|
|
74
73
|
"newNoteDialog": {
|
|
75
74
|
"cancel": "Hủy",
|
|
76
75
|
"editTitle": "Chỉnh sửa tài liệu",
|
|
@@ -83,14 +82,15 @@
|
|
|
83
82
|
"title": "Tạo tài liệu mới",
|
|
84
83
|
"updateSuccess": "Cập nhật tài liệu thành công"
|
|
85
84
|
},
|
|
85
|
+
"newPageButton": "Tạo tài liệu mới",
|
|
86
86
|
"uploadButton": "Tải lên"
|
|
87
87
|
},
|
|
88
88
|
"home": {
|
|
89
89
|
"getStarted": "Bắt đầu",
|
|
90
90
|
"greeting": "Bắt đầu",
|
|
91
91
|
"quickActions": "Hành động nhanh",
|
|
92
|
-
"recentDocuments": "Tài liệu gần đây",
|
|
93
92
|
"recentFiles": "Tệp gần đây",
|
|
93
|
+
"recentPages": "Tài liệu gần đây",
|
|
94
94
|
"subtitle": "Chào mừng đến với kho tri thức, bắt đầu quản lý tài liệu của bạn từ đây",
|
|
95
95
|
"uploadEntries": {
|
|
96
96
|
"files": {
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"knowledgeBase": {
|
|
103
103
|
"title": "Tạo kho kiến thức mới"
|
|
104
104
|
},
|
|
105
|
-
"
|
|
105
|
+
"newPage": {
|
|
106
106
|
"title": "Tạo tài liệu mới"
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -142,8 +142,8 @@
|
|
|
142
142
|
"downloadFile": "Tải tệp",
|
|
143
143
|
"unsupportedFileAndContact": "Định dạng tệp này hiện không hỗ trợ xem trước trực tuyến. Nếu bạn có yêu cầu xem trước, vui lòng <1>phản hồi cho chúng tôi</1>"
|
|
144
144
|
},
|
|
145
|
-
"searchDocumentPlaceholder": "Tìm kiếm tài liệu",
|
|
146
145
|
"searchFilePlaceholder": "Tìm kiếm tệp",
|
|
146
|
+
"searchPagePlaceholder": "Tìm kiếm bản thảo",
|
|
147
147
|
"tab": {
|
|
148
148
|
"all": "Tất cả",
|
|
149
149
|
"audios": "Âm thanh",
|
|
@@ -156,9 +156,7 @@
|
|
|
156
156
|
"websites": "Trang web"
|
|
157
157
|
},
|
|
158
158
|
"title": "Kho kiến thức",
|
|
159
|
-
"toggleLeftPanel":
|
|
160
|
-
"title": "Hiện/Ẩn bảng bên trái"
|
|
161
|
-
},
|
|
159
|
+
"toggleLeftPanel": "Hiển thị/Ẩn bảng điều khiển bên trái",
|
|
162
160
|
"uploadDock": {
|
|
163
161
|
"body": {
|
|
164
162
|
"collapse": "Thu gọn",
|
|
@@ -1907,6 +1907,12 @@
|
|
|
1907
1907
|
"grok-4-0709": {
|
|
1908
1908
|
"description": "Grok 4 của xAI, có khả năng suy luận mạnh mẽ."
|
|
1909
1909
|
},
|
|
1910
|
+
"grok-4-1-fast-non-reasoning": {
|
|
1911
|
+
"description": "Mô hình đa phương thức tiên tiến, được tối ưu hóa đặc biệt để gọi công cụ đại diện hiệu suất cao."
|
|
1912
|
+
},
|
|
1913
|
+
"grok-4-1-fast-reasoning": {
|
|
1914
|
+
"description": "Mô hình đa phương thức tiên tiến, được tối ưu hóa đặc biệt để gọi công cụ đại diện hiệu suất cao."
|
|
1915
|
+
},
|
|
1910
1916
|
"grok-4-fast-non-reasoning": {
|
|
1911
1917
|
"description": "Chúng tôi rất vui mừng giới thiệu Grok 4 Fast, bước tiến mới nhất của chúng tôi trong các mô hình suy luận hiệu quả về chi phí."
|
|
1912
1918
|
},
|
package/locales/zh-CN/file.json
CHANGED
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
},
|
|
56
56
|
"documentList": {
|
|
57
57
|
"copyContent": "复制全文",
|
|
58
|
-
"documentCount": "共 {{count}} 个文档",
|
|
59
58
|
"duplicate": "创建副本",
|
|
60
|
-
"empty": "
|
|
61
|
-
"noResults": "
|
|
62
|
-
"
|
|
59
|
+
"empty": "暂无文稿,点击上方按钮创建你的第一篇文稿",
|
|
60
|
+
"noResults": "未找到匹配的文稿",
|
|
61
|
+
"pageCount": "共 {{count}} 个文稿",
|
|
62
|
+
"selectNote": "选择一个文稿开始编辑",
|
|
63
63
|
"untitled": "无标题"
|
|
64
64
|
},
|
|
65
65
|
"empty": "暂无已上传文件/文件夹",
|
|
@@ -70,7 +70,6 @@
|
|
|
70
70
|
"uploadFile": "上传文件",
|
|
71
71
|
"uploadFolder": "上传文件夹"
|
|
72
72
|
},
|
|
73
|
-
"newDocumentButton": "新建文档",
|
|
74
73
|
"newNoteDialog": {
|
|
75
74
|
"cancel": "取消",
|
|
76
75
|
"editTitle": "编辑文档",
|
|
@@ -83,14 +82,15 @@
|
|
|
83
82
|
"title": "新建文档",
|
|
84
83
|
"updateSuccess": "文档更新成功"
|
|
85
84
|
},
|
|
85
|
+
"newPageButton": "新建文稿",
|
|
86
86
|
"uploadButton": "上传"
|
|
87
87
|
},
|
|
88
88
|
"home": {
|
|
89
89
|
"getStarted": "开始使用",
|
|
90
90
|
"greeting": "开始",
|
|
91
91
|
"quickActions": "快捷操作",
|
|
92
|
-
"recentDocuments": "最近文档",
|
|
93
92
|
"recentFiles": "最近文件",
|
|
93
|
+
"recentPages": "最近文稿",
|
|
94
94
|
"subtitle": "欢迎使用知识库,从这里开始管理你的文档和文档",
|
|
95
95
|
"uploadEntries": {
|
|
96
96
|
"files": {
|
|
@@ -102,8 +102,8 @@
|
|
|
102
102
|
"knowledgeBase": {
|
|
103
103
|
"title": "新建知识库"
|
|
104
104
|
},
|
|
105
|
-
"
|
|
106
|
-
"title": "
|
|
105
|
+
"newPage": {
|
|
106
|
+
"title": "新建文稿"
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
},
|
|
@@ -142,8 +142,8 @@
|
|
|
142
142
|
"downloadFile": "下载文件",
|
|
143
143
|
"unsupportedFileAndContact": "此文件格式暂不支持在线预览,如有预览诉求,欢迎<1>反馈给我们</1>"
|
|
144
144
|
},
|
|
145
|
-
"searchDocumentPlaceholder": "搜索文档",
|
|
146
145
|
"searchFilePlaceholder": "搜索文件",
|
|
146
|
+
"searchPagePlaceholder": "搜索文稿",
|
|
147
147
|
"tab": {
|
|
148
148
|
"all": "全部",
|
|
149
149
|
"audios": "语音",
|
|
@@ -156,9 +156,7 @@
|
|
|
156
156
|
"websites": "网页"
|
|
157
157
|
},
|
|
158
158
|
"title": "知识库",
|
|
159
|
-
"toggleLeftPanel":
|
|
160
|
-
"title": "显示/隐藏左侧面板"
|
|
161
|
-
},
|
|
159
|
+
"toggleLeftPanel": "显示/隐藏左侧面板",
|
|
162
160
|
"uploadDock": {
|
|
163
161
|
"body": {
|
|
164
162
|
"collapse": "收起",
|
|
@@ -1907,6 +1907,12 @@
|
|
|
1907
1907
|
"grok-4-0709": {
|
|
1908
1908
|
"description": "xAI 的 Grok 4,具备强大的推理能力。"
|
|
1909
1909
|
},
|
|
1910
|
+
"grok-4-1-fast-non-reasoning": {
|
|
1911
|
+
"description": "前沿多模态模型,专门针对高性能代理工具调用进行优化。"
|
|
1912
|
+
},
|
|
1913
|
+
"grok-4-1-fast-reasoning": {
|
|
1914
|
+
"description": "前沿多模态模型,专门针对高性能代理工具调用进行优化。"
|
|
1915
|
+
},
|
|
1910
1916
|
"grok-4-fast-non-reasoning": {
|
|
1911
1917
|
"description": "我们很高兴发布 Grok 4 Fast,这是我们在成本效益推理模型方面的最新进展。"
|
|
1912
1918
|
},
|
package/locales/zh-TW/file.json
CHANGED
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
},
|
|
56
56
|
"documentList": {
|
|
57
57
|
"copyContent": "複製全文",
|
|
58
|
-
"documentCount": "共 {{count}} 筆文件",
|
|
59
58
|
"duplicate": "建立副本",
|
|
60
|
-
"empty": "
|
|
61
|
-
"noResults": "
|
|
62
|
-
"
|
|
59
|
+
"empty": "尚無文稿,點擊上方按鈕建立你的第一篇文稿",
|
|
60
|
+
"noResults": "未找到符合的文稿",
|
|
61
|
+
"pageCount": "共 {{count}} 篇文稿",
|
|
62
|
+
"selectNote": "選擇一篇文稿開始編輯",
|
|
63
63
|
"untitled": "無標題"
|
|
64
64
|
},
|
|
65
65
|
"empty": "暫無已上傳文件/文件夾",
|
|
@@ -70,7 +70,6 @@
|
|
|
70
70
|
"uploadFile": "上傳檔案",
|
|
71
71
|
"uploadFolder": "上傳資料夾"
|
|
72
72
|
},
|
|
73
|
-
"newDocumentButton": "新增文件",
|
|
74
73
|
"newNoteDialog": {
|
|
75
74
|
"cancel": "取消",
|
|
76
75
|
"editTitle": "編輯文件",
|
|
@@ -83,14 +82,15 @@
|
|
|
83
82
|
"title": "新增文件",
|
|
84
83
|
"updateSuccess": "文件更新成功"
|
|
85
84
|
},
|
|
85
|
+
"newPageButton": "新增文件",
|
|
86
86
|
"uploadButton": "上傳"
|
|
87
87
|
},
|
|
88
88
|
"home": {
|
|
89
89
|
"getStarted": "開始使用",
|
|
90
90
|
"greeting": "開始",
|
|
91
91
|
"quickActions": "快速操作",
|
|
92
|
-
"recentDocuments": "最近文件",
|
|
93
92
|
"recentFiles": "最近檔案",
|
|
93
|
+
"recentPages": "最近文件",
|
|
94
94
|
"subtitle": "歡迎使用知識庫,從這裡開始管理你的文件與資料",
|
|
95
95
|
"uploadEntries": {
|
|
96
96
|
"files": {
|
|
@@ -102,8 +102,8 @@
|
|
|
102
102
|
"knowledgeBase": {
|
|
103
103
|
"title": "新增知識庫"
|
|
104
104
|
},
|
|
105
|
-
"
|
|
106
|
-
"title": "
|
|
105
|
+
"newPage": {
|
|
106
|
+
"title": "新增文稿"
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
},
|
|
@@ -142,8 +142,8 @@
|
|
|
142
142
|
"downloadFile": "下載檔案",
|
|
143
143
|
"unsupportedFileAndContact": "此檔案格式暫不支援線上預覽,如有預覽需求,歡迎<1>反饋給我們</1>"
|
|
144
144
|
},
|
|
145
|
-
"searchDocumentPlaceholder": "搜尋文件",
|
|
146
145
|
"searchFilePlaceholder": "搜索檔案",
|
|
146
|
+
"searchPagePlaceholder": "搜尋文稿",
|
|
147
147
|
"tab": {
|
|
148
148
|
"all": "全部",
|
|
149
149
|
"audios": "語音",
|
|
@@ -156,9 +156,7 @@
|
|
|
156
156
|
"websites": "網頁"
|
|
157
157
|
},
|
|
158
158
|
"title": "知識庫",
|
|
159
|
-
"toggleLeftPanel":
|
|
160
|
-
"title": "顯示/隱藏左側面板"
|
|
161
|
-
},
|
|
159
|
+
"toggleLeftPanel": "顯示/隱藏左側面板",
|
|
162
160
|
"uploadDock": {
|
|
163
161
|
"body": {
|
|
164
162
|
"collapse": "收起",
|
|
@@ -1907,6 +1907,12 @@
|
|
|
1907
1907
|
"grok-4-0709": {
|
|
1908
1908
|
"description": "xAI 的 Grok 4,具備強大的推理能力。"
|
|
1909
1909
|
},
|
|
1910
|
+
"grok-4-1-fast-non-reasoning": {
|
|
1911
|
+
"description": "前沿多模態模型,專為高效能代理工具調用進行優化。"
|
|
1912
|
+
},
|
|
1913
|
+
"grok-4-1-fast-reasoning": {
|
|
1914
|
+
"description": "前沿多模態模型,專為高效能代理工具調用進行優化。"
|
|
1915
|
+
},
|
|
1910
1916
|
"grok-4-fast-non-reasoning": {
|
|
1911
1917
|
"description": "我們很高興發布 Grok 4 Fast,這是我們在成本效益推理模型方面的最新進展。"
|
|
1912
1918
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/lobehub",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.98",
|
|
4
4
|
"description": "LobeHub - an open-source,comprehensive AI Agent framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"framework",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"lint:circular": "npm run lint:circular:main && npm run lint:circular:packages",
|
|
64
64
|
"lint:circular:main": "dpdm src/**/*.ts --no-warning --no-tree --exit-code circular:1 --no-progress -T true --skip-dynamic-imports circular",
|
|
65
65
|
"lint:circular:packages": "dpdm packages/**/src/**/*.ts --no-warning --no-tree --exit-code circular:1 --no-progress -T true --skip-dynamic-imports circular",
|
|
66
|
+
"lint:console": "tsx scripts/checkConsoleLog.mts",
|
|
66
67
|
"lint:md": "remark . --silent --output",
|
|
67
68
|
"lint:mdx": "npm run workflow:mdx && remark \"docs/**/*.mdx\" -r ./.remarkrc.mdx.js --silent --output && eslint \"docs/**/*.mdx\" --quiet --fix",
|
|
68
69
|
"lint:style": "stylelint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
|
|
@@ -174,7 +175,7 @@
|
|
|
174
175
|
"@neondatabase/serverless": "^1.0.2",
|
|
175
176
|
"@next/third-parties": "^16.0.3",
|
|
176
177
|
"@opentelemetry/exporter-jaeger": "^2.2.0",
|
|
177
|
-
"@opentelemetry/winston-transport": "^0.
|
|
178
|
+
"@opentelemetry/winston-transport": "^0.19.0",
|
|
178
179
|
"@react-pdf/renderer": "^4.3.1",
|
|
179
180
|
"@react-spring/web": "^9.7.5",
|
|
180
181
|
"@saintno/comfyui-sdk": "^0.2.49",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
ALTER TABLE "documents" ADD COLUMN IF NOT EXISTS "slug" varchar(255);--> statement-breakpoint
|
|
2
|
+
DO $$ BEGIN
|
|
3
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "documents_slug_user_id_unique" ON "documents" ("slug","user_id") WHERE "slug" IS NOT NULL;
|
|
4
|
+
EXCEPTION
|
|
5
|
+
WHEN duplicate_object THEN null;
|
|
6
|
+
END $$;
|