@@ -43,7 +43,8 @@ async function getGatewayStatus() {
4343 running : false ,
4444 pid : null as number | null ,
4545 uptime : null as number | null ,
46- endpoint : null as string | null
46+ endpointSSE : null as string | null ,
47+ endpointMessages : null as string | null
4748 } ,
4849 // eslint-disable-next-line @typescript-eslint/no-explicit-any
4950 server : null as any ,
@@ -83,10 +84,12 @@ async function getGatewayStatus() {
8384 // Determine endpoint from server status or default
8485 const port = 9095 ; // Default port
8586 const host = 'localhost' ; // Default host
86- status . gateway . endpoint = `SSE: http://${ host } :${ port } /sse | Messages: http://${ host } :${ port } /message` ;
87+ status . gateway . endpointSSE = `http://${ host } :${ port } /sse` ;
88+ status . gateway . endpointMessages = `http://${ host } :${ port } /message` ;
8789 } catch {
8890 // Server might be starting up or not responding
89- status . gateway . endpoint = 'SSE: http://localhost:9095/sse | Messages: http://localhost:9095/message (not responding)' ;
91+ status . gateway . endpointSSE = 'http://localhost:9095/sse (not responding)' ;
92+ status . gateway . endpointMessages = 'http://localhost:9095/message (not responding)' ;
9093 }
9194 }
9295 }
@@ -129,7 +132,7 @@ async function fetchServerStatus(): Promise<any> {
129132
130133// eslint-disable-next-line @typescript-eslint/no-explicit-any
131134async function displayStatus ( status : any , verbose : boolean , _compare : boolean = false ) : Promise < void > {
132- console . log ( chalk . bold ( '\n📊 DeployStack Gateway Status\n' ) ) ;
135+ console . log ( chalk . bold ( '\nDeployStack Gateway Status\n' ) ) ;
133136
134137 // Gateway status
135138 const gatewayTable = new Table ( {
@@ -141,14 +144,15 @@ async function displayStatus(status: any, verbose: boolean, _compare: boolean =
141144 [ 'Status' , status . gateway . running ? chalk . green ( 'Running' ) : chalk . red ( 'Stopped' ) ] ,
142145 [ 'PID' , status . gateway . pid || chalk . gray ( 'N/A' ) ] ,
143146 [ 'Uptime' , status . gateway . uptime ? formatUptime ( status . gateway . uptime ) : chalk . gray ( 'N/A' ) ] ,
144- [ 'Endpoint' , status . gateway . endpoint || chalk . gray ( 'N/A' ) ]
147+ [ 'Endpoint SSE' , status . gateway . endpointSSE || chalk . gray ( 'N/A' ) ] ,
148+ [ 'Endpoint Messages' , status . gateway . endpointMessages || chalk . gray ( 'N/A' ) ]
145149 ) ;
146150
147151 console . log ( gatewayTable . toString ( ) ) ;
148152
149153 // Team configuration
150154 if ( status . server ?. teamConfig ) {
151- console . log ( chalk . bold ( '\n🤖 Team Configuration\n' ) ) ;
155+ console . log ( chalk . bold ( '\nTeam Configuration\n' ) ) ;
152156
153157 const teamTable = new Table ( {
154158 head : [ chalk . cyan ( 'Property' ) , chalk . cyan ( 'Value' ) ] ,
@@ -167,7 +171,7 @@ async function displayStatus(status: any, verbose: boolean, _compare: boolean =
167171
168172 // MCP Processes
169173 if ( status . processes && status . processes . length > 0 ) {
170- console . log ( chalk . bold ( '\n⚙️ MCP Processes\n' ) ) ;
174+ console . log ( chalk . bold ( '\nMCP Processes\n' ) ) ;
171175
172176 const processTable = new Table ( {
173177 head : [ chalk . cyan ( 'Name' ) , chalk . cyan ( 'Status' ) , chalk . cyan ( 'Runtime' ) , chalk . cyan ( 'Uptime' ) , chalk . cyan ( 'Messages' ) , chalk . cyan ( 'Errors' ) ] ,
0 commit comments