@voiceflow/dtos-interact 1.65.0 → 1.65.1-de6e62a42d.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/socket/socket-action-trace.dto.d.ts +2273 -165
  2. package/build/cjs/socket/socket-action-trace.dto.d.ts.map +1 -1
  3. package/build/cjs/socket/socket-message.dto.d.ts +4618 -402
  4. package/build/cjs/socket/socket-message.dto.d.ts.map +1 -1
  5. package/build/cjs/trace/any.dto.d.ts +1432 -60
  6. package/build/cjs/trace/any.dto.d.ts.map +1 -1
  7. package/build/cjs/trace/card.dto.d.ts +548 -0
  8. package/build/cjs/trace/card.dto.d.ts.map +1 -1
  9. package/build/cjs/trace/card.dto.js +2 -0
  10. package/build/cjs/trace/card.dto.js.map +1 -1
  11. package/build/cjs/trace/carousel.dto.d.ts +960 -0
  12. package/build/cjs/trace/carousel.dto.d.ts.map +1 -1
  13. package/build/cjs/trace/carousel.dto.js +2 -0
  14. package/build/cjs/trace/carousel.dto.js.map +1 -1
  15. package/build/cjs/trace/choice.dto.d.ts +320 -0
  16. package/build/cjs/trace/choice.dto.d.ts.map +1 -1
  17. package/build/cjs/trace/choice.dto.js +2 -0
  18. package/build/cjs/trace/choice.dto.js.map +1 -1
  19. package/build/esm/socket/socket-action-trace.dto.d.ts +2273 -165
  20. package/build/esm/socket/socket-action-trace.dto.d.ts.map +1 -1
  21. package/build/esm/socket/socket-message.dto.d.ts +4618 -402
  22. package/build/esm/socket/socket-message.dto.d.ts.map +1 -1
  23. package/build/esm/trace/any.dto.d.ts +1432 -60
  24. package/build/esm/trace/any.dto.d.ts.map +1 -1
  25. package/build/esm/trace/card.dto.d.ts +548 -0
  26. package/build/esm/trace/card.dto.d.ts.map +1 -1
  27. package/build/esm/trace/card.dto.js +2 -0
  28. package/build/esm/trace/card.dto.js.map +1 -1
  29. package/build/esm/trace/carousel.dto.d.ts +960 -0
  30. package/build/esm/trace/carousel.dto.d.ts.map +1 -1
  31. package/build/esm/trace/carousel.dto.js +2 -0
  32. package/build/esm/trace/carousel.dto.js.map +1 -1
  33. package/build/esm/trace/choice.dto.d.ts +320 -0
  34. package/build/esm/trace/choice.dto.d.ts.map +1 -1
  35. package/build/esm/trace/choice.dto.js +2 -0
  36. package/build/esm/trace/choice.dto.js.map +1 -1
  37. package/package.json +2 -2
@@ -536,6 +536,142 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
536
536
  } & {
537
537
  type: z.ZodLiteral<"cardV2">;
538
538
  payload: z.ZodObject<{
539
+ ref: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
540
+ type: z.ZodLiteral<"node">;
541
+ nodeID: z.ZodString;
542
+ nodeType: z.ZodString;
543
+ diagramID: z.ZodString;
544
+ diagramName: z.ZodOptional<z.ZodString>;
545
+ }, "strip", z.ZodTypeAny, {
546
+ type: "node";
547
+ diagramID: string;
548
+ nodeID: string;
549
+ nodeType: string;
550
+ diagramName?: string | undefined;
551
+ }, {
552
+ type: "node";
553
+ diagramID: string;
554
+ nodeID: string;
555
+ nodeType: string;
556
+ diagramName?: string | undefined;
557
+ }>, z.ZodObject<{
558
+ type: z.ZodLiteral<"agent">;
559
+ nodeID: z.ZodString;
560
+ agentID: z.ZodString;
561
+ diagramID: z.ZodString;
562
+ agentName: z.ZodOptional<z.ZodString>;
563
+ diagramName: z.ZodOptional<z.ZodString>;
564
+ }, "strip", z.ZodTypeAny, {
565
+ type: "agent";
566
+ diagramID: string;
567
+ nodeID: string;
568
+ agentID: string;
569
+ diagramName?: string | undefined;
570
+ agentName?: string | undefined;
571
+ }, {
572
+ type: "agent";
573
+ diagramID: string;
574
+ nodeID: string;
575
+ agentID: string;
576
+ diagramName?: string | undefined;
577
+ agentName?: string | undefined;
578
+ }>, z.ZodObject<{
579
+ type: z.ZodLiteral<"prompt">;
580
+ nodeID: z.ZodString;
581
+ promptID: z.ZodString;
582
+ diagramID: z.ZodString;
583
+ diagramName: z.ZodOptional<z.ZodString>;
584
+ }, "strip", z.ZodTypeAny, {
585
+ type: "prompt";
586
+ diagramID: string;
587
+ nodeID: string;
588
+ promptID: string;
589
+ diagramName?: string | undefined;
590
+ }, {
591
+ type: "prompt";
592
+ diagramID: string;
593
+ nodeID: string;
594
+ promptID: string;
595
+ diagramName?: string | undefined;
596
+ }>, z.ZodObject<{
597
+ type: z.ZodLiteral<"api-tool">;
598
+ nodeID: z.ZodString;
599
+ diagramID: z.ZodString;
600
+ apiToolID: z.ZodString;
601
+ apiToolName: z.ZodOptional<z.ZodString>;
602
+ diagramName: z.ZodOptional<z.ZodString>;
603
+ }, "strip", z.ZodTypeAny, {
604
+ type: "api-tool";
605
+ diagramID: string;
606
+ nodeID: string;
607
+ apiToolID: string;
608
+ diagramName?: string | undefined;
609
+ apiToolName?: string | undefined;
610
+ }, {
611
+ type: "api-tool";
612
+ diagramID: string;
613
+ nodeID: string;
614
+ apiToolID: string;
615
+ diagramName?: string | undefined;
616
+ apiToolName?: string | undefined;
617
+ }>, z.ZodObject<{
618
+ type: z.ZodLiteral<"function">;
619
+ nodeID: z.ZodString;
620
+ diagramID: z.ZodString;
621
+ functionID: z.ZodString;
622
+ functionName: z.ZodOptional<z.ZodString>;
623
+ diagramName: z.ZodOptional<z.ZodString>;
624
+ }, "strip", z.ZodTypeAny, {
625
+ type: "function";
626
+ diagramID: string;
627
+ nodeID: string;
628
+ functionID: string;
629
+ diagramName?: string | undefined;
630
+ functionName?: string | undefined;
631
+ }, {
632
+ type: "function";
633
+ diagramID: string;
634
+ nodeID: string;
635
+ functionID: string;
636
+ diagramName?: string | undefined;
637
+ functionName?: string | undefined;
638
+ }>, z.ZodObject<{
639
+ type: z.ZodLiteral<"integration-tool">;
640
+ nodeID: z.ZodString;
641
+ diagramID: z.ZodString;
642
+ diagramName: z.ZodOptional<z.ZodString>;
643
+ integrationToolName: z.ZodString;
644
+ }, "strip", z.ZodTypeAny, {
645
+ type: "integration-tool";
646
+ diagramID: string;
647
+ nodeID: string;
648
+ integrationToolName: string;
649
+ diagramName?: string | undefined;
650
+ }, {
651
+ type: "integration-tool";
652
+ diagramID: string;
653
+ nodeID: string;
654
+ integrationToolName: string;
655
+ diagramName?: string | undefined;
656
+ }>, z.ZodObject<{
657
+ type: z.ZodLiteral<"mcp-integration-tool">;
658
+ nodeID: z.ZodString;
659
+ diagramID: z.ZodString;
660
+ mcpToolName: z.ZodString;
661
+ diagramName: z.ZodOptional<z.ZodString>;
662
+ }, "strip", z.ZodTypeAny, {
663
+ type: "mcp-integration-tool";
664
+ diagramID: string;
665
+ nodeID: string;
666
+ mcpToolName: string;
667
+ diagramName?: string | undefined;
668
+ }, {
669
+ type: "mcp-integration-tool";
670
+ diagramID: string;
671
+ nodeID: string;
672
+ mcpToolName: string;
673
+ diagramName?: string | undefined;
674
+ }>]>>;
539
675
  title: z.ZodString;
540
676
  buttons: z.ZodArray<z.ZodObject<{
541
677
  name: z.ZodString;
@@ -605,6 +741,52 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
605
741
  text: string;
606
742
  slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
607
743
  };
744
+ ref?: {
745
+ type: "node";
746
+ diagramID: string;
747
+ nodeID: string;
748
+ nodeType: string;
749
+ diagramName?: string | undefined;
750
+ } | {
751
+ type: "agent";
752
+ diagramID: string;
753
+ nodeID: string;
754
+ agentID: string;
755
+ diagramName?: string | undefined;
756
+ agentName?: string | undefined;
757
+ } | {
758
+ type: "api-tool";
759
+ diagramID: string;
760
+ nodeID: string;
761
+ apiToolID: string;
762
+ diagramName?: string | undefined;
763
+ apiToolName?: string | undefined;
764
+ } | {
765
+ type: "integration-tool";
766
+ diagramID: string;
767
+ nodeID: string;
768
+ integrationToolName: string;
769
+ diagramName?: string | undefined;
770
+ } | {
771
+ type: "mcp-integration-tool";
772
+ diagramID: string;
773
+ nodeID: string;
774
+ mcpToolName: string;
775
+ diagramName?: string | undefined;
776
+ } | {
777
+ type: "function";
778
+ diagramID: string;
779
+ nodeID: string;
780
+ functionID: string;
781
+ diagramName?: string | undefined;
782
+ functionName?: string | undefined;
783
+ } | {
784
+ type: "prompt";
785
+ diagramID: string;
786
+ nodeID: string;
787
+ promptID: string;
788
+ diagramName?: string | undefined;
789
+ } | undefined;
608
790
  }, {
609
791
  title: string;
610
792
  buttons: {
@@ -622,6 +804,52 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
622
804
  text: string;
623
805
  slate?: any[] | undefined;
624
806
  };
807
+ ref?: {
808
+ type: "node";
809
+ diagramID: string;
810
+ nodeID: string;
811
+ nodeType: string;
812
+ diagramName?: string | undefined;
813
+ } | {
814
+ type: "agent";
815
+ diagramID: string;
816
+ nodeID: string;
817
+ agentID: string;
818
+ diagramName?: string | undefined;
819
+ agentName?: string | undefined;
820
+ } | {
821
+ type: "api-tool";
822
+ diagramID: string;
823
+ nodeID: string;
824
+ apiToolID: string;
825
+ diagramName?: string | undefined;
826
+ apiToolName?: string | undefined;
827
+ } | {
828
+ type: "integration-tool";
829
+ diagramID: string;
830
+ nodeID: string;
831
+ integrationToolName: string;
832
+ diagramName?: string | undefined;
833
+ } | {
834
+ type: "mcp-integration-tool";
835
+ diagramID: string;
836
+ nodeID: string;
837
+ mcpToolName: string;
838
+ diagramName?: string | undefined;
839
+ } | {
840
+ type: "function";
841
+ diagramID: string;
842
+ nodeID: string;
843
+ functionID: string;
844
+ diagramName?: string | undefined;
845
+ functionName?: string | undefined;
846
+ } | {
847
+ type: "prompt";
848
+ diagramID: string;
849
+ nodeID: string;
850
+ promptID: string;
851
+ diagramName?: string | undefined;
852
+ } | undefined;
625
853
  }>;
626
854
  }, "strip", z.ZodTypeAny, {
627
855
  type: "cardV2";
@@ -642,6 +870,52 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
642
870
  text: string;
643
871
  slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
644
872
  };
