@codingame/monaco-vscode-remote-agent-service-override 2.0.3 → 2.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-remote-agent-service-override",
3
- "version": "2.0.3",
3
+ "version": "2.1.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -18,8 +18,8 @@
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@2.0.3",
21
+ "vscode": "npm:@codingame/monaco-vscode-api@2.1.0",
22
22
  "vscode-marked": "npm:marked@=3.0.2",
23
- "@codingame/monaco-vscode-environment-service-override": "2.0.3"
23
+ "@codingame/monaco-vscode-environment-service-override": "2.1.0"
24
24
  }
25
25
  }
@@ -81,7 +81,8 @@ let TunnelFactoryContribution = class TunnelFactoryContribution extends Disposab
81
81
  features: {
82
82
  elevation: !!environmentService.options?.tunnelProvider?.features?.elevation,
83
83
  public: !!environmentService.options?.tunnelProvider?.features?.public,
84
- privacyOptions
84
+ privacyOptions,
85
+ protocol: environmentService.options?.tunnelProvider?.features?.protocol === undefined ? true : !!environmentService.options?.tunnelProvider?.features?.protocol
85
86
  }
86
87
  } : undefined;
87
88
  remoteExplorerService.setTunnelInformation(tunnelInformation);
@@ -6,7 +6,7 @@ import { OS, isWeb } from 'vscode/vscode/vs/base/common/platform';
6
6
  import { Schemas } from 'vscode/vscode/vs/base/common/network';
7
7
  import { remoteConnectionLatencyMeasurer, IRemoteAgentService } from 'vscode/vscode/vs/workbench/services/remote/common/remoteAgentService';
8
8
  import { ILoggerService } from 'vscode/vscode/vs/platform/log/common/log';
9
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
9
+ import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
10
10
  import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
11
11
  import { Extensions as Extensions$1 } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
12
12
  import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
@@ -187,11 +187,11 @@ workbenchContributionsRegistry.registerWorkbenchContribution(InitialRemoteConnec
187
187
  constructor() {
188
188
  super({
189
189
  id: 'workbench.action.triggerReconnect',
190
- title: { value: ( localizeWithPath(
190
+ title: ( localize2WithPath(
191
191
  'vs/workbench/contrib/remote/common/remote.contribution',
192
192
  'triggerReconnect',
193
- "Connection: Trigger Reconnect"
194
- )), original: 'Connection: Trigger Reconnect' },
193
+ 'Connection: Trigger Reconnect'
194
+ )),
195
195
  category: Categories.Developer,
196
196
  f1: true,
197
197
  });
@@ -204,11 +204,11 @@ workbenchContributionsRegistry.registerWorkbenchContribution(InitialRemoteConnec
204
204
  constructor() {
205
205
  super({
206
206
  id: 'workbench.action.pauseSocketWriting',
207
- title: { value: ( localizeWithPath(
207
+ title: ( localize2WithPath(
208
208
  'vs/workbench/contrib/remote/common/remote.contribution',
209
209
  'pauseSocketWriting',
210
- "Connection: Pause socket writing"
211
- )), original: 'Connection: Pause socket writing' },
210
+ 'Connection: Pause socket writing'
211
+ )),
212
212
  category: Categories.Developer,
213
213
  f1: true,
214
214
  });
@@ -289,7 +289,7 @@ const extensionKindSchema = {
289
289
  markdownDescription: ( localizeWithPath(
290
290
  'vs/workbench/contrib/remote/common/remote.contribution',
291
291
  'remote.autoForwardPortsSource',
292
- "Sets the source from which ports are automatically forwarded when {0} is true. On Windows and Mac remotes, the `process` and `hybrid` options have no effect and `output` will be used.",
292
+ "Sets the source from which ports are automatically forwarded when {0} is true. On Windows and macOS remotes, the `process` and `hybrid` options have no effect and `output` will be used.",
293
293
  '`#remote.autoForwardPorts#`'
294
294
  )),
295
295
  enum: ['process', 'output', 'hybrid'],
@@ -312,6 +312,15 @@ const extensionKindSchema = {
312
312
  ],
313
313
  default: 'process'
314
314
  },
315
+ 'remote.autoForwardPortsFallback': {
316
+ type: 'number',
317
+ default: 20,
318
+ markdownDescription: ( localizeWithPath(
319
+ 'vs/workbench/contrib/remote/common/remote.contribution',
320
+ 'remote.autoForwardPortFallback',
321
+ "The number of auto forwarded ports that will trigger the switch from `process` to `hybrid` when automatically forwarding ports and `remote.autoForwardPortsSource` is set to `process`. Set to `0` to disable the fallback."
322
+ ))
323
+ },
315
324
  'remote.forwardOnOpen': {
316
325
  type: 'boolean',
317
326
  description: ( localizeWithPath(