@voiceflow/dtos-interact 1.64.0 → 1.65.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.
@@ -5641,66 +5641,78 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
5641
5641
  nodeID: z.ZodString;
5642
5642
  nodeType: z.ZodString;
5643
5643
  diagramID: z.ZodString;
5644
+ diagramName: z.ZodOptional<z.ZodString>;
5644
5645
  }, "strip", z.ZodTypeAny, {
5645
5646
  type: "node";
5646
5647
  diagramID: string;
5647
5648
  nodeID: string;
5648
5649
  nodeType: string;
5650
+ diagramName?: string | undefined;
5649
5651
  }, {
5650
5652
  type: "node";
5651
5653
  diagramID: string;
5652
5654
  nodeID: string;
5653
5655
  nodeType: string;
5656
+ diagramName?: string | undefined;
5654
5657
  }>, z.ZodObject<{
5655
5658
  type: z.ZodLiteral<"agent">;
5656
5659
  nodeID: z.ZodString;
5657
5660
  agentID: z.ZodString;
5658
5661
  diagramID: z.ZodString;
5659
5662
  agentName: z.ZodOptional<z.ZodString>;
5663
+ diagramName: z.ZodOptional<z.ZodString>;
5660
5664
  }, "strip", z.ZodTypeAny, {
5661
5665
  type: "agent";
5662
5666
  diagramID: string;
5663
5667
  nodeID: string;
5664
5668
  agentID: string;
5669
+ diagramName?: string | undefined;
5665
5670
  agentName?: string | undefined;
5666
5671
  }, {
5667
5672
  type: "agent";
5668
5673
  diagramID: string;
5669
5674
  nodeID: string;
5670
5675
  agentID: string;
5676
+ diagramName?: string | undefined;
5671
5677
  agentName?: string | undefined;
5672
5678
  }>, z.ZodObject<{
5673
5679
  type: z.ZodLiteral<"prompt">;
5674
5680
  nodeID: z.ZodString;
5675
5681
  promptID: z.ZodString;
5676
5682
  diagramID: z.ZodString;
5683
+ diagramName: z.ZodOptional<z.ZodString>;
5677
5684
  }, "strip", z.ZodTypeAny, {
5678
5685
  type: "prompt";
5679
5686
  diagramID: string;
5680
5687
  nodeID: string;
5681
5688
  promptID: string;
5689
+ diagramName?: string | undefined;
5682
5690
  }, {
5683
5691
  type: "prompt";
5684
5692
  diagramID: string;
5685
5693
  nodeID: string;
5686
5694
  promptID: string;
5695
+ diagramName?: string | undefined;
5687
5696
  }>, z.ZodObject<{
5688
5697
  type: z.ZodLiteral<"api-tool">;
5689
5698
  nodeID: z.ZodString;
5690
5699
  diagramID: z.ZodString;
5691
5700
  apiToolID: z.ZodString;
5692
5701
  apiToolName: z.ZodOptional<z.ZodString>;
5702
+ diagramName: z.ZodOptional<z.ZodString>;
5693
5703
  }, "strip", z.ZodTypeAny, {
5694
5704
  type: "api-tool";
5695
5705
  diagramID: string;
5696
5706
  nodeID: string;
5697
5707
  apiToolID: string;
5708
+ diagramName?: string | undefined;
5698
5709
  apiToolName?: string | undefined;
5699
5710
  }, {
5700
5711
  type: "api-tool";
5701
5712
  diagramID: string;
5702
5713
  nodeID: string;
5703
5714
  apiToolID: string;
5715
+ diagramName?: string | undefined;
5704
5716
  apiToolName?: string | undefined;
5705
5717
  }>, z.ZodObject<{
5706
5718
  type: z.ZodLiteral<"function">;
@@ -5708,48 +5720,57 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
5708
5720
  diagramID: z.ZodString;
5709
5721
  functionID: z.ZodString;
5710
5722
  functionName: z.ZodOptional<z.ZodString>;
5723
+ diagramName: z.ZodOptional<z.ZodString>;
5711
5724
  }, "strip", z.ZodTypeAny, {
5712
5725
  type: "function";
5713
5726
  diagramID: string;
5714
5727
  nodeID: string;
5715
5728
  functionID: string;
5729
+ diagramName?: string | undefined;
5716
5730
  functionName?: string | undefined;
5717
5731
  }, {
5718
5732
  type: "function";
5719
5733
  diagramID: string;
5720
5734
  nodeID: string;
5721
5735
  functionID: string;
5736
+ diagramName?: string | undefined;
5722
5737
  functionName?: string | undefined;
5723
5738
  }>, z.ZodObject<{
5724
5739
  type: z.ZodLiteral<"integration-tool">;
5725
5740
  nodeID: z.ZodString;
5726
5741
  diagramID: z.ZodString;
5742
+ diagramName: z.ZodOptional<z.ZodString>;
5727
5743
  integrationToolName: z.ZodString;
5728
5744
  }, "strip", z.ZodTypeAny, {
5729
5745
  type: "integration-tool";
5730
5746
  diagramID: string;
5731
5747
  nodeID: string;
5732
5748
  integrationToolName: string;
5749
+ diagramName?: string | undefined;
5733
5750
  }, {
5734
5751
  type: "integration-tool";
5735
5752
  diagramID: string;
5736
5753
  nodeID: string;
5737
5754
  integrationToolName: string;
5755
+ diagramName?: string | undefined;
5738
5756
  }>, z.ZodObject<{
5739
5757
  type: z.ZodLiteral<"mcp-integration-tool">;
5740
5758
  nodeID: z.ZodString;
5741
5759
  diagramID: z.ZodString;
5742
5760
  mcpToolName: z.ZodString;
5761
+ diagramName: z.ZodOptional<z.ZodString>;
5743
5762
  }, "strip", z.ZodTypeAny, {
5744
5763
  type: "mcp-integration-tool";
5745
5764
  diagramID: string;
5746
5765
  nodeID: string;
5747
5766
  mcpToolName: string;
5767
+ diagramName?: string | undefined;
5748
5768
  }, {
5749
5769
  type: "mcp-integration-tool";
5750
5770
  diagramID: string;
5751
5771
  nodeID: string;
5752
5772
  mcpToolName: string;
5773
+ diagramName?: string | undefined;
5753
5774
  }>]>>;
5754
5775
  }, "strip", z.ZodTypeAny, {
5755
5776
  messageID: string;
@@ -5761,39 +5782,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
5761
5782
  diagramID: string;
5762
5783
  nodeID: string;
5763
5784
  nodeType: string;
5785
+ diagramName?: string | undefined;
5764
5786
  } | {
5765
5787
  type: "agent";
5766
5788
  diagramID: string;
5767
5789
  nodeID: string;
5768
5790
  agentID: string;
5791
+ diagramName?: string | undefined;
5769
5792
  agentName?: string | undefined;
5770
5793
  } | {
5771
5794
  type: "api-tool";
5772
5795
  diagramID: string;
5773
5796
  nodeID: string;
5774
5797
  apiToolID: string;
5798
+ diagramName?: string | undefined;
5775
5799
  apiToolName?: string | undefined;
5776
5800
  } | {
5777
5801
  type: "integration-tool";
5778
5802
  diagramID: string;
5779
5803
  nodeID: string;
5780
5804
  integrationToolName: string;
5805
+ diagramName?: string | undefined;
5781
5806
  } | {
5782
5807
  type: "mcp-integration-tool";
5783
5808
  diagramID: string;
5784
5809
  nodeID: string;
5785
5810
  mcpToolName: string;
5811
+ diagramName?: string | undefined;
5786
5812
  } | {
5787
5813
  type: "function";
5788
5814
  diagramID: string;
5789
5815
  nodeID: string;
5790
5816
  functionID: string;
5817
+ diagramName?: string | undefined;
5791
5818
  functionName?: string | undefined;
5792
5819
  } | {
5793
5820
  type: "prompt";
5794
5821
  diagramID: string;
5795
5822
  nodeID: string;
5796
5823
  promptID: string;
5824
+ diagramName?: string | undefined;
5797
5825
  } | undefined;
5798
5826
  sourceUrls?: {
5799
5827
  url: string;
@@ -5809,39 +5837,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
5809
5837
  diagramID: string;
5810
5838
  nodeID: string;
5811
5839
  nodeType: string;
5840
+ diagramName?: string | undefined;
5812
5841
  } | {
5813
5842
  type: "agent";
5814
5843
  diagramID: string;
5815
5844
  nodeID: string;
5816
5845
  agentID: string;
5846
+ diagramName?: string | undefined;
5817
5847
  agentName?: string | undefined;
5818
5848
  } | {
5819
5849
  type: "api-tool";
5820
5850
  diagramID: string;
5821
5851
  nodeID: string;
5822
5852
  apiToolID: string;
5853
+ diagramName?: string | undefined;
5823
5854
  apiToolName?: string | undefined;
5824
5855
  } | {
5825
5856
  type: "integration-tool";
5826
5857
  diagramID: string;
5827
5858
  nodeID: string;
5828
5859
  integrationToolName: string;
5860
+ diagramName?: string | undefined;
5829
5861
  } | {
5830
5862
  type: "mcp-integration-tool";
5831
5863
  diagramID: string;
5832
5864
  nodeID: string;
5833
5865
  mcpToolName: string;
5866
+ diagramName?: string | undefined;
5834
5867
  } | {
5835
5868
  type: "function";
5836
5869
  diagramID: string;
5837
5870
  nodeID: string;
5838
5871
  functionID: string;
5872
+ diagramName?: string | undefined;
5839
5873
  functionName?: string | undefined;
5840
5874
  } | {
5841
5875
  type: "prompt";
5842
5876
  diagramID: string;
5843
5877
  nodeID: string;
5844
5878
  promptID: string;
5879
+ diagramName?: string | undefined;
5845
5880
  } | undefined;
5846
5881
  sourceUrls?: {
5847
5882
  url: string;
@@ -5863,66 +5898,78 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
5863
5898
  nodeID: z.ZodString;
5864
5899
  nodeType: z.ZodString;
5865
5900
  diagramID: z.ZodString;
5901
+ diagramName: z.ZodOptional<z.ZodString>;
5866
5902
  }, "strip", z.ZodTypeAny, {
5867
5903
  type: "node";
5868
5904
  diagramID: string;
5869
5905
  nodeID: string;
5870
5906
  nodeType: string;
5907
+ diagramName?: string | undefined;
5871
5908
  }, {
5872
5909
  type: "node";
5873
5910
  diagramID: string;
5874
5911
  nodeID: string;
5875
5912
  nodeType: string;
5913
+ diagramName?: string | undefined;
5876
5914
  }>, z.ZodObject<{
5877
5915
  type: z.ZodLiteral<"agent">;
5878
5916
  nodeID: z.ZodString;
5879
5917
  agentID: z.ZodString;
5880
5918
  diagramID: z.ZodString;
5881
5919
  agentName: z.ZodOptional<z.ZodString>;
5920
+ diagramName: z.ZodOptional<z.ZodString>;
5882
5921
  }, "strip", z.ZodTypeAny, {
5883
5922
  type: "agent";
5884
5923
  diagramID: string;
5885
5924
  nodeID: string;
5886
5925
  agentID: string;
5926
+ diagramName?: string | undefined;
5887
5927
  agentName?: string | undefined;
5888
5928
  }, {
5889
5929
  type: "agent";
5890
5930
  diagramID: string;
5891
5931
  nodeID: string;
5892
5932
  agentID: string;
5933
+ diagramName?: string | undefined;
5893
5934
  agentName?: string | undefined;
5894
5935
  }>, z.ZodObject<{
5895
5936
  type: z.ZodLiteral<"prompt">;
5896
5937
  nodeID: z.ZodString;
5897
5938
  promptID: z.ZodString;
5898
5939
  diagramID: z.ZodString;
5940
+ diagramName: z.ZodOptional<z.ZodString>;
5899
5941
  }, "strip", z.ZodTypeAny, {
5900
5942
  type: "prompt";
5901
5943
  diagramID: string;
5902
5944
  nodeID: string;
5903
5945
  promptID: string;
5946
+ diagramName?: string | undefined;
5904
5947
  }, {
5905
5948
  type: "prompt";
5906
5949
  diagramID: string;
5907
5950
  nodeID: string;
5908
5951
  promptID: string;
5952
+ diagramName?: string | undefined;
5909
5953
  }>, z.ZodObject<{
5910
5954
  type: z.ZodLiteral<"api-tool">;
5911
5955
  nodeID: z.ZodString;
5912
5956
  diagramID: z.ZodString;
5913
5957
  apiToolID: z.ZodString;
5914
5958
  apiToolName: z.ZodOptional<z.ZodString>;
5959
+ diagramName: z.ZodOptional<z.ZodString>;
5915
5960
  }, "strip", z.ZodTypeAny, {
5916
5961
  type: "api-tool";
5917
5962
  diagramID: string;
5918
5963
  nodeID: string;
5919
5964
  apiToolID: string;
5965
+ diagramName?: string | undefined;
5920
5966
  apiToolName?: string | undefined;
5921
5967
  }, {
5922
5968
  type: "api-tool";
5923
5969
  diagramID: string;
5924
5970
  nodeID: string;
5925
5971
  apiToolID: string;
5972
+ diagramName?: string | undefined;
5926
5973
  apiToolName?: string | undefined;
5927
5974
  }>, z.ZodObject<{
5928
5975
  type: z.ZodLiteral<"function">;
@@ -5930,48 +5977,57 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
5930
5977
  diagramID: z.ZodString;
5931
5978
  functionID: z.ZodString;
5932
5979
  functionName: z.ZodOptional<z.ZodString>;
5980
+ diagramName: z.ZodOptional<z.ZodString>;
5933
5981
  }, "strip", z.ZodTypeAny, {
5934
5982
  type: "function";
5935
5983
  diagramID: string;
5936
5984
  nodeID: string;
5937
5985
  functionID: string;
5986
+ diagramName?: string | undefined;
5938
5987
  functionName?: string | undefined;
5939
5988
  }, {
5940
5989
  type: "function";
5941
5990
  diagramID: string;
5942
5991
  nodeID: string;
5943
5992
  functionID: string;
5993
+ diagramName?: string | undefined;
5944
5994
  functionName?: string | undefined;
5945
5995
  }>, z.ZodObject<{
5946
5996
  type: z.ZodLiteral<"integration-tool">;
5947
5997
  nodeID: z.ZodString;
5948
5998
  diagramID: z.ZodString;
5999
+ diagramName: z.ZodOptional<z.ZodString>;
5949
6000
  integrationToolName: z.ZodString;
5950
6001
  }, "strip", z.ZodTypeAny, {
5951
6002
  type: "integration-tool";
5952
6003
  diagramID: string;
5953
6004
  nodeID: string;
5954
6005
  integrationToolName: string;
6006
+ diagramName?: string | undefined;
5955
6007
  }, {
5956
6008
  type: "integration-tool";
5957
6009
  diagramID: string;
5958
6010
  nodeID: string;
5959
6011
  integrationToolName: string;
6012
+ diagramName?: string | undefined;
5960
6013
  }>, z.ZodObject<{
5961
6014
  type: z.ZodLiteral<"mcp-integration-tool">;
5962
6015
  nodeID: z.ZodString;
5963
6016
  diagramID: z.ZodString;
5964
6017
  mcpToolName: z.ZodString;
6018
+ diagramName: z.ZodOptional<z.ZodString>;
5965
6019
  }, "strip", z.ZodTypeAny, {
5966
6020
  type: "mcp-integration-tool";
5967
6021
  diagramID: string;
5968
6022
  nodeID: string;
5969
6023
  mcpToolName: string;
6024
+ diagramName?: string | undefined;
5970
6025
  }, {
5971
6026
  type: "mcp-integration-tool";
5972
6027
  diagramID: string;
5973
6028
  nodeID: string;
5974
6029
  mcpToolName: string;
6030
+ diagramName?: string | undefined;
5975
6031
  }>]>>;
5976
6032
  }, "strip", z.ZodTypeAny, {
5977
6033
  state: "end";
@@ -5980,39 +6036,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
5980
6036
  diagramID: string;
5981
6037
  nodeID: string;
5982
6038
  nodeType: string;
6039
+ diagramName?: string | undefined;
5983
6040
  } | {
5984
6041
  type: "agent";
5985
6042
  diagramID: string;
5986
6043
  nodeID: string;
5987
6044
  agentID: string;
6045
+ diagramName?: string | undefined;
5988
6046
  agentName?: string | undefined;
5989
6047
  } | {
5990
6048
  type: "api-tool";
5991
6049
  diagramID: string;
5992
6050
  nodeID: string;
5993
6051
  apiToolID: string;
6052
+ diagramName?: string | undefined;
5994
6053
  apiToolName?: string | undefined;
5995
6054
  } | {
5996
6055
  type: "integration-tool";
5997
6056
  diagramID: string;
5998
6057
  nodeID: string;
5999
6058
  integrationToolName: string;
6059
+ diagramName?: string | undefined;
6000
6060
  } | {
6001
6061
  type: "mcp-integration-tool";
6002
6062
  diagramID: string;
6003
6063
  nodeID: string;
6004
6064
  mcpToolName: string;
6065
+ diagramName?: string | undefined;
6005
6066
  } | {
6006
6067
  type: "function";
6007
6068
  diagramID: string;
6008
6069
  nodeID: string;
6009
6070
  functionID: string;
6071
+ diagramName?: string | undefined;
6010
6072
  functionName?: string | undefined;
6011
6073
  } | {
6012
6074
  type: "prompt";
6013
6075
  diagramID: string;
6014
6076
  nodeID: string;
6015
6077
  promptID: string;
6078
+ diagramName?: string | undefined;
6016
6079
  } | undefined;
6017
6080
  }, {
6018
6081
  state: "end";
@@ -6021,39 +6084,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6021
6084
  diagramID: string;
6022
6085
  nodeID: string;
6023
6086
  nodeType: string;
6087
+ diagramName?: string | undefined;
6024
6088
  } | {
6025
6089
  type: "agent";
6026
6090
  diagramID: string;
6027
6091
  nodeID: string;
6028
6092
  agentID: string;
6093
+ diagramName?: string | undefined;
6029
6094
  agentName?: string | undefined;
6030
6095
  } | {
6031
6096
  type: "api-tool";
6032
6097
  diagramID: string;
6033
6098
  nodeID: string;
6034
6099
  apiToolID: string;
6100
+ diagramName?: string | undefined;
6035
6101
  apiToolName?: string | undefined;
6036
6102
  } | {
6037
6103
  type: "integration-tool";
6038
6104
  diagramID: string;
6039
6105
  nodeID: string;
6040
6106
  integrationToolName: string;
6107
+ diagramName?: string | undefined;
6041
6108
  } | {
6042
6109
  type: "mcp-integration-tool";
6043
6110
  diagramID: string;
6044
6111
  nodeID: string;
6045
6112
  mcpToolName: string;
6113
+ diagramName?: string | undefined;
6046
6114
  } | {
6047
6115
  type: "function";
6048
6116
  diagramID: string;
6049
6117
  nodeID: string;
6050
6118
  functionID: string;
6119
+ diagramName?: string | undefined;
6051
6120
  functionName?: string | undefined;
6052
6121
  } | {
6053
6122
  type: "prompt";
6054
6123
  diagramID: string;
6055
6124
  nodeID: string;
6056
6125
  promptID: string;
6126
+ diagramName?: string | undefined;
6057
6127
  } | undefined;
6058
6128
  }>]>;