873
+ ref?: {
874
+ type: "node";
875
+ diagramID: string;
876
+ nodeID: string;
877
+ nodeType: string;
878
+ diagramName?: string | undefined;
879
+ } | {
880
+ type: "agent";
881
+ diagramID: string;
882
+ nodeID: string;
883
+ agentID: string;
884
+ diagramName?: string | undefined;
885
+ agentName?: string | undefined;
886
+ } | {
887
+ type: "api-tool";
888
+ diagramID: string;
889
+ nodeID: string;
890
+ apiToolID: string;
891
+ diagramName?: string | undefined;
892
+ apiToolName?: string | undefined;
893
+ } | {
894
+ type: "integration-tool";
895
+ diagramID: string;
896
+ nodeID: string;
897
+ integrationToolName: string;
898
+ diagramName?: string | undefined;
899
+ } | {
900
+ type: "mcp-integration-tool";
901
+ diagramID: string;
902
+ nodeID: string;
903
+ mcpToolName: string;
904
+ diagramName?: string | undefined;
905
+ } | {
906
+ type: "function";
907
+ diagramID: string;
908
+ nodeID: string;
909
+ functionID: string;
910
+ diagramName?: string | undefined;
911
+ functionName?: string | undefined;
912
+ } | {
913
+ type: "prompt";
914
+ diagramID: string;
915
+ nodeID: string;
916
+ promptID: string;
917
+ diagramName?: string | undefined;
918
+ } | undefined;
645
919
  };
646
920
  time?: number | undefined;
647
921
  paths?: {
@@ -653,29 +927,75 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
653
927
  time?: number | undefined;
654
928
  metadata?: Record<string, unknown> | undefined;
655
929
  } | undefined;
656
- }[] | undefined;
657
- defaultPath?: number | undefined;
658
- turnID?: string | undefined;
659
- handleID?: string | undefined;
660
- }, {
661
- type: "cardV2";
662
- payload: {
663
- title: string;
664
- buttons: {
665
- name: string;
666
- request?: {
667
- type: string;
668
- payload?: any;
669
- diagramID?: string | undefined;
670
- time?: number | undefined;
671
- metadata?: Record<string, unknown> | undefined;
672
- } | undefined;
673
- }[];
674
- imageUrl: string | null;
675
- description: {
676
- text: string;
677
- slate?: any[] | undefined;
678
- };
930
+ }[] | undefined;
931
+ defaultPath?: number | undefined;
932
+ turnID?: string | undefined;
933
+ handleID?: string | undefined;
934
+ }, {
935
+ type: "cardV2";
936
+ payload: {
937
+ title: string;
938
+ buttons: {
939
+ name: string;
940
+ request?: {
941
+ type: string;
942
+ payload?: any;
943
+ diagramID?: string | undefined;
944
+ time?: number | undefined;
945
+ metadata?: Record<string, unknown> | undefined;
946
+ } | undefined;
947
+ }[];
948
+ imageUrl: string | null;
949
+ description: {
950
+ text: string;
951
+ slate?: any[] | undefined;
952
+ };
953
+ ref?: {
954
+ type: "node";
955
+ diagramID: string;
956
+ nodeID: string;
957
+ nodeType: string;
958
+ diagramName?: string | undefined;
959
+ } | {
960
+ type: "agent";
961
+ diagramID: string;
962
+ nodeID: string;
963
+ agentID: string;
964
+ diagramName?: string | undefined;
965
+ agentName?: string | undefined;
966
+ } | {
967
+ type: "api-tool";
968
+ diagramID: string;
969
+ nodeID: string;
970
+ apiToolID: string;
971
+ diagramName?: string | undefined;
972
+ apiToolName?: string | undefined;
973
+ } | {
974
+ type: "integration-tool";
975
+ diagramID: string;
976
+ nodeID: string;
977
+ integrationToolName: string;
978
+ diagramName?: string | undefined;
979
+ } | {
980
+ type: "mcp-integration-tool";
981
+ diagramID: string;
982
+ nodeID: string;
983
+ mcpToolName: string;
984
+ diagramName?: string | undefined;
985
+ } | {
986
+ type: "function";
987
+ diagramID: string;
988
+ nodeID: string;
989
+ functionID: string;
990
+ diagramName?: string | undefined;
991
+ functionName?: string | undefined;
992
+ } | {
993
+ type: "prompt";
994
+ diagramID: string;
995
+ nodeID: string;
996
+ promptID: string;
997
+ diagramName?: string | undefined;
998
+ } | undefined;
679
999
  };
680
1000
  time?: number | undefined;
681
1001
  paths?: {
@@ -739,7 +1059,279 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
739
1059
  } & {
740
1060
  type: z.ZodLiteral<"carousel">;
741
1061
  payload: z.ZodObject<{
1062
+ ref: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1063
+ type: z.ZodLiteral<"node">;
1064
+ nodeID: z.ZodString;
1065
+ nodeType: z.ZodString;
1066
+ diagramID: z.ZodString;
1067
+ diagramName: z.ZodOptional<z.ZodString>;
1068
+ }, "strip", z.ZodTypeAny, {
1069
+ type: "node";
1070
+ diagramID: string;
1071
+ nodeID: string;
1072
+ nodeType: string;
1073
+ diagramName?: string | undefined;
1074
+ }, {
1075
+ type: "node";
1076
+ diagramID: string;
1077
+ nodeID: string;
1078
+ nodeType: string;
1079
+ diagramName?: string | undefined;
1080
+ }>, z.ZodObject<{
1081
+ type: z.ZodLiteral<"agent">;
1082
+ nodeID: z.ZodString;
1083
+ agentID: z.ZodString;
1084
+ diagramID: z.ZodString;
1085
+ agentName: z.ZodOptional<z.ZodString>;
1086
+ diagramName: z.ZodOptional<z.ZodString>;
1087
+ }, "strip", z.ZodTypeAny, {
1088
+ type: "agent";
1089
+ diagramID: string;
1090
+ nodeID: string;
1091
+ agentID: string;
1092
+ diagramName?: string | undefined;
1093
+ agentName?: string | undefined;
1094
+ }, {
1095
+ type: "agent";
1096
+ diagramID: string;
1097
+ nodeID: string;
1098
+ agentID: string;
1099
+ diagramName?: string | undefined;
1100
+ agentName?: string | undefined;
1101
+ }>, z.ZodObject<{
1102
+ type: z.ZodLiteral<"prompt">;
1103
+ nodeID: z.ZodString;
1104
+ promptID: z.ZodString;
1105
+ diagramID: z.ZodString;
1106
+ diagramName: z.ZodOptional<z.ZodString>;
1107
+ }, "strip", z.ZodTypeAny, {
1108
+ type: "prompt";
1109
+ diagramID: string;
1110
+ nodeID: string;
1111
+ promptID: string;
1112
+ diagramName?: string | undefined;
1113
+ }, {
1114
+ type: "prompt";
1115
+ diagramID: string;
1116
+ nodeID: string;
1117
+ promptID: string;
1118
+ diagramName?: string | undefined;
1119
+ }>, z.ZodObject<{
1120
+ type: z.ZodLiteral<"api-tool">;
1121
+ nodeID: z.ZodString;
1122
+ diagramID: z.ZodString;
1123
+ apiToolID: z.ZodString;
1124
+ apiToolName: z.ZodOptional<z.ZodString>;
1125
+ diagramName: z.ZodOptional<z.ZodString>;
1126
+ }, "strip", z.ZodTypeAny, {
1127
+ type: "api-tool";
1128
+ diagramID: string;
1129
+ nodeID: string;
1130
+ apiToolID: string;
1131
+ diagramName?: string | undefined;
1132
+ apiToolName?: string | undefined;
1133
+ }, {
1134
+ type: "api-tool";
1135
+ diagramID: string;
1136
+ nodeID: string;
1137
+ apiToolID: string;
1138
+ diagramName?: string | undefined;
1139
+ apiToolName?: string | undefined;
1140
+ }>, z.ZodObject<{
1141
+ type: z.ZodLiteral<"function">;
1142
+ nodeID: z.ZodString;
1143
+ diagramID: z.ZodString;
1144
+ functionID: z.ZodString;
1145
+ functionName: z.ZodOptional<z.ZodString>;
1146
+ diagramName: z.ZodOptional<z.ZodString>;
1147
+ }, "strip", z.ZodTypeAny, {
1148
+ type: "function";
1149
+ diagramID: string;
1150
+ nodeID: string;
1151
+ functionID: string;
1152
+ diagramName?: string | undefined;
1153
+ functionName?: string | undefined;
1154
+ }, {
1155
+ type: "function";
1156
+ diagramID: string;
1157
+ nodeID: string;
1158
+ functionID: string;
1159
+ diagramName?: string | undefined;
1160
+ functionName?: string | undefined;
1161
+ }>, z.ZodObject<{
1162
+ type: z.ZodLiteral<"integration-tool">;
1163
+ nodeID: z.ZodString;
1164
+ diagramID: z.ZodString;
1165
+ diagramName: z.ZodOptional<z.ZodString>;
1166
+ integrationToolName: z.ZodString;
1167
+ }, "strip", z.ZodTypeAny, {
1168
+ type: "integration-tool";
1169
+ diagramID: string;
1170
+ nodeID: string;
1171
+ integrationToolName: string;
1172
+ diagramName?: string | undefined;
1173
+ }, {
1174
+ type: "integration-tool";
1175
+ diagramID: string;
1176
+ nodeID: string;
1177
+ integrationToolName: string;
1178
+ diagramName?: string | undefined;
1179
+ }>, z.ZodObject<{
1180
+ type: z.ZodLiteral<"mcp-integration-tool">;
1181
+ nodeID: z.ZodString;
1182
+ diagramID: z.ZodString;
1183
+ mcpToolName: z.ZodString;
1184
+ diagramName: z.ZodOptional<z.ZodString>;
1185
+ }, "strip", z.ZodTypeAny, {
1186
+ type: "mcp-integration-tool";
1187
+ diagramID: string;
1188
+ nodeID: string;
1189
+ mcpToolName: string;
1190
+ diagramName?: string | undefined;
1191
+ }, {
1192
+ type: "mcp-integration-tool";
1193
+ diagramID: string;
1194
+ nodeID: string;
1195
+ mcpToolName: string;
1196
+ diagramName?: string | undefined;
1197
+ }>]>>;
742
1198
  cards: z.ZodArray<z.ZodObject<{
1199
+ ref: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1200
+ type: z.ZodLiteral<"node">;
1201
+ nodeID: z.ZodString;
1202
+ nodeType: z.ZodString;
1203
+ diagramID: z.ZodString;
1204
+ diagramName: z.ZodOptional<z.ZodString>;
1205
+ }, "strip", z.ZodTypeAny, {
1206
+ type: "node";
1207
+ diagramID: string;
1208
+ nodeID: string;
1209
+ nodeType: string;
1210
+ diagramName?: string | undefined;
1211
+ }, {
1212
+ type: "node";
1213
+ diagramID: string;
1214
+ nodeID: string;
1215
+ nodeType: string;
1216
+ diagramName?: string | undefined;
1217
+ }>, z.ZodObject<{
1218
+ type: z.ZodLiteral<"agent">;
1219
+ nodeID: z.ZodString;
1220
+ agentID: z.ZodString;
1221
+ diagramID: z.ZodString;
1222
+ agentName: z.ZodOptional<z.ZodString>;
1223
+ diagramName: z.ZodOptional<z.ZodString>;
1224
+ }, "strip", z.ZodTypeAny, {
1225
+ type: "agent";
1226
+ diagramID: string;
1227
+ nodeID: string;
1228
+ agentID: string;
1229
+ diagramName?: string | undefined;
1230
+ agentName?: string | undefined;
1231
+ }, {
1232
+ type: "agent";
1233
+ diagramID: string;
1234
+ nodeID: string;
1235
+ agentID: string;
1236
+ diagramName?: string | undefined;
1237
+ agentName?: string | undefined;
1238
+ }>, z.ZodObject<{
1239
+ type: z.ZodLiteral<"prompt">;
1240
+ nodeID: z.ZodString;
1241
+ promptID: z.ZodString;
1242
+ diagramID: z.ZodString;
1243
+ diagramName: z.ZodOptional<z.ZodString>;
1244
+ }, "strip", z.ZodTypeAny, {
1245
+ type: "prompt";
1246
+ diagramID: string;
1247
+ nodeID: string;
1248
+ promptID: string;
1249
+ diagramName?: string | undefined;
1250
+ }, {
1251
+ type: "prompt";
1252
+ diagramID: string;
1253
+ nodeID: string;
1254
+ promptID: string;
1255
+ diagramName?: string | undefined;
1256
+ }>, z.ZodObject<{
1257
+ type: z.ZodLiteral<"api-tool">;
1258
+ nodeID: z.ZodString;
1259
+ diagramID: z.ZodString;
1260
+ apiToolID: z.ZodString;
1261
+ apiToolName: z.ZodOptional<z.ZodString>;
1262
+ diagramName: z.ZodOptional<z.ZodString>;
1263
+ }, "strip", z.ZodTypeAny, {
1264
+ type: "api-tool";
1265
+ diagramID: string;
1266
+ nodeID: string;
1267
+ apiToolID: string;
1268
+ diagramName?: string | undefined;
1269
+ apiToolName?: string | undefined;
1270
+ }, {
1271
+ type: "api-tool";
1272
+ diagramID: string;
1273
+ nodeID: string;
1274
+ apiToolID: string;
1275
+ diagramName?: string | undefined;
1276
+ apiToolName?: string | undefined;
1277
+ }>, z.ZodObject<{
1278
+ type: z.ZodLiteral<"function">;
1279
+ nodeID: z.ZodString;
1280
+ diagramID: z.ZodString;
1281
+ functionID: z.ZodString;
1282
+ functionName: z.ZodOptional<z.ZodString>;
1283
+ diagramName: z.ZodOptional<z.ZodString>;
1284
+ }, "strip", z.ZodTypeAny, {
1285
+ type: "function";
1286
+ diagramID: string;
1287
+ nodeID: string;
1288
+ functionID: string;
1289
+ diagramName?: string | undefined;
1290
+ functionName?: string | undefined;
1291
+ }, {
1292
+ type: "function";
1293
+ diagramID: string;
1294
+ nodeID: string;
1295
+ functionID: string;
1296
+ diagramName?: string | undefined;
1297
+ functionName?: string | undefined;
1298
+ }>, z.ZodObject<{
1299
+ type: z.ZodLiteral<"integration-tool">;
1300
+ nodeID: z.ZodString;
1301
+ diagramID: z.ZodString;
1302
+ diagramName: z.ZodOptional<z.ZodString>;
1303
+ integrationToolName: z.ZodString;
1304
+ }, "strip", z.ZodTypeAny, {
1305
+ type: "integration-tool";
1306
+ diagramID: string;
1307
+ nodeID: string;
1308
+ integrationToolName: string;
1309
+ diagramName?: string | undefined;
1310
+ }, {
1311
+ type: "integration-tool";
1312
+ diagramID: string;
1313
+ nodeID: string;
1314
+ integrationToolName: string;
1315
+ diagramName?: string | undefined;
1316
+ }>, z.ZodObject<{
1317
+ type: z.ZodLiteral<"mcp-integration-tool">;
1318
+ nodeID: z.ZodString;
1319
+ diagramID: z.ZodString;
1320
+ mcpToolName: z.ZodString;
1321
+ diagramName: z.ZodOptional<z.ZodString>;
1322
+ }, "strip", z.ZodTypeAny, {
1323
+ type: "mcp-integration-tool";
1324
+ diagramID: string;
1325
+ nodeID: string;
1326
+ mcpToolName: string;
1327
+ diagramName?: string | undefined;
1328
+ }, {
1329
+ type: "mcp-integration-tool";
1330
+ diagramID: string;
1331
+ nodeID: string;
1332
+ mcpToolName: string;
1333
+ diagramName?: string | undefined;
1334
+ }>]>>;
743
1335
  title: z.ZodString;
