Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/contrib/chat/browser/actions/chatTransfer.ts
3296 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 { IWorkbenchContribution } from '../../../../common/contributions.js';
7
import { Disposable } from '../../../../../base/common/lifecycle.js';
8
import { IChatTransferService } from '../../common/chatTransferService.js';
9
10
export class ChatTransferContribution extends Disposable implements IWorkbenchContribution {
11
static readonly ID = 'workbench.contrib.chatTransfer';
12
13
constructor(
14
@IChatTransferService chatTransferService: IChatTransferService,
15
) {
16
super();
17
chatTransferService.checkAndSetTransferredWorkspaceTrust();
18
}
19
}
20
21