6059
6129
  }, "strip", z.ZodTypeAny, {
@@ -6068,39 +6138,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6068
6138
  diagramID: string;
6069
6139
  nodeID: string;
6070
6140
  nodeType: string;
6141
+ diagramName?: string | undefined;
6071
6142
  } | {
6072
6143
  type: "agent";
6073
6144
  diagramID: string;
6074
6145
  nodeID: string;
6075
6146
  agentID: string;
6147
+ diagramName?: string | undefined;
6076
6148
  agentName?: string | undefined;
6077
6149
  } | {
6078
6150
  type: "api-tool";
6079
6151
  diagramID: string;
6080
6152
  nodeID: string;
6081
6153
  apiToolID: string;
6154
+ diagramName?: string | undefined;
6082
6155
  apiToolName?: string | undefined;
6083
6156
  } | {
6084
6157
  type: "integration-tool";
6085
6158
  diagramID: string;
6086
6159
  nodeID: string;
6087
6160
  integrationToolName: string;
6161
+ diagramName?: string | undefined;
6088
6162
  } | {
6089
6163
  type: "mcp-integration-tool";
6090
6164
  diagramID: string;
6091
6165
  nodeID: string;
6092
6166
  mcpToolName: string;
6167
+ diagramName?: string | undefined;
6093
6168
  } | {
6094
6169
  type: "function";
6095
6170
  diagramID: string;
6096
6171
  nodeID: string;
6097
6172
  functionID: string;
6173
+ diagramName?: string | undefined;
6098
6174
  functionName?: string | undefined;
6099
6175
  } | {
6100
6176
  type: "prompt";
6101
6177
  diagramID: string;
6102
6178
  nodeID: string;
6103
6179
  promptID: string;
6180
+ diagramName?: string | undefined;
6104
6181
  } | undefined;
6105
6182
  sourceUrls?: {
6106
6183
  url: string;
@@ -6116,39 +6193,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6116
6193
  diagramID: string;
6117
6194
  nodeID: string;
6118
6195
  nodeType: string;
6196
+ diagramName?: string | undefined;
6119
6197
  } | {
6120
6198
  type: "agent";
6121
6199
  diagramID: string;
6122
6200
  nodeID: string;
6123
6201
  agentID: string;
6202
+ diagramName?: string | undefined;
6124
6203
  agentName?: string | undefined;
6125
6204
  } | {
6126
6205
  type: "api-tool";
6127
6206
  diagramID: string;
6128
6207
  nodeID: string;
6129
6208
  apiToolID: string;
6209
+ diagramName?: string | undefined;
6130
6210
  apiToolName?: string | undefined;
6131
6211
  } | {
6132
6212
  type: "integration-tool";
6133
6213
  diagramID: string;
6134
6214
  nodeID: string;
6135
6215
  integrationToolName: string;
6216
+ diagramName?: string | undefined;
6136
6217
  } | {
6137
6218
  type: "mcp-integration-tool";
6138
6219
  diagramID: string;
6139
6220
  nodeID: string;
6140
6221
  mcpToolName: string;
6222
+ diagramName?: string | undefined;
6141
6223
  } | {
6142
6224
  type: "function";
6143
6225
  diagramID: string;
6144
6226
  nodeID: string;
6145
6227
  functionID: string;
6228
+ diagramName?: string | undefined;
6146
6229
  functionName?: string | undefined;
6147
6230
  } | {
6148
6231
  type: "prompt";
6149
6232
  diagramID: string;
6150
6233
  nodeID: string;
6151
6234
  promptID: string;
6235
+ diagramName?: string | undefined;
6152
6236
  } | undefined;
6153
6237
  };
6154
6238
  time?: number | undefined;
@@ -6177,39 +6261,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6177
6261
  diagramID: string;
6178
6262
  nodeID: string;
6179
6263
  nodeType: string;
6264
+ diagramName?: string | undefined;
6180
6265
  } | {
6181
6266
  type: "agent";
6182
6267
  diagramID: string;
6183
6268
  nodeID: string;
6184
6269
  agentID: string;
6270
+ diagramName?: string | undefined;
6185
6271
  agentName?: string | undefined;
6186
6272
  } | {
6187
6273
  type: "api-tool";
6188
6274
  diagramID: string;
6189
6275
  nodeID: string;
6190
6276
  apiToolID: string;
6277
+ diagramName?: string | undefined;
6191
6278
  apiToolName?: string | undefined;
6192
6279
  } | {
6193
6280
  type: "integration-tool";
6194
6281
  diagramID: string;
6195
6282
  nodeID: string;
6196
6283
  integrationToolName: string;
6284
+ diagramName?: string | undefined;
6197
6285
  } | {
6198
6286
  type: "mcp-integration-tool";
6199
6287
  diagramID: string;
6200
6288
  nodeID: string;
6201
6289
  mcpToolName: string;
6290
+ diagramName?: string | undefined;
6202
6291
  } | {
6203
6292
  type: "function";
6204
6293
  diagramID: string;
6205
6294
  nodeID: string;
6206
6295
  functionID: string;
6296
+ diagramName?: string | undefined;
6207
6297
  functionName?: string | undefined;
6208
6298
  } | {
6209
6299
  type: "prompt";
6210
6300
  diagramID: string;
6211
6301
  nodeID: string;
6212
6302
  promptID: string;
6303
+ diagramName?: string | undefined;
6213
6304
  } | undefined;
6214
6305
  sourceUrls?: {
6215
6306
  url: string;
@@ -6225,39 +6316,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6225
6316
  diagramID: string;
6226
6317
  nodeID: string;
6227
6318
  nodeType: string;
6319
+ diagramName?: string | undefined;
6228
6320
  } | {
6229
6321
  type: "agent";
6230
6322
  diagramID: string;
6231
6323
  nodeID: string;
6232
6324
  agentID: string;
6325
+ diagramName?: string | undefined;
6233
6326
  agentName?: string | undefined;
6234
6327
  } | {
6235
6328
  type: "api-tool";
6236
6329
  diagramID: string;
6237
6330
  nodeID: string;
6238
6331
  apiToolID: string;
6332
+ diagramName?: string | undefined;
6239
6333
  apiToolName?: string | undefined;
6240
6334
  } | {
6241
6335
  type: "integration-tool";
6242
6336
  diagramID: string;
6243
6337
  nodeID: string;
6244
6338
  integrationToolName: string;
6339
+ diagramName?: string | undefined;
6245
6340
  } | {
6246
6341
  type: "mcp-integration-tool";
6247
6342
  diagramID: string;
6248
6343
  nodeID: string;
6249
6344
  mcpToolName: string;
6345
+ diagramName?: string | undefined;
6250
6346
  } | {
6251
6347
  type: "function";
6252
6348
  diagramID: string;
6253
6349
  nodeID: string;
6254
6350
  functionID: string;
6351
+ diagramName?: string | undefined;
6255
6352
  functionName?: string | undefined;
6256
6353
  } | {
6257
6354
  type: "prompt";
6258
6355
  diagramID: string;
6259
6356
  nodeID: string;
6260
6357
  promptID: string;
6358
+ diagramName?: string | undefined;
6261
6359
  } | undefined;
6262
6360
  };
6263
6361
  time?: number | undefined;
@@ -6327,66 +6425,78 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6327
6425
  nodeID: z.ZodString;
6328
6426
  nodeType: z.ZodString;
6329
6427
  diagramID: z.ZodString;
6428
+ diagramName: z.ZodOptional<z.ZodString>;
6330
6429
  }, "strip", z.ZodTypeAny, {
6331
6430
  type: "node";
6332
6431
  diagramID: string;
6333
6432
  nodeID: string;
6334
6433
  nodeType: string;
6434
+ diagramName?: string | undefined;
6335
6435
  }, {
6336
6436
  type: "node";
6337
6437
  diagramID: string;
6338
6438
  nodeID: string;
6339
6439
  nodeType: string;
6440
+ diagramName?: string | undefined;
6340
6441
  }>, z.ZodObject<{
6341
6442
  type: z.ZodLiteral<"agent">;
6342
6443
  nodeID: z.ZodString;
6343
6444
  agentID: z.ZodString;
6344
6445
  diagramID: z.ZodString;
6345
6446
  agentName: z.ZodOptional<z.ZodString>;
6447
+ diagramName: z.ZodOptional<z.ZodString>;
6346
6448
  }, "strip", z.ZodTypeAny, {
6347
6449
  type: "agent";
6348
6450
  diagramID: string;
6349
6451
  nodeID: string;
6350
6452
  agentID: string;
6453
+ diagramName?: string | undefined;
6351
6454
  agentName?: string | undefined;
6352
6455
  }, {
6353
6456
  type: "agent";
6354
6457
  diagramID: string;
6355
6458
  nodeID: string;
6356
6459
  agentID: string;
6460
+ diagramName?: string | undefined;
6357
6461
  agentName?: string | undefined;
6358
6462
  }>, z.ZodObject<{
6359
6463
  type: z.ZodLiteral<"prompt">;
6360
6464
  nodeID: z.ZodString;
6361
6465
  promptID: z.ZodString;
6362
6466
  diagramID: z.ZodString;
6467
+ diagramName: z.ZodOptional<z.ZodString>;
6363
6468
  }, "strip", z.ZodTypeAny, {
6364
6469
  type: "prompt";
6365
6470
  diagramID: string;
6366
6471
  nodeID: string;
6367
6472
  promptID: string;
6473
+ diagramName?: string | undefined;
6368
6474
  }, {
6369
6475
  type: "prompt";
6370
6476
  diagramID: string;
6371
6477
  nodeID: string;
6372
6478
  promptID: string;
6479
+ diagramName?: string | undefined;
6373
6480
  }>, z.ZodObject<{
6374
6481
  type: z.ZodLiteral<"api-tool">;
6375
6482
  nodeID: z.ZodString;
6376
6483
  diagramID: z.ZodString;
6377
6484
  apiToolID: z.ZodString;
6378
6485
  apiToolName: z.ZodOptional<z.ZodString>;
6486
+ diagramName: z.ZodOptional<z.ZodString>;
6379
6487
  }, "strip", z.ZodTypeAny, {
6380
6488
  type: "api-tool";
6381
6489
  diagramID: string;
6382
6490
  nodeID: string;
6383
6491
  apiToolID: string;
6492
+ diagramName?: string | undefined;
6384
6493
  apiToolName?: string | undefined;
6385
6494
  }, {
6386
6495
  type: "api-tool";
6387
6496
  diagramID: string;
6388
6497
  nodeID: string;
6389
6498
  apiToolID: string;
6499
+ diagramName?: string | undefined;
6390
6500
  apiToolName?: string | undefined;
6391
6501
  }>, z.ZodObject<{
6392
6502
  type: z.ZodLiteral<"function">;
@@ -6394,48 +6504,57 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6394
6504
  diagramID: z.ZodString;
6395
6505
  functionID: z.ZodString;
6396
6506
  functionName: z.ZodOptional<z.ZodString>;
6507
+ diagramName: z.ZodOptional<z.ZodString>;
6397
6508
  }, "strip", z.ZodTypeAny, {
6398
6509
  type: "function";
6399
6510
  diagramID: string;
6400
6511
  nodeID: string;
6401
6512
  functionID: string;
6513
+ diagramName?: string | undefined;
6402
6514
  functionName?: string | undefined;
6403
6515
  }, {
6404
6516
  type: "function";
6405
6517
  diagramID: string;
6406
6518
  nodeID: string;
6407
6519
  functionID: string;
6520
+ diagramName?: string | undefined;
6408
6521
  functionName?: string | undefined;
6409
6522
  }>, z.ZodObject<{
6410
6523
  type: z.ZodLiteral<"integration-tool">;
6411
6524
  nodeID: z.ZodString;
6412
6525
  diagramID: z.ZodString;
6526
+ diagramName: z.ZodOptional<z.ZodString>;
6413
6527
  integrationToolName: z.ZodString;
6414
6528
  }, "strip", z.ZodTypeAny, {
6415
6529
  type: "integration-tool";
6416
6530
  diagramID: string;
6417
6531
  nodeID: string;
6418
6532
  integrationToolName: string;
6533
+ diagramName?: string | undefined;
6419
6534
  }, {
6420
6535
  type: "integration-tool";
6421
6536
  diagramID: string;
6422
6537
  nodeID: string;
6423
6538
  integrationToolName: string;
6539
+ diagramName?: string | undefined;
6424
6540
  }>, z.ZodObject<{
6425
6541
  type: z.ZodLiteral<"mcp-integration-tool">;
6426
6542
  nodeID: z.ZodString;
6427
6543
  diagramID: z.ZodString;
6428
6544
  mcpToolName: z.ZodString;
6545
+ diagramName: z.ZodOptional<z.ZodString>;
6429
6546
  }, "strip", z.ZodTypeAny, {
6430
6547
  type: "mcp-integration-tool";
6431
6548
  diagramID: string;
6432
6549
  nodeID: string;
6433
6550
  mcpToolName: string;
6551
+ diagramName?: string | undefined;
6434
6552
  }, {
6435
6553
  type: "mcp-integration-tool";
6436
6554
  diagramID: string;
6437
6555
  nodeID: string;
6438
6556
  mcpToolName: string;
6557
+ diagramName?: string | undefined;
6439
6558
  }>]>>;
6440
6559
  type: z.ZodOptional<z.ZodString>;
6441
6560
  level: z.ZodOptional<z.ZodNativeEnum<{
@@ -6457,39 +6576,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6457
6576
  diagramID: string;
6458
6577
  nodeID: string;
6459
6578
  nodeType: string;
6579
+ diagramName?: string | undefined;
6460
6580
  } | {
6461
6581
  type: "agent";
6462
6582
  diagramID: string;
6463
6583
  nodeID: string;
6464
6584
  agentID: string;
6585
+ diagramName?: string | undefined;
6465
6586
  agentName?: string | undefined;
6466
6587
  } | {
6467
6588
  type: "api-tool";
6468
6589
  diagramID: string;
6469
6590
  nodeID: string;
6470
6591
  apiToolID: string;
6592
+ diagramName?: string | undefined;
6471
6593
  apiToolName?: string | undefined;
6472
6594
  } | {
6473
6595
  type: "integration-tool";
6474
6596
  diagramID: string;
6475
6597
  nodeID: string;
6476
6598
  integrationToolName: string;
6599
+ diagramName?: string | undefined;
6477
6600
  } | {
6478
6601
  type: "mcp-integration-tool";
6479
6602
  diagramID: string;
6480
6603
  nodeID: string;
6481
6604
  mcpToolName: string;
6605
+ diagramName?: string | undefined;
6482
6606
  } | {
6483
6607
  type: "function";
6484
6608
  diagramID: string;
6485
6609
  nodeID: string;
6486
6610
  functionID: string;
6611
+ diagramName?: string | undefined;
6487
6612
  functionName?: string | undefined;
6488
6613
  } | {
6489
6614
  type: "prompt";
6490
6615
  diagramID: string;
6491
6616
  nodeID: string;
6492
6617
  promptID: string;
6618
+ diagramName?: string | undefined;
6493
6619
  } | undefined;
6494
6620
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
6495
6621
  context?: string | undefined;
@@ -6502,39 +6628,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6502
6628
  diagramID: string;
6503
6629
  nodeID: string;
6504
6630
  nodeType: string;
6631
+ diagramName?: string | undefined;
6505
6632
  } | {
6506
6633
  type: "agent";
6507
6634
  diagramID: string;
6508
6635
  nodeID: string;
6509
6636
  agentID: string;
6637
+ diagramName?: string | undefined;
6510
6638
  agentName?: string | undefined;
6511
6639
  } | {
6512
6640
  type: "api-tool";
6513
6641
  diagramID: string;
6514
6642
  nodeID: string;
6515
6643
  apiToolID: string;
6644
+ diagramName?: string | undefined;
6516
6645
  apiToolName?: string | undefined;
6517
6646
  } | {
6518
6647
  type: "integration-tool";
6519
6648
  diagramID: string;
6520
6649
  nodeID: string;
6521
6650
  integrationToolName: string;
6651
+ diagramName?: string | undefined;
6522
6652
  } | {
6523
6653
  type: "mcp-integration-tool";
6524
6654
  diagramID: string;
6525
6655
  nodeID: string;
6526
6656
  mcpToolName: string;
6657
+ diagramName?: string | undefined;
6527
6658
  } | {
6528
6659
  type: "function";
6529
6660
  diagramID: string;
6530
6661
  nodeID: string;
6531
6662
  functionID: string;
6663
+ diagramName?: string | undefined;
6532
6664
  functionName?: string | undefined;
6533
6665
  } | {
6534
6666
  type: "prompt";
6535
6667
  diagramID: string;
6536
6668
  nodeID: string;
6537
6669
  promptID: string;
6670
+ diagramName?: string | undefined;
6538
6671
  } | undefined;
6539
6672
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
6540
6673
  context?: string | undefined;
@@ -6550,39 +6683,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6550
6683
  diagramID: string;
6551
6684
  nodeID: string;
6552
6685
  nodeType: string;
6686
+ diagramName?: string | undefined;
6553
6687
  } | {
6554
6688
  type: "agent";
6555
6689
  diagramID: string;
6556
6690
  nodeID: string;
6557
6691
  agentID: string;
6692
+ diagramName?: string | undefined;
6558
6693
  agentName?: string | undefined;
6559
6694
  } | {
6560
6695
  type: "api-tool";
6561
6696
  diagramID: string;
6562
6697
  nodeID: string;
6563
6698
  apiToolID: string;
6699
+ diagramName?: string | undefined;
6564
6700
  apiToolName?: string | undefined;
6565
6701
  } | {
6566
6702
  type: "integration-tool";
6567
6703
  diagramID: string;
6568
6704
  nodeID: string;
6569
6705
  integrationToolName: string;
6706
+ diagramName?: string | undefined;
6570
6707
  } | {
6571
6708
  type: "mcp-integration-tool";
6572
6709
  diagramID: string;
6573
6710
  nodeID: string;
6574
6711
  mcpToolName: string;
6712
+ diagramName?: string | undefined;
6575
6713
  } | {
6576
6714
  type: "function";
6577
6715
  diagramID: string;
6578
6716
  nodeID: string;
6579
6717
  functionID: string;
6718
+ diagramName?: string | undefined;
6580
6719
  functionName?: string | undefined;
6581
6720
  } | {
6582
6721
  type: "prompt";
6583
6722
  diagramID: string;
6584
6723
  nodeID: string;
6585
6724
  promptID: string;
6725
+ diagramName?: string | undefined;
6586
6726
  } | undefined;
6587
6727
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
6588
6728
  context?: string | undefined;
@@ -6612,39 +6752,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6612
6752
  diagramID: string;
6613
6753
  nodeID: string;
6614
6754
  nodeType: string;
6755
+ diagramName?: string | undefined;
6615
6756
  } | {
6616
6757
  type: "agent";
6617
6758
  diagramID: string;
6618
6759
  nodeID: string;
6619
6760
  agentID: string;
6761
+ diagramName?: string | undefined;
6620
6762
  agentName?: string | undefined;
6621
6763
  } | {
6622
6764
  type: "api-tool";
6623
6765
  diagramID: string;
6624
6766
  nodeID: string;
6625
6767
  apiToolID: string;
6768
+ diagramName?: string | undefined;
6626
6769
  apiToolName?: string | undefined;
6627
6770
  } | {
6628
6771
  type: "integration-tool";
6629
6772
  diagramID: string;
6630
6773
  nodeID: string;
6631
6774
  integrationToolName: string;
6775
+ diagramName?: string | undefined;
6632
6776
  } | {
6633
6777
  type: "mcp-integration-tool";
6634
6778
  diagramID: string;
6635
6779
  nodeID: string;
6636
6780
  mcpToolName: string;
6781
+ diagramName?: string | undefined;
6637
6782
  } | {
6638
6783
  type: "function";
6639
6784
  diagramID: string;
6640
6785
  nodeID: string;
6641
6786
  functionID: string;
6787
+ diagramName?: string | undefined;
6642
6788
  functionName?: string | undefined;
6643
6789
  } | {
6644
6790
  type: "prompt";
6645
6791
  diagramID: string;
6646
6792
  nodeID: string;
6647
6793
  promptID: string;
6794
+ diagramName?: string | undefined;
6648
6795
  } | undefined;
6649
6796
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
6650
6797
  context?: string | undefined;
@@ -7797,66 +7944,78 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
7797
7944
  nodeID: z.ZodString;
7798
7945
  nodeType: z.ZodString;
7799
7946
  diagramID: z.ZodString;
