@blueking/chat-helper 0.0.12-beta.20 → 0.0.12-beta.21
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/dist/agent/use-agent.d.ts +44 -0
- package/dist/event/ag-ui.d.ts +1 -1
- package/dist/event/ag-ui.ts.js +66 -5
- package/dist/event/type.d.ts +1 -0
- package/dist/http/transform/message.ts.js +11 -5
- package/dist/index.d.ts +308 -0
- package/dist/message/type.d.ts +10 -0
- package/dist/message/type.ts.js +14 -0
- package/dist/message/use-message.d.ts +88 -0
- package/dist/session/use-session.d.ts +176 -0
- package/package.json +1 -1
|
@@ -63,6 +63,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
65
|
role: MessageRole.Activity;
|
|
66
|
+
createdAt?: string;
|
|
66
67
|
id?: string;
|
|
67
68
|
messageId?: string;
|
|
68
69
|
name?: string;
|
|
@@ -106,6 +107,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
106
107
|
id: string;
|
|
107
108
|
type: import("./type").MessageType.Function;
|
|
108
109
|
}[];
|
|
110
|
+
createdAt?: string;
|
|
109
111
|
id?: string;
|
|
110
112
|
messageId?: string;
|
|
111
113
|
name?: string;
|
|
@@ -114,6 +116,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
114
116
|
} | {
|
|
115
117
|
content: string;
|
|
116
118
|
role: MessageRole.Developer;
|
|
119
|
+
createdAt?: string;
|
|
117
120
|
id?: string;
|
|
118
121
|
messageId?: string;
|
|
119
122
|
name?: string;
|
|
@@ -122,6 +125,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
122
125
|
} | {
|
|
123
126
|
content: string;
|
|
124
127
|
role: MessageRole.Guide;
|
|
128
|
+
createdAt?: string;
|
|
125
129
|
id?: string;
|
|
126
130
|
messageId?: string;
|
|
127
131
|
name?: string;
|
|
@@ -130,6 +134,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
130
134
|
} | {
|
|
131
135
|
content: string;
|
|
132
136
|
role: MessageRole.HiddenAssistant;
|
|
137
|
+
createdAt?: string;
|
|
133
138
|
id?: string;
|
|
134
139
|
messageId?: string;
|
|
135
140
|
name?: string;
|
|
@@ -138,6 +143,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
138
143
|
} | {
|
|
139
144
|
content: string;
|
|
140
145
|
role: MessageRole.HiddenGuide;
|
|
146
|
+
createdAt?: string;
|
|
141
147
|
id?: string;
|
|
142
148
|
messageId?: string;
|
|
143
149
|
name?: string;
|
|
@@ -146,6 +152,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
146
152
|
} | {
|
|
147
153
|
content: string;
|
|
148
154
|
role: MessageRole.Hidden;
|
|
155
|
+
createdAt?: string;
|
|
149
156
|
id?: string;
|
|
150
157
|
messageId?: string;
|
|
151
158
|
name?: string;
|
|
@@ -154,6 +161,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
154
161
|
} | {
|
|
155
162
|
content: string;
|
|
156
163
|
role: MessageRole.HiddenSystem;
|
|
164
|
+
createdAt?: string;
|
|
157
165
|
id?: string;
|
|
158
166
|
messageId?: string;
|
|
159
167
|
name?: string;
|
|
@@ -162,6 +170,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
162
170
|
} | {
|
|
163
171
|
content: string;
|
|
164
172
|
role: MessageRole.HiddenUser;
|
|
173
|
+
createdAt?: string;
|
|
165
174
|
id?: string;
|
|
166
175
|
messageId?: string;
|
|
167
176
|
name?: string;
|
|
@@ -170,6 +179,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
170
179
|
} | {
|
|
171
180
|
content: string;
|
|
172
181
|
role: MessageRole.Info;
|
|
182
|
+
createdAt?: string;
|
|
173
183
|
id?: string;
|
|
174
184
|
messageId?: string;
|
|
175
185
|
name?: string;
|
|
@@ -178,6 +188,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
178
188
|
} | {
|
|
179
189
|
content: string;
|
|
180
190
|
role: MessageRole.Pause;
|
|
191
|
+
createdAt?: string;
|
|
181
192
|
id?: string;
|
|
182
193
|
messageId?: string;
|
|
183
194
|
name?: string;
|
|
@@ -186,6 +197,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
186
197
|
} | {
|
|
187
198
|
content: string;
|
|
188
199
|
role: MessageRole.Placeholder;
|
|
200
|
+
createdAt?: string;
|
|
189
201
|
id?: string;
|
|
190
202
|
messageId?: string;
|
|
191
203
|
name?: string;
|
|
@@ -195,6 +207,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
195
207
|
content: string[];
|
|
196
208
|
duration?: number;
|
|
197
209
|
role: MessageRole.Reasoning;
|
|
210
|
+
createdAt?: string;
|
|
198
211
|
id?: string;
|
|
199
212
|
messageId?: string;
|
|
200
213
|
name?: string;
|
|
@@ -203,6 +216,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
203
216
|
} | {
|
|
204
217
|
content: string;
|
|
205
218
|
role: MessageRole.System;
|
|
219
|
+
createdAt?: string;
|
|
206
220
|
id?: string;
|
|
207
221
|
messageId?: string;
|
|
208
222
|
name?: string;
|
|
@@ -211,6 +225,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
211
225
|
} | {
|
|
212
226
|
content: string;
|
|
213
227
|
role: MessageRole.TemplateAssistant;
|
|
228
|
+
createdAt?: string;
|
|
214
229
|
id?: string;
|
|
215
230
|
messageId?: string;
|
|
216
231
|
name?: string;
|
|
@@ -219,6 +234,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
219
234
|
} | {
|
|
220
235
|
content: string;
|
|
221
236
|
role: MessageRole.TemplateGuide;
|
|
237
|
+
createdAt?: string;
|
|
222
238
|
id?: string;
|
|
223
239
|
messageId?: string;
|
|
224
240
|
name?: string;
|
|
@@ -227,6 +243,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
227
243
|
} | {
|
|
228
244
|
content: string;
|
|
229
245
|
role: MessageRole.TemplateHidden;
|
|
246
|
+
createdAt?: string;
|
|
230
247
|
id?: string;
|
|
231
248
|
messageId?: string;
|
|
232
249
|
name?: string;
|
|
@@ -235,6 +252,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
235
252
|
} | {
|
|
236
253
|
content: string;
|
|
237
254
|
role: MessageRole.TemplateSystem;
|
|
255
|
+
createdAt?: string;
|
|
238
256
|
id?: string;
|
|
239
257
|
messageId?: string;
|
|
240
258
|
name?: string;
|
|
@@ -243,6 +261,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
243
261
|
} | {
|
|
244
262
|
content: string;
|
|
245
263
|
role: MessageRole.TemplateUser;
|
|
264
|
+
createdAt?: string;
|
|
246
265
|
id?: string;
|
|
247
266
|
messageId?: string;
|
|
248
267
|
name?: string;
|
|
@@ -254,6 +273,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
254
273
|
error?: string;
|
|
255
274
|
role: MessageRole.Tool;
|
|
256
275
|
toolCallId: string;
|
|
276
|
+
createdAt?: string;
|
|
257
277
|
id?: string;
|
|
258
278
|
messageId?: string;
|
|
259
279
|
name?: string;
|
|
@@ -297,6 +317,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
297
317
|
};
|
|
298
318
|
};
|
|
299
319
|
role: MessageRole.User;
|
|
320
|
+
createdAt?: string;
|
|
300
321
|
id?: string;
|
|
301
322
|
messageId?: string;
|
|
302
323
|
name?: string;
|
|
@@ -927,6 +948,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
927
948
|
timestamp?: number;
|
|
928
949
|
};
|
|
929
950
|
role: MessageRole.Interrupt;
|
|
951
|
+
createdAt?: string;
|
|
930
952
|
id?: string;
|
|
931
953
|
messageId?: string;
|
|
932
954
|
name?: string;
|
|
@@ -989,6 +1011,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
989
1011
|
};
|
|
990
1012
|
};
|
|
991
1013
|
role: MessageRole.Activity;
|
|
1014
|
+
createdAt?: string;
|
|
992
1015
|
id?: string;
|
|
993
1016
|
messageId?: string;
|
|
994
1017
|
name?: string;
|
|
@@ -1032,6 +1055,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1032
1055
|
id: string;
|
|
1033
1056
|
type: import("./type").MessageType.Function;
|
|
1034
1057
|
}[];
|
|
1058
|
+
createdAt?: string;
|
|
1035
1059
|
id?: string;
|
|
1036
1060
|
messageId?: string;
|
|
1037
1061
|
name?: string;
|
|
@@ -1040,6 +1064,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1040
1064
|
} | {
|
|
1041
1065
|
content: string;
|
|
1042
1066
|
role: MessageRole.Developer;
|
|
1067
|
+
createdAt?: string;
|
|
1043
1068
|
id?: string;
|
|
1044
1069
|
messageId?: string;
|
|
1045
1070
|
name?: string;
|
|
@@ -1048,6 +1073,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1048
1073
|
} | {
|
|
1049
1074
|
content: string;
|
|
1050
1075
|
role: MessageRole.Guide;
|
|
1076
|
+
createdAt?: string;
|
|
1051
1077
|
id?: string;
|
|
1052
1078
|
messageId?: string;
|
|
1053
1079
|
name?: string;
|
|
@@ -1056,6 +1082,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1056
1082
|
} | {
|
|
1057
1083
|
content: string;
|
|
1058
1084
|
role: MessageRole.HiddenAssistant;
|
|
1085
|
+
createdAt?: string;
|
|
1059
1086
|
id?: string;
|
|
1060
1087
|
messageId?: string;
|
|
1061
1088
|
name?: string;
|
|
@@ -1064,6 +1091,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1064
1091
|
} | {
|
|
1065
1092
|
content: string;
|
|
1066
1093
|
role: MessageRole.HiddenGuide;
|
|
1094
|
+
createdAt?: string;
|
|
1067
1095
|
id?: string;
|
|
1068
1096
|
messageId?: string;
|
|
1069
1097
|
name?: string;
|
|
@@ -1072,6 +1100,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1072
1100
|
} | {
|
|
1073
1101
|
content: string;
|
|
1074
1102
|
role: MessageRole.Hidden;
|
|
1103
|
+
createdAt?: string;
|
|
1075
1104
|
id?: string;
|
|
1076
1105
|
messageId?: string;
|
|
1077
1106
|
name?: string;
|
|
@@ -1080,6 +1109,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1080
1109
|
} | {
|
|
1081
1110
|
content: string;
|
|
1082
1111
|
role: MessageRole.HiddenSystem;
|
|
1112
|
+
createdAt?: string;
|
|
1083
1113
|
id?: string;
|
|
1084
1114
|
messageId?: string;
|
|
1085
1115
|
name?: string;
|
|
@@ -1088,6 +1118,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1088
1118
|
} | {
|
|
1089
1119
|
content: string;
|
|
1090
1120
|
role: MessageRole.HiddenUser;
|
|
1121
|
+
createdAt?: string;
|
|
1091
1122
|
id?: string;
|
|
1092
1123
|
messageId?: string;
|
|
1093
1124
|
name?: string;
|
|
@@ -1096,6 +1127,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1096
1127
|
} | {
|
|
1097
1128
|
content: string;
|
|
1098
1129
|
role: MessageRole.Info;
|
|
1130
|
+
createdAt?: string;
|
|
1099
1131
|
id?: string;
|
|
1100
1132
|
messageId?: string;
|
|
1101
1133
|
name?: string;
|
|
@@ -1104,6 +1136,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1104
1136
|
} | {
|
|
1105
1137
|
content: string;
|
|
1106
1138
|
role: MessageRole.Pause;
|
|
1139
|
+
createdAt?: string;
|
|
1107
1140
|
id?: string;
|
|
1108
1141
|
messageId?: string;
|
|
1109
1142
|
name?: string;
|
|
@@ -1112,6 +1145,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1112
1145
|
} | {
|
|
1113
1146
|
content: string;
|
|
1114
1147
|
role: MessageRole.Placeholder;
|
|
1148
|
+
createdAt?: string;
|
|
1115
1149
|
id?: string;
|
|
1116
1150
|
messageId?: string;
|
|
1117
1151
|
name?: string;
|
|
@@ -1121,6 +1155,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1121
1155
|
content: string[];
|
|
1122
1156
|
duration?: number;
|
|
1123
1157
|
role: MessageRole.Reasoning;
|
|
1158
|
+
createdAt?: string;
|
|
1124
1159
|
id?: string;
|
|
1125
1160
|
messageId?: string;
|
|
1126
1161
|
name?: string;
|
|
@@ -1129,6 +1164,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1129
1164
|
} | {
|
|
1130
1165
|
content: string;
|
|
1131
1166
|
role: MessageRole.System;
|
|
1167
|
+
createdAt?: string;
|
|
1132
1168
|
id?: string;
|
|
1133
1169
|
messageId?: string;
|
|
1134
1170
|
name?: string;
|
|
@@ -1137,6 +1173,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1137
1173
|
} | {
|
|
1138
1174
|
content: string;
|
|
1139
1175
|
role: MessageRole.TemplateAssistant;
|
|
1176
|
+
createdAt?: string;
|
|
1140
1177
|
id?: string;
|
|
1141
1178
|
messageId?: string;
|
|
1142
1179
|
name?: string;
|
|
@@ -1145,6 +1182,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1145
1182
|
} | {
|
|
1146
1183
|
content: string;
|
|
1147
1184
|
role: MessageRole.TemplateGuide;
|
|
1185
|
+
createdAt?: string;
|
|
1148
1186
|
id?: string;
|
|
1149
1187
|
messageId?: string;
|
|
1150
1188
|
name?: string;
|
|
@@ -1153,6 +1191,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1153
1191
|
} | {
|
|
1154
1192
|
content: string;
|
|
1155
1193
|
role: MessageRole.TemplateHidden;
|
|
1194
|
+
createdAt?: string;
|
|
1156
1195
|
id?: string;
|
|
1157
1196
|
messageId?: string;
|
|
1158
1197
|
name?: string;
|
|
@@ -1161,6 +1200,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1161
1200
|
} | {
|
|
1162
1201
|
content: string;
|
|
1163
1202
|
role: MessageRole.TemplateSystem;
|
|
1203
|
+
createdAt?: string;
|
|
1164
1204
|
id?: string;
|
|
1165
1205
|
messageId?: string;
|
|
1166
1206
|
name?: string;
|
|
@@ -1169,6 +1209,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1169
1209
|
} | {
|
|
1170
1210
|
content: string;
|
|
1171
1211
|
role: MessageRole.TemplateUser;
|
|
1212
|
+
createdAt?: string;
|
|
1172
1213
|
id?: string;
|
|
1173
1214
|
messageId?: string;
|
|
1174
1215
|
name?: string;
|
|
@@ -1180,6 +1221,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1180
1221
|
error?: string;
|
|
1181
1222
|
role: MessageRole.Tool;
|
|
1182
1223
|
toolCallId: string;
|
|
1224
|
+
createdAt?: string;
|
|
1183
1225
|
id?: string;
|
|
1184
1226
|
messageId?: string;
|
|
1185
1227
|
name?: string;
|
|
@@ -1223,6 +1265,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1223
1265
|
};
|
|
1224
1266
|
};
|
|
1225
1267
|
role: MessageRole.User;
|
|
1268
|
+
createdAt?: string;
|
|
1226
1269
|
id?: string;
|
|
1227
1270
|
messageId?: string;
|
|
1228
1271
|
name?: string;
|
|
@@ -1853,6 +1896,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1853
1896
|
timestamp?: number;
|
|
1854
1897
|
};
|
|
1855
1898
|
role: MessageRole.Interrupt;
|
|
1899
|
+
createdAt?: string;
|
|
1856
1900
|
id?: string;
|
|
1857
1901
|
messageId?: string;
|
|
1858
1902
|
name?: string;
|
|
@@ -1920,6 +1964,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1920
1964
|
};
|
|
1921
1965
|
};
|
|
1922
1966
|
role: MessageRole.Activity;
|
|
1967
|
+
createdAt?: string;
|
|
1923
1968
|
id?: string;
|
|
1924
1969
|
messageId?: string;
|
|
1925
1970
|
name?: string;
|
|
@@ -1963,6 +2008,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1963
2008
|
id: string;
|
|
1964
2009
|
type: import("./type").MessageType.Function;
|
|
1965
2010
|
}[];
|
|
2011
|
+
createdAt?: string;
|
|
1966
2012
|
id?: string;
|
|
1967
2013
|
messageId?: string;
|
|
1968
2014
|
name?: string;
|
|
@@ -1971,6 +2017,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1971
2017
|
} | {
|
|
1972
2018
|
content: string;
|
|
1973
2019
|
role: MessageRole.Developer;
|
|
2020
|
+
createdAt?: string;
|
|
1974
2021
|
id?: string;
|
|
1975
2022
|
messageId?: string;
|
|
1976
2023
|
name?: string;
|
|
@@ -1979,6 +2026,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1979
2026
|
} | {
|
|
1980
2027
|
content: string;
|
|
1981
2028
|
role: MessageRole.Guide;
|
|
2029
|
+
createdAt?: string;
|
|
1982
2030
|
id?: string;
|
|
1983
2031
|
messageId?: string;
|
|
1984
2032
|
name?: string;
|
|
@@ -1987,6 +2035,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1987
2035
|
} | {
|
|
1988
2036
|
content: string;
|
|
1989
2037
|
role: MessageRole.HiddenAssistant;
|
|
2038
|
+
createdAt?: string;
|
|
1990
2039
|
id?: string;
|
|
1991
2040
|
messageId?: string;
|
|
1992
2041
|
name?: string;
|
|
@@ -1995,6 +2044,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
1995
2044
|
} | {
|
|
1996
2045
|
content: string;
|
|
1997
2046
|
role: MessageRole.HiddenGuide;
|
|
2047
|
+
createdAt?: string;
|
|
1998
2048
|
id?: string;
|
|
1999
2049
|
messageId?: string;
|
|
2000
2050
|
name?: string;
|
|
@@ -2003,6 +2053,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2003
2053
|
} | {
|
|
2004
2054
|
content: string;
|
|
2005
2055
|
role: MessageRole.Hidden;
|
|
2056
|
+
createdAt?: string;
|
|
2006
2057
|
id?: string;
|
|
2007
2058
|
messageId?: string;
|
|
2008
2059
|
name?: string;
|
|
@@ -2011,6 +2062,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2011
2062
|
} | {
|
|
2012
2063
|
content: string;
|
|
2013
2064
|
role: MessageRole.HiddenSystem;
|
|
2065
|
+
createdAt?: string;
|
|
2014
2066
|
id?: string;
|
|
2015
2067
|
messageId?: string;
|
|
2016
2068
|
name?: string;
|
|
@@ -2019,6 +2071,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2019
2071
|
} | {
|
|
2020
2072
|
content: string;
|
|
2021
2073
|
role: MessageRole.HiddenUser;
|
|
2074
|
+
createdAt?: string;
|
|
2022
2075
|
id?: string;
|
|
2023
2076
|
messageId?: string;
|
|
2024
2077
|
name?: string;
|
|
@@ -2027,6 +2080,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2027
2080
|
} | {
|
|
2028
2081
|
content: string;
|
|
2029
2082
|
role: MessageRole.Info;
|
|
2083
|
+
createdAt?: string;
|
|
2030
2084
|
id?: string;
|
|
2031
2085
|
messageId?: string;
|
|
2032
2086
|
name?: string;
|
|
@@ -2035,6 +2089,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2035
2089
|
} | {
|
|
2036
2090
|
content: string;
|
|
2037
2091
|
role: MessageRole.Pause;
|
|
2092
|
+
createdAt?: string;
|
|
2038
2093
|
id?: string;
|
|
2039
2094
|
messageId?: string;
|
|
2040
2095
|
name?: string;
|
|
@@ -2043,6 +2098,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2043
2098
|
} | {
|
|
2044
2099
|
content: string;
|
|
2045
2100
|
role: MessageRole.Placeholder;
|
|
2101
|
+
createdAt?: string;
|
|
2046
2102
|
id?: string;
|
|
2047
2103
|
messageId?: string;
|
|
2048
2104
|
name?: string;
|
|
@@ -2052,6 +2108,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2052
2108
|
content: string[];
|
|
2053
2109
|
duration?: number;
|
|
2054
2110
|
role: MessageRole.Reasoning;
|
|
2111
|
+
createdAt?: string;
|
|
2055
2112
|
id?: string;
|
|
2056
2113
|
messageId?: string;
|
|
2057
2114
|
name?: string;
|
|
@@ -2060,6 +2117,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2060
2117
|
} | {
|
|
2061
2118
|
content: string;
|
|
2062
2119
|
role: MessageRole.System;
|
|
2120
|
+
createdAt?: string;
|
|
2063
2121
|
id?: string;
|
|
2064
2122
|
messageId?: string;
|
|
2065
2123
|
name?: string;
|
|
@@ -2068,6 +2126,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2068
2126
|
} | {
|
|
2069
2127
|
content: string;
|
|
2070
2128
|
role: MessageRole.TemplateAssistant;
|
|
2129
|
+
createdAt?: string;
|
|
2071
2130
|
id?: string;
|
|
2072
2131
|
messageId?: string;
|
|
2073
2132
|
name?: string;
|
|
@@ -2076,6 +2135,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2076
2135
|
} | {
|
|
2077
2136
|
content: string;
|
|
2078
2137
|
role: MessageRole.TemplateGuide;
|
|
2138
|
+
createdAt?: string;
|
|
2079
2139
|
id?: string;
|
|
2080
2140
|
messageId?: string;
|
|
2081
2141
|
name?: string;
|
|
@@ -2084,6 +2144,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2084
2144
|
} | {
|
|
2085
2145
|
content: string;
|
|
2086
2146
|
role: MessageRole.TemplateHidden;
|
|
2147
|
+
createdAt?: string;
|
|
2087
2148
|
id?: string;
|
|
2088
2149
|
messageId?: string;
|
|
2089
2150
|
name?: string;
|
|
@@ -2092,6 +2153,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2092
2153
|
} | {
|
|
2093
2154
|
content: string;
|
|
2094
2155
|
role: MessageRole.TemplateSystem;
|
|
2156
|
+
createdAt?: string;
|
|
2095
2157
|
id?: string;
|
|
2096
2158
|
messageId?: string;
|
|
2097
2159
|
name?: string;
|
|
@@ -2100,6 +2162,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2100
2162
|
} | {
|
|
2101
2163
|
content: string;
|
|
2102
2164
|
role: MessageRole.TemplateUser;
|
|
2165
|
+
createdAt?: string;
|
|
2103
2166
|
id?: string;
|
|
2104
2167
|
messageId?: string;
|
|
2105
2168
|
name?: string;
|
|
@@ -2111,6 +2174,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2111
2174
|
error?: string;
|
|
2112
2175
|
role: MessageRole.Tool;
|
|
2113
2176
|
toolCallId: string;
|
|
2177
|
+
createdAt?: string;
|
|
2114
2178
|
id?: string;
|
|
2115
2179
|
messageId?: string;
|
|
2116
2180
|
name?: string;
|
|
@@ -2154,6 +2218,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2154
2218
|
};
|
|
2155
2219
|
};
|
|
2156
2220
|
role: MessageRole.User;
|
|
2221
|
+
createdAt?: string;
|
|
2157
2222
|
id?: string;
|
|
2158
2223
|
messageId?: string;
|
|
2159
2224
|
name?: string;
|
|
@@ -2784,6 +2849,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2784
2849
|
timestamp?: number;
|
|
2785
2850
|
};
|
|
2786
2851
|
role: MessageRole.Interrupt;
|
|
2852
|
+
createdAt?: string;
|
|
2787
2853
|
id?: string;
|
|
2788
2854
|
messageId?: string;
|
|
2789
2855
|
name?: string;
|
|
@@ -2847,6 +2913,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2847
2913
|
};
|
|
2848
2914
|
};
|
|
2849
2915
|
role: MessageRole.Activity;
|
|
2916
|
+
createdAt?: string;
|
|
2850
2917
|
id?: string;
|
|
2851
2918
|
messageId?: string;
|
|
2852
2919
|
name?: string;
|
|
@@ -2890,6 +2957,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2890
2957
|
id: string;
|
|
2891
2958
|
type: import("./type").MessageType.Function;
|
|
2892
2959
|
}[];
|
|
2960
|
+
createdAt?: string;
|
|
2893
2961
|
id?: string;
|
|
2894
2962
|
messageId?: string;
|
|
2895
2963
|
name?: string;
|
|
@@ -2898,6 +2966,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2898
2966
|
} | {
|
|
2899
2967
|
content: string;
|
|
2900
2968
|
role: MessageRole.Developer;
|
|
2969
|
+
createdAt?: string;
|
|
2901
2970
|
id?: string;
|
|
2902
2971
|
messageId?: string;
|
|
2903
2972
|
name?: string;
|
|
@@ -2906,6 +2975,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2906
2975
|
} | {
|
|
2907
2976
|
content: string;
|
|
2908
2977
|
role: MessageRole.Guide;
|
|
2978
|
+
createdAt?: string;
|
|
2909
2979
|
id?: string;
|
|
2910
2980
|
messageId?: string;
|
|
2911
2981
|
name?: string;
|
|
@@ -2914,6 +2984,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2914
2984
|
} | {
|
|
2915
2985
|
content: string;
|
|
2916
2986
|
role: MessageRole.HiddenAssistant;
|
|
2987
|
+
createdAt?: string;
|
|
2917
2988
|
id?: string;
|
|
2918
2989
|
messageId?: string;
|
|
2919
2990
|
name?: string;
|
|
@@ -2922,6 +2993,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2922
2993
|
} | {
|
|
2923
2994
|
content: string;
|
|
2924
2995
|
role: MessageRole.HiddenGuide;
|
|
2996
|
+
createdAt?: string;
|
|
2925
2997
|
id?: string;
|
|
2926
2998
|
messageId?: string;
|
|
2927
2999
|
name?: string;
|
|
@@ -2930,6 +3002,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2930
3002
|
} | {
|
|
2931
3003
|
content: string;
|
|
2932
3004
|
role: MessageRole.Hidden;
|
|
3005
|
+
createdAt?: string;
|
|
2933
3006
|
id?: string;
|
|
2934
3007
|
messageId?: string;
|
|
2935
3008
|
name?: string;
|
|
@@ -2938,6 +3011,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2938
3011
|
} | {
|
|
2939
3012
|
content: string;
|
|
2940
3013
|
role: MessageRole.HiddenSystem;
|
|
3014
|
+
createdAt?: string;
|
|
2941
3015
|
id?: string;
|
|
2942
3016
|
messageId?: string;
|
|
2943
3017
|
name?: string;
|
|
@@ -2946,6 +3020,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2946
3020
|
} | {
|
|
2947
3021
|
content: string;
|
|
2948
3022
|
role: MessageRole.HiddenUser;
|
|
3023
|
+
createdAt?: string;
|
|
2949
3024
|
id?: string;
|
|
2950
3025
|
messageId?: string;
|
|
2951
3026
|
name?: string;
|
|
@@ -2954,6 +3029,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2954
3029
|
} | {
|
|
2955
3030
|
content: string;
|
|
2956
3031
|
role: MessageRole.Info;
|
|
3032
|
+
createdAt?: string;
|
|
2957
3033
|
id?: string;
|
|
2958
3034
|
messageId?: string;
|
|
2959
3035
|
name?: string;
|
|
@@ -2962,6 +3038,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2962
3038
|
} | {
|
|
2963
3039
|
content: string;
|
|
2964
3040
|
role: MessageRole.Pause;
|
|
3041
|
+
createdAt?: string;
|
|
2965
3042
|
id?: string;
|
|
2966
3043
|
messageId?: string;
|
|
2967
3044
|
name?: string;
|
|
@@ -2970,6 +3047,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2970
3047
|
} | {
|
|
2971
3048
|
content: string;
|
|
2972
3049
|
role: MessageRole.Placeholder;
|
|
3050
|
+
createdAt?: string;
|
|
2973
3051
|
id?: string;
|
|
2974
3052
|
messageId?: string;
|
|
2975
3053
|
name?: string;
|
|
@@ -2979,6 +3057,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2979
3057
|
content: string[];
|
|
2980
3058
|
duration?: number;
|
|
2981
3059
|
role: MessageRole.Reasoning;
|
|
3060
|
+
createdAt?: string;
|
|
2982
3061
|
id?: string;
|
|
2983
3062
|
messageId?: string;
|
|
2984
3063
|
name?: string;
|
|
@@ -2987,6 +3066,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2987
3066
|
} | {
|
|
2988
3067
|
content: string;
|
|
2989
3068
|
role: MessageRole.System;
|
|
3069
|
+
createdAt?: string;
|
|
2990
3070
|
id?: string;
|
|
2991
3071
|
messageId?: string;
|
|
2992
3072
|
name?: string;
|
|
@@ -2995,6 +3075,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
2995
3075
|
} | {
|
|
2996
3076
|
content: string;
|
|
2997
3077
|
role: MessageRole.TemplateAssistant;
|
|
3078
|
+
createdAt?: string;
|
|
2998
3079
|
id?: string;
|
|
2999
3080
|
messageId?: string;
|
|
3000
3081
|
name?: string;
|
|
@@ -3003,6 +3084,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
3003
3084
|
} | {
|
|
3004
3085
|
content: string;
|
|
3005
3086
|
role: MessageRole.TemplateGuide;
|
|
3087
|
+
createdAt?: string;
|
|
3006
3088
|
id?: string;
|
|
3007
3089
|
messageId?: string;
|
|
3008
3090
|
name?: string;
|
|
@@ -3011,6 +3093,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
3011
3093
|
} | {
|
|
3012
3094
|
content: string;
|
|
3013
3095
|
role: MessageRole.TemplateHidden;
|
|
3096
|
+
createdAt?: string;
|
|
3014
3097
|
id?: string;
|
|
3015
3098
|
messageId?: string;
|
|
3016
3099
|
name?: string;
|
|
@@ -3019,6 +3102,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
3019
3102
|
} | {
|
|
3020
3103
|
content: string;
|
|
3021
3104
|
role: MessageRole.TemplateSystem;
|
|
3105
|
+
createdAt?: string;
|
|
3022
3106
|
id?: string;
|
|
3023
3107
|
messageId?: string;
|
|
3024
3108
|
name?: string;
|
|
@@ -3027,6 +3111,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
3027
3111
|
} | {
|
|
3028
3112
|
content: string;
|
|
3029
3113
|
role: MessageRole.TemplateUser;
|
|
3114
|
+
createdAt?: string;
|
|
3030
3115
|
id?: string;
|
|
3031
3116
|
messageId?: string;
|
|
3032
3117
|
name?: string;
|
|
@@ -3038,6 +3123,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
3038
3123
|
error?: string;
|
|
3039
3124
|
role: MessageRole.Tool;
|
|
3040
3125
|
toolCallId: string;
|
|
3126
|
+
createdAt?: string;
|
|
3041
3127
|
id?: string;
|
|
3042
3128
|
messageId?: string;
|
|
3043
3129
|
name?: string;
|
|
@@ -3081,6 +3167,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
3081
3167
|
};
|
|
3082
3168
|
};
|
|
3083
3169
|
role: MessageRole.User;
|
|
3170
|
+
createdAt?: string;
|
|
3084
3171
|
id?: string;
|
|
3085
3172
|
messageId?: string;
|
|
3086
3173
|
name?: string;
|
|
@@ -3711,6 +3798,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
|
|
|
3711
3798
|
timestamp?: number;
|
|
3712
3799
|
};
|
|
3713
3800
|
role: MessageRole.Interrupt;
|
|
3801
|
+
createdAt?: string;
|
|
3714
3802
|
id?: string;
|
|
3715
3803
|
messageId?: string;
|
|
3716
3804
|
name?: string;
|