@codingame/monaco-vscode-xterm-common 32.0.2 → 33.0.9

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,22 +1,22 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-xterm-common",
3
- "version": "32.0.2",
3
+ "version": "33.0.9",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - common package depending on xterm",
6
6
  "keywords": [],
7
+ "license": "MIT",
7
8
  "author": {
8
9
  "name": "CodinGame",
9
10
  "url": "http://www.codingame.com"
10
11
  },
11
- "license": "MIT",
12
12
  "repository": {
13
13
  "type": "git",
14
14
  "url": "git+ssh://git@github.com/CodinGame/monaco-vscode-api.git"
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "32.0.2",
19
- "@codingame/monaco-vscode-xterm-addons-common": "32.0.2",
18
+ "@codingame/monaco-vscode-api": "33.0.9",
19
+ "@codingame/monaco-vscode-xterm-addons-common": "33.0.9",
20
20
  "@xterm/xterm": "6.1.0-beta.219"
21
21
  },
22
22
  "exports": {
@@ -4,10 +4,10 @@ import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/even
4
4
  import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
5
5
  import { ProcessPropertyType } from '@codingame/monaco-vscode-api/vscode/vs/platform/terminal/common/terminal';
6
6
  import { AGENT_HOST_SCHEME, fromAgentHostUri } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostUri';
7
- import { ActionType } from '../../../../platform/agentHost/common/state/protocol/actions.js';
7
+ import { ActionType } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/actions';
8
8
  import '../../../../platform/agentHost/common/state/protocol/notifications.js';
9
9
  import { TerminalClaimKind } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/state';
10
- import { StateComponents } from '../../../../platform/agentHost/common/state/sessionState.js';
10
+ import { StateComponents } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/sessionState';
11
11
  import { BasePty } from '../common/basePty.js';
12
12
 
13
13
  var AhpCommandMarkKind;
@@ -83,7 +83,7 @@ let AgentHostTerminalService = class AgentHostTerminalService extends Disposable
83
83
  }
84
84
  } else if (displaying < entries.length) {
85
85
  desiredProfiles.set("__quickpick__", {
86
- name: ( localize(13777, "Agent Host…")),
86
+ name: ( localize(13907, "Agent Host…")),
87
87
  address: "__quickpick__",
88
88
  getConnection: () => undefined
89
89
  });
@@ -104,7 +104,7 @@ let AgentHostTerminalService = class AgentHostTerminalService extends Disposable
104
104
  infos.push({
105
105
  extensionIdentifier: AGENT_HOST_PROFILE_EXT_ID,
106
106
  profileId: key,
107
- title: key === "__quickpick__" ? ( localize(13777, "Agent Host…")) : ( localize(13778, "Agent Host ({0})", desiredProfiles.get(key).name)),
107
+ title: key === "__quickpick__" ? ( localize(13907, "Agent Host…")) : ( localize(13908, "Agent Host ({0})", desiredProfiles.get(key).name)),
108
108
  address: key
109
109
  });
110
110
  }
@@ -119,12 +119,12 @@ let AgentHostTerminalService = class AgentHostTerminalService extends Disposable
119
119
  let displayName = entry.name;
120
120
  if (key === "__quickpick__") {
121
121
  const picks = ( allEntries.map(e => ({
122
- label: ( localize(13778, "Agent Host ({0})", e.name)),
122
+ label: ( localize(13908, "Agent Host ({0})", e.name)),
123
123
  address: e.address,
124
124
  hostName: e.name
125
125
  })));
126
126
  const pick = await this._quickInputService.pick(picks, {
127
- placeHolder: ( localize(13779, "Select an agent host to open a terminal on"))
127
+ placeHolder: ( localize(13909, "Select an agent host to open a terminal on"))
128
128
  });
129
129
  if (!pick) {
130
130
  return;
@@ -140,13 +140,13 @@ let AgentHostTerminalService = class AgentHostTerminalService extends Disposable
140
140
  return;
141
141
  }
142
142
  await this.createTerminal(connection, {
143
- name: ( localize(13778, "Agent Host ({0})", displayName)),
143
+ name: ( localize(13908, "Agent Host ({0})", displayName)),
144
144
  cwd: options.cwd ? (typeof options.cwd === "string" ? URI.file(options.cwd) : options.cwd) : this._defaultCwd,
145
145
  location: options.location
146
146
  });
147
147
  }
