@codingame/monaco-vscode-task-service-override 31.0.1 → 32.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.
@@ -32,25 +32,25 @@ const shellCommand = {
32
32
  type: "boolean",
33
33
  default: true,
34
34
  description: ( localize(
35
- 13275,
35
+ 13564,
36
36
  "Specifies whether the command is a shell command or an external program. Defaults to false if omitted."
37
37
  ))
38
38
  }, {
39
39
  $ref: "#/definitions/shellConfiguration"
40
40
  }],
41
41
  deprecationMessage: ( localize(
42
- 13276,
42
+ 13565,
43
43
  "The property isShellCommand is deprecated. Use the type property of the task and the shell property in the options instead. See also the 1.14 release notes."
44
44
  ))
45
45
  };
46
46
  const hide = {
47
47
  type: "boolean",
48
- description: ( localize(13277, "Hide this task from the run task quick pick")),
48
+ description: ( localize(13566, "Hide this task from the run task quick pick")),
49
49
  default: true
50
50
  };
51
51
  const inAgents = {
52
52
  type: "boolean",
53
- description: ( localize(13278, "Show this task in the Agents run action dropdown")),
53
+ description: ( localize(13567, "Show this task in the Agents run action dropdown")),
54
54
  default: false
55
55
  };
56
56
  const taskIdentifier = {
@@ -59,17 +59,17 @@ const taskIdentifier = {
59
59
  properties: {
60
60
  type: {
61
61
  type: "string",
62
- description: ( localize(13279, "The task identifier."))
62
+ description: ( localize(13568, "The task identifier."))
63
63
  }
64
64
  }
65
65
  };
66
66
  const dependsOn = {
67
67
  anyOf: [{
68
68
  type: "string",
69
- description: ( localize(13280, "Another task this task depends on."))
69
+ description: ( localize(13569, "Another task this task depends on."))
70
70
  }, taskIdentifier, {
71
71
  type: "array",
72
- description: ( localize(13281, "The other tasks this task depends on.")),
72
+ description: ( localize(13570, "The other tasks this task depends on.")),
73
73
  items: {
74
74
  anyOf: [{
75
75
  type: "string"
@@ -77,39 +77,39 @@ const dependsOn = {
77
77
  }
78
78
  }],
79
79
  description: ( localize(
80
- 13282,
80
+ 13571,
81
81
  "Either a string representing another task or an array of other tasks that this task depends on."
82
82
  ))
83
83
  };
84
84
  const dependsOrder = {
85
85
  type: "string",
86
86
  enum: ["parallel", "sequence"],
87
- enumDescriptions: [( localize(13283, "Run all dependsOn tasks in parallel.")), ( localize(13284, "Run all dependsOn tasks in sequence."))],
87
+ enumDescriptions: [( localize(13572, "Run all dependsOn tasks in parallel.")), ( localize(13573, "Run all dependsOn tasks in sequence."))],
88
88
  default: "parallel",
89
89
  description: ( localize(
90
- 13285,
90
+ 13574,
91
91
  "Determines the order of the dependsOn tasks for this task. Note that this property is not recursive."
92
92
  ))
93
93
  };
94
94
  const detail = {
95
95
  type: "string",
96
96
  description: ( localize(
97
- 13286,
97
+ 13575,
98
98
  "An optional description of a task that shows in the Run Task quick pick as a detail."
99
99
  ))
100
100
  };
101
101
  const icon = {
102
102
  type: "object",
103
- description: ( localize(13287, "An optional icon for the task")),
103
+ description: ( localize(13576, "An optional icon for the task")),
104
104
  properties: {
105
105
  id: {
106
- description: ( localize(13288, "An optional codicon ID to use")),
106
+ description: ( localize(13577, "An optional codicon ID to use")),
107
107
  type: ["string", "null"],
108
108
  enum: Array.from(getAllCodicons(), icon => icon.id),
109
109
  markdownEnumDescriptions: Array.from(getAllCodicons(), icon => `$(${icon.id})`)
110
110
  },
111
111
  color: {
112
- description: ( localize(13289, "An optional color of the icon")),
112
+ description: ( localize(13578, "An optional color of the icon")),
113
113
  type: ["string", "null"],
114
114
  enum: [
115
115
  "terminal.ansiBlack",
@@ -135,7 +135,7 @@ const presentation = {
135
135
  clear: false
136
136
  },
137
137
  description: ( localize(
138
- 13290,
138
+ 13579,
139
139
  "Configures the panel that is used to present the task's output and reads its input."
140
140
  )),
141
141
  additionalProperties: false,
@@ -144,7 +144,7 @@ const presentation = {
144
144
  type: "boolean",
145
145
  default: true,
146
146
  description: ( localize(
147
- 13291,
147
+ 13580,
148
148
  "Controls whether the executed command is echoed to the panel. Default is true."
149
149
  ))
150
150
  },
@@ -152,30 +152,30 @@ const presentation = {
152
152
  type: "boolean",
153
153
  default: false,
154
154
  description: ( localize(
155
- 13292,
155
+ 13581,
156
156
  "Controls whether the panel takes focus. Default is false. If set to true the panel is revealed as well."
157
157
  ))
158
158
  },
159
159
  revealProblems: {
160
160
  type: "string",
161
161
  enum: ["always", "onProblem", "never"],
162
- enumDescriptions: [( localize(13293, "Always reveals the problems panel when this task is executed.")), ( localize(13294, "Only reveals the problems panel if a problem is found.")), ( localize(13295, "Never reveals the problems panel when this task is executed."))],
162
+ enumDescriptions: [( localize(13582, "Always reveals the problems panel when this task is executed.")), ( localize(13583, "Only reveals the problems panel if a problem is found.")), ( localize(13584, "Never reveals the problems panel when this task is executed."))],
163
163
  default: "never",
164
164
  description: ( localize(
165
- 13296,
165
+ 13585,
166
166
  "Controls whether the problems panel is revealed when running this task or not. Takes precedence over option \"reveal\". Default is \"never\"."
167
167
  ))
168
168
  },
169
169
  reveal: {
170
170
  type: "string",
171
171
  enum: ["always", "silent", "never"],
172
- enumDescriptions: [( localize(13297, "Always reveals the terminal when this task is executed.")), ( localize(
173
- 13298,
172
+ enumDescriptions: [( localize(13586, "Always reveals the terminal when this task is executed.")), ( localize(
173
+ 13587,
174
174
  "Only reveals the terminal if the task exits with an error or the problem matcher finds an error."
175
- )), ( localize(13299, "Never reveals the terminal when this task is executed."))],
175
+ )), ( localize(13588, "Never reveals the terminal when this task is executed."))],
176
176
  default: "always",
177
177
  description: ( localize(
178
- 13300,
178
+ 13589,
179
179
  "Controls whether the terminal running the task is revealed or not. May be overridden by option \"revealProblems\". Default is \"always\"."
180
180
  ))
181
181
  },
@@ -184,7 +184,7 @@ const presentation = {
184
184
  enum: ["shared", "dedicated", "new"],
185
185
  default: "shared",
186
186
  description: ( localize(
187
- 13301,
187
+ 13590,
188
188
  "Controls if the panel is shared between tasks, dedicated to this task or a new one is created on every run."
189
189
  ))
190
190
  },
@@ -192,7 +192,7 @@ const presentation = {
192
192
  type: "boolean",
193
193
  default: true,
194
194
  description: ( localize(
195
- 13302,
195
+ 13591,
196
196
  "Controls whether to show the `Terminal will be reused by tasks, press any key to close it` message."
197
197
  ))
198
198
  },
@@ -200,21 +200,21 @@ const presentation = {
200
200
  type: "boolean",
201
201
  default: false,
202
202
  description: ( localize(
203
- 13303,
203
+ 13592,
204
204
  "Controls whether the terminal is cleared before executing the task."
205
205
  ))
206
206
  },
207
207
  group: {
208
208
  type: "string",
209
209
  description: ( localize(
210
- 13304,
210
+ 13593,
211
211
  "Controls whether the task is executed in a specific terminal group using split panes."
212
212
  ))
213
213
  },
214
214
  close: {
215
215
  type: "boolean",
216
216
  description: ( localize(
217
- 13305,
217
+ 13594,
218
218
  "Controls whether the terminal the task runs in is closed when the task exits."
219
219
  ))
220
220
  },
@@ -222,25 +222,25 @@ const presentation = {
222
222
  type: "boolean",
223
223
  default: false,
224
224
  description: ( localize(
225
- 13306,
225
+ 13595,
226
226
  "Controls whether to preserve the task name in the terminal after task completion."
227
227
  ))
228
228
  }
229
229
  }
230
230
  };
231
231
  const terminal = deepClone(presentation);
232
- terminal.deprecationMessage = ( localize(13307, "The terminal property is deprecated. Use presentation instead"));
232
+ terminal.deprecationMessage = ( localize(13596, "The terminal property is deprecated. Use presentation instead"));
233
233
  const groupStrings = {
234
234
  type: "string",
235
235
  enum: ["build", "test", "none"],
236
236
  enumDescriptions: [( localize(
237
- 13308,
237
+ 13597,
238
238
  "Marks the task as a build task accessible through the 'Run Build Task' command."
239
239
  )), ( localize(
240
- 13309,
240
+ 13598,
241
241
  "Marks the task as a test task accessible through the 'Run Test Task' command."
242
- )), ( localize(13310, "Assigns the task to no group"))],
243
- description: ( localize(13311, "The task's execution group."))
242
+ )), ( localize(13599, "Assigns the task to no group"))],
243
+ description: ( localize(13600, "The task's execution group."))
244
244
  };
245
245
  const group = {
246
246
  oneOf: [groupStrings, {
@@ -251,7 +251,7 @@ const group = {
251
251
  type: ["boolean", "string"],
252
252
  default: false,
253
253
  description: ( localize(
254
- 13312,
254
+ 13601,
255
255
  "Defines if this task is the default task in the group, or a glob to match the file which should trigger this task."
256
256
  ))
257
257
  }
@@ -262,16 +262,16 @@ const group = {
262
262
  kind: "build",
263
263
  isDefault: true
264
264
  },
265
- description: ( localize(13313, "Marks the task as the default build task."))
265
+ description: ( localize(13602, "Marks the task as the default build task."))
266
266
  }, {
267
267
  body: {
268
268
  kind: "test",
269
269
  isDefault: true
270
270
  },
271
- description: ( localize(13314, "Marks the task as the default test task."))
271
+ description: ( localize(13603, "Marks the task as the default test task."))
272
272
  }],
273
273
  description: ( localize(
274
- 13315,
274
+ 13604,
275
275
  "Defines to which execution group this task belongs to. It supports \"build\" to add it to the build group and \"test\" to add it to the test group."
276
276
  ))
277
277
  };
@@ -280,7 +280,7 @@ const taskType = {
280
280
  enum: ["shell"],
281
281
  default: "process",
282
282
  description: ( localize(
283
- 13316,
283
+ 13605,
284
284
  "Defines whether the task is run as a process or as a command inside a shell."
285
285
  ))
286
286
  };
@@ -294,7 +294,7 @@ const command = {
294
294
  type: "string"
295
295
  },
296
296
  description: ( localize(
297
- 13317,
297
+ 13606,
298
298
  "The shell command to be executed. Array items will be joined using a space character"
299
299
  ))
300
300
  }]
@@ -311,32 +311,32 @@ const command = {
311
311
  type: "string"
312
312
  },
313
313
  description: ( localize(
314
- 13317,
314
+ 13606,
315
315
  "The shell command to be executed. Array items will be joined using a space character"
316
316
  ))
317
317
  }],
