@zero-library/chat-copilot 3.1.30 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1924 -426
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +565 -117
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +441 -7
- package/dist/index.d.ts +441 -7
- package/dist/index.esm.js +1924 -430
- package/dist/index.esm.js.map +1 -1
- package/package.json +7 -5
package/dist/index.css
CHANGED
|
@@ -78,6 +78,10 @@
|
|
|
78
78
|
background-position: -200% 0;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
+
.styles_module_bubble {
|
|
82
|
+
min-width: 0;
|
|
83
|
+
max-width: 100%;
|
|
84
|
+
}
|
|
81
85
|
.styles_module_bubble.ant-bubble-end {
|
|
82
86
|
padding-inline-start: 0% !important;
|
|
83
87
|
}
|
|
@@ -447,6 +451,41 @@
|
|
|
447
451
|
.styles_module_senderReferenceHeaderContent {
|
|
448
452
|
padding: 0 !important;
|
|
449
453
|
}
|
|
454
|
+
.styles_module_conversationLabel {
|
|
455
|
+
display: inline-flex;
|
|
456
|
+
align-items: center;
|
|
457
|
+
gap: 8px;
|
|
458
|
+
width: 100%;
|
|
459
|
+
min-width: 0;
|
|
460
|
+
}
|
|
461
|
+
.styles_module_conversationLabel .styles_module_conversationLabelTitle {
|
|
462
|
+
flex: 1;
|
|
463
|
+
min-width: 0;
|
|
464
|
+
overflow: hidden;
|
|
465
|
+
text-overflow: ellipsis;
|
|
466
|
+
white-space: nowrap;
|
|
467
|
+
}
|
|
468
|
+
.styles_module_conversationLabel .styles_module_conversationStatusDot {
|
|
469
|
+
flex-shrink: 0;
|
|
470
|
+
width: 8px;
|
|
471
|
+
height: 8px;
|
|
472
|
+
border-radius: 50%;
|
|
473
|
+
}
|
|
474
|
+
.styles_module_conversationLabel .styles_module_conversationStatusRunning {
|
|
475
|
+
background: var(--ant-color-primary, #1677ff);
|
|
476
|
+
animation: styles_module_conversation-dot-pulse 1s ease-in-out infinite;
|
|
477
|
+
}
|
|
478
|
+
.styles_module_conversationLabel .styles_module_conversationStatusUnread {
|
|
479
|
+
background: var(--ant-color-success, #52c41a);
|
|
480
|
+
}
|
|
481
|
+
@keyframes styles_module_conversation-dot-pulse {
|
|
482
|
+
0%, 100% {
|
|
483
|
+
opacity: 0.3;
|
|
484
|
+
}
|
|
485
|
+
50% {
|
|
486
|
+
opacity: 1;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
450
489
|
|
|
451
490
|
/* src/ui/common/FeatureComponents/style.module.less */
|
|
452
491
|
.style_module_popover {
|
|
@@ -848,87 +887,7 @@
|
|
|
848
887
|
}
|
|
849
888
|
|
|
850
889
|
/* src/components/CustomComponents/ToolRenders/index.module.less */
|
|
851
|
-
.
|
|
852
|
-
border: 1px solid rgba(0, 0, 0, 0.08) !important;
|
|
853
|
-
background-color: rgba(255, 255, 255, 0.42) !important;
|
|
854
|
-
}
|
|
855
|
-
.index_module_toolCollapse .ant-collapse-item {
|
|
856
|
-
height: 100% !important;
|
|
857
|
-
}
|
|
858
|
-
.index_module_toolCollapse .ant-collapse-item .ant-collapse-header {
|
|
859
|
-
padding: 4px 8px !important;
|
|
860
|
-
min-height: 36px !important;
|
|
861
|
-
display: flex !important;
|
|
862
|
-
align-items: center !important;
|
|
863
|
-
}
|
|
864
|
-
.index_module_toolCollapse .ant-collapse-item .ant-collapse-header .ant-collapse-title {
|
|
865
|
-
display: block;
|
|
866
|
-
overflow: hidden;
|
|
867
|
-
white-space: nowrap;
|
|
868
|
-
text-overflow: ellipsis;
|
|
869
|
-
}
|
|
870
|
-
.index_module_toolCollapse .ant-collapse-item .ant-collapse-panel .ant-collapse-body {
|
|
871
|
-
padding: 0 0 8px 8px !important;
|
|
872
|
-
}
|
|
873
|
-
.index_module_toolCallItem {
|
|
874
|
-
display: flex;
|
|
875
|
-
align-items: center;
|
|
876
|
-
flex: 1;
|
|
877
|
-
min-width: 0;
|
|
878
|
-
gap: 8px;
|
|
879
|
-
}
|
|
880
|
-
.index_module_toolCallItem .index_module_toolIcon {
|
|
881
|
-
font-size: 14px;
|
|
882
|
-
color: #000000;
|
|
883
|
-
}
|
|
884
|
-
.index_module_toolCallItem .index_module_toolName {
|
|
885
|
-
font-size: 12px;
|
|
886
|
-
color: var(--ant-color-text-tertiary);
|
|
887
|
-
flex: 1;
|
|
888
|
-
line-height: 22px;
|
|
889
|
-
}
|
|
890
|
-
.index_module_toolCallItem .index_module_statusIcon {
|
|
891
|
-
font-size: 12px;
|
|
892
|
-
display: flex;
|
|
893
|
-
align-items: center;
|
|
894
|
-
flex-shrink: 0;
|
|
895
|
-
}
|
|
896
|
-
.index_module_toolCallItem .index_module_duration {
|
|
897
|
-
font-size: 12px;
|
|
898
|
-
color: var(--ant-color-text-tertiary);
|
|
899
|
-
flex-shrink: 0;
|
|
900
|
-
}
|
|
901
|
-
.index_module_toolCallItem .index_module_toolNamePending {
|
|
902
|
-
display: inline-flex;
|
|
903
|
-
align-items: center;
|
|
904
|
-
gap: 2px;
|
|
905
|
-
flex: 1;
|
|
906
|
-
}
|
|
907
|
-
.index_module_toolCallItem .index_module_toolNamePending .index_module_dot {
|
|
908
|
-
width: 2px;
|
|
909
|
-
height: 2px;
|
|
910
|
-
border-radius: 50%;
|
|
911
|
-
background: var(--ant-color-text-tertiary);
|
|
912
|
-
animation: index_module_dot-blink 1s infinite ease-in-out;
|
|
913
|
-
}
|
|
914
|
-
.index_module_toolCallItem .index_module_toolNamePending .index_module_dot:nth-child(2) {
|
|
915
|
-
animation-delay: 0.16s;
|
|
916
|
-
}
|
|
917
|
-
.index_module_toolCallItem .index_module_toolNamePending .index_module_dot:nth-child(3) {
|
|
918
|
-
animation-delay: 0.32s;
|
|
919
|
-
}
|
|
920
|
-
.index_module_expandIcon {
|
|
921
|
-
font-size: 10px;
|
|
922
|
-
color: var(--ant-color-text-tertiary);
|
|
923
|
-
flex-shrink: 0;
|
|
924
|
-
cursor: pointer;
|
|
925
|
-
transition: transform 0.2s ease;
|
|
926
|
-
transform: rotate(0deg);
|
|
927
|
-
}
|
|
928
|
-
.index_module_expandIcon.index_module_expanded {
|
|
929
|
-
transform: rotate(-90deg);
|
|
930
|
-
}
|
|
931
|
-
.index_module_contentScrollContainer {
|
|
890
|
+
.index_module_toolCallContent {
|
|
932
891
|
padding: 4px 2px 0;
|
|
933
892
|
overflow-y: auto;
|
|
934
893
|
max-height: 500px;
|
|
@@ -936,33 +895,25 @@
|
|
|
936
895
|
scrollbar-width: thin;
|
|
937
896
|
scrollbar-color: transparent transparent;
|
|
938
897
|
}
|
|
939
|
-
.
|
|
898
|
+
.index_module_toolCallContent::-webkit-scrollbar {
|
|
940
899
|
width: 8px;
|
|
941
900
|
height: 8px;
|
|
942
901
|
}
|
|
943
|
-
.
|
|
902
|
+
.index_module_toolCallContent::-webkit-scrollbar-thumb {
|
|
944
903
|
background-color: rgba(0, 0, 0, 0);
|
|
945
904
|
border-radius: 4px;
|
|
946
905
|
transition: background-color 0.3s ease 0.3s;
|
|
947
906
|
}
|
|
948
|
-
.
|
|
907
|
+
.index_module_toolCallContent::-webkit-scrollbar-track {
|
|
949
908
|
background: transparent;
|
|
950
909
|
}
|
|
951
|
-
.
|
|
910
|
+
.index_module_toolCallContent:hover {
|
|
952
911
|
scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
|
|
953
912
|
}
|
|
954
|
-
.
|
|
913
|
+
.index_module_toolCallContent:hover::-webkit-scrollbar-thumb {
|
|
955
914
|
background-color: rgba(0, 0, 0, 0.3);
|
|
956
915
|
transition-delay: 0s;
|
|
957
916
|
}
|
|
958
|
-
@keyframes index_module_dot-blink {
|
|
959
|
-
0%, 70%, 100% {
|
|
960
|
-
opacity: 0.2;
|
|
961
|
-
}
|
|
962
|
-
35% {
|
|
963
|
-
opacity: 0.85;
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
917
|
.index_module_sectionLabel {
|
|
967
918
|
font-size: 12px;
|
|
968
919
|
color: var(--ant-color-text-tertiary);
|
|
@@ -1146,29 +1097,6 @@
|
|
|
1146
1097
|
.index_module_compactSectionBlock .index_module_markdownContainer {
|
|
1147
1098
|
font-size: 11px;
|
|
1148
1099
|
}
|
|
1149
|
-
.index_module_subAgentContainer {
|
|
1150
|
-
padding: 2px 0;
|
|
1151
|
-
}
|
|
1152
|
-
.index_module_subAgentHeader {
|
|
1153
|
-
padding: 4px 0 8px;
|
|
1154
|
-
border-bottom: 1px solid var(--ant-color-border-secondary);
|
|
1155
|
-
margin-bottom: 8px;
|
|
1156
|
-
}
|
|
1157
|
-
.index_module_subAgentName {
|
|
1158
|
-
font-size: 12px;
|
|
1159
|
-
font-weight: 500;
|
|
1160
|
-
}
|
|
1161
|
-
.index_module_subAgentMessages {
|
|
1162
|
-
max-height: 500px;
|
|
1163
|
-
overflow-y: auto;
|
|
1164
|
-
}
|
|
1165
|
-
.index_module_subAgentMessages::-webkit-scrollbar {
|
|
1166
|
-
width: 6px;
|
|
1167
|
-
}
|
|
1168
|
-
.index_module_subAgentMessages::-webkit-scrollbar-thumb {
|
|
1169
|
-
background: var(--ant-color-border);
|
|
1170
|
-
border-radius: 3px;
|
|
1171
|
-
}
|
|
1172
1100
|
.index_module_todoList {
|
|
1173
1101
|
background-color: rgba(255, 255, 255, 0.45);
|
|
1174
1102
|
}
|
|
@@ -1201,11 +1129,496 @@
|
|
|
1201
1129
|
font-size: 12px;
|
|
1202
1130
|
}
|
|
1203
1131
|
|
|
1132
|
+
/* src/components/agentExecList.module.less */
|
|
1133
|
+
.agentExecList_module_wrap {
|
|
1134
|
+
margin: 4px 0;
|
|
1135
|
+
}
|
|
1136
|
+
.agentExecList_module_wrap .ant-collapse-header {
|
|
1137
|
+
padding: 6px 8px !important;
|
|
1138
|
+
align-items: center !important;
|
|
1139
|
+
}
|
|
1140
|
+
.agentExecList_module_summary {
|
|
1141
|
+
font-size: 13px;
|
|
1142
|
+
}
|
|
1143
|
+
.agentExecList_module_summary .agentExecList_module_summaryIcon {
|
|
1144
|
+
display: inline-flex;
|
|
1145
|
+
align-items: center;
|
|
1146
|
+
margin-right: 2px;
|
|
1147
|
+
}
|
|
1148
|
+
.agentExecList_module_summary .agentExecList_module_count {
|
|
1149
|
+
color: var(--ant-color-text, #262626);
|
|
1150
|
+
font-weight: 500;
|
|
1151
|
+
}
|
|
1152
|
+
.agentExecList_module_summary .agentExecList_module_divider {
|
|
1153
|
+
color: var(--ant-color-text-tertiary, #8c8c8c);
|
|
1154
|
+
margin: 0 2px;
|
|
1155
|
+
}
|
|
1156
|
+
.agentExecList_module_list {
|
|
1157
|
+
display: flex;
|
|
1158
|
+
flex-direction: column;
|
|
1159
|
+
}
|
|
1160
|
+
.agentExecList_module_execRow {
|
|
1161
|
+
padding: 0;
|
|
1162
|
+
min-width: 0;
|
|
1163
|
+
max-width: 100%;
|
|
1164
|
+
}
|
|
1165
|
+
.agentExecList_module_execRow .agentExecList_module_rowLine {
|
|
1166
|
+
display: flex;
|
|
1167
|
+
align-items: center;
|
|
1168
|
+
gap: 6px;
|
|
1169
|
+
cursor: default;
|
|
1170
|
+
padding: 6px;
|
|
1171
|
+
border-radius: 4px;
|
|
1172
|
+
font-size: 13px;
|
|
1173
|
+
line-height: 1.85;
|
|
1174
|
+
}
|
|
1175
|
+
.agentExecList_module_execRow .agentExecList_module_rowLine:hover {
|
|
1176
|
+
background: rgba(0, 0, 0, 0.03);
|
|
1177
|
+
}
|
|
1178
|
+
.agentExecList_module_execRow .agentExecList_module_rowIcon {
|
|
1179
|
+
display: inline-flex;
|
|
1180
|
+
align-items: center;
|
|
1181
|
+
flex-shrink: 0;
|
|
1182
|
+
line-height: 1;
|
|
1183
|
+
}
|
|
1184
|
+
.agentExecList_module_execRow .agentExecList_module_rowLabel {
|
|
1185
|
+
flex-shrink: 0;
|
|
1186
|
+
font-weight: 500;
|
|
1187
|
+
color: var(--ant-color-text-secondary, #595959);
|
|
1188
|
+
white-space: nowrap;
|
|
1189
|
+
}
|
|
1190
|
+
.agentExecList_module_execRow .agentExecList_module_rowLabelError {
|
|
1191
|
+
color: var(--ant-color-error, #ff4d4f);
|
|
1192
|
+
}
|
|
1193
|
+
.agentExecList_module_execRow .agentExecList_module_rowDetail {
|
|
1194
|
+
flex: 1;
|
|
1195
|
+
min-width: 0;
|
|
1196
|
+
color: var(--ant-color-text-tertiary, #8c8c8c);
|
|
1197
|
+
font-size: 13px;
|
|
1198
|
+
line-height: 1.85;
|
|
1199
|
+
overflow: hidden;
|
|
1200
|
+
text-overflow: ellipsis;
|
|
1201
|
+
white-space: nowrap;
|
|
1202
|
+
}
|
|
1203
|
+
.agentExecList_module_execRow .agentExecList_module_rowDetailExpandable {
|
|
1204
|
+
cursor: pointer;
|
|
1205
|
+
}
|
|
1206
|
+
.agentExecList_module_execRow .agentExecList_module_rowDetailAction {
|
|
1207
|
+
flex-shrink: 0;
|
|
1208
|
+
font-size: 12px;
|
|
1209
|
+
color: var(--ant-color-primary, #1677ff);
|
|
1210
|
+
cursor: pointer;
|
|
1211
|
+
white-space: nowrap;
|
|
1212
|
+
}
|
|
1213
|
+
.agentExecList_module_execRow .agentExecList_module_rowDetailAction:hover {
|
|
1214
|
+
opacity: 0.85;
|
|
1215
|
+
}
|
|
1216
|
+
.agentExecList_module_execRow .agentExecList_module_rowBody {
|
|
1217
|
+
margin: 2px 0 4px 26px;
|
|
1218
|
+
padding-left: 8px;
|
|
1219
|
+
border-left: 1px solid rgba(0, 0, 0, 0.08);
|
|
1220
|
+
font-size: 13px;
|
|
1221
|
+
min-width: 0;
|
|
1222
|
+
max-width: 100%;
|
|
1223
|
+
overflow-wrap: anywhere;
|
|
1224
|
+
word-break: break-word;
|
|
1225
|
+
}
|
|
1226
|
+
.agentExecList_module_execRow .agentExecList_module_rowBody .x-markdown-light {
|
|
1227
|
+
--heading-color: var(--ant-color-text, rgba(0, 0, 0, 0.88));
|
|
1228
|
+
--text-color: var(--ant-color-text-secondary, rgba(0, 0, 0, 0.65));
|
|
1229
|
+
color: var(--ant-color-text-secondary, rgba(0, 0, 0, 0.65));
|
|
1230
|
+
overflow-wrap: anywhere;
|
|
1231
|
+
word-break: break-word;
|
|
1232
|
+
max-width: 100%;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
/* src/components/agentExecSequence.module.less */
|
|
1236
|
+
.agentExecSequence_module_seq {
|
|
1237
|
+
width: 100%;
|
|
1238
|
+
min-width: 0;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
/* src/ui/layouts/components/execution-trace.module.less */
|
|
1242
|
+
.execution_trace_module_tracePanel {
|
|
1243
|
+
display: flex;
|
|
1244
|
+
flex-direction: column;
|
|
1245
|
+
height: 100%;
|
|
1246
|
+
width: 100%;
|
|
1247
|
+
min-width: 0;
|
|
1248
|
+
}
|
|
1249
|
+
.execution_trace_module_tracePanelHeader {
|
|
1250
|
+
display: flex;
|
|
1251
|
+
align-items: center;
|
|
1252
|
+
justify-content: space-between;
|
|
1253
|
+
gap: 8px;
|
|
1254
|
+
padding: 8px 12px;
|
|
1255
|
+
border-bottom: 1px solid var(--ant-color-border-secondary, #f0f0f0);
|
|
1256
|
+
flex-shrink: 0;
|
|
1257
|
+
}
|
|
1258
|
+
.execution_trace_module_tracePanelHeader .execution_trace_module_tracePanelTitle {
|
|
1259
|
+
font-size: 13px;
|
|
1260
|
+
font-weight: 600;
|
|
1261
|
+
color: var(--ant-color-text, #262626);
|
|
1262
|
+
}
|
|
1263
|
+
.execution_trace_module_tracePanelHeader .execution_trace_module_tracePanelCount {
|
|
1264
|
+
font-size: 12px;
|
|
1265
|
+
color: var(--ant-color-text-tertiary, #8c8c8c);
|
|
1266
|
+
}
|
|
1267
|
+
.execution_trace_module_traceBody {
|
|
1268
|
+
display: flex;
|
|
1269
|
+
flex: 1;
|
|
1270
|
+
min-height: 0;
|
|
1271
|
+
}
|
|
1272
|
+
.execution_trace_module_traceMain {
|
|
1273
|
+
flex: 1;
|
|
1274
|
+
min-width: 0;
|
|
1275
|
+
overflow: hidden auto;
|
|
1276
|
+
padding-bottom: 12px;
|
|
1277
|
+
}
|
|
1278
|
+
.execution_trace_module_traceDetail {
|
|
1279
|
+
width: 380px;
|
|
1280
|
+
flex-shrink: 0;
|
|
1281
|
+
border-left: 1px solid var(--ant-color-border-secondary, #f0f0f0);
|
|
1282
|
+
overflow: hidden auto;
|
|
1283
|
+
}
|
|
1284
|
+
.execution_trace_module_traceDetail .execution_trace_module_traceDetailHeader {
|
|
1285
|
+
display: flex;
|
|
1286
|
+
align-items: center;
|
|
1287
|
+
justify-content: space-between;
|
|
1288
|
+
gap: 8px;
|
|
1289
|
+
padding: 8px 12px;
|
|
1290
|
+
border-bottom: 1px solid var(--ant-color-border-secondary, #f0f0f0);
|
|
1291
|
+
position: sticky;
|
|
1292
|
+
top: 0;
|
|
1293
|
+
z-index: 1;
|
|
1294
|
+
background: var(--ant-color-bg-container, #fff);
|
|
1295
|
+
}
|
|
1296
|
+
.execution_trace_module_traceDetail .execution_trace_module_traceDetailHeader .execution_trace_module_traceDetailTitle {
|
|
1297
|
+
font-size: 12px;
|
|
1298
|
+
font-weight: 600;
|
|
1299
|
+
color: var(--ant-color-text, #262626);
|
|
1300
|
+
font-family:
|
|
1301
|
+
Monaco,
|
|
1302
|
+
Menlo,
|
|
1303
|
+
Consolas,
|
|
1304
|
+
monospace;
|
|
1305
|
+
overflow: hidden;
|
|
1306
|
+
text-overflow: ellipsis;
|
|
1307
|
+
white-space: nowrap;
|
|
1308
|
+
}
|
|
1309
|
+
.execution_trace_module_traceDetail .execution_trace_module_traceDetailHeader .execution_trace_module_traceDetailTime {
|
|
1310
|
+
font-size: 11px;
|
|
1311
|
+
color: var(--ant-color-text-tertiary, #8c8c8c);
|
|
1312
|
+
white-space: nowrap;
|
|
1313
|
+
}
|
|
1314
|
+
.execution_trace_module_detailEmpty {
|
|
1315
|
+
display: flex;
|
|
1316
|
+
align-items: center;
|
|
1317
|
+
justify-content: center;
|
|
1318
|
+
height: 100%;
|
|
1319
|
+
min-height: 120px;
|
|
1320
|
+
}
|
|
1321
|
+
.execution_trace_module_executionSection {
|
|
1322
|
+
border-bottom: 1px solid var(--ant-color-border-secondary, #f0f0f0);
|
|
1323
|
+
}
|
|
1324
|
+
.execution_trace_module_executionSection:last-child {
|
|
1325
|
+
border-bottom: none;
|
|
1326
|
+
}
|
|
1327
|
+
.execution_trace_module_executionHeader {
|
|
1328
|
+
display: flex;
|
|
1329
|
+
flex-wrap: wrap;
|
|
1330
|
+
align-items: center;
|
|
1331
|
+
justify-content: space-between;
|
|
1332
|
+
gap: 6px 12px;
|
|
1333
|
+
padding: 10px 12px 6px;
|
|
1334
|
+
}
|
|
1335
|
+
.execution_trace_module_executionHeader .execution_trace_module_executionHeaderMain {
|
|
1336
|
+
display: inline-flex;
|
|
1337
|
+
align-items: center;
|
|
1338
|
+
gap: 8px;
|
|
1339
|
+
}
|
|
1340
|
+
.execution_trace_module_executionHeader .execution_trace_module_executionHeaderTitle {
|
|
1341
|
+
font-size: 12px;
|
|
1342
|
+
font-weight: 600;
|
|
1343
|
+
color: var(--ant-color-text, #262626);
|
|
1344
|
+
}
|
|
1345
|
+
.execution_trace_module_executionHeader .execution_trace_module_executionStatus {
|
|
1346
|
+
font-size: 11px;
|
|
1347
|
+
margin: 0;
|
|
1348
|
+
}
|
|
1349
|
+
.execution_trace_module_executionHeader .execution_trace_module_executionHeaderMeta {
|
|
1350
|
+
display: inline-flex;
|
|
1351
|
+
flex-wrap: wrap;
|
|
1352
|
+
gap: 2px 10px;
|
|
1353
|
+
font-size: 11px;
|
|
1354
|
+
color: var(--ant-color-text-tertiary, #8c8c8c);
|
|
1355
|
+
}
|
|
1356
|
+
.execution_trace_module_executionHeader .execution_trace_module_executionMeta {
|
|
1357
|
+
white-space: nowrap;
|
|
1358
|
+
}
|
|
1359
|
+
.execution_trace_module_userMessage {
|
|
1360
|
+
margin: 6px 12px;
|
|
1361
|
+
padding: 8px 12px;
|
|
1362
|
+
border-radius: 6px;
|
|
1363
|
+
background: var(--ant-color-success-bg, #f6ffed);
|
|
1364
|
+
border: 1px solid var(--ant-color-success-border, #b7eb8f);
|
|
1365
|
+
border-left: 3px solid var(--ant-color-success, #52c41a);
|
|
1366
|
+
}
|
|
1367
|
+
.execution_trace_module_userMessage .execution_trace_module_userMessageHeader {
|
|
1368
|
+
display: flex;
|
|
1369
|
+
align-items: center;
|
|
1370
|
+
gap: 6px;
|
|
1371
|
+
font-size: 12px;
|
|
1372
|
+
margin-bottom: 4px;
|
|
1373
|
+
}
|
|
1374
|
+
.execution_trace_module_userMessage .execution_trace_module_userMessageHeader .execution_trace_module_userMessageLabel {
|
|
1375
|
+
font-weight: 600;
|
|
1376
|
+
color: var(--ant-color-text-secondary, #595959);
|
|
1377
|
+
}
|
|
1378
|
+
.execution_trace_module_userMessage .execution_trace_module_userMessageHeader .ant-tag {
|
|
1379
|
+
margin: 0;
|
|
1380
|
+
font-size: 10px;
|
|
1381
|
+
line-height: 16px;
|
|
1382
|
+
}
|
|
1383
|
+
.execution_trace_module_userMessage .execution_trace_module_userMessageContent {
|
|
1384
|
+
font-size: 13px;
|
|
1385
|
+
color: var(--ant-color-text, #262626);
|
|
1386
|
+
max-width: 100%;
|
|
1387
|
+
overflow-wrap: anywhere;
|
|
1388
|
+
}
|
|
1389
|
+
.execution_trace_module_turnList {
|
|
1390
|
+
padding: 0 4px;
|
|
1391
|
+
}
|
|
1392
|
+
.execution_trace_module_turnSection {
|
|
1393
|
+
margin-bottom: 2px;
|
|
1394
|
+
}
|
|
1395
|
+
.execution_trace_module_turnHeader {
|
|
1396
|
+
display: flex;
|
|
1397
|
+
align-items: center;
|
|
1398
|
+
gap: 8px;
|
|
1399
|
+
padding: 6px 12px;
|
|
1400
|
+
font-size: 12px;
|
|
1401
|
+
font-weight: 600;
|
|
1402
|
+
color: var(--ant-color-text, #262626);
|
|
1403
|
+
background: var(--ant-color-fill-quaternary, #fafafa);
|
|
1404
|
+
}
|
|
1405
|
+
.execution_trace_module_turnHeader .execution_trace_module_turnHeaderDot {
|
|
1406
|
+
width: 8px;
|
|
1407
|
+
height: 8px;
|
|
1408
|
+
border-radius: 50%;
|
|
1409
|
+
flex-shrink: 0;
|
|
1410
|
+
background: var(--ant-color-primary, #1677ff);
|
|
1411
|
+
}
|
|
1412
|
+
.execution_trace_module_turnHeader .execution_trace_module_turnTitle {
|
|
1413
|
+
flex-shrink: 0;
|
|
1414
|
+
}
|
|
1415
|
+
.execution_trace_module_turnHeader .execution_trace_module_turnMeta {
|
|
1416
|
+
flex: 1;
|
|
1417
|
+
text-align: right;
|
|
1418
|
+
font-weight: 400;
|
|
1419
|
+
font-size: 11px;
|
|
1420
|
+
color: var(--ant-color-text-tertiary, #8c8c8c);
|
|
1421
|
+
}
|
|
1422
|
+
.execution_trace_module_turnHeaderMuted {
|
|
1423
|
+
background: transparent;
|
|
1424
|
+
color: var(--ant-color-text-tertiary, #8c8c8c);
|
|
1425
|
+
font-weight: 500;
|
|
1426
|
+
}
|
|
1427
|
+
.execution_trace_module_turnHeaderMuted .execution_trace_module_turnHeaderDotMuted {
|
|
1428
|
+
background: var(--ant-color-text-quaternary, #bfbfbf);
|
|
1429
|
+
}
|
|
1430
|
+
.execution_trace_module_eventRow {
|
|
1431
|
+
display: flex;
|
|
1432
|
+
align-items: center;
|
|
1433
|
+
gap: 6px;
|
|
1434
|
+
padding: 6px 8px 6px 12px;
|
|
1435
|
+
cursor: pointer;
|
|
1436
|
+
font-size: 13px;
|
|
1437
|
+
line-height: 1.85;
|
|
1438
|
+
border-radius: 4px;
|
|
1439
|
+
}
|
|
1440
|
+
.execution_trace_module_eventRow:hover {
|
|
1441
|
+
background: rgba(0, 0, 0, 0.03);
|
|
1442
|
+
}
|
|
1443
|
+
.execution_trace_module_eventRowSelected {
|
|
1444
|
+
background: var(--ant-color-primary-bg, #e6f4ff);
|
|
1445
|
+
}
|
|
1446
|
+
.execution_trace_module_eventRowSelected:hover {
|
|
1447
|
+
background: var(--ant-color-primary-bg, #e6f4ff);
|
|
1448
|
+
}
|
|
1449
|
+
.execution_trace_module_eventLane {
|
|
1450
|
+
width: 3px;
|
|
1451
|
+
align-self: stretch;
|
|
1452
|
+
border-radius: 2px;
|
|
1453
|
+
flex-shrink: 0;
|
|
1454
|
+
min-height: 14px;
|
|
1455
|
+
}
|
|
1456
|
+
.execution_trace_module_lane_input {
|
|
1457
|
+
background: #52c41a;
|
|
1458
|
+
}
|
|
1459
|
+
.execution_trace_module_lane_model {
|
|
1460
|
+
background: #1677ff;
|
|
1461
|
+
}
|
|
1462
|
+
.execution_trace_module_lane_tools {
|
|
1463
|
+
background: #722ed1;
|
|
1464
|
+
}
|
|
1465
|
+
.execution_trace_module_lane_system {
|
|
1466
|
+
background: #fa8c16;
|
|
1467
|
+
}
|
|
1468
|
+
.execution_trace_module_eventIcon {
|
|
1469
|
+
display: inline-flex;
|
|
1470
|
+
align-items: center;
|
|
1471
|
+
flex-shrink: 0;
|
|
1472
|
+
line-height: 1;
|
|
1473
|
+
}
|
|
1474
|
+
.execution_trace_module_eventRole {
|
|
1475
|
+
font-size: 10px;
|
|
1476
|
+
line-height: 16px;
|
|
1477
|
+
margin: 0;
|
|
1478
|
+
flex-shrink: 0;
|
|
1479
|
+
}
|
|
1480
|
+
.execution_trace_module_eventType {
|
|
1481
|
+
flex-shrink: 0;
|
|
1482
|
+
font-family:
|
|
1483
|
+
Monaco,
|
|
1484
|
+
Menlo,
|
|
1485
|
+
Consolas,
|
|
1486
|
+
monospace;
|
|
1487
|
+
font-size: 11px;
|
|
1488
|
+
color: var(--ant-color-text-secondary, #595959);
|
|
1489
|
+
white-space: nowrap;
|
|
1490
|
+
}
|
|
1491
|
+
.execution_trace_module_eventTypeError {
|
|
1492
|
+
color: var(--ant-color-error, #ff4d4f);
|
|
1493
|
+
}
|
|
1494
|
+
.execution_trace_module_eventPreview {
|
|
1495
|
+
flex: 1;
|
|
1496
|
+
min-width: 0;
|
|
1497
|
+
color: var(--ant-color-text-tertiary, #8c8c8c);
|
|
1498
|
+
overflow: hidden;
|
|
1499
|
+
text-overflow: ellipsis;
|
|
1500
|
+
white-space: nowrap;
|
|
1501
|
+
}
|
|
1502
|
+
.execution_trace_module_eventTime {
|
|
1503
|
+
flex-shrink: 0;
|
|
1504
|
+
font-size: 11px;
|
|
1505
|
+
color: var(--ant-color-text-quaternary, #bfbfbf);
|
|
1506
|
+
white-space: nowrap;
|
|
1507
|
+
}
|
|
1508
|
+
.execution_trace_module_detailBody {
|
|
1509
|
+
padding: 12px;
|
|
1510
|
+
font-size: 13px;
|
|
1511
|
+
overflow-wrap: anywhere;
|
|
1512
|
+
}
|
|
1513
|
+
.execution_trace_module_detailBody .x-markdown-light {
|
|
1514
|
+
--heading-color: var(--ant-color-text, rgba(0, 0, 0, 0.88));
|
|
1515
|
+
--text-color: var(--ant-color-text-secondary, rgba(0, 0, 0, 0.65));
|
|
1516
|
+
color: var(--ant-color-text-secondary, rgba(0, 0, 0, 0.65));
|
|
1517
|
+
overflow-wrap: anywhere;
|
|
1518
|
+
word-break: break-word;
|
|
1519
|
+
max-width: 100%;
|
|
1520
|
+
}
|
|
1521
|
+
.execution_trace_module_detailSectionTitle {
|
|
1522
|
+
font-size: 12px;
|
|
1523
|
+
font-weight: 600;
|
|
1524
|
+
color: var(--ant-color-text-secondary, #595959);
|
|
1525
|
+
margin: 12px 0 6px;
|
|
1526
|
+
}
|
|
1527
|
+
.execution_trace_module_detailSectionTitle:first-child {
|
|
1528
|
+
margin-top: 0;
|
|
1529
|
+
}
|
|
1530
|
+
.execution_trace_module_detailMeta {
|
|
1531
|
+
font-size: 12px;
|
|
1532
|
+
color: var(--ant-color-text-tertiary, #8c8c8c);
|
|
1533
|
+
margin-bottom: 6px;
|
|
1534
|
+
}
|
|
1535
|
+
.execution_trace_module_toolCard {
|
|
1536
|
+
border: 1px solid var(--ant-color-border-secondary, #f0f0f0);
|
|
1537
|
+
border-radius: 6px;
|
|
1538
|
+
padding: 6px 8px;
|
|
1539
|
+
margin-bottom: 6px;
|
|
1540
|
+
background: var(--ant-color-fill-quaternary, #fafafa);
|
|
1541
|
+
}
|
|
1542
|
+
.execution_trace_module_toolCard .execution_trace_module_toolCardName {
|
|
1543
|
+
font-size: 12px;
|
|
1544
|
+
font-weight: 600;
|
|
1545
|
+
color: var(--ant-color-text, #262626);
|
|
1546
|
+
margin-bottom: 2px;
|
|
1547
|
+
}
|
|
1548
|
+
.execution_trace_module_toolCard .execution_trace_module_toolCardDesc {
|
|
1549
|
+
font-size: 12px;
|
|
1550
|
+
color: var(--ant-color-text-tertiary, #8c8c8c);
|
|
1551
|
+
line-height: 1.5;
|
|
1552
|
+
}
|
|
1553
|
+
.execution_trace_module_msgCard {
|
|
1554
|
+
display: flex;
|
|
1555
|
+
align-items: flex-start;
|
|
1556
|
+
gap: 6px;
|
|
1557
|
+
padding: 4px 0;
|
|
1558
|
+
font-size: 12px;
|
|
1559
|
+
}
|
|
1560
|
+
.execution_trace_module_msgCard .execution_trace_module_msgTag {
|
|
1561
|
+
font-size: 10px;
|
|
1562
|
+
line-height: 16px;
|
|
1563
|
+
margin: 0;
|
|
1564
|
+
flex-shrink: 0;
|
|
1565
|
+
}
|
|
1566
|
+
.execution_trace_module_msgCard .execution_trace_module_msgContent {
|
|
1567
|
+
flex: 1;
|
|
1568
|
+
min-width: 0;
|
|
1569
|
+
color: var(--ant-color-text-secondary, #595959);
|
|
1570
|
+
white-space: pre-wrap;
|
|
1571
|
+
overflow-wrap: anywhere;
|
|
1572
|
+
word-break: break-word;
|
|
1573
|
+
}
|
|
1574
|
+
.execution_trace_module_jsonBlock {
|
|
1575
|
+
background: var(--ant-color-fill-quaternary, #fafafa);
|
|
1576
|
+
border-radius: 4px;
|
|
1577
|
+
padding: 8px;
|
|
1578
|
+
font-size: 12px;
|
|
1579
|
+
font-family:
|
|
1580
|
+
Monaco,
|
|
1581
|
+
Menlo,
|
|
1582
|
+
Consolas,
|
|
1583
|
+
monospace;
|
|
1584
|
+
overflow: auto auto;
|
|
1585
|
+
max-height: 420px;
|
|
1586
|
+
}
|
|
1587
|
+
.execution_trace_module_empty {
|
|
1588
|
+
display: flex;
|
|
1589
|
+
align-items: center;
|
|
1590
|
+
justify-content: center;
|
|
1591
|
+
height: 100%;
|
|
1592
|
+
color: var(--ant-color-text-tertiary, #8c8c8c);
|
|
1593
|
+
font-size: 13px;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1204
1596
|
/* src/ui/layouts/components/styles.module.less */
|
|
1205
1597
|
.styles_module_bodyWidth {
|
|
1206
1598
|
width: 100%;
|
|
1207
1599
|
height: 100%;
|
|
1208
1600
|
}
|
|
1601
|
+
.styles_module_execModeBar {
|
|
1602
|
+
display: flex;
|
|
1603
|
+
justify-content: flex-end;
|
|
1604
|
+
width: calc(100% - 24px);
|
|
1605
|
+
max-width: 1000px;
|
|
1606
|
+
flex-shrink: 0;
|
|
1607
|
+
}
|
|
1608
|
+
.styles_module_mainTabs {
|
|
1609
|
+
height: 100%;
|
|
1610
|
+
min-width: 0;
|
|
1611
|
+
}
|
|
1612
|
+
.styles_module_mainTabs .ant-tabs-nav {
|
|
1613
|
+
margin: 0;
|
|
1614
|
+
padding: 6px 16px 0;
|
|
1615
|
+
}
|
|
1616
|
+
.styles_module_mainTabs .ant-tabs-content-holder,
|
|
1617
|
+
.mainTabs .ant-tabs-content,
|
|
1618
|
+
.mainTabs .ant-tabs-tabpane {
|
|
1619
|
+
height: 100%;
|
|
1620
|
+
overflow: auto;
|
|
1621
|
+
}
|
|
1209
1622
|
.styles_module_inputContainer {
|
|
1210
1623
|
max-width: 1000px;
|
|
1211
1624
|
min-width: 320px;
|
|
@@ -1236,6 +1649,23 @@
|
|
|
1236
1649
|
.styles_module_previewHeader .styles_module_actionIcon:hover {
|
|
1237
1650
|
color: var(--ant-color-text);
|
|
1238
1651
|
}
|
|
1652
|
+
.styles_module_subAgentHeader {
|
|
1653
|
+
padding: 8px 16px;
|
|
1654
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
|
|
1655
|
+
flex-shrink: 0;
|
|
1656
|
+
}
|
|
1657
|
+
.styles_module_subAgentHeader .styles_module_subAgentTitle {
|
|
1658
|
+
font-size: 15px;
|
|
1659
|
+
overflow: hidden;
|
|
1660
|
+
text-overflow: ellipsis;
|
|
1661
|
+
white-space: nowrap;
|
|
1662
|
+
}
|
|
1663
|
+
.styles_module_subAgentMessages {
|
|
1664
|
+
min-width: 0;
|
|
1665
|
+
width: 100%;
|
|
1666
|
+
max-width: 100%;
|
|
1667
|
+
overflow-x: hidden;
|
|
1668
|
+
}
|
|
1239
1669
|
|
|
1240
1670
|
/* src/ui/layouts/index.module.less */
|
|
1241
1671
|
.index_module_chatLayout {
|
|
@@ -1252,4 +1682,22 @@
|
|
|
1252
1682
|
.index_module_hideSplitterBar .ant-splitter-bar {
|
|
1253
1683
|
display: none !important;
|
|
1254
1684
|
}
|
|
1685
|
+
.index_module_rightTabs {
|
|
1686
|
+
height: 100%;
|
|
1687
|
+
}
|
|
1688
|
+
.index_module_rightTabs .ant-tabs-nav {
|
|
1689
|
+
padding: 6px 16px 0;
|
|
1690
|
+
margin-bottom: 0;
|
|
1691
|
+
}
|
|
1692
|
+
.index_module_rightTabs .ant-tabs-tab {
|
|
1693
|
+
padding: 10px 4px;
|
|
1694
|
+
margin: 0 20px 0 0;
|
|
1695
|
+
font-size: 14px;
|
|
1696
|
+
}
|
|
1697
|
+
.index_module_rightTabs .ant-tabs-content-holder,
|
|
1698
|
+
.rightTabs .ant-tabs-content,
|
|
1699
|
+
.rightTabs .ant-tabs-tabpane {
|
|
1700
|
+
height: 100%;
|
|
1701
|
+
overflow: auto;
|
|
1702
|
+
}
|
|
1255
1703
|
/*# sourceMappingURL=index.css.map */
|