@lobehub/lobehub 2.0.0-next.212 → 2.0.0-next.214
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/.github/workflows/auto-i18n.yml +1 -1
- package/.github/workflows/bundle-analyzer.yml +1 -1
- package/.github/workflows/claude-auto-testing.yml +1 -1
- package/.github/workflows/claude-dedupe-issues.yml +1 -1
- package/.github/workflows/claude-issue-triage.yml +1 -1
- package/.github/workflows/claude-translate-comments.yml +1 -1
- package/.github/workflows/claude-translator.yml +1 -1
- package/.github/workflows/claude.yml +1 -1
- package/.github/workflows/desktop-build-electron.yml +2 -2
- package/.github/workflows/e2e.yml +1 -1
- package/.github/workflows/issue-auto-close-duplicates.yml +1 -1
- package/.github/workflows/lighthouse.yml +2 -2
- package/.github/workflows/lock-closed-issues.yml +1 -1
- package/.github/workflows/manual-build-desktop.yml +6 -6
- package/.github/workflows/pr-build-desktop.yml +5 -5
- package/.github/workflows/pr-build-docker.yml +2 -2
- package/.github/workflows/release-desktop-beta.yml +4 -4
- package/.github/workflows/release-docker.yml +2 -2
- package/.github/workflows/release.yml +1 -1
- package/.github/workflows/sync-database-schema.yml +1 -1
- package/.github/workflows/sync.yml +1 -1
- package/.github/workflows/test.yml +5 -5
- package/.github/workflows/verify-desktop-patch.yml +1 -1
- package/CHANGELOG.md +58 -0
- package/apps/desktop/package.json +3 -2
- package/apps/desktop/src/main/const/store.ts +1 -1
- package/apps/desktop/src/main/controllers/SystemCtr.ts +2 -3
- package/apps/desktop/src/main/core/App.ts +10 -3
- package/apps/desktop/src/main/types/store.ts +1 -1
- package/changelog/v1.json +14 -0
- package/locales/ar/models.json +35 -4
- package/locales/ar/providers.json +1 -0
- package/locales/bg-BG/models.json +24 -1
- package/locales/bg-BG/providers.json +1 -0
- package/locales/de-DE/models.json +30 -1
- package/locales/de-DE/providers.json +1 -0
- package/locales/en-US/models.json +1 -0
- package/locales/en-US/providers.json +1 -0
- package/locales/es-ES/models.json +32 -1
- package/locales/es-ES/providers.json +1 -0
- package/locales/fa-IR/models.json +48 -1
- package/locales/fa-IR/providers.json +1 -0
- package/locales/fr-FR/models.json +47 -1
- package/locales/fr-FR/providers.json +1 -0
- package/locales/it-IT/models.json +32 -1
- package/locales/it-IT/providers.json +1 -0
- package/locales/ja-JP/models.json +2 -1
- package/locales/ja-JP/providers.json +1 -0
- package/locales/ko-KR/models.json +24 -1
- package/locales/ko-KR/providers.json +1 -0
- package/locales/nl-NL/models.json +46 -1
- package/locales/nl-NL/providers.json +1 -0
- package/locales/pl-PL/models.json +41 -1
- package/locales/pl-PL/providers.json +1 -0
- package/locales/pt-BR/models.json +32 -1
- package/locales/pt-BR/providers.json +1 -0
- package/locales/ru-RU/models.json +54 -2
- package/locales/ru-RU/providers.json +1 -0
- package/locales/tr-TR/models.json +32 -1
- package/locales/tr-TR/providers.json +1 -0
- package/locales/vi-VN/models.json +37 -1
- package/locales/vi-VN/providers.json +1 -0
- package/locales/zh-CN/models.json +24 -3
- package/locales/zh-CN/providers.json +1 -0
- package/locales/zh-TW/models.json +11 -1
- package/locales/zh-TW/providers.json +1 -0
- package/package.json +4 -3
- package/packages/builtin-tool-knowledge-base/src/client/Render/SearchKnowledgeBase/Item/index.tsx +4 -2
- package/packages/builtin-tool-local-system/src/client/Intervention/EditLocalFile/index.tsx +3 -2
- package/packages/builtin-tool-local-system/src/client/Render/EditLocalFile/index.tsx +3 -2
- package/packages/const/src/theme.ts +0 -2
- package/packages/context-engine/src/engine/messages/types.ts +1 -1
- package/packages/desktop-bridge/src/routeVariants.ts +2 -9
- package/packages/electron-client-ipc/src/types/system.ts +1 -1
- package/packages/model-runtime/src/core/BaseAI.ts +1 -1
- package/packages/model-runtime/src/core/streams/qwen.test.ts +140 -0
- package/packages/model-runtime/src/core/streams/qwen.ts +17 -5
- package/packages/model-runtime/src/types/chat.ts +12 -12
- package/packages/model-runtime/src/types/error.ts +1 -1
- package/packages/model-runtime/src/types/image.ts +1 -1
- package/scripts/electronWorkflow/modifiers/nextConfig.mts +41 -13
- package/src/app/[variants]/(auth)/_layout/index.tsx +3 -2
- package/src/app/[variants]/(auth)/_layout/style.ts +8 -18
- package/src/app/[variants]/(auth)/layout.tsx +7 -3
- package/src/app/[variants]/(desktop)/desktop-onboarding/_layout/index.tsx +4 -2
- package/src/app/[variants]/(desktop)/desktop-onboarding/_layout/style.ts +3 -0
- package/src/app/[variants]/(main)/_layout/DesktopLayoutContainer.tsx +3 -2
- package/src/app/[variants]/(main)/chat/features/Conversation/Header/index.tsx +2 -1
- package/src/app/[variants]/(main)/chat/profile/features/ProfileEditor/PluginTag.tsx +3 -2
- package/src/app/[variants]/(main)/community/(list)/_layout/Footer.tsx +3 -2
- package/src/app/[variants]/(main)/group/features/Conversation/ChatItem/Thread.tsx +3 -2
- package/src/app/[variants]/(main)/group/profile/features/AgentBuilder/index.tsx +0 -1
- package/src/app/[variants]/(main)/group/profile/features/ProfileEditor/PluginTag.tsx +3 -2
- package/src/app/[variants]/(main)/home/_layout/Body/Agent/List/AgentItem/Editing.tsx +2 -2
- package/src/app/[variants]/(main)/home/_layout/Footer/index.tsx +1 -1
- package/src/app/[variants]/(main)/home/_layout/index.tsx +3 -2
- package/src/app/[variants]/(main)/home/features/CommunityAgents/Item.tsx +3 -2
- package/src/app/[variants]/(main)/image/_layout/ConfigPanel/components/AspectRatioSelect/index.tsx +4 -2
- package/src/app/[variants]/(main)/image/_layout/ConfigPanel/components/ModelSelect/ImageModelItem.tsx +3 -2
- package/src/app/[variants]/(main)/image/_layout/ConfigPanel/components/Select/index.tsx +4 -2
- package/src/app/[variants]/(main)/image/features/PromptInput/index.tsx +3 -2
- package/src/app/[variants]/(main)/memory/features/TimeLineView/index.tsx +9 -4
- package/src/app/[variants]/(main)/page/_layout/Body/List/Item/Editing.tsx +2 -2
- package/src/app/[variants]/(main)/settings/common/features/Common/Common.tsx +11 -11
- package/src/app/[variants]/(main)/settings/provider/(list)/ProviderGrid/Card.tsx +3 -2
- package/src/app/[variants]/(main)/settings/stats/features/overview/ShareButton/TotalCard.tsx +4 -2
- package/src/app/[variants]/(mobile)/me/(home)/features/Header.tsx +6 -8
- package/src/app/[variants]/layout.tsx +10 -15
- package/src/app/[variants]/onboarding/_layout/index.tsx +3 -2
- package/src/app/[variants]/onboarding/features/ModeSelectionStep.tsx +3 -2
- package/src/app/[variants]/router/index.tsx +12 -8
- package/src/components/Cell/Divider.tsx +4 -2
- package/src/components/DataStyleModal/index.tsx +4 -2
- package/src/components/FeatureList/index.tsx +4 -2
- package/src/components/FileParsingStatus/EmbeddingStatus.tsx +3 -2
- package/src/components/FileParsingStatus/index.tsx +3 -2
- package/src/components/Notification/index.tsx +4 -2
- package/src/components/client/ClientOnly.tsx +17 -0
- package/src/features/AlertBanner/CloudBanner.tsx +4 -3
- package/src/features/CommandMenu/ThemeMenu.tsx +1 -1
- package/src/features/CommandMenu/types.ts +5 -2
- package/src/features/CommandMenu/useCommandMenu.ts +3 -2
- package/src/features/Conversation/Markdown/plugins/LobeArtifact/Render/index.tsx +3 -2
- package/src/features/Conversation/Messages/components/FileChunks/ChunkItem.tsx +3 -2
- package/src/features/Conversation/Messages/components/FileChunks/index.tsx +4 -2
- package/src/features/Conversation/Messages/components/SearchGrounding.tsx +3 -2
- package/src/features/ElectronTitlebar/hooks/useWatchThemeUpdate.ts +21 -38
- package/src/features/GroupChatSettings/AgentCard.tsx +3 -2
- package/src/features/GroupChatSettings/HostMemberCard.tsx +3 -2
- package/src/features/PageEditor/DiffAllToolbar.tsx +4 -2
- package/src/features/User/UserPanel/ThemeButton.tsx +18 -29
- package/src/hooks/useIsDark.ts +11 -0
- package/src/layout/AuthProvider/Clerk/useAppearance.ts +4 -2
- package/src/layout/AuthProvider/MarketAuth/MarketAuthConfirmModal.tsx +3 -2
- package/src/layout/GlobalProvider/AppTheme.tsx +15 -19
- package/src/layout/GlobalProvider/NextThemeProvider.tsx +22 -0
- package/src/layout/GlobalProvider/StyleRegistry.tsx +18 -13
- package/src/layout/GlobalProvider/index.tsx +38 -36
- package/src/libs/next/proxy/define-config.ts +2 -11
- package/src/server/services/comfyui/config/constants.ts +7 -7
- package/src/server/services/comfyui/config/promptToolConst.ts +26 -26
- package/src/server/services/comfyui/utils/promptSplitter.ts +23 -23
- package/src/server/services/comfyui/utils/weightDType.ts +4 -5
- package/src/store/global/action.test.ts +0 -15
- package/src/store/global/actions/__tests__/general.test.ts +0 -37
- package/src/store/global/actions/general.ts +0 -21
- package/src/store/global/initialState.ts +0 -6
- package/src/store/global/selectors/systemStatus.test.ts +0 -20
- package/src/store/global/selectors/systemStatus.ts +0 -2
- package/src/styles/global.ts +0 -2
- package/src/utils/server/routeVariants.test.ts +17 -51
- package/src/utils/server/routeVariants.ts +0 -1
|
@@ -38,7 +38,7 @@ jobs:
|
|
|
38
38
|
NEXT_PUBLIC_DESKTOP_UMAMI_BASE_URL: ${{ secrets.UMAMI_NIGHTLY_DESKTOP_BASE_URL || 'https://analytics.example.com' }}
|
|
39
39
|
steps:
|
|
40
40
|
- name: Checkout repository
|
|
41
|
-
uses: actions/checkout@
|
|
41
|
+
uses: actions/checkout@v6
|
|
42
42
|
with:
|
|
43
43
|
fetch-depth: 0
|
|
44
44
|
|
|
@@ -60,7 +60,7 @@ jobs:
|
|
|
60
60
|
run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
|
|
61
61
|
|
|
62
62
|
- name: Cache pnpm store
|
|
63
|
-
uses: actions/cache@
|
|
63
|
+
uses: actions/cache@v5
|
|
64
64
|
with:
|
|
65
65
|
path: ${{ steps.pnpm-store.outputs.STORE_PATH }}
|
|
66
66
|
key: ${{ runner.os }}-pnpm-store-${{ env.NODE_VERSION }}-${{ hashFiles('pnpm-lock.yaml') }}
|
|
@@ -42,12 +42,12 @@ jobs:
|
|
|
42
42
|
echo "BRANCH=$BRANCH" >> $GITHUB_ENV
|
|
43
43
|
env:
|
|
44
44
|
REPO_BRANCH: ${{ matrix.REPO_BRANCH || env.REPO_BRANCH }}
|
|
45
|
-
- uses: actions/checkout@
|
|
45
|
+
- uses: actions/checkout@v6
|
|
46
46
|
with:
|
|
47
47
|
repository: ${{ env.REPOSITORY }}
|
|
48
48
|
token: ${{ secrets[matrix.TOKEN_NAME] || secrets[env.TOKEN_NAME] }}
|
|
49
49
|
ref: ${{ env.BRANCH }}
|
|
50
|
-
- uses: actions/checkout@
|
|
50
|
+
- uses: actions/checkout@v6
|
|
51
51
|
with:
|
|
52
52
|
repository: 'myactionway/lighthouse-badges'
|
|
53
53
|
path: temp_lighthouse_badges_nested
|
|
@@ -49,7 +49,7 @@ jobs:
|
|
|
49
49
|
runs-on: ubuntu-latest
|
|
50
50
|
steps:
|
|
51
51
|
- name: Checkout base
|
|
52
|
-
uses: actions/checkout@
|
|
52
|
+
uses: actions/checkout@v6
|
|
53
53
|
with:
|
|
54
54
|
fetch-depth: 0
|
|
55
55
|
|
|
@@ -72,7 +72,7 @@ jobs:
|
|
|
72
72
|
outputs:
|
|
73
73
|
version: ${{ steps.set_version.outputs.version }}
|
|
74
74
|
steps:
|
|
75
|
-
- uses: actions/checkout@
|
|
75
|
+
- uses: actions/checkout@v6
|
|
76
76
|
with:
|
|
77
77
|
fetch-depth: 0
|
|
78
78
|
|
|
@@ -114,7 +114,7 @@ jobs:
|
|
|
114
114
|
matrix:
|
|
115
115
|
os: [macos-latest, macos-15-intel]
|
|
116
116
|
steps:
|
|
117
|
-
- uses: actions/checkout@
|
|
117
|
+
- uses: actions/checkout@v6
|
|
118
118
|
with:
|
|
119
119
|
fetch-depth: 0
|
|
120
120
|
|
|
@@ -192,7 +192,7 @@ jobs:
|
|
|
192
192
|
if: inputs.build_windows
|
|
193
193
|
runs-on: windows-2025
|
|
194
194
|
steps:
|
|
195
|
-
- uses: actions/checkout@
|
|
195
|
+
- uses: actions/checkout@v6
|
|
196
196
|
with:
|
|
197
197
|
fetch-depth: 0
|
|
198
198
|
|
|
@@ -245,7 +245,7 @@ jobs:
|
|
|
245
245
|
if: inputs.build_linux
|
|
246
246
|
runs-on: ubuntu-latest
|
|
247
247
|
steps:
|
|
248
|
-
- uses: actions/checkout@
|
|
248
|
+
- uses: actions/checkout@v6
|
|
249
249
|
with:
|
|
250
250
|
fetch-depth: 0
|
|
251
251
|
|
|
@@ -299,7 +299,7 @@ jobs:
|
|
|
299
299
|
if: inputs.build_macos
|
|
300
300
|
steps:
|
|
301
301
|
- name: Checkout repository
|
|
302
|
-
uses: actions/checkout@
|
|
302
|
+
uses: actions/checkout@v6
|
|
303
303
|
|
|
304
304
|
- name: Setup Node & Bun
|
|
305
305
|
uses: ./.github/actions/setup-node-bun
|
|
@@ -25,7 +25,7 @@ jobs:
|
|
|
25
25
|
runs-on: ubuntu-latest # 只在 ubuntu 上运行一次检查
|
|
26
26
|
steps:
|
|
27
27
|
- name: Checkout base
|
|
28
|
-
uses: actions/checkout@
|
|
28
|
+
uses: actions/checkout@v6
|
|
29
29
|
with:
|
|
30
30
|
fetch-depth: 0
|
|
31
31
|
|
|
@@ -55,7 +55,7 @@ jobs:
|
|
|
55
55
|
# 输出版本信息,供后续 job 使用
|
|
56
56
|
version: ${{ steps.set_version.outputs.version }}
|
|
57
57
|
steps:
|
|
58
|
-
- uses: actions/checkout@
|
|
58
|
+
- uses: actions/checkout@v6
|
|
59
59
|
with:
|
|
60
60
|
fetch-depth: 0
|
|
61
61
|
|
|
@@ -95,7 +95,7 @@ jobs:
|
|
|
95
95
|
matrix:
|
|
96
96
|
os: [macos-latest, macos-15-intel, windows-2025, ubuntu-latest]
|
|
97
97
|
steps:
|
|
98
|
-
- uses: actions/checkout@
|
|
98
|
+
- uses: actions/checkout@v6
|
|
99
99
|
with:
|
|
100
100
|
fetch-depth: 0
|
|
101
101
|
|
|
@@ -218,7 +218,7 @@ jobs:
|
|
|
218
218
|
contents: write
|
|
219
219
|
steps:
|
|
220
220
|
- name: Checkout repository
|
|
221
|
-
uses: actions/checkout@
|
|
221
|
+
uses: actions/checkout@v6
|
|
222
222
|
|
|
223
223
|
- name: Setup Node & Bun
|
|
224
224
|
uses: ./.github/actions/setup-node-bun
|
|
@@ -274,7 +274,7 @@ jobs:
|
|
|
274
274
|
outputs:
|
|
275
275
|
artifact_path: ${{ steps.set_path.outputs.path }}
|
|
276
276
|
steps:
|
|
277
|
-
- uses: actions/checkout@
|
|
277
|
+
- uses: actions/checkout@v6
|
|
278
278
|
with:
|
|
279
279
|
fetch-depth: 0
|
|
280
280
|
|
|
@@ -38,7 +38,7 @@ jobs:
|
|
|
38
38
|
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
|
|
39
39
|
|
|
40
40
|
- name: Checkout PR branch
|
|
41
|
-
uses: actions/checkout@
|
|
41
|
+
uses: actions/checkout@v6
|
|
42
42
|
with:
|
|
43
43
|
fetch-depth: 0
|
|
44
44
|
|
|
@@ -106,7 +106,7 @@ jobs:
|
|
|
106
106
|
if: github.event.pull_request.head.repo.full_name == github.repository
|
|
107
107
|
steps:
|
|
108
108
|
- name: Checkout PR branch
|
|
109
|
-
uses: actions/checkout@
|
|
109
|
+
uses: actions/checkout@v6
|
|
110
110
|
with:
|
|
111
111
|
fetch-depth: 0
|
|
112
112
|
|
|
@@ -19,7 +19,7 @@ jobs:
|
|
|
19
19
|
runs-on: ubuntu-latest # 只在 ubuntu 上运行一次检查
|
|
20
20
|
steps:
|
|
21
21
|
- name: Checkout base
|
|
22
|
-
uses: actions/checkout@
|
|
22
|
+
uses: actions/checkout@v6
|
|
23
23
|
with:
|
|
24
24
|
fetch-depth: 0
|
|
25
25
|
|
|
@@ -48,7 +48,7 @@ jobs:
|
|
|
48
48
|
version: ${{ steps.set_version.outputs.version }}
|
|
49
49
|
is_pr_build: ${{ steps.set_version.outputs.is_pr_build }}
|
|
50
50
|
steps:
|
|
51
|
-
- uses: actions/checkout@
|
|
51
|
+
- uses: actions/checkout@v6
|
|
52
52
|
with:
|
|
53
53
|
fetch-depth: 0
|
|
54
54
|
|
|
@@ -84,7 +84,7 @@ jobs:
|
|
|
84
84
|
matrix:
|
|
85
85
|
os: [macos-latest, macos-15-intel, windows-2025, ubuntu-latest]
|
|
86
86
|
steps:
|
|
87
|
-
- uses: actions/checkout@
|
|
87
|
+
- uses: actions/checkout@v6
|
|
88
88
|
with:
|
|
89
89
|
fetch-depth: 0
|
|
90
90
|
|
|
@@ -205,7 +205,7 @@ jobs:
|
|
|
205
205
|
contents: write
|
|
206
206
|
steps:
|
|
207
207
|
- name: Checkout repository
|
|
208
|
-
uses: actions/checkout@
|
|
208
|
+
uses: actions/checkout@v6
|
|
209
209
|
|
|
210
210
|
- name: Setup Node.js
|
|
211
211
|
uses: actions/setup-node@v6
|
|
@@ -33,7 +33,7 @@ jobs:
|
|
|
33
33
|
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
|
|
34
34
|
|
|
35
35
|
- name: Checkout base
|
|
36
|
-
uses: actions/checkout@
|
|
36
|
+
uses: actions/checkout@v6
|
|
37
37
|
with:
|
|
38
38
|
fetch-depth: 0
|
|
39
39
|
|
|
@@ -93,7 +93,7 @@ jobs:
|
|
|
93
93
|
runs-on: ubuntu-latest
|
|
94
94
|
steps:
|
|
95
95
|
- name: Checkout base
|
|
96
|
-
uses: actions/checkout@
|
|
96
|
+
uses: actions/checkout@v6
|
|
97
97
|
with:
|
|
98
98
|
fetch-depth: 0
|
|
99
99
|
|
|
@@ -26,7 +26,7 @@ jobs:
|
|
|
26
26
|
name: Test package ${{ matrix.package }}
|
|
27
27
|
|
|
28
28
|
steps:
|
|
29
|
-
- uses: actions/checkout@
|
|
29
|
+
- uses: actions/checkout@v6
|
|
30
30
|
|
|
31
31
|
- name: Setup Node.js
|
|
32
32
|
uses: actions/setup-node@v6
|
|
@@ -61,7 +61,7 @@ jobs:
|
|
|
61
61
|
name: Test package ${{ matrix.package }}
|
|
62
62
|
|
|
63
63
|
steps:
|
|
64
|
-
- uses: actions/checkout@
|
|
64
|
+
- uses: actions/checkout@v6
|
|
65
65
|
|
|
66
66
|
- name: Setup Node.js
|
|
67
67
|
uses: actions/setup-node@v6
|
|
@@ -94,7 +94,7 @@ jobs:
|
|
|
94
94
|
runs-on: ubuntu-latest
|
|
95
95
|
|
|
96
96
|
steps:
|
|
97
|
-
- uses: actions/checkout@
|
|
97
|
+
- uses: actions/checkout@v6
|
|
98
98
|
|
|
99
99
|
- name: Setup Node.js
|
|
100
100
|
uses: actions/setup-node@v6
|
|
@@ -126,7 +126,7 @@ jobs:
|
|
|
126
126
|
runs-on: ubuntu-latest
|
|
127
127
|
|
|
128
128
|
steps:
|
|
129
|
-
- uses: actions/checkout@
|
|
129
|
+
- uses: actions/checkout@v6
|
|
130
130
|
|
|
131
131
|
- name: Setup Node.js
|
|
132
132
|
uses: actions/setup-node@v6
|
|
@@ -178,7 +178,7 @@ jobs:
|
|
|
178
178
|
- 5432:5432
|
|
179
179
|
|
|
180
180
|
steps:
|
|
181
|
-
- uses: actions/checkout@
|
|
181
|
+
- uses: actions/checkout@v6
|
|
182
182
|
|
|
183
183
|
- name: Setup Node.js
|
|
184
184
|
uses: actions/setup-node@v6
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,64 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [Version 2.0.0-next.214](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.213...v2.0.0-next.214)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2026-01-05**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **electron**: Correct next config codemod pattern matching.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **electron**: Correct next config codemod pattern matching, closes [#11228](https://github.com/lobehub/lobe-chat/issues/11228) ([06cb019](https://github.com/lobehub/lobe-chat/commit/06cb019))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
## [Version 2.0.0-next.213](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.212...v2.0.0-next.213)
|
|
31
|
+
|
|
32
|
+
<sup>Released on **2026-01-05**</sup>
|
|
33
|
+
|
|
34
|
+
#### 🐛 Bug Fixes
|
|
35
|
+
|
|
36
|
+
- **model-runtime**: Handle incremental tool call chunks in Qwen stream.
|
|
37
|
+
|
|
38
|
+
#### 💄 Styles
|
|
39
|
+
|
|
40
|
+
- **misc**: Update i18n.
|
|
41
|
+
|
|
42
|
+
<br/>
|
|
43
|
+
|
|
44
|
+
<details>
|
|
45
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
46
|
+
|
|
47
|
+
#### What's fixed
|
|
48
|
+
|
|
49
|
+
- **model-runtime**: Handle incremental tool call chunks in Qwen stream, closes [#11219](https://github.com/lobehub/lobe-chat/issues/11219) ([03b9407](https://github.com/lobehub/lobe-chat/commit/03b9407))
|
|
50
|
+
|
|
51
|
+
#### Styles
|
|
52
|
+
|
|
53
|
+
- **misc**: Update i18n, closes [#11213](https://github.com/lobehub/lobe-chat/issues/11213) ([00e0980](https://github.com/lobehub/lobe-chat/commit/00e0980))
|
|
54
|
+
|
|
55
|
+
</details>
|
|
56
|
+
|
|
57
|
+
<div align="right">
|
|
58
|
+
|
|
59
|
+
[](#readme-top)
|
|
60
|
+
|
|
61
|
+
</div>
|
|
62
|
+
|
|
5
63
|
## [Version 2.0.0-next.212](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.211...v2.0.0-next.212)
|
|
6
64
|
|
|
7
65
|
<sup>Released on **2026-01-05**</sup>
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"build:mac:local": "npm run build && UPDATE_CHANNEL=nightly electron-builder --mac --config electron-builder.js --publish never",
|
|
19
19
|
"build:win": "npm run build && electron-builder --win --config electron-builder.js --publish never",
|
|
20
20
|
"dev": "electron-vite dev",
|
|
21
|
+
"dev:static": "cross-env DESKTOP_RENDERER_STATIC=1 npm run electron:dev",
|
|
21
22
|
"electron:dev": "electron-vite dev",
|
|
22
23
|
"electron:run-unpack": "electron .",
|
|
23
24
|
"format": "prettier --write ",
|
|
@@ -57,11 +58,11 @@
|
|
|
57
58
|
"@lobechat/file-loaders": "workspace:*",
|
|
58
59
|
"@lobehub/i18n-cli": "^1.25.1",
|
|
59
60
|
"@modelcontextprotocol/sdk": "^1.24.3",
|
|
61
|
+
"@t3-oss/env-core": "^0.13.8",
|
|
60
62
|
"@types/async-retry": "^1.4.9",
|
|
61
63
|
"@types/resolve": "^1.20.6",
|
|
62
64
|
"@types/semver": "^7.7.1",
|
|
63
65
|
"@types/set-cookie-parser": "^2.4.10",
|
|
64
|
-
"@t3-oss/env-core": "^0.13.8",
|
|
65
66
|
"@typescript/native-preview": "7.0.0-dev.20251210.1",
|
|
66
67
|
"async-retry": "^1.3.3",
|
|
67
68
|
"consola": "^3.4.2",
|
|
@@ -104,4 +105,4 @@
|
|
|
104
105
|
"electron-builder"
|
|
105
106
|
]
|
|
106
107
|
}
|
|
107
|
-
}
|
|
108
|
+
}
|
|
@@ -258,9 +258,8 @@ export default class SystemController extends ControllerModule {
|
|
|
258
258
|
return nativeTheme.themeSource;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
nativeTheme.themeSource = themeMode === 'auto' ? 'system' : themeMode;
|
|
261
|
+
private async setSystemThemeMode(themeMode: ThemeMode) {
|
|
262
|
+
nativeTheme.themeSource = themeMode;
|
|
264
263
|
}
|
|
265
264
|
|
|
266
265
|
/**
|
|
@@ -142,10 +142,17 @@ export class App {
|
|
|
142
142
|
* This allows nativeTheme.shouldUseDarkColors to be used consistently everywhere
|
|
143
143
|
*/
|
|
144
144
|
private initializeThemeMode() {
|
|
145
|
-
|
|
145
|
+
let themeMode = this.storeManager.get('themeMode');
|
|
146
|
+
|
|
147
|
+
// Migrate legacy 'auto' value to 'system' (nativeTheme.themeSource doesn't accept 'auto')
|
|
148
|
+
if (Object.is(themeMode, 'auto')) {
|
|
149
|
+
themeMode = 'system';
|
|
150
|
+
this.storeManager.set('themeMode', themeMode);
|
|
151
|
+
logger.info(`Migrated legacy theme mode 'auto' to 'system'`);
|
|
152
|
+
}
|
|
146
153
|
|
|
147
154
|
if (themeMode) {
|
|
148
|
-
nativeTheme.themeSource = themeMode
|
|
155
|
+
nativeTheme.themeSource = themeMode;
|
|
149
156
|
logger.debug(
|
|
150
157
|
`Theme mode initialized to: ${themeMode} (themeSource: ${nativeTheme.themeSource})`,
|
|
151
158
|
);
|
|
@@ -401,4 +408,4 @@ export class App {
|
|
|
401
408
|
// 执行清理操作
|
|
402
409
|
this.staticFileServerManager.destroy();
|
|
403
410
|
};
|
|
404
|
-
}
|
|
411
|
+
}
|
|
@@ -11,7 +11,7 @@ export interface ElectronMainStore {
|
|
|
11
11
|
networkProxy: NetworkProxySettings;
|
|
12
12
|
shortcuts: Record<string, string>;
|
|
13
13
|
storagePath: string;
|
|
14
|
-
themeMode: 'dark' | 'light' | '
|
|
14
|
+
themeMode: 'dark' | 'light' | 'system';
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export type StoreKey = keyof ElectronMainStore;
|
package/changelog/v1.json
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"children": {},
|
|
4
|
+
"date": "2026-01-05",
|
|
5
|
+
"version": "2.0.0-next.214"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"children": {
|
|
9
|
+
"improvements": [
|
|
10
|
+
"Update i18n."
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"date": "2026-01-05",
|
|
14
|
+
"version": "2.0.0-next.213"
|
|
15
|
+
},
|
|
2
16
|
{
|
|
3
17
|
"children": {},
|
|
4
18
|
"date": "2026-01-05",
|