@getpochi/cli 0.5.88 → 0.5.90

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.
Files changed (2) hide show
  1. package/dist/cli.js +1788 -99
  2. package/package.json +4 -1
package/dist/cli.js CHANGED
@@ -27430,7 +27430,7 @@ __export(exports_SchemaAST, {
27430
27430
  symbolKeyword: () => symbolKeyword,
27431
27431
  stringKeyword: () => stringKeyword,
27432
27432
  required: () => required2,
27433
- rename: () => rename2,
27433
+ rename: () => rename,
27434
27434
  record: () => record2,
27435
27435
  pruneUndefined: () => pruneUndefined,
27436
27436
  pickAnnotations: () => pickAnnotations,
@@ -28909,7 +28909,7 @@ var BrandAnnotationId, SchemaIdAnnotationId, MessageAnnotationId, MissingMessage
28909
28909
  return _keyof(ast.to);
28910
28910
  }
28911
28911
  throw new Error(getASTUnsupportedSchemaErrorMessage(ast));
28912
- }, compose4 = (ab, cd) => new Transformation(ab, cd, composeTransformation), rename2 = (ast, mapping) => {
28912
+ }, compose4 = (ab, cd) => new Transformation(ab, cd, composeTransformation), rename = (ast, mapping) => {
28913
28913
  switch (ast._tag) {
28914
28914
  case "TypeLiteral": {
28915
28915
  const propertySignatureTransformations = [];
@@ -28928,11 +28928,11 @@ var BrandAnnotationId, SchemaIdAnnotationId, MessageAnnotationId, MissingMessage
28928
28928
  }), ast.indexSignatures), new TypeLiteralTransformation(propertySignatureTransformations));
28929
28929
  }
28930
28930
  case "Union":
28931
- return Union.make(ast.types.map((ast2) => rename2(ast2, mapping)));
28931
+ return Union.make(ast.types.map((ast2) => rename(ast2, mapping)));
28932
28932
  case "Suspend":
28933
- return new Suspend(() => rename2(ast.f(), mapping));
28933
+ return new Suspend(() => rename(ast.f(), mapping));
28934
28934
  case "Transformation":
28935
- return compose4(ast, rename2(typeAST(ast), mapping));
28935
+ return compose4(ast, rename(typeAST(ast), mapping));
28936
28936
  }
28937
28937
  throw new Error(getASTUnsupportedRenameSchemaErrorMessage(ast));
