@@ -690,6 +690,36 @@ index ff766b9acb8..599bab9dd59 100644
690690 }
691691
692692 isVisible(): boolean {
693+ diff --git a/src/vs/workbench/contrib/terminal/browser/terminalService.ts b/src/vs/workbench/contrib/terminal/browser/terminalService.ts
694+ index 34b62b8fb2b..66d4b7bb70f 100644
695+ --- a/src/vs/workbench/contrib/terminal/browser/terminalService.ts
696+ +++ b/src/vs/workbench/contrib/terminal/browser/terminalService.ts
697+ @@ -19,7 +19,7 @@ import { IContextKey, IContextKeyService } from 'vs/platform/contextkey/common/c
698+ import { IDialogService } from 'vs/platform/dialogs/common/dialogs';
699+ import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation';
700+ import { INotificationService } from 'vs/platform/notification/common/notification';
701+ - import { ICreateContributedTerminalProfileOptions, IPtyHostAttachTarget, IRawTerminalInstanceLayoutInfo, IRawTerminalTabLayoutInfo, IShellLaunchConfig, ITerminalBackend, ITerminalLaunchError, ITerminalLogService, ITerminalsLayoutInfo, ITerminalsLayoutInfoById, TerminalExitReason, TerminalLocation, TerminalLocationString, TitleEventSource } from 'vs/platform/terminal/common/terminal';
702+ + import { ICreateContributedTerminalProfileOptions, IPtyHostAttachTarget, IRawTerminalInstanceLayoutInfo, IRawTerminalTabLayoutInfo, IShellLaunchConfig, ITerminalBackend, ITerminalBackendRegistry, ITerminalLaunchError, ITerminalLogService, ITerminalsLayoutInfo, ITerminalsLayoutInfoById, TerminalExitReason, TerminalExtensions, TerminalLocation, TerminalLocationString, TitleEventSource } from 'vs/platform/terminal/common/terminal';
703+ import { formatMessageForTerminal } from 'vs/platform/terminal/common/terminalStrings';
704+ import { iconForeground } from 'vs/platform/theme/common/colorRegistry';
705+ import { getIconRegistry } from 'vs/platform/theme/common/iconRegistry';
706+ @@ -52,6 +52,7 @@ import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding';
707+ import { TerminalCapabilityStore } from 'vs/platform/terminal/common/capabilities/terminalCapabilityStore';
708+ import { ITimerService } from 'vs/workbench/services/timer/browser/timerService';
709+ import { mark } from 'vs/base/common/performance';
710+ + import { Registry } from 'vs/platform/registry/common/platform';
711+
712+ export class TerminalService implements ITerminalService {
713+ declare _serviceBrand: undefined;
714+ @@ -213,7 +214,7 @@ export class TerminalService implements ITerminalService {
715+ this._handleInstanceContextKeys();
716+ this._terminalShellTypeContextKey = TerminalContextKeys.shellType.bindTo(this._contextKeyService);
717+ this._processSupportContextKey = TerminalContextKeys.processSupported.bindTo(this._contextKeyService);
718+ - this._processSupportContextKey.set(!isWeb || this._remoteAgentService.getConnection() !== null);
719+ + this._processSupportContextKey.set(!isWeb || this._remoteAgentService.getConnection() !== null || Registry.as<ITerminalBackendRegistry>(TerminalExtensions.Backend).getTerminalBackend() !== undefined);
720+ this._terminalHasBeenCreated = TerminalContextKeys.terminalHasBeenCreated.bindTo(this._contextKeyService);
721+ this._terminalCountContextKey = TerminalContextKeys.count.bindTo(this._contextKeyService);
722+ this._terminalEditorActive = TerminalContextKeys.terminalEditorActive.bindTo(this._contextKeyService);
693723diff --git a/src/vs/workbench/contrib/webview/browser/pre/service-worker.js b/src/vs/workbench/contrib/webview/browser/pre/service-worker.js
694724index a6e9943b866..c470a1c9ed5 100644
695725--- a/src/vs/workbench/contrib/webview/browser/pre/service-worker.js
0 commit comments