@@ -80,6 +80,7 @@ export class Container {
8080 private static _commonMessageHandler : CommonActionMessageHandler ;
8181 private static _bitbucketHelper : CheckoutHelper ;
8282 private static _assignedWorkItemsView : AssignedWorkItemsViewProvider ;
83+ private static _helpExplorer : HelpExplorer ;
8384
8485 static async initialize ( context : ExtensionContext , version : string ) {
8586 canFetchInternalUrl ( ) . then ( ( success ) => {
@@ -194,7 +195,8 @@ export class Container {
194195
195196 this . _loginManager = new LoginManager ( this . _credentialManager , this . _siteManager , this . _analyticsClient ) ;
196197 this . _bitbucketHelper = new BitbucketCheckoutHelper ( context . globalState ) ;
197- context . subscriptions . push ( new HelpExplorer ( ) ) ;
198+ this . _helpExplorer = new HelpExplorer ( ) ;
199+ context . subscriptions . push ( this . _helpExplorer ) ;
198200
199201 this . _featureFlagClient = FeatureFlagClient . getInstance ( ) ;
200202
@@ -324,6 +326,9 @@ export class Container {
324326 ) ;
325327
326328 context . subscriptions . push ( this . _rovodevDisposable ) ;
329+
330+ // Update help explorer to show Rovo Dev content
331+ this . _helpExplorer . refresh ( ) ;
327332 } catch ( error ) {
328333 RovoDevLogger . error ( error , 'Enabling Rovo Dev' ) ;
329334 }
@@ -344,6 +349,9 @@ export class Container {
344349 return ;
345350 }
346351
352+ // Update help explorer to hide Rovo Dev content
353+ this . _helpExplorer . refresh ( ) ;
354+
347355 try {
348356 await setCommandContext ( CommandContext . RovoDevEnabled , false ) ;
349357 this . _rovodevDisposable . dispose ( ) ;
0 commit comments