@lobehub/lobehub 2.0.0-next.150 → 2.0.0-next.152

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 (56) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/changelog/v1.json +18 -0
  3. package/docs/development/database-schema.dbml +1 -0
  4. package/locales/ar/auth.json +1 -0
  5. package/locales/ar/models.json +0 -9
  6. package/locales/bg-BG/auth.json +1 -0
  7. package/locales/bg-BG/models.json +0 -9
  8. package/locales/de-DE/auth.json +1 -0
  9. package/locales/de-DE/models.json +0 -9
  10. package/locales/en-US/auth.json +1 -0
  11. package/locales/en-US/models.json +0 -9
  12. package/locales/es-ES/auth.json +1 -0
  13. package/locales/es-ES/models.json +0 -9
  14. package/locales/fa-IR/auth.json +1 -0
  15. package/locales/fa-IR/models.json +0 -9
  16. package/locales/fr-FR/auth.json +1 -0
  17. package/locales/fr-FR/models.json +0 -9
  18. package/locales/it-IT/auth.json +1 -0
  19. package/locales/it-IT/models.json +0 -9
  20. package/locales/ja-JP/auth.json +1 -0
  21. package/locales/ja-JP/models.json +0 -9
  22. package/locales/ko-KR/auth.json +1 -0
  23. package/locales/ko-KR/models.json +0 -9
  24. package/locales/nl-NL/auth.json +1 -0
  25. package/locales/nl-NL/models.json +0 -9
  26. package/locales/pl-PL/auth.json +1 -0
  27. package/locales/pl-PL/models.json +0 -9
  28. package/locales/pt-BR/auth.json +1 -0
  29. package/locales/pt-BR/models.json +0 -9
  30. package/locales/ru-RU/auth.json +1 -0
  31. package/locales/ru-RU/models.json +0 -9
  32. package/locales/tr-TR/auth.json +1 -0
  33. package/locales/tr-TR/models.json +0 -9
  34. package/locales/vi-VN/auth.json +1 -0
  35. package/locales/vi-VN/models.json +0 -9
  36. package/locales/zh-CN/auth.json +1 -0
  37. package/locales/zh-CN/models.json +0 -9
  38. package/locales/zh-TW/auth.json +1 -0
  39. package/locales/zh-TW/models.json +0 -9
  40. package/package.json +3 -1
  41. package/packages/database/migrations/0057_add_topic_user_memory_extract_status.sql +1 -0
  42. package/packages/database/migrations/meta/0057_snapshot.json +8426 -0
  43. package/packages/database/migrations/meta/_journal.json +7 -0
  44. package/packages/database/src/core/migrations.json +40 -11
  45. package/packages/database/src/schemas/topic.ts +5 -0
  46. package/packages/model-runtime/package.json +1 -0
  47. package/packages/model-runtime/src/utils/asyncifyPolling.ts +127 -104
  48. package/packages/types/src/topic/topic.ts +12 -0
  49. package/src/app/(backend)/api/auth/check-user/route.ts +8 -1
  50. package/src/app/[variants]/(auth)/signin/page.tsx +23 -10
  51. package/src/auth.ts +2 -1
  52. package/src/components/NextAuth/AuthIcons.tsx +2 -2
  53. package/src/server/services/mcp/index.test.ts +4 -20
  54. package/src/server/services/mcp/index.ts +39 -39
  55. package/src/store/serverConfig/action.ts +5 -1
  56. package/src/store/serverConfig/store.ts +2 -0
@@ -83,21 +83,12 @@
83
83
  "DeepSeek-V3-Fast": {
84
84
  "description": "Nhà cung cấp mô hình: nền tảng sophnet. DeepSeek V3 Fast là phiên bản tốc độ cao TPS của DeepSeek V3 0324, không lượng tử hóa, có khả năng mã hóa và toán học mạnh mẽ hơn, phản hồi nhanh hơn!"
85
85
  },