7947
+ diagramName: z.ZodOptional<z.ZodString>;
7800
7948
  }, "strip", z.ZodTypeAny, {
7801
7949
  type: "node";
7802
7950
  diagramID: string;
7803
7951
  nodeID: string;
7804
7952
  nodeType: string;
7953
+ diagramName?: string | undefined;
7805
7954
  }, {
7806
7955
  type: "node";
7807
7956
  diagramID: string;
7808
7957
  nodeID: string;
7809
7958
  nodeType: string;
7959
+ diagramName?: string | undefined;
7810
7960
  }>, z.ZodObject<{
7811
7961
  type: z.ZodLiteral<"agent">;
7812
7962
  nodeID: z.ZodString;
7813
7963
  agentID: z.ZodString;
7814
7964
  diagramID: z.ZodString;
7815
7965
  agentName: z.ZodOptional<z.ZodString>;
7966
+ diagramName: z.ZodOptional<z.ZodString>;
7816
7967
  }, "strip", z.ZodTypeAny, {
7817
7968
  type: "agent";
7818
7969
  diagramID: string;
7819
7970
  nodeID: string;
7820
7971
  agentID: string;
7972
+ diagramName?: string | undefined;
7821
7973
  agentName?: string | undefined;
7822
7974
  }, {
7823
7975
  type: "agent";
7824
7976
  diagramID: string;
7825
7977
  nodeID: string;
7826
7978
  agentID: string;
7979
+ diagramName?: string | undefined;
7827
7980
  agentName?: string | undefined;
7828
7981
  }>, z.ZodObject<{
7829
7982
  type: z.ZodLiteral<"prompt">;
7830
7983
  nodeID: z.ZodString;
7831
7984
  promptID: z.ZodString;
7832
7985
  diagramID: z.ZodString;
7986
+ diagramName: z.ZodOptional<z.ZodString>;
7833
7987
  }, "strip", z.ZodTypeAny, {
7834
7988
  type: "prompt";
7835
7989
  diagramID: string;
7836
7990
  nodeID: string;
7837
7991
  promptID: string;
7992
+ diagramName?: string | undefined;
7838
7993
  }, {
7839
7994
  type: "prompt";
7840
7995
  diagramID: string;
7841
7996
  nodeID: string;
7842
7997
  promptID: string;
7998
+ diagramName?: string | undefined;
7843
7999
  }>, z.ZodObject<{
7844
8000
  type: z.ZodLiteral<"api-tool">;
7845
8001
  nodeID: z.ZodString;
7846
8002
  diagramID: z.ZodString;
7847
8003
  apiToolID: z.ZodString;
7848
8004
  apiToolName: z.ZodOptional<z.ZodString>;
8005
+ diagramName: z.ZodOptional<z.ZodString>;
7849
8006
  }, "strip", z.ZodTypeAny, {
7850
8007
  type: "api-tool";
7851
8008
  diagramID: string;
7852
8009
  nodeID: string;
7853
8010
  apiToolID: string;
8011
+ diagramName?: string | undefined;
7854
8012
  apiToolName?: string | undefined;
7855
8013
  }, {
7856
8014
  type: "api-tool";
7857
8015
  diagramID: string;
7858
8016
  nodeID: string;
7859
8017
  apiToolID: string;
8018
+ diagramName?: string | undefined;
7860
8019
  apiToolName?: string | undefined;
7861
8020
  }>, z.ZodObject<{
7862
8021
  type: z.ZodLiteral<"function">;
@@ -7864,48 +8023,57 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
7864
8023
  diagramID: z.ZodString;
7865
8024
  functionID: z.ZodString;
7866
8025
  functionName: z.ZodOptional<z.ZodString>;
8026
+ diagramName: z.ZodOptional<z.ZodString>;
7867
8027
  }, "strip", z.ZodTypeAny, {
7868
8028
  type: "function";
7869
8029
  diagramID: string;
7870
8030
  nodeID: string;
7871
8031
  functionID: string;
8032
+ diagramName?: string | undefined;
7872
8033
  functionName?: string | undefined;
7873
8034
  }, {
7874
8035
  type: "function";
7875
8036
  diagramID: string;
7876
8037
  nodeID: string;
7877
8038
  functionID: string;
8039
+ diagramName?: string | undefined;
7878
8040
  functionName?: string | undefined;
7879
8041
  }>, z.ZodObject<{
7880
8042
  type: z.ZodLiteral<"integration-tool">;
7881
8043
  nodeID: z.ZodString;
7882
8044
  diagramID: z.ZodString;
8045
+ diagramName: z.ZodOptional<z.ZodString>;
7883
8046
  integrationToolName: z.ZodString;
7884
8047
  }, "strip", z.ZodTypeAny, {
7885
8048
  type: "integration-tool";
7886
8049
  diagramID: string;
7887
8050
  nodeID: string;
7888
8051
  integrationToolName: string;
8052
+ diagramName?: string | undefined;
7889
8053
  }, {
7890
8054
  type: "integration-tool";
7891
8055
  diagramID: string;
7892
8056
  nodeID: string;
7893
8057
  integrationToolName: string;
8058
+ diagramName?: string | undefined;
7894
8059
  }>, z.ZodObject<{
7895
8060
  type: z.ZodLiteral<"mcp-integration-tool">;
7896
8061
  nodeID: z.ZodString;
7897
8062
  diagramID: z.ZodString;
7898
8063
  mcpToolName: z.ZodString;
8064
+ diagramName: z.ZodOptional<z.ZodString>;
7899
8065
  }, "strip", z.ZodTypeAny, {
7900
8066
  type: "mcp-integration-tool";
7901
8067
  diagramID: string;
7902
8068
  nodeID: string;
7903
8069
  mcpToolName: string;
8070
+ diagramName?: string | undefined;
7904
8071
  }, {
7905
8072
  type: "mcp-integration-tool";
7906
8073
  diagramID: string;
7907
8074
  nodeID: string;
7908
8075
  mcpToolName: string;
8076
+ diagramName?: string | undefined;
7909
8077
  }>]>>;
7910
8078
  slate: z.ZodObject<{
7911
8079
  id: z.ZodString;
@@ -7955,39 +8123,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
7955
8123
  diagramID: string;
7956
8124
  nodeID: string;
7957
8125
  nodeType: string;
8126
+ diagramName?: string | undefined;
7958
8127
  } | {
7959
8128
  type: "agent";
7960
8129
  diagramID: string;
7961
8130
  nodeID: string;
7962
8131
  agentID: string;
8132
+ diagramName?: string | undefined;
7963
8133
  agentName?: string | undefined;
7964
8134
  } | {
7965
8135
  type: "api-tool";
7966
8136
  diagramID: string;
7967
8137
  nodeID: string;
7968
8138
  apiToolID: string;
8139
+ diagramName?: string | undefined;
7969
8140
  apiToolName?: string | undefined;
7970
8141
  } | {
7971
8142
  type: "integration-tool";
7972
8143
  diagramID: string;
7973
8144
  nodeID: string;
7974
8145
  integrationToolName: string;
8146
+ diagramName?: string | undefined;
7975
8147
  } | {
7976
8148
  type: "mcp-integration-tool";
7977
8149
  diagramID: string;
7978
8150
  nodeID: string;
7979
8151
  mcpToolName: string;
8152
+ diagramName?: string | undefined;
7980
8153
  } | {
7981
8154
  type: "function";
7982
8155
  diagramID: string;
7983
8156
  nodeID: string;
7984
8157
  functionID: string;
8158
+ diagramName?: string | undefined;
7985
8159
  functionName?: string | undefined;
7986
8160
  } | {
7987
8161
  type: "prompt";
7988
8162
  diagramID: string;
7989
8163
  nodeID: string;
7990
8164
  promptID: string;
8165
+ diagramName?: string | undefined;
7991
8166
  } | undefined;
7992
8167
  sourceUrls?: {
7993
8168
  url: string;
@@ -8011,39 +8186,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
8011
8186
  diagramID: string;
8012
8187
  nodeID: string;
8013
8188
  nodeType: string;
8189
+ diagramName?: string | undefined;
8014
8190
  } | {
8015
8191
  type: "agent";
8016
8192
  diagramID: string;
8017
8193
  nodeID: string;
8018
8194
  agentID: string;
8195
+ diagramName?: string | undefined;
8019
8196
  agentName?: string | undefined;
8020
8197
  } | {
8021
8198
  type: "api-tool";
8022
8199
  diagramID: string;
8023
8200
  nodeID: string;
8024
8201
  apiToolID: string;
8202
+ diagramName?: string | undefined;
8025
8203
  apiToolName?: string | undefined;
8026
8204
  } | {
8027
8205
  type: "integration-tool";
8028
8206
  diagramID: string;
8029
8207
  nodeID: string;
8030
8208
  integrationToolName: string;
8209
+ diagramName?: string | undefined;
8031
8210
  } | {
8032
8211
  type: "mcp-integration-tool";
8033
8212
  diagramID: string;
8034
8213
  nodeID: string;
8035
8214
  mcpToolName: string;
8215
+ diagramName?: string | undefined;
8036
8216
  } | {
8037
8217
  type: "function";
8038
8218
  diagramID: string;
8039
8219
  nodeID: string;
8040
8220
  functionID: string;
8221
+ diagramName?: string | undefined;
8041
8222
  functionName?: string | undefined;
8042
8223
  } | {
8043
8224
  type: "prompt";
8044
8225
  diagramID: string;
8045
8226
  nodeID: string;
8046
8227
  promptID: string;
8228
+ diagramName?: string | undefined;
8047
8229
  } | undefined;
8048
8230
  sourceUrls?: {
8049
8231
  url: string;
@@ -8070,39 +8252,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
8070
8252
  diagramID: string;
8071
8253
  nodeID: string;
8072
8254
  nodeType: string;
8255
+ diagramName?: string | undefined;
8073
8256
  } | {
8074
8257
  type: "agent";
8075
8258
  diagramID: string;
8076
8259
  nodeID: string;
8077
8260
  agentID: string;
8261
+ diagramName?: string | undefined;
8078
8262
  agentName?: string | undefined;
8079
8263
  } | {
8080
8264
  type: "api-tool";
8081
8265
  diagramID: string;
8082
8266
  nodeID: string;
8083
8267
  apiToolID: string;
8268
+ diagramName?: string | undefined;
8084
8269
  apiToolName?: string | undefined;
8085
8270
  } | {
8086
8271
  type: "integration-tool";
8087
8272
  diagramID: string;
8088
8273
  nodeID: string;
8089
8274
  integrationToolName: string;
8275
+ diagramName?: string | undefined;
8090
8276
  } | {
8091
8277
  type: "mcp-integration-tool";
8092
8278
  diagramID: string;
8093
8279
  nodeID: string;
8094
8280
  mcpToolName: string;
8281
+ diagramName?: string | undefined;
8095
8282
  } | {
8096
8283
  type: "function";
8097
8284
  diagramID: string;
8098
8285
  nodeID: string;
8099
8286
  functionID: string;
8287
+ diagramName?: string | undefined;
8100
8288
  functionName?: string | undefined;
8101
8289
  } | {
8102
8290
  type: "prompt";
8103
8291
  diagramID: string;
8104
8292
  nodeID: string;
8105
8293
  promptID: string;
8294
+ diagramName?: string | undefined;
8106
8295
  } | undefined;
8107
8296
  sourceUrls?: {
8108
8297
  url: string;
@@ -8143,39 +8332,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
8143
8332
  diagramID: string;
8144
8333
  nodeID: string;
8145
8334
  nodeType: string;
8335
+ diagramName?: string | undefined;
8146
8336
  } | {
8147
8337
  type: "agent";
8148
8338
  diagramID: string;
8149
8339
  nodeID: string;
8150
8340
  agentID: string;
8341
+ diagramName?: string | undefined;
8151
8342
  agentName?: string | undefined;
8152
8343
  } | {
8153
8344
  type: "api-tool";
8154
8345
  diagramID: string;
8155
8346
  nodeID: string;
8156
8347
  apiToolID: string;
8348
+ diagramName?: string | undefined;
8157
8349
  apiToolName?: string | undefined;
8158
8350
  } | {
8159
8351
  type: "integration-tool";
8160
8352
  diagramID: string;
8161
8353
  nodeID: string;
8162
8354
  integrationToolName: string;
8355
+ diagramName?: string | undefined;
8163
8356
  } | {
8164
8357
  type: "mcp-integration-tool";
8165
8358
  diagramID: string;
8166
8359
  nodeID: string;
8167
8360
  mcpToolName: string;
8361
+ diagramName?: string | undefined;
8168
8362
  } | {
8169
8363
  type: "function";
8170
8364
  diagramID: string;
8171
8365
  nodeID: string;
8172
8366
  functionID: string;
8367
+ diagramName?: string | undefined;
8173
8368
  functionName?: string | undefined;
8174
8369
  } | {
8175
8370
  type: "prompt";
8176
8371
  diagramID: string;
8177
8372
  nodeID: string;
8178
8373
  promptID: string;
8374
+ diagramName?: string | undefined;
8179
8375
  } | undefined;
8180
8376
  sourceUrls?: {
8181
8377
  url: string;
@@ -9444,39 +9640,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
9444
9640
  diagramID: string;
9445
9641
  nodeID: string;
9446
9642
  nodeType: string;
9643
+ diagramName?: string | undefined;
9447
9644
  } | {
9448
9645
  type: "agent";
9449
9646
  diagramID: string;
9450
9647
  nodeID: string;
9451
9648
  agentID: string;
9649
+ diagramName?: string | undefined;
9452
9650
  agentName?: string | undefined;
9453
9651
  } | {
9454
9652
  type: "api-tool";
9455
9653
  diagramID: string;
9456
9654
  nodeID: string;
9457
9655
  apiToolID: string;
9656
+ diagramName?: string | undefined;
9458
9657
  apiToolName?: string | undefined;
9459
9658
  } | {
9460
9659
  type: "integration-tool";
9461
9660
  diagramID: string;
9462
9661
  nodeID: string;
9463
9662
  integrationToolName: string;
9663
+ diagramName?: string | undefined;
9464
9664
  } | {
9465
9665
  type: "mcp-integration-tool";
9466
9666
  diagramID: string;
9467
9667
  nodeID: string;
9468
9668
  mcpToolName: string;
9669
+ diagramName?: string | undefined;
9469
9670
  } | {
9470
9671
  type: "function";
9471
9672
  diagramID: string;
9472
9673
  nodeID: string;
9473
9674
  functionID: string;
9675
+ diagramName?: string | undefined;
9474
9676
  functionName?: string | undefined;
9475
9677
  } | {
9476
9678
  type: "prompt";
9477
9679
  diagramID: string;
9478
9680
  nodeID: string;
9479
9681
  promptID: string;
9682
+ diagramName?: string | undefined;
9480
9683
  } | undefined;
9481
9684
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
9482
9685
  context?: string | undefined;
@@ -9507,39 +9710,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
9507
9710
  diagramID: string;
9508
9711
  nodeID: string;
9509
9712
  nodeType: string;
9713
+ diagramName?: string | undefined;
9510
9714
  } | {
9511
9715
  type: "agent";
9512
9716
  diagramID: string;
9513
9717
  nodeID: string;
9514
9718
  agentID: string;
9719
+ diagramName?: string | undefined;
9515
9720
  agentName?: string | undefined;
9516
9721
  } | {
9517
9722
  type: "api-tool";
9518
9723
  diagramID: string;
9519
9724
  nodeID: string;
9520
9725
  apiToolID: string;
9726
+ diagramName?: string | undefined;
9521
9727
  apiToolName?: string | undefined;
9522
9728
  } | {
9523
9729
  type: "integration-tool";
9524
9730
  diagramID: string;
9525
9731
  nodeID: string;
9526
9732
  integrationToolName: string;
9733
+ diagramName?: string | undefined;
9527
9734
  } | {
9528
9735
  type: "mcp-integration-tool";
9529
9736
  diagramID: string;
9530
9737
  nodeID: string;
9531
9738
  mcpToolName: string;
9739
+ diagramName?: string | undefined;
9532
9740
  } | {
9533
9741
  type: "function";
9534
9742
  diagramID: string;
9535
9743
  nodeID: string;
9536
9744
  functionID: string;
9745
+ diagramName?: string | undefined;
9537
9746
  functionName?: string | undefined;
9538
9747
  } | {
9539
9748
  type: "prompt";
9540
9749
  diagramID: string;
9541
9750
  nodeID: string;
9542
9751
  promptID: string;
9752
+ diagramName?: string | undefined;
9543
9753
  } | undefined;
9544
9754
  sourceUrls?: {
9545
9755
  url: string;
@@ -9555,39 +9765,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
9555
9765
  diagramID: string;
9556
9766
  nodeID: string;
9557
9767
  nodeType: string;
9768
+ diagramName?: string | undefined;
9558
9769
  } | {
9559
9770
  type: "agent";
9560
9771
  diagramID: string;
9561
9772
  nodeID: string;
9562
9773
  agentID: string;
9774
+ diagramName?: string | undefined;
9563
9775
  agentName?: string | undefined;
9564
9776
  } | {
9565
9777
  type: "api-tool";
9566
9778
  diagramID: string;
9567
9779
  nodeID: string;
9568
9780
  apiToolID: string;
9781
+ diagramName?: string | undefined;
9569
9782
  apiToolName?: string | undefined;
9570
9783
  } | {
9571
9784
  type: "integration-tool";
9572
9785
  diagramID: string;
9573
9786
  nodeID: string;
9574
9787
  integrationToolName: string;
9788
+ diagramName?: string | undefined;
9575
9789
  } | {
9576
9790
  type: "mcp-integration-tool";
9577
9791
  diagramID: string;
9578
9792
  nodeID: string;
9579
9793
  mcpToolName: string;
9794
+ diagramName?: string | undefined;
9580
9795
  } | {
9581
9796
  type: "function";
9582
9797
  diagramID: string;
9583
9798
  nodeID: string;
9584
9799
  functionID: string;
9800
+ diagramName?: string | undefined;
9585
9801
  functionName?: string | undefined;
9586
9802
  } | {
9587
9803
  type: "prompt";
9588
9804
  diagramID: string;
9589
9805
  nodeID: string;
9590
9806
  promptID: string;
9807
+ diagramName?: string | undefined;
9591
9808
  } | undefined;
9592
9809
  };
9593
9810
  time?: number | undefined;
@@ -10004,39 +10221,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
10004
10221
  diagramID: string;
10005
10222
  nodeID: string;
10006
10223
  nodeType: string;
10224
+ diagramName?: string | undefined;
10007
10225
  } | {
10008
10226
  type: "agent";
10009
10227
  diagramID: string;
10010
10228
  nodeID: string;
10011
10229
  agentID: string;
10230
+ diagramName?: string | undefined;
10012
10231
  agentName?: string | undefined;
10013
10232
  } | {
10014
10233
  type: "api-tool";
10015
10234
  diagramID: string;
10016
10235
  nodeID: string;
10017
10236
  apiToolID: string;
10237
+ diagramName?: string | undefined;
10018
10238
  apiToolName?: string | undefined;
10019
10239
  } | {
10020
10240
  type: "integration-tool";
10021
10241
  diagramID: string;
10022
10242
  nodeID: string;
10023
10243
  integrationToolName: string;
10244
+ diagramName?: string | undefined;
10024
10245
  } | {
10025
10246
  type: "mcp-integration-tool";
10026
10247
  diagramID: string;
10027
10248
  nodeID: string;
10028
10249
  mcpToolName: string;
10250
+ diagramName?: string | undefined;
10029
10251
  } | {
10030
10252
  type: "function";
10031
10253
  diagramID: string;
10032
10254
  nodeID: string;
10033
10255
  functionID: string;
10256
+ diagramName?: string | undefined;
10034
10257
  functionName?: string | undefined;
10035
10258
  } | {
10036
10259
  type: "prompt";
10037
10260
  diagramID: string;
10038
10261
  nodeID: string;
10039
10262
  promptID: string;
10263
+ diagramName?: string | undefined;
10040
10264
  } | undefined;