744
1336
  buttons: z.ZodArray<z.ZodObject<{
745
1337
  name: z.ZodString;
@@ -812,6 +1404,52 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
812
1404
  slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
813
1405
  };
814
1406
  id?: string | undefined;
1407
+ ref?: {
1408
+ type: "node";
1409
+ diagramID: string;
1410
+ nodeID: string;
1411
+ nodeType: string;
1412
+ diagramName?: string | undefined;
1413
+ } | {
1414
+ type: "agent";
1415
+ diagramID: string;
1416
+ nodeID: string;
1417
+ agentID: string;
1418
+ diagramName?: string | undefined;
1419
+ agentName?: string | undefined;
1420
+ } | {
1421
+ type: "api-tool";
1422
+ diagramID: string;
1423
+ nodeID: string;
1424
+ apiToolID: string;
1425
+ diagramName?: string | undefined;
1426
+ apiToolName?: string | undefined;
1427
+ } | {
1428
+ type: "integration-tool";
1429
+ diagramID: string;
1430
+ nodeID: string;
1431
+ integrationToolName: string;
1432
+ diagramName?: string | undefined;
1433
+ } | {
1434
+ type: "mcp-integration-tool";
1435
+ diagramID: string;
1436
+ nodeID: string;
1437
+ mcpToolName: string;
1438
+ diagramName?: string | undefined;
1439
+ } | {
1440
+ type: "function";
1441
+ diagramID: string;
1442
+ nodeID: string;
1443
+ functionID: string;
1444
+ diagramName?: string | undefined;
1445
+ functionName?: string | undefined;
1446
+ } | {
1447
+ type: "prompt";
1448
+ diagramID: string;
1449
+ nodeID: string;
1450
+ promptID: string;
1451
+ diagramName?: string | undefined;
1452
+ } | undefined;
815
1453
  }, {
816
1454
  title: string;
817
1455
  buttons: {
@@ -830,6 +1468,52 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
830
1468
  slate?: any[] | undefined;
831
1469
  };
832
1470
  id?: string | undefined;
1471
+ ref?: {
1472
+ type: "node";
1473
+ diagramID: string;
1474
+ nodeID: string;
1475
+ nodeType: string;
1476
+ diagramName?: string | undefined;
1477
+ } | {
1478
+ type: "agent";
1479
+ diagramID: string;
1480
+ nodeID: string;
1481
+ agentID: string;
1482
+ diagramName?: string | undefined;
1483
+ agentName?: string | undefined;
1484
+ } | {
1485
+ type: "api-tool";
1486
+ diagramID: string;
1487
+ nodeID: string;
1488
+ apiToolID: string;
1489
+ diagramName?: string | undefined;
1490
+ apiToolName?: string | undefined;
1491
+ } | {
1492
+ type: "integration-tool";
1493
+ diagramID: string;
1494
+ nodeID: string;
1495
+ integrationToolName: string;
1496
+ diagramName?: string | undefined;
1497
+ } | {
1498
+ type: "mcp-integration-tool";
1499
+ diagramID: string;
1500
+ nodeID: string;
1501
+ mcpToolName: string;
1502
+ diagramName?: string | undefined;
1503
+ } | {
1504
+ type: "function";
1505
+ diagramID: string;
1506
+ nodeID: string;
1507
+ functionID: string;
1508
+ diagramName?: string | undefined;
1509
+ functionName?: string | undefined;
1510
+ } | {
1511
+ type: "prompt";
1512
+ diagramID: string;
1513
+ nodeID: string;
1514
+ promptID: string;
1515
+ diagramName?: string | undefined;
1516
+ } | undefined;
833
1517
  }>, "many">;
834
1518
  layout: z.ZodNativeEnum<{
835
1519
  readonly LIST: "List";
@@ -854,8 +1538,100 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
854
1538
  slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
855
1539
  };
856
1540
  id?: string | undefined;
1541
+ ref?: {
1542
+ type: "node";
1543
+ diagramID: string;
1544
+ nodeID: string;
1545
+ nodeType: string;
1546
+ diagramName?: string | undefined;
1547
+ } | {
1548
+ type: "agent";
1549
+ diagramID: string;
1550
+ nodeID: string;
1551
+ agentID: string;
1552
+ diagramName?: string | undefined;
1553
+ agentName?: string | undefined;
1554
+ } | {
1555
+ type: "api-tool";
1556
+ diagramID: string;
1557
+ nodeID: string;
1558
+ apiToolID: string;
1559
+ diagramName?: string | undefined;
1560
+ apiToolName?: string | undefined;
1561
+ } | {
1562
+ type: "integration-tool";
1563
+ diagramID: string;
1564
+ nodeID: string;
1565
+ integrationToolName: string;
1566
+ diagramName?: string | undefined;
1567
+ } | {
1568
+ type: "mcp-integration-tool";
1569
+ diagramID: string;
1570
+ nodeID: string;
1571
+ mcpToolName: string;
1572
+ diagramName?: string | undefined;
1573
+ } | {
1574
+ type: "function";
1575
+ diagramID: string;
1576
+ nodeID: string;
1577
+ functionID: string;
1578
+ diagramName?: string | undefined;
1579
+ functionName?: string | undefined;
1580
+ } | {
1581
+ type: "prompt";
1582
+ diagramID: string;
1583
+ nodeID: string;
1584
+ promptID: string;
1585
+ diagramName?: string | undefined;
1586
+ } | undefined;
857
1587
  }[];
858
1588
  layout: "List" | "Carousel";
1589
+ ref?: {
1590
+ type: "node";
1591
+ diagramID: string;
1592
+ nodeID: string;
1593
+ nodeType: string;
1594
+ diagramName?: string | undefined;
1595
+ } | {
1596
+ type: "agent";
1597
+ diagramID: string;
1598
+ nodeID: string;
1599
+ agentID: string;
1600
+ diagramName?: string | undefined;
1601
+ agentName?: string | undefined;
1602
+ } | {
1603
+ type: "api-tool";
1604
+ diagramID: string;
1605
+ nodeID: string;
1606
+ apiToolID: string;
1607
+ diagramName?: string | undefined;
1608
+ apiToolName?: string | undefined;
1609
+ } | {
1610
+ type: "integration-tool";
1611
+ diagramID: string;
1612
+ nodeID: string;
1613
+ integrationToolName: string;
1614
+ diagramName?: string | undefined;
1615
+ } | {
1616
+ type: "mcp-integration-tool";
1617
+ diagramID: string;
1618
+ nodeID: string;
1619
+ mcpToolName: string;
1620
+ diagramName?: string | undefined;
1621
+ } | {
1622
+ type: "function";
1623
+ diagramID: string;
1624
+ nodeID: string;
1625
+ functionID: string;
1626
+ diagramName?: string | undefined;
1627
+ functionName?: string | undefined;
1628
+ } | {
1629
+ type: "prompt";
1630
+ diagramID: string;
1631
+ nodeID: string;
1632
+ promptID: string;
1633
+ diagramName?: string | undefined;
1634
+ } | undefined;
859
1635
  }, {
860
1636
  cards: {
861
1637
  title: string;
@@ -875,8 +1651,100 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
875
1651
  slate?: any[] | undefined;
876
1652
  };
877
1653
  id?: string | undefined;
1654
+ ref?: {
1655
+ type: "node";
1656
+ diagramID: string;
1657
+ nodeID: string;
1658
+ nodeType: string;
1659
+ diagramName?: string | undefined;
1660
+ } | {
1661
+ type: "agent";
1662
+ diagramID: string;
1663
+ nodeID: string;
1664
+ agentID: string;
1665
+ diagramName?: string | undefined;
1666
+ agentName?: string | undefined;
1667
+ } | {
1668
+ type: "api-tool";
1669
+ diagramID: string;
1670
+ nodeID: string;
1671
+ apiToolID: string;
1672
+ diagramName?: string | undefined;
1673
+ apiToolName?: string | undefined;
1674
+ } | {
1675
+ type: "integration-tool";
1676
+ diagramID: string;
1677
+ nodeID: string;
1678
+ integrationToolName: string;
1679
+ diagramName?: string | undefined;
1680
+ } | {
1681
+ type: "mcp-integration-tool";
1682
+ diagramID: string;
1683
+ nodeID: string;
1684
+ mcpToolName: string;
1685
+ diagramName?: string | undefined;
1686
+ } | {
1687
+ type: "function";
1688
+ diagramID: string;
1689
+ nodeID: string;
1690
+ functionID: string;
1691
+ diagramName?: string | undefined;
1692
+ functionName?: string | undefined;
1693
+ } | {
1694
+ type: "prompt";
1695
+ diagramID: string;
1696
+ nodeID: string;
1697
+ promptID: string;
1698
+ diagramName?: string | undefined;
1699
+ } | undefined;
878
1700
  }[];
879
1701
  layout: "List" | "Carousel";
