@codingame/monaco-vscode-relauncher-service-override 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,21 +1,21 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-relauncher-service-override",
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 - relauncher service-override",
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"
18
+ "@codingame/monaco-vscode-api": "33.0.9"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -34,6 +34,12 @@ export declare class SettingsChangeRelauncher extends Disposable implements IWor
34
34
  private readonly telemetryFeedbackEnabled;
35
35
  private readonly extensionUnificationEnabled;
36
36
  private readonly agentHostEnabled;
37
+ private readonly agentHostOTelEnabled;
38
+ private readonly agentHostOTelExporterType;
39
+ private readonly agentHostOTelOtlpEndpoint;
40
+ private readonly agentHostOTelCaptureContent;
41
+ private readonly agentHostOTelOutfile;
42
+ private readonly agentHostOTelDbSpanExporterEnabled;
37
43
  constructor(hostService: IHostService, configurationService: IConfigurationService, userDataSyncService: IUserDataSyncService, userDataSyncEnablementService: IUserDataSyncEnablementService, userDataSyncWorkbenchService: IUserDataSyncWorkbenchService, productService: IProductService, dialogService: IDialogService);
38
44
  private onConfigurationChange;
39
45
  private isTurningOnSyncInProgress;
@@ -44,7 +44,13 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
44
44
  "accessibility.verbosity.debug",
45
45
  "telemetry.feedback.enabled",
46
46
  "chat.extensionUnification.enabled",
47
- "chat.agentHost.enabled"
47
+ "chat.agentHost.enabled",
48
+ "chat.agentHost.otel.enabled",
49
+ "chat.agentHost.otel.exporterType",
50
+ "chat.agentHost.otel.otlpEndpoint",
51
+ "chat.agentHost.otel.captureContent",
52
+ "chat.agentHost.otel.outfile",
53
+ "chat.agentHost.otel.dbSpanExporter.enabled"
48
54
  ];
49
55
  }
50
56
  constructor(
@@ -78,6 +84,12 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
78
84
  this.telemetryFeedbackEnabled = ( new ChangeObserver("boolean"));
79
85
  this.extensionUnificationEnabled = ( new ChangeObserver("boolean"));
80
86
  this.agentHostEnabled = ( new ChangeObserver("boolean"));
87
+ this.agentHostOTelEnabled = ( new ChangeObserver("boolean"));
88
+ this.agentHostOTelExporterType = ( new ChangeObserver("string"));
89
+ this.agentHostOTelOtlpEndpoint = ( new ChangeObserver("string"));
90
+ this.agentHostOTelCaptureContent = ( new ChangeObserver("boolean"));
91
+ this.agentHostOTelOutfile = ( new ChangeObserver("string"));
92
+ this.agentHostOTelDbSpanExporterEnabled = ( new ChangeObserver("boolean"));
81
93
  this.update(false);
82
94
  this._register(
83
95
  this.configurationService.onDidChangeConfiguration(e => this.onConfigurationChange(e))
@@ -145,16 +157,34 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
145
157
  this.extensionUnificationEnabled.handleChange(config.chat?.extensionUnification?.enabled) && config.chat?.extensionUnification?.enabled === true
146
158
  );
147
159
  processChanged(this.agentHostEnabled.handleChange(config.chat?.agentHost?.enabled));
160
+ processChanged(
161
+ this.agentHostOTelEnabled.handleChange(config.chat?.agentHost?.otel?.enabled)
162
+ );
163
+ processChanged(
164
+ this.agentHostOTelExporterType.handleChange(config.chat?.agentHost?.otel?.exporterType)
165
+ );
166
+ processChanged(
167
+ this.agentHostOTelOtlpEndpoint.handleChange(config.chat?.agentHost?.otel?.otlpEndpoint)
168
+ );
169
+ processChanged(
170
+ this.agentHostOTelCaptureContent.handleChange(config.chat?.agentHost?.otel?.captureContent)
171
+ );
172
+ processChanged(
173
+ this.agentHostOTelOutfile.handleChange(config.chat?.agentHost?.otel?.outfile)
174
+ );
175
+ processChanged(
176
+ this.agentHostOTelDbSpanExporterEnabled.handleChange(config.chat?.agentHost?.otel?.dbSpanExporter?.enabled)
177
+ );
148
178
  if (askToRelaunch && changed && this.hostService.hasFocus) {
149
- this.doConfirm(isNative ? ( localize(12459, "A setting has changed that requires a restart to take effect.")) : ( localize(12460, "A setting has changed that requires a reload to take effect.")), isNative ? ( localize(
150
- 12461,
179
+ this.doConfirm(isNative ? ( localize(12586, "A setting has changed that requires a restart to take effect.")) : ( localize(12587, "A setting has changed that requires a reload to take effect.")), isNative ? ( localize(
180
+ 12588,
151
181
  "Press the restart button to restart {0} and enable the setting.",
152
182
  this.productService.nameLong
153
183
  )) : ( localize(
154
- 12462,
184
+ 12589,
155
185
  "Press the reload button to reload {0} and enable the setting.",
156
186
  this.productService.nameLong
157
- )), isNative ? ( localize(12463, "&&Restart")) : ( localize(12464, "&&Reload")), () => this.hostService.restart());
187
+ )), isNative ? ( localize(12590, "&&Restart")) : ( localize(12591, "&&Reload")), () => this.hostService.restart());
158
188
  }
159
189
  }
160
190
  async doConfirm(message, detail, primaryButton, confirmedFn) {
@@ -201,7 +231,7 @@ let WorkspaceChangeExtHostRelauncher = class WorkspaceChangeExtHostRelauncher ex
201
231
  if (environmentService.remoteAuthority) {
202
232
  hostService.reload();
203
233
  } else if (isNative) {
204
- const stopped = await extensionService.stopExtensionHosts(( localize(12465, "Changing workspace folders")));
234
+ const stopped = await extensionService.stopExtensionHosts(( localize(12592, "Changing workspace folders")));
205
235
  if (stopped) {
206
236
  extensionService.startExtensionHosts();
207
237
  }