@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 CHANGED
@@ -1,4 +1 @@
1
- #!/usr/bin/env sh
2
- . "$(dirname -- "$0")/_/husky.sh"
3
-
4
1
  npx --no -- commitlint --edit ${1}
package/.husky/pre-commit CHANGED
@@ -1,5 +1,2 @@
1
- #!/usr/bin/env sh
2
- . "$(dirname -- "$0")/_/husky.sh"
3
-
4
1
  npm run type-check
5
2
  npx --no-install lint-staged
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
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#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>
@@ -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
 
@@ -1,4 +1,4 @@
1
- ## Lobe Chat Wiki
1
+ ## Lobe Chat Contributing Wiki
2
2
 
3
3
  #### 🏠 Home
4
4
 
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "مساعد افتراضي",
28
28
  "defaultSession": "جلسة افتراضية",
29
29
  "delete": "حذف",
30
+ "document": "وثيقة الاستخدام",
30
31
  "duplicate": "إنشاء نسخة",
31
32
  "edit": "تحرير",
32
33
  "export": "تصدير الإعدادات",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "Standardassistent",
28
28
  "defaultSession": "Standardassistent",
29
29
  "delete": "Löschen",
30
+ "document": "Dokumentation",
30
31
  "duplicate": "Duplikat erstellen",
31
32
  "edit": "Bearbeiten",
32
33
  "export": "Exportieren",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "Default Agent",
28
28
  "defaultSession": "Default Agent",
29
29
  "delete": "Delete",
30
+ "document": "User Manual",
30
31
  "duplicate": "Create Duplicate",
31
32
  "edit": "Edit",
32
33
  "export": "Export Configuration",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "Asistente predeterminado",
28
28
  "defaultSession": "Sesión predeterminada",
29
29
  "delete": "Eliminar",
30
+ "document": "Documento de uso",
30
31
  "duplicate": "Duplicar",
31
32
  "edit": "Editar",
32
33
  "export": "Exportar configuración",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "Agent par défaut",
28
28
  "defaultSession": "Session par défaut",
29
29
  "delete": "Supprimer",
30
+ "document": "Document d'utilisation",
30
31
  "duplicate": "Dupliquer",
31
32
  "edit": "Modifier",
32
33
  "export": "Exporter",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "Assistente predefinito",
28
28
  "defaultSession": "Sessione predefinita",
29
29
  "delete": "Elimina",
30
+ "document": "Documento di utilizzo",
30
31
  "duplicate": "Duplicato",
31
32
  "edit": "Modifica",
32
33
  "export": "Esporta configurazione",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "デフォルトエージェント",
28
28
  "defaultSession": "デフォルトセッション",
29
29
  "delete": "削除",
30
+ "document": "ドキュメント",
30
31
  "duplicate": "コピーを作成する",
31
32
  "edit": "編集",
32
33
  "export": "エクスポート",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "기본 에이전트",
28
28
  "defaultSession": "기본 세션",
29
29
  "delete": "삭제",
30
+ "document": "사용 설명서",
30
31
  "duplicate": "복제품 만들기",
31
32
  "edit": "편집",
32
33
  "export": "내보내기",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "Standaard assistent",
28
28
  "defaultSession": "Standaard assistent",
29
29
  "delete": "Verwijderen",
30
+ "document": "Gebruiksaanwijzing",
30
31
  "duplicate": "Dupliceren",
31
32
  "edit": "Bewerken",
32
33
  "export": "Exporteren",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "Domyślny asystent",
28
28
  "defaultSession": "Domyślna sesja",
29
29
  "delete": "Usuń",
30
+ "document": "Dokumentacja",
30
31
  "duplicate": "Utwórz kopię",
31
32
  "edit": "Edytuj",
32
33
  "export": "Eksportuj ustawienia",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "Assistente padrão",
28
28
  "defaultSession": "Sessão padrão",
29
29
  "delete": "Excluir",
30
+ "document": "Documento de Uso",
30
31
  "duplicate": "Duplicar",
31
32
  "edit": "Editar",
32
33
  "export": "Exportar configuração",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "Пользовательский агент",
28
28
  "defaultSession": "Пользовательский агент",
29
29
  "delete": "Удалить",
30
+ "document": "Документация",
30
31
  "duplicate": "Создать копию",
31
32
  "edit": "Редактировать",
32
33
  "export": "Экспорт настроек",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "Varsayılan Asistan",
28
28
  "defaultSession": "Varsayılan Asistan",
29
29
  "delete": "Sil",
30
+ "document": "Belge",
30
31
  "duplicate": "Kopya oluştur",
31
32
  "edit": "Düzenle",
32
33
  "export": "Dışa Aktar",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "Trợ lý mặc định",
28
28
  "defaultSession": "Phiên mặc định",
29
29
  "delete": "Xóa",
30
+ "document": "Tài Liệu Sử Dụng",
30
31
  "duplicate": "Tạo bản sao",
31
32
  "edit": "Chỉnh sửa",
32
33
  "export": "Xuất cấu hình",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "自定义助手",
28
28
  "defaultSession": "自定义助手",
29
29
  "delete": "删除",
30
+ "document": "使用文档",
30
31
  "duplicate": "创建副本",
31
32
  "edit": "编辑",
32
33
  "export": "导出配置",
@@ -27,6 +27,7 @@
27
27
  "defaultAgent": "預設助手",
28
28
  "defaultSession": "預設助手",
29
29
  "delete": "刪除",
30
+ "document": "使用說明文件",
30
31
  "duplicate": "建立副本",
31
32
  "edit": "編輯",
32
33
  "export": "匯出設定",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.128.3",
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 install",
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": "^8",
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 { Button, Empty } from 'antd';
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 [useFetchPluginList, installPlugins] = useToolStore((s) => [
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 ? (