@lobehub/chat 1.142.3 → 1.142.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/CHANGELOG.md +26 -0
- package/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/changelog/v1.json +9 -0
- package/docs/development/database-schema.dbml +1 -0
- package/package.json +1 -1
- package/packages/database/migrations/0039_add_editor_data.sql +1 -0
- package/packages/database/migrations/meta/0039_snapshot.json +7586 -0
- package/packages/database/migrations/meta/_journal.json +7 -0
- package/packages/database/src/core/migrations.json +6 -0
- package/packages/database/src/schemas/document.ts +2 -0
- package/packages/database/src/utils/__tests__/groupMessages.test.ts +989 -0
- package/packages/database/src/utils/groupMessages.ts +359 -0
- package/packages/memory-extract/.env.example +3 -0
- package/packages/memory-extract/package.json +21 -0
- package/packages/memory-extract/vitest.config.mts +10 -0
- package/packages/model-runtime/src/core/streams/protocol.ts +3 -3
- package/packages/model-runtime/src/types/chat.ts +2 -2
- package/packages/obervability-otel/package.json +2 -2
- package/packages/types/src/message/common/base.ts +0 -1
- package/packages/types/src/message/common/metadata.ts +5 -5
- package/packages/types/src/message/common/tools.ts +17 -0
- package/packages/types/src/message/db/item.ts +23 -17
- package/packages/types/src/message/ui/chat.ts +22 -66
- package/packages/types/src/message/ui/index.ts +1 -0
- package/packages/types/src/message/ui/params.ts +65 -0
- package/packages/types/src/tool/builtin.ts +34 -0
- package/packages/types/src/tool/intervention.ts +39 -0
- package/packages/utils/src/fetch/fetchSSE.ts +4 -4
- package/renovate.json +14 -2
- package/src/app/[variants]/(main)/settings/provider/features/ProviderConfig/Checker.tsx +7 -2
- package/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx +21 -1
- package/src/features/ChatItem/components/Title.tsx +4 -3
- package/src/features/Conversation/Messages/Assistant/MessageContent.tsx +3 -16
- package/src/features/Conversation/Messages/Assistant/index.tsx +3 -3
- package/src/features/Conversation/{utils.test.ts → utils/markdown.test.ts} +1 -1
- package/src/features/Conversation/{utils.ts → utils/markdown.ts} +1 -1
- package/src/features/ModelSwitchPanel/index.tsx +1 -0
- package/src/tools/web-browsing/Render/PageContent/index.tsx +2 -2
- package/src/tools/web-browsing/Render/index.tsx +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 1.142.4](https://github.com/lobehub/lobe-chat/compare/v1.142.3...v1.142.4)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2025-10-27**</sup>
|
|
8
|
+
|
|
9
|
+
#### 💄 Styles
|
|
10
|
+
|
|
11
|
+
- **misc**: Pre render ModelSwitchPanel, The error details of the connectivity check lead to a layout problem.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### Styles
|
|
19
|
+
|
|
20
|
+
- **misc**: Pre render ModelSwitchPanel, closes [#9499](https://github.com/lobehub/lobe-chat/issues/9499) ([840382b](https://github.com/lobehub/lobe-chat/commit/840382b))
|
|
21
|
+
- **misc**: The error details of the connectivity check lead to a layout problem, closes [#9872](https://github.com/lobehub/lobe-chat/issues/9872) ([ea42e60](https://github.com/lobehub/lobe-chat/commit/ea42e60))
|
|
22
|
+
|
|
23
|
+
</details>
|
|
24
|
+
|
|
25
|
+
<div align="right">
|
|
26
|
+
|
|
27
|
+
[](#readme-top)
|
|
28
|
+
|
|
29
|
+
</div>
|
|
30
|
+
|
|
5
31
|
### [Version 1.142.3](https://github.com/lobehub/lobe-chat/compare/v1.142.2...v1.142.3)
|
|
6
32
|
|
|
7
33
|
<sup>Released on **2025-10-27**</sup>
|
package/README.md
CHANGED
|
@@ -382,14 +382,14 @@ In addition, these plugins are not limited to news aggregation, but can also ext
|
|
|
382
382
|
|
|
383
383
|
<!-- PLUGIN LIST -->
|
|
384
384
|
|
|
385
|
-
| Recent Submits | Description
|
|
386
|
-
| ---------------------------------------------------------------------------------------------------------------------------- |
|
|
387
|
-
| [
|
|
388
|
-
| [
|
|
389
|
-
| [
|
|
390
|
-
| [
|
|
391
|
-
|
|
392
|
-
> 📊 Total plugins: [<kbd>**
|
|
385
|
+
| Recent Submits | Description |
|
|
386
|
+
| ---------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
|
|
387
|
+
| [Shopping tools](https://lobechat.com/discover/plugin/ShoppingTools)<br/><sup>By **shoppingtools** on **2025-10-27**</sup> | Search for products on eBay & AliExpress, find eBay events & coupons. Get prompt examples.<br/>`shopping` `e-bay` `ali-express` `coupons` |
|
|
388
|
+
| [PortfolioMeta](https://lobechat.com/discover/plugin/StockData)<br/><sup>By **portfoliometa** on **2025-09-27**</sup> | Analyze stocks and get comprehensive real-time investment data and analytics.<br/>`stock` |
|
|
389
|
+
| [Web](https://lobechat.com/discover/plugin/web)<br/><sup>By **Proghit** on **2025-01-24**</sup> | Smart web search that reads and analyzes pages to deliver comprehensive answers from Google results.<br/>`web` `search` |
|
|
390
|
+
| [Bing_websearch](https://lobechat.com/discover/plugin/Bingsearch-identifier)<br/><sup>By **FineHow** on **2024-12-22**</sup> | Search for information from the internet base BingApi<br/>`bingsearch` |
|
|
391
|
+
|
|
392
|
+
> 📊 Total plugins: [<kbd>**42**</kbd>](https://lobechat.com/discover/plugins)
|
|
393
393
|
|
|
394
394
|
<!-- PLUGIN LIST -->
|
|
395
395
|
|
package/README.zh-CN.md
CHANGED
|
@@ -375,14 +375,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
375
375
|
|
|
376
376
|
<!-- PLUGIN LIST -->
|
|
377
377
|
|
|
378
|
-
| 最近新增 | 描述
|
|
379
|
-
| -------------------------------------------------------------------------------------------------------------------------- |
|
|
380
|
-
| [
|
|
381
|
-
| [
|
|
382
|
-
| [
|
|
383
|
-
| [
|
|
384
|
-
|
|
385
|
-
> 📊 Total plugins: [<kbd>**
|
|
378
|
+
| 最近新增 | 描述 |
|
|
379
|
+
| -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
|
|
380
|
+
| [购物工具](https://lobechat.com/discover/plugin/ShoppingTools)<br/><sup>By **shoppingtools** on **2025-10-27**</sup> | 在 eBay 和 AliExpress 上搜索产品,查找 eBay 活动和优惠券。获取快速示例。<br/>`购物` `e-bay` `ali-express` `优惠券` |
|
|
381
|
+
| [PortfolioMeta](https://lobechat.com/discover/plugin/StockData)<br/><sup>By **portfoliometa** on **2025-09-27**</sup> | 分析股票并获取全面的实时投资数据和分析。<br/>`股票` |
|
|
382
|
+
| [网页](https://lobechat.com/discover/plugin/web)<br/><sup>By **Proghit** on **2025-01-24**</sup> | 智能网页搜索,读取和分析页面,以提供来自 Google 结果的全面答案。<br/>`网页` `搜索` |
|
|
383
|
+
| [必应网页搜索](https://lobechat.com/discover/plugin/Bingsearch-identifier)<br/><sup>By **FineHow** on **2024-12-22**</sup> | 通过 BingApi 搜索互联网上的信息<br/>`bingsearch` |
|
|
384
|
+
|
|
385
|
+
> 📊 Total plugins: [<kbd>**42**</kbd>](https://lobechat.com/discover/plugins)
|
|
386
386
|
|
|
387
387
|
<!-- PLUGIN LIST -->
|
|
388
388
|
|
package/changelog/v1.json
CHANGED
|
@@ -193,6 +193,7 @@ table documents {
|
|
|
193
193
|
file_id text
|
|
194
194
|
user_id text [not null]
|
|
195
195
|
client_id text
|
|
196
|
+
editor_data jsonb
|
|
196
197
|
accessed_at "timestamp with time zone" [not null, default: `now()`]
|
|
197
198
|
created_at "timestamp with time zone" [not null, default: `now()`]
|
|
198
199
|
updated_at "timestamp with time zone" [not null, default: `now()`]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "1.142.
|
|
3
|
+
"version": "1.142.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",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ALTER TABLE "documents" ADD COLUMN IF NOT EXISTS "editor_data" jsonb;
|