1702
+ ref?: {
1703
+ type: "node";
1704
+ diagramID: string;
1705
+ nodeID: string;
1706
+ nodeType: string;
1707
+ diagramName?: string | undefined;
1708
+ } | {
1709
+ type: "agent";
1710
+ diagramID: string;
1711
+ nodeID: string;
1712
+ agentID: string;
1713
+ diagramName?: string | undefined;
1714
+ agentName?: string | undefined;
1715
+ } | {
1716
+ type: "api-tool";
1717
+ diagramID: string;
1718
+ nodeID: string;
1719
+ apiToolID: string;
1720
+ diagramName?: string | undefined;
1721
+ apiToolName?: string | undefined;
1722
+ } | {
1723
+ type: "integration-tool";
1724
+ diagramID: string;
1725
+ nodeID: string;
1726
+ integrationToolName: string;
1727
+ diagramName?: string | undefined;
1728
+ } | {
1729
+ type: "mcp-integration-tool";
1730
+ diagramID: string;
1731
+ nodeID: string;
1732
+ mcpToolName: string;
1733
+ diagramName?: string | undefined;
1734
+ } | {
1735
+ type: "function";
1736
+ diagramID: string;
1737
+ nodeID: string;
1738
+ functionID: string;
1739
+ diagramName?: string | undefined;
1740
+ functionName?: string | undefined;
1741
+ } | {
1742
+ type: "prompt";
1743
+ diagramID: string;
1744
+ nodeID: string;
1745
+ promptID: string;
1746
+ diagramName?: string | undefined;
1747
+ } | undefined;
880
1748
  }>;
881
1749
  }, "strip", z.ZodTypeAny, {
882
1750
  type: "carousel";
@@ -899,8 +1767,100 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
899
1767
  slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
900
1768
  };
901
1769
  id?: string | undefined;
1770
+ ref?: {
1771
+ type: "node";
1772
+ diagramID: string;
1773
+ nodeID: string;
1774
+ nodeType: string;
1775
+ diagramName?: string | undefined;
1776
+ } | {
1777
+ type: "agent";
1778
+ diagramID: string;
1779
+ nodeID: string;
1780
+ agentID: string;
1781
+ diagramName?: string | undefined;
1782
+ agentName?: string | undefined;
1783
+ } | {
1784
+ type: "api-tool";
1785
+ diagramID: string;
1786
+ nodeID: string;
1787
+ apiToolID: string;
1788
+ diagramName?: string | undefined;
1789
+ apiToolName?: string | undefined;
1790
+ } | {
1791
+ type: "integration-tool";
1792
+ diagramID: string;
1793
+ nodeID: string;
1794
+ integrationToolName: string;
1795
+ diagramName?: string | undefined;
1796
+ } | {
1797
+ type: "mcp-integration-tool";
1798
+ diagramID: string;
1799
+ nodeID: string;
1800
+ mcpToolName: string;
1801
+ diagramName?: string | undefined;
1802
+ } | {
1803
+ type: "function";
1804
+ diagramID: string;
1805
+ nodeID: string;
1806
+ functionID: string;
1807
+ diagramName?: string | undefined;
1808
+ functionName?: string | undefined;
1809
+ } | {
1810
+ type: "prompt";
1811
+ diagramID: string;
1812
+ nodeID: string;
1813
+ promptID: string;
1814
+ diagramName?: string | undefined;
1815
+ } | undefined;
902
1816
  }[];
903
1817
  layout: "List" | "Carousel";
1818
+ ref?: {
1819
+ type: "node";
1820
+ diagramID: string;
1821
+ nodeID: string;
1822
+ nodeType: string;
1823
+ diagramName?: string | undefined;
1824
+ } | {
1825
+ type: "agent";
1826
+ diagramID: string;
1827
+ nodeID: string;
1828
+ agentID: string;
1829
+ diagramName?: string | undefined;
1830
+ agentName?: string | undefined;
1831
+ } | {
1832
+ type: "api-tool";
1833
+ diagramID: string;
1834
+ nodeID: string;
1835
+ apiToolID: string;
1836
+ diagramName?: string | undefined;
1837
+ apiToolName?: string | undefined;
1838
+ } | {
1839
+ type: "integration-tool";
1840
+ diagramID: string;
1841
+ nodeID: string;
1842
+ integrationToolName: string;
1843
+ diagramName?: string | undefined;
1844
+ } | {
1845
+ type: "mcp-integration-tool";
1846
+ diagramID: string;
1847
+ nodeID: string;
1848
+ mcpToolName: string;
1849
+ diagramName?: string | undefined;
1850
+ } | {
1851
+ type: "function";
1852
+ diagramID: string;
1853
+ nodeID: string;
1854
+ functionID: string;
1855
+ diagramName?: string | undefined;
1856
+ functionName?: string | undefined;
1857
+ } | {
1858
+ type: "prompt";
1859
+ diagramID: string;
1860
+ nodeID: string;
1861
+ promptID: string;
1862
+ diagramName?: string | undefined;
1863
+ } | undefined;
904
1864
  };
905
1865
  time?: number | undefined;
906
1866
  paths?: {
@@ -937,8 +1897,100 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
937
1897
  slate?: any[] | undefined;
938
1898
  };
939
1899
  id?: string | undefined;
1900
+ ref?: {
1901
+ type: "node";
1902
+ diagramID: string;
1903
+ nodeID: string;
1904
+ nodeType: string;
1905
+ diagramName?: string | undefined;
1906
+ } | {
1907
+ type: "agent";
1908
+ diagramID: string;
1909
+ nodeID: string;
1910
+ agentID: string;
1911
+ diagramName?: string | undefined;
1912
+ agentName?: string | undefined;
1913
+ } | {
1914
+ type: "api-tool";
1915
+ diagramID: string;
1916
+ nodeID: string;
1917
+ apiToolID: string;
1918
+ diagramName?: string | undefined;
1919
+ apiToolName?: string | undefined;
1920
+ } | {
1921
+ type: "integration-tool";
1922
+ diagramID: string;
1923
+ nodeID: string;
1924
+ integrationToolName: string;
1925
+ diagramName?: string | undefined;
1926
+ } | {
1927
+ type: "mcp-integration-tool";
1928
+ diagramID: string;
1929
+ nodeID: string;
1930
+ mcpToolName: string;
1931
+ diagramName?: string | undefined;
1932
+ } | {
1933
+ type: "function";
1934
+ diagramID: string;
1935
+ nodeID: string;
1936
+ functionID: string;
1937
+ diagramName?: string | undefined;
1938
+ functionName?: string | undefined;
1939
+ } | {
1940
+ type: "prompt";
1941
+ diagramID: string;
1942
+ nodeID: string;
1943
+ promptID: string;
1944
+ diagramName?: string | undefined;
1945
+ } | undefined;
940
1946
  }[];
941
1947
  layout: "List" | "Carousel";
1948
+ ref?: {
1949
+ type: "node";
1950
+ diagramID: string;
1951
+ nodeID: string;
1952
+ nodeType: string;
1953
+ diagramName?: string | undefined;
1954
+ } | {
1955
+ type: "agent";
1956
+ diagramID: string;
1957
+ nodeID: string;
1958
+ agentID: string;
1959
+ diagramName?: string | undefined;
1960
+ agentName?: string | undefined;
1961
+ } | {
1962
+ type: "api-tool";
1963
+ diagramID: string;
1964
+ nodeID: string;
1965
+ apiToolID: string;
1966
+ diagramName?: string | undefined;
1967
+ apiToolName?: string | undefined;
1968
+ } | {
1969
+ type: "integration-tool";
1970
+ diagramID: string;
1971
+ nodeID: string;
1972
+ integrationToolName: string;
1973
+ diagramName?: string | undefined;
1974
+ } | {
1975
+ type: "mcp-integration-tool";
1976
+ diagramID: string;
1977
+ nodeID: string;
1978
+ mcpToolName: string;
1979
+ diagramName?: string | undefined;
1980
+ } | {
1981
+ type: "function";
1982
+ diagramID: string;
1983
+ nodeID: string;
1984
+ functionID: string;
1985
+ diagramName?: string | undefined;
1986
+ functionName?: string | undefined;
1987
+ } | {
1988
+ type: "prompt";
1989
+ diagramID: string;
1990
+ nodeID: string;
1991
+ promptID: string;
1992
+ diagramName?: string | undefined;
1993
+ } | undefined;
942
1994
  };
943
1995
  time?: number | undefined;