318
- description: ( localize(13318, "The actual command value"))
318
+ description: ( localize(13607, "The actual command value"))
319
319
  },
320
320
  quoting: {
321
321
  type: "string",
322
322
  enum: ["escape", "strong", "weak"],
323
323
  enumDescriptions: [( localize(
324
- 13319,
324
+ 13608,
325
325
  "Escapes characters using the shell's escape character (e.g. ` under PowerShell and \\ under bash)."
326
326
  )), ( localize(
327
- 13320,
327
+ 13609,
328
328
  "Quotes the argument using the shell's strong quote character (e.g. ' under PowerShell and bash)."
329
329
  )), ( localize(
330
- 13321,
330
+ 13610,
331
331
  "Quotes the argument using the shell's weak quote character (e.g. \" under PowerShell and bash)."
332
332
  ))],
333
333
  default: "strong",
334
- description: ( localize(13322, "How the command value should be quoted."))
334
+ description: ( localize(13611, "How the command value should be quoted."))
335
335
  }
336
336
  }
337
337
  }],
338
338
  description: ( localize(
339
- 13323,
339
+ 13612,
340
340
  "The command to be executed. Can be an external program or a shell command."
341
341
  ))
342
342
  };
@@ -351,46 +351,46 @@ const args = {
351
351
  properties: {
352
352
  value: {
353
353
  type: "string",
354
- description: ( localize(13324, "The actual argument value"))
354
+ description: ( localize(13613, "The actual argument value"))
355
355
  },
356
356
  quoting: {
357
357
  type: "string",
358
358
  enum: ["escape", "strong", "weak"],
359
359
  enumDescriptions: [( localize(
360
- 13319,
360
+ 13608,
361
361
  "Escapes characters using the shell's escape character (e.g. ` under PowerShell and \\ under bash)."
362
362
  )), ( localize(
363
- 13320,
363
+ 13609,
364
364
  "Quotes the argument using the shell's strong quote character (e.g. ' under PowerShell and bash)."
365
365
  )), ( localize(
366
- 13321,
366
+ 13610,
367
367
  "Quotes the argument using the shell's weak quote character (e.g. \" under PowerShell and bash)."
368
368
  ))],
369
369
  default: "strong",
370
- description: ( localize(13325, "How the argument value should be quoted."))
370
+ description: ( localize(13614, "How the argument value should be quoted."))
371
371
  }
372
372
  }
373
373
  }]
