@lobehub/chat 1.129.0 → 1.129.2

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 (52) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/changelog/v1.json +21 -0
  3. package/docs/development/database-schema.dbml +9 -0
  4. package/locales/ar/models.json +248 -23
  5. package/locales/ar/providers.json +3 -0
  6. package/locales/bg-BG/models.json +248 -23
  7. package/locales/bg-BG/providers.json +3 -0
  8. package/locales/de-DE/models.json +248 -23
  9. package/locales/de-DE/providers.json +3 -0
  10. package/locales/en-US/models.json +248 -23
  11. package/locales/en-US/providers.json +3 -0
  12. package/locales/es-ES/models.json +248 -23
  13. package/locales/es-ES/providers.json +3 -0
  14. package/locales/fa-IR/models.json +248 -23
  15. package/locales/fa-IR/providers.json +3 -0
  16. package/locales/fr-FR/models.json +248 -23
  17. package/locales/fr-FR/providers.json +3 -0
  18. package/locales/it-IT/models.json +248 -23
  19. package/locales/it-IT/providers.json +3 -0
  20. package/locales/ja-JP/models.json +248 -23
  21. package/locales/ja-JP/providers.json +3 -0
  22. package/locales/ko-KR/models.json +248 -23
  23. package/locales/ko-KR/providers.json +3 -0
  24. package/locales/nl-NL/models.json +248 -23
  25. package/locales/nl-NL/providers.json +3 -0
  26. package/locales/pl-PL/models.json +248 -23
  27. package/locales/pl-PL/providers.json +3 -0
  28. package/locales/pt-BR/models.json +248 -23
  29. package/locales/pt-BR/providers.json +3 -0
  30. package/locales/ru-RU/models.json +248 -23
  31. package/locales/ru-RU/providers.json +3 -0
  32. package/locales/tr-TR/models.json +248 -23
  33. package/locales/tr-TR/providers.json +3 -0
  34. package/locales/vi-VN/models.json +248 -23
  35. package/locales/vi-VN/providers.json +3 -0
  36. package/locales/zh-CN/models.json +248 -23
  37. package/locales/zh-CN/providers.json +3 -0
  38. package/locales/zh-TW/models.json +248 -23
  39. package/locales/zh-TW/providers.json +3 -0
  40. package/package.json +1 -1
  41. package/packages/database/migrations/0031_add_agent_index.sql +9 -3
  42. package/packages/database/migrations/0032_improve_agents_field.sql +0 -4
  43. package/packages/database/migrations/0033_modern_mercury.sql +18 -0
  44. package/packages/database/migrations/meta/0033_snapshot.json +6594 -0
  45. package/packages/database/migrations/meta/_journal.json +7 -0
  46. package/packages/database/src/core/migrations.json +23 -6
  47. package/packages/database/src/schemas/message.ts +12 -11
  48. package/packages/database/src/schemas/rag.ts +10 -6
  49. package/packages/database/src/schemas/session.ts +7 -5
  50. package/packages/database/src/schemas/topic.ts +7 -3
  51. package/packages/model-bank/src/aiModels/siliconcloud.ts +45 -0
  52. package/packages/model-runtime/src/providers/siliconcloud/index.ts +19 -11
