@lobehub/lobehub 2.0.0-next.170 → 2.0.0-next.171

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 2.0.0-next.171](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.170...v2.0.0-next.171)
6
+
7
+ <sup>Released on **2025-12-14**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Update GPT-5.2 models.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Update GPT-5.2 models, closes [#10749](https://github.com/lobehub/lobe-chat/issues/10749) ([0446127](https://github.com/lobehub/lobe-chat/commit/0446127))
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 2.0.0-next.170](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.169...v2.0.0-next.170)
6
31
 
7
32
  <sup>Released on **2025-12-12**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "improvements": [
5
+ "Update GPT-5.2 models."
6
+ ]
7
+ },
8
+ "date": "2025-12-14",
9
+ "version": "2.0.0-next.171"
10
+ },
2
11
  {
3
12
  "children": {},
4
13
  "date": "2025-12-12",
@@ -125,6 +125,10 @@ table api_keys {
125
125
  accessed_at "timestamp with time zone" [not null, default: `now()`]
126
126
  created_at "timestamp with time zone" [not null, default: `now()`]
127
127
  updated_at "timestamp with time zone" [not null, default: `now()`]
128
+
129
+ indexes {
130
+ user_id [name: 'api_keys_user_id_idx']
131
+ }
128
132
  }
129
133
 
130
134
  table async_tasks {
@@ -137,6 +141,10 @@ table async_tasks {
137
141
  accessed_at "timestamp with time zone" [not null, default: `now()`]
138
142
  created_at "timestamp with time zone" [not null, default: `now()`]
139
143
  updated_at "timestamp with time zone" [not null, default: `now()`]
144
+
145
+ indexes {
146
+ user_id [name: 'async_tasks_user_id_idx']
147
+ }
140
148
  }
141
149
 
142
150
  table accounts {
@@ -215,6 +223,7 @@ table chat_groups {
215
223
 
216
224
  indexes {
217
225
  (client_id, user_id) [name: 'chat_groups_client_id_user_id_unique', unique]
226
+ group_id [name: 'chat_groups_group_id_idx']
218
227
  }
219
228
  }
220
229
 
@@ -303,6 +312,10 @@ table global_files {
303
312
  creator text [not null]
304
313
  created_at "timestamp with time zone" [not null, default: `now()`]
305
314
  accessed_at "timestamp with time zone" [not null, default: `now()`]
315
+
316
+ indexes {
317
+ creator [name: 'global_files_creator_idx']
318
+ }
306
319
  }
307
320
 
308
321
  table knowledge_base_files {
@@ -313,6 +326,7 @@ table knowledge_base_files {
313
326
 
314
327
  indexes {
315
328
  (knowledge_base_id, file_id) [pk]
329
+ knowledge_base_id [name: 'knowledge_base_files_kb_id_idx']
316
330
  }
317
331
  }
318
332
 
@@ -332,6 +346,7 @@ table knowledge_bases {
332
346
 
333
347
  indexes {
334
348
  (client_id, user_id) [name: 'knowledge_bases_client_id_user_id_unique', unique]
349
+ user_id [name: 'knowledge_bases_user_id_idx']
335
350
  }
336
351
  }
337
352
 
@@ -349,6 +364,11 @@ table generation_batches {
349
364
  accessed_at "timestamp with time zone" [not null, default: `now()`]
350
365
  created_at "timestamp with time zone" [not null, default: `now()`]
351
366
  updated_at "timestamp with time zone" [not null, default: `now()`]
367
+
368
+ indexes {
369
+ user_id [name: 'generation_batches_user_id_idx']
370
+ generation_topic_id [name: 'generation_batches_topic_id_idx']
371
+ }
352
372
  }
353
373
 
354
374
  table generation_topics {
@@ -359,6 +379,10 @@ table generation_topics {
359
379
  accessed_at "timestamp with time zone" [not null, default: `now()`]
360
380
  created_at "timestamp with time zone" [not null, default: `now()`]
361
381
  updated_at "timestamp with time zone" [not null, default: `now()`]
382
+
383
+ indexes {
384
+ user_id [name: 'generation_topics_user_id_idx']
385
+ }
362
386
  }
363
387
 
364
388
  table generations {
@@ -372,6 +396,11 @@ table generations {
372
396
  accessed_at "timestamp with time zone" [not null, default: `now()`]
373
397
  created_at "timestamp with time zone" [not null, default: `now()`]
374
398
  updated_at "timestamp with time zone" [not null, default: `now()`]
399
+
400
+ indexes {
401
+ user_id [name: 'generations_user_id_idx']
402
+ generation_batch_id [name: 'generations_batch_id_idx']
403
+ }
375
404
  }
376
405
 
377
406
  table message_chunks {
@@ -513,6 +542,7 @@ table messages {
513
542
  session_id [name: 'messages_session_id_idx']
514
543
  thread_id [name: 'messages_thread_id_idx']
515
544
  agent_id [name: 'messages_agent_id_idx']
545
+ group_id [name: 'messages_group_id_idx']
516
546
  }
517
547
  }
518
548
 
@@ -731,6 +761,8 @@ table document_chunks {
731
761
 
732
762
  indexes {
733
763
  (document_id, chunk_id) [pk]
764
+ document_id [name: 'document_chunks_document_id_idx']
765
+ chunk_id [name: 'document_chunks_chunk_id_idx']
734
766
  }
735
767
  }
736
768
 
@@ -745,6 +777,7 @@ table embeddings {
745
777
  indexes {
746
778
  (client_id, user_id) [name: 'embeddings_client_id_user_id_unique', unique]
747
779
  chunk_id [name: 'embeddings_chunk_id_idx']
780
+ user_id [name: 'embeddings_user_id_idx']
748
781
  }
749
782
  }
750
783
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/lobehub",
3
- "version": "2.0.0-next.170",
3
+ "version": "2.0.0-next.171",
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",
@@ -0,0 +1,15 @@
1
+ CREATE INDEX IF NOT EXISTS "api_keys_user_id_idx" ON "api_keys" USING btree ("user_id");--> statement-breakpoint
2
+ CREATE INDEX IF NOT EXISTS "async_tasks_user_id_idx" ON "async_tasks" USING btree ("user_id");--> statement-breakpoint
3
+ CREATE INDEX IF NOT EXISTS "chat_groups_group_id_idx" ON "chat_groups" USING btree ("group_id");--> statement-breakpoint
4
+ CREATE INDEX IF NOT EXISTS "global_files_creator_idx" ON "global_files" USING btree ("creator");--> statement-breakpoint
5
+ CREATE INDEX IF NOT EXISTS "knowledge_base_files_kb_id_idx" ON "knowledge_base_files" USING btree ("knowledge_base_id");--> statement-breakpoint
6
+ CREATE INDEX IF NOT EXISTS "knowledge_bases_user_id_idx" ON "knowledge_bases" USING btree ("user_id");--> statement-breakpoint
7
+ CREATE INDEX IF NOT EXISTS "generation_batches_user_id_idx" ON "generation_batches" USING btree ("user_id");--> statement-breakpoint
8
+ CREATE INDEX IF NOT EXISTS "generation_batches_topic_id_idx" ON "generation_batches" USING btree ("generation_topic_id");--> statement-breakpoint
9
+ CREATE INDEX IF NOT EXISTS "generation_topics_user_id_idx" ON "generation_topics" USING btree ("user_id");--> statement-breakpoint
10
+ CREATE INDEX IF NOT EXISTS "generations_user_id_idx" ON "generations" USING btree ("user_id");--> statement-breakpoint
11
+ CREATE INDEX IF NOT EXISTS "generations_batch_id_idx" ON "generations" USING btree ("generation_batch_id");--> statement-breakpoint
12
+ CREATE INDEX IF NOT EXISTS "messages_group_id_idx" ON "messages" USING btree ("group_id");--> statement-breakpoint
13
+ CREATE INDEX IF NOT EXISTS "document_chunks_document_id_idx" ON "document_chunks" USING btree ("document_id");--> statement-breakpoint
14
+ CREATE INDEX IF NOT EXISTS "document_chunks_chunk_id_idx" ON "document_chunks" USING btree ("chunk_id");--> statement-breakpoint
15
+ CREATE INDEX IF NOT EXISTS "embeddings_user_id_idx" ON "embeddings" USING btree ("user_id");