10041
10265
  sourceUrls?: {
10042
10266
  url: string;
@@ -10292,39 +10516,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
10292
10516
  diagramID: string;
10293
10517
  nodeID: string;
10294
10518
  nodeType: string;
10519
+ diagramName?: string | undefined;
10295
10520
  } | {
10296
10521
  type: "agent";
10297
10522
  diagramID: string;
10298
10523
  nodeID: string;
10299
10524
  agentID: string;
10525
+ diagramName?: string | undefined;
10300
10526
  agentName?: string | undefined;
10301
10527
  } | {
10302
10528
  type: "api-tool";
10303
10529
  diagramID: string;
10304
10530
  nodeID: string;
10305
10531
  apiToolID: string;
10532
+ diagramName?: string | undefined;
10306
10533
  apiToolName?: string | undefined;
10307
10534
  } | {
10308
10535
  type: "integration-tool";
10309
10536
  diagramID: string;
10310
10537
  nodeID: string;
10311
10538
  integrationToolName: string;
10539
+ diagramName?: string | undefined;
10312
10540
  } | {
10313
10541
  type: "mcp-integration-tool";
10314
10542
  diagramID: string;
10315
10543
  nodeID: string;
10316
10544
  mcpToolName: string;
10545
+ diagramName?: string | undefined;
10317
10546
  } | {
10318
10547
  type: "function";
10319
10548
  diagramID: string;
10320
10549
  nodeID: string;
10321
10550
  functionID: string;
10551
+ diagramName?: string | undefined;
10322
10552
  functionName?: string | undefined;
10323
10553
  } | {
10324
10554
  type: "prompt";
10325
10555
  diagramID: string;
10326
10556
  nodeID: string;
10327
10557
  promptID: string;
10558
+ diagramName?: string | undefined;
10328
10559
  } | undefined;
10329
10560
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
10330
10561
  context?: string | undefined;
@@ -10355,39 +10586,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
10355
10586
  diagramID: string;
10356
10587
  nodeID: string;
10357
10588
  nodeType: string;
10589
+ diagramName?: string | undefined;
10358
10590
  } | {
10359
10591
  type: "agent";
10360
10592
  diagramID: string;
10361
10593
  nodeID: string;
10362
10594
  agentID: string;
10595
+ diagramName?: string | undefined;
10363
10596
  agentName?: string | undefined;
10364
10597
  } | {
10365
10598
  type: "api-tool";
10366
10599
  diagramID: string;
10367
10600
  nodeID: string;
10368
10601
  apiToolID: string;
10602
+ diagramName?: string | undefined;
10369
10603
  apiToolName?: string | undefined;
10370
10604
  } | {
10371
10605
  type: "integration-tool";
10372
10606
  diagramID: string;
10373
10607
  nodeID: string;
10374
10608
  integrationToolName: string;
10609
+ diagramName?: string | undefined;
10375
10610
  } | {
10376
10611
  type: "mcp-integration-tool";
10377
10612
  diagramID: string;
10378
10613
  nodeID: string;
10379
10614
  mcpToolName: string;
10615
+ diagramName?: string | undefined;
10380
10616
  } | {
10381
10617
  type: "function";
10382
10618
  diagramID: string;
10383
10619
  nodeID: string;
10384
10620
  functionID: string;
10621
+ diagramName?: string | undefined;
10385
10622
  functionName?: string | undefined;
10386
10623
  } | {
10387
10624
  type: "prompt";
10388
10625
  diagramID: string;
10389
10626
  nodeID: string;
10390
10627
  promptID: string;
10628
+ diagramName?: string | undefined;
10391
10629
  } | undefined;
10392
10630
  sourceUrls?: {
10393
10631
  url: string;
@@ -10403,39 +10641,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
10403
10641
  diagramID: string;
10404
10642
  nodeID: string;
10405
10643
  nodeType: string;
10644
+ diagramName?: string | undefined;
10406
10645
  } | {
10407
10646
  type: "agent";
10408
10647
  diagramID: string;
10409
10648
  nodeID: string;
10410
10649
  agentID: string;
10650
+ diagramName?: string | undefined;
10411
10651
  agentName?: string | undefined;
10412
10652
  } | {
10413
10653
  type: "api-tool";
10414
10654
  diagramID: string;
10415
10655
  nodeID: string;
10416
10656
  apiToolID: string;
10657
+ diagramName?: string | undefined;
10417
10658
  apiToolName?: string | undefined;
10418
10659
  } | {
10419
10660
  type: "integration-tool";
10420
10661
  diagramID: string;
10421
10662
  nodeID: string;
10422
10663
  integrationToolName: string;
10664
+ diagramName?: string | undefined;
10423
10665
  } | {
10424
10666
  type: "mcp-integration-tool";
10425
10667
  diagramID: string;
10426
10668
  nodeID: string;
10427
10669
  mcpToolName: string;
10670
+ diagramName?: string | undefined;
10428
10671
  } | {
10429
10672
  type: "function";
10430
10673
  diagramID: string;
10431
10674
  nodeID: string;
10432
10675
  functionID: string;
10676
+ diagramName?: string | undefined;
10433
10677
  functionName?: string | undefined;
10434
10678
  } | {
10435
10679
  type: "prompt";
10436
10680
  diagramID: string;
10437
10681
  nodeID: string;
10438
10682
  promptID: string;
10683
+ diagramName?: string | undefined;
10439
10684
  } | undefined;
10440
10685
  };
10441
10686
  time?: number | undefined;
@@ -10852,39 +11097,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
10852
11097
  diagramID: string;
10853
11098
  nodeID: string;
10854
11099
  nodeType: string;
11100
+ diagramName?: string | undefined;
10855
11101
  } | {
10856
11102
  type: "agent";
10857
11103
  diagramID: string;
10858
11104
  nodeID: string;
10859
11105
  agentID: string;
11106
+ diagramName?: string | undefined;
10860
11107
  agentName?: string | undefined;
10861
11108
  } | {
10862
11109
  type: "api-tool";
10863
11110
  diagramID: string;
10864
11111
  nodeID: string;
10865
11112
  apiToolID: string;
11113
+ diagramName?: string | undefined;
10866
11114
  apiToolName?: string | undefined;
10867
11115
  } | {
10868
11116
  type: "integration-tool";
10869
11117
  diagramID: string;
10870
11118
  nodeID: string;
10871
11119
  integrationToolName: string;
11120
+ diagramName?: string | undefined;
10872
11121
  } | {
10873
11122
  type: "mcp-integration-tool";
10874
11123
  diagramID: string;
10875
11124
  nodeID: string;
10876
11125
  mcpToolName: string;
11126
+ diagramName?: string | undefined;
10877
11127
  } | {
10878
11128
  type: "function";
10879
11129
  diagramID: string;
10880
11130
  nodeID: string;
10881
11131
  functionID: string;
11132
+ diagramName?: string | undefined;
10882
11133
  functionName?: string | undefined;
10883
11134
  } | {
10884
11135
  type: "prompt";
10885
11136
  diagramID: string;
10886
11137
  nodeID: string;
10887
11138
  promptID: string;
11139
+ diagramName?: string | undefined;
10888
11140
  } | undefined;
10889
11141
  sourceUrls?: {
10890
11142
  url: string;
@@ -11143,39 +11395,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
11143
11395
  diagramID: string;
11144
11396
  nodeID: string;
11145
11397
  nodeType: string;
11398
+ diagramName?: string | undefined;
11146
11399
  } | {
11147
11400
  type: "agent";
11148
11401
  diagramID: string;
11149
11402
  nodeID: string;
11150
11403
  agentID: string;
11404
+ diagramName?: string | undefined;
11151
11405
  agentName?: string | undefined;
11152
11406
  } | {
11153
11407
  type: "api-tool";
11154
11408
  diagramID: string;
11155
11409
  nodeID: string;
11156
11410
  apiToolID: string;
11411
+ diagramName?: string | undefined;
11157
11412
  apiToolName?: string | undefined;
11158
11413
  } | {
11159
11414
  type: "integration-tool";
11160
11415
  diagramID: string;
11161
11416
  nodeID: string;
11162
11417
  integrationToolName: string;
11418
+ diagramName?: string | undefined;
11163
11419
  } | {
11164
11420
  type: "mcp-integration-tool";
11165
11421
  diagramID: string;
11166
11422
  nodeID: string;
11167
11423
  mcpToolName: string;
11424
+ diagramName?: string | undefined;
11168
11425
  } | {
11169
11426
  type: "function";
11170
11427
  diagramID: string;
11171
11428
  nodeID: string;
11172
11429
  functionID: string;
11430
+ diagramName?: string | undefined;
11173
11431
  functionName?: string | undefined;
11174
11432
  } | {
11175
11433
  type: "prompt";
11176
11434
  diagramID: string;
11177
11435
  nodeID: string;
11178
11436
  promptID: string;
11437
+ diagramName?: string | undefined;
11179
11438
  } | undefined;
11180
11439
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
11181
11440
  context?: string | undefined;
@@ -11206,39 +11465,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
11206
11465
  diagramID: string;
11207
11466
  nodeID: string;
11208
11467
  nodeType: string;
11468
+ diagramName?: string | undefined;
11209
11469
  } | {
11210
11470
  type: "agent";
11211
11471
  diagramID: string;
11212
11472
  nodeID: string;
11213
11473
  agentID: string;
11474
+ diagramName?: string | undefined;
11214
11475
  agentName?: string | undefined;
11215
11476
  } | {
11216
11477
  type: "api-tool";
11217
11478
  diagramID: string;
11218
11479
  nodeID: string;
11219
11480
  apiToolID: string;
11481
+ diagramName?: string | undefined;
11220
11482
  apiToolName?: string | undefined;
11221
11483
  } | {
11222
11484
  type: "integration-tool";
11223
11485
  diagramID: string;
11224
11486
  nodeID: string;
11225
11487
  integrationToolName: string;
11488
+ diagramName?: string | undefined;
11226
11489
  } | {
11227
11490
  type: "mcp-integration-tool";
11228
11491
  diagramID: string;
11229
11492
  nodeID: string;
11230
11493
  mcpToolName: string;
11494
+ diagramName?: string | undefined;
11231
11495
  } | {
11232
11496
  type: "function";
11233
11497
  diagramID: string;
11234
11498
  nodeID: string;
11235
11499
  functionID: string;
11500
+ diagramName?: string | undefined;
11236
11501
  functionName?: string | undefined;
11237
11502
  } | {
11238
11503
  type: "prompt";
11239
11504
  diagramID: string;
11240
11505
  nodeID: string;
11241
11506
  promptID: string;
11507
+ diagramName?: string | undefined;
11242
11508
  } | undefined;
11243
11509
  sourceUrls?: {
11244
11510
  url: string;
@@ -11254,39 +11520,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
11254
11520
  diagramID: string;
11255
11521
  nodeID: string;
11256
11522
  nodeType: string;
11523
+ diagramName?: string | undefined;
11257
11524
  } | {
11258
11525
  type: "agent";
11259
11526
  diagramID: string;
11260
11527
  nodeID: string;
11261
11528
  agentID: string;
11529
+ diagramName?: string | undefined;
11262
11530
  agentName?: string | undefined;
11263
11531
  } | {
11264
11532
  type: "api-tool";
11265
11533
  diagramID: string;
11266
11534
  nodeID: string;
11267
11535
  apiToolID: string;
11536
+ diagramName?: string | undefined;
11268
11537
  apiToolName?: string | undefined;
11269
11538
  } | {
11270
11539
  type: "integration-tool";
11271
11540
  diagramID: string;
11272
11541
  nodeID: string;
11273
11542
  integrationToolName: string;
11543
+ diagramName?: string | undefined;
11274
11544
  } | {
11275
11545
  type: "mcp-integration-tool";
11276
11546
  diagramID: string;
11277
11547
  nodeID: string;
11278
11548
  mcpToolName: string;
11549
+ diagramName?: string | undefined;
11279
11550
  } | {
11280
11551
  type: "function";
11281
11552
  diagramID: string;
11282
11553
  nodeID: string;
11283
11554
  functionID: string;
11555
+ diagramName?: string | undefined;
11284
11556
  functionName?: string | undefined;
11285
11557
  } | {
11286
11558
  type: "prompt";
11287
11559
  diagramID: string;
11288
11560
  nodeID: string;
11289
11561
  promptID: string;
11562
+ diagramName?: string | undefined;
11290
11563
  } | undefined;
11291
11564
  };
11292
11565
  time?: number | undefined;
@@ -11703,39 +11976,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
11703
11976
  diagramID: string;
11704
11977
  nodeID: string;
11705
11978
  nodeType: string;
11979
+ diagramName?: string | undefined;
11706
11980
  } | {
11707
11981
  type: "agent";
11708
11982
  diagramID: string;
11709
11983
  nodeID: string;
11710
11984
  agentID: string;
11985
+ diagramName?: string | undefined;
11711
11986
  agentName?: string | undefined;
11712
11987
  } | {
11713
11988
  type: "api-tool";
11714
11989
  diagramID: string;
11715
11990
  nodeID: string;
11716
11991
  apiToolID: string;
11992
+ diagramName?: string | undefined;
11717
11993
  apiToolName?: string | undefined;
11718
11994
  } | {
11719
11995
  type: "integration-tool";
11720
11996
  diagramID: string;
11721
11997
  nodeID: string;
11722
11998
  integrationToolName: string;
11999
+ diagramName?: string | undefined;
11723
12000
  } | {
11724
12001
  type: "mcp-integration-tool";
11725
12002
  diagramID: string;
11726
12003
  nodeID: string;
11727
12004
  mcpToolName: string;
12005
+ diagramName?: string | undefined;
11728
12006
  } | {
11729
12007
  type: "function";
11730
12008
  diagramID: string;
11731
12009
  nodeID: string;
11732
12010
  functionID: string;
12011
+ diagramName?: string | undefined;
11733
12012
  functionName?: string | undefined;
11734
12013
  } | {
11735
12014
  type: "prompt";
11736
12015
  diagramID: string;
11737
12016
  nodeID: string;
11738
12017
  promptID: string;
12018
+ diagramName?: string | undefined;
11739
12019
  } | undefined;
11740
12020
  sourceUrls?: {
11741
12021
  url: string;
@@ -11994,39 +12274,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
11994
12274
  diagramID: string;
11995
12275
  nodeID: string;
11996
12276
  nodeType: string;
12277
+ diagramName?: string | undefined;
11997
12278
  } | {
11998
12279
  type: "agent";
11999
12280
  diagramID: string;
12000
12281
  nodeID: string;
12001
12282
  agentID: string;
12283
+ diagramName?: string | undefined;
12002
12284
  agentName?: string | undefined;
12003
12285
  } | {
12004
12286
  type: "api-tool";
12005
12287
  diagramID: string;
12006
12288
  nodeID: string;
12007
12289
  apiToolID: string;
12290
+ diagramName?: string | undefined;
12008
12291
  apiToolName?: string | undefined;
12009
12292
  } | {
12010
12293
  type: "integration-tool";
12011
12294
  diagramID: string;
12012
12295
  nodeID: string;
12013
12296
  integrationToolName: string;
12297
+ diagramName?: string | undefined;
12014
12298
  } | {
12015
12299
  type: "mcp-integration-tool";
12016
12300
  diagramID: string;
12017
12301
  nodeID: string;
12018
12302
  mcpToolName: string;
12303
+ diagramName?: string | undefined;
12019
12304
  } | {
12020
12305
  type: "function";
12021
12306
  diagramID: string;
12022
12307
  nodeID: string;
12023
12308
  functionID: string;
12309
+ diagramName?: string | undefined;
12024
12310
  functionName?: string | undefined;
12025
12311
  } | {
12026
12312
  type: "prompt";
12027
12313
  diagramID: string;
12028
12314
  nodeID: string;
12029
12315
  promptID: string;
12316
+ diagramName?: string | undefined;
12030
12317
  } | undefined;
12031
12318
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
12032
12319
  context?: string | undefined;
@@ -12057,39 +12344,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
12057
12344
  diagramID: string;
12058
12345
  nodeID: string;
12059
12346
  nodeType: string;
12347
+ diagramName?: string | undefined;
12060
12348
  } | {
12061
12349
  type: "agent";
12062
12350
  diagramID: string;
12063
12351
  nodeID: string;
12064
12352
  agentID: string;
12353
+ diagramName?: string | undefined;
12065
12354
  agentName?: string | undefined;
12066
12355
  } | {
12067
12356
  type: "api-tool";
12068
12357
  diagramID: string;
12069
12358
  nodeID: string;
12070
12359
  apiToolID: string;
12360
+ diagramName?: string | undefined;
12071
12361
  apiToolName?: string | undefined;
12072
12362
  } | {
12073
12363
  type: "integration-tool";
12074
12364
  diagramID: string;
12075
12365
  nodeID: string;
12076
12366
  integrationToolName: string;
12367
+ diagramName?: string | undefined;
12077
12368
  } | {
12078
12369
  type: "mcp-integration-tool";
12079
12370
  diagramID: string;
12080
12371
  nodeID: string;
12081
12372
  mcpToolName: string;
12373
+ diagramName?: string | undefined;
12082
12374
  } | {
12083
12375
  type: "function";
12084
12376
  diagramID: string;
12085
12377
  nodeID: string;
12086
12378
  functionID: string;
12379
+ diagramName?: string | undefined;
12087
12380
  functionName?: string | undefined;
12088
12381
  } | {
12089
12382
  type: "prompt";
12090
12383
  diagramID: string;
12091
12384
  nodeID: string;
12092
12385
  promptID: string;
12386
+ diagramName?: string | undefined;
12093
12387
  } | undefined;
12094
12388
  sourceUrls?: {
12095
12389
  url: string;
@@ -12105,39 +12399,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
12105
12399
  diagramID: string;
12106
12400
  nodeID: string;
12107
12401
  nodeType: string;
12402
+ diagramName?: string | undefined;
12108
12403
  } | {
12109
12404
  type: "agent";
12110
12405
  diagramID: string;
12111
12406
  nodeID: string;
12112
12407
  agentID: string;
12408
+ diagramName?: string | undefined;
12113
12409
  agentName?: string | undefined;
12114
12410
  } | {
12115
12411
  type: "api-tool";
12116
12412
  diagramID: string;
12117
12413
  nodeID: string;
12118
12414
  apiToolID: string;
12415
+ diagramName?: string | undefined;
12119
12416
  apiToolName?: string | undefined;
12120
12417
  } | {
12121
12418
  type: "integration-tool";
12122
12419
  diagramID: string;
12123
12420
  nodeID: string;
12124
12421
  integrationToolName: string;
12422
+ diagramName?: string | undefined;
12125
12423
  } | {
12126
12424
  type: "mcp-integration-tool";
12127
12425
  diagramID: string;
12128
12426
  nodeID: string;
12129
12427
  mcpToolName: string;
12428
+ diagramName?: string | undefined;
12130
12429
  } | {
12131
12430
  type: "function";
12132
12431
  diagramID: string;
12133
12432
  nodeID: string;
12134
12433
  functionID: string;
12434
+ diagramName?: string | undefined;
12135
12435
  functionName?: string | undefined;
12136
12436
  } | {
12137
12437
  type: "prompt";
12138
12438
  diagramID: string;
12139
12439
  nodeID: string;
12140
12440
  promptID: string;
12441
+ diagramName?: string | undefined;
12141
12442
  } | undefined;
12142
12443
  };
12143
12444
  time?: number | undefined;
@@ -12554,39 +12855,46 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
12554
12855
  diagramID: string;
12555
12856
  nodeID: string;
12556
12857
  nodeType: string;
12858
+ diagramName?: string | undefined;
12557
12859
  } | {
12558
12860
  type: "agent";
12559
12861
  diagramID: string;
12560
12862
  nodeID: string;
12561
12863
  agentID: string;
12864
+ diagramName?: string | undefined;
12562
12865
  agentName?: string | undefined;
12563
12866
  } | {
12564
12867
  type: "api-tool";
12565
12868
  diagramID: string;
12566
12869
  nodeID: string;
12567
12870
  apiToolID: string;
12871
+ diagramName?: string | undefined;
12568
12872
  apiToolName?: string | undefined;
12569
12873
  } | {
12570
12874
  type: "integration-tool";
12571
12875
  diagramID: string;
12572
12876
  nodeID: string;
12573
12877
  integrationToolName: string;
12878
+ diagramName?: string | undefined;
12574
12879
  } | {
12575
12880
  type: "mcp-integration-tool";
12576
12881
  diagramID: string;
12577
12882
  nodeID: string;
12578
12883
  mcpToolName: string;
12884
+ diagramName?: string | undefined;
12579
12885
  } | {
12580
12886
  type: "function";
12581
12887
  diagramID: string;
12582
12888
  nodeID: string;
12583
12889
  functionID: string;
12890
+ diagramName?: string | undefined;
12584
12891
  functionName?: string | undefined;
12585
12892
  } | {
12586
12893
  type: "prompt";
12587
12894
  diagramID: string;
12588
12895
  nodeID: string;
12589
12896
  promptID: string;
12897
+ diagramName?: string | undefined;
12590
12898
  } | undefined;