944
1996
  paths?: {
@@ -1061,44 +2113,180 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
1061
2113
  time: z.ZodOptional<z.ZodNumber>;
1062
2114
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1063
2115
  }, "strip", z.ZodTypeAny, {
1064
- type: string;
1065
- payload?: any;
1066
- diagramID?: string | undefined;
1067
- time?: number | undefined;
1068
- metadata?: Record<string, unknown> | undefined;
2116
+ type: string;
2117
+ payload?: any;
2118
+ diagramID?: string | undefined;
2119
+ time?: number | undefined;
2120
+ metadata?: Record<string, unknown> | undefined;
2121
+ }, {
2122
+ type: string;
2123
+ payload?: any;
2124
+ diagramID?: string | undefined;
2125
+ time?: number | undefined;
2126
+ metadata?: Record<string, unknown> | undefined;
2127
+ }>>;
2128
+ }, "strip", z.ZodTypeAny, {
2129
+ label?: string | undefined;
2130
+ event?: {
2131
+ type: string;
2132
+ payload?: any;
2133
+ diagramID?: string | undefined;
2134
+ time?: number | undefined;
2135
+ metadata?: Record<string, unknown> | undefined;
2136
+ } | undefined;
2137
+ }, {
2138
+ label?: string | undefined;
2139
+ event?: {
2140
+ type: string;
2141
+ payload?: any;
2142
+ diagramID?: string | undefined;
2143
+ time?: number | undefined;
2144
+ metadata?: Record<string, unknown> | undefined;
2145
+ } | undefined;
2146
+ }>, "many">>;
2147
+ defaultPath: z.ZodOptional<z.ZodNumber>;
2148
+ time: z.ZodOptional<z.ZodNumber>;
2149
+ turnID: z.ZodOptional<z.ZodString>;
2150
+ handleID: z.ZodOptional<z.ZodString>;
2151
+ } & {
2152
+ type: z.ZodLiteral<"choice">;
2153
+ payload: z.ZodObject<{
2154
+ ref: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2155
+ type: z.ZodLiteral<"node">;
2156
+ nodeID: z.ZodString;
2157
+ nodeType: z.ZodString;
2158
+ diagramID: z.ZodString;
2159
+ diagramName: z.ZodOptional<z.ZodString>;
2160
+ }, "strip", z.ZodTypeAny, {
2161
+ type: "node";
2162
+ diagramID: string;
2163
+ nodeID: string;
2164
+ nodeType: string;
2165
+ diagramName?: string | undefined;
2166
+ }, {
2167
+ type: "node";
2168
+ diagramID: string;
2169
+ nodeID: string;
2170
+ nodeType: string;
2171
+ diagramName?: string | undefined;
2172
+ }>, z.ZodObject<{
2173
+ type: z.ZodLiteral<"agent">;
2174
+ nodeID: z.ZodString;
2175
+ agentID: z.ZodString;
2176
+ diagramID: z.ZodString;
2177
+ agentName: z.ZodOptional<z.ZodString>;
2178
+ diagramName: z.ZodOptional<z.ZodString>;
2179
+ }, "strip", z.ZodTypeAny, {
2180
+ type: "agent";
2181
+ diagramID: string;
2182
+ nodeID: string;
2183
+ agentID: string;
2184
+ diagramName?: string | undefined;
2185
+ agentName?: string | undefined;
2186
+ }, {
2187
+ type: "agent";
2188
+ diagramID: string;
2189
+ nodeID: string;
2190
+ agentID: string;
2191
+ diagramName?: string | undefined;
2192
+ agentName?: string | undefined;
2193
+ }>, z.ZodObject<{
2194
+ type: z.ZodLiteral<"prompt">;
2195
+ nodeID: z.ZodString;
2196
+ promptID: z.ZodString;
2197
+ diagramID: z.ZodString;
2198
+ diagramName: z.ZodOptional<z.ZodString>;
2199
+ }, "strip", z.ZodTypeAny, {
2200
+ type: "prompt";
2201
+ diagramID: string;
2202
+ nodeID: string;
2203
+ promptID: string;
2204
+ diagramName?: string | undefined;
2205
+ }, {
2206
+ type: "prompt";
2207
+ diagramID: string;
2208
+ nodeID: string;
2209
+ promptID: string;
2210
+ diagramName?: string | undefined;
2211
+ }>, z.ZodObject<{
2212
+ type: z.ZodLiteral<"api-tool">;
2213
+ nodeID: z.ZodString;
2214
+ diagramID: z.ZodString;
2215
+ apiToolID: z.ZodString;
2216
+ apiToolName: z.ZodOptional<z.ZodString>;
2217
+ diagramName: z.ZodOptional<z.ZodString>;
2218
+ }, "strip", z.ZodTypeAny, {
2219
+ type: "api-tool";
2220
+ diagramID: string;
2221
+ nodeID: string;
2222
+ apiToolID: string;
2223
+ diagramName?: string | undefined;
2224
+ apiToolName?: string | undefined;
2225
+ }, {
2226
+ type: "api-tool";
2227
+ diagramID: string;
2228
+ nodeID: string;
2229
+ apiToolID: string;
2230
+ diagramName?: string | undefined;
2231
+ apiToolName?: string | undefined;
2232
+ }>, z.ZodObject<{
2233
+ type: z.ZodLiteral<"function">;
2234
+ nodeID: z.ZodString;
2235
+ diagramID: z.ZodString;
2236
+ functionID: z.ZodString;
2237
+ functionName: z.ZodOptional<z.ZodString>;
2238
+ diagramName: z.ZodOptional<z.ZodString>;
2239
+ }, "strip", z.ZodTypeAny, {
2240
+ type: "function";
2241
+ diagramID: string;
2242
+ nodeID: string;
2243
+ functionID: string;
2244
+ diagramName?: string | undefined;
2245
+ functionName?: string | undefined;
2246
+ }, {
2247
+ type: "function";
2248
+ diagramID: string;
2249
+ nodeID: string;
2250
+ functionID: string;
2251
+ diagramName?: string | undefined;
2252
+ functionName?: string | undefined;
2253
+ }>, z.ZodObject<{
2254
+ type: z.ZodLiteral<"integration-tool">;
2255
+ nodeID: z.ZodString;
2256
+ diagramID: z.ZodString;
2257
+ diagramName: z.ZodOptional<z.ZodString>;
2258
+ integrationToolName: z.ZodString;
2259
+ }, "strip", z.ZodTypeAny, {
2260
+ type: "integration-tool";
2261
+ diagramID: string;
2262
+ nodeID: string;
2263
+ integrationToolName: string;
2264
+ diagramName?: string | undefined;
1069
2265
  }, {
1070
- type: string;
1071
- payload?: any;
1072
- diagramID?: string | undefined;
1073
- time?: number | undefined;
1074
- metadata?: Record<string, unknown> | undefined;
1075
- }>>;
1076
- }, "strip", z.ZodTypeAny, {
1077
- label?: string | undefined;
1078
- event?: {
1079
- type: string;
1080
- payload?: any;
1081
- diagramID?: string | undefined;
1082
- time?: number | undefined;
1083
- metadata?: Record<string, unknown> | undefined;
1084
- } | undefined;
1085
- }, {
1086
- label?: string | undefined;
1087
- event?: {
1088
- type: string;
1089
- payload?: any;
1090
- diagramID?: string | undefined;
1091
- time?: number | undefined;
1092
- metadata?: Record<string, unknown> | undefined;
1093
- } | undefined;
1094
- }>, "many">>;
1095
- defaultPath: z.ZodOptional<z.ZodNumber>;
1096
- time: z.ZodOptional<z.ZodNumber>;
1097
- turnID: z.ZodOptional<z.ZodString>;
1098
- handleID: z.ZodOptional<z.ZodString>;
1099
- } & {
1100
- type: z.ZodLiteral<"choice">;
1101
- payload: z.ZodObject<{
2266
+ type: "integration-tool";
2267
+ diagramID: string;
2268
+ nodeID: string;
2269
+ integrationToolName: string;
2270
+ diagramName?: string | undefined;
2271
+ }>, z.ZodObject<{
2272
+ type: z.ZodLiteral<"mcp-integration-tool">;
2273
+ nodeID: z.ZodString;
2274
+ diagramID: z.ZodString;
2275
+ mcpToolName: z.ZodString;
2276
+ diagramName: z.ZodOptional<z.ZodString>;
2277
+ }, "strip", z.ZodTypeAny, {
2278
+ type: "mcp-integration-tool";
2279
+ diagramID: string;
2280
+ nodeID: string;
2281
+ mcpToolName: string;
2282
+ diagramName?: string | undefined;
2283
+ }, {
2284
+ type: "mcp-integration-tool";
2285
+ diagramID: string;
2286
+ nodeID: string;
2287
+ mcpToolName: string;
2288
+ diagramName?: string | undefined;
2289
+ }>]>>;
1102
2290
  buttons: z.ZodArray<z.ZodObject<{
1103
2291
  name: z.ZodString;
1104
2292
  request: z.ZodOptional<z.ZodObject<{
@@ -1150,6 +2338,52 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
1150
2338
  metadata?: Record<string, unknown> | undefined;
1151
2339
  } | undefined;
1152
2340
  }[];
2341
+ ref?: {
2342
+ type: "node";
2343
+ diagramID: string;
2344
+ nodeID: string;
2345
+ nodeType: string;
2346
+ diagramName?: string | undefined;
2347
+ } | {
2348
+ type: "agent";
2349
+ diagramID: string;
2350
+ nodeID: string;
2351
+ agentID: string;
2352
+ diagramName?: string | undefined;
2353
+ agentName?: string | undefined;
2354
+ } | {
2355
+ type: "api-tool";
2356
+ diagramID: string;
2357
+ nodeID: string;
2358
+ apiToolID: string;
2359
+ diagramName?: string | undefined;
2360
+ apiToolName?: string | undefined;
2361
+ } | {
2362
+ type: "integration-tool";
2363
+ diagramID: string;
2364
+ nodeID: string;
2365
+ integrationToolName: string;
2366
+ diagramName?: string | undefined;
2367
+ } | {
2368
+ type: "mcp-integration-tool";
2369
+ diagramID: string;
2370
+ nodeID: string;
2371
+ mcpToolName: string;
2372
+ diagramName?: string | undefined;
2373
+ } | {
2374
+ type: "function";
2375
+ diagramID: string;
2376
+ nodeID: string;
2377
+ functionID: string;
2378
+ diagramName?: string | undefined;
2379
+ functionName?: string | undefined;
2380
+ } | {
2381
+ type: "prompt";
2382
+ diagramID: string;
2383
+ nodeID: string;
2384
+ promptID: string;
2385
+ diagramName?: string | undefined;
2386
+ } | undefined;
1153
2387
  }, {
1154
2388
  buttons: {
1155
2389
  name: string;
@@ -1161,6 +2395,52 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
1161
2395
  metadata?: Record<string, unknown> | undefined;
1162
2396
  } | undefined;
1163
2397
  }[];
2398
+ ref?: {
2399
+ type: "node";
2400
+ diagramID: string;
2401
+ nodeID: string;
2402
+ nodeType: string;
2403
+ diagramName?: string | undefined;
2404
+ } | {
2405
+ type: "agent";
2406
+ diagramID: string;
2407
+ nodeID: string;
2408
+ agentID: string;
2409
+ diagramName?: string | undefined;
2410
+ agentName?: string | undefined;
2411
+ } | {
2412
+ type: "api-tool";
2413
+ diagramID: string;
2414
+ nodeID: string;
2415
+ apiToolID: string;
2416
+ diagramName?: string | undefined;
2417
+ apiToolName?: string | undefined;
2418
+ } | {
2419
+ type: "integration-tool";
2420
+ diagramID: string;
2421
+ nodeID: string;
2422
+ integrationToolName: string;
2423
+ diagramName?: string | undefined;
2424
+ } | {
2425
+ type: "mcp-integration-tool";
2426
+ diagramID: string;
2427
+ nodeID: string;
2428
+ mcpToolName: string;
2429
+ diagramName?: string | undefined;
2430
+ } | {
2431
+ type: "function";
2432
+ diagramID: string;
2433
+ nodeID: string;
2434
+ functionID: string;
2435
+ diagramName?: string | undefined;
2436
+ functionName?: string | undefined;
2437
+ } | {
2438
+ type: "prompt";
2439
+ diagramID: string;
2440
+ nodeID: string;
2441
+ promptID: string;
2442
+ diagramName?: string | undefined;
2443
+ } | undefined;
1164
2444
  }>;
1165
2445
  }, "strip", z.ZodTypeAny, {
1166
2446
  type: "choice";
@@ -1175,6 +2455,52 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
1175
2455
  metadata?: Record<string, unknown> | undefined;
1176
2456
  } | undefined;
1177
2457
  }[];
2458
+ ref?: {
2459
+ type: "node";
2460
+ diagramID: string;
2461
+ nodeID: string;
2462
+ nodeType: string;
2463
+ diagramName?: string | undefined;
2464
+ } | {
2465
+ type: "agent";
2466
+ diagramID: string;
2467
+ nodeID: string;
2468
+ agentID: string;
2469
+ diagramName?: string | undefined;
2470
+ agentName?: string | undefined;
2471
+ } | {
2472
+ type: "api-tool";
2473
+ diagramID: string;
2474
+ nodeID: string;
2475
+ apiToolID: string;
2476
+ diagramName?: string | undefined;
2477
+ apiToolName?: string | undefined;
2478
+ } | {
2479
+ type: "integration-tool";
2480
+ diagramID: string;
2481
+ nodeID: string;
2482
+ integrationToolName: string;
2483
+ diagramName?: string | undefined;
2484
+ } | {
2485
+ type: "mcp-integration-tool";
2486
+ diagramID: string;
2487
+ nodeID: string;
2488
+ mcpToolName: string;
2489
+ diagramName?: string | undefined;
2490
+ } | {
2491
+ type: "function";
2492
+ diagramID: string;
2493
+ nodeID: string;
2494
+ functionID: string;
2495
+ diagramName?: string | undefined;
2496
+ functionName?: string | undefined;
2497
+ } | {
2498
+ type: "prompt";
2499
+ diagramID: string;
2500
+ nodeID: string;
2501
+ promptID: string;
2502
+ diagramName?: string | undefined;
2503
+ } | undefined;
1178
2504
  };
1179
2505
  time?: number | undefined;
1180
2506
  paths?: {
@@ -1203,6 +2529,52 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
1203
2529
  metadata?: Record<string, unknown> | undefined;
1204
2530
  } | undefined;
1205
2531
  }[];
2532
+ ref?: {
2533
+ type: "node";
2534
+ diagramID: string;
2535
+ nodeID: string;
2536
+ nodeType: string;
2537
+ diagramName?: string | undefined;
2538
+ } | {
2539
+ type: "agent";
2540
+ diagramID: string;
2541
+ nodeID: string;
2542
+ agentID: string;
2543
+ diagramName?: string | undefined;
2544
+ agentName?: string | undefined;
2545
+ } | {
2546
+ type: "api-tool";
2547
+ diagramID: string;
2548
+ nodeID: string;
2549
+ apiToolID: string;
2550
+ diagramName?: string | undefined;
2551
+ apiToolName?: string | undefined;
2552
+ } | {
2553
+ type: "integration-tool";
2554
+ diagramID: string;
2555
+ nodeID: string;
2556
+ integrationToolName: string;
2557
+ diagramName?: string | undefined;
2558
+ } | {
2559
+ type: "mcp-integration-tool";
2560
+ diagramID: string;
2561
+ nodeID: string;
2562
+ mcpToolName: string;
2563
+ diagramName?: string | undefined;
2564
+ } | {
2565
+ type: "function";
2566
+ diagramID: string;
2567
+ nodeID: string;
2568
+ functionID: string;
2569
+ diagramName?: string | undefined;
2570
+ functionName?: string | undefined;
2571
+ } | {
2572
+ type: "prompt";
2573
+ diagramID: string;
2574
+ nodeID: string;
2575
+ promptID: string;
2576
+ diagramName?: string | undefined;
2577
+ } | undefined;
1206
2578
  };
1207
2579
  time?: number | undefined;
