@lobehub/chat 1.85.4 → 1.85.6

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.
@@ -93,7 +93,7 @@ jobs:
93
93
  runs-on: ${{ matrix.os }}
94
94
  strategy:
95
95
  matrix:
96
- os: [macos-latest, windows-latest, ubuntu-latest]
96
+ os: [macos-latest, windows-2025, ubuntu-latest]
97
97
  steps:
98
98
  - uses: actions/checkout@v4
99
99
  with:
@@ -143,9 +143,9 @@ jobs:
143
143
  APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
144
144
  APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
145
145
 
146
- # 非 macOS 平台构建处理
147
- - name: Build artifact on other platforms
148
- if: runner.os != 'macOS'
146
+ # Windows 平台构建处理
147
+ - name: Build artifact on Windows
148
+ if: runner.os == 'Windows'
149
149
  run: npm run desktop:build
150
150
  env:
151
151
  # 设置更新通道,PR构建为nightly,否则为stable
@@ -155,7 +155,22 @@ jobs:
155
155
  KEY_VAULTS_SECRET: 'oLXWIiR/AKF+rWaqy9lHkrYgzpATbW3CtJp3UfkVgpE='
156
156
  NEXT_PUBLIC_DESKTOP_PROJECT_ID: ${{ secrets.UMAMI_NIGHTLY_DESKTOP_PROJECT_ID }}
157
157
  NEXT_PUBLIC_DESKTOP_UMAMI_BASE_URL: ${{ secrets.UMAMI_NIGHTLY_DESKTOP_BASE_URL }}
158
+ # 将 TEMP 和 TMP 目录设置到 D 盘
159
+ TEMP: D:\temp
160
+ TMP: D:\temp
158
161
 
162
+ # Linux 平台构建处理
163
+ - name: Build artifact on Linux
164
+ if: runner.os == 'Linux'
165
+ run: npm run desktop:build
166
+ env:
167
+ # 设置更新通道,PR构建为nightly,否则为stable
168
+ UPDATE_CHANNEL: 'nightly'
169
+ APP_URL: http://localhost:3015
170
+ DATABASE_URL: 'postgresql://postgres@localhost:5432/postgres'
171
+ KEY_VAULTS_SECRET: 'oLXWIiR/AKF+rWaqy9lHkrYgzpATbW3CtJp3UfkVgpE='
172
+ NEXT_PUBLIC_DESKTOP_PROJECT_ID: ${{ secrets.UMAMI_NIGHTLY_DESKTOP_PROJECT_ID }}
173
+ NEXT_PUBLIC_DESKTOP_UMAMI_BASE_URL: ${{ secrets.UMAMI_NIGHTLY_DESKTOP_BASE_URL }}
159
174
 
160
175
  # 上传构建产物
161
176
  - name: Upload artifact
@@ -80,9 +80,7 @@ jobs:
80
80
  runs-on: ${{ matrix.os }}
81
81
  strategy:
82
82
  matrix:
83
- # 暂时先支持 macOS
84
- os: [macos-latest]
85
- # os: [macos-latest, windows-latest, ubuntu-latest]
83
+ os: [macos-latest, windows-2025, ubuntu-latest]
86
84
  steps:
87
85
  - uses: actions/checkout@v4
88
86
  with:
@@ -130,9 +128,24 @@ jobs:
130
128
  NEXT_PUBLIC_DESKTOP_PROJECT_ID: ${{ secrets.UMAMI_BETA_DESKTOP_PROJECT_ID }}
131
129
  NEXT_PUBLIC_DESKTOP_UMAMI_BASE_URL: ${{ secrets.UMAMI_BETA_DESKTOP_BASE_URL }}
132
130
 
133
- # 非 macOS 平台构建处理
134
- - name: Build artifact on other platforms
135
- if: runner.os != 'macOS'
131
+ # Windows 平台构建处理
132
+ - name: Build artifact on Windows
133
+ if: runner.os == 'Windows'
134
+ run: npm run desktop:build
135
+ env:
136
+ APP_URL: http://localhost:3015
137
+ DATABASE_URL: 'postgresql://postgres@localhost:5432/postgres'
138
+ KEY_VAULTS_SECRET: 'oLXWIiR/AKF+rWaqy9lHkrYgzpATbW3CtJp3UfkVgpE='
139
+ NEXT_PUBLIC_DESKTOP_PROJECT_ID: ${{ secrets.UMAMI_BETA_DESKTOP_PROJECT_ID }}
140
+ NEXT_PUBLIC_DESKTOP_UMAMI_BASE_URL: ${{ secrets.UMAMI_BETA_DESKTOP_BASE_URL }}
141
+
142
+ # 将 TEMP 和 TMP 目录设置到 D 盘
143
+ TEMP: D:\temp
144
+ TMP: D:\temp
145
+
146
+ # Linux 平台构建处理
147
+ - name: Build artifact on Linux
148
+ if: runner.os == 'Linux'
136
149
  run: npm run desktop:build