12591
12899
  sourceUrls?: {
12592
12900
  url: string;
@@ -22250,66 +22558,78 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22250
22558
  nodeID: z.ZodString;
22251
22559
  nodeType: z.ZodString;
22252
22560
  diagramID: z.ZodString;
22561
+ diagramName: z.ZodOptional<z.ZodString>;
22253
22562
  }, "strip", z.ZodTypeAny, {
22254
22563
  type: "node";
22255
22564
  diagramID: string;
22256
22565
  nodeID: string;
22257
22566
  nodeType: string;
22567
+ diagramName?: string | undefined;
22258
22568
  }, {
22259
22569
  type: "node";
22260
22570
  diagramID: string;
22261
22571
  nodeID: string;
22262
22572
  nodeType: string;
22573
+ diagramName?: string | undefined;
22263
22574
  }>, z.ZodObject<{
22264
22575
  type: z.ZodLiteral<"agent">;
22265
22576
  nodeID: z.ZodString;
22266
22577
  agentID: z.ZodString;
22267
22578
  diagramID: z.ZodString;
22268
22579
  agentName: z.ZodOptional<z.ZodString>;
22580
+ diagramName: z.ZodOptional<z.ZodString>;
22269
22581
  }, "strip", z.ZodTypeAny, {
22270
22582
  type: "agent";
22271
22583
  diagramID: string;
22272
22584
  nodeID: string;
22273
22585
  agentID: string;
22586
+ diagramName?: string | undefined;
22274
22587
  agentName?: string | undefined;
22275
22588
  }, {
22276
22589
  type: "agent";
22277
22590
  diagramID: string;
22278
22591
  nodeID: string;
22279
22592
  agentID: string;
22593
+ diagramName?: string | undefined;
22280
22594
  agentName?: string | undefined;
22281
22595
  }>, z.ZodObject<{
22282
22596
  type: z.ZodLiteral<"prompt">;
22283
22597
  nodeID: z.ZodString;
22284
22598
  promptID: z.ZodString;
22285
22599
  diagramID: z.ZodString;
22600
+ diagramName: z.ZodOptional<z.ZodString>;
22286
22601
  }, "strip", z.ZodTypeAny, {
22287
22602
  type: "prompt";
22288
22603
  diagramID: string;
22289
22604
  nodeID: string;
22290
22605
  promptID: string;
22606
+ diagramName?: string | undefined;
22291
22607
  }, {
22292
22608
  type: "prompt";
22293
22609
  diagramID: string;
22294
22610
  nodeID: string;
22295
22611
  promptID: string;
22612
+ diagramName?: string | undefined;
22296
22613
  }>, z.ZodObject<{
22297
22614
  type: z.ZodLiteral<"api-tool">;
22298
22615
  nodeID: z.ZodString;
22299
22616
  diagramID: z.ZodString;
22300
22617
  apiToolID: z.ZodString;
22301
22618
  apiToolName: z.ZodOptional<z.ZodString>;
22619
+ diagramName: z.ZodOptional<z.ZodString>;
22302
22620
  }, "strip", z.ZodTypeAny, {
22303
22621
  type: "api-tool";
22304
22622
  diagramID: string;
22305
22623
  nodeID: string;
22306
22624
  apiToolID: string;
22625
+ diagramName?: string | undefined;
22307
22626
  apiToolName?: string | undefined;
22308
22627
  }, {
22309
22628
  type: "api-tool";
22310
22629
  diagramID: string;
22311
22630
  nodeID: string;
22312
22631
  apiToolID: string;
22632
+ diagramName?: string | undefined;
22313
22633
  apiToolName?: string | undefined;
22314
22634
  }>, z.ZodObject<{
22315
22635
  type: z.ZodLiteral<"function">;
@@ -22317,48 +22637,57 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22317
22637
  diagramID: z.ZodString;
22318
22638
  functionID: z.ZodString;
22319
22639
  functionName: z.ZodOptional<z.ZodString>;
22640
+ diagramName: z.ZodOptional<z.ZodString>;
22320
22641
  }, "strip", z.ZodTypeAny, {
22321
22642
  type: "function";
22322
22643
  diagramID: string;
22323
22644
  nodeID: string;
22324
22645
  functionID: string;
22646
+ diagramName?: string | undefined;
22325
22647
  functionName?: string | undefined;
22326
22648
  }, {
22327
22649
  type: "function";
22328
22650
  diagramID: string;
22329
22651
  nodeID: string;
22330
22652
  functionID: string;
22653
+ diagramName?: string | undefined;
22331
22654
  functionName?: string | undefined;
22332
22655
  }>, z.ZodObject<{
22333
22656
  type: z.ZodLiteral<"integration-tool">;
22334
22657
  nodeID: z.ZodString;
22335
22658
  diagramID: z.ZodString;
22659
+ diagramName: z.ZodOptional<z.ZodString>;
22336
22660
  integrationToolName: z.ZodString;
22337
22661
  }, "strip", z.ZodTypeAny, {
22338
22662
  type: "integration-tool";
22339
22663
  diagramID: string;
22340
22664
  nodeID: string;
22341
22665
  integrationToolName: string;
22666
+ diagramName?: string | undefined;
22342
22667
  }, {
22343
22668
  type: "integration-tool";
22344
22669
  diagramID: string;
22345
22670
  nodeID: string;
22346
22671
  integrationToolName: string;
22672
+ diagramName?: string | undefined;
22347
22673
  }>, z.ZodObject<{
22348
22674
  type: z.ZodLiteral<"mcp-integration-tool">;
22349
22675
  nodeID: z.ZodString;
22350
22676
  diagramID: z.ZodString;
22351
22677
  mcpToolName: z.ZodString;
22678
+ diagramName: z.ZodOptional<z.ZodString>;
22352
22679
  }, "strip", z.ZodTypeAny, {
22353
22680
  type: "mcp-integration-tool";
22354
22681
  diagramID: string;
22355
22682
  nodeID: string;
22356
22683
  mcpToolName: string;
22684
+ diagramName?: string | undefined;
22357
22685
  }, {
22358
22686
  type: "mcp-integration-tool";
22359
22687
  diagramID: string;
22360
22688
  nodeID: string;
22361
22689
  mcpToolName: string;
22690
+ diagramName?: string | undefined;
22362
22691
  }>]>>;
22363
22692
  }, "strip", z.ZodTypeAny, {
22364
22693
  messageID: string;
@@ -22370,39 +22699,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22370
22699
  diagramID: string;
22371
22700
  nodeID: string;
22372
22701
  nodeType: string;
22702
+ diagramName?: string | undefined;
22373
22703
  } | {
22374
22704
  type: "agent";
22375
22705
  diagramID: string;
22376
22706
  nodeID: string;
22377
22707
  agentID: string;
22708
+ diagramName?: string | undefined;
22378
22709
  agentName?: string | undefined;
22379
22710
  } | {
22380
22711
  type: "api-tool";
22381
22712
  diagramID: string;
22382
22713
  nodeID: string;
22383
22714
  apiToolID: string;
22715
+ diagramName?: string | undefined;
22384
22716
  apiToolName?: string | undefined;
22385
22717
  } | {
22386
22718
  type: "integration-tool";
22387
22719
  diagramID: string;
22388
22720
  nodeID: string;
22389
22721
  integrationToolName: string;
22722
+ diagramName?: string | undefined;
22390
22723
  } | {
22391
22724
  type: "mcp-integration-tool";
22392
22725
  diagramID: string;
22393
22726
  nodeID: string;
22394
22727
  mcpToolName: string;
22728
+ diagramName?: string | undefined;
22395
22729
  } | {
22396
22730
  type: "function";
22397
22731
  diagramID: string;
22398
22732
  nodeID: string;
22399
22733
  functionID: string;
22734
+ diagramName?: string | undefined;
22400
22735
  functionName?: string | undefined;
22401
22736
  } | {
22402
22737
  type: "prompt";
22403
22738
  diagramID: string;
22404
22739
  nodeID: string;
22405
22740
  promptID: string;
22741
+ diagramName?: string | undefined;
22406
22742
  } | undefined;
22407
22743
  sourceUrls?: {
22408
22744
  url: string;
@@ -22418,39 +22754,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22418
22754
  diagramID: string;
22419
22755
  nodeID: string;
22420
22756
  nodeType: string;
22757
+ diagramName?: string | undefined;
22421
22758
  } | {
22422
22759
  type: "agent";
22423
22760
  diagramID: string;
22424
22761
  nodeID: string;
22425
22762
  agentID: string;
22763
+ diagramName?: string | undefined;
22426
22764
  agentName?: string | undefined;
22427
22765
  } | {
22428
22766
  type: "api-tool";
22429
22767
  diagramID: string;
22430
22768
  nodeID: string;
22431
22769
  apiToolID: string;
22770
+ diagramName?: string | undefined;
22432
22771
  apiToolName?: string | undefined;
22433
22772
  } | {
22434
22773
  type: "integration-tool";
22435
22774
  diagramID: string;
22436
22775
  nodeID: string;
22437
22776
  integrationToolName: string;
22777
+ diagramName?: string | undefined;
22438
22778
  } | {
22439
22779
  type: "mcp-integration-tool";
22440
22780
  diagramID: string;
22441
22781
  nodeID: string;
22442
22782
  mcpToolName: string;
22783
+ diagramName?: string | undefined;
22443
22784
  } | {
22444
22785
  type: "function";
22445
22786
  diagramID: string;
22446
22787
  nodeID: string;
22447
22788
  functionID: string;
22789
+ diagramName?: string | undefined;
22448
22790
  functionName?: string | undefined;
22449
22791
  } | {
22450
22792
  type: "prompt";
22451
22793
  diagramID: string;
22452
22794
  nodeID: string;
22453
22795
  promptID: string;
22796
+ diagramName?: string | undefined;
22454
22797
  } | undefined;
22455
22798
  sourceUrls?: {
22456
22799
  url: string;
@@ -22472,66 +22815,78 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22472
22815
  nodeID: z.ZodString;
22473
22816
  nodeType: z.ZodString;
22474
22817
  diagramID: z.ZodString;
22818
+ diagramName: z.ZodOptional<z.ZodString>;
22475
22819
  }, "strip", z.ZodTypeAny, {
22476
22820
  type: "node";
22477
22821
  diagramID: string;
22478
22822
  nodeID: string;
22479
22823
  nodeType: string;
22824
+ diagramName?: string | undefined;
22480
22825
  }, {
22481
22826
  type: "node";
22482
22827
  diagramID: string;
22483
22828
  nodeID: string;
22484
22829
  nodeType: string;
22830
+ diagramName?: string | undefined;
22485
22831
  }>, z.ZodObject<{
22486
22832
  type: z.ZodLiteral<"agent">;
22487
22833
  nodeID: z.ZodString;
22488
22834
  agentID: z.ZodString;
22489
22835
  diagramID: z.ZodString;
22490
22836
  agentName: z.ZodOptional<z.ZodString>;
22837
+ diagramName: z.ZodOptional<z.ZodString>;
22491
22838
  }, "strip", z.ZodTypeAny, {
22492
22839
  type: "agent";
22493
22840
  diagramID: string;
22494
22841
  nodeID: string;
22495
22842
  agentID: string;
22843
+ diagramName?: string | undefined;
22496
22844
  agentName?: string | undefined;
22497
22845
  }, {
22498
22846
  type: "agent";
22499
22847
  diagramID: string;
22500
22848
  nodeID: string;
22501
22849
  agentID: string;
22850
+ diagramName?: string | undefined;
22502
22851
  agentName?: string | undefined;
22503
22852
  }>, z.ZodObject<{
22504
22853
  type: z.ZodLiteral<"prompt">;
22505
22854
  nodeID: z.ZodString;
22506
22855
  promptID: z.ZodString;
22507
22856
  diagramID: z.ZodString;
22857
+ diagramName: z.ZodOptional<z.ZodString>;
22508
22858
  }, "strip", z.ZodTypeAny, {
22509
22859
  type: "prompt";
22510
22860
  diagramID: string;
22511
22861
  nodeID: string;
22512
22862
  promptID: string;
22863
+ diagramName?: string | undefined;
22513
22864
  }, {
22514
22865
  type: "prompt";
22515
22866
  diagramID: string;
22516
22867
  nodeID: string;
22517
22868
  promptID: string;
22869
+ diagramName?: string | undefined;
22518
22870
  }>, z.ZodObject<{
22519
22871
  type: z.ZodLiteral<"api-tool">;
22520
22872
  nodeID: z.ZodString;
22521
22873
  diagramID: z.ZodString;
22522
22874
  apiToolID: z.ZodString;
22523
22875
  apiToolName: z.ZodOptional<z.ZodString>;
22876
+ diagramName: z.ZodOptional<z.ZodString>;
22524
22877
  }, "strip", z.ZodTypeAny, {
22525
22878
  type: "api-tool";
22526
22879
  diagramID: string;
22527
22880
  nodeID: string;
22528
22881
  apiToolID: string;
22882
+ diagramName?: string | undefined;
22529
22883
  apiToolName?: string | undefined;
22530
22884
  }, {
22531
22885
  type: "api-tool";
22532
22886
  diagramID: string;
22533
22887
  nodeID: string;
22534
22888
  apiToolID: string;
22889
+ diagramName?: string | undefined;
22535
22890
  apiToolName?: string | undefined;
22536
22891
  }>, z.ZodObject<{
22537
22892
  type: z.ZodLiteral<"function">;
@@ -22539,48 +22894,57 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22539
22894
  diagramID: z.ZodString;
22540
22895
  functionID: z.ZodString;
22541
22896
  functionName: z.ZodOptional<z.ZodString>;
22897
+ diagramName: z.ZodOptional<z.ZodString>;
22542
22898
  }, "strip", z.ZodTypeAny, {
22543
22899
  type: "function";
22544
22900
  diagramID: string;
22545
22901
  nodeID: string;
22546
22902
  functionID: string;
22903
+ diagramName?: string | undefined;
22547
22904
  functionName?: string | undefined;
22548
22905
  }, {
22549
22906
  type: "function";
22550
22907
  diagramID: string;
22551
22908
  nodeID: string;
22552
22909
  functionID: string;
22910
+ diagramName?: string | undefined;
22553
22911
  functionName?: string | undefined;
22554
22912
  }>, z.ZodObject<{
22555
22913
  type: z.ZodLiteral<"integration-tool">;
22556
22914
  nodeID: z.ZodString;
22557
22915
  diagramID: z.ZodString;
22916
+ diagramName: z.ZodOptional<z.ZodString>;
22558
22917
  integrationToolName: z.ZodString;
22559
22918
  }, "strip", z.ZodTypeAny, {
22560
22919
  type: "integration-tool";
22561
22920
  diagramID: string;
22562
22921
  nodeID: string;
22563
22922
  integrationToolName: string;
22923
+ diagramName?: string | undefined;
22564
22924
  }, {
22565
22925
  type: "integration-tool";
22566
22926
  diagramID: string;
22567
22927
  nodeID: string;
22568
22928
  integrationToolName: string;
22929
+ diagramName?: string | undefined;
22569
22930
  }>, z.ZodObject<{
22570
22931
  type: z.ZodLiteral<"mcp-integration-tool">;
22571
22932
  nodeID: z.ZodString;
22572
22933
  diagramID: z.ZodString;
22573
22934
  mcpToolName: z.ZodString;
22935
+ diagramName: z.ZodOptional<z.ZodString>;
22574
22936
  }, "strip", z.ZodTypeAny, {
22575
22937
  type: "mcp-integration-tool";
22576
22938
  diagramID: string;
22577
22939
  nodeID: string;
22578
22940
  mcpToolName: string;
22941
+ diagramName?: string | undefined;
22579
22942
  }, {
22580
22943
  type: "mcp-integration-tool";
22581
22944
  diagramID: string;
22582
22945
  nodeID: string;
22583
22946
  mcpToolName: string;
22947
+ diagramName?: string | undefined;
22584
22948
  }>]>>;
22585
22949
  }, "strip", z.ZodTypeAny, {
22586
22950
  state: "end";
@@ -22589,39 +22953,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22589
22953
  diagramID: string;
22590
22954
  nodeID: string;
22591
22955
  nodeType: string;
22956
+ diagramName?: string | undefined;
22592
22957
  } | {
22593
22958
  type: "agent";
22594
22959
  diagramID: string;
22595
22960
  nodeID: string;
22596
22961
  agentID: string;
22962
+ diagramName?: string | undefined;
22597
22963
  agentName?: string | undefined;
22598
22964
  } | {
22599
22965
  type: "api-tool";
22600
22966
  diagramID: string;
22601
22967
  nodeID: string;
22602
22968
  apiToolID: string;
22969
+ diagramName?: string | undefined;
22603
22970
  apiToolName?: string | undefined;
22604
22971
  } | {
22605
22972
  type: "integration-tool";
22606
22973
  diagramID: string;
22607
22974
  nodeID: string;
22608
22975
  integrationToolName: string;
22976
+ diagramName?: string | undefined;
22609
22977
  } | {
22610
22978
  type: "mcp-integration-tool";
22611
22979
  diagramID: string;
22612
22980
  nodeID: string;
22613
22981
  mcpToolName: string;
22982
+ diagramName?: string | undefined;
22614
22983
  } | {
22615
22984
  type: "function";
22616
22985
  diagramID: string;
22617
22986
  nodeID: string;
22618
22987
  functionID: string;
22988
+ diagramName?: string | undefined;
22619
22989
  functionName?: string | undefined;
22620
22990
  } | {
22621
22991
  type: "prompt";
22622
22992
  diagramID: string;
22623
22993
  nodeID: string;
22624
22994
  promptID: string;
22995
+ diagramName?: string | undefined;
22625
22996
  } | undefined;
22626
22997
  }, {
22627
22998
  state: "end";
@@ -22630,39 +23001,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22630
23001
  diagramID: string;
22631
23002
  nodeID: string;
22632
23003
  nodeType: string;
23004
+ diagramName?: string | undefined;
22633
23005
  } | {
22634
23006
  type: "agent";
22635
23007
  diagramID: string;
22636
23008
  nodeID: string;
22637
23009
  agentID: string;
23010
+ diagramName?: string | undefined;
22638
23011
  agentName?: string | undefined;
22639
23012
  } | {
22640
23013
  type: "api-tool";
22641
23014
  diagramID: string;
22642
23015
  nodeID: string;
22643
23016
  apiToolID: string;
23017
+ diagramName?: string | undefined;
22644
23018
  apiToolName?: string | undefined;
22645
23019
  } | {
22646
23020
  type: "integration-tool";
22647
23021
  diagramID: string;
22648
23022
  nodeID: string;
22649
23023
  integrationToolName: string;
23024
+ diagramName?: string | undefined;
22650
23025
  } | {
22651
23026
  type: "mcp-integration-tool";
22652
23027
  diagramID: string;
22653
23028
  nodeID: string;
22654
23029
  mcpToolName: string;
23030
+ diagramName?: string | undefined;
22655
23031
  } | {
22656
23032
  type: "function";
22657
23033
  diagramID: string;
22658
23034
  nodeID: string;
22659
23035
  functionID: string;
23036
+ diagramName?: string | undefined;
22660
23037
  functionName?: string | undefined;
22661
23038
  } | {
22662
23039
  type: "prompt";
22663
23040
  diagramID: string;
22664
23041
  nodeID: string;
22665
23042
  promptID: string;
23043
+ diagramName?: string | undefined;
22666
23044
  } | undefined;
22667
23045
  }>]>;
