@lobehub/chat 1.102.3 → 1.103.0

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/apps/desktop/README.md +322 -36
  3. package/apps/desktop/README.zh-CN.md +353 -0
  4. package/apps/desktop/package.json +1 -0
  5. package/apps/desktop/resources/tray-dark.png +0 -0
  6. package/apps/desktop/resources/tray-light.png +0 -0
  7. package/apps/desktop/resources/tray.png +0 -0
  8. package/apps/desktop/src/main/const/env.ts +25 -0
  9. package/apps/desktop/src/main/core/TrayManager.ts +7 -1
  10. package/changelog/v1.json +18 -0
  11. package/locales/ar/subscription.json +24 -0
  12. package/locales/bg-BG/subscription.json +24 -0
  13. package/locales/de-DE/subscription.json +24 -0
  14. package/locales/en-US/subscription.json +24 -0
  15. package/locales/es-ES/subscription.json +24 -0
  16. package/locales/fa-IR/subscription.json +24 -0
  17. package/locales/fr-FR/subscription.json +24 -0
  18. package/locales/it-IT/subscription.json +24 -0
  19. package/locales/ja-JP/subscription.json +24 -0
  20. package/locales/ko-KR/subscription.json +24 -0
  21. package/locales/nl-NL/subscription.json +24 -0
  22. package/locales/pl-PL/subscription.json +24 -0
  23. package/locales/pt-BR/subscription.json +24 -0
  24. package/locales/ru-RU/subscription.json +24 -0
  25. package/locales/tr-TR/subscription.json +24 -0
  26. package/locales/vi-VN/subscription.json +24 -0
  27. package/locales/zh-CN/subscription.json +24 -0
  28. package/locales/zh-TW/subscription.json +24 -0
  29. package/package.json +1 -1
  30. package/packages/electron-client-ipc/README.md +55 -30
  31. package/packages/electron-client-ipc/README.zh-CN.md +73 -0
  32. package/packages/electron-server-ipc/README.md +42 -20
  33. package/packages/electron-server-ipc/README.zh-CN.md +76 -0
  34. package/packages/file-loaders/README.md +77 -51
  35. package/packages/file-loaders/README.zh-CN.md +89 -0
  36. package/src/app/[variants]/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/HeaderAction.tsx +11 -8
  37. package/src/app/[variants]/(main)/chat/(workspace)/features/SettingButton.tsx +11 -8
  38. package/src/app/[variants]/(main)/chat/(workspace)/features/ShareButton/index.tsx +3 -0
  39. package/src/app/[variants]/(main)/chat/@session/_layout/Desktop/SessionHeader.tsx +3 -0
  40. package/src/config/aiModels/qwen.ts +22 -2
  41. package/src/features/PlanIcon/index.tsx +126 -0
  42. package/src/features/User/PlanTag.tsx +33 -25
  43. package/src/libs/model-runtime/qwen/createImage.test.ts +613 -0
  44. package/src/libs/model-runtime/qwen/createImage.ts +218 -0
  45. package/src/libs/model-runtime/qwen/index.ts +2 -0
  46. package/src/libs/model-runtime/utils/openaiCompatibleFactory/index.ts +19 -1
  47. package/src/locales/default/index.ts +2 -0
  48. package/src/locales/default/subscription.ts +24 -0
  49. package/src/types/subscription.ts +7 -0
  50. package/apps/desktop/resources/tray-icon.png +0 -0
