Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/sessions/contrib/chat/browser/customizationHarnessService.ts
13401 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { CustomizationHarnessServiceBase } from '../../../../workbench/contrib/chat/common/customizationHarnessService.js';
7
import { IPromptsService } from '../../../../workbench/contrib/chat/common/promptSyntax/service/promptsService.js';
8
9
/**
10
* Sessions-window override of the customization harness service.
11
*
12
* No static harnesses are registered. The Copilot CLI extension provides
13
* its harness (with `itemProvider`) via `registerChatSessionCustomizationProvider()`,
14
* and AHP remote servers register directly via `registerExternalHarness()`.
15
*/
16
export class SessionsCustomizationHarnessService extends CustomizationHarnessServiceBase {
17
constructor(
18
@IPromptsService promptsService: IPromptsService
19
) {
20
super([], '', promptsService);
21
}
22
}
23
24