@lobehub/chat 0.128.3 → 0.128.4
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/.husky/commit-msg +0 -3
- package/.husky/pre-commit +0 -3
- package/CHANGELOG.md +25 -0
- package/contributing/Home.md +1 -1
- package/contributing/_Sidebar.md +1 -1
- package/locales/ar/common.json +1 -0
- package/locales/de-DE/common.json +1 -0
- package/locales/en-US/common.json +1 -0
- package/locales/es-ES/common.json +1 -0
- package/locales/fr-FR/common.json +1 -0
- package/locales/it-IT/common.json +1 -0
- package/locales/ja-JP/common.json +1 -0
- package/locales/ko-KR/common.json +1 -0
- package/locales/nl-NL/common.json +1 -0
- package/locales/pl-PL/common.json +1 -0
- package/locales/pt-BR/common.json +1 -0
- package/locales/ru-RU/common.json +1 -0
- package/locales/tr-TR/common.json +1 -0
- package/locales/vi-VN/common.json +1 -0
- package/locales/zh-CN/common.json +1 -0
- package/locales/zh-TW/common.json +1 -0
- package/package.json +3 -3
- package/src/features/PluginStore/OnlineList.tsx +2 -16
package/.husky/commit-msg
CHANGED
package/.husky/pre-commit
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.128.4](https://github.com/lobehub/lobe-chat/compare/v0.128.3...v0.128.4)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-02-18**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Fix documents i18n.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **misc**: Fix documents i18n, closes [#1319](https://github.com/lobehub/lobe-chat/issues/1319) ([a0600dc](https://github.com/lobehub/lobe-chat/commit/a0600dc))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
### [Version 0.128.3](https://github.com/lobehub/lobe-chat/compare/v0.128.2...v0.128.3)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2024-02-18**</sup>
|
package/contributing/Home.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<img height="120" src="https://gw.alipayobjects.com/zos/kitchen/qJ3l3EPsdW/split.svg">
|
|
5
5
|
<img height="120" src="https://registry.npmmirror.com/@lobehub/assets-emoji/1.3.0/files/assets/robot.webp">
|
|
6
6
|
|
|
7
|
-
<h1>Lobe Chat Wiki</h1>
|
|
7
|
+
<h1>Lobe Chat Contributing Wiki</h1>
|
|
8
8
|
|
|
9
9
|
LobeChat is an open-source, extensible ([Function Calling][fc-url]), high-performance chatbot framework. <br/> It supports one-click free deployment of your private ChatGPT/LLM web application.
|
|
10
10
|
|
package/contributing/_Sidebar.md
CHANGED
package/locales/ar/common.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.128.
|
|
3
|
+
"version": "0.128.4",
|
|
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",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"lint:md": "remark . --quiet --frail --output",
|
|
39
39
|
"lint:style": "stylelint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
|
|
40
40
|
"lint:ts": "eslint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
|
|
41
|
-
"prepare": "husky
|
|
41
|
+
"prepare": "husky",
|
|
42
42
|
"prettier": "prettier -c --write \"**/**\"",
|
|
43
43
|
"pull": "git pull",
|
|
44
44
|
"release": "semantic-release",
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
"eslint": "^8",
|
|
173
173
|
"fake-indexeddb": "^5",
|
|
174
174
|
"glob": "^10",
|
|
175
|
-
"husky": "^
|
|
175
|
+
"husky": "^9",
|
|
176
176
|
"jsdom": "^24.0.0",
|
|
177
177
|
"just-diff": "^6",
|
|
178
178
|
"lint-staged": "^15",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Icon, SearchBar } from '@lobehub/ui';
|
|
2
|
-
import {
|
|
2
|
+
import { Empty } from 'antd';
|
|
3
3
|
import { useResponsive } from 'antd-style';
|
|
4
4
|
import isEqual from 'fast-deep-equal';
|
|
5
5
|
import { ServerCrash } from 'lucide-react';
|
|
@@ -24,15 +24,8 @@ export const OnlineList = memo(() => {
|
|
|
24
24
|
|
|
25
25
|
return [...custom, ...store];
|
|
26
26
|
}, isEqual);
|
|
27
|
-
const storePluginIds = useToolStore(
|
|
28
|
-
(s) => pluginStoreSelectors.onlinePluginStore(s).map((s) => s.identifier),
|
|
29
|
-
isEqual,
|
|
30
|
-
);
|
|
31
27
|
|
|
32
|
-
const
|
|
33
|
-
s.useFetchPluginStore,
|
|
34
|
-
s.installPlugins,
|
|
35
|
-
]);
|
|
28
|
+
const useFetchPluginList = useToolStore((s) => s.useFetchPluginStore);
|
|
36
29
|
|
|
37
30
|
const { isLoading, error } = useFetchPluginList();
|
|
38
31
|
|
|
@@ -51,13 +44,6 @@ export const OnlineList = memo(() => {
|
|
|
51
44
|
/>
|
|
52
45
|
</Flexbox>
|
|
53
46
|
<AddPluginButton />
|
|
54
|
-
<Button
|
|
55
|
-
onClick={() => {
|
|
56
|
-
installPlugins(storePluginIds);
|
|
57
|
-
}}
|
|
58
|
-
>
|
|
59
|
-
{t('store.installAllPlugins')}
|
|
60
|
-
</Button>
|
|
61
47
|
</Flexbox>
|
|
62
48
|
|
|
63
49
|
{isLoading ? (
|