@lobehub/lobehub 2.0.0-next.135 → 2.0.0-next.136
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/apps/desktop/package.json +4 -4
- package/changelog/v1.json +9 -0
- package/docs/development/database-schema.dbml +5 -0
- package/e2e/package.json +2 -2
- package/package.json +44 -44
- package/packages/database/migrations/0052_topic_and_messages.sql +9 -0
- package/packages/database/migrations/meta/0052_snapshot.json +8850 -0
- package/packages/database/migrations/meta/_journal.json +7 -0
- package/packages/database/src/core/migrations.json +15 -0
- package/packages/database/src/models/__tests__/topic.test.ts +12 -6
- package/packages/database/src/schemas/message.ts +5 -2
- package/packages/database/src/schemas/topic.ts +5 -0
- package/packages/model-runtime/package.json +2 -2
- package/packages/python-interpreter/src/worker.ts +18 -18
- package/packages/web-crawler/package.json +1 -1
- package/src/app/[variants]/(main)/settings/provider/(list)/ProviderGrid/index.tsx +19 -0
- package/src/app/[variants]/(main)/settings/provider/ProviderMenu/List.tsx +200 -73
- package/src/app/[variants]/(main)/settings/provider/detail/default/ClientMode.tsx +1 -1
- package/src/locales/default/modelProvider.ts +2 -0
- package/src/store/aiInfra/slices/aiProvider/__tests__/selectors.test.ts +15 -7
- package/src/store/aiInfra/slices/aiProvider/selectors.ts +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [Version 2.0.0-next.136](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.135...v2.0.0-next.136)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2025-11-30**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Refresh custom AI provider on selection.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **misc**: Refresh custom AI provider on selection, closes [#10506](https://github.com/lobehub/lobe-chat/issues/10506) ([d7db99e](https://github.com/lobehub/lobe-chat/commit/d7db99e))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
## [Version 2.0.0-next.135](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.134...v2.0.0-next.135)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2025-11-30**</sup>
|
|
@@ -45,21 +45,21 @@
|
|
|
45
45
|
"@lobechat/electron-server-ipc": "workspace:*",
|
|
46
46
|
"@lobechat/file-loaders": "workspace:*",
|
|
47
47
|
"@lobehub/i18n-cli": "^1.25.1",
|
|
48
|
-
"@types/lodash": "^4.17.
|
|
48
|
+
"@types/lodash": "^4.17.21",
|
|
49
49
|
"@types/resolve": "^1.20.6",
|
|
50
50
|
"@types/semver": "^7.7.1",
|
|
51
51
|
"@types/set-cookie-parser": "^2.4.10",
|
|
52
52
|
"@typescript/native-preview": "7.0.0-dev.20250711.1",
|
|
53
53
|
"consola": "^3.4.2",
|
|
54
|
-
"cookie": "^1.
|
|
54
|
+
"cookie": "^1.1.1",
|
|
55
55
|
"diff": "^8.0.2",
|
|
56
|
-
"electron": "^38.7.
|
|
56
|
+
"electron": "^38.7.2",
|
|
57
57
|
"electron-builder": "^26.0.12",
|
|
58
58
|
"electron-is": "^3.0.0",
|
|
59
59
|
"electron-log": "^5.4.3",
|
|
60
60
|
"electron-store": "^8.2.0",
|
|
61
61
|
"electron-vite": "^4.0.1",
|
|
62
|
-
"execa": "^9.6.
|
|
62
|
+
"execa": "^9.6.1",
|
|
63
63
|
"fast-glob": "^3.3.3",
|
|
64
64
|
"fix-path": "^5.0.0",
|
|
65
65
|
"http-proxy-agent": "^7.0.2",
|
package/changelog/v1.json
CHANGED
|
@@ -447,6 +447,7 @@ table messages {
|
|
|
447
447
|
id text [pk, not null]
|
|
448
448
|
role varchar(255) [not null]
|
|
449
449
|
content text
|
|
450
|
+
editor_data jsonb
|
|
450
451
|
reasoning jsonb
|
|
451
452
|
search jsonb
|
|
452
453
|
metadata jsonb
|
|
@@ -961,6 +962,9 @@ table topics {
|
|
|
961
962
|
title text
|
|
962
963
|
favorite boolean [default: false]
|
|
963
964
|
session_id text
|
|
965
|
+
content text
|
|
966
|
+
editor_data jsonb
|
|
967
|
+
agent_id text
|
|
964
968
|
group_id text
|
|
965
969
|
user_id text [not null]
|
|
966
970
|
client_id text
|
|
@@ -976,6 +980,7 @@ table topics {
|
|
|
976
980
|
(id, user_id) [name: 'topics_id_user_id_idx']
|
|
977
981
|
session_id [name: 'topics_session_id_idx']
|
|
978
982
|
group_id [name: 'topics_group_id_idx']
|
|
983
|
+
agent_id [name: 'topics_agent_id_idx']
|
|
979
984
|
}
|
|
980
985
|
}
|
|
981
986
|
|
package/e2e/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/lobehub",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.136",
|
|
4
4
|
"description": "LobeHub - an open-source,comprehensive AI Agent 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",
|
|
@@ -136,9 +136,9 @@
|
|
|
136
136
|
"@azure-rest/ai-inference": "1.0.0-beta.5",
|
|
137
137
|
"@azure/core-auth": "^1.10.1",
|
|
138
138
|
"@cfworker/json-schema": "^4.1.1",
|
|
139
|
-
"@clerk/localizations": "^3.28.
|
|
140
|
-
"@clerk/nextjs": "^6.35.
|
|
141
|
-
"@clerk/themes": "^2.4.
|
|
139
|
+
"@clerk/localizations": "^3.28.5",
|
|
140
|
+
"@clerk/nextjs": "^6.35.5",
|
|
141
|
+
"@clerk/themes": "^2.4.40",
|
|
142
142
|
"@codesandbox/sandpack-react": "^2.20.0",
|
|
143
143
|
"@cyntler/react-doc-viewer": "^1.17.1",
|
|
144
144
|
"@electric-sql/pglite": "0.2.17",
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"@fal-ai/client": "^1.7.2",
|
|
147
147
|
"@formkit/auto-animate": "^0.9.0",
|
|
148
148
|
"@google/genai": "^1.30.0",
|
|
149
|
-
"@huggingface/inference": "^4.13.
|
|
149
|
+
"@huggingface/inference": "^4.13.4",
|
|
150
150
|
"@icons-pack/react-simple-icons": "^13.8.0",
|
|
151
151
|
"@khmyznikov/pwa-install": "0.3.9",
|
|
152
152
|
"@langchain/community": "^0.3.57",
|
|
@@ -173,38 +173,38 @@
|
|
|
173
173
|
"@lobehub/icons": "^2.43.1",
|
|
174
174
|
"@lobehub/market-sdk": "^0.23.0",
|
|
175
175
|
"@lobehub/tts": "^2.0.1",
|
|
176
|
-
"@lobehub/ui": "^2.
|
|
177
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
176
|
+
"@lobehub/ui": "^2.18.3",
|
|
177
|
+
"@modelcontextprotocol/sdk": "^1.23.0",
|
|
178
178
|
"@neondatabase/serverless": "^1.0.2",
|
|
179
|
-
"@next/third-parties": "^16.0.
|
|
179
|
+
"@next/third-parties": "^16.0.5",
|
|
180
180
|
"@opentelemetry/exporter-jaeger": "^2.2.0",
|
|
181
181
|
"@opentelemetry/winston-transport": "^0.19.0",
|
|
182
182
|
"@react-pdf/renderer": "^4.3.1",
|
|
183
183
|
"@react-spring/web": "^9.7.5",
|
|
184
184
|
"@saintno/comfyui-sdk": "^0.2.49",
|
|
185
|
-
"@serwist/next": "^9.2.
|
|
185
|
+
"@serwist/next": "^9.2.3",
|
|
186
186
|
"@t3-oss/env-nextjs": "^0.13.8",
|
|
187
|
-
"@tanstack/react-query": "^5.90.
|
|
188
|
-
"@trpc/client": "^11.7.
|
|
189
|
-
"@trpc/next": "^11.7.
|
|
190
|
-
"@trpc/react-query": "^11.7.
|
|
191
|
-
"@trpc/server": "^11.7.
|
|
187
|
+
"@tanstack/react-query": "^5.90.11",
|
|
188
|
+
"@trpc/client": "^11.7.2",
|
|
189
|
+
"@trpc/next": "^11.7.2",
|
|
190
|
+
"@trpc/react-query": "^11.7.2",
|
|
191
|
+
"@trpc/server": "^11.7.2",
|
|
192
192
|
"@upstash/redis": "^1.35.7",
|
|
193
193
|
"@vercel/analytics": "^1.5.0",
|
|
194
194
|
"@vercel/edge-config": "^1.4.3",
|
|
195
|
-
"@vercel/functions": "^3.3.
|
|
195
|
+
"@vercel/functions": "^3.3.4",
|
|
196
196
|
"@vercel/speed-insights": "^1.2.0",
|
|
197
197
|
"@virtuoso.dev/masonry": "^1.3.5",
|
|
198
198
|
"@xterm/xterm": "^5.5.0",
|
|
199
199
|
"@zumer/snapdom": "^1.9.14",
|
|
200
200
|
"ahooks": "^3.9.6",
|
|
201
|
-
"antd": "^5.
|
|
201
|
+
"antd": "^5.29.1",
|
|
202
202
|
"antd-style": "^3.7.1",
|
|
203
|
-
"better-auth": "^1.4.
|
|
203
|
+
"better-auth": "^1.4.3",
|
|
204
204
|
"brotli-wasm": "^3.0.1",
|
|
205
|
-
"chroma-js": "^3.
|
|
205
|
+
"chroma-js": "^3.2.0",
|
|
206
206
|
"cmdk": "^1.1.1",
|
|
207
|
-
"cookie": "^1.
|
|
207
|
+
"cookie": "^1.1.1",
|
|
208
208
|
"countries-and-timezones": "^3.8.0",
|
|
209
209
|
"dayjs": "^1.11.19",
|
|
210
210
|
"debug": "^4.4.3",
|
|
@@ -215,15 +215,15 @@
|
|
|
215
215
|
"epub2": "^3.0.2",
|
|
216
216
|
"fast-deep-equal": "^3.1.3",
|
|
217
217
|
"fflate": "^0.8.2",
|
|
218
|
-
"file-type": "^21.1.
|
|
218
|
+
"file-type": "^21.1.1",
|
|
219
219
|
"framer-motion": "^12.23.24",
|
|
220
220
|
"gray-matter": "^4.0.3",
|
|
221
221
|
"html-to-text": "^9.0.5",
|
|
222
|
-
"i18next": "^25.6.
|
|
222
|
+
"i18next": "^25.6.3",
|
|
223
223
|
"i18next-browser-languagedetector": "^8.2.0",
|
|
224
224
|
"i18next-resources-to-backend": "^1.2.1",
|
|
225
225
|
"immer": "^10.2.0",
|
|
226
|
-
"ioredis": "^5.
|
|
226
|
+
"ioredis": "^5.8.2",
|
|
227
227
|
"jose": "^5.10.0",
|
|
228
228
|
"js-sha256": "^0.11.1",
|
|
229
229
|
"jsonl-parse-stringify": "^1.0.3",
|
|
@@ -238,14 +238,14 @@
|
|
|
238
238
|
"mdast-util-to-markdown": "^2.1.2",
|
|
239
239
|
"model-bank": "workspace:*",
|
|
240
240
|
"nanoid": "^5.1.6",
|
|
241
|
-
"next": "16.0.
|
|
241
|
+
"next": "16.0.5",
|
|
242
242
|
"next-auth": "5.0.0-beta.30",
|
|
243
243
|
"next-mdx-remote": "^5.0.0",
|
|
244
244
|
"nextjs-toploader": "^3.9.17",
|
|
245
245
|
"node-machine-id": "^1.1.12",
|
|
246
|
-
"nodemailer": "^7.0.
|
|
246
|
+
"nodemailer": "^7.0.11",
|
|
247
247
|
"numeral": "^2.0.6",
|
|
248
|
-
"nuqs": "^2.
|
|
248
|
+
"nuqs": "^2.8.1",
|
|
249
249
|
"officeparser": "5.1.1",
|
|
250
250
|
"oidc-provider": "^9.5.2",
|
|
251
251
|
"ollama": "^0.6.3",
|
|
@@ -280,21 +280,21 @@
|
|
|
280
280
|
"react-rnd": "^10.5.2",
|
|
281
281
|
"react-router-dom": "^7.9.6",
|
|
282
282
|
"react-scan": "^0.4.3",
|
|
283
|
-
"react-virtuoso": "^4.
|
|
283
|
+
"react-virtuoso": "^4.15.0",
|
|
284
284
|
"react-wrap-balancer": "^1.1.1",
|
|
285
285
|
"remark": "^15.0.1",
|
|
286
286
|
"remark-gfm": "^4.0.1",
|
|
287
287
|
"remark-html": "^16.0.1",
|
|
288
|
-
"resolve-accept-language": "^3.1.
|
|
288
|
+
"resolve-accept-language": "^3.1.15",
|
|
289
289
|
"rtl-detect": "^1.1.2",
|
|
290
290
|
"semver": "^7.7.3",
|
|
291
291
|
"sharp": "^0.34.5",
|
|
292
|
-
"shiki": "^3.
|
|
292
|
+
"shiki": "^3.17.0",
|
|
293
293
|
"ssrf-safe-fetch": "workspace:*",
|
|
294
294
|
"stripe": "^17.7.0",
|
|
295
|
-
"superjson": "^2.2.
|
|
295
|
+
"superjson": "^2.2.6",
|
|
296
296
|
"svix": "^1.81.0",
|
|
297
|
-
"swr": "^2.3.
|
|
297
|
+
"swr": "^2.3.7",
|
|
298
298
|
"systemjs": "^6.15.1",
|
|
299
299
|
"tokenx": "^1.2.1",
|
|
300
300
|
"ts-md5": "^2.0.1",
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
"virtua": "^0.47.0",
|
|
307
307
|
"word-extractor": "^1.0.4",
|
|
308
308
|
"ws": "^8.18.3",
|
|
309
|
-
"yaml": "^2.8.
|
|
309
|
+
"yaml": "^2.8.2",
|
|
310
310
|
"zod": "^3.25.76",
|
|
311
311
|
"zustand": "5.0.4",
|
|
312
312
|
"zustand-utils": "^2.1.1"
|
|
@@ -317,13 +317,13 @@
|
|
|
317
317
|
"@huggingface/tasks": "^0.19.63",
|
|
318
318
|
"@lobechat/types": "workspace:*",
|
|
319
319
|
"@lobehub/i18n-cli": "^1.25.1",
|
|
320
|
-
"@lobehub/lint": "^1.26.
|
|
320
|
+
"@lobehub/lint": "^1.26.3",
|
|
321
321
|
"@lobehub/market-types": "^1.11.4",
|
|
322
322
|
"@lobehub/seo-cli": "^1.7.0",
|
|
323
|
-
"@next/bundle-analyzer": "^16.0.
|
|
323
|
+
"@next/bundle-analyzer": "^16.0.5",
|
|
324
324
|
"@next/eslint-plugin-next": "^15.5.6",
|
|
325
325
|
"@peculiar/webcrypto": "^1.5.0",
|
|
326
|
-
"@playwright/test": "^1.
|
|
326
|
+
"@playwright/test": "^1.57.0",
|
|
327
327
|
"@prettier/sync": "^0.6.1",
|
|
328
328
|
"@semantic-release/exec": "^6.0.3",
|
|
329
329
|
"@testing-library/jest-dom": "^6.9.1",
|
|
@@ -336,19 +336,19 @@
|
|
|
336
336
|
"@types/ioredis": "^5.0.0",
|
|
337
337
|
"@types/ip": "^1.1.3",
|
|
338
338
|
"@types/json-schema": "^7.0.15",
|
|
339
|
-
"@types/lodash": "^4.17.
|
|
339
|
+
"@types/lodash": "^4.17.21",
|
|
340
340
|
"@types/lodash-es": "^4.17.12",
|
|
341
341
|
"@types/node": "^24.10.1",
|
|
342
|
-
"@types/nodemailer": "^7.0.
|
|
342
|
+
"@types/nodemailer": "^7.0.4",
|
|
343
343
|
"@types/numeral": "^2.0.5",
|
|
344
344
|
"@types/oidc-provider": "^9.5.0",
|
|
345
|
-
"@types/pdfkit": "^0.17.
|
|
345
|
+
"@types/pdfkit": "^0.17.4",
|
|
346
346
|
"@types/pg": "^8.15.6",
|
|
347
347
|
"@types/react": "19.2.2",
|
|
348
348
|
"@types/react-dom": "19.2.2",
|
|
349
349
|
"@types/rtl-detect": "^1.0.3",
|
|
350
350
|
"@types/semver": "^7.7.1",
|
|
351
|
-
"@types/systemjs": "^6.15.
|
|
351
|
+
"@types/systemjs": "^6.15.4",
|
|
352
352
|
"@types/ua-parser-js": "^0.7.39",
|
|
353
353
|
"@types/unist": "^3.0.3",
|
|
354
354
|
"@types/ws": "^8.18.1",
|
|
@@ -369,12 +369,12 @@
|
|
|
369
369
|
"eslint-plugin-mdx": "^3.6.2",
|
|
370
370
|
"fake-indexeddb": "^6.2.5",
|
|
371
371
|
"fs-extra": "^11.3.2",
|
|
372
|
-
"glob": "^11.0
|
|
373
|
-
"happy-dom": "^20.0.
|
|
372
|
+
"glob": "^11.1.0",
|
|
373
|
+
"happy-dom": "^20.0.11",
|
|
374
374
|
"husky": "^9.1.7",
|
|
375
375
|
"import-in-the-middle": "^2.0.0",
|
|
376
376
|
"just-diff": "^6.0.2",
|
|
377
|
-
"lint-staged": "^16.2.
|
|
377
|
+
"lint-staged": "^16.2.7",
|
|
378
378
|
"lodash": "^4.17.21",
|
|
379
379
|
"markdown-table": "^3.0.4",
|
|
380
380
|
"mcp-hello-world": "^1.1.2",
|
|
@@ -383,21 +383,21 @@
|
|
|
383
383
|
"node-gyp": "^11.5.0",
|
|
384
384
|
"openapi-typescript": "^7.10.1",
|
|
385
385
|
"p-map": "^7.0.4",
|
|
386
|
-
"prettier": "^3.
|
|
386
|
+
"prettier": "^3.7.3",
|
|
387
387
|
"remark-cli": "^12.0.1",
|
|
388
388
|
"remark-frontmatter": "^5.0.0",
|
|
389
389
|
"remark-mdx": "^3.1.1",
|
|
390
390
|
"remark-parse": "^11.0.0",
|
|
391
391
|
"require-in-the-middle": "^8.0.1",
|
|
392
392
|
"semantic-release": "^21.1.2",
|
|
393
|
-
"serwist": "^9.2.
|
|
393
|
+
"serwist": "^9.2.3",
|
|
394
394
|
"stylelint": "^15.11.0",
|
|
395
395
|
"tsx": "^4.20.6",
|
|
396
396
|
"type-fest": "^5.2.0",
|
|
397
397
|
"typescript": "^5.9.3",
|
|
398
398
|
"unified": "^11.0.5",
|
|
399
399
|
"unist-util-visit": "^5.0.0",
|
|
400
|
-
"vite": "^7.2.
|
|
400
|
+
"vite": "^7.2.4",
|
|
401
401
|
"vitest": "^3.2.4"
|
|
402
402
|
},
|
|
403
403
|
"packageManager": "pnpm@10.20.0",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
ALTER TABLE "messages" DROP CONSTRAINT "messages_agent_id_agents_id_fk";
|
|
2
|
+
--> statement-breakpoint
|
|
3
|
+
ALTER TABLE "messages" ADD COLUMN IF NOT EXISTS "editor_data" jsonb;--> statement-breakpoint
|
|
4
|
+
ALTER TABLE "topics" ADD COLUMN IF NOT EXISTS "content" text;--> statement-breakpoint
|
|
5
|
+
ALTER TABLE "topics" ADD COLUMN IF NOT EXISTS "editor_data" jsonb;--> statement-breakpoint
|
|
6
|
+
ALTER TABLE "topics" ADD COLUMN IF NOT EXISTS "agent_id" text;--> statement-breakpoint
|
|
7
|
+
ALTER TABLE "messages" ADD CONSTRAINT "messages_agent_id_agents_id_fk" FOREIGN KEY ("agent_id") REFERENCES "public"."agents"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
8
|
+
ALTER TABLE "topics" ADD CONSTRAINT "topics_agent_id_agents_id_fk" FOREIGN KEY ("agent_id") REFERENCES "public"."agents"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
9
|
+
CREATE INDEX IF NOT EXISTS "topics_agent_id_idx" ON "topics" USING btree ("agent_id");
|