@theia/remote 1.77.0-next.0 → 1.77.0-next.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/electron-browser/local-backend-services.js +21 -26
- package/lib/electron-browser/local-backend-services.js.map +1 -1
- package/lib/electron-browser/port-forwarding/port-forwading-contribution.d.ts +1 -1
- package/lib/electron-browser/port-forwarding/port-forwading-contribution.d.ts.map +1 -1
- package/lib/electron-browser/port-forwarding/port-forwading-contribution.js +14 -18
- package/lib/electron-browser/port-forwarding/port-forwading-contribution.js.map +1 -1
- package/lib/electron-browser/port-forwarding/port-forwarding-service.d.ts +1 -1
- package/lib/electron-browser/port-forwarding/port-forwarding-service.d.ts.map +1 -1
- package/lib/electron-browser/port-forwarding/port-forwarding-service.js +14 -21
- package/lib/electron-browser/port-forwarding/port-forwarding-service.js.map +1 -1
- package/lib/electron-browser/port-forwarding/port-forwarding-widget.d.ts +1 -1
- package/lib/electron-browser/port-forwarding/port-forwarding-widget.d.ts.map +1 -1
- package/lib/electron-browser/port-forwarding/port-forwarding-widget.js +34 -43
- package/lib/electron-browser/port-forwarding/port-forwarding-widget.js.map +1 -1
- package/lib/electron-browser/remote-cli-args-collector.js +13 -18
- package/lib/electron-browser/remote-cli-args-collector.js.map +1 -1
- package/lib/electron-browser/remote-cli-args-collector.spec.js +5 -7
- package/lib/electron-browser/remote-cli-args-collector.spec.js.map +1 -1
- package/lib/electron-browser/remote-electron-file-dialog-service.d.ts +1 -1
- package/lib/electron-browser/remote-electron-file-dialog-service.d.ts.map +1 -1
- package/lib/electron-browser/remote-electron-file-dialog-service.js +17 -21
- package/lib/electron-browser/remote-electron-file-dialog-service.js.map +1 -1
- package/lib/electron-browser/remote-frontend-contribution.d.ts +3 -3
- package/lib/electron-browser/remote-frontend-contribution.d.ts.map +1 -1
- package/lib/electron-browser/remote-frontend-contribution.js +38 -48
- package/lib/electron-browser/remote-frontend-contribution.js.map +1 -1
- package/lib/electron-browser/remote-frontend-module.js +61 -63
- package/lib/electron-browser/remote-frontend-module.js.map +1 -1
- package/lib/electron-browser/remote-local-workspace-contribution.d.ts +1 -1
- package/lib/electron-browser/remote-local-workspace-contribution.d.ts.map +1 -1
- package/lib/electron-browser/remote-local-workspace-contribution.js +26 -33
- package/lib/electron-browser/remote-local-workspace-contribution.js.map +1 -1
- package/lib/electron-browser/remote-registry-contribution.js +12 -17
- package/lib/electron-browser/remote-registry-contribution.js.map +1 -1
- package/lib/electron-browser/remote-service.js +5 -8
- package/lib/electron-browser/remote-service.js.map +1 -1
- package/lib/electron-browser/remote-ssh-contribution.d.ts +3 -3
- package/lib/electron-browser/remote-ssh-contribution.d.ts.map +1 -1
- package/lib/electron-browser/remote-ssh-contribution.js +41 -47
- package/lib/electron-browser/remote-ssh-contribution.js.map +1 -1
- package/lib/electron-browser/remote-user-storage-provider.d.ts +2 -2
- package/lib/electron-browser/remote-user-storage-provider.d.ts.map +1 -1
- package/lib/electron-browser/remote-user-storage-provider.js +23 -33
- package/lib/electron-browser/remote-user-storage-provider.js.map +1 -1
- package/lib/electron-common/remote-port-forwarding-provider.js +2 -5
- package/lib/electron-common/remote-port-forwarding-provider.js.map +1 -1
- package/lib/electron-common/remote-preferences.js +20 -24
- package/lib/electron-common/remote-preferences.js.map +1 -1
- package/lib/electron-common/remote-ssh-connection-provider.js +2 -5
- package/lib/electron-common/remote-ssh-connection-provider.js.map +1 -1
- package/lib/electron-common/remote-status-service.js +2 -5
- package/lib/electron-common/remote-status-service.js.map +1 -1
- package/lib/electron-node/backend-remote-service-impl.js +10 -13
- package/lib/electron-node/backend-remote-service-impl.js.map +1 -1
- package/lib/electron-node/remote-auto-shutdown-service.js +15 -19
- package/lib/electron-node/remote-auto-shutdown-service.js.map +1 -1
- package/lib/electron-node/remote-auto-shutdown-service.spec.js +28 -30
- package/lib/electron-node/remote-auto-shutdown-service.spec.js.map +1 -1
- package/lib/electron-node/remote-backend-module.js +69 -72
- package/lib/electron-node/remote-backend-module.js.map +1 -1
- package/lib/electron-node/remote-connection-service.d.ts +3 -3
- package/lib/electron-node/remote-connection-service.d.ts.map +1 -1
- package/lib/electron-node/remote-connection-service.js +13 -18
- package/lib/electron-node/remote-connection-service.js.map +1 -1
- package/lib/electron-node/remote-connection-socket-provider.js +7 -10
- package/lib/electron-node/remote-connection-socket-provider.js.map +1 -1
- package/lib/electron-node/remote-port-forwarding-provider.d.ts +3 -3
- package/lib/electron-node/remote-port-forwarding-provider.d.ts.map +1 -1
- package/lib/electron-node/remote-port-forwarding-provider.js +10 -14
- package/lib/electron-node/remote-port-forwarding-provider.js.map +1 -1
- package/lib/electron-node/remote-proxy-server-provider.js +8 -11
- package/lib/electron-node/remote-proxy-server-provider.js.map +1 -1
- package/lib/electron-node/remote-status-service.d.ts +2 -2
- package/lib/electron-node/remote-status-service.d.ts.map +1 -1
- package/lib/electron-node/remote-status-service.js +8 -12
- package/lib/electron-node/remote-status-service.js.map +1 -1
- package/lib/electron-node/remote-types.js +1 -2
- package/lib/electron-node/remote-types.js.map +1 -1
- package/lib/electron-node/setup/app-native-dependency-contribution.d.ts +1 -1
- package/lib/electron-node/setup/app-native-dependency-contribution.d.ts.map +1 -1
- package/lib/electron-node/setup/app-native-dependency-contribution.js +13 -16
- package/lib/electron-node/setup/app-native-dependency-contribution.js.map +1 -1
- package/lib/electron-node/setup/app-native-dependency-contribution.spec.js +14 -16
- package/lib/electron-node/setup/app-native-dependency-contribution.spec.js.map +1 -1
- package/lib/electron-node/setup/main-copy-contribution.js +5 -8
- package/lib/electron-node/setup/main-copy-contribution.js.map +1 -1
- package/lib/electron-node/setup/remote-copy-contribution.d.ts.map +1 -1
- package/lib/electron-node/setup/remote-copy-contribution.js +13 -16
- package/lib/electron-node/setup/remote-copy-contribution.js.map +1 -1
- package/lib/electron-node/setup/remote-copy-service.d.ts +3 -3
- package/lib/electron-node/setup/remote-copy-service.d.ts.map +1 -1
- package/lib/electron-node/setup/remote-copy-service.js +23 -30
- package/lib/electron-node/setup/remote-copy-service.js.map +1 -1
- package/lib/electron-node/setup/remote-native-dependency-contribution.js +8 -11
- package/lib/electron-node/setup/remote-native-dependency-contribution.js.map +1 -1
- package/lib/electron-node/setup/remote-native-dependency-service.d.ts +1 -1
- package/lib/electron-node/setup/remote-native-dependency-service.d.ts.map +1 -1
- package/lib/electron-node/setup/remote-native-dependency-service.js +25 -30
- package/lib/electron-node/setup/remote-native-dependency-service.js.map +1 -1
- package/lib/electron-node/setup/remote-node-setup-service.d.ts +2 -2
- package/lib/electron-node/setup/remote-node-setup-service.d.ts.map +1 -1
- package/lib/electron-node/setup/remote-node-setup-service.js +25 -30
- package/lib/electron-node/setup/remote-node-setup-service.js.map +1 -1
- package/lib/electron-node/setup/remote-setup-script-service.js +17 -22
- package/lib/electron-node/setup/remote-setup-script-service.js.map +1 -1
- package/lib/electron-node/setup/remote-setup-service.d.ts +5 -5
- package/lib/electron-node/setup/remote-setup-service.d.ts.map +1 -1
- package/lib/electron-node/setup/remote-setup-service.js +33 -42
- package/lib/electron-node/setup/remote-setup-service.js.map +1 -1
- package/lib/electron-node/ssh/remote-ssh-connection-provider.d.ts +12 -9
- package/lib/electron-node/ssh/remote-ssh-connection-provider.d.ts.map +1 -1
- package/lib/electron-node/ssh/remote-ssh-connection-provider.js +43 -51
- package/lib/electron-node/ssh/remote-ssh-connection-provider.js.map +1 -1
- package/lib/electron-node/ssh/remote-ssh-connection-provider.spec.js +26 -26
- package/lib/electron-node/ssh/remote-ssh-connection-provider.spec.js.map +1 -1
- package/lib/electron-node/ssh/ssh-identity-file-collector.d.ts.map +1 -1
- package/lib/electron-node/ssh/ssh-identity-file-collector.js +15 -18
- package/lib/electron-node/ssh/ssh-identity-file-collector.js.map +1 -1
- package/lib/package.spec.d.ts +1 -0
- package/lib/package.spec.js +1 -0
- package/package.json +17 -9
- package/src/electron-browser/port-forwarding/port-forwading-contribution.ts +1 -1
- package/src/electron-browser/port-forwarding/port-forwarding-service.ts +1 -1
- package/src/electron-browser/port-forwarding/port-forwarding-widget.tsx +1 -1
- package/src/electron-browser/remote-cli-args-collector.spec.ts +1 -1
- package/src/electron-browser/remote-electron-file-dialog-service.ts +2 -2
- package/src/electron-browser/remote-frontend-contribution.ts +3 -3
- package/src/electron-browser/remote-frontend-module.ts +16 -16
- package/src/electron-browser/remote-local-workspace-contribution.ts +2 -2
- package/src/electron-browser/remote-ssh-contribution.ts +7 -4
- package/src/electron-browser/remote-user-storage-provider.ts +2 -2
- package/src/electron-node/remote-auto-shutdown-service.spec.ts +1 -1
- package/src/electron-node/remote-backend-module.ts +22 -22
- package/src/electron-node/remote-connection-service.ts +3 -3
- package/src/electron-node/remote-port-forwarding-provider.ts +3 -3
- package/src/electron-node/remote-status-service.ts +2 -2
- package/src/electron-node/setup/app-native-dependency-contribution.spec.ts +1 -1
- package/src/electron-node/setup/app-native-dependency-contribution.ts +1 -1
- package/src/electron-node/setup/remote-copy-contribution.ts +3 -2
- package/src/electron-node/setup/remote-copy-service.ts +4 -4
- package/src/electron-node/setup/remote-native-dependency-service.ts +5 -6
- package/src/electron-node/setup/remote-node-setup-service.ts +2 -2
- package/src/electron-node/setup/remote-setup-service.ts +5 -5
- package/src/electron-node/ssh/remote-ssh-connection-provider.spec.ts +6 -2
- package/src/electron-node/ssh/remote-ssh-connection-provider.ts +14 -9
- package/src/electron-node/ssh/ssh-identity-file-collector.ts +2 -2
- package/src/typings/decompress-plugins.d.ts +30 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2023 TypeFox and others.
|
|
4
3
|
//
|
|
@@ -14,20 +13,18 @@
|
|
|
14
13
|
//
|
|
15
14
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
15
|
// *****************************************************************************
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const local_backend_services_1 = require("./local-backend-services");
|
|
26
|
-
let RemoteElectronFileDialogService = class RemoteElectronFileDialogService extends electron_file_dialog_service_1.ElectronFileDialogService {
|
|
16
|
+
import { __decorate } from "tslib";
|
|
17
|
+
import { nls } from '@theia/core';
|
|
18
|
+
import { inject, injectable } from '@theia/core/shared/inversify';
|
|
19
|
+
import { DefaultFileDialogService } from '@theia/filesystem/lib/browser/file-dialog/file-dialog-service';
|
|
20
|
+
import { ElectronFileDialogService } from '@theia/filesystem/lib/electron-browser/file-dialog/electron-file-dialog-service';
|
|
21
|
+
import { RemoteService } from './remote-service.js';
|
|
22
|
+
import { LOCAL_FILE_SCHEME } from './local-backend-services.js';
|
|
23
|
+
let RemoteElectronFileDialogService = class RemoteElectronFileDialogService extends ElectronFileDialogService {
|
|
27
24
|
showOpenDialog(props, folder) {
|
|
28
25
|
if (this.remoteService.isConnected()) {
|
|
29
26
|
this.addLocalFilesButton(props);
|
|
30
|
-
return
|
|
27
|
+
return DefaultFileDialogService.prototype.showOpenDialog.call(this, props, folder);
|
|
31
28
|
}
|
|
32
29
|
else {
|
|
33
30
|
return super.showOpenDialog(props, folder);
|
|
@@ -35,7 +32,7 @@ let RemoteElectronFileDialogService = class RemoteElectronFileDialogService exte
|
|
|
35
32
|
}
|
|
36
33
|
showSaveDialog(props, folder) {
|
|
37
34
|
if (this.remoteService.isConnected()) {
|
|
38
|
-
return
|
|
35
|
+
return DefaultFileDialogService.prototype.showSaveDialog.call(this, props, folder);
|
|
39
36
|
}
|
|
40
37
|
else {
|
|
41
38
|
return super.showSaveDialog(props, folder);
|
|
@@ -43,9 +40,9 @@ let RemoteElectronFileDialogService = class RemoteElectronFileDialogService exte
|
|
|
43
40
|
}
|
|
44
41
|
addLocalFilesButton(props) {
|
|
45
42
|
const localFilesButton = {
|
|
46
|
-
label:
|
|
43
|
+
label: nls.localizeByDefault('Show Local'),
|
|
47
44
|
onClick: async (resolve) => {
|
|
48
|
-
const localFile = await super.showOpenDialog({ ...props, fileScheme:
|
|
45
|
+
const localFile = await super.showOpenDialog({ ...props, fileScheme: LOCAL_FILE_SCHEME });
|
|
49
46
|
if (localFile) {
|
|
50
47
|
resolve({ uri: localFile });
|
|
51
48
|
}
|
|
@@ -59,12 +56,11 @@ let RemoteElectronFileDialogService = class RemoteElectronFileDialogService exte
|
|
|
59
56
|
}
|
|
60
57
|
}
|
|
61
58
|
};
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
(0, inversify_1.inject)(remote_service_1.RemoteService),
|
|
65
|
-
tslib_1.__metadata("design:type", remote_service_1.RemoteService)
|
|
59
|
+
__decorate([
|
|
60
|
+
inject(RemoteService)
|
|
66
61
|
], RemoteElectronFileDialogService.prototype, "remoteService", void 0);
|
|
67
|
-
|
|
68
|
-
|
|
62
|
+
RemoteElectronFileDialogService = __decorate([
|
|
63
|
+
injectable()
|
|
69
64
|
], RemoteElectronFileDialogService);
|
|
65
|
+
export { RemoteElectronFileDialogService };
|
|
70
66
|
//# sourceMappingURL=remote-electron-file-dialog-service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-electron-file-dialog-service.js","sourceRoot":"","sources":["../../src/electron-browser/remote-electron-file-dialog-service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote-electron-file-dialog-service.js","sourceRoot":"","sources":["../../src/electron-browser/remote-electron-file-dialog-service.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,OAAO,EAAmB,GAAG,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGlE,OAAO,E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IAAI,SAAS,EAAE,CAAC;oBACZ,OAAO,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,CAAC;gBAChC,CAAC;YACL,CAAC;SACJ,CAAC;QACF,IAAI,KAAK,CAAC,iBAAiB,EAAE,CAAC;YAC1B,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACnD,CAAC;aAAM,CAAC;YACJ,KAAK,CAAC,iBAAiB,GAAG,CAAC,gBAAgB,CAAC,CAAC;QACjD,CAAC;IACL,CAAC;CACJ,CAAA;AArC6C;IAAzC,MAAM,CAAC,aAAa,CAAC;sEAAiD;AAF9D,+BAA+B;IAD3C,UAAU,EAAE;GACA,+BAA+B,CAuC3C"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Command, CommandContribution, CommandRegistry, ContributionProvider, QuickInputService } from '@theia/core';
|
|
2
2
|
import { FrontendApplicationContribution, StatusBar } from '@theia/core/lib/browser';
|
|
3
|
-
import { RemoteStatus, RemoteStatusService } from '../electron-common/remote-status-service';
|
|
4
|
-
import { RemoteRegistry, RemoteRegistryContribution } from './remote-registry-contribution';
|
|
5
|
-
import { RemoteService } from './remote-service';
|
|
3
|
+
import { RemoteStatus, RemoteStatusService } from '../electron-common/remote-status-service.js';
|
|
4
|
+
import { RemoteRegistry, RemoteRegistryContribution } from './remote-registry-contribution.js';
|
|
5
|
+
import { RemoteService } from './remote-service.js';
|
|
6
6
|
import { WindowService } from '@theia/core/lib/browser/window/window-service';
|
|
7
7
|
export declare namespace RemoteCommands {
|
|
8
8
|
const REMOTE_SELECT: Command;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-frontend-contribution.d.ts","sourceRoot":"","sources":["../../src/electron-browser/remote-frontend-contribution.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,oBAAoB,EAAO,iBAAiB,EAAkB,MAAM,aAAa,CAAC;AAC1I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AC,cAAc,iBAAwB;IAE1C,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;cAYhB,YAAY,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;IAoB/D,gBAAgB,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI;cAejC,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;cAUjC,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;CA6BhD"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2023 TypeFox and others.
|
|
4
3
|
//
|
|
@@ -14,33 +13,31 @@
|
|
|
14
13
|
//
|
|
15
14
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
15
|
// *****************************************************************************
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const electron_local_ws_connection_source_1 = require("@theia/core/lib/electron-browser/messaging/electron-local-ws-connection-source");
|
|
28
|
-
var RemoteCommands;
|
|
16
|
+
import { __decorate } from "tslib";
|
|
17
|
+
import { Command, CommandRegistry, ContributionProvider, nls, QuickInputService } from '@theia/core';
|
|
18
|
+
import { StatusBar, StatusBarAlignment } from '@theia/core/lib/browser';
|
|
19
|
+
import { inject, injectable, named, optional } from '@theia/core/shared/inversify';
|
|
20
|
+
import { RemoteStatusService } from '../electron-common/remote-status-service.js';
|
|
21
|
+
import { RemoteRegistry, RemoteRegistryContribution } from './remote-registry-contribution.js';
|
|
22
|
+
import { RemoteService } from './remote-service.js';
|
|
23
|
+
import { WindowService } from '@theia/core/lib/browser/window/window-service';
|
|
24
|
+
import { getLocalPort, getCurrentPort } from '@theia/core/lib/electron-browser/messaging/electron-local-ws-connection-source';
|
|
25
|
+
export var RemoteCommands;
|
|
29
26
|
(function (RemoteCommands) {
|
|
30
27
|
RemoteCommands.REMOTE_SELECT = {
|
|
31
28
|
id: 'remote.select'
|
|
32
29
|
};
|
|
33
|
-
RemoteCommands.REMOTE_DISCONNECT =
|
|
30
|
+
RemoteCommands.REMOTE_DISCONNECT = Command.toDefaultLocalizedCommand({
|
|
34
31
|
id: 'remote.disconnect',
|
|
35
32
|
label: 'Close Remote Connection',
|
|
36
33
|
});
|
|
37
|
-
})(RemoteCommands || (
|
|
34
|
+
})(RemoteCommands || (RemoteCommands = {}));
|
|
38
35
|
let RemoteFrontendContribution = class RemoteFrontendContribution {
|
|
39
36
|
constructor() {
|
|
40
|
-
this.remoteRegistry = new
|
|
37
|
+
this.remoteRegistry = new RemoteRegistry();
|
|
41
38
|
}
|
|
42
39
|
async configure() {
|
|
43
|
-
const port =
|
|
40
|
+
const port = getCurrentPort();
|
|
44
41
|
if (port) {
|
|
45
42
|
const status = await this.remoteStatusService.getStatus(Number(port));
|
|
46
43
|
await this.setStatusBar(status);
|
|
@@ -54,7 +51,7 @@ let RemoteFrontendContribution = class RemoteFrontendContribution {
|
|
|
54
51
|
async setStatusBar(info) {
|
|
55
52
|
this.remoteService.setConnected(info.alive);
|
|
56
53
|
const entry = {
|
|
57
|
-
alignment:
|
|
54
|
+
alignment: StatusBarAlignment.LEFT,
|
|
58
55
|
command: RemoteCommands.REMOTE_SELECT.id,
|
|
59
56
|
backgroundColor: 'var(--theia-statusBarItem-remoteBackground)',
|
|
60
57
|
color: 'var(--theia-statusBarItem-remoteForeground)',
|
|
@@ -62,10 +59,10 @@ let RemoteFrontendContribution = class RemoteFrontendContribution {
|
|
|
62
59
|
...(info.alive
|
|
63
60
|
? {
|
|
64
61
|
text: `$(codicon-remote) ${info.type}: ${info.name.length > 35 ? info.name.substring(0, 32) + '...' : info.name}`,
|
|
65
|
-
tooltip:
|
|
62
|
+
tooltip: nls.localizeByDefault('Editing on {0}', info.name),
|
|
66
63
|
} : {
|
|
67
64
|
text: '$(codicon-remote)',
|
|
68
|
-
tooltip:
|
|
65
|
+
tooltip: nls.localizeByDefault('Open a Remote Window'),
|
|
69
66
|
})
|
|
70
67
|
};
|
|
71
68
|
this.statusBar.setElement('remoteStatus', entry);
|
|
@@ -85,7 +82,7 @@ let RemoteFrontendContribution = class RemoteFrontendContribution {
|
|
|
85
82
|
});
|
|
86
83
|
}
|
|
87
84
|
async disconnectRemote() {
|
|
88
|
-
const localPort =
|
|
85
|
+
const localPort = getLocalPort();
|
|
89
86
|
if (localPort) {
|
|
90
87
|
const searchParams = new URLSearchParams(location.search);
|
|
91
88
|
const currentPort = searchParams.get('port');
|
|
@@ -115,45 +112,38 @@ let RemoteFrontendContribution = class RemoteFrontendContribution {
|
|
|
115
112
|
});
|
|
116
113
|
}
|
|
117
114
|
const selection = await this.quickInputService?.showQuickPick(quickPicks, {
|
|
118
|
-
placeholder:
|
|
115
|
+
placeholder: nls.localizeByDefault('Select an option to open a Remote Window')
|
|
119
116
|
});
|
|
120
117
|
if (selection) {
|
|
121
118
|
this.commandRegistry.executeCommand(selection.id);
|
|
122
119
|
}
|
|
123
120
|
}
|
|
124
121
|
};
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
(0, inversify_1.inject)(browser_1.StatusBar),
|
|
128
|
-
tslib_1.__metadata("design:type", Object)
|
|
122
|
+
__decorate([
|
|
123
|
+
inject(StatusBar)
|
|
129
124
|
], RemoteFrontendContribution.prototype, "statusBar", void 0);
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
tslib_1.__metadata("design:type", Object)
|
|
125
|
+
__decorate([
|
|
126
|
+
inject(QuickInputService),
|
|
127
|
+
optional()
|
|
134
128
|
], RemoteFrontendContribution.prototype, "quickInputService", void 0);
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
tslib_1.__metadata("design:type", core_1.CommandRegistry)
|
|
129
|
+
__decorate([
|
|
130
|
+
inject(CommandRegistry)
|
|
138
131
|
], RemoteFrontendContribution.prototype, "commandRegistry", void 0);
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
tslib_1.__metadata("design:type", remote_service_1.RemoteService)
|
|
132
|
+
__decorate([
|
|
133
|
+
inject(RemoteService)
|
|
142
134
|
], RemoteFrontendContribution.prototype, "remoteService", void 0);
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
tslib_1.__metadata("design:type", Object)
|
|
135
|
+
__decorate([
|
|
136
|
+
inject(RemoteStatusService)
|
|
146
137
|
], RemoteFrontendContribution.prototype, "remoteStatusService", void 0);
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
tslib_1.__metadata("design:type", Object)
|
|
138
|
+
__decorate([
|
|
139
|
+
inject(WindowService)
|
|
150
140
|
], RemoteFrontendContribution.prototype, "windowService", void 0);
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
tslib_1.__metadata("design:type", Object)
|
|
141
|
+
__decorate([
|
|
142
|
+
inject(ContributionProvider),
|
|
143
|
+
named(RemoteRegistryContribution)
|
|
155
144
|
], RemoteFrontendContribution.prototype, "remoteRegistryContributions", void 0);
|
|
156
|
-
|
|
157
|
-
|
|
145
|
+
RemoteFrontendContribution = __decorate([
|
|
146
|
+
injectable()
|
|
158
147
|
], RemoteFrontendContribution);
|
|
148
|
+
export { RemoteFrontendContribution };
|
|
159
149
|
//# sourceMappingURL=remote-frontend-contribution.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-frontend-contribution.js","sourceRoot":"","sources":["../../src/electron-browser/remote-frontend-contribution.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote-frontend-contribution.js","sourceRoot":"","sources":["../../src/electron-browser/remote-frontend-contribution.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,u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+1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2023 TypeFox and others.
|
|
4
3
|
//
|
|
@@ -14,72 +13,71 @@
|
|
|
14
13
|
//
|
|
15
14
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
15
|
// *****************************************************************************
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
bind(
|
|
47
|
-
bind(
|
|
48
|
-
bind
|
|
49
|
-
(
|
|
50
|
-
bind(
|
|
51
|
-
bind
|
|
52
|
-
(
|
|
53
|
-
|
|
54
|
-
bind(
|
|
55
|
-
bind(
|
|
56
|
-
bind(
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
createWidget: () => context.container.get(port_forwarding_widget_1.PortForwardingWidget)
|
|
16
|
+
import { bindRootContributionProvider, CommandContribution } from '@theia/core';
|
|
17
|
+
import { ContainerModule } from '@theia/core/shared/inversify';
|
|
18
|
+
import { bindViewContribution, FrontendApplicationContribution, isRemote, WidgetFactory } from '@theia/core/lib/browser';
|
|
19
|
+
import { RemoteSSHContribution } from './remote-ssh-contribution.js';
|
|
20
|
+
import { RemoteSSHConnectionProvider, RemoteSSHConnectionProviderPath } from '../electron-common/remote-ssh-connection-provider.js';
|
|
21
|
+
import { RemoteFrontendContribution } from './remote-frontend-contribution.js';
|
|
22
|
+
import { RemoteRegistryContribution } from './remote-registry-contribution.js';
|
|
23
|
+
import { RemoteService } from './remote-service.js';
|
|
24
|
+
import { RemoteStatusService, RemoteStatusServicePath } from '../electron-common/remote-status-service.js';
|
|
25
|
+
import { ElectronFileDialogService } from '@theia/filesystem/lib/electron-browser/file-dialog/electron-file-dialog-service';
|
|
26
|
+
import { RemoteElectronFileDialogService } from './remote-electron-file-dialog-service.js';
|
|
27
|
+
import { bindRemotePreferences } from '../electron-common/remote-preferences.js';
|
|
28
|
+
import { PortForwardingWidget, PORT_FORWARDING_WIDGET_ID } from './port-forwarding/port-forwarding-widget.js';
|
|
29
|
+
import { PortForwardingContribution } from './port-forwarding/port-forwading-contribution.js';
|
|
30
|
+
import { PortForwardingService } from './port-forwarding/port-forwarding-service.js';
|
|
31
|
+
import { RemotePortForwardingProvider, RemoteRemotePortForwardingProviderPath } from '../electron-common/remote-port-forwarding-provider.js';
|
|
32
|
+
import { ServiceConnectionProvider } from '@theia/core/lib/browser/messaging/service-connection-provider';
|
|
33
|
+
import '../../src/electron-browser/style/port-forwarding-widget.css';
|
|
34
|
+
import { UserStorageContribution } from '@theia/userstorage/lib/browser/user-storage-contribution';
|
|
35
|
+
import { RemoteUserStorageContribution } from './remote-user-storage-provider.js';
|
|
36
|
+
import { RemoteFileSystemProvider, remoteFileSystemPath, RemoteFileSystemProxyFactory, RemoteFileSystemServer } from '@theia/filesystem/lib/common/remote-file-system-provider';
|
|
37
|
+
import { LocalEnvVariablesServer, LocalRemoteFileSystemContribution, LocalRemoteFileSystemProvider, LocalRemoteFileSytemServer } from './local-backend-services.js';
|
|
38
|
+
import { envVariablesPath, EnvVariablesServer } from '@theia/core/lib/common/env-variables';
|
|
39
|
+
import { WorkspaceHandlingContribution, WorkspaceOpenHandlerContribution } from '@theia/workspace/lib/browser';
|
|
40
|
+
import { RemoteLocalWorkspaceContribution } from './remote-local-workspace-contribution.js';
|
|
41
|
+
import { FileServiceContribution } from '@theia/filesystem/lib/browser/file-service';
|
|
42
|
+
import { RemoteCliArgsCollector } from './remote-cli-args-collector.js';
|
|
43
|
+
export default new ContainerModule((bind, _, __, rebind) => {
|
|
44
|
+
bind(RemoteFrontendContribution).toSelf().inSingletonScope();
|
|
45
|
+
bind(FrontendApplicationContribution).toService(RemoteFrontendContribution);
|
|
46
|
+
bind(CommandContribution).toService(RemoteFrontendContribution);
|
|
47
|
+
bindRootContributionProvider(bind, RemoteRegistryContribution);
|
|
48
|
+
bind(RemoteSSHContribution).toSelf().inSingletonScope();
|
|
49
|
+
bind(RemoteRegistryContribution).toService(RemoteSSHContribution);
|
|
50
|
+
bindRemotePreferences(bind);
|
|
51
|
+
rebind(ElectronFileDialogService).to(RemoteElectronFileDialogService).inSingletonScope();
|
|
52
|
+
bind(RemoteService).toSelf().inSingletonScope();
|
|
53
|
+
bind(RemoteCliArgsCollector).toSelf().inSingletonScope();
|
|
54
|
+
bind(PortForwardingWidget).toSelf();
|
|
55
|
+
bind(WidgetFactory).toDynamicValue(context => ({
|
|
56
|
+
id: PORT_FORWARDING_WIDGET_ID,
|
|
57
|
+
createWidget: () => context.container.get(PortForwardingWidget)
|
|
60
58
|
}));
|
|
61
|
-
|
|
62
|
-
bind(
|
|
63
|
-
bind(
|
|
64
|
-
bind(
|
|
65
|
-
bind(
|
|
66
|
-
if (
|
|
67
|
-
bind(
|
|
68
|
-
bind(
|
|
69
|
-
bind(
|
|
59
|
+
bindViewContribution(bind, PortForwardingContribution);
|
|
60
|
+
bind(PortForwardingService).toSelf().inSingletonScope();
|
|
61
|
+
bind(RemoteSSHConnectionProvider).toDynamicValue(ctx => ServiceConnectionProvider.createLocalProxy(ctx.container, RemoteSSHConnectionProviderPath)).inSingletonScope();
|
|
62
|
+
bind(RemoteStatusService).toDynamicValue(ctx => ServiceConnectionProvider.createLocalProxy(ctx.container, RemoteStatusServicePath)).inSingletonScope();
|
|
63
|
+
bind(RemotePortForwardingProvider).toDynamicValue(ctx => ServiceConnectionProvider.createLocalProxy(ctx.container, RemoteRemotePortForwardingProviderPath)).inSingletonScope();
|
|
64
|
+
if (isRemote) {
|
|
65
|
+
bind(LocalRemoteFileSytemServer).toDynamicValue(ctx => ServiceConnectionProvider.createLocalProxy(ctx.container, remoteFileSystemPath, new RemoteFileSystemProxyFactory()));
|
|
66
|
+
bind(LocalEnvVariablesServer).toDynamicValue(ctx => ServiceConnectionProvider.createLocalProxy(ctx.container, envVariablesPath));
|
|
67
|
+
bind(LocalRemoteFileSystemProvider).toSelf().inSingletonScope();
|
|
70
68
|
}
|
|
71
69
|
else {
|
|
72
|
-
bind(
|
|
73
|
-
bind(
|
|
74
|
-
bind(
|
|
70
|
+
bind(LocalRemoteFileSytemServer).toService(RemoteFileSystemServer);
|
|
71
|
+
bind(LocalEnvVariablesServer).toService(EnvVariablesServer);
|
|
72
|
+
bind(LocalRemoteFileSystemProvider).toService(RemoteFileSystemProvider);
|
|
75
73
|
}
|
|
76
|
-
rebind(
|
|
77
|
-
if (
|
|
78
|
-
bind(
|
|
79
|
-
bind(
|
|
80
|
-
bind(
|
|
81
|
-
bind(
|
|
82
|
-
bind(
|
|
74
|
+
rebind(UserStorageContribution).to(RemoteUserStorageContribution);
|
|
75
|
+
if (isRemote) {
|
|
76
|
+
bind(RemoteLocalWorkspaceContribution).toSelf().inSingletonScope();
|
|
77
|
+
bind(WorkspaceOpenHandlerContribution).toService(RemoteLocalWorkspaceContribution);
|
|
78
|
+
bind(WorkspaceHandlingContribution).toService(RemoteLocalWorkspaceContribution);
|
|
79
|
+
bind(LocalRemoteFileSystemContribution).toSelf().inSingletonScope();
|
|
80
|
+
bind(FileServiceContribution).toService(LocalRemoteFileSystemContribution);
|
|
83
81
|
}
|
|
84
82
|
});
|
|
85
83
|
//# sourceMappingURL=remote-frontend-module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-frontend-module.js","sourceRoot":"","sources":["../../src/electron-browser/remote-frontend-module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote-frontend-module.js","sourceRoot":"","sources":["../../src/electron-brow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spaceInput, WorkspaceOpenHandlerContribution } from '@theia/workspace/lib/browser';
|
|
3
|
-
import { RemoteStatusService } from '../electron-common/remote-status-service';
|
|
3
|
+
import { RemoteStatusService } from '../electron-common/remote-status-service.js';
|
|
4
4
|
import { WindowService } from '@theia/core/lib/browser/window/window-service';
|
|
5
5
|
import { WorkspacePreferences } from '@theia/workspace/lib/common';
|
|
6
6
|
export declare class RemoteLocalWorkspaceContribution implements WorkspaceOpenHandlerContribution, WorkspaceHandlingContribution {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-local-workspace-contribution.d.ts","sourceRoot":"","sources":["../../src/electron-browser/remote-local-workspace-contribution.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAEzD,OAAO,EAAE,6BAA6B,EAAE,cAAc,EAAE,gCAAgC,EAAE,MAAM,8BAA8B,CAAC;AAG/H,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"remote-local-workspace-contribution.d.ts","sourceRoot":"","sources":["../../src/electron-browser/remote-local-workspace-contribution.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAEzD,OAAO,EAAE,6BAA6B,EAAE,cAAc,EAAE,gCAAgC,EAAE,MAAM,8BAA8B,CAAC;AAG/H,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,qBACa,gCAAiC,YAAW,gCAAgC,EAAE,6BAA6B;IAGpH,SAAS,CAAC,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;IAG5D,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IAGhD,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAGnC,SAAS,CAAC,WAAW,EAAE,oBAAoB,CAAC;IAE5C,SAAS,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO;IAItB,sBAAsB,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAWrE,aAAa,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC;IAcjF,SAAS,CAAC,YAAY,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI;IAOnD,SAAS,CAAC,aAAa,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI;IAMpD,SAAS,CAAC,cAAc,IAAI,GAAG;CAMlC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2024 TypeFox and others.
|
|
4
3
|
//
|
|
@@ -14,25 +13,23 @@
|
|
|
14
13
|
//
|
|
15
14
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
15
|
// *****************************************************************************
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const window_service_1 = require("@theia/core/lib/browser/window/window-service");
|
|
26
|
-
const common_1 = require("@theia/workspace/lib/common");
|
|
16
|
+
import { __decorate } from "tslib";
|
|
17
|
+
import { ILogger, URI } from '@theia/core';
|
|
18
|
+
import { inject, injectable, named } from '@theia/core/shared/inversify';
|
|
19
|
+
import { LOCAL_FILE_SCHEME } from './local-backend-services.js';
|
|
20
|
+
import { CURRENT_PORT_PARAM, LOCAL_PORT_PARAM, getCurrentPort, getLocalPort } from '@theia/core/lib/electron-browser/messaging/electron-local-ws-connection-source';
|
|
21
|
+
import { RemoteStatusService } from '../electron-common/remote-status-service.js';
|
|
22
|
+
import { WindowService } from '@theia/core/lib/browser/window/window-service';
|
|
23
|
+
import { WorkspacePreferences } from '@theia/workspace/lib/common';
|
|
27
24
|
let RemoteLocalWorkspaceContribution = class RemoteLocalWorkspaceContribution {
|
|
28
25
|
canHandle(uri) {
|
|
29
|
-
return uri.scheme ===
|
|
26
|
+
return uri.scheme === LOCAL_FILE_SCHEME;
|
|
30
27
|
}
|
|
31
28
|
async modifyRecentWorkspaces(workspaces) {
|
|
32
29
|
return workspaces.map(workspace => {
|
|
33
|
-
const uri = new
|
|
30
|
+
const uri = new URI(workspace);
|
|
34
31
|
if (uri.scheme === 'file') {
|
|
35
|
-
return uri.withScheme(
|
|
32
|
+
return uri.withScheme(LOCAL_FILE_SCHEME).toString();
|
|
36
33
|
}
|
|
37
34
|
// possible check as well if a remote/dev-container workspace is from the connected remote and therefore change it to the 'file' scheme
|
|
38
35
|
return workspace;
|
|
@@ -53,7 +50,7 @@ let RemoteLocalWorkspaceContribution = class RemoteLocalWorkspaceContribution {
|
|
|
53
50
|
}
|
|
54
51
|
}
|
|
55
52
|
reloadWindow(workspacePath) {
|
|
56
|
-
const currentPort =
|
|
53
|
+
const currentPort = getCurrentPort();
|
|
57
54
|
this.remoteStatusService.connectionClosed(parseInt(currentPort ?? '0'));
|
|
58
55
|
const searchParams = this.getModifiedUrl().searchParams;
|
|
59
56
|
this.windowService.reload({ hash: encodeURI(workspacePath), search: Object.fromEntries(searchParams) });
|
|
@@ -65,30 +62,26 @@ let RemoteLocalWorkspaceContribution = class RemoteLocalWorkspaceContribution {
|
|
|
65
62
|
}
|
|
66
63
|
getModifiedUrl() {
|
|
67
64
|
const url = new URL(window.location.href);
|
|
68
|
-
url.searchParams.set(
|
|
69
|
-
url.searchParams.delete(
|
|
65
|
+
url.searchParams.set(CURRENT_PORT_PARAM, getLocalPort() ?? '');
|
|
66
|
+
url.searchParams.delete(LOCAL_PORT_PARAM);
|
|
70
67
|
return url;
|
|
71
68
|
}
|
|
72
69
|
};
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
(0, inversify_1.inject)(remote_status_service_1.RemoteStatusService),
|
|
76
|
-
tslib_1.__metadata("design:type", Object)
|
|
70
|
+
__decorate([
|
|
71
|
+
inject(RemoteStatusService)
|
|
77
72
|
], RemoteLocalWorkspaceContribution.prototype, "remoteStatusService", void 0);
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
tslib_1.__metadata("design:type", Object)
|
|
73
|
+
__decorate([
|
|
74
|
+
inject(WindowService)
|
|
81
75
|
], RemoteLocalWorkspaceContribution.prototype, "windowService", void 0);
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
tslib_1.__metadata("design:type", Object)
|
|
76
|
+
__decorate([
|
|
77
|
+
inject(ILogger),
|
|
78
|
+
named('remote:RemoteLocalWorkspaceContribution')
|
|
86
79
|
], RemoteLocalWorkspaceContribution.prototype, "logger", void 0);
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
tslib_1.__metadata("design:type", Object)
|
|
80
|
+
__decorate([
|
|
81
|
+
inject(WorkspacePreferences)
|
|
90
82
|
], RemoteLocalWorkspaceContribution.prototype, "preferences", void 0);
|
|
91
|
-
|
|
92
|
-
|
|
83
|
+
RemoteLocalWorkspaceContribution = __decorate([
|
|
84
|
+
injectable()
|
|
93
85
|
], RemoteLocalWorkspaceContribution);
|
|
86
|
+
export { RemoteLocalWorkspaceContribution };
|
|
94
87
|
//# sourceMappingURL=remote-local-workspace-contribution.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-local-workspace-contribution.js","sourceRoot":"","sources":["../../src/electron-browser/remote-local-workspace-contribution.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote-local-workspace-contribution.js","sourceRoot":"","sources":["../../src/electron-browser/remote-local-workspace-contribution.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,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