@lobehub/chat 0.114.4 → 0.114.5

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 CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 0.114.5](https://github.com/lobehub/lobe-chat/compare/v0.114.4...v0.114.5)
6
+
7
+ <sup>Released on **2023-12-19**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Fix plugin iframe width.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Fix plugin iframe width, closes [#721](https://github.com/lobehub/lobe-chat/issues/721) ([53ad132](https://github.com/lobehub/lobe-chat/commit/53ad132))
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.114.4](https://github.com/lobehub/lobe-chat/compare/v0.114.3...v0.114.4)
6
31
 
7
32
  <sup>Released on **2023-12-19**</sup>
package/README.md CHANGED
@@ -52,7 +52,7 @@ Supports one-click free deployment of your private ChatGPT/LLM web application.
52
52
  - [✨ Features](#-features)
53
53
  - [⚡️ Performance](#️-performance)
54
54
  - [🛳 Self Hosting](#-self-hosting)
55
- - [`A` Deploying with Vercel or Zeabur](#a-deploying-with-vercel-or-zeabur)
55
+ - [`A` Deploying with Vercel, Zeabur or Sealos](#a-deploying-with-vercel-zeabur-or-sealos)
56
56
  - [`B` Deploying with Docker](#b-deploying-with-docker)
57
57
  - [Environment Variable](#environment-variable)
58
58
  - [📦 Ecosystem](#-ecosystem)
@@ -206,14 +206,14 @@ Our marketplace is not just a showcase platform but also a collaborative space.
206
206
 
207
207
  <!-- AGENT LIST -->
208
208
 
209
- | Recent Submits | Description |
210
- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
211
- | [Simulated ChatGPT Web](https://chat-preview.lobehub.com/market?agent=chat-gpt-web)<br/><sup>By **[pzcn](https://github.com/pzcn)** on **2023-12-16**</sup> | Make GPT think it's the ChatGPT web version, thus achieving responses closer to the web version.<br/>`assistant` `conversation` |
212
- | [Greeting](https://chat-preview.lobehub.com/market?agent=congratulations-with-smileys)<br/><sup>By **[almaziphone](https://github.com/almaziphone)** on **2023-12-16**</sup> | Compose a beautiful and brief greeting with emojis<br/>`greeting` `celebration` `kind` |
213
- | [Real Estate Agent](https://chat-preview.lobehub.com/market?agent=estate-agency)<br/><sup>By **[ccsen](https://github.com/ccsen)** on **2023-12-16**</sup> | Professional real estate agent expert, proficient in property consultation and management.<br/>`real-estate` `real-estate-agent` `knowledge-expert` `property-appraisal` `buying-a-house` `property-management` |
214
- | [Criminal Defense Expert](https://chat-preview.lobehub.com/market?agent=yundaodev-1)<br/><sup>By **[SuperLande](https://github.com/SuperLande)** on **2023-12-16**</sup> | A Chinese criminal law expert who has been engaged in criminal defense practice for many years and understands the theory of criminal law and criminal procedure law<br/>`criminal-defense` |
209
+ | Recent Submits | Description |
210
+ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
211
+ | [Dream Painter](https://chat-preview.lobehub.com/market?agent=dream-painter)<br/><sup>By **[ccdanpian](https://github.com/ccdanpian)** on **2023-12-19**</sup> | A dream artist who can bring your dreams into reality.<br/>`txt-2-img` `painter` |
212
+ | [NewsHub](https://chat-preview.lobehub.com/market?agent=news-hub)<br/><sup>By **[ccdanpian](https://github.com/ccdanpian)** on **2023-12-19**</sup> | A news search assistant proficient at finding and presenting relevant news<br/>`news` `search` `helper` |
213
+ | [NewsNest](https://chat-preview.lobehub.com/market?agent=news-nest)<br/><sup>By **[ccdanpian](https://github.com/ccdanpian)** on **2023-12-19**</sup> | A news search assistant, can help you find and display relevant news based on your needs.<br/>`news` `search` |
214
+ | [Travel Assistant](https://chat-preview.lobehub.com/market?agent=travel-assistant)<br/><sup>By **[ccdanpian](https://github.com/ccdanpian)** on **2023-12-19**</sup> | An experienced outdoor hiking and adventure expert who creates travel plans based on user requirements.<br/>`outdoor` `hiking` |
215
215
 
216
- > 📊 Total agents: [<kbd>**73**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
216
+ > 📊 Total agents: [<kbd>**77**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
217
217
 
218
218
  <!-- AGENT LIST -->
219
219
 
@@ -327,7 +327,7 @@ Beside these features, LobeChat also have much better basic technique undergroun
327
327
 
328
328
  LobeChat provides Self-Hosted Version with Vercel and [Docker Image][docker-release-link]. This allows you to deploy your own chatbot within a few minutes without any prior knowledge.
329
329
 
330
- ### `A` Deploying with Vercel or Zeabur
330
+ ### `A` Deploying with Vercel, Zeabur or Sealos
331
331
 
332
332
  If you want to deploy this service yourself on either Vercel or Zeabur, you can follow these steps:
333
333
 
@@ -338,9 +338,9 @@ If you want to deploy this service yourself on either Vercel or Zeabur, you can
338
338
 
339
339
  <div align="center">
340
340
 
341
- | Deploy with Vercel | Deploy with Zeabur |
342
- | :-------------------------------------: | :---------------------------------------------------------: |
343
- | [![][deploy-button-image]][deploy-link] | [![][deploy-on-zeabur-button-image]][deploy-on-zeabur-link] |
341
+ | Deploy with Vercel | Deploy with Zeabur | Deploy with Sealos |
342
+ | :-------------------------------------: | :---------------------------------------------------------: | :---------------------------------------------------------: |
343
+ | [![][deploy-button-image]][deploy-link] | [![][deploy-on-zeabur-button-image]][deploy-on-zeabur-link] | [![][deploy-on-sealos-button-image]][deploy-on-sealos-link] |
344
344
 
345
345
  </div>
346
346
 
@@ -571,6 +571,8 @@ This project is [MIT](./LICENSE) licensed.
571
571
  [codespaces-shield]: https://github.com/codespaces/badge.svg
572
572
  [deploy-button-image]: https://vercel.com/button
573
573
  [deploy-link]: https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat&env=OPENAI_API_KEY&envDescription=Find%20your%20OpenAI%20API%20Key%20by%20click%20the%20right%20Learn%20More%20button.&envLink=https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys&project-name=lobe-chat&repository-name=lobe-chat
574
+ [deploy-on-sealos-button-image]: https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg
575
+ [deploy-on-sealos-link]: https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Dlobe-chat
574
576
  [deploy-on-zeabur-button-image]: https://zeabur.com/button.svg
575
577
  [deploy-on-zeabur-link]: https://zeabur.com/templates/VZGGTI
576
578
  [discord-link]: https://discord.gg/AYFPHvv2jT
package/README.zh-CN.md CHANGED
@@ -49,7 +49,7 @@ LobeChat 是开源的高性能聊天机器人框架,支持语音合成、多
49
49
  - [✨ 特性一览](#-特性一览)
50
50
  - [⚡️ 性能测试](#️-性能测试)
51
51
  - [🛳 开箱即用](#-开箱即用)
52
- - [`A` 使用 Vercel 或 Zeabur 部署](#a-使用-vercel-或-zeabur-部署)
52
+ - [`A` 使用 Vercel、Zeabur 或 Sealos 部署](#a-使用-vercelzeabur-或-sealos-部署)
53
53
  - [`B` 使用 Docker 部署](#b-使用-docker-部署)
54
54
  - [环境变量](#环境变量)
55
55
  - [📦 生态系统](#-生态系统)
@@ -183,14 +183,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
183
183
 
184
184
  <!-- AGENT LIST -->
185
185
 
186
- | 最近新增 | 助手说明 |
187
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
188
- | [模拟 ChatGPT Web](https://chat-preview.lobehub.com/market?agent=chat-gpt-web)<br/><sup>By **[pzcn](https://github.com/pzcn)** on **2023-12-16**</sup> | 使 GPT 认为自己是 ChatGPT 网页版,从而达到更加接近于网页版的回复<br/>`助手` `对话` |
189
- | [祝贺](https://chat-preview.lobehub.com/market?agent=congratulations-with-smileys)<br/><sup>By **[almaziphone](https://github.com/almaziphone)** on **2023-12-16**</sup> | 用表情符号编写美丽而简短的祝贺<br/>`祝贺` `节日` `善良` |
190
- | [房地产经纪人](https://chat-preview.lobehub.com/market?agent=estate-agency)<br/><sup>By **[ccsen](https://github.com/ccsen)** on **2023-12-16**</sup> | 专业的房地产经纪人专家,精通房地产咨询和管理。<br/>`房地产` `房地产经纪人` `知识专家` `房产评估` `购房` `物业管理` |
191
- | [刑辩专家](https://chat-preview.lobehub.com/market?agent=yundaodev-1)<br/><sup>By **[SuperLande](https://github.com/SuperLande)** on **2023-12-16**</sup> | 一位中国刑事法律专家,从事多年刑事辩护实务工作,了解刑法与刑事诉讼法理论<br/>`刑辩` |
186
+ | 最近新增 | 助手说明 |
187
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
188
+ | [梦境画家](https://chat-preview.lobehub.com/market?agent=dream-painter)<br/><sup>By **[ccdanpian](https://github.com/ccdanpian)** on **2023-12-19**</sup> | 一位能将你的梦想变成现实的梦境艺术家。<br/>`txt-2-img` `painter` |
189
+ | [NewsHub](https://chat-preview.lobehub.com/market?agent=news-hub)<br/><sup>By **[ccdanpian](https://github.com/ccdanpian)** on **2023-12-19**</sup> | 一个新闻搜索助手,擅长查找和呈现相关新闻<br/>`新闻` `搜索` `助手` |
190
+ | [NewsNest](https://chat-preview.lobehub.com/market?agent=news-nest)<br/><sup>By **[ccdanpian](https://github.com/ccdanpian)** on **2023-12-19**</sup> | 一个新闻搜索助手,可以根据您的需求帮助您查找和显示相关新闻。<br/>`新闻` `搜索` |
191
+ | [旅行助手](https://chat-preview.lobehub.com/market?agent=travel-assistant)<br/><sup>By **[ccdanpian](https://github.com/ccdanpian)** on **2023-12-19**</sup> | 一位经验丰富的户外徒步和冒险专家,根据用户需求制定旅行计划。<br/>`户外` `徒步` |
192
192
 
193
- > 📊 Total agents: [<kbd>**73**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
193
+ > 📊 Total agents: [<kbd>**77**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
194
194
 
195
195
  <!-- AGENT LIST -->
196
196
 
@@ -299,7 +299,7 @@ LobeChat 提供了 Vercel 的 自托管版本 和 [Docker 镜像][docker-release
299
299
 
300
300
  <br/>
301
301
 
302
- ### `A` 使用 Vercel 或 Zeabur 部署
302
+ ### `A` 使用 Vercel、Zeabur 或 Sealos 部署
303
303
 
304
304
  如果想在 Vercel 或 Zeabur 上部署该服务,可以按照以下步骤进行操作:
305
305
 
@@ -310,9 +310,9 @@ LobeChat 提供了 Vercel 的 自托管版本 和 [Docker 镜像][docker-release
310
310
 
311
311
  <div align="center">
312
312
 
313
- | 使用 Vercel 部署 | 使用 Zeabur 部署 |
314
- | :-------------------------------------: | :---------------------------------------------------------: |
315
- | [![][deploy-button-image]][deploy-link] | [![][deploy-on-zeabur-button-image]][deploy-on-zeabur-link] |
313
+ | 使用 Vercel 部署 | 使用 Zeabur 部署 | 使用 Sealos 部署 |
314
+ | :-------------------------------------: | :---------------------------------------------------------: | :---------------------------------------------------------: |
315
+ | [![][deploy-button-image]][deploy-link] | [![][deploy-on-zeabur-button-image]][deploy-on-zeabur-link] | [![][deploy-on-sealos-button-image]][deploy-on-sealos-link] |
316
316
 
317
317
  </div>
318
318
 
@@ -543,6 +543,8 @@ This project is [MIT](./LICENSE) licensed.
543
543
  [codespaces-shield]: https://github.com/codespaces/badge.svg
544
544
  [deploy-button-image]: https://vercel.com/button
545
545
  [deploy-link]: https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat&env=OPENAI_API_KEY&envDescription=Find%20your%20OpenAI%20API%20Key%20by%20click%20the%20right%20Learn%20More%20button.&envLink=https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys&project-name=lobe-chat&repository-name=lobe-chat
546
+ [deploy-on-sealos-button-image]: https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg
547
+ [deploy-on-sealos-link]: https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Dlobe-chat
546
548
  [deploy-on-zeabur-button-image]: https://zeabur.com/button.svg
547
549
  [deploy-on-zeabur-link]: https://zeabur.com/templates/VZGGTI
548
550
  [discord-link]: https://discord.gg/AYFPHvv2jT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.114.4",
3
+ "version": "0.114.5",
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",
@@ -35,7 +35,7 @@ const IFrameRender = memo<IFrameRenderProps>(({ url, width = 800, height = 300,
35
35
 
36
36
  return (
37
37
  <>
38
- {loading && <Skeleton active style={{ width }} />}
38
+ {loading && <Skeleton active style={{ maxWidth: '100%', width }} />}
39
39
  <iframe
40
40
  // @ts-ignore
41
41
  allowtransparency="true"
@@ -51,6 +51,7 @@ const IFrameRender = memo<IFrameRenderProps>(({ url, width = 800, height = 300,
51
51
  // iframe 在 color-scheme:dark 模式下无法透明
52
52
  // refs: https://www.jianshu.com/p/bc5a37bb6a7b
53
53
  colorScheme: 'light',
54
+ maxWidth: '100%',
54
55
  }}
55
56
  width={width}
56
57
  />
@@ -120,7 +120,7 @@ const IFrameRender = memo<IFrameRenderProps>(({ url, id, payload, width = 600, h
120
120
 
121
121
  return (
122
122
  <>
123
- {loading && <Skeleton active style={{ width }} />}
123
+ {loading && <Skeleton active style={{ maxWidth: '100%', width }} />}
124
124
  <iframe
125
125
  // @ts-ignore
126
126
  allowtransparency="true"
@@ -136,6 +136,7 @@ const IFrameRender = memo<IFrameRenderProps>(({ url, id, payload, width = 600, h
136
136
  // iframe 在 color-scheme:dark 模式下无法透明
137
137
  // refs: https://www.jianshu.com/p/bc5a37bb6a7b
138
138
  colorScheme: 'light',
139
+ maxWidth: '100%',
139
140
  }}
140
141
  width={width}
141
142
  />