28938
28938
  }, formatKeyword = (ast) => getOrElse2(getExpected(ast), () => ast._tag), getOrElseExpected = (ast) => getTitleAnnotation(ast).pipe(orElse2(() => getDescriptionAnnotation(ast)), orElse2(() => getAutoTitleAnnotation(ast)), map3((s5) => s5 + getBrands(ast))), getExpected = (ast) => orElse2(getIdentifierAnnotation(ast), () => getOrElseExpected(ast)), pruneUndefined = (ast, self2, onTransformation) => {
@@ -30418,7 +30418,7 @@ __export(exports_Schema, {
30418
30418
  serializableSchema: () => serializableSchema,
30419
30419
  requiredToOptional: () => requiredToOptional,
30420
30420
  required: () => required3,
30421
- rename: () => rename3,
30421
+ rename: () => rename2,
30422
30422
  propertySignature: () => propertySignature,
30423
30423
  positiveBigInt: () => positiveBigInt,
30424
30424
  positiveBigDecimal: () => positiveBigDecimal,
@@ -31761,7 +31761,7 @@ var TypeId22, variance8, makeStandardResult = (exit3) => isSuccess2(exit3) ? exi
31761
31761
  }
31762
31762
  }
31763
31763
  return none2();
31764
- }, filterEffect, transformOrFail, transform3, attachPropertySignature, annotations2, rename3, TrimmedSchemaId, trimmed = (annotations3) => (self2) => self2.pipe(filter15((a3) => a3 === a3.trim(), {
31764
+ }, filterEffect, transformOrFail, transform3, attachPropertySignature, annotations2, rename2, TrimmedSchemaId, trimmed = (annotations3) => (self2) => self2.pipe(filter15((a3) => a3 === a3.trim(), {
31765
31765
  schemaId: TrimmedSchemaId,
31766
31766
  title: "trimmed",
31767
31767
  description: "a string with no leading or trailing whitespace",
@@ -33563,7 +33563,7 @@ var init_Schema = __esm(() => {
33563
33563
  return make50(new Transformation(schema.ast, annotations2 ? mergeSchemaAnnotations(ast, annotations2) : ast, new TypeLiteralTransformation([new PropertySignatureTransformation(key, key, () => some3(value4), () => none2())])));
33564
33564
  });
33565
33565
  annotations2 = /* @__PURE__ */ dual(2, (self2, annotations3) => self2.annotations(annotations3));
33566
- rename3 = /* @__PURE__ */ dual(2, (self2, mapping) => make50(rename2(self2.ast, mapping)));
33566
+ rename2 = /* @__PURE__ */ dual(2, (self2, mapping) => make50(rename(self2.ast, mapping)));
33567
33567
  TrimmedSchemaId = /* @__PURE__ */ Symbol.for("effect/SchemaId/Trimmed");
33568
33568
  MaxLengthSchemaId2 = MaxLengthSchemaId;
33569
33569
  MinLengthSchemaId2 = MinLengthSchemaId;
@@ -65596,7 +65596,7 @@ __export(exports_Schema2, {
65596
65596
  serializableSchema: () => serializableSchema,
65597
65597
  requiredToOptional: () => requiredToOptional,
65598
65598
  required: () => required3,
65599
- rename: () => rename3,
65599
+ rename: () => rename2,
65600
65600
  propertySignature: () => propertySignature,
65601
65601
  positiveBigInt: () => positiveBigInt,
65602
65602
  positiveBigDecimal: () => positiveBigDecimal,
@@ -102769,7 +102769,7 @@ var require_installer = __commonJS((exports, module) => {
102769
102769
  var debug2 = tabtabDebug("tabtab:installer");
102770
102770
  var readFile2 = promisify(fs2.readFile);
102771
102771
  var writeFile2 = promisify(fs2.writeFile);
102772
- var unlink = promisify(fs2.unlink);
102772
+ var unlink2 = promisify(fs2.unlink);
102773
102773
  var {
102774
102774
  BASH_LOCATION,
102775
102775
  FISH_LOCATION,
@@ -102948,7 +102948,7 @@ ${sourceLineForShell(scriptname)}`);
102948
102948
  }
102949
102949
  const completionScript = untildify(path4.join(COMPLETION_DIR, `${name17}.${shellExtension()}`));
102950
102950
  if (await exists7(completionScript)) {
102951
- await unlink(completionScript);
102951
+ await unlink2(completionScript);
102952
102952
  console.log("=> Removed completion script (%s)", completionScript);
102953
102953
  }
102954
102954
  const tabtabScript = untildify(path4.join(COMPLETION_DIR, `${TABTAB_SCRIPT_NAME}.${shellExtension()}`));
@@ -127142,7 +127142,7 @@ var require_mock_pool = __commonJS((exports, module) => {
127142
127142
  // ../../node_modules/@effect/platform-node/node_modules/undici/lib/mock/pending-interceptors-formatter.js
127143
127143
  var require_pending_interceptors_formatter = __commonJS((exports, module) => {
127144
127144
  var { Transform } = __require("node:stream");
127145
- var { Console } = __require("node:console");
127145
+ var { Console: Console3 } = __require("node:console");
127146
127146
  var PERSISTENT = process.versions.icu ? "✅" : "Y ";
127147
127147
  var NOT_PERSISTENT = process.versions.icu ? "❌" : "N ";
127148
127148
  module.exports = class PendingInterceptorsFormatter {
@@ -127152,7 +127152,7 @@ var require_pending_interceptors_formatter = __commonJS((exports, module) => {
127152
127152
  cb(null, chunk4);
127153
127153
  }
127154
127154
  });
127155
- this.logger = new Console({
127155
+ this.logger = new Console3({
127156
127156
  stdout: this.transform,
127157
127157
  inspectOptions: {
127158
127158
  colors: !disableColors && !process.env.CI
@@ -139560,7 +139560,7 @@ var handleBadArgument = (method) => (cause3) => new BadArgument({
139560
139560
  module: "FileSystem",
139561
139561
  method,
139562
139562
  cause: cause3
139563
- }), access5, copy4, copyFile2, chmod2, chown2, link3, makeDirectory, makeTempDirectoryFactory = (method) => {
139563
+ }), access5, copy4, copyFile3, chmod2, chown2, link3, makeDirectory, makeTempDirectoryFactory = (method) => {
139564
139564
  const nodeMkdtemp = effectify2(NFS2.mkdtemp, handleErrnoException("FileSystem", method), handleBadArgument(method));
139565
139565
  return (options4) => suspend3(() => {
139566
139566
  const prefix3 = options4?.prefix ?? "";
@@ -139601,7 +139601,7 @@ var handleBadArgument = (method) => (cause3) => new BadArgument({
139601
139601
  } catch (err) {
139602
139602
  resume2(fail10(handleBadArgument("readFile")(err)));
139603
139603
  }
139604
- }), readLink, realPath, rename5, makeFileInfo = (stat3) => ({
139604
+ }), readLink, realPath, rename4, makeFileInfo = (stat3) => ({
139605
139605
  type: stat3.isFile() ? "File" : stat3.isDirectory() ? "Directory" : stat3.isSymbolicLink() ? "SymbolicLink" : stat3.isBlockDevice() ? "BlockDevice" : stat3.isCharacterDevice() ? "CharacterDevice" : stat3.isFIFO() ? "FIFO" : stat3.isSocket() ? "Socket" : "Unknown",
139606
139606
  mtime: fromNullable2(stat3.mtime),
139607
139607
  atime: fromNullable2(stat3.atime),
@@ -139703,7 +139703,7 @@ var init_fileSystem2 = __esm(() => {
139703
139703
  recursive: true
139704
139704
  });
139705
139705
  })();
139706
- copyFile2 = /* @__PURE__ */ (() => {
139706
+ copyFile3 = /* @__PURE__ */ (() => {
139707
139707
  const nodeCopyFile = /* @__PURE__ */ effectify2(NFS2.copyFile, /* @__PURE__ */ handleErrnoException("FileSystem", "copyFile"), /* @__PURE__ */ handleBadArgument("copyFile"));
139708
139708
  return (fromPath, toPath) => nodeCopyFile(fromPath, toPath);
139709
139709
  })();
@@ -139861,7 +139861,7 @@ var init_fileSystem2 = __esm(() => {
139861
139861
  const nodeRealPath = /* @__PURE__ */ effectify2(NFS2.realpath, /* @__PURE__ */ handleErrnoException("FileSystem", "realPath"), /* @__PURE__ */ handleBadArgument("realPath"));
139862
139862
  return (path14) => nodeRealPath(path14);
139863
139863
  })();
139864
- rename5 = /* @__PURE__ */ (() => {
139864
+ rename4 = /* @__PURE__ */ (() => {
139865
139865
  const nodeRename = /* @__PURE__ */ effectify2(NFS2.rename, /* @__PURE__ */ handleErrnoException("FileSystem", "rename"), /* @__PURE__ */ handleBadArgument("rename"));
139866
139866
  return (oldPath, newPath) => nodeRename(oldPath, newPath);
139867
139867
  })();
@@ -139886,7 +139886,7 @@ var init_fileSystem2 = __esm(() => {
139886
139886
  chmod: chmod2,
139887
139887
  chown: chown2,
139888
139888
  copy: copy4,
139889
- copyFile: copyFile2,
139889
+ copyFile: copyFile3,
139890
139890
  link: link3,
139891
139891
  makeDirectory,
139892
139892
  makeTempDirectory,
@@ -139899,7 +139899,7 @@ var init_fileSystem2 = __esm(() => {
139899
139899
  readLink,
139900
139900
  realPath,
139901
139901
  remove: remove21,
139902
- rename: rename5,
139902
+ rename: rename4,
139903
139903
  stat: stat3,
139904
139904
  symlink: symlink2,
139905
139905
  truncate: truncate3,
@@ -351783,6 +351783,1674 @@ var require_dist3 = __commonJS((exports, module) => {
351783
351783
  });
351784
351784
  });
351785
351785
 
351786
+ // ../../node_modules/cli-table3/src/debug.js
351787
+ var require_debug2 = __commonJS((exports, module) => {
351788
+ var messages2 = [];
351789
+ var level = 0;
351790
+ var debug4 = (msg, min7) => {
351791
+ if (level >= min7) {
351792
+ messages2.push(msg);
351793
+ }
351794
+ };
351795
+ debug4.WARN = 1;
351796
+ debug4.INFO = 2;
351797
+ debug4.DEBUG = 3;
351798
+ debug4.reset = () => {
351799
+ messages2 = [];
351800
+ };
351801
+ debug4.setDebugLevel = (v11) => {
351802
+ level = v11;
351803
+ };
351804
+ debug4.warn = (msg) => debug4(msg, debug4.WARN);
351805
+ debug4.info = (msg) => debug4(msg, debug4.INFO);
351806
+ debug4.debug = (msg) => debug4(msg, debug4.DEBUG);
351807
+ debug4.debugMessages = () => messages2;
351808
+ module.exports = debug4;
351809
+ });
351810
+
351811
+ // ../../node_modules/cli-table3/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/index.js
351812
+ var require_ansi_regex2 = __commonJS((exports, module) => {
351813
+ module.exports = ({ onlyFirst = false } = {}) => {
351814
+ const pattern2 = [
351815
+ "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
351816
+ "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
351817
+ ].join("|");
351818
+ return new RegExp(pattern2, onlyFirst ? undefined : "g");
351819
+ };
351820
+ });
351821
+
351822
+ // ../../node_modules/cli-table3/node_modules/string-width/node_modules/strip-ansi/index.js
351823
+ var require_strip_ansi2 = __commonJS((exports, module) => {
351824
+ var ansiRegex2 = require_ansi_regex2();
351825
+ module.exports = (string16) => typeof string16 === "string" ? string16.replace(ansiRegex2(), "") : string16;
351826
+ });
351827
+
351828
+ // ../../node_modules/cli-table3/node_modules/string-width/node_modules/emoji-regex/index.js
351829
+ var require_emoji_regex3 = __commonJS((exports, module) => {
351830
+ module.exports = function() {
351831
+ return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
351832
+ };
351833
+ });
351834
+
351835
+ // ../../node_modules/cli-table3/node_modules/string-width/index.js
351836
+ var require_string_width2 = __commonJS((exports, module) => {
351837
+ var stripAnsi2 = require_strip_ansi2();
351838
+ var isFullwidthCodePoint = require_is_fullwidth_code_point();
351839
+ var emojiRegex4 = require_emoji_regex3();
351840
+ var stringWidth2 = (string16) => {
351841
+ if (typeof string16 !== "string" || string16.length === 0) {
351842
+ return 0;
351843
+ }
351844
+ string16 = stripAnsi2(string16);
351845
+ if (string16.length === 0) {
351846
+ return 0;
351847
+ }
351848
+ string16 = string16.replace(emojiRegex4(), " ");
351849
+ let width3 = 0;
351850
+ for (let i10 = 0;i10 < string16.length; i10++) {
351851
+ const code3 = string16.codePointAt(i10);
351852
+ if (code3 <= 31 || code3 >= 127 && code3 <= 159) {
351853
+ continue;
351854
+ }
351855
+ if (code3 >= 768 && code3 <= 879) {
351856
+ continue;
351857
+ }
351858
+ if (code3 > 65535) {
351859
+ i10++;
351860
+ }
351861
+ width3 += isFullwidthCodePoint(code3) ? 2 : 1;
351862
+ }
351863
+ return width3;
351864
+ };
351865
+ module.exports = stringWidth2;
351866
+ module.exports.default = stringWidth2;
351867
+ });
351868
+
351869
+ // ../../node_modules/cli-table3/src/utils.js
351870
+ var require_utils9 = __commonJS((exports, module) => {
351871
+ var stringWidth2 = require_string_width2();
351872
+ function codeRegex(capture2) {
351873
+ return capture2 ? /\u001b\[((?:\d*;){0,5}\d*)m/g : /\u001b\[(?:\d*;){0,5}\d*m/g;
351874
+ }
351875
+ function strlen(str) {
351876
+ let code3 = codeRegex();
351877
+ let stripped = ("" + str).replace(code3, "");
351878
+ let split6 = stripped.split(`
351879
+ `);
351880
+ return split6.reduce(function(memo, s10) {
351881
+ return stringWidth2(s10) > memo ? stringWidth2(s10) : memo;
351882
+ }, 0);
351883
+ }
351884
+ function repeat6(str, times2) {
351885
+ return Array(times2 + 1).join(str);
351886
+ }
351887
+ function pad2(str, len, pad3, dir2) {
351888
+ let length5 = strlen(str);
351889
+ if (len + 1 >= length5) {
351890
+ let padlen = len - length5;
351891
+ switch (dir2) {
351892
+ case "right": {
351893
+ str = repeat6(pad3, padlen) + str;
351894
+ break;
351895
+ }
351896
+ case "center": {
351897
+ let right3 = Math.ceil(padlen / 2);
351898
+ let left3 = padlen - right3;
351899
+ str = repeat6(pad3, left3) + str + repeat6(pad3, right3);
351900
+ break;
351901
+ }
351902
+ default: {
351903
+ str = str + repeat6(pad3, padlen);
351904
+ break;
351905
+ }
351906
+ }
351907
+ }
351908
+ return str;
351909
+ }
351910
+ var codeCache = {};
351911
+ function addToCodeCache(name17, on3, off) {
351912
+ on3 = "\x1B[" + on3 + "m";
351913
+ off = "\x1B[" + off + "m";
351914
+ codeCache[on3] = { set: name17, to: true };
351915
+ codeCache[off] = { set: name17, to: false };
351916
+ codeCache[name17] = { on: on3, off };
351917
+ }
351918
+ addToCodeCache("bold", 1, 22);
351919
+ addToCodeCache("italics", 3, 23);
351920
+ addToCodeCache("underline", 4, 24);
351921
+ addToCodeCache("inverse", 7, 27);
351922
+ addToCodeCache("strikethrough", 9, 29);
351923
+ function updateState(state2, controlChars) {
351924
+ let controlCode = controlChars[1] ? parseInt(controlChars[1].split(";")[0]) : 0;
351925
+ if (controlCode >= 30 && controlCode <= 39 || controlCode >= 90 && controlCode <= 97) {
351926
+ state2.lastForegroundAdded = controlChars[0];
351927
+ return;
351928
+ }
351929
+ if (controlCode >= 40 && controlCode <= 49 || controlCode >= 100 && controlCode <= 107) {
351930
+ state2.lastBackgroundAdded = controlChars[0];
351931
+ return;
351932
+ }
351933
+ if (controlCode === 0) {
351934
+ for (let i10 in state2) {
351935
+ if (Object.prototype.hasOwnProperty.call(state2, i10)) {
351936
+ delete state2[i10];
351937
+ }
351938
+ }
351939
+ return;
351940
+ }
351941
+ let info2 = codeCache[controlChars[0]];
351942
+ if (info2) {
351943
+ state2[info2.set] = info2.to;
351944
+ }
351945
+ }
351946
+ function readState(line4) {
351947
+ let code3 = codeRegex(true);
351948
+ let controlChars = code3.exec(line4);
351949
+ let state2 = {};
351950
+ while (controlChars !== null) {
351951
+ updateState(state2, controlChars);
351952
+ controlChars = code3.exec(line4);
351953
+ }
351954
+ return state2;
351955
+ }
351956
+ function unwindState(state2, ret) {
351957
+ let lastBackgroundAdded = state2.lastBackgroundAdded;
351958
+ let lastForegroundAdded = state2.lastForegroundAdded;
351959
+ delete state2.lastBackgroundAdded;
351960
+ delete state2.lastForegroundAdded;
351961
+ Object.keys(state2).forEach(function(key2) {
351962
+ if (state2[key2]) {
351963
+ ret += codeCache[key2].off;
351964
+ }
351965
+ });
351966
+ if (lastBackgroundAdded && lastBackgroundAdded != "\x1B[49m") {
351967
+ ret += "\x1B[49m";
351968
+ }
351969
+ if (lastForegroundAdded && lastForegroundAdded != "\x1B[39m") {
351970
+ ret += "\x1B[39m";
351971
+ }
351972
+ return ret;
351973
+ }
351974
+ function rewindState(state2, ret) {
351975
+ let lastBackgroundAdded = state2.lastBackgroundAdded;
351976
+ let lastForegroundAdded = state2.lastForegroundAdded;
351977
+ delete state2.lastBackgroundAdded;
351978
+ delete state2.lastForegroundAdded;
351979
+ Object.keys(state2).forEach(function(key2) {
351980
+ if (state2[key2]) {
351981
+ ret = codeCache[key2].on + ret;
351982
+ }
351983
+ });
351984
+ if (lastBackgroundAdded && lastBackgroundAdded != "\x1B[49m") {
351985
+ ret = lastBackgroundAdded + ret;
351986
+ }
351987
+ if (lastForegroundAdded && lastForegroundAdded != "\x1B[39m") {
351988
+ ret = lastForegroundAdded + ret;
351989
+ }
351990
+ return ret;
351991
+ }
351992
+ function truncateWidth(str, desiredLength) {
351993
+ if (str.length === strlen(str)) {
351994
+ return str.substr(0, desiredLength);
351995
+ }
351996
+ while (strlen(str) > desiredLength) {
351997
+ str = str.slice(0, -1);
351998
+ }
351999
+ return str;
352000
+ }
352001
+ function truncateWidthWithAnsi(str, desiredLength) {
352002
+ let code3 = codeRegex(true);
352003
+ let split6 = str.split(codeRegex());
352004
+ let splitIndex = 0;
352005
+ let retLen = 0;
352006
+ let ret = "";
352007
+ let myArray;
352008
+ let state2 = {};
352009
+ while (retLen < desiredLength) {
352010
+ myArray = code3.exec(str);
352011
+ let toAdd = split6[splitIndex];
352012
+ splitIndex++;
352013
+ if (retLen + strlen(toAdd) > desiredLength) {
352014
+ toAdd = truncateWidth(toAdd, desiredLength - retLen);
352015
+ }
352016
+ ret += toAdd;
352017
+ retLen += strlen(toAdd);
352018
+ if (retLen < desiredLength) {
352019
+ if (!myArray) {
352020
+ break;
352021
+ }
352022
+ ret += myArray[0];
352023
+ updateState(state2, myArray);
352024
+ }
352025
+ }
352026
+ return unwindState(state2, ret);
352027
+ }
352028
+ function truncate5(str, desiredLength, truncateChar) {
352029
+ truncateChar = truncateChar || "…";
352030
+ let lengthOfStr = strlen(str);
352031
+ if (lengthOfStr <= desiredLength) {
352032
+ return str;
352033
+ }
352034
+ desiredLength -= strlen(truncateChar);
352035
+ let ret = truncateWidthWithAnsi(str, desiredLength);
352036
+ ret += truncateChar;
352037
+ const hrefTag = "\x1B]8;;\x07";
352038
+ if (str.includes(hrefTag) && !ret.includes(hrefTag)) {
352039
+ ret += hrefTag;
352040
+ }
352041
+ return ret;
352042
+ }
352043
+ function defaultOptions3() {
352044
+ return {
352045
+ chars: {
352046
+ top: "─",
352047
+ "top-mid": "┬",
352048
+ "top-left": "┌",
352049
+ "top-right": "┐",
352050
+ bottom: "─",
352051
+ "bottom-mid": "┴",
352052
+ "bottom-left": "└",
352053
+ "bottom-right": "┘",
352054
+ left: "│",
352055
+ "left-mid": "├",
352056
+ mid: "─",
352057
+ "mid-mid": "┼",
352058
+ right: "│",
352059
+ "right-mid": "┤",
352060
+ middle: "│"
352061
+ },
352062
+ truncate: "…",
352063
+ colWidths: [],
352064
+ rowHeights: [],
352065
+ colAligns: [],
352066
+ rowAligns: [],
352067
+ style: {
352068
+ "padding-left": 1,
352069
+ "padding-right": 1,
352070
+ head: ["red"],
352071
+ border: ["grey"],
352072
+ compact: false
352073
+ },
352074
+ head: []
352075
+ };
352076
+ }
352077
+ function mergeOptions2(options6, defaults3) {
352078
+ options6 = options6 || {};
352079
+ defaults3 = defaults3 || defaultOptions3();
352080
+ let ret = Object.assign({}, defaults3, options6);
352081
+ ret.chars = Object.assign({}, defaults3.chars, options6.chars);
352082
+ ret.style = Object.assign({}, defaults3.style, options6.style);
352083
+ return ret;
352084
+ }
352085
+ function wordWrap(maxLength2, input2) {
352086
+ let lines3 = [];
352087
+ let split6 = input2.split(/(\s+)/g);
352088
+ let line4 = [];
352089
+ let lineLength = 0;
352090
+ let whitespace;
352091
+ for (let i10 = 0;i10 < split6.length; i10 += 2) {
352092
+ let word = split6[i10];
352093
+ let newLength = lineLength + strlen(word);
352094
+ if (lineLength > 0 && whitespace) {
352095
+ newLength += whitespace.length;
352096
+ }
352097
+ if (newLength > maxLength2) {
352098
+ if (lineLength !== 0) {
352099
+ lines3.push(line4.join(""));
352100
+ }
352101
+ line4 = [word];
352102
+ lineLength = strlen(word);
352103
+ } else {
352104
+ line4.push(whitespace || "", word);
352105
+ lineLength = newLength;
352106
+ }
352107
+ whitespace = split6[i10 + 1];
352108
+ }
352109
+ if (lineLength) {
352110
+ lines3.push(line4.join(""));
352111
+ }
352112
+ return lines3;
352113
+ }
352114
+ function textWrap(maxLength2, input2) {
352115
+ let lines3 = [];
352116
+ let line4 = "";
352117
+ function pushLine(str, ws2) {
352118
+ if (line4.length && ws2)
352119
+ line4 += ws2;
352120
+ line4 += str;
352121
+ while (line4.length > maxLength2) {
352122
+ lines3.push(line4.slice(0, maxLength2));
352123
+ line4 = line4.slice(maxLength2);
352124
+ }
352125
+ }
352126
+ let split6 = input2.split(/(\s+)/g);
352127
+ for (let i10 = 0;i10 < split6.length; i10 += 2) {
352128
+ pushLine(split6[i10], i10 && split6[i10 - 1]);
352129
+ }
352130
+ if (line4.length)
352131
+ lines3.push(line4);
352132
+ return lines3;
352133
+ }
352134
+ function multiLineWordWrap(maxLength2, input2, wrapOnWordBoundary = true) {
352135
+ let output2 = [];
352136
+ input2 = input2.split(`
352137
+ `);
352138
+ const handler2 = wrapOnWordBoundary ? wordWrap : textWrap;
352139
+ for (let i10 = 0;i10 < input2.length; i10++) {
352140
+ output2.push.apply(output2, handler2(maxLength2, input2[i10]));
352141
+ }
352142
+ return output2;
352143
+ }
352144
+ function colorizeLines(input2) {
352145
+ let state2 = {};
352146
+ let output2 = [];
352147
+ for (let i10 = 0;i10 < input2.length; i10++) {
352148
+ let line4 = rewindState(state2, input2[i10]);
352149
+ state2 = readState(line4);
352150
+ let temp = Object.assign({}, state2);
352151
+ output2.push(unwindState(temp, line4));
352152
+ }
352153
+ return output2;
352154
+ }
352155
+ function hyperlink(url3, text19) {
352156
+ const OSC = "\x1B]";
352157
+ const BEL = "\x07";
352158
+ const SEP = ";";
352159
+ return [OSC, "8", SEP, SEP, url3 || text19, BEL, text19, OSC, "8", SEP, SEP, BEL].join("");
352160
+ }
352161
+ module.exports = {
352162
+ strlen,
352163
+ repeat: repeat6,
352164
+ pad: pad2,
352165
+ truncate: truncate5,
352166
+ mergeOptions: mergeOptions2,
352167
+ wordWrap: multiLineWordWrap,
352168
+ colorizeLines,
352169
+ hyperlink
352170
+ };
352171
+ });
352172
+
352173
+ // ../../node_modules/@colors/colors/lib/styles.js
352174
+ var require_styles = __commonJS((exports, module) => {
352175
+ var styles3 = {};
352176
+ module["exports"] = styles3;
352177
+ var codes2 = {
352178
+ reset: [0, 0],
352179
+ bold: [1, 22],
352180
+ dim: [2, 22],
352181
+ italic: [3, 23],
352182
+ underline: [4, 24],
352183
+ inverse: [7, 27],
352184
+ hidden: [8, 28],
352185
+ strikethrough: [9, 29],
352186
+ black: [30, 39],
352187
+ red: [31, 39],
352188
+ green: [32, 39],
352189
+ yellow: [33, 39],
352190
+ blue: [34, 39],
352191
+ magenta: [35, 39],
352192
+ cyan: [36, 39],
352193
+ white: [37, 39],
352194
+ gray: [90, 39],
352195
+ grey: [90, 39],
352196
+ brightRed: [91, 39],
352197
+ brightGreen: [92, 39],
352198
+ brightYellow: [93, 39],
352199
+ brightBlue: [94, 39],
352200
+ brightMagenta: [95, 39],
352201
+ brightCyan: [96, 39],
352202
+ brightWhite: [97, 39],
352203
+ bgBlack: [40, 49],
352204
+ bgRed: [41, 49],
352205
+ bgGreen: [42, 49],
352206
+ bgYellow: [43, 49],
352207
+ bgBlue: [44, 49],
352208
+ bgMagenta: [45, 49],
352209
+ bgCyan: [46, 49],
352210
+ bgWhite: [47, 49],
352211
+ bgGray: [100, 49],
352212
+ bgGrey: [100, 49],
352213
+ bgBrightRed: [101, 49],
352214
+ bgBrightGreen: [102, 49],
352215
+ bgBrightYellow: [103, 49],
352216
+ bgBrightBlue: [104, 49],
352217
+ bgBrightMagenta: [105, 49],
352218
+ bgBrightCyan: [106, 49],
352219
+ bgBrightWhite: [107, 49],
352220
+ blackBG: [40, 49],
352221
+ redBG: [41, 49],
352222
+ greenBG: [42, 49],
352223
+ yellowBG: [43, 49],
352224
+ blueBG: [44, 49],
352225
+ magentaBG: [45, 49],
352226
+ cyanBG: [46, 49],
352227
+ whiteBG: [47, 49]
352228
+ };
352229
+ Object.keys(codes2).forEach(function(key2) {
352230
+ var val = codes2[key2];
352231
+ var style = styles3[key2] = [];
352232
+ style.open = "\x1B[" + val[0] + "m";
352233
+ style.close = "\x1B[" + val[1] + "m";
352234
+ });
352235
+ });
352236
+
352237
+ // ../../node_modules/@colors/colors/lib/system/has-flag.js
352238
+ var require_has_flag = __commonJS((exports, module) => {
352239
+ module.exports = function(flag, argv) {
352240
+ argv = argv || process.argv;
352241
+ var terminatorPos = argv.indexOf("--");
352242
+ var prefix3 = /^-{1,2}/.test(flag) ? "" : "--";
352243
+ var pos = argv.indexOf(prefix3 + flag);
352244
+ return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
352245
+ };
352246
+ });
352247
+
352248
+ // ../../node_modules/@colors/colors/lib/system/supports-colors.js
352249
+ var require_supports_colors = __commonJS((exports, module) => {
352250
+ var os11 = __require("os");
352251
+ var hasFlag3 = require_has_flag();
352252
+ var env8 = process.env;
352253
+ var forceColor = undefined;
352254
+ if (hasFlag3("no-color") || hasFlag3("no-colors") || hasFlag3("color=false")) {
352255
+ forceColor = false;
352256
+ } else if (hasFlag3("color") || hasFlag3("colors") || hasFlag3("color=true") || hasFlag3("color=always")) {
352257
+ forceColor = true;
352258
+ }
352259
+ if ("FORCE_COLOR" in env8) {
352260
+ forceColor = env8.FORCE_COLOR.length === 0 || parseInt(env8.FORCE_COLOR, 10) !== 0;
352261
+ }
352262
+ function translateLevel3(level) {
352263
+ if (level === 0) {
352264
+ return false;
352265
+ }
352266
+ return {
352267
+ level,
352268
+ hasBasic: true,
352269
+ has256: level >= 2,
352270
+ has16m: level >= 3
352271
+ };
352272
+ }
352273
+ function supportsColor3(stream12) {
352274
+ if (forceColor === false) {
352275
+ return 0;
352276
+ }
352277
+ if (hasFlag3("color=16m") || hasFlag3("color=full") || hasFlag3("color=truecolor")) {
352278
+ return 3;
352279
+ }
352280
+ if (hasFlag3("color=256")) {
352281
+ return 2;
352282
+ }
352283
+ if (stream12 && !stream12.isTTY && forceColor !== true) {
352284
+ return 0;
352285
+ }
352286
+ var min7 = forceColor ? 1 : 0;
352287
+ if (process.platform === "win32") {
352288
+ var osRelease = os11.release().split(".");
352289
+ if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
352290
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
352291
+ }
352292
+ return 1;
352293
+ }
352294
+ if ("CI" in env8) {
352295
+ if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some(function(sign3) {
352296
+ return sign3 in env8;
352297
+ }) || env8.CI_NAME === "codeship") {
352298
+ return 1;
352299
+ }
352300
+ return min7;
352301
+ }
352302
+ if ("TEAMCITY_VERSION" in env8) {
352303
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env8.TEAMCITY_VERSION) ? 1 : 0;
352304
+ }
352305
+ if ("TERM_PROGRAM" in env8) {
352306
+ var version5 = parseInt((env8.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
352307
+ switch (env8.TERM_PROGRAM) {
352308
+ case "iTerm.app":
352309
+ return version5 >= 3 ? 3 : 2;
352310
+ case "Hyper":
352311
+ return 3;
352312
+ case "Apple_Terminal":
352313
+ return 2;
352314
+ }
352315
+ }
352316
+ if (/-256(color)?$/i.test(env8.TERM)) {
352317
+ return 2;
352318
+ }
352319
+ if (/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(env8.TERM)) {
352320
+ return 1;
352321
+ }
352322
+ if ("COLORTERM" in env8) {
352323
+ return 1;
352324
+ }
352325
+ if (env8.TERM === "dumb") {
352326
+ return min7;
352327
+ }
352328
+ return min7;
352329
+ }
352330
+ function getSupportLevel(stream12) {
352331
+ var level = supportsColor3(stream12);
352332
+ return translateLevel3(level);
352333
+ }
352334
+ module.exports = {
352335
+ supportsColor: getSupportLevel,
352336
+ stdout: getSupportLevel(process.stdout),
352337
+ stderr: getSupportLevel(process.stderr)
352338
+ };
352339
+ });
352340
+
352341
+ // ../../node_modules/@colors/colors/lib/custom/trap.js
352342
+ var require_trap = __commonJS((exports, module) => {
352343
+ module["exports"] = function runTheTrap(text19, options6) {
352344
+ var result2 = "";
352345
+ text19 = text19 || "Run the trap, drop the bass";
352346
+ text19 = text19.split("");
352347
+ var trap = {
352348
+ a: ["@", "Ą", "Ⱥ", "Ʌ", "Δ", "Λ", "Д"],
352349
+ b: ["ß", "Ɓ", "Ƀ", "ɮ", "β", "฿"],
352350
+ c: ["©", "Ȼ", "Ͼ"],
352351
+ d: ["Ð", "Ɗ", "Ԁ", "ԁ", "Ԃ", "ԃ"],
352352
+ e: [
352353
+ "Ë",
352354
+ "ĕ",
352355
+ "Ǝ",
352356
+ "ɘ",
352357
+ "Σ",
352358
+ "ξ",
352359
+ "Ҽ",
352360
+ "੬"
352361
+ ],
352362
+ f: ["Ӻ"],
352363
+ g: ["ɢ"],
352364
+ h: ["Ħ", "ƕ", "Ң", "Һ", "Ӈ", "Ԋ"],
352365
+ i: ["༏"],
352366
+ j: ["Ĵ"],
352367
+ k: ["ĸ", "Ҡ", "Ӄ", "Ԟ"],
352368
+ l: ["Ĺ"],
352369
+ m: ["ʍ", "Ӎ", "ӎ", "Ԡ", "ԡ", "൩"],
352370
+ n: ["Ñ", "ŋ", "Ɲ", "Ͷ", "Π", "Ҋ"],
352371
+ o: [
352372
+ "Ø",
352373
+ "õ",
352374
+ "ø",
352375
+ "Ǿ",
352376
+ "ʘ",
352377
+ "Ѻ",
352378
+ "ם",
352379
+ "۝",
352380
+ "๏"
352381
+ ],
352382
+ p: ["Ƿ", "Ҏ"],
352383
+ q: ["্"],
352384
+ r: ["®", "Ʀ", "Ȑ", "Ɍ", "ʀ", "Я"],
352385
+ s: ["§", "Ϟ", "ϟ", "Ϩ"],
352386
+ t: ["Ł", "Ŧ", "ͳ"],
352387
+ u: ["Ʊ", "Ս"],
352388
+ v: ["ט"],
352389
+ w: ["Ш", "Ѡ", "Ѽ", "൰"],
352390
+ x: ["Ҳ", "Ӿ", "Ӽ", "ӽ"],
352391
+ y: ["¥", "Ұ", "Ӌ"],
352392
+ z: ["Ƶ", "ɀ"]
352393
+ };
352394
+ text19.forEach(function(c11) {
352395
+ c11 = c11.toLowerCase();
352396
+ var chars3 = trap[c11] || [" "];
352397
+ var rand = Math.floor(Math.random() * chars3.length);
352398
+ if (typeof trap[c11] !== "undefined") {
352399
+ result2 += trap[c11][rand];
352400
+ } else {
352401
+ result2 += c11;
352402
+ }
352403
+ });
352404
+ return result2;
352405
+ };
352406
+ });
352407
+
352408
+ // ../../node_modules/@colors/colors/lib/custom/zalgo.js
352409
+ var require_zalgo = __commonJS((exports, module) => {
352410
+ module["exports"] = function zalgo(text19, options6) {
352411
+ text19 = text19 || " he is here ";
352412
+ var soul = {
352413
+ up: [
352414
+ "̍",
352415
+ "̎",
352416
+ "̄",
352417
+ "̅",
352418
+ "̿",
352419
+ "̑",
352420
+ "̆",
352421
+ "̐",
352422
+ "͒",
352423
+ "͗",
352424
+ "͑",
352425
+ "̇",
352426
+ "̈",
352427
+ "̊",
352428
+ "͂",
352429
+ "̓",
352430
+ "̈",
352431
+ "͊",
352432
+ "͋",
352433
+ "͌",
352434
+ "̃",
352435
+ "̂",
352436
+ "̌",
352437
+ "͐",
352438
+ "̀",
352439
+ "́",
352440
+ "̋",
352441
+ "̏",
352442
+ "̒",
352443
+ "̓",
352444
+ "̔",
352445
+ "̽",
352446
+ "̉",
352447
+ "ͣ",
352448
+ "ͤ",
352449
+ "ͥ",
352450
+ "ͦ",
352451
+ "ͧ",
352452
+ "ͨ",
352453
+ "ͩ",
352454
+ "ͪ",
352455
+ "ͫ",
352456
+ "ͬ",
352457
+ "ͭ",
352458
+ "ͮ",
352459
+ "ͯ",
352460
+ "̾",
352461
+ "͛",
352462
+ "͆",
352463
+ "̚"
352464
+ ],
352465
+ down: [
352466
+ "̖",
352467
+ "̗",
352468
+ "̘",
352469
+ "̙",
352470
+ "̜",
352471
+ "̝",
352472
+ "̞",
352473
+ "̟",
352474
+ "̠",
352475
+ "̤",
352476
+ "̥",
352477
+ "̦",
352478
+ "̩",
352479
+ "̪",
352480
+ "̫",
352481
+ "̬",
352482
+ "̭",
352483
+ "̮",
352484
+ "̯",
352485
+ "̰",
352486
+ "̱",
352487
+ "̲",
352488
+ "̳",
352489
+ "̹",
352490
+ "̺",
352491
+ "̻",
352492
+ "̼",
352493
+ "ͅ",
352494
+ "͇",
352495
+ "͈",
352496
+ "͉",
352497
+ "͍",
352498
+ "͎",
352499
+ "͓",
352500
+ "͔",
352501
+ "͕",
352502
+ "͖",
352503
+ "͙",
352504
+ "͚",
352505
+ "̣"
352506
+ ],
352507
+ mid: [
352508
+ "̕",
352509
+ "̛",
352510
+ "̀",
352511
+ "́",
352512
+ "͘",
352513
+ "̡",
352514
+ "̢",
352515
+ "̧",
352516
+ "̨",
352517
+ "̴",
352518
+ "̵",
352519
+ "̶",
352520
+ "͜",
352521
+ "͝",
352522
+ "͞",
352523
+ "͟",
352524
+ "͠",
352525
+ "͢",
352526
+ "̸",
352527
+ "̷",
352528
+ "͡",
352529
+ " ҉"
352530
+ ]
352531
+ };
352532
+ var all20 = [].concat(soul.up, soul.down, soul.mid);
352533
+ function randomNumber(range6) {
352534
+ var r10 = Math.floor(Math.random() * range6);
352535
+ return r10;
352536
+ }
352537
+ function isChar3(character) {
352538
+ var bool = false;
352539
+ all20.filter(function(i10) {
352540
+ bool = i10 === character;
352541
+ });
352542
+ return bool;
352543
+ }
352544
+ function heComes(text20, options7) {
352545
+ var result2 = "";
352546
+ var counts;
352547
+ var l9;
352548
+ options7 = options7 || {};
352549
+ options7["up"] = typeof options7["up"] !== "undefined" ? options7["up"] : true;
352550
+ options7["mid"] = typeof options7["mid"] !== "undefined" ? options7["mid"] : true;
352551
+ options7["down"] = typeof options7["down"] !== "undefined" ? options7["down"] : true;
352552
+ options7["size"] = typeof options7["size"] !== "undefined" ? options7["size"] : "maxi";
352553
+ text20 = text20.split("");
352554
+ for (l9 in text20) {
352555
+ if (isChar3(l9)) {
352556
+ continue;
352557
+ }
352558
+ result2 = result2 + text20[l9];
352559
+ counts = { up: 0, down: 0, mid: 0 };
352560
+ switch (options7.size) {
352561
+ case "mini":
352562
+ counts.up = randomNumber(8);
352563
+ counts.mid = randomNumber(2);
352564
+ counts.down = randomNumber(8);
352565
+ break;
352566
+ case "maxi":
352567
+ counts.up = randomNumber(16) + 3;
352568
+ counts.mid = randomNumber(4) + 1;
352569
+ counts.down = randomNumber(64) + 3;
352570
+ break;
352571
+ default:
352572
+ counts.up = randomNumber(8) + 1;
352573
+ counts.mid = randomNumber(6) / 2;
352574
+ counts.down = randomNumber(8) + 1;
352575
+ break;
352576
+ }
352577
+ var arr = ["up", "mid", "down"];
352578
+ for (var d11 in arr) {
352579
+ var index3 = arr[d11];
352580
+ for (var i10 = 0;i10 <= counts[index3]; i10++) {
352581
+ if (options7[index3]) {
352582
+ result2 = result2 + soul[index3][randomNumber(soul[index3].length)];
352583
+ }
352584
+ }
352585
+ }
352586
+ }
352587
+ return result2;
352588
+ }
352589
+ return heComes(text19, options6);
352590
+ };
352591
+ });
352592
+
352593
+ // ../../node_modules/@colors/colors/lib/maps/america.js
352594
+ var require_america = __commonJS((exports, module) => {
352595
+ module["exports"] = function(colors5) {
352596
+ return function(letter, i10, exploded) {
352597
+ if (letter === " ")
352598
+ return letter;
352599
+ switch (i10 % 3) {
352600
+ case 0:
352601
+ return colors5.red(letter);
352602
+ case 1:
352603
+ return colors5.white(letter);
352604
+ case 2:
352605
+ return colors5.blue(letter);
352606
+ }
352607
+ };
352608
+ };
352609
+ });
352610
+
352611
+ // ../../node_modules/@colors/colors/lib/maps/zebra.js
352612
+ var require_zebra = __commonJS((exports, module) => {
352613
+ module["exports"] = function(colors5) {
352614
+ return function(letter, i10, exploded) {
352615
+ return i10 % 2 === 0 ? letter : colors5.inverse(letter);
352616
+ };
352617
+ };
352618
+ });
352619
+
352620
+ // ../../node_modules/@colors/colors/lib/maps/rainbow.js
352621
+ var require_rainbow = __commonJS((exports, module) => {
352622
+ module["exports"] = function(colors5) {
352623
+ var rainbowColors = ["red", "yellow", "green", "blue", "magenta"];
352624
+ return function(letter, i10, exploded) {
352625
+ if (letter === " ") {
352626
+ return letter;
352627
+ } else {
352628
+ return colors5[rainbowColors[i10++ % rainbowColors.length]](letter);
352629
+ }
352630
+ };
352631
+ };
352632
+ });
352633
+
352634
+ // ../../node_modules/@colors/colors/lib/maps/random.js
352635
+ var require_random = __commonJS((exports, module) => {
352636
+ module["exports"] = function(colors5) {
352637
+ var available2 = [
352638
+ "underline",
352639
+ "inverse",
352640
+ "grey",
352641
+ "yellow",
352642
+ "red",
352643
+ "green",
352644
+ "blue",
352645
+ "white",
352646
+ "cyan",
352647
+ "magenta",
352648
+ "brightYellow",
352649
+ "brightRed",
352650
+ "brightGreen",
352651
+ "brightBlue",
352652
+ "brightWhite",
352653
+ "brightCyan",
352654
+ "brightMagenta"
352655
+ ];
352656
+ return function(letter, i10, exploded) {
352657
+ return letter === " " ? letter : colors5[available2[Math.round(Math.random() * (available2.length - 2))]](letter);
352658
+ };
352659
+ };
352660
+ });
352661
+
352662
+ // ../../node_modules/@colors/colors/lib/colors.js
352663
+ var require_colors = __commonJS((exports, module) => {
352664
+ var colors5 = {};
352665
+ module["exports"] = colors5;
352666
+ colors5.themes = {};
352667
+ var util4 = __require("util");
352668
+ var ansiStyles2 = colors5.styles = require_styles();
352669
+ var defineProps = Object.defineProperties;
352670
+ var newLineRegex = new RegExp(/[\r\n]+/g);
352671
+ colors5.supportsColor = require_supports_colors().supportsColor;
352672
+ if (typeof colors5.enabled === "undefined") {
352673
+ colors5.enabled = colors5.supportsColor() !== false;
352674
+ }
352675
+ colors5.enable = function() {
352676
+ colors5.enabled = true;
352677
+ };
352678
+ colors5.disable = function() {
352679
+ colors5.enabled = false;
352680
+ };
352681
+ colors5.stripColors = colors5.strip = function(str) {
352682
+ return ("" + str).replace(/\x1B\[\d+m/g, "");
352683
+ };
352684
+ var stylize = colors5.stylize = function stylize(str, style) {
352685
+ if (!colors5.enabled) {
352686
+ return str + "";
352687
+ }
352688
+ var styleMap = ansiStyles2[style];
352689
+ if (!styleMap && style in colors5) {
352690
+ return colors5[style](str);
352691
+ }
352692
+ return styleMap.open + str + styleMap.close;
352693
+ };
352694
+ var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
352695
+ var escapeStringRegexp2 = function(str) {
352696
+ if (typeof str !== "string") {
352697
+ throw new TypeError("Expected a string");
352698
+ }
352699
+ return str.replace(matchOperatorsRe, "\\$&");
352700
+ };
352701
+ function build5(_styles) {
352702
+ var builder = function builder() {
352703
+ return applyStyle2.apply(builder, arguments);
352704
+ };
352705
+ builder._styles = _styles;
352706
+ builder.__proto__ = proto27;
352707
+ return builder;
352708
+ }
352709
+ var styles3 = function() {
352710
+ var ret = {};
352711
+ ansiStyles2.grey = ansiStyles2.gray;
352712
+ Object.keys(ansiStyles2).forEach(function(key2) {
352713
+ ansiStyles2[key2].closeRe = new RegExp(escapeStringRegexp2(ansiStyles2[key2].close), "g");
352714
+ ret[key2] = {
352715
+ get: function() {
352716
+ return build5(this._styles.concat(key2));
352717
+ }
352718
+ };
352719
+ });
352720
+ return ret;
352721
+ }();
352722
+ var proto27 = defineProps(function colors() {}, styles3);
352723
+ function applyStyle2() {
352724
+ var args2 = Array.prototype.slice.call(arguments);
352725
+ var str = args2.map(function(arg) {
352726
+ if (arg != null && arg.constructor === String) {
352727
+ return arg;
352728
+ } else {
352729
+ return util4.inspect(arg);
352730
+ }
352731
+ }).join(" ");
352732
+ if (!colors5.enabled || !str) {
352733
+ return str;
352734
+ }
352735
+ var newLinesPresent = str.indexOf(`
352736
+ `) != -1;
352737
+ var nestedStyles = this._styles;
352738
+ var i10 = nestedStyles.length;
352739
+ while (i10--) {
352740
+ var code3 = ansiStyles2[nestedStyles[i10]];
352741
+ str = code3.open + str.replace(code3.closeRe, code3.open) + code3.close;
352742
+ if (newLinesPresent) {
352743
+ str = str.replace(newLineRegex, function(match33) {
352744
+ return code3.close + match33 + code3.open;
352745
+ });
352746
+ }
352747
+ }
352748
+ return str;
352749
+ }
352750
+ colors5.setTheme = function(theme) {
352751
+ if (typeof theme === "string") {
352752
+ console.log("colors.setTheme now only accepts an object, not a string. " + "If you are trying to set a theme from a file, it is now your (the " + "caller's) responsibility to require the file. The old syntax " + "looked like colors.setTheme(__dirname + " + "'/../themes/generic-logging.js'); The new syntax looks like " + "colors.setTheme(require(__dirname + " + "'/../themes/generic-logging.js'));");
352753
+ return;
352754
+ }
352755
+ for (var style in theme) {
352756
+ (function(style2) {
352757
+ colors5[style2] = function(str) {
352758
+ if (typeof theme[style2] === "object") {
352759
+ var out = str;
352760
+ for (var i10 in theme[style2]) {
352761
+ out = colors5[theme[style2][i10]](out);
352762
+ }
352763
+ return out;
352764
+ }
352765
+ return colors5[theme[style2]](str);
352766
+ };
352767
+ })(style);
352768
+ }
352769
+ };
352770
+ function init3() {
352771
+ var ret = {};
352772
+ Object.keys(styles3).forEach(function(name17) {
352773
+ ret[name17] = {
352774
+ get: function() {
352775
+ return build5([name17]);
352776
+ }
352777
+ };
352778
+ });
352779
+ return ret;
352780
+ }
352781
+ var sequencer = function sequencer(map54, str) {
352782
+ var exploded = str.split("");
352783
+ exploded = exploded.map(map54);
352784
+ return exploded.join("");
352785
+ };
352786
+ colors5.trap = require_trap();
352787
+ colors5.zalgo = require_zalgo();
352788
+ colors5.maps = {};
352789
+ colors5.maps.america = require_america()(colors5);
352790
+ colors5.maps.zebra = require_zebra()(colors5);
352791
+ colors5.maps.rainbow = require_rainbow()(colors5);
352792
+ colors5.maps.random = require_random()(colors5);
352793
+ for (map53 in colors5.maps) {
352794
+ (function(map54) {
352795
+ colors5[map54] = function(str) {
352796
+ return sequencer(colors5.maps[map54], str);
352797
+ };
352798
+ })(map53);
352799
+ }
352800
+ var map53;
352801
+ defineProps(colors5, init3());
352802
+ });
352803
+
352804
+ // ../../node_modules/@colors/colors/safe.js
352805
+ var require_safe = __commonJS((exports, module) => {
352806
+ var colors5 = require_colors();
352807
+ module["exports"] = colors5;
352808
+ });
352809
+
352810
+ // ../../node_modules/cli-table3/src/cell.js
352811
+ var require_cell = __commonJS((exports, module) => {
352812
+ var { info: info2, debug: debug4 } = require_debug2();
352813
+ var utils3 = require_utils9();
352814
+
352815
+ class Cell {
352816
+ constructor(options6) {
352817
+ this.setOptions(options6);
352818
+ this.x = null;
352819
+ this.y = null;
352820
+ }
352821
+ setOptions(options6) {
352822
+ if (["boolean", "number", "bigint", "string"].indexOf(typeof options6) !== -1) {
352823
+ options6 = { content: "" + options6 };
352824
+ }
352825
+ options6 = options6 || {};
352826
+ this.options = options6;
352827
+ let content3 = options6.content;
352828
+ if (["boolean", "number", "bigint", "string"].indexOf(typeof content3) !== -1) {
352829
+ this.content = String(content3);
352830
+ } else if (!content3) {
352831
+ this.content = this.options.href || "";
352832
+ } else {
352833
+ throw new Error("Content needs to be a primitive, got: " + typeof content3);
352834
+ }
352835
+ this.colSpan = options6.colSpan || 1;
352836
+ this.rowSpan = options6.rowSpan || 1;
352837
+ if (this.options.href) {
352838
+ Object.defineProperty(this, "href", {
352839
+ get() {
352840
+ return this.options.href;
352841
+ }
352842
+ });
352843
+ }
352844
+ }
352845
+ mergeTableOptions(tableOptions, cells) {
352846
+ this.cells = cells;
352847
+ let optionsChars = this.options.chars || {};
352848
+ let tableChars = tableOptions.chars;
352849
+ let chars3 = this.chars = {};
352850
+ CHAR_NAMES.forEach(function(name17) {
352851
+ setOption(optionsChars, tableChars, name17, chars3);
352852
+ });
352853
+ this.truncate = this.options.truncate || tableOptions.truncate;
352854
+ let style = this.options.style = this.options.style || {};
352855
+ let tableStyle = tableOptions.style;
352856
+ setOption(style, tableStyle, "padding-left", this);
352857
+ setOption(style, tableStyle, "padding-right", this);
352858
+ this.head = style.head || tableStyle.head;
352859
+ this.border = style.border || tableStyle.border;
352860
+ this.fixedWidth = tableOptions.colWidths[this.x];
352861
+ this.lines = this.computeLines(tableOptions);
352862
+ this.desiredWidth = utils3.strlen(this.content) + this.paddingLeft + this.paddingRight;
352863
+ this.desiredHeight = this.lines.length;
352864
+ }
352865
+ computeLines(tableOptions) {
352866
+ const tableWordWrap = tableOptions.wordWrap || tableOptions.textWrap;
352867
+ const { wordWrap = tableWordWrap } = this.options;
352868
+ if (this.fixedWidth && wordWrap) {
352869
+ this.fixedWidth -= this.paddingLeft + this.paddingRight;
352870
+ if (this.colSpan) {
352871
+ let i10 = 1;
352872
+ while (i10 < this.colSpan) {
352873
+ this.fixedWidth += tableOptions.colWidths[this.x + i10];
352874
+ i10++;
352875
+ }
352876
+ }
352877
+ const { wrapOnWordBoundary: tableWrapOnWordBoundary = true } = tableOptions;
352878
+ const { wrapOnWordBoundary = tableWrapOnWordBoundary } = this.options;
352879
+ return this.wrapLines(utils3.wordWrap(this.fixedWidth, this.content, wrapOnWordBoundary));
352880
+ }
352881
+ return this.wrapLines(this.content.split(`
352882
+ `));
352883
+ }
352884
+ wrapLines(computedLines) {
352885
+ const lines3 = utils3.colorizeLines(computedLines);
352886
+ if (this.href) {
352887
+ return lines3.map((line4) => utils3.hyperlink(this.href, line4));
352888
+ }
352889
+ return lines3;
352890
+ }
352891
+ init(tableOptions) {
352892
+ let x11 = this.x;
352893
+ let y11 = this.y;
352894
+ this.widths = tableOptions.colWidths.slice(x11, x11 + this.colSpan);
352895
+ this.heights = tableOptions.rowHeights.slice(y11, y11 + this.rowSpan);
352896
+ this.width = this.widths.reduce(sumPlusOne, -1);
352897
+ this.height = this.heights.reduce(sumPlusOne, -1);
352898
+ this.hAlign = this.options.hAlign || tableOptions.colAligns[x11];
352899
+ this.vAlign = this.options.vAlign || tableOptions.rowAligns[y11];
352900
+ this.drawRight = x11 + this.colSpan == tableOptions.colWidths.length;
352901
+ }
352902
+ draw(lineNum, spanningCell) {
352903
+ if (lineNum == "top")
352904
+ return this.drawTop(this.drawRight);
352905
+ if (lineNum == "bottom")
352906
+ return this.drawBottom(this.drawRight);
352907
+ let content3 = utils3.truncate(this.content, 10, this.truncate);
352908
+ if (!lineNum) {
352909
+ info2(`${this.y}-${this.x}: ${this.rowSpan - lineNum}x${this.colSpan} Cell ${content3}`);
352910
+ } else {}
352911
+ let padLen = Math.max(this.height - this.lines.length, 0);
352912
+ let padTop;
352913
+ switch (this.vAlign) {
352914
+ case "center":
352915
+ padTop = Math.ceil(padLen / 2);
352916
+ break;
352917
+ case "bottom":
352918
+ padTop = padLen;
352919
+ break;
352920
+ default:
352921
+ padTop = 0;
352922
+ }
352923
+ if (lineNum < padTop || lineNum >= padTop + this.lines.length) {
352924
+ return this.drawEmpty(this.drawRight, spanningCell);
352925
+ }
352926
+ let forceTruncation = this.lines.length > this.height && lineNum + 1 >= this.height;
352927
+ return this.drawLine(lineNum - padTop, this.drawRight, forceTruncation, spanningCell);
352928
+ }
352929
+ drawTop(drawRight) {
352930
+ let content3 = [];
352931
+ if (this.cells) {
352932
+ this.widths.forEach(function(width3, index3) {
352933
+ content3.push(this._topLeftChar(index3));
352934
+ content3.push(utils3.repeat(this.chars[this.y == 0 ? "top" : "mid"], width3));
352935
+ }, this);
352936
+ } else {
352937
+ content3.push(this._topLeftChar(0));
352938
+ content3.push(utils3.repeat(this.chars[this.y == 0 ? "top" : "mid"], this.width));
352939
+ }
352940
+ if (drawRight) {
352941
+ content3.push(this.chars[this.y == 0 ? "topRight" : "rightMid"]);
352942
+ }
352943
+ return this.wrapWithStyleColors("border", content3.join(""));
352944
+ }
352945
+ _topLeftChar(offset2) {
352946
+ let x11 = this.x + offset2;
352947
+ let leftChar;
352948
+ if (this.y == 0) {
352949
+ leftChar = x11 == 0 ? "topLeft" : offset2 == 0 ? "topMid" : "top";
352950
+ } else {
352951
+ if (x11 == 0) {
352952
+ leftChar = "leftMid";
352953
+ } else {
352954
+ leftChar = offset2 == 0 ? "midMid" : "bottomMid";
352955
+ if (this.cells) {
352956
+ let spanAbove = this.cells[this.y - 1][x11] instanceof Cell.ColSpanCell;
352957
+ if (spanAbove) {
352958
+ leftChar = offset2 == 0 ? "topMid" : "mid";
352959
+ }
352960
+ if (offset2 == 0) {
352961
+ let i10 = 1;
352962
+ while (this.cells[this.y][x11 - i10] instanceof Cell.ColSpanCell) {
352963
+ i10++;
352964
+ }
352965
+ if (this.cells[this.y][x11 - i10] instanceof Cell.RowSpanCell) {
352966
+ leftChar = "leftMid";
352967
+ }
352968
+ }
352969
+ }
352970
+ }
352971
+ }
352972
+ return this.chars[leftChar];
352973
+ }
352974
+ wrapWithStyleColors(styleProperty, content3) {
352975
+ if (this[styleProperty] && this[styleProperty].length) {
352976
+ try {
352977
+ let colors5 = require_safe();
352978
+ for (let i10 = this[styleProperty].length - 1;i10 >= 0; i10--) {
352979
+ colors5 = colors5[this[styleProperty][i10]];
352980
+ }
352981
+ return colors5(content3);
352982
+ } catch (e10) {
352983
+ return content3;
352984
+ }
352985
+ } else {
352986
+ return content3;
352987
+ }
352988
+ }
352989
+ drawLine(lineNum, drawRight, forceTruncationSymbol, spanningCell) {
352990
+ let left3 = this.chars[this.x == 0 ? "left" : "middle"];
352991
+ if (this.x && spanningCell && this.cells) {
352992
+ let cellLeft = this.cells[this.y + spanningCell][this.x - 1];
352993
+ while (cellLeft instanceof ColSpanCell) {
352994
+ cellLeft = this.cells[cellLeft.y][cellLeft.x - 1];
352995
+ }
352996
+ if (!(cellLeft instanceof RowSpanCell)) {
352997
+ left3 = this.chars["rightMid"];
352998
+ }
352999
+ }
353000
+ let leftPadding = utils3.repeat(" ", this.paddingLeft);
353001
+ let right3 = drawRight ? this.chars["right"] : "";
353002
+ let rightPadding = utils3.repeat(" ", this.paddingRight);
353003
+ let line4 = this.lines[lineNum];
353004
+ let len = this.width - (this.paddingLeft + this.paddingRight);
353005
+ if (forceTruncationSymbol)
353006
+ line4 += this.truncate || "…";
353007
+ let content3 = utils3.truncate(line4, len, this.truncate);
353008
+ content3 = utils3.pad(content3, len, " ", this.hAlign);
353009
+ content3 = leftPadding + content3 + rightPadding;
353010
+ return this.stylizeLine(left3, content3, right3);
353011
+ }
353012
+ stylizeLine(left3, content3, right3) {
353013
+ left3 = this.wrapWithStyleColors("border", left3);
353014
+ right3 = this.wrapWithStyleColors("border", right3);
353015
+ if (this.y === 0) {
353016
+ content3 = this.wrapWithStyleColors("head", content3);
353017
+ }
353018
+ return left3 + content3 + right3;
353019
+ }
353020
+ drawBottom(drawRight) {
353021
+ let left3 = this.chars[this.x == 0 ? "bottomLeft" : "bottomMid"];
353022
+ let content3 = utils3.repeat(this.chars.bottom, this.width);
353023
+ let right3 = drawRight ? this.chars["bottomRight"] : "";
353024
+ return this.wrapWithStyleColors("border", left3 + content3 + right3);
353025
+ }
353026
+ drawEmpty(drawRight, spanningCell) {
353027
+ let left3 = this.chars[this.x == 0 ? "left" : "middle"];
353028
+ if (this.x && spanningCell && this.cells) {
353029
+ let cellLeft = this.cells[this.y + spanningCell][this.x - 1];
353030
+ while (cellLeft instanceof ColSpanCell) {
353031
+ cellLeft = this.cells[cellLeft.y][cellLeft.x - 1];
353032
+ }
353033
+ if (!(cellLeft instanceof RowSpanCell)) {
353034
+ left3 = this.chars["rightMid"];
353035
+ }
353036
+ }
353037
+ let right3 = drawRight ? this.chars["right"] : "";
353038
+ let content3 = utils3.repeat(" ", this.width);
353039
+ return this.stylizeLine(left3, content3, right3);
353040
+ }
353041
+ }
353042
+
353043
+ class ColSpanCell {
353044
+ constructor() {}
353045
+ draw(lineNum) {
353046
+ if (typeof lineNum === "number") {
353047
+ debug4(`${this.y}-${this.x}: 1x1 ColSpanCell`);
353048
+ }
353049
+ return "";
353050
+ }
353051
+ init() {}
353052
+ mergeTableOptions() {}
353053
+ }
353054
+
353055
+ class RowSpanCell {
353056
+ constructor(originalCell) {
353057
+ this.originalCell = originalCell;
353058
+ }
353059
+ init(tableOptions) {
353060
+ let y11 = this.y;
353061
+ let originalY = this.originalCell.y;
353062
+ this.cellOffset = y11 - originalY;
353063
+ this.offset = findDimension(tableOptions.rowHeights, originalY, this.cellOffset);
353064
+ }
353065
+ draw(lineNum) {
353066
+ if (lineNum == "top") {
353067
+ return this.originalCell.draw(this.offset, this.cellOffset);
353068
+ }
353069
+ if (lineNum == "bottom") {
353070
+ return this.originalCell.draw("bottom");
353071
+ }
353072
+ debug4(`${this.y}-${this.x}: 1x${this.colSpan} RowSpanCell for ${this.originalCell.content}`);
353073
+ return this.originalCell.draw(this.offset + 1 + lineNum);
353074
+ }
353075
+ mergeTableOptions() {}
353076
+ }
353077
+ function firstDefined(...args2) {
353078
+ return args2.filter((v11) => v11 !== undefined && v11 !== null).shift();
353079
+ }
353080
+ function setOption(objA, objB, nameB, targetObj) {
353081
+ let nameA = nameB.split("-");
353082
+ if (nameA.length > 1) {
353083
+ nameA[1] = nameA[1].charAt(0).toUpperCase() + nameA[1].substr(1);
353084
+ nameA = nameA.join("");
353085
+ targetObj[nameA] = firstDefined(objA[nameA], objA[nameB], objB[nameA], objB[nameB]);
353086
+ } else {
353087
+ targetObj[nameB] = firstDefined(objA[nameB], objB[nameB]);
353088
+ }
353089
+ }
353090
+ function findDimension(dimensionTable, startingIndex, span4) {
353091
+ let ret = dimensionTable[startingIndex];
353092
+ for (let i10 = 1;i10 < span4; i10++) {
353093
+ ret += 1 + dimensionTable[startingIndex + i10];
353094
+ }
353095
+ return ret;
353096
+ }
353097
+ function sumPlusOne(a10, b11) {
353098
+ return a10 + b11 + 1;
353099
+ }
353100
+ var CHAR_NAMES = [
353101
+ "top",
353102
+ "top-mid",
353103
+ "top-left",
353104
+ "top-right",
353105
+ "bottom",
353106
+ "bottom-mid",
353107
+ "bottom-left",
353108
+ "bottom-right",
353109
+ "left",
353110
+ "left-mid",
353111
+ "mid",
353112
+ "mid-mid",
353113
+ "right",
353114
+ "right-mid",
353115
+ "middle"
353116
+ ];
353117
+ module.exports = Cell;
353118
+ module.exports.ColSpanCell = ColSpanCell;
353119
+ module.exports.RowSpanCell = RowSpanCell;
353120
+ });
353121
+
353122
+ // ../../node_modules/cli-table3/src/layout-manager.js
353123
+ var require_layout_manager = __commonJS((exports, module) => {
353124
+ var { warn: warn2, debug: debug4 } = require_debug2();
353125
+ var Cell = require_cell();
353126
+ var { ColSpanCell, RowSpanCell } = Cell;
353127
+ (function() {
353128
+ function next5(alloc, col) {
353129
+ if (alloc[col] > 0) {
353130
+ return next5(alloc, col + 1);
353131
+ }
353132
+ return col;
353133
+ }
353134
+ function layoutTable(table5) {
353135
+ let alloc = {};
353136
+ table5.forEach(function(row, rowIndex) {
353137
+ let col = 0;
353138
+ row.forEach(function(cell) {
353139
+ cell.y = rowIndex;
353140
+ cell.x = rowIndex ? next5(alloc, col) : col;
353141
+ const rowSpan = cell.rowSpan || 1;
353142
+ const colSpan = cell.colSpan || 1;
353143
+ if (rowSpan > 1) {
353144
+ for (let cs = 0;cs < colSpan; cs++) {
353145
+ alloc[cell.x + cs] = rowSpan;
353146
+ }
353147
+ }
353148
+ col = cell.x + colSpan;
353149
+ });
353150
+ Object.keys(alloc).forEach((idx) => {
353151
+ alloc[idx]--;
353152
+ if (alloc[idx] < 1)
353153
+ delete alloc[idx];
353154
+ });
353155
+ });
353156
+ }
353157
+ function maxWidth(table5) {
353158
+ let mw2 = 0;
353159
+ table5.forEach(function(row) {
353160
+ row.forEach(function(cell) {
353161
+ mw2 = Math.max(mw2, cell.x + (cell.colSpan || 1));
353162
+ });
353163
+ });
353164
+ return mw2;
353165
+ }
353166
+ function maxHeight(table5) {
353167
+ return table5.length;
353168
+ }
353169
+ function cellsConflict(cell1, cell2) {
353170
+ let yMin1 = cell1.y;
353171
+ let yMax1 = cell1.y - 1 + (cell1.rowSpan || 1);
353172
+ let yMin2 = cell2.y;
353173
+ let yMax2 = cell2.y - 1 + (cell2.rowSpan || 1);
353174
+ let yConflict = !(yMin1 > yMax2 || yMin2 > yMax1);
353175
+ let xMin1 = cell1.x;
353176
+ let xMax1 = cell1.x - 1 + (cell1.colSpan || 1);
353177
+ let xMin2 = cell2.x;
353178
+ let xMax2 = cell2.x - 1 + (cell2.colSpan || 1);
353179
+ let xConflict = !(xMin1 > xMax2 || xMin2 > xMax1);
353180
+ return yConflict && xConflict;
353181
+ }
353182
+ function conflictExists(rows, x11, y11) {
353183
+ let i_max = Math.min(rows.length - 1, y11);
353184
+ let cell = { x: x11, y: y11 };
353185
+ for (let i10 = 0;i10 <= i_max; i10++) {
353186
+ let row = rows[i10];
353187
+ for (let j = 0;j < row.length; j++) {
353188
+ if (cellsConflict(cell, row[j])) {
353189
+ return true;
353190
+ }
353191
+ }
353192
+ }
353193
+ return false;
353194
+ }
353195
+ function allBlank(rows, y11, xMin, xMax) {
353196
+ for (let x11 = xMin;x11 < xMax; x11++) {
353197
+ if (conflictExists(rows, x11, y11)) {
353198
+ return false;
353199
+ }
353200
+ }
353201
+ return true;
353202
+ }
353203
+ function addRowSpanCells(table5) {
353204
+ table5.forEach(function(row, rowIndex) {
353205
+ row.forEach(function(cell) {
353206
+ for (let i10 = 1;i10 < cell.rowSpan; i10++) {
353207
+ let rowSpanCell = new RowSpanCell(cell);
353208
+ rowSpanCell.x = cell.x;
353209
+ rowSpanCell.y = cell.y + i10;
353210
+ rowSpanCell.colSpan = cell.colSpan;
353211
+ insertCell(rowSpanCell, table5[rowIndex + i10]);
353212
+ }
353213
+ });
353214
+ });
353215
+ }
353216
+ function addColSpanCells(cellRows) {
353217
+ for (let rowIndex = cellRows.length - 1;rowIndex >= 0; rowIndex--) {
353218
+ let cellColumns = cellRows[rowIndex];
353219
+ for (let columnIndex = 0;columnIndex < cellColumns.length; columnIndex++) {
353220
+ let cell = cellColumns[columnIndex];
353221
+ for (let k11 = 1;k11 < cell.colSpan; k11++) {
353222
+ let colSpanCell = new ColSpanCell;
353223
+ colSpanCell.x = cell.x + k11;
353224
+ colSpanCell.y = cell.y;
353225
+ cellColumns.splice(columnIndex + 1, 0, colSpanCell);
353226
+ }
353227
+ }
353228
+ }
353229
+ }
353230
+ function insertCell(cell, row) {
353231
+ let x11 = 0;
353232
+ while (x11 < row.length && row[x11].x < cell.x) {
353233
+ x11++;
353234
+ }
353235
+ row.splice(x11, 0, cell);
353236
+ }
353237
+ function fillInTable(table5) {
353238
+ let h_max = maxHeight(table5);
353239
+ let w_max = maxWidth(table5);
353240
+ debug4(`Max rows: ${h_max}; Max cols: ${w_max}`);
353241
+ for (let y11 = 0;y11 < h_max; y11++) {
353242
+ for (let x11 = 0;x11 < w_max; x11++) {
353243
+ if (!conflictExists(table5, x11, y11)) {
353244
+ let opts = { x: x11, y: y11, colSpan: 1, rowSpan: 1 };
353245
+ x11++;
353246
+ while (x11 < w_max && !conflictExists(table5, x11, y11)) {
353247
+ opts.colSpan++;
353248
+ x11++;
353249
+ }
353250
+ let y23 = y11 + 1;
353251
+ while (y23 < h_max && allBlank(table5, y23, opts.x, opts.x + opts.colSpan)) {
353252
+ opts.rowSpan++;
353253
+ y23++;
353254
+ }
353255
+ let cell = new Cell(opts);
353256
+ cell.x = opts.x;
353257
+ cell.y = opts.y;
353258
+ warn2(`Missing cell at ${cell.y}-${cell.x}.`);
353259
+ insertCell(cell, table5[y11]);
353260
+ }
353261
+ }
353262
+ }
353263
+ }
353264
+ function generateCells(rows) {
353265
+ return rows.map(function(row) {
353266
+ if (!Array.isArray(row)) {
353267
+ let key2 = Object.keys(row)[0];
353268
+ row = row[key2];
353269
+ if (Array.isArray(row)) {
353270
+ row = row.slice();
353271
+ row.unshift(key2);
353272
+ } else {
353273
+ row = [key2, row];
353274
+ }
353275
+ }
353276
+ return row.map(function(cell) {
353277
+ return new Cell(cell);
353278
+ });
353279
+ });
353280
+ }
353281
+ function makeTableLayout(rows) {
353282
+ let cellRows = generateCells(rows);
353283
+ layoutTable(cellRows);
353284
+ fillInTable(cellRows);
353285
+ addRowSpanCells(cellRows);
353286
+ addColSpanCells(cellRows);
353287
+ return cellRows;
353288
+ }
353289
+ module.exports = {
353290
+ makeTableLayout,
353291
+ layoutTable,
353292
+ addRowSpanCells,
353293
+ maxWidth,
353294
+ fillInTable,
353295
+ computeWidths: makeComputeWidths("colSpan", "desiredWidth", "x", 1),
353296
+ computeHeights: makeComputeWidths("rowSpan", "desiredHeight", "y", 1)
353297
+ };
353298
+ })();
353299
+ function makeComputeWidths(colSpan, desiredWidth, x11, forcedMin) {
353300
+ return function(vals, table5) {
353301
+ let result2 = [];
353302
+ let spanners = [];
353303
+ let auto3 = {};
353304
+ table5.forEach(function(row) {
353305
+ row.forEach(function(cell) {
353306
+ if ((cell[colSpan] || 1) > 1) {
353307
+ spanners.push(cell);
353308
+ } else {
353309
+ result2[cell[x11]] = Math.max(result2[cell[x11]] || 0, cell[desiredWidth] || 0, forcedMin);
353310
+ }
353311
+ });
353312
+ });
353313
+ vals.forEach(function(val, index3) {
353314
+ if (typeof val === "number") {
353315
+ result2[index3] = val;
353316
+ }
353317
+ });
353318
+ for (let k11 = spanners.length - 1;k11 >= 0; k11--) {
353319
+ let cell = spanners[k11];
353320
+ let span4 = cell[colSpan];
353321
+ let col = cell[x11];
353322
+ let existingWidth = result2[col];
353323
+ let editableCols = typeof vals[col] === "number" ? 0 : 1;
353324
+ if (typeof existingWidth === "number") {
353325
+ for (let i10 = 1;i10 < span4; i10++) {
353326
+ existingWidth += 1 + result2[col + i10];
353327
+ if (typeof vals[col + i10] !== "number") {
353328
+ editableCols++;
353329
+ }
353330
+ }
353331
+ } else {
353332
+ existingWidth = desiredWidth === "desiredWidth" ? cell.desiredWidth - 1 : 1;
353333
+ if (!auto3[col] || auto3[col] < existingWidth) {
353334
+ auto3[col] = existingWidth;
353335
+ }
353336
+ }
353337
+ if (cell[desiredWidth] > existingWidth) {
353338
+ let i10 = 0;
353339
+ while (editableCols > 0 && cell[desiredWidth] > existingWidth) {
353340
+ if (typeof vals[col + i10] !== "number") {
353341
+ let dif = Math.round((cell[desiredWidth] - existingWidth) / editableCols);
353342
+ existingWidth += dif;
353343
+ result2[col + i10] += dif;
353344
+ editableCols--;
353345
+ }
353346
+ i10++;
353347
+ }
353348
+ }
353349
+ }
353350
+ Object.assign(vals, result2, auto3);
353351
+ for (let j = 0;j < vals.length; j++) {
353352
+ vals[j] = Math.max(forcedMin, vals[j] || 0);
353353
+ }
353354
+ };
353355
+ }
353356
+ });
353357
+
353358
+ // ../../node_modules/cli-table3/src/table.js
353359
+ var require_table = __commonJS((exports, module) => {
353360
+ var debug4 = require_debug2();
353361
+ var utils3 = require_utils9();
353362
+ var tableLayout = require_layout_manager();
353363
+
353364
+ class Table extends Array {
353365
+ constructor(opts) {
353366
+ super();
353367
+ const options6 = utils3.mergeOptions(opts);
353368
+ Object.defineProperty(this, "options", {
353369
+ value: options6,
353370
+ enumerable: options6.debug
353371
+ });
353372
+ if (options6.debug) {
353373
+ switch (typeof options6.debug) {
353374
+ case "boolean":
353375
+ debug4.setDebugLevel(debug4.WARN);
353376
+ break;
353377
+ case "number":
353378
+ debug4.setDebugLevel(options6.debug);
353379
+ break;
353380
+ case "string":
353381
+ debug4.setDebugLevel(parseInt(options6.debug, 10));
353382
+ break;
353383
+ default:
353384
+ debug4.setDebugLevel(debug4.WARN);
353385
+ debug4.warn(`Debug option is expected to be boolean, number, or string. Received a ${typeof options6.debug}`);
353386
+ }
353387
+ Object.defineProperty(this, "messages", {
353388
+ get() {
353389
+ return debug4.debugMessages();
353390
+ }
353391
+ });
353392
+ }
353393
+ }
353394
+ toString() {
353395
+ let array11 = this;
353396
+ let headersPresent = this.options.head && this.options.head.length;
353397
+ if (headersPresent) {
353398
+ array11 = [this.options.head];
353399
+ if (this.length) {
353400
+ array11.push.apply(array11, this);
353401
+ }
353402
+ } else {
353403
+ this.options.style.head = [];
353404
+ }
353405
+ let cells = tableLayout.makeTableLayout(array11);
353406
+ cells.forEach(function(row) {
353407
+ row.forEach(function(cell) {
353408
+ cell.mergeTableOptions(this.options, cells);
353409
+ }, this);
353410
+ }, this);
353411
+ tableLayout.computeWidths(this.options.colWidths, cells);
353412
+ tableLayout.computeHeights(this.options.rowHeights, cells);
353413
+ cells.forEach(function(row) {
353414
+ row.forEach(function(cell) {
353415
+ cell.init(this.options);
353416
+ }, this);
353417
+ }, this);
353418
+ let result2 = [];
353419
+ for (let rowIndex = 0;rowIndex < cells.length; rowIndex++) {
353420
+ let row = cells[rowIndex];
353421
+ let heightOfRow = this.options.rowHeights[rowIndex];
353422
+ if (rowIndex === 0 || !this.options.style.compact || rowIndex == 1 && headersPresent) {
353423
+ doDraw(row, "top", result2);
353424
+ }
353425
+ for (let lineNum = 0;lineNum < heightOfRow; lineNum++) {
353426
+ doDraw(row, lineNum, result2);
353427
+ }
353428
+ if (rowIndex + 1 == cells.length) {
353429
+ doDraw(row, "bottom", result2);
353430
+ }
353431
+ }
353432
+ return result2.join(`
353433
+ `);
353434
+ }
353435
+ get width() {
353436
+ let str = this.toString().split(`
353437
+ `);
353438
+ return str[0].length;
353439
+ }
353440
+ }
353441
+ Table.reset = () => debug4.reset();
353442
+ function doDraw(row, lineNum, result2) {
353443
+ let line4 = [];
353444
+ row.forEach(function(cell) {
353445
+ line4.push(cell.draw(lineNum));
353446
+ });
353447
+ let str = line4.join("");
353448
+ if (str.length)
353449
+ result2.push(str);
353450
+ }
353451
+ module.exports = Table;
353452
+ });
353453
+
351786
353454
  // ../../node_modules/cli-spinners/spinners.json
351787
353455
  var require_spinners = __commonJS((exports, module) => {
351788
353456
  module.exports = {
@@ -355997,7 +357665,7 @@ var require_constants11 = __commonJS((exports, module) => {
355997
357665
  });
355998
357666
 
355999
357667
  // ../../node_modules/semver/internal/debug.js
356000
- var require_debug2 = __commonJS((exports, module) => {
357668
+ var require_debug3 = __commonJS((exports, module) => {
356001
357669
  var debug4 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args2) => console.error("SEMVER", ...args2) : () => {};
356002
357670
  module.exports = debug4;
356003
357671
  });
@@ -356009,7 +357677,7 @@ var require_re = __commonJS((exports, module) => {
356009
357677
  MAX_SAFE_BUILD_LENGTH,
356010
357678
  MAX_LENGTH
356011
357679
  } = require_constants11();
356012
- var debug4 = require_debug2();
357680
+ var debug4 = require_debug3();
356013
357681
  exports = module.exports = {};
356014
357682
  var re3 = exports.re = [];
356015
357683
  var safeRe = exports.safeRe = [];
@@ -356124,7 +357792,7 @@ var require_identifiers = __commonJS((exports, module) => {
356124
357792
 
356125
357793
  // ../../node_modules/semver/classes/semver.js
356126
357794
  var require_semver2 = __commonJS((exports, module) => {
356127
- var debug4 = require_debug2();
357795
+ var debug4 = require_debug3();
356128
357796
  var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants11();
356129
357797
  var { safeRe: re3, t: t10 } = require_re();
356130
357798
  var parseOptions = require_parse_options();
@@ -356861,7 +358529,7 @@ var require_range2 = __commonJS((exports, module) => {
356861
358529
  var cache2 = new LRU;
356862
358530
  var parseOptions = require_parse_options();
356863
358531
  var Comparator = require_comparator();
356864
- var debug4 = require_debug2();
358532
+ var debug4 = require_debug3();
356865
358533
  var SemVer = require_semver2();
356866
358534
  var {
356867
358535
  safeRe: re3,
@@ -357194,7 +358862,7 @@ var require_comparator = __commonJS((exports, module) => {
357194
358862
  var parseOptions = require_parse_options();
357195
358863
  var { safeRe: re3, t: t10 } = require_re();
357196
358864
  var cmp = require_cmp();
357197
- var debug4 = require_debug2();
358865
+ var debug4 = require_debug3();
357198
358866
  var SemVer = require_semver2();
357199
358867
  var Range = require_range2();
357200
358868
  });
@@ -357728,6 +359396,10 @@ var require_semver3 = __commonJS((exports, module) => {
357728
359396
  rcompareIdentifiers: identifiers.rcompareIdentifiers
357729
359397
  };
357730
359398
  });
359399
+
359400
+ // src/logger.ts
359401
+ import { Console } from "node:console";
359402
+ globalThis.console = new Console(process.stderr);
357731
359403
  // ../common/src/vendor/registry.ts
357732
359404
  function createRegistry() {
357733
359405
  const items = {};
@@ -386604,7 +388276,7 @@ RULES
386604
388276
  - Your goal is to try to accomplish the user's task, NOT engage in a back and forth conversation.
386605
388277
  - You are STRICTLY FORBIDDEN from starting your messages with "Great", "Certainly", "Okay", "Sure". You should NOT be conversational in your responses, but rather direct and to the point. For example you should NOT say "Great, I've updated the CSS" but instead something like "I've updated the CSS". It is important you be clear and technical in your messages.
386606
388278
  - When presented with images, utilize your vision capabilities to thoroughly examine them and extract meaningful information. Incorporate these insights into your thought process as you accomplish the user's task.
386607
- - IMPORTANT: When userEdits is present in any file editing tool call's response, UNLESS user explicitly asks, you are FORBIDDEN to make any further edits to the file, consider the file as FINAL. use askFollowUpQuestion tool if you need clarifying anything.
388279
+ - IMPORTANT: When userEdits is present in any file editing tool call's response, UNLESS user explicitly asks, you are FORBIDDEN to make any further edits to the file, consider the file as FINAL. use askFollowupQuestion tool if you need clarifying anything.
386608
388280
  - NEVER commit changes unless the user explicitly asks you to. It is VERY IMPORTANT to only commit when explicitly asked, otherwise the user will feel that you are being too proactive.
386609
388281
  - When planning large-scale changes, create a high-level diagram using mermaid in Markdown. This helps explain your plan and allows you to gather user feedback before implementation.
386610
388282
  `;
@@ -388282,7 +389954,8 @@ class PochiConfigFile {
388282
389954
  content = applyEdits(content, edits);
388283
389955
  const tmp = path2.join(os.tmpdir(), `${path2.basename(this.configFilePath)}.${randomUUID()}.tmp`);
388284
389956
  await fsPromise.writeFile(tmp, content);
388285
- await fsPromise.rename(tmp, this.configFilePath);
389957
+ await fsPromise.copyFile(tmp, this.configFilePath);
389958
+ await fsPromise.unlink(tmp);
388286
389959
  } catch (err) {
388287
389960
  logger.error("Failed to save config file", JSON.stringify(err));
388288
389961
  }
@@ -404808,7 +406481,7 @@ var {
404808
406481
  // package.json
404809
406482
  var package_default = {
404810
406483
  name: "@getpochi/cli",
404811
- version: "0.5.88",
406484
+ version: "0.5.90",
404812
406485
  type: "module",
404813
406486
  bin: {
404814
406487
  pochi: "src/cli.ts"
@@ -404855,6 +406528,9 @@ var package_default = {
404855
406528
  semver: "^7.6.3",
404856
406529
  tabtab: "^3.0.2",
404857
406530
  zod: "catalog:"
406531
+ },
406532
+ dependencies: {
406533
+ "cli-table3": "^0.6.5"
404858
406534
  }
404859
406535
  };
404860
406536
 
@@ -418011,6 +419687,9 @@ async function parseWorkflowFrontmatter2(id4) {
418011
419687
  }
418012
419688
 
418013
419689
  // src/json-renderer.ts
419690
+ import { Console as Console2 } from "node:console";
419691
+ var console4 = new Console2(process.stdout);
419692
+
418014
419693
  class JsonRenderer {
418015
419694
  store;
418016
419695
  state;
@@ -418033,7 +419712,7 @@ class JsonRenderer {
418033
419712
  outputMessages(messages) {
418034
419713
  for (const message of messages) {
418035
419714
  if (!this.outputMessageIds.has(message.id)) {
418036
- console.log(JSON.stringify(mapStoreBlob(this.store, message)));
419715
+ console4.log(JSON.stringify(mapStoreBlob(this.store, message)));
418037
419716
  this.outputMessageIds.add(message.id);
418038
419717
  }
418039
419718
  }
@@ -426086,6 +427765,7 @@ async function getStoreId(jwt2) {
426086
427765
 
426087
427766
  // src/mcp/list.ts
426088
427767
  init_source();
427768
+ var import_cli_table3 = __toESM(require_table(), 1);
426089
427769
  function registerMcpListCommand(parentCommand) {
426090
427770
  parentCommand.command("list", { isDefault: true }).description("List all configured MCP servers and their statuses.").action(async () => {
426091
427771
  const mcpServers = config2.value.mcp || {};
@@ -426097,46 +427777,20 @@ function registerMcpListCommand(parentCommand) {
426097
427777
  console.log();
426098
427778
  const sortedServerEntries = Object.entries(mcpServers).sort(([a10], [b11]) => a10.localeCompare(b11));
426099
427779
  const hasDisabledTools = sortedServerEntries.some(([, config5]) => config5.disabledTools && config5.disabledTools.length > 0);
426100
- const maxNameLength = Math.max(...sortedServerEntries.map(([name17]) => name17.length), 12);
426101
- const statusWidth = 8;
426102
- const transportWidth = 12;
426103
- let maxDetailsLength = 8;
426104
- if (hasDisabledTools) {
426105
- for (const [, serverConfig] of sortedServerEntries) {
426106
- let details = "";
426107
- if ("url" in serverConfig) {
426108
- details = serverConfig.url;
426109
- if (serverConfig.headers && Object.keys(serverConfig.headers).length > 0) {
426110
- details += ` (headers: ${Object.keys(serverConfig.headers).join(", ")})`;
426111
- }
426112
- } else {
426113
- details = `${serverConfig.command} ${serverConfig.args.join(" ")}`;
426114
- if (serverConfig.cwd) {
426115
- details += ` (cwd: ${serverConfig.cwd})`;
426116
- }
426117
- if (serverConfig.env && Object.keys(serverConfig.env).length > 0) {
426118
- details += ` (env: ${Object.keys(serverConfig.env).join(", ")})`;
426119
- }
426120
- }
426121
- maxDetailsLength = Math.max(maxDetailsLength, details.length);
426122
- }
426123
- }
426124
- const disabledToolsWidth = hasDisabledTools ? 15 : 0;
426125
- const nameHeader = "NAME".padEnd(maxNameLength);
426126
- const statusHeader = "STATUS".padEnd(statusWidth);
426127
- const transportHeader = "TRANSPORT".padEnd(transportWidth);
426128
- const disabledToolsHeader = hasDisabledTools ? "DISABLED TOOLS".padEnd(disabledToolsWidth) : "";
426129
- let headerLine;
427780
+ const headers = ["NAME", "STATUS", "TRANSPORT", "DETAILS"];
426130
427781
  if (hasDisabledTools) {
426131
- const detailsHeader = "DETAILS".padEnd(maxDetailsLength);
426132
- headerLine = `${source_default.bold(nameHeader)} ${source_default.bold(statusHeader)} ${source_default.bold(transportHeader)} ${source_default.bold(detailsHeader)} ${source_default.bold(disabledToolsHeader)}`;
426133
- } else {
426134
- headerLine = `${source_default.bold(nameHeader)} ${source_default.bold(statusHeader)} ${source_default.bold(transportHeader)} ${source_default.bold("DETAILS")}`;
427782
+ headers.push("DISABLED TOOLS");
426135
427783
  }
426136
- console.log(headerLine);
426137
- const separatorLength = maxNameLength + statusWidth + transportWidth + (hasDisabledTools ? maxDetailsLength : 20) + (hasDisabledTools ? disabledToolsWidth : 0) + (hasDisabledTools ? 5 : 3);
426138
- const separator = "-".repeat(separatorLength);
426139
- console.log(`${source_default.gray(separator)}`);
427784
+ const table5 = new import_cli_table3.default({
427785
+ head: headers.map((header) => source_default.bold(header)),
427786
+ style: {
427787
+ head: [],
427788
+ border: ["gray"],
427789
+ compact: false
427790
+ },
427791
+ colWidths: hasDisabledTools ? [20, 10, 12, 40, 20] : [20, 10, 12, 50],
427792
+ wordWrap: true
427793
+ });
426140
427794
  for (const [serverName, serverConfig] of sortedServerEntries) {
426141
427795
  const statusText = serverConfig.disabled ? "❌" : "✓";
426142
427796
  const statusColored = serverConfig.disabled ? source_default.red(statusText) : source_default.green(statusText);
@@ -426144,24 +427798,34 @@ function registerMcpListCommand(parentCommand) {
426144
427798
  let details = "";
426145
427799
  if ("url" in serverConfig) {
426146
427800
  details = serverConfig.url;
427801
+ if (serverConfig.headers && Object.keys(serverConfig.headers).length > 0) {
427802
+ details += `
427803
+ (headers: ${Object.keys(serverConfig.headers).join(", ")})`;
427804
+ }
426147
427805
  } else {
426148
427806
  details = `${serverConfig.command} ${serverConfig.args.join(" ")}`;
427807
+ if (serverConfig.cwd) {
427808
+ details += `
427809
+ (cwd: ${serverConfig.cwd})`;
427810
+ }
427811
+ if (serverConfig.env && Object.keys(serverConfig.env).length > 0) {
427812
+ details += `
427813
+ (env: ${Object.keys(serverConfig.env).join(", ")})`;
427814
+ }
426149
427815
  }
426150
427816
  const disabledToolsText = serverConfig.disabledTools && serverConfig.disabledTools.length > 0 ? serverConfig.disabledTools.join(", ") : "-";
426151
- const namePadded = serverName.padEnd(maxNameLength);
426152
- const statusVisualWidthAdjustment = serverConfig.disabled ? 1 : 0;
426153
- const statusPadded = statusColored.padEnd(statusWidth + (statusColored.length - statusText.length) - statusVisualWidthAdjustment);
426154
- const transportPadded = transport.padEnd(transportWidth);
426155
- const disabledToolsPadded = hasDisabledTools ? disabledToolsText.padEnd(disabledToolsWidth) : "";
426156
- let outputLine;
427817
+ const rowData = [
427818
+ serverName,
427819
+ statusColored,
427820
+ transport,
427821
+ source_default.blue(details)
427822
+ ];
426157
427823
  if (hasDisabledTools) {
426158
- const detailsPadded = details.padEnd(maxDetailsLength);
426159
- outputLine = `${namePadded} ${statusPadded} ${transportPadded} ${source_default.blue(detailsPadded)} ${source_default.gray(disabledToolsPadded)}`;
426160
- } else {
426161
- outputLine = `${namePadded} ${statusPadded} ${transportPadded} ${source_default.blue(details)}`;
427824
+ rowData.push(source_default.gray(disabledToolsText));
426162
427825
  }
426163
- console.log(outputLine);
427826
+ table5.push(rowData);
426164
427827
  }
427828
+ console.log(table5.toString());
426165
427829
  });
426166
427830
  }
426167
427831
 
@@ -432512,6 +434176,7 @@ async function initializeMcp(program5) {
432512
434176
  }
432513
434177
  // src/model/cmd.ts
432514
434178
  init_source();
434179
+ var import_cli_table32 = __toESM(require_table(), 1);
432515
434180
  function formatContextWindow(size29) {
432516
434181
  const formatSize = () => {
432517
434182
  if (size29 >= 1000 * 1000) {
@@ -432522,13 +434187,7 @@ function formatContextWindow(size29) {
432522
434187
  }
432523
434188
  return size29.toString();
432524
434189
  };
432525
- return `C ${source_default.cyan(formatSize())}`;
432526
- }
432527
- function formatToolCall(useToolCallMiddleware) {
432528
- if (useToolCallMiddleware) {
432529
- return ` ReAct ${source_default.green("✓")}`;
432530
- }
432531
- return "";
434190
+ return formatSize();
432532
434191
  }
432533
434192
  function registerModelCommand(program5) {
432534
434193
  const modelCommand = program5.command("model").description("Manage and list available AI models.").addHelpCommand(true);
@@ -432557,11 +434216,26 @@ function displayModels(vendorId, models) {
432557
434216
  console.log(source_default.yellow.underline(vendorId));
432558
434217
  console.log();
432559
434218
  const sortedModelEntries = Object.entries(models).sort(([a10], [b11]) => a10.localeCompare(b11));
434219
+ const table5 = new import_cli_table32.default({
434220
+ head: [
434221
+ source_default.bold("MODEL ID"),
434222
+ source_default.bold("CONTEXT"),
434223
+ source_default.bold("FEATURES")
434224
+ ],
434225
+ style: {
434226
+ head: [],
434227
+ border: ["gray"],
434228
+ compact: false
434229
+ },
434230
+ colWidths: [40, 12, 15],
434231
+ wordWrap: true
434232
+ });
432560
434233
  for (const [modelId, modelInfo] of sortedModelEntries) {
432561
- const padding = " ".repeat(Math.max(0, 35 - (modelInfo?.contextWindow ? modelId.length : 0)));
432562
- const contextWindow = modelInfo.contextWindow ? formatContextWindow(modelInfo.contextWindow) : "";
432563
- console.log(` ${modelId}${padding}${contextWindow}${formatToolCall(!!modelInfo.useToolCallMiddleware)}`);
434234
+ const contextWindow = modelInfo.contextWindow ? formatContextWindow(modelInfo.contextWindow) : "-";
434235
+ const features = modelInfo.useToolCallMiddleware ? "ReAct ✓" : "-";
434236
+ table5.push([modelId, source_default.cyan(contextWindow), source_default.green(features)]);
432564
434237
  }
434238
+ console.log(table5.toString());
432565
434239
  console.log();
432566
434240
  }
432567
434241
  function displayProviderModels(providerId, provider) {
@@ -432574,15 +434248,30 @@ function displayProviderModels(providerId, provider) {
432574
434248
  console.log(`${source_default.underline(providerId)} ${source_default.gray(`[${provider.kind || "openai"}]`)}`);
432575
434249
  console.log();
432576
434250
  const sortedModelEntries = Object.entries(models).sort(([a10], [b11]) => a10.localeCompare(b11));
434251
+ const table5 = new import_cli_table32.default({
434252
+ head: [
434253
+ source_default.bold("MODEL ID"),
434254
+ source_default.bold("CONTEXT"),
434255
+ source_default.bold("FEATURES")
434256
+ ],
434257
+ style: {
434258
+ head: [],
434259
+ border: ["gray"],
434260
+ compact: false
434261
+ },
434262
+ colWidths: [40, 12, 15],
434263
+ wordWrap: true
434264
+ });
432577
434265
  for (const [modelId, modelInfo] of sortedModelEntries) {
432578
- const padding = " ".repeat(Math.max(0, 35 - (modelInfo?.contextWindow ? modelId.length : 0)));
432579
- const contextWindow = modelInfo.contextWindow ? formatContextWindow(modelInfo.contextWindow) : "";
432580
- console.log(` ${modelId}${padding}${contextWindow}${formatToolCall(!!modelInfo.useToolCallMiddleware)}`);
434266
+ const contextWindow = modelInfo.contextWindow ? formatContextWindow(modelInfo.contextWindow) : "-";
434267
+ const features = modelInfo.useToolCallMiddleware ? "ReAct ✓" : "-";
434268
+ table5.push([modelId, source_default.cyan(contextWindow), source_default.green(features)]);
432581
434269
  }
434270
+ console.log(table5.toString());
432582
434271
  console.log();
432583
434272
  }
432584
434273
  // src/output-renderer.ts
432585
- import { Console } from "node:console";
434274
+ import { Console as Console3 } from "node:console";
432586
434275
 
432587
434276
  // ../../node_modules/unist-util-find-after/lib/index.js
432588
434277
  var findAfter = function(parent, index3, test3) {
@@ -445366,7 +447055,7 @@ var Listr = class {
445366
447055
  };
445367
447056
 
445368
447057
  // src/output-renderer.ts
445369
- var console4 = new Console(process.stderr);
447058
+ var console5 = new Console3(process.stderr);
445370
447059
 
445371
447060
  class OutputRenderer {
445372
447061
  state;
@@ -445394,9 +447083,9 @@ class OutputRenderer {
445394
447083
  this.pendingPartIndex = 0;
445395
447084
  const name17 = lastMessage.role === "assistant" ? "Pochi" : "You";
445396
447085
  if (messages2.length > 1) {
445397
- console4.log("");
447086
+ console5.log("");
445398
447087
  }
445399
- console4.log(source_default.bold(source_default.underline(name17)));
447088
+ console5.log(source_default.bold(source_default.underline(name17)));
445400
447089
  this.nextSpinner();
445401
447090
  }
445402
447091
  while (true) {
@@ -447482,7 +449171,7 @@ class LiveChatKit {
447482
449171
  },
447483
449172
  {
447484
449173
  type: "text",
447485
- text: "I've summarized the task and start a new task with the summary. Please analysis the current status, and use askFollowUpQuestion with me to confirm the next steps"
449174
+ text: "I've summarized the task and start a new task with the summary. Please analysis the current status, and use askFollowupQuestion with me to confirm the next steps"
447486
449175
  }
447487
449176
  ]
447488
449177
  }
@@ -448722,7 +450411,7 @@ async function downloadAndInstall(program5, release3) {
448722
450411
 
448723
450412
  // src/upgrade/version-check.ts
448724
450413
  init_source();
448725
- import { Console as Console2 } from "node:console";
450414
+ import { Console as Console4 } from "node:console";
448726
450415
 
448727
450416
  // src/upgrade/release-fetcher.ts
448728
450417
  var GITHUB_REPO = "TabbyML/pochi";
@@ -448746,7 +450435,7 @@ async function fetchLatestCliRelease() {
448746
450435
  }
448747
450436
 
448748
450437
  // src/upgrade/version-check.ts
448749
- var console5 = new Console2(process.stderr);
450438
+ var console6 = new Console4(process.stderr);
448750
450439
  async function returnVersionInfo(options6) {
448751
450440
  const { timeoutMs } = options6 ?? {};
448752
450441
  const latestReleasePromise = fetchLatestCliRelease();
@@ -448767,10 +450456,10 @@ async function checkForUpdates() {
448767
450456
  const header = `
448768
450457
  ${source_default.bold("Pochi")} ${source_default.white(currentVersion)}`;
448769
450458
  if (updateAvailable) {
448770
- console5.log(`${header} ${source_default.dim("(update available")} ${source_default.green(latestVersion)}${source_default.dim(")")}`);
450459
+ console6.log(`${header} ${source_default.dim("(update available")} ${source_default.green(latestVersion)}${source_default.dim(")")}`);
448771
450460
  const columns = process.stdout.columns || 80;
448772
450461
  const width3 = Math.max(Math.min(columns, 100), 20);
448773
- console5.log(source_default.yellow("─".repeat(width3)));
450462
+ console6.log(source_default.yellow("─".repeat(width3)));
448774
450463
  }
448775
450464
  }
448776
450465