@codingame/monaco-vscode-rollup-vsix-plugin 13.1.6 → 14.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-rollup-vsix-plugin",
3
- "version": "13.1.6",
3
+ "version": "14.0.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -568,57 +568,41 @@ interface IWalkthroughStep {
568
568
  * Media to show alongside this step, either an image or markdown content.
569
569
  */
570
570
  readonly media: {
571
- readonly path?: {
572
- [k: string]: unknown;
571
+ image: string | {
572
+ dark: string;
573
+ light: string;
574
+ hc: string;
573
575
  };
574
- /**
575
- * Path to an image - or object consisting of paths to light, dark, and hc images - relative to extension directory. Depending on context, the image will be displayed from 400px to 800px wide, with similar bounds on height. To support HIDPI displays, the image will be rendered at 1.5x scaling, for example a 900 physical pixels wide image will be displayed as 600 logical pixels wide.
576
- */
577
- readonly image: string | {
578
- /**
579
- * Path to the image for dark themes, relative to extension directory.
580
- */
581
- readonly dark: string;
582
- /**
583
- * Path to the image for light themes, relative to extension directory.
584
- */
585
- readonly light: string;
586
- /**
587
- * Path to the image for hc themes, relative to extension directory.
588
- */
589
- readonly hc: string;
590
- /**
591
- * Path to the image for hc light themes, relative to extension directory.
592
- */
593
- readonly hcLight: string;
594
- };
595
- /**
596
- * Alternate text to display when the image cannot be loaded or in screen readers.
597
- */
598
- readonly altText: string;
599
- readonly markdown?: never;
600
- readonly svg?: never;
576
+ altText: string;
577
+ markdown?: never;
578
+ svg?: never;
579
+ video?: never;
601
580
  } | {
602
- /**
603
- * Path to an svg, color tokens are supported in variables to support theming to match the workbench.
604
- */
605
- readonly svg: string;
606
- /**
607
- * Alternate text to display when the image cannot be loaded or in screen readers.
608
- */
609
- readonly altText: string;
610
- readonly image?: never;
611
- readonly markdown?: never;
581
+ markdown: string;
582
+ image?: never;
583
+ svg?: never;
584
+ video?: never;
612
585
  } | {
613
- readonly path?: {
614
- [k: string]: unknown;
586
+ svg: string;
587
+ altText: string;
588
+ markdown?: never;
589
+ image?: never;
590
+ video?: never;
591
+ } | {
592
+ video: string | {
593
+ dark: string;
594
+ light: string;
595
+ hc: string;
615
596
  };
616
- /**
617
- * Path to the markdown document, relative to extension directory.
618
- */
619
- readonly markdown: string;
620
- readonly image?: never;
621
- readonly svg?: never;
597
+ poster: string | {
598
+ dark: string;
599
+ light: string;
600
+ hc: string;
601
+ };
602
+ altText: string;
603
+ markdown?: never;
604
+ image?: never;
605
+ svg?: never;
622
606
  };
623
607
  /**
624
608
  * Events that should trigger this step to become checked off. If empty or not defined, the step will check off when any of the step's buttons or links are clicked; if the step has no buttons or links it will check on when it is selected.
@@ -1350,6 +1334,22 @@ interface IHtmlLanguageParticipant {
1350
1334
  */
1351
1335
  autoInsert: boolean;
1352
1336
  }
1337
+ interface IChatParticipantContribution {
1338
+ id: string;
1339
+ name: string;
1340
+ fullName: string;
1341
+ description?: string;
1342
+ isDefault?: boolean;
1343
+ commands?: {
1344
+ name: string;
1345
+ }[];
1346
+ }
1347
+ interface IToolContribution {
1348
+ name: string;
1349
+ displayName: string;
1350
+ modelDescription: string;
1351
+ userDescription?: string;
1352
+ }
1353
1353
  interface IExtensionContributions {
1354
1354
  /**
1355
1355
  * Contributes terminal functionality.
@@ -1456,9 +1456,8 @@ interface IExtensionContributions {
1456
1456
  */
1457
1457
  readonly notebookRenderer?: INotebookRendererContribution[];
1458
1458
  readonly debugVisualizers?: IDebugVisualizationContribution[];
1459
- readonly chatParticipants?: ReadonlyArray<{
1460
- id: string;
1461
- }>;
1459
+ readonly chatParticipants?: ReadonlyArray<IChatParticipantContribution>;
1460
+ readonly languageModelTools?: ReadonlyArray<IToolContribution>;
1462
1461
  /**
1463
1462
  * Contributes notebook preloads.
1464
1463
  */
@@ -864,7 +864,7 @@ function _format(message, args) {
864
864
  if (typeof arg === 'string') {
865
865
  result = arg;
866
866
  }
867
- else if (typeof arg === 'number' || typeof arg === 'boolean' || arg === undefined || arg === null) {
867
+ else if (typeof arg === 'number' || typeof arg === 'boolean' || arg === void 0 || arg === null) {
868
868
  result = String(arg);
869
869
  }
870
870
  return result;
@@ -938,7 +938,7 @@ function requireArray () {
938
938
  if (hasRequiredArray) return array;
939
939
  hasRequiredArray = 1;
940
940
  Object.defineProperty(array, "__esModule", { value: true });
941
- array.splitWhen = array.flatten = undefined;
941
+ array.splitWhen = array.flatten = void 0;
942
942
  function flatten(items) {
943
943
  return items.reduce((collection, item) => [].concat(collection, item), []);
944
944
  }
@@ -969,7 +969,7 @@ function requireErrno () {
969
969
  if (hasRequiredErrno) return errno;
970
970
  hasRequiredErrno = 1;
971
971
  Object.defineProperty(errno, "__esModule", { value: true });
972
- errno.isEnoentCodeError = undefined;
972
+ errno.isEnoentCodeError = void 0;
973
973
  function isEnoentCodeError(error) {
974
974
  return error.code === 'ENOENT';
975
975
  }
@@ -985,7 +985,7 @@ function requireFs$3 () {
985
985
  if (hasRequiredFs$3) return fs$3;
986
986
  hasRequiredFs$3 = 1;
987
987
  Object.defineProperty(fs$3, "__esModule", { value: true });
988
- fs$3.createDirentFromStats = undefined;
988
+ fs$3.createDirentFromStats = void 0;
989
989
  class DirentFromStats {
990
990
  constructor(name, stats) {
991
991
  this.name = name;
@@ -1013,7 +1013,7 @@ function requirePath () {
1013
1013
  if (hasRequiredPath) return path;
1014
1014
  hasRequiredPath = 1;
1015
1015
  Object.defineProperty(path, "__esModule", { value: true });
1016
- path.convertPosixPathToPattern = path.convertWindowsPathToPattern = path.convertPathToPattern = path.escapePosixPath = path.escapeWindowsPath = path.escape = path.removeLeadingDotSegment = path.makeAbsolute = path.unixify = undefined;
1016
+ path.convertPosixPathToPattern = path.convertWindowsPathToPattern = path.convertPathToPattern = path.escapePosixPath = path.escapeWindowsPath = path.escape = path.removeLeadingDotSegment = path.makeAbsolute = path.unixify = void 0;
1017
1017
  const os = require$$0;
1018
1018
  const path$1 = require$$0$1;
1019
1019
  const IS_WINDOWS_PLATFORM = os.platform() === 'win32';
@@ -1541,7 +1541,7 @@ function requireToRegexRange () {
1541
1541
  throw new TypeError('toRegexRange: expected the first argument to be a number');
1542
1542
  }
1543
1543
 
1544
- if (max === undefined || min === max) {
1544
+ if (max === void 0 || min === max) {
1545
1545
  return String(min);
1546
1546
  }
1547
1547
 
@@ -4384,7 +4384,7 @@ function requireParse () {
4384
4384
  }
4385
4385
 
4386
4386
  if (prior.type === 'slash' && prior.prev.type !== 'bos' && rest[0] === '/') {
4387
- const end = rest[1] !== undefined ? '|$' : '';
4387
+ const end = rest[1] !== void 0 ? '|$' : '';
4388
4388
 
4389
4389
  state.output = state.output.slice(0, -(prior.output + prev.output).length);
4390
4390
  prior.output = `(?:${prior.output}`;
@@ -5340,7 +5340,7 @@ function requireMicromatch () {
5340
5340
  let match = regex.exec(posix ? utils.toPosixSlashes(input) : input);
5341
5341
 
5342
5342
  if (match) {
5343
- return match.slice(1).map(v => v === undefined ? '' : v);
5343
+ return match.slice(1).map(v => v === void 0 ? '' : v);
5344
5344
  }
5345
5345
  };
5346
5346
 
@@ -5452,7 +5452,7 @@ function requirePattern () {
5452
5452
  if (hasRequiredPattern) return pattern;
5453
5453
  hasRequiredPattern = 1;
5454
5454
  Object.defineProperty(pattern, "__esModule", { value: true });
5455
- pattern.isAbsolute = pattern.partitionAbsoluteAndRelative = pattern.removeDuplicateSlashes = pattern.matchAny = pattern.convertPatternsToRe = pattern.makeRe = pattern.getPatternParts = pattern.expandBraceExpansion = pattern.expandPatternsWithBraceExpansion = pattern.isAffectDepthOfReadingPattern = pattern.endsWithSlashGlobStar = pattern.hasGlobStar = pattern.getBaseDirectory = pattern.isPatternRelatedToParentDirectory = pattern.getPatternsOutsideCurrentDirectory = pattern.getPatternsInsideCurrentDirectory = pattern.getPositivePatterns = pattern.getNegativePatterns = pattern.isPositivePattern = pattern.isNegativePattern = pattern.convertToNegativePattern = pattern.convertToPositivePattern = pattern.isDynamicPattern = pattern.isStaticPattern = undefined;
5455
+ pattern.isAbsolute = pattern.partitionAbsoluteAndRelative = pattern.removeDuplicateSlashes = pattern.matchAny = pattern.convertPatternsToRe = pattern.makeRe = pattern.getPatternParts = pattern.expandBraceExpansion = pattern.expandPatternsWithBraceExpansion = pattern.isAffectDepthOfReadingPattern = pattern.endsWithSlashGlobStar = pattern.hasGlobStar = pattern.getBaseDirectory = pattern.isPatternRelatedToParentDirectory = pattern.getPatternsOutsideCurrentDirectory = pattern.getPatternsInsideCurrentDirectory = pattern.getPositivePatterns = pattern.getNegativePatterns = pattern.isPositivePattern = pattern.isNegativePattern = pattern.convertToNegativePattern = pattern.convertToPositivePattern = pattern.isDynamicPattern = pattern.isStaticPattern = void 0;
5456
5456
  const path = require$$0$1;
5457
5457
  const globParent = requireGlobParent();
5458
5458
  const micromatch = requireMicromatch();
@@ -5819,7 +5819,7 @@ function requireStream$3 () {
5819
5819
  if (hasRequiredStream$3) return stream$3;
5820
5820
  hasRequiredStream$3 = 1;
5821
5821
  Object.defineProperty(stream$3, "__esModule", { value: true });
5822
- stream$3.merge = undefined;
5822
+ stream$3.merge = void 0;
5823
5823
  const merge2 = requireMerge2();
5824
5824
  function merge(streams) {
5825
5825
  const mergedStream = merge2(streams);
@@ -5845,7 +5845,7 @@ function requireString () {
5845
5845
  if (hasRequiredString) return string;
5846
5846
  hasRequiredString = 1;
5847
5847
  Object.defineProperty(string, "__esModule", { value: true });
5848
- string.isEmpty = string.isString = undefined;
5848
+ string.isEmpty = string.isString = void 0;
5849
5849
  function isString(input) {
5850
5850
  return typeof input === 'string';
5851
5851
  }
@@ -5863,7 +5863,7 @@ function requireUtils$1 () {
5863
5863
  if (hasRequiredUtils$1) return utils$3;
5864
5864
  hasRequiredUtils$1 = 1;
5865
5865
  Object.defineProperty(utils$3, "__esModule", { value: true });
5866
- utils$3.string = utils$3.stream = utils$3.pattern = utils$3.path = utils$3.fs = utils$3.errno = utils$3.array = undefined;
5866
+ utils$3.string = utils$3.stream = utils$3.pattern = utils$3.path = utils$3.fs = utils$3.errno = utils$3.array = void 0;
5867
5867
  const array = requireArray();
5868
5868
  utils$3.array = array;
5869
5869
  const errno = requireErrno();
@@ -5887,7 +5887,7 @@ function requireTasks () {
5887
5887
  if (hasRequiredTasks) return tasks;
5888
5888
  hasRequiredTasks = 1;
5889
5889
  Object.defineProperty(tasks, "__esModule", { value: true });
5890
- tasks.convertPatternGroupToTask = tasks.convertPatternGroupsToTasks = tasks.groupPatternsByBaseDirectory = tasks.getNegativePatternsAsPositive = tasks.getPositivePatterns = tasks.convertPatternsToTasks = tasks.generate = undefined;
5890
+ tasks.convertPatternGroupToTask = tasks.convertPatternGroupsToTasks = tasks.groupPatternsByBaseDirectory = tasks.getNegativePatternsAsPositive = tasks.getPositivePatterns = tasks.convertPatternsToTasks = tasks.generate = void 0;
5891
5891
  const utils = requireUtils$1();
5892
5892
  function generate(input, settings) {
5893
5893
  const patterns = processPatterns(input, settings);
@@ -6022,7 +6022,7 @@ function requireAsync$5 () {
6022
6022
  if (hasRequiredAsync$5) return async;
6023
6023
  hasRequiredAsync$5 = 1;
6024
6024
  Object.defineProperty(async, "__esModule", { value: true });
6025
- async.read = undefined;
6025
+ async.read = void 0;
6026
6026
  function read(path, settings, callback) {
6027
6027
  settings.fs.lstat(path, (lstatError, lstat) => {
6028
6028
  if (lstatError !== null) {
@@ -6067,7 +6067,7 @@ function requireSync$5 () {
6067
6067
  if (hasRequiredSync$5) return sync$5;
6068
6068
  hasRequiredSync$5 = 1;
6069
6069
  Object.defineProperty(sync$5, "__esModule", { value: true });
6070
- sync$5.read = undefined;
6070
+ sync$5.read = void 0;
6071
6071
  function read(path, settings) {
6072
6072
  const lstat = settings.fs.lstatSync(path);
6073
6073
  if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
@@ -6102,7 +6102,7 @@ function requireFs$2 () {
6102
6102
  hasRequiredFs$2 = 1;
6103
6103
  (function (exports) {
6104
6104
  Object.defineProperty(exports, "__esModule", { value: true });
6105
- exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = undefined;
6105
+ exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
6106
6106
  const fs = require$$0$4;
6107
6107
  exports.FILE_SYSTEM_ADAPTER = {
6108
6108
  lstat: fs.lstat,
@@ -6137,7 +6137,7 @@ function requireSettings$3 () {
6137
6137
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
6138
6138
  }
6139
6139
  _getValue(option, value) {
6140
- return option !== null && option !== undefined ? option : value;
6140
+ return option !== null && option !== void 0 ? option : value;
6141
6141
  }
6142
6142
  }
6143
6143
  settings$3.default = Settings;
@@ -6150,7 +6150,7 @@ function requireOut$3 () {
6150
6150
  if (hasRequiredOut$3) return out$1;
6151
6151
  hasRequiredOut$3 = 1;
6152
6152
  Object.defineProperty(out$1, "__esModule", { value: true });
6153
- out$1.statSync = out$1.stat = out$1.Settings = undefined;
6153
+ out$1.statSync = out$1.stat = out$1.Settings = void 0;
6154
6154
  const async = requireAsync$5();
6155
6155
  const sync = requireSync$5();
6156
6156
  const settings_1 = requireSettings$3();
@@ -6265,7 +6265,7 @@ function requireConstants () {
6265
6265
  if (hasRequiredConstants) return constants;
6266
6266
  hasRequiredConstants = 1;
6267
6267
  Object.defineProperty(constants, "__esModule", { value: true });
6268
- constants.IS_SUPPORT_READDIR_WITH_FILE_TYPES = undefined;
6268
+ constants.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
6269
6269
  const NODE_PROCESS_VERSION_PARTS = process.versions.node.split('.');
6270
6270
  if (NODE_PROCESS_VERSION_PARTS[0] === undefined || NODE_PROCESS_VERSION_PARTS[1] === undefined) {
6271
6271
  throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);
@@ -6293,7 +6293,7 @@ function requireFs$1 () {
6293
6293
  if (hasRequiredFs$1) return fs$1;
6294
6294
  hasRequiredFs$1 = 1;
6295
6295
  Object.defineProperty(fs$1, "__esModule", { value: true });
6296
- fs$1.createDirentFromStats = undefined;
6296
+ fs$1.createDirentFromStats = void 0;
6297
6297
  class DirentFromStats {
6298
6298
  constructor(name, stats) {
6299
6299
  this.name = name;
@@ -6319,7 +6319,7 @@ function requireUtils () {
6319
6319
  if (hasRequiredUtils) return utils;
6320
6320
  hasRequiredUtils = 1;
6321
6321
  Object.defineProperty(utils, "__esModule", { value: true });
6322
- utils.fs = undefined;
6322
+ utils.fs = void 0;
6323
6323
  const fs = requireFs$1();
6324
6324
  utils.fs = fs;
6325
6325
  return utils;
@@ -6333,7 +6333,7 @@ function requireCommon$1 () {
6333
6333
  if (hasRequiredCommon$1) return common$1;
6334
6334
  hasRequiredCommon$1 = 1;
6335
6335
  Object.defineProperty(common$1, "__esModule", { value: true });
6336
- common$1.joinPathSegments = undefined;
6336
+ common$1.joinPathSegments = void 0;
6337
6337
  function joinPathSegments(a, b, separator) {
6338
6338
  /**
6339
6339
  * The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).
@@ -6353,7 +6353,7 @@ function requireAsync$4 () {
6353
6353
  if (hasRequiredAsync$4) return async$1;
6354
6354
  hasRequiredAsync$4 = 1;
6355
6355
  Object.defineProperty(async$1, "__esModule", { value: true });
6356
- async$1.readdir = async$1.readdirWithFileTypes = async$1.read = undefined;
6356
+ async$1.readdir = async$1.readdirWithFileTypes = async$1.read = void 0;
6357
6357
  const fsStat = requireOut$3();
6358
6358
  const rpl = requireRunParallel();
6359
6359
  const constants_1 = requireConstants();
@@ -6466,7 +6466,7 @@ function requireSync$4 () {
6466
6466
  if (hasRequiredSync$4) return sync$4;
6467
6467
  hasRequiredSync$4 = 1;
6468
6468
  Object.defineProperty(sync$4, "__esModule", { value: true });
6469
- sync$4.readdir = sync$4.readdirWithFileTypes = sync$4.read = undefined;
6469
+ sync$4.readdir = sync$4.readdirWithFileTypes = sync$4.read = void 0;
6470
6470
  const fsStat = requireOut$3();
6471
6471
  const constants_1 = requireConstants();
6472
6472
  const utils = requireUtils();
@@ -6532,7 +6532,7 @@ function requireFs () {
6532
6532
  hasRequiredFs = 1;
6533
6533
  (function (exports) {
6534
6534
  Object.defineProperty(exports, "__esModule", { value: true });
6535
- exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = undefined;
6535
+ exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
6536
6536
  const fs = require$$0$4;
6537
6537
  exports.FILE_SYSTEM_ADAPTER = {
6538
6538
  lstat: fs.lstat,
@@ -6577,7 +6577,7 @@ function requireSettings$2 () {
6577
6577
  });
6578
6578
  }
6579
6579
  _getValue(option, value) {
6580
- return option !== null && option !== undefined ? option : value;
6580
+ return option !== null && option !== void 0 ? option : value;
6581
6581
  }
6582
6582
  }
6583
6583
  settings$2.default = Settings;
@@ -6590,7 +6590,7 @@ function requireOut$2 () {
6590
6590
  if (hasRequiredOut$2) return out$2;
6591
6591
  hasRequiredOut$2 = 1;
6592
6592
  Object.defineProperty(out$2, "__esModule", { value: true });
6593
- out$2.Settings = out$2.scandirSync = out$2.scandir = undefined;
6593
+ out$2.Settings = out$2.scandirSync = out$2.scandir = void 0;
6594
6594
  const async = requireAsync$4();
6595
6595
  const sync = requireSync$4();
6596
6596
  const settings_1 = requireSettings$2();
@@ -6986,7 +6986,7 @@ function requireCommon () {
6986
6986
  if (hasRequiredCommon) return common;
6987
6987
  hasRequiredCommon = 1;
6988
6988
  Object.defineProperty(common, "__esModule", { value: true });
6989
- common.joinPathSegments = common.replacePathSegmentSeparator = common.isAppliedFilter = common.isFatalError = undefined;
6989
+ common.joinPathSegments = common.replacePathSegmentSeparator = common.isAppliedFilter = common.isFatalError = void 0;
6990
6990
  function isFatalError(settings, error) {
6991
6991
  if (settings.errorFilter === null) {
6992
6992
  return true;
@@ -7341,7 +7341,7 @@ function requireSettings$1 () {
7341
7341
  });
7342
7342
  }
7343
7343
  _getValue(option, value) {
7344
- return option !== null && option !== undefined ? option : value;
7344
+ return option !== null && option !== void 0 ? option : value;
7345
7345
  }
7346
7346
  }
7347
7347
  settings$1.default = Settings;
@@ -7354,7 +7354,7 @@ function requireOut$1 () {
7354
7354
  if (hasRequiredOut$1) return out$3;
7355
7355
  hasRequiredOut$1 = 1;
7356
7356
  Object.defineProperty(out$3, "__esModule", { value: true });
7357
- out$3.Settings = out$3.walkStream = out$3.walkSync = out$3.walk = undefined;
7357
+ out$3.Settings = out$3.walkStream = out$3.walkSync = out$3.walk = void 0;
7358
7358
  const async_1 = requireAsync$2();
7359
7359
  const stream_1 = requireStream$2();
7360
7360
  const sync_1 = requireSync$2();
@@ -8082,7 +8082,7 @@ function requireSettings () {
8082
8082
  hasRequiredSettings = 1;
8083
8083
  (function (exports) {
8084
8084
  Object.defineProperty(exports, "__esModule", { value: true });
8085
- exports.DEFAULT_FILE_SYSTEM_ADAPTER = undefined;
8085
+ exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
8086
8086
  const fs = require$$0$4;
8087
8087
  const os = require$$0;
8088
8088
  /**