Merge pull request #230124 from microsoft/tyriar/auto_replies__clean

Move pty service contrib parts into region
This commit is contained in:
Daniel Imms
2024-10-01 07:02:05 -07:00
committed by GitHub

View File

@@ -332,8 +332,6 @@ export interface IPtyService {
updateTitle(id: number, title: string, titleSource: TitleEventSource): Promise<void>;
updateIcon(id: number, userInitiated: boolean, icon: TerminalIcon, color?: string): Promise<void>;
installAutoReply(match: string, reply: string): Promise<void>;
uninstallAllAutoReplies(): Promise<void>;
getDefaultSystemShell(osOverride?: OperatingSystem): Promise<string>;
getEnvironment(): Promise<IProcessEnvironment>;
getWslPath(original: string, direction: 'unix-to-win' | 'win-to-unix'): Promise<string>;
@@ -359,6 +357,13 @@ export interface IPtyService {
// TODO: Make mandatory and remove impl from pty host service
refreshIgnoreProcessNames?(names: string[]): Promise<void>;
// #region Pty service contribution RPC calls
installAutoReply(match: string, reply: string): Promise<void>;
uninstallAllAutoReplies(): Promise<void>;
// #endregion
}
export const IPtyService = createDecorator<IPtyService>('ptyService');