@lobehub/chat 1.136.3 → 1.136.5

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,56 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.136.5](https://github.com/lobehub/lobe-chat/compare/v1.136.4...v1.136.5)
6
+
7
+ <sup>Released on **2025-10-11**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **plugin-store**: Fix search functionality for old plugin store.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **plugin-store**: Fix search functionality for old plugin store, closes [#9651](https://github.com/lobehub/lobe-chat/issues/9651) [#9645](https://github.com/lobehub/lobe-chat/issues/9645) ([522fc09](https://github.com/lobehub/lobe-chat/commit/522fc09))
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
+
30
+ ### [Version 1.136.4](https://github.com/lobehub/lobe-chat/compare/v1.136.3...v1.136.4)
31
+
32
+ <sup>Released on **2025-10-10**</sup>
33
+
34
+ #### 🐛 Bug Fixes
35
+
36
+ - **misc**: Add 'gemini-2.5-flash-image' to disabled models Thinking.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### What's fixed
44
+
45
+ - **misc**: Add 'gemini-2.5-flash-image' to disabled models Thinking, closes [#9633](https://github.com/lobehub/lobe-chat/issues/9633) ([771b585](https://github.com/lobehub/lobe-chat/commit/771b585))
46
+
47
+ </details>
48
+
49
+ <div align="right">
50
+
51
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
52
+
53
+ </div>
54
+
5
55
  ### [Version 1.136.3](https://github.com/lobehub/lobe-chat/compare/v1.136.2...v1.136.3)
6
56
 
7
57
  <sup>Released on **2025-10-10**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,18 @@
1
1
  [
2
+ {
3
+ "children": {},
4
+ "date": "2025-10-11",
5
+ "version": "1.136.5"
6
+ },
7
+ {
8
+ "children": {
9
+ "fixes": [
10
+ "Add 'gemini-2.5-flash-image' to disabled models Thinking."
11
+ ]
12
+ },
13
+ "date": "2025-10-10",
14
+ "version": "1.136.4"
15
+ },
2
16
  {
3
17
  "children": {
4
18
  "improvements": [
@@ -965,6 +965,127 @@ table users {
965
965
  updated_at "timestamp with time zone" [not null, default: `now()`]
966
966
  }
967
967
 
968
+ table user_memories {
969
+ id varchar(255) [pk, not null]
970
+ user_id text
971
+ memory_category varchar(255)
972
+ memory_layer varchar(255)
973
+ memory_type varchar(255)
974
+ title varchar(255)
975
+ summary text
976
+ summary_vector_1024 vector(1024)
977
+ details text
978
+ details_vector_1024 vector(1024)
979
+ status varchar(255)
980
+ accessed_count bigint [default: 0]
981
+ last_accessed_at "timestamp with time zone" [not null]
982
+ accessed_at "timestamp with time zone" [not null, default: `now()`]
983
+ created_at "timestamp with time zone" [not null, default: `now()`]
984
+ updated_at "timestamp with time zone" [not null, default: `now()`]
985
+
986
+ indexes {
987
+ summary_vector_1024 [name: 'user_memories_summary_vector_1024_index']
988
+ details_vector_1024 [name: 'user_memories_details_vector_1024_index']
989
+ }
990
+ }
991
+
992
+ table user_memories_contexts {
993
+ id varchar(255) [pk, not null]
994
+ user_memory_ids jsonb
995
+ labels jsonb
996
+ extracted_labels jsonb
997
+ associated_objects jsonb
998
+ associated_subjects jsonb
999
+ title text
1000
+ title_vector vector(1024)
1001
+ description text
1002
+ description_vector vector(1024)
1003
+ type varchar(255)
1004
+ current_status text
1005
+ score_impact numeric [default: 0]
1006
+ score_urgency numeric [default: 0]
1007
+ accessed_at "timestamp with time zone" [not null, default: `now()`]
1008
+ created_at "timestamp with time zone" [not null, default: `now()`]
1009
+ updated_at "timestamp with time zone" [not null, default: `now()`]
1010
+
1011
+ indexes {
1012
+ title_vector [name: 'user_memories_contexts_title_vector_index']
1013
+ description_vector [name: 'user_memories_contexts_description_vector_index']
1014
+ type [name: 'user_memories_contexts_type_index']
1015
+ }
1016
+ }
1017
+
1018
+ table user_memories_experiences {
1019
+ id varchar(255) [pk, not null]
1020
+ user_memory_id text
1021
+ labels jsonb
1022
+ extracted_labels jsonb
1023
+ type varchar(255)
1024
+ situation text
1025
+ situation_vector vector(1024)
1026
+ reasoning text
1027
+ possible_outcome text
1028
+ action text
1029
+ action_vector vector(1024)
1030
+ key_learning text
1031
+ key_learning_vector vector(1024)
1032
+ metadata jsonb
1033
+ score_confidence real [default: 0]
1034
+ accessed_at "timestamp with time zone" [not null, default: `now()`]
1035
+ created_at "timestamp with time zone" [not null, default: `now()`]
1036
+ updated_at "timestamp with time zone" [not null, default: `now()`]
1037
+
1038
+ indexes {
1039
+ situation_vector [name: 'user_memories_experiences_situation_vector_index']
1040
+ action_vector [name: 'user_memories_experiences_action_vector_index']
1041
+ key_learning_vector [name: 'user_memories_experiences_key_learning_vector_index']
1042
+ type [name: 'user_memories_experiences_type_index']
1043
+ }
1044
+ }
1045
+
1046
+ table user_memories_identities {
1047
+ current_focuses text
1048
+ description text
1049
+ description_vector vector(1024)
1050
+ experience text
1051
+ extracted_labels jsonb
1052
+ id varchar(255) [pk, not null]
1053
+ labels jsonb
1054
+ relationship text
1055
+ role text
1056
+ type varchar(255)
1057
+ user_memory_id text
1058
+ accessed_at "timestamp with time zone" [not null, default: `now()`]
1059
+ created_at "timestamp with time zone" [not null, default: `now()`]
1060
+ updated_at "timestamp with time zone" [not null, default: `now()`]
1061
+
1062
+ indexes {
1063
+ description_vector [name: 'user_memories_identities_description_vector_index']
1064
+ type [name: 'user_memories_identities_type_index']
1065
+ }
1066
+ }
1067
+
1068
+ table user_memories_preferences {
1069
+ id varchar(255) [pk, not null]
1070
+ context_id varchar(255)
1071
+ user_memory_id varchar(255)
1072
+ labels jsonb
1073
+ extracted_labels jsonb
1074
+ extracted_scopes jsonb
1075
+ conclusion_directives text
1076
+ conclusion_directives_vector vector(1024)
1077
+ type varchar(255)
1078
+ suggestions text
1079
+ score_priority numeric [default: 0]
1080
+ accessed_at "timestamp with time zone" [not null, default: `now()`]
1081
+ created_at "timestamp with time zone" [not null, default: `now()`]
1082
+ updated_at "timestamp with time zone" [not null, default: `now()`]
1083
+
1084
+ indexes {
1085
+ conclusion_directives_vector [name: 'user_memories_preferences_conclusion_directives_vector_index']
1086
+ }
1087
+ }
1088
+
968
1089
  ref: agents_files.file_id > files.id
969
1090
 
970
1091
  ref: agents_files.agent_id > agents.id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.136.3",
3
+ "version": "1.136.5",
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,111 @@
1
+ CREATE TABLE IF NOT EXISTS "user_memories" (
2
+ "id" varchar(255) PRIMARY KEY NOT NULL,
3
+ "user_id" text,
4
+ "memory_category" varchar(255),
5
+ "memory_layer" varchar(255),
6
+ "memory_type" varchar(255),
7
+ "title" varchar(255),
8
+ "summary" text,
9
+ "summary_vector_1024" vector(1024),
10
+ "details" text,
11
+ "details_vector_1024" vector(1024),
12
+ "status" varchar(255),
13
+ "accessed_count" bigint DEFAULT 0,
14
+ "last_accessed_at" timestamp with time zone NOT NULL,
15
+ "accessed_at" timestamp with time zone DEFAULT now() NOT NULL,
16
+ "created_at" timestamp with time zone DEFAULT now() NOT NULL,
17
+ "updated_at" timestamp with time zone DEFAULT now() NOT NULL
18
+ );
19
+ --> statement-breakpoint
20
+ CREATE TABLE IF NOT EXISTS "user_memories_contexts" (
21
+ "id" varchar(255) PRIMARY KEY NOT NULL,
22
+ "user_memory_ids" jsonb,
23
+ "labels" jsonb,
24
+ "extracted_labels" jsonb,
25
+ "associated_objects" jsonb,
26
+ "associated_subjects" jsonb,
27
+ "title" text,
28
+ "title_vector" vector(1024),
29
+ "description" text,
30
+ "description_vector" vector(1024),
31
+ "type" varchar(255),
32
+ "current_status" text,
33
+ "score_impact" numeric DEFAULT 0,
34
+ "score_urgency" numeric DEFAULT 0,
35
+ "accessed_at" timestamp with time zone DEFAULT now() NOT NULL,
36
+ "created_at" timestamp with time zone DEFAULT now() NOT NULL,
37
+ "updated_at" timestamp with time zone DEFAULT now() NOT NULL
38
+ );
39
+ --> statement-breakpoint
40
+ CREATE TABLE IF NOT EXISTS "user_memories_experiences" (
41
+ "id" varchar(255) PRIMARY KEY NOT NULL,
42
+ "user_memory_id" text,
43
+ "labels" jsonb,
44
+ "extracted_labels" jsonb,
45
+ "type" varchar(255),
46
+ "situation" text,
47
+ "situation_vector" vector(1024),
48
+ "reasoning" text,
49
+ "possible_outcome" text,
50
+ "action" text,
51
+ "action_vector" vector(1024),
52
+ "key_learning" text,
53
+ "key_learning_vector" vector(1024),
54
+ "metadata" jsonb,
55
+ "score_confidence" real DEFAULT 0,
56
+ "accessed_at" timestamp with time zone DEFAULT now() NOT NULL,
57
+ "created_at" timestamp with time zone DEFAULT now() NOT NULL,
58
+ "updated_at" timestamp with time zone DEFAULT now() NOT NULL
59
+ );
60
+ --> statement-breakpoint
61
+ CREATE TABLE IF NOT EXISTS "user_memories_identities" (
62
+ "current_focuses" text,
63
+ "description" text,
64
+ "description_vector" vector(1024),
65
+ "experience" text,
66
+ "extracted_labels" jsonb,
67
+ "id" varchar(255) PRIMARY KEY NOT NULL,
68
+ "labels" jsonb,
69
+ "relationship" text,
70
+ "role" text,
71
+ "type" varchar(255),
72
+ "user_memory_id" text,
73
+ "accessed_at" timestamp with time zone DEFAULT now() NOT NULL,
74
+ "created_at" timestamp with time zone DEFAULT now() NOT NULL,
75
+ "updated_at" timestamp with time zone DEFAULT now() NOT NULL
76
+ );
77
+ --> statement-breakpoint
78
+ CREATE TABLE IF NOT EXISTS "user_memories_preferences" (
79
+ "id" varchar(255) PRIMARY KEY NOT NULL,
80
+ "context_id" varchar(255),
81
+ "user_memory_id" varchar(255),
82
+ "labels" jsonb,
83
+ "extracted_labels" jsonb,
84
+ "extracted_scopes" jsonb,
85
+ "conclusion_directives" text,
86
+ "conclusion_directives_vector" vector(1024),
87
+ "type" varchar(255),
88
+ "suggestions" text,
89
+ "score_priority" numeric DEFAULT 0,
90
+ "accessed_at" timestamp with time zone DEFAULT now() NOT NULL,
91
+ "created_at" timestamp with time zone DEFAULT now() NOT NULL,
92
+ "updated_at" timestamp with time zone DEFAULT now() NOT NULL
93
+ );
94
+ --> statement-breakpoint
95
+ ALTER TABLE "user_memories" ADD CONSTRAINT "user_memories_user_id_users_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."users"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
96
+ ALTER TABLE "user_memories_experiences" ADD CONSTRAINT "user_memories_experiences_user_memory_id_user_memories_id_fk" FOREIGN KEY ("user_memory_id") REFERENCES "public"."user_memories"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
97
+ ALTER TABLE "user_memories_identities" ADD CONSTRAINT "user_memories_identities_user_memory_id_user_memories_id_fk" FOREIGN KEY ("user_memory_id") REFERENCES "public"."user_memories"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
98
+ ALTER TABLE "user_memories_preferences" ADD CONSTRAINT "user_memories_preferences_context_id_user_memories_contexts_id_fk" FOREIGN KEY ("context_id") REFERENCES "public"."user_memories_contexts"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
99
+ ALTER TABLE "user_memories_preferences" ADD CONSTRAINT "user_memories_preferences_user_memory_id_user_memories_id_fk" FOREIGN KEY ("user_memory_id") REFERENCES "public"."user_memories"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
100
+ CREATE INDEX "user_memories_summary_vector_1024_index" ON "user_memories" USING hnsw ("summary_vector_1024" vector_cosine_ops);--> statement-breakpoint
101
+ CREATE INDEX "user_memories_details_vector_1024_index" ON "user_memories" USING hnsw ("details_vector_1024" vector_cosine_ops);--> statement-breakpoint
102
+ CREATE INDEX "user_memories_contexts_title_vector_index" ON "user_memories_contexts" USING hnsw ("title_vector" vector_cosine_ops);--> statement-breakpoint
103
+ CREATE INDEX "user_memories_contexts_description_vector_index" ON "user_memories_contexts" USING hnsw ("description_vector" vector_cosine_ops);--> statement-breakpoint
104
+ CREATE INDEX "user_memories_contexts_type_index" ON "user_memories_contexts" USING btree ("type");--> statement-breakpoint
105
+ CREATE INDEX "user_memories_experiences_situation_vector_index" ON "user_memories_experiences" USING hnsw ("situation_vector" vector_cosine_ops);--> statement-breakpoint
106
+ CREATE INDEX "user_memories_experiences_action_vector_index" ON "user_memories_experiences" USING hnsw ("action_vector" vector_cosine_ops);--> statement-breakpoint
107
+ CREATE INDEX "user_memories_experiences_key_learning_vector_index" ON "user_memories_experiences" USING hnsw ("key_learning_vector" vector_cosine_ops);--> statement-breakpoint
108
+ CREATE INDEX "user_memories_experiences_type_index" ON "user_memories_experiences" USING btree ("type");--> statement-breakpoint
109
+ CREATE INDEX "user_memories_identities_description_vector_index" ON "user_memories_identities" USING hnsw ("description_vector" vector_cosine_ops);--> statement-breakpoint
110
+ CREATE INDEX "user_memories_identities_type_index" ON "user_memories_identities" USING btree ("type");--> statement-breakpoint
111
+ CREATE INDEX "user_memories_preferences_conclusion_directives_vector_index" ON "user_memories_preferences" USING hnsw ("conclusion_directives_vector" vector_cosine_ops);