22668
23046
  }, "strip", z.ZodTypeAny, {
@@ -22677,39 +23055,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22677
23055
  diagramID: string;
22678
23056
  nodeID: string;
22679
23057
  nodeType: string;
23058
+ diagramName?: string | undefined;
22680
23059
  } | {
22681
23060
  type: "agent";
22682
23061
  diagramID: string;
22683
23062
  nodeID: string;
22684
23063
  agentID: string;
23064
+ diagramName?: string | undefined;
22685
23065
  agentName?: string | undefined;
22686
23066
  } | {
22687
23067
  type: "api-tool";
22688
23068
  diagramID: string;
22689
23069
  nodeID: string;
22690
23070
  apiToolID: string;
23071
+ diagramName?: string | undefined;
22691
23072
  apiToolName?: string | undefined;
22692
23073
  } | {
22693
23074
  type: "integration-tool";
22694
23075
  diagramID: string;
22695
23076
  nodeID: string;
22696
23077
  integrationToolName: string;
23078
+ diagramName?: string | undefined;
22697
23079
  } | {
22698
23080
  type: "mcp-integration-tool";
22699
23081
  diagramID: string;
22700
23082
  nodeID: string;
22701
23083
  mcpToolName: string;
23084
+ diagramName?: string | undefined;
22702
23085
  } | {
22703
23086
  type: "function";
22704
23087
  diagramID: string;
22705
23088
  nodeID: string;
22706
23089
  functionID: string;
23090
+ diagramName?: string | undefined;
22707
23091
  functionName?: string | undefined;
22708
23092
  } | {
22709
23093
  type: "prompt";
22710
23094
  diagramID: string;
22711
23095
  nodeID: string;
22712
23096
  promptID: string;
23097
+ diagramName?: string | undefined;
22713
23098
  } | undefined;
22714
23099
  sourceUrls?: {
22715
23100
  url: string;
@@ -22725,39 +23110,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22725
23110
  diagramID: string;
22726
23111
  nodeID: string;
22727
23112
  nodeType: string;
23113
+ diagramName?: string | undefined;
22728
23114
  } | {
22729
23115
  type: "agent";
22730
23116
  diagramID: string;
22731
23117
  nodeID: string;
22732
23118
  agentID: string;
23119
+ diagramName?: string | undefined;
22733
23120
  agentName?: string | undefined;
22734
23121
  } | {
22735
23122
  type: "api-tool";
22736
23123
  diagramID: string;
22737
23124
  nodeID: string;
22738
23125
  apiToolID: string;
23126
+ diagramName?: string | undefined;
22739
23127
  apiToolName?: string | undefined;
22740
23128
  } | {
22741
23129
  type: "integration-tool";
22742
23130
  diagramID: string;
22743
23131
  nodeID: string;
22744
23132
  integrationToolName: string;
23133
+ diagramName?: string | undefined;
22745
23134
  } | {
22746
23135
  type: "mcp-integration-tool";
22747
23136
  diagramID: string;
22748
23137
  nodeID: string;
22749
23138
  mcpToolName: string;
23139
+ diagramName?: string | undefined;
22750
23140
  } | {
22751
23141
  type: "function";
22752
23142
  diagramID: string;
22753
23143
  nodeID: string;
22754
23144
  functionID: string;
23145
+ diagramName?: string | undefined;
22755
23146
  functionName?: string | undefined;
22756
23147
  } | {
22757
23148
  type: "prompt";
22758
23149
  diagramID: string;
22759
23150
  nodeID: string;
22760
23151
  promptID: string;
23152
+ diagramName?: string | undefined;
22761
23153
  } | undefined;
22762
23154
  };
22763
23155
  time?: number | undefined;
@@ -22786,39 +23178,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22786
23178
  diagramID: string;
22787
23179
  nodeID: string;
22788
23180
  nodeType: string;
23181
+ diagramName?: string | undefined;
22789
23182
  } | {
22790
23183
  type: "agent";
22791
23184
  diagramID: string;
22792
23185
  nodeID: string;
22793
23186
  agentID: string;
23187
+ diagramName?: string | undefined;
22794
23188
  agentName?: string | undefined;
22795
23189
  } | {
22796
23190
  type: "api-tool";
22797
23191
  diagramID: string;
22798
23192
  nodeID: string;
22799
23193
  apiToolID: string;
23194
+ diagramName?: string | undefined;
22800
23195
  apiToolName?: string | undefined;
22801
23196
  } | {
22802
23197
  type: "integration-tool";
22803
23198
  diagramID: string;
22804
23199
  nodeID: string;
22805
23200
  integrationToolName: string;
23201
+ diagramName?: string | undefined;
22806
23202
  } | {
22807
23203
  type: "mcp-integration-tool";
22808
23204
  diagramID: string;
22809
23205
  nodeID: string;
22810
23206
  mcpToolName: string;
23207
+ diagramName?: string | undefined;
22811
23208
  } | {
22812
23209
  type: "function";
22813
23210
  diagramID: string;
22814
23211
  nodeID: string;
22815
23212
  functionID: string;
23213
+ diagramName?: string | undefined;
22816
23214
  functionName?: string | undefined;
22817
23215
  } | {
22818
23216
  type: "prompt";
22819
23217
  diagramID: string;
22820
23218
  nodeID: string;
22821
23219
  promptID: string;
23220
+ diagramName?: string | undefined;
22822
23221
  } | undefined;
22823
23222
  sourceUrls?: {
22824
23223
  url: string;
@@ -22834,39 +23233,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22834
23233
  diagramID: string;
22835
23234
  nodeID: string;
22836
23235
  nodeType: string;
23236
+ diagramName?: string | undefined;
22837
23237
  } | {
22838
23238
  type: "agent";
22839
23239
  diagramID: string;
22840
23240
  nodeID: string;
22841
23241
  agentID: string;
23242
+ diagramName?: string | undefined;
22842
23243
  agentName?: string | undefined;
22843
23244
  } | {
22844
23245
  type: "api-tool";
22845
23246
  diagramID: string;
22846
23247
  nodeID: string;
22847
23248
  apiToolID: string;
23249
+ diagramName?: string | undefined;
22848
23250
  apiToolName?: string | undefined;
22849
23251
  } | {
22850
23252
  type: "integration-tool";
22851
23253
  diagramID: string;
22852
23254
  nodeID: string;
22853
23255
  integrationToolName: string;
23256
+ diagramName?: string | undefined;
22854
23257
  } | {
22855
23258
  type: "mcp-integration-tool";
22856
23259
  diagramID: string;
22857
23260
  nodeID: string;
22858
23261
  mcpToolName: string;
23262
+ diagramName?: string | undefined;
22859
23263
  } | {
22860
23264
  type: "function";
22861
23265
  diagramID: string;
22862
23266
  nodeID: string;
22863
23267
  functionID: string;
23268
+ diagramName?: string | undefined;
22864
23269
  functionName?: string | undefined;
22865
23270
  } | {
22866
23271
  type: "prompt";
22867
23272
  diagramID: string;
22868
23273
  nodeID: string;
22869
23274
  promptID: string;
23275
+ diagramName?: string | undefined;
22870
23276
  } | undefined;
22871
23277
  };
22872
23278
  time?: number | undefined;
@@ -22936,66 +23342,78 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22936
23342
  nodeID: z.ZodString;
22937
23343
  nodeType: z.ZodString;
22938
23344
  diagramID: z.ZodString;
23345
+ diagramName: z.ZodOptional<z.ZodString>;
22939
23346
  }, "strip", z.ZodTypeAny, {
22940
23347
  type: "node";
22941
23348
  diagramID: string;
22942
23349
  nodeID: string;
22943
23350
  nodeType: string;
23351
+ diagramName?: string | undefined;
22944
23352
  }, {
22945
23353
  type: "node";
22946
23354
  diagramID: string;
22947
23355
  nodeID: string;
22948
23356
  nodeType: string;
23357
+ diagramName?: string | undefined;
22949
23358
  }>, z.ZodObject<{
22950
23359
  type: z.ZodLiteral<"agent">;
22951
23360
  nodeID: z.ZodString;
22952
23361
  agentID: z.ZodString;
22953
23362
  diagramID: z.ZodString;
22954
23363
  agentName: z.ZodOptional<z.ZodString>;
23364
+ diagramName: z.ZodOptional<z.ZodString>;
22955
23365
  }, "strip", z.ZodTypeAny, {
22956
23366
  type: "agent";
22957
23367
  diagramID: string;
22958
23368
  nodeID: string;
22959
23369
  agentID: string;
23370
+ diagramName?: string | undefined;
22960
23371
  agentName?: string | undefined;
22961
23372
  }, {
22962
23373
  type: "agent";
22963
23374
  diagramID: string;
22964
23375
  nodeID: string;
22965
23376
  agentID: string;
23377
+ diagramName?: string | undefined;
22966
23378
  agentName?: string | undefined;
22967
23379
  }>, z.ZodObject<{
22968
23380
  type: z.ZodLiteral<"prompt">;
22969
23381
  nodeID: z.ZodString;
22970
23382
  promptID: z.ZodString;
22971
23383
  diagramID: z.ZodString;
23384
+ diagramName: z.ZodOptional<z.ZodString>;
22972
23385
  }, "strip", z.ZodTypeAny, {
22973
23386
  type: "prompt";
22974
23387
  diagramID: string;
22975
23388
  nodeID: string;
22976
23389
  promptID: string;
23390
+ diagramName?: string | undefined;
22977
23391
  }, {
22978
23392
  type: "prompt";
22979
23393
  diagramID: string;
22980
23394
  nodeID: string;
22981
23395
  promptID: string;
23396
+ diagramName?: string | undefined;
22982
23397
  }>, z.ZodObject<{
22983
23398
  type: z.ZodLiteral<"api-tool">;
22984
23399
  nodeID: z.ZodString;
22985
23400
  diagramID: z.ZodString;
22986
23401
  apiToolID: z.ZodString;
22987
23402
  apiToolName: z.ZodOptional<z.ZodString>;
23403
+ diagramName: z.ZodOptional<z.ZodString>;
22988
23404
  }, "strip", z.ZodTypeAny, {
22989
23405
  type: "api-tool";
22990
23406
  diagramID: string;
22991
23407
  nodeID: string;
22992
23408
  apiToolID: string;
23409
+ diagramName?: string | undefined;
22993
23410
  apiToolName?: string | undefined;
22994
23411
  }, {
22995
23412
  type: "api-tool";
22996
23413
  diagramID: string;
22997
23414
  nodeID: string;
22998
23415
  apiToolID: string;
23416
+ diagramName?: string | undefined;
22999
23417
  apiToolName?: string | undefined;
23000
23418
  }>, z.ZodObject<{
23001
23419
  type: z.ZodLiteral<"function">;
@@ -23003,48 +23421,57 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
23003
23421
  diagramID: z.ZodString;
23004
23422
  functionID: z.ZodString;
23005
23423
  functionName: z.ZodOptional<z.ZodString>;
23424
+ diagramName: z.ZodOptional<z.ZodString>;
23006
23425
  }, "strip", z.ZodTypeAny, {
23007
23426
  type: "function";
23008
23427
  diagramID: string;
23009
23428
  nodeID: string;
23010
23429
  functionID: string;
23430
+ diagramName?: string | undefined;
23011
23431
  functionName?: string | undefined;
23012
23432
  }, {
23013
23433
  type: "function";
23014
23434
  diagramID: string;
23015
23435
  nodeID: string;
23016
23436
  functionID: string;
23437
+ diagramName?: string | undefined;
23017
23438
  functionName?: string | undefined;
23018
23439
  }>, z.ZodObject<{
23019
23440
  type: z.ZodLiteral<"integration-tool">;
23020
23441
  nodeID: z.ZodString;
23021
23442
  diagramID: z.ZodString;
23443
+ diagramName: z.ZodOptional<z.ZodString>;
23022
23444
  integrationToolName: z.ZodString;
23023
23445
  }, "strip", z.ZodTypeAny, {
23024
23446
  type: "integration-tool";
23025
23447
  diagramID: string;
23026
23448
  nodeID: string;
23027
23449
  integrationToolName: string;
23450
+ diagramName?: string | undefined;
23028
23451
  }, {
23029
23452
  type: "integration-tool";
23030
23453
  diagramID: string;
23031
23454
  nodeID: string;
23032
23455
  integrationToolName: string;
23456
+ diagramName?: string | undefined;
23033
23457
  }>, z.ZodObject<{
23034
23458
  type: z.ZodLiteral<"mcp-integration-tool">;
23035
23459
  nodeID: z.ZodString;
23036
23460
  diagramID: z.ZodString;
23037
23461
  mcpToolName: z.ZodString;
23462
+ diagramName: z.ZodOptional<z.ZodString>;
23038
23463
  }, "strip", z.ZodTypeAny, {
23039
23464
  type: "mcp-integration-tool";
23040
23465
  diagramID: string;
23041
23466
  nodeID: string;
23042
23467
  mcpToolName: string;
23468
+ diagramName?: string | undefined;
23043
23469
  }, {
23044
23470
  type: "mcp-integration-tool";
23045
23471
  diagramID: string;
23046
23472
  nodeID: string;
23047
23473
  mcpToolName: string;
23474
+ diagramName?: string | undefined;
23048
23475
  }>]>>;
23049
23476
  type: z.ZodOptional<z.ZodString>;
23050
23477
  level: z.ZodOptional<z.ZodNativeEnum<{
@@ -23066,39 +23493,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
23066
23493
  diagramID: string;
23067
23494
  nodeID: string;
23068
23495
  nodeType: string;
23496
+ diagramName?: string | undefined;
23069
23497
  } | {
23070
23498
  type: "agent";
23071
23499
  diagramID: string;
23072
23500
  nodeID: string;
23073
23501
  agentID: string;
23502
+ diagramName?: string | undefined;
23074
23503
  agentName?: string | undefined;
23075
23504
  } | {
23076
23505
  type: "api-tool";
23077
23506
  diagramID: string;
23078
23507
  nodeID: string;
23079
23508
  apiToolID: string;
23509
+ diagramName?: string | undefined;
23080
23510
  apiToolName?: string | undefined;
23081
23511
  } | {
23082
23512
  type: "integration-tool";
23083
23513
  diagramID: string;
23084
23514
  nodeID: string;
23085
23515
  integrationToolName: string;
23516
+ diagramName?: string | undefined;
23086
23517
  } | {
23087
23518
  type: "mcp-integration-tool";
23088
23519
  diagramID: string;
23089
23520
  nodeID: string;
23090
23521
  mcpToolName: string;
23522
+ diagramName?: string | undefined;
23091
23523
  } | {
23092
23524
  type: "function";
23093
23525
  diagramID: string;
23094
23526
  nodeID: string;
23095
23527
  functionID: string;
23528
+ diagramName?: string | undefined;
23096
23529
  functionName?: string | undefined;
23097
23530
  } | {
23098
23531
  type: "prompt";
23099
23532
  diagramID: string;
23100
23533
  nodeID: string;
23101
23534
  promptID: string;
23535
+ diagramName?: string | undefined;
23102
23536
  } | undefined;
23103
23537
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
23104
23538
  context?: string | undefined;
@@ -23111,39 +23545,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
23111
23545
  diagramID: string;
23112
23546
  nodeID: string;
23113
23547
  nodeType: string;
23548
+ diagramName?: string | undefined;
23114
23549
  } | {
23115
23550
  type: "agent";
23116
23551
  diagramID: string;
23117
23552
  nodeID: string;
23118
23553
  agentID: string;
23554
+ diagramName?: string | undefined;
23119
23555
  agentName?: string | undefined;
23120
23556
  } | {
23121
23557
  type: "api-tool";
23122
23558
  diagramID: string;
23123
23559
  nodeID: string;
23124
23560
  apiToolID: string;
23561
+ diagramName?: string | undefined;
23125
23562
  apiToolName?: string | undefined;
23126
23563
  } | {
23127
23564
  type: "integration-tool";
23128
23565
  diagramID: string;
23129
23566
  nodeID: string;
23130
23567
  integrationToolName: string;
23568
+ diagramName?: string | undefined;
23131
23569
  } | {
23132
23570
  type: "mcp-integration-tool";
23133
23571
  diagramID: string;
23134
23572
  nodeID: string;
23135
23573
  mcpToolName: string;
23574
+ diagramName?: string | undefined;
23136
23575
  } | {
23137
23576
  type: "function";
23138
23577
  diagramID: string;
23139
23578
  nodeID: string;
23140
23579
  functionID: string;
23580
+ diagramName?: string | undefined;
23141
23581
  functionName?: string | undefined;
23142
23582
  } | {
23143
23583
  type: "prompt";
23144
23584
  diagramID: string;
23145
23585
  nodeID: string;
23146
23586
  promptID: string;
23587
+ diagramName?: string | undefined;
23147
23588
  } | undefined;
23148
23589
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
23149
23590
  context?: string | undefined;
@@ -23159,39 +23600,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
23159
23600
  diagramID: string;
23160
23601
  nodeID: string;
23161
23602
  nodeType: string;
23603
+ diagramName?: string | undefined;
23162
23604
  } | {
23163
23605
  type: "agent";
23164
23606
  diagramID: string;
23165
23607
  nodeID: string;
23166
23608
  agentID: string;
23609
+ diagramName?: string | undefined;
23167
23610
  agentName?: string | undefined;
23168
23611
  } | {
23169
23612
  type: "api-tool";
23170
23613
  diagramID: string;
23171
23614
  nodeID: string;
23172
23615
  apiToolID: string;
23616
+ diagramName?: string | undefined;
23173
23617
  apiToolName?: string | undefined;
23174
23618
  } | {
23175
23619
  type: "integration-tool";
23176
23620
  diagramID: string;
23177
23621
  nodeID: string;
23178
23622
  integrationToolName: string;
23623
+ diagramName?: string | undefined;
23179
23624
  } | {
23180
23625
  type: "mcp-integration-tool";
23181
23626
  diagramID: string;
23182
23627
  nodeID: string;
23183
23628
  mcpToolName: string;
23629
+ diagramName?: string | undefined;
23184
23630
  } | {
23185
23631
  type: "function";
23186
23632
  diagramID: string;
23187
23633
  nodeID: string;
23188
23634
  functionID: string;
23635
+ diagramName?: string | undefined;
23189
23636
  functionName?: string | undefined;
23190
23637
  } | {
23191
23638
  type: "prompt";
23192
23639
  diagramID: string;
23193
23640
  nodeID: string;
23194
23641
  promptID: string;
23642
+ diagramName?: string | undefined;
23195
23643
  } | undefined;
23196
23644
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
23197
23645
  context?: string | undefined;
@@ -23221,39 +23669,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
23221
23669
  diagramID: string;
23222
23670
  nodeID: string;
23223
23671
  nodeType: string;
23672
+ diagramName?: string | undefined;
23224
23673
  } | {
23225
23674
  type: "agent";
23226
23675
  diagramID: string;
23227
23676
  nodeID: string;
23228
23677
  agentID: string;
23678
+ diagramName?: string | undefined;
23229
23679
  agentName?: string | undefined;
23230
23680
  } | {
23231
23681
  type: "api-tool";
23232
23682
  diagramID: string;
23233
23683
  nodeID: string;
23234
23684
  apiToolID: string;
23685
+ diagramName?: string | undefined;
23235
23686
  apiToolName?: string | undefined;
23236
23687
  } | {
23237
23688
  type: "integration-tool";
23238
23689
  diagramID: string;
23239
23690
  nodeID: string;
23240
23691
  integrationToolName: string;
23692
+ diagramName?: string | undefined;
23241
23693
  } | {
23242
23694
  type: "mcp-integration-tool";
23243
23695
  diagramID: string;
23244
23696
  nodeID: string;
23245
23697
  mcpToolName: string;
23698
+ diagramName?: string | undefined;
23246
23699
  } | {
23247
23700
  type: "function";
23248
23701
  diagramID: string;
23249
23702
  nodeID: string;
23250
23703
  functionID: string;
23704
+ diagramName?: string | undefined;
23251
23705
  functionName?: string | undefined;
23252
23706
  } | {
23253
23707
  type: "prompt";
23254
23708
  diagramID: string;
23255
23709
  nodeID: string;
23256
23710
  promptID: string;
23711
+ diagramName?: string | undefined;
23257
23712
  } | undefined;
23258
23713
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
23259
23714
  context?: string | undefined;
@@ -24406,66 +24861,78 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
24406
24861
  nodeID: z.ZodString;
24407
24862
  nodeType: z.ZodString;
24408
24863
  diagramID: z.ZodString;
