@blueking/chat-helper 0.0.12-beta.9 → 0.0.13-dev.1

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 (38) hide show
  1. package/README.md +21 -7
  2. package/dist/agent/type.d.ts +82 -0
  3. package/dist/agent/type.ts.js +5 -1
  4. package/dist/agent/use-agent.d.ts +229 -10
  5. package/dist/agent/use-agent.ts.js +365 -25
  6. package/dist/event/ag-ui.d.ts +4 -1
  7. package/dist/event/ag-ui.ts.js +76 -6
  8. package/dist/event/type.d.ts +14 -2
  9. package/dist/event/type.ts.js +2 -0
  10. package/dist/http/fetch/fetch.spec.d.ts +1 -0
  11. package/dist/http/fetch/fetch.ts.js +106 -22
  12. package/dist/http/index.d.ts +11 -5
  13. package/dist/http/module/agent.d.ts +2 -0
  14. package/dist/http/module/agent.ts.js +19 -2
  15. package/dist/http/module/index.d.ts +11 -5
  16. package/dist/http/module/message.d.ts +1 -1
  17. package/dist/http/module/message.ts.js +4 -3
  18. package/dist/http/module/session.d.ts +10 -5
  19. package/dist/http/module/session.ts.js +60 -3
  20. package/dist/http/transform/agent.d.ts +9 -1
  21. package/dist/http/transform/agent.spec.d.ts +1 -0
  22. package/dist/http/transform/agent.ts.js +29 -0
  23. package/dist/http/transform/message.spec.d.ts +1 -0
  24. package/dist/http/transform/message.ts.js +19 -5
  25. package/dist/index.d.ts +1194 -16
  26. package/dist/message/type.d.ts +35 -3
  27. package/dist/message/type.ts.js +16 -0
  28. package/dist/message/use-message.d.ts +316 -0
  29. package/dist/session/index.d.ts +1 -0
  30. package/dist/session/index.ts.js +2 -1
  31. package/dist/session/pv-file-upload.d.ts +7 -0
  32. package/dist/session/pv-file-upload.spec.d.ts +1 -0
  33. package/dist/session/pv-file-upload.ts.js +64 -0
  34. package/dist/session/type.d.ts +57 -0
  35. package/dist/session/use-session.d.ts +644 -6
  36. package/dist/session/use-session.spec.d.ts +1 -0
  37. package/dist/session/use-session.ts.js +117 -10
  38. package/package.json +4 -2