@@ -0,0 +1,24 @@
1
+ {
2
+ "plans": {
3
+ "plan": {
4
+ "enterprise": {
5
+ "title": "Onderneming"
6
+ },
7
+ "free": {
8
+ "title": "Gratis"
9
+ },
10
+ "hobby": {
11
+ "title": "Zelfbediening versie"
12
+ },
13
+ "premium": {
14
+ "title": "Premium"
15
+ },
16
+ "starter": {
17
+ "title": "Basis"
18
+ },
19
+ "ultimate": {
20
+ "title": "Ultimate"
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "plans": {
3
+ "plan": {
4
+ "enterprise": {
5
+ "title": "Przedsiębiorstwo"
6
+ },
7
+ "free": {
8
+ "title": "Darmowy"
9
+ },
10
+ "hobby": {
11
+ "title": "Wersja samodzielna"
12
+ },
13
+ "premium": {
14
+ "title": "Premium"
15
+ },
16
+ "starter": {
17
+ "title": "Podstawowy"
18
+ },
19
+ "ultimate": {
20
+ "title": "Ultimate"
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "plans": {
3
+ "plan": {
4
+ "enterprise": {
5
+ "title": "Versão Empresarial"
6
+ },
7
+ "free": {
8
+ "title": "Versão Gratuita"
9
+ },
10
+ "hobby": {
11
+ "title": "Versão Autônoma"
12
+ },
13
+ "premium": {
14
+ "title": "Premium"
15
+ },
16
+ "starter": {
17
+ "title": "Versão Básica"
18
+ },
19
+ "ultimate": {
20
+ "title": "Ultimate"
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "plans": {
3
+ "plan": {
4
+ "enterprise": {
5
+ "title": "Предприятие"
6
+ },
7
+ "free": {
8
+ "title": "Бесплатно"
9
+ },
10
+ "hobby": {
11
+ "title": "Самостоятельная версия"
12
+ },
13
+ "premium": {
14
+ "title": "Продвинутый"
15
+ },
16
+ "starter": {
17
+ "title": "Базовый"
18
+ },
19
+ "ultimate": {
20
+ "title": "Профессиональный"
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "plans": {
3
+ "plan": {
4
+ "enterprise": {
5
+ "title": "Kurumsal"
6
+ },
7
+ "free": {
8
+ "title": "Ücretsiz"
9
+ },
10
+ "hobby": {
11
+ "title": "Kendi Kendine Hizmet Versiyonu"
12
+ },
13
+ "premium": {
14
+ "title": "Gelişmiş"
15
+ },
16
+ "starter": {
17
+ "title": "Temel"
18
+ },
19
+ "ultimate": {
20
+ "title": "Profesyonel"
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "plans": {
3
+ "plan": {
4
+ "enterprise": {
5
+ "title": "Phiên bản doanh nghiệp"
6
+ },
7
+ "free": {
8
+ "title": "Phiên bản miễn phí"
9
+ },
10
+ "hobby": {
11
+ "title": "Phiên bản tự phục vụ"
12
+ },
13
+ "premium": {
14
+ "title": "Phiên bản Nâng cao"
15
+ },
16
+ "starter": {
17
+ "title": "Phiên bản cơ bản"
18
+ },
19
+ "ultimate": {
20
+ "title": "Phiên bản Chuyên nghiệp"
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "plans": {
3
+ "plan": {
4
+ "enterprise": {
5
+ "title": "企业版"
6
+ },
7
+ "free": {
8
+ "title": "免费版"
9
+ },
10
+ "hobby": {
11
+ "title": "自助版"
12
+ },
13
+ "premium": {
14
+ "title": "进阶版"
15
+ },
16
+ "starter": {
17
+ "title": "基础版"
18
+ },
19
+ "ultimate": {
20
+ "title": "专业版"
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "plans": {
3
+ "plan": {
4
+ "enterprise": {
5
+ "title": "企業版"
6
+ },
7
+ "free": {
8
+ "title": "免費版"
9
+ },
10
+ "hobby": {
11
+ "title": "自助版"
12
+ },
13
+ "premium": {
14
+ "title": "進階版"
15
+ },
16
+ "starter": {
17
+ "title": "基礎版"
18
+ },
19
+ "ultimate": {
20
+ "title": "專業版"
21
+ }
22
+ }
23
+ }
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.102.3",
3
+ "version": "1.103.0",
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",
@@ -1,48 +1,73 @@
1
1
  # @lobechat/electron-client-ipc
2
2
 
3
- 这个包是 LobeChat Electron 环境中用于处理 IPC(进程间通信)的客户端工具包。
3
+ This package is a client-side toolkit for handling IPC (Inter-Process Communication) in LobeChat's Electron environment.
4
4
 
5
- ## 介绍
5
+ ## Introduction
6
6
 
7
- Electron 应用中,IPC(进程间通信)是连接主进程(Main Process)、渲染进程(Renderer Process)以及 NextJS 进程的桥梁。为了更好地组织和管理这些通信,我们将 IPC 相关的代码分成了两个包:
7
+ In Electron applications, IPC (Inter-Process Communication) serves as a bridge connecting the Main Process, Renderer Process, and NextJS Process. To better organize and manage these communications, we have split the IPC-related code into two packages:
8
8
 
9
- - `@lobechat/electron-client-ipc`:**客户端 IPC 包**
10
- - `@lobechat/electron-server-ipc`:**服务端 IPC 包**
9
+ - `@lobechat/electron-client-ipc`: **Client-side IPC package**
10
+ - `@lobechat/electron-server-ipc`: **Server-side IPC package**
11
11
 
12
- ## 主要区别
12
+ ## Key Differences
13
13
 
14
- ### electron-client-ipc(本包)
14
+ ### electron-client-ipc (This Package)
15
15
 
16
- - 运行环境:在渲染进程(Renderer Process)中运行
17
- - 主要职责:
18
- - 提供渲染进程调用主进程方法的接口定义
19
- - 封装 `ipcRenderer.invoke` 相关方法
20
- - 处理与主进程的通信请求
16
+ - Runtime Environment: Runs in the Renderer Process
17
+ - Main Responsibilities:
18
+ - Provides interface definitions for renderer process to call main process methods
19
+ - Encapsulates `ipcRenderer.invoke` related methods
20
+ - Handles communication requests with the main process
21
21
 
22
22
  ### electron-server-ipc
23
23
 
24
- - 运行环境:在 Electron 主进程和 Next.js 服务端进程中运行
25
- - 主要职责:
26
- - 提供基于 Socket IPC 通信机制
27
- - 实现服务端(ElectronIPCServer)和客户端(ElectronIpcClient)通信组件
28
- - 处理跨进程的请求和响应
29
- - 提供自动重连和错误处理机制
30
- - 确保类型安全的 API 调用
24
+ - Runtime Environment: Runs in both Electron main process and Next.js server process
25
+ - Main Responsibilities:
26
+ - Provides Socket-based IPC communication mechanism
27
+ - Implements server-side (ElectronIPCServer) and client-side (ElectronIpcClient) communication components
28
+ - Handles cross-process requests and responses
29
+ - Provides automatic reconnection and error handling mechanisms
30
+ - Ensures type-safe API calls
31
31
 
32
- ## 使用场景
32
+ ## Use Cases
33
33
 
34
- 当渲染进程需要:
34
+ When the renderer process needs to:
35
35
 
36
- - 访问系统 API
37
- - 进行文件操作
38
- - 调用主进程特定功能
36
+ - Access system APIs
37
+ - Perform file operations
38
+ - Call main process specific functions
39
39
 
40
- 时,都需要通过 `electron-client-ipc` 包提供的方法来发起请求。
40
+ All such operations need to be initiated through the methods provided by the `electron-client-ipc` package.
41
41
 
42
- ## 技术说明
42
+ ## Technical Notes
43
43
 
44
- 这种分包设计遵循了关注点分离原则,使得:
44
+ This separated package design follows the principle of separation of concerns, ensuring that:
45
45
 
46
- - IPC 通信接口清晰可维护
47
- - 客户端和服务端代码解耦
48
- - TypeScript 类型定义共享,确保类型安全
46
+ - IPC communication interfaces are clear and maintainable
47
+ - Client-side and server-side code are decoupled
48
+ - TypeScript type definitions are shared, ensuring type safety
49
+
50
+ ## 🤝 Contribution
51
+
52
+ IPC communication needs vary across different use cases and platforms. We welcome community contributions to improve and extend the IPC functionality. You can participate in improvements through:
53
+
54
+ ### How to Contribute
55
+
56
+ 1. **Bug Reports**: Report issues with IPC communication or type definitions
57
+ 2. **Feature Requests**: Suggest new IPC methods or improvements to existing interfaces
58
+ 3. **Code Contributions**: Submit pull requests for bug fixes or new features
59
+
60
+ ### Contribution Process
61
+
62
+ 1. Fork the [LobeChat repository](https://github.com/lobehub/lobe-chat)
63
+ 2. Make your changes to the IPC client package
64
+ 3. Submit a Pull Request describing:
65
+
66
+ - The problem being solved
67
+ - Implementation details
68
+ - Test cases or usage examples
69
+ - Impact on existing functionality
70
+
71
+ ## 📌 Note
72
+
73
+ This is an internal module of LobeHub (`"private": true`), designed specifically for LobeChat and not published as a standalone package.
@@ -0,0 +1,73 @@
1
+ # @lobechat/electron-client-ipc
2
+
3
+ 这个包是 LobeChat 在 Electron 环境中用于处理 IPC(进程间通信)的客户端工具包。
4
+
5
+ ## 介绍
6
+
7
+ 在 Electron 应用中,IPC(进程间通信)是连接主进程(Main Process)、渲染进程(Renderer Process)以及 NextJS 进程的桥梁。为了更好地组织和管理这些通信,我们将 IPC 相关的代码分成了两个包:
8
+
9
+ - `@lobechat/electron-client-ipc`:**客户端 IPC 包**
10
+ - `@lobechat/electron-server-ipc`:**服务端 IPC 包**
11
+
12
+ ## 主要区别
13
+
14
+ ### electron-client-ipc(本包)
15
+
16
+ - 运行环境:在渲染进程(Renderer Process)中运行
17
+ - 主要职责:
18
+ - 提供渲染进程调用主进程方法的接口定义
19
+ - 封装 `ipcRenderer.invoke` 相关方法
20
+ - 处理与主进程的通信请求
21
+
22
+ ### electron-server-ipc
23
+
24
+ - 运行环境:在 Electron 主进程和 Next.js 服务端进程中运行
25
+ - 主要职责:
26
+ - 提供基于 Socket 的 IPC 通信机制
27
+ - 实现服务端(ElectronIPCServer)和客户端(ElectronIpcClient)通信组件
28
+ - 处理跨进程的请求和响应
29
+ - 提供自动重连和错误处理机制
30
+ - 确保类型安全的 API 调用
31
+
32
+ ## 使用场景
33
+
34
+ 当渲染进程需要:
35
+
36
+ - 访问系统 API
37
+ - 进行文件操作
38
+ - 调用主进程特定功能
39
+
40
+ 时,都需要通过 `electron-client-ipc` 包提供的方法来发起请求。
41
+
42
+ ## 技术说明
43
+
44
+ 这种分包设计遵循了关注点分离原则,使得:
45
+
46
+ - IPC 通信接口清晰可维护
47
+ - 客户端和服务端代码解耦
48
+ - TypeScript 类型定义共享,确保类型安全
49
+
50
+ ## 🤝 参与贡献
51
+
52
+ 不同用例和平台的 IPC 通信需求各异。我们欢迎社区贡献来改进和扩展 IPC 功能。您可以通过以下方式参与改进:
53
+
54
+ ### 如何贡献
55
+
56
+ 1. **错误报告**:报告 IPC 通信或类型定义的问题
57
+ 2. **功能请求**:建议新的 IPC 方法或改进现有接口
58
+ 3. **代码贡献**:提交错误修复或新功能的拉取请求
59
+
60
+ ### 贡献流程
61
+
62
+ 1. Fork [LobeChat 仓库](https://github.com/lobehub/lobe-chat)
63
+ 2. 对 IPC 客户端包进行修改
64
+ 3. 提交 Pull Request 并描述:
65
+
66
+ - 解决的问题
67
+ - 实现细节
68
+ - 测试用例或使用示例
69
+ - 对现有功能的影响
70
+
71
+ ## 📌 说明
72
+
73
+ 这是 LobeHub 的内部模块(`"private": true`),专为 LobeChat 设计,不作为独立包发布。
@@ -1,54 +1,76 @@
1
1
  # @lobechat/electron-server-ipc
2
2
 
3
- LobeHub Electron 应用与服务端之间的 IPC(进程间通信)模块,提供可靠的跨进程通信能力。
3
+ IPC (Inter-Process Communication) module between LobeHub's Electron application and server, providing reliable cross-process communication capabilities.
4
4
 
5
- ## 📝 简介
5
+ ## 📝 Introduction
6
6
 
7
- `@lobechat/electron-server-ipc` LobeHub 桌面应用的核心组件,负责处理 Electron 主进程与 nextjs 服务端之间的通信。它提供了一套简单而健壮的 API,用于在不同进程间传递数据和执行远程方法调用。
7
+ `@lobechat/electron-server-ipc` is a core component of LobeHub's desktop application, responsible for handling communication between the Electron main process and Next.js server. It provides a simple yet robust API for passing data and executing remote method calls across different processes.
8
8
 
9
- ## 🛠️ 核心功能
9
+ ## 🛠️ Core Features
10
10
 
11
- - **可靠的 IPC 通信**: 基于 Socket 的通信机制,确保跨进程通信的稳定性和可靠性
12
- - **自动重连机制**: 客户端具备断线重连功能,提高应用稳定性
13
- - **类型安全**: 使用 TypeScript 提供完整的类型定义,确保 API 调用的类型安全
14
- - **跨平台支持**: 同时支持 WindowsmacOS Linux 平台
11
+ - **Reliable IPC Communication**: Socket-based communication mechanism ensuring stability and reliability of cross-process communication
12
+ - **Automatic Reconnection**: Client features automatic reconnection functionality to improve application stability
13
+ - **Type Safety**: Uses TypeScript to provide complete type definitions, ensuring type safety for API calls
14
+ - **Cross-Platform Support**: Supports Windows, macOS, and Linux platforms
15
15
 
16
- ## 🧩 核心组件
16
+ ## 🧩 Core Components
17
17
 
18
- ### IPC 服务端 (ElectronIPCServer)
18
+ ### IPC Server (ElectronIPCServer)
19
19
 
20
- 负责监听客户端请求并响应,通常运行在 Electron 的主进程中:
20
+ Responsible for listening to client requests and responding, typically runs in Electron's main process:
21
21
 
22
22
  ```typescript
23
23
  import { ElectronIPCEventHandler, ElectronIPCServer } from '@lobechat/electron-server-ipc';
24
24
 
25
- // 定义处理函数
25
+ // Define handler functions
26
26
  const eventHandler: ElectronIPCEventHandler = {
27
27
  getDatabasePath: async () => {
28
28
  return '/path/to/database';
29
29
  },
30
- // 其他处理函数...
30
+ // Other handler functions...
31
31
  };
32
32
 
33
- // 创建并启动服务器
33
+ // Create and start server
34
34
  const server = new ElectronIPCServer(eventHandler);
35
35
  server.start();
36
36
  ```
37
37
 
38
- ### IPC 客户端 (ElectronIpcClient)
38
+ ### IPC Client (ElectronIpcClient)
39
39
 
40
- 负责连接到服务端并发送请求,通常在服务端(如 Next.js 服务)中使用:
40
+ Responsible for connecting to the server and sending requests, typically used in the server (such as Next.js service):
41
41
 
42
42
  ```typescript
43
43
  import { ElectronIPCMethods, ElectronIpcClient } from '@lobechat/electron-server-ipc';
44
44
 
45
- // 创建客户端
45
+ // Create client
46
46
  const client = new ElectronIpcClient();
47
47
 
48
- // 发送请求
48
+ // Send request
49
49
  const dbPath = await client.sendRequest(ElectronIPCMethods.getDatabasePath);
50
50
  ```
51
51
 
52
- ## 📌 说明
52
+ ## 🤝 Contribution
53
53
 
54
- 这是 LobeHub 的内部模块 (`"private": true`),专为 LobeHub 桌面应用设计,不作为独立包发布。
54
+ IPC server implementations need to handle various communication scenarios and edge cases. We welcome community contributions to enhance reliability and functionality. You can participate in improvements through:
55
+
56
+ ### How to Contribute
57
+
58
+ 1. **Performance Optimization**: Improve IPC communication speed and reliability
59
+ 2. **Error Handling**: Enhance error recovery and reconnection mechanisms
60
+ 3. **New Features**: Add support for new IPC methods or communication patterns
61
+ 4. **Documentation**: Improve code documentation and usage examples
62
+
63
+ ### Contribution Process
64
+
65
+ 1. Fork the [LobeChat repository](https://github.com/lobehub/lobe-chat)
66
+ 2. Implement your improvements to the IPC server package
67
+ 3. Submit a Pull Request describing:
68
+
69
+ - Performance improvements or new features
70
+ - Testing methodology and results
71
+ - Compatibility considerations
72
+ - Usage examples
73
+
74
+ ## 📌 Note
75
+
76
+ This is an internal module of LobeHub (`"private": true`), designed specifically for LobeHub desktop applications and not published as a standalone package.
@@ -0,0 +1,76 @@
1
+ # @lobechat/electron-server-ipc
2
+
3
+ LobeHub 的 Electron 应用与服务端之间的 IPC(进程间通信)模块,提供可靠的跨进程通信能力。
4
+
5
+ ## 📝 简介
6
+
7
+ `@lobechat/electron-server-ipc` 是 LobeHub 桌面应用的核心组件,负责处理 Electron 主进程与 nextjs 服务端之间的通信。它提供了一套简单而健壮的 API,用于在不同进程间传递数据和执行远程方法调用。
8
+
9
+ ## 🛠️ 核心功能
10
+
11
+ - **可靠的 IPC 通信**: 基于 Socket 的通信机制,确保跨进程通信的稳定性和可靠性
12
+ - **自动重连机制**: 客户端具备断线重连功能,提高应用稳定性
13
+ - **类型安全**: 使用 TypeScript 提供完整的类型定义,确保 API 调用的类型安全
14
+ - **跨平台支持**: 同时支持 Windows、macOS 和 Linux 平台
15
+
16
+ ## 🧩 核心组件
17
+
18
+ ### IPC 服务端 (ElectronIPCServer)
19
+
20
+ 负责监听客户端请求并响应,通常运行在 Electron 的主进程中:
21
+
22
+ ```typescript
23
+ import { ElectronIPCEventHandler, ElectronIPCServer } from '@lobechat/electron-server-ipc';
24
+
25
+ // 定义处理函数
26
+ const eventHandler: ElectronIPCEventHandler = {
27
+ getDatabasePath: async () => {
28
+ return '/path/to/database';
29
+ },
30
+ // 其他处理函数...
31
+ };
32
+
33
+ // 创建并启动服务器
34
+ const server = new ElectronIPCServer(eventHandler);
35
+ server.start();
36
+ ```
37
+
38
+ ### IPC 客户端 (ElectronIpcClient)
39
+
40
+ 负责连接到服务端并发送请求,通常在服务端(如 Next.js 服务)中使用:
41
+
42
+ ```typescript
43
+ import { ElectronIPCMethods, ElectronIpcClient } from '@lobechat/electron-server-ipc';
44
+
45
+ // 创建客户端
46
+ const client = new ElectronIpcClient();
47
+
48
+ // 发送请求
49
+ const dbPath = await client.sendRequest(ElectronIPCMethods.getDatabasePath);
50
+ ```
51
+
52
+ ## 🤝 参与贡献
53
+
54
+ IPC 服务端实现需要处理各种通信场景和边缘情况。我们欢迎社区贡献来增强可靠性和功能性。您可以通过以下方式参与改进:
55
+
56
+ ### 如何贡献
57
+
58
+ 1. **性能优化**:提高 IPC 通信速度和可靠性
59
+ 2. **错误处理**:增强错误恢复和重连机制
60
+ 3. **新功能**:添加新的 IPC 方法或通信模式支持
61
+ 4. **文档改进**:改进代码文档和使用示例
62
+
63
+ ### 贡献流程
64
+
65
+ 1. Fork [LobeChat 仓库](https://github.com/lobehub/lobe-chat)
66
+ 2. 对 IPC 服务端包实施改进
67
+ 3. 提交 Pull Request 并描述:
68
+
69
+ - 性能改进或新功能
70
+ - 测试方法和结果
71
+ - 兼容性考虑
72
+ - 使用示例
73
+
74
+ ## 📌 说明
75
+
76
+ 这是 LobeHub 的内部模块 (`"private": true`),专为 LobeHub 桌面应用设计,不作为独立包发布。