@codingame/monaco-vscode-telemetry-service-override 34.1.3 → 35.0.1

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-telemetry-service-override",
3
- "version": "34.1.3",
3
+ "version": "35.0.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - telemetry service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "34.1.3",
18
+ "@codingame/monaco-vscode-api": "35.0.1",
19
19
  "@microsoft/1ds-core-js": "3.2.18",
20
20
  "@microsoft/1ds-post-js": "3.2.18"
21
21
  },
@@ -19,7 +19,7 @@ let TelemetryLogAppender = class TelemetryLogAppender extends Disposable {
19
19
  const justLoggingAndNotSending = isLoggingOnly(productService, environmentService);
20
20
  const logSuffix = justLoggingAndNotSending ? " (Not Sent)" : "";
21
21
  this.logger = this._register(loggerService.createLogger(id, {
22
- name: ( localize(2175, "Telemetry{0}", logSuffix)),
22
+ name: ( localize(2249, "Telemetry{0}", logSuffix)),
23
23
  group: TelemetryLogGroup,
24
24
  hidden: true
25
25
  }));
@@ -164,28 +164,28 @@ let TelemetryService = class TelemetryService {
164
164
  TelemetryService = TelemetryService_1 = ( __decorate([( __param(1, IConfigurationService)), ( __param(2, IProductService))], TelemetryService));
165
165
  function getTelemetryLevelSettingDescription() {
166
166
  const telemetryText = ( localize(
167
- 2176,
167
+ 2250,
168
168
  "Controls {0} telemetry, first-party extension telemetry, and participating third-party extension telemetry. Some third party extensions might not respect this setting. Consult the specific extension's documentation to be sure. Telemetry helps us better understand how {0} is performing, where improvements need to be made, and how features are being used.",
169
169
  product.nameLong
170
170
  ));
171
171
  const externalLinksStatement = !product.privacyStatementUrl ? ( localize(
172
- 2177,
172
+ 2251,
173
173
  "Read more about the [data we collect]({0}).",
174
174
  "https://aka.ms/vscode-telemetry"
175
175
  )) : ( localize(
176
- 2178,
176
+ 2252,
177
177
  "Read more about the [data we collect]({0}) and our [privacy statement]({1}).",
178
178
  "https://aka.ms/vscode-telemetry",
179
179
  product.privacyStatementUrl
180
180
  ));
181
181
  const restartString = !isWeb ? ( localize(
182
- 2179,
182
+ 2253,
183
183
  "A full restart of the application is necessary for crash reporting changes to take effect."
184
184
  )) : "";
185
- const crashReportsHeader = ( localize(2180, "Crash Reports"));
186
- const errorsHeader = ( localize(2181, "Error Telemetry"));
187
- const usageHeader = ( localize(2182, "Usage Data"));
188
- const telemetryTableDescription = ( localize(2183, "The following table outlines the data sent with each setting:"));
185
+ const crashReportsHeader = ( localize(2254, "Crash Reports"));
186
+ const errorsHeader = ( localize(2255, "Error Telemetry"));
187
+ const usageHeader = ( localize(2256, "Usage Data"));
188
+ const telemetryTableDescription = ( localize(2257, "The following table outlines the data sent with each setting:"));
189
189
  const telemetryTable = `
190
190
  | | ${crashReportsHeader} | ${errorsHeader} | ${usageHeader} |
191
191
  |:------|:-------------:|:---------------:|:----------:|
@@ -195,7 +195,7 @@ function getTelemetryLevelSettingDescription() {
195
195
  | off | - | - | - |
196
196
  `;
197
197
  const deprecatedSettingNote = ( localize(
198
- 2184,
198
+ 2258,
199
199
  "****Note:*** If this setting is 'off', no telemetry will be sent regardless of other telemetry settings. If this setting is set to anything except 'off' and telemetry is disabled with deprecated settings, no telemetry will be sent.*"
200
200
  ));
201
201
  const telemetryDescription = `
@@ -217,7 +217,7 @@ configurationRegistry.registerConfiguration({
217
217
  "id": TELEMETRY_SECTION_ID,
218
218
  "order": 1,
219
219
  "type": "object",
220
- "title": ( localize(2185, "Telemetry")),
220
+ "title": ( localize(2259, "Telemetry")),
221
221
  "properties": {
222
222
  [TELEMETRY_SETTING_ID]: {
223
223
  "type": "string",
@@ -227,7 +227,7 @@ configurationRegistry.registerConfiguration({
227
227
  TelemetryConfiguration.CRASH,
228
228
  TelemetryConfiguration.OFF
229
229
  ],
230
- "enumDescriptions": [( localize(2186, "Sends usage data, errors, and crash reports.")), ( localize(2187, "Sends general error telemetry and crash reports.")), ( localize(2188, "Sends OS level crash reports.")), ( localize(2189, "Disables all product telemetry."))],
230
+ "enumDescriptions": [( localize(2260, "Sends usage data, errors, and crash reports.")), ( localize(2261, "Sends general error telemetry and crash reports.")), ( localize(2262, "Sends OS level crash reports.")), ( localize(2263, "Disables all product telemetry."))],
231
231
  "markdownDescription": getTelemetryLevelSettingDescription(),
232
232
  "default": TelemetryConfiguration.ON,
233
233
  "restricted": true,
@@ -240,20 +240,20 @@ configurationRegistry.registerConfiguration({
240
240
  localization: {
241
241
  description: {
242
242
  key: "telemetry.telemetryLevel.policyDescription",
243
- value: ( localize(2190, "Controls the level of telemetry."))
243
+ value: ( localize(2264, "Controls the level of telemetry."))
244
244
  },
245
245
  enumDescriptions: [{
246
246
  key: "telemetry.telemetryLevel.default",
247
- value: ( localize(2186, "Sends usage data, errors, and crash reports."))
247
+ value: ( localize(2260, "Sends usage data, errors, and crash reports."))
248
248
  }, {
249
249
  key: "telemetry.telemetryLevel.error",
250
- value: ( localize(2187, "Sends general error telemetry and crash reports."))
250
+ value: ( localize(2261, "Sends general error telemetry and crash reports."))
251
251
  }, {
252
252
  key: "telemetry.telemetryLevel.crash",
253
- value: ( localize(2188, "Sends OS level crash reports."))
253
+ value: ( localize(2262, "Sends OS level crash reports."))
254
254
  }, {
255
255
  key: "telemetry.telemetryLevel.off",
256
- value: ( localize(2189, "Disables all product telemetry."))
256
+ value: ( localize(2263, "Disables all product telemetry."))
257
257
  }]
258
258
  }
259
259
  }
@@ -262,7 +262,7 @@ configurationRegistry.registerConfiguration({
262
262
  type: "boolean",
263
263
  default: true,
264
264
  description: ( localize(
265
- 2191,
265
+ 2265,
266
266
  "Enable feedback mechanisms such as the issue reporter, surveys, and other feedback options."
267
267
  )),
268
268
  policy: {
@@ -273,7 +273,7 @@ configurationRegistry.registerConfiguration({
273
273
  description: {
274
274
  key: "telemetry.feedback.enabled",
275
275
  value: ( localize(
276
- 2191,
276
+ 2265,
277
277
  "Enable feedback mechanisms such as the issue reporter, surveys, and other feedback options."
278
278
  ))
279
279
  }
@@ -283,11 +283,11 @@ configurationRegistry.registerConfiguration({
283
283
  [TELEMETRY_OLD_SETTING_ID]: {
284
284
  "type": "boolean",
285
285
  "markdownDescription": !product.privacyStatementUrl ? ( localize(
286
- 2192,
286
+ 2266,
287
287
  "Enable diagnostic data to be collected. This helps us to better understand how {0} is performing and where improvements need to be made.",
288
288
  product.nameLong
289
289
  )) : ( localize(
290
- 2193,
290
+ 2267,
291
291
  "Enable diagnostic data to be collected. This helps us to better understand how {0} is performing and where improvements need to be made. [Read more]({1}) about what we collect and our privacy statement.",
292
292
  product.nameLong,
293
293
  product.privacyStatementUrl
@@ -295,7 +295,7 @@ configurationRegistry.registerConfiguration({
295
295
  "default": true,
296
296
  "restricted": true,
297
297
  "markdownDeprecationMessage": ( localize(
298
- 2194,
298
+ 2268,
299
299
  "If this setting is false, no telemetry will be sent regardless of the new setting's value. Deprecated in favor of the {0} setting.",
300
300
  `\`#${TELEMETRY_SETTING_ID}#\``
301
301
  )),
@@ -82,7 +82,7 @@ function createAiStatsChart(options) {
82
82
  text.setAttribute("text-anchor", "middle");
83
83
  text.setAttribute("fill", asCssVariable(chartsForeground));
84
84
  text.setAttribute("font-size", "11px");
85
- text.textContent = ( localize(9596, "No data yet"));
85
+ text.textContent = ( localize(10214, "No data yet"));
86
86
  g.appendChild(text);
87
87
  return container;
88
88
  }
@@ -36,8 +36,8 @@ let AiStatsStatusBar = class AiStatsStatusBar extends Disposable {
36
36
  const statusBarItem = this._createStatusBar().keepUpdated(reader.store);
37
37
  const store = this._register(( new DisposableStore()));
38
38
  reader.store.add(this._statusbarService.addEntry({
39
- name: ( localize(9597, "Inline Suggestions")),
40
- ariaLabel: ( localize(9598, "Inline suggestions status bar")),
39
+ name: ( localize(10215, "Inline Suggestions")),
40
+ ariaLabel: ( localize(10216, "Inline suggestions status bar")),
41
41
  text: "",
42
42
  tooltip: {
43
43
  element: async _token => {
@@ -140,7 +140,7 @@ function createAiStatsHover(options) {
140
140
  style: {
141
141
  flex: 1
142
142
  }
143
- }, [( localize(9599, "AI Usage Statistics"))]), n.div({
143
+ }, [( localize(10217, "AI Usage Statistics"))]), n.div({
144
144
  style: {
145
145
  marginLeft: "auto"
146
146
  }
@@ -151,7 +151,7 @@ function createAiStatsHover(options) {
151
151
  enabled: true,
152
152
  run: options.onOpenSettings,
153
153
  class: ThemeIcon.asClassName(Codicon.gear),
154
- tooltip: ( localize(9600, "Configure"))
154
+ tooltip: ( localize(10218, "Configure"))
155
155
  },
156
156
  options: {
157
157
  icon: true,
@@ -167,13 +167,13 @@ function createAiStatsHover(options) {
167
167
  flex: 1,
168
168
  paddingRight: "4px"
169
169
  }
170
- }, [( localize(9601, "AI vs Typing Average: {0}", aiRatePercent.get()))])]), n.div({
170
+ }, [( localize(10219, "AI vs Typing Average: {0}", aiRatePercent.get()))])]), n.div({
171
171
  style: {
172
172
  flex: 1,
173
173
  paddingRight: "4px"
174
174
  }
175
175
  }, [( localize(
176
- 9602,
176
+ 10220,
177
177
  "Accepted inline suggestions today: {0}",
178
178
  options.data.acceptedInlineSuggestionsToday.get()
179
179
  ))]),
@@ -195,14 +195,14 @@ function createAiStatsHover(options) {
195
195
  style: {
196
196
  flex: 1
197
197
  }
198
- }, [( chartViewMode.map(mode => mode === "days" ? ( localize(9603, "AI Rate by Day")) : ( localize(9604, "AI Rate by Session"))))]), n.div({
198
+ }, [( chartViewMode.map(mode => mode === "days" ? ( localize(10221, "AI Rate by Day")) : ( localize(10222, "AI Rate by Session"))))]), n.div({
199
199
  class: "chart-view-toggle",
200
200
  style: {
201
201
  marginLeft: "auto",
202
202
  display: "flex",
203
203
  gap: "2px"
204
204
  }
205
- }, [createToggleButton("days", ( localize(9605, "Days")), Codicon.calendar), createToggleButton("sessions", ( localize(9606, "Sessions")), Codicon.listFlat)])]),
205
+ }, [createToggleButton("days", ( localize(10223, "Days")), Codicon.calendar), createToggleButton("sessions", ( localize(10224, "Sessions")), Codicon.listFlat)])]),
206
206
  derived(reader => {
207
207
  const sessions = options.data.sessions.read(reader);
208
208
  const viewMode = chartViewMode.read(reader);
@@ -20,12 +20,12 @@ const configurationRegistry = ( Registry.as(Extensions.Configuration));
20
20
  configurationRegistry.registerConfiguration({
21
21
  id: "task",
22
22
  order: 100,
23
- title: ( localize(9607, "Edit Telemetry")),
23
+ title: ( localize(10225, "Edit Telemetry")),
24
24
  type: "object",
25
25
  properties: {
26
26
  [EDIT_TELEMETRY_SETTING_ID]: {
27
27
  markdownDescription: ( localize(
28
- 9608,
28
+ 10226,
29
29
  "Controls whether to enable telemetry for edit statistics (only sends statistics if general telemetry is enabled)."
30
30
  )),
31
31
  type: "boolean",
@@ -37,7 +37,7 @@ configurationRegistry.registerConfiguration({
37
37
  },
38
38
  [AI_STATS_SETTING_ID]: {
39
39
  markdownDescription: ( localize(
40
- 9609,
40
+ 10227,
41
41
  "Controls whether to enable AI statistics in the editor. The gauge shows the average AI rate across 5-minute sessions, where each session's rate is calculated as AI-inserted characters divided by total inserted characters."
42
42
  )),
43
43
  type: "boolean",
@@ -49,7 +49,7 @@ configurationRegistry.registerConfiguration({
49
49
  },
50
50
  [EDIT_TELEMETRY_DETAILS_SETTING_ID]: {
51
51
  markdownDescription: ( localize(
52
- 9610,
52
+ 10228,
53
53
  "Controls whether to enable telemetry for detailed edit statistics (only sends statistics if general telemetry is enabled)."
54
54
  )),
55
55
  type: "boolean",
@@ -60,13 +60,13 @@ configurationRegistry.registerConfiguration({
60
60
  }
61
61
  },
62
62
  [EDIT_TELEMETRY_SHOW_STATUS_BAR]: {
63
- markdownDescription: ( localize(9611, "Controls whether to show the status bar for edit telemetry.")),
63
+ markdownDescription: ( localize(10229, "Controls whether to show the status bar for edit telemetry.")),
64
64
  type: "boolean",
65
65
  default: false,
66
66
  tags: ["experimental"]
67
67
  },
68
68
  [EDIT_TELEMETRY_SHOW_DECORATIONS]: {
69
- markdownDescription: ( localize(9612, "Controls whether to show decorations for edit telemetry.")),
69
+ markdownDescription: ( localize(10230, "Controls whether to show decorations for edit telemetry.")),
70
70
  type: "boolean",
71
71
  default: false,
72
72
  tags: ["experimental"]
@@ -176,7 +176,7 @@ let TelemetryContribution = class TelemetryContribution extends Disposable {
176
176
  constructor() {
177
177
  super({
178
178
  id: "workbench.action.showTelemetry",
179
- title: ( localize2(14095, "Show Telemetry")),
179
+ title: ( localize2(14739, "Show Telemetry")),
180
180
  category: Categories.Developer,
181
181
  f1: true
182
182
  });