File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -410,7 +410,6 @@ export class Commands {
410410
411411 public async openAppStatus ( app : {
412412 name ?: string
413- status ?: string
414413 url ?: string
415414 agent_name ?: string
416415 command ?: string
@@ -423,7 +422,7 @@ export class Commands {
423422 title : `Connecting to AI Agent...` ,
424423 cancellable : false
425424 } , async ( ) => {
426- const terminal = vscode . window . createTerminal ( app . status )
425+ const terminal = vscode . window . createTerminal ( app . name )
427426
428427 // If workspace_name is provided, run coder ssh before the command
429428
@@ -453,7 +452,7 @@ export class Commands {
453452 }
454453
455454 // If no URL or command, show information about the app status
456- vscode . window . showInformationMessage ( `${ app . name || "Application" } : ${ app . status || "Running" } ` , {
455+ vscode . window . showInformationMessage ( `${ app . name } ` , {
457456 detail : `Agent: ${ app . agent_name || "Unknown" } ` ,
458457 } )
459458 }
Original file line number Diff line number Diff line change @@ -255,9 +255,8 @@ export class WorkspaceProvider implements vscode.TreeDataProvider<vscode.TreeIte
255255 // yet.
256256 appStatuses . push (
257257 new AppStatusTreeItem ( {
258- name : status . icon ,
258+ name : status . message ,
259259 command : app . command ,
260- status : status . message ,
261260 workspace_name : element . workspaceName ,
262261 } ) ,
263262 )
@@ -374,14 +373,13 @@ class AppStatusTreeItem extends vscode.TreeItem {
374373 constructor (
375374 public readonly app : {
376375 name : string
377- status ?: string
378376 url ?: string
379377 command ?: string
380378 workspace_name ?: string
381379 } ,
382380 ) {
383- super ( app . name , vscode . TreeItemCollapsibleState . None )
384- this . description = app . status
381+ super ( "" , vscode . TreeItemCollapsibleState . None )
382+ this . description = app . name
385383 this . contextValue = "coderAppStatus"
386384
387385 // Add command to handle clicking on the app
You can’t perform that action at this time.
0 commit comments