86
- "DeepSeek-V3.1": {
87
- "description": "DeepSeek-V3.1 - chế độ không suy nghĩ; DeepSeek-V3.1 là mô hình suy luận lai mới của DeepSeek, hỗ trợ hai chế độ suy luận là suy nghĩ và không suy nghĩ, hiệu quả suy nghĩ cao hơn so với DeepSeek-R1-0528. Qua tối ưu hậu huấn luyện, hiệu suất sử dụng công cụ Agent và các tác vụ tác nhân được cải thiện đáng kể."
88
- },
89
86
  "DeepSeek-V3.1-Fast": {
90
87
  "description": "DeepSeek V3.1 Fast là phiên bản tốc độ cao TPS của DeepSeek V3.1. Chế độ suy nghĩ lai: thông qua thay đổi mẫu trò chuyện, một mô hình có thể đồng thời hỗ trợ cả chế độ suy nghĩ và không suy nghĩ. Gọi công cụ thông minh hơn: nhờ tối ưu hậu huấn luyện, mô hình thể hiện rõ rệt sự cải thiện trong việc sử dụng công cụ và các tác vụ đại lý."
91
88
  },
92
89
  "DeepSeek-V3.1-Think": {
93
90
  "description": "DeepSeek-V3.1 - chế độ suy nghĩ; DeepSeek-V3.1 là mô hình suy luận lai mới của DeepSeek, hỗ trợ hai chế độ suy luận là suy nghĩ và không suy nghĩ, hiệu quả suy nghĩ cao hơn so với DeepSeek-R1-0528. Qua tối ưu hậu huấn luyện, hiệu suất sử dụng công cụ Agent và các tác vụ tác nhân được cải thiện đáng kể."
94
91
  },
95
- "DeepSeek-V3.2-Exp": {
96
- "description": "DeepSeek V3.2 là mô hình lớn chung mới nhất của DeepSeek, hỗ trợ kiến trúc suy luận hỗn hợp và có khả năng Agent mạnh mẽ hơn."
97
- },
98
- "DeepSeek-V3.2-Exp-Think": {
99
- "description": "Chế độ suy nghĩ của DeepSeek V3.2. Trước khi đưa ra câu trả lời cuối cùng, mô hình sẽ xuất ra một chuỗi suy nghĩ nhằm nâng cao độ chính xác của câu trả lời."
100
- },
101
92
  "Doubao-lite-128k": {
102
93
  "description": "Doubao-lite sở hữu tốc độ phản hồi tối ưu, hiệu quả chi phí tốt hơn, cung cấp lựa chọn linh hoạt hơn cho các kịch bản khác nhau của khách hàng. Hỗ trợ suy luận và tinh chỉnh với cửa sổ ngữ cảnh 128k."
103
94
  },
@@ -82,6 +82,7 @@
82
82
  },
83
83
  "signin": {
84
84
  "backToEmail": "返回修改邮箱",
85
+ "continueWithApple": "使用 Apple 登录",
85
86
  "continueWithAuth0": "使用 Auth0 登录",
86
87
  "continueWithAuthelia": "使用 Authelia 登录",
87
88
  "continueWithAuthentik": "使用 Authentik 登录",
@@ -83,21 +83,12 @@
83
83
  "DeepSeek-V3-Fast": {
84
84
  "description": "模型供应商为:sophnet平台。DeepSeek V3 Fast 是 DeepSeek V3 0324 版本的高TPS极速版,满血非量化,代码与数学能力更强,响应更快!"
85
85
  },
86
- "DeepSeek-V3.1": {
87
- "description": "DeepSeek-V3.1-非思考模式;DeepSeek-V3.1 是深度求索全新推出的混合推理模型,支持思考与非思考2种推理模式,较 DeepSeek-R1-0528 思考效率更高。经 Post-Training 优化,Agent 工具使用与智能体任务表现大幅提升。"
88
- },
89
86
  "DeepSeek-V3.1-Fast": {
90
87
  "description": "DeepSeek V3.1 Fast 是 DeepSeek V3.1版本的高TPS极速版。 混合思考模式:通过更改聊天模板,一个模型可以同时支持思考模式和非思考模式。 更智能的工具调用:通过后训练优化,模型在工具使用和代理任务中的表现显著提升。"
91
88
  },
92
89
  "DeepSeek-V3.1-Think": {
93
90
  "description": "DeepSeek-V3.1-思考模式;DeepSeek-V3.1 是深度求索全新推出的混合推理模型,支持思考与非思考2种推理模式,较 DeepSeek-R1-0528 思考效率更高。经 Post-Training 优化,Agent 工具使用与智能体任务表现大幅提升。"
94
91
  },
95
- "DeepSeek-V3.2-Exp": {
96
- "description": "DeepSeek V3.2 是 DeepSeek 最新发布的通用大模型,支持混合推理架构,具备更强的 Agent 能力。"
97
- },
98
- "DeepSeek-V3.2-Exp-Think": {
99
- "description": "DeepSeek V3.2 思考模式。在输出最终回答之前,模型会先输出一段思维链内容,以提升最终答案的准确性。"
100
- },
101
92
  "Doubao-lite-128k": {
102
93
  "description": "Doubao-lite 拥有极致的响应速度,更好的性价比,为客户不同场景提供更灵活的选择。支持128k上下文窗口的推理和精调。"
103
94
  },
@@ -82,6 +82,7 @@
82
82
  },
