@@ -318,7 +318,7 @@ document.addEventListener("DOMContentLoaded", function () {
318
318
) ;
319
319
320
320
const requestTypeMap = {
321
- MCP : [ "SSE" , "STDIO" ] ,
321
+ MCP : [ "SSE" , "STREAMABLE" , " STDIO"] ,
322
322
REST : [ "GET" , "POST" , "PUT" , "DELETE" ] ,
323
323
} ;
324
324
@@ -896,6 +896,10 @@ async function viewGateway(gatewayId) {
896
896
<p><strong>Name:</strong> ${ gateway . name } </p>
897
897
<p><strong>URL:</strong> ${ gateway . url } </p>
898
898
<p><strong>Description:</strong> ${ gateway . description || "N/A" } </p>
899
+ <p><strong>Transport:</strong>
900
+ ${ gateway . transport === "STREAMABLEHTTP" ? "Streamable HTTP" :
901
+ gateway . transport === "SSE" ? "SSE" : "N/A" }
902
+ </p>
899
903
<p><strong>Status:</strong>
900
904
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full ${ gateway . isActive ? "bg-green-100 text-green-800" : "bg-red-100 text-red-800" } ">
901
905
${ gateway . isActive ? "Active" : "Inactive" }
@@ -927,6 +931,7 @@ async function editGateway(gatewayId) {
927
931
document . getElementById ( "edit-gateway-url" ) . value = gateway . url ;
928
932
document . getElementById ( "edit-gateway-description" ) . value =
929
933
gateway . description || "" ;
934
+ document . getElementById ( "edit-gateway-transport" ) . value = gateway . transport ;
930
935
openModal ( "gateway-edit-modal" ) ;
931
936
} catch ( error ) {
932
937
console . error ( "Error fetching gateway details:" , error ) ;
@@ -1753,7 +1758,7 @@ function closeModal(modalId, clearId=null) {
1753
1758
}
1754
1759
1755
1760
const integrationRequestMap = {
1756
- MCP : [ "SSE" , "STDIO" ] ,
1761
+ MCP : [ "SSE" , "STREAMABLE" , " STDIO"] ,
1757
1762
REST : [ "GET" , "POST" , "PUT" , "DELETE" ] ,
1758
1763
} ;
1759
1764
0 commit comments