@lobehub/lobehub 2.0.0-next.331 → 2.0.0-next.333
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/CHANGELOG.md +60 -0
- package/apps/desktop/src/main/const/dir.ts +3 -0
- package/apps/desktop/src/main/controllers/SystemCtr.ts +19 -0
- package/apps/desktop/src/main/controllers/__tests__/SystemCtr.test.ts +1 -0
- package/apps/desktop/src/main/menus/impls/macOS.test.ts +1 -0
- package/changelog/v1.json +21 -0
- package/docs/changelog/2023-09-09-plugin-system.mdx +3 -2
- package/docs/changelog/2023-11-14-gpt4-vision.mdx +6 -4
- package/docs/changelog/2023-11-19-tts-stt.mdx +3 -2
- package/docs/changelog/2023-12-22-dalle-3.mdx +5 -2
- package/docs/changelog/2023-12-22-dalle-3.zh-CN.mdx +2 -2
- package/docs/changelog/2024-02-08-sso-oauth.mdx +2 -2
- package/docs/changelog/2024-06-19-lobe-chat-v1.mdx +3 -2
- package/docs/changelog/2024-06-19-lobe-chat-v1.zh-CN.mdx +2 -2
- package/docs/changelog/2024-07-19-gpt-4o-mini.mdx +3 -2
- package/docs/changelog/2024-07-19-gpt-4o-mini.zh-CN.mdx +2 -2
- package/docs/changelog/2024-08-02-lobe-chat-database-docker.mdx +3 -2
- package/docs/changelog/2024-08-21-file-upload-and-knowledge-base.mdx +5 -4
- package/docs/changelog/2024-09-13-openai-o1-models.mdx +2 -2
- package/docs/changelog/2024-09-20-artifacts.mdx +3 -2
- package/docs/changelog/2024-09-20-artifacts.zh-CN.mdx +2 -2
- package/docs/changelog/2024-10-27-pin-assistant.mdx +3 -2
- package/docs/changelog/2024-11-06-share-text-json.mdx +4 -2
- package/docs/changelog/2024-11-06-share-text-json.zh-CN.mdx +2 -2
- package/docs/changelog/2024-11-25-november-providers.mdx +2 -2
- package/docs/changelog/2024-11-27-forkable-chat.mdx +2 -2
- package/docs/changelog/2025-01-03-user-profile.mdx +2 -2
- package/docs/changelog/2025-01-22-new-ai-provider.mdx +2 -2
- package/docs/changelog/2025-02-02-deepseek-r1.mdx +4 -4
- package/docs/development/basic/add-new-authentication-providers.mdx +4 -0
- package/docs/development/basic/add-new-authentication-providers.zh-CN.mdx +4 -0
- package/docs/development/basic/add-new-image-model.mdx +4 -0
- package/docs/development/basic/add-new-image-model.zh-CN.mdx +4 -0
- package/docs/development/basic/architecture.mdx +4 -0
- package/docs/development/basic/architecture.zh-CN.mdx +4 -0
- package/docs/development/basic/chat-api.mdx +4 -0
- package/docs/development/basic/chat-api.zh-CN.mdx +4 -0
- package/docs/development/basic/comfyui-development.mdx +3 -1
- package/docs/development/basic/contributing-guidelines.mdx +4 -0
- package/docs/development/basic/contributing-guidelines.zh-CN.mdx +4 -0
- package/docs/development/basic/feature-development-frontend.mdx +11 -3
- package/docs/development/basic/feature-development-frontend.zh-CN.mdx +11 -3
- package/docs/development/basic/feature-development.mdx +14 -5
- package/docs/development/basic/feature-development.zh-CN.mdx +14 -5
- package/docs/development/basic/folder-structure.mdx +7 -0
- package/docs/development/basic/folder-structure.zh-CN.mdx +7 -0
- package/docs/development/basic/resources.mdx +4 -0
- package/docs/development/basic/resources.zh-CN.mdx +4 -0
- package/docs/development/basic/setup-development.mdx +4 -0
- package/docs/development/basic/setup-development.zh-CN.mdx +4 -0
- package/docs/development/basic/test.mdx +4 -0
- package/docs/development/basic/test.zh-CN.mdx +4 -0
- package/docs/development/basic/work-with-server-side-database.mdx +5 -5
- package/docs/development/basic/work-with-server-side-database.zh-CN.mdx +5 -5
- package/docs/development/internationalization/add-new-locale.mdx +4 -0
- package/docs/development/internationalization/add-new-locale.zh-CN.mdx +4 -0
- package/docs/development/internationalization/internationalization-implementation.mdx +4 -0
- package/docs/development/internationalization/internationalization-implementation.zh-CN.mdx +4 -0
- package/docs/development/others/lighthouse.mdx +4 -0
- package/docs/development/others/lighthouse.zh-CN.mdx +4 -0
- package/docs/development/start.mdx +4 -0
- package/docs/development/start.zh-CN.mdx +4 -0
- package/docs/development/state-management/state-management-intro.mdx +4 -2
- package/docs/development/state-management/state-management-intro.zh-CN.mdx +4 -2
- package/docs/development/state-management/state-management-selectors.mdx +6 -1
- package/docs/development/state-management/state-management-selectors.zh-CN.mdx +6 -1
- package/docs/development/tests/integration-testing.zh-CN.mdx +4 -0
- package/docs/self-hosting/advanced/analytics.mdx +2 -2
- package/docs/self-hosting/advanced/auth/better-auth/apple.mdx +132 -0
- package/docs/self-hosting/advanced/auth/better-auth/apple.zh-CN.mdx +127 -0
- package/docs/self-hosting/advanced/auth/better-auth/auth0.mdx +111 -0
- package/docs/self-hosting/advanced/auth/better-auth/auth0.zh-CN.mdx +107 -0
- package/docs/self-hosting/advanced/auth/better-auth/authelia.mdx +66 -0
- package/docs/self-hosting/advanced/auth/better-auth/authelia.zh-CN.mdx +62 -0
- package/docs/self-hosting/advanced/auth/better-auth/authentik.mdx +67 -0
- package/docs/self-hosting/advanced/auth/better-auth/authentik.zh-CN.mdx +63 -0
- package/docs/self-hosting/advanced/auth/better-auth/casdoor.mdx +62 -0
- package/docs/self-hosting/advanced/auth/better-auth/casdoor.zh-CN.mdx +58 -0
- package/docs/self-hosting/advanced/auth/better-auth/cloudflare-zero-trust.mdx +59 -0
- package/docs/self-hosting/advanced/auth/better-auth/cloudflare-zero-trust.zh-CN.mdx +55 -0
- package/docs/self-hosting/advanced/auth/better-auth/cognito.mdx +88 -0
- package/docs/self-hosting/advanced/auth/better-auth/cognito.zh-CN.mdx +85 -0
- package/docs/self-hosting/advanced/auth/better-auth/feishu.mdx +73 -0
- package/docs/self-hosting/advanced/auth/better-auth/feishu.zh-CN.mdx +69 -0
- package/docs/self-hosting/advanced/auth/better-auth/generic-oidc.mdx +86 -0
- package/docs/self-hosting/advanced/auth/better-auth/generic-oidc.zh-CN.mdx +83 -0
- package/docs/self-hosting/advanced/auth/better-auth/github.mdx +93 -0
- package/docs/self-hosting/advanced/auth/better-auth/github.zh-CN.mdx +90 -0
- package/docs/self-hosting/advanced/auth/better-auth/google.mdx +80 -0
- package/docs/self-hosting/advanced/auth/better-auth/google.zh-CN.mdx +77 -0
- package/docs/self-hosting/advanced/auth/better-auth/keycloak.mdx +77 -0
- package/docs/self-hosting/advanced/auth/better-auth/keycloak.zh-CN.mdx +74 -0
- package/docs/self-hosting/advanced/auth/better-auth/logto.mdx +64 -0
- package/docs/self-hosting/advanced/auth/better-auth/logto.zh-CN.mdx +60 -0
- package/docs/self-hosting/advanced/auth/better-auth/microsoft.mdx +113 -0
- package/docs/self-hosting/advanced/auth/better-auth/microsoft.zh-CN.mdx +109 -0
- package/docs/self-hosting/advanced/auth/better-auth/okta.mdx +67 -0
- package/docs/self-hosting/advanced/auth/better-auth/okta.zh-CN.mdx +63 -0
- package/docs/self-hosting/advanced/auth/better-auth/wechat.mdx +77 -0
- package/docs/self-hosting/advanced/auth/better-auth/wechat.zh-CN.mdx +72 -0
- package/docs/self-hosting/advanced/auth/better-auth/zitadel.mdx +73 -0
- package/docs/self-hosting/advanced/auth/better-auth/zitadel.zh-CN.mdx +69 -0
- package/docs/self-hosting/advanced/auth/clerk.mdx +2 -2
- package/docs/self-hosting/advanced/auth/legacy.mdx +106 -0
- package/docs/self-hosting/advanced/auth/legacy.zh-CN.mdx +101 -0
- package/docs/self-hosting/advanced/auth/next-auth/auth0.mdx +3 -2
- package/docs/self-hosting/advanced/auth/next-auth/authelia.mdx +3 -2
- package/docs/self-hosting/advanced/auth/next-auth/authentik.mdx +3 -2
- package/docs/self-hosting/advanced/auth/next-auth/casdoor.mdx +5 -2
- package/docs/self-hosting/advanced/auth/next-auth/casdoor.zh-CN.mdx +2 -0
- package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.mdx +3 -2
- package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.zh-CN.mdx +2 -2
- package/docs/self-hosting/advanced/auth/next-auth/github.mdx +3 -2
- package/docs/self-hosting/advanced/auth/next-auth/google.mdx +10 -12
- package/docs/self-hosting/advanced/auth/next-auth/keycloak.mdx +3 -2
- package/docs/self-hosting/advanced/auth/next-auth/logto.mdx +2 -2
- package/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id.mdx +3 -2
- package/docs/self-hosting/advanced/auth/next-auth/okta.mdx +3 -2
- package/docs/self-hosting/advanced/auth/next-auth/okta.zh-CN.mdx +1 -3
- package/docs/self-hosting/advanced/auth/next-auth/wechat.mdx +2 -2
- package/docs/self-hosting/advanced/auth/next-auth/zitadel.mdx +3 -2
- package/docs/self-hosting/advanced/auth.mdx +86 -139
- package/docs/self-hosting/advanced/auth.zh-CN.mdx +84 -135
- package/docs/self-hosting/advanced/desktop.mdx +9 -3
- package/docs/self-hosting/advanced/desktop.zh-CN.mdx +9 -3
- package/docs/self-hosting/advanced/feature-flags.mdx +3 -2
- package/docs/self-hosting/advanced/knowledge-base.mdx +2 -2
- package/docs/self-hosting/advanced/model-list.mdx +2 -2
- package/docs/self-hosting/advanced/observability/grafana.mdx +4 -2
- package/docs/self-hosting/advanced/observability/grafana.zh-CN.mdx +2 -1
- package/docs/self-hosting/advanced/observability/langfuse.mdx +3 -2
- package/docs/self-hosting/advanced/online-search.mdx +4 -6
- package/docs/self-hosting/advanced/s3/tencent-cloud.mdx +2 -2
- package/docs/self-hosting/advanced/settings-url-share.mdx +3 -2
- package/docs/self-hosting/advanced/upstream-sync.mdx +3 -4
- package/docs/self-hosting/advanced/upstream-sync.zh-CN.mdx +0 -2
- package/docs/self-hosting/environment-variables/analytics.mdx +3 -2
- package/docs/self-hosting/environment-variables/auth.mdx +5 -12
- package/docs/self-hosting/environment-variables/auth.zh-CN.mdx +2 -9
- package/docs/self-hosting/environment-variables/basic.mdx +3 -10
- package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +0 -7
- package/docs/self-hosting/environment-variables/model-provider.mdx +3 -4
- package/docs/self-hosting/environment-variables/s3.mdx +2 -2
- package/docs/self-hosting/environment-variables.mdx +2 -3
- package/docs/self-hosting/examples/azure-openai.mdx +2 -3
- package/docs/self-hosting/examples/azure-openai.zh-CN.mdx +0 -1
- package/docs/self-hosting/examples/ollama.mdx +3 -2
- package/docs/self-hosting/faq/no-v1-suffix.mdx +4 -4
- package/docs/self-hosting/faq/proxy-with-unable-to-verify-leaf-signature.mdx +3 -2
- package/docs/self-hosting/faq/vercel-ai-image-timeout.mdx +2 -2
- package/docs/self-hosting/migration/v2/breaking-changes.mdx +73 -0
- package/docs/self-hosting/migration/v2/breaking-changes.zh-CN.mdx +71 -0
- package/docs/self-hosting/platform/alibaba-cloud.mdx +2 -7
- package/docs/self-hosting/platform/alibaba-cloud.zh-CN.mdx +1 -6
- package/docs/self-hosting/platform/btpanel.mdx +4 -2
- package/docs/self-hosting/platform/btpanel.zh-CN.mdx +2 -2
- package/docs/self-hosting/platform/docker-compose.mdx +3 -3
- package/docs/self-hosting/platform/docker-compose.zh-CN.mdx +0 -1
- package/docs/self-hosting/platform/docker.mdx +2 -11
- package/docs/self-hosting/platform/docker.zh-CN.mdx +0 -8
- package/docs/self-hosting/platform/netlify.mdx +5 -17
- package/docs/self-hosting/platform/netlify.zh-CN.mdx +3 -17
- package/docs/self-hosting/platform/railway.mdx +3 -7
- package/docs/self-hosting/platform/railway.zh-CN.mdx +1 -7
- package/docs/self-hosting/platform/repocloud.mdx +3 -7
- package/docs/self-hosting/platform/repocloud.zh-CN.mdx +1 -6
- package/docs/self-hosting/platform/sealos.mdx +2 -7
- package/docs/self-hosting/platform/sealos.zh-CN.mdx +1 -6
- package/docs/self-hosting/platform/tencentcloud-lighthouse.mdx +2 -7
- package/docs/self-hosting/platform/tencentcloud-lighthouse.zh-CN.mdx +1 -6
- package/docs/self-hosting/platform/vercel.mdx +4 -9
- package/docs/self-hosting/platform/vercel.zh-CN.mdx +3 -8
- package/docs/self-hosting/platform/zeabur.mdx +2 -11
- package/docs/self-hosting/platform/zeabur.zh-CN.mdx +1 -10
- package/docs/self-hosting/server-database/docker-compose.mdx +11 -19
- package/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +12 -21
- package/docs/self-hosting/server-database/docker.mdx +9 -24
- package/docs/self-hosting/server-database/docker.zh-CN.mdx +7 -24
- package/docs/self-hosting/server-database/dokploy.mdx +27 -25
- package/docs/self-hosting/server-database/dokploy.zh-CN.mdx +23 -21
- package/docs/self-hosting/server-database/netlify.mdx +2 -2
- package/docs/self-hosting/server-database/netlify.zh-CN.mdx +2 -2
- package/docs/self-hosting/server-database/railway.mdx +2 -2
- package/docs/self-hosting/server-database/repocloud.mdx +2 -2
- package/docs/self-hosting/server-database/sealos.mdx +2 -2
- package/docs/self-hosting/server-database/vercel.mdx +19 -72
- package/docs/self-hosting/server-database/vercel.zh-CN.mdx +17 -68
- package/docs/self-hosting/server-database/zeabur.mdx +2 -2
- package/docs/self-hosting/server-database.mdx +1 -19
- package/docs/self-hosting/server-database.zh-CN.mdx +0 -17
- package/docs/self-hosting/start.mdx +2 -2
- package/docs/self-hosting/start.zh-CN.mdx +2 -2
- package/e2e/src/support/webServer.ts +95 -43
- package/locales/ar/chat.json +5 -0
- package/locales/ar/desktop-onboarding.json +5 -0
- package/locales/ar/discover.json +15 -0
- package/locales/ar/models.json +35 -0
- package/locales/bg-BG/chat.json +5 -0
- package/locales/bg-BG/desktop-onboarding.json +5 -0
- package/locales/bg-BG/discover.json +15 -0
- package/locales/bg-BG/models.json +30 -0
- package/locales/de-DE/chat.json +5 -0
- package/locales/de-DE/desktop-onboarding.json +5 -0
- package/locales/de-DE/discover.json +15 -0
- package/locales/de-DE/models.json +38 -0
- package/locales/en-US/desktop-onboarding.json +6 -0
- package/locales/en-US/discover.json +14 -0
- package/locales/es-ES/chat.json +5 -0
- package/locales/es-ES/desktop-onboarding.json +5 -0
- package/locales/es-ES/discover.json +15 -0
- package/locales/es-ES/models.json +38 -0
- package/locales/fa-IR/chat.json +5 -0
- package/locales/fa-IR/desktop-onboarding.json +5 -0
- package/locales/fa-IR/discover.json +15 -0
- package/locales/fa-IR/models.json +11 -0
- package/locales/fr-FR/chat.json +5 -0
- package/locales/fr-FR/desktop-onboarding.json +5 -0
- package/locales/fr-FR/discover.json +15 -0
- package/locales/fr-FR/models.json +36 -0
- package/locales/it-IT/chat.json +5 -0
- package/locales/it-IT/desktop-onboarding.json +5 -0
- package/locales/it-IT/discover.json +15 -0
- package/locales/it-IT/models.json +32 -0
- package/locales/ja-JP/chat.json +5 -0
- package/locales/ja-JP/desktop-onboarding.json +5 -0
- package/locales/ja-JP/discover.json +15 -0
- package/locales/ja-JP/models.json +42 -0
- package/locales/ko-KR/chat.json +5 -0
- package/locales/ko-KR/desktop-onboarding.json +5 -0
- package/locales/ko-KR/discover.json +15 -0
- package/locales/ko-KR/models.json +55 -0
- package/locales/nl-NL/chat.json +5 -0
- package/locales/nl-NL/desktop-onboarding.json +5 -0
- package/locales/nl-NL/discover.json +15 -0
- package/locales/nl-NL/models.json +34 -0
- package/locales/pl-PL/chat.json +5 -0
- package/locales/pl-PL/desktop-onboarding.json +5 -0
- package/locales/pl-PL/discover.json +15 -0
- package/locales/pl-PL/models.json +31 -0
- package/locales/pt-BR/chat.json +5 -0
- package/locales/pt-BR/desktop-onboarding.json +5 -0
- package/locales/pt-BR/discover.json +15 -0
- package/locales/pt-BR/models.json +42 -0
- package/locales/ru-RU/chat.json +5 -0
- package/locales/ru-RU/desktop-onboarding.json +5 -0
- package/locales/ru-RU/discover.json +15 -0
- package/locales/ru-RU/models.json +32 -0
- package/locales/tr-TR/chat.json +5 -0
- package/locales/tr-TR/desktop-onboarding.json +5 -0
- package/locales/tr-TR/discover.json +15 -0
- package/locales/tr-TR/models.json +48 -0
- package/locales/vi-VN/chat.json +5 -0
- package/locales/vi-VN/desktop-onboarding.json +5 -0
- package/locales/vi-VN/discover.json +15 -0
- package/locales/vi-VN/models.json +36 -0
- package/locales/zh-CN/desktop-onboarding.json +4 -3
- package/locales/zh-CN/discover.json +14 -0
- package/locales/zh-CN/models.json +1 -0
- package/locales/zh-TW/chat.json +5 -0
- package/locales/zh-TW/desktop-onboarding.json +5 -0
- package/locales/zh-TW/discover.json +15 -0
- package/locales/zh-TW/models.json +42 -0
- package/package.json +2 -2
- package/packages/builtin-tool-cloud-sandbox/src/systemRole.ts +62 -2
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/tasks/index.ts +2 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/tasks/multi-tasks-with-summary.json +234 -0
- package/packages/conversation-flow/src/__tests__/parse.test.ts +25 -0
- package/packages/conversation-flow/src/transformation/ContextTreeBuilder.ts +15 -0
- package/packages/conversation-flow/src/transformation/FlatListBuilder.ts +20 -0
- package/packages/types/src/serverConfig.ts +0 -1
- package/src/app/[variants]/(desktop)/desktop-onboarding/features/LoginStep.tsx +39 -1
- package/src/app/[variants]/(main)/settings/common/features/Common/Common.tsx +34 -14
- package/src/envs/app.ts +0 -13
- package/src/locales/default/desktop-onboarding.ts +1 -0
- package/src/server/globalConfig/index.ts +1 -2
- package/src/services/electron/system.ts +4 -0
- package/src/store/serverConfig/selectors.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,66 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [Version 2.0.0-next.333](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.332...v2.0.0-next.333)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2026-01-21**</sup>
|
|
8
|
+
|
|
9
|
+
#### ✨ Features
|
|
10
|
+
|
|
11
|
+
- **desktop**: Add legacy local database detection and migration guidance.
|
|
12
|
+
- **misc**: Update the sandbox preinstall libs in sys role.
|
|
13
|
+
|
|
14
|
+
#### 🐛 Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **misc**: Fix multi tasks no summary issue.
|
|
17
|
+
|
|
18
|
+
<br/>
|
|
19
|
+
|
|
20
|
+
<details>
|
|
21
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
22
|
+
|
|
23
|
+
#### What's improved
|
|
24
|
+
|
|
25
|
+
- **desktop**: Add legacy local database detection and migration guidance, closes [#11682](https://github.com/lobehub/lobe-chat/issues/11682) ([5664b84](https://github.com/lobehub/lobe-chat/commit/5664b84))
|
|
26
|
+
- **misc**: Update the sandbox preinstall libs in sys role, closes [#11688](https://github.com/lobehub/lobe-chat/issues/11688) ([404c577](https://github.com/lobehub/lobe-chat/commit/404c577))
|
|
27
|
+
|
|
28
|
+
#### What's fixed
|
|
29
|
+
|
|
30
|
+
- **misc**: Fix multi tasks no summary issue, closes [#11685](https://github.com/lobehub/lobe-chat/issues/11685) ([26ce317](https://github.com/lobehub/lobe-chat/commit/26ce317))
|
|
31
|
+
|
|
32
|
+
</details>
|
|
33
|
+
|
|
34
|
+
<div align="right">
|
|
35
|
+
|
|
36
|
+
[](#readme-top)
|
|
37
|
+
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
## [Version 2.0.0-next.332](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.331...v2.0.0-next.332)
|
|
41
|
+
|
|
42
|
+
<sup>Released on **2026-01-21**</sup>
|
|
43
|
+
|
|
44
|
+
#### 🐛 Bug Fixes
|
|
45
|
+
|
|
46
|
+
- **misc**: Improve e2e server and complete i18n resources.
|
|
47
|
+
|
|
48
|
+
<br/>
|
|
49
|
+
|
|
50
|
+
<details>
|
|
51
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
52
|
+
|
|
53
|
+
#### What's fixed
|
|
54
|
+
|
|
55
|
+
- **misc**: Improve e2e server and complete i18n resources, closes [#11678](https://github.com/lobehub/lobe-chat/issues/11678) ([d450dd9](https://github.com/lobehub/lobe-chat/commit/d450dd9))
|
|
56
|
+
|
|
57
|
+
</details>
|
|
58
|
+
|
|
59
|
+
<div align="right">
|
|
60
|
+
|
|
61
|
+
[](#readme-top)
|
|
62
|
+
|
|
63
|
+
</div>
|
|
64
|
+
|
|
5
65
|
## [Version 2.0.0-next.331](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.330...v2.0.0-next.331)
|
|
6
66
|
|
|
7
67
|
<sup>Released on **2026-01-21**</sup>
|
|
@@ -23,6 +23,9 @@ export const userDataDir = app.getPath('userData');
|
|
|
23
23
|
|
|
24
24
|
export const appStorageDir = join(userDataDir, 'lobehub-storage');
|
|
25
25
|
|
|
26
|
+
// Legacy local database directory used in older desktop versions
|
|
27
|
+
export const legacyLocalDbDir = join(appStorageDir, 'lobehub-local-db');
|
|
28
|
+
|
|
26
29
|
// ------ Application storage directory ---- //
|
|
27
30
|
|
|
28
31
|
// Local storage files (simulating S3)
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { ElectronAppState, ThemeMode } from '@lobechat/electron-client-ipc';
|
|
2
2
|
import { app, dialog, nativeTheme, shell } from 'electron';
|
|
3
3
|
import { macOS } from 'electron-is';
|
|
4
|
+
import { pathExists, readdir } from 'fs-extra';
|
|
4
5
|
import process from 'node:process';
|
|
5
6
|
|
|
7
|
+
import { legacyLocalDbDir } from '@/const/dir';
|
|
6
8
|
import { createLogger } from '@/utils/logger';
|
|
7
9
|
import {
|
|
8
10
|
getAccessibilityStatus,
|
|
@@ -214,6 +216,23 @@ export default class SystemController extends ControllerModule {
|
|
|
214
216
|
return nativeTheme.themeSource;
|
|
215
217
|
}
|
|
216
218
|
|
|
219
|
+
/**
|
|
220
|
+
* Detect whether user used the legacy local database in older desktop versions.
|
|
221
|
+
* Legacy path: {app.getPath('userData')}/lobehub-storage/lobehub-local-db
|
|
222
|
+
*/
|
|
223
|
+
@IpcMethod()
|
|
224
|
+
async hasLegacyLocalDb(): Promise<boolean> {
|
|
225
|
+
if (!(await pathExists(legacyLocalDbDir))) return false;
|
|
226
|
+
|
|
227
|
+
try {
|
|
228
|
+
const entries = await readdir(legacyLocalDbDir);
|
|
229
|
+
return entries.length > 0;
|
|
230
|
+
} catch {
|
|
231
|
+
// If directory exists but cannot be read, treat as "used" to surface guidance.
|
|
232
|
+
return true;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
217
236
|
private async setSystemThemeMode(themeMode: ThemeMode) {
|
|
218
237
|
nativeTheme.themeSource = themeMode;
|
|
219
238
|
}
|
package/changelog/v1.json
CHANGED
|
@@ -1,4 +1,25 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"children": {
|
|
4
|
+
"features": [
|
|
5
|
+
"Update the sandbox preinstall libs in sys role."
|
|
6
|
+
],
|
|
7
|
+
"fixes": [
|
|
8
|
+
"Fix multi tasks no summary issue."
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"date": "2026-01-21",
|
|
12
|
+
"version": "2.0.0-next.333"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"children": {
|
|
16
|
+
"fixes": [
|
|
17
|
+
"Improve e2e server and complete i18n resources."
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"date": "2026-01-21",
|
|
21
|
+
"version": "2.0.0-next.332"
|
|
22
|
+
},
|
|
2
23
|
{
|
|
3
24
|
"children": {
|
|
4
25
|
"fixes": [
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: LobeChat Plugin Ecosystem - Functionality Extensions and Development Resources
|
|
3
3
|
description: >-
|
|
4
|
-
Discover how the LobeChat plugin ecosystem enhances the utility and
|
|
5
|
-
|
|
4
|
+
Discover how the LobeChat plugin ecosystem enhances the utility and
|
|
5
|
+
flexibility of the LobeChat assistant, along with the development resources
|
|
6
|
+
and plugin development guidelines provided.
|
|
6
7
|
tags:
|
|
7
8
|
- LobeChat
|
|
8
9
|
- Plugins
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: >-
|
|
3
|
-
LobeChat Supports Multimodal Interaction: Visual Recognition Enhances
|
|
4
|
-
|
|
3
|
+
LobeChat Supports Multimodal Interaction: Visual Recognition Enhances
|
|
4
|
+
Intelligent Dialogue
|
|
5
5
|
description: >-
|
|
6
|
-
LobeChat supports various large language models with visual recognition
|
|
7
|
-
|
|
6
|
+
LobeChat supports various large language models with visual recognition
|
|
7
|
+
capabilities, allowing users to upload or drag and drop images. The assistant
|
|
8
|
+
will recognize the content and engage in intelligent dialogue, creating a more
|
|
9
|
+
intelligent and diverse chat environment.
|
|
8
10
|
tags:
|
|
9
11
|
- Visual Recognition
|
|
10
12
|
- LobeChat
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: LobeChat Text-to-Image Generation Technology
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat supports Text-to-Speech (TTS) and Speech-to-Text (STT) technologies,
|
|
5
|
-
|
|
4
|
+
LobeChat supports Text-to-Speech (TTS) and Speech-to-Text (STT) technologies,
|
|
5
|
+
offering high-quality voice options for a personalized communication
|
|
6
|
+
experience. Learn more about Lobe TTS Toolkit.
|
|
6
7
|
tags:
|
|
7
8
|
- TTS
|
|
8
9
|
- STT
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: 'LobeChat Text-to-Image: Text-to-Image Generation Technology'
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat now supports the latest text-to-image generation technology, allowing
|
|
5
|
-
|
|
4
|
+
LobeChat now supports the latest text-to-image generation technology, allowing
|
|
5
|
+
users to directly invoke the text-to-image tool during conversations with the
|
|
6
|
+
assistant for creative purposes. By utilizing AI tools such as DALL-E 3,
|
|
7
|
+
MidJourney, and Pollinations, assistants can turn your ideas into images,
|
|
8
|
+
making the creative process more intimate and immersive.
|
|
6
9
|
tags:
|
|
7
10
|
- Text-to-Image
|
|
8
11
|
- LobeChat
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: LobeChat 文生图:文本转图片生成技术
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat 现在支持最新的文本到图片生成技术,让用户可以在与助手对话中直接调用文生图工具进行创作。利用 DALL-E 3、MidJourney 和
|
|
5
|
-
|
|
4
|
+
LobeChat 现在支持最新的文本到图片生成技术,让用户可以在与助手对话中直接调用文生图工具进行创作。利用 DALL-E 3、MidJourney 和
|
|
5
|
+
Pollinations 等 AI 工具,助手们可以将你的想法转化为图像,让创作过程更私密和沉浸式。
|
|
6
6
|
tags:
|
|
7
7
|
- Text to Image
|
|
8
8
|
- 文生图
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: LobeChat Supports Multi-User Management with Clerk and Next-Auth
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat offers various user authentication and management solutions,
|
|
5
|
-
|
|
4
|
+
LobeChat offers various user authentication and management solutions,
|
|
5
|
+
including Clerk and Next-Auth, to meet the diverse needs of different users.
|
|
6
6
|
tags:
|
|
7
7
|
- User Management
|
|
8
8
|
- Next-Auth
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: 'LobeChat 1.0: New Architecture and New Possibilities'
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat 1.0 brings a brand-new architecture and features for server-side
|
|
5
|
-
|
|
4
|
+
LobeChat 1.0 brings a brand-new architecture and features for server-side
|
|
5
|
+
databases and user authentication management, opening up new possibilities. On
|
|
6
|
+
this basis, LobeChat Cloud has entered beta testing.
|
|
6
7
|
tags:
|
|
7
8
|
- LobeChat
|
|
8
9
|
- Version 1.0
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: 'LobeChat Fully Enters the GPT-4 Era: GPT-4o Mini Officially Launched'
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat v1.6 has been released with support for GPT-4o mini, while LobeChat
|
|
5
|
-
|
|
4
|
+
LobeChat v1.6 has been released with support for GPT-4o mini, while LobeChat
|
|
5
|
+
Cloud services have been fully upgraded to provide users with a more powerful
|
|
6
|
+
AI conversation experience.
|
|
6
7
|
tags:
|
|
7
8
|
- LobeChat
|
|
8
9
|
- GPT-4o Mini
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: LobeChat 全面进入 GPT-4 时代:GPT-4o mini 正式上线
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat v1.6 重磅发布 GPT-4o mini 支持,同时 LobeChat Cloud 服务全面升级默认模型,为用户带来更强大的 AI
|
|
5
|
-
|
|
4
|
+
LobeChat v1.6 重磅发布 GPT-4o mini 支持,同时 LobeChat Cloud 服务全面升级默认模型,为用户带来更强大的 AI
|
|
5
|
+
对话体验。
|
|
6
6
|
tags:
|
|
7
7
|
- LobeChat
|
|
8
8
|
- GPT-4o mini
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: LobeChat Database Docker Image Official Release
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat v1.8.0 launches the official database Docker image, supporting cloud
|
|
5
|
-
|
|
4
|
+
LobeChat v1.8.0 launches the official database Docker image, supporting cloud
|
|
5
|
+
data synchronization and user management, along with comprehensive
|
|
6
|
+
self-deployment documentation.
|
|
6
7
|
tags:
|
|
7
8
|
- LobeChat
|
|
8
9
|
- Docker Image
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: >-
|
|
3
|
-
LobeChat Launches Knowledge Base Feature: A New Experience in Intelligent File
|
|
4
|
-
|
|
3
|
+
LobeChat Launches Knowledge Base Feature: A New Experience in Intelligent File
|
|
4
|
+
Management and Dialogue
|
|
5
5
|
description: >-
|
|
6
|
-
LobeChat introduces a brand new knowledge base feature that supports all types
|
|
7
|
-
|
|
6
|
+
LobeChat introduces a brand new knowledge base feature that supports all types
|
|
7
|
+
of file management, intelligent vectorization, and file dialogue, making
|
|
8
|
+
knowledge management and information retrieval easier and smarter.
|
|
8
9
|
tags:
|
|
9
10
|
- LobeChat
|
|
10
11
|
- Knowledge Base
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: LobeChat Perfectly Adapts to OpenAI O1 Series Models
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat v1.17.0 now supports OpenAI's latest o1-preview and o1-mini models,
|
|
5
|
-
|
|
4
|
+
LobeChat v1.17.0 now supports OpenAI's latest o1-preview and o1-mini models,
|
|
5
|
+
bringing users enhanced coding and mathematical capabilities.
|
|
6
6
|
tags:
|
|
7
7
|
- OpenAI O1
|
|
8
8
|
- LobeChat
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: 'Major Update: LobeChat Enters the Era of Artifacts'
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat v1.19 brings significant updates, including full feature support for
|
|
5
|
-
|
|
4
|
+
LobeChat v1.19 brings significant updates, including full feature support for
|
|
5
|
+
Claude Artifacts, a brand new discovery page design, and support for GitHub
|
|
6
|
+
Models providers, greatly enhancing the capabilities of the AI assistant.
|
|
6
7
|
tags:
|
|
7
8
|
- LobeChat
|
|
8
9
|
- AI Assistant
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: 重磅更新:LobeChat 迎来 Artifacts 时代
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat v1.19 带来了重大更新,包括 Claude Artifacts 完整特性支持、全新的发现页面设计,以及 GitHub Models
|
|
5
|
-
|
|
4
|
+
LobeChat v1.19 带来了重大更新,包括 Claude Artifacts 完整特性支持、全新的发现页面设计,以及 GitHub Models
|
|
5
|
+
服务商支持,让 AI 助手的能力得到显著提升。
|
|
6
6
|
tags:
|
|
7
7
|
- LobeChat
|
|
8
8
|
- Artifacts
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: LobeChat Introduces Persistent Assistant Sidebar Feature
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat v1.26.0 launches the persistent assistant sidebar feature, supporting
|
|
5
|
-
|
|
4
|
+
LobeChat v1.26.0 launches the persistent assistant sidebar feature, supporting
|
|
5
|
+
quick key switching for easy access to frequently used assistants,
|
|
6
|
+
significantly enhancing efficiency.
|
|
6
7
|
tags:
|
|
7
8
|
- Persistent Assistant
|
|
8
9
|
- Sidebar Feature
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: LobeChat Supports Sharing Conversations in Text Format (Markdown/JSON)
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat v1.28.0 introduces support for exporting conversations in Markdown
|
|
5
|
-
|
|
4
|
+
LobeChat v1.28.0 introduces support for exporting conversations in Markdown
|
|
5
|
+
and OpenAI format JSON, making it easy to convert conversation content into
|
|
6
|
+
note materials, development debugging data, and training corpora,
|
|
7
|
+
significantly enhancing the reusability of conversation content.
|
|
6
8
|
tags:
|
|
7
9
|
- Text Format Export
|
|
8
10
|
- Markdown Export
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: LobeChat 支持分享对话为文本格式(Markdown/JSON)
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat v1.28.0 新增 Markdown 和 OpenAI 格式 JSON
|
|
5
|
-
|
|
4
|
+
LobeChat v1.28.0 新增 Markdown 和 OpenAI 格式 JSON
|
|
5
|
+
导出支持,让对话内容能轻松转化为笔记素材、开发调试数据和训练语料,显著提升对话内容的复用价值。
|
|
6
6
|
tags:
|
|
7
7
|
- 对话内容
|
|
8
8
|
- Markdown导出
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: New Model Providers Added to LobeChat in November
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat model providers now support Gitee AI, InternLM (ShuSheng PuYu), xAI,
|
|
5
|
-
|
|
4
|
+
LobeChat model providers now support Gitee AI, InternLM (ShuSheng PuYu), xAI,
|
|
5
|
+
and Cloudflare WorkersAI
|
|
6
6
|
tags:
|
|
7
7
|
- LobeChat
|
|
8
8
|
- AI Model Providers
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: LobeChat Supports Branching Conversations
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat now allows you to create new conversation branches from any message,
|
|
5
|
-
|
|
4
|
+
LobeChat now allows you to create new conversation branches from any message,
|
|
5
|
+
freeing your thoughts.
|
|
6
6
|
tags:
|
|
7
7
|
- Branching Conversations
|
|
8
8
|
- LobeChat
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: LobeChat Supports User Data Statistics and Activity Sharing
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat now supports multi-dimensional user data statistics and activity
|
|
5
|
-
|
|
4
|
+
LobeChat now supports multi-dimensional user data statistics and activity
|
|
5
|
+
sharing
|
|
6
6
|
tags:
|
|
7
7
|
- LobeChat
|
|
8
8
|
- User Statistics
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: LobeChat Launches New AI Provider Management System
|
|
3
3
|
description: >-
|
|
4
|
-
LobeChat has revamped its AI Provider Management System, now supporting custom
|
|
5
|
-
|
|
4
|
+
LobeChat has revamped its AI Provider Management System, now supporting custom
|
|
5
|
+
AI providers and models.
|
|
6
6
|
tags:
|
|
7
7
|
- LobeChat
|
|
8
8
|
- AI Provider
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: >-
|
|
3
|
-
LobeChat Integrates DeepSeek R1, Bringing a Revolutionary Chain of Thought
|
|
4
|
-
|
|
3
|
+
LobeChat Integrates DeepSeek R1, Bringing a Revolutionary Chain of Thought
|
|
4
|
+
Experience
|
|
5
5
|
description: >-
|
|
6
|
-
LobeChat v1.49.12 fully supports the DeepSeek R1 model, providing users with
|
|
7
|
-
|
|
6
|
+
LobeChat v1.49.12 fully supports the DeepSeek R1 model, providing users with
|
|
7
|
+
an unprecedented interactive experience in the chain of thought.
|
|
8
8
|
tags:
|
|
9
9
|
- LobeChat
|
|
10
10
|
- DeepSeek
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: New Authentication Provider Guide
|
|
3
|
+
---
|
|
4
|
+
|
|
1
5
|
# New Authentication Provider Guide
|
|
2
6
|
|
|
3
7
|
LobeChat uses [Auth.js v5](https://authjs.dev/) as the external authentication service. Auth.js is an open-source authentication library that provides a simple way to implement authentication and authorization features. This document will introduce how to use Auth.js to implement a new authentication provider.
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Architecture Design
|
|
3
|
+
---
|
|
4
|
+
|
|
1
5
|
# Architecture Design
|
|
2
6
|
|
|
3
7
|
LobeChat is an AI chat application built on the Next.js framework, aiming to provide an AI productivity platform that enables users to interact with AI through natural language. The following is an overview of the architecture design of LobeChat:
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Lobe Chat API Client-Server Interaction Logic
|
|
3
|
+
---
|
|
4
|
+
|
|
1
5
|
# Lobe Chat API Client-Server Interaction Logic
|
|
2
6
|
|
|
3
7
|
This document explains the implementation logic of Lobe Chat API in client-server interactions, including event sequences and core components involved.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: ComfyUI Extension Development Guide
|
|
3
|
-
description:
|
|
3
|
+
description: >-
|
|
4
|
+
Learn how to add new models, workflows, and features to LobeChat's ComfyUI
|
|
5
|
+
integration
|
|
4
6
|
tags:
|
|
5
7
|
- ComfyUI
|
|
6
8
|
- Development Guide
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Code Style and Contribution Guidelines
|
|
3
|
+
---
|
|
4
|
+
|
|
1
5
|
# Code Style and Contribution Guidelines
|
|
2
6
|
|
|
3
7
|
Welcome to the Code Style and Contribution Guidelines for LobeChat. This guide will help you understand our code standards and contribution process, ensuring code consistency and smooth project progression.
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: How to Develop a New Feature
|
|
3
|
+
---
|
|
4
|
+
|
|
1
5
|
# How to Develop a New Feature
|
|
2
6
|
|
|
3
7
|
LobeChat is built on the Next.js framework and uses TypeScript as the primary development language. When developing a new feature, we need to follow a certain development process to ensure the quality and stability of the code. The general process can be divided into the following five steps:
|
|
@@ -76,7 +80,8 @@ const ChatPage = () => {
|
|
|
76
80
|
renderItem={(message) => (
|
|
77
81
|
<List.Item>
|
|
78
82
|
<Typography.Text>{message.content}</Typography.Text>
|
|
79
|
-
|
|
83
|
+
|
|
84
|
+
</List.Item>
|
|
80
85
|
)}
|
|
81
86
|
/>
|
|
82
87
|
);
|
|
@@ -86,6 +91,7 @@ export default ChatPage;
|
|
|
86
91
|
```
|
|
87
92
|
|
|
88
93
|
> **Note on Feature Organization**: LobeChat uses two patterns for organizing features:
|
|
94
|
+
>
|
|
89
95
|
> - **Global features** (`src/features/`): Shared components like `ChatInput`, `Conversation` used across the app
|
|
90
96
|
> - **Page-specific features** (`src/app/<page>/features/`): Components used only within a specific page route
|
|
91
97
|
>
|
|
@@ -113,11 +119,13 @@ const ChatPage = () => {
|
|
|
113
119
|
renderItem={(message) => (
|
|
114
120
|
<List.Item>
|
|
115
121
|
<Typography.Text>{message.content}</Typography.Text>
|
|
116
|
-
|
|
122
|
+
|
|
123
|
+
</List.Item>
|
|
117
124
|
)}
|
|
118
125
|
/>
|
|
119
126
|
<Button onClick={handleSend}>Send</Button>
|
|
120
|
-
|
|
127
|
+
|
|
128
|
+
</>
|
|
121
129
|
);
|
|
122
130
|
};
|
|
123
131
|
|