@lobehub/chat 1.84.21 → 1.84.22
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
CHANGED
@@ -2,6 +2,39 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.84.22](https://github.com/lobehub/lobe-chat/compare/v1.84.21...v1.84.22)
|
6
|
+
|
7
|
+
<sup>Released on **2025-05-07**</sup>
|
8
|
+
|
9
|
+
#### 🐛 Bug Fixes
|
10
|
+
|
11
|
+
- **misc**: Fix electron state init on window.
|
12
|
+
|
13
|
+
#### 💄 Styles
|
14
|
+
|
15
|
+
- **misc**: Add Xiaohongshu crawler rules.
|
16
|
+
|
17
|
+
<br/>
|
18
|
+
|
19
|
+
<details>
|
20
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
21
|
+
|
22
|
+
#### What's fixed
|
23
|
+
|
24
|
+
- **misc**: Fix electron state init on window, closes [#7707](https://github.com/lobehub/lobe-chat/issues/7707) ([ef05b49](https://github.com/lobehub/lobe-chat/commit/ef05b49))
|
25
|
+
|
26
|
+
#### Styles
|
27
|
+
|
28
|
+
- **misc**: Add Xiaohongshu crawler rules, closes [#7717](https://github.com/lobehub/lobe-chat/issues/7717) ([cc3724d](https://github.com/lobehub/lobe-chat/commit/cc3724d))
|
29
|
+
|
30
|
+
</details>
|
31
|
+
|
32
|
+
<div align="right">
|
33
|
+
|
34
|
+
[](#readme-top)
|
35
|
+
|
36
|
+
</div>
|
37
|
+
|
5
38
|
### [Version 1.84.21](https://github.com/lobehub/lobe-chat/compare/v1.84.20...v1.84.21)
|
6
39
|
|
7
40
|
<sup>Released on **2025-05-04**</sup>
|
package/changelog/v1.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.84.
|
3
|
+
"version": "1.84.22",
|
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",
|
@@ -115,6 +115,9 @@
|
|
115
115
|
"eslint --fix"
|
116
116
|
]
|
117
117
|
},
|
118
|
+
"overrides": {
|
119
|
+
"mdast-util-gfm-autolink-literal": "2.0.0"
|
120
|
+
},
|
118
121
|
"dependencies": {
|
119
122
|
"@ant-design/icons": "^5.6.1",
|
120
123
|
"@ant-design/pro-components": "^2.8.7",
|
@@ -365,8 +368,5 @@
|
|
365
368
|
}
|
366
369
|
}
|
367
370
|
}
|
368
|
-
},
|
369
|
-
"overrides": {
|
370
|
-
"mdast-util-gfm-autolink-literal": "2.0.0"
|
371
371
|
}
|
372
372
|
}
|
@@ -100,4 +100,9 @@ export const crawUrlRules: CrawlUrlRule[] = [
|
|
100
100
|
impls: ['jina'],
|
101
101
|
urlPattern: 'https://(.*).feishu.cn/(.*)',
|
102
102
|
},
|
103
|
+
// 小红书存在爬虫防护,使用 Search1API 或 Jina (备用)
|
104
|
+
{
|
105
|
+
impls: ['search1api', 'jina'],
|
106
|
+
urlPattern: 'https://(.*).xiaohongshu.com/(.*)',
|
107
|
+
},
|
103
108
|
];
|
@@ -39,7 +39,7 @@ export const createElectronAppSlice: StateCreator<
|
|
39
39
|
async () => electronSystemService.getAppState(),
|
40
40
|
{
|
41
41
|
onSuccess: (result) => {
|
42
|
-
set({ appState: result }, false, 'initElectronAppState');
|
42
|
+
set({ appState: result, isAppStateInit: true }, false, 'initElectronAppState');
|
43
43
|
|
44
44
|
// Update the global agent context manager with relevant paths
|
45
45
|
// We typically only need paths in the agent context for now.
|