1208
2580
  paths?: {
@@ -5153,6 +6525,75 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
5153
6525
  defaultPath?: number | undefined;
5154
6526
  turnID?: string | undefined;
5155
6527
  handleID?: string | undefined;
6528
+ } | {
6529
+ type: "debug";
6530
+ payload: {
6531
+ message: string;
6532
+ type?: string | undefined;
6533
+ metadata?: Record<string, unknown> | undefined;
6534
+ ref?: {
6535
+ type: "node";
6536
+ diagramID: string;
6537
+ nodeID: string;
6538
+ nodeType: string;
6539
+ diagramName?: string | undefined;
6540
+ } | {
6541
+ type: "agent";
6542
+ diagramID: string;
6543
+ nodeID: string;
6544
+ agentID: string;
6545
+ diagramName?: string | undefined;
6546
+ agentName?: string | undefined;
6547
+ } | {
6548
+ type: "api-tool";
6549
+ diagramID: string;
6550
+ nodeID: string;
6551
+ apiToolID: string;
6552
+ diagramName?: string | undefined;
6553
+ apiToolName?: string | undefined;
6554
+ } | {
6555
+ type: "integration-tool";
6556
+ diagramID: string;
6557
+ nodeID: string;
6558
+ integrationToolName: string;
6559
+ diagramName?: string | undefined;
6560
+ } | {
6561
+ type: "mcp-integration-tool";
6562
+ diagramID: string;
6563
+ nodeID: string;
6564
+ mcpToolName: string;
6565
+ diagramName?: string | undefined;
6566
+ } | {
6567
+ type: "function";
6568
+ diagramID: string;
6569
+ nodeID: string;
6570
+ functionID: string;
6571
+ diagramName?: string | undefined;
6572
+ functionName?: string | undefined;
6573
+ } | {
6574
+ type: "prompt";
6575
+ diagramID: string;
6576
+ nodeID: string;
6577
+ promptID: string;
6578
+ diagramName?: string | undefined;
6579
+ } | undefined;
6580
+ level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
6581
+ context?: string | undefined;
6582
+ };
6583
+ time?: number | undefined;
6584
+ paths?: {
6585
+ label?: string | undefined;
6586
+ event?: {
6587
+ type: string;
6588
+ payload?: any;
6589
+ diagramID?: string | undefined;
6590
+ time?: number | undefined;
6591
+ metadata?: Record<string, unknown> | undefined;
6592
+ } | undefined;
6593
+ }[] | undefined;
6594
+ defaultPath?: number | undefined;
6595
+ turnID?: string | undefined;
6596
+ handleID?: string | undefined;
5156
6597
  } | {
5157
6598
  type: "cardV2";
5158
6599
  payload: {
@@ -5172,6 +6613,52 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
5172
6613
  text: string;
5173
6614
  slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
5174
6615
  };
6616
+ ref?: {
6617
+ type: "node";
6618
+ diagramID: string;
6619
+ nodeID: string;
6620
+ nodeType: string;
6621
+ diagramName?: string | undefined;
6622
+ } | {
6623
+ type: "agent";
6624
+ diagramID: string;
6625
+ nodeID: string;
6626
+ agentID: string;
6627
+ diagramName?: string | undefined;
6628
+ agentName?: string | undefined;
6629
+ } | {
6630
+ type: "api-tool";
6631
+ diagramID: string;
6632
+ nodeID: string;
6633
+ apiToolID: string;
6634
+ diagramName?: string | undefined;
6635
+ apiToolName?: string | undefined;
6636
+ } | {
6637
+ type: "integration-tool";
6638
+ diagramID: string;
6639
+ nodeID: string;
6640
+ integrationToolName: string;
6641
+ diagramName?: string | undefined;
6642
+ } | {
6643
+ type: "mcp-integration-tool";
6644
+ diagramID: string;
6645
+ nodeID: string;
6646
+ mcpToolName: string;
6647
+ diagramName?: string | undefined;
6648
+ } | {
6649
+ type: "function";
6650
+ diagramID: string;
6651
+ nodeID: string;
6652
+ functionID: string;
6653
+ diagramName?: string | undefined;
6654
+ functionName?: string | undefined;
6655
+ } | {
6656
+ type: "prompt";
6657
+ diagramID: string;
6658
+ nodeID: string;
6659
+ promptID: string;
6660
+ diagramName?: string | undefined;
6661
+ } | undefined;
5175
6662
  };
5176
6663
  time?: number | undefined;
5177
6664
  paths?: {
@@ -5208,8 +6695,100 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
5208
6695
  slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
5209
6696
  };
5210
6697
  id?: string | undefined;
6698
+ ref?: {
6699
+ type: "node";
6700
+ diagramID: string;
6701
+ nodeID: string;
6702
+ nodeType: string;
6703
+ diagramName?: string | undefined;
6704
+ } | {
6705
+ type: "agent";
6706
+ diagramID: string;
6707
+ nodeID: string;
6708
+ agentID: string;
6709
+ diagramName?: string | undefined;
6710
+ agentName?: string | undefined;
6711
+ } | {
6712
+ type: "api-tool";
6713
+ diagramID: string;
6714
+ nodeID: string;
6715
+ apiToolID: string;
6716
+ diagramName?: string | undefined;
6717
+ apiToolName?: string | undefined;
6718
+ } | {
6719
+ type: "integration-tool";
6720
+ diagramID: string;
6721
+ nodeID: string;
6722
+ integrationToolName: string;
6723
+ diagramName?: string | undefined;
6724
+ } | {
6725
+ type: "mcp-integration-tool";
6726
+ diagramID: string;
6727
+ nodeID: string;
6728
+ mcpToolName: string;
6729
+ diagramName?: string | undefined;
6730
+ } | {
6731
+ type: "function";
6732
+ diagramID: string;
6733
+ nodeID: string;
6734
+ functionID: string;
6735
+ diagramName?: string | undefined;
6736
+ functionName?: string | undefined;
6737
+ } | {
6738
+ type: "prompt";
6739
+ diagramID: string;
6740
+ nodeID: string;
6741
+ promptID: string;
6742
+ diagramName?: string | undefined;
6743
+ } | undefined;
5211
6744
  }[];
5212
6745
  layout: "List" | "Carousel";
6746
+ ref?: {
6747
+ type: "node";
6748
+ diagramID: string;
6749
+ nodeID: string;
6750
+ nodeType: string;
6751
+ diagramName?: string | undefined;
6752
+ } | {
6753
+ type: "agent";
6754
+ diagramID: string;
6755
+ nodeID: string;
6756
+ agentID: string;
6757
+ diagramName?: string | undefined;
6758
+ agentName?: string | undefined;
6759
+ } | {
6760
+ type: "api-tool";
6761
+ diagramID: string;
6762
+ nodeID: string;
6763
+ apiToolID: string;
6764
+ diagramName?: string | undefined;
6765
+ apiToolName?: string | undefined;
6766
+ } | {
6767
+ type: "integration-tool";
6768
+ diagramID: string;
6769
+ nodeID: string;
6770
+ integrationToolName: string;
6771
+ diagramName?: string | undefined;
6772
+ } | {
6773
+ type: "mcp-integration-tool";
6774
+ diagramID: string;
6775
+ nodeID: string;
6776
+ mcpToolName: string;
6777
+ diagramName?: string | undefined;
6778
+ } | {
6779
+ type: "function";
6780
+ diagramID: string;
6781
+ nodeID: string;
6782
+ functionID: string;
6783
+ diagramName?: string | undefined;
6784
+ functionName?: string | undefined;
6785
+ } | {
6786
+ type: "prompt";
6787
+ diagramID: string;
6788
+ nodeID: string;
6789
+ promptID: string;
6790
+ diagramName?: string | undefined;
6791
+ } | undefined;
5213
6792
  };
5214
6793
  time?: number | undefined;
5215
6794
  paths?: {
@@ -5258,27 +6837,6 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
5258
6837
  metadata?: Record<string, unknown> | undefined;
5259
6838
  } | undefined;
5260
6839
  }[];
5261
- };
5262
- time?: number | undefined;
5263
- paths?: {
5264
- label?: string | undefined;
5265
- event?: {
5266
- type: string;
5267
- payload?: any;
5268
- diagramID?: string | undefined;
5269
- time?: number | undefined;
5270
- metadata?: Record<string, unknown> | undefined;
5271
- } | undefined;
5272
- }[] | undefined;
5273
- defaultPath?: number | undefined;
5274
- turnID?: string | undefined;
5275
- handleID?: string | undefined;
5276
- } | {
5277
- type: "debug";
5278
- payload: {
5279
- message: string;
5280
- type?: string | undefined;
5281
- metadata?: Record<string, unknown> | undefined;
5282
6840
  ref?: {
5283
6841
  type: "node";
5284
6842
  diagramID: string;
@@ -5325,8 +6883,6 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
5325
6883
  promptID: string;
5326
6884
  diagramName?: string | undefined;
5327
6885
  } | undefined;
5328
- level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
5329
- context?: string | undefined;
5330
6886
  };
5331
6887
  time?: number | undefined;
5332
6888
  paths?: {
@@ -6001,19 +7557,88 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
6001
7557
  time?: number | undefined;
6002
7558
  metadata?: Record<string, unknown> | undefined;
6003
7559
  } | undefined;
6004
- }[] | undefined;
6005
- defaultPath?: number | undefined;
6006
- turnID?: string | undefined;
6007
- handleID?: string | undefined;
6008
- } | {
6009
- type: "call-forward";
6010
- payload: {
6011
- addressType: "phone";
6012
- address: string;
6013
- extension?: string | undefined;
6014
- } | {
6015
- addressType: "sip";
6016
- address: string;
7560
+ }[] | undefined;
7561
+ defaultPath?: number | undefined;
7562
+ turnID?: string | undefined;
7563
+ handleID?: string | undefined;
7564
+ } | {
7565
+ type: "call-forward";
7566
+ payload: {
7567
+ addressType: "phone";
7568
+ address: string;
7569
+ extension?: string | undefined;
7570
+ } | {
7571
+ addressType: "sip";
7572
+ address: string;
7573
+ };
7574
+ time?: number | undefined;
7575
+ paths?: {
7576
+ label?: string | undefined;
7577
+ event?: {
7578
+ type: string;
7579
+ payload?: any;
7580
+ diagramID?: string | undefined;
7581
+ time?: number | undefined;
7582
+ metadata?: Record<string, unknown> | undefined;
7583
+ } | undefined;
7584
+ }[] | undefined;
7585
+ defaultPath?: number | undefined;
7586
+ turnID?: string | undefined;
7587
+ handleID?: string | undefined;
7588
+ } | {
7589
+ type: "debug";
7590
+ payload: {
7591
+ message: string;
7592
+ type?: string | undefined;
7593
+ metadata?: Record<string, unknown> | undefined;
7594
+ ref?: {
7595
+ type: "node";
7596
+ diagramID: string;
7597
+ nodeID: string;
7598
+ nodeType: string;
7599
+ diagramName?: string | undefined;
7600
+ } | {
7601
+ type: "agent";
7602
+ diagramID: string;
7603
+ nodeID: string;
7604
+ agentID: string;
7605
+ diagramName?: string | undefined;
7606
+ agentName?: string | undefined;
7607
+ } | {
7608
+ type: "api-tool";
7609
+ diagramID: string;
7610
+ nodeID: string;
7611
+ apiToolID: string;
7612
+ diagramName?: string | undefined;
7613
+ apiToolName?: string | undefined;
7614
+ } | {
7615
+ type: "integration-tool";
7616
+ diagramID: string;
7617
+ nodeID: string;
7618
+ integrationToolName: string;
7619
+ diagramName?: string | undefined;
7620
+ } | {
7621
+ type: "mcp-integration-tool";
7622
+ diagramID: string;
7623
+ nodeID: string;
7624
+ mcpToolName: string;
7625
+ diagramName?: string | undefined;
7626
+ } | {
7627
+ type: "function";
7628
+ diagramID: string;
7629
+ nodeID: string;
7630
+ functionID: string;
7631
+ diagramName?: string | undefined;
7632
+ functionName?: string | undefined;
7633
+ } | {
7634
+ type: "prompt";
7635
+ diagramID: string;
7636
+ nodeID: string;
7637
+ promptID: string;
7638
+ diagramName?: string | undefined;
7639
+ } | undefined;
7640
+ level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
7641
+ context?: string | undefined;
6017
7642
  };
6018
7643
  time?: number | undefined;
6019
7644
  paths?: {
@@ -6048,6 +7673,52 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
6048
7673
  text: string;
6049
7674
  slate?: any[] | undefined;
6050
7675
  };
7676
+ ref?: {
7677
+ type: "node";
7678
+ diagramID: string;
7679
+ nodeID: string;
7680
+ nodeType: string;
7681
+ diagramName?: string | undefined;
7682
+ } | {
7683
+ type: "agent";
7684
+ diagramID: string;
7685
+ nodeID: string;
7686
+ agentID: string;
7687
+ diagramName?: string | undefined;
7688
+ agentName?: string | undefined;
7689
+ } | {
7690
+ type: "api-tool";
7691
+ diagramID: string;
7692
+ nodeID: string;
7693
+ apiToolID: string;
7694
+ diagramName?: string | undefined;
7695
+ apiToolName?: string | undefined;
7696
+ } | {
7697
+ type: "integration-tool";
7698
+ diagramID: string;
7699
+ nodeID: string;
7700
+ integrationToolName: string;
7701
+ diagramName?: string | undefined;
7702
+ } | {
7703
+ type: "mcp-integration-tool";
7704
+ diagramID: string;
7705
+ nodeID: string;
7706
+ mcpToolName: string;
7707
+ diagramName?: string | undefined;
7708
+ } | {
7709
+ type: "function";
7710
+ diagramID: string;
7711
+ nodeID: string;
7712
+ functionID: string;
7713
+ diagramName?: string | undefined;
7714
+ functionName?: string | undefined;
7715
+ } | {
7716
+ type: "prompt";
7717
+ diagramID: string;
7718
+ nodeID: string;
7719
+ promptID: string;
7720
+ diagramName?: string | undefined;
7721
+ } | undefined;
6051
7722
  };
