@lobehub/chat 1.83.4 → 1.83.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.
@@ -114,7 +114,6 @@ jobs:
114
114
  if: runner.os == 'macOS'
115
115
  run: npm run desktop:build
116
116
  env:
117
- UPDATE_CHANNEL: 'stable'
118
117
  APP_URL: http://localhost:3015
119
118
  DATABASE_URL: 'postgresql://postgres@localhost:5432/postgres'
120
119
  # 默认添加一个加密 SECRET
@@ -136,7 +135,6 @@ jobs:
136
135
  if: runner.os != 'macOS'
137
136
  run: npm run desktop:build
138
137
  env:
139
- UPDATE_CHANNEL: 'stable'
140
138
  APP_URL: http://localhost:3015
141
139
  DATABASE_URL: 'postgresql://postgres@localhost:5432/postgres'
142
140
  KEY_VAULTS_SECRET: 'oLXWIiR/AKF+rWaqy9lHkrYgzpATbW3CtJp3UfkVgpE='
package/CHANGELOG.md CHANGED
@@ -2,6 +2,56 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.83.6](https://github.com/lobehub/lobe-chat/compare/v1.83.5...v1.83.6)
6
+
7
+ <sup>Released on **2025-04-27**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix desktop cloud sync issue.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix desktop cloud sync issue, closes [#7591](https://github.com/lobehub/lobe-chat/issues/7591) ([1e68777](https://github.com/lobehub/lobe-chat/commit/1e68777))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
30
+ ### [Version 1.83.5](https://github.com/lobehub/lobe-chat/compare/v1.83.4...v1.83.5)
31
+
32
+ <sup>Released on **2025-04-27**</sup>
33
+
34
+ #### 🐛 Bug Fixes
35
+
36
+ - **misc**: Fix desktop beta redirect uris.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### What's fixed
44
+
45
+ - **misc**: Fix desktop beta redirect uris, closes [#7589](https://github.com/lobehub/lobe-chat/issues/7589) ([9efdbf3](https://github.com/lobehub/lobe-chat/commit/9efdbf3))
46
+
47
+ </details>
48
+
49
+ <div align="right">
50
+
51
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
52
+
53
+ </div>
54
+
5
55
  ### [Version 1.83.4](https://github.com/lobehub/lobe-chat/compare/v1.83.3...v1.83.4)
6
56
 
7
57
  <sup>Released on **2025-04-27**</sup>
@@ -4,17 +4,22 @@ dotenv.config();
4
4
 
5
5
  const packageJSON = require('./package.json');
6
6
 
7
- const channel = process.env.UPDATE_CHANNEL || 'stable';
7
+ const channel = process.env.UPDATE_CHANNEL;
8
8
 
9
9
  console.log(`🚄 Build Version ${packageJSON.version}, Channel: ${channel}`);
10
10
 
11
11
  const isNightly = channel === 'nightly';
12
+ const isBeta = channel === 'beta';
12
13
  /**
13
14
  * @type {import('electron-builder').Configuration}
14
15
  * @see https://www.electron.build/configuration
15
16
  */
16
17
  const config = {
17
- appId: isNightly ? 'com.lobehub.lobehub-desktop-nightly' : 'com.lobehub.lobehub-desktop',
18
+ appId: isNightly
19
+ ? 'com.lobehub.lobehub-desktop-nightly'
20
+ : isBeta
21
+ ? 'com.lobehub.lobehub-desktop-beta'
22
+ : 'com.lobehub.lobehub-desktop',
18
23
  appImage: {
19
24
  artifactName: '${productName}-${version}.${ext}',
20
25
  },
@@ -4,7 +4,7 @@ import { resolve } from 'node:path';
4
4
 
5
5
  dotenv.config();
6
6
 
7
- const updateChannel = process.env.UPDATE_CHANNEL || 'stable';
7
+ const updateChannel = process.env.UPDATE_CHANNEL;
8
8
  console.log(`[electron-vite.config.ts] Detected UPDATE_CHANNEL: ${updateChannel}`); // 添加日志确认
9
9
 
10
10
  export default defineConfig({
@@ -118,7 +118,7 @@ export default class AuthCtr extends ControllerModule {
118
118
  const config = await this.remoteServerConfigCtr.getRemoteServerConfig();
119
119
  logger.debug(`Getting remote server configuration: url=${config.remoteServerUrl}`);
120
120
 
121
- if (!config.remoteServerUrl) {
121
+ if (config.storageMode === 'selfHost' && !config.remoteServerUrl) {
122
122
  logger.error('Server URL not configured');
123
123
  throw new Error('No server URL configured');
124
124
  }
package/changelog/v1.json CHANGED
@@ -1,4 +1,22 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Fix desktop cloud sync issue."
6
+ ]
7
+ },
8
+ "date": "2025-04-27",
9
+ "version": "1.83.6"
10
+ },
11
+ {
12
+ "children": {
13
+ "fixes": [
14
+ "Fix desktop beta redirect uris."
15
+ ]
16
+ },
17
+ "date": "2025-04-27",
18
+ "version": "1.83.5"
19
+ },
2
20
  {
3
21
  "children": {
4
22
  "fixes": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.83.4",
3
+ "version": "1.83.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",
@@ -17,12 +17,14 @@ export const defaultClients: ClientMetadata[] = [
17
17
  post_logout_redirect_uris: [
18
18
  'com.lobehub.lobehub-desktop-dev://auth/logout/callback',
19
19
  'com.lobehub.lobehub-desktop-nightly://auth/logout/callback',
20
+ 'com.lobehub.lobehub-desktop-beta://auth/logout/callback',
20
21
  'com.lobehub.lobehub-desktop://auth/logout/callback',
21
22
  ],
22
23
 
23
24
  redirect_uris: [
24
25
  'com.lobehub.lobehub-desktop-dev://auth/callback',
25
26
  'com.lobehub.lobehub-desktop-nightly://auth/callback',
27
+ 'com.lobehub.lobehub-desktop-beta://auth/callback',
26
28
  'com.lobehub.lobehub-desktop://auth/logout/callback',
27
29
  ],
28
30