@lobehub/chat 1.31.7 → 1.31.8
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/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/package.json +1 -1
- package/src/app/(main)/chat/(workspace)/@conversation/default.tsx +1 -3
- package/src/app/(main)/chat/(workspace)/@conversation/features/ChatInput/index.tsx +12 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Desktop/FilePreview/FileItem/Content.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Desktop/FilePreview/FileItem/index.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Desktop/FilePreview/FileItem/style.ts +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Desktop/FilePreview/FileItem/utils.ts +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Desktop/FilePreview/FileList.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Desktop/FilePreview/index.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Desktop/Footer/SendMore.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Desktop/Footer/index.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Desktop/Header/index.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Desktop/TextArea.test.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Desktop/TextArea.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Desktop/__tests__/useAutoFocus.test.ts +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Desktop/index.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Desktop/useAutoFocus.ts +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Mobile/Files/FileItem/File.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Mobile/Files/FileItem/Image.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Mobile/Files/FileItem/index.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Mobile/Files/FileItem/style.ts +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Mobile/Files/index.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Mobile/InputArea/Container.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Mobile/InputArea/index.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Mobile/Send.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/Mobile/index.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/components/UploadDetail/UploadStatus.tsx +0 -0
- /package/src/{app/(main)/chat/(workspace)/@conversation/features → features}/ChatInput/components/UploadDetail/index.tsx +0 -0
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,31 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.31.8](https://github.com/lobehub/lobe-chat/compare/v1.31.7...v1.31.8)
|
6
|
+
|
7
|
+
<sup>Released on **2024-11-15**</sup>
|
8
|
+
|
9
|
+
#### ♻ Code Refactoring
|
10
|
+
|
11
|
+
- **misc**: Move ChatInput to features/ChatInput.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### Code refactoring
|
19
|
+
|
20
|
+
- **misc**: Move ChatInput to features/ChatInput, closes [#4699](https://github.com/lobehub/lobe-chat/issues/4699) ([5737d3f](https://github.com/lobehub/lobe-chat/commit/5737d3f))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
### [Version 1.31.7](https://github.com/lobehub/lobe-chat/compare/v1.31.6...v1.31.7)
|
6
31
|
|
7
32
|
<sup>Released on **2024-11-15**</sup>
|
package/README.md
CHANGED
@@ -287,12 +287,12 @@ Our marketplace is not just a showcase platform but also a collaborative space.
|
|
287
287
|
|
288
288
|
| Recent Submits | Description |
|
289
289
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
290
|
+
| [Thinking Claude](https://chat-preview.lobehub.com/market?agent=thinking-claude)<br/><sup>By **[AnoyiX](https://github.com/AnoyiX)** on **2024-11-14**</sup> | Let Claude think comprehensively before responding!<br/>`common` |
|
290
291
|
| [Machine Vision LaTeX](https://chat-preview.lobehub.com/market?agent=cv-latex)<br/><sup>By **[5xiao0qing5](https://github.com/5xiao0qing5)** on **2024-10-29**</sup> | Specializes in explaining concepts of machine learning and deep learning<br/>`machine-learning` `deep-learning` `image-processing` `computer-vision` `la-te-x` |
|
291
292
|
| [Domain Analysis Master](https://chat-preview.lobehub.com/market?agent=domain)<br/><sup>By **[ccbikai](https://github.com/ccbikai)** on **2024-10-29**</sup> | Expert in domain analysis and humorous suggestions<br/>`domain-analysis` `humor` `culture` `website-suggestions` `purchase-advice` |
|
292
293
|
| [Ingo Hausmann](https://chat-preview.lobehub.com/market?agent=pc-beschaffung-ingo-hausmann)<br/><sup>By **[bionicprompter](https://github.com/bionicprompter)** on **2024-10-29**</sup> | Ingo Hausmann wants to be advised on a new purchase of PCs<br/>`company` `hardware` `needs-assessment` `it` `applications` |
|
293
|
-
| [Print to Table](https://chat-preview.lobehub.com/market?agent=print-to-table)<br/><sup>By **[printtotable](https://github.com/printtotable)** on **2024-10-29**</sup> | Transform data from images into organized tables in Excel.<br/>`data-extraction` `tables` `advertising` `influencer` `excel` |
|
294
294
|
|
295
|
-
> 📊 Total agents: [<kbd>**
|
295
|
+
> 📊 Total agents: [<kbd>**431**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
296
296
|
|
297
297
|
<!-- AGENT LIST -->
|
298
298
|
|
package/README.zh-CN.md
CHANGED
@@ -276,12 +276,12 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
276
276
|
|
277
277
|
| 最近新增 | 助手说明 |
|
278
278
|
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
279
|
+
| [思考克劳德](https://chat-preview.lobehub.com/market?agent=thinking-claude)<br/><sup>By **[AnoyiX](https://github.com/AnoyiX)** on **2024-11-14**</sup> | 让克劳德在回应之前全面思考!<br/>`常见` |
|
279
280
|
| [机器视觉 latex](https://chat-preview.lobehub.com/market?agent=cv-latex)<br/><sup>By **[5xiao0qing5](https://github.com/5xiao0qing5)** on **2024-10-29**</sup> | 擅长机器学习与深度学习概念解析<br/>`机器学习` `深度学习` `图像处理` `计算机视觉` `la-te-x` |
|
280
281
|
| [域名分析大师](https://chat-preview.lobehub.com/market?agent=domain)<br/><sup>By **[ccbikai](https://github.com/ccbikai)** on **2024-10-29**</sup> | 擅长域名分析与幽默建议<br/>`域名分析` `幽默` `文化` `建站建议` `购买建议` |
|
281
282
|
| [英戈・豪斯曼](https://chat-preview.lobehub.com/market?agent=pc-beschaffung-ingo-hausmann)<br/><sup>By **[bionicprompter](https://github.com/bionicprompter)** on **2024-10-29**</sup> | 英戈・豪斯曼希望就新购置的电脑进行咨询<br/>`公司` `硬件` `需求分析` `it` `应用` |
|
282
|
-
| [打印到表格](https://chat-preview.lobehub.com/market?agent=print-to-table)<br/><sup>By **[printtotable](https://github.com/printtotable)** on **2024-10-29**</sup> | 将图像数据转换为 Excel 中的组织表格。<br/>`数据提取` `表格` `广告` `影响者` `excel` |
|
283
283
|
|
284
|
-
> 📊 Total agents: [<kbd>**
|
284
|
+
> 📊 Total agents: [<kbd>**431**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
285
285
|
|
286
286
|
<!-- AGENT LIST -->
|
287
287
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.31.
|
3
|
+
"version": "1.31.8",
|
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,14 +1,12 @@
|
|
1
1
|
import { isMobileDevice } from '@/utils/server/responsive';
|
2
2
|
|
3
3
|
import ChatHydration from './features/ChatHydration';
|
4
|
-
import
|
5
|
-
import MobileChatInput from './features/ChatInput/Mobile';
|
4
|
+
import ChatInput from './features/ChatInput';
|
6
5
|
import ChatList from './features/ChatList';
|
7
6
|
import ZenModeToast from './features/ZenModeToast';
|
8
7
|
|
9
8
|
const ChatConversation = () => {
|
10
9
|
const mobile = isMobileDevice();
|
11
|
-
const ChatInput = mobile ? MobileChatInput : DesktopChatInput;
|
12
10
|
|
13
11
|
return (
|
14
12
|
<>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import DesktopChatInput from '@/features/ChatInput/Desktop';
|
2
|
+
import MobileChatInput from '@/features/ChatInput/Mobile';
|
3
|
+
import { isMobileDevice } from '@/utils/server/responsive';
|
4
|
+
|
5
|
+
const ChatInput = () => {
|
6
|
+
const mobile = isMobileDevice();
|
7
|
+
const Input = mobile ? MobileChatInput : DesktopChatInput;
|
8
|
+
|
9
|
+
return <Input />;
|
10
|
+
};
|
11
|
+
|
12
|
+
export default ChatInput;
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|