@theia/remote 1.77.0-next.1 → 1.77.0-next.108
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.d.ts.map +1 -1
- package/lib/electron-node/setup/main-copy-contribution.js +8 -8
- package/lib/electron-node/setup/main-copy-contribution.js.map +1 -1
- package/lib/electron-node/setup/main-copy-contribution.spec.d.ts +2 -0
- package/lib/electron-node/setup/main-copy-contribution.spec.d.ts.map +1 -0
- package/lib/electron-node/setup/main-copy-contribution.spec.js +54 -0
- package/lib/electron-node/setup/main-copy-contribution.spec.js.map +1 -0
- 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/main-copy-contribution.spec.ts +62 -0
- package/src/electron-node/setup/main-copy-contribution.ts +3 -0
- 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,13 +13,11 @@
|
|
|
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
|
-
const
|
|
22
|
-
const window_service_1 = require("@theia/core/lib/browser/window/window-service");
|
|
23
|
-
exports.RemoteRegistryContribution = Symbol('RemoteRegistryContribution');
|
|
16
|
+
import { __decorate } from "tslib";
|
|
17
|
+
import { Emitter } from '@theia/core';
|
|
18
|
+
import { inject, injectable } from '@theia/core/shared/inversify';
|
|
19
|
+
import { WindowService } from '@theia/core/lib/browser/window/window-service';
|
|
20
|
+
export const RemoteRegistryContribution = Symbol('RemoteRegistryContribution');
|
|
24
21
|
let AbstractRemoteRegistryContribution = class AbstractRemoteRegistryContribution {
|
|
25
22
|
openRemote(port, newWindow, workspace) {
|
|
26
23
|
const searchParams = new URLSearchParams(location.search);
|
|
@@ -42,18 +39,17 @@ let AbstractRemoteRegistryContribution = class AbstractRemoteRegistryContributio
|
|
|
42
39
|
}
|
|
43
40
|
}
|
|
44
41
|
};
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
(0, inversify_1.inject)(window_service_1.WindowService),
|
|
48
|
-
tslib_1.__metadata("design:type", Object)
|
|
42
|
+
__decorate([
|
|
43
|
+
inject(WindowService)
|
|
49
44
|
], AbstractRemoteRegistryContribution.prototype, "windowService", void 0);
|
|
50
|
-
|
|
51
|
-
|
|
45
|
+
AbstractRemoteRegistryContribution = __decorate([
|
|
46
|
+
injectable()
|
|
52
47
|
], AbstractRemoteRegistryContribution);
|
|
53
|
-
|
|
48
|
+
export { AbstractRemoteRegistryContribution };
|
|
49
|
+
export class RemoteRegistry {
|
|
54
50
|
constructor() {
|
|
55
51
|
this._commands = [];
|
|
56
|
-
this.onDidRegisterCommandEmitter = new
|
|
52
|
+
this.onDidRegisterCommandEmitter = new Emitter();
|
|
57
53
|
}
|
|
58
54
|
get commands() {
|
|
59
55
|
return this._commands;
|
|
@@ -66,5 +62,4 @@ class RemoteRegistry {
|
|
|
66
62
|
this._commands.push(command);
|
|
67
63
|
}
|
|
68
64
|
}
|
|
69
|
-
exports.RemoteRegistry = RemoteRegistry;
|
|
70
65
|
//# sourceMappingURL=remote-registry-contribution.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-registry-contribution.js","sourceRoot":"","sources":["../../src/electron-browser/remote-registry-contribution.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote-registry-contribution.js","sourceRoot":"","sources":["../../src/electron-browser/remote-registry-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,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,OAAO,EAA2B,OAAO,EAAS,MAAM,aAAa,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAuB,MAAM,+CAA+C,CAAC;AAEnG,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAAC,4BAA4B,CAAC,CAAC;AAOxE,IAAe,kCAAkC,GAAjD,MAAe,kCAAkC;IAO1C,UAAU,CAAC,IAAY,EAAE,SAAkB,EAAE,SAAkB;QACrE,MAAM,YAAY,GAAG,IAAI,eAAe,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAC1D,MAAM,SAAS,GAAG,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QAC5E,MAAM,OAAO,GAAwB;YACjC,MAAM,EAAE,EAAE,IAAI,EAAE;SACnB,CAAC;QACF,IAAI,SAAS,EAAE,CAAC;YACZ,OAAO,CAAC,MAAO,CAAC,SAAS,GAAG,SAAS,CAAC;QAC1C,CAAC;QACD,IAAI,SAAS,EAAE,CAAC;YACZ,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC;QAC7B,CAAC;QAED,IAAI,SAAS,EAAE,CAAC;YACZ,IAAI,CAAC,aAAa,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;QACrD,CAAC;aAAM,CAAC;YACJ,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACvC,CAAC;IACL,CAAC;CACJ,CAAA;AAvBsB;IADlB,MAAM,CAAC,aAAa,CAAC;yEAC0B;AAH9B,kCAAkC;IADvD,UAAU,EAAE;GACS,kCAAkC,CA0BvD;;AAED,MAAM,OAAO,cAAc;IAA3B;QAEc,cAAS,GAAc,EAAE,CAAC;QAC1B,gCAA2B,GAAG,IAAI,OAAO,EAAyC,CAAC;IAcjG,CAAC;IAZG,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAED,IAAI,oBAAoB;QACpB,OAAO,IAAI,CAAC,2BAA2B,CAAC,KAAK,CAAC;IAClD,CAAC;IAED,eAAe,CAAC,OAAgB,EAAE,OAAwB;QACtD,IAAI,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;QAC1D,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;CACJ"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2023 TypeFox and others.
|
|
4
3
|
//
|
|
@@ -14,10 +13,8 @@
|
|
|
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
|
-
const tslib_1 = require("tslib");
|
|
20
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
16
|
+
import { __decorate } from "tslib";
|
|
17
|
+
import { injectable } from '@theia/core/shared/inversify';
|
|
21
18
|
let RemoteService = class RemoteService {
|
|
22
19
|
isConnected() {
|
|
23
20
|
return this._connected;
|
|
@@ -26,8 +23,8 @@ let RemoteService = class RemoteService {
|
|
|
26
23
|
this._connected = value;
|
|
27
24
|
}
|
|
28
25
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
(0, inversify_1.injectable)()
|
|
26
|
+
RemoteService = __decorate([
|
|
27
|
+
injectable()
|
|
32
28
|
], RemoteService);
|
|
29
|
+
export { RemoteService };
|
|
33
30
|
//# sourceMappingURL=remote-service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-service.js","sourceRoot":"","sources":["../../src/electron-browser/remote-service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote-service.js","sourceRoot":"","sources":["../../src/electron-browser/remote-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,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGnD,IAAM,aAAa,GAAnB,MAAM,aAAa;IAItB,WAAW;QACP,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IAED,YAAY,CAAC,KAAc;QACvB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;IAC5B,CAAC;CACJ,CAAA;AAXY,aAAa;IADzB,UAAU,EAAE;GACA,aAAa,CAWzB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Command, MessageService, QuickInputService } from '@theia/core';
|
|
2
2
|
import { VariableResolverService } from '@theia/variable-resolver/lib/browser';
|
|
3
|
-
import { RemoteSSHConnectionProvider } from '../electron-common/remote-ssh-connection-provider';
|
|
4
|
-
import { AbstractRemoteRegistryContribution, RemoteRegistry } from './remote-registry-contribution';
|
|
5
|
-
import { RemotePreferences } from '../electron-common/remote-preferences';
|
|
3
|
+
import { RemoteSSHConnectionProvider } from '../electron-common/remote-ssh-connection-provider.js';
|
|
4
|
+
import { AbstractRemoteRegistryContribution, RemoteRegistry } from './remote-registry-contribution.js';
|
|
5
|
+
import { RemotePreferences } from '../electron-common/remote-preferences.js';
|
|
6
6
|
export declare namespace RemoteSSHCommands {
|
|
7
7
|
const CONNECT: Command;
|
|
8
8
|
const CONNECT_CURRENT_WINDOW: Command;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-ssh-contribution.d.ts","sourceRoot":"","sources":["../../src/electron-browser/remote-ssh-contribution.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAO,iBAAiB,EAAkB,MAAM,aAAa,CAAC;AAE9F,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"remote-ssh-contribution.d.ts","sourceRoot":"","sources":["../../src/electron-browser/remote-ssh-contribution.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAO,iBAAiB,EAAkB,MAAM,aAAa,CAAC;AAE9F,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;AACnG,OAAO,EAAE,kCAAkC,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAM7E,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,OAAO,EAAE,OAIQ,CAAC;IACxB,MAAM,sBAAsB,EAAE,OAIP,CAAC;IACxB,MAAM,qCAAqC,EAAE,OAIV,CAAC;CAC9C;AAED,qBACa,qBAAsB,SAAQ,kCAAkC;IAGzE,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAGxD,SAAS,CAAC,QAAQ,CAAC,qBAAqB,EAAE,2BAA2B,CAAC;IAGtE,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IAGlD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAGxD,SAAS,CAAC,QAAQ,CAAC,gBAAgB,EAAE,uBAAuB,CAAC;IAE7D,sBAAsB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAYhD,iBAAiB,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAKhD,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC;IAuDpC,OAAO,CAAC,SAAS,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IA4C1C,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAQpE"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2023 TypeFox and others.
|
|
4
3
|
//
|
|
@@ -14,35 +13,35 @@
|
|
|
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
|
-
const
|
|
27
|
-
var RemoteSSHCommands;
|
|
16
|
+
import { __decorate } from "tslib";
|
|
17
|
+
import { Command, MessageService, nls, QuickInputService } from '@theia/core';
|
|
18
|
+
import { inject, injectable } from '@theia/core/shared/inversify';
|
|
19
|
+
import { VariableResolverService } from '@theia/variable-resolver/lib/browser';
|
|
20
|
+
import { RemoteSSHConnectionProvider } from '../electron-common/remote-ssh-connection-provider.js';
|
|
21
|
+
import { AbstractRemoteRegistryContribution } from './remote-registry-contribution.js';
|
|
22
|
+
import { RemotePreferences } from '../electron-common/remote-preferences.js';
|
|
23
|
+
import SSHConfigModule from 'ssh-config';
|
|
24
|
+
// `ssh-config` is a CommonJS module that provides the class as `default` export of `module.exports`.
|
|
25
|
+
const SSHConfig = SSHConfigModule.default;
|
|
26
|
+
export var RemoteSSHCommands;
|
|
28
27
|
(function (RemoteSSHCommands) {
|
|
29
|
-
RemoteSSHCommands.CONNECT =
|
|
28
|
+
RemoteSSHCommands.CONNECT = Command.toLocalizedCommand({
|
|
30
29
|
id: 'remote.ssh.connect',
|
|
31
30
|
category: 'SSH',
|
|
32
31
|
label: 'Connect to Host...',
|
|
33
32
|
}, 'theia/remote/ssh/connect');
|
|
34
|
-
RemoteSSHCommands.CONNECT_CURRENT_WINDOW =
|
|
33
|
+
RemoteSSHCommands.CONNECT_CURRENT_WINDOW = Command.toLocalizedCommand({
|
|
35
34
|
id: 'remote.ssh.connectCurrentWindow',
|
|
36
35
|
category: 'SSH',
|
|
37
36
|
label: 'Connect Current Window to Host...',
|
|
38
37
|
}, 'theia/remote/ssh/connect');
|
|
39
|
-
RemoteSSHCommands.CONNECT_CURRENT_WINDOW_TO_CONFIG_HOST =
|
|
38
|
+
RemoteSSHCommands.CONNECT_CURRENT_WINDOW_TO_CONFIG_HOST = Command.toLocalizedCommand({
|
|
40
39
|
id: 'remote.ssh.connectToConfigHost',
|
|
41
40
|
category: 'SSH',
|
|
42
41
|
label: 'Connect Current Window to Host in Config File...',
|
|
43
42
|
}, 'theia/remote/ssh/connectToConfigHost');
|
|
44
|
-
})(RemoteSSHCommands || (
|
|
45
|
-
let RemoteSSHContribution = class RemoteSSHContribution extends
|
|
43
|
+
})(RemoteSSHCommands || (RemoteSSHCommands = {}));
|
|
44
|
+
let RemoteSSHContribution = class RemoteSSHContribution extends AbstractRemoteRegistryContribution {
|
|
46
45
|
registerRemoteCommands(registry) {
|
|
47
46
|
registry.registerCommand(RemoteSSHCommands.CONNECT, {
|
|
48
47
|
execute: () => this.connect(true)
|
|
@@ -62,7 +61,7 @@ let RemoteSSHContribution = class RemoteSSHContribution extends remote_registry_
|
|
|
62
61
|
const quickPicks = [];
|
|
63
62
|
const filePath = await this.getConfigFilePath();
|
|
64
63
|
if (!filePath) {
|
|
65
|
-
this.messageService.error(
|
|
64
|
+
this.messageService.error(nls.localize('theia/remote/sshNoConfigPath', 'No SSH config path found.'));
|
|
66
65
|
return;
|
|
67
66
|
}
|
|
68
67
|
const sshConfig = await this.sshConnectionProvider.getSSHConfig(filePath);
|
|
@@ -74,7 +73,7 @@ let RemoteSSHContribution = class RemoteSSHContribution extends remote_registry_
|
|
|
74
73
|
}
|
|
75
74
|
if (record.param.toLowerCase() === 'host' && !wildcardCheck.test(record.value)) {
|
|
76
75
|
const rec = ((record.config)
|
|
77
|
-
.filter((entry) => entry.type ===
|
|
76
|
+
.filter((entry) => entry.type === SSHConfig.DIRECTIVE))
|
|
78
77
|
.reduce((pv, item) => ({ ...pv, [item.param.toLowerCase()]: item.value }), { 'host': record.value });
|
|
79
78
|
const host = (rec.hostname || rec.host) + ':' + (rec.port || '22');
|
|
80
79
|
const user = rec.user || 'root';
|
|
@@ -85,11 +84,11 @@ let RemoteSSHContribution = class RemoteSSHContribution extends remote_registry_
|
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
86
|
if (quickPicks.length === 0) {
|
|
88
|
-
this.messageService.info(
|
|
87
|
+
this.messageService.info(nls.localize('theia/remote/noConfigHosts', 'No SSH hosts found in the config file: ' + filePath));
|
|
89
88
|
return;
|
|
90
89
|
}
|
|
91
90
|
const selection = await this.quickInputService?.showQuickPick(quickPicks, {
|
|
92
|
-
placeholder:
|
|
91
|
+
placeholder: nls.localizeByDefault('Select an option to open a Remote Window')
|
|
93
92
|
});
|
|
94
93
|
if (selection?.id) {
|
|
95
94
|
try {
|
|
@@ -99,7 +98,7 @@ let RemoteSSHContribution = class RemoteSSHContribution extends remote_registry_
|
|
|
99
98
|
this.openRemote(remotePort, false);
|
|
100
99
|
}
|
|
101
100
|
catch (err) {
|
|
102
|
-
this.messageService.error(`${
|
|
101
|
+
this.messageService.error(`${nls.localize('theia/remote/ssh/failure', 'Could not open SSH connection to remote.')} ${err.message ?? String(err)}`);
|
|
103
102
|
}
|
|
104
103
|
}
|
|
105
104
|
}
|
|
@@ -107,11 +106,11 @@ let RemoteSSHContribution = class RemoteSSHContribution extends remote_registry_
|
|
|
107
106
|
let host;
|
|
108
107
|
let user;
|
|
109
108
|
host = await this.quickInputService.input({
|
|
110
|
-
title:
|
|
111
|
-
placeHolder:
|
|
109
|
+
title: nls.localize('theia/remote/ssh/enterHost', 'Enter SSH host name'),
|
|
110
|
+
placeHolder: nls.localize('theia/remote/ssh/hostPlaceHolder', 'E.g. hello@example.com')
|
|
112
111
|
});
|
|
113
112
|
if (!host) {
|
|
114
|
-
this.messageService.error(
|
|
113
|
+
this.messageService.error(nls.localize('theia/remote/ssh/needsHost', 'Please enter a host name.'));
|
|
115
114
|
return;
|
|
116
115
|
}
|
|
117
116
|
if (host.includes('@')) {
|
|
@@ -129,12 +128,12 @@ let RemoteSSHContribution = class RemoteSSHContribution extends remote_registry_
|
|
|
129
128
|
}
|
|
130
129
|
if (!user) {
|
|
131
130
|
user = await this.quickInputService.input({
|
|
132
|
-
title:
|
|
133
|
-
placeHolder:
|
|
131
|
+
title: nls.localize('theia/remote/ssh/enterUser', 'Enter SSH user name'),
|
|
132
|
+
placeHolder: nls.localize('theia/remote/ssh/userPlaceHolder', 'E.g. hello')
|
|
134
133
|
});
|
|
135
134
|
}
|
|
136
135
|
if (!user) {
|
|
137
|
-
this.messageService.error(
|
|
136
|
+
this.messageService.error(nls.localize('theia/remote/ssh/needsUser', 'Please enter a user name.'));
|
|
138
137
|
return;
|
|
139
138
|
}
|
|
140
139
|
try {
|
|
@@ -142,7 +141,7 @@ let RemoteSSHContribution = class RemoteSSHContribution extends remote_registry_
|
|
|
142
141
|
this.openRemote(remotePort, newWindow);
|
|
143
142
|
}
|
|
144
143
|
catch (err) {
|
|
145
|
-
this.messageService.error(`${
|
|
144
|
+
this.messageService.error(`${nls.localize('theia/remote/ssh/failure', 'Could not open SSH connection to remote.')} ${err.message ?? String(err)}`);
|
|
146
145
|
}
|
|
147
146
|
}
|
|
148
147
|
async sendSSHConnect(host, user) {
|
|
@@ -154,28 +153,23 @@ let RemoteSSHContribution = class RemoteSSHContribution extends remote_registry_
|
|
|
154
153
|
});
|
|
155
154
|
}
|
|
156
155
|
};
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
(0, inversify_1.inject)(core_1.QuickInputService),
|
|
160
|
-
tslib_1.__metadata("design:type", Object)
|
|
156
|
+
__decorate([
|
|
157
|
+
inject(QuickInputService)
|
|
161
158
|
], RemoteSSHContribution.prototype, "quickInputService", void 0);
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
tslib_1.__metadata("design:type", Object)
|
|
159
|
+
__decorate([
|
|
160
|
+
inject(RemoteSSHConnectionProvider)
|
|
165
161
|
], RemoteSSHContribution.prototype, "sshConnectionProvider", void 0);
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
tslib_1.__metadata("design:type", core_1.MessageService)
|
|
162
|
+
__decorate([
|
|
163
|
+
inject(MessageService)
|
|
169
164
|
], RemoteSSHContribution.prototype, "messageService", void 0);
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
tslib_1.__metadata("design:type", Object)
|
|
165
|
+
__decorate([
|
|
166
|
+
inject(RemotePreferences)
|
|
173
167
|
], RemoteSSHContribution.prototype, "remotePreferences", void 0);
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
tslib_1.__metadata("design:type", browser_1.VariableResolverService)
|
|
168
|
+
__decorate([
|
|
169
|
+
inject(VariableResolverService)
|
|
177
170
|
], RemoteSSHContribution.prototype, "variableResolver", void 0);
|
|
178
|
-
|
|
179
|
-
|
|
171
|
+
RemoteSSHContribution = __decorate([
|
|
172
|
+
injectable()
|
|
180
173
|
], RemoteSSHContribution);
|
|
174
|
+
export { RemoteSSHContribution };
|
|
181
175
|
//# sourceMappingURL=remote-ssh-contribution.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-ssh-contribution.js","sourceRoot":"","sources":["../../src/electron-browser/remote-ssh-contribution.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote-ssh-contribution.js","sourceRoot":"","sources":["../../src/electron-browser/remote-ssh-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,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,iBAAiB,EAAkB,MAAM,aAAa,CAAC;AAC9F,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;AACnG,OAAO,EAAE,kCAAkC,EAAkB,MAAM,mCAAmC,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,eAA8B,MAAM,YAAY,CAAC;AAExD,qGAAqG;AACrG,MAAM,SAAS,G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2B;AAG/B;IADlB,MAAM,CAAC,iBAAiB,CAAC;gEAC8B;AAGrC;IADlB,MAAM,CAAC,uBAAuB,CAAC;+DAC6B;AAfpD,qBAAqB;IADjC,UAAU,EAAE;GACA,qBAAqB,CA6IjC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FileService } from '@theia/filesystem/lib/browser/file-service';
|
|
2
2
|
import { FileSystemProvider } from '@theia/filesystem/lib/common/files';
|
|
3
3
|
import { UserStorageContribution } from '@theia/userstorage/lib/browser/user-storage-contribution';
|
|
4
|
-
import { RemoteStatusService } from '../electron-common/remote-status-service';
|
|
5
|
-
import { LocalRemoteFileSystemProvider } from './local-backend-services';
|
|
4
|
+
import { RemoteStatusService } from '../electron-common/remote-status-service.js';
|
|
5
|
+
import { LocalRemoteFileSystemProvider } from './local-backend-services.js';
|
|
6
6
|
import { Deferred } from '@theia/core/lib/common/promise-util';
|
|
7
7
|
import { URI } from '@theia/core';
|
|
8
8
|
import { EnvVariablesServer } from '@theia/core/lib/common/env-variables';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-user-storage-provider.d.ts","sourceRoot":"","sources":["../../src/electron-browser/remote-user-storage-provider.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,0DAA0D,CAAC;AACnG,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"remote-user-storage-provider.d.ts","sourceRoot":"","sources":["../../src/electron-browser/remote-user-storage-provider.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,0DAA0D,CAAC;AACnG,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,EAA2B,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AACrG,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAG1E;;GAEG;AACH,qBACa,6BAA8B,SAAQ,uBAAuB;IAEtE,SAAS,CAAC,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;IAG5D,SAAS,CAAC,QAAQ,CAAC,6BAA6B,EAAE,6BAA6B,CAAC;IAGhF,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;IAEzD,kBAAkB,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAkB;IAGvD,SAAS,CAAC,IAAI,IAAI,IAAI;cAOG,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC;cAM9D,eAAe,IAAI,OAAO,CAAC,GAAG,CAAC;CAM3D"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2024 TypeFox and others.
|
|
4
3
|
//
|
|
@@ -14,27 +13,24 @@
|
|
|
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 core_1 = require("@theia/core");
|
|
26
|
-
const env_variables_1 = require("@theia/core/lib/common/env-variables");
|
|
27
|
-
const electron_local_ws_connection_source_1 = require("@theia/core/lib/electron-browser/messaging/electron-local-ws-connection-source");
|
|
16
|
+
import { __decorate } from "tslib";
|
|
17
|
+
import { injectable, inject, postConstruct } from '@theia/core/shared/inversify';
|
|
18
|
+
import { UserStorageContribution } from '@theia/userstorage/lib/browser/user-storage-contribution';
|
|
19
|
+
import { RemoteStatusService } from '../electron-common/remote-status-service.js';
|
|
20
|
+
import { LocalEnvVariablesServer, LocalRemoteFileSystemProvider } from './local-backend-services.js';
|
|
21
|
+
import { Deferred } from '@theia/core/lib/common/promise-util';
|
|
22
|
+
import { URI } from '@theia/core';
|
|
23
|
+
import { getCurrentPort } from '@theia/core/lib/electron-browser/messaging/electron-local-ws-connection-source';
|
|
28
24
|
/**
|
|
29
25
|
* This overide is to have remote connections still use settings, keymaps, etc. from the local machine.
|
|
30
26
|
*/
|
|
31
|
-
let RemoteUserStorageContribution = class RemoteUserStorageContribution extends
|
|
27
|
+
let RemoteUserStorageContribution = class RemoteUserStorageContribution extends UserStorageContribution {
|
|
32
28
|
constructor() {
|
|
33
29
|
super(...arguments);
|
|
34
|
-
this.isRemoteConnection = new
|
|
30
|
+
this.isRemoteConnection = new Deferred();
|
|
35
31
|
}
|
|
36
32
|
init() {
|
|
37
|
-
const port =
|
|
33
|
+
const port = getCurrentPort();
|
|
38
34
|
if (port) {
|
|
39
35
|
this.remoteStatusService.getStatus(Number(port)).then(status => this.isRemoteConnection.resolve(status.alive));
|
|
40
36
|
}
|
|
@@ -46,30 +42,24 @@ let RemoteUserStorageContribution = class RemoteUserStorageContribution extends
|
|
|
46
42
|
}
|
|
47
43
|
async getCongigDirUri() {
|
|
48
44
|
return await this.isRemoteConnection.promise ?
|
|
49
|
-
new
|
|
45
|
+
new URI(await this.localEnvironments.getConfigDirUri())
|
|
50
46
|
: super.getCongigDirUri();
|
|
51
47
|
}
|
|
52
48
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
(0, inversify_1.inject)(remote_status_service_1.RemoteStatusService),
|
|
56
|
-
tslib_1.__metadata("design:type", Object)
|
|
49
|
+
__decorate([
|
|
50
|
+
inject(RemoteStatusService)
|
|
57
51
|
], RemoteUserStorageContribution.prototype, "remoteStatusService", void 0);
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
tslib_1.__metadata("design:type", local_backend_services_1.LocalRemoteFileSystemProvider)
|
|
52
|
+
__decorate([
|
|
53
|
+
inject(LocalRemoteFileSystemProvider)
|
|
61
54
|
], RemoteUserStorageContribution.prototype, "localRemoteFileSystemProvider", void 0);
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
tslib_1.__metadata("design:type", Object)
|
|
55
|
+
__decorate([
|
|
56
|
+
inject(LocalEnvVariablesServer)
|
|
65
57
|
], RemoteUserStorageContribution.prototype, "localEnvironments", void 0);
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
tslib_1.__metadata("design:type", Function),
|
|
69
|
-
tslib_1.__metadata("design:paramtypes", []),
|
|
70
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
58
|
+
__decorate([
|
|
59
|
+
postConstruct()
|
|
71
60
|
], RemoteUserStorageContribution.prototype, "init", null);
|
|
72
|
-
|
|
73
|
-
|
|
61
|
+
RemoteUserStorageContribution = __decorate([
|
|
62
|
+
injectable()
|
|
74
63
|
], RemoteUserStorageContribution);
|
|
64
|
+
export { RemoteUserStorageContribution };
|
|
75
65
|
//# sourceMappingURL=remote-user-storage-provider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-user-storage-provider.js","sourceRoot":"","sources":["../../src/electron-browser/remote-user-storage-provider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote-user-storage-provider.js","sourceRoot":"","sources":["../../src/electron-browser/remote-user-storage-provider.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;;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K,CAAC,eAAe,EAAE,CAAC;IAClC,CAAC;CAEJ,CAAA;AA9BsB;IADlB,MAAM,CAAC,mBAAmB,CAAC;0EACgC;AAGzC;IADlB,MAAM,CAAC,6BAA6B,CAAC;oFAC0C;AAG7D;IADlB,MAAM,CAAC,uBAAuB,CAAC;wEACyB;AAK/C;IADT,aAAa,EAAE;yDAMf;AAlBQ,6BAA6B;IADzC,UAAU,EAAE;GACA,6BAA6B,CAgCzC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2024 TypeFox and others.
|
|
4
3
|
//
|
|
@@ -14,8 +13,6 @@
|
|
|
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
|
-
exports.RemoteRemotePortForwardingProviderPath = '/remote/port-forwarding';
|
|
20
|
-
exports.RemotePortForwardingProvider = Symbol('RemoteSSHConnectionProvider');
|
|
16
|
+
export const RemoteRemotePortForwardingProviderPath = '/remote/port-forwarding';
|
|
17
|
+
export const RemotePortForwardingProvider = Symbol('RemoteSSHConnectionProvider');
|
|
21
18
|
//# sourceMappingURL=remote-port-forwarding-provider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-port-forwarding-provider.js","sourceRoot":"","sources":["../../src/electron-common/remote-port-forwarding-provider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote-port-forwarding-provider.js","sourceRoot":"","sources":["../../src/electron-common/remote-port-forwarding-provider.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,MAAM,CAAC,MAAM,sCAAsC,GAAG,yBAAyB,CAAC;AAEhF,MAAM,CAAC,MAAM,4BAA4B,GAAG,MAAM,CAAC,6BAA6B,CAAC,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2023 TypeFox and others.
|
|
4
3
|
//
|
|
@@ -14,41 +13,38 @@
|
|
|
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
|
-
const nls_1 = require("@theia/core/lib/common/nls");
|
|
22
|
-
const injectable_preference_proxy_1 = require("@theia/core/lib/common/preferences/injectable-preference-proxy");
|
|
23
|
-
const preference_schema_1 = require("@theia/core/lib/common/preferences/preference-schema");
|
|
16
|
+
import { OS } from '@theia/core';
|
|
17
|
+
import { nls } from '@theia/core/lib/common/nls';
|
|
18
|
+
import { PreferenceProxyFactory } from '@theia/core/lib/common/preferences/injectable-preference-proxy';
|
|
19
|
+
import { PreferenceContribution } from '@theia/core/lib/common/preferences/preference-schema';
|
|
24
20
|
const nodeDownloadTemplateParts = [
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
nls.localize('theia/remote/nodeDownloadTemplateVersion', '`{version}` for the used node version'),
|
|
22
|
+
nls.localize('theia/remote/nodeDownloadTemplateOS', '`{os}` for the remote operating system. Either `win`, `linux` or `darwin`.'),
|
|
23
|
+
nls.localize('theia/remote/nodeDownloadTemplateArch', '`{arch}` for the remote system architecture.'),
|
|
24
|
+
nls.localize('theia/remote/nodeDownloadTemplateExt', '`{ext}` for the file extension. Either `zip`, `tar.xz` or `tar.xz`, depending on the operating system.')
|
|
29
25
|
];
|
|
30
|
-
|
|
26
|
+
export const RemotePreferenceSchema = {
|
|
31
27
|
properties: {
|
|
32
28
|
'remote.nodeDownloadTemplate': {
|
|
33
29
|
type: 'string',
|
|
34
30
|
default: '',
|
|
35
|
-
markdownDescription:
|
|
31
|
+
markdownDescription: nls.localize('theia/remote/nodeDownloadTemplate', 'Controls the template used to download the node.js binaries for the remote backend. Points to the official node.js website by default. Uses multiple placeholders:') + '\n- ' + nodeDownloadTemplateParts.join('\n- ')
|
|
36
32
|
},
|
|
37
33
|
'remote.ssh.configFile': {
|
|
38
34
|
type: 'string',
|
|
39
|
-
default:
|
|
40
|
-
markdownDescription:
|
|
35
|
+
default: OS.backend.isWindows ? '${env:USERPROFILE}\\.ssh\\config' : '${env:HOME}/.ssh/config',
|
|
36
|
+
markdownDescription: nls.localize('theia/remote/ssh/configFile', 'Remote SSH Config file')
|
|
41
37
|
},
|
|
42
38
|
}
|
|
43
39
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
function bindRemotePreferences(bind) {
|
|
47
|
-
bind(
|
|
48
|
-
const factory = ctx.container.get(
|
|
49
|
-
return factory(
|
|
40
|
+
export const RemotePreferenceContribution = Symbol('RemotePreferenceContribution');
|
|
41
|
+
export const RemotePreferences = Symbol('GettingStartedPreferences');
|
|
42
|
+
export function bindRemotePreferences(bind) {
|
|
43
|
+
bind(RemotePreferences).toDynamicValue(ctx => {
|
|
44
|
+
const factory = ctx.container.get(PreferenceProxyFactory);
|
|
45
|
+
return factory(RemotePreferenceSchema);
|
|
50
46
|
}).inSingletonScope();
|
|
51
|
-
bind(
|
|
52
|
-
bind(
|
|
47
|
+
bind(RemotePreferenceContribution).toConstantValue({ schema: RemotePreferenceSchema });
|
|
48
|
+
bind(PreferenceContribution).toService(RemotePreferenceContribution);
|
|
53
49
|
}
|
|
54
50
|
//# sourceMappingURL=remote-preferences.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-preferences.js","sourceRoot":"","sources":["../../src/electron-common/remote-preferences.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote-preferences.js","sourceRoot":"","sources":["../../src/electron-common/remote-preferences.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,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,GAAG,EAAE,MAAM,4BAA4B,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gEAAgE,CAAC;AACxG,OAAO,EAAE,sBAAsB,EAAoB,MAAM,sDAAsD,CAAC;AAEhH,MAAM,yBAAyB,GAAG;IAC9B,GAAG,CAAC,QAAQ,CAAC,0CAA0C,EAAE,uCAAuC,CAAC;IACjG,GAAG,CAAC,QAAQ,CAAC,qCAAqC,EAAE,4EAA4E,CAAC;IACjI,GAAG,CAAC,QAAQ,CAAC,uCAAuC,EAAE,8CAA8C,CAAC;IACrG,GAAG,CAAC,QAAQ,CAAC,sCAAsC,EAAE,wGAAwG,CAAC;CACjK,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAqB;IACpD,UAAU,EAAE;QACR,6BAA6B,EAAE;YAC3B,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,mBAAmB,EAAE,GAAG,CAAC,QAAQ,CAC7B,mCAAmC,EACnC,oKAAoK,CACvK,GAAG,MAAM,GAAG,yBAAyB,CAAC,IAAI,CAAC,MAAM,CAAC;SACtD;QACD,uBAAuB,EAAE;YACrB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,kCAAkC,CAAC,CAAC,CAAC,yBAAyB;YAC9F,mBAAmB,EAAE,GAAG,CAAC,QAAQ,CAC7B,6BAA6B,EAC7B,wBAAwB,CAC3B;SACJ;KACJ;CACJ,CAAC;AAOF,MAAM,CAAC,MAAM,4BAA4B,GAAG,MAAM,CAAC,8BAA8B,CAAC,CAAC;AACnF,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,2BAA2B,CAAC,CAAC;AAGrE,MAAM,UAAU,qBAAqB,CAAC,IAAqB;IACvD,IAAI,CAAC,iBAAiB,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;QACzC,MAAM,OAAO,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAAyB,sBAAsB,CAAC,CAAC;QAClF,OAAO,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAC3C,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACtB,IAAI,CAAC,4BAA4B,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,sBAAsB,EAAE,CAAC,CAAC;IACvF,IAAI,CAAC,sBAAsB,CAAC,CAAC,SAAS,CAAC,4BAA4B,CAAC,CAAC;AACzE,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2023 TypeFox and others.
|
|
4
3
|
//
|
|
@@ -14,8 +13,6 @@
|
|
|
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
|
-
exports.RemoteSSHConnectionProviderPath = '/remote/ssh';
|
|
20
|
-
exports.RemoteSSHConnectionProvider = Symbol('RemoteSSHConnectionProvider');
|
|
16
|
+
export const RemoteSSHConnectionProviderPath = '/remote/ssh';
|
|
17
|
+
export const RemoteSSHConnectionProvider = Symbol('RemoteSSHConnectionProvider');
|
|
21
18
|
//# sourceMappingURL=remote-ssh-connection-provider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-ssh-connection-provider.js","sourceRoot":"","sources":["../../src/electron-common/remote-ssh-connection-provider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote-ssh-connection-provider.js","sourceRoot":"","sources":["../../src/electron-common/remote-ssh-connection-provider.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;AAIhF,MAAM,CAAC,MAAM,+BAA+B,GAAG,aAAa,CAAC;AAE7D,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,6BAA6B,CAAC,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2023 TypeFox and others.
|
|
4
3
|
//
|
|
@@ -14,8 +13,6 @@
|
|
|
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
|
-
exports.RemoteStatusServicePath = '/remote/status';
|
|
20
|
-
exports.RemoteStatusService = Symbol('RemoteStatusService');
|
|
16
|
+
export const RemoteStatusServicePath = '/remote/status';
|
|
17
|
+
export const RemoteStatusService = Symbol('RemoteStatusService');
|
|
21
18
|
//# sourceMappingURL=remote-status-service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-status-service.js","sourceRoot":"","sources":["../../src/electron-common/remote-status-service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote-status-service.js","sourceRoot":"","sources":["../../src/electron-common/remote-status-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;AAchF,MAAM,CAAC,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;AAExD,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC"}
|