mirror of
https://github.com/coder/code-server.git
synced 2026-05-06 04:25:19 +02:00
30 lines
951 B
TypeScript
30 lines
951 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import { URI } from 'vs/base/common/uri';
|
|
import { OperatingSystem } from 'vs/base/common/platform';
|
|
import * as performance from 'vs/base/common/performance';
|
|
|
|
export interface IRemoteAgentEnvironment {
|
|
pid: number;
|
|
connectionToken: string;
|
|
appRoot: URI;
|
|
settingsPath: URI;
|
|
logsPath: URI;
|
|
extensionsPath: URI;
|
|
extensionHostLogsPath: URI;
|
|
globalStorageHome: URI;
|
|
workspaceStorageHome: URI;
|
|
userHome: URI;
|
|
os: OperatingSystem;
|
|
marks: performance.PerformanceMark[];
|
|
useHostProxy: boolean;
|
|
}
|
|
|
|
export interface RemoteAgentConnectionContext {
|
|
remoteAuthority: string;
|
|
clientId: string;
|
|
}
|