374
374
  },
375
- description: ( localize(13326, "Arguments passed to the command when this task is invoked."))
375
+ description: ( localize(13615, "Arguments passed to the command when this task is invoked."))
376
376
  };
377
377
  const label = {
378
378
  type: "string",
379
- description: ( localize(13327, "The task's user interface label"))
379
+ description: ( localize(13616, "The task's user interface label"))
380
380
  };
381
381
  const version = {
382
382
  type: "string",
383
383
  enum: ["2.0.0"],
384
- description: ( localize(13328, "The config's version number."))
384
+ description: ( localize(13617, "The config's version number."))
385
385
  };
386
386
  const identifier = {
387
387
  type: "string",
388
388
  description: ( localize(
389
- 13329,
389
+ 13618,
390
390
  "A user defined identifier to reference the task in launch.json or a dependsOn clause."
391
391
  )),
392
392
  deprecationMessage: ( localize(
393
- 13330,
393
+ 13619,
394
394
  "User defined identifiers are deprecated. For custom task use the name as a reference and for tasks provided by extensions use their defined task identifier."
395
395
  ))
396
396
  };
@@ -400,14 +400,14 @@ const runOptions = {
400
400
  properties: {
401
401
  reevaluateOnRerun: {
402
402
  type: "boolean",
403
- description: ( localize(13331, "Whether to reevaluate task variables on rerun.")),
403
+ description: ( localize(13620, "Whether to reevaluate task variables on rerun.")),
404
404
  default: true
405
405
  },
406
406
  runOn: {
407
407
  type: "string",
408
408
  enum: ["default", "folderOpen", "worktreeCreated"],
409
409
  description: ( localize(
410
- 13332,
410
+ 13621,
411
411
  "Configures when the task should be run. If set to folderOpen, then the task will be run automatically when the folder is opened. If set to worktreeCreated, then the task will be run automatically when an Agent Session worktree is created."
412
412
  )),
413
413
  default: "default"
@@ -415,7 +415,7 @@ const runOptions = {
415
415
  instanceLimit: {
416
416
  type: "number",
417
417
  description: ( localize(
418
- 13333,
418
+ 13622,
419
419
  "The number of instances of the task that are allowed to run simultaneously."
420
420
  )),
421
421
  default: 1
@@ -423,12 +423,12 @@ const runOptions = {
423
423
  instancePolicy: {
424
424
  type: "string",
425
425
  enum: ["terminateNewest", "terminateOldest", "prompt", "warn", "silent"],
426
- enumDescriptions: [( localize(13334, "Terminates the newest instance.")), ( localize(13335, "Terminates the oldest instance.")), ( localize(13336, "Asks which instance to terminate.")), ( localize(13337, "Does nothing but warns that the instance limit has been reached.")), ( localize(13338, "Does nothing."))],
427
- description: ( localize(13339, "Policy to apply when instance limit is reached.")),
426
+ enumDescriptions: [( localize(13623, "Terminates the newest instance.")), ( localize(13624, "Terminates the oldest instance.")), ( localize(13625, "Asks which instance to terminate.")), ( localize(13626, "Does nothing but warns that the instance limit has been reached.")), ( localize(13627, "Does nothing."))],
427
+ description: ( localize(13628, "Policy to apply when instance limit is reached.")),
428
428
  default: "prompt"
429
429
  }
430
430
  },
431
- description: ( localize(13340, "The task's run related options"))
431
+ description: ( localize(13629, "The task's run related options"))
432
432
  };
433
433
  const commonSchemaDefinitions = schema$1.definitions;
434
434
  const options = deepClone(commonSchemaDefinitions.options);
@@ -440,13 +440,13 @@ const taskConfiguration = {
440
440
  properties: {
441
441
  label: {
442
442
  type: "string",
443
- description: ( localize(13341, "The task's label"))
443
+ description: ( localize(13630, "The task's label"))
444
444
  },
445
445
  taskName: {
446
446
  type: "string",
447
- description: ( localize(13342, "The task's name")),
447
+ description: ( localize(13631, "The task's name")),
448
448
  deprecationMessage: ( localize(
449
- 13343,
449
+ 13632,
450
450
  "The task's name property is deprecated. Use the label property instead."
451
451
  ))
452
452
  },
@@ -455,7 +455,7 @@ const taskConfiguration = {
455
455
  isBackground: {
456
456
  type: "boolean",
457
457
  description: ( localize(
458
- 13344,
458
+ 13633,
459
459
  "Whether the executed task is kept alive and is running in the background."
460
460
  )),
461
461
  default: true
@@ -463,7 +463,7 @@ const taskConfiguration = {
463
463
  promptOnClose: {
464
464
  type: "boolean",
465
465
  description: ( localize(
466
- 13345,
466
+ 13634,
467
467
  "Whether the user is prompted when VS Code closes with a running task."
468
468
  )),
469
469
  default: false
@@ -476,7 +476,7 @@ const taskConfiguration = {
476
476
  problemMatcher: {
477
477
  $ref: "#/definitions/problemMatcherType",
478
478
  description: ( localize(
479
- 13346,
479
+ 13635,
480
480
  "The problem matcher(s) to use. Can either be a string or a problem matcher definition or an array of strings and problem matchers."
481
481
  ))
482
482
  },
@@ -501,7 +501,7 @@ function updateTaskDefinitions() {
501
501
  const schemaProperties = schema.properties;
502
502
  schemaProperties.type = {
503
503
  type: "string",
504
- description: ( localize(13347, "The task type to customize")),
504
+ description: ( localize(13636, "The task type to customize")),
505
505
  enum: [taskType.taskType]
506
506
  };
507
507
  if (taskType.required) {
@@ -524,7 +524,7 @@ const customize = deepClone(taskConfiguration);
524
524
  customize.properties.customize = {
525
525
  type: "string",
526
526
  deprecationMessage: ( localize(
527
- 13348,
527
+ 13637,
528
528
  "The customize property is deprecated. See the 1.14 release notes on how to migrate to the new task customization approach"
529
529
  ))
530
530
  };
@@ -554,7 +554,7 @@ taskDescriptionProperties.group = deepClone(group);
554
554
  taskDescriptionProperties.runOptions = deepClone(runOptions);
555
555
  taskDescriptionProperties.detail = detail;
556
556
  taskDescriptionProperties.taskName.deprecationMessage = ( localize(
557
- 13343,
557
+ 13632,
558
558
  "The task's name property is deprecated. Use the label property instead."
559
559
  ));
560
560
  const processTask = deepClone(taskDescription);
@@ -565,23 +565,23 @@ taskDescription.default = {
565
565
  problemMatcher: []
566
566
  };
567
567
  definitions.showOutputType.deprecationMessage = ( localize(
568
- 13349,
568
+ 13638,
569
569
  "The property showOutput is deprecated. Use the reveal property inside the presentation property instead. See also the 1.14 release notes."
570
570
  ));
571
571
  taskDescriptionProperties.echoCommand.deprecationMessage = ( localize(
572
- 13350,
572
+ 13639,
573
573
  "The property echoCommand is deprecated. Use the echo property inside the presentation property instead. See also the 1.14 release notes."
574
574
  ));
575
575
  taskDescriptionProperties.suppressTaskName.deprecationMessage = ( localize(
576
- 13351,
576
+ 13640,
577
577
  "The property suppressTaskName is deprecated. Inline the command with its arguments into the task instead. See also the 1.14 release notes."
578
578
  ));
579
579
  taskDescriptionProperties.isBuildCommand.deprecationMessage = ( localize(
580
- 13352,
580
+ 13641,
581
581
  "The property isBuildCommand is deprecated. Use the group property instead. See also the 1.14 release notes."
582
582
  ));
583
583
  taskDescriptionProperties.isTestCommand.deprecationMessage = ( localize(
584
- 13353,
584
+ 13642,
585
585
  "The property isTestCommand is deprecated. Use the group property instead. See also the 1.14 release notes."
586
586
  ));
587
587
  processTask.properties.type = {
@@ -589,7 +589,7 @@ processTask.properties.type = {
589
589
  enum: ["process"],
590
590
  default: "process",
591
591
  description: ( localize(
592
- 13316,
592
+ 13605,
593
593
  "Defines whether the task is run as a process or as a command inside a shell."
594
594
  ))
595
595
  };
@@ -615,11 +615,11 @@ definitionsTaskRunnerConfigurationProperties.type = deepClone(taskType);
615
615
  definitionsTaskRunnerConfigurationProperties.group = deepClone(group);
616
616
  definitionsTaskRunnerConfigurationProperties.presentation = deepClone(presentation);
617
617
  definitionsTaskRunnerConfigurationProperties.suppressTaskName.deprecationMessage = ( localize(
618
- 13351,
618
+ 13640,
619
619
  "The property suppressTaskName is deprecated. Inline the command with its arguments into the task instead. See also the 1.14 release notes."
620
620
  ));
621
621
  definitionsTaskRunnerConfigurationProperties.taskSelector.deprecationMessage = ( localize(
622
- 13354,
622
+ 13643,
623
623
  "The property taskSelector is deprecated. Inline the command with its arguments into the task instead. See also the 1.14 release notes."
624
624
  ));
625
625
  const osSpecificTaskRunnerConfiguration = deepClone(definitions.taskRunnerConfiguration);
@@ -636,15 +636,15 @@ const schema = {
636
636
  version: deepClone(version),
637
637
  windows: {
638
638
  "$ref": "#/definitions/osSpecificTaskRunnerConfiguration",
639
- "description": ( localize(13355, "Windows specific command configuration"))
639
+ "description": ( localize(13644, "Windows specific command configuration"))
640
640
  },
641
641
  osx: {
642
642
  "$ref": "#/definitions/osSpecificTaskRunnerConfiguration",
643
- "description": ( localize(13356, "Mac specific command configuration"))
643
+ "description": ( localize(13645, "Mac specific command configuration"))
644
644
  },
645
645
  linux: {
646
646
  "$ref": "#/definitions/osSpecificTaskRunnerConfiguration",
647
- "description": ( localize(13357, "Linux specific command configuration"))
647
+ "description": ( localize(13646, "Linux specific command configuration"))
648
648
  }
649
649
  }
650
650
  }, {