@kevisual/cli 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/assistant.js CHANGED
@@ -2136,11 +2136,11 @@ var require_commander = __commonJS((exports) => {
2136
2136
  exports.InvalidOptionArgumentError = InvalidArgumentError;
2137
2137
  });
2138
2138
 
2139
- // ../node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.json
2139
+ // ../node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.json
2140
2140
  var require_package = __commonJS((exports, module) => {
2141
2141
  module.exports = {
2142
2142
  name: "dotenv",
2143
- version: "17.2.3",
2143
+ version: "17.3.1",
2144
2144
  description: "Loads environment variables from .env file",
2145
2145
  main: "lib/main.js",
2146
2146
  types: "lib/main.d.ts",
@@ -2202,7 +2202,7 @@ var require_package = __commonJS((exports, module) => {
2202
2202
  };
2203
2203
  });
2204
2204
 
2205
- // ../node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.js
2205
+ // ../node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.js
2206
2206
  var require_main = __commonJS((exports, module) => {
2207
2207
  var fs2 = __require("fs");
2208
2208
  var path = __require("path");
@@ -2214,12 +2214,9 @@ var require_main = __commonJS((exports, module) => {
2214
2214
  "\uD83D\uDD10 encrypt with Dotenvx: https://dotenvx.com",
2215
2215
  "\uD83D\uDD10 prevent committing .env to code: https://dotenvx.com/precommit",
2216
2216
  "\uD83D\uDD10 prevent building .env in docker: https://dotenvx.com/prebuild",
2217
- "\uD83D\uDCE1 add observability to secrets: https://dotenvx.com/ops",
2218
- "\uD83D\uDC65 sync secrets across teammates & machines: https://dotenvx.com/ops",
2219
- "\uD83D\uDDC2backup and recover secrets: https://dotenvx.com/ops",
2220
- "✅ audit secrets and track compliance: https://dotenvx.com/ops",
2221
- "\uD83D\uDD04 add secrets lifecycle management: https://dotenvx.com/ops",
2222
- "\uD83D\uDD11 add access controls to secrets: https://dotenvx.com/ops",
2217
+ "\uD83E\uDD16 agentic secret storage: https://dotenvx.com/as2",
2218
+ "⚡️ secrets for agents: https://dotenvx.com/as2",
2219
+ "\uD83D\uDEE1auth for agents: https://vestauth.com",
2223
2220
  "\uD83D\uDEE0️ run anywhere with `dotenvx run -- yourcommand`",
2224
2221
  "⚙️ specify custom .env file path with { path: '/custom/path/.env' }",
2225
2222
  "⚙️ enable debug logging with { debug: true }",
@@ -13528,17 +13525,6 @@ var require_db = __commonJS((exports, module) => {
13528
13525
  };
13529
13526
  });
13530
13527
 
13531
- // ../node_modules/.pnpm/mime-db@1.54.0/node_modules/mime-db/index.js
13532
- var require_mime_db = __commonJS((exports, module) => {
13533
- /*!
13534
- * mime-db
13535
- * Copyright(c) 2014 Jonathan Ong
13536
- * Copyright(c) 2015-2022 Douglas Christopher Wilson
13537
- * MIT Licensed
13538
- */
13539
- module.exports = require_db();
13540
- });
13541
-
13542
13528
  // ../node_modules/.pnpm/mime-types@3.0.2/node_modules/mime-types/mimeScore.js
13543
13529
  var require_mimeScore = __commonJS((exports, module) => {
13544
13530
  var FACET_SCORES = {
@@ -13583,7 +13569,7 @@ var require_mime_types = __commonJS((exports) => {
13583
13569
  * Copyright(c) 2015 Douglas Christopher Wilson
13584
13570
  * MIT Licensed
13585
13571
  */
13586
- var db = require_mime_db();
13572
+ var db = require_db();
13587
13573
  var extname = __require("path").extname;
13588
13574
  var mimeScore = require_mimeScore();
13589
13575
  var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/;
@@ -14162,7 +14148,7 @@ var require_send = __commonJS((exports, module) => {
14162
14148
  this.sendFile(path5);
14163
14149
  return res;
14164
14150
  };
14165
- SendStream.prototype.send = function send(path5, stat) {
14151
+ SendStream.prototype.send = function send2(path5, stat) {
14166
14152
  var len = stat.size;
14167
14153
  var options = this.options;
14168
14154
  var opts = {};
@@ -14287,18 +14273,18 @@ var require_send = __commonJS((exports, module) => {
14287
14273
  SendStream.prototype.stream = function stream(path5, options) {
14288
14274
  var self2 = this;
14289
14275
  var res = this.res;
14290
- var stream = fs5.createReadStream(path5, options);
14291
- this.emit("stream", stream);
14292
- stream.pipe(res);
14276
+ var stream2 = fs5.createReadStream(path5, options);
14277
+ this.emit("stream", stream2);
14278
+ stream2.pipe(res);
14293
14279
  function cleanup() {
14294
- stream.destroy();
14280
+ stream2.destroy();
14295
14281
  }
14296
14282
  onFinished(res, cleanup);
14297
- stream.on("error", function onerror(err) {
14283
+ stream2.on("error", function onerror(err) {
14298
14284
  cleanup();
14299
14285
  self2.onStatError(err);
14300
14286
  });
14301
- stream.on("end", function onend() {
14287
+ stream2.on("end", function onend() {
14302
14288
  self2.emit("end");
14303
14289
  });
14304
14290
  };
@@ -14307,9 +14293,9 @@ var require_send = __commonJS((exports, module) => {
14307
14293
  if (res.getHeader("Content-Type"))
14308
14294
  return;
14309
14295
  var ext = extname(path5);
14310
- var type = mime.contentType(ext) || "application/octet-stream";
14311
- debug("content-type %s", type);
14312
- res.setHeader("Content-Type", type);
14296
+ var type2 = mime.contentType(ext) || "application/octet-stream";
14297
+ debug("content-type %s", type2);
14298
+ res.setHeader("Content-Type", type2);
14313
14299
  };
14314
14300
  SendStream.prototype.setHeader = function setHeader(path5, stat) {
14315
14301
  var res = this.res;
@@ -14556,7 +14542,7 @@ var require_is_extglob = __commonJS((exports, module) => {
14556
14542
  * Copyright (c) 2014-2016, Jon Schlinkert.
14557
14543
  * Licensed under the MIT License.
14558
14544
  */
14559
- module.exports = function isExtglob(str) {
14545
+ module.exports = function isExtglob2(str) {
14560
14546
  if (typeof str !== "string" || str === "") {
14561
14547
  return false;
14562
14548
  }
@@ -14690,7 +14676,7 @@ var require_is_glob = __commonJS((exports, module) => {
14690
14676
  }
14691
14677
  return false;
14692
14678
  };
14693
- module.exports = function isGlob(str, options) {
14679
+ module.exports = function isGlob2(str, options) {
14694
14680
  if (typeof str !== "string" || str === "") {
14695
14681
  return false;
14696
14682
  }
@@ -14715,7 +14701,7 @@ var require_glob_parent = __commonJS((exports, module) => {
14715
14701
  var enclosure = /[\{\[].*[\}\]]$/;
14716
14702
  var globby = /(^|[^\\])([\{\[]|\([^\)]+$)/;
14717
14703
  var escaped = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
14718
- module.exports = function globParent(str, opts) {
14704
+ module.exports = function globParent2(str, opts) {
14719
14705
  var options = Object.assign({ flipBackslashes: true }, opts);
14720
14706
  if (options.flipBackslashes && isWin32 && str.indexOf(slash) < 0) {
14721
14707
  str = str.replace(backslash, slash);
@@ -19900,13 +19886,6 @@ var require_cli_width = __commonJS((exports, module) => {
19900
19886
  }
19901
19887
  });
19902
19888
 
19903
- // ../node_modules/.pnpm/emoji-regex@10.6.0/node_modules/emoji-regex/index.js
19904
- var require_emoji_regex = __commonJS((exports, module) => {
19905
- module.exports = () => {
19906
- return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
19907
- };
19908
- });
19909
-
19910
19889
  // ../node_modules/.pnpm/mute-stream@3.0.0/node_modules/mute-stream/lib/index.js
19911
19890
  var require_lib = __commonJS((exports, module) => {
19912
19891
  var Stream = __require("stream");
@@ -20040,8 +20019,8 @@ var require_ansi_regex = __commonJS((exports, module) => {
20040
20019
 
20041
20020
  // ../node_modules/.pnpm/strip-ansi@6.0.1/node_modules/strip-ansi/index.js
20042
20021
  var require_strip_ansi = __commonJS((exports, module) => {
20043
- var ansiRegex2 = require_ansi_regex();
20044
- module.exports = (string5) => typeof string5 === "string" ? string5.replace(ansiRegex2(), "") : string5;
20022
+ var ansiRegex = require_ansi_regex();
20023
+ module.exports = (string5) => typeof string5 === "string" ? string5.replace(ansiRegex(), "") : string5;
20045
20024
  });
20046
20025
 
20047
20026
  // ../node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js
@@ -20060,7 +20039,7 @@ var require_is_fullwidth_code_point = __commonJS((exports, module) => {
20060
20039
  });
20061
20040
 
20062
20041
  // ../node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js
20063
- var require_emoji_regex2 = __commonJS((exports, module) => {
20042
+ var require_emoji_regex = __commonJS((exports, module) => {
20064
20043
  module.exports = function() {
20065
20044
  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;
20066
20045
  };
@@ -20068,18 +20047,18 @@ var require_emoji_regex2 = __commonJS((exports, module) => {
20068
20047
 
20069
20048
  // ../node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js
20070
20049
  var require_string_width = __commonJS((exports, module) => {
20071
- var stripAnsi2 = require_strip_ansi();
20050
+ var stripAnsi = require_strip_ansi();
20072
20051
  var isFullwidthCodePoint = require_is_fullwidth_code_point();
20073
- var emojiRegex2 = require_emoji_regex2();
20074
- var stringWidth2 = (string5) => {
20052
+ var emojiRegex = require_emoji_regex();
20053
+ var stringWidth = (string5) => {
20075
20054
  if (typeof string5 !== "string" || string5.length === 0) {
20076
20055
  return 0;
20077
20056
  }
20078
- string5 = stripAnsi2(string5);
20057
+ string5 = stripAnsi(string5);
20079
20058
  if (string5.length === 0) {
20080
20059
  return 0;
20081
20060
  }
20082
- string5 = string5.replace(emojiRegex2(), " ");
20061
+ string5 = string5.replace(emojiRegex(), " ");
20083
20062
  let width = 0;
20084
20063
  for (let i = 0;i < string5.length; i++) {
20085
20064
  const code = string5.codePointAt(i);
@@ -20096,14 +20075,14 @@ var require_string_width = __commonJS((exports, module) => {
20096
20075
  }
20097
20076
  return width;
20098
20077
  };
20099
- module.exports = stringWidth2;
20100
- module.exports.default = stringWidth2;
20078
+ module.exports = stringWidth;
20079
+ module.exports.default = stringWidth;
20101
20080
  });
20102
20081
 
20103
20082
  // ../node_modules/.pnpm/astral-regex@2.0.0/node_modules/astral-regex/index.js
20104
20083
  var require_astral_regex = __commonJS((exports, module) => {
20105
- var regex2 = "[\uD800-\uDBFF][\uDC00-\uDFFF]";
20106
- var astralRegex = (options) => options && options.exact ? new RegExp(`^${regex2}$`) : new RegExp(regex2, "g");
20084
+ var regex = "[\uD800-\uDBFF][\uDC00-\uDFFF]";
20085
+ var astralRegex = (options) => options && options.exact ? new RegExp(`^${regex}$`) : new RegExp(regex, "g");
20107
20086
  module.exports = astralRegex;
20108
20087
  });
20109
20088
 
@@ -21057,15 +21036,15 @@ var require_color_convert = __commonJS((exports, module) => {
21057
21036
 
21058
21037
  // ../node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js
21059
21038
  var require_ansi_styles = __commonJS((exports, module) => {
21060
- var wrapAnsi163 = (fn, offset) => (...args2) => {
21039
+ var wrapAnsi162 = (fn, offset) => (...args2) => {
21061
21040
  const code = fn(...args2);
21062
21041
  return `\x1B[${code + offset}m`;
21063
21042
  };
21064
- var wrapAnsi2563 = (fn, offset) => (...args2) => {
21043
+ var wrapAnsi2562 = (fn, offset) => (...args2) => {
21065
21044
  const code = fn(...args2);
21066
21045
  return `\x1B[${38 + offset};5;${code}m`;
21067
21046
  };
21068
- var wrapAnsi16m3 = (fn, offset) => (...args2) => {
21047
+ var wrapAnsi16m2 = (fn, offset) => (...args2) => {
21069
21048
  const rgb = fn(...args2);
21070
21049
  return `\x1B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
21071
21050
  };
@@ -21092,20 +21071,20 @@ var require_ansi_styles = __commonJS((exports, module) => {
21092
21071
  colorConvert = require_color_convert();
21093
21072
  }
21094
21073
  const offset = isBackground ? 10 : 0;
21095
- const styles4 = {};
21074
+ const styles3 = {};
21096
21075
  for (const [sourceSpace, suite] of Object.entries(colorConvert)) {
21097
21076
  const name = sourceSpace === "ansi16" ? "ansi" : sourceSpace;
21098
21077
  if (sourceSpace === targetSpace) {
21099
- styles4[name] = wrap(identity2, offset);
21078
+ styles3[name] = wrap(identity2, offset);
21100
21079
  } else if (typeof suite === "object") {
21101
- styles4[name] = wrap(suite[targetSpace], offset);
21080
+ styles3[name] = wrap(suite[targetSpace], offset);
21102
21081
  }
21103
21082
  }
21104
- return styles4;
21083
+ return styles3;
21105
21084
  };
21106
- function assembleStyles3() {
21085
+ function assembleStyles2() {
21107
21086
  const codes = new Map;
21108
- const styles4 = {
21087
+ const styles3 = {
21109
21088
  modifier: {
21110
21089
  reset: [0, 0],
21111
21090
  bold: [1, 22],
@@ -21153,41 +21132,41 @@ var require_ansi_styles = __commonJS((exports, module) => {
21153
21132
  bgWhiteBright: [107, 49]
21154
21133
  }
21155
21134
  };
21156
- styles4.color.gray = styles4.color.blackBright;
21157
- styles4.bgColor.bgGray = styles4.bgColor.bgBlackBright;
21158
- styles4.color.grey = styles4.color.blackBright;
21159
- styles4.bgColor.bgGrey = styles4.bgColor.bgBlackBright;
21160
- for (const [groupName, group] of Object.entries(styles4)) {
21135
+ styles3.color.gray = styles3.color.blackBright;
21136
+ styles3.bgColor.bgGray = styles3.bgColor.bgBlackBright;
21137
+ styles3.color.grey = styles3.color.blackBright;
21138
+ styles3.bgColor.bgGrey = styles3.bgColor.bgBlackBright;
21139
+ for (const [groupName, group] of Object.entries(styles3)) {
21161
21140
  for (const [styleName, style] of Object.entries(group)) {
21162
- styles4[styleName] = {
21141
+ styles3[styleName] = {
21163
21142
  open: `\x1B[${style[0]}m`,
21164
21143
  close: `\x1B[${style[1]}m`
21165
21144
  };
21166
- group[styleName] = styles4[styleName];
21145
+ group[styleName] = styles3[styleName];
21167
21146
  codes.set(style[0], style[1]);
21168
21147
  }
21169
- Object.defineProperty(styles4, groupName, {
21148
+ Object.defineProperty(styles3, groupName, {
21170
21149
  value: group,
21171
21150
  enumerable: false
21172
21151
  });
21173
21152
  }
21174
- Object.defineProperty(styles4, "codes", {
21153
+ Object.defineProperty(styles3, "codes", {
21175
21154
  value: codes,
21176
21155
  enumerable: false
21177
21156
  });
21178
- styles4.color.close = "\x1B[39m";
21179
- styles4.bgColor.close = "\x1B[49m";
21180
- setLazyProperty(styles4.color, "ansi", () => makeDynamicStyles(wrapAnsi163, "ansi16", ansi2ansi, false));
21181
- setLazyProperty(styles4.color, "ansi256", () => makeDynamicStyles(wrapAnsi2563, "ansi256", ansi2ansi, false));
21182
- setLazyProperty(styles4.color, "ansi16m", () => makeDynamicStyles(wrapAnsi16m3, "rgb", rgb2rgb, false));
21183
- setLazyProperty(styles4.bgColor, "ansi", () => makeDynamicStyles(wrapAnsi163, "ansi16", ansi2ansi, true));
21184
- setLazyProperty(styles4.bgColor, "ansi256", () => makeDynamicStyles(wrapAnsi2563, "ansi256", ansi2ansi, true));
21185
- setLazyProperty(styles4.bgColor, "ansi16m", () => makeDynamicStyles(wrapAnsi16m3, "rgb", rgb2rgb, true));
21186
- return styles4;
21157
+ styles3.color.close = "\x1B[39m";
21158
+ styles3.bgColor.close = "\x1B[49m";
21159
+ setLazyProperty(styles3.color, "ansi", () => makeDynamicStyles(wrapAnsi162, "ansi16", ansi2ansi, false));
21160
+ setLazyProperty(styles3.color, "ansi256", () => makeDynamicStyles(wrapAnsi2562, "ansi256", ansi2ansi, false));
21161
+ setLazyProperty(styles3.color, "ansi16m", () => makeDynamicStyles(wrapAnsi16m2, "rgb", rgb2rgb, false));
21162
+ setLazyProperty(styles3.bgColor, "ansi", () => makeDynamicStyles(wrapAnsi162, "ansi16", ansi2ansi, true));
21163
+ setLazyProperty(styles3.bgColor, "ansi256", () => makeDynamicStyles(wrapAnsi2562, "ansi256", ansi2ansi, true));
21164
+ setLazyProperty(styles3.bgColor, "ansi16m", () => makeDynamicStyles(wrapAnsi16m2, "rgb", rgb2rgb, true));
21165
+ return styles3;
21187
21166
  }
21188
21167
  Object.defineProperty(module, "exports", {
21189
21168
  enumerable: true,
21190
- get: assembleStyles3
21169
+ get: assembleStyles2
21191
21170
  });
21192
21171
  });
21193
21172
 
@@ -21195,12 +21174,12 @@ var require_ansi_styles = __commonJS((exports, module) => {
21195
21174
  var require_slice_ansi = __commonJS((exports, module) => {
21196
21175
  var isFullwidthCodePoint = require_is_fullwidth_code_point();
21197
21176
  var astralRegex = require_astral_regex();
21198
- var ansiStyles3 = require_ansi_styles();
21199
- var ESCAPES2 = [
21177
+ var ansiStyles2 = require_ansi_styles();
21178
+ var ESCAPES = [
21200
21179
  "\x1B",
21201
21180
  "›"
21202
21181
  ];
21203
- var wrapAnsi2 = (code) => `${ESCAPES2[0]}[${code}m`;
21182
+ var wrapAnsi2 = (code) => `${ESCAPES[0]}[${code}m`;
21204
21183
  var checkAnsi = (ansiCodes, isEscapes, endAnsiCode) => {
21205
21184
  let output = [];
21206
21185
  ansiCodes = [...ansiCodes];
@@ -21209,7 +21188,7 @@ var require_slice_ansi = __commonJS((exports, module) => {
21209
21188
  if (ansiCode.includes(";")) {
21210
21189
  ansiCode = ansiCode.split(";")[0][0] + "0";
21211
21190
  }
21212
- const item = ansiStyles3.codes.get(Number.parseInt(ansiCode, 10));
21191
+ const item = ansiStyles2.codes.get(Number.parseInt(ansiCode, 10));
21213
21192
  if (item) {
21214
21193
  const indexEscape = ansiCodes.indexOf(item.toString());
21215
21194
  if (indexEscape === -1) {
@@ -21227,7 +21206,7 @@ var require_slice_ansi = __commonJS((exports, module) => {
21227
21206
  if (isEscapes) {
21228
21207
  output = output.filter((element, index) => output.indexOf(element) === index);
21229
21208
  if (endAnsiCode !== undefined) {
21230
- const fistEscapeCode = wrapAnsi2(ansiStyles3.codes.get(Number.parseInt(endAnsiCode, 10)));
21209
+ const fistEscapeCode = wrapAnsi2(ansiStyles2.codes.get(Number.parseInt(endAnsiCode, 10)));
21231
21210
  output = output.reduce((current, next) => next === fistEscapeCode ? [next, ...current] : [...current, next], []);
21232
21211
  }
21233
21212
  }
@@ -21243,7 +21222,7 @@ var require_slice_ansi = __commonJS((exports, module) => {
21243
21222
  let output = "";
21244
21223
  for (const [index, character] of characters.entries()) {
21245
21224
  let leftEscape = false;
21246
- if (ESCAPES2.includes(character)) {
21225
+ if (ESCAPES.includes(character)) {
21247
21226
  const code = /\d[^m]*/.exec(string5.slice(index, index + 18));
21248
21227
  ansiCode = code && code.length > 0 ? code[0] : undefined;
21249
21228
  if (visible < stringEnd) {
@@ -24568,9 +24547,9 @@ var require_validateConfig = __commonJS((exports) => {
24568
24547
  exports.validateConfig = undefined;
24569
24548
  var validators_1 = __importDefault(require_validators());
24570
24549
  var validateConfig = (schemaId, config4) => {
24571
- const validate2 = validators_1.default[schemaId];
24572
- if (!validate2(config4) && validate2.errors) {
24573
- const errors4 = validate2.errors.map((error49) => {
24550
+ const validate = validators_1.default[schemaId];
24551
+ if (!validate(config4) && validate.errors) {
24552
+ const errors4 = validate.errors.map((error49) => {
24574
24553
  return {
24575
24554
  message: error49.message,
24576
24555
  params: error49.params,
@@ -25749,14 +25728,15 @@ var parseHomeArg = (homedir2) => {
25749
25728
  const isOpencode = checkUrl.some((item) => execPath.includes(item));
25750
25729
  let isServer = false;
25751
25730
  const checkArgs = process.argv.slice(1);
25752
- const isArgsServer = checkArgs.some((item) => item === "server" || item.includes("asst-server") || item.includes("run-server.ts"));
25753
25731
  const isDev = checkArgs.some((item) => item.includes("run-server.ts"));
25732
+ const isPm2 = checkArgs.some((item) => item.includes("pm2"));
25733
+ const isArgsServer = checkArgs.some((item) => item === "server" || item.includes("asst-server") || item.includes("assistant-server") || item.includes("run-server.ts"));
25754
25734
  let isDaemon = false;
25755
- if (isArgsServer) {
25735
+ if (isArgsServer || isPm2) {
25756
25736
  if (checkArgs.includes("--daemon") || checkArgs.includes("-d")) {
25757
25737
  isDaemon = true;
25758
25738
  }
25759
- if (checkArgs.includes("-s") || checkArgs.includes("--start")) {
25739
+ if (checkArgs.includes("-s") || checkArgs.includes("--start") || isPm2) {
25760
25740
  isServer = true;
25761
25741
  }
25762
25742
  }
@@ -25776,7 +25756,7 @@ var getFileConfig = (filePath) => {
25776
25756
  return JSON.parse(fs2.readFileSync(filePath, "utf8"));
25777
25757
  };
25778
25758
 
25779
- // ../node_modules/.pnpm/@kevisual+use-config@1.0.30_dotenv@17.2.3/node_modules/@kevisual/use-config/dist/app.js
25759
+ // ../node_modules/.pnpm/@kevisual+use-config@1.0.30_dotenv@17.3.1/node_modules/@kevisual/use-config/dist/app.js
25780
25760
  import { createRequire as createRequire2 } from "node:module";
25781
25761
  import fs3 from "node:fs";
25782
25762
  import path2 from "node:path";
@@ -28066,7 +28046,7 @@ function requireIsExtglob() {
28066
28046
  if (hasRequiredIsExtglob)
28067
28047
  return isExtglob;
28068
28048
  hasRequiredIsExtglob = 1;
28069
- isExtglob = function isExtglob(str) {
28049
+ isExtglob = function isExtglob2(str) {
28070
28050
  if (typeof str !== "string" || str === "") {
28071
28051
  return false;
28072
28052
  }
@@ -28204,7 +28184,7 @@ function requireIsGlob() {
28204
28184
  }
28205
28185
  return false;
28206
28186
  };
28207
- isGlob = function isGlob(str, options) {
28187
+ isGlob = function isGlob2(str, options) {
28208
28188
  if (typeof str !== "string" || str === "") {
28209
28189
  return false;
28210
28190
  }
@@ -28233,7 +28213,7 @@ function requireGlobParent() {
28233
28213
  var enclosure = /[\{\[].*[\}\]]$/;
28234
28214
  var globby = /(^|[^\\])([\{\[]|\([^\)]+$)/;
28235
28215
  var escaped = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
28236
- globParent = function globParent(str, opts) {
28216
+ globParent = function globParent2(str, opts) {
28237
28217
  var options = Object.assign({ flipBackslashes: true }, opts);
28238
28218
  if (options.flipBackslashes && isWin32 && str.indexOf(slash) < 0) {
28239
28219
  str = str.replace(backslash, slash);
@@ -34810,6 +34790,14 @@ class RemoteApp {
34810
34790
  ws;
34811
34791
  remoteIsConnected;
34812
34792
  isError = false;
34793
+ autoReconnect;
34794
+ maxReconnectAttempts;
34795
+ reconnectDelay;
34796
+ maxReconnectDelay;
34797
+ enableBackoff;
34798
+ reconnectAttempts = 0;
34799
+ reconnectTimer = null;
34800
+ isManuallyClosed = false;
34813
34801
  constructor(opts) {
34814
34802
  this.mainApp = opts?.app;
34815
34803
  const token = opts.token;
@@ -34823,6 +34811,11 @@ class RemoteApp {
34823
34811
  _url.searchParams.set("id", id);
34824
34812
  this.url = _url.toString();
34825
34813
  this.id = id;
34814
+ this.autoReconnect = opts?.autoReconnect ?? true;
34815
+ this.maxReconnectAttempts = opts?.maxReconnectAttempts ?? Infinity;
34816
+ this.reconnectDelay = opts?.reconnectDelay ?? 1000;
34817
+ this.maxReconnectDelay = opts?.maxReconnectDelay ?? 30000;
34818
+ this.enableBackoff = opts?.enableBackoff ?? true;
34826
34819
  this.init();
34827
34820
  }
34828
34821
  async isConnect() {
@@ -34830,6 +34823,9 @@ class RemoteApp {
34830
34823
  if (this.isConnected) {
34831
34824
  return true;
34832
34825
  }
34826
+ if (this.reconnectTimer !== null) {
34827
+ console.log(`远程应用 ${this.id} 正在重连中...`);
34828
+ }
34833
34829
  return new Promise((resolve) => {
34834
34830
  const timeout = setTimeout(() => {
34835
34831
  resolve(false);
@@ -34846,6 +34842,9 @@ class RemoteApp {
34846
34842
  }
34847
34843
  getWsURL(url) {
34848
34844
  const { protocol } = new URL(url);
34845
+ if (protocol.startsWith("ws")) {
34846
+ return url.toString();
34847
+ }
34849
34848
  const wsProtocol = protocol === "https:" ? "wss:" : "ws:";
34850
34849
  const wsURL = url.toString().replace(protocol, wsProtocol);
34851
34850
  return wsURL;
@@ -34866,6 +34865,7 @@ class RemoteApp {
34866
34865
  ws.onopen = function() {
34867
34866
  that.isConnected = true;
34868
34867
  that.onOpen();
34868
+ console.log("[remote-app] WebSocket connection opened");
34869
34869
  };
34870
34870
  ws.onclose = function() {
34871
34871
  that.isConnected = false;
@@ -34880,12 +34880,71 @@ class RemoteApp {
34880
34880
  this.ws = ws;
34881
34881
  }
34882
34882
  onOpen() {
34883
+ this.isError = false;
34884
+ this.reconnectAttempts = 0;
34885
+ if (this.reconnectTimer) {
34886
+ clearTimeout(this.reconnectTimer);
34887
+ this.reconnectTimer = null;
34888
+ }
34883
34889
  this.emitter.emit("open", this.id);
34884
34890
  }
34885
34891
  onClose() {
34886
34892
  console.log("远程应用关闭:", this.id);
34887
- this.emitter.emit("close", this.id);
34888
34893
  this.isConnected = false;
34894
+ this.emitter.emit("close", this.id);
34895
+ if (this.autoReconnect && !this.isManuallyClosed) {
34896
+ this.scheduleReconnect();
34897
+ }
34898
+ }
34899
+ calculateReconnectDelay() {
34900
+ if (!this.enableBackoff) {
34901
+ return this.reconnectDelay;
34902
+ }
34903
+ const delay = this.reconnectDelay * Math.pow(2, this.reconnectAttempts);
34904
+ return Math.min(delay, this.maxReconnectDelay);
34905
+ }
34906
+ scheduleReconnect() {
34907
+ if (this.reconnectAttempts >= this.maxReconnectAttempts) {
34908
+ console.error(`远程应用 ${this.id} 已达到最大重连次数 ${this.maxReconnectAttempts},停止重连`);
34909
+ this.emitter.emit("maxReconnectAttemptsReached", this.id);
34910
+ return;
34911
+ }
34912
+ if (this.reconnectTimer) {
34913
+ clearTimeout(this.reconnectTimer);
34914
+ }
34915
+ const delay = this.calculateReconnectDelay();
34916
+ this.reconnectAttempts++;
34917
+ console.log(`远程应用 ${this.id} 将在 ${delay}ms 后尝试第 ${this.reconnectAttempts} 次重连`);
34918
+ this.reconnectTimer = setTimeout(() => {
34919
+ this.reconnectTimer = null;
34920
+ try {
34921
+ this.init();
34922
+ } catch (error2) {
34923
+ console.error(`远程应用 ${this.id} 重连失败:`, error2);
34924
+ this.emitter.emit("reconnectFailed", { id: this.id, attempt: this.reconnectAttempts, error: error2 });
34925
+ this.scheduleReconnect();
34926
+ }
34927
+ }, delay);
34928
+ }
34929
+ disconnect() {
34930
+ this.isManuallyClosed = true;
34931
+ this.autoReconnect = false;
34932
+ if (this.reconnectTimer) {
34933
+ clearTimeout(this.reconnectTimer);
34934
+ this.reconnectTimer = null;
34935
+ }
34936
+ if (this.ws) {
34937
+ this.ws.close();
34938
+ }
34939
+ }
34940
+ reconnect() {
34941
+ this.isManuallyClosed = false;
34942
+ this.reconnectAttempts = 0;
34943
+ if (this.reconnectTimer) {
34944
+ clearTimeout(this.reconnectTimer);
34945
+ this.reconnectTimer = null;
34946
+ }
34947
+ this.init();
34889
34948
  }
34890
34949
  onMessage(data) {
34891
34950
  this.emitter.emit("message", data);
@@ -34901,7 +34960,6 @@ class RemoteApp {
34901
34960
  this.emitter.off(event, listener);
34902
34961
  };
34903
34962
  }
34904
- sendData(data) {}
34905
34963
  json(data) {
34906
34964
  this.ws.send(JSON.stringify(data));
34907
34965
  }
@@ -34912,7 +34970,9 @@ class RemoteApp {
34912
34970
  try {
34913
34971
  const data = event.toString();
34914
34972
  const body = JSON.parse(data);
34915
- const message = body.data || {};
34973
+ const bodyData = body?.data;
34974
+ const message = bodyData?.message || {};
34975
+ const context = bodyData?.context || {};
34916
34976
  if (body?.code === 401) {
34917
34977
  console.error("远程应用认证失败,请检查 token 是否正确");
34918
34978
  this.isError = true;
@@ -34930,12 +34990,12 @@ class RemoteApp {
34930
34990
  });
34931
34991
  return;
34932
34992
  }
34933
- const res = await app.call(message);
34993
+ const res = await app.run(message, context);
34934
34994
  remoteApp.json({
34935
34995
  id: body.id,
34936
34996
  data: {
34937
34997
  code: res.code,
34938
- data: res.body,
34998
+ data: res.data,
34939
34999
  message: res.message
34940
35000
  }
34941
35001
  });
@@ -34966,7 +35026,7 @@ var getEnvToken = () => {
34966
35026
  return envTokne;
34967
35027
  };
34968
35028
 
34969
- // ../node_modules/.pnpm/@kevisual+query@0.0.39/node_modules/@kevisual/query/dist/query-browser.js
35029
+ // ../node_modules/.pnpm/@kevisual+query@0.0.40/node_modules/@kevisual/query/dist/query-browser.js
34970
35030
  var isTextForContentType = (contentType) => {
34971
35031
  if (!contentType)
34972
35032
  return false;
@@ -34995,12 +35055,12 @@ var adapter = async (opts = {}, overloadOpts) => {
34995
35055
  url = new URL(opts.url);
34996
35056
  } else {
34997
35057
  origin = window?.location?.origin || "http://localhost:51515";
34998
- url = new URL(opts.url, origin);
35058
+ url = new URL(opts?.url || "", origin);
34999
35059
  }
35000
35060
  const isGet = method === "GET";
35001
35061
  const oldSearchParams = url.searchParams;
35002
35062
  if (isGet) {
35003
- let searchParams = new URLSearchParams({ ...Object.fromEntries(oldSearchParams), ...opts.body });
35063
+ let searchParams = new URLSearchParams({ ...Object.fromEntries(oldSearchParams), ...opts?.params, ...opts?.body });
35004
35064
  url.search = searchParams.toString();
35005
35065
  } else {
35006
35066
  const params = {
@@ -35025,11 +35085,13 @@ var adapter = async (opts = {}, overloadOpts) => {
35025
35085
  } else if (isPostFile) {
35026
35086
  body = opts.body;
35027
35087
  } else {
35028
- headers = {
35029
- "Content-Type": "application/json",
35030
- ...headers
35031
- };
35032
- body = JSON.stringify(opts.body);
35088
+ if (opts.body && typeof opts.body === "object" && !(opts.body instanceof FormData)) {
35089
+ headers = {
35090
+ "Content-Type": "application/json",
35091
+ ...headers
35092
+ };
35093
+ body = JSON.stringify(opts.body);
35094
+ }
35033
35095
  }
35034
35096
  return fetch(url, {
35035
35097
  method: method.toUpperCase(),
@@ -35099,7 +35161,7 @@ class Query {
35099
35161
  "Content-Type": "application/json"
35100
35162
  };
35101
35163
  this.timeout = opts?.timeout || 60000 * 3;
35102
- if (opts.beforeRequest) {
35164
+ if (opts?.beforeRequest) {
35103
35165
  this.beforeRequest = opts.beforeRequest;
35104
35166
  } else {
35105
35167
  this.beforeRequest = async (opts2) => {
@@ -42214,7 +42276,7 @@ function filter(data, query) {
42214
42276
  return executor.execute(ast, data);
42215
42277
  }
42216
42278
 
42217
- // ../node_modules/.pnpm/@kevisual+api@0.0.44/node_modules/@kevisual/api/query/query-proxy/router-api-proxy.ts
42279
+ // ../node_modules/.pnpm/@kevisual+api@0.0.50_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@kevisual/api/query/query-proxy/router-api-proxy.ts
42218
42280
  var initApi = async (opts) => {
42219
42281
  const router = opts?.router;
42220
42282
  const item = opts?.item;
@@ -42242,6 +42304,7 @@ var initApi = async (opts) => {
42242
42304
  let metadata = r.metadata || {};
42243
42305
  metadata.viewItem = item;
42244
42306
  metadata.url = query.url;
42307
+ metadata.source = "query-proxy-api";
42245
42308
  router.route({
42246
42309
  path: r.path,
42247
42310
  key: r.key || "",
@@ -56156,7 +56219,6 @@ class AssistantApp extends Manager2 {
56156
56219
  config;
56157
56220
  pagesPath;
56158
56221
  remoteIsConnected = false;
56159
- attemptedConnectTimes = 0;
56160
56222
  remoteApp = null;
56161
56223
  remoteUrl = null;
56162
56224
  resolver;
@@ -56224,7 +56286,7 @@ class AssistantApp extends Manager2 {
56224
56286
  const enabled = opts?.enabled ?? share?.enabled ?? false;
56225
56287
  if (share && enabled !== false) {
56226
56288
  if (this.remoteApp) {
56227
- this.remoteApp.ws?.close();
56289
+ this.remoteApp.disconnect();
56228
56290
  this.remoteApp = null;
56229
56291
  this.remoteIsConnected = false;
56230
56292
  }
@@ -56236,31 +56298,31 @@ class AssistantApp extends Manager2 {
56236
56298
  url: url3.toString(),
56237
56299
  token,
56238
56300
  id,
56239
- app: this.mainApp
56301
+ app: this.mainApp,
56302
+ autoReconnect: true,
56303
+ reconnectDelay: 5000,
56304
+ maxReconnectAttempts: Infinity,
56305
+ enableBackoff: true
56240
56306
  });
56241
- const isConnect = await remoteApp.isConnect();
56242
- if (isConnect) {
56243
- remoteApp.listenProxy();
56307
+ remoteApp.isConnect();
56308
+ this.remoteIsConnected = true;
56309
+ remoteApp.on("open", () => {
56244
56310
  this.remoteIsConnected = true;
56245
- remoteApp.emitter.removeAllListeners("close");
56246
- remoteApp.emitter.on("close", () => {
56247
- setTimeout(() => {
56248
- if (remoteApp.isError) {
56249
- console.error("远程应用发生错误,不重连");
56250
- } else {
56251
- this.reconnectRemoteApp();
56252
- }
56253
- }, 5 * 1000);
56254
- });
56255
- logger.debug("链接到了远程应用服务器");
56256
56311
  const appId = id;
56257
56312
  const username = config3?.auth.username || "unknown";
56258
56313
  const url4 = new URL(`/${username}/v1/${appId}`, config3?.registry || "https://kevisual.cn/");
56259
56314
  this.remoteUrl = url4.toString();
56260
- console.log("远程地址", this.remoteUrl);
56261
- } else {
56262
- console.log("Not connected to remote app server");
56263
- }
56315
+ logger.info("[remote-app] 远程地址", this.remoteUrl);
56316
+ logger.debug("链接到了远程应用服务器");
56317
+ remoteApp.listenProxy();
56318
+ });
56319
+ remoteApp.on("close", () => {
56320
+ this.remoteIsConnected = false;
56321
+ logger.info("[remote-app] 远程连接已关闭,自动重连机制正在处理...");
56322
+ });
56323
+ remoteApp.on("maxReconnectAttemptsReached", () => {
56324
+ logger.error("远程应用重连达到最大次数,停止重连");
56325
+ });
56264
56326
  this.remoteApp = remoteApp;
56265
56327
  } else {
56266
56328
  if (!token) {
@@ -56343,28 +56405,6 @@ class AssistantApp extends Manager2 {
56343
56405
  }
56344
56406
  }
56345
56407
  }
56346
- async reconnectRemoteApp() {
56347
- console.log("重新连接到远程应用服务器...", this.attemptedConnectTimes);
56348
- const remoteApp = this.remoteApp;
56349
- if (remoteApp) {
56350
- if (remoteApp.ws) {
56351
- remoteApp.ws.close();
56352
- }
56353
- remoteApp.init();
56354
- this.attemptedConnectTimes += 1;
56355
- const isConnect = await remoteApp.isConnect();
56356
- if (isConnect) {
56357
- remoteApp.listenProxy();
56358
- this.attemptedConnectTimes = 0;
56359
- console.log("重新连接到了远程应用服务器");
56360
- } else {
56361
- this.reconnectRemoteApp();
56362
- setTimeout(() => {
56363
- this.initRouterApp();
56364
- }, 30 * 1000 + this.attemptedConnectTimes * 10 * 1000);
56365
- }
56366
- }
56367
- }
56368
56408
  async initRoutes() {
56369
56409
  const routes = this.config.getConfig().routes || [];
56370
56410
  for (const route of routes) {
@@ -56379,7 +56419,7 @@ class AssistantApp extends Manager2 {
56379
56419
  }
56380
56420
  }
56381
56421
  }
56382
- // ../node_modules/.pnpm/@kevisual+query@0.0.39/node_modules/@kevisual/query/dist/query.js
56422
+ // ../node_modules/.pnpm/@kevisual+query@0.0.40/node_modules/@kevisual/query/dist/query.js
56383
56423
  var isTextForContentType2 = (contentType) => {
56384
56424
  if (!contentType)
56385
56425
  return false;
@@ -56408,12 +56448,12 @@ var adapter2 = async (opts = {}, overloadOpts) => {
56408
56448
  url3 = new URL(opts.url);
56409
56449
  } else {
56410
56450
  origin = window?.location?.origin || "http://localhost:51515";
56411
- url3 = new URL(opts.url, origin);
56451
+ url3 = new URL(opts?.url || "", origin);
56412
56452
  }
56413
56453
  const isGet = method === "GET";
56414
56454
  const oldSearchParams = url3.searchParams;
56415
56455
  if (isGet) {
56416
- let searchParams = new URLSearchParams({ ...Object.fromEntries(oldSearchParams), ...opts.body });
56456
+ let searchParams = new URLSearchParams({ ...Object.fromEntries(oldSearchParams), ...opts?.params, ...opts?.body });
56417
56457
  url3.search = searchParams.toString();
56418
56458
  } else {
56419
56459
  const params = {
@@ -56438,11 +56478,13 @@ var adapter2 = async (opts = {}, overloadOpts) => {
56438
56478
  } else if (isPostFile) {
56439
56479
  body = opts.body;
56440
56480
  } else {
56441
- headers = {
56442
- "Content-Type": "application/json",
56443
- ...headers
56444
- };
56445
- body = JSON.stringify(opts.body);
56481
+ if (opts.body && typeof opts.body === "object" && !(opts.body instanceof FormData)) {
56482
+ headers = {
56483
+ "Content-Type": "application/json",
56484
+ ...headers
56485
+ };
56486
+ body = JSON.stringify(opts.body);
56487
+ }
56446
56488
  }
56447
56489
  return fetch(url3, {
56448
56490
  method: method.toUpperCase(),
@@ -56512,7 +56554,7 @@ class Query2 {
56512
56554
  "Content-Type": "application/json"
56513
56555
  };
56514
56556
  this.timeout = opts?.timeout || 60000 * 3;
56515
- if (opts.beforeRequest) {
56557
+ if (opts?.beforeRequest) {
56516
56558
  this.beforeRequest = opts.beforeRequest;
56517
56559
  } else {
56518
56560
  this.beforeRequest = async (opts2) => {
@@ -57416,10 +57458,10 @@ ${line}`;
57416
57458
  import path11 from "node:path";
57417
57459
  import fs15 from "node:fs";
57418
57460
 
57419
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/key.js
57461
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/key.js
57420
57462
  var isTabKey = (key) => key.name === "tab";
57421
57463
  var isEnterKey = (key) => key.name === "enter" || key.name === "return";
57422
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/errors.js
57464
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/errors.js
57423
57465
  class AbortPromptError extends Error {
57424
57466
  name = "AbortPromptError";
57425
57467
  message = "Prompt was aborted";
@@ -57445,10 +57487,10 @@ class HookError extends Error {
57445
57487
  class ValidationError extends Error {
57446
57488
  name = "ValidationError";
57447
57489
  }
57448
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/use-state.js
57490
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/use-state.js
57449
57491
  import { AsyncResource as AsyncResource2 } from "node:async_hooks";
57450
57492
 
57451
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/hook-engine.js
57493
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/hook-engine.js
57452
57494
  import { AsyncLocalStorage, AsyncResource } from "node:async_hooks";
57453
57495
  var hookStorage = new AsyncLocalStorage;
57454
57496
  function createStore(rl) {
@@ -57553,10 +57595,10 @@ var effectScheduler = {
57553
57595
  }
57554
57596
  };
57555
57597
 
57556
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/use-state.js
57598
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/use-state.js
57557
57599
  function useState(defaultValue) {
57558
57600
  return withPointer((pointer) => {
57559
- const setState = AsyncResource2.bind(function setState(newValue) {
57601
+ const setState = AsyncResource2.bind(function setState2(newValue) {
57560
57602
  if (pointer.get() !== newValue) {
57561
57603
  pointer.set(newValue);
57562
57604
  handleChange();
@@ -57571,7 +57613,7 @@ function useState(defaultValue) {
57571
57613
  });
57572
57614
  }
57573
57615
 
57574
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/use-effect.js
57616
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/use-effect.js
57575
57617
  function useEffect(cb, depArray) {
57576
57618
  withPointer((pointer) => {
57577
57619
  const oldDeps = pointer.get();
@@ -57583,7 +57625,7 @@ function useEffect(cb, depArray) {
57583
57625
  });
57584
57626
  }
57585
57627
 
57586
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/theme.js
57628
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/theme.js
57587
57629
  import { styleText } from "node:util";
57588
57630
 
57589
57631
  // ../node_modules/.pnpm/@inquirer+figures@2.0.3/node_modules/@inquirer/figures/dist/index.js
@@ -57875,7 +57917,7 @@ var figures = shouldUseMain ? mainSymbols : fallbackSymbols;
57875
57917
  var dist_default = figures;
57876
57918
  var replacements = Object.entries(specialMainSymbols);
57877
57919
 
57878
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/theme.js
57920
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/theme.js
57879
57921
  var defaultTheme = {
57880
57922
  prefix: {
57881
57923
  idle: styleText("blue", "?"),
@@ -57896,7 +57938,7 @@ var defaultTheme = {
57896
57938
  }
57897
57939
  };
57898
57940
 
57899
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/make-theme.js
57941
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/make-theme.js
57900
57942
  function isPlainObject5(value) {
57901
57943
  if (typeof value !== "object" || value === null)
57902
57944
  return false;
@@ -57924,7 +57966,7 @@ function makeTheme(...themes) {
57924
57966
  return deepMerge(...themesToMerge);
57925
57967
  }
57926
57968
 
57927
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/use-prefix.js
57969
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/use-prefix.js
57928
57970
  function usePrefix({ status = "idle", theme }) {
57929
57971
  const [showLoader, setShowLoader] = useState(false);
57930
57972
  const [tick, setTick] = useState(0);
@@ -57954,12 +57996,12 @@ function usePrefix({ status = "idle", theme }) {
57954
57996
  const iconName = status === "loading" ? "idle" : status;
57955
57997
  return typeof prefix === "string" ? prefix : prefix[iconName] ?? prefix["idle"];
57956
57998
  }
57957
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/use-ref.js
57999
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/use-ref.js
57958
58000
  function useRef(val) {
57959
58001
  return useState({ current: val })[0];
57960
58002
  }
57961
58003
 
57962
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/use-keypress.js
58004
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/use-keypress.js
57963
58005
  function useKeypress(userHandler) {
57964
58006
  const signal = useRef(userHandler);
57965
58007
  signal.current = userHandler;
@@ -57977,309 +58019,196 @@ function useKeypress(userHandler) {
57977
58019
  };
57978
58020
  }, []);
57979
58021
  }
57980
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/utils.js
58022
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/utils.js
57981
58023
  var import_cli_width = __toESM(require_cli_width(), 1);
57982
58024
 
57983
- // ../node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.js
57984
- function ansiRegex({ onlyFirst = false } = {}) {
57985
- const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
57986
- const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
57987
- const csi = "[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
57988
- const pattern2 = `${osc}|${csi}`;
57989
- return new RegExp(pattern2, onlyFirst ? undefined : "g");
57990
- }
57991
-
57992
- // ../node_modules/.pnpm/strip-ansi@7.1.2/node_modules/strip-ansi/index.js
57993
- var regex = ansiRegex();
57994
- function stripAnsi(string5) {
57995
- if (typeof string5 !== "string") {
57996
- throw new TypeError(`Expected a \`string\`, got \`${typeof string5}\``);
57997
- }
57998
- return string5.replace(regex, "");
57999
- }
58000
-
58001
- // ../node_modules/.pnpm/get-east-asian-width@1.4.0/node_modules/get-east-asian-width/lookup.js
58002
- function isAmbiguous(x) {
58003
- return x === 161 || x === 164 || x === 167 || x === 168 || x === 170 || x === 173 || x === 174 || x >= 176 && x <= 180 || x >= 182 && x <= 186 || x >= 188 && x <= 191 || x === 198 || x === 208 || x === 215 || x === 216 || x >= 222 && x <= 225 || x === 230 || x >= 232 && x <= 234 || x === 236 || x === 237 || x === 240 || x === 242 || x === 243 || x >= 247 && x <= 250 || x === 252 || x === 254 || x === 257 || x === 273 || x === 275 || x === 283 || x === 294 || x === 295 || x === 299 || x >= 305 && x <= 307 || x === 312 || x >= 319 && x <= 322 || x === 324 || x >= 328 && x <= 331 || x === 333 || x === 338 || x === 339 || x === 358 || x === 359 || x === 363 || x === 462 || x === 464 || x === 466 || x === 468 || x === 470 || x === 472 || x === 474 || x === 476 || x === 593 || x === 609 || x === 708 || x === 711 || x >= 713 && x <= 715 || x === 717 || x === 720 || x >= 728 && x <= 731 || x === 733 || x === 735 || x >= 768 && x <= 879 || x >= 913 && x <= 929 || x >= 931 && x <= 937 || x >= 945 && x <= 961 || x >= 963 && x <= 969 || x === 1025 || x >= 1040 && x <= 1103 || x === 1105 || x === 8208 || x >= 8211 && x <= 8214 || x === 8216 || x === 8217 || x === 8220 || x === 8221 || x >= 8224 && x <= 8226 || x >= 8228 && x <= 8231 || x === 8240 || x === 8242 || x === 8243 || x === 8245 || x === 8251 || x === 8254 || x === 8308 || x === 8319 || x >= 8321 && x <= 8324 || x === 8364 || x === 8451 || x === 8453 || x === 8457 || x === 8467 || x === 8470 || x === 8481 || x === 8482 || x === 8486 || x === 8491 || x === 8531 || x === 8532 || x >= 8539 && x <= 8542 || x >= 8544 && x <= 8555 || x >= 8560 && x <= 8569 || x === 8585 || x >= 8592 && x <= 8601 || x === 8632 || x === 8633 || x === 8658 || x === 8660 || x === 8679 || x === 8704 || x === 8706 || x === 8707 || x === 8711 || x === 8712 || x === 8715 || x === 8719 || x === 8721 || x === 8725 || x === 8730 || x >= 8733 && x <= 8736 || x === 8739 || x === 8741 || x >= 8743 && x <= 8748 || x === 8750 || x >= 8756 && x <= 8759 || x === 8764 || x === 8765 || x === 8776 || x === 8780 || x === 8786 || x === 8800 || x === 8801 || x >= 8804 && x <= 8807 || x === 8810 || x === 8811 || x === 8814 || x === 8815 || x === 8834 || x === 8835 || x === 8838 || x === 8839 || x === 8853 || x === 8857 || x === 8869 || x === 8895 || x === 8978 || x >= 9312 && x <= 9449 || x >= 9451 && x <= 9547 || x >= 9552 && x <= 9587 || x >= 9600 && x <= 9615 || x >= 9618 && x <= 9621 || x === 9632 || x === 9633 || x >= 9635 && x <= 9641 || x === 9650 || x === 9651 || x === 9654 || x === 9655 || x === 9660 || x === 9661 || x === 9664 || x === 9665 || x >= 9670 && x <= 9672 || x === 9675 || x >= 9678 && x <= 9681 || x >= 9698 && x <= 9701 || x === 9711 || x === 9733 || x === 9734 || x === 9737 || x === 9742 || x === 9743 || x === 9756 || x === 9758 || x === 9792 || x === 9794 || x === 9824 || x === 9825 || x >= 9827 && x <= 9829 || x >= 9831 && x <= 9834 || x === 9836 || x === 9837 || x === 9839 || x === 9886 || x === 9887 || x === 9919 || x >= 9926 && x <= 9933 || x >= 9935 && x <= 9939 || x >= 9941 && x <= 9953 || x === 9955 || x === 9960 || x === 9961 || x >= 9963 && x <= 9969 || x === 9972 || x >= 9974 && x <= 9977 || x === 9979 || x === 9980 || x === 9982 || x === 9983 || x === 10045 || x >= 10102 && x <= 10111 || x >= 11094 && x <= 11097 || x >= 12872 && x <= 12879 || x >= 57344 && x <= 63743 || x >= 65024 && x <= 65039 || x === 65533 || x >= 127232 && x <= 127242 || x >= 127248 && x <= 127277 || x >= 127280 && x <= 127337 || x >= 127344 && x <= 127373 || x === 127375 || x === 127376 || x >= 127387 && x <= 127404 || x >= 917760 && x <= 917999 || x >= 983040 && x <= 1048573 || x >= 1048576 && x <= 1114109;
58004
- }
58005
- function isFullWidth(x) {
58025
+ // ../node_modules/.pnpm/fast-string-truncated-width@3.0.3/node_modules/fast-string-truncated-width/dist/utils.js
58026
+ var getCodePointsLength = (() => {
58027
+ const SURROGATE_PAIR_RE = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
58028
+ return (input) => {
58029
+ let surrogatePairsNr = 0;
58030
+ SURROGATE_PAIR_RE.lastIndex = 0;
58031
+ while (SURROGATE_PAIR_RE.test(input)) {
58032
+ surrogatePairsNr += 1;
58033
+ }
58034
+ return input.length - surrogatePairsNr;
58035
+ };
58036
+ })();
58037
+ var isFullWidth = (x) => {
58006
58038
  return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
58007
- }
58008
- function isWide(x) {
58009
- return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9776 && x <= 9783 || x >= 9800 && x <= 9811 || x === 9855 || x >= 9866 && x <= 9871 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12773 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x >= 94192 && x <= 94198 || x >= 94208 && x <= 101589 || x >= 101631 && x <= 101662 || x >= 101760 && x <= 101874 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x >= 119552 && x <= 119638 || x >= 119648 && x <= 119670 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128728 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129674 || x >= 129678 && x <= 129734 || x === 129736 || x >= 129741 && x <= 129756 || x >= 129759 && x <= 129770 || x >= 129775 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
58010
- }
58011
-
58012
- // ../node_modules/.pnpm/get-east-asian-width@1.4.0/node_modules/get-east-asian-width/index.js
58013
- function validate(codePoint) {
58014
- if (!Number.isSafeInteger(codePoint)) {
58015
- throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
58016
- }
58017
- }
58018
- function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
58019
- validate(codePoint);
58020
- if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
58021
- return 2;
58022
- }
58023
- return 1;
58024
- }
58039
+ };
58040
+ var isWideNotCJKTNotEmoji = (x) => {
58041
+ return x === 8987 || x === 9001 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12771 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 19903 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
58042
+ };
58025
58043
 
58026
- // ../node_modules/.pnpm/string-width@7.2.0/node_modules/string-width/index.js
58027
- var import_emoji_regex = __toESM(require_emoji_regex(), 1);
58028
- var segmenter = new Intl.Segmenter;
58029
- var defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
58030
- function stringWidth(string5, options = {}) {
58031
- if (typeof string5 !== "string" || string5.length === 0) {
58032
- return 0;
58033
- }
58034
- const {
58035
- ambiguousIsNarrow = true,
58036
- countAnsiEscapeCodes = false
58037
- } = options;
58038
- if (!countAnsiEscapeCodes) {
58039
- string5 = stripAnsi(string5);
58040
- }
58041
- if (string5.length === 0) {
58042
- return 0;
58043
- }
58044
+ // ../node_modules/.pnpm/fast-string-truncated-width@3.0.3/node_modules/fast-string-truncated-width/dist/index.js
58045
+ var ANSI_RE = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]|\u001b\]8;[^;]*;.*?(?:\u0007|\u001b\u005c)/y;
58046
+ var CONTROL_RE = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y;
58047
+ var CJKT_WIDE_RE = /(?:(?![\uFF61-\uFF9F\uFF00-\uFFEF])[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Tangut}]){1,1000}/yu;
58048
+ var TAB_RE = /\t{1,1000}/y;
58049
+ var EMOJI_RE = /[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[\u{E0061}-\u{E007A}]{2}[\u{E0030}-\u{E0039}\u{E0061}-\u{E007A}]{1,3}\u{E007F}|(?:\p{Emoji}\uFE0F\u20E3?|\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation})(?:\u200D(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F\u20E3?))*/yu;
58050
+ var LATIN_RE = /(?:[\x20-\x7E\xA0-\xFF](?!\uFE0F)){1,1000}/y;
58051
+ var MODIFIER_RE = /\p{M}+/gu;
58052
+ var NO_TRUNCATION = { limit: Infinity, ellipsis: "" };
58053
+ var getStringTruncatedWidth = (input, truncationOptions = {}, widthOptions = {}) => {
58054
+ const LIMIT = truncationOptions.limit ?? Infinity;
58055
+ const ELLIPSIS = truncationOptions.ellipsis ?? "";
58056
+ const ELLIPSIS_WIDTH = truncationOptions?.ellipsisWidth ?? (ELLIPSIS ? getStringTruncatedWidth(ELLIPSIS, NO_TRUNCATION, widthOptions).width : 0);
58057
+ const ANSI_WIDTH = 0;
58058
+ const CONTROL_WIDTH = widthOptions.controlWidth ?? 0;
58059
+ const TAB_WIDTH = widthOptions.tabWidth ?? 8;
58060
+ const EMOJI_WIDTH = widthOptions.emojiWidth ?? 2;
58061
+ const FULL_WIDTH_WIDTH = 2;
58062
+ const REGULAR_WIDTH = widthOptions.regularWidth ?? 1;
58063
+ const WIDE_WIDTH = widthOptions.wideWidth ?? FULL_WIDTH_WIDTH;
58064
+ const PARSE_BLOCKS = [
58065
+ [LATIN_RE, REGULAR_WIDTH],
58066
+ [ANSI_RE, ANSI_WIDTH],
58067
+ [CONTROL_RE, CONTROL_WIDTH],
58068
+ [TAB_RE, TAB_WIDTH],
58069
+ [EMOJI_RE, EMOJI_WIDTH],
58070
+ [CJKT_WIDE_RE, WIDE_WIDTH]
58071
+ ];
58072
+ let indexPrev = 0;
58073
+ let index = 0;
58074
+ let length = input.length;
58075
+ let lengthExtra = 0;
58076
+ let truncationEnabled = false;
58077
+ let truncationIndex = length;
58078
+ let truncationLimit = Math.max(0, LIMIT - ELLIPSIS_WIDTH);
58079
+ let unmatchedStart = 0;
58080
+ let unmatchedEnd = 0;
58044
58081
  let width = 0;
58045
- const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
58046
- for (const { segment: character } of segmenter.segment(string5)) {
58047
- const codePoint = character.codePointAt(0);
58048
- if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
58049
- continue;
58050
- }
58051
- if (codePoint >= 8203 && codePoint <= 8207 || codePoint === 65279) {
58052
- continue;
58053
- }
58054
- if (codePoint >= 768 && codePoint <= 879 || codePoint >= 6832 && codePoint <= 6911 || codePoint >= 7616 && codePoint <= 7679 || codePoint >= 8400 && codePoint <= 8447 || codePoint >= 65056 && codePoint <= 65071) {
58055
- continue;
58056
- }
58057
- if (codePoint >= 55296 && codePoint <= 57343) {
58058
- continue;
58059
- }
58060
- if (codePoint >= 65024 && codePoint <= 65039) {
58061
- continue;
58062
- }
58063
- if (defaultIgnorableCodePointRegex.test(character)) {
58064
- continue;
58065
- }
58066
- if (import_emoji_regex.default().test(character)) {
58067
- width += 2;
58068
- continue;
58069
- }
58070
- width += eastAsianWidth(codePoint, eastAsianWidthOptions);
58071
- }
58072
- return width;
58073
- }
58074
-
58075
- // ../node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.js
58076
- var ANSI_BACKGROUND_OFFSET2 = 10;
58077
- var wrapAnsi162 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
58078
- var wrapAnsi2562 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
58079
- var wrapAnsi16m2 = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
58080
- var styles3 = {
58081
- modifier: {
58082
- reset: [0, 0],
58083
- bold: [1, 22],
58084
- dim: [2, 22],
58085
- italic: [3, 23],
58086
- underline: [4, 24],
58087
- overline: [53, 55],
58088
- inverse: [7, 27],
58089
- hidden: [8, 28],
58090
- strikethrough: [9, 29]
58091
- },
58092
- color: {
58093
- black: [30, 39],
58094
- red: [31, 39],
58095
- green: [32, 39],
58096
- yellow: [33, 39],
58097
- blue: [34, 39],
58098
- magenta: [35, 39],
58099
- cyan: [36, 39],
58100
- white: [37, 39],
58101
- blackBright: [90, 39],
58102
- gray: [90, 39],
58103
- grey: [90, 39],
58104
- redBright: [91, 39],
58105
- greenBright: [92, 39],
58106
- yellowBright: [93, 39],
58107
- blueBright: [94, 39],
58108
- magentaBright: [95, 39],
58109
- cyanBright: [96, 39],
58110
- whiteBright: [97, 39]
58111
- },
58112
- bgColor: {
58113
- bgBlack: [40, 49],
58114
- bgRed: [41, 49],
58115
- bgGreen: [42, 49],
58116
- bgYellow: [43, 49],
58117
- bgBlue: [44, 49],
58118
- bgMagenta: [45, 49],
58119
- bgCyan: [46, 49],
58120
- bgWhite: [47, 49],
58121
- bgBlackBright: [100, 49],
58122
- bgGray: [100, 49],
58123
- bgGrey: [100, 49],
58124
- bgRedBright: [101, 49],
58125
- bgGreenBright: [102, 49],
58126
- bgYellowBright: [103, 49],
58127
- bgBlueBright: [104, 49],
58128
- bgMagentaBright: [105, 49],
58129
- bgCyanBright: [106, 49],
58130
- bgWhiteBright: [107, 49]
58131
- }
58132
- };
58133
- var modifierNames2 = Object.keys(styles3.modifier);
58134
- var foregroundColorNames2 = Object.keys(styles3.color);
58135
- var backgroundColorNames2 = Object.keys(styles3.bgColor);
58136
- var colorNames2 = [...foregroundColorNames2, ...backgroundColorNames2];
58137
- function assembleStyles2() {
58138
- const codes = new Map;
58139
- for (const [groupName, group] of Object.entries(styles3)) {
58140
- for (const [styleName, style] of Object.entries(group)) {
58141
- styles3[styleName] = {
58142
- open: `\x1B[${style[0]}m`,
58143
- close: `\x1B[${style[1]}m`
58144
- };
58145
- group[styleName] = styles3[styleName];
58146
- codes.set(style[0], style[1]);
58147
- }
58148
- Object.defineProperty(styles3, groupName, {
58149
- value: group,
58150
- enumerable: false
58151
- });
58152
- }
58153
- Object.defineProperty(styles3, "codes", {
58154
- value: codes,
58155
- enumerable: false
58156
- });
58157
- styles3.color.close = "\x1B[39m";
58158
- styles3.bgColor.close = "\x1B[49m";
58159
- styles3.color.ansi = wrapAnsi162();
58160
- styles3.color.ansi256 = wrapAnsi2562();
58161
- styles3.color.ansi16m = wrapAnsi16m2();
58162
- styles3.bgColor.ansi = wrapAnsi162(ANSI_BACKGROUND_OFFSET2);
58163
- styles3.bgColor.ansi256 = wrapAnsi2562(ANSI_BACKGROUND_OFFSET2);
58164
- styles3.bgColor.ansi16m = wrapAnsi16m2(ANSI_BACKGROUND_OFFSET2);
58165
- Object.defineProperties(styles3, {
58166
- rgbToAnsi256: {
58167
- value(red, green, blue) {
58168
- if (red === green && green === blue) {
58169
- if (red < 8) {
58170
- return 16;
58082
+ let widthExtra = 0;
58083
+ outer:
58084
+ while (true) {
58085
+ if (unmatchedEnd > unmatchedStart || index >= length && index > indexPrev) {
58086
+ const unmatched = input.slice(unmatchedStart, unmatchedEnd) || input.slice(indexPrev, index);
58087
+ lengthExtra = 0;
58088
+ for (const char of unmatched.replaceAll(MODIFIER_RE, "")) {
58089
+ const codePoint = char.codePointAt(0) || 0;
58090
+ if (isFullWidth(codePoint)) {
58091
+ widthExtra = FULL_WIDTH_WIDTH;
58092
+ } else if (isWideNotCJKTNotEmoji(codePoint)) {
58093
+ widthExtra = WIDE_WIDTH;
58094
+ } else {
58095
+ widthExtra = REGULAR_WIDTH;
58171
58096
  }
58172
- if (red > 248) {
58173
- return 231;
58097
+ if (width + widthExtra > truncationLimit) {
58098
+ truncationIndex = Math.min(truncationIndex, Math.max(unmatchedStart, indexPrev) + lengthExtra);
58174
58099
  }
58175
- return Math.round((red - 8) / 247 * 24) + 232;
58176
- }
58177
- return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
58178
- },
58179
- enumerable: false
58180
- },
58181
- hexToRgb: {
58182
- value(hex4) {
58183
- const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex4.toString(16));
58184
- if (!matches) {
58185
- return [0, 0, 0];
58186
- }
58187
- let [colorString] = matches;
58188
- if (colorString.length === 3) {
58189
- colorString = [...colorString].map((character) => character + character).join("");
58190
- }
58191
- const integer3 = Number.parseInt(colorString, 16);
58192
- return [
58193
- integer3 >> 16 & 255,
58194
- integer3 >> 8 & 255,
58195
- integer3 & 255
58196
- ];
58197
- },
58198
- enumerable: false
58199
- },
58200
- hexToAnsi256: {
58201
- value: (hex4) => styles3.rgbToAnsi256(...styles3.hexToRgb(hex4)),
58202
- enumerable: false
58203
- },
58204
- ansi256ToAnsi: {
58205
- value(code) {
58206
- if (code < 8) {
58207
- return 30 + code;
58208
- }
58209
- if (code < 16) {
58210
- return 90 + (code - 8);
58211
- }
58212
- let red;
58213
- let green;
58214
- let blue;
58215
- if (code >= 232) {
58216
- red = ((code - 232) * 10 + 8) / 255;
58217
- green = red;
58218
- blue = red;
58219
- } else {
58220
- code -= 16;
58221
- const remainder = code % 36;
58222
- red = Math.floor(code / 36) / 5;
58223
- green = Math.floor(remainder / 6) / 5;
58224
- blue = remainder % 6 / 5;
58225
- }
58226
- const value = Math.max(red, green, blue) * 2;
58227
- if (value === 0) {
58228
- return 30;
58229
- }
58230
- let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
58231
- if (value === 2) {
58232
- result += 60;
58100
+ if (width + widthExtra > LIMIT) {
58101
+ truncationEnabled = true;
58102
+ break outer;
58103
+ }
58104
+ lengthExtra += char.length;
58105
+ width += widthExtra;
58106
+ }
58107
+ unmatchedStart = unmatchedEnd = 0;
58108
+ }
58109
+ if (index >= length) {
58110
+ break outer;
58111
+ }
58112
+ for (let i = 0, l = PARSE_BLOCKS.length;i < l; i++) {
58113
+ const [BLOCK_RE, BLOCK_WIDTH] = PARSE_BLOCKS[i];
58114
+ BLOCK_RE.lastIndex = index;
58115
+ if (BLOCK_RE.test(input)) {
58116
+ lengthExtra = BLOCK_RE === CJKT_WIDE_RE ? getCodePointsLength(input.slice(index, BLOCK_RE.lastIndex)) : BLOCK_RE === EMOJI_RE ? 1 : BLOCK_RE.lastIndex - index;
58117
+ widthExtra = lengthExtra * BLOCK_WIDTH;
58118
+ if (width + widthExtra > truncationLimit) {
58119
+ truncationIndex = Math.min(truncationIndex, index + Math.floor((truncationLimit - width) / BLOCK_WIDTH));
58120
+ }
58121
+ if (width + widthExtra > LIMIT) {
58122
+ truncationEnabled = true;
58123
+ break outer;
58124
+ }
58125
+ width += widthExtra;
58126
+ unmatchedStart = indexPrev;
58127
+ unmatchedEnd = index;
58128
+ index = indexPrev = BLOCK_RE.lastIndex;
58129
+ continue outer;
58233
58130
  }
58234
- return result;
58235
- },
58236
- enumerable: false
58237
- },
58238
- rgbToAnsi: {
58239
- value: (red, green, blue) => styles3.ansi256ToAnsi(styles3.rgbToAnsi256(red, green, blue)),
58240
- enumerable: false
58241
- },
58242
- hexToAnsi: {
58243
- value: (hex4) => styles3.ansi256ToAnsi(styles3.hexToAnsi256(hex4)),
58244
- enumerable: false
58131
+ }
58132
+ index += 1;
58245
58133
  }
58246
- });
58247
- return styles3;
58248
- }
58249
- var ansiStyles2 = assembleStyles2();
58250
- var ansi_styles_default2 = ansiStyles2;
58134
+ return {
58135
+ width: truncationEnabled ? truncationLimit : width,
58136
+ index: truncationEnabled ? truncationIndex : length,
58137
+ truncated: truncationEnabled,
58138
+ ellipsed: truncationEnabled && LIMIT >= ELLIPSIS_WIDTH
58139
+ };
58140
+ };
58141
+ var dist_default2 = getStringTruncatedWidth;
58251
58142
 
58252
- // ../node_modules/.pnpm/wrap-ansi@9.0.2/node_modules/wrap-ansi/index.js
58253
- var ESCAPES = new Set([
58254
- "\x1B",
58255
- "›"
58256
- ]);
58143
+ // ../node_modules/.pnpm/fast-string-width@3.0.2/node_modules/fast-string-width/dist/index.js
58144
+ var NO_TRUNCATION2 = {
58145
+ limit: Infinity,
58146
+ ellipsis: "",
58147
+ ellipsisWidth: 0
58148
+ };
58149
+ var fastStringWidth = (input, options = {}) => {
58150
+ return dist_default2(input, NO_TRUNCATION2, options).width;
58151
+ };
58152
+ var dist_default3 = fastStringWidth;
58153
+
58154
+ // ../node_modules/.pnpm/fast-wrap-ansi@0.2.0/node_modules/fast-wrap-ansi/lib/main.js
58155
+ var ESC = "\x1B";
58156
+ var CSI = "›";
58257
58157
  var END_CODE = 39;
58258
58158
  var ANSI_ESCAPE_BELL = "\x07";
58259
58159
  var ANSI_CSI = "[";
58260
58160
  var ANSI_OSC = "]";
58261
58161
  var ANSI_SGR_TERMINATOR = "m";
58262
58162
  var ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
58263
- var wrapAnsiCode = (code) => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
58264
- var wrapAnsiHyperlink = (url3) => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${url3}${ANSI_ESCAPE_BELL}`;
58265
- var wordLengths = (string5) => string5.split(" ").map((character) => stringWidth(character));
58163
+ var GROUP_REGEX = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`, "y");
58164
+ var getClosingCode = (openingCode) => {
58165
+ if (openingCode >= 30 && openingCode <= 37)
58166
+ return 39;
58167
+ if (openingCode >= 90 && openingCode <= 97)
58168
+ return 39;
58169
+ if (openingCode >= 40 && openingCode <= 47)
58170
+ return 49;
58171
+ if (openingCode >= 100 && openingCode <= 107)
58172
+ return 49;
58173
+ if (openingCode === 1 || openingCode === 2)
58174
+ return 22;
58175
+ if (openingCode === 3)
58176
+ return 23;
58177
+ if (openingCode === 4)
58178
+ return 24;
58179
+ if (openingCode === 7)
58180
+ return 27;
58181
+ if (openingCode === 8)
58182
+ return 28;
58183
+ if (openingCode === 9)
58184
+ return 29;
58185
+ if (openingCode === 0)
58186
+ return 0;
58187
+ return;
58188
+ };
58189
+ var wrapAnsiCode = (code) => `${ESC}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
58190
+ var wrapAnsiHyperlink = (url3) => `${ESC}${ANSI_ESCAPE_LINK}${url3}${ANSI_ESCAPE_BELL}`;
58266
58191
  var wrapWord = (rows, word, columns) => {
58267
- const characters = [...word];
58192
+ const characters = word[Symbol.iterator]();
58268
58193
  let isInsideEscape = false;
58269
58194
  let isInsideLinkEscape = false;
58270
- let visible = stringWidth(stripAnsi(rows.at(-1)));
58271
- for (const [index, character] of characters.entries()) {
58272
- const characterLength = stringWidth(character);
58195
+ let lastRow = rows.at(-1);
58196
+ let visible = lastRow === undefined ? 0 : dist_default3(lastRow);
58197
+ let currentCharacter = characters.next();
58198
+ let nextCharacter = characters.next();
58199
+ let rawCharacterIndex = 0;
58200
+ while (!currentCharacter.done) {
58201
+ const character = currentCharacter.value;
58202
+ const characterLength = dist_default3(character);
58273
58203
  if (visible + characterLength <= columns) {
58274
58204
  rows[rows.length - 1] += character;
58275
58205
  } else {
58276
58206
  rows.push(character);
58277
58207
  visible = 0;
58278
58208
  }
58279
- if (ESCAPES.has(character)) {
58209
+ if (character === ESC || character === CSI) {
58280
58210
  isInsideEscape = true;
58281
- const ansiEscapeLinkCandidate = characters.slice(index + 1, index + 1 + ANSI_ESCAPE_LINK.length).join("");
58282
- isInsideLinkEscape = ansiEscapeLinkCandidate === ANSI_ESCAPE_LINK;
58211
+ isInsideLinkEscape = word.startsWith(ANSI_ESCAPE_LINK, rawCharacterIndex + 1);
58283
58212
  }
58284
58213
  if (isInsideEscape) {
58285
58214
  if (isInsideLinkEscape) {
@@ -58290,23 +58219,27 @@ var wrapWord = (rows, word, columns) => {
58290
58219
  } else if (character === ANSI_SGR_TERMINATOR) {
58291
58220
  isInsideEscape = false;
58292
58221
  }
58293
- continue;
58294
- }
58295
- visible += characterLength;
58296
- if (visible === columns && index < characters.length - 1) {
58297
- rows.push("");
58298
- visible = 0;
58222
+ } else {
58223
+ visible += characterLength;
58224
+ if (visible === columns && !nextCharacter.done) {
58225
+ rows.push("");
58226
+ visible = 0;
58227
+ }
58299
58228
  }
58229
+ currentCharacter = nextCharacter;
58230
+ nextCharacter = characters.next();
58231
+ rawCharacterIndex += character.length;
58300
58232
  }
58301
- if (!visible && rows.at(-1).length > 0 && rows.length > 1) {
58233
+ lastRow = rows.at(-1);
58234
+ if (!visible && lastRow !== undefined && lastRow.length && rows.length > 1) {
58302
58235
  rows[rows.length - 2] += rows.pop();
58303
58236
  }
58304
58237
  };
58305
58238
  var stringVisibleTrimSpacesRight = (string5) => {
58306
58239
  const words = string5.split(" ");
58307
58240
  let last = words.length;
58308
- while (last > 0) {
58309
- if (stringWidth(words[last - 1]) > 0) {
58241
+ while (last) {
58242
+ if (dist_default3(words[last - 1])) {
58310
58243
  break;
58311
58244
  }
58312
58245
  last--;
@@ -58323,95 +58256,114 @@ var exec = (string5, columns, options = {}) => {
58323
58256
  let returnValue = "";
58324
58257
  let escapeCode;
58325
58258
  let escapeUrl;
58326
- const lengths = wordLengths(string5);
58259
+ const words = string5.split(" ");
58327
58260
  let rows = [""];
58328
- for (const [index, word] of string5.split(" ").entries()) {
58261
+ let rowLength = 0;
58262
+ for (let index = 0;index < words.length; index++) {
58263
+ const word = words[index];
58329
58264
  if (options.trim !== false) {
58330
- rows[rows.length - 1] = rows.at(-1).trimStart();
58265
+ const row = rows.at(-1) ?? "";
58266
+ const trimmed = row.trimStart();
58267
+ if (row.length !== trimmed.length) {
58268
+ rows[rows.length - 1] = trimmed;
58269
+ rowLength = dist_default3(trimmed);
58270
+ }
58331
58271
  }
58332
- let rowLength = stringWidth(rows.at(-1));
58333
58272
  if (index !== 0) {
58334
58273
  if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
58335
58274
  rows.push("");
58336
58275
  rowLength = 0;
58337
58276
  }
58338
- if (rowLength > 0 || options.trim === false) {
58277
+ if (rowLength || options.trim === false) {
58339
58278
  rows[rows.length - 1] += " ";
58340
58279
  rowLength++;
58341
58280
  }
58342
58281
  }
58343
- if (options.hard && lengths[index] > columns) {
58282
+ const wordLength = dist_default3(word);
58283
+ if (options.hard && wordLength > columns) {
58344
58284
  const remainingColumns = columns - rowLength;
58345
- const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
58346
- const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
58285
+ const breaksStartingThisLine = 1 + Math.floor((wordLength - remainingColumns - 1) / columns);
58286
+ const breaksStartingNextLine = Math.floor((wordLength - 1) / columns);
58347
58287
  if (breaksStartingNextLine < breaksStartingThisLine) {
58348
58288
  rows.push("");
58349
58289
  }
58350
58290
  wrapWord(rows, word, columns);
58291
+ rowLength = dist_default3(rows.at(-1) ?? "");
58351
58292
  continue;
58352
58293
  }
58353
- if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
58294
+ if (rowLength + wordLength > columns && rowLength && wordLength) {
58354
58295
  if (options.wordWrap === false && rowLength < columns) {
58355
58296
  wrapWord(rows, word, columns);
58297
+ rowLength = dist_default3(rows.at(-1) ?? "");
58356
58298
  continue;
58357
58299
  }
58358
58300
  rows.push("");
58301
+ rowLength = 0;
58359
58302
  }
58360
- if (rowLength + lengths[index] > columns && options.wordWrap === false) {
58303
+ if (rowLength + wordLength > columns && options.wordWrap === false) {
58361
58304
  wrapWord(rows, word, columns);
58305
+ rowLength = dist_default3(rows.at(-1) ?? "");
58362
58306
  continue;
58363
58307
  }
58364
58308
  rows[rows.length - 1] += word;
58309
+ rowLength += wordLength;
58365
58310
  }
58366
58311
  if (options.trim !== false) {
58367
58312
  rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
58368
58313
  }
58369
58314
  const preString = rows.join(`
58370
58315
  `);
58371
- const pre = [...preString];
58372
- let preStringIndex = 0;
58373
- for (const [index, character] of pre.entries()) {
58316
+ let inSurrogate = false;
58317
+ for (let i = 0;i < preString.length; i++) {
58318
+ const character = preString[i];
58374
58319
  returnValue += character;
58375
- if (ESCAPES.has(character)) {
58376
- const { groups } = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(preString.slice(preStringIndex)) || { groups: {} };
58377
- if (groups.code !== undefined) {
58378
- const code2 = Number.parseFloat(groups.code);
58379
- escapeCode = code2 === END_CODE ? undefined : code2;
58380
- } else if (groups.uri !== undefined) {
58320
+ if (!inSurrogate) {
58321
+ inSurrogate = character >= "\uD800" && character <= "\uDBFF";
58322
+ if (inSurrogate) {
58323
+ continue;
58324
+ }
58325
+ } else {
58326
+ inSurrogate = false;
58327
+ }
58328
+ if (character === ESC || character === CSI) {
58329
+ GROUP_REGEX.lastIndex = i + 1;
58330
+ const groupsResult = GROUP_REGEX.exec(preString);
58331
+ const groups = groupsResult?.groups;
58332
+ if (groups?.code !== undefined) {
58333
+ const code = Number.parseFloat(groups.code);
58334
+ escapeCode = code === END_CODE ? undefined : code;
58335
+ } else if (groups?.uri !== undefined) {
58381
58336
  escapeUrl = groups.uri.length === 0 ? undefined : groups.uri;
58382
58337
  }
58383
58338
  }
58384
- const code = ansi_styles_default2.codes.get(Number(escapeCode));
58385
- if (pre[index + 1] === `
58339
+ if (preString[i + 1] === `
58386
58340
  `) {
58387
58341
  if (escapeUrl) {
58388
58342
  returnValue += wrapAnsiHyperlink("");
58389
58343
  }
58390
- if (escapeCode && code) {
58391
- returnValue += wrapAnsiCode(code);
58344
+ const closingCode = escapeCode ? getClosingCode(escapeCode) : undefined;
58345
+ if (escapeCode && closingCode) {
58346
+ returnValue += wrapAnsiCode(closingCode);
58392
58347
  }
58393
58348
  } else if (character === `
58394
58349
  `) {
58395
- if (escapeCode && code) {
58350
+ if (escapeCode && getClosingCode(escapeCode)) {
58396
58351
  returnValue += wrapAnsiCode(escapeCode);
58397
58352
  }
58398
58353
  if (escapeUrl) {
58399
58354
  returnValue += wrapAnsiHyperlink(escapeUrl);
58400
58355
  }
58401
58356
  }
58402
- preStringIndex += character.length;
58403
58357
  }
58404
58358
  return returnValue;
58405
58359
  };
58360
+ var CRLF_OR_LF = /\r?\n/;
58406
58361
  function wrapAnsi(string5, columns, options) {
58407
- return String(string5).normalize().replaceAll(`\r
58408
- `, `
58409
- `).split(`
58410
- `).map((line) => exec(line, columns, options)).join(`
58362
+ return String(string5).normalize().split(CRLF_OR_LF).map((line) => exec(line, columns, options)).join(`
58411
58363
  `);
58412
58364
  }
58413
58365
 
58414
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/utils.js
58366
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/utils.js
58415
58367
  function breakLines(content, width) {
58416
58368
  return content.split(`
58417
58369
  `).flatMap((line) => wrapAnsi(line, width, { trim: false, hard: true }).split(`
@@ -58422,7 +58374,7 @@ function readlineWidth() {
58422
58374
  return import_cli_width.default({ defaultWidth: 80, output: readline().output });
58423
58375
  }
58424
58376
 
58425
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/create-prompt.js
58377
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/create-prompt.js
58426
58378
  var import_mute_stream = __toESM(require_lib(), 1);
58427
58379
  import * as readline2 from "node:readline";
58428
58380
  import { AsyncResource as AsyncResource3 } from "node:async_hooks";
@@ -58635,26 +58587,26 @@ var {
58635
58587
  unload
58636
58588
  } = signalExitWrap(processOk(process8) ? new SignalExit(process8) : new SignalExitFallback);
58637
58589
 
58638
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/screen-manager.js
58590
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/screen-manager.js
58639
58591
  import { stripVTControlCharacters } from "node:util";
58640
58592
 
58641
58593
  // ../node_modules/.pnpm/@inquirer+ansi@2.0.3/node_modules/@inquirer/ansi/dist/index.js
58642
- var ESC = "\x1B[";
58643
- var cursorLeft = ESC + "G";
58644
- var cursorHide = ESC + "?25l";
58645
- var cursorShow = ESC + "?25h";
58646
- var cursorUp = (rows = 1) => rows > 0 ? `${ESC}${rows}A` : "";
58647
- var cursorDown = (rows = 1) => rows > 0 ? `${ESC}${rows}B` : "";
58594
+ var ESC2 = "\x1B[";
58595
+ var cursorLeft = ESC2 + "G";
58596
+ var cursorHide = ESC2 + "?25l";
58597
+ var cursorShow = ESC2 + "?25h";
58598
+ var cursorUp = (rows = 1) => rows > 0 ? `${ESC2}${rows}A` : "";
58599
+ var cursorDown = (rows = 1) => rows > 0 ? `${ESC2}${rows}B` : "";
58648
58600
  var cursorTo = (x, y) => {
58649
58601
  if (typeof y === "number" && !Number.isNaN(y)) {
58650
- return `${ESC}${y + 1};${x + 1}H`;
58602
+ return `${ESC2}${y + 1};${x + 1}H`;
58651
58603
  }
58652
- return `${ESC}${x + 1}G`;
58604
+ return `${ESC2}${x + 1}G`;
58653
58605
  };
58654
- var eraseLine = ESC + "2K";
58606
+ var eraseLine = ESC2 + "2K";
58655
58607
  var eraseLines = (lines) => lines > 0 ? (eraseLine + cursorUp(1)).repeat(lines - 1) + eraseLine + cursorLeft : "";
58656
58608
 
58657
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/screen-manager.js
58609
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/screen-manager.js
58658
58610
  var height = (content) => content.split(`
58659
58611
  `).length;
58660
58612
  var lastLine = (content) => content.split(`
@@ -58719,7 +58671,7 @@ class ScreenManager {
58719
58671
  }
58720
58672
  }
58721
58673
 
58722
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/promise-polyfill.js
58674
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/promise-polyfill.js
58723
58675
  class PromisePolyfill extends Promise {
58724
58676
  static withResolver() {
58725
58677
  let resolve;
@@ -58732,7 +58684,7 @@ class PromisePolyfill extends Promise {
58732
58684
  }
58733
58685
  }
58734
58686
 
58735
- // ../node_modules/.pnpm/@inquirer+core@11.1.1_@types+node@25.2.0/node_modules/@inquirer/core/dist/lib/create-prompt.js
58687
+ // ../node_modules/.pnpm/@inquirer+core@11.1.3_@types+node@25.2.3/node_modules/@inquirer/core/dist/lib/create-prompt.js
58736
58688
  function getCallSites() {
58737
58689
  const _prepareStackTrace = Error.prepareStackTrace;
58738
58690
  let result = [];
@@ -58818,7 +58770,7 @@ function createPrompt(view) {
58818
58770
  };
58819
58771
  return prompt;
58820
58772
  }
58821
- // ../node_modules/.pnpm/@inquirer+confirm@6.0.4_@types+node@25.2.0/node_modules/@inquirer/confirm/dist/index.js
58773
+ // ../node_modules/.pnpm/@inquirer+confirm@6.0.6_@types+node@25.2.3/node_modules/@inquirer/confirm/dist/index.js
58822
58774
  function getBooleanValue(value, defaultValue) {
58823
58775
  let answer = defaultValue !== false;
58824
58776
  if (/^(y|yes)/i.test(value))
@@ -58830,7 +58782,7 @@ function getBooleanValue(value, defaultValue) {
58830
58782
  function boolToString(value) {
58831
58783
  return value ? "Yes" : "No";
58832
58784
  }
58833
- var dist_default2 = createPrompt((config4, done) => {
58785
+ var dist_default4 = createPrompt((config4, done) => {
58834
58786
  const { transformer = boolToString } = config4;
58835
58787
  const [status, setStatus] = useState("idle");
58836
58788
  const [value, setValue] = useState("");
@@ -58887,7 +58839,7 @@ var removeCommand = new Command("remove").description("删除助手配置文件"
58887
58839
  const configDir3 = AssistantInit.detectConfigDir(opts.path);
58888
58840
  const assistantDir = path11.join(configDir3, "assistant-app");
58889
58841
  if (fs15.existsSync(assistantDir)) {
58890
- dist_default2({
58842
+ dist_default4({
58891
58843
  message: `确定要删除助手配置文件吗?
58892
58844
  助手配置文件路径:${assistantDir}`,
58893
58845
  default: false
@@ -58983,7 +58935,7 @@ class AppDownload {
58983
58935
  return runCommand(command, args2);
58984
58936
  }
58985
58937
  async confirm(message) {
58986
- return await dist_default2({
58938
+ return await dist_default4({
58987
58939
  message: message || "是否继续删除应用?",
58988
58940
  default: false
58989
58941
  });
@@ -59029,9 +58981,9 @@ appManagerCommand.command("list").description("List all installed apps").option(
59029
58981
  const manager = new AssistantApp(assistantConfig2);
59030
58982
  await manager.loadConfig();
59031
58983
  let showInfos = manager.getAllAppShowInfo();
59032
- const isWide2 = opts.wide ?? false;
58984
+ const isWide = opts.wide ?? false;
59033
58985
  let header = [];
59034
- if (!isWide2) {
58986
+ if (!isWide) {
59035
58987
  showInfos = showInfos.map((item) => {
59036
58988
  return { key: item.key, status: item.status };
59037
58989
  });
@@ -66033,7 +65985,7 @@ var init_crypto = __esm2(() => {
66033
65985
  } catch (e) {
66034
65986
  errorProto = getProto(getProto(e)), INTRINSICS["%Error.prototype%"] = errorProto;
66035
65987
  }
66036
- var errorProto, doEval = function doEval(name) {
65988
+ var errorProto, doEval = function doEval2(name) {
66037
65989
  var value;
66038
65990
  if (name === "%AsyncFunction%")
66039
65991
  value = getEvalledConstructor("async function () {}");
@@ -66042,11 +65994,11 @@ var init_crypto = __esm2(() => {
66042
65994
  else if (name === "%AsyncGeneratorFunction%")
66043
65995
  value = getEvalledConstructor("async function* () {}");
66044
65996
  else if (name === "%AsyncGenerator%") {
66045
- var fn = doEval("%AsyncGeneratorFunction%");
65997
+ var fn = doEval2("%AsyncGeneratorFunction%");
66046
65998
  if (fn)
66047
65999
  value = fn.prototype;
66048
66000
  } else if (name === "%AsyncIteratorPrototype%") {
66049
- var gen = doEval("%AsyncGenerator%");
66001
+ var gen = doEval2("%AsyncGenerator%");
66050
66002
  if (gen && getProto)
66051
66003
  value = getProto(gen.prototype);
66052
66004
  }
@@ -78883,14 +78835,14 @@ class AIUtils {
78883
78835
  }
78884
78836
  extractCodeFromMarkdown(str, language) {
78885
78837
  if (language) {
78886
- const regex22 = new RegExp(`\`\`\`${language}\\s*([\\s\\S]*?)\\s*\`\`\``, "g");
78887
- const matches2 = str.match(regex22);
78838
+ const regex2 = new RegExp(`\`\`\`${language}\\s*([\\s\\S]*?)\\s*\`\`\``, "g");
78839
+ const matches2 = str.match(regex2);
78888
78840
  if (!matches2)
78889
78841
  return null;
78890
78842
  return matches2.map((m) => m.replace(new RegExp(`\`\`\`${language}\\s*|\\s*\`\`\``, "g"), "").trim());
78891
78843
  }
78892
- const regex2 = /```[\w]*\s*([\s\S]*?)\s*```/g;
78893
- const matches = [...str.matchAll(regex2)];
78844
+ const regex = /```[\w]*\s*([\s\S]*?)\s*```/g;
78845
+ const matches = [...str.matchAll(regex)];
78894
78846
  if (matches.length === 0)
78895
78847
  return null;
78896
78848
  return matches.map((m) => m[1].trim());