148
148
  };
149
- const title = key === "__quickpick__" ? ( localize(13777, "Agent Host…")) : ( localize(13778, "Agent Host ({0})", entry.name));
149
+ const title = key === "__quickpick__" ? ( localize(13907, "Agent Host…")) : ( localize(13908, "Agent Host ({0})", entry.name));
150
150
  const store = ( new DisposableStore());
151
151
  store.add(
152
152
  this._terminalProfileService.registerTerminalProfileProvider(AGENT_HOST_PROFILE_EXT_ID, key, provider)
@@ -175,7 +175,7 @@ let AgentHostTerminalService = class AgentHostTerminalService extends Disposable
175
175
  scheme: "agenthost-terminal",
176
176
  path: `/${generateUuid()}`
177
177
  }));
178
- const name = options?.name ?? ( localize(13780, "Agent Host Terminal"));
178
+ const name = options?.name ?? ( localize(13910, "Agent Host Terminal"));
179
179
  const key = ( terminalUri.toString());
180
180
  const instance = await this._terminalService.createTerminal({
181
181
  config: {
@@ -241,7 +241,7 @@ let AgentHostTerminalService = class AgentHostTerminalService extends Disposable
241
241
  });
242
242
  return pty;
243
243
  },
244
- name: ( localize(13781, "Agent Host Terminal")),
244
+ name: ( localize(13911, "Agent Host Terminal")),
245
245
  isFeatureTerminal: true,
246
246
  hideFromUser: true
247
247
  }
@@ -24,7 +24,7 @@ let EnvironmentVariableInfoStale = class EnvironmentVariableInfoStale {
24
24
  addExtensionIdentifiers(extSet, ( this._diff.removed.values()));
25
25
  addExtensionIdentifiers(extSet, ( this._diff.changed.values()));
26
26
  let message = ( localize(
27
- 13786,
27
+ 13916,
28
28
  "The following extensions want to relaunch the terminal to contribute to its environment:"
29
29
  ));
30
30
  message += getMergedDescription(this._collection, scope, this._extensionService, extSet);
@@ -32,7 +32,7 @@ let EnvironmentVariableInfoStale = class EnvironmentVariableInfoStale {
32
32
  }
33
33
  _getActions() {
34
34
  return [{
35
- label: ( localize(13787, "Relaunch Terminal")),
35
+ label: ( localize(13917, "Relaunch Terminal")),
36
36
  run: () => this._terminalService.getInstanceFromId(this._terminalId)?.relaunch(),
37
37
  commandId: TerminalCommandId.Relaunch
38
38
  }];
@@ -59,7 +59,7 @@ let EnvironmentVariableInfoChangesActive = class EnvironmentVariableInfoChangesA
59
59
  const extSet = ( new Set());
60
60
  addExtensionIdentifiers(extSet, ( this._collection.getVariableMap(scope).values()));
61
61
  let message = ( localize(
62
- 13788,
62
+ 13918,
63
63
  "The following extensions have contributed to this terminal's environment:"
64
64
  ));
65
65
  message += getMergedDescription(this._collection, scope, this._extensionService, extSet);
@@ -67,7 +67,7 @@ let EnvironmentVariableInfoChangesActive = class EnvironmentVariableInfoChangesA
67
67
  }
68
68
  _getActions(scope) {
69
69
  return [{
70
- label: ( localize(13789, "Show Environment Contributions")),
70
+ label: ( localize(13919, "Show Environment Contributions")),
71
71
  run: () => this._commandService.executeCommand(TerminalCommandId.ShowEnvironmentContributions, scope),
72
72
  commandId: TerminalCommandId.ShowEnvironmentContributions
73
73
  }];
@@ -95,7 +95,7 @@ function getMergedDescription(collection, scope, extensionService, extSet) {
95
95
  }
96
96
  const workspaceDescription = workspaceDescriptions.get(ext);
97
97
  if (workspaceDescription) {
98
- const workspaceSuffix = globalDescription ? ` (${( localize(13790, "workspace"))})` : "";
98
+ const workspaceSuffix = globalDescription ? ` (${( localize(13920, "workspace"))})` : "";
99
99
  message.push(`\n- \`${getExtensionName(ext, extensionService)}${workspaceSuffix}\``);
100
100
  message.push(`: ${workspaceDescription}`);
101
101
  }