package/CHANGELOG.md CHANGED
@@ -2,6 +2,72 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.129.2](https://github.com/lobehub/lobe-chat/compare/v1.129.1...v1.129.2)
6
+
7
+ <sup>Released on **2025-09-17**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Improve db migrations sql.
12
+
13
+ #### 💄 Styles
14
+
15
+ - **misc**: Update i18n.
16
+
17
+ <br/>
18
+
19
+ <details>
20
+ <summary><kbd>Improvements and Fixes</kbd></summary>
21
+
22
+ #### What's fixed
23
+
24
+ - **misc**: Improve db migrations sql, closes [#9295](https://github.com/lobehub/lobe-chat/issues/9295) ([96ff5aa](https://github.com/lobehub/lobe-chat/commit/96ff5aa))
25
+
26
+ #### Styles
27
+
28
+ - **misc**: Update i18n, closes [#9294](https://github.com/lobehub/lobe-chat/issues/9294) ([c018f3d](https://github.com/lobehub/lobe-chat/commit/c018f3d))
29
+
30
+ </details>
31
+
32
+ <div align="right">
33
+
34
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
35
+
36
+ </div>
37
+
38
+ ### [Version 1.129.1](https://github.com/lobehub/lobe-chat/compare/v1.129.0...v1.129.1)
39
+
40
+ <sup>Released on **2025-09-16**</sup>
41
+
42
+ #### ♻ Code Refactoring
43
+
44
+ - **misc**: Improve db sql performance.
45
+
46
+ #### 💄 Styles
47
+
48
+ - **misc**: Update SiliconCloud reasoning models.
49
+
50
+ <br/>
51
+
52
+ <details>
53
+ <summary><kbd>Improvements and Fixes</kbd></summary>
54
+
55
+ #### Code refactoring
56
+
57
+ - **misc**: Improve db sql performance, closes [#9283](https://github.com/lobehub/lobe-chat/issues/9283) ([cee555a](https://github.com/lobehub/lobe-chat/commit/cee555a))
58
+
59
+ #### Styles
60
+
61
+ - **misc**: Update SiliconCloud reasoning models, closes [#9287](https://github.com/lobehub/lobe-chat/issues/9287) ([b47bb5b](https://github.com/lobehub/lobe-chat/commit/b47bb5b))
62
+
63
+ </details>
64
+
65
+ <div align="right">
66
+
67
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
68
+
69
+ </div>
70
+
5
71
  ## [Version 1.129.0](https://github.com/lobehub/lobe-chat/compare/v1.128.10...v1.129.0)
6
72
 
7
73
  <sup>Released on **2025-09-16**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,25 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Improve db migrations sql."
6
+ ],
7
+ "improvements": [
8
+ "Update i18n."
9
+ ]
10
+ },
11
+ "date": "2025-09-17",
12
+ "version": "1.129.2"
13
+ },
14
+ {
15
+ "children": {
16
+ "improvements": [
17
+ "Update SiliconCloud reasoning models."
18
+ ]
19
+ },
20
+ "date": "2025-09-16",
21
+ "version": "1.129.1"
22
+ },
2
23
  {
3
24
  "children": {
4
25
  "features": [
@@ -419,6 +419,9 @@ table messages {
419
419
  topic_id [name: 'messages_topic_id_idx']
420
420
  parent_id [name: 'messages_parent_id_idx']
421
421
  quota_id [name: 'messages_quota_id_idx']
422
+ user_id [name: 'messages_user_id_idx']
423
+ session_id [name: 'messages_session_id_idx']
424
+ thread_id [name: 'messages_thread_id_idx']
422
425
  }
423
426
  }
424
427
 
@@ -624,6 +627,7 @@ table chunks {
624
627
 
625
628
  indexes {
626
629
  (client_id, user_id) [name: 'chunks_client_id_user_id_unique', unique]
630
+ user_id [name: 'chunks_user_id_idx']
627
631
  }
628
632
  }
629
633
 
@@ -637,6 +641,7 @@ table embeddings {
637
641
 
638
642
  indexes {
639
643
  (client_id, user_id) [name: 'embeddings_client_id_user_id_unique', unique]
644
+ chunk_id [name: 'embeddings_chunk_id_idx']
640
645
  }
641
646
  }
642
647
 
@@ -836,6 +841,8 @@ table sessions {
836
841
  indexes {
837
842
  (slug, user_id) [name: 'slug_user_id_unique', unique]
838
843
  (client_id, user_id) [name: 'sessions_client_id_user_id_unique', unique]
844
+ user_id [name: 'sessions_user_id_idx']
845
+ (id, user_id) [name: 'sessions_id_user_id_idx']
839
846
  }
840
847
  }
841
848
 
@@ -886,6 +893,8 @@ table topics {
886
893
 
887
894
  indexes {
888
895
  (client_id, user_id) [name: 'topics_client_id_user_id_unique', unique]
896
+ user_id [name: 'topics_user_id_idx']
897
+ (id, user_id) [name: 'topics_id_user_id_idx']
889
898
  }
890
899
  }
891
900