6052
7723
  time?: number | undefined;
6053
7724
  paths?: {
@@ -6084,8 +7755,100 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
6084
7755
  slate?: any[] | undefined;
6085
7756
  };
6086
7757
  id?: string | undefined;
7758
+ ref?: {
7759
+ type: "node";
7760
+ diagramID: string;
7761
+ nodeID: string;
7762
+ nodeType: string;
7763
+ diagramName?: string | undefined;
7764
+ } | {
7765
+ type: "agent";
7766
+ diagramID: string;
7767
+ nodeID: string;
7768
+ agentID: string;
7769
+ diagramName?: string | undefined;
7770
+ agentName?: string | undefined;
7771
+ } | {
7772
+ type: "api-tool";
7773
+ diagramID: string;
7774
+ nodeID: string;
7775
+ apiToolID: string;
7776
+ diagramName?: string | undefined;
7777
+ apiToolName?: string | undefined;
7778
+ } | {
7779
+ type: "integration-tool";
7780
+ diagramID: string;
7781
+ nodeID: string;
7782
+ integrationToolName: string;
7783
+ diagramName?: string | undefined;
7784
+ } | {
7785
+ type: "mcp-integration-tool";
7786
+ diagramID: string;
7787
+ nodeID: string;
7788
+ mcpToolName: string;
7789
+ diagramName?: string | undefined;
7790
+ } | {
7791
+ type: "function";
7792
+ diagramID: string;
7793
+ nodeID: string;
7794
+ functionID: string;
7795
+ diagramName?: string | undefined;
7796
+ functionName?: string | undefined;
7797
+ } | {
7798
+ type: "prompt";
7799
+ diagramID: string;
7800
+ nodeID: string;
7801
+ promptID: string;
7802
+ diagramName?: string | undefined;
7803
+ } | undefined;
6087
7804
  }[];
6088
7805
  layout: "List" | "Carousel";
7806
+ ref?: {
7807
+ type: "node";
7808
+ diagramID: string;
7809
+ nodeID: string;
7810
+ nodeType: string;
7811
+ diagramName?: string | undefined;
7812
+ } | {
7813
+ type: "agent";
7814
+ diagramID: string;
7815
+ nodeID: string;
7816
+ agentID: string;
7817
+ diagramName?: string | undefined;
7818
+ agentName?: string | undefined;
7819
+ } | {
7820
+ type: "api-tool";
7821
+ diagramID: string;
7822
+ nodeID: string;
7823
+ apiToolID: string;
7824
+ diagramName?: string | undefined;
7825
+ apiToolName?: string | undefined;
7826
+ } | {
7827
+ type: "integration-tool";
7828
+ diagramID: string;
7829
+ nodeID: string;
7830
+ integrationToolName: string;
7831
+ diagramName?: string | undefined;
7832
+ } | {
7833
+ type: "mcp-integration-tool";
7834
+ diagramID: string;
7835
+ nodeID: string;
7836
+ mcpToolName: string;
7837
+ diagramName?: string | undefined;
7838
+ } | {
7839
+ type: "function";
7840
+ diagramID: string;
7841
+ nodeID: string;
7842
+ functionID: string;
7843
+ diagramName?: string | undefined;
7844
+ functionName?: string | undefined;
7845
+ } | {
7846
+ type: "prompt";
7847
+ diagramID: string;
7848
+ nodeID: string;
7849
+ promptID: string;
7850
+ diagramName?: string | undefined;
7851
+ } | undefined;
6089
7852
  };
6090
7853
  time?: number | undefined;
6091
7854
  paths?: {
@@ -6134,27 +7897,6 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
6134
7897
  metadata?: Record<string, unknown> | undefined;
6135
7898
  } | undefined;
6136
7899
  }[];
6137
- };
6138
- time?: number | undefined;
6139
- paths?: {
6140
- label?: string | undefined;
6141
- event?: {
6142
- type: string;
6143
- payload?: any;
6144
- diagramID?: string | undefined;
6145
- time?: number | undefined;
6146
- metadata?: Record<string, unknown> | undefined;
6147
- } | undefined;
6148
- }[] | undefined;
6149
- defaultPath?: number | undefined;
6150
- turnID?: string | undefined;
6151
- handleID?: string | undefined;
6152
- } | {
6153
- type: "debug";
6154
- payload: {
6155
- message: string;
6156
- type?: string | undefined;
6157
- metadata?: Record<string, unknown> | undefined;
6158
7900
  ref?: {
6159
7901
  type: "node";
6160
7902
  diagramID: string;
@@ -6201,8 +7943,6 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
6201
7943
  promptID: string;
6202
7944
  diagramName?: string | undefined;
6203
7945
  } | undefined;
6204
- level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
6205
- context?: string | undefined;
6206
7946
  };
6207
7947
  time?: number | undefined;
6208
7948
  paths?: {
@@ -6908,6 +8648,75 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
6908
8648
  defaultPath?: number | undefined;
6909
8649
  turnID?: string | undefined;
6910
8650
  handleID?: string | undefined;
8651
+ } | {
8652
+ type: "debug";
8653
+ payload: {
8654
+ message: string;
8655
+ type?: string | undefined;
8656
+ metadata?: Record<string, unknown> | undefined;
8657
+ ref?: {
8658
+ type: "node";
8659
+ diagramID: string;
8660
+ nodeID: string;
8661
+ nodeType: string;
8662
+ diagramName?: string | undefined;
8663
+ } | {
8664
+ type: "agent";
8665
+ diagramID: string;
8666
+ nodeID: string;
8667
+ agentID: string;
8668
+ diagramName?: string | undefined;
8669
+ agentName?: string | undefined;
8670
+ } | {
8671
+ type: "api-tool";
8672
+ diagramID: string;
8673
+ nodeID: string;
8674
+ apiToolID: string;
8675
+ diagramName?: string | undefined;
8676
+ apiToolName?: string | undefined;
8677
+ } | {
8678
+ type: "integration-tool";
8679
+ diagramID: string;
8680
+ nodeID: string;
8681
+ integrationToolName: string;
8682
+ diagramName?: string | undefined;
8683
+ } | {
8684
+ type: "mcp-integration-tool";
8685
+ diagramID: string;
8686
+ nodeID: string;
8687
+ mcpToolName: string;
8688
+ diagramName?: string | undefined;
8689
+ } | {
8690
+ type: "function";
8691
+ diagramID: string;
8692
+ nodeID: string;
8693
+ functionID: string;
8694
+ diagramName?: string | undefined;
8695
+ functionName?: string | undefined;
8696
+ } | {
8697
+ type: "prompt";
8698
+ diagramID: string;
8699
+ nodeID: string;
8700
+ promptID: string;
8701
+ diagramName?: string | undefined;
8702
+ } | undefined;
8703
+ level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
8704
+ context?: string | undefined;
8705
+ };
8706
+ time?: number | undefined;
8707
+ paths?: {
8708
+ label?: string | undefined;
8709
+ event?: {
8710
+ type: string;
8711
+ payload?: any;
8712
+ diagramID?: string | undefined;
8713
+ time?: number | undefined;
8714
+ metadata?: Record<string, unknown> | undefined;
8715
+ } | undefined;
8716
+ }[] | undefined;
8717
+ defaultPath?: number | undefined;
8718
+ turnID?: string | undefined;
8719
+ handleID?: string | undefined;
6911
8720
  } | {
6912
8721
  type: "cardV2";
6913
8722
  payload: {
@@ -6927,6 +8736,52 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
6927
8736
  text: string;
6928
8737
  slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
6929
8738
  };
8739
+ ref?: {
8740
+ type: "node";
8741
+ diagramID: string;
8742
+ nodeID: string;
8743
+ nodeType: string;
8744
+ diagramName?: string | undefined;
8745
+ } | {
8746
+ type: "agent";
8747
+ diagramID: string;
8748
+ nodeID: string;
8749
+ agentID: string;
8750
+ diagramName?: string | undefined;
8751
+ agentName?: string | undefined;
8752
+ } | {
8753
+ type: "api-tool";
8754
+ diagramID: string;
8755
+ nodeID: string;
8756
+ apiToolID: string;
8757
+ diagramName?: string | undefined;
8758
+ apiToolName?: string | undefined;
8759
+ } | {
8760
+ type: "integration-tool";
8761
+ diagramID: string;
8762
+ nodeID: string;
8763
+ integrationToolName: string;
8764
+ diagramName?: string | undefined;
8765
+ } | {
8766
+ type: "mcp-integration-tool";
8767
+ diagramID: string;
8768
+ nodeID: string;
8769
+ mcpToolName: string;
8770
+ diagramName?: string | undefined;
8771
+ } | {
8772
+ type: "function";
8773
+ diagramID: string;
8774
+ nodeID: string;
8775
+ functionID: string;
8776
+ diagramName?: string | undefined;
8777
+ functionName?: string | undefined;
8778
+ } | {
8779
+ type: "prompt";
8780
+ diagramID: string;
8781
+ nodeID: string;
8782
+ promptID: string;
8783
+ diagramName?: string | undefined;
8784
+ } | undefined;
6930
8785
  };
6931
8786
  time?: number | undefined;
6932
8787
  paths?: {
@@ -6963,8 +8818,100 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
6963
8818
  slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
6964
8819
  };
6965
8820
  id?: string | undefined;
8821
+ ref?: {
8822
+ type: "node";
8823
+ diagramID: string;
8824
+ nodeID: string;
8825
+ nodeType: string;
8826
+ diagramName?: string | undefined;
8827
+ } | {
8828
+ type: "agent";
8829
+ diagramID: string;
8830
+ nodeID: string;
8831
+ agentID: string;
8832
+ diagramName?: string | undefined;
8833
+ agentName?: string | undefined;
8834
+ } | {
8835
+ type: "api-tool";
8836
+ diagramID: string;
8837
+ nodeID: string;
8838
+ apiToolID: string;
8839
+ diagramName?: string | undefined;
8840
+ apiToolName?: string | undefined;
8841
+ } | {
8842
+ type: "integration-tool";
8843
+ diagramID: string;
8844
+ nodeID: string;
8845
+ integrationToolName: string;
8846
+ diagramName?: string | undefined;
8847
+ } | {
8848
+ type: "mcp-integration-tool";
8849
+ diagramID: string;
8850
+ nodeID: string;
8851
+ mcpToolName: string;
8852
+ diagramName?: string | undefined;
8853
+ } | {
8854
+ type: "function";
8855
+ diagramID: string;
8856
+ nodeID: string;
8857
+ functionID: string;
8858
+ diagramName?: string | undefined;
8859
+ functionName?: string | undefined;
8860
+ } | {
8861
+ type: "prompt";
8862
+ diagramID: string;
8863
+ nodeID: string;
8864
+ promptID: string;
8865
+ diagramName?: string | undefined;
8866
+ } | undefined;
6966
8867
  }[];