83
83
  "signin": {
84
84
  "backToEmail": "返回修改電子郵件",
85
+ "continueWithApple": "使用 Apple 登入",
85
86
  "continueWithAuth0": "使用 Auth0 登入",
86
87
  "continueWithAuthelia": "使用 Authelia 登入",
87
88
  "continueWithAuthentik": "使用 Authentik 登入",
@@ -83,21 +83,12 @@
83
83
  "DeepSeek-V3-Fast": {
84
84
  "description": "模型供應商為:sophnet平台。DeepSeek V3 Fast 是 DeepSeek V3 0324 版本的高TPS極速版,滿血非量化,代碼與數學能力更強,響應更快!"
85
85
  },
86
- "DeepSeek-V3.1": {
87
- "description": "DeepSeek-V3.1-非思考模式;DeepSeek-V3.1 是深度求索全新推出的混合推理模型,支援思考與非思考兩種推理模式,較 DeepSeek-R1-0528 思考效率更高。經 Post-Training 優化,Agent 工具使用與智能體任務表現大幅提升。"
88
- },
89
86
  "DeepSeek-V3.1-Fast": {
90
87
  "description": "DeepSeek V3.1 Fast 是 DeepSeek V3.1 版本的高 TPS 極速版。混合思考模式:透過更改聊天模板,一個模型可以同時支援思考模式和非思考模式。更智能的工具調用:透過後訓練優化,模型在工具使用和代理任務中的表現顯著提升。"
91
88
  },
92
89
  "DeepSeek-V3.1-Think": {
93
90
  "description": "DeepSeek-V3.1-思考模式;DeepSeek-V3.1 是深度求索全新推出的混合推理模型,支援思考與非思考兩種推理模式,較 DeepSeek-R1-0528 思考效率更高。經 Post-Training 優化,Agent 工具使用與智能體任務表現大幅提升。"
94
91
  },
95
- "DeepSeek-V3.2-Exp": {
96
- "description": "DeepSeek V3.2 是 DeepSeek 最新發佈的通用大模型,支援混合推理架構,具備更強的 Agent 能力。"
97
- },
98
- "DeepSeek-V3.2-Exp-Think": {
99
- "description": "DeepSeek V3.2 思考模式。在輸出最終回答之前,模型會先輸出一段思維鏈內容,以提升最終答案的準確性。"
100
- },
101
92
  "Doubao-lite-128k": {
102
93
  "description": "Doubao-lite 擁有極致的響應速度,更好的性價比,為客戶不同場景提供更靈活的選擇。支持128k上下文視窗的推理和精調。"
103
94
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/lobehub",
3
- "version": "2.0.0-next.150",
3
+ "version": "2.0.0-next.152",
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",
@@ -200,6 +200,7 @@
200
200
  "ahooks": "^3.9.6",
201
201
  "antd": "^5.29.1",
202
202
  "antd-style": "^3.7.1",
203
+ "async-retry": "^1.3.3",
203
204
  "better-auth": "^1.4.3",
204
205
  "brotli-wasm": "^3.0.1",
205
206
  "chroma-js": "^3.2.0",
@@ -330,6 +331,7 @@
330
331
  "@testing-library/jest-dom": "^6.9.1",
331
332
  "@testing-library/react": "^16.3.0",
332
333
  "@testing-library/user-event": "^14.6.1",
334
+ "@types/async-retry": "^1.4.9",
333
335
  "@types/chroma-js": "^3.1.2",
334
336
  "@types/crypto-js": "^4.2.2",
335
337
  "@types/debug": "^4.1.12",
@@ -0,0 +1 @@
1
+ CREATE INDEX IF NOT EXISTS "topics_extract_status_gin_idx" ON "topics" USING gin ((metadata->'userMemoryExtractStatus') jsonb_path_ops);