@codingame/monaco-vscode-update-service-override 34.1.3 → 35.0.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-update-service-override",
3
- "version": "34.1.3",
3
+ "version": "35.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - update 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.0"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -61,7 +61,15 @@ export declare enum Filters {
61
61
  /**
62
62
  * The release/build date of VS Code (UTC) in the format yyyymmddHH.
63
63
  */
64
- ReleaseDate = "X-VSCode-ReleaseDate"
64
+ ReleaseDate = "X-VSCode-ReleaseDate",
65
+ /**
66
+ * The kind of window VS Code is running in (`editor` or `agents`).
67
+ */
68
+ WindowKind = "X-VSCode-WindowKind"
69
+ }
70
+ export declare enum WindowKind {
71
+ Editor = "editor",
72
+ Agents = "agents"
65
73
  }
66
74
  export declare class AssignmentFilterProvider implements IExperimentationFilterProvider {
67
75
  private version;
@@ -70,7 +78,8 @@ export declare class AssignmentFilterProvider implements IExperimentationFilterP
70
78
  private devDeviceId;
71
79
  private targetPopulation;
72
80
  private releaseDate;
73
- constructor(version: string, appName: string, machineId: string, devDeviceId: string, targetPopulation: TargetPopulation, releaseDate: string);
81
+ private windowKind;
82
+ constructor(version: string, appName: string, machineId: string, devDeviceId: string, targetPopulation: TargetPopulation, releaseDate: string, windowKind: WindowKind);
74
83
  /**
75
84
  * Returns a version string that can be parsed by the TAS client.
76
85
  * The tas client cannot handle suffixes lke "-insider"
@@ -21,7 +21,13 @@ var Filters;
21
21
  Filters["TargetPopulation"] = "X-VSCode-TargetPopulation";
22
22
  Filters["Platform"] = "X-VSCode-Platform";
23
23
  Filters["ReleaseDate"] = "X-VSCode-ReleaseDate";
24
+ Filters["WindowKind"] = "X-VSCode-WindowKind";
24
25
  })(Filters || (Filters = {}));
26
+ var WindowKind;
27
+ (function(WindowKind) {
28
+ WindowKind["Editor"] = "editor";
29
+ WindowKind["Agents"] = "agents";
30
+ })(WindowKind || (WindowKind = {}));
25
31
  function getInternalOrg(organisations) {
26
32
  const isVSCodeInternal = organisations?.includes("Visual-Studio-Code");
27
33
  const isGitHubInternal = organisations?.includes("github");
@@ -29,4 +35,4 @@ function getInternalOrg(organisations) {
29
35
  return isVSCodeInternal ? "vscode" : isGitHubInternal ? "github" : isMicrosoftInternal ? "microsoft" : undefined;
30
36
  }
31
37
 
32
- export { Filters, TargetPopulation, getInternalOrg };
38
+ export { Filters, TargetPopulation, WindowKind, getInternalOrg };
@@ -9,7 +9,7 @@ const configurationRegistry = ( Registry.as(Extensions.Configuration));
9
9
  configurationRegistry.registerConfiguration({
10
10
  id: "update",
11
11
  order: 15,
12
- title: ( localize(2577, "Update")),
12
+ title: ( localize(2651, "Update")),
13
13
  type: "object",
14
14
  properties: {
15
15
  "update.mode": {
@@ -18,18 +18,18 @@ configurationRegistry.registerConfiguration({
18
18
  default: "default",
19
19
  scope: ConfigurationScope.APPLICATION,
20
20
  description: ( localize(
21
- 2578,
22
- "Configure whether you receive automatic updates. Requires a restart after change. The updates are fetched from a Microsoft online service."
21
+ 2652,
22
+ "Configure whether you receive automatic updates. The updates are fetched from a Microsoft online service."
23
23
  )),
24
24
  tags: ["usesOnlineServices"],
25
- enumDescriptions: [( localize(2579, "Disable updates.")), ( localize(
26
- 2580,
25
+ enumDescriptions: [( localize(2653, "Disable updates.")), ( localize(
26
+ 2654,
27
27
  "Disable automatic background update checks. Updates will be available if you manually check for updates."
28
28
  )), ( localize(
29
- 2581,
29
+ 2655,
30
30
  "Check for updates only on startup. Disable automatic background update checks."
31
31
  )), ( localize(
32
- 2582,
32
+ 2656,
33
33
  "Enable automatic update checks. Code will check for updates automatically and periodically."
34
34
  ))],
35
35
  policy: {
@@ -40,29 +40,29 @@ configurationRegistry.registerConfiguration({
40
40
  description: {
41
41
  key: "updateMode",
42
42
  value: ( localize(
43
- 2578,
44
- "Configure whether you receive automatic updates. Requires a restart after change. The updates are fetched from a Microsoft online service."
43
+ 2652,
44
+ "Configure whether you receive automatic updates. The updates are fetched from a Microsoft online service."
45
45
  ))
46
46
  },
47
47
  enumDescriptions: [{
48
48
  key: "none",
49
- value: ( localize(2579, "Disable updates."))
49
+ value: ( localize(2653, "Disable updates."))
50
50
  }, {
51
51
  key: "manual",
52
52
  value: ( localize(
53
- 2580,
53
+ 2654,
54
54
  "Disable automatic background update checks. Updates will be available if you manually check for updates."
55
55
  ))
56
56
  }, {
57
57
  key: "start",
58
58
  value: ( localize(
59
- 2581,
59
+ 2655,
60
60
  "Check for updates only on startup. Disable automatic background update checks."
61
61
  ))
62
62
  }, {
63
63
  key: "default",
64
64
  value: ( localize(
65
- 2582,
65
+ 2656,
66
66
  "Enable automatic update checks. Code will check for updates automatically and periodically."
67
67
  ))
68
68
  }]
@@ -74,11 +74,11 @@ configurationRegistry.registerConfiguration({
74
74
  default: "default",
75
75
  scope: ConfigurationScope.APPLICATION,
76
76
  description: ( localize(
77
- 2578,
78
- "Configure whether you receive automatic updates. Requires a restart after change. The updates are fetched from a Microsoft online service."
77
+ 2652,
78
+ "Configure whether you receive automatic updates. The updates are fetched from a Microsoft online service."
79
79
  )),
80
80
  deprecationMessage: ( localize(
81
- 2583,
81
+ 2657,
82
82
  "This setting is deprecated, please use '{0}' instead.",
83
83
  "update.mode"
84
84
  ))
@@ -87,9 +87,9 @@ configurationRegistry.registerConfiguration({
87
87
  type: "boolean",
88
88
  default: true,
89
89
  scope: ConfigurationScope.APPLICATION,
90
- title: ( localize(2584, "Enable Background Updates")),
90
+ title: ( localize(2658, "Enable Background Updates")),
91
91
  description: ( localize(
92
- 2585,
92
+ 2659,
93
93
  "Enable to download and install new VS Code versions in the background."
94
94
  )),
95
95
  included: isWindows && !isWeb
@@ -99,7 +99,7 @@ configurationRegistry.registerConfiguration({
99
99
  default: true,
100
100
  scope: ConfigurationScope.APPLICATION,
101
101
  description: ( localize(
102
- 2586,
102
+ 2660,
103
103
  "Show Release Notes after an update. The Release Notes are fetched from a Microsoft online service."
104
104
  )),
105
105
  tags: ["usesOnlineServices"],
@@ -111,9 +111,12 @@ configurationRegistry.registerConfiguration({
111
111
  "update.showPostInstallInfo": {
112
112
  type: "boolean",
113
113
  default: false,
114
+ experiment: {
115
+ mode: "auto"
116
+ },
114
117
  scope: ConfigurationScope.APPLICATION,
115
118
  description: ( localize(
116
- 2587,
119
+ 2661,
117
120
  "Show a post-install update tooltip in the title bar instead of opening the release notes editor."
118
121
  )),
119
122
  tags: ["usesOnlineServices"]
@@ -122,7 +125,7 @@ configurationRegistry.registerConfiguration({
122
125
  type: "boolean",
123
126
  default: true,
124
127
  scope: ConfigurationScope.APPLICATION,
125
- description: ( localize(2588, "Show the update indicator in the title bar.")),
128
+ description: ( localize(2662, "Show the update indicator in the title bar.")),
126
129
  included: !isWeb
127
130
  }
128
131
  }
@@ -123,11 +123,11 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
123
123
  }
124
124
  viewInSettingsMessage(settingId, alreadyDisplayed) {
125
125
  if (alreadyDisplayed) {
126
- return localize(10987, "View in Settings");
126
+ return localize(11603, "View in Settings");
127
127
  } else {
128
128
  const displayName = settingKeyToDisplayFormat(settingId);
129
129
  return localize(
130
- 10988,
130
+ 11604,
131
131
  "View \"{0}: {1}\" in Settings",
132
132
  displayName.category,
133
133
  displayName.label
@@ -137,7 +137,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
137
137
  restorePreviousSettingMessage(settingId) {
138
138
  const displayName = settingKeyToDisplayFormat(settingId);
139
139
  return localize(
140
- 10989,
140
+ 11605,
141
141
  "Restore value of \"{0}: {1}\"",
142
142
  displayName.category,
143
143
  displayName.label
@@ -152,14 +152,14 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
152
152
  if (this.isAlreadySet(setting, booleanValue)) {
153
153
  if (booleanValue) {
154
154
  return localize(
155
- 10990,
155
+ 11606,
156
156
  "\"{0}: {1}\" is already enabled",
157
157
  displayName.category,
158
158
  displayName.label
159
159
  );
160
160
  } else {
161
161
  return localize(
162
- 10991,
162
+ 11607,
163
163
  "\"{0}: {1}\" is already disabled",
164
164
  displayName.category,
165
165
  displayName.label
@@ -167,16 +167,16 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
167
167
  }
168
168
  }
169
169
  if (booleanValue) {
170
- return localize(10992, "Enable \"{0}: {1}\"", displayName.category, displayName.label);
170
+ return localize(11608, "Enable \"{0}: {1}\"", displayName.category, displayName.label);
171
171
  } else {
172
- return localize(10993, "Disable \"{0}: {1}\"", displayName.category, displayName.label);
172
+ return localize(11609, "Disable \"{0}: {1}\"", displayName.category, displayName.label);
173
173
  }
174
174
  }
175
175
  stringSettingMessage(setting, stringValue) {
176
176
  const displayName = settingKeyToDisplayFormat(setting.key);
177
177
  if (this.isAlreadySet(setting, stringValue)) {
178
178
  return localize(
179
- 10994,
179
+ 11610,
180
180
  "\"{0}: {1}\" is already set to \"{2}\"",
181
181
  displayName.category,
182
182
  displayName.label,
@@ -184,7 +184,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
184
184
  );
185
185
  }
186
186
  return localize(
187
- 10995,
187
+ 11611,
188
188
  "Set \"{0}: {1}\" to \"{2}\"",
189
189
  displayName.category,
190
190
  displayName.label,
@@ -195,7 +195,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
195
195
  const displayName = settingKeyToDisplayFormat(setting.key);
196
196
  if (this.isAlreadySet(setting, numberValue)) {
197
197
  return localize(
198
- 10996,
198
+ 11612,
199
199
  "\"{0}: {1}\" is already set to {2}",
200
200
  displayName.category,
201
201
  displayName.label,
@@ -203,7 +203,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
203
203
  );
204
204
  }
205
205
  return localize(
206
- 10997,
206
+ 11613,
207
207
  "Set \"{0}: {1}\" to {2}",
208
208
  displayName.category,
209
209
  displayName.label,
@@ -212,7 +212,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
212
212
  }
213
213
  renderSetting(setting, newValue) {
214
214
  const href = this.settingToUriString(setting.key, newValue);
215
- const title = ( localize(10998, "View or change setting"));
215
+ const title = ( localize(11614, "View or change setting"));
216
216
  return `<code tabindex="0"><a href="${href}" class="codesetting" title="${title}" aria-role="button"><svg width="14" height="14" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M9.1 4.4L8.6 2H7.4l-.5 2.4-.7.3-2-1.3-.9.8 1.3 2-.2.7-2.4.5v1.2l2.4.5.3.8-1.3 2 .8.8 2-1.3.8.3.4 2.3h1.2l.5-2.4.8-.3 2 1.3.8-.8-1.3-2 .3-.8 2.3-.4V7.4l-2.4-.5-.3-.8 1.3-2-.8-.8-2 1.3-.7-.2zM9.4 1l.5 2.4L12 2.1l2 2-1.4 2.1 2.4.4v2.8l-2.4.5L14 12l-2 2-2.1-1.4-.5 2.4H6.6l-.5-2.4L4 13.9l-2-2 1.4-2.1L1 9.4V6.6l2.4-.5L2.1 4l2-2 2.1 1.4.4-2.4h2.8zm.6 7c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zM8 9c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z"/></svg>
217
217
  <span class="separator"></span>
218
218
  <span class="setting-name">${setting.key}</span>
@@ -290,8 +290,8 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
290
290
  class: undefined,
291
291
  enabled: true,
292
292
  id: "copySettingId",
293
- tooltip: ( localize(10999, "Copy Setting ID")),
294
- label: ( localize(10999, "Copy Setting ID")),
293
+ tooltip: ( localize(11615, "Copy Setting ID")),
294
+ label: ( localize(11615, "Copy Setting ID")),
295
295
  run: () => {
296
296
  this._clipboardService.writeText(settingId);
297
297
  }
@@ -137,7 +137,7 @@ let PostUpdateWidgetContribution = class PostUpdateWidgetContribution extends Di
137
137
  info = {
138
138
  ...info,
139
139
  buttons: [{
140
- label: ( localize(15630, "Release Notes")),
140
+ label: ( localize(16289, "Release Notes")),
141
141
  commandId: ShowCurrentReleaseNotesActionId,
142
142
  args: [this.productService.version],
143
143
  style: "secondary"
@@ -166,7 +166,7 @@ let PostUpdateWidgetContribution = class PostUpdateWidgetContribution extends Di
166
166
  banner.style.setProperty("background-image", `url(${JSON.stringify(safeBannerUrl)})`);
167
167
  }
168
168
  const closeButton = append(container, $("button.banner-close"));
169
- closeButton.setAttribute("aria-label", ( localize(15631, "Close")));
169
+ closeButton.setAttribute("aria-label", ( localize(16290, "Close")));
170
170
  const closeIcon = append(closeButton, $(ThemeIcon.asCSSSelector(Codicon.close)));
171
171
  closeIcon.setAttribute("aria-hidden", "true");
172
172
  disposables.add(addDisposableListener(closeButton, "click", () => {
@@ -179,7 +179,7 @@ let PostUpdateWidgetContribution = class PostUpdateWidgetContribution extends Di
179
179
  }
180
180
  const titleEl = append(body, $(".title"));
181
181
  titleEl.id = titleId;
182
- titleEl.textContent = title ?? ( localize(15632, "New in {0}", this.productService.version));
182
+ titleEl.textContent = title ?? ( localize(16291, "New in {0}", this.productService.version));
183
183
  if (features?.length) {
184
184
  const list = append(body, $(".features"));
185
185
  list.setAttribute("role", "list");
@@ -104,7 +104,7 @@ let ReleaseNotesManager = class ReleaseNotesManager extends Disposable {
104
104
  base
105
105
  };
106
106
  const html = await this.renderBody(this._lastMeta);
107
- const title = ( localize(15633, "Release Notes: {0}", version));
107
+ const title = ( localize(16292, "Release Notes: {0}", version));
108
108
  const activeEditorPane = this._editorService.activeEditorPane;
109
109
  if (this._currentReleaseNotes) {
110
110
  this._currentReleaseNotes.setWebviewTitle(title);
@@ -160,7 +160,7 @@ let ReleaseNotesManager = class ReleaseNotesManager extends Disposable {
160
160
  const versionLabel = match[1].replace(/\./g, "_");
161
161
  const baseUrl = "https://code.visualstudio.com/raw";
162
162
  const url = `${baseUrl}/v${versionLabel}.md`;
163
- const unassigned = ( localize(15634, "unassigned"));
163
+ const unassigned = ( localize(16293, "unassigned"));
164
164
  const escapeMdHtml = text => {
165
165
  return escape(text).replace(/\\/g, "\\\\");
166
166
  };
@@ -542,7 +542,7 @@ let ReleaseNotesManager = class ReleaseNotesManager extends Disposable {
542
542
 
543
543
  const label = document.createElement('label');
544
544
  label.htmlFor = 'showReleaseNotes';
545
- label.textContent = '${( localize(15635, "Show release notes after an update"))}';
545
+ label.textContent = '${( localize(16294, "Show release notes after an update"))}';
546
546
  container.appendChild(label);
547
547
 
548
548
  const beforeElement = document.querySelector("body > h1")?.nextElementSibling;
@@ -39,8 +39,8 @@ class ShowReleaseNotesAction extends Action2 {
39
39
  super({
40
40
  id: ShowCurrentReleaseNotesActionId,
41
41
  title: {
42
- ...( localize2(15636, "Show Release Notes")),
43
- mnemonicTitle: ( localize(15637, "Show &&Release Notes"))
42
+ ...( localize2(16295, "Show Release Notes")),
43
+ mnemonicTitle: ( localize(16296, "Show &&Release Notes"))
44
44
  },
45
45
  category: {
46
46
  value: product.nameShort,
@@ -66,7 +66,7 @@ class ShowReleaseNotesAction extends Action2 {
66
66
  await openerService.open(( URI.parse(productService.releaseNotesUrl)));
67
67
  } else {
68
68
  throw ( new Error(( localize(
69
- 15638,
69
+ 16297,
70
70
  "This version of {0} does not have release notes online",
71
71
  productService.nameLong
72
72
  ))));
@@ -79,10 +79,10 @@ class ShowCurrentReleaseNotesFromCurrentFileAction extends Action2 {
79
79
  super({
80
80
  id: ShowCurrentReleaseNotesFromCurrentFileActionId,
81
81
  title: {
82
- ...( localize2(15639, "Open Current File as Release Notes")),
83
- mnemonicTitle: ( localize(15637, "Show &&Release Notes"))
82
+ ...( localize2(16298, "Open Current File as Release Notes")),
83
+ mnemonicTitle: ( localize(16296, "Show &&Release Notes"))
84
84
  },
85
- category: ( localize2(15640, "Developer")),
85
+ category: ( localize2(16299, "Developer")),
86
86
  f1: true
87
87
  });
88
88
  }
@@ -92,7 +92,7 @@ class ShowCurrentReleaseNotesFromCurrentFileAction extends Action2 {
92
92
  try {
93
93
  await showReleaseNotesInEditor(instantiationService, productService.version, true);
94
94
  } catch (err) {
95
- throw ( new Error(( localize(15641, "Cannot open the current file as Release Notes"))));
95
+ throw ( new Error(( localize(16300, "Cannot open the current file as Release Notes"))));
96
96
  }
97
97
  }
98
98
  }
@@ -104,7 +104,7 @@ class CheckForUpdateAction extends Action2 {
104
104
  constructor() {
105
105
  super({
106
106
  id: "update.checkForUpdate",
107
- title: ( localize2(15642, "Check for Updates...")),
107
+ title: ( localize2(16301, "Check for Updates...")),
108
108
  category: {
109
109
  value: product.nameShort,
110
110
  original: product.nameShort
@@ -122,7 +122,7 @@ class DownloadUpdateAction extends Action2 {
122
122
  constructor() {
123
123
  super({
124
124
  id: "update.downloadUpdate",
125
- title: ( localize2(15643, "Download Update")),
125
+ title: ( localize2(16302, "Download Update")),
126
126
  category: {
127
127
  value: product.nameShort,
128
128
  original: product.nameShort
@@ -139,7 +139,7 @@ class InstallUpdateAction extends Action2 {
139
139
  constructor() {
140
140
  super({
141
141
  id: "update.installUpdate",
142
- title: ( localize2(15644, "Install Update")),
142
+ title: ( localize2(16303, "Install Update")),
143
143
  category: {
144
144
  value: product.nameShort,
145
145
  original: product.nameShort
@@ -156,7 +156,7 @@ class RestartToUpdateAction extends Action2 {
156
156
  constructor() {
157
157
  super({
158
158
  id: "update.restartToUpdate",
159
- title: ( localize2(15645, "Restart to Update")),
159
+ title: ( localize2(16304, "Restart to Update")),
160
160
  category: {
161
161
  value: product.nameShort,
162
162
  original: product.nameShort
@@ -179,7 +179,7 @@ class DownloadAction extends Action2 {
179
179
  constructor() {
180
180
  super({
181
181
  id: DownloadAction.ID,
182
- title: ( localize2(15646, "Download {0}", product.nameLong)),
182
+ title: ( localize2(16305, "Download {0}", product.nameLong)),
183
183
  precondition: IsWebContext,
184
184
  f1: true,
185
185
  menu: [{
@@ -208,7 +208,7 @@ if (isWindows) {
208
208
  constructor() {
209
209
  super({
210
210
  id: "_update.applyupdate",
211
- title: ( localize2(15647, "Apply Update...")),
211
+ title: ( localize2(16306, "Apply Update from File...")),
212
212
  category: Categories.Developer,
213
213
  f1: true,
214
214
  precondition: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Idle))
@@ -218,13 +218,13 @@ if (isWindows) {
218
218
  const updateService = accessor.get(IUpdateService);
219
219
  const fileDialogService = accessor.get(IFileDialogService);
220
220
  const updatePath = await fileDialogService.showOpenDialog({
221
- title: ( localize(15648, "Apply Update")),
221
+ title: ( localize(16307, "Apply Update from File")),
222
222
  filters: [{
223
223
  name: "Setup",
224
224
  extensions: ["exe"]
225
225
  }],
226
226
  canSelectFiles: true,
227
- openLabel: mnemonicButtonLabel(( localize(15649, "&&Update")))
227
+ openLabel: mnemonicButtonLabel(( localize(16308, "&&Update")))
228
228
  });
229
229
  if (!updatePath || !updatePath[0]) {
230
230
  return;
@@ -238,7 +238,7 @@ registerAction2(class ShowUpdateInfoAction extends Action2 {
238
238
  constructor() {
239
239
  super({
240
240
  id: "update.showUpdateInfo",
241
- title: ( localize2(15650, "Show Update Info")),
241
+ title: ( localize2(16309, "Show Update Info")),
242
242
  category: Categories.Developer,
243
243
  f1: true,
244
244
  precondition: ( IsWebContext.negate())
@@ -249,7 +249,7 @@ registerAction2(class ShowUpdateInfoAction extends Action2 {
249
249
  const quickInputService = accessor.get(IQuickInputService);
250
250
  const markdown = await quickInputService.input({
251
251
  prompt: ( localize(
252
- 15651,
252
+ 16310,
253
253
  "Enter markdown to render, or JSON with markdown/buttons (leave empty to load from URL)"
254
254
  ))
255
255
  });
@@ -6,6 +6,7 @@ import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/w
6
6
  import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
7
7
  import { IUpdateService } from "@codingame/monaco-vscode-api/vscode/vs/platform/update/common/update.service";
8
8
  import { INotificationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service";
9
+ import { IDialogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service";
9
10
  import { IBrowserWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/browser/environmentService.service";
10
11
  import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
11
12
  import { RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
@@ -30,14 +31,16 @@ export declare class ProductContribution implements IWorkbenchContribution {
30
31
  }
31
32
  export declare class UpdateContribution extends Disposable implements IWorkbenchContribution {
32
33
  private readonly instantiationService;
34
+ private readonly dialogService;
33
35
  private readonly updateService;
34
36
  private readonly activityService;
35
37
  private readonly productService;
38
+ private readonly hostService;
36
39
  private state;
37
40
  private readonly badgeDisposable;
38
41
  private updateStateContextKey;
39
42
  private majorMinorUpdateAvailableContextKey;
40
- constructor(storageService: IStorageService, instantiationService: IInstantiationService, updateService: IUpdateService, activityService: IActivityService, contextKeyService: IContextKeyService, productService: IProductService);
43
+ constructor(storageService: IStorageService, instantiationService: IInstantiationService, dialogService: IDialogService, updateService: IUpdateService, activityService: IActivityService, contextKeyService: IContextKeyService, productService: IProductService, hostService: IHostService);
41
44
  private onUpdateStateChange;
42
45
  private registerGlobalActivityActions;
43
46
  }