@lobehub/chat 1.37.1 → 1.37.2
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 +25 -0
- package/changelog/v1.json +9 -0
- package/locales/en-US/common.json +2 -2
- package/package.json +1 -1
- package/src/services/file/{pglite.test.ts → client.test.ts} +1 -1
- package/src/services/file/index.ts +1 -1
- package/src/services/import/{pglite.test.ts → client.test.ts} +1 -1
- package/src/services/import/index.ts +1 -1
- package/src/services/message/{pglite.test.ts → client.test.ts} +1 -1
- package/src/services/message/index.ts +1 -1
- package/src/services/plugin/{pglite.test.ts → client.test.ts} +1 -1
- package/src/services/plugin/index.ts +1 -1
- package/src/services/session/{pglite.test.ts → client.test.ts} +1 -1
- package/src/services/session/index.ts +1 -1
- package/src/services/topic/index.ts +1 -1
- package/src/services/topic/pglite.test.ts +1 -1
- package/src/services/user/{pglite.test.ts → client.test.ts} +1 -1
- package/src/services/user/index.ts +1 -1
- /package/src/services/file/{pglite.ts → client.ts} +0 -0
- /package/src/services/import/{pglite.ts → client.ts} +0 -0
- /package/src/services/message/{pglite.ts → client.ts} +0 -0
- /package/src/services/plugin/{pglite.ts → client.ts} +0 -0
- /package/src/services/session/{pglite.ts → client.ts} +0 -0
- /package/src/services/topic/{client.test.ts → _deprecated.test.ts} +0 -0
- /package/src/services/topic/{pglite.ts → client.ts} +0 -0
- /package/src/services/user/{pglite.ts → client.ts} +0 -0
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,31 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.37.2](https://github.com/lobehub/lobe-chat/compare/v1.37.1...v1.37.2)
|
6
|
+
|
7
|
+
<sup>Released on **2024-12-22**</sup>
|
8
|
+
|
9
|
+
#### ♻ Code Refactoring
|
10
|
+
|
11
|
+
- **misc**: Move pglite to client service.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### Code refactoring
|
19
|
+
|
20
|
+
- **misc**: Move pglite to client service, closes [#5133](https://github.com/lobehub/lobe-chat/issues/5133) ([c2ded24](https://github.com/lobehub/lobe-chat/commit/c2ded24))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
### [Version 1.37.1](https://github.com/lobehub/lobe-chat/compare/v1.37.0...v1.37.1)
|
6
31
|
|
7
32
|
<sup>Released on **2024-12-22**</sup>
|
package/changelog/v1.json
CHANGED
@@ -59,14 +59,14 @@
|
|
59
59
|
"features": {
|
60
60
|
"knowledgeBase": {
|
61
61
|
"desc": "Build your personal knowledge base and easily start conversations with your assistant (coming soon)",
|
62
|
-
"title": "Support for knowledge base conversations
|
62
|
+
"title": "Support for knowledge base conversations"
|
63
63
|
},
|
64
64
|
"localFirst": {
|
65
65
|
"desc": "Chat data is stored entirely in the browser, keeping your data always under your control.",
|
66
66
|
"title": "Local first, privacy first"
|
67
67
|
},
|
68
68
|
"pglite": {
|
69
|
-
"desc": "Built on PGlite, natively supports AI Native advanced features (vector
|
69
|
+
"desc": "Built on PGlite, natively supports AI Native advanced features (vector search)",
|
70
70
|
"title": "Next-generation client storage architecture"
|
71
71
|
}
|
72
72
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.37.
|
3
|
+
"version": "1.37.2",
|
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",
|
@@ -6,7 +6,7 @@ import { files, globalFiles, users } from '@/database/schemas';
|
|
6
6
|
import { clientS3Storage } from '@/services/file/ClientS3';
|
7
7
|
import { UploadFileParams } from '@/types/files';
|
8
8
|
|
9
|
-
import { ClientService } from './
|
9
|
+
import { ClientService } from './client';
|
10
10
|
|
11
11
|
const userId = 'file-user';
|
12
12
|
|
@@ -15,7 +15,7 @@ import {
|
|
15
15
|
import { CURRENT_CONFIG_VERSION } from '@/migrations';
|
16
16
|
import { ImportResults, ImporterEntryData } from '@/types/importer';
|
17
17
|
|
18
|
-
import { ClientService } from './
|
18
|
+
import { ClientService } from './client';
|
19
19
|
|
20
20
|
const userId = 'test-user-id';
|
21
21
|
const service = new ClientService(userId);
|
@@ -7,7 +7,7 @@ import { installedPlugins, users } from '@/database/schemas';
|
|
7
7
|
import { LobeTool } from '@/types/tool';
|
8
8
|
import { LobeToolCustomPlugin } from '@/types/tool/plugin';
|
9
9
|
|
10
|
-
import { ClientService } from './
|
10
|
+
import { ClientService } from './client';
|
11
11
|
import { InstallPluginParams } from './type';
|
12
12
|
|
13
13
|
// Mocking modules and functions
|
@@ -15,7 +15,7 @@ import {
|
|
15
15
|
import { LobeAgentChatConfig, LobeAgentConfig } from '@/types/agent';
|
16
16
|
import { LobeAgentSession, LobeSessionType, SessionGroups } from '@/types/session';
|
17
17
|
|
18
|
-
import { ClientService } from './
|
18
|
+
import { ClientService } from './client';
|
19
19
|
|
20
20
|
const userId = 'message-db';
|
21
21
|
const sessionService = new ClientService(userId);
|
@@ -5,7 +5,7 @@ import { clientDB, initializeDB } from '@/database/client/db';
|
|
5
5
|
import { sessions, topics, users } from '@/database/schemas';
|
6
6
|
import { ChatTopic } from '@/types/topic';
|
7
7
|
|
8
|
-
import { ClientService } from './
|
8
|
+
import { ClientService } from './client';
|
9
9
|
|
10
10
|
// Mock data
|
11
11
|
const userId = 'topic-user-test';
|
@@ -7,7 +7,7 @@ import { userSettings, users } from '@/database/schemas';
|
|
7
7
|
import { UserPreference } from '@/types/user';
|
8
8
|
import { UserSettings } from '@/types/user/settings';
|
9
9
|
|
10
|
-
import { ClientService } from './
|
10
|
+
import { ClientService } from './client';
|
11
11
|
|
12
12
|
const mockUser = {
|
13
13
|
avatar: 'avatar.png',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|