package/dist/index.d.ts CHANGED
@@ -14,6 +14,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
14
14
  agent: {
15
15
  info: import("vue").Ref<{
16
16
  agentName?: string;
17
+ agentType?: "claw" | "single" | string;
18
+ agentSdkVersion?: string;
17
19
  relatedSkills?: {
18
20
  description: string;
19
21
  icon: string;
@@ -72,6 +74,17 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
72
74
  content?: ({
73
75
  activityType: import("./message").ActivityType;
74
76
  content: {
77
+ artifacts: {
78
+ name: string;
79
+ outputId: string;
80
+ size: number;
81
+ type: string;
82
+ previewUrl?: string;
83
+ url?: string;
84
+ }[];
85
+ runId: string;
86
+ status: "complete" | "empty";
87
+ } | {
75
88
  nodes: Record<string, import("./event").IFlowAgentNode>;
76
89
  task_id: string;
77
90
  task_name: string;
@@ -89,7 +102,34 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
89
102
  originFileUrl?: string;
90
103
  url: string;
91
104
  }[];
105
+ property?: {
106
+ [x: string]: unknown;
107
+ artifacts?: {
108
+ name: string;
109
+ outputId: string;
110
+ size: number;
111
+ type: string;
112
+ previewUrl?: string;
113
+ url?: string;
114
+ }[];
115
+ docSchema?: unknown;
116
+ extra?: {
117
+ [x: string]: unknown;
118
+ cite?: string | {
119
+ data: {
120
+ key: string;
121
+ value: string;
122
+ }[];
123
+ title: string;
124
+ type: string;
125
+ };
126
+ command?: string;
127
+ context?: Array<Record<string, unknown>>;
128
+ resources?: Array<Record<string, unknown>>;
129
+ };
130
+ };
92
131
  role: import("./message").MessageRole.Activity;
132
+ createdAt?: string;
93
133
  id?: string;
94
134
  messageId?: string;
95
135
  name?: string;
@@ -99,6 +139,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
99
139
  content?: string;
100
140
  property?: {
101
141
  [x: string]: unknown;
142
+ artifacts?: {
143
+ name: string;
144
+ outputId: string;
145
+ size: number;
146
+ type: string;
147
+ previewUrl?: string;
148
+ url?: string;
149
+ }[];
150
+ docSchema?: unknown;
102
151
  extra?: {
103
152
  [x: string]: unknown;
104
153
  cite?: string | {
@@ -125,6 +174,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
125
174
  id: string;
126
175
  type: import("./message").MessageType.Function;
127
176
  }[];
177
+ createdAt?: string;
128
178
  id?: string;
129
179
  messageId?: string;
130
180
  name?: string;
@@ -133,6 +183,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
133
183
  } | {
134
184
  content: string;
135
185
  role: import("./message").MessageRole.Developer;
186
+ createdAt?: string;
136
187
  id?: string;
137
188
  messageId?: string;
138
189
  name?: string;
@@ -763,6 +814,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
763
814
  timestamp?: number;
764
815
  };
765
816
  role: import("./message").MessageRole.Interrupt;
817
+ createdAt?: string;
766
818
  id?: string;
767
819
  messageId?: string;
768
820
  name?: string;
@@ -771,6 +823,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
771
823
  } | {
772
824
  content: string;
773
825
  role: import("./message").MessageRole.Guide;
826
+ createdAt?: string;
774
827
  id?: string;
775
828
  messageId?: string;
776
829
  name?: string;
@@ -779,6 +832,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
779
832
  } | {
780
833
  content: string;
781
834
  role: import("./message").MessageRole.HiddenAssistant;
835
+ createdAt?: string;
782
836
  id?: string;
783
837
  messageId?: string;
784
838
  name?: string;
@@ -787,6 +841,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
787
841
  } | {
788
842
  content: string;
789
843
  role: import("./message").MessageRole.HiddenGuide;
844
+ createdAt?: string;
790
845
  id?: string;
791
846
  messageId?: string;
792
847
  name?: string;
@@ -795,6 +850,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
795
850
  } | {
796
851
  content: string;
797
852
  role: import("./message").MessageRole.Hidden;
853
+ createdAt?: string;
798
854
  id?: string;
799
855
  messageId?: string;
800
856
  name?: string;
@@ -803,6 +859,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
803
859
  } | {
804
860
  content: string;
805
861
  role: import("./message").MessageRole.HiddenSystem;
862
+ createdAt?: string;
806
863
  id?: string;
807
864
  messageId?: string;
808
865
  name?: string;
@@ -811,6 +868,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
811
868
  } | {
812
869
  content: string;
813
870
  role: import("./message").MessageRole.HiddenUser;
871
+ createdAt?: string;
814
872
  id?: string;
815
873
  messageId?: string;
816
874
  name?: string;
@@ -819,6 +877,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
819
877
  } | {
820
878
  content: string;
821
879
  role: import("./message").MessageRole.Info;
880
+ createdAt?: string;
822
881
  id?: string;
823
882
  messageId?: string;
824
883
  name?: string;
@@ -827,6 +886,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
827
886
  } | {
828
887
  content: string;
829
888
  role: import("./message").MessageRole.Pause;
889
+ createdAt?: string;
830
890
  id?: string;
831
891
  messageId?: string;
832
892
  name?: string;
@@ -835,6 +895,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
835
895
  } | {
836
896
  content: string;
837
897
  role: import("./message").MessageRole.Placeholder;
898
+ createdAt?: string;
838
899
  id?: string;
839
900
  messageId?: string;
840
901
  name?: string;
@@ -844,6 +905,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
844
905
  content: string[];
845
906
  duration?: number;
846
907
  role: import("./message").MessageRole.Reasoning;
908
+ createdAt?: string;
847
909
  id?: string;
848
910
  messageId?: string;
849
911
  name?: string;
@@ -852,6 +914,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
852
914
  } | {
853
915
  content: string;
854
916
  role: import("./message").MessageRole.System;
917
+ createdAt?: string;
855
918
  id?: string;
856
919
  messageId?: string;
857
920
  name?: string;
@@ -860,6 +923,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
860
923
  } | {
861
924
  content: string;
862
925
  role: import("./message").MessageRole.TemplateAssistant;
926
+ createdAt?: string;
863
927
  id?: string;
864
928
  messageId?: string;
865
929
  name?: string;
@@ -868,6 +932,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
868
932
  } | {
869
933
  content: string;
870
934
  role: import("./message").MessageRole.TemplateGuide;
935
+ createdAt?: string;
871
936
  id?: string;
872
937
  messageId?: string;
873
938
  name?: string;
@@ -876,6 +941,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
876
941
  } | {
877
942
  content: string;
878
943
  role: import("./message").MessageRole.TemplateHidden;
944
+ createdAt?: string;
879
945
  id?: string;
880
946
  messageId?: string;
881
947
  name?: string;
@@ -884,6 +950,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
884
950
  } | {
885
951
  content: string;
886
952
  role: import("./message").MessageRole.TemplateSystem;
953
+ createdAt?: string;
887
954
  id?: string;
888
955
  messageId?: string;
889
956
  name?: string;
@@ -892,6 +959,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
892
959
  } | {
893
960
  content: string;
894
961
  role: import("./message").MessageRole.TemplateUser;
962
+ createdAt?: string;
895
963
  id?: string;
896
964
  messageId?: string;
897
965
  name?: string;
@@ -903,6 +971,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
903
971
  error?: string;
904
972
  role: import("./message").MessageRole.Tool;
905
973
  toolCallId: string;
974
+ createdAt?: string;
906
975
  id?: string;
907
976
  messageId?: string;
908
977
  name?: string;
@@ -914,6 +983,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
914
983
  filename?: string;
915
984
  id?: string;
916
985
  mimeType: string;
986
+ outputId?: string;
987
+ size?: number;
917
988
  type: import("./message").MessageType.Binary;
918
989
  url?: string;
919
990
  } | {
@@ -922,6 +993,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
922
993
  })[];
923
994
  property?: {
924
995
  [x: string]: unknown;
996
+ artifacts?: {
997
+ name: string;
998
+ outputId: string;
999
+ size: number;
1000
+ type: string;
1001
+ previewUrl?: string;
1002
+ url?: string;
1003
+ }[];
1004
+ docSchema?: unknown;
925
1005
  extra?: {
926
1006
  [x: string]: unknown;
927
1007
  cite?: string | {
@@ -938,6 +1018,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
938
1018
  };
939
1019
  };
940
1020
  role: import("./message").MessageRole.User;
1021
+ createdAt?: string;
941
1022
  id?: string;
942
1023
  messageId?: string;
943
1024
  name?: string;
@@ -950,6 +1031,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
950
1031
  };
951
1032
  }, import("./agent").IAgentInfo | {
952
1033
  agentName?: string;
1034
+ agentType?: "claw" | "single" | string;
1035
+ agentSdkVersion?: string;
953
1036
  relatedSkills?: {
954
1037
  description: string;
955
1038
  icon: string;
@@ -1008,6 +1091,17 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1008
1091
  content?: ({
1009
1092
  activityType: import("./message").ActivityType;
1010
1093
  content: {
1094
+ artifacts: {
1095
+ name: string;
1096
+ outputId: string;
1097
+ size: number;
1098
+ type: string;
1099
+ previewUrl?: string;
1100
+ url?: string;
1101
+ }[];
1102
+ runId: string;
1103
+ status: "complete" | "empty";
1104
+ } | {
1011
1105
  nodes: Record<string, import("./event").IFlowAgentNode>;
1012
1106
  task_id: string;
1013
1107
  task_name: string;
@@ -1025,7 +1119,34 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1025
1119
  originFileUrl?: string;
1026
1120
  url: string;
1027
1121
  }[];
1122
+ property?: {
1123
+ [x: string]: unknown;
1124
+ artifacts?: {
1125
+ name: string;
1126
+ outputId: string;
1127
+ size: number;
1128
+ type: string;
1129
+ previewUrl?: string;
1130
+ url?: string;
1131
+ }[];
1132
+ docSchema?: unknown;
1133
+ extra?: {
1134
+ [x: string]: unknown;
1135
+ cite?: string | {
1136
+ data: {
1137
+ key: string;
1138
+ value: string;
1139
+ }[];
1140
+ title: string;
1141
+ type: string;
1142
+ };
1143
+ command?: string;
1144
+ context?: Array<Record<string, unknown>>;
1145
+ resources?: Array<Record<string, unknown>>;
1146
+ };
1147
+ };
1028
1148
  role: import("./message").MessageRole.Activity;
1149
+ createdAt?: string;
1029
1150
  id?: string;
1030
1151
  messageId?: string;
1031
1152
  name?: string;
@@ -1035,6 +1156,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1035
1156
  content?: string;
1036
1157
  property?: {
1037
1158
  [x: string]: unknown;
1159
+ artifacts?: {
1160
+ name: string;
1161
+ outputId: string;
1162
+ size: number;
1163
+ type: string;
1164
+ previewUrl?: string;
1165
+ url?: string;
1166
+ }[];
1167
+ docSchema?: unknown;
1038
1168
  extra?: {
1039
1169
  [x: string]: unknown;
1040
1170
  cite?: string | {
@@ -1061,6 +1191,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1061
1191
  id: string;
1062
1192
  type: import("./message").MessageType.Function;
1063
1193
  }[];
1194
+ createdAt?: string;
1064
1195
  id?: string;
1065
1196
  messageId?: string;
1066
1197
  name?: string;
@@ -1069,6 +1200,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1069
1200
  } | {
1070
1201
  content: string;
1071
1202
  role: import("./message").MessageRole.Developer;
1203
+ createdAt?: string;
1072
1204
  id?: string;
1073
1205
  messageId?: string;
1074
1206
  name?: string;
@@ -1699,6 +1831,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1699
1831
  timestamp?: number;
1700
1832
  };
1701
1833
  role: import("./message").MessageRole.Interrupt;
1834
+ createdAt?: string;
1702
1835
  id?: string;
1703
1836
  messageId?: string;
1704
1837
  name?: string;
@@ -1707,6 +1840,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1707
1840
  } | {
1708
1841
  content: string;
1709
1842
  role: import("./message").MessageRole.Guide;
1843
+ createdAt?: string;
1710
1844
  id?: string;
1711
1845
  messageId?: string;
1712
1846
  name?: string;
@@ -1715,6 +1849,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1715
1849
  } | {
1716
1850
  content: string;
1717
1851
  role: import("./message").MessageRole.HiddenAssistant;
1852
+ createdAt?: string;
1718
1853
  id?: string;
1719
1854
  messageId?: string;
1720
1855
  name?: string;
@@ -1723,6 +1858,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1723
1858
  } | {
1724
1859
  content: string;
1725
1860
  role: import("./message").MessageRole.HiddenGuide;
1861
+ createdAt?: string;
1726
1862
  id?: string;
1727
1863
  messageId?: string;
1728
1864
  name?: string;
@@ -1731,6 +1867,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1731
1867
  } | {
1732
1868
  content: string;
1733
1869
  role: import("./message").MessageRole.Hidden;
1870
+ createdAt?: string;
1734
1871
  id?: string;
1735
1872
  messageId?: string;
1736
1873
  name?: string;
@@ -1739,6 +1876,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1739
1876
  } | {
1740
1877
  content: string;
1741
1878
  role: import("./message").MessageRole.HiddenSystem;
1879
+ createdAt?: string;
1742
1880
  id?: string;
1743
1881
  messageId?: string;
1744
1882
  name?: string;
@@ -1747,6 +1885,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1747
1885
  } | {
1748
1886
  content: string;
1749
1887
  role: import("./message").MessageRole.HiddenUser;
1888
+ createdAt?: string;
1750
1889
  id?: string;
1751
1890
  messageId?: string;
1752
1891
  name?: string;
@@ -1755,6 +1894,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1755
1894
  } | {
1756
1895
  content: string;
1757
1896
  role: import("./message").MessageRole.Info;
1897
+ createdAt?: string;
1758
1898
  id?: string;
1759
1899
  messageId?: string;
1760
1900
  name?: string;
@@ -1763,6 +1903,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1763
1903
  } | {
1764
1904
  content: string;
1765
1905
  role: import("./message").MessageRole.Pause;
1906
+ createdAt?: string;
1766
1907
  id?: string;
1767
1908
  messageId?: string;
1768
1909
  name?: string;
@@ -1771,6 +1912,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1771
1912
  } | {
1772
1913
  content: string;
1773
1914
  role: import("./message").MessageRole.Placeholder;
1915
+ createdAt?: string;
1774
1916
  id?: string;
1775
1917
  messageId?: string;
1776
1918
  name?: string;
@@ -1780,6 +1922,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1780
1922
  content: string[];
1781
1923
  duration?: number;
1782
1924
  role: import("./message").MessageRole.Reasoning;
1925
+ createdAt?: string;
1783
1926
  id?: string;
1784
1927
  messageId?: string;
1785
1928
  name?: string;
@@ -1788,6 +1931,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1788
1931
  } | {
1789
1932
  content: string;
1790
1933
  role: import("./message").MessageRole.System;
1934
+ createdAt?: string;
1791
1935
  id?: string;
1792
1936
  messageId?: string;
1793
1937
  name?: string;
@@ -1796,6 +1940,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1796
1940
  } | {
1797
1941
  content: string;
1798
1942
  role: import("./message").MessageRole.TemplateAssistant;
1943
+ createdAt?: string;
1799
1944
  id?: string;
1800
1945
  messageId?: string;
1801
1946
  name?: string;
@@ -1804,6 +1949,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1804
1949
  } | {
1805
1950
  content: string;
1806
1951
  role: import("./message").MessageRole.TemplateGuide;
1952
+ createdAt?: string;
1807
1953
  id?: string;
1808
1954
  messageId?: string;
1809
1955
  name?: string;
@@ -1812,6 +1958,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1812
1958
  } | {
1813
1959
  content: string;
1814
1960
  role: import("./message").MessageRole.TemplateHidden;
1961
+ createdAt?: string;
1815
1962
  id?: string;
1816
1963
  messageId?: string;
1817
1964
  name?: string;
@@ -1820,6 +1967,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1820
1967
  } | {
1821
1968
  content: string;
1822
1969
  role: import("./message").MessageRole.TemplateSystem;
1970
+ createdAt?: string;
1823
1971
  id?: string;
1824
1972
  messageId?: string;
1825
1973
  name?: string;
@@ -1828,6 +1976,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1828
1976
  } | {
1829
1977
  content: string;
1830
1978
  role: import("./message").MessageRole.TemplateUser;
1979
+ createdAt?: string;
1831
1980
  id?: string;
1832
1981
  messageId?: string;
1833
1982
  name?: string;
@@ -1839,6 +1988,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1839
1988
  error?: string;
1840
1989
  role: import("./message").MessageRole.Tool;
1841
1990
  toolCallId: string;
1991
+ createdAt?: string;
1842
1992
  id?: string;
1843
1993
  messageId?: string;
1844
1994
  name?: string;
@@ -1850,6 +2000,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1850
2000
  filename?: string;
1851
2001
  id?: string;
1852
2002
  mimeType: string;
2003
+ outputId?: string;
2004
+ size?: number;
1853
2005
  type: import("./message").MessageType.Binary;
1854
2006
  url?: string;
1855
2007
  } | {
@@ -1858,6 +2010,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1858
2010
  })[];
1859
2011
  property?: {
1860
2012
  [x: string]: unknown;
2013
+ artifacts?: {
2014
+ name: string;
2015
+ outputId: string;
2016
+ size: number;
2017
+ type: string;
2018
+ previewUrl?: string;
2019
+ url?: string;
2020
+ }[];
2021
+ docSchema?: unknown;
1861
2022
  extra?: {
1862
2023
  [x: string]: unknown;
1863
2024
  cite?: string | {
@@ -1874,6 +2035,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1874
2035
  };
1875
2036
  };
1876
2037
  role: import("./message").MessageRole.User;
2038
+ createdAt?: string;
1877
2039
  id?: string;
1878
2040
  messageId?: string;
1879
2041
  name?: string;
@@ -1887,24 +2049,80 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1887
2049
  }>;
1888
2050
  isInfoLoading: import("vue").Ref<boolean, boolean>;
1889
2051
  isChatting: import("vue").Ref<boolean, boolean>;
1890
- chat: (userInput: import("./message").IUserMessage["content"], sessionCode: string, url?: string, config?: import("./http").IRequestConfig, property?: import("./message").IMessageProperty) => Promise<void>;
2052
+ models: import("vue").Ref<{
2053
+ base_model?: string;
2054
+ description?: string;
2055
+ disabled?: boolean;
2056
+ icon?: string;
2057
+ id: number;
2058
+ llm_code: string;
2059
+ llm_name: string;
2060
+ llm_type: string;
2061
+ max_token_size: number;
2062
+ property: {
2063
+ agent_type?: string;
2064
+ default?: boolean;
2065
+ is_self_host?: boolean;
2066
+ max_model_len?: number;
2067
+ support_summary?: boolean;
2068
+ support_thinking?: boolean;
2069
+ support_thinking_quick?: boolean;
2070
+ support_tools?: boolean;
2071
+ support_vision?: boolean;
2072
+ support_window?: boolean;
2073
+ };
2074
+ space_auth_mode: string;
2075
+ tag_names?: string[];
2076
+ user_auth_mode: string;
2077
+ }[], import("./agent").ILlmItem[] | {
2078
+ base_model?: string;
2079
+ description?: string;
2080
+ disabled?: boolean;
2081
+ icon?: string;
2082
+ id: number;
2083
+ llm_code: string;
2084
+ llm_name: string;
2085
+ llm_type: string;
2086
+ max_token_size: number;
2087
+ property: {
2088
+ agent_type?: string;
2089
+ default?: boolean;
2090
+ is_self_host?: boolean;
2091
+ max_model_len?: number;
2092
+ support_summary?: boolean;
2093
+ support_thinking?: boolean;
2094
+ support_thinking_quick?: boolean;
2095
+ support_tools?: boolean;
2096
+ support_vision?: boolean;
2097
+ support_window?: boolean;
2098
+ };
2099
+ space_auth_mode: string;
2100
+ tag_names?: string[];
2101
+ user_auth_mode: string;
2102
+ }[]>;
2103
+ isModelsLoading: import("vue").Ref<boolean, boolean>;
2104
+ chat: (userInput: import("./message").IUserMessage["content"], sessionCode: string, url?: string, config?: import("./http").IRequestConfig, property?: import("./message").IMessageProperty, model?: string) => Promise<void>;
1891
2105
  handleRole: (data: import("./agent").IAgentInfo, sessionCode: string) => void;
1892
- resendMessage: (messageId: string, sessionCode: string, newContent?: import("./message").IUserMessage["content"], url?: string, config?: import("./http").IRequestConfig) => Promise<void>;
1893
- resumeStreamingChat: (sessionCode: string, url?: string, config?: import("./http").IRequestConfig) => void;
2106
+ resendMessage: (messageId: string, sessionCode: string, newContent?: import("./message").IUserMessage["content"], url?: string, config?: import("./http").IRequestConfig, model?: string) => Promise<void>;
2107
+ resumeStreamingChat: (sessionCode: string, url?: string, config?: import("./http").IRequestConfig, model?: string) => void;
1894
2108
  abortChat: () => void;
1895
2109
  stopChat: (sessionCode: string) => Promise<void>;
1896
2110
  getAgentInfo: () => Promise<void>;
2111
+ getLlms: (params?: import("./agent").ILlmListQuery, config?: import("./http").IRequestConfig) => Promise<import("./agent").ILlmItem[]>;
1897
2112
  reset: (protocol: import("./http").ISSEProtocol) => void;
1898
- pollResumeSession: (sessionCode: string) => void;
2113
+ pollResumeSession: (sessionCode: string, model?: string) => void;
1899
2114
  clearLongPollTimer: () => void;
1900
- userOperationStreamRequest: (sessionCode: string, operation: import("./message").UserOperation, payload: import("./message").IUserOperationPayload, config?: import("./http").IRequestConfig) => Promise<void>;
1901
- streamRequest: ({ sessionCode, url, config, resume, input, lastMessageId, }: {
2115
+ userOperationStreamRequest: (sessionCode: string, operation: import("./message").UserOperation, payload: import("./message").IUserOperationPayload, config?: import("./http").IRequestConfig, model?: string) => Promise<void>;
2116
+ streamRequest: ({ sessionCode, model, url, config, resume, input, lastMessageId, isReconnect, streamMode, }: {
1902
2117
  sessionCode: string;
2118
+ model?: string;
1903
2119
  url?: string;
1904
2120
  config?: import("./http").IRequestConfig;
1905
2121
  resume?: import("./event").IResume;
1906
2122
  input?: string;
1907
2123
  lastMessageId?: string;
2124
+ isReconnect?: boolean;
2125
+ streamMode?: import("./agent").StreamMode;
1908
2126
  }) => Promise<void>;
1909
2127
  };
1910
2128
  session: {
@@ -1927,6 +2145,17 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1927
2145
  content: ({
1928
2146
  activityType: import("./message").ActivityType;
1929
2147
  content: {
2148
+ artifacts: {
2149
+ name: string;
2150
+ outputId: string;
2151
+ size: number;
2152
+ type: string;
2153
+ previewUrl?: string;
2154
+ url?: string;
2155
+ }[];
2156
+ runId: string;
2157
+ status: "complete" | "empty";
2158
+ } | {
1930
2159
  nodes: Record<string, import("./event").IFlowAgentNode>;
1931
2160
  task_id: string;
1932
2161
  task_name: string;
@@ -1944,7 +2173,34 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1944
2173
  originFileUrl?: string;
1945
2174
  url: string;
1946
2175
  }[];
2176
+ property?: {
2177
+ [x: string]: unknown;
2178
+ artifacts?: {
2179
+ name: string;
2180
+ outputId: string;
2181
+ size: number;
2182
+ type: string;
2183
+ previewUrl?: string;
2184
+ url?: string;
2185
+ }[];
2186
+ docSchema?: unknown;
2187
+ extra?: {
2188
+ [x: string]: unknown;
2189
+ cite?: string | {
2190
+ data: {
2191
+ key: string;
2192
+ value: string;
2193
+ }[];
2194
+ title: string;
2195
+ type: string;
2196
+ };
2197
+ command?: string;
2198
+ context?: Array<Record<string, unknown>>;
2199
+ resources?: Array<Record<string, unknown>>;
2200
+ };
2201
+ };
1947
2202
  role: import("./message").MessageRole.Activity;
2203
+ createdAt?: string;
1948
2204
  id?: string;
1949
2205
  messageId?: string;
1950
2206
  name?: string;
@@ -1954,6 +2210,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1954
2210
  content?: string;
1955
2211
  property?: {
1956
2212
  [x: string]: unknown;
2213
+ artifacts?: {
2214
+ name: string;
2215
+ outputId: string;
2216
+ size: number;
2217
+ type: string;
2218
+ previewUrl?: string;
2219
+ url?: string;
2220
+ }[];
2221
+ docSchema?: unknown;
1957
2222
  extra?: {
1958
2223
  [x: string]: unknown;
1959
2224
  cite?: string | {
@@ -1980,6 +2245,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1980
2245
  id: string;
1981
2246
  type: import("./message").MessageType.Function;
1982
2247
  }[];
2248
+ createdAt?: string;
1983
2249
  id?: string;
1984
2250
  messageId?: string;
1985
2251
  name?: string;
@@ -1988,6 +2254,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1988
2254
  } | {
1989
2255
  content: string;
1990
2256
  role: import("./message").MessageRole.Developer;
2257
+ createdAt?: string;
1991
2258
  id?: string;
1992
2259
  messageId?: string;
1993
2260
  name?: string;
@@ -2618,6 +2885,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2618
2885
  timestamp?: number;
2619
2886
  };
2620
2887
  role: import("./message").MessageRole.Interrupt;
2888
+ createdAt?: string;
2621
2889
  id?: string;
2622
2890
  messageId?: string;
2623
2891
  name?: string;
@@ -2626,6 +2894,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2626
2894
  } | {
2627
2895
  content: string;
2628
2896
  role: import("./message").MessageRole.Guide;
2897
+ createdAt?: string;
2629
2898
  id?: string;
2630
2899
  messageId?: string;
2631
2900
  name?: string;
@@ -2634,6 +2903,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2634
2903
  } | {
2635
2904
  content: string;
2636
2905
  role: import("./message").MessageRole.HiddenAssistant;
2906
+ createdAt?: string;
2637
2907
  id?: string;
2638
2908
  messageId?: string;
2639
2909
  name?: string;
@@ -2642,6 +2912,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2642
2912
  } | {
2643
2913
  content: string;
2644
2914
  role: import("./message").MessageRole.HiddenGuide;
2915
+ createdAt?: string;
2645
2916
  id?: string;
2646
2917
  messageId?: string;
2647
2918
  name?: string;
@@ -2650,6 +2921,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2650
2921
  } | {
2651
2922
  content: string;
2652
2923
  role: import("./message").MessageRole.Hidden;
2924
+ createdAt?: string;
2653
2925
  id?: string;
2654
2926
  messageId?: string;
2655
2927
  name?: string;
@@ -2658,6 +2930,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2658
2930
  } | {
2659
2931
  content: string;
2660
2932
  role: import("./message").MessageRole.HiddenSystem;
2933
+ createdAt?: string;
2661
2934
  id?: string;
2662
2935
  messageId?: string;
2663
2936
  name?: string;
@@ -2666,6 +2939,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2666
2939
  } | {
2667
2940
  content: string;
2668
2941
  role: import("./message").MessageRole.HiddenUser;
2942
+ createdAt?: string;
2669
2943
  id?: string;
2670
2944
  messageId?: string;
2671
2945
  name?: string;
@@ -2674,6 +2948,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2674
2948
  } | {
2675
2949
  content: string;
2676
2950
  role: import("./message").MessageRole.Info;
2951
+ createdAt?: string;
2677
2952
  id?: string;
2678
2953
  messageId?: string;
2679
2954
  name?: string;
@@ -2682,6 +2957,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2682
2957
  } | {
2683
2958
  content: string;
2684
2959
  role: import("./message").MessageRole.Pause;
2960
+ createdAt?: string;
2685
2961
  id?: string;
2686
2962
  messageId?: string;
2687
2963
  name?: string;
@@ -2690,6 +2966,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2690
2966
  } | {
2691
2967
  content: string;
2692
2968
  role: import("./message").MessageRole.Placeholder;
2969
+ createdAt?: string;
2693
2970
  id?: string;
2694
2971
  messageId?: string;
2695
2972
  name?: string;
@@ -2699,6 +2976,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2699
2976
  content: string[];
2700
2977
  duration?: number;
2701
2978
  role: import("./message").MessageRole.Reasoning;
2979
+ createdAt?: string;
2702
2980
  id?: string;
2703
2981
  messageId?: string;
2704
2982
  name?: string;
@@ -2707,6 +2985,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2707
2985
  } | {
2708
2986
  content: string;
2709
2987
  role: import("./message").MessageRole.System;
2988
+ createdAt?: string;
2710
2989
  id?: string;
2711
2990
  messageId?: string;
2712
2991
  name?: string;
@@ -2715,6 +2994,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2715
2994
  } | {
2716
2995
  content: string;
2717
2996
  role: import("./message").MessageRole.TemplateAssistant;
2997
+ createdAt?: string;
2718
2998
  id?: string;
2719
2999
  messageId?: string;
2720
3000
  name?: string;
@@ -2723,6 +3003,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2723
3003
  } | {
2724
3004
  content: string;
2725
3005
  role: import("./message").MessageRole.TemplateGuide;
3006
+ createdAt?: string;
2726
3007
  id?: string;
2727
3008
  messageId?: string;
2728
3009
  name?: string;
@@ -2731,6 +3012,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2731
3012
  } | {
2732
3013
  content: string;
2733
3014
  role: import("./message").MessageRole.TemplateHidden;
3015
+ createdAt?: string;
2734
3016
  id?: string;
2735
3017
  messageId?: string;
2736
3018
  name?: string;
@@ -2739,6 +3021,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2739
3021
  } | {
2740
3022
  content: string;
2741
3023
  role: import("./message").MessageRole.TemplateSystem;
3024
+ createdAt?: string;
2742
3025
  id?: string;
2743
3026
  messageId?: string;
2744
3027
  name?: string;
@@ -2747,6 +3030,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2747
3030
  } | {
2748
3031
  content: string;
2749
3032
  role: import("./message").MessageRole.TemplateUser;
3033
+ createdAt?: string;
2750
3034
  id?: string;
2751
3035
  messageId?: string;
2752
3036
  name?: string;
@@ -2758,6 +3042,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2758
3042
  error?: string;
2759
3043
  role: import("./message").MessageRole.Tool;
2760
3044
  toolCallId: string;
3045
+ createdAt?: string;
2761
3046
  id?: string;
2762
3047
  messageId?: string;
2763
3048
  name?: string;
@@ -2769,6 +3054,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2769
3054
  filename?: string;
2770
3055
  id?: string;
2771
3056
  mimeType: string;
3057
+ outputId?: string;
3058
+ size?: number;
2772
3059
  type: import("./message").MessageType.Binary;
2773
3060
  url?: string;
2774
3061
  } | {
@@ -2777,6 +3064,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2777
3064
  })[];
2778
3065
  property?: {
2779
3066
  [x: string]: unknown;
3067
+ artifacts?: {
3068
+ name: string;
3069
+ outputId: string;
3070
+ size: number;
3071
+ type: string;
3072
+ previewUrl?: string;
3073
+ url?: string;
3074
+ }[];
3075
+ docSchema?: unknown;
2780
3076
  extra?: {
2781
3077
  [x: string]: unknown;
2782
3078
  cite?: string | {
@@ -2793,6 +3089,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2793
3089
  };
2794
3090
  };
2795
3091
  role: import("./message").MessageRole.User;
3092
+ createdAt?: string;
2796
3093
  id?: string;
2797
3094
  messageId?: string;
2798
3095
  name?: string;
@@ -2804,6 +3101,17 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2804
3101
  value: string | ({
2805
3102
  activityType: import("./message").ActivityType;
2806
3103
  content: {
3104
+ artifacts: {
3105
+ name: string;
3106
+ outputId: string;
3107
+ size: number;
3108
+ type: string;
3109
+ previewUrl?: string;
3110
+ url?: string;
3111
+ }[];
3112
+ runId: string;
3113
+ status: "complete" | "empty";
3114
+ } | {
2807
3115
  nodes: Record<string, import("./event").IFlowAgentNode>;
2808
3116
  task_id: string;
2809
3117
  task_name: string;
@@ -2821,7 +3129,34 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2821
3129
  originFileUrl?: string;
2822
3130
  url: string;
2823
3131
  }[];
3132
+ property?: {
3133
+ [x: string]: unknown;
3134
+ artifacts?: {
3135
+ name: string;
3136
+ outputId: string;
3137
+ size: number;
3138
+ type: string;
3139
+ previewUrl?: string;
3140
+ url?: string;
3141
+ }[];
3142
+ docSchema?: unknown;
3143
+ extra?: {
3144
+ [x: string]: unknown;
3145
+ cite?: string | {
3146
+ data: {
3147
+ key: string;
3148
+ value: string;
3149
+ }[];
3150
+ title: string;
3151
+ type: string;
3152
+ };
3153
+ command?: string;
3154
+ context?: Array<Record<string, unknown>>;
3155
+ resources?: Array<Record<string, unknown>>;
3156
+ };
3157
+ };
2824
3158
  role: import("./message").MessageRole.Activity;
3159
+ createdAt?: string;
2825
3160
  id?: string;
2826
3161
  messageId?: string;
2827
3162
  name?: string;
@@ -2831,6 +3166,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2831
3166
  content?: string;
2832
3167
  property?: {
2833
3168
  [x: string]: unknown;
3169
+ artifacts?: {
3170
+ name: string;
3171
+ outputId: string;
3172
+ size: number;
3173
+ type: string;
3174
+ previewUrl?: string;
3175
+ url?: string;
3176
+ }[];
3177
+ docSchema?: unknown;
2834
3178
  extra?: {
2835
3179
  [x: string]: unknown;
2836
3180
  cite?: string | {
@@ -2857,6 +3201,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2857
3201
  id: string;
2858
3202
  type: import("./message").MessageType.Function;
2859
3203
  }[];
3204
+ createdAt?: string;
2860
3205
  id?: string;
2861
3206
  messageId?: string;
2862
3207
  name?: string;
@@ -2865,6 +3210,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
2865
3210
  } | {
2866
3211
  content: string;
2867
3212
  role: import("./message").MessageRole.Developer;
3213
+ createdAt?: string;
2868
3214
  id?: string;
2869
3215
  messageId?: string;
2870
3216
  name?: string;
@@ -3495,6 +3841,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3495
3841
  timestamp?: number;
3496
3842
  };
3497
3843
  role: import("./message").MessageRole.Interrupt;
3844
+ createdAt?: string;
3498
3845
  id?: string;
3499
3846
  messageId?: string;
3500
3847
  name?: string;
@@ -3503,6 +3850,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3503
3850
  } | {
3504
3851
  content: string;
3505
3852
  role: import("./message").MessageRole.Guide;
3853
+ createdAt?: string;
3506
3854
  id?: string;
3507
3855
  messageId?: string;
3508
3856
  name?: string;
@@ -3511,6 +3859,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3511
3859
  } | {
3512
3860
  content: string;
3513
3861
  role: import("./message").MessageRole.HiddenAssistant;
3862
+ createdAt?: string;
3514
3863
  id?: string;
3515
3864
  messageId?: string;
3516
3865
  name?: string;
@@ -3519,6 +3868,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3519
3868
  } | {
3520
3869
  content: string;
3521
3870
  role: import("./message").MessageRole.HiddenGuide;
3871
+ createdAt?: string;
3522
3872
  id?: string;
3523
3873
  messageId?: string;
3524
3874
  name?: string;
@@ -3527,6 +3877,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3527
3877
  } | {
3528
3878
  content: string;
3529
3879
  role: import("./message").MessageRole.Hidden;
3880
+ createdAt?: string;
3530
3881
  id?: string;
3531
3882
  messageId?: string;
3532
3883
  name?: string;
@@ -3535,6 +3886,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3535
3886
  } | {
3536
3887
  content: string;
3537
3888
  role: import("./message").MessageRole.HiddenSystem;
3889
+ createdAt?: string;
3538
3890
  id?: string;
3539
3891
  messageId?: string;
3540
3892
  name?: string;
@@ -3543,6 +3895,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3543
3895
  } | {
3544
3896
  content: string;
3545
3897
  role: import("./message").MessageRole.HiddenUser;
3898
+ createdAt?: string;
3546
3899
  id?: string;
3547
3900
  messageId?: string;
3548
3901
  name?: string;
@@ -3551,6 +3904,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3551
3904
  } | {
3552
3905
  content: string;
3553
3906
  role: import("./message").MessageRole.Info;
3907
+ createdAt?: string;
3554
3908
  id?: string;
3555
3909
  messageId?: string;
3556
3910
  name?: string;
@@ -3559,6 +3913,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3559
3913
  } | {
3560
3914
  content: string;
3561
3915
  role: import("./message").MessageRole.Pause;
3916
+ createdAt?: string;
3562
3917
  id?: string;
3563
3918
  messageId?: string;
3564
3919
  name?: string;
@@ -3567,6 +3922,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3567
3922
  } | {
3568
3923
  content: string;
3569
3924
  role: import("./message").MessageRole.Placeholder;
3925
+ createdAt?: string;
3570
3926
  id?: string;
3571
3927
  messageId?: string;
3572
3928
  name?: string;
@@ -3576,6 +3932,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3576
3932
  content: string[];
3577
3933
  duration?: number;
3578
3934
  role: import("./message").MessageRole.Reasoning;
3935
+ createdAt?: string;
3579
3936
  id?: string;
3580
3937
  messageId?: string;
3581
3938
  name?: string;
@@ -3584,6 +3941,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3584
3941
  } | {
3585
3942
  content: string;
3586
3943
  role: import("./message").MessageRole.System;
3944
+ createdAt?: string;
3587
3945
  id?: string;
3588
3946
  messageId?: string;
3589
3947
  name?: string;
@@ -3592,6 +3950,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3592
3950
  } | {
3593
3951
  content: string;
3594
3952
  role: import("./message").MessageRole.TemplateAssistant;
3953
+ createdAt?: string;
3595
3954
  id?: string;
3596
3955
  messageId?: string;
3597
3956
  name?: string;
@@ -3600,6 +3959,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3600
3959
  } | {
3601
3960
  content: string;
3602
3961
  role: import("./message").MessageRole.TemplateGuide;
3962
+ createdAt?: string;
3603
3963
  id?: string;
3604
3964
  messageId?: string;
3605
3965
  name?: string;
@@ -3608,6 +3968,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3608
3968
  } | {
3609
3969
  content: string;
3610
3970
  role: import("./message").MessageRole.TemplateHidden;
3971
+ createdAt?: string;
3611
3972
  id?: string;
3612
3973
  messageId?: string;
3613
3974
  name?: string;
@@ -3616,6 +3977,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3616
3977
  } | {
3617
3978
  content: string;
3618
3979
  role: import("./message").MessageRole.TemplateSystem;
3980
+ createdAt?: string;
3619
3981
  id?: string;
3620
3982
  messageId?: string;
3621
3983
  name?: string;
@@ -3624,6 +3986,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3624
3986
  } | {
3625
3987
  content: string;
3626
3988
  role: import("./message").MessageRole.TemplateUser;
3989
+ createdAt?: string;
3627
3990
  id?: string;
3628
3991
  messageId?: string;
3629
3992
  name?: string;
@@ -3635,6 +3998,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3635
3998
  error?: string;
3636
3999
  role: import("./message").MessageRole.Tool;
3637
4000
  toolCallId: string;
4001
+ createdAt?: string;
3638
4002
  id?: string;
3639
4003
  messageId?: string;
3640
4004
  name?: string;
@@ -3646,6 +4010,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3646
4010
  filename?: string;
3647
4011
  id?: string;
3648
4012
  mimeType: string;
4013
+ outputId?: string;
4014
+ size?: number;
3649
4015
  type: import("./message").MessageType.Binary;
3650
4016
  url?: string;
3651
4017
  } | {
@@ -3654,6 +4020,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3654
4020
  })[];
3655
4021
  property?: {
3656
4022
  [x: string]: unknown;
4023
+ artifacts?: {
4024
+ name: string;
4025
+ outputId: string;
4026
+ size: number;
4027
+ type: string;
4028
+ previewUrl?: string;
4029
+ url?: string;
4030
+ }[];
4031
+ docSchema?: unknown;
3657
4032
  extra?: {
3658
4033
  [x: string]: unknown;
3659
4034
  cite?: string | {
@@ -3670,6 +4045,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3670
4045
  };
3671
4046
  };
3672
4047
  role: import("./message").MessageRole.User;
4048
+ createdAt?: string;
3673
4049
  id?: string;
3674
4050
  messageId?: string;
3675
4051
  name?: string;
@@ -3702,6 +4078,17 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3702
4078
  content: ({
3703
4079
  activityType: import("./message").ActivityType;
3704
4080
  content: {
4081
+ artifacts: {
4082
+ name: string;
4083
+ outputId: string;
4084
+ size: number;
4085
+ type: string;
4086
+ previewUrl?: string;
4087
+ url?: string;
4088
+ }[];
4089
+ runId: string;
4090
+ status: "complete" | "empty";
4091
+ } | {
3705
4092
  nodes: Record<string, import("./event").IFlowAgentNode>;
3706
4093
  task_id: string;
3707
4094
  task_name: string;
@@ -3719,7 +4106,34 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3719
4106
  originFileUrl?: string;
3720
4107
  url: string;
3721
4108
  }[];
4109
+ property?: {
4110
+ [x: string]: unknown;
4111
+ artifacts?: {
4112
+ name: string;
4113
+ outputId: string;
4114
+ size: number;
4115
+ type: string;
4116
+ previewUrl?: string;
4117
+ url?: string;
4118
+ }[];
4119
+ docSchema?: unknown;
4120
+ extra?: {
4121
+ [x: string]: unknown;
4122
+ cite?: string | {
4123
+ data: {
4124
+ key: string;
4125
+ value: string;
4126
+ }[];
4127
+ title: string;
4128
+ type: string;
4129
+ };
4130
+ command?: string;
4131
+ context?: Array<Record<string, unknown>>;
4132
+ resources?: Array<Record<string, unknown>>;
4133
+ };
4134
+ };
3722
4135
  role: import("./message").MessageRole.Activity;
4136
+ createdAt?: string;
3723
4137
  id?: string;
3724
4138
  messageId?: string;
3725
4139
  name?: string;
@@ -3729,6 +4143,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3729
4143
  content?: string;
3730
4144
  property?: {
3731
4145
  [x: string]: unknown;
4146
+ artifacts?: {
4147
+ name: string;
4148
+ outputId: string;
4149
+ size: number;
4150
+ type: string;
4151
+ previewUrl?: string;
4152
+ url?: string;
4153
+ }[];
4154
+ docSchema?: unknown;
3732
4155
  extra?: {
3733
4156
  [x: string]: unknown;
3734
4157
  cite?: string | {
@@ -3755,6 +4178,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3755
4178
  id: string;
3756
4179
  type: import("./message").MessageType.Function;
3757
4180
  }[];
4181
+ createdAt?: string;
3758
4182
  id?: string;
3759
4183
  messageId?: string;
3760
4184
  name?: string;
@@ -3763,6 +4187,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
3763
4187
  } | {
3764
4188
  content: string;
3765
4189
  role: import("./message").MessageRole.Developer;
4190
+ createdAt?: string;
3766
4191
  id?: string;
3767
4192
  messageId?: string;
3768
4193
  name?: string;
@@ -4393,6 +4818,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4393
4818
  timestamp?: number;
4394
4819
  };
4395
4820
  role: import("./message").MessageRole.Interrupt;
4821
+ createdAt?: string;
4396
4822
  id?: string;
4397
4823
  messageId?: string;
4398
4824
  name?: string;
@@ -4401,6 +4827,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4401
4827
  } | {
4402
4828
  content: string;
4403
4829
  role: import("./message").MessageRole.Guide;
4830
+ createdAt?: string;
4404
4831
  id?: string;
4405
4832
  messageId?: string;
4406
4833
  name?: string;
@@ -4409,6 +4836,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4409
4836
  } | {
4410
4837
  content: string;
4411
4838
  role: import("./message").MessageRole.HiddenAssistant;
4839
+ createdAt?: string;
4412
4840
  id?: string;
4413
4841
  messageId?: string;
4414
4842
  name?: string;
@@ -4417,6 +4845,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4417
4845
  } | {
4418
4846
  content: string;
4419
4847
  role: import("./message").MessageRole.HiddenGuide;
4848
+ createdAt?: string;
4420
4849
  id?: string;
4421
4850
  messageId?: string;
4422
4851
  name?: string;
@@ -4425,6 +4854,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4425
4854
  } | {
4426
4855
  content: string;
4427
4856
  role: import("./message").MessageRole.Hidden;
4857
+ createdAt?: string;
4428
4858
  id?: string;
4429
4859
  messageId?: string;
4430
4860
  name?: string;
@@ -4433,6 +4863,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4433
4863
  } | {
4434
4864
  content: string;
4435
4865
  role: import("./message").MessageRole.HiddenSystem;
4866
+ createdAt?: string;
4436
4867
  id?: string;
4437
4868
  messageId?: string;
4438
4869
  name?: string;
@@ -4441,6 +4872,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4441
4872
  } | {
4442
4873
  content: string;
4443
4874
  role: import("./message").MessageRole.HiddenUser;
4875
+ createdAt?: string;
4444
4876
  id?: string;
4445
4877
  messageId?: string;
4446
4878
  name?: string;
@@ -4449,6 +4881,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4449
4881
  } | {
4450
4882
  content: string;
4451
4883
  role: import("./message").MessageRole.Info;
4884
+ createdAt?: string;
4452
4885
  id?: string;
4453
4886
  messageId?: string;
4454
4887
  name?: string;
@@ -4457,6 +4890,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4457
4890
  } | {
4458
4891
  content: string;
4459
4892
  role: import("./message").MessageRole.Pause;
4893
+ createdAt?: string;
4460
4894
  id?: string;
4461
4895
  messageId?: string;
4462
4896
  name?: string;
@@ -4465,6 +4899,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4465
4899
  } | {
4466
4900
  content: string;
4467
4901
  role: import("./message").MessageRole.Placeholder;
4902
+ createdAt?: string;
4468
4903
  id?: string;
4469
4904
  messageId?: string;
4470
4905
  name?: string;
@@ -4474,6 +4909,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4474
4909
  content: string[];
4475
4910
  duration?: number;
4476
4911
  role: import("./message").MessageRole.Reasoning;
4912
+ createdAt?: string;
4477
4913
  id?: string;
4478
4914
  messageId?: string;
4479
4915
  name?: string;
@@ -4482,6 +4918,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4482
4918
  } | {
4483
4919
  content: string;
4484
4920
  role: import("./message").MessageRole.System;
4921
+ createdAt?: string;
4485
4922
  id?: string;
4486
4923
  messageId?: string;
4487
4924
  name?: string;
@@ -4490,6 +4927,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4490
4927
  } | {
4491
4928
  content: string;
4492
4929
  role: import("./message").MessageRole.TemplateAssistant;
4930
+ createdAt?: string;
4493
4931
  id?: string;
4494
4932
  messageId?: string;
4495
4933
  name?: string;
@@ -4498,6 +4936,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4498
4936
  } | {
4499
4937
  content: string;
4500
4938
  role: import("./message").MessageRole.TemplateGuide;
4939
+ createdAt?: string;
4501
4940
  id?: string;
4502
4941
  messageId?: string;
4503
4942
  name?: string;
@@ -4506,6 +4945,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4506
4945
  } | {
4507
4946
  content: string;
4508
4947
  role: import("./message").MessageRole.TemplateHidden;
4948
+ createdAt?: string;
4509
4949
  id?: string;
4510
4950
  messageId?: string;
4511
4951
  name?: string;
@@ -4514,6 +4954,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4514
4954
  } | {
4515
4955
  content: string;
4516
4956
  role: import("./message").MessageRole.TemplateSystem;
4957
+ createdAt?: string;
4517
4958
  id?: string;
4518
4959
  messageId?: string;
4519
4960
  name?: string;
@@ -4522,6 +4963,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4522
4963
  } | {
4523
4964
  content: string;
4524
4965
  role: import("./message").MessageRole.TemplateUser;
4966
+ createdAt?: string;
4525
4967
  id?: string;
4526
4968
  messageId?: string;
4527
4969
  name?: string;
@@ -4533,6 +4975,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4533
4975
  error?: string;
4534
4976
  role: import("./message").MessageRole.Tool;
4535
4977
  toolCallId: string;
4978
+ createdAt?: string;
4536
4979
  id?: string;
4537
4980
  messageId?: string;
4538
4981
  name?: string;
@@ -4544,6 +4987,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4544
4987
  filename?: string;
4545
4988
  id?: string;
4546
4989
  mimeType: string;
4990
+ outputId?: string;
4991
+ size?: number;
4547
4992
  type: import("./message").MessageType.Binary;
4548
4993
  url?: string;
4549
4994
  } | {
@@ -4552,6 +4997,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4552
4997
  })[];
4553
4998
  property?: {
4554
4999
  [x: string]: unknown;
5000
+ artifacts?: {
5001
+ name: string;
5002
+ outputId: string;
5003
+ size: number;
5004
+ type: string;
5005
+ previewUrl?: string;
5006
+ url?: string;
5007
+ }[];
5008
+ docSchema?: unknown;
4555
5009
  extra?: {
4556
5010
  [x: string]: unknown;
4557
5011
  cite?: string | {
@@ -4568,6 +5022,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4568
5022
  };
4569
5023
  };
4570
5024
  role: import("./message").MessageRole.User;
5025
+ createdAt?: string;
4571
5026
  id?: string;
4572
5027
  messageId?: string;
4573
5028
  name?: string;
@@ -4579,6 +5034,17 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4579
5034
  value: string | ({
4580
5035
  activityType: import("./message").ActivityType;
4581
5036
  content: {
5037
+ artifacts: {
5038
+ name: string;
5039
+ outputId: string;
5040
+ size: number;
5041
+ type: string;
5042
+ previewUrl?: string;
5043
+ url?: string;
5044
+ }[];
5045
+ runId: string;
5046
+ status: "complete" | "empty";
5047
+ } | {
4582
5048
  nodes: Record<string, import("./event").IFlowAgentNode>;
4583
5049
  task_id: string;
4584
5050
  task_name: string;
@@ -4596,7 +5062,34 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4596
5062
  originFileUrl?: string;
4597
5063
  url: string;
4598
5064
  }[];
5065
+ property?: {
5066
+ [x: string]: unknown;
5067
+ artifacts?: {
5068
+ name: string;
5069
+ outputId: string;
5070
+ size: number;
5071
+ type: string;
5072
+ previewUrl?: string;
5073
+ url?: string;
5074
+ }[];
5075
+ docSchema?: unknown;
5076
+ extra?: {
5077
+ [x: string]: unknown;
5078
+ cite?: string | {
5079
+ data: {
5080
+ key: string;
5081
+ value: string;
5082
+ }[];
5083
+ title: string;
5084
+ type: string;
5085
+ };
5086
+ command?: string;
5087
+ context?: Array<Record<string, unknown>>;
5088
+ resources?: Array<Record<string, unknown>>;
5089
+ };
5090
+ };
4599
5091
  role: import("./message").MessageRole.Activity;
5092
+ createdAt?: string;
4600
5093
  id?: string;
4601
5094
  messageId?: string;
4602
5095
  name?: string;
@@ -4606,6 +5099,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4606
5099
  content?: string;
4607
5100
  property?: {
4608
5101
  [x: string]: unknown;
5102
+ artifacts?: {
5103
+ name: string;
5104
+ outputId: string;
5105
+ size: number;
5106
+ type: string;
5107
+ previewUrl?: string;
5108
+ url?: string;
5109
+ }[];
5110
+ docSchema?: unknown;
4609
5111
  extra?: {
4610
5112
  [x: string]: unknown;
4611
5113
  cite?: string | {
@@ -4632,6 +5134,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4632
5134
  id: string;
4633
5135
  type: import("./message").MessageType.Function;
4634
5136
  }[];
5137
+ createdAt?: string;
4635
5138
  id?: string;
4636
5139
  messageId?: string;
4637
5140
  name?: string;
@@ -4640,6 +5143,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
4640
5143
  } | {
4641
5144
  content: string;
4642
5145
  role: import("./message").MessageRole.Developer;
5146
+ createdAt?: string;
4643
5147
  id?: string;
4644
5148
  messageId?: string;
4645
5149
  name?: string;
@@ -5270,6 +5774,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5270
5774
  timestamp?: number;
5271
5775
  };
5272
5776
  role: import("./message").MessageRole.Interrupt;
5777
+ createdAt?: string;
5273
5778
  id?: string;
5274
5779
  messageId?: string;
5275
5780
  name?: string;
@@ -5278,6 +5783,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5278
5783
  } | {
5279
5784
  content: string;
5280
5785
  role: import("./message").MessageRole.Guide;
5786
+ createdAt?: string;
5281
5787
  id?: string;
5282
5788
  messageId?: string;
5283
5789
  name?: string;
@@ -5286,6 +5792,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5286
5792
  } | {
5287
5793
  content: string;
5288
5794
  role: import("./message").MessageRole.HiddenAssistant;
5795
+ createdAt?: string;
5289
5796
  id?: string;
5290
5797
  messageId?: string;
5291
5798
  name?: string;
@@ -5294,6 +5801,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5294
5801
  } | {
5295
5802
  content: string;
5296
5803
  role: import("./message").MessageRole.HiddenGuide;
5804
+ createdAt?: string;
5297
5805
  id?: string;
5298
5806
  messageId?: string;
5299
5807
  name?: string;
@@ -5302,6 +5810,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5302
5810
  } | {
5303
5811
  content: string;
5304
5812
  role: import("./message").MessageRole.Hidden;
5813
+ createdAt?: string;
5305
5814
  id?: string;
5306
5815
  messageId?: string;
5307
5816
  name?: string;
@@ -5310,6 +5819,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5310
5819
  } | {
5311
5820
  content: string;
5312
5821
  role: import("./message").MessageRole.HiddenSystem;
5822
+ createdAt?: string;
5313
5823
  id?: string;
5314
5824
  messageId?: string;
5315
5825
  name?: string;
@@ -5318,6 +5828,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5318
5828
  } | {
5319
5829
  content: string;
5320
5830
  role: import("./message").MessageRole.HiddenUser;
5831
+ createdAt?: string;
5321
5832
  id?: string;
5322
5833
  messageId?: string;
5323
5834
  name?: string;
@@ -5326,6 +5837,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5326
5837
  } | {
5327
5838
  content: string;
5328
5839
  role: import("./message").MessageRole.Info;
5840
+ createdAt?: string;
5329
5841
  id?: string;
5330
5842
  messageId?: string;
5331
5843
  name?: string;
@@ -5334,6 +5846,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5334
5846
  } | {
5335
5847
  content: string;
5336
5848
  role: import("./message").MessageRole.Pause;
5849
+ createdAt?: string;
5337
5850
  id?: string;
5338
5851
  messageId?: string;
5339
5852
  name?: string;
@@ -5342,6 +5855,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5342
5855
  } | {
5343
5856
  content: string;
5344
5857
  role: import("./message").MessageRole.Placeholder;
5858
+ createdAt?: string;
5345
5859
  id?: string;
5346
5860
  messageId?: string;
5347
5861
  name?: string;
@@ -5351,6 +5865,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5351
5865
  content: string[];
5352
5866
  duration?: number;
5353
5867
  role: import("./message").MessageRole.Reasoning;
5868
+ createdAt?: string;
5354
5869
  id?: string;
5355
5870
  messageId?: string;
5356
5871
  name?: string;
@@ -5359,6 +5874,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5359
5874
  } | {
5360
5875
  content: string;
5361
5876
  role: import("./message").MessageRole.System;
5877
+ createdAt?: string;
5362
5878
  id?: string;
5363
5879
  messageId?: string;
5364
5880
  name?: string;
@@ -5367,6 +5883,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5367
5883
  } | {
5368
5884
  content: string;
5369
5885
  role: import("./message").MessageRole.TemplateAssistant;
5886
+ createdAt?: string;
5370
5887
  id?: string;
5371
5888
  messageId?: string;
5372
5889
  name?: string;
@@ -5375,6 +5892,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5375
5892
  } | {
5376
5893
  content: string;
5377
5894
  role: import("./message").MessageRole.TemplateGuide;
5895
+ createdAt?: string;
5378
5896
  id?: string;
5379
5897
  messageId?: string;
5380
5898
  name?: string;
@@ -5383,6 +5901,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5383
5901
  } | {
5384
5902
  content: string;
5385
5903
  role: import("./message").MessageRole.TemplateHidden;
5904
+ createdAt?: string;
5386
5905
  id?: string;
5387
5906
  messageId?: string;
5388
5907
  name?: string;
@@ -5391,6 +5910,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5391
5910
  } | {
5392
5911
  content: string;
5393
5912
  role: import("./message").MessageRole.TemplateSystem;
5913
+ createdAt?: string;
5394
5914
  id?: string;
5395
5915
  messageId?: string;
5396
5916
  name?: string;
@@ -5399,6 +5919,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5399
5919
  } | {
5400
5920
  content: string;
5401
5921
  role: import("./message").MessageRole.TemplateUser;
5922
+ createdAt?: string;
5402
5923
  id?: string;
5403
5924
  messageId?: string;
5404
5925
  name?: string;
@@ -5410,6 +5931,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5410
5931
  error?: string;
5411
5932
  role: import("./message").MessageRole.Tool;
5412
5933
  toolCallId: string;
5934
+ createdAt?: string;
5413
5935
  id?: string;
5414
5936
  messageId?: string;
5415
5937
  name?: string;
@@ -5421,6 +5943,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5421
5943
  filename?: string;
5422
5944
  id?: string;
5423
5945
  mimeType: string;
5946
+ outputId?: string;
5947
+ size?: number;
5424
5948
  type: import("./message").MessageType.Binary;
5425
5949
  url?: string;
5426
5950
  } | {
@@ -5429,6 +5953,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5429
5953
  })[];
5430
5954
  property?: {
5431
5955
  [x: string]: unknown;
5956
+ artifacts?: {
5957
+ name: string;
5958
+ outputId: string;
5959
+ size: number;
5960
+ type: string;
5961
+ previewUrl?: string;
5962
+ url?: string;
5963
+ }[];
5964
+ docSchema?: unknown;
5432
5965
  extra?: {
5433
5966
  [x: string]: unknown;
5434
5967
  cite?: string | {
@@ -5445,6 +5978,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5445
5978
  };
5446
5979
  };
5447
5980
  role: import("./message").MessageRole.User;
5981
+ createdAt?: string;
5448
5982
  id?: string;
5449
5983
  messageId?: string;
5450
5984
  name?: string;
@@ -5478,6 +6012,17 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5478
6012
  content: ({
5479
6013
  activityType: import("./message").ActivityType;
5480
6014
  content: {
6015
+ artifacts: {
6016
+ name: string;
6017
+ outputId: string;
6018
+ size: number;
6019
+ type: string;
6020
+ previewUrl?: string;
6021
+ url?: string;
6022
+ }[];
6023
+ runId: string;
6024
+ status: "complete" | "empty";
6025
+ } | {
5481
6026
  nodes: Record<string, import("./event").IFlowAgentNode>;
5482
6027
  task_id: string;
5483
6028
  task_name: string;
@@ -5495,7 +6040,34 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5495
6040
  originFileUrl?: string;
5496
6041
  url: string;
5497
6042
  }[];
6043
+ property?: {
6044
+ [x: string]: unknown;
6045
+ artifacts?: {
6046
+ name: string;
6047
+ outputId: string;
6048
+ size: number;
6049
+ type: string;
6050
+ previewUrl?: string;
6051
+ url?: string;
6052
+ }[];
6053
+ docSchema?: unknown;
6054
+ extra?: {
6055
+ [x: string]: unknown;
6056
+ cite?: string | {
6057
+ data: {
6058
+ key: string;
6059
+ value: string;
6060
+ }[];
6061
+ title: string;
6062
+ type: string;
6063
+ };
6064
+ command?: string;
6065
+ context?: Array<Record<string, unknown>>;
6066
+ resources?: Array<Record<string, unknown>>;
6067
+ };
6068
+ };
5498
6069
  role: import("./message").MessageRole.Activity;
6070
+ createdAt?: string;
5499
6071
  id?: string;
5500
6072
  messageId?: string;
5501
6073
  name?: string;
@@ -5505,6 +6077,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5505
6077
  content?: string;
5506
6078
  property?: {
5507
6079
  [x: string]: unknown;
6080
+ artifacts?: {
6081
+ name: string;
6082
+ outputId: string;
6083
+ size: number;
6084
+ type: string;
6085
+ previewUrl?: string;
6086
+ url?: string;
6087
+ }[];
6088
+ docSchema?: unknown;
5508
6089
  extra?: {
5509
6090
  [x: string]: unknown;
5510
6091
  cite?: string | {
@@ -5531,6 +6112,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5531
6112
  id: string;
5532
6113
  type: import("./message").MessageType.Function;
5533
6114
  }[];
6115
+ createdAt?: string;
5534
6116
  id?: string;
5535
6117
  messageId?: string;
5536
6118
  name?: string;
@@ -5539,6 +6121,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
5539
6121
  } | {
5540
6122
  content: string;
5541
6123
  role: import("./message").MessageRole.Developer;
6124
+ createdAt?: string;
5542
6125
  id?: string;
5543
6126
  messageId?: string;
5544
6127
  name?: string;
@@ -6169,6 +6752,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6169
6752
  timestamp?: number;
6170
6753
  };
6171
6754
  role: import("./message").MessageRole.Interrupt;
6755
+ createdAt?: string;
6172
6756
  id?: string;
6173
6757
  messageId?: string;
6174
6758
  name?: string;
@@ -6177,6 +6761,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6177
6761
  } | {
6178
6762
  content: string;
6179
6763
  role: import("./message").MessageRole.Guide;
6764
+ createdAt?: string;
6180
6765
  id?: string;
6181
6766
  messageId?: string;
6182
6767
  name?: string;
@@ -6185,6 +6770,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6185
6770
  } | {
6186
6771
  content: string;
6187
6772
  role: import("./message").MessageRole.HiddenAssistant;
6773
+ createdAt?: string;
6188
6774
  id?: string;
6189
6775
  messageId?: string;
6190
6776
  name?: string;
@@ -6193,6 +6779,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6193
6779
  } | {
6194
6780
  content: string;
6195
6781
  role: import("./message").MessageRole.HiddenGuide;
6782
+ createdAt?: string;
6196
6783
  id?: string;
6197
6784
  messageId?: string;
6198
6785
  name?: string;
@@ -6201,6 +6788,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6201
6788
  } | {
6202
6789
  content: string;
6203
6790
  role: import("./message").MessageRole.Hidden;
6791
+ createdAt?: string;
6204
6792
  id?: string;
6205
6793
  messageId?: string;
6206
6794
  name?: string;
@@ -6209,6 +6797,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6209
6797
  } | {
6210
6798
  content: string;
6211
6799
  role: import("./message").MessageRole.HiddenSystem;
6800
+ createdAt?: string;
6212
6801
  id?: string;
6213
6802
  messageId?: string;
6214
6803
  name?: string;
@@ -6217,6 +6806,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6217
6806
  } | {
6218
6807
  content: string;
6219
6808
  role: import("./message").MessageRole.HiddenUser;
6809
+ createdAt?: string;
6220
6810
  id?: string;
6221
6811
  messageId?: string;
6222
6812
  name?: string;
@@ -6225,6 +6815,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6225
6815
  } | {
6226
6816
  content: string;
6227
6817
  role: import("./message").MessageRole.Info;
6818
+ createdAt?: string;
6228
6819
  id?: string;
6229
6820
  messageId?: string;
6230
6821
  name?: string;
@@ -6233,6 +6824,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6233
6824
  } | {
6234
6825
  content: string;
6235
6826
  role: import("./message").MessageRole.Pause;
6827
+ createdAt?: string;
6236
6828
  id?: string;
6237
6829
  messageId?: string;
6238
6830
  name?: string;
@@ -6241,6 +6833,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6241
6833
  } | {
6242
6834
  content: string;
6243
6835
  role: import("./message").MessageRole.Placeholder;
6836
+ createdAt?: string;
6244
6837
  id?: string;
6245
6838
  messageId?: string;
6246
6839
  name?: string;
@@ -6250,6 +6843,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6250
6843
  content: string[];
6251
6844
  duration?: number;
6252
6845
  role: import("./message").MessageRole.Reasoning;
6846
+ createdAt?: string;
6253
6847
  id?: string;
6254
6848
  messageId?: string;
6255
6849
  name?: string;
@@ -6258,6 +6852,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6258
6852
  } | {
6259
6853
  content: string;
6260
6854
  role: import("./message").MessageRole.System;
6855
+ createdAt?: string;
6261
6856
  id?: string;
6262
6857
  messageId?: string;
6263
6858
  name?: string;
@@ -6266,6 +6861,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6266
6861
  } | {
6267
6862
  content: string;
6268
6863
  role: import("./message").MessageRole.TemplateAssistant;
6864
+ createdAt?: string;
6269
6865
  id?: string;
6270
6866
  messageId?: string;
6271
6867
  name?: string;
@@ -6274,6 +6870,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6274
6870
  } | {
6275
6871
  content: string;
6276
6872
  role: import("./message").MessageRole.TemplateGuide;
6873
+ createdAt?: string;
6277
6874
  id?: string;
6278
6875
  messageId?: string;
6279
6876
  name?: string;
@@ -6282,6 +6879,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6282
6879
  } | {
6283
6880
  content: string;
6284
6881
  role: import("./message").MessageRole.TemplateHidden;
6882
+ createdAt?: string;
6285
6883
  id?: string;
6286
6884
  messageId?: string;
6287
6885
  name?: string;
@@ -6290,6 +6888,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6290
6888
  } | {
6291
6889
  content: string;
6292
6890
  role: import("./message").MessageRole.TemplateSystem;
6891
+ createdAt?: string;
6293
6892
  id?: string;
6294
6893
  messageId?: string;
6295
6894
  name?: string;
@@ -6298,6 +6897,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6298
6897
  } | {
6299
6898
  content: string;
6300
6899
  role: import("./message").MessageRole.TemplateUser;
6900
+ createdAt?: string;
6301
6901
  id?: string;
6302
6902
  messageId?: string;
6303
6903
  name?: string;
@@ -6309,6 +6909,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6309
6909
  error?: string;
6310
6910
  role: import("./message").MessageRole.Tool;
6311
6911
  toolCallId: string;
6912
+ createdAt?: string;
6312
6913
  id?: string;
6313
6914
  messageId?: string;
6314
6915
  name?: string;
@@ -6320,6 +6921,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6320
6921
  filename?: string;
6321
6922
  id?: string;
6322
6923
  mimeType: string;
6924
+ outputId?: string;
6925
+ size?: number;
6323
6926
  type: import("./message").MessageType.Binary;
6324
6927
  url?: string;
6325
6928
  } | {
@@ -6328,6 +6931,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6328
6931
  })[];
6329
6932
  property?: {
6330
6933
  [x: string]: unknown;
6934
+ artifacts?: {
6935
+ name: string;
6936
+ outputId: string;
6937
+ size: number;
6938
+ type: string;
6939
+ previewUrl?: string;
6940
+ url?: string;
6941
+ }[];
6942
+ docSchema?: unknown;
6331
6943
  extra?: {
6332
6944
  [x: string]: unknown;
6333
6945
  cite?: string | {
@@ -6344,6 +6956,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6344
6956
  };
6345
6957
  };
6346
6958
  role: import("./message").MessageRole.User;
6959
+ createdAt?: string;
6347
6960
  id?: string;
6348
6961
  messageId?: string;
6349
6962
  name?: string;
@@ -6355,6 +6968,17 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6355
6968
  value: string | ({
6356
6969
  activityType: import("./message").ActivityType;
6357
6970
  content: {
6971
+ artifacts: {
6972
+ name: string;
6973
+ outputId: string;
6974
+ size: number;
6975
+ type: string;
6976
+ previewUrl?: string;
6977
+ url?: string;
6978
+ }[];
6979
+ runId: string;
6980
+ status: "complete" | "empty";
6981
+ } | {
6358
6982
  nodes: Record<string, import("./event").IFlowAgentNode>;
6359
6983
  task_id: string;
6360
6984
  task_name: string;
@@ -6372,7 +6996,34 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6372
6996
  originFileUrl?: string;
6373
6997
  url: string;
6374
6998
  }[];
6999
+ property?: {
7000
+ [x: string]: unknown;
7001
+ artifacts?: {
7002
+ name: string;
7003
+ outputId: string;
7004
+ size: number;
7005
+ type: string;
7006
+ previewUrl?: string;
7007
+ url?: string;
7008
+ }[];
7009
+ docSchema?: unknown;
7010
+ extra?: {
7011
+ [x: string]: unknown;
7012
+ cite?: string | {
7013
+ data: {
7014
+ key: string;
7015
+ value: string;
7016
+ }[];
7017
+ title: string;
7018
+ type: string;
7019
+ };
7020
+ command?: string;
7021
+ context?: Array<Record<string, unknown>>;
7022
+ resources?: Array<Record<string, unknown>>;
7023
+ };
7024
+ };
6375
7025
  role: import("./message").MessageRole.Activity;
7026
+ createdAt?: string;
6376
7027
  id?: string;
6377
7028
  messageId?: string;
6378
7029
  name?: string;
@@ -6382,6 +7033,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6382
7033
  content?: string;
6383
7034
  property?: {
6384
7035
  [x: string]: unknown;
7036
+ artifacts?: {
7037
+ name: string;
7038
+ outputId: string;
7039
+ size: number;
7040
+ type: string;
7041
+ previewUrl?: string;
7042
+ url?: string;
7043
+ }[];
7044
+ docSchema?: unknown;
6385
7045
  extra?: {
6386
7046
  [x: string]: unknown;
6387
7047
  cite?: string | {
@@ -6408,6 +7068,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6408
7068
  id: string;
6409
7069
  type: import("./message").MessageType.Function;
6410
7070
  }[];
7071
+ createdAt?: string;
6411
7072
  id?: string;
6412
7073
  messageId?: string;
6413
7074
  name?: string;
@@ -6416,6 +7077,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
6416
7077
  } | {
6417
7078
  content: string;
6418
7079
  role: import("./message").MessageRole.Developer;
7080
+ createdAt?: string;
6419
7081
  id?: string;
6420
7082
  messageId?: string;
6421
7083
  name?: string;
@@ -7046,6 +7708,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7046
7708
  timestamp?: number;
7047
7709
  };
7048
7710
  role: import("./message").MessageRole.Interrupt;
7711
+ createdAt?: string;
7049
7712
  id?: string;
7050
7713
  messageId?: string;
7051
7714
  name?: string;
@@ -7054,6 +7717,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7054
7717
  } | {
7055
7718
  content: string;
7056
7719
  role: import("./message").MessageRole.Guide;
7720
+ createdAt?: string;
7057
7721
  id?: string;
7058
7722
  messageId?: string;
7059
7723
  name?: string;
@@ -7062,6 +7726,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7062
7726
  } | {
7063
7727
  content: string;
7064
7728
  role: import("./message").MessageRole.HiddenAssistant;
7729
+ createdAt?: string;
7065
7730
  id?: string;
7066
7731
  messageId?: string;
7067
7732
  name?: string;
@@ -7070,6 +7735,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7070
7735
  } | {
7071
7736
  content: string;
7072
7737
  role: import("./message").MessageRole.HiddenGuide;
7738
+ createdAt?: string;
7073
7739
  id?: string;
7074
7740
  messageId?: string;
7075
7741
  name?: string;
@@ -7078,6 +7744,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7078
7744
  } | {
7079
7745
  content: string;
7080
7746
  role: import("./message").MessageRole.Hidden;
7747
+ createdAt?: string;
7081
7748
  id?: string;
7082
7749
  messageId?: string;
7083
7750
  name?: string;
@@ -7086,6 +7753,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7086
7753
  } | {
7087
7754
  content: string;
7088
7755
  role: import("./message").MessageRole.HiddenSystem;
7756
+ createdAt?: string;
7089
7757
  id?: string;
7090
7758
  messageId?: string;
7091
7759
  name?: string;
@@ -7094,6 +7762,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7094
7762
  } | {
7095
7763
  content: string;
7096
7764
  role: import("./message").MessageRole.HiddenUser;
7765
+ createdAt?: string;
7097
7766
  id?: string;
7098
7767
  messageId?: string;
7099
7768
  name?: string;
@@ -7102,6 +7771,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7102
7771
  } | {
7103
7772
  content: string;
7104
7773
  role: import("./message").MessageRole.Info;
7774
+ createdAt?: string;
7105
7775
  id?: string;
7106
7776
  messageId?: string;
7107
7777
  name?: string;
@@ -7110,6 +7780,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7110
7780
  } | {
7111
7781
  content: string;
7112
7782
  role: import("./message").MessageRole.Pause;
7783
+ createdAt?: string;
7113
7784
  id?: string;
7114
7785
  messageId?: string;
7115
7786
  name?: string;
@@ -7118,6 +7789,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7118
7789
  } | {
7119
7790
  content: string;
7120
7791
  role: import("./message").MessageRole.Placeholder;
7792
+ createdAt?: string;
7121
7793
  id?: string;
7122
7794
  messageId?: string;
7123
7795
  name?: string;
@@ -7127,6 +7799,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7127
7799
  content: string[];
7128
7800
  duration?: number;
7129
7801
  role: import("./message").MessageRole.Reasoning;
7802
+ createdAt?: string;
7130
7803
  id?: string;
7131
7804
  messageId?: string;
7132
7805
  name?: string;
@@ -7135,6 +7808,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7135
7808
  } | {
7136
7809
  content: string;
7137
7810
  role: import("./message").MessageRole.System;
7811
+ createdAt?: string;
7138
7812
  id?: string;
7139
7813
  messageId?: string;
7140
7814
  name?: string;
@@ -7143,6 +7817,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7143
7817
  } | {
7144
7818
  content: string;
7145
7819
  role: import("./message").MessageRole.TemplateAssistant;
7820
+ createdAt?: string;
7146
7821
  id?: string;
7147
7822
  messageId?: string;
7148
7823
  name?: string;
@@ -7151,6 +7826,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7151
7826
  } | {
7152
7827
  content: string;
7153
7828
  role: import("./message").MessageRole.TemplateGuide;
7829
+ createdAt?: string;
7154
7830
  id?: string;
7155
7831
  messageId?: string;
7156
7832
  name?: string;
@@ -7159,6 +7835,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7159
7835
  } | {
7160
7836
  content: string;
7161
7837
  role: import("./message").MessageRole.TemplateHidden;
7838
+ createdAt?: string;
7162
7839
  id?: string;
7163
7840
  messageId?: string;
7164
7841
  name?: string;
@@ -7167,6 +7844,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7167
7844
  } | {
7168
7845
  content: string;
7169
7846
  role: import("./message").MessageRole.TemplateSystem;
7847
+ createdAt?: string;
7170
7848
  id?: string;
7171
7849
  messageId?: string;
7172
7850
  name?: string;
@@ -7175,6 +7853,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7175
7853
  } | {
7176
7854
  content: string;
7177
7855
  role: import("./message").MessageRole.TemplateUser;
7856
+ createdAt?: string;
7178
7857
  id?: string;
7179
7858
  messageId?: string;
7180
7859
  name?: string;
@@ -7186,6 +7865,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7186
7865
  error?: string;
7187
7866
  role: import("./message").MessageRole.Tool;
7188
7867
  toolCallId: string;
7868
+ createdAt?: string;
7189
7869
  id?: string;
7190
7870
  messageId?: string;
7191
7871
  name?: string;
@@ -7197,6 +7877,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7197
7877
  filename?: string;
7198
7878
  id?: string;
7199
7879
  mimeType: string;
7880
+ outputId?: string;
7881
+ size?: number;
7200
7882
  type: import("./message").MessageType.Binary;
7201
7883
  url?: string;
7202
7884
  } | {
@@ -7205,6 +7887,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7205
7887
  })[];
7206
7888
  property?: {
7207
7889
  [x: string]: unknown;
7890
+ artifacts?: {
7891
+ name: string;
7892
+ outputId: string;
7893
+ size: number;
7894
+ type: string;
7895
+ previewUrl?: string;
7896
+ url?: string;
7897
+ }[];
7898
+ docSchema?: unknown;
7208
7899
  extra?: {
7209
7900
  [x: string]: unknown;
7210
7901
  cite?: string | {
@@ -7221,6 +7912,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7221
7912
  };
7222
7913
  };
7223
7914
  role: import("./message").MessageRole.User;
7915
+ createdAt?: string;
7224
7916
  id?: string;
7225
7917
  messageId?: string;
7226
7918
  name?: string;
@@ -7253,6 +7945,17 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7253
7945
  content: ({
7254
7946
  activityType: import("./message").ActivityType;
7255
7947
  content: {
7948
+ artifacts: {
7949
+ name: string;
7950
+ outputId: string;
7951
+ size: number;
7952
+ type: string;
7953
+ previewUrl?: string;
7954
+ url?: string;
7955
+ }[];
7956
+ runId: string;
7957
+ status: "complete" | "empty";
7958
+ } | {
7256
7959
  nodes: Record<string, import("./event").IFlowAgentNode>;
7257
7960
  task_id: string;
7258
7961
  task_name: string;
@@ -7270,7 +7973,34 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7270
7973
  originFileUrl?: string;
7271
7974
  url: string;
7272
7975
  }[];
7976
+ property?: {
7977
+ [x: string]: unknown;
7978
+ artifacts?: {
7979
+ name: string;
7980
+ outputId: string;
7981
+ size: number;
7982
+ type: string;
7983
+ previewUrl?: string;
7984
+ url?: string;
7985
+ }[];
7986
+ docSchema?: unknown;
7987
+ extra?: {
7988
+ [x: string]: unknown;
7989
+ cite?: string | {
7990
+ data: {
7991
+ key: string;
7992
+ value: string;
7993
+ }[];
7994
+ title: string;
7995
+ type: string;
7996
+ };
7997
+ command?: string;
7998
+ context?: Array<Record<string, unknown>>;
7999
+ resources?: Array<Record<string, unknown>>;
8000
+ };
8001
+ };
7273
8002
  role: import("./message").MessageRole.Activity;
8003
+ createdAt?: string;
7274
8004
  id?: string;
7275
8005
  messageId?: string;
7276
8006
  name?: string;
@@ -7280,6 +8010,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7280
8010
  content?: string;
7281
8011
  property?: {
7282
8012
  [x: string]: unknown;
8013
+ artifacts?: {
8014
+ name: string;
8015
+ outputId: string;
8016
+ size: number;
8017
+ type: string;
8018
+ previewUrl?: string;
8019
+ url?: string;
8020
+ }[];
8021
+ docSchema?: unknown;
7283
8022
  extra?: {
7284
8023
  [x: string]: unknown;
7285
8024
  cite?: string | {
@@ -7306,6 +8045,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7306
8045
  id: string;
7307
8046
  type: import("./message").MessageType.Function;
7308
8047
  }[];
8048
+ createdAt?: string;
7309
8049
  id?: string;
7310
8050
  messageId?: string;
7311
8051
  name?: string;
@@ -7314,6 +8054,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7314
8054
  } | {
7315
8055
  content: string;
7316
8056
  role: import("./message").MessageRole.Developer;
8057
+ createdAt?: string;
7317
8058
  id?: string;
7318
8059
  messageId?: string;
7319
8060
  name?: string;
@@ -7944,6 +8685,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7944
8685
  timestamp?: number;
7945
8686
  };
7946
8687
  role: import("./message").MessageRole.Interrupt;
8688
+ createdAt?: string;
7947
8689
  id?: string;
7948
8690
  messageId?: string;
7949
8691
  name?: string;
@@ -7952,6 +8694,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7952
8694
  } | {
7953
8695
  content: string;
7954
8696
  role: import("./message").MessageRole.Guide;
8697
+ createdAt?: string;
7955
8698
  id?: string;
7956
8699
  messageId?: string;
7957
8700
  name?: string;
@@ -7960,6 +8703,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7960
8703
  } | {
7961
8704
  content: string;
7962
8705
  role: import("./message").MessageRole.HiddenAssistant;
8706
+ createdAt?: string;
7963
8707
  id?: string;
7964
8708
  messageId?: string;
7965
8709
  name?: string;
@@ -7968,6 +8712,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7968
8712
  } | {
7969
8713
  content: string;
7970
8714
  role: import("./message").MessageRole.HiddenGuide;
8715
+ createdAt?: string;
7971
8716
  id?: string;
7972
8717
  messageId?: string;
7973
8718
  name?: string;
@@ -7976,6 +8721,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7976
8721
  } | {
7977
8722
  content: string;
7978
8723
  role: import("./message").MessageRole.Hidden;
8724
+ createdAt?: string;
7979
8725
  id?: string;
7980
8726
  messageId?: string;
7981
8727
  name?: string;
@@ -7984,6 +8730,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7984
8730
  } | {
7985
8731
  content: string;
7986
8732
  role: import("./message").MessageRole.HiddenSystem;
8733
+ createdAt?: string;
7987
8734
  id?: string;
7988
8735
  messageId?: string;
7989
8736
  name?: string;
@@ -7992,6 +8739,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
7992
8739
  } | {
7993
8740
  content: string;
7994
8741
  role: import("./message").MessageRole.HiddenUser;
8742
+ createdAt?: string;
7995
8743
  id?: string;
7996
8744
  messageId?: string;
7997
8745
  name?: string;
@@ -8000,6 +8748,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8000
8748
  } | {
8001
8749
  content: string;
8002
8750
  role: import("./message").MessageRole.Info;
8751
+ createdAt?: string;
8003
8752
  id?: string;
8004
8753
  messageId?: string;
8005
8754
  name?: string;
@@ -8008,6 +8757,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8008
8757
  } | {
8009
8758
  content: string;
8010
8759
  role: import("./message").MessageRole.Pause;
8760
+ createdAt?: string;
8011
8761
  id?: string;
8012
8762
  messageId?: string;
8013
8763
  name?: string;
@@ -8016,6 +8766,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8016
8766
  } | {
8017
8767
  content: string;
8018
8768
  role: import("./message").MessageRole.Placeholder;
8769
+ createdAt?: string;
8019
8770
  id?: string;
8020
8771
  messageId?: string;
8021
8772
  name?: string;
@@ -8025,6 +8776,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8025
8776
  content: string[];
8026
8777
  duration?: number;
8027
8778
  role: import("./message").MessageRole.Reasoning;
8779
+ createdAt?: string;
8028
8780
  id?: string;
8029
8781
  messageId?: string;
8030
8782
  name?: string;
@@ -8033,6 +8785,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8033
8785
  } | {
8034
8786
  content: string;
8035
8787
  role: import("./message").MessageRole.System;
8788
+ createdAt?: string;
8036
8789
  id?: string;
8037
8790
  messageId?: string;
8038
8791
  name?: string;
@@ -8041,6 +8794,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8041
8794
  } | {
8042
8795
  content: string;
8043
8796
  role: import("./message").MessageRole.TemplateAssistant;
8797
+ createdAt?: string;
8044
8798
  id?: string;
8045
8799
  messageId?: string;
8046
8800
  name?: string;
@@ -8049,6 +8803,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8049
8803
  } | {
8050
8804
  content: string;
8051
8805
  role: import("./message").MessageRole.TemplateGuide;
8806
+ createdAt?: string;
8052
8807
  id?: string;
8053
8808
  messageId?: string;
8054
8809
  name?: string;
@@ -8057,6 +8812,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8057
8812
  } | {
8058
8813
  content: string;
8059
8814
  role: import("./message").MessageRole.TemplateHidden;
8815
+ createdAt?: string;
8060
8816
  id?: string;
8061
8817
  messageId?: string;
8062
8818
  name?: string;
@@ -8065,6 +8821,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8065
8821
  } | {
8066
8822
  content: string;
8067
8823
  role: import("./message").MessageRole.TemplateSystem;
8824
+ createdAt?: string;
8068
8825
  id?: string;
8069
8826
  messageId?: string;
8070
8827
  name?: string;
@@ -8073,6 +8830,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8073
8830
  } | {
8074
8831
  content: string;
8075
8832
  role: import("./message").MessageRole.TemplateUser;
8833
+ createdAt?: string;
8076
8834
  id?: string;
8077
8835
  messageId?: string;
8078
8836
  name?: string;
@@ -8084,6 +8842,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8084
8842
  error?: string;
8085
8843
  role: import("./message").MessageRole.Tool;
8086
8844
  toolCallId: string;
8845
+ createdAt?: string;
8087
8846
  id?: string;
8088
8847
  messageId?: string;
8089
8848
  name?: string;
@@ -8095,6 +8854,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8095
8854
  filename?: string;
8096
8855
  id?: string;
8097
8856
  mimeType: string;
8857
+ outputId?: string;
8858
+ size?: number;
8098
8859
  type: import("./message").MessageType.Binary;
8099
8860
  url?: string;
8100
8861
  } | {
@@ -8103,6 +8864,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8103
8864
  })[];
8104
8865
  property?: {
8105
8866
  [x: string]: unknown;
8867
+ artifacts?: {
8868
+ name: string;
8869
+ outputId: string;
8870
+ size: number;
8871
+ type: string;
8872
+ previewUrl?: string;
8873
+ url?: string;
8874
+ }[];
8875
+ docSchema?: unknown;
8106
8876
  extra?: {
8107
8877
  [x: string]: unknown;
8108
8878
  cite?: string | {
@@ -8119,6 +8889,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8119
8889
  };
8120
8890
  };
8121
8891
  role: import("./message").MessageRole.User;
8892
+ createdAt?: string;
8122
8893
  id?: string;
8123
8894
  messageId?: string;
8124
8895
  name?: string;
@@ -8130,6 +8901,17 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8130
8901
  value: string | ({
8131
8902
  activityType: import("./message").ActivityType;
8132
8903
  content: {
8904
+ artifacts: {
8905
+ name: string;
8906
+ outputId: string;
8907
+ size: number;
8908
+ type: string;
8909
+ previewUrl?: string;
8910
+ url?: string;
8911
+ }[];
8912
+ runId: string;
8913
+ status: "complete" | "empty";
8914
+ } | {
8133
8915
  nodes: Record<string, import("./event").IFlowAgentNode>;
8134
8916
  task_id: string;
8135
8917
  task_name: string;
@@ -8147,7 +8929,34 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8147
8929
  originFileUrl?: string;
8148
8930
  url: string;
8149
8931
  }[];
8932
+ property?: {
8933
+ [x: string]: unknown;
8934
+ artifacts?: {
8935
+ name: string;
8936
+ outputId: string;
8937
+ size: number;
8938
+ type: string;
8939
+ previewUrl?: string;
8940
+ url?: string;
8941
+ }[];
8942
+ docSchema?: unknown;
8943
+ extra?: {
8944
+ [x: string]: unknown;
8945
+ cite?: string | {
8946
+ data: {
8947
+ key: string;
8948
+ value: string;
8949
+ }[];
8950
+ title: string;
8951
+ type: string;
8952
+ };
8953
+ command?: string;
8954
+ context?: Array<Record<string, unknown>>;
8955
+ resources?: Array<Record<string, unknown>>;
8956
+ };
8957
+ };
8150
8958
  role: import("./message").MessageRole.Activity;
8959
+ createdAt?: string;
8151
8960
  id?: string;
8152
8961
  messageId?: string;
8153
8962
  name?: string;
@@ -8157,6 +8966,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8157
8966
  content?: string;
8158
8967
  property?: {
8159
8968
  [x: string]: unknown;
8969
+ artifacts?: {
8970
+ name: string;
8971
+ outputId: string;
8972
+ size: number;
8973
+ type: string;
8974
+ previewUrl?: string;
8975
+ url?: string;
8976
+ }[];
8977
+ docSchema?: unknown;
8160
8978
  extra?: {
8161
8979
  [x: string]: unknown;
8162
8980
  cite?: string | {
@@ -8183,6 +9001,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8183
9001
  id: string;
8184
9002
  type: import("./message").MessageType.Function;
8185
9003
  }[];
9004
+ createdAt?: string;
8186
9005
  id?: string;
8187
9006
  messageId?: string;
8188
9007
  name?: string;
@@ -8191,6 +9010,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8191
9010
  } | {
8192
9011
  content: string;
8193
9012
  role: import("./message").MessageRole.Developer;
9013
+ createdAt?: string;
8194
9014
  id?: string;
8195
9015
  messageId?: string;
8196
9016
  name?: string;
@@ -8821,6 +9641,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8821
9641
  timestamp?: number;
8822
9642
  };
8823
9643
  role: import("./message").MessageRole.Interrupt;
9644
+ createdAt?: string;
8824
9645
  id?: string;
8825
9646
  messageId?: string;
8826
9647
  name?: string;
@@ -8829,6 +9650,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8829
9650
  } | {
8830
9651
  content: string;
8831
9652
  role: import("./message").MessageRole.Guide;
9653
+ createdAt?: string;
8832
9654
  id?: string;
8833
9655
  messageId?: string;
8834
9656
  name?: string;
@@ -8837,6 +9659,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8837
9659
  } | {
8838
9660
  content: string;
8839
9661
  role: import("./message").MessageRole.HiddenAssistant;
9662
+ createdAt?: string;
8840
9663
  id?: string;
8841
9664
  messageId?: string;
8842
9665
  name?: string;
@@ -8845,6 +9668,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8845
9668
  } | {
8846
9669
  content: string;
8847
9670
  role: import("./message").MessageRole.HiddenGuide;
9671
+ createdAt?: string;
8848
9672
  id?: string;
8849
9673
  messageId?: string;
8850
9674
  name?: string;
@@ -8853,6 +9677,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8853
9677
  } | {
8854
9678
  content: string;
8855
9679
  role: import("./message").MessageRole.Hidden;
9680
+ createdAt?: string;
8856
9681
  id?: string;
8857
9682
  messageId?: string;
8858
9683
  name?: string;
@@ -8861,6 +9686,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8861
9686
  } | {
8862
9687
  content: string;
8863
9688
  role: import("./message").MessageRole.HiddenSystem;
9689
+ createdAt?: string;
8864
9690
  id?: string;
8865
9691
  messageId?: string;
8866
9692
  name?: string;
@@ -8869,6 +9695,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8869
9695
  } | {
8870
9696
  content: string;
8871
9697
  role: import("./message").MessageRole.HiddenUser;
9698
+ createdAt?: string;
8872
9699
  id?: string;
8873
9700
  messageId?: string;
8874
9701
  name?: string;
@@ -8877,6 +9704,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8877
9704
  } | {
8878
9705
  content: string;
8879
9706
  role: import("./message").MessageRole.Info;
9707
+ createdAt?: string;
8880
9708
  id?: string;
8881
9709
  messageId?: string;
8882
9710
  name?: string;
@@ -8885,6 +9713,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8885
9713
  } | {
8886
9714
  content: string;
8887
9715
  role: import("./message").MessageRole.Pause;
9716
+ createdAt?: string;
8888
9717
  id?: string;
8889
9718
  messageId?: string;
8890
9719
  name?: string;
@@ -8893,6 +9722,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8893
9722
  } | {
8894
9723
  content: string;
8895
9724
  role: import("./message").MessageRole.Placeholder;
9725
+ createdAt?: string;
8896
9726
  id?: string;
8897
9727
  messageId?: string;
8898
9728
  name?: string;
@@ -8902,6 +9732,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8902
9732
  content: string[];
8903
9733
  duration?: number;
8904
9734
  role: import("./message").MessageRole.Reasoning;
9735
+ createdAt?: string;
8905
9736
  id?: string;
8906
9737
  messageId?: string;
8907
9738
  name?: string;
@@ -8910,6 +9741,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8910
9741
  } | {
8911
9742
  content: string;
8912
9743
  role: import("./message").MessageRole.System;
9744
+ createdAt?: string;
8913
9745
  id?: string;
8914
9746
  messageId?: string;
8915
9747
  name?: string;
@@ -8918,6 +9750,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8918
9750
  } | {
8919
9751
  content: string;
8920
9752
  role: import("./message").MessageRole.TemplateAssistant;
9753
+ createdAt?: string;
8921
9754
  id?: string;
8922
9755
  messageId?: string;
8923
9756
  name?: string;
@@ -8926,6 +9759,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8926
9759
  } | {
8927
9760
  content: string;
8928
9761
  role: import("./message").MessageRole.TemplateGuide;
9762
+ createdAt?: string;
8929
9763
  id?: string;
8930
9764
  messageId?: string;
8931
9765
  name?: string;
@@ -8934,6 +9768,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8934
9768
  } | {
8935
9769
  content: string;
8936
9770
  role: import("./message").MessageRole.TemplateHidden;
9771
+ createdAt?: string;
8937
9772
  id?: string;
8938
9773
  messageId?: string;
8939
9774
  name?: string;
@@ -8942,6 +9777,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8942
9777
  } | {
8943
9778
  content: string;
8944
9779
  role: import("./message").MessageRole.TemplateSystem;
9780
+ createdAt?: string;
8945
9781
  id?: string;
8946
9782
  messageId?: string;
8947
9783
  name?: string;
@@ -8950,6 +9786,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8950
9786
  } | {
8951
9787
  content: string;
8952
9788
  role: import("./message").MessageRole.TemplateUser;
9789
+ createdAt?: string;
8953
9790
  id?: string;
8954
9791
  messageId?: string;
8955
9792
  name?: string;
@@ -8961,6 +9798,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8961
9798
  error?: string;
8962
9799
  role: import("./message").MessageRole.Tool;
8963
9800
  toolCallId: string;
9801
+ createdAt?: string;
8964
9802
  id?: string;
8965
9803
  messageId?: string;
8966
9804
  name?: string;
@@ -8972,6 +9810,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8972
9810
  filename?: string;
8973
9811
  id?: string;
8974
9812
  mimeType: string;
9813
+ outputId?: string;
9814
+ size?: number;
8975
9815
  type: import("./message").MessageType.Binary;
8976
9816
  url?: string;
8977
9817
  } | {
@@ -8980,6 +9820,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8980
9820
  })[];
8981
9821
  property?: {
8982
9822
  [x: string]: unknown;
9823
+ artifacts?: {
9824
+ name: string;
9825
+ outputId: string;
9826
+ size: number;
9827
+ type: string;
9828
+ previewUrl?: string;
9829
+ url?: string;
9830
+ }[];
9831
+ docSchema?: unknown;
8983
9832
  extra?: {
8984
9833
  [x: string]: unknown;
8985
9834
  cite?: string | {
@@ -8996,6 +9845,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
8996
9845
  };
8997
9846
  };
8998
9847
  role: import("./message").MessageRole.User;
9848
+ createdAt?: string;
8999
9849
  id?: string;
9000
9850
  messageId?: string;
9001
9851
  name?: string;
@@ -9010,13 +9860,19 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9010
9860
  labels?: string[];
9011
9861
  };
9012
9862
  }>;
9863
+ page: import("vue").Ref<number, number>;
9864
+ numPages: import("vue").Ref<number, number>;
9865
+ count: import("vue").Ref<number, number>;
9866
+ hasMore: import("vue").ComputedRef<boolean>;
9013
9867
  isCurrentLoading: import("vue").Ref<boolean, boolean>;
9014
9868
  isListLoading: import("vue").Ref<boolean, boolean>;
9869
+ isLoadingMore: import("vue").Ref<boolean, boolean>;
9015
9870
  isCreateLoading: import("vue").Ref<boolean, boolean>;
9016
9871
  isUpdateLoading: import("vue").Ref<boolean, boolean>;
9017
9872
  isDeleteLoading: import("vue").Ref<boolean, boolean>;
9018
9873
  isBatchDeleteLoading: import("vue").Ref<boolean, boolean>;
9019
- getSessions: () => Promise<void>;
9874
+ getSessions: (params?: import("./session").ISessionListParams) => Promise<void>;
9875
+ loadMoreSessions: (pageSize?: number) => Promise<void>;
9020
9876
  chooseSession: (sessionCode: string, options?: {
9021
9877
  loadMessages?: boolean;
9022
9878
  }) => Promise<void>;
@@ -9035,16 +9891,27 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9035
9891
  labels: string[];
9036
9892
  }>;
9037
9893
  getSessionFeedbackReasons: (rate: number) => Promise<string[]>;
9038
- renameSession: (sessionCode: string) => Promise<void>;
9039
- uploadFile: (sessionCode: string, file: File) => Promise<{
9040
- download_url?: string;
9041
- }>;
9894
+ renameSession: (sessionCode: string) => Promise<import("./session").ISession<unknown, unknown>>;
9895
+ uploadFile: (sessionCode: string, file: File) => Promise<import("./session").IUploadFileResult | undefined>;
9896
+ uploadFiles: (sessionCode: string, files: File[]) => Promise<import("./session").IUploadFileResult[]>;
9897
+ getPvFileDownloadUrl: (sessionCode: string, path: string, options?: import("./session").GetPvFileDownloadUrlOptions) => Promise<import("./session").IPvFileDownloadUrlResult>;
9042
9898
  reset: () => void;
9043
9899
  };
9044
9900
  message: {
9045
9901
  list: import("vue").Ref<({
9046
9902
  activityType: import("./message").ActivityType;
9047
9903
  content: {
9904
+ artifacts: {
9905
+ name: string;
9906
+ outputId: string;
9907
+ size: number;
9908
+ type: string;
9909
+ previewUrl?: string;
9910
+ url?: string;
9911
+ }[];
9912
+ runId: string;
9913
+ status: "complete" | "empty";
9914
+ } | {
9048
9915
  nodes: Record<string, import("./event").IFlowAgentNode>;
9049
9916
  task_id: string;
9050
9917
  task_name: string;
@@ -9062,7 +9929,34 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9062
9929
  originFileUrl?: string;
9063
9930
  url: string;
9064
9931
  }[];
9932
+ property?: {
9933
+ [x: string]: unknown;
9934
+ artifacts?: {
9935
+ name: string;
9936
+ outputId: string;
9937
+ size: number;
9938
+ type: string;
9939
+ previewUrl?: string;
9940
+ url?: string;
9941
+ }[];
9942
+ docSchema?: unknown;
9943
+ extra?: {
9944
+ [x: string]: unknown;
9945
+ cite?: string | {
9946
+ data: {
9947
+ key: string;
9948
+ value: string;
9949
+ }[];
9950
+ title: string;
9951
+ type: string;
9952
+ };
9953
+ command?: string;
9954
+ context?: Array<Record<string, unknown>>;
9955
+ resources?: Array<Record<string, unknown>>;
9956
+ };
9957
+ };
9065
9958
  role: import("./message").MessageRole.Activity;
9959
+ createdAt?: string;
9066
9960
  id?: string;
9067
9961
  messageId?: string;
9068
9962
  name?: string;
@@ -9072,6 +9966,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9072
9966
  content?: string;
9073
9967
  property?: {
9074
9968
  [x: string]: unknown;
9969
+ artifacts?: {
9970
+ name: string;
9971
+ outputId: string;
9972
+ size: number;
9973
+ type: string;
9974
+ previewUrl?: string;
9975
+ url?: string;
9976
+ }[];
9977
+ docSchema?: unknown;
9075
9978
  extra?: {
9076
9979
  [x: string]: unknown;
9077
9980
  cite?: string | {
@@ -9098,6 +10001,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9098
10001
  id: string;
9099
10002
  type: import("./message").MessageType.Function;
9100
10003
  }[];
10004
+ createdAt?: string;
9101
10005
  id?: string;
9102
10006
  messageId?: string;
9103
10007
  name?: string;
@@ -9106,6 +10010,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9106
10010
  } | {
9107
10011
  content: string;
9108
10012
  role: import("./message").MessageRole.Developer;
10013
+ createdAt?: string;
9109
10014
  id?: string;
9110
10015
  messageId?: string;
9111
10016
  name?: string;
@@ -9736,6 +10641,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9736
10641
  timestamp?: number;
9737
10642
  };
9738
10643
  role: import("./message").MessageRole.Interrupt;
10644
+ createdAt?: string;
9739
10645
  id?: string;
9740
10646
  messageId?: string;
9741
10647
  name?: string;
@@ -9744,6 +10650,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9744
10650
  } | {
9745
10651
  content: string;
9746
10652
  role: import("./message").MessageRole.Guide;
10653
+ createdAt?: string;
9747
10654
  id?: string;
9748
10655
  messageId?: string;
9749
10656
  name?: string;
@@ -9752,6 +10659,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9752
10659
  } | {
9753
10660
  content: string;
9754
10661
  role: import("./message").MessageRole.HiddenAssistant;
10662
+ createdAt?: string;
9755
10663
  id?: string;
9756
10664
  messageId?: string;
9757
10665
  name?: string;
@@ -9760,6 +10668,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9760
10668
  } | {
9761
10669
  content: string;
9762
10670
  role: import("./message").MessageRole.HiddenGuide;
10671
+ createdAt?: string;
9763
10672
  id?: string;
9764
10673
  messageId?: string;
9765
10674
  name?: string;
@@ -9768,6 +10677,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9768
10677
  } | {
9769
10678
  content: string;
9770
10679
  role: import("./message").MessageRole.Hidden;
10680
+ createdAt?: string;
9771
10681
  id?: string;
9772
10682
  messageId?: string;
9773
10683
  name?: string;
@@ -9776,6 +10686,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9776
10686
  } | {
9777
10687
  content: string;
9778
10688
  role: import("./message").MessageRole.HiddenSystem;
10689
+ createdAt?: string;
9779
10690
  id?: string;
9780
10691
  messageId?: string;
9781
10692
  name?: string;
@@ -9784,6 +10695,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9784
10695
  } | {
9785
10696
  content: string;
9786
10697
  role: import("./message").MessageRole.HiddenUser;
10698
+ createdAt?: string;
9787
10699
  id?: string;
9788
10700
  messageId?: string;
9789
10701
  name?: string;
@@ -9792,6 +10704,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9792
10704
  } | {
9793
10705
  content: string;
9794
10706
  role: import("./message").MessageRole.Info;
10707
+ createdAt?: string;
9795
10708
  id?: string;
9796
10709
  messageId?: string;
9797
10710
  name?: string;
@@ -9800,6 +10713,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9800
10713
  } | {
9801
10714
  content: string;
9802
10715
  role: import("./message").MessageRole.Pause;
10716
+ createdAt?: string;
9803
10717
  id?: string;
9804
10718
  messageId?: string;
9805
10719
  name?: string;
@@ -9808,6 +10722,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9808
10722
  } | {
9809
10723
  content: string;
9810
10724
  role: import("./message").MessageRole.Placeholder;
10725
+ createdAt?: string;
9811
10726
  id?: string;
9812
10727
  messageId?: string;
9813
10728
  name?: string;
@@ -9817,6 +10732,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9817
10732
  content: string[];
9818
10733
  duration?: number;
9819
10734
  role: import("./message").MessageRole.Reasoning;
10735
+ createdAt?: string;
9820
10736
  id?: string;
9821
10737
  messageId?: string;
9822
10738
  name?: string;
@@ -9825,6 +10741,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9825
10741
  } | {
9826
10742
  content: string;
9827
10743
  role: import("./message").MessageRole.System;
10744
+ createdAt?: string;
9828
10745
  id?: string;
9829
10746
  messageId?: string;
9830
10747
  name?: string;
@@ -9833,6 +10750,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9833
10750
  } | {
9834
10751
  content: string;
9835
10752
  role: import("./message").MessageRole.TemplateAssistant;
10753
+ createdAt?: string;
9836
10754
  id?: string;
9837
10755
  messageId?: string;
9838
10756
  name?: string;
@@ -9841,6 +10759,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9841
10759
  } | {
9842
10760
  content: string;
9843
10761
  role: import("./message").MessageRole.TemplateGuide;
10762
+ createdAt?: string;
9844
10763
  id?: string;
9845
10764
  messageId?: string;
9846
10765
  name?: string;
@@ -9849,6 +10768,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9849
10768
  } | {
9850
10769
  content: string;
9851
10770
  role: import("./message").MessageRole.TemplateHidden;
10771
+ createdAt?: string;
9852
10772
  id?: string;
9853
10773
  messageId?: string;
9854
10774
  name?: string;
@@ -9857,6 +10777,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9857
10777
  } | {
9858
10778
  content: string;
9859
10779
  role: import("./message").MessageRole.TemplateSystem;
10780
+ createdAt?: string;
9860
10781
  id?: string;
9861
10782
  messageId?: string;
9862
10783
  name?: string;
@@ -9865,6 +10786,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9865
10786
  } | {
9866
10787
  content: string;
9867
10788
  role: import("./message").MessageRole.TemplateUser;
10789
+ createdAt?: string;
9868
10790
  id?: string;
9869
10791
  messageId?: string;
9870
10792
  name?: string;
@@ -9876,6 +10798,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9876
10798
  error?: string;
9877
10799
  role: import("./message").MessageRole.Tool;
9878
10800
  toolCallId: string;
10801
+ createdAt?: string;
9879
10802
  id?: string;
9880
10803
  messageId?: string;
9881
10804
  name?: string;
@@ -9887,6 +10810,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9887
10810
  filename?: string;
9888
10811
  id?: string;
9889
10812
  mimeType: string;
10813
+ outputId?: string;
10814
+ size?: number;
9890
10815
  type: import("./message").MessageType.Binary;
9891
10816
  url?: string;
9892
10817
  } | {
@@ -9895,6 +10820,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9895
10820
  })[];
9896
10821
  property?: {
9897
10822
  [x: string]: unknown;
10823
+ artifacts?: {
10824
+ name: string;
10825
+ outputId: string;
10826
+ size: number;
10827
+ type: string;
10828
+ previewUrl?: string;
10829
+ url?: string;
10830
+ }[];
10831
+ docSchema?: unknown;
9898
10832
  extra?: {
9899
10833
  [x: string]: unknown;
9900
10834
  cite?: string | {
@@ -9911,6 +10845,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9911
10845
  };
9912
10846
  };
9913
10847
  role: import("./message").MessageRole.User;
10848
+ createdAt?: string;
9914
10849
  id?: string;
9915
10850
  messageId?: string;
9916
10851
  name?: string;
@@ -9919,6 +10854,17 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9919
10854
  })[], import("./message").IMessage[] | ({
9920
10855
  activityType: import("./message").ActivityType;
9921
10856
  content: {
10857
+ artifacts: {
10858
+ name: string;
10859
+ outputId: string;
10860
+ size: number;
10861
+ type: string;
10862
+ previewUrl?: string;
10863
+ url?: string;
10864
+ }[];
10865
+ runId: string;
10866
+ status: "complete" | "empty";
10867
+ } | {
9922
10868
  nodes: Record<string, import("./event").IFlowAgentNode>;
9923
10869
  task_id: string;
9924
10870
  task_name: string;
@@ -9936,7 +10882,34 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9936
10882
  originFileUrl?: string;
9937
10883
  url: string;
9938
10884
  }[];
10885
+ property?: {
10886
+ [x: string]: unknown;
10887
+ artifacts?: {
10888
+ name: string;
10889
+ outputId: string;
10890
+ size: number;
10891
+ type: string;
10892
+ previewUrl?: string;
10893
+ url?: string;
10894
+ }[];
10895
+ docSchema?: unknown;
10896
+ extra?: {
10897
+ [x: string]: unknown;
10898
+ cite?: string | {
10899
+ data: {
10900
+ key: string;
10901
+ value: string;
10902
+ }[];
10903
+ title: string;
10904
+ type: string;
10905
+ };
10906
+ command?: string;
10907
+ context?: Array<Record<string, unknown>>;
10908
+ resources?: Array<Record<string, unknown>>;
10909
+ };
10910
+ };
9939
10911
  role: import("./message").MessageRole.Activity;
10912
+ createdAt?: string;
9940
10913
  id?: string;
9941
10914
  messageId?: string;
9942
10915
  name?: string;
@@ -9946,6 +10919,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9946
10919
  content?: string;
9947
10920
  property?: {
9948
10921
  [x: string]: unknown;
10922
+ artifacts?: {
10923
+ name: string;
10924
+ outputId: string;
10925
+ size: number;
10926
+ type: string;
10927
+ previewUrl?: string;
10928
+ url?: string;
10929
+ }[];
10930
+ docSchema?: unknown;
9949
10931
  extra?: {
9950
10932
  [x: string]: unknown;
9951
10933
  cite?: string | {
@@ -9972,6 +10954,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9972
10954
  id: string;
9973
10955
  type: import("./message").MessageType.Function;
9974
10956
  }[];
10957
+ createdAt?: string;
9975
10958
  id?: string;
9976
10959
  messageId?: string;
9977
10960
  name?: string;
@@ -9980,6 +10963,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
9980
10963
  } | {
9981
10964
  content: string;
9982
10965
  role: import("./message").MessageRole.Developer;
10966
+ createdAt?: string;
9983
10967
  id?: string;
9984
10968
  messageId?: string;
9985
10969
  name?: string;
@@ -10610,6 +11594,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10610
11594
  timestamp?: number;
10611
11595
  };
10612
11596
  role: import("./message").MessageRole.Interrupt;
11597
+ createdAt?: string;
10613
11598
  id?: string;
10614
11599
  messageId?: string;
10615
11600
  name?: string;
@@ -10618,6 +11603,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10618
11603
  } | {
10619
11604
  content: string;
10620
11605
  role: import("./message").MessageRole.Guide;
11606
+ createdAt?: string;
10621
11607
  id?: string;
10622
11608
  messageId?: string;
10623
11609
  name?: string;
@@ -10626,6 +11612,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10626
11612
  } | {
10627
11613
  content: string;
10628
11614
  role: import("./message").MessageRole.HiddenAssistant;
11615
+ createdAt?: string;
10629
11616
  id?: string;
10630
11617
  messageId?: string;
10631
11618
  name?: string;
@@ -10634,6 +11621,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10634
11621
  } | {
10635
11622
  content: string;
10636
11623
  role: import("./message").MessageRole.HiddenGuide;
11624
+ createdAt?: string;
10637
11625
  id?: string;
10638
11626
  messageId?: string;
10639
11627
  name?: string;
@@ -10642,6 +11630,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10642
11630
  } | {
10643
11631
  content: string;
10644
11632
  role: import("./message").MessageRole.Hidden;
11633
+ createdAt?: string;
10645
11634
  id?: string;
10646
11635
  messageId?: string;
10647
11636
  name?: string;
@@ -10650,6 +11639,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10650
11639
  } | {
10651
11640
  content: string;
10652
11641
  role: import("./message").MessageRole.HiddenSystem;
11642
+ createdAt?: string;
10653
11643
  id?: string;
10654
11644
  messageId?: string;
10655
11645
  name?: string;
@@ -10658,6 +11648,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10658
11648
  } | {
10659
11649
  content: string;
10660
11650
  role: import("./message").MessageRole.HiddenUser;
11651
+ createdAt?: string;
10661
11652
  id?: string;
10662
11653
  messageId?: string;
10663
11654
  name?: string;
@@ -10666,6 +11657,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10666
11657
  } | {
10667
11658
  content: string;
10668
11659
  role: import("./message").MessageRole.Info;
11660
+ createdAt?: string;
10669
11661
  id?: string;
10670
11662
  messageId?: string;
10671
11663
  name?: string;
@@ -10674,6 +11666,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10674
11666
  } | {
10675
11667
  content: string;
10676
11668
  role: import("./message").MessageRole.Pause;
11669
+ createdAt?: string;
10677
11670
  id?: string;
10678
11671
  messageId?: string;
10679
11672
  name?: string;
@@ -10682,6 +11675,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10682
11675
  } | {
10683
11676
  content: string;
10684
11677
  role: import("./message").MessageRole.Placeholder;
11678
+ createdAt?: string;
10685
11679
  id?: string;
10686
11680
  messageId?: string;
10687
11681
  name?: string;
@@ -10691,6 +11685,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10691
11685
  content: string[];
10692
11686
  duration?: number;
10693
11687
  role: import("./message").MessageRole.Reasoning;
11688
+ createdAt?: string;
10694
11689
  id?: string;
10695
11690
  messageId?: string;
10696
11691
  name?: string;
@@ -10699,6 +11694,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10699
11694
  } | {
10700
11695
  content: string;
10701
11696
  role: import("./message").MessageRole.System;
11697
+ createdAt?: string;
10702
11698
  id?: string;
10703
11699
  messageId?: string;
10704
11700
  name?: string;
@@ -10707,6 +11703,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10707
11703
  } | {
10708
11704
  content: string;
10709
11705
  role: import("./message").MessageRole.TemplateAssistant;
11706
+ createdAt?: string;
10710
11707
  id?: string;
10711
11708
  messageId?: string;
10712
11709
  name?: string;
@@ -10715,6 +11712,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10715
11712
  } | {
10716
11713
  content: string;
10717
11714
  role: import("./message").MessageRole.TemplateGuide;
11715
+ createdAt?: string;
10718
11716
  id?: string;
10719
11717
  messageId?: string;
10720
11718
  name?: string;
@@ -10723,6 +11721,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10723
11721
  } | {
10724
11722
  content: string;
10725
11723
  role: import("./message").MessageRole.TemplateHidden;
11724
+ createdAt?: string;
10726
11725
  id?: string;
10727
11726
  messageId?: string;
10728
11727
  name?: string;
@@ -10731,6 +11730,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10731
11730
  } | {
10732
11731
  content: string;
10733
11732
  role: import("./message").MessageRole.TemplateSystem;
11733
+ createdAt?: string;
10734
11734
  id?: string;
10735
11735
  messageId?: string;
10736
11736
  name?: string;
@@ -10739,6 +11739,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10739
11739
  } | {
10740
11740
  content: string;
10741
11741
  role: import("./message").MessageRole.TemplateUser;
11742
+ createdAt?: string;
10742
11743
  id?: string;
10743
11744
  messageId?: string;
10744
11745
  name?: string;
@@ -10750,6 +11751,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10750
11751
  error?: string;
10751
11752
  role: import("./message").MessageRole.Tool;
10752
11753
  toolCallId: string;
11754
+ createdAt?: string;
10753
11755
  id?: string;
10754
11756
  messageId?: string;
10755
11757
  name?: string;
@@ -10761,6 +11763,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10761
11763
  filename?: string;
10762
11764
  id?: string;
10763
11765
  mimeType: string;
11766
+ outputId?: string;
11767
+ size?: number;
10764
11768
  type: import("./message").MessageType.Binary;
10765
11769
  url?: string;
10766
11770
  } | {
@@ -10769,6 +11773,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10769
11773
  })[];
10770
11774
  property?: {
10771
11775
  [x: string]: unknown;
11776
+ artifacts?: {
11777
+ name: string;
11778
+ outputId: string;
11779
+ size: number;
11780
+ type: string;
11781
+ previewUrl?: string;
11782
+ url?: string;
11783
+ }[];
11784
+ docSchema?: unknown;
10772
11785
  extra?: {
10773
11786
  [x: string]: unknown;
10774
11787
  cite?: string | {
@@ -10785,6 +11798,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10785
11798
  };
10786
11799
  };
10787
11800
  role: import("./message").MessageRole.User;
11801
+ createdAt?: string;
10788
11802
  id?: string;
10789
11803
  messageId?: string;
10790
11804
  name?: string;
@@ -10798,6 +11812,17 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10798
11812
  getCurrentLoadingMessage: () => {
10799
11813
  activityType: import("./message").ActivityType;
10800
11814
  content: {
11815
+ artifacts: {
11816
+ name: string;
11817
+ outputId: string;
11818
+ size: number;
11819
+ type: string;
11820
+ previewUrl?: string;
11821
+ url?: string;
11822
+ }[];
11823
+ runId: string;
11824
+ status: "complete" | "empty";
11825
+ } | {
10801
11826
  nodes: Record<string, import("./event").IFlowAgentNode>;
10802
11827
  task_id: string;
10803
11828
  task_name: string;
@@ -10815,7 +11840,34 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10815
11840
  originFileUrl?: string;
10816
11841
  url: string;
10817
11842
  }[];
11843
+ property?: {
11844
+ [x: string]: unknown;
11845
+ artifacts?: {
11846
+ name: string;
11847
+ outputId: string;
11848
+ size: number;
11849
+ type: string;
11850
+ previewUrl?: string;
11851
+ url?: string;
11852
+ }[];
11853
+ docSchema?: unknown;
11854
+ extra?: {
11855
+ [x: string]: unknown;
11856
+ cite?: string | {
11857
+ data: {
11858
+ key: string;
11859
+ value: string;
11860
+ }[];
11861
+ title: string;
11862
+ type: string;
11863
+ };
11864
+ command?: string;
11865
+ context?: Array<Record<string, unknown>>;
11866
+ resources?: Array<Record<string, unknown>>;
11867
+ };
11868
+ };
10818
11869
  role: import("./message").MessageRole.Activity;
11870
+ createdAt?: string;
10819
11871
  id?: string;
10820
11872
  messageId?: string;
10821
11873
  name?: string;
@@ -10825,6 +11877,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10825
11877
  content?: string;
10826
11878
  property?: {
10827
11879
  [x: string]: unknown;
11880
+ artifacts?: {
11881
+ name: string;
11882
+ outputId: string;
11883
+ size: number;
11884
+ type: string;
11885
+ previewUrl?: string;
11886
+ url?: string;
11887
+ }[];
11888
+ docSchema?: unknown;
10828
11889
  extra?: {
10829
11890
  [x: string]: unknown;
10830
11891
  cite?: string | {
@@ -10851,6 +11912,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10851
11912
  id: string;
10852
11913
  type: import("./message").MessageType.Function;
10853
11914
  }[];
11915
+ createdAt?: string;
10854
11916
  id?: string;
10855
11917
  messageId?: string;
10856
11918
  name?: string;
@@ -10859,6 +11921,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
10859
11921
  } | {
10860
11922
  content: string;
10861
11923
  role: import("./message").MessageRole.Developer;
11924
+ createdAt?: string;
10862
11925
  id?: string;
10863
11926
  messageId?: string;
10864
11927
  name?: string;
@@ -11489,6 +12552,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11489
12552
  timestamp?: number;
11490
12553
  };
11491
12554
  role: import("./message").MessageRole.Interrupt;
12555
+ createdAt?: string;
11492
12556
  id?: string;
11493
12557
  messageId?: string;
11494
12558
  name?: string;
@@ -11497,6 +12561,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11497
12561
  } | {
11498
12562
  content: string;
11499
12563
  role: import("./message").MessageRole.Guide;
12564
+ createdAt?: string;
11500
12565
  id?: string;
11501
12566
  messageId?: string;
11502
12567
  name?: string;
@@ -11505,6 +12570,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11505
12570
  } | {
11506
12571
  content: string;
11507
12572
  role: import("./message").MessageRole.HiddenAssistant;
12573
+ createdAt?: string;
11508
12574
  id?: string;
11509
12575
  messageId?: string;
11510
12576
  name?: string;
@@ -11513,6 +12579,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11513
12579
  } | {
11514
12580
  content: string;
11515
12581
  role: import("./message").MessageRole.HiddenGuide;
12582
+ createdAt?: string;
11516
12583
  id?: string;
11517
12584
  messageId?: string;
11518
12585
  name?: string;
@@ -11521,6 +12588,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11521
12588
  } | {
11522
12589
  content: string;
11523
12590
  role: import("./message").MessageRole.Hidden;
12591
+ createdAt?: string;
11524
12592
  id?: string;
11525
12593
  messageId?: string;
11526
12594
  name?: string;
@@ -11529,6 +12597,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11529
12597
  } | {
11530
12598
  content: string;
11531
12599
  role: import("./message").MessageRole.HiddenSystem;
12600
+ createdAt?: string;
11532
12601
  id?: string;
11533
12602
  messageId?: string;
11534
12603
  name?: string;
@@ -11537,6 +12606,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11537
12606
  } | {
11538
12607
  content: string;
11539
12608
  role: import("./message").MessageRole.HiddenUser;
12609
+ createdAt?: string;
11540
12610
  id?: string;
11541
12611
  messageId?: string;
11542
12612
  name?: string;
@@ -11545,6 +12615,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11545
12615
  } | {
11546
12616
  content: string;
11547
12617
  role: import("./message").MessageRole.Info;
12618
+ createdAt?: string;
11548
12619
  id?: string;
11549
12620
  messageId?: string;
11550
12621
  name?: string;
@@ -11553,6 +12624,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11553
12624
  } | {
11554
12625
  content: string;
11555
12626
  role: import("./message").MessageRole.Pause;
12627
+ createdAt?: string;
11556
12628
  id?: string;
11557
12629
  messageId?: string;
11558
12630
  name?: string;
@@ -11561,6 +12633,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11561
12633
  } | {
11562
12634
  content: string;
11563
12635
  role: import("./message").MessageRole.Placeholder;
12636
+ createdAt?: string;
11564
12637
  id?: string;
11565
12638
  messageId?: string;
11566
12639
  name?: string;
@@ -11570,6 +12643,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11570
12643
  content: string[];
11571
12644
  duration?: number;
11572
12645
  role: import("./message").MessageRole.Reasoning;
12646
+ createdAt?: string;
11573
12647
  id?: string;
11574
12648
  messageId?: string;
11575
12649
  name?: string;
@@ -11578,6 +12652,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11578
12652
  } | {
11579
12653
  content: string;
11580
12654
  role: import("./message").MessageRole.System;
12655
+ createdAt?: string;
11581
12656
  id?: string;
11582
12657
  messageId?: string;
11583
12658
  name?: string;
@@ -11586,6 +12661,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11586
12661
  } | {
11587
12662
  content: string;
11588
12663
  role: import("./message").MessageRole.TemplateAssistant;
12664
+ createdAt?: string;
11589
12665
  id?: string;
11590
12666
  messageId?: string;
11591
12667
  name?: string;
@@ -11594,6 +12670,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11594
12670
  } | {
11595
12671
  content: string;
11596
12672
  role: import("./message").MessageRole.TemplateGuide;
12673
+ createdAt?: string;
11597
12674
  id?: string;
11598
12675
  messageId?: string;
11599
12676
  name?: string;
@@ -11602,6 +12679,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11602
12679
  } | {
11603
12680
  content: string;
11604
12681
  role: import("./message").MessageRole.TemplateHidden;
12682
+ createdAt?: string;
11605
12683
  id?: string;
11606
12684
  messageId?: string;
11607
12685
  name?: string;
@@ -11610,6 +12688,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11610
12688
  } | {
11611
12689
  content: string;
11612
12690
  role: import("./message").MessageRole.TemplateSystem;
12691
+ createdAt?: string;
11613
12692
  id?: string;
11614
12693
  messageId?: string;
11615
12694
  name?: string;
@@ -11618,6 +12697,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11618
12697
  } | {
11619
12698
  content: string;
11620
12699
  role: import("./message").MessageRole.TemplateUser;
12700
+ createdAt?: string;
11621
12701
  id?: string;
11622
12702
  messageId?: string;
11623
12703
  name?: string;
@@ -11629,6 +12709,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11629
12709
  error?: string;
11630
12710
  role: import("./message").MessageRole.Tool;
11631
12711
  toolCallId: string;
12712
+ createdAt?: string;
11632
12713
  id?: string;
11633
12714
  messageId?: string;
11634
12715
  name?: string;
@@ -11640,6 +12721,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11640
12721
  filename?: string;
11641
12722
  id?: string;
11642
12723
  mimeType: string;
12724
+ outputId?: string;
12725
+ size?: number;
11643
12726
  type: import("./message").MessageType.Binary;
11644
12727
  url?: string;
11645
12728
  } | {
@@ -11648,6 +12731,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11648
12731
  })[];
11649
12732
  property?: {
11650
12733
  [x: string]: unknown;
12734
+ artifacts?: {
12735
+ name: string;
12736
+ outputId: string;
12737
+ size: number;
12738
+ type: string;
12739
+ previewUrl?: string;
12740
+ url?: string;
12741
+ }[];
12742
+ docSchema?: unknown;
11651
12743
  extra?: {
11652
12744
  [x: string]: unknown;
11653
12745
  cite?: string | {
@@ -11664,6 +12756,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11664
12756
  };
11665
12757
  };
11666
12758
  role: import("./message").MessageRole.User;
12759
+ createdAt?: string;
11667
12760
  id?: string;
11668
12761
  messageId?: string;
11669
12762
  name?: string;
@@ -11673,6 +12766,17 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11673
12766
  getMessageByMessageId: (id: string) => {
11674
12767
  activityType: import("./message").ActivityType;
11675
12768
  content: {
12769
+ artifacts: {
12770
+ name: string;
12771
+ outputId: string;
12772
+ size: number;
12773
+ type: string;
12774
+ previewUrl?: string;
12775
+ url?: string;
12776
+ }[];
12777
+ runId: string;
12778
+ status: "complete" | "empty";
12779
+ } | {
11676
12780
  nodes: Record<string, import("./event").IFlowAgentNode>;
11677
12781
  task_id: string;
11678
12782
  task_name: string;
@@ -11690,7 +12794,34 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11690
12794
  originFileUrl?: string;
11691
12795
  url: string;
11692
12796
  }[];
12797
+ property?: {
12798
+ [x: string]: unknown;
12799
+ artifacts?: {
12800
+ name: string;
12801
+ outputId: string;
12802
+ size: number;
12803
+ type: string;
12804
+ previewUrl?: string;
12805
+ url?: string;
12806
+ }[];
12807
+ docSchema?: unknown;
12808
+ extra?: {
12809
+ [x: string]: unknown;
12810
+ cite?: string | {
12811
+ data: {
12812
+ key: string;
12813
+ value: string;
12814
+ }[];
12815
+ title: string;
12816
+ type: string;
12817
+ };
12818
+ command?: string;
12819
+ context?: Array<Record<string, unknown>>;
12820
+ resources?: Array<Record<string, unknown>>;
12821
+ };
12822
+ };
11693
12823
  role: import("./message").MessageRole.Activity;
12824
+ createdAt?: string;
11694
12825
  id?: string;
11695
12826
  messageId?: string;
11696
12827
  name?: string;
@@ -11700,6 +12831,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11700
12831
  content?: string;
11701
12832
  property?: {
11702
12833
  [x: string]: unknown;
12834
+ artifacts?: {
12835
+ name: string;
12836
+ outputId: string;
12837
+ size: number;
12838
+ type: string;
12839
+ previewUrl?: string;
12840
+ url?: string;
12841
+ }[];
12842
+ docSchema?: unknown;
11703
12843
  extra?: {
11704
12844
  [x: string]: unknown;
11705
12845
  cite?: string | {
@@ -11726,6 +12866,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11726
12866
  id: string;
11727
12867
  type: import("./message").MessageType.Function;
11728
12868
  }[];
12869
+ createdAt?: string;
11729
12870
  id?: string;
11730
12871
  messageId?: string;
11731
12872
  name?: string;
@@ -11734,6 +12875,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
11734
12875
  } | {
11735
12876
  content: string;
11736
12877
  role: import("./message").MessageRole.Developer;
12878
+ createdAt?: string;
11737
12879
  id?: string;
11738
12880
  messageId?: string;
11739
12881
  name?: string;
@@ -12364,6 +13506,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12364
13506
  timestamp?: number;
12365
13507
  };
12366
13508
  role: import("./message").MessageRole.Interrupt;
13509
+ createdAt?: string;
12367
13510
  id?: string;
12368
13511
  messageId?: string;
12369
13512
  name?: string;
@@ -12372,6 +13515,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12372
13515
  } | {
12373
13516
  content: string;
12374
13517
  role: import("./message").MessageRole.Guide;
13518
+ createdAt?: string;
12375
13519
  id?: string;
12376
13520
  messageId?: string;
12377
13521
  name?: string;
@@ -12380,6 +13524,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12380
13524
  } | {
12381
13525
  content: string;
12382
13526
  role: import("./message").MessageRole.HiddenAssistant;
13527
+ createdAt?: string;
12383
13528
  id?: string;
12384
13529
  messageId?: string;
12385
13530
  name?: string;
@@ -12388,6 +13533,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12388
13533
  } | {
12389
13534
  content: string;
12390
13535
  role: import("./message").MessageRole.HiddenGuide;
13536
+ createdAt?: string;
12391
13537
  id?: string;
12392
13538
  messageId?: string;
12393
13539
  name?: string;
@@ -12396,6 +13542,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12396
13542
  } | {
12397
13543
  content: string;
12398
13544
  role: import("./message").MessageRole.Hidden;
13545
+ createdAt?: string;
12399
13546
  id?: string;
12400
13547
  messageId?: string;
12401
13548
  name?: string;
@@ -12404,6 +13551,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12404
13551
  } | {
12405
13552
  content: string;
12406
13553
  role: import("./message").MessageRole.HiddenSystem;
13554
+ createdAt?: string;
12407
13555
  id?: string;
12408
13556
  messageId?: string;
12409
13557
  name?: string;
@@ -12412,6 +13560,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12412
13560
  } | {
12413
13561
  content: string;
12414
13562
  role: import("./message").MessageRole.HiddenUser;
13563
+ createdAt?: string;
12415
13564
  id?: string;
12416
13565
  messageId?: string;
12417
13566
  name?: string;
@@ -12420,6 +13569,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12420
13569
  } | {
12421
13570
  content: string;
12422
13571
  role: import("./message").MessageRole.Info;
13572
+ createdAt?: string;
12423
13573
  id?: string;
12424
13574
  messageId?: string;
12425
13575
  name?: string;
@@ -12428,6 +13578,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12428
13578
  } | {
12429
13579
  content: string;
12430
13580
  role: import("./message").MessageRole.Pause;
13581
+ createdAt?: string;
12431
13582
  id?: string;
12432
13583
  messageId?: string;
12433
13584
  name?: string;
@@ -12436,6 +13587,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12436
13587
  } | {
12437
13588
  content: string;
12438
13589
  role: import("./message").MessageRole.Placeholder;
13590
+ createdAt?: string;
12439
13591
  id?: string;
12440
13592
  messageId?: string;
12441
13593
  name?: string;
@@ -12445,6 +13597,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12445
13597
  content: string[];
12446
13598
  duration?: number;
12447
13599
  role: import("./message").MessageRole.Reasoning;
13600
+ createdAt?: string;
12448
13601
  id?: string;
12449
13602
  messageId?: string;
12450
13603
  name?: string;
@@ -12453,6 +13606,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12453
13606
  } | {
12454
13607
  content: string;
12455
13608
  role: import("./message").MessageRole.System;
13609
+ createdAt?: string;
12456
13610
  id?: string;
12457
13611
  messageId?: string;
12458
13612
  name?: string;
@@ -12461,6 +13615,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12461
13615
  } | {
12462
13616
  content: string;
12463
13617
  role: import("./message").MessageRole.TemplateAssistant;
13618
+ createdAt?: string;
12464
13619
  id?: string;
12465
13620
  messageId?: string;
12466
13621
  name?: string;
@@ -12469,6 +13624,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12469
13624
  } | {
12470
13625
  content: string;
12471
13626
  role: import("./message").MessageRole.TemplateGuide;
13627
+ createdAt?: string;
12472
13628
  id?: string;
12473
13629
  messageId?: string;
12474
13630
  name?: string;
@@ -12477,6 +13633,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12477
13633
  } | {
12478
13634
  content: string;
12479
13635
  role: import("./message").MessageRole.TemplateHidden;
13636
+ createdAt?: string;
12480
13637
  id?: string;
12481
13638
  messageId?: string;
12482
13639
  name?: string;
@@ -12485,6 +13642,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12485
13642
  } | {
12486
13643
  content: string;
12487
13644
  role: import("./message").MessageRole.TemplateSystem;
13645
+ createdAt?: string;
12488
13646
  id?: string;
12489
13647
  messageId?: string;
12490
13648
  name?: string;
@@ -12493,6 +13651,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12493
13651
  } | {
12494
13652
  content: string;
12495
13653
  role: import("./message").MessageRole.TemplateUser;
13654
+ createdAt?: string;
12496
13655
  id?: string;
12497
13656
  messageId?: string;
12498
13657
  name?: string;
@@ -12504,6 +13663,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12504
13663
  error?: string;
12505
13664
  role: import("./message").MessageRole.Tool;
12506
13665
  toolCallId: string;
13666
+ createdAt?: string;
12507
13667
  id?: string;
12508
13668
  messageId?: string;
12509
13669
  name?: string;
@@ -12515,6 +13675,8 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12515
13675
  filename?: string;
12516
13676
  id?: string;
12517
13677
  mimeType: string;
13678
+ outputId?: string;
13679
+ size?: number;
12518
13680
  type: import("./message").MessageType.Binary;
12519
13681
  url?: string;
12520
13682
  } | {
@@ -12523,6 +13685,15 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12523
13685
  })[];
12524
13686
  property?: {
12525
13687
  [x: string]: unknown;
13688
+ artifacts?: {
13689
+ name: string;
13690
+ outputId: string;
13691
+ size: number;
13692
+ type: string;
13693
+ previewUrl?: string;
13694
+ url?: string;
13695
+ }[];
13696
+ docSchema?: unknown;
12526
13697
  extra?: {
12527
13698
  [x: string]: unknown;
12528
13699
  cite?: string | {
@@ -12539,6 +13710,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12539
13710
  };
12540
13711
  };
12541
13712
  role: import("./message").MessageRole.User;
13713
+ createdAt?: string;
12542
13714
  id?: string;
12543
13715
  messageId?: string;
12544
13716
  name?: string;
@@ -12559,10 +13731,16 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12559
13731
  onError: (handler: import("./http").GlobalErrorHandler, options?: import("./http").ErrorHandlerOptions) => void;
12560
13732
  agent: {
12561
13733
  getAgentInfo: (config?: import("./http").IRequestConfig) => Promise<import("./agent").IAgentInfo>;
13734
+ getLlms: (params?: import("./agent").ILlmListQuery, config?: import("./http").IRequestConfig) => Promise<import("./agent").ILlmItem[]>;
12562
13735
  };
12563
13736
  session: {
12564
13737
  clearSession: (sessionCode: string, config?: import("./http").IRequestConfig) => Promise<unknown>;
12565
- getSessions: (config?: import("./http").IRequestConfig) => Promise<import("./session").ISession<unknown, unknown>[]>;
13738
+ getSessions: (params?: import("./session").ISessionListParams, config?: import("./http").IRequestConfig) => Promise<{
13739
+ page: number;
13740
+ numPages: number;
13741
+ count: number;
13742
+ results: import("./session").ISession<unknown, unknown>[];
13743
+ }>;
12566
13744
  plusSession: (data: import("./session").ISession, config?: import("./http").IRequestConfig) => Promise<import("./session").ISession<unknown, unknown>>;
12567
13745
  modifySession: (data: import("./session").ISession, config?: import("./http").IRequestConfig) => Promise<import("./session").ISession<unknown, unknown>>;
12568
13746
  deleteSession: (sessionCode: string, config?: import("./http").IRequestConfig) => Promise<unknown>;
@@ -12577,13 +13755,13 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
12577
13755
  }>;
12578
13756
  getSessionFeedbackReasons: (rate: number, config?: import("./http").IRequestConfig) => Promise<string[]>;
12579
13757
  renameSession: (sessionCode: string, config?: import("./http").IRequestConfig) => Promise<import("./session").ISession<unknown, unknown>>;
12580
- uploadFile: (sessionCode: string, file: File, config?: import("./http").IRequestConfig) => Promise<{
12581
- download_url?: string;
12582
- }>;
13758
+ uploadFile: (sessionCode: string, file: File, config?: import("./http").IRequestConfig) => Promise<import("./session").ILegacyUploadFileResult>;
13759
+ uploadPvFiles: (sessionCode: string, files: File[], config?: import("./http").IRequestConfig) => Promise<import("./session").IPvFileUploadResult>;
13760
+ getPvFileDownloadUrl: (sessionCode: string, path: string, options?: import("./session").GetPvFileDownloadUrlOptions, config?: import("./http").IRequestConfig) => Promise<import("./session").IPvFileDownloadUrlResult>;
12583
13761
  isResumeSession: (sessionCode: string, config?: import("./http").IRequestConfig) => Promise<boolean>;
12584
13762
  };
12585
13763
  message: {
12586
- getMessages: (sessionCode: string, limit?: number, config?: import("./http").IRequestConfig) => Promise<import("./message").IMessage[]>;
13764
+ getMessages: (sessionCode: string, limit?: number, config?: import("./http").IRequestConfig, fuzzy?: string) => Promise<import("./message").IMessage[]>;
12587
13765
  plusMessage: (data: import("./message").IMessage, config?: import("./http").IRequestConfig) => Promise<import("./message").IActivityMessage | import("./message").IAssistantMessage | import("./message").IDeveloperMessage | import("./message").IInterruptMessage | import("./message").IGuideMessage | import("./message").IHiddenAssistantMessage | import("./message").IHiddenGuideMessage | import("./message").IHiddenMessage | import("./message").IHiddenSystemMessage | import("./message").IHiddenUserMessage | import("./message").IInfoMessage | import("./message").IPauseMessage | import("./message").IPlaceholderMessage | import("./message").IReasoningMessage | import("./message").ISystemMessage | import("./message").ITemplateAssistantMessage | import("./message").ITemplateGuideMessage | import("./message").ITemplateHiddenMessage | import("./message").ITemplateSystemMessage | import("./message").ITemplateUserMessage | import("./message").IToolMessage | import("./message").IUserMessage>;
12588
13766
  modifyMessage: (data: import("./message").IMessage, config?: import("./http").IRequestConfig) => Promise<import("./message").IActivityMessage | import("./message").IAssistantMessage | import("./message").IDeveloperMessage | import("./message").IInterruptMessage | import("./message").IGuideMessage | import("./message").IHiddenAssistantMessage | import("./message").IHiddenGuideMessage | import("./message").IHiddenMessage | import("./message").IHiddenSystemMessage | import("./message").IHiddenUserMessage | import("./message").IInfoMessage | import("./message").IPauseMessage | import("./message").IPlaceholderMessage | import("./message").IReasoningMessage | import("./message").ISystemMessage | import("./message").ITemplateAssistantMessage | import("./message").ITemplateGuideMessage | import("./message").ITemplateHiddenMessage | import("./message").ITemplateSystemMessage | import("./message").ITemplateUserMessage | import("./message").IToolMessage | import("./message").IUserMessage>;
12589
13767
  deleteMessage: (id: string, config?: import("./http").IRequestConfig) => Promise<import("./message").IMessage>;