@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.
- package/README.md +21 -7
- package/dist/agent/type.d.ts +82 -0
- package/dist/agent/type.ts.js +5 -1
- package/dist/agent/use-agent.d.ts +229 -10
- package/dist/agent/use-agent.ts.js +365 -25
- package/dist/event/ag-ui.d.ts +4 -1
- package/dist/event/ag-ui.ts.js +76 -6
- package/dist/event/type.d.ts +14 -2
- package/dist/event/type.ts.js +2 -0
- package/dist/http/fetch/fetch.spec.d.ts +1 -0
- package/dist/http/fetch/fetch.ts.js +106 -22
- package/dist/http/index.d.ts +11 -5
- package/dist/http/module/agent.d.ts +2 -0
- package/dist/http/module/agent.ts.js +19 -2
- package/dist/http/module/index.d.ts +11 -5
- package/dist/http/module/message.d.ts +1 -1
- package/dist/http/module/message.ts.js +4 -3
- package/dist/http/module/session.d.ts +10 -5
- package/dist/http/module/session.ts.js +60 -3
- package/dist/http/transform/agent.d.ts +9 -1
- package/dist/http/transform/agent.spec.d.ts +1 -0
- package/dist/http/transform/agent.ts.js +29 -0
- package/dist/http/transform/message.spec.d.ts +1 -0
- package/dist/http/transform/message.ts.js +19 -5
- package/dist/index.d.ts +1194 -16
- package/dist/message/type.d.ts +35 -3
- package/dist/message/type.ts.js +16 -0
- package/dist/message/use-message.d.ts +316 -0
- package/dist/session/index.d.ts +1 -0
- package/dist/session/index.ts.js +2 -1
- package/dist/session/pv-file-upload.d.ts +7 -0
- package/dist/session/pv-file-upload.spec.d.ts +1 -0
- package/dist/session/pv-file-upload.ts.js +64 -0
- package/dist/session/type.d.ts +57 -0
- package/dist/session/use-session.d.ts +644 -6
- package/dist/session/use-session.spec.d.ts +1 -0
- package/dist/session/use-session.ts.js +117 -10
- package/package.json +4 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IMediatorModule } from '../mediator';
|
|
2
|
-
import type { ISession, ISessionFeedback } from './type';
|
|
2
|
+
import type { GetPvFileDownloadUrlOptions, ISession, ISessionFeedback, ISessionListParams, IUploadFileResult } from './type';
|
|
3
3
|
/**
|
|
4
4
|
* 使用会话模块,主要做业务的组合
|
|
5
5
|
* @param mediator - 中介者模块,用于获取其他模块的引用
|
|
@@ -25,6 +25,17 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
25
25
|
content: ({
|
|
26
26
|
activityType: import("..").ActivityType;
|
|
27
27
|
content: {
|
|
28
|
+
artifacts: {
|
|
29
|
+
name: string;
|
|
30
|
+
outputId: string;
|
|
31
|
+
size: number;
|
|
32
|
+
type: string;
|
|
33
|
+
previewUrl?: string;
|
|
34
|
+
url?: string;
|
|
35
|
+
}[];
|
|
36
|
+
runId: string;
|
|
37
|
+
status: "complete" | "empty";
|
|
38
|
+
} | {
|
|
28
39
|
nodes: Record<string, import("..").IFlowAgentNode>;
|
|
29
40
|
task_id: string;
|
|
30
41
|
task_name: string;
|
|
@@ -42,7 +53,34 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
42
53
|
originFileUrl?: string;
|
|
43
54
|
url: string;
|
|
44
55
|
}[];
|
|
56
|
+
property?: {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
artifacts?: {
|
|
59
|
+
name: string;
|
|
60
|
+
outputId: string;
|
|
61
|
+
size: number;
|
|
62
|
+
type: string;
|
|
63
|
+
previewUrl?: string;
|
|
64
|
+
url?: string;
|
|
65
|
+
}[];
|
|
66
|
+
docSchema?: unknown;
|
|
67
|
+
extra?: {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
cite?: string | {
|
|
70
|
+
data: {
|
|
71
|
+
key: string;
|
|
72
|
+
value: string;
|
|
73
|
+
}[];
|
|
74
|
+
title: string;
|
|
75
|
+
type: string;
|
|
76
|
+
};
|
|
77
|
+
command?: string;
|
|
78
|
+
context?: Array<Record<string, unknown>>;
|
|
79
|
+
resources?: Array<Record<string, unknown>>;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
45
82
|
role: import("..").MessageRole.Activity;
|
|
83
|
+
createdAt?: string;
|
|
46
84
|
id?: string;
|
|
47
85
|
messageId?: string;
|
|
48
86
|
name?: string;
|
|
@@ -52,6 +90,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
52
90
|
content?: string;
|
|
53
91
|
property?: {
|
|
54
92
|
[x: string]: unknown;
|
|
93
|
+
artifacts?: {
|
|
94
|
+
name: string;
|
|
95
|
+
outputId: string;
|
|
96
|
+
size: number;
|
|
97
|
+
type: string;
|
|
98
|
+
previewUrl?: string;
|
|
99
|
+
url?: string;
|
|
100
|
+
}[];
|
|
101
|
+
docSchema?: unknown;
|
|
55
102
|
extra?: {
|
|
56
103
|
[x: string]: unknown;
|
|
57
104
|
cite?: string | {
|
|
@@ -78,6 +125,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
78
125
|
id: string;
|
|
79
126
|
type: import("..").MessageType.Function;
|
|
80
127
|
}[];
|
|
128
|
+
createdAt?: string;
|
|
81
129
|
id?: string;
|
|
82
130
|
messageId?: string;
|
|
83
131
|
name?: string;
|
|
@@ -86,6 +134,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
86
134
|
} | {
|
|
87
135
|
content: string;
|
|
88
136
|
role: import("..").MessageRole.Developer;
|
|
137
|
+
createdAt?: string;
|
|
89
138
|
id?: string;
|
|
90
139
|
messageId?: string;
|
|
91
140
|
name?: string;
|
|
@@ -716,6 +765,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
716
765
|
timestamp?: number;
|
|
717
766
|
};
|
|
718
767
|
role: import("..").MessageRole.Interrupt;
|
|
768
|
+
createdAt?: string;
|
|
719
769
|
id?: string;
|
|
720
770
|
messageId?: string;
|
|
721
771
|
name?: string;
|
|
@@ -724,6 +774,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
724
774
|
} | {
|
|
725
775
|
content: string;
|
|
726
776
|
role: import("..").MessageRole.Guide;
|
|
777
|
+
createdAt?: string;
|
|
727
778
|
id?: string;
|
|
728
779
|
messageId?: string;
|
|
729
780
|
name?: string;
|
|
@@ -732,6 +783,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
732
783
|
} | {
|
|
733
784
|
content: string;
|
|
734
785
|
role: import("..").MessageRole.HiddenAssistant;
|
|
786
|
+
createdAt?: string;
|
|
735
787
|
id?: string;
|
|
736
788
|
messageId?: string;
|
|
737
789
|
name?: string;
|
|
@@ -740,6 +792,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
740
792
|
} | {
|
|
741
793
|
content: string;
|
|
742
794
|
role: import("..").MessageRole.HiddenGuide;
|
|
795
|
+
createdAt?: string;
|
|
743
796
|
id?: string;
|
|
744
797
|
messageId?: string;
|
|
745
798
|
name?: string;
|
|
@@ -748,6 +801,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
748
801
|
} | {
|
|
749
802
|
content: string;
|
|
750
803
|
role: import("..").MessageRole.Hidden;
|
|
804
|
+
createdAt?: string;
|
|
751
805
|
id?: string;
|
|
752
806
|
messageId?: string;
|
|
753
807
|
name?: string;
|
|
@@ -756,6 +810,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
756
810
|
} | {
|
|
757
811
|
content: string;
|
|
758
812
|
role: import("..").MessageRole.HiddenSystem;
|
|
813
|
+
createdAt?: string;
|
|
759
814
|
id?: string;
|
|
760
815
|
messageId?: string;
|
|
761
816
|
name?: string;
|
|
@@ -764,6 +819,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
764
819
|
} | {
|
|
765
820
|
content: string;
|
|
766
821
|
role: import("..").MessageRole.HiddenUser;
|
|
822
|
+
createdAt?: string;
|
|
767
823
|
id?: string;
|
|
768
824
|
messageId?: string;
|
|
769
825
|
name?: string;
|
|
@@ -772,6 +828,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
772
828
|
} | {
|
|
773
829
|
content: string;
|
|
774
830
|
role: import("..").MessageRole.Info;
|
|
831
|
+
createdAt?: string;
|
|
775
832
|
id?: string;
|
|
776
833
|
messageId?: string;
|
|
777
834
|
name?: string;
|
|
@@ -780,6 +837,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
780
837
|
} | {
|
|
781
838
|
content: string;
|
|
782
839
|
role: import("..").MessageRole.Pause;
|
|
840
|
+
createdAt?: string;
|
|
783
841
|
id?: string;
|
|
784
842
|
messageId?: string;
|
|
785
843
|
name?: string;
|
|
@@ -788,6 +846,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
788
846
|
} | {
|
|
789
847
|
content: string;
|
|
790
848
|
role: import("..").MessageRole.Placeholder;
|
|
849
|
+
createdAt?: string;
|
|
791
850
|
id?: string;
|
|
792
851
|
messageId?: string;
|
|
793
852
|
name?: string;
|
|
@@ -797,6 +856,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
797
856
|
content: string[];
|
|
798
857
|
duration?: number;
|
|
799
858
|
role: import("..").MessageRole.Reasoning;
|
|
859
|
+
createdAt?: string;
|
|
800
860
|
id?: string;
|
|
801
861
|
messageId?: string;
|
|
802
862
|
name?: string;
|
|
@@ -805,6 +865,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
805
865
|
} | {
|
|
806
866
|
content: string;
|
|
807
867
|
role: import("..").MessageRole.System;
|
|
868
|
+
createdAt?: string;
|
|
808
869
|
id?: string;
|
|
809
870
|
messageId?: string;
|
|
810
871
|
name?: string;
|
|
@@ -813,6 +874,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
813
874
|
} | {
|
|
814
875
|
content: string;
|
|
815
876
|
role: import("..").MessageRole.TemplateAssistant;
|
|
877
|
+
createdAt?: string;
|
|
816
878
|
id?: string;
|
|
817
879
|
messageId?: string;
|
|
818
880
|
name?: string;
|
|
@@ -821,6 +883,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
821
883
|
} | {
|
|
822
884
|
content: string;
|
|
823
885
|
role: import("..").MessageRole.TemplateGuide;
|
|
886
|
+
createdAt?: string;
|
|
824
887
|
id?: string;
|
|
825
888
|
messageId?: string;
|
|
826
889
|
name?: string;
|
|
@@ -829,6 +892,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
829
892
|
} | {
|
|
830
893
|
content: string;
|
|
831
894
|
role: import("..").MessageRole.TemplateHidden;
|
|
895
|
+
createdAt?: string;
|
|
832
896
|
id?: string;
|
|
833
897
|
messageId?: string;
|
|
834
898
|
name?: string;
|
|
@@ -837,6 +901,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
837
901
|
} | {
|
|
838
902
|
content: string;
|
|
839
903
|
role: import("..").MessageRole.TemplateSystem;
|
|
904
|
+
createdAt?: string;
|
|
840
905
|
id?: string;
|
|
841
906
|
messageId?: string;
|
|
842
907
|
name?: string;
|
|
@@ -845,6 +910,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
845
910
|
} | {
|
|
846
911
|
content: string;
|
|
847
912
|
role: import("..").MessageRole.TemplateUser;
|
|
913
|
+
createdAt?: string;
|
|
848
914
|
id?: string;
|
|
849
915
|
messageId?: string;
|
|
850
916
|
name?: string;
|
|
@@ -856,6 +922,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
856
922
|
error?: string;
|
|
857
923
|
role: import("..").MessageRole.Tool;
|
|
858
924
|
toolCallId: string;
|
|
925
|
+
createdAt?: string;
|
|
859
926
|
id?: string;
|
|
860
927
|
messageId?: string;
|
|
861
928
|
name?: string;
|
|
@@ -867,6 +934,8 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
867
934
|
filename?: string;
|
|
868
935
|
id?: string;
|
|
869
936
|
mimeType: string;
|
|
937
|
+
outputId?: string;
|
|
938
|
+
size?: number;
|
|
870
939
|
type: import("..").MessageType.Binary;
|
|
871
940
|
url?: string;
|
|
872
941
|
} | {
|
|
@@ -875,6 +944,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
875
944
|
})[];
|
|
876
945
|
property?: {
|
|
877
946
|
[x: string]: unknown;
|
|
947
|
+
artifacts?: {
|
|
948
|
+
name: string;
|
|
949
|
+
outputId: string;
|
|
950
|
+
size: number;
|
|
951
|
+
type: string;
|
|
952
|
+
previewUrl?: string;
|
|
953
|
+
url?: string;
|
|
954
|
+
}[];
|
|
955
|
+
docSchema?: unknown;
|
|
878
956
|
extra?: {
|
|
879
957
|
[x: string]: unknown;
|
|
880
958
|
cite?: string | {
|
|
@@ -891,6 +969,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
891
969
|
};
|
|
892
970
|
};
|
|
893
971
|
role: import("..").MessageRole.User;
|
|
972
|
+
createdAt?: string;
|
|
894
973
|
id?: string;
|
|
895
974
|
messageId?: string;
|
|
896
975
|
name?: string;
|
|
@@ -902,6 +981,17 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
902
981
|
value: string | ({
|
|
903
982
|
activityType: import("..").ActivityType;
|
|
904
983
|
content: {
|
|
984
|
+
artifacts: {
|
|
985
|
+
name: string;
|
|
986
|
+
outputId: string;
|
|
987
|
+
size: number;
|
|
988
|
+
type: string;
|
|
989
|
+
previewUrl?: string;
|
|
990
|
+
url?: string;
|
|
991
|
+
}[];
|
|
992
|
+
runId: string;
|
|
993
|
+
status: "complete" | "empty";
|
|
994
|
+
} | {
|
|
905
995
|
nodes: Record<string, import("..").IFlowAgentNode>;
|
|
906
996
|
task_id: string;
|
|
907
997
|
task_name: string;
|
|
@@ -919,7 +1009,34 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
919
1009
|
originFileUrl?: string;
|
|
920
1010
|
url: string;
|
|
921
1011
|
}[];
|
|
1012
|
+
property?: {
|
|
1013
|
+
[x: string]: unknown;
|
|
1014
|
+
artifacts?: {
|
|
1015
|
+
name: string;
|
|
1016
|
+
outputId: string;
|
|
1017
|
+
size: number;
|
|
1018
|
+
type: string;
|
|
1019
|
+
previewUrl?: string;
|
|
1020
|
+
url?: string;
|
|
1021
|
+
}[];
|
|
1022
|
+
docSchema?: unknown;
|
|
1023
|
+
extra?: {
|
|
1024
|
+
[x: string]: unknown;
|
|
1025
|
+
cite?: string | {
|
|
1026
|
+
data: {
|
|
1027
|
+
key: string;
|
|
1028
|
+
value: string;
|
|
1029
|
+
}[];
|
|
1030
|
+
title: string;
|
|
1031
|
+
type: string;
|
|
1032
|
+
};
|
|
1033
|
+
command?: string;
|
|
1034
|
+
context?: Array<Record<string, unknown>>;
|
|
1035
|
+
resources?: Array<Record<string, unknown>>;
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
922
1038
|
role: import("..").MessageRole.Activity;
|
|
1039
|
+
createdAt?: string;
|
|
923
1040
|
id?: string;
|
|
924
1041
|
messageId?: string;
|
|
925
1042
|
name?: string;
|
|
@@ -929,6 +1046,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
929
1046
|
content?: string;
|
|
930
1047
|
property?: {
|
|
931
1048
|
[x: string]: unknown;
|
|
1049
|
+
artifacts?: {
|
|
1050
|
+
name: string;
|
|
1051
|
+
outputId: string;
|
|
1052
|
+
size: number;
|
|
1053
|
+
type: string;
|
|
1054
|
+
previewUrl?: string;
|
|
1055
|
+
url?: string;
|
|
1056
|
+
}[];
|
|
1057
|
+
docSchema?: unknown;
|
|
932
1058
|
extra?: {
|
|
933
1059
|
[x: string]: unknown;
|
|
934
1060
|
cite?: string | {
|
|
@@ -955,6 +1081,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
955
1081
|
id: string;
|
|
956
1082
|
type: import("..").MessageType.Function;
|
|
957
1083
|
}[];
|
|
1084
|
+
createdAt?: string;
|
|
958
1085
|
id?: string;
|
|
959
1086
|
messageId?: string;
|
|
960
1087
|
name?: string;
|
|
@@ -963,6 +1090,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
963
1090
|
} | {
|
|
964
1091
|
content: string;
|
|
965
1092
|
role: import("..").MessageRole.Developer;
|
|
1093
|
+
createdAt?: string;
|
|
966
1094
|
id?: string;
|
|
967
1095
|
messageId?: string;
|
|
968
1096
|
name?: string;
|
|
@@ -1593,6 +1721,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1593
1721
|
timestamp?: number;
|
|
1594
1722
|
};
|
|
1595
1723
|
role: import("..").MessageRole.Interrupt;
|
|
1724
|
+
createdAt?: string;
|
|
1596
1725
|
id?: string;
|
|
1597
1726
|
messageId?: string;
|
|
1598
1727
|
name?: string;
|
|
@@ -1601,6 +1730,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1601
1730
|
} | {
|
|
1602
1731
|
content: string;
|
|
1603
1732
|
role: import("..").MessageRole.Guide;
|
|
1733
|
+
createdAt?: string;
|
|
1604
1734
|
id?: string;
|
|
1605
1735
|
messageId?: string;
|
|
1606
1736
|
name?: string;
|
|
@@ -1609,6 +1739,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1609
1739
|
} | {
|
|
1610
1740
|
content: string;
|
|
1611
1741
|
role: import("..").MessageRole.HiddenAssistant;
|
|
1742
|
+
createdAt?: string;
|
|
1612
1743
|
id?: string;
|
|
1613
1744
|
messageId?: string;
|
|
1614
1745
|
name?: string;
|
|
@@ -1617,6 +1748,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1617
1748
|
} | {
|
|
1618
1749
|
content: string;
|
|
1619
1750
|
role: import("..").MessageRole.HiddenGuide;
|
|
1751
|
+
createdAt?: string;
|
|
1620
1752
|
id?: string;
|
|
1621
1753
|
messageId?: string;
|
|
1622
1754
|
name?: string;
|
|
@@ -1625,6 +1757,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1625
1757
|
} | {
|
|
1626
1758
|
content: string;
|
|
1627
1759
|
role: import("..").MessageRole.Hidden;
|
|
1760
|
+
createdAt?: string;
|
|
1628
1761
|
id?: string;
|
|
1629
1762
|
messageId?: string;
|
|
1630
1763
|
name?: string;
|
|
@@ -1633,6 +1766,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1633
1766
|
} | {
|
|
1634
1767
|
content: string;
|
|
1635
1768
|
role: import("..").MessageRole.HiddenSystem;
|
|
1769
|
+
createdAt?: string;
|
|
1636
1770
|
id?: string;
|
|
1637
1771
|
messageId?: string;
|
|
1638
1772
|
name?: string;
|
|
@@ -1641,6 +1775,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1641
1775
|
} | {
|
|
1642
1776
|
content: string;
|
|
1643
1777
|
role: import("..").MessageRole.HiddenUser;
|
|
1778
|
+
createdAt?: string;
|
|
1644
1779
|
id?: string;
|
|
1645
1780
|
messageId?: string;
|
|
1646
1781
|
name?: string;
|
|
@@ -1649,6 +1784,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1649
1784
|
} | {
|
|
1650
1785
|
content: string;
|
|
1651
1786
|
role: import("..").MessageRole.Info;
|
|
1787
|
+
createdAt?: string;
|
|
1652
1788
|
id?: string;
|
|
1653
1789
|
messageId?: string;
|
|
1654
1790
|
name?: string;
|
|
@@ -1657,6 +1793,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1657
1793
|
} | {
|
|
1658
1794
|
content: string;
|
|
1659
1795
|
role: import("..").MessageRole.Pause;
|
|
1796
|
+
createdAt?: string;
|
|
1660
1797
|
id?: string;
|
|
1661
1798
|
messageId?: string;
|
|
1662
1799
|
name?: string;
|
|
@@ -1665,6 +1802,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1665
1802
|
} | {
|
|
1666
1803
|
content: string;
|
|
1667
1804
|
role: import("..").MessageRole.Placeholder;
|
|
1805
|
+
createdAt?: string;
|
|
1668
1806
|
id?: string;
|
|
1669
1807
|
messageId?: string;
|
|
1670
1808
|
name?: string;
|
|
@@ -1674,6 +1812,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1674
1812
|
content: string[];
|
|
1675
1813
|
duration?: number;
|
|
1676
1814
|
role: import("..").MessageRole.Reasoning;
|
|
1815
|
+
createdAt?: string;
|
|
1677
1816
|
id?: string;
|
|
1678
1817
|
messageId?: string;
|
|
1679
1818
|
name?: string;
|
|
@@ -1682,6 +1821,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1682
1821
|
} | {
|
|
1683
1822
|
content: string;
|
|
1684
1823
|
role: import("..").MessageRole.System;
|
|
1824
|
+
createdAt?: string;
|
|
1685
1825
|
id?: string;
|
|
1686
1826
|
messageId?: string;
|
|
1687
1827
|
name?: string;
|
|
@@ -1690,6 +1830,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1690
1830
|
} | {
|
|
1691
1831
|
content: string;
|
|
1692
1832
|
role: import("..").MessageRole.TemplateAssistant;
|
|
1833
|
+
createdAt?: string;
|
|
1693
1834
|
id?: string;
|
|
1694
1835
|
messageId?: string;
|
|
1695
1836
|
name?: string;
|
|
@@ -1698,6 +1839,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1698
1839
|
} | {
|
|
1699
1840
|
content: string;
|
|
1700
1841
|
role: import("..").MessageRole.TemplateGuide;
|
|
1842
|
+
createdAt?: string;
|
|
1701
1843
|
id?: string;
|
|
1702
1844
|
messageId?: string;
|
|
1703
1845
|
name?: string;
|
|
@@ -1706,6 +1848,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1706
1848
|
} | {
|
|
1707
1849
|
content: string;
|
|
1708
1850
|
role: import("..").MessageRole.TemplateHidden;
|
|
1851
|
+
createdAt?: string;
|
|
1709
1852
|
id?: string;
|
|
1710
1853
|
messageId?: string;
|
|
1711
1854
|
name?: string;
|
|
@@ -1714,6 +1857,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1714
1857
|
} | {
|
|
1715
1858
|
content: string;
|
|
1716
1859
|
role: import("..").MessageRole.TemplateSystem;
|
|
1860
|
+
createdAt?: string;
|
|
1717
1861
|
id?: string;
|
|
1718
1862
|
messageId?: string;
|
|
1719
1863
|
name?: string;
|
|
@@ -1722,6 +1866,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1722
1866
|
} | {
|
|
1723
1867
|
content: string;
|
|
1724
1868
|
role: import("..").MessageRole.TemplateUser;
|
|
1869
|
+
createdAt?: string;
|
|
1725
1870
|
id?: string;
|
|
1726
1871
|
messageId?: string;
|
|
1727
1872
|
name?: string;
|
|
@@ -1733,6 +1878,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1733
1878
|
error?: string;
|
|
1734
1879
|
role: import("..").MessageRole.Tool;
|
|
1735
1880
|
toolCallId: string;
|
|
1881
|
+
createdAt?: string;
|
|
1736
1882
|
id?: string;
|
|
1737
1883
|
messageId?: string;
|
|
1738
1884
|
name?: string;
|
|
@@ -1744,6 +1890,8 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1744
1890
|
filename?: string;
|
|
1745
1891
|
id?: string;
|
|
1746
1892
|
mimeType: string;
|
|
1893
|
+
outputId?: string;
|
|
1894
|
+
size?: number;
|
|
1747
1895
|
type: import("..").MessageType.Binary;
|
|
1748
1896
|
url?: string;
|
|
1749
1897
|
} | {
|
|
@@ -1752,6 +1900,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1752
1900
|
})[];
|
|
1753
1901
|
property?: {
|
|
1754
1902
|
[x: string]: unknown;
|
|
1903
|
+
artifacts?: {
|
|
1904
|
+
name: string;
|
|
1905
|
+
outputId: string;
|
|
1906
|
+
size: number;
|
|
1907
|
+
type: string;
|
|
1908
|
+
previewUrl?: string;
|
|
1909
|
+
url?: string;
|
|
1910
|
+
}[];
|
|
1911
|
+
docSchema?: unknown;
|
|
1755
1912
|
extra?: {
|
|
1756
1913
|
[x: string]: unknown;
|
|
1757
1914
|
cite?: string | {
|
|
@@ -1768,6 +1925,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1768
1925
|
};
|
|
1769
1926
|
};
|
|
1770
1927
|
role: import("..").MessageRole.User;
|
|
1928
|
+
createdAt?: string;
|
|
1771
1929
|
id?: string;
|
|
1772
1930
|
messageId?: string;
|
|
1773
1931
|
name?: string;
|
|
@@ -1800,6 +1958,17 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1800
1958
|
content: ({
|
|
1801
1959
|
activityType: import("..").ActivityType;
|
|
1802
1960
|
content: {
|
|
1961
|
+
artifacts: {
|
|
1962
|
+
name: string;
|
|
1963
|
+
outputId: string;
|
|
1964
|
+
size: number;
|
|
1965
|
+
type: string;
|
|
1966
|
+
previewUrl?: string;
|
|
1967
|
+
url?: string;
|
|
1968
|
+
}[];
|
|
1969
|
+
runId: string;
|
|
1970
|
+
status: "complete" | "empty";
|
|
1971
|
+
} | {
|
|
1803
1972
|
nodes: Record<string, import("..").IFlowAgentNode>;
|
|
1804
1973
|
task_id: string;
|
|
1805
1974
|
task_name: string;
|
|
@@ -1817,7 +1986,34 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1817
1986
|
originFileUrl?: string;
|
|
1818
1987
|
url: string;
|
|
1819
1988
|
}[];
|
|
1989
|
+
property?: {
|
|
1990
|
+
[x: string]: unknown;
|
|
1991
|
+
artifacts?: {
|
|
1992
|
+
name: string;
|
|
1993
|
+
outputId: string;
|
|
1994
|
+
size: number;
|
|
1995
|
+
type: string;
|
|
1996
|
+
previewUrl?: string;
|
|
1997
|
+
url?: string;
|
|
1998
|
+
}[];
|
|
1999
|
+
docSchema?: unknown;
|
|
2000
|
+
extra?: {
|
|
2001
|
+
[x: string]: unknown;
|
|
2002
|
+
cite?: string | {
|
|
2003
|
+
data: {
|
|
2004
|
+
key: string;
|
|
2005
|
+
value: string;
|
|
2006
|
+
}[];
|
|
2007
|
+
title: string;
|
|
2008
|
+
type: string;
|
|
2009
|
+
};
|
|
2010
|
+
command?: string;
|
|
2011
|
+
context?: Array<Record<string, unknown>>;
|
|
2012
|
+
resources?: Array<Record<string, unknown>>;
|
|
2013
|
+
};
|
|
2014
|
+
};
|
|
1820
2015
|
role: import("..").MessageRole.Activity;
|
|
2016
|
+
createdAt?: string;
|
|
1821
2017
|
id?: string;
|
|
1822
2018
|
messageId?: string;
|
|
1823
2019
|
name?: string;
|
|
@@ -1827,6 +2023,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1827
2023
|
content?: string;
|
|
1828
2024
|
property?: {
|
|
1829
2025
|
[x: string]: unknown;
|
|
2026
|
+
artifacts?: {
|
|
2027
|
+
name: string;
|
|
2028
|
+
outputId: string;
|
|
2029
|
+
size: number;
|
|
2030
|
+
type: string;
|
|
2031
|
+
previewUrl?: string;
|
|
2032
|
+
url?: string;
|
|
2033
|
+
}[];
|
|
2034
|
+
docSchema?: unknown;
|
|
1830
2035
|
extra?: {
|
|
1831
2036
|
[x: string]: unknown;
|
|
1832
2037
|
cite?: string | {
|
|
@@ -1853,6 +2058,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1853
2058
|
id: string;
|
|
1854
2059
|
type: import("..").MessageType.Function;
|
|
1855
2060
|
}[];
|
|
2061
|
+
createdAt?: string;
|
|
1856
2062
|
id?: string;
|
|
1857
2063
|
messageId?: string;
|
|
1858
2064
|
name?: string;
|
|
@@ -1861,6 +2067,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
1861
2067
|
} | {
|
|
1862
2068
|
content: string;
|
|
1863
2069
|
role: import("..").MessageRole.Developer;
|
|
2070
|
+
createdAt?: string;
|
|
1864
2071
|
id?: string;
|
|
1865
2072
|
messageId?: string;
|
|
1866
2073
|
name?: string;
|
|
@@ -2491,6 +2698,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2491
2698
|
timestamp?: number;
|
|
2492
2699
|
};
|
|
2493
2700
|
role: import("..").MessageRole.Interrupt;
|
|
2701
|
+
createdAt?: string;
|
|
2494
2702
|
id?: string;
|
|
2495
2703
|
messageId?: string;
|
|
2496
2704
|
name?: string;
|
|
@@ -2499,6 +2707,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2499
2707
|
} | {
|
|
2500
2708
|
content: string;
|
|
2501
2709
|
role: import("..").MessageRole.Guide;
|
|
2710
|
+
createdAt?: string;
|
|
2502
2711
|
id?: string;
|
|
2503
2712
|
messageId?: string;
|
|
2504
2713
|
name?: string;
|
|
@@ -2507,6 +2716,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2507
2716
|
} | {
|
|
2508
2717
|
content: string;
|
|
2509
2718
|
role: import("..").MessageRole.HiddenAssistant;
|
|
2719
|
+
createdAt?: string;
|
|
2510
2720
|
id?: string;
|
|
2511
2721
|
messageId?: string;
|
|
2512
2722
|
name?: string;
|
|
@@ -2515,6 +2725,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2515
2725
|
} | {
|
|
2516
2726
|
content: string;
|
|
2517
2727
|
role: import("..").MessageRole.HiddenGuide;
|
|
2728
|
+
createdAt?: string;
|
|
2518
2729
|
id?: string;
|
|
2519
2730
|
messageId?: string;
|
|
2520
2731
|
name?: string;
|
|
@@ -2523,6 +2734,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2523
2734
|
} | {
|
|
2524
2735
|
content: string;
|
|
2525
2736
|
role: import("..").MessageRole.Hidden;
|
|
2737
|
+
createdAt?: string;
|
|
2526
2738
|
id?: string;
|
|
2527
2739
|
messageId?: string;
|
|
2528
2740
|
name?: string;
|
|
@@ -2531,6 +2743,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2531
2743
|
} | {
|
|
2532
2744
|
content: string;
|
|
2533
2745
|
role: import("..").MessageRole.HiddenSystem;
|
|
2746
|
+
createdAt?: string;
|
|
2534
2747
|
id?: string;
|
|
2535
2748
|
messageId?: string;
|
|
2536
2749
|
name?: string;
|
|
@@ -2539,6 +2752,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2539
2752
|
} | {
|
|
2540
2753
|
content: string;
|
|
2541
2754
|
role: import("..").MessageRole.HiddenUser;
|
|
2755
|
+
createdAt?: string;
|
|
2542
2756
|
id?: string;
|
|
2543
2757
|
messageId?: string;
|
|
2544
2758
|
name?: string;
|
|
@@ -2547,6 +2761,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2547
2761
|
} | {
|
|
2548
2762
|
content: string;
|
|
2549
2763
|
role: import("..").MessageRole.Info;
|
|
2764
|
+
createdAt?: string;
|
|
2550
2765
|
id?: string;
|
|
2551
2766
|
messageId?: string;
|
|
2552
2767
|
name?: string;
|
|
@@ -2555,6 +2770,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2555
2770
|
} | {
|
|
2556
2771
|
content: string;
|
|
2557
2772
|
role: import("..").MessageRole.Pause;
|
|
2773
|
+
createdAt?: string;
|
|
2558
2774
|
id?: string;
|
|
2559
2775
|
messageId?: string;
|
|
2560
2776
|
name?: string;
|
|
@@ -2563,6 +2779,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2563
2779
|
} | {
|
|
2564
2780
|
content: string;
|
|
2565
2781
|
role: import("..").MessageRole.Placeholder;
|
|
2782
|
+
createdAt?: string;
|
|
2566
2783
|
id?: string;
|
|
2567
2784
|
messageId?: string;
|
|
2568
2785
|
name?: string;
|
|
@@ -2572,6 +2789,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2572
2789
|
content: string[];
|
|
2573
2790
|
duration?: number;
|
|
2574
2791
|
role: import("..").MessageRole.Reasoning;
|
|
2792
|
+
createdAt?: string;
|
|
2575
2793
|
id?: string;
|
|
2576
2794
|
messageId?: string;
|
|
2577
2795
|
name?: string;
|
|
@@ -2580,6 +2798,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2580
2798
|
} | {
|
|
2581
2799
|
content: string;
|
|
2582
2800
|
role: import("..").MessageRole.System;
|
|
2801
|
+
createdAt?: string;
|
|
2583
2802
|
id?: string;
|
|
2584
2803
|
messageId?: string;
|
|
2585
2804
|
name?: string;
|
|
@@ -2588,6 +2807,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2588
2807
|
} | {
|
|
2589
2808
|
content: string;
|
|
2590
2809
|
role: import("..").MessageRole.TemplateAssistant;
|
|
2810
|
+
createdAt?: string;
|
|
2591
2811
|
id?: string;
|
|
2592
2812
|
messageId?: string;
|
|
2593
2813
|
name?: string;
|
|
@@ -2596,6 +2816,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2596
2816
|
} | {
|
|
2597
2817
|
content: string;
|
|
2598
2818
|
role: import("..").MessageRole.TemplateGuide;
|
|
2819
|
+
createdAt?: string;
|
|
2599
2820
|
id?: string;
|
|
2600
2821
|
messageId?: string;
|
|
2601
2822
|
name?: string;
|
|
@@ -2604,6 +2825,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2604
2825
|
} | {
|
|
2605
2826
|
content: string;
|
|
2606
2827
|
role: import("..").MessageRole.TemplateHidden;
|
|
2828
|
+
createdAt?: string;
|
|
2607
2829
|
id?: string;
|
|
2608
2830
|
messageId?: string;
|
|
2609
2831
|
name?: string;
|
|
@@ -2612,6 +2834,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2612
2834
|
} | {
|
|
2613
2835
|
content: string;
|
|
2614
2836
|
role: import("..").MessageRole.TemplateSystem;
|
|
2837
|
+
createdAt?: string;
|
|
2615
2838
|
id?: string;
|
|
2616
2839
|
messageId?: string;
|
|
2617
2840
|
name?: string;
|
|
@@ -2620,6 +2843,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2620
2843
|
} | {
|
|
2621
2844
|
content: string;
|
|
2622
2845
|
role: import("..").MessageRole.TemplateUser;
|
|
2846
|
+
createdAt?: string;
|
|
2623
2847
|
id?: string;
|
|
2624
2848
|
messageId?: string;
|
|
2625
2849
|
name?: string;
|
|
@@ -2631,6 +2855,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2631
2855
|
error?: string;
|
|
2632
2856
|
role: import("..").MessageRole.Tool;
|
|
2633
2857
|
toolCallId: string;
|
|
2858
|
+
createdAt?: string;
|
|
2634
2859
|
id?: string;
|
|
2635
2860
|
messageId?: string;
|
|
2636
2861
|
name?: string;
|
|
@@ -2642,6 +2867,8 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2642
2867
|
filename?: string;
|
|
2643
2868
|
id?: string;
|
|
2644
2869
|
mimeType: string;
|
|
2870
|
+
outputId?: string;
|
|
2871
|
+
size?: number;
|
|
2645
2872
|
type: import("..").MessageType.Binary;
|
|
2646
2873
|
url?: string;
|
|
2647
2874
|
} | {
|
|
@@ -2650,6 +2877,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2650
2877
|
})[];
|
|
2651
2878
|
property?: {
|
|
2652
2879
|
[x: string]: unknown;
|
|
2880
|
+
artifacts?: {
|
|
2881
|
+
name: string;
|
|
2882
|
+
outputId: string;
|
|
2883
|
+
size: number;
|
|
2884
|
+
type: string;
|
|
2885
|
+
previewUrl?: string;
|
|
2886
|
+
url?: string;
|
|
2887
|
+
}[];
|
|
2888
|
+
docSchema?: unknown;
|
|
2653
2889
|
extra?: {
|
|
2654
2890
|
[x: string]: unknown;
|
|
2655
2891
|
cite?: string | {
|
|
@@ -2666,6 +2902,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2666
2902
|
};
|
|
2667
2903
|
};
|
|
2668
2904
|
role: import("..").MessageRole.User;
|
|
2905
|
+
createdAt?: string;
|
|
2669
2906
|
id?: string;
|
|
2670
2907
|
messageId?: string;
|
|
2671
2908
|
name?: string;
|
|
@@ -2677,6 +2914,17 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2677
2914
|
value: string | ({
|
|
2678
2915
|
activityType: import("..").ActivityType;
|
|
2679
2916
|
content: {
|
|
2917
|
+
artifacts: {
|
|
2918
|
+
name: string;
|
|
2919
|
+
outputId: string;
|
|
2920
|
+
size: number;
|
|
2921
|
+
type: string;
|
|
2922
|
+
previewUrl?: string;
|
|
2923
|
+
url?: string;
|
|
2924
|
+
}[];
|
|
2925
|
+
runId: string;
|
|
2926
|
+
status: "complete" | "empty";
|
|
2927
|
+
} | {
|
|
2680
2928
|
nodes: Record<string, import("..").IFlowAgentNode>;
|
|
2681
2929
|
task_id: string;
|
|
2682
2930
|
task_name: string;
|
|
@@ -2694,7 +2942,34 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2694
2942
|
originFileUrl?: string;
|
|
2695
2943
|
url: string;
|
|
2696
2944
|
}[];
|
|
2945
|
+
property?: {
|
|
2946
|
+
[x: string]: unknown;
|
|
2947
|
+
artifacts?: {
|
|
2948
|
+
name: string;
|
|
2949
|
+
outputId: string;
|
|
2950
|
+
size: number;
|
|
2951
|
+
type: string;
|
|
2952
|
+
previewUrl?: string;
|
|
2953
|
+
url?: string;
|
|
2954
|
+
}[];
|
|
2955
|
+
docSchema?: unknown;
|
|
2956
|
+
extra?: {
|
|
2957
|
+
[x: string]: unknown;
|
|
2958
|
+
cite?: string | {
|
|
2959
|
+
data: {
|
|
2960
|
+
key: string;
|
|
2961
|
+
value: string;
|
|
2962
|
+
}[];
|
|
2963
|
+
title: string;
|
|
2964
|
+
type: string;
|
|
2965
|
+
};
|
|
2966
|
+
command?: string;
|
|
2967
|
+
context?: Array<Record<string, unknown>>;
|
|
2968
|
+
resources?: Array<Record<string, unknown>>;
|
|
2969
|
+
};
|
|
2970
|
+
};
|
|
2697
2971
|
role: import("..").MessageRole.Activity;
|
|
2972
|
+
createdAt?: string;
|
|
2698
2973
|
id?: string;
|
|
2699
2974
|
messageId?: string;
|
|
2700
2975
|
name?: string;
|
|
@@ -2704,6 +2979,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2704
2979
|
content?: string;
|
|
2705
2980
|
property?: {
|
|
2706
2981
|
[x: string]: unknown;
|
|
2982
|
+
artifacts?: {
|
|
2983
|
+
name: string;
|
|
2984
|
+
outputId: string;
|
|
2985
|
+
size: number;
|
|
2986
|
+
type: string;
|
|
2987
|
+
previewUrl?: string;
|
|
2988
|
+
url?: string;
|
|
2989
|
+
}[];
|
|
2990
|
+
docSchema?: unknown;
|
|
2707
2991
|
extra?: {
|
|
2708
2992
|
[x: string]: unknown;
|
|
2709
2993
|
cite?: string | {
|
|
@@ -2730,6 +3014,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2730
3014
|
id: string;
|
|
2731
3015
|
type: import("..").MessageType.Function;
|
|
2732
3016
|
}[];
|
|
3017
|
+
createdAt?: string;
|
|
2733
3018
|
id?: string;
|
|
2734
3019
|
messageId?: string;
|
|
2735
3020
|
name?: string;
|
|
@@ -2738,6 +3023,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
2738
3023
|
} | {
|
|
2739
3024
|
content: string;
|
|
2740
3025
|
role: import("..").MessageRole.Developer;
|
|
3026
|
+
createdAt?: string;
|
|
2741
3027
|
id?: string;
|
|
2742
3028
|
messageId?: string;
|
|
2743
3029
|
name?: string;
|
|
@@ -3368,6 +3654,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3368
3654
|
timestamp?: number;
|
|
3369
3655
|
};
|
|
3370
3656
|
role: import("..").MessageRole.Interrupt;
|
|
3657
|
+
createdAt?: string;
|
|
3371
3658
|
id?: string;
|
|
3372
3659
|
messageId?: string;
|
|
3373
3660
|
name?: string;
|
|
@@ -3376,6 +3663,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3376
3663
|
} | {
|
|
3377
3664
|
content: string;
|
|
3378
3665
|
role: import("..").MessageRole.Guide;
|
|
3666
|
+
createdAt?: string;
|
|
3379
3667
|
id?: string;
|
|
3380
3668
|
messageId?: string;
|
|
3381
3669
|
name?: string;
|
|
@@ -3384,6 +3672,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3384
3672
|
} | {
|
|
3385
3673
|
content: string;
|
|
3386
3674
|
role: import("..").MessageRole.HiddenAssistant;
|
|
3675
|
+
createdAt?: string;
|
|
3387
3676
|
id?: string;
|
|
3388
3677
|
messageId?: string;
|
|
3389
3678
|
name?: string;
|
|
@@ -3392,6 +3681,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3392
3681
|
} | {
|
|
3393
3682
|
content: string;
|
|
3394
3683
|
role: import("..").MessageRole.HiddenGuide;
|
|
3684
|
+
createdAt?: string;
|
|
3395
3685
|
id?: string;
|
|
3396
3686
|
messageId?: string;
|
|
3397
3687
|
name?: string;
|
|
@@ -3400,6 +3690,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3400
3690
|
} | {
|
|
3401
3691
|
content: string;
|
|
3402
3692
|
role: import("..").MessageRole.Hidden;
|
|
3693
|
+
createdAt?: string;
|
|
3403
3694
|
id?: string;
|
|
3404
3695
|
messageId?: string;
|
|
3405
3696
|
name?: string;
|
|
@@ -3408,6 +3699,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3408
3699
|
} | {
|
|
3409
3700
|
content: string;
|
|
3410
3701
|
role: import("..").MessageRole.HiddenSystem;
|
|
3702
|
+
createdAt?: string;
|
|
3411
3703
|
id?: string;
|
|
3412
3704
|
messageId?: string;
|
|
3413
3705
|
name?: string;
|
|
@@ -3416,6 +3708,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3416
3708
|
} | {
|
|
3417
3709
|
content: string;
|
|
3418
3710
|
role: import("..").MessageRole.HiddenUser;
|
|
3711
|
+
createdAt?: string;
|
|
3419
3712
|
id?: string;
|
|
3420
3713
|
messageId?: string;
|
|
3421
3714
|
name?: string;
|
|
@@ -3424,6 +3717,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3424
3717
|
} | {
|
|
3425
3718
|
content: string;
|
|
3426
3719
|
role: import("..").MessageRole.Info;
|
|
3720
|
+
createdAt?: string;
|
|
3427
3721
|
id?: string;
|
|
3428
3722
|
messageId?: string;
|
|
3429
3723
|
name?: string;
|
|
@@ -3432,6 +3726,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3432
3726
|
} | {
|
|
3433
3727
|
content: string;
|
|
3434
3728
|
role: import("..").MessageRole.Pause;
|
|
3729
|
+
createdAt?: string;
|
|
3435
3730
|
id?: string;
|
|
3436
3731
|
messageId?: string;
|
|
3437
3732
|
name?: string;
|
|
@@ -3440,6 +3735,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3440
3735
|
} | {
|
|
3441
3736
|
content: string;
|
|
3442
3737
|
role: import("..").MessageRole.Placeholder;
|
|
3738
|
+
createdAt?: string;
|
|
3443
3739
|
id?: string;
|
|
3444
3740
|
messageId?: string;
|
|
3445
3741
|
name?: string;
|
|
@@ -3449,6 +3745,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3449
3745
|
content: string[];
|
|
3450
3746
|
duration?: number;
|
|
3451
3747
|
role: import("..").MessageRole.Reasoning;
|
|
3748
|
+
createdAt?: string;
|
|
3452
3749
|
id?: string;
|
|
3453
3750
|
messageId?: string;
|
|
3454
3751
|
name?: string;
|
|
@@ -3457,6 +3754,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3457
3754
|
} | {
|
|
3458
3755
|
content: string;
|
|
3459
3756
|
role: import("..").MessageRole.System;
|
|
3757
|
+
createdAt?: string;
|
|
3460
3758
|
id?: string;
|
|
3461
3759
|
messageId?: string;
|
|
3462
3760
|
name?: string;
|
|
@@ -3465,6 +3763,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3465
3763
|
} | {
|
|
3466
3764
|
content: string;
|
|
3467
3765
|
role: import("..").MessageRole.TemplateAssistant;
|
|
3766
|
+
createdAt?: string;
|
|
3468
3767
|
id?: string;
|
|
3469
3768
|
messageId?: string;
|
|
3470
3769
|
name?: string;
|
|
@@ -3473,6 +3772,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3473
3772
|
} | {
|
|
3474
3773
|
content: string;
|
|
3475
3774
|
role: import("..").MessageRole.TemplateGuide;
|
|
3775
|
+
createdAt?: string;
|
|
3476
3776
|
id?: string;
|
|
3477
3777
|
messageId?: string;
|
|
3478
3778
|
name?: string;
|
|
@@ -3481,6 +3781,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3481
3781
|
} | {
|
|
3482
3782
|
content: string;
|
|
3483
3783
|
role: import("..").MessageRole.TemplateHidden;
|
|
3784
|
+
createdAt?: string;
|
|
3484
3785
|
id?: string;
|
|
3485
3786
|
messageId?: string;
|
|
3486
3787
|
name?: string;
|
|
@@ -3489,6 +3790,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3489
3790
|
} | {
|
|
3490
3791
|
content: string;
|
|
3491
3792
|
role: import("..").MessageRole.TemplateSystem;
|
|
3793
|
+
createdAt?: string;
|
|
3492
3794
|
id?: string;
|
|
3493
3795
|
messageId?: string;
|
|
3494
3796
|
name?: string;
|
|
@@ -3497,6 +3799,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3497
3799
|
} | {
|
|
3498
3800
|
content: string;
|
|
3499
3801
|
role: import("..").MessageRole.TemplateUser;
|
|
3802
|
+
createdAt?: string;
|
|
3500
3803
|
id?: string;
|
|
3501
3804
|
messageId?: string;
|
|
3502
3805
|
name?: string;
|
|
@@ -3508,6 +3811,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3508
3811
|
error?: string;
|
|
3509
3812
|
role: import("..").MessageRole.Tool;
|
|
3510
3813
|
toolCallId: string;
|
|
3814
|
+
createdAt?: string;
|
|
3511
3815
|
id?: string;
|
|
3512
3816
|
messageId?: string;
|
|
3513
3817
|
name?: string;
|
|
@@ -3519,6 +3823,8 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3519
3823
|
filename?: string;
|
|
3520
3824
|
id?: string;
|
|
3521
3825
|
mimeType: string;
|
|
3826
|
+
outputId?: string;
|
|
3827
|
+
size?: number;
|
|
3522
3828
|
type: import("..").MessageType.Binary;
|
|
3523
3829
|
url?: string;
|
|
3524
3830
|
} | {
|
|
@@ -3527,6 +3833,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3527
3833
|
})[];
|
|
3528
3834
|
property?: {
|
|
3529
3835
|
[x: string]: unknown;
|
|
3836
|
+
artifacts?: {
|
|
3837
|
+
name: string;
|
|
3838
|
+
outputId: string;
|
|
3839
|
+
size: number;
|
|
3840
|
+
type: string;
|
|
3841
|
+
previewUrl?: string;
|
|
3842
|
+
url?: string;
|
|
3843
|
+
}[];
|
|
3844
|
+
docSchema?: unknown;
|
|
3530
3845
|
extra?: {
|
|
3531
3846
|
[x: string]: unknown;
|
|
3532
3847
|
cite?: string | {
|
|
@@ -3543,6 +3858,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3543
3858
|
};
|
|
3544
3859
|
};
|
|
3545
3860
|
role: import("..").MessageRole.User;
|
|
3861
|
+
createdAt?: string;
|
|
3546
3862
|
id?: string;
|
|
3547
3863
|
messageId?: string;
|
|
3548
3864
|
name?: string;
|
|
@@ -3576,6 +3892,17 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3576
3892
|
content: ({
|
|
3577
3893
|
activityType: import("..").ActivityType;
|
|
3578
3894
|
content: {
|
|
3895
|
+
artifacts: {
|
|
3896
|
+
name: string;
|
|
3897
|
+
outputId: string;
|
|
3898
|
+
size: number;
|
|
3899
|
+
type: string;
|
|
3900
|
+
previewUrl?: string;
|
|
3901
|
+
url?: string;
|
|
3902
|
+
}[];
|
|
3903
|
+
runId: string;
|
|
3904
|
+
status: "complete" | "empty";
|
|
3905
|
+
} | {
|
|
3579
3906
|
nodes: Record<string, import("..").IFlowAgentNode>;
|
|
3580
3907
|
task_id: string;
|
|
3581
3908
|
task_name: string;
|
|
@@ -3593,7 +3920,34 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3593
3920
|
originFileUrl?: string;
|
|
3594
3921
|
url: string;
|
|
3595
3922
|
}[];
|
|
3923
|
+
property?: {
|
|
3924
|
+
[x: string]: unknown;
|
|
3925
|
+
artifacts?: {
|
|
3926
|
+
name: string;
|
|
3927
|
+
outputId: string;
|
|
3928
|
+
size: number;
|
|
3929
|
+
type: string;
|
|
3930
|
+
previewUrl?: string;
|
|
3931
|
+
url?: string;
|
|
3932
|
+
}[];
|
|
3933
|
+
docSchema?: unknown;
|
|
3934
|
+
extra?: {
|
|
3935
|
+
[x: string]: unknown;
|
|
3936
|
+
cite?: string | {
|
|
3937
|
+
data: {
|
|
3938
|
+
key: string;
|
|
3939
|
+
value: string;
|
|
3940
|
+
}[];
|
|
3941
|
+
title: string;
|
|
3942
|
+
type: string;
|
|
3943
|
+
};
|
|
3944
|
+
command?: string;
|
|
3945
|
+
context?: Array<Record<string, unknown>>;
|
|
3946
|
+
resources?: Array<Record<string, unknown>>;
|
|
3947
|
+
};
|
|
3948
|
+
};
|
|
3596
3949
|
role: import("..").MessageRole.Activity;
|
|
3950
|
+
createdAt?: string;
|
|
3597
3951
|
id?: string;
|
|
3598
3952
|
messageId?: string;
|
|
3599
3953
|
name?: string;
|
|
@@ -3603,6 +3957,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3603
3957
|
content?: string;
|
|
3604
3958
|
property?: {
|
|
3605
3959
|
[x: string]: unknown;
|
|
3960
|
+
artifacts?: {
|
|
3961
|
+
name: string;
|
|
3962
|
+
outputId: string;
|
|
3963
|
+
size: number;
|
|
3964
|
+
type: string;
|
|
3965
|
+
previewUrl?: string;
|
|
3966
|
+
url?: string;
|
|
3967
|
+
}[];
|
|
3968
|
+
docSchema?: unknown;
|
|
3606
3969
|
extra?: {
|
|
3607
3970
|
[x: string]: unknown;
|
|
3608
3971
|
cite?: string | {
|
|
@@ -3629,6 +3992,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3629
3992
|
id: string;
|
|
3630
3993
|
type: import("..").MessageType.Function;
|
|
3631
3994
|
}[];
|
|
3995
|
+
createdAt?: string;
|
|
3632
3996
|
id?: string;
|
|
3633
3997
|
messageId?: string;
|
|
3634
3998
|
name?: string;
|
|
@@ -3637,6 +4001,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
3637
4001
|
} | {
|
|
3638
4002
|
content: string;
|
|
3639
4003
|
role: import("..").MessageRole.Developer;
|
|
4004
|
+
createdAt?: string;
|
|
3640
4005
|
id?: string;
|
|
3641
4006
|
messageId?: string;
|
|
3642
4007
|
name?: string;
|
|
@@ -4267,6 +4632,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4267
4632
|
timestamp?: number;
|
|
4268
4633
|
};
|
|
4269
4634
|
role: import("..").MessageRole.Interrupt;
|
|
4635
|
+
createdAt?: string;
|
|
4270
4636
|
id?: string;
|
|
4271
4637
|
messageId?: string;
|
|
4272
4638
|
name?: string;
|
|
@@ -4275,6 +4641,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4275
4641
|
} | {
|
|
4276
4642
|
content: string;
|
|
4277
4643
|
role: import("..").MessageRole.Guide;
|
|
4644
|
+
createdAt?: string;
|
|
4278
4645
|
id?: string;
|
|
4279
4646
|
messageId?: string;
|
|
4280
4647
|
name?: string;
|
|
@@ -4283,6 +4650,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4283
4650
|
} | {
|
|
4284
4651
|
content: string;
|
|
4285
4652
|
role: import("..").MessageRole.HiddenAssistant;
|
|
4653
|
+
createdAt?: string;
|
|
4286
4654
|
id?: string;
|
|
4287
4655
|
messageId?: string;
|
|
4288
4656
|
name?: string;
|
|
@@ -4291,6 +4659,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4291
4659
|
} | {
|
|
4292
4660
|
content: string;
|
|
4293
4661
|
role: import("..").MessageRole.HiddenGuide;
|
|
4662
|
+
createdAt?: string;
|
|
4294
4663
|
id?: string;
|
|
4295
4664
|
messageId?: string;
|
|
4296
4665
|
name?: string;
|
|
@@ -4299,6 +4668,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4299
4668
|
} | {
|
|
4300
4669
|
content: string;
|
|
4301
4670
|
role: import("..").MessageRole.Hidden;
|
|
4671
|
+
createdAt?: string;
|
|
4302
4672
|
id?: string;
|
|
4303
4673
|
messageId?: string;
|
|
4304
4674
|
name?: string;
|
|
@@ -4307,6 +4677,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4307
4677
|
} | {
|
|
4308
4678
|
content: string;
|
|
4309
4679
|
role: import("..").MessageRole.HiddenSystem;
|
|
4680
|
+
createdAt?: string;
|
|
4310
4681
|
id?: string;
|
|
4311
4682
|
messageId?: string;
|
|
4312
4683
|
name?: string;
|
|
@@ -4315,6 +4686,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4315
4686
|
} | {
|
|
4316
4687
|
content: string;
|
|
4317
4688
|
role: import("..").MessageRole.HiddenUser;
|
|
4689
|
+
createdAt?: string;
|
|
4318
4690
|
id?: string;
|
|
4319
4691
|
messageId?: string;
|
|
4320
4692
|
name?: string;
|
|
@@ -4323,6 +4695,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4323
4695
|
} | {
|
|
4324
4696
|
content: string;
|
|
4325
4697
|
role: import("..").MessageRole.Info;
|
|
4698
|
+
createdAt?: string;
|
|
4326
4699
|
id?: string;
|
|
4327
4700
|
messageId?: string;
|
|
4328
4701
|
name?: string;
|
|
@@ -4331,6 +4704,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4331
4704
|
} | {
|
|
4332
4705
|
content: string;
|
|
4333
4706
|
role: import("..").MessageRole.Pause;
|
|
4707
|
+
createdAt?: string;
|
|
4334
4708
|
id?: string;
|
|
4335
4709
|
messageId?: string;
|
|
4336
4710
|
name?: string;
|
|
@@ -4339,6 +4713,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4339
4713
|
} | {
|
|
4340
4714
|
content: string;
|
|
4341
4715
|
role: import("..").MessageRole.Placeholder;
|
|
4716
|
+
createdAt?: string;
|
|
4342
4717
|
id?: string;
|
|
4343
4718
|
messageId?: string;
|
|
4344
4719
|
name?: string;
|
|
@@ -4348,6 +4723,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4348
4723
|
content: string[];
|
|
4349
4724
|
duration?: number;
|
|
4350
4725
|
role: import("..").MessageRole.Reasoning;
|
|
4726
|
+
createdAt?: string;
|
|
4351
4727
|
id?: string;
|
|
4352
4728
|
messageId?: string;
|
|
4353
4729
|
name?: string;
|
|
@@ -4356,6 +4732,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4356
4732
|
} | {
|
|
4357
4733
|
content: string;
|
|
4358
4734
|
role: import("..").MessageRole.System;
|
|
4735
|
+
createdAt?: string;
|
|
4359
4736
|
id?: string;
|
|
4360
4737
|
messageId?: string;
|
|
4361
4738
|
name?: string;
|
|
@@ -4364,6 +4741,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4364
4741
|
} | {
|
|
4365
4742
|
content: string;
|
|
4366
4743
|
role: import("..").MessageRole.TemplateAssistant;
|
|
4744
|
+
createdAt?: string;
|
|
4367
4745
|
id?: string;
|
|
4368
4746
|
messageId?: string;
|
|
4369
4747
|
name?: string;
|
|
@@ -4372,6 +4750,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4372
4750
|
} | {
|
|
4373
4751
|
content: string;
|
|
4374
4752
|
role: import("..").MessageRole.TemplateGuide;
|
|
4753
|
+
createdAt?: string;
|
|
4375
4754
|
id?: string;
|
|
4376
4755
|
messageId?: string;
|
|
4377
4756
|
name?: string;
|
|
@@ -4380,6 +4759,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4380
4759
|
} | {
|
|
4381
4760
|
content: string;
|
|
4382
4761
|
role: import("..").MessageRole.TemplateHidden;
|
|
4762
|
+
createdAt?: string;
|
|
4383
4763
|
id?: string;
|
|
4384
4764
|
messageId?: string;
|
|
4385
4765
|
name?: string;
|
|
@@ -4388,6 +4768,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4388
4768
|
} | {
|
|
4389
4769
|
content: string;
|
|
4390
4770
|
role: import("..").MessageRole.TemplateSystem;
|
|
4771
|
+
createdAt?: string;
|
|
4391
4772
|
id?: string;
|
|
4392
4773
|
messageId?: string;
|
|
4393
4774
|
name?: string;
|
|
@@ -4396,6 +4777,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4396
4777
|
} | {
|
|
4397
4778
|
content: string;
|
|
4398
4779
|
role: import("..").MessageRole.TemplateUser;
|
|
4780
|
+
createdAt?: string;
|
|
4399
4781
|
id?: string;
|
|
4400
4782
|
messageId?: string;
|
|
4401
4783
|
name?: string;
|
|
@@ -4407,6 +4789,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4407
4789
|
error?: string;
|
|
4408
4790
|
role: import("..").MessageRole.Tool;
|
|
4409
4791
|
toolCallId: string;
|
|
4792
|
+
createdAt?: string;
|
|
4410
4793
|
id?: string;
|
|
4411
4794
|
messageId?: string;
|
|
4412
4795
|
name?: string;
|
|
@@ -4418,6 +4801,8 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4418
4801
|
filename?: string;
|
|
4419
4802
|
id?: string;
|
|
4420
4803
|
mimeType: string;
|
|
4804
|
+
outputId?: string;
|
|
4805
|
+
size?: number;
|
|
4421
4806
|
type: import("..").MessageType.Binary;
|
|
4422
4807
|
url?: string;
|
|
4423
4808
|
} | {
|
|
@@ -4426,6 +4811,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4426
4811
|
})[];
|
|
4427
4812
|
property?: {
|
|
4428
4813
|
[x: string]: unknown;
|
|
4814
|
+
artifacts?: {
|
|
4815
|
+
name: string;
|
|
4816
|
+
outputId: string;
|
|
4817
|
+
size: number;
|
|
4818
|
+
type: string;
|
|
4819
|
+
previewUrl?: string;
|
|
4820
|
+
url?: string;
|
|
4821
|
+
}[];
|
|
4822
|
+
docSchema?: unknown;
|
|
4429
4823
|
extra?: {
|
|
4430
4824
|
[x: string]: unknown;
|
|
4431
4825
|
cite?: string | {
|
|
@@ -4442,6 +4836,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4442
4836
|
};
|
|
4443
4837
|
};
|
|
4444
4838
|
role: import("..").MessageRole.User;
|
|
4839
|
+
createdAt?: string;
|
|
4445
4840
|
id?: string;
|
|
4446
4841
|
messageId?: string;
|
|
4447
4842
|
name?: string;
|
|
@@ -4453,6 +4848,17 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4453
4848
|
value: string | ({
|
|
4454
4849
|
activityType: import("..").ActivityType;
|
|
4455
4850
|
content: {
|
|
4851
|
+
artifacts: {
|
|
4852
|
+
name: string;
|
|
4853
|
+
outputId: string;
|
|
4854
|
+
size: number;
|
|
4855
|
+
type: string;
|
|
4856
|
+
previewUrl?: string;
|
|
4857
|
+
url?: string;
|
|
4858
|
+
}[];
|
|
4859
|
+
runId: string;
|
|
4860
|
+
status: "complete" | "empty";
|
|
4861
|
+
} | {
|
|
4456
4862
|
nodes: Record<string, import("..").IFlowAgentNode>;
|
|
4457
4863
|
task_id: string;
|
|
4458
4864
|
task_name: string;
|
|
@@ -4470,7 +4876,34 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4470
4876
|
originFileUrl?: string;
|
|
4471
4877
|
url: string;
|
|
4472
4878
|
}[];
|
|
4879
|
+
property?: {
|
|
4880
|
+
[x: string]: unknown;
|
|
4881
|
+
artifacts?: {
|
|
4882
|
+
name: string;
|
|
4883
|
+
outputId: string;
|
|
4884
|
+
size: number;
|
|
4885
|
+
type: string;
|
|
4886
|
+
previewUrl?: string;
|
|
4887
|
+
url?: string;
|
|
4888
|
+
}[];
|
|
4889
|
+
docSchema?: unknown;
|
|
4890
|
+
extra?: {
|
|
4891
|
+
[x: string]: unknown;
|
|
4892
|
+
cite?: string | {
|
|
4893
|
+
data: {
|
|
4894
|
+
key: string;
|
|
4895
|
+
value: string;
|
|
4896
|
+
}[];
|
|
4897
|
+
title: string;
|
|
4898
|
+
type: string;
|
|
4899
|
+
};
|
|
4900
|
+
command?: string;
|
|
4901
|
+
context?: Array<Record<string, unknown>>;
|
|
4902
|
+
resources?: Array<Record<string, unknown>>;
|
|
4903
|
+
};
|
|
4904
|
+
};
|
|
4473
4905
|
role: import("..").MessageRole.Activity;
|
|
4906
|
+
createdAt?: string;
|
|
4474
4907
|
id?: string;
|
|
4475
4908
|
messageId?: string;
|
|
4476
4909
|
name?: string;
|
|
@@ -4480,6 +4913,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4480
4913
|
content?: string;
|
|
4481
4914
|
property?: {
|
|
4482
4915
|
[x: string]: unknown;
|
|
4916
|
+
artifacts?: {
|
|
4917
|
+
name: string;
|
|
4918
|
+
outputId: string;
|
|
4919
|
+
size: number;
|
|
4920
|
+
type: string;
|
|
4921
|
+
previewUrl?: string;
|
|
4922
|
+
url?: string;
|
|
4923
|
+
}[];
|
|
4924
|
+
docSchema?: unknown;
|
|
4483
4925
|
extra?: {
|
|
4484
4926
|
[x: string]: unknown;
|
|
4485
4927
|
cite?: string | {
|
|
@@ -4506,6 +4948,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4506
4948
|
id: string;
|
|
4507
4949
|
type: import("..").MessageType.Function;
|
|
4508
4950
|
}[];
|
|
4951
|
+
createdAt?: string;
|
|
4509
4952
|
id?: string;
|
|
4510
4953
|
messageId?: string;
|
|
4511
4954
|
name?: string;
|
|
@@ -4514,6 +4957,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
4514
4957
|
} | {
|
|
4515
4958
|
content: string;
|
|
4516
4959
|
role: import("..").MessageRole.Developer;
|
|
4960
|
+
createdAt?: string;
|
|
4517
4961
|
id?: string;
|
|
4518
4962
|
messageId?: string;
|
|
4519
4963
|
name?: string;
|
|
@@ -5144,6 +5588,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5144
5588
|
timestamp?: number;
|
|
5145
5589
|
};
|
|
5146
5590
|
role: import("..").MessageRole.Interrupt;
|
|
5591
|
+
createdAt?: string;
|
|
5147
5592
|
id?: string;
|
|
5148
5593
|
messageId?: string;
|
|
5149
5594
|
name?: string;
|
|
@@ -5152,6 +5597,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5152
5597
|
} | {
|
|
5153
5598
|
content: string;
|
|
5154
5599
|
role: import("..").MessageRole.Guide;
|
|
5600
|
+
createdAt?: string;
|
|
5155
5601
|
id?: string;
|
|
5156
5602
|
messageId?: string;
|
|
5157
5603
|
name?: string;
|
|
@@ -5160,6 +5606,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5160
5606
|
} | {
|
|
5161
5607
|
content: string;
|
|
5162
5608
|
role: import("..").MessageRole.HiddenAssistant;
|
|
5609
|
+
createdAt?: string;
|
|
5163
5610
|
id?: string;
|
|
5164
5611
|
messageId?: string;
|
|
5165
5612
|
name?: string;
|
|
@@ -5168,6 +5615,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5168
5615
|
} | {
|
|
5169
5616
|
content: string;
|
|
5170
5617
|
role: import("..").MessageRole.HiddenGuide;
|
|
5618
|
+
createdAt?: string;
|
|
5171
5619
|
id?: string;
|
|
5172
5620
|
messageId?: string;
|
|
5173
5621
|
name?: string;
|
|
@@ -5176,6 +5624,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5176
5624
|
} | {
|
|
5177
5625
|
content: string;
|
|
5178
5626
|
role: import("..").MessageRole.Hidden;
|
|
5627
|
+
createdAt?: string;
|
|
5179
5628
|
id?: string;
|
|
5180
5629
|
messageId?: string;
|
|
5181
5630
|
name?: string;
|
|
@@ -5184,6 +5633,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5184
5633
|
} | {
|
|
5185
5634
|
content: string;
|
|
5186
5635
|
role: import("..").MessageRole.HiddenSystem;
|
|
5636
|
+
createdAt?: string;
|
|
5187
5637
|
id?: string;
|
|
5188
5638
|
messageId?: string;
|
|
5189
5639
|
name?: string;
|
|
@@ -5192,6 +5642,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5192
5642
|
} | {
|
|
5193
5643
|
content: string;
|
|
5194
5644
|
role: import("..").MessageRole.HiddenUser;
|
|
5645
|
+
createdAt?: string;
|
|
5195
5646
|
id?: string;
|
|
5196
5647
|
messageId?: string;
|
|
5197
5648
|
name?: string;
|
|
@@ -5200,6 +5651,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5200
5651
|
} | {
|
|
5201
5652
|
content: string;
|
|
5202
5653
|
role: import("..").MessageRole.Info;
|
|
5654
|
+
createdAt?: string;
|
|
5203
5655
|
id?: string;
|
|
5204
5656
|
messageId?: string;
|
|
5205
5657
|
name?: string;
|
|
@@ -5208,6 +5660,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5208
5660
|
} | {
|
|
5209
5661
|
content: string;
|
|
5210
5662
|
role: import("..").MessageRole.Pause;
|
|
5663
|
+
createdAt?: string;
|
|
5211
5664
|
id?: string;
|
|
5212
5665
|
messageId?: string;
|
|
5213
5666
|
name?: string;
|
|
@@ -5216,6 +5669,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5216
5669
|
} | {
|
|
5217
5670
|
content: string;
|
|
5218
5671
|
role: import("..").MessageRole.Placeholder;
|
|
5672
|
+
createdAt?: string;
|
|
5219
5673
|
id?: string;
|
|
5220
5674
|
messageId?: string;
|
|
5221
5675
|
name?: string;
|
|
@@ -5225,6 +5679,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5225
5679
|
content: string[];
|
|
5226
5680
|
duration?: number;
|
|
5227
5681
|
role: import("..").MessageRole.Reasoning;
|
|
5682
|
+
createdAt?: string;
|
|
5228
5683
|
id?: string;
|
|
5229
5684
|
messageId?: string;
|
|
5230
5685
|
name?: string;
|
|
@@ -5233,6 +5688,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5233
5688
|
} | {
|
|
5234
5689
|
content: string;
|
|
5235
5690
|
role: import("..").MessageRole.System;
|
|
5691
|
+
createdAt?: string;
|
|
5236
5692
|
id?: string;
|
|
5237
5693
|
messageId?: string;
|
|
5238
5694
|
name?: string;
|
|
@@ -5241,6 +5697,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5241
5697
|
} | {
|
|
5242
5698
|
content: string;
|
|
5243
5699
|
role: import("..").MessageRole.TemplateAssistant;
|
|
5700
|
+
createdAt?: string;
|
|
5244
5701
|
id?: string;
|
|
5245
5702
|
messageId?: string;
|
|
5246
5703
|
name?: string;
|
|
@@ -5249,6 +5706,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5249
5706
|
} | {
|
|
5250
5707
|
content: string;
|
|
5251
5708
|
role: import("..").MessageRole.TemplateGuide;
|
|
5709
|
+
createdAt?: string;
|
|
5252
5710
|
id?: string;
|
|
5253
5711
|
messageId?: string;
|
|
5254
5712
|
name?: string;
|
|
@@ -5257,6 +5715,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5257
5715
|
} | {
|
|
5258
5716
|
content: string;
|
|
5259
5717
|
role: import("..").MessageRole.TemplateHidden;
|
|
5718
|
+
createdAt?: string;
|
|
5260
5719
|
id?: string;
|
|
5261
5720
|
messageId?: string;
|
|
5262
5721
|
name?: string;
|
|
@@ -5265,6 +5724,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5265
5724
|
} | {
|
|
5266
5725
|
content: string;
|
|
5267
5726
|
role: import("..").MessageRole.TemplateSystem;
|
|
5727
|
+
createdAt?: string;
|
|
5268
5728
|
id?: string;
|
|
5269
5729
|
messageId?: string;
|
|
5270
5730
|
name?: string;
|
|
@@ -5273,6 +5733,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5273
5733
|
} | {
|
|
5274
5734
|
content: string;
|
|
5275
5735
|
role: import("..").MessageRole.TemplateUser;
|
|
5736
|
+
createdAt?: string;
|
|
5276
5737
|
id?: string;
|
|
5277
5738
|
messageId?: string;
|
|
5278
5739
|
name?: string;
|
|
@@ -5284,6 +5745,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5284
5745
|
error?: string;
|
|
5285
5746
|
role: import("..").MessageRole.Tool;
|
|
5286
5747
|
toolCallId: string;
|
|
5748
|
+
createdAt?: string;
|
|
5287
5749
|
id?: string;
|
|
5288
5750
|
messageId?: string;
|
|
5289
5751
|
name?: string;
|
|
@@ -5295,6 +5757,8 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5295
5757
|
filename?: string;
|
|
5296
5758
|
id?: string;
|
|
5297
5759
|
mimeType: string;
|
|
5760
|
+
outputId?: string;
|
|
5761
|
+
size?: number;
|
|
5298
5762
|
type: import("..").MessageType.Binary;
|
|
5299
5763
|
url?: string;
|
|
5300
5764
|
} | {
|
|
@@ -5303,6 +5767,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5303
5767
|
})[];
|
|
5304
5768
|
property?: {
|
|
5305
5769
|
[x: string]: unknown;
|
|
5770
|
+
artifacts?: {
|
|
5771
|
+
name: string;
|
|
5772
|
+
outputId: string;
|
|
5773
|
+
size: number;
|
|
5774
|
+
type: string;
|
|
5775
|
+
previewUrl?: string;
|
|
5776
|
+
url?: string;
|
|
5777
|
+
}[];
|
|
5778
|
+
docSchema?: unknown;
|
|
5306
5779
|
extra?: {
|
|
5307
5780
|
[x: string]: unknown;
|
|
5308
5781
|
cite?: string | {
|
|
@@ -5319,6 +5792,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5319
5792
|
};
|
|
5320
5793
|
};
|
|
5321
5794
|
role: import("..").MessageRole.User;
|
|
5795
|
+
createdAt?: string;
|
|
5322
5796
|
id?: string;
|
|
5323
5797
|
messageId?: string;
|
|
5324
5798
|
name?: string;
|
|
@@ -5351,6 +5825,17 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5351
5825
|
content: ({
|
|
5352
5826
|
activityType: import("..").ActivityType;
|
|
5353
5827
|
content: {
|
|
5828
|
+
artifacts: {
|
|
5829
|
+
name: string;
|
|
5830
|
+
outputId: string;
|
|
5831
|
+
size: number;
|
|
5832
|
+
type: string;
|
|
5833
|
+
previewUrl?: string;
|
|
5834
|
+
url?: string;
|
|
5835
|
+
}[];
|
|
5836
|
+
runId: string;
|
|
5837
|
+
status: "complete" | "empty";
|
|
5838
|
+
} | {
|
|
5354
5839
|
nodes: Record<string, import("..").IFlowAgentNode>;
|
|
5355
5840
|
task_id: string;
|
|
5356
5841
|
task_name: string;
|
|
@@ -5368,7 +5853,34 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5368
5853
|
originFileUrl?: string;
|
|
5369
5854
|
url: string;
|
|
5370
5855
|
}[];
|
|
5856
|
+
property?: {
|
|
5857
|
+
[x: string]: unknown;
|
|
5858
|
+
artifacts?: {
|
|
5859
|
+
name: string;
|
|
5860
|
+
outputId: string;
|
|
5861
|
+
size: number;
|
|
5862
|
+
type: string;
|
|
5863
|
+
previewUrl?: string;
|
|
5864
|
+
url?: string;
|
|
5865
|
+
}[];
|
|
5866
|
+
docSchema?: unknown;
|
|
5867
|
+
extra?: {
|
|
5868
|
+
[x: string]: unknown;
|
|
5869
|
+
cite?: string | {
|
|
5870
|
+
data: {
|
|
5871
|
+
key: string;
|
|
5872
|
+
value: string;
|
|
5873
|
+
}[];
|
|
5874
|
+
title: string;
|
|
5875
|
+
type: string;
|
|
5876
|
+
};
|
|
5877
|
+
command?: string;
|
|
5878
|
+
context?: Array<Record<string, unknown>>;
|
|
5879
|
+
resources?: Array<Record<string, unknown>>;
|
|
5880
|
+
};
|
|
5881
|
+
};
|
|
5371
5882
|
role: import("..").MessageRole.Activity;
|
|
5883
|
+
createdAt?: string;
|
|
5372
5884
|
id?: string;
|
|
5373
5885
|
messageId?: string;
|
|
5374
5886
|
name?: string;
|
|
@@ -5378,6 +5890,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5378
5890
|
content?: string;
|
|
5379
5891
|
property?: {
|
|
5380
5892
|
[x: string]: unknown;
|
|
5893
|
+
artifacts?: {
|
|
5894
|
+
name: string;
|
|
5895
|
+
outputId: string;
|
|
5896
|
+
size: number;
|
|
5897
|
+
type: string;
|
|
5898
|
+
previewUrl?: string;
|
|
5899
|
+
url?: string;
|
|
5900
|
+
}[];
|
|
5901
|
+
docSchema?: unknown;
|
|
5381
5902
|
extra?: {
|
|
5382
5903
|
[x: string]: unknown;
|
|
5383
5904
|
cite?: string | {
|
|
@@ -5404,6 +5925,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5404
5925
|
id: string;
|
|
5405
5926
|
type: import("..").MessageType.Function;
|
|
5406
5927
|
}[];
|
|
5928
|
+
createdAt?: string;
|
|
5407
5929
|
id?: string;
|
|
5408
5930
|
messageId?: string;
|
|
5409
5931
|
name?: string;
|
|
@@ -5412,6 +5934,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
5412
5934
|
} | {
|
|
5413
5935
|
content: string;
|
|
5414
5936
|
role: import("..").MessageRole.Developer;
|
|
5937
|
+
createdAt?: string;
|
|
5415
5938
|
id?: string;
|
|
5416
5939
|
messageId?: string;
|
|
5417
5940
|
name?: string;
|
|
@@ -6042,6 +6565,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6042
6565
|
timestamp?: number;
|
|
6043
6566
|
};
|
|
6044
6567
|
role: import("..").MessageRole.Interrupt;
|
|
6568
|
+
createdAt?: string;
|
|
6045
6569
|
id?: string;
|
|
6046
6570
|
messageId?: string;
|
|
6047
6571
|
name?: string;
|
|
@@ -6050,6 +6574,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6050
6574
|
} | {
|
|
6051
6575
|
content: string;
|
|
6052
6576
|
role: import("..").MessageRole.Guide;
|
|
6577
|
+
createdAt?: string;
|
|
6053
6578
|
id?: string;
|
|
6054
6579
|
messageId?: string;
|
|
6055
6580
|
name?: string;
|
|
@@ -6058,6 +6583,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6058
6583
|
} | {
|
|
6059
6584
|
content: string;
|
|
6060
6585
|
role: import("..").MessageRole.HiddenAssistant;
|
|
6586
|
+
createdAt?: string;
|
|
6061
6587
|
id?: string;
|
|
6062
6588
|
messageId?: string;
|
|
6063
6589
|
name?: string;
|
|
@@ -6066,6 +6592,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6066
6592
|
} | {
|
|
6067
6593
|
content: string;
|
|
6068
6594
|
role: import("..").MessageRole.HiddenGuide;
|
|
6595
|
+
createdAt?: string;
|
|
6069
6596
|
id?: string;
|
|
6070
6597
|
messageId?: string;
|
|
6071
6598
|
name?: string;
|
|
@@ -6074,6 +6601,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6074
6601
|
} | {
|
|
6075
6602
|
content: string;
|
|
6076
6603
|
role: import("..").MessageRole.Hidden;
|
|
6604
|
+
createdAt?: string;
|
|
6077
6605
|
id?: string;
|
|
6078
6606
|
messageId?: string;
|
|
6079
6607
|
name?: string;
|
|
@@ -6082,6 +6610,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6082
6610
|
} | {
|
|
6083
6611
|
content: string;
|
|
6084
6612
|
role: import("..").MessageRole.HiddenSystem;
|
|
6613
|
+
createdAt?: string;
|
|
6085
6614
|
id?: string;
|
|
6086
6615
|
messageId?: string;
|
|
6087
6616
|
name?: string;
|
|
@@ -6090,6 +6619,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6090
6619
|
} | {
|
|
6091
6620
|
content: string;
|
|
6092
6621
|
role: import("..").MessageRole.HiddenUser;
|
|
6622
|
+
createdAt?: string;
|
|
6093
6623
|
id?: string;
|
|
6094
6624
|
messageId?: string;
|
|
6095
6625
|
name?: string;
|
|
@@ -6098,6 +6628,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6098
6628
|
} | {
|
|
6099
6629
|
content: string;
|
|
6100
6630
|
role: import("..").MessageRole.Info;
|
|
6631
|
+
createdAt?: string;
|
|
6101
6632
|
id?: string;
|
|
6102
6633
|
messageId?: string;
|
|
6103
6634
|
name?: string;
|
|
@@ -6106,6 +6637,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6106
6637
|
} | {
|
|
6107
6638
|
content: string;
|
|
6108
6639
|
role: import("..").MessageRole.Pause;
|
|
6640
|
+
createdAt?: string;
|
|
6109
6641
|
id?: string;
|
|
6110
6642
|
messageId?: string;
|
|
6111
6643
|
name?: string;
|
|
@@ -6114,6 +6646,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6114
6646
|
} | {
|
|
6115
6647
|
content: string;
|
|
6116
6648
|
role: import("..").MessageRole.Placeholder;
|
|
6649
|
+
createdAt?: string;
|
|
6117
6650
|
id?: string;
|
|
6118
6651
|
messageId?: string;
|
|
6119
6652
|
name?: string;
|
|
@@ -6123,6 +6656,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6123
6656
|
content: string[];
|
|
6124
6657
|
duration?: number;
|
|
6125
6658
|
role: import("..").MessageRole.Reasoning;
|
|
6659
|
+
createdAt?: string;
|
|
6126
6660
|
id?: string;
|
|
6127
6661
|
messageId?: string;
|
|
6128
6662
|
name?: string;
|
|
@@ -6131,6 +6665,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6131
6665
|
} | {
|
|
6132
6666
|
content: string;
|
|
6133
6667
|
role: import("..").MessageRole.System;
|
|
6668
|
+
createdAt?: string;
|
|
6134
6669
|
id?: string;
|
|
6135
6670
|
messageId?: string;
|
|
6136
6671
|
name?: string;
|
|
@@ -6139,6 +6674,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6139
6674
|
} | {
|
|
6140
6675
|
content: string;
|
|
6141
6676
|
role: import("..").MessageRole.TemplateAssistant;
|
|
6677
|
+
createdAt?: string;
|
|
6142
6678
|
id?: string;
|
|
6143
6679
|
messageId?: string;
|
|
6144
6680
|
name?: string;
|
|
@@ -6147,6 +6683,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6147
6683
|
} | {
|
|
6148
6684
|
content: string;
|
|
6149
6685
|
role: import("..").MessageRole.TemplateGuide;
|
|
6686
|
+
createdAt?: string;
|
|
6150
6687
|
id?: string;
|
|
6151
6688
|
messageId?: string;
|
|
6152
6689
|
name?: string;
|
|
@@ -6155,6 +6692,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6155
6692
|
} | {
|
|
6156
6693
|
content: string;
|
|
6157
6694
|
role: import("..").MessageRole.TemplateHidden;
|
|
6695
|
+
createdAt?: string;
|
|
6158
6696
|
id?: string;
|
|
6159
6697
|
messageId?: string;
|
|
6160
6698
|
name?: string;
|
|
@@ -6163,6 +6701,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6163
6701
|
} | {
|
|
6164
6702
|
content: string;
|
|
6165
6703
|
role: import("..").MessageRole.TemplateSystem;
|
|
6704
|
+
createdAt?: string;
|
|
6166
6705
|
id?: string;
|
|
6167
6706
|
messageId?: string;
|
|
6168
6707
|
name?: string;
|
|
@@ -6171,6 +6710,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6171
6710
|
} | {
|
|
6172
6711
|
content: string;
|
|
6173
6712
|
role: import("..").MessageRole.TemplateUser;
|
|
6713
|
+
createdAt?: string;
|
|
6174
6714
|
id?: string;
|
|
6175
6715
|
messageId?: string;
|
|
6176
6716
|
name?: string;
|
|
@@ -6182,6 +6722,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6182
6722
|
error?: string;
|
|
6183
6723
|
role: import("..").MessageRole.Tool;
|
|
6184
6724
|
toolCallId: string;
|
|
6725
|
+
createdAt?: string;
|
|
6185
6726
|
id?: string;
|
|
6186
6727
|
messageId?: string;
|
|
6187
6728
|
name?: string;
|
|
@@ -6193,6 +6734,8 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6193
6734
|
filename?: string;
|
|
6194
6735
|
id?: string;
|
|
6195
6736
|
mimeType: string;
|
|
6737
|
+
outputId?: string;
|
|
6738
|
+
size?: number;
|
|
6196
6739
|
type: import("..").MessageType.Binary;
|
|
6197
6740
|
url?: string;
|
|
6198
6741
|
} | {
|
|
@@ -6201,6 +6744,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6201
6744
|
})[];
|
|
6202
6745
|
property?: {
|
|
6203
6746
|
[x: string]: unknown;
|
|
6747
|
+
artifacts?: {
|
|
6748
|
+
name: string;
|
|
6749
|
+
outputId: string;
|
|
6750
|
+
size: number;
|
|
6751
|
+
type: string;
|
|
6752
|
+
previewUrl?: string;
|
|
6753
|
+
url?: string;
|
|
6754
|
+
}[];
|
|
6755
|
+
docSchema?: unknown;
|
|
6204
6756
|
extra?: {
|
|
6205
6757
|
[x: string]: unknown;
|
|
6206
6758
|
cite?: string | {
|
|
@@ -6217,6 +6769,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6217
6769
|
};
|
|
6218
6770
|
};
|
|
6219
6771
|
role: import("..").MessageRole.User;
|
|
6772
|
+
createdAt?: string;
|
|
6220
6773
|
id?: string;
|
|
6221
6774
|
messageId?: string;
|
|
6222
6775
|
name?: string;
|
|
@@ -6228,6 +6781,17 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6228
6781
|
value: string | ({
|
|
6229
6782
|
activityType: import("..").ActivityType;
|
|
6230
6783
|
content: {
|
|
6784
|
+
artifacts: {
|
|
6785
|
+
name: string;
|
|
6786
|
+
outputId: string;
|
|
6787
|
+
size: number;
|
|
6788
|
+
type: string;
|
|
6789
|
+
previewUrl?: string;
|
|
6790
|
+
url?: string;
|
|
6791
|
+
}[];
|
|
6792
|
+
runId: string;
|
|
6793
|
+
status: "complete" | "empty";
|
|
6794
|
+
} | {
|
|
6231
6795
|
nodes: Record<string, import("..").IFlowAgentNode>;
|
|
6232
6796
|
task_id: string;
|
|
6233
6797
|
task_name: string;
|
|
@@ -6245,7 +6809,34 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6245
6809
|
originFileUrl?: string;
|
|
6246
6810
|
url: string;
|
|
6247
6811
|
}[];
|
|
6812
|
+
property?: {
|
|
6813
|
+
[x: string]: unknown;
|
|
6814
|
+
artifacts?: {
|
|
6815
|
+
name: string;
|
|
6816
|
+
outputId: string;
|
|
6817
|
+
size: number;
|
|
6818
|
+
type: string;
|
|
6819
|
+
previewUrl?: string;
|
|
6820
|
+
url?: string;
|
|
6821
|
+
}[];
|
|
6822
|
+
docSchema?: unknown;
|
|
6823
|
+
extra?: {
|
|
6824
|
+
[x: string]: unknown;
|
|
6825
|
+
cite?: string | {
|
|
6826
|
+
data: {
|
|
6827
|
+
key: string;
|
|
6828
|
+
value: string;
|
|
6829
|
+
}[];
|
|
6830
|
+
title: string;
|
|
6831
|
+
type: string;
|
|
6832
|
+
};
|
|
6833
|
+
command?: string;
|
|
6834
|
+
context?: Array<Record<string, unknown>>;
|
|
6835
|
+
resources?: Array<Record<string, unknown>>;
|
|
6836
|
+
};
|
|
6837
|
+
};
|
|
6248
6838
|
role: import("..").MessageRole.Activity;
|
|
6839
|
+
createdAt?: string;
|
|
6249
6840
|
id?: string;
|
|
6250
6841
|
messageId?: string;
|
|
6251
6842
|
name?: string;
|
|
@@ -6255,6 +6846,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6255
6846
|
content?: string;
|
|
6256
6847
|
property?: {
|
|
6257
6848
|
[x: string]: unknown;
|
|
6849
|
+
artifacts?: {
|
|
6850
|
+
name: string;
|
|
6851
|
+
outputId: string;
|
|
6852
|
+
size: number;
|
|
6853
|
+
type: string;
|
|
6854
|
+
previewUrl?: string;
|
|
6855
|
+
url?: string;
|
|
6856
|
+
}[];
|
|
6857
|
+
docSchema?: unknown;
|
|
6258
6858
|
extra?: {
|
|
6259
6859
|
[x: string]: unknown;
|
|
6260
6860
|
cite?: string | {
|
|
@@ -6281,6 +6881,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6281
6881
|
id: string;
|
|
6282
6882
|
type: import("..").MessageType.Function;
|
|
6283
6883
|
}[];
|
|
6884
|
+
createdAt?: string;
|
|
6284
6885
|
id?: string;
|
|
6285
6886
|
messageId?: string;
|
|
6286
6887
|
name?: string;
|
|
@@ -6289,6 +6890,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6289
6890
|
} | {
|
|
6290
6891
|
content: string;
|
|
6291
6892
|
role: import("..").MessageRole.Developer;
|
|
6893
|
+
createdAt?: string;
|
|
6292
6894
|
id?: string;
|
|
6293
6895
|
messageId?: string;
|
|
6294
6896
|
name?: string;
|
|
@@ -6919,6 +7521,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6919
7521
|
timestamp?: number;
|
|
6920
7522
|
};
|
|
6921
7523
|
role: import("..").MessageRole.Interrupt;
|
|
7524
|
+
createdAt?: string;
|
|
6922
7525
|
id?: string;
|
|
6923
7526
|
messageId?: string;
|
|
6924
7527
|
name?: string;
|
|
@@ -6927,6 +7530,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6927
7530
|
} | {
|
|
6928
7531
|
content: string;
|
|
6929
7532
|
role: import("..").MessageRole.Guide;
|
|
7533
|
+
createdAt?: string;
|
|
6930
7534
|
id?: string;
|
|
6931
7535
|
messageId?: string;
|
|
6932
7536
|
name?: string;
|
|
@@ -6935,6 +7539,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6935
7539
|
} | {
|
|
6936
7540
|
content: string;
|
|
6937
7541
|
role: import("..").MessageRole.HiddenAssistant;
|
|
7542
|
+
createdAt?: string;
|
|
6938
7543
|
id?: string;
|
|
6939
7544
|
messageId?: string;
|
|
6940
7545
|
name?: string;
|
|
@@ -6943,6 +7548,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6943
7548
|
} | {
|
|
6944
7549
|
content: string;
|
|
6945
7550
|
role: import("..").MessageRole.HiddenGuide;
|
|
7551
|
+
createdAt?: string;
|
|
6946
7552
|
id?: string;
|
|
6947
7553
|
messageId?: string;
|
|
6948
7554
|
name?: string;
|
|
@@ -6951,6 +7557,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6951
7557
|
} | {
|
|
6952
7558
|
content: string;
|
|
6953
7559
|
role: import("..").MessageRole.Hidden;
|
|
7560
|
+
createdAt?: string;
|
|
6954
7561
|
id?: string;
|
|
6955
7562
|
messageId?: string;
|
|
6956
7563
|
name?: string;
|
|
@@ -6959,6 +7566,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6959
7566
|
} | {
|
|
6960
7567
|
content: string;
|
|
6961
7568
|
role: import("..").MessageRole.HiddenSystem;
|
|
7569
|
+
createdAt?: string;
|
|
6962
7570
|
id?: string;
|
|
6963
7571
|
messageId?: string;
|
|
6964
7572
|
name?: string;
|
|
@@ -6967,6 +7575,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6967
7575
|
} | {
|
|
6968
7576
|
content: string;
|
|
6969
7577
|
role: import("..").MessageRole.HiddenUser;
|
|
7578
|
+
createdAt?: string;
|
|
6970
7579
|
id?: string;
|
|
6971
7580
|
messageId?: string;
|
|
6972
7581
|
name?: string;
|
|
@@ -6975,6 +7584,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6975
7584
|
} | {
|
|
6976
7585
|
content: string;
|
|
6977
7586
|
role: import("..").MessageRole.Info;
|
|
7587
|
+
createdAt?: string;
|
|
6978
7588
|
id?: string;
|
|
6979
7589
|
messageId?: string;
|
|
6980
7590
|
name?: string;
|
|
@@ -6983,6 +7593,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6983
7593
|
} | {
|
|
6984
7594
|
content: string;
|
|
6985
7595
|
role: import("..").MessageRole.Pause;
|
|
7596
|
+
createdAt?: string;
|
|
6986
7597
|
id?: string;
|
|
6987
7598
|
messageId?: string;
|
|
6988
7599
|
name?: string;
|
|
@@ -6991,6 +7602,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
6991
7602
|
} | {
|
|
6992
7603
|
content: string;
|
|
6993
7604
|
role: import("..").MessageRole.Placeholder;
|
|
7605
|
+
createdAt?: string;
|
|
6994
7606
|
id?: string;
|
|
6995
7607
|
messageId?: string;
|
|
6996
7608
|
name?: string;
|
|
@@ -7000,6 +7612,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
7000
7612
|
content: string[];
|
|
7001
7613
|
duration?: number;
|
|
7002
7614
|
role: import("..").MessageRole.Reasoning;
|
|
7615
|
+
createdAt?: string;
|
|
7003
7616
|
id?: string;
|
|
7004
7617
|
messageId?: string;
|
|
7005
7618
|
name?: string;
|
|
@@ -7008,6 +7621,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
7008
7621
|
} | {
|
|
7009
7622
|
content: string;
|
|
7010
7623
|
role: import("..").MessageRole.System;
|
|
7624
|
+
createdAt?: string;
|
|
7011
7625
|
id?: string;
|
|
7012
7626
|
messageId?: string;
|
|
7013
7627
|
name?: string;
|
|
@@ -7016,6 +7630,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
7016
7630
|
} | {
|
|
7017
7631
|
content: string;
|
|
7018
7632
|
role: import("..").MessageRole.TemplateAssistant;
|
|
7633
|
+
createdAt?: string;
|
|
7019
7634
|
id?: string;
|
|
7020
7635
|
messageId?: string;
|
|
7021
7636
|
name?: string;
|
|
@@ -7024,6 +7639,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
7024
7639
|
} | {
|
|
7025
7640
|
content: string;
|
|
7026
7641
|
role: import("..").MessageRole.TemplateGuide;
|
|
7642
|
+
createdAt?: string;
|
|
7027
7643
|
id?: string;
|
|
7028
7644
|
messageId?: string;
|
|
7029
7645
|
name?: string;
|
|
@@ -7032,6 +7648,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
7032
7648
|
} | {
|
|
7033
7649
|
content: string;
|
|
7034
7650
|
role: import("..").MessageRole.TemplateHidden;
|
|
7651
|
+
createdAt?: string;
|
|
7035
7652
|
id?: string;
|
|
7036
7653
|
messageId?: string;
|
|
7037
7654
|
name?: string;
|
|
@@ -7040,6 +7657,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
7040
7657
|
} | {
|
|
7041
7658
|
content: string;
|
|
7042
7659
|
role: import("..").MessageRole.TemplateSystem;
|
|
7660
|
+
createdAt?: string;
|
|
7043
7661
|
id?: string;
|
|
7044
7662
|
messageId?: string;
|
|
7045
7663
|
name?: string;
|
|
@@ -7048,6 +7666,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
7048
7666
|
} | {
|
|
7049
7667
|
content: string;
|
|
7050
7668
|
role: import("..").MessageRole.TemplateUser;
|
|
7669
|
+
createdAt?: string;
|
|
7051
7670
|
id?: string;
|
|
7052
7671
|
messageId?: string;
|
|
7053
7672
|
name?: string;
|
|
@@ -7059,6 +7678,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
7059
7678
|
error?: string;
|
|
7060
7679
|
role: import("..").MessageRole.Tool;
|
|
7061
7680
|
toolCallId: string;
|
|
7681
|
+
createdAt?: string;
|
|
7062
7682
|
id?: string;
|
|
7063
7683
|
messageId?: string;
|
|
7064
7684
|
name?: string;
|
|
@@ -7070,6 +7690,8 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
7070
7690
|
filename?: string;
|
|
7071
7691
|
id?: string;
|
|
7072
7692
|
mimeType: string;
|
|
7693
|
+
outputId?: string;
|
|
7694
|
+
size?: number;
|
|
7073
7695
|
type: import("..").MessageType.Binary;
|
|
7074
7696
|
url?: string;
|
|
7075
7697
|
} | {
|
|
@@ -7078,6 +7700,15 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
7078
7700
|
})[];
|
|
7079
7701
|
property?: {
|
|
7080
7702
|
[x: string]: unknown;
|
|
7703
|
+
artifacts?: {
|
|
7704
|
+
name: string;
|
|
7705
|
+
outputId: string;
|
|
7706
|
+
size: number;
|
|
7707
|
+
type: string;
|
|
7708
|
+
previewUrl?: string;
|
|
7709
|
+
url?: string;
|
|
7710
|
+
}[];
|
|
7711
|
+
docSchema?: unknown;
|
|
7081
7712
|
extra?: {
|
|
7082
7713
|
[x: string]: unknown;
|
|
7083
7714
|
cite?: string | {
|
|
@@ -7094,6 +7725,7 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
7094
7725
|
};
|
|
7095
7726
|
};
|
|
7096
7727
|
role: import("..").MessageRole.User;
|
|
7728
|
+
createdAt?: string;
|
|
7097
7729
|
id?: string;
|
|
7098
7730
|
messageId?: string;
|
|
7099
7731
|
name?: string;
|
|
@@ -7108,13 +7740,19 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
7108
7740
|
labels?: string[];
|
|
7109
7741
|
};
|
|
7110
7742
|
}>;
|
|
7743
|
+
page: import("vue").Ref<number, number>;
|
|
7744
|
+
numPages: import("vue").Ref<number, number>;
|
|
7745
|
+
count: import("vue").Ref<number, number>;
|
|
7746
|
+
hasMore: import("vue").ComputedRef<boolean>;
|
|
7111
7747
|
isCurrentLoading: import("vue").Ref<boolean, boolean>;
|
|
7112
7748
|
isListLoading: import("vue").Ref<boolean, boolean>;
|
|
7749
|
+
isLoadingMore: import("vue").Ref<boolean, boolean>;
|
|
7113
7750
|
isCreateLoading: import("vue").Ref<boolean, boolean>;
|
|
7114
7751
|
isUpdateLoading: import("vue").Ref<boolean, boolean>;
|
|
7115
7752
|
isDeleteLoading: import("vue").Ref<boolean, boolean>;
|
|
7116
7753
|
isBatchDeleteLoading: import("vue").Ref<boolean, boolean>;
|
|
7117
|
-
getSessions: () => Promise<void>;
|
|
7754
|
+
getSessions: (params?: ISessionListParams) => Promise<void>;
|
|
7755
|
+
loadMoreSessions: (pageSize?: number) => Promise<void>;
|
|
7118
7756
|
chooseSession: (sessionCode: string, options?: {
|
|
7119
7757
|
loadMessages?: boolean;
|
|
7120
7758
|
}) => Promise<void>;
|
|
@@ -7133,10 +7771,10 @@ export declare const useSession: (mediator: IMediatorModule) => {
|
|
|
7133
7771
|
labels: string[];
|
|
7134
7772
|
}>;
|
|
7135
7773
|
getSessionFeedbackReasons: (rate: number) => Promise<string[]>;
|
|
7136
|
-
renameSession: (sessionCode: string) => Promise<
|
|
7137
|
-
uploadFile: (sessionCode: string, file: File) => Promise<
|
|
7138
|
-
|
|
7139
|
-
|
|
7774
|
+
renameSession: (sessionCode: string) => Promise<ISession<unknown, unknown>>;
|
|
7775
|
+
uploadFile: (sessionCode: string, file: File) => Promise<IUploadFileResult | undefined>;
|
|
7776
|
+
uploadFiles: (sessionCode: string, files: File[]) => Promise<IUploadFileResult[]>;
|
|
7777
|
+
getPvFileDownloadUrl: (sessionCode: string, path: string, options?: GetPvFileDownloadUrlOptions) => Promise<import("./type").IPvFileDownloadUrlResult>;
|
|
7140
7778
|
reset: () => void;
|
|
7141
7779
|
};
|
|
7142
7780
|
export type ISessionModule = ReturnType<typeof useSession>;
|