137
150
  env:
138
151
  APP_URL: http://localhost:3015
package/CHANGELOG.md CHANGED
@@ -2,6 +2,48 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.85.6](https://github.com/lobehub/lobe-chat/compare/v1.85.5...v1.85.6)
6
+
7
+ <sup>Released on **2025-05-10**</sup>
8
+
9
+ <br/>
10
+
11
+ <details>
12
+ <summary><kbd>Improvements and Fixes</kbd></summary>
13
+
14
+ </details>
15
+
16
+ <div align="right">
17
+
18
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
19
+
20
+ </div>
21
+
22
+ ### [Version 1.85.5](https://github.com/lobehub/lobe-chat/compare/v1.85.4...v1.85.5)
23
+
24
+ <sup>Released on **2025-05-10**</sup>
25
+
26
+ #### 🐛 Bug Fixes
27
+
28
+ - **misc**: Fix window close issue and release Window/Linux beta.
29
+
30
+ <br/>
31
+
32
+ <details>
33
+ <summary><kbd>Improvements and Fixes</kbd></summary>
34
+
35
+ #### What's fixed
36
+
37
+ - **misc**: Fix window close issue and release Window/Linux beta, closes [#7780](https://github.com/lobehub/lobe-chat/issues/7780) ([82c48b9](https://github.com/lobehub/lobe-chat/commit/82c48b9))
38
+
39
+ </details>
40
+
41
+ <div align="right">
42
+
43
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
44
+
45
+ </div>
46
+
5
47
  ### [Version 1.85.4](https://github.com/lobehub/lobe-chat/compare/v1.85.3...v1.85.4)
6
48
 
7
49
  <sup>Released on **2025-05-10**</sup>
@@ -29,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "electron-updater": "^6.6.2",
31
31
  "get-port-please": "^3.1.2",
32
- "pdfjs-dist": "4.8.69"
32
+ "pdfjs-dist": "4.10.38"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@electron-toolkit/eslint-config-prettier": "^3.0.0",
@@ -47,7 +47,7 @@
47
47
  "@types/set-cookie-parser": "^2.4.10",
48
48
  "consola": "^3.1.0",
49
49
  "cookie": "^1.0.2",
50
- "electron": "^35.2.0",
50
+ "electron": "^36.2.0",
51
51
  "electron-builder": "^26.0.12",
52
52
  "electron-is": "^3.0.0",
53
53
  "electron-log": "^5.3.3",
@@ -161,6 +161,11 @@ export default class BrowserManager {
161
161
  if (browser.webContents) this.webContentsMap.delete(browser.webContents);
162
162
  });
163
163
 
164
+ browser.browserWindow.on('show', () => {
165
+ if (browser.webContents)
166
+ this.webContentsMap.set(browser.webContents, browser.identifier as AppBrowsersIdentifiers);
167
+ });
168
+
164
169
  return browser;
165
170
  }
166
171
 
package/changelog/v1.json CHANGED
@@ -1,4 +1,18 @@
1
1
  [
2
+ {
3
+ "children": {},
4
+ "date": "2025-05-10",
5
+ "version": "1.85.6"
6
+ },
7
+ {
8
+ "children": {
9
+ "fixes": [
10
+ "Fix window close issue and release Window/Linux beta."
11
+ ]
12
+ },
13
+ "date": "2025-05-10",
14
+ "version": "1.85.5"
15
+ },
2
16
  {
3
17
  "children": {
4
18
  "fixes": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.85.4",
3
+ "version": "1.85.6",
4
4
  "description": "Lobe Chat - an open-source, high-performance chatbot 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",
@@ -12,7 +12,7 @@ const useStyles = createStyles(({ css, cx, token }) => {
12
12
  align-items: center;
13
13
  justify-content: center;
14
14
 
15
- width: 64px;
15
+ width: 40px;
16
16
  min-height: ${TITLE_BAR_HEIGHT}px;
17
17
 
18
18
  color: ${token.colorTextSecondary};