6967
8868
  layout: "List" | "Carousel";
8869
+ ref?: {
8870
+ type: "node";
8871
+ diagramID: string;
8872
+ nodeID: string;
8873
+ nodeType: string;
8874
+ diagramName?: string | undefined;
8875
+ } | {
8876
+ type: "agent";
8877
+ diagramID: string;
8878
+ nodeID: string;
8879
+ agentID: string;
8880
+ diagramName?: string | undefined;
8881
+ agentName?: string | undefined;
8882
+ } | {
8883
+ type: "api-tool";
8884
+ diagramID: string;
8885
+ nodeID: string;
8886
+ apiToolID: string;
8887
+ diagramName?: string | undefined;
8888
+ apiToolName?: string | undefined;
8889
+ } | {
8890
+ type: "integration-tool";
8891
+ diagramID: string;
8892
+ nodeID: string;
8893
+ integrationToolName: string;
8894
+ diagramName?: string | undefined;
8895
+ } | {
8896
+ type: "mcp-integration-tool";
8897
+ diagramID: string;
8898
+ nodeID: string;
8899
+ mcpToolName: string;
8900
+ diagramName?: string | undefined;
8901
+ } | {
8902
+ type: "function";
8903
+ diagramID: string;
8904
+ nodeID: string;
8905
+ functionID: string;
8906
+ diagramName?: string | undefined;
8907
+ functionName?: string | undefined;
8908
+ } | {
8909
+ type: "prompt";
8910
+ diagramID: string;
8911
+ nodeID: string;
8912
+ promptID: string;
8913
+ diagramName?: string | undefined;
8914
+ } | undefined;
6968
8915
  };
6969
8916
  time?: number | undefined;
6970
8917
  paths?: {
@@ -7013,27 +8960,6 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
7013
8960
  metadata?: Record<string, unknown> | undefined;
7014
8961
  } | undefined;
7015
8962
  }[];
7016
- };
7017
- time?: number | undefined;
7018
- paths?: {
7019
- label?: string | undefined;
7020
- event?: {
7021
- type: string;
7022
- payload?: any;
7023
- diagramID?: string | undefined;
7024
- time?: number | undefined;
7025
- metadata?: Record<string, unknown> | undefined;
7026
- } | undefined;
7027
- }[] | undefined;
7028
- defaultPath?: number | undefined;
7029
- turnID?: string | undefined;
7030
- handleID?: string | undefined;
7031
- } | {
7032
- type: "debug";
7033
- payload: {
7034
- message: string;
7035
- type?: string | undefined;
7036
- metadata?: Record<string, unknown> | undefined;
7037
8963
  ref?: {
7038
8964
  type: "node";
7039
8965
  diagramID: string;
@@ -7080,8 +9006,6 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
7080
9006
  promptID: string;
7081
9007
  diagramName?: string | undefined;
7082
9008
  } | undefined;
7083
- level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
7084
- context?: string | undefined;
7085
9009
  };
7086
9010
  time?: number | undefined;
7087
9011
  paths?: {
@@ -7787,6 +9711,75 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
7787
9711
  defaultPath?: number | undefined;
7788
9712
  turnID?: string | undefined;
7789
9713
  handleID?: string | undefined;
9714
+ } | {
9715
+ type: "debug";
9716
+ payload: {
9717
+ message: string;
9718
+ type?: string | undefined;
9719
+ metadata?: Record<string, unknown> | undefined;
9720
+ ref?: {
9721
+ type: "node";
9722
+ diagramID: string;
9723
+ nodeID: string;
9724
+ nodeType: string;
9725
+ diagramName?: string | undefined;
9726
+ } | {
9727
+ type: "agent";
9728
+ diagramID: string;
9729
+ nodeID: string;
9730
+ agentID: string;
9731
+ diagramName?: string | undefined;
9732
+ agentName?: string | undefined;
9733
+ } | {
9734
+ type: "api-tool";
9735
+ diagramID: string;
9736
+ nodeID: string;
9737
+ apiToolID: string;
9738
+ diagramName?: string | undefined;
9739
+ apiToolName?: string | undefined;
9740
+ } | {
9741
+ type: "integration-tool";
9742
+ diagramID: string;
9743
+ nodeID: string;
9744
+ integrationToolName: string;
9745
+ diagramName?: string | undefined;
9746
+ } | {
9747
+ type: "mcp-integration-tool";
9748
+ diagramID: string;
9749
+ nodeID: string;
9750
+ mcpToolName: string;
9751
+ diagramName?: string | undefined;
9752
+ } | {
9753
+ type: "function";
9754
+ diagramID: string;
9755
+ nodeID: string;
9756
+ functionID: string;
9757
+ diagramName?: string | undefined;
9758
+ functionName?: string | undefined;
9759
+ } | {
9760
+ type: "prompt";
9761
+ diagramID: string;
9762
+ nodeID: string;
9763
+ promptID: string;
9764
+ diagramName?: string | undefined;
9765
+ } | undefined;
9766
+ level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
9767
+ context?: string | undefined;
9768
+ };
9769
+ time?: number | undefined;
9770
+ paths?: {
9771
+ label?: string | undefined;
9772
+ event?: {
9773
+ type: string;
9774
+ payload?: any;
9775
+ diagramID?: string | undefined;
9776
+ time?: number | undefined;
9777
+ metadata?: Record<string, unknown> | undefined;
9778
+ } | undefined;
9779
+ }[] | undefined;
9780
+ defaultPath?: number | undefined;
9781
+ turnID?: string | undefined;
9782
+ handleID?: string | undefined;
7790
9783
  } | {
7791
9784
  type: "cardV2";
7792
9785
  payload: {
@@ -7806,6 +9799,52 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
7806
9799
  text: string;
7807
9800
  slate?: any[] | undefined;
7808
9801
  };
9802
+ ref?: {
9803
+ type: "node";
9804
+ diagramID: string;
9805
+ nodeID: string;
9806
+ nodeType: string;
9807
+ diagramName?: string | undefined;
9808
+ } | {
9809
+ type: "agent";
9810
+ diagramID: string;
9811
+ nodeID: string;
9812
+ agentID: string;
9813
+ diagramName?: string | undefined;
9814
+ agentName?: string | undefined;
9815
+ } | {
9816
+ type: "api-tool";
9817
+ diagramID: string;
9818
+ nodeID: string;
9819
+ apiToolID: string;
9820
+ diagramName?: string | undefined;
9821
+ apiToolName?: string | undefined;
9822
+ } | {
9823
+ type: "integration-tool";
9824
+ diagramID: string;
9825
+ nodeID: string;
9826
+ integrationToolName: string;
9827
+ diagramName?: string | undefined;
9828
+ } | {
9829
+ type: "mcp-integration-tool";
9830
+ diagramID: string;
9831
+ nodeID: string;
9832
+ mcpToolName: string;
9833
+ diagramName?: string | undefined;
9834
+ } | {
9835
+ type: "function";
9836
+ diagramID: string;
9837
+ nodeID: string;
9838
+ functionID: string;
9839
+ diagramName?: string | undefined;
9840
+ functionName?: string | undefined;
9841
+ } | {
9842
+ type: "prompt";
9843
+ diagramID: string;
9844
+ nodeID: string;
9845
+ promptID: string;
9846
+ diagramName?: string | undefined;
9847
+ } | undefined;
7809
9848
  };
7810
9849
  time?: number | undefined;
7811
9850
  paths?: {
@@ -7842,8 +9881,100 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
7842
9881
  slate?: any[] | undefined;
7843
9882
  };
7844
9883
  id?: string | undefined;
9884
+ ref?: {
9885
+ type: "node";
9886
+ diagramID: string;
9887
+ nodeID: string;
9888
+ nodeType: string;
9889
+ diagramName?: string | undefined;
9890
+ } | {
9891
+ type: "agent";
9892
+ diagramID: string;
9893
+ nodeID: string;
9894
+ agentID: string;
9895
+ diagramName?: string | undefined;
9896
+ agentName?: string | undefined;
9897
+ } | {
9898
+ type: "api-tool";
9899
+ diagramID: string;
9900
+ nodeID: string;
9901
+ apiToolID: string;
9902
+ diagramName?: string | undefined;
9903
+ apiToolName?: string | undefined;
9904
+ } | {
9905
+ type: "integration-tool";
9906
+ diagramID: string;
9907
+ nodeID: string;
9908
+ integrationToolName: string;
9909
+ diagramName?: string | undefined;
9910
+ } | {
9911
+ type: "mcp-integration-tool";
9912
+ diagramID: string;
9913
+ nodeID: string;
9914
+ mcpToolName: string;
9915
+ diagramName?: string | undefined;
9916
+ } | {
9917
+ type: "function";
9918
+ diagramID: string;
9919
+ nodeID: string;
9920
+ functionID: string;
9921
+ diagramName?: string | undefined;
9922
+ functionName?: string | undefined;
9923
+ } | {
9924
+ type: "prompt";
9925
+ diagramID: string;
9926
+ nodeID: string;
9927
+ promptID: string;
9928
+ diagramName?: string | undefined;
9929
+ } | undefined;
7845
9930
  }[];
7846
9931
  layout: "List" | "Carousel";
9932
+ ref?: {
9933
+ type: "node";
9934
+ diagramID: string;
9935
+ nodeID: string;
9936
+ nodeType: string;
9937
+ diagramName?: string | undefined;
9938
+ } | {
9939
+ type: "agent";
9940
+ diagramID: string;
9941
+ nodeID: string;
9942
+ agentID: string;
9943
+ diagramName?: string | undefined;
9944
+ agentName?: string | undefined;
9945
+ } | {
9946
+ type: "api-tool";
9947
+ diagramID: string;
9948
+ nodeID: string;
9949
+ apiToolID: string;
9950
+ diagramName?: string | undefined;
9951
+ apiToolName?: string | undefined;
9952
+ } | {
9953
+ type: "integration-tool";
9954
+ diagramID: string;
9955
+ nodeID: string;
9956
+ integrationToolName: string;
9957
+ diagramName?: string | undefined;
9958
+ } | {
9959
+ type: "mcp-integration-tool";
9960
+ diagramID: string;
9961
+ nodeID: string;
9962
+ mcpToolName: string;
9963
+ diagramName?: string | undefined;
9964
+ } | {
9965
+ type: "function";
9966
+ diagramID: string;
9967
+ nodeID: string;
9968
+ functionID: string;
9969
+ diagramName?: string | undefined;
9970
+ functionName?: string | undefined;
9971
+ } | {
9972
+ type: "prompt";
9973
+ diagramID: string;
9974
+ nodeID: string;
9975
+ promptID: string;
9976
+ diagramName?: string | undefined;
9977
+ } | undefined;
7847
9978
  };
7848
9979
  time?: number | undefined;
7849
9980
  paths?: {
@@ -7892,27 +10023,6 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
7892
10023
  metadata?: Record<string, unknown> | undefined;
7893
10024
  } | undefined;
7894
10025
  }[];
7895
- };
7896
- time?: number | undefined;
7897
- paths?: {
7898
- label?: string | undefined;
7899
- event?: {
7900
- type: string;
7901
- payload?: any;
7902
- diagramID?: string | undefined;
7903
- time?: number | undefined;
7904
- metadata?: Record<string, unknown> | undefined;
7905
- } | undefined;
7906
- }[] | undefined;
7907
- defaultPath?: number | undefined;
7908
- turnID?: string | undefined;
7909
- handleID?: string | undefined;
7910
- } | {
7911
- type: "debug";
7912
- payload: {
7913
- message: string;
7914
- type?: string | undefined;
7915
- metadata?: Record<string, unknown> | undefined;
7916
10026
  ref?: {
7917
10027
  type: "node";
7918
10028
  diagramID: string;
@@ -7959,8 +10069,6 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
7959
10069
  promptID: string;
7960
10070
  diagramName?: string | undefined;
7961
10071
  } | undefined;
7962
- level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
7963
- context?: string | undefined;
7964
10072
  };
7965
10073
  time?: number | undefined;
7966
10074
  paths?: {