24864
+ diagramName: z.ZodOptional<z.ZodString>;
24409
24865
  }, "strip", z.ZodTypeAny, {
24410
24866
  type: "node";
24411
24867
  diagramID: string;
24412
24868
  nodeID: string;
24413
24869
  nodeType: string;
24870
+ diagramName?: string | undefined;
24414
24871
  }, {
24415
24872
  type: "node";
24416
24873
  diagramID: string;
24417
24874
  nodeID: string;
24418
24875
  nodeType: string;
24876
+ diagramName?: string | undefined;
24419
24877
  }>, z.ZodObject<{
24420
24878
  type: z.ZodLiteral<"agent">;
24421
24879
  nodeID: z.ZodString;
24422
24880
  agentID: z.ZodString;
24423
24881
  diagramID: z.ZodString;
24424
24882
  agentName: z.ZodOptional<z.ZodString>;
24883
+ diagramName: z.ZodOptional<z.ZodString>;
24425
24884
  }, "strip", z.ZodTypeAny, {
24426
24885
  type: "agent";
24427
24886
  diagramID: string;
24428
24887
  nodeID: string;
24429
24888
  agentID: string;
24889
+ diagramName?: string | undefined;
24430
24890
  agentName?: string | undefined;
24431
24891
  }, {
24432
24892
  type: "agent";
24433
24893
  diagramID: string;
24434
24894
  nodeID: string;
24435
24895
  agentID: string;
24896
+ diagramName?: string | undefined;
24436
24897
  agentName?: string | undefined;
24437
24898
  }>, z.ZodObject<{
24438
24899
  type: z.ZodLiteral<"prompt">;
24439
24900
  nodeID: z.ZodString;
24440
24901
  promptID: z.ZodString;
24441
24902
  diagramID: z.ZodString;
24903
+ diagramName: z.ZodOptional<z.ZodString>;
24442
24904
  }, "strip", z.ZodTypeAny, {
24443
24905
  type: "prompt";
24444
24906
  diagramID: string;
24445
24907
  nodeID: string;
24446
24908
  promptID: string;
24909
+ diagramName?: string | undefined;
24447
24910
  }, {
24448
24911
  type: "prompt";
24449
24912
  diagramID: string;
24450
24913
  nodeID: string;
24451
24914
  promptID: string;
24915
+ diagramName?: string | undefined;
24452
24916
  }>, z.ZodObject<{
24453
24917
  type: z.ZodLiteral<"api-tool">;
24454
24918
  nodeID: z.ZodString;
24455
24919
  diagramID: z.ZodString;
24456
24920
  apiToolID: z.ZodString;
24457
24921
  apiToolName: z.ZodOptional<z.ZodString>;
24922
+ diagramName: z.ZodOptional<z.ZodString>;
24458
24923
  }, "strip", z.ZodTypeAny, {
24459
24924
  type: "api-tool";
24460
24925
  diagramID: string;
24461
24926
  nodeID: string;
24462
24927
  apiToolID: string;
24928
+ diagramName?: string | undefined;
24463
24929
  apiToolName?: string | undefined;
24464
24930
  }, {
24465
24931
  type: "api-tool";
24466
24932
  diagramID: string;
24467
24933
  nodeID: string;
24468
24934
  apiToolID: string;
24935
+ diagramName?: string | undefined;
24469
24936
  apiToolName?: string | undefined;
24470
24937
  }>, z.ZodObject<{
24471
24938
  type: z.ZodLiteral<"function">;
@@ -24473,48 +24940,57 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
24473
24940
  diagramID: z.ZodString;
24474
24941
  functionID: z.ZodString;
24475
24942
  functionName: z.ZodOptional<z.ZodString>;
24943
+ diagramName: z.ZodOptional<z.ZodString>;
24476
24944
  }, "strip", z.ZodTypeAny, {
24477
24945
  type: "function";
24478
24946
  diagramID: string;
24479
24947
  nodeID: string;
24480
24948
  functionID: string;
24949
+ diagramName?: string | undefined;
24481
24950
  functionName?: string | undefined;
24482
24951
  }, {
24483
24952
  type: "function";
24484
24953
  diagramID: string;
24485
24954
  nodeID: string;
24486
24955
  functionID: string;
24956
+ diagramName?: string | undefined;
24487
24957
  functionName?: string | undefined;
24488
24958
  }>, z.ZodObject<{
24489
24959
  type: z.ZodLiteral<"integration-tool">;
24490
24960
  nodeID: z.ZodString;
24491
24961
  diagramID: z.ZodString;
24962
+ diagramName: z.ZodOptional<z.ZodString>;
24492
24963
  integrationToolName: z.ZodString;
24493
24964
  }, "strip", z.ZodTypeAny, {
24494
24965
  type: "integration-tool";
24495
24966
  diagramID: string;
24496
24967
  nodeID: string;
24497
24968
  integrationToolName: string;
24969
+ diagramName?: string | undefined;
24498
24970
  }, {
24499
24971
  type: "integration-tool";
24500
24972
  diagramID: string;
24501
24973
  nodeID: string;
24502
24974
  integrationToolName: string;
24975
+ diagramName?: string | undefined;
24503
24976
  }>, z.ZodObject<{
24504
24977
  type: z.ZodLiteral<"mcp-integration-tool">;
24505
24978
  nodeID: z.ZodString;
24506
24979
  diagramID: z.ZodString;
24507
24980
  mcpToolName: z.ZodString;
24981
+ diagramName: z.ZodOptional<z.ZodString>;
24508
24982
  }, "strip", z.ZodTypeAny, {
24509
24983
  type: "mcp-integration-tool";
24510
24984
  diagramID: string;
24511
24985
  nodeID: string;
24512
24986
  mcpToolName: string;
24987
+ diagramName?: string | undefined;
24513
24988
  }, {
24514
24989
  type: "mcp-integration-tool";
24515
24990
  diagramID: string;
24516
24991
  nodeID: string;
24517
24992
  mcpToolName: string;
24993
+ diagramName?: string | undefined;
24518
24994
  }>]>>;
24519
24995
  slate: z.ZodObject<{
24520
24996
  id: z.ZodString;
@@ -24564,39 +25040,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
24564
25040
  diagramID: string;
24565
25041
  nodeID: string;
24566
25042
  nodeType: string;
25043
+ diagramName?: string | undefined;
24567
25044
  } | {
24568
25045
  type: "agent";
24569
25046
  diagramID: string;
24570
25047
  nodeID: string;
24571
25048
  agentID: string;
25049
+ diagramName?: string | undefined;
24572
25050
  agentName?: string | undefined;
24573
25051
  } | {
24574
25052
  type: "api-tool";
24575
25053
  diagramID: string;
24576
25054
  nodeID: string;
24577
25055
  apiToolID: string;
25056
+ diagramName?: string | undefined;
24578
25057
  apiToolName?: string | undefined;
24579
25058
  } | {
24580
25059
  type: "integration-tool";
24581
25060
  diagramID: string;
24582
25061
  nodeID: string;
24583
25062
  integrationToolName: string;
25063
+ diagramName?: string | undefined;
24584
25064
  } | {
24585
25065
  type: "mcp-integration-tool";
24586
25066
  diagramID: string;
24587
25067
  nodeID: string;
24588
25068
  mcpToolName: string;
25069
+ diagramName?: string | undefined;
24589
25070
  } | {
24590
25071
  type: "function";
24591
25072
  diagramID: string;
24592
25073
  nodeID: string;
24593
25074
  functionID: string;
25075
+ diagramName?: string | undefined;
24594
25076
  functionName?: string | undefined;
24595
25077
  } | {
24596
25078
  type: "prompt";
24597
25079
  diagramID: string;
24598
25080
  nodeID: string;
24599
25081
  promptID: string;
25082
+ diagramName?: string | undefined;
24600
25083
  } | undefined;
24601
25084
  sourceUrls?: {
24602
25085
  url: string;
@@ -24620,39 +25103,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
24620
25103
  diagramID: string;
24621
25104
  nodeID: string;
24622
25105
  nodeType: string;
25106
+ diagramName?: string | undefined;
24623
25107
  } | {
24624
25108
  type: "agent";
24625
25109
  diagramID: string;
24626
25110
  nodeID: string;
24627
25111
  agentID: string;
25112
+ diagramName?: string | undefined;
24628
25113
  agentName?: string | undefined;
24629
25114
  } | {
24630
25115
  type: "api-tool";
24631
25116
  diagramID: string;
24632
25117
  nodeID: string;
24633
25118
  apiToolID: string;
25119
+ diagramName?: string | undefined;
24634
25120
  apiToolName?: string | undefined;
24635
25121
  } | {
24636
25122
  type: "integration-tool";
24637
25123
  diagramID: string;
24638
25124
  nodeID: string;
24639
25125
  integrationToolName: string;
25126
+ diagramName?: string | undefined;
24640
25127
  } | {
24641
25128
  type: "mcp-integration-tool";
24642
25129
  diagramID: string;
24643
25130
  nodeID: string;
24644
25131
  mcpToolName: string;
25132
+ diagramName?: string | undefined;
24645
25133
  } | {
24646
25134
  type: "function";
24647
25135
  diagramID: string;
24648
25136
  nodeID: string;
24649
25137
  functionID: string;
25138
+ diagramName?: string | undefined;
24650
25139
  functionName?: string | undefined;
24651
25140
  } | {
24652
25141
  type: "prompt";
24653
25142
  diagramID: string;
24654
25143
  nodeID: string;
24655
25144
  promptID: string;
25145
+ diagramName?: string | undefined;
24656
25146
  } | undefined;
24657
25147
  sourceUrls?: {
24658
25148
  url: string;
@@ -24679,39 +25169,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
24679
25169
  diagramID: string;
24680
25170
  nodeID: string;
24681
25171
  nodeType: string;
25172
+ diagramName?: string | undefined;
24682
25173
  } | {
24683
25174
  type: "agent";
24684
25175
  diagramID: string;
24685
25176
  nodeID: string;
24686
25177
  agentID: string;
25178
+ diagramName?: string | undefined;
24687
25179
  agentName?: string | undefined;
24688
25180
  } | {
24689
25181
  type: "api-tool";
24690
25182
  diagramID: string;
24691
25183
  nodeID: string;
24692
25184
  apiToolID: string;
25185
+ diagramName?: string | undefined;
24693
25186
  apiToolName?: string | undefined;
24694
25187
  } | {
24695
25188
  type: "integration-tool";
24696
25189
  diagramID: string;
24697
25190
  nodeID: string;
24698
25191
  integrationToolName: string;
25192
+ diagramName?: string | undefined;
24699
25193
  } | {
24700
25194
  type: "mcp-integration-tool";
24701
25195
  diagramID: string;
24702
25196
  nodeID: string;
24703
25197
  mcpToolName: string;
25198
+ diagramName?: string | undefined;
24704
25199
  } | {
24705
25200
  type: "function";
24706
25201
  diagramID: string;
24707
25202
  nodeID: string;
24708
25203
  functionID: string;
25204
+ diagramName?: string | undefined;
24709
25205
  functionName?: string | undefined;
24710
25206
  } | {
24711
25207
  type: "prompt";
24712
25208
  diagramID: string;
24713
25209
  nodeID: string;
24714
25210
  promptID: string;
25211
+ diagramName?: string | undefined;
24715
25212
  } | undefined;
24716
25213
  sourceUrls?: {
24717
25214
  url: string;
@@ -24752,39 +25249,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
24752
25249
  diagramID: string;
24753
25250
  nodeID: string;
24754
25251
  nodeType: string;
25252
+ diagramName?: string | undefined;
24755
25253
  } | {
24756
25254
  type: "agent";
24757
25255
  diagramID: string;
24758
25256
  nodeID: string;
24759
25257
  agentID: string;
25258
+ diagramName?: string | undefined;
24760
25259
  agentName?: string | undefined;
24761
25260
  } | {
24762
25261
  type: "api-tool";
24763
25262
  diagramID: string;
24764
25263
  nodeID: string;
24765
25264
  apiToolID: string;
25265
+ diagramName?: string | undefined;
24766
25266
  apiToolName?: string | undefined;
24767
25267
  } | {
24768
25268
  type: "integration-tool";
24769
25269
  diagramID: string;
24770
25270
  nodeID: string;
24771
25271
  integrationToolName: string;
25272
+ diagramName?: string | undefined;
24772
25273
  } | {
24773
25274
  type: "mcp-integration-tool";
24774
25275
  diagramID: string;
24775
25276
  nodeID: string;
24776
25277
  mcpToolName: string;
25278
+ diagramName?: string | undefined;
24777
25279
  } | {
24778
25280
  type: "function";
24779
25281
  diagramID: string;
24780
25282
  nodeID: string;
24781
25283
  functionID: string;
25284
+ diagramName?: string | undefined;
24782
25285
  functionName?: string | undefined;
24783
25286
  } | {
24784
25287
  type: "prompt";
24785
25288
  diagramID: string;
24786
25289
  nodeID: string;
24787
25290
  promptID: string;
25291
+ diagramName?: string | undefined;
24788
25292
  } | undefined;
24789
25293
  sourceUrls?: {
24790
25294
  url: string;
@@ -26053,39 +26557,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
26053
26557
  diagramID: string;
26054
26558
  nodeID: string;
26055
26559
  nodeType: string;
26560
+ diagramName?: string | undefined;
26056
26561
  } | {
26057
26562
  type: "agent";
26058
26563
  diagramID: string;
26059
26564
  nodeID: string;
26060
26565
  agentID: string;
26566
+ diagramName?: string | undefined;
26061
26567
  agentName?: string | undefined;
26062
26568
  } | {
26063
26569
  type: "api-tool";
26064
26570
  diagramID: string;
26065
26571
  nodeID: string;
26066
26572
  apiToolID: string;
26573
+ diagramName?: string | undefined;
26067
26574
  apiToolName?: string | undefined;
26068
26575
  } | {
26069
26576
  type: "integration-tool";
26070
26577
  diagramID: string;
26071
26578
  nodeID: string;
26072
26579
  integrationToolName: string;
26580
+ diagramName?: string | undefined;
26073
26581
  } | {
26074
26582
  type: "mcp-integration-tool";
26075
26583
  diagramID: string;
26076
26584
  nodeID: string;
26077
26585
  mcpToolName: string;
26586
+ diagramName?: string | undefined;
26078
26587
  } | {
26079
26588
  type: "function";
26080
26589
  diagramID: string;
26081
26590
  nodeID: string;
26082
26591
  functionID: string;
26592
+ diagramName?: string | undefined;
26083
26593
  functionName?: string | undefined;
26084
26594
  } | {
26085
26595
  type: "prompt";
26086
26596
  diagramID: string;
26087
26597
  nodeID: string;
26088
26598
  promptID: string;
26599
+ diagramName?: string | undefined;
26089
26600
  } | undefined;
26090
26601
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
26091
26602
  context?: string | undefined;
@@ -26116,39 +26627,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
26116
26627
  diagramID: string;
26117
26628
  nodeID: string;
26118
26629
  nodeType: string;
26630
+ diagramName?: string | undefined;
26119
26631
  } | {
26120
26632
  type: "agent";
26121
26633
  diagramID: string;
26122
26634
  nodeID: string;
26123
26635
  agentID: string;
26636
+ diagramName?: string | undefined;
26124
26637
  agentName?: string | undefined;
26125
26638
  } | {
26126
26639
  type: "api-tool";
26127
26640
  diagramID: string;
26128
26641
  nodeID: string;
26129
26642
  apiToolID: string;
26643
+ diagramName?: string | undefined;
26130
26644
  apiToolName?: string | undefined;
26131
26645
  } | {
26132
26646
  type: "integration-tool";
26133
26647
  diagramID: string;
26134
26648
  nodeID: string;
26135
26649
  integrationToolName: string;
26650
+ diagramName?: string | undefined;
26136
26651
  } | {
26137
26652
  type: "mcp-integration-tool";
26138
26653
  diagramID: string;
26139
26654
  nodeID: string;
26140
26655
  mcpToolName: string;
26656
+ diagramName?: string | undefined;
26141
26657
  } | {
26142
26658
  type: "function";
26143
26659
  diagramID: string;
26144
26660
  nodeID: string;
26145
26661
  functionID: string;
26662
+ diagramName?: string | undefined;
26146
26663
  functionName?: string | undefined;
26147
26664
  } | {
26148
26665
  type: "prompt";
26149
26666
  diagramID: string;
26150
26667
  nodeID: string;
26151
26668
  promptID: string;
26669
+ diagramName?: string | undefined;
26152
26670
  } | undefined;
26153
26671
  sourceUrls?: {
26154
26672
  url: string;
@@ -26164,39 +26682,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
26164
26682
  diagramID: string;
26165
26683
  nodeID: string;
26166
26684
  nodeType: string;
26685
+ diagramName?: string | undefined;
26167
26686
  } | {
26168
26687
  type: "agent";
26169
26688
  diagramID: string;
26170
26689
  nodeID: string;
26171
26690
  agentID: string;
26691
+ diagramName?: string | undefined;
26172
26692
  agentName?: string | undefined;
26173
26693
  } | {
26174
26694
  type: "api-tool";
26175
26695
  diagramID: string;
26176
26696
  nodeID: string;
26177
26697
  apiToolID: string;
26698
+ diagramName?: string | undefined;
26178
26699
  apiToolName?: string | undefined;
26179
26700
  } | {
26180
26701
  type: "integration-tool";
26181
26702
  diagramID: string;
26182
26703
  nodeID: string;
26183
26704
  integrationToolName: string;
26705
+ diagramName?: string | undefined;
26184
26706
  } | {
26185
26707
  type: "mcp-integration-tool";
26186
26708
  diagramID: string;
26187
26709
  nodeID: string;
26188
26710
  mcpToolName: string;
26711
+ diagramName?: string | undefined;
26189
26712
  } | {
26190
26713
  type: "function";
26191
26714
  diagramID: string;
26192
26715
  nodeID: string;
26193
26716
  functionID: string;
26717
+ diagramName?: string | undefined;
26194
26718
  functionName?: string | undefined;
26195
26719
  } | {
26196
26720
  type: "prompt";
26197
26721
  diagramID: string;
26198
26722
  nodeID: string;
26199
26723
  promptID: string;
26724
+ diagramName?: string | undefined;
26200
26725
  } | undefined;
26201
26726
  };
26202
26727
  time?: number | undefined;
@@ -26613,39 +27138,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
26613
27138
  diagramID: string;
26614
27139
  nodeID: string;
26615
27140
  nodeType: string;
27141
+ diagramName?: string | undefined;
26616
27142
  } | {
26617
27143
  type: "agent";
26618
27144
  diagramID: string;
26619
27145
  nodeID: string;
26620
27146
  agentID: string;
27147
+ diagramName?: string | undefined;
26621
27148
  agentName?: string | undefined;
26622
27149
  } | {
26623
27150
  type: "api-tool";
26624
27151
  diagramID: string;
26625
27152
  nodeID: string;
26626
27153
  apiToolID: string;
27154
+ diagramName?: string | undefined;
26627
27155
  apiToolName?: string | undefined;
26628
27156
  } | {
26629
27157
  type: "integration-tool";
26630
27158
  diagramID: string;
26631
27159
  nodeID: string;
26632
27160
  integrationToolName: string;
27161
+ diagramName?: string | undefined;
26633
27162
  } | {
26634
27163
  type: "mcp-integration-tool";
26635
27164
  diagramID: string;
26636
27165
  nodeID: string;
26637
27166
  mcpToolName: string;
27167
+ diagramName?: string | undefined;
26638
27168
  } | {
26639
27169
  type: "function";
26640
27170
  diagramID: string;
26641
27171
  nodeID: string;
26642
27172
  functionID: string;
27173
+ diagramName?: string | undefined;
26643
27174
  functionName?: string | undefined;
26644
27175
  } | {
26645
27176
  type: "prompt";
26646
27177
  diagramID: string;
26647
27178
  nodeID: string;
26648
27179
  promptID: string;
27180
+ diagramName?: string | undefined;
26649
27181
  } | undefined;
26650
27182
  sourceUrls?: {
26651
27183
  url: string;
@@ -26901,39 +27433,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
26901
27433
  diagramID: string;
26902
27434
  nodeID: string;
26903
27435
  nodeType: string;
27436
+ diagramName?: string | undefined;
26904
27437
  } | {
26905
27438
  type: "agent";
26906
27439
  diagramID: string;
26907
27440
  nodeID: string;
26908
27441
  agentID: string;
27442
+ diagramName?: string | undefined;
26909
27443
  agentName?: string | undefined;
26910
27444
  } | {
26911
27445
  type: "api-tool";
26912
27446
  diagramID: string;
26913
27447
  nodeID: string;
26914
27448
  apiToolID: string;
27449
+ diagramName?: string | undefined;
26915
27450
  apiToolName?: string | undefined;
26916
27451
  } | {
26917
27452
  type: "integration-tool";
26918
27453
  diagramID: string;
26919
27454
  nodeID: string;
26920
27455
  integrationToolName: string;
27456
+ diagramName?: string | undefined;
26921
27457
  } | {
26922
27458
  type: "mcp-integration-tool";
26923
27459
  diagramID: string;
26924
27460
  nodeID: string;
26925
27461
  mcpToolName: string;
27462
+ diagramName?: string | undefined;
26926
27463
  } | {
26927
27464
  type: "function";
26928
27465
  diagramID: string;
26929
27466
  nodeID: string;
26930
27467
  functionID: string;
27468
+ diagramName?: string | undefined;
26931
27469
  functionName?: string | undefined;
26932
27470
  } | {
26933
27471
  type: "prompt";
26934
27472
  diagramID: string;
26935
27473
  nodeID: string;
26936
27474
  promptID: string;
27475
+ diagramName?: string | undefined;
26937
27476
  } | undefined;
26938
27477
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
26939
27478
  context?: string | undefined;
@@ -26964,39 +27503,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
26964
27503
  diagramID: string;
26965
27504
  nodeID: string;
26966
27505
  nodeType: string;
27506
+ diagramName?: string | undefined;
26967
27507
  } | {
26968
27508
  type: "agent";
26969
27509
  diagramID: string;
26970
27510
  nodeID: string;
26971
27511
  agentID: string;
27512
+ diagramName?: string | undefined;
26972
27513
  agentName?: string | undefined;
26973
27514
  } | {
26974
27515
  type: "api-tool";
26975
27516
  diagramID: string;
26976
27517
  nodeID: string;
26977
27518
  apiToolID: string;
27519
+ diagramName?: string | undefined;
26978
27520
  apiToolName?: string | undefined;
26979
27521
  } | {
26980
27522
  type: "integration-tool";
26981
27523
  diagramID: string;
26982
27524
  nodeID: string;
26983
27525
  integrationToolName: string;
27526
+ diagramName?: string | undefined;
26984
27527
  } | {
26985
27528
  type: "mcp-integration-tool";
26986
27529
  diagramID: string;
26987
27530
  nodeID: string;
26988
27531
  mcpToolName: string;
27532
+ diagramName?: string | undefined;
26989
27533
  } | {
26990
27534
  type: "function";
26991
27535
  diagramID: string;
26992
27536
  nodeID: string;
26993
27537
  functionID: string;
27538
+ diagramName?: string | undefined;
26994
27539
  functionName?: string | undefined;
26995
27540
  } | {
26996
27541
  type: "prompt";
26997
27542
  diagramID: string;
26998
27543
  nodeID: string;
26999
27544
  promptID: string;
27545
+ diagramName?: string | undefined;
27000
27546
  } | undefined;
27001
27547
  sourceUrls?: {
27002
27548
  url: string;
@@ -27012,39 +27558,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
27012
27558
  diagramID: string;
27013
27559
  nodeID: string;
27014
27560
  nodeType: string;
27561
+ diagramName?: string | undefined;
27015
27562
  } | {
27016
27563
  type: "agent";
27017
27564
  diagramID: string;
27018
27565
  nodeID: string;
27019
27566
  agentID: string;
27567
+ diagramName?: string | undefined;
27020
27568
  agentName?: string | undefined;
27021
27569
  } | {
27022
27570
  type: "api-tool";
27023
27571
  diagramID: string;
27024
27572
  nodeID: string;
27025
27573
  apiToolID: string;
27574
+ diagramName?: string | undefined;
27026
27575
  apiToolName?: string | undefined;
27027
27576
  } | {
27028
27577
  type: "integration-tool";
27029
27578
  diagramID: string;
27030
27579
  nodeID: string;
27031
27580
  integrationToolName: string;
27581
+ diagramName?: string | undefined;
27032
27582
  } | {
27033
27583
  type: "mcp-integration-tool";
27034
27584
  diagramID: string;
27035
27585
  nodeID: string;
27036
27586
  mcpToolName: string;
27587
+ diagramName?: string | undefined;
27037
27588
  } | {
27038
27589
  type: "function";
27039
27590
  diagramID: string;
27040
27591
  nodeID: string;
27041
27592
  functionID: string;
27593
+ diagramName?: string | undefined;
27042
27594
  functionName?: string | undefined;
27043
27595
  } | {
27044
27596
  type: "prompt";
27045
27597
  diagramID: string;
27046
27598
  nodeID: string;
27047
27599
  promptID: string;
27600
+ diagramName?: string | undefined;
27048
27601
  } | undefined;
27049
27602
  };
27050
27603
  time?: number | undefined;
@@ -27461,39 +28014,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
27461
28014
  diagramID: string;
27462
28015
  nodeID: string;
27463
28016
  nodeType: string;
28017
+ diagramName?: string | undefined;
27464
28018
  } | {
27465
28019
  type: "agent";
27466
28020
  diagramID: string;
27467
28021
  nodeID: string;
27468
28022
  agentID: string;
28023
+ diagramName?: string | undefined;
27469
28024
  agentName?: string | undefined;
27470
28025
  } | {
27471
28026
  type: "api-tool";
27472
28027
  diagramID: string;
27473
28028
  nodeID: string;
27474
28029
  apiToolID: string;
28030
+ diagramName?: string | undefined;
27475
28031
  apiToolName?: string | undefined;
27476
28032
  } | {
27477
28033
  type: "integration-tool";
27478
28034
  diagramID: string;
27479
28035
  nodeID: string;
27480
28036
  integrationToolName: string;
28037
+ diagramName?: string | undefined;
27481
28038
  } | {
27482
28039
  type: "mcp-integration-tool";
27483
28040
  diagramID: string;
27484
28041
  nodeID: string;
27485
28042
  mcpToolName: string;
28043
+ diagramName?: string | undefined;
27486
28044
  } | {
27487
28045
  type: "function";
27488
28046
  diagramID: string;
27489
28047
  nodeID: string;
27490
28048
  functionID: string;
28049
+ diagramName?: string | undefined;
27491
28050
  functionName?: string | undefined;
27492
28051
  } | {
27493
28052
  type: "prompt";
27494
28053
  diagramID: string;
27495
28054
  nodeID: string;
27496
28055
  promptID: string;
28056
+ diagramName?: string | undefined;
27497
28057
  } | undefined;
27498
28058
  sourceUrls?: {
27499
28059
  url: string;
@@ -27752,39 +28312,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
27752
28312
  diagramID: string;
27753
28313
  nodeID: string;
27754
28314
  nodeType: string;
28315
+ diagramName?: string | undefined;
27755
28316
  } | {
27756
28317
  type: "agent";
27757
28318
  diagramID: string;
27758
28319
  nodeID: string;
27759
28320
  agentID: string;
28321
+ diagramName?: string | undefined;
27760
28322
  agentName?: string | undefined;
27761
28323
  } | {
27762
28324
  type: "api-tool";
27763
28325
  diagramID: string;
27764
28326
  nodeID: string;
27765
28327
  apiToolID: string;
28328
+ diagramName?: string | undefined;
27766
28329
  apiToolName?: string | undefined;
27767
28330
  } | {
27768
28331
  type: "integration-tool";
27769
28332
  diagramID: string;
27770
28333
  nodeID: string;
27771
28334
  integrationToolName: string;
28335
+ diagramName?: string | undefined;
27772
28336
  } | {
27773
28337
  type: "mcp-integration-tool";
27774
28338
  diagramID: string;
27775
28339
  nodeID: string;
27776
28340
  mcpToolName: string;
28341
+ diagramName?: string | undefined;
27777
28342
  } | {
27778
28343
  type: "function";
27779
28344
  diagramID: string;
27780
28345
  nodeID: string;
27781
28346
  functionID: string;
28347
+ diagramName?: string | undefined;
27782
28348
  functionName?: string | undefined;
27783
28349
  } | {
27784
28350
  type: "prompt";
27785
28351
  diagramID: string;
27786
28352
  nodeID: string;
27787
28353
  promptID: string;
28354
+ diagramName?: string | undefined;
27788
28355
  } | undefined;
27789
28356
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
27790
28357
  context?: string | undefined;
@@ -27815,39 +28382,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
27815
28382
  diagramID: string;
27816
28383
  nodeID: string;
27817
28384
  nodeType: string;
28385
+ diagramName?: string | undefined;
27818
28386
  } | {
27819
28387
  type: "agent";
27820
28388
  diagramID: string;
27821
28389
  nodeID: string;
27822
28390
  agentID: string;
28391
+ diagramName?: string | undefined;
27823
28392
  agentName?: string | undefined;
27824
28393
  } | {
27825
28394
  type: "api-tool";
27826
28395
  diagramID: string;
27827
28396
  nodeID: string;
27828
28397
  apiToolID: string;
28398
+ diagramName?: string | undefined;
27829
28399
  apiToolName?: string | undefined;
27830
28400
  } | {
27831
28401
  type: "integration-tool";
27832
28402
  diagramID: string;
27833
28403
  nodeID: string;
27834
28404
  integrationToolName: string;
28405
+ diagramName?: string | undefined;
27835
28406
  } | {
27836
28407
  type: "mcp-integration-tool";
27837
28408
  diagramID: string;
27838
28409
  nodeID: string;
27839
28410
  mcpToolName: string;
28411
+ diagramName?: string | undefined;
27840
28412
  } | {
27841
28413
  type: "function";
27842
28414
  diagramID: string;
27843
28415
  nodeID: string;
27844
28416
  functionID: string;
28417
+ diagramName?: string | undefined;
27845
28418
  functionName?: string | undefined;
27846
28419
  } | {
27847
28420
  type: "prompt";
27848
28421
  diagramID: string;
27849
28422
  nodeID: string;
27850
28423
  promptID: string;
28424
+ diagramName?: string | undefined;
27851
28425
  } | undefined;
27852
28426
  sourceUrls?: {
27853
28427
  url: string;
@@ -27863,39 +28437,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
27863
28437
  diagramID: string;
27864
28438
  nodeID: string;
27865
28439
  nodeType: string;
28440
+ diagramName?: string | undefined;
27866
28441
  } | {
27867
28442
  type: "agent";
27868
28443
  diagramID: string;
27869
28444
  nodeID: string;
27870
28445
  agentID: string;
28446
+ diagramName?: string | undefined;
27871
28447
  agentName?: string | undefined;
27872
28448
  } | {
27873
28449
  type: "api-tool";
27874
28450
  diagramID: string;
27875
28451
  nodeID: string;
27876
28452
  apiToolID: string;
28453
+ diagramName?: string | undefined;
27877
28454
  apiToolName?: string | undefined;
27878
28455
  } | {
27879
28456
  type: "integration-tool";
27880
28457
  diagramID: string;
27881
28458
  nodeID: string;
27882
28459
  integrationToolName: string;
28460
+ diagramName?: string | undefined;
27883
28461
  } | {
27884
28462
  type: "mcp-integration-tool";
27885
28463
  diagramID: string;
27886
28464
  nodeID: string;
27887
28465
  mcpToolName: string;
28466
+ diagramName?: string | undefined;
27888
28467
  } | {
27889
28468
  type: "function";
27890
28469
  diagramID: string;
27891
28470
  nodeID: string;
27892
28471
  functionID: string;
28472
+ diagramName?: string | undefined;
27893
28473
  functionName?: string | undefined;
27894
28474
  } | {
27895
28475
  type: "prompt";
27896
28476
  diagramID: string;
27897
28477
  nodeID: string;
27898
28478
  promptID: string;
28479
+ diagramName?: string | undefined;
27899
28480
  } | undefined;
27900
28481
  };
27901
28482
  time?: number | undefined;
@@ -28312,39 +28893,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
28312
28893
  diagramID: string;
28313
28894
  nodeID: string;
28314
28895
  nodeType: string;
28896
+ diagramName?: string | undefined;
28315
28897
  } | {
28316
28898
  type: "agent";
28317
28899
  diagramID: string;
28318
28900
  nodeID: string;
28319
28901
  agentID: string;
28902
+ diagramName?: string | undefined;
28320
28903
  agentName?: string | undefined;
28321
28904
  } | {
28322
28905
  type: "api-tool";
28323
28906
  diagramID: string;
28324
28907
  nodeID: string;
28325
28908
  apiToolID: string;
28909
+ diagramName?: string | undefined;
28326
28910
  apiToolName?: string | undefined;
28327
28911
  } | {
28328
28912
  type: "integration-tool";
28329
28913
  diagramID: string;
28330
28914
  nodeID: string;
28331
28915
  integrationToolName: string;
28916
+ diagramName?: string | undefined;
28332
28917
  } | {
28333
28918
  type: "mcp-integration-tool";
28334
28919
  diagramID: string;
28335
28920
  nodeID: string;
28336
28921
  mcpToolName: string;
28922
+ diagramName?: string | undefined;
28337
28923
  } | {
28338
28924
  type: "function";
28339
28925
  diagramID: string;
28340
28926
  nodeID: string;
28341
28927
  functionID: string;
28928
+ diagramName?: string | undefined;
28342
28929
  functionName?: string | undefined;
28343
28930
  } | {
28344
28931
  type: "prompt";
28345
28932
  diagramID: string;
28346
28933
  nodeID: string;
28347
28934
  promptID: string;
28935
+ diagramName?: string | undefined;
28348
28936
  } | undefined;
28349
28937
  sourceUrls?: {
28350
28938
  url: string;
@@ -28603,39 +29191,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
28603
29191
  diagramID: string;
28604
29192
  nodeID: string;
28605
29193
  nodeType: string;
29194
+ diagramName?: string | undefined;
28606
29195
  } | {
28607
29196
  type: "agent";
28608
29197
  diagramID: string;
28609
29198
  nodeID: string;
28610
29199
  agentID: string;
29200
+ diagramName?: string | undefined;
28611
29201
  agentName?: string | undefined;
28612
29202
  } | {
28613
29203
  type: "api-tool";
28614
29204
  diagramID: string;
28615
29205
  nodeID: string;
28616
29206
  apiToolID: string;
29207
+ diagramName?: string | undefined;
28617
29208
  apiToolName?: string | undefined;
28618
29209
  } | {
28619
29210
  type: "integration-tool";
28620
29211
  diagramID: string;
28621
29212
  nodeID: string;
28622
29213
  integrationToolName: string;
29214
+ diagramName?: string | undefined;
28623
29215
  } | {
28624
29216
  type: "mcp-integration-tool";
28625
29217
  diagramID: string;
28626
29218
  nodeID: string;
28627
29219
  mcpToolName: string;
29220
+ diagramName?: string | undefined;
28628
29221
  } | {
28629
29222
  type: "function";
28630
29223
  diagramID: string;
28631
29224
  nodeID: string;
28632
29225
  functionID: string;
29226
+ diagramName?: string | undefined;
28633
29227
  functionName?: string | undefined;
28634
29228
  } | {
28635
29229
  type: "prompt";
28636
29230
  diagramID: string;
28637
29231
  nodeID: string;
28638
29232
  promptID: string;
29233
+ diagramName?: string | undefined;
28639
29234
  } | undefined;
28640
29235
  level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
28641
29236
  context?: string | undefined;
@@ -28666,39 +29261,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
28666
29261
  diagramID: string;
28667
29262
  nodeID: string;
28668
29263
  nodeType: string;
29264
+ diagramName?: string | undefined;
28669
29265
  } | {
28670
29266
  type: "agent";
28671
29267
  diagramID: string;
28672
29268
  nodeID: string;
28673
29269
  agentID: string;
29270
+ diagramName?: string | undefined;
28674
29271
  agentName?: string | undefined;
28675
29272
  } | {
28676
29273
  type: "api-tool";
28677
29274
  diagramID: string;
28678
29275
  nodeID: string;
28679
29276
  apiToolID: string;
29277
+ diagramName?: string | undefined;
28680
29278
  apiToolName?: string | undefined;
28681
29279
  } | {
28682
29280
  type: "integration-tool";
28683
29281
  diagramID: string;
28684
29282
  nodeID: string;
28685
29283
  integrationToolName: string;
29284
+ diagramName?: string | undefined;
28686
29285
  } | {
28687
29286
  type: "mcp-integration-tool";
28688
29287
  diagramID: string;
28689
29288
  nodeID: string;
28690
29289
  mcpToolName: string;
29290
+ diagramName?: string | undefined;
28691
29291
  } | {
28692
29292
  type: "function";
28693
29293
  diagramID: string;
28694
29294
  nodeID: string;
28695
29295
  functionID: string;
29296
+ diagramName?: string | undefined;
28696
29297
  functionName?: string | undefined;
28697
29298
  } | {
28698
29299
  type: "prompt";
28699
29300
  diagramID: string;
28700
29301
  nodeID: string;
28701
29302
  promptID: string;
29303
+ diagramName?: string | undefined;
28702
29304
  } | undefined;
28703
29305
  sourceUrls?: {
28704
29306
  url: string;
@@ -28714,39 +29316,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
28714
29316
  diagramID: string;
28715
29317
  nodeID: string;
28716
29318
  nodeType: string;
29319
+ diagramName?: string | undefined;
28717
29320
  } | {
28718
29321
  type: "agent";
28719
29322
  diagramID: string;
28720
29323
  nodeID: string;
28721
29324
  agentID: string;
29325
+ diagramName?: string | undefined;
28722
29326
  agentName?: string | undefined;
28723
29327
  } | {
28724
29328
  type: "api-tool";
28725
29329
  diagramID: string;
28726
29330
  nodeID: string;
28727
29331
  apiToolID: string;
29332
+ diagramName?: string | undefined;
28728
29333
  apiToolName?: string | undefined;
28729
29334
  } | {
28730
29335
  type: "integration-tool";
28731
29336
  diagramID: string;
28732
29337
  nodeID: string;
28733
29338
  integrationToolName: string;
29339
+ diagramName?: string | undefined;
28734
29340
  } | {
28735
29341
  type: "mcp-integration-tool";
28736
29342
  diagramID: string;
28737
29343
  nodeID: string;
28738
29344
  mcpToolName: string;
29345
+ diagramName?: string | undefined;
28739
29346
  } | {
28740
29347
  type: "function";
28741
29348
  diagramID: string;
28742
29349
  nodeID: string;
28743
29350
  functionID: string;
29351
+ diagramName?: string | undefined;
28744
29352
  functionName?: string | undefined;
28745
29353
  } | {
28746
29354
  type: "prompt";
28747
29355
  diagramID: string;
28748
29356
  nodeID: string;
28749
29357
  promptID: string;
29358
+ diagramName?: string | undefined;
28750
29359
  } | undefined;
28751
29360
  };
28752
29361
  time?: number | undefined;
@@ -29163,39 +29772,46 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
29163
29772
  diagramID: string;
29164
29773
  nodeID: string;
29165
29774
  nodeType: string;
29775
+ diagramName?: string | undefined;
29166
29776
  } | {
29167
29777
  type: "agent";
29168
29778
  diagramID: string;
29169
29779
  nodeID: string;
29170
29780
  agentID: string;
29781
+ diagramName?: string | undefined;
29171
29782
  agentName?: string | undefined;
29172
29783
  } | {
29173
29784
  type: "api-tool";
29174
29785
  diagramID: string;
29175
29786
  nodeID: string;
29176
29787
  apiToolID: string;
29788
+ diagramName?: string | undefined;
29177
29789
  apiToolName?: string | undefined;
29178
29790
  } | {
29179
29791
  type: "integration-tool";
29180
29792
  diagramID: string;
29181
29793
  nodeID: string;
29182
29794
  integrationToolName: string;
29795
+ diagramName?: string | undefined;
29183
29796
  } | {
29184
29797
  type: "mcp-integration-tool";
29185
29798
  diagramID: string;
29186
29799
  nodeID: string;
29187
29800
  mcpToolName: string;
29801
+ diagramName?: string | undefined;
29188
29802
  } | {
29189
29803
  type: "function";
29190
29804
  diagramID: string;
29191
29805
  nodeID: string;
29192
29806
  functionID: string;
29807
+ diagramName?: string | undefined;
29193
29808
  functionName?: string | undefined;
29194
29809
  } | {
29195
29810
  type: "prompt";
29196
29811
  diagramID: string;
29197
29812
  nodeID: string;
29198
29813
  promptID: string;
29814
+ diagramName?: string | undefined;
29199
29815
  } | undefined;
29200
29816
  sourceUrls?: {
29201
29817
  url: string;