@socketsecurity/mcp 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,16 +2,13 @@
2
2
  "use strict";
3
3
  /* Socket gate hook — bundled with rolldown */
4
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
- //#region \0rolldown/runtime.js
6
- var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
5
+ var __commonJSMin$1 = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod, mod.exports), cb = null), mod.exports);
7
6
 
8
- //#endregion
9
7
  let node_fs = require("node:fs");
10
8
  let node_process = require("node:process");
11
9
  let node_url = require("node:url");
12
10
 
13
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/constants/sentinels.js
14
- var require_sentinels = /* @__PURE__ */ __commonJSMin(((exports) => {
11
+ var require_sentinels = /* @__PURE__ */ __commonJSMin$1(((exports) => {
15
12
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
16
13
  const kInternalsSymbol = Symbol("@socketregistry.constants.internals");
17
14
  const LOOP_SENTINEL = 1e6;
@@ -37,9 +34,7 @@ var require_sentinels = /* @__PURE__ */ __commonJSMin(((exports) => {
37
34
  exports.kInternalsSymbol = kInternalsSymbol;
38
35
  }));
39
36
 
40
- //#endregion
41
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/constants/runtime.js
42
- var require_runtime$4 = /* @__PURE__ */ __commonJSMin(((exports) => {
37
+ var require_runtime$2 = /* @__PURE__ */ __commonJSMin$1(((exports) => {
43
38
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
44
39
  const IS_NODE = typeof process !== "undefined" && typeof process.versions !== "undefined" && typeof process.versions.node === "string";
45
40
  const IS_BROWSER = typeof globalThis !== "undefined" && "window" in globalThis && typeof globalThis.window !== "undefined" && "document" in globalThis && typeof globalThis.document !== "undefined";
@@ -49,11 +44,9 @@ var require_runtime$4 = /* @__PURE__ */ __commonJSMin(((exports) => {
49
44
  exports.IS_WORKER = IS_WORKER;
50
45
  }));
51
46
 
52
- //#endregion
53
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/node/module.js
54
- var require_module = /* @__PURE__ */ __commonJSMin(((exports) => {
47
+ var require_module = /* @__PURE__ */ __commonJSMin$1(((exports) => {
55
48
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
56
- const require_constants_runtime = require_runtime$4();
49
+ const require_constants_runtime = require_runtime$2();
57
50
  let module$1 = require("module");
58
51
  let cachedModule;
59
52
  let cachedRequire;
@@ -93,9 +86,7 @@ var require_module = /* @__PURE__ */ __commonJSMin(((exports) => {
93
86
  exports.requireFrom = requireFrom;
94
87
  }));
95
88
 
96
- //#endregion
97
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/exe/smol/detect.js
98
- var require_detect = /* @__PURE__ */ __commonJSMin(((exports) => {
89
+ var require_detect = /* @__PURE__ */ __commonJSMin$1(((exports) => {
99
90
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
100
91
  const require_node_module = require_module();
101
92
  let isSmolCache;
@@ -117,9 +108,7 @@ var require_detect = /* @__PURE__ */ __commonJSMin(((exports) => {
117
108
  exports.isSmol = isSmol;
118
109
  }));
119
110
 
120
- //#endregion
121
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/primordials/uncurry.js
122
- var require_uncurry = /* @__PURE__ */ __commonJSMin(((exports) => {
111
+ var require_uncurry = /* @__PURE__ */ __commonJSMin$1(((exports) => {
123
112
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
124
113
  const smolUtil = require_detect().getSmolUtil();
125
114
  const { apply, bind, call } = Function.prototype;
@@ -152,9 +141,7 @@ var require_uncurry = /* @__PURE__ */ __commonJSMin(((exports) => {
152
141
  exports.weakRefSafe = weakRefSafe;
153
142
  }));
154
143
 
155
- //#endregion
156
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/primordials/object.js
157
- var require_object = /* @__PURE__ */ __commonJSMin(((exports) => {
144
+ var require_object = /* @__PURE__ */ __commonJSMin$1(((exports) => {
158
145
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
159
146
  const require_primordials_uncurry = require_uncurry();
160
147
  const ObjectCtor = Object;
@@ -226,9 +213,7 @@ var require_object = /* @__PURE__ */ __commonJSMin(((exports) => {
226
213
  exports.ObjectValues = ObjectValues;
227
214
  }));
228
215
 
229
- //#endregion
230
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/primordials/error.js
231
- var require_error = /* @__PURE__ */ __commonJSMin(((exports) => {
216
+ var require_error = /* @__PURE__ */ __commonJSMin$1(((exports) => {
232
217
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
233
218
  const ErrorCtor = Error;
234
219
  const AggregateErrorCtor = AggregateError;
@@ -267,9 +252,7 @@ var require_error = /* @__PURE__ */ __commonJSMin(((exports) => {
267
252
  exports.URIErrorCtor = URIErrorCtor;
268
253
  }));
269
254
 
270
- //#endregion
271
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/exe/smol/primordial.js
272
- var require_primordial = /* @__PURE__ */ __commonJSMin(((exports) => {
255
+ var require_primordial = /* @__PURE__ */ __commonJSMin$1(((exports) => {
273
256
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
274
257
  const require_node_module = require_module();
275
258
  let smolPrimordial;
@@ -285,9 +268,7 @@ var require_primordial = /* @__PURE__ */ __commonJSMin(((exports) => {
285
268
  exports.getSmolPrimordial = getSmolPrimordial;
286
269
  }));
287
270
 
288
- //#endregion
289
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/primordials/string.js
290
- var require_string = /* @__PURE__ */ __commonJSMin(((exports) => {
271
+ var require_string = /* @__PURE__ */ __commonJSMin$1(((exports) => {
291
272
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
292
273
  const require_primordials_uncurry = require_uncurry();
293
274
  const smolPrimordial = require_primordial().getSmolPrimordial();
@@ -298,12 +279,13 @@ var require_string = /* @__PURE__ */ __commonJSMin(((exports) => {
298
279
  const StringPrototypeAt = require_primordials_uncurry.uncurryThis(String.prototype.at);
299
280
  const StringPrototypeCharAt = require_primordials_uncurry.uncurryThis(String.prototype.charAt);
300
281
  const smolCharCodeAt = smolPrimordial?.stringCharCodeAt;
301
- /* c8 ignore start - smol Node fast path unreachable on stock Node test runner */
302
- const StringPrototypeCharCodeAt = smolCharCodeAt ? (s, i) => {
282
+ /* c8 ignore start - the smol Fast API binding ships only on socket-btm's smol Node binary, so this body cannot run under the stock-Node runner */
283
+ function smolStringCharCodeAt(s, i) {
303
284
  const code = smolCharCodeAt(s, i);
304
285
  return code === -1 ? NaN : code;
305
- } : require_primordials_uncurry.uncurryThis(String.prototype.charCodeAt);
286
+ }
306
287
  /* c8 ignore stop */
288
+ const StringPrototypeCharCodeAt = smolCharCodeAt ? smolStringCharCodeAt : require_primordials_uncurry.uncurryThis(String.prototype.charCodeAt);
307
289
  const StringPrototypeCodePointAt = require_primordials_uncurry.uncurryThis(String.prototype.codePointAt);
308
290
  const StringPrototypeConcat = require_primordials_uncurry.uncurryThis(String.prototype.concat);
309
291
  const StringPrototypeEndsWith = require_primordials_uncurry.uncurryThis(String.prototype.endsWith);
@@ -373,11 +355,10 @@ var require_string = /* @__PURE__ */ __commonJSMin(((exports) => {
373
355
  exports.StringPrototypeTrimStart = StringPrototypeTrimStart;
374
356
  exports.StringPrototypeValueOf = StringPrototypeValueOf;
375
357
  exports.StringRaw = StringRaw;
358
+ exports.smolStringCharCodeAt = smolStringCharCodeAt;
376
359
  }));
377
360
 
378
- //#endregion
379
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/errors/predicates.js
380
- var require_predicates$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
361
+ var require_predicates$1 = /* @__PURE__ */ __commonJSMin$1(((exports) => {
381
362
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
382
363
  const require_primordials_object = require_object();
383
364
  const require_primordials_error = require_error();
@@ -401,9 +382,7 @@ var require_predicates$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
401
382
  exports.isErrorShim = isErrorShim;
402
383
  }));
403
384
 
404
- //#endregion
405
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/primordials/map-set.js
406
- var require_map_set = /* @__PURE__ */ __commonJSMin(((exports) => {
385
+ var require_map_set = /* @__PURE__ */ __commonJSMin$1(((exports) => {
407
386
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
408
387
  const require_primordials_uncurry = require_uncurry();
409
388
  const require_primordials_object = require_object();
@@ -520,13 +499,11 @@ var require_map_set = /* @__PURE__ */ __commonJSMin(((exports) => {
520
499
  exports.weakMapGetOrInsertFallback = weakMapGetOrInsertFallback;
521
500
  }));
522
501
 
523
- //#endregion
524
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/external/pony-cause.js
525
- var require_pony_cause$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
502
+ var require_pony_cause$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
526
503
  const { SetCtor: _p_SetCtor } = require_map_set();
527
504
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
528
- var require_error_with_cause = /* @__PURE__ */ __commonJSMin(((exports$11, module$10) => {
529
- module$10.exports = { ErrorWithCause: class ErrorWithCause extends Error {
505
+ var require_error_with_cause = /* @__PURE__ */ __commonJSMin(((exports, module) => {
506
+ module.exports = { ErrorWithCause: class ErrorWithCause extends Error {
530
507
  constructor(message, { cause } = {}) {
531
508
  super(message);
532
509
  this.name = ErrorWithCause.name;
@@ -535,7 +512,7 @@ var require_pony_cause$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
535
512
  }
536
513
  } };
537
514
  }));
538
- var require_helpers = /* @__PURE__ */ __commonJSMin(((exports$12, module$11) => {
515
+ var require_helpers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
539
516
  const isError = typeof Error.isError === "function" ? Error.isError : (v) => v !== null && typeof v === "object" && Object.prototype.toString.call(v) === "[object Error]";
540
517
  const findCauseByReference = (err, reference) => {
541
518
  if (!err || !reference) return;
@@ -579,17 +556,17 @@ var require_pony_cause$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
579
556
  } else return message;
580
557
  };
581
558
  const messageWithCauses = (err) => _messageWithCauses(err, /* @__PURE__ */ new _p_SetCtor());
582
- module$11.exports = {
559
+ module.exports = {
583
560
  findCauseByReference,
584
561
  getErrorCause,
585
562
  stackWithCauses,
586
563
  messageWithCauses
587
564
  };
588
565
  }));
589
- var require_pony_cause = /* @__PURE__ */ __commonJSMin(((exports$13, module$12) => {
566
+ var require_pony_cause = /* @__PURE__ */ __commonJSMin(((exports, module) => {
590
567
  const { ErrorWithCause } = require_error_with_cause();
591
568
  const { findCauseByReference, getErrorCause, messageWithCauses, stackWithCauses } = require_helpers();
592
- module$12.exports = {
569
+ module.exports = {
593
570
  ErrorWithCause,
594
571
  findCauseByReference,
595
572
  getErrorCause,
@@ -600,9 +577,7 @@ var require_pony_cause$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
600
577
  module.exports = require_pony_cause();
601
578
  }));
602
579
 
603
- //#endregion
604
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/errors/message.js
605
- var require_message = /* @__PURE__ */ __commonJSMin(((exports) => {
580
+ var require_message = /* @__PURE__ */ __commonJSMin$1(((exports) => {
606
581
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
607
582
  const require_constants_sentinels = require_sentinels();
608
583
  const require_errors_predicates = require_predicates$1();
@@ -619,9 +594,7 @@ var require_message = /* @__PURE__ */ __commonJSMin(((exports) => {
619
594
  exports.messageWithCauses = src_external_pony_cause_js.messageWithCauses;
620
595
  }));
621
596
 
622
- //#endregion
623
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/primordials/reflect.js
624
- var require_reflect = /* @__PURE__ */ __commonJSMin(((exports) => {
597
+ var require_reflect = /* @__PURE__ */ __commonJSMin$1(((exports) => {
625
598
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
626
599
  const ReflectApply = Reflect.apply;
627
600
  const ReflectConstruct = Reflect.construct;
@@ -651,11 +624,9 @@ var require_reflect = /* @__PURE__ */ __commonJSMin(((exports) => {
651
624
  exports.ReflectSetPrototypeOf = ReflectSetPrototypeOf;
652
625
  }));
653
626
 
654
- //#endregion
655
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/node/async-hooks.js
656
- var require_async_hooks = /* @__PURE__ */ __commonJSMin(((exports) => {
627
+ var require_async_hooks = /* @__PURE__ */ __commonJSMin$1(((exports) => {
657
628
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
658
- const require_constants_runtime = require_runtime$4();
629
+ const require_constants_runtime = require_runtime$2();
659
630
  let asyncHooks;
660
631
  function getNodeAsyncHooks() {
661
632
  if (!require_constants_runtime.IS_NODE) return;
@@ -665,9 +636,7 @@ var require_async_hooks = /* @__PURE__ */ __commonJSMin(((exports) => {
665
636
  exports.getNodeAsyncHooks = getNodeAsyncHooks;
666
637
  }));
667
638
 
668
- //#endregion
669
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/term/themes/themes.js
670
- var require_themes = /* @__PURE__ */ __commonJSMin(((exports) => {
639
+ var require_presets = /* @__PURE__ */ __commonJSMin$1(((exports) => {
671
640
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
672
641
  const SOCKET_THEME = {
673
642
  colors: {
@@ -866,10 +835,10 @@ var require_themes = /* @__PURE__ */ __commonJSMin(((exports) => {
866
835
  };
867
836
  const THEMES = {
868
837
  __proto__: null,
838
+ lush: LUSH_THEME,
869
839
  socket: SOCKET_THEME,
870
840
  sunset: SUNSET_THEME,
871
841
  terracotta: TERRACOTTA_THEME,
872
- lush: LUSH_THEME,
873
842
  ultra: ULTRA_THEME
874
843
  };
875
844
  exports.LUSH_THEME = LUSH_THEME;
@@ -880,19 +849,17 @@ var require_themes = /* @__PURE__ */ __commonJSMin(((exports) => {
880
849
  exports.ULTRA_THEME = ULTRA_THEME;
881
850
  }));
882
851
 
883
- //#endregion
884
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/term/themes/context.js
885
- var require_context = /* @__PURE__ */ __commonJSMin(((exports) => {
852
+ var require_context = /* @__PURE__ */ __commonJSMin$1(((exports) => {
886
853
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
887
854
  const require_node_async_hooks = require_async_hooks();
888
855
  const require_primordials_map_set = require_map_set();
889
- const require_term_themes_themes = require_themes();
856
+ const require_term_themes_presets = require_presets();
890
857
  function emitThemeChange(theme) {
891
858
  for (const listener of listeners) listener(theme);
892
859
  }
893
860
  const getAsyncHooks = require_node_async_hooks.getNodeAsyncHooks;
894
861
  let themeStorage;
895
- let fallbackTheme = require_term_themes_themes.SOCKET_THEME;
862
+ let fallbackTheme = require_term_themes_presets.SOCKET_THEME;
896
863
  const listeners = new require_primordials_map_set.SetCtor();
897
864
  function getTheme() {
898
865
  return getThemeStorage().getStore() ?? fallbackTheme;
@@ -911,18 +878,18 @@ var require_context = /* @__PURE__ */ __commonJSMin(((exports) => {
911
878
  };
912
879
  }
913
880
  function setTheme(theme) {
914
- fallbackTheme = typeof theme === "string" ? require_term_themes_themes.THEMES[theme] ?? fallbackTheme : theme;
881
+ fallbackTheme = typeof theme === "string" ? require_term_themes_presets.THEMES[theme] ?? fallbackTheme : theme;
915
882
  emitThemeChange(fallbackTheme);
916
883
  }
917
884
  async function withTheme(theme, fn) {
918
- const resolvedTheme = typeof theme === "string" ? require_term_themes_themes.THEMES[theme] ?? fallbackTheme : theme;
885
+ const resolvedTheme = typeof theme === "string" ? require_term_themes_presets.THEMES[theme] ?? fallbackTheme : theme;
919
886
  return await getThemeStorage().run(resolvedTheme, async () => {
920
887
  emitThemeChange(resolvedTheme);
921
888
  return await fn();
922
889
  });
923
890
  }
924
891
  function withThemeSync(theme, fn) {
925
- const resolvedTheme = typeof theme === "string" ? require_term_themes_themes.THEMES[theme] ?? fallbackTheme : theme;
892
+ const resolvedTheme = typeof theme === "string" ? require_term_themes_presets.THEMES[theme] ?? fallbackTheme : theme;
926
893
  return getThemeStorage().run(resolvedTheme, () => {
927
894
  emitThemeChange(resolvedTheme);
928
895
  return fn();
@@ -938,9 +905,7 @@ var require_context = /* @__PURE__ */ __commonJSMin(((exports) => {
938
905
  exports.withThemeSync = withThemeSync;
939
906
  }));
940
907
 
941
- //#endregion
942
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/logger/shared.js
943
- var require_shared = /* @__PURE__ */ __commonJSMin(((exports) => {
908
+ var require_shared = /* @__PURE__ */ __commonJSMin$1(((exports) => {
944
909
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
945
910
  const require_primordials_map_set = require_map_set();
946
911
  const globalConsole = console;
@@ -987,9 +952,7 @@ var require_shared = /* @__PURE__ */ __commonJSMin(((exports) => {
987
952
  exports.privateConstructorArgs = privateConstructorArgs;
988
953
  }));
989
954
 
990
- //#endregion
991
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/_virtual/_rolldown/runtime.js
992
- var require_runtime$3 = /* @__PURE__ */ __commonJSMin(((exports) => {
955
+ var require_runtime$1 = /* @__PURE__ */ __commonJSMin$1(((exports) => {
993
956
  var __create = Object.create;
994
957
  var __defProp = Object.defineProperty;
995
958
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1023,9 +986,7 @@ var require_runtime$3 = /* @__PURE__ */ __commonJSMin(((exports) => {
1023
986
  exports.__toESM = __toESM;
1024
987
  }));
1025
988
 
1026
- //#endregion
1027
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/primordials/array.js
1028
- var require_array = /* @__PURE__ */ __commonJSMin(((exports) => {
989
+ var require_array = /* @__PURE__ */ __commonJSMin$1(((exports) => {
1029
990
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
1030
991
  const require_primordials_uncurry = require_uncurry();
1031
992
  const smolPrimordial = require_primordial().getSmolPrimordial();
@@ -1078,13 +1039,58 @@ var require_array = /* @__PURE__ */ __commonJSMin(((exports) => {
1078
1039
  const ArrayPrototypeSort = require_primordials_uncurry.uncurryThis(Array.prototype.sort);
1079
1040
  const ArrayPrototypeSplice = require_primordials_uncurry.uncurryThis(Array.prototype.splice);
1080
1041
  const ArrayPrototypeToLocaleString = require_primordials_uncurry.uncurryThis(Array.prototype.toLocaleString);
1081
- const ArrayPrototypeToReversed = require_primordials_uncurry.uncurryThis(Array.prototype.toReversed);
1082
- const ArrayPrototypeToSorted = require_primordials_uncurry.uncurryThis(Array.prototype.toSorted);
1083
- const ArrayPrototypeToSpliced = require_primordials_uncurry.uncurryThis(Array.prototype.toSpliced);
1042
+ const ArrayPrototypeToReversed = typeof Array.prototype.toReversed === "function" ? require_primordials_uncurry.uncurryThis(Array.prototype.toReversed) : arrayToReversedFallback;
1043
+ const ArrayPrototypeToSorted = typeof Array.prototype.toSorted === "function" ? require_primordials_uncurry.uncurryThis(Array.prototype.toSorted) : arrayToSortedFallback;
1044
+ const ArrayPrototypeToSpliced = typeof Array.prototype.toSpliced === "function" ? require_primordials_uncurry.uncurryThis(Array.prototype.toSpliced) : arrayToSplicedFallback;
1084
1045
  const ArrayPrototypeToString = require_primordials_uncurry.uncurryThis(Array.prototype.toString);
1085
1046
  const ArrayPrototypeUnshift = require_primordials_uncurry.uncurryThis(Array.prototype.unshift);
1086
1047
  const ArrayPrototypeValues = require_primordials_uncurry.uncurryThis(Array.prototype.values);
1087
- const ArrayPrototypeWith = require_primordials_uncurry.uncurryThis(Array.prototype.with);
1048
+ const ArrayPrototypeWith = typeof Array.prototype.with === "function" ? require_primordials_uncurry.uncurryThis(Array.prototype.with) : arrayWithFallback;
1049
+ function arrayToReversedFallback(self) {
1050
+ const output = new ArrayCtor(self.length);
1051
+ for (let index = 0; index < self.length; index += 1) output[index] = self[self.length - index - 1];
1052
+ return output;
1053
+ }
1054
+ function arrayToSortedFallback(self, comparator) {
1055
+ if (comparator !== void 0 && typeof comparator !== "function") throw new TypeError("The comparator must be a function or undefined");
1056
+ const output = new ArrayCtor(self.length);
1057
+ for (let index = 0; index < self.length; index += 1) output[index] = self[index];
1058
+ return ArrayPrototypeSort(output, comparator);
1059
+ }
1060
+ function arrayToSplicedFallback(self, start, deleteCount, ...items) {
1061
+ const length = self.length;
1062
+ const relativeStart = normalizeArrayStart(start, length);
1063
+ const actualDeleteCount = arguments.length < 3 ? length - relativeStart : Math.min(Math.max(Math.trunc(Number(deleteCount)) || 0, 0), length - relativeStart);
1064
+ const output = new ArrayCtor(length - actualDeleteCount + items.length);
1065
+ let outputIndex = 0;
1066
+ for (let index = 0; index < relativeStart; index += 1) {
1067
+ output[outputIndex] = self[index];
1068
+ outputIndex += 1;
1069
+ }
1070
+ for (const item of items) {
1071
+ output[outputIndex] = item;
1072
+ outputIndex += 1;
1073
+ }
1074
+ for (let index = relativeStart + actualDeleteCount; index < length; index += 1) {
1075
+ output[outputIndex] = self[index];
1076
+ outputIndex += 1;
1077
+ }
1078
+ return output;
1079
+ }
1080
+ function arrayWithFallback(self, index, value) {
1081
+ const integer = Number.isNaN(index) ? 0 : Math.trunc(index);
1082
+ const actualIndex = integer < 0 ? self.length + integer : integer;
1083
+ if (actualIndex < 0 || actualIndex >= self.length) throw new RangeError("Array index is out of range");
1084
+ const output = new ArrayCtor(self.length);
1085
+ for (let position = 0; position < self.length; position += 1) output[position] = position === actualIndex ? value : self[position];
1086
+ return output;
1087
+ }
1088
+ function normalizeArrayStart(index, length) {
1089
+ const integer = Number.isNaN(index) ? 0 : Math.trunc(index);
1090
+ if (integer === -Infinity) return 0;
1091
+ if (integer < 0) return Math.max(length + integer, 0);
1092
+ return Math.min(integer, length);
1093
+ }
1088
1094
  const anyIterator = (/* @__PURE__ */ new Map()).keys();
1089
1095
  let iteratorLookup = Object.getPrototypeOf(anyIterator);
1090
1096
  while (iteratorLookup && typeof iteratorLookup.next !== "function")
@@ -1155,11 +1161,14 @@ var require_array = /* @__PURE__ */ __commonJSMin(((exports) => {
1155
1161
  exports.Uint32ArrayCtor = Uint32ArrayCtor;
1156
1162
  exports.Uint8ArrayCtor = Uint8ArrayCtor;
1157
1163
  exports.Uint8ClampedArrayCtor = Uint8ClampedArrayCtor;
1164
+ exports.arrayToReversedFallback = arrayToReversedFallback;
1165
+ exports.arrayToSortedFallback = arrayToSortedFallback;
1166
+ exports.arrayToSplicedFallback = arrayToSplicedFallback;
1167
+ exports.arrayWithFallback = arrayWithFallback;
1168
+ exports.normalizeArrayStart = normalizeArrayStart;
1158
1169
  }));
1159
1170
 
1160
- //#endregion
1161
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/primordials/math.js
1162
- var require_math = /* @__PURE__ */ __commonJSMin(((exports) => {
1171
+ var require_math = /* @__PURE__ */ __commonJSMin$1(((exports) => {
1163
1172
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
1164
1173
  const smolPrimordial = require_primordial().getSmolPrimordial();
1165
1174
  const MathE = Math.E;
@@ -1252,9 +1261,7 @@ var require_math = /* @__PURE__ */ __commonJSMin(((exports) => {
1252
1261
  exports.MathTrunc = MathTrunc;
1253
1262
  }));
1254
1263
 
1255
- //#endregion
1256
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/primordials/number.js
1257
- var require_number = /* @__PURE__ */ __commonJSMin(((exports) => {
1264
+ var require_number = /* @__PURE__ */ __commonJSMin$1(((exports) => {
1258
1265
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
1259
1266
  const require_primordials_uncurry = require_uncurry();
1260
1267
  const smolPrimordial = require_primordial().getSmolPrimordial();
@@ -1272,9 +1279,13 @@ var require_number = /* @__PURE__ */ __commonJSMin(((exports) => {
1272
1279
  const NumberIsSafeInteger = smolPrimordial?.numberIsSafeInteger ?? Number.isSafeInteger;
1273
1280
  const NumberParseFloat = smolPrimordial?.numberParseFloat ?? Number.parseFloat;
1274
1281
  const smolParseInt10 = smolPrimordial?.numberParseInt10;
1275
- /* c8 ignore start - smol fast-path branch only reachable on socket-btm smol Node binary */
1276
- const NumberParseInt = smolParseInt10 ? (s, radix) => radix === void 0 || radix === 10 ? smolParseInt10(s) : Number.parseInt(s, radix) : Number.parseInt;
1282
+ const stockParseInt = Number.parseInt;
1283
+ /* c8 ignore start - the smol Fast API binding ships only on socket-btm's smol Node binary, so this body cannot run under the stock-Node runner */
1284
+ function smolNumberParseInt(s, radix) {
1285
+ return radix === void 0 || radix === 10 ? smolParseInt10(s) : stockParseInt(s, radix);
1286
+ }
1277
1287
  /* c8 ignore stop */
1288
+ const NumberParseInt = smolParseInt10 ? smolNumberParseInt : stockParseInt;
1278
1289
  const NumberPrototypeToExponential = require_primordials_uncurry.uncurryThis(Number.prototype.toExponential);
1279
1290
  const NumberPrototypeToFixed = require_primordials_uncurry.uncurryThis(Number.prototype.toFixed);
1280
1291
  const NumberPrototypeToPrecision = require_primordials_uncurry.uncurryThis(Number.prototype.toPrecision);
@@ -1299,11 +1310,10 @@ var require_number = /* @__PURE__ */ __commonJSMin(((exports) => {
1299
1310
  exports.NumberPrototypeToPrecision = NumberPrototypeToPrecision;
1300
1311
  exports.NumberPrototypeToString = NumberPrototypeToString;
1301
1312
  exports.NumberPrototypeValueOf = NumberPrototypeValueOf;
1313
+ exports.smolNumberParseInt = smolNumberParseInt;
1302
1314
  }));
1303
1315
 
1304
- //#endregion
1305
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/primordials/process.js
1306
- var require_process = /* @__PURE__ */ __commonJSMin(((exports) => {
1316
+ var require_process$1 = /* @__PURE__ */ __commonJSMin$1(((exports) => {
1307
1317
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
1308
1318
  const SafeProcess = process;
1309
1319
  function processArch() {
@@ -1356,9 +1366,7 @@ var require_process = /* @__PURE__ */ __commonJSMin(((exports) => {
1356
1366
  exports.processVersion = processVersion;
1357
1367
  }));
1358
1368
 
1359
- //#endregion
1360
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/primordials/promise.js
1361
- var require_promise = /* @__PURE__ */ __commonJSMin(((exports) => {
1369
+ var require_promise = /* @__PURE__ */ __commonJSMin$1(((exports) => {
1362
1370
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
1363
1371
  const require_primordials_uncurry = require_uncurry();
1364
1372
  const PromiseCtor = Promise;
@@ -1385,9 +1393,7 @@ var require_promise = /* @__PURE__ */ __commonJSMin(((exports) => {
1385
1393
  exports.PromiseWithResolvers = PromiseWithResolvers;
1386
1394
  }));
1387
1395
 
1388
- //#endregion
1389
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/primordials/regexp.js
1390
- var require_regexp = /* @__PURE__ */ __commonJSMin(((exports) => {
1396
+ var require_regexp = /* @__PURE__ */ __commonJSMin$1(((exports) => {
1391
1397
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
1392
1398
  const require_primordials_uncurry = require_uncurry();
1393
1399
  const RegExpCtor = RegExp;
@@ -1404,9 +1410,7 @@ var require_regexp = /* @__PURE__ */ __commonJSMin(((exports) => {
1404
1410
  exports.RegExpPrototypeTest = RegExpPrototypeTest;
1405
1411
  }));
1406
1412
 
1407
- //#endregion
1408
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/external/external-pack.js
1409
- var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1413
+ var require_external_pack = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
1410
1414
  var __create = Object.create;
1411
1415
  var __defProp = Object.defineProperty;
1412
1416
  var __name = (target, value) => __defProp(target, "name", {
@@ -1450,8 +1454,8 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1450
1454
  enumerable: true
1451
1455
  }) : target, mod));
1452
1456
  var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1453
- let node_process$1 = require("process");
1454
- node_process$1 = __toESM(node_process$1, 1);
1457
+ let node_process = require("process");
1458
+ node_process = __toESM(node_process, 1);
1455
1459
  let node_os = require("os");
1456
1460
  node_os = __toESM(node_os, 1);
1457
1461
  let node_tty = require("tty");
@@ -1467,25 +1471,25 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1467
1471
  const { MathAbs: _p_MathAbs, MathFloor: _p_MathFloor, MathMax: _p_MathMax, MathMin: _p_MathMin, MathRandom: _p_MathRandom } = require_math();
1468
1472
  const { NumberIsNaN: _p_NumberIsNaN, NumberParseFloat: _p_NumberParseFloat, NumberParseInt: _p_NumberParseInt } = require_number();
1469
1473
  const { ObjectAssign: _p_ObjectAssign, ObjectDefineProperty: _p_ObjectDefineProperty, ObjectEntries: _p_ObjectEntries, ObjectGetPrototypeOf: _p_ObjectGetPrototypeOf, ObjectIs: _p_ObjectIs, ObjectKeys: _p_ObjectKeys } = require_object();
1470
- const { processCwd: _p_processCwd } = require_process();
1474
+ const { processCwd: _p_processCwd } = require_process$1();
1471
1475
  const { PromiseCtor: _p_PromiseCtor } = require_promise();
1472
1476
  const { RegExpCtor: _p_RegExpCtor } = require_regexp();
1473
- const { StringPrototypeCodePointAt: _p_StringPrototypeCodePointAt, StringPrototypeReplaceAll: _p_StringPrototypeReplaceAll, StringPrototypeStartsWith: _p_StringPrototypeStartsWith } = require_string();
1477
+ const { StringPrototypeCodePointAt: _p_StringPrototypeCodePointAt, StringPrototypeReplaceAll: _p_StringPrototypeReplaceAll, StringPrototypeStartsWith: _p_StringPrototypeStartsWith, StringPrototypeToLowerCase: _p_StringPrototypeToLowerCase, StringPrototypeToUpperCase: _p_StringPrototypeToUpperCase, StringPrototypeTrim: _p_StringPrototypeTrim, StringPrototypeTrimEnd: _p_StringPrototypeTrimEnd, StringPrototypeTrimStart: _p_StringPrototypeTrimStart } = require_string();
1474
1478
  node_path = __toESM(node_path, 1);
1475
- var require_signals = /* @__PURE__ */ __commonJSMin(((exports$2) => {
1476
- _p_ObjectDefineProperty(exports$2, "__esModule", { value: true });
1477
- exports$2.signals = void 0;
1478
- exports$2.signals = [];
1479
- exports$2.signals.push("SIGHUP", "SIGINT", "SIGTERM");
1480
- if (process.platform !== "win32") exports$2.signals.push("SIGALRM", "SIGABRT", "SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
1481
- if (process.platform === "linux") exports$2.signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
1479
+ var require_signals = /* @__PURE__ */ __commonJSMin(((exports) => {
1480
+ _p_ObjectDefineProperty(exports, "__esModule", { value: true });
1481
+ exports.signals = void 0;
1482
+ exports.signals = [];
1483
+ exports.signals.push("SIGHUP", "SIGINT", "SIGTERM");
1484
+ if (process.platform !== "win32") exports.signals.push("SIGALRM", "SIGABRT", "SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
1485
+ if (process.platform === "linux") exports.signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
1482
1486
  }));
1483
- var require_cjs = /* @__PURE__ */ __commonJSMin(((exports$3) => {
1487
+ var require_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
1484
1488
  var _a;
1485
- _p_ObjectDefineProperty(exports$3, "__esModule", { value: true });
1486
- exports$3.unload = exports$3.load = exports$3.onExit = exports$3.signals = void 0;
1489
+ _p_ObjectDefineProperty(exports, "__esModule", { value: true });
1490
+ exports.unload = exports.load = exports.onExit = exports.signals = void 0;
1487
1491
  const signals_js_1 = require_signals();
1488
- _p_ObjectDefineProperty(exports$3, "signals", {
1492
+ _p_ObjectDefineProperty(exports, "signals", {
1489
1493
  enumerable: true,
1490
1494
  get: function() {
1491
1495
  return signals_js_1.signals;
@@ -1655,13 +1659,13 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1655
1659
  }
1656
1660
  };
1657
1661
  const process = globalThis.process;
1658
- _a = signalExitWrap(processOk(process) ? new SignalExit(process) : new SignalExitFallback()), exports$3.onExit = _a.onExit, exports$3.load = _a.load, exports$3.unload = _a.unload;
1662
+ _a = signalExitWrap(processOk(process) ? new SignalExit(process) : new SignalExitFallback()), exports.onExit = _a.onExit, exports.load = _a.load, exports.unload = _a.unload;
1659
1663
  }));
1660
1664
  var supports_color_exports = /* @__PURE__ */ __exportAll({
1661
1665
  createSupportsColor: () => createSupportsColor,
1662
1666
  default: () => supportsColor$1
1663
1667
  });
1664
- function hasFlag$1(flag, argv = globalThis.Deno ? globalThis.Deno.args : node_process$1.default.argv) {
1668
+ function hasFlag$1(flag, argv = globalThis.Deno ? globalThis.Deno.args : node_process.default.argv) {
1665
1669
  const prefix = _p_StringPrototypeStartsWith(flag, "-") ? "" : flag.length === 1 ? "-" : "--";
1666
1670
  const position = argv.indexOf(prefix + flag);
1667
1671
  const terminatorPosition = argv.indexOf("--");
@@ -1703,7 +1707,7 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1703
1707
  if (haveStream && !streamIsTTY && forceColor === void 0) return 0;
1704
1708
  const min = forceColor || 0;
1705
1709
  if (env.TERM === "dumb") return min;
1706
- if (node_process$1.default.platform === "win32") {
1710
+ if (node_process.default.platform === "win32") {
1707
1711
  const osRelease = node_os.default.release().split(".");
1708
1712
  if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) return Number(osRelease[2]) >= 14931 ? 3 : 2;
1709
1713
  return 1;
@@ -1751,7 +1755,7 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1751
1755
  var supportsColor$1;
1752
1756
  var init_supports_color = __esmMin((() => {
1753
1757
  __name(hasFlag$1, "hasFlag");
1754
- ({env} = node_process$1.default);
1758
+ ({env} = node_process.default);
1755
1759
  if (hasFlag$1("no-color") || hasFlag$1("no-colors") || hasFlag$1("color=false") || hasFlag$1("color=never")) flagForceColor = 0;
1756
1760
  else if (hasFlag$1("color") || hasFlag$1("colors") || hasFlag$1("color=true") || hasFlag$1("color=always")) flagForceColor = 1;
1757
1761
  supportsColor$1 = {
@@ -1759,17 +1763,17 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1759
1763
  stderr: createSupportsColor({ isTTY: node_tty.default.isatty(2) })
1760
1764
  };
1761
1765
  }));
1762
- var require__stub_has_flag = /* @__PURE__ */ __commonJSMin(((exports$4, module$3) => {
1763
- module$3.exports = function hasFlag(flag, argv = process.argv) {
1766
+ var require__stub_has_flag = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1767
+ module.exports = function hasFlag(flag, argv = process.argv) {
1764
1768
  const prefix = _p_StringPrototypeStartsWith(flag, "-") ? "" : flag.length === 1 ? "-" : "--";
1765
1769
  const position = argv.indexOf(prefix + flag);
1766
1770
  const terminatorPosition = argv.indexOf("--");
1767
1771
  return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
1768
1772
  };
1769
1773
  }));
1770
- var require_ansi_escapes = /* @__PURE__ */ __commonJSMin(((exports$5, module$4) => {
1771
- const ansiEscapes = module$4.exports;
1772
- module$4.exports.default = ansiEscapes;
1774
+ var require_ansi_escapes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1775
+ const ansiEscapes = module.exports;
1776
+ module.exports.default = ansiEscapes;
1773
1777
  const ESC = "\x1B[";
1774
1778
  const OSC = "\x1B]";
1775
1779
  const BEL = "\x07";
@@ -1861,17 +1865,19 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1861
1865
  }
1862
1866
  };
1863
1867
  }));
1864
- var require__stub_supports_hyperlinks = /* @__PURE__ */ __commonJSMin(((exports$6, module$5) => {
1868
+ var require__stub_supports_hyperlinks = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1865
1869
  const os = require("os");
1866
1870
  const process$3 = require("process");
1867
1871
  function parseVersion(version) {
1868
1872
  const parts = /(\d+)(?:\.(\d+))?(?:\.(\d+))?/.exec(version || "");
1869
1873
  if (!parts) return {
1874
+ __proto__: null,
1870
1875
  major: 0,
1871
1876
  minor: 0,
1872
1877
  patch: 0
1873
1878
  };
1874
1879
  return {
1880
+ __proto__: null,
1875
1881
  major: Number(parts[1] || 0),
1876
1882
  minor: Number(parts[2] || 0),
1877
1883
  patch: Number(parts[3] || 0)
@@ -1880,11 +1886,14 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1880
1886
  function supported(stream) {
1881
1887
  const { env } = process$3;
1882
1888
  const forced = env["FORCE_HYPERLINK"];
1883
- if (forced !== void 0 && forced.length > 0) return !(forced === "0" || forced.toLowerCase() === "false");
1889
+ if (forced !== void 0 && forced.length > 0) return !(forced === "0" || _p_StringPrototypeToLowerCase(forced) === "false");
1884
1890
  if (env["NO_HYPERLINK"] !== void 0 || env["DOMTERM"]) return Boolean(env["DOMTERM"]);
1885
1891
  if (stream && stream.isTTY === false) return false;
1886
1892
  if (env["CI"]) return false;
1887
1893
  if (env["WT_SESSION"]) return true;
1894
+ return terminalProgramSupportsHyperlinks(env) ?? platformSupportsHyperlinks(env);
1895
+ }
1896
+ function terminalProgramSupportsHyperlinks(env) {
1888
1897
  if (env["TERM_PROGRAM"]) {
1889
1898
  const version = parseVersion(env["TERM_PROGRAM_VERSION"]);
1890
1899
  switch (env["TERM_PROGRAM"]) {
@@ -1896,6 +1905,8 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1896
1905
  case "vscode": return version.major > 1 || version.major === 1 && version.minor >= 72;
1897
1906
  }
1898
1907
  }
1908
+ }
1909
+ function platformSupportsHyperlinks(env) {
1899
1910
  if (env["VTE_VERSION"]) {
1900
1911
  if (env["VTE_VERSION"] === "0.50.0") return false;
1901
1912
  const version = parseVersion(env["VTE_VERSION"]);
@@ -1907,20 +1918,20 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1907
1918
  }
1908
1919
  return false;
1909
1920
  }
1910
- module$5.exports = { supportsHyperlink: supported };
1911
- _p_ObjectDefineProperty(module$5.exports, "stdout", {
1921
+ module.exports = { supportsHyperlink: supported };
1922
+ _p_ObjectDefineProperty(module.exports, "stdout", {
1912
1923
  configurable: true,
1913
1924
  enumerable: true,
1914
1925
  get: () => supported(process$3.stdout)
1915
1926
  });
1916
- _p_ObjectDefineProperty(module$5.exports, "stderr", {
1927
+ _p_ObjectDefineProperty(module.exports, "stderr", {
1917
1928
  configurable: true,
1918
1929
  enumerable: true,
1919
1930
  get: () => supported(process$3.stderr)
1920
1931
  });
1921
- module$5.exports.default = module$5.exports;
1932
+ module.exports.default = module.exports;
1922
1933
  }));
1923
- var require_terminal_link = /* @__PURE__ */ __commonJSMin(((exports$7, module$6) => {
1934
+ var require_terminal_link = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1924
1935
  const ansiEscapes = require_ansi_escapes();
1925
1936
  const supportsHyperlinks = require__stub_supports_hyperlinks();
1926
1937
  const terminalLink = (text, url, { target = "stdout", ...options } = {}) => {
@@ -1930,15 +1941,15 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1930
1941
  }
1931
1942
  return ansiEscapes.link(text, url);
1932
1943
  };
1933
- module$6.exports = (text, url, options = {}) => terminalLink(text, url, options);
1934
- module$6.exports.stderr = (text, url, options = {}) => terminalLink(text, url, {
1944
+ module.exports = (text, url, options = {}) => terminalLink(text, url, options);
1945
+ module.exports.stderr = (text, url, options = {}) => terminalLink(text, url, {
1935
1946
  target: "stderr",
1936
1947
  ...options
1937
1948
  });
1938
- module$6.exports.isSupported = supportsHyperlinks.stdout;
1939
- module$6.exports.stderr.isSupported = supportsHyperlinks.stderr;
1949
+ module.exports.isSupported = supportsHyperlinks.stdout;
1950
+ module.exports.stderr.isSupported = supportsHyperlinks.stderr;
1940
1951
  }));
1941
- var require_yoctocolors_cjs$1 = /* @__PURE__ */ __commonJSMin(((exports$8, module$7) => {
1952
+ var require_yoctocolors_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1942
1953
  const hasColors = require("tty")?.WriteStream?.prototype?.hasColors?.() ?? false;
1943
1954
  const format = (open, close) => {
1944
1955
  if (!hasColors) return (input) => input;
@@ -2002,7 +2013,7 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
2002
2013
  colors.bgMagentaBright = format(105, 49);
2003
2014
  colors.bgCyanBright = format(106, 49);
2004
2015
  colors.bgWhiteBright = format(107, 49);
2005
- module$7.exports = colors;
2016
+ module.exports = colors;
2006
2017
  }));
2007
2018
  function isKeybinding(value) {
2008
2019
  return keybindingLookup.has(value);
@@ -2010,7 +2021,7 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
2010
2021
  function getDefaultKeybindings() {
2011
2022
  const env = process.env["INQUIRER_KEYBINDINGS"];
2012
2023
  if (!env) return [];
2013
- return _p_ArrayFrom(new _p_SetCtor(env.toLowerCase().split(/[\s,]+/).filter(isKeybinding)));
2024
+ return _p_ArrayFrom(new _p_SetCtor(_p_StringPrototypeToLowerCase(env).split(/[\s,]+/).filter(isKeybinding)));
2014
2025
  }
2015
2026
  var keybindingLookup;
2016
2027
  var isUpKey;
@@ -2188,8 +2199,8 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
2188
2199
  init_hook_engine();
2189
2200
  }));
2190
2201
  function isUnicodeSupported() {
2191
- if (!node_process$1.default.platform.startsWith("win")) return node_process$1.default.env["TERM"] !== "linux";
2192
- return Boolean(false) || Boolean(node_process$1.default.env["WT_SESSION"]) || Boolean(node_process$1.default.env["TERMINUS_SUBLIME"]) || node_process$1.default.env["ConEmuTask"] === "{cmd::Cmder}" || node_process$1.default.env["TERM_PROGRAM"] === "Terminus-Sublime" || node_process$1.default.env["TERM_PROGRAM"] === "vscode" || node_process$1.default.env["TERM"] === "xterm-256color" || node_process$1.default.env["TERM"] === "alacritty" || node_process$1.default.env["TERMINAL_EMULATOR"] === "JetBrains-JediTerm";
2202
+ if (!node_process.default.platform.startsWith("win")) return node_process.default.env["TERM"] !== "linux";
2203
+ return Boolean(false) || Boolean(node_process.default.env["WT_SESSION"]) || Boolean(node_process.default.env["TERMINUS_SUBLIME"]) || node_process.default.env["ConEmuTask"] === "{cmd::Cmder}" || node_process.default.env["TERM_PROGRAM"] === "Terminus-Sublime" || node_process.default.env["TERM_PROGRAM"] === "vscode" || node_process.default.env["TERM"] === "xterm-256color" || node_process.default.env["TERM"] === "alacritty" || node_process.default.env["TERMINAL_EMULATOR"] === "JetBrains-JediTerm";
2193
2204
  }
2194
2205
  var common;
2195
2206
  var specialMainSymbols;
@@ -2614,8 +2625,8 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
2614
2625
  init_use_effect();
2615
2626
  init_hook_engine();
2616
2627
  }));
2617
- var require_cli_width = /* @__PURE__ */ __commonJSMin(((exports$9, module$8) => {
2618
- module$8.exports = cliWidth;
2628
+ var require_cli_width = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2629
+ module.exports = cliWidth;
2619
2630
  function normalizeOpts(options) {
2620
2631
  const defaultOpts = {
2621
2632
  defaultWidth: 0,
@@ -2871,7 +2882,7 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
2871
2882
  return words.slice(0, last).join(" ") + words.slice(last).join("");
2872
2883
  };
2873
2884
  exec = (string, columns, options = {}) => {
2874
- if (options.trim !== false && string.trim() === "") return "";
2885
+ if (options.trim !== false && _p_StringPrototypeTrim(string) === "") return "";
2875
2886
  let returnValue = "";
2876
2887
  let escapeCode;
2877
2888
  let escapeUrl;
@@ -2882,7 +2893,7 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
2882
2893
  const word = words[index];
2883
2894
  if (options.trim !== false) {
2884
2895
  const row = rows.at(-1) ?? "";
2885
- const trimmed = row.trimStart();
2896
+ const trimmed = _p_StringPrototypeTrimStart(row);
2886
2897
  if (row.length !== trimmed.length) {
2887
2898
  rows[rows.length - 1] = trimmed;
2888
2899
  rowLength = fastStringWidth(trimmed);
@@ -2959,7 +2970,7 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
2959
2970
  return content.split("\n").flatMap((line) => wrapAnsi(line, width, {
2960
2971
  trim: false,
2961
2972
  wordWrap: false
2962
- }).split("\n").map((str) => str.trimEnd())).join("\n");
2973
+ }).split("\n").map((str) => _p_StringPrototypeTrimEnd(str))).join("\n");
2963
2974
  }
2964
2975
  function readlineWidth() {
2965
2976
  return (0, import_cli_width.default)({
@@ -3045,7 +3056,7 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
3045
3056
  init_use_ref();
3046
3057
  init_utils();
3047
3058
  }));
3048
- var require_lib = /* @__PURE__ */ __commonJSMin(((exports$10, module$9) => {
3059
+ var require_lib = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3049
3060
  const Stream = require("stream");
3050
3061
  var MuteStream = class extends Stream {
3051
3062
  #isTTY = null;
@@ -3139,7 +3150,7 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
3139
3150
  return this.#proxy("close", ...args);
3140
3151
  }
3141
3152
  };
3142
- module$9.exports = MuteStream;
3153
+ module.exports = MuteStream;
3143
3154
  }));
3144
3155
  var signals;
3145
3156
  var init_signals = __esmMin((() => {
@@ -3761,27 +3772,44 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
3761
3772
  });
3762
3773
  }));
3763
3774
  var dist_exports$4 = /* @__PURE__ */ __exportAll({ default: () => dist_default$4 });
3764
- function getBooleanValue(value, defaultValue) {
3765
- let answer = defaultValue !== false;
3766
- if (/^(y|yes)/i.test(value)) answer = true;
3767
- else if (/^(n|no)/i.test(value)) answer = false;
3768
- return answer;
3769
- }
3770
- function boolToString(value) {
3771
- return value ? "Yes" : "No";
3772
- }
3775
+ var confirmTheme;
3773
3776
  var dist_default$4;
3774
3777
  var init_dist$4 = __esmMin((() => {
3775
3778
  init_dist$6();
3779
+ confirmTheme = {
3780
+ keywords: {
3781
+ yes: "Yes",
3782
+ no: "No"
3783
+ },
3784
+ style: { confirmDefault: (text) => {
3785
+ const first = text[0] ?? "";
3786
+ if (_p_StringPrototypeToLowerCase(first) === _p_StringPrototypeToUpperCase(first)) return (0, node_util.styleText)("cyan", text);
3787
+ return _p_StringPrototypeToUpperCase(first) + text.slice(1);
3788
+ } }
3789
+ };
3776
3790
  dist_default$4 = createPrompt((config, done) => {
3777
- const { transformer = boolToString } = config;
3778
3791
  const [status, setStatus] = useState("idle");
3779
3792
  const [value, setValue] = useState("");
3780
- const theme = makeTheme(config.theme);
3793
+ const theme = makeTheme(confirmTheme, config.theme);
3781
3794
  const prefix = usePrefix({
3782
3795
  status,
3783
3796
  theme
3784
3797
  });
3798
+ const { yes, no } = theme.keywords;
3799
+ const yesHint = (yes[0] ?? "").toLowerCase();
3800
+ const noHint = (no[0] ?? "").toLowerCase();
3801
+ const hint = config.default === false ? `${yesHint}/${theme.style.confirmDefault(noHint)}` : `${theme.style.confirmDefault(yesHint)}/${noHint}`;
3802
+ function boolToString(value) {
3803
+ return value ? yes : no;
3804
+ }
3805
+ const { transformer = boolToString } = config;
3806
+ function getBooleanValue(value, defaultValue) {
3807
+ const v = _p_StringPrototypeTrim(value).toLowerCase();
3808
+ if (v === "") return defaultValue !== false;
3809
+ if (_p_StringPrototypeToLowerCase(yes).startsWith(v)) return true;
3810
+ if (_p_StringPrototypeToLowerCase(no).startsWith(v)) return false;
3811
+ return defaultValue !== false;
3812
+ }
3785
3813
  useKeypress((key, rl) => {
3786
3814
  if (status !== "idle") return;
3787
3815
  if (isEnterKey(key)) {
@@ -3799,7 +3827,7 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
3799
3827
  let formattedValue = value;
3800
3828
  let defaultValue = "";
3801
3829
  if (status === "done") formattedValue = theme.style.answer(value);
3802
- else defaultValue = ` ${theme.style.defaultAnswer(config.default === false ? "y/N" : "Y/n")}`;
3830
+ else defaultValue = ` ${theme.style.defaultAnswer(hint)}`;
3803
3831
  return `${prefix} ${theme.style.message(config.message, status)}${defaultValue} ${formattedValue}`;
3804
3832
  });
3805
3833
  }));
@@ -3882,13 +3910,17 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
3882
3910
  var init_dist$2 = __esmMin((() => {
3883
3911
  init_dist$6();
3884
3912
  init_dist$7();
3885
- passwordTheme = { style: { maskedText: "[input is masked]" } };
3913
+ passwordTheme = { style: {
3914
+ maskedText: "[input is masked]",
3915
+ keysHelpTip: (keys) => keys.map(([key, action]) => `${(0, node_util.styleText)("bold", key)} ${(0, node_util.styleText)("dim", action)}`).join((0, node_util.styleText)("dim", " • "))
3916
+ } };
3886
3917
  dist_default$2 = createPrompt((config, done) => {
3887
- const { validate = () => true } = config;
3918
+ const { toggleMask = true, validate = () => true } = config;
3888
3919
  const theme = makeTheme(passwordTheme, config.theme);
3889
3920
  const [status, setStatus] = useState("idle");
3890
3921
  const [errorMsg, setError] = useState();
3891
3922
  const [value, setValue] = useState("");
3923
+ const [revealed, setRevealed] = useState(false);
3892
3924
  const prefix = usePrefix({
3893
3925
  status,
3894
3926
  theme
@@ -3908,24 +3940,25 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
3908
3940
  setError(isValid || "You must provide a valid value");
3909
3941
  setStatus("idle");
3910
3942
  }
3911
- } else {
3943
+ } else if (toggleMask && key.ctrl && key.name === "t") setRevealed((prev) => !prev);
3944
+ else {
3912
3945
  setValue(rl.line);
3913
3946
  setError(void 0);
3914
3947
  }
3915
3948
  });
3916
3949
  const message = theme.style.message(config.message, status);
3950
+ const showPlaintext = toggleMask && revealed && status === "idle";
3917
3951
  let formattedValue = "";
3918
- let helpTip;
3919
- if (config.mask) formattedValue = (typeof config.mask === "string" ? config.mask : "*").repeat(value.length);
3920
- else if (status !== "done") helpTip = `${theme.style.help(theme.style.maskedText)}${cursorHide}`;
3952
+ if (showPlaintext) formattedValue = value;
3953
+ else if (config.mask) formattedValue = (typeof config.mask === "string" ? config.mask : "*").repeat(value.length);
3954
+ else if (status !== "done") formattedValue = theme.style.help(theme.style.maskedText);
3921
3955
  if (status === "done") formattedValue = theme.style.answer(formattedValue);
3922
- let error = "";
3923
- if (errorMsg) error = theme.style.error(errorMsg);
3956
+ else if (!config.mask) formattedValue += cursorHide;
3924
3957
  return [[
3925
3958
  prefix,
3926
3959
  message,
3927
- config.mask ? formattedValue : helpTip
3928
- ].join(" "), error];
3960
+ formattedValue
3961
+ ].filter(Boolean).join(" "), [errorMsg ? theme.style.error(errorMsg) : "", toggleMask && status === "idle" ? theme.style.keysHelpTip([["ctrl+t", "toggle visibility"]]) : ""].filter(Boolean).join("\n")];
3929
3962
  });
3930
3963
  }));
3931
3964
  var dist_exports$1 = /* @__PURE__ */ __exportAll({
@@ -4273,7 +4306,7 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
4273
4306
  }
4274
4307
  return _terminalLink;
4275
4308
  }
4276
- const yoctocolorsCjs = require_yoctocolors_cjs$1();
4309
+ const yoctocolorsCjs = require_yoctocolors_cjs();
4277
4310
  const checkbox = (init_dist$5(), __toCommonJS(dist_exports$5));
4278
4311
  const confirm = (init_dist$4(), __toCommonJS(dist_exports$4));
4279
4312
  const input = (init_dist$3(), __toCommonJS(dist_exports$3));
@@ -4295,46 +4328,112 @@ var require_external_pack = /* @__PURE__ */ __commonJSMin(((exports, module) =>
4295
4328
  };
4296
4329
  }));
4297
4330
 
4298
- //#endregion
4299
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/external/yoctocolors-cjs.js
4300
- var require_yoctocolors_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4331
+ var require_supports_color = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
4332
+ const { supportsColor } = require_external_pack();
4333
+ const { ObjectAssign: _p_ObjectAssign } = require_object();
4334
+ const eager = supportsColor.default || supportsColor;
4335
+ _p_ObjectAssign(module.exports, eager);
4336
+ if (typeof supportsColor.createSupportsColor === "function") module.exports.createSupportsColor = supportsColor.createSupportsColor;
4337
+ module.exports.default = eager;
4338
+ }));
4339
+
4340
+ var require_support = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4341
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4342
+ let cachedSupportsColor;
4343
+ const COLOR_CAPABILITY_NONE = Object.freeze({
4344
+ palette: "none",
4345
+ level: 0,
4346
+ hasBasic: false,
4347
+ has256: false,
4348
+ has16m: false
4349
+ });
4350
+ function getColorCapability(config) {
4351
+ const { sniffFlags, stream } = {
4352
+ __proto__: null,
4353
+ ...config
4354
+ };
4355
+ if (!stream) return COLOR_CAPABILITY_NONE;
4356
+ const options = sniffFlags === void 0 ? void 0 : { sniffFlags };
4357
+ return toColorCapability(getSupportsColor().createSupportsColor(stream, options));
4358
+ }
4359
+ function getSupportsColor() {
4360
+ if (cachedSupportsColor === void 0) cachedSupportsColor = require_supports_color();
4361
+ return cachedSupportsColor;
4362
+ }
4363
+ function isColorSupported(config) {
4364
+ return getColorCapability(config).hasBasic;
4365
+ }
4366
+ function isTrueColorSupported(config) {
4367
+ return getColorCapability(config).has16m;
4368
+ }
4369
+ function toColorCapability(info) {
4370
+ if (!info) return COLOR_CAPABILITY_NONE;
4371
+ const { has16m, has256, hasBasic, level } = info;
4372
+ return {
4373
+ palette: toColorPalette(level),
4374
+ level,
4375
+ hasBasic,
4376
+ has256,
4377
+ has16m
4378
+ };
4379
+ }
4380
+ function toColorPalette(level) {
4381
+ if (level >= 3) return "truecolor";
4382
+ if (level === 2) return "ansi256";
4383
+ if (level === 1) return "basic";
4384
+ return "none";
4385
+ }
4386
+ exports.COLOR_CAPABILITY_NONE = COLOR_CAPABILITY_NONE;
4387
+ exports.getColorCapability = getColorCapability;
4388
+ exports.getSupportsColor = getSupportsColor;
4389
+ exports.isColorSupported = isColorSupported;
4390
+ exports.isTrueColorSupported = isTrueColorSupported;
4391
+ exports.toColorCapability = toColorCapability;
4392
+ exports.toColorPalette = toColorPalette;
4393
+ }));
4394
+
4395
+ var require_yoctocolors_cjs$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
4301
4396
  const { yoctocolorsCjs } = require_external_pack();
4302
4397
  module.exports = yoctocolorsCjs;
4303
4398
  module.exports.default = yoctocolorsCjs;
4304
4399
  }));
4305
4400
 
4306
- //#endregion
4307
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/logger/colors.js
4308
- var require_colors = /* @__PURE__ */ __commonJSMin(((exports) => {
4401
+ var require_colors = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4309
4402
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4403
+ const require_term_colors_support = require_support();
4310
4404
  let cachedYoctocolors;
4311
- function applyColor(text, color) {
4405
+ function applyColor(text, color, config) {
4406
+ const { stream } = {
4407
+ __proto__: null,
4408
+ ...config
4409
+ };
4410
+ const capability = require_term_colors_support.getColorCapability({ stream: stream ?? process.stderr });
4312
4411
  if (typeof color === "string") {
4412
+ if (!capability.hasBasic) return text;
4313
4413
  const formatter = getYoctocolors()[color];
4314
4414
  return formatter ? formatter(text) : text;
4315
4415
  }
4416
+ if (!capability.has16m) return text;
4316
4417
  const { 0: r, 1: g, 2: b } = color;
4317
4418
  return `\u001B[38;2;${r};${g};${b}m${text}\u001B[39m`;
4318
4419
  }
4319
4420
  function getYoctocolors() {
4320
- if (cachedYoctocolors === void 0) cachedYoctocolors = require_yoctocolors_cjs();
4421
+ if (cachedYoctocolors === void 0) cachedYoctocolors = require_yoctocolors_cjs$1();
4321
4422
  return cachedYoctocolors;
4322
4423
  }
4323
4424
  exports.applyColor = applyColor;
4324
4425
  exports.getYoctocolors = getYoctocolors;
4325
4426
  }));
4326
4427
 
4327
- //#endregion
4328
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/external/@socketregistry/is-unicode-supported.js
4329
- var require_is_unicode_supported$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4428
+ var require_is_unicode_supported$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
4330
4429
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
4331
- var require_is_unicode_supported = /* @__PURE__ */ __commonJSMin(((exports$1, module$2) => {
4430
+ var require_is_unicode_supported = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4332
4431
  let _process;
4333
4432
  function getProcess() {
4334
4433
  if (_process === void 0) _process = require("process");
4335
4434
  return _process;
4336
4435
  }
4337
- module$2.exports = function isUnicodeSupported() {
4436
+ module.exports = function isUnicodeSupported() {
4338
4437
  const process = getProcess();
4339
4438
  if (process.platform !== "win32") return process.env.TERM !== "linux";
4340
4439
  const { env } = process;
@@ -4346,15 +4445,13 @@ var require_is_unicode_supported$1 = /* @__PURE__ */ __commonJSMin(((exports, mo
4346
4445
  module.exports = require_is_unicode_supported();
4347
4446
  }));
4348
4447
 
4349
- //#endregion
4350
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/logger/symbols-builder.js
4351
- var require_symbols_builder = /* @__PURE__ */ __commonJSMin(((exports) => {
4448
+ var require_symbols_builder = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4352
4449
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4353
- const require_runtime$2 = require_runtime$3();
4450
+ const require_runtime = require_runtime$1();
4354
4451
  const require_primordials_string = require_string();
4355
4452
  const require_logger_colors = require_colors();
4356
4453
  let src_external__socketregistry_is_unicode_supported_js = require_is_unicode_supported$1();
4357
- src_external__socketregistry_is_unicode_supported_js = require_runtime$2.__toESM(src_external__socketregistry_is_unicode_supported_js, 1);
4454
+ src_external__socketregistry_is_unicode_supported_js = require_runtime.__toESM(src_external__socketregistry_is_unicode_supported_js, 1);
4358
4455
  function buildLoggerSymbols(theme) {
4359
4456
  const supported = (0, src_external__socketregistry_is_unicode_supported_js.default)();
4360
4457
  /* c8 ignore start - ASCII-fallback symbol arms only fire on
@@ -4362,7 +4459,7 @@ var require_symbols_builder = /* @__PURE__ */ __commonJSMin(((exports) => {
4362
4459
  return {
4363
4460
  __proto__: null,
4364
4461
  fail: require_logger_colors.applyColor(supported ? "✖" : "×", theme.colors.error),
4365
- info: require_logger_colors.applyColor(supported ? "ℹ" : "i", theme.colors.info),
4462
+ info: require_logger_colors.applyColor(supported ? "ⓘ" : "i", theme.colors.info),
4366
4463
  progress: require_logger_colors.applyColor(supported ? "∴" : ":.", theme.colors.step),
4367
4464
  skip: require_logger_colors.applyColor(supported ? "↻" : "@", theme.colors.step),
4368
4465
  step: require_logger_colors.applyColor(supported ? "→" : ">", theme.colors.step),
@@ -4372,15 +4469,13 @@ var require_symbols_builder = /* @__PURE__ */ __commonJSMin(((exports) => {
4372
4469
  /* c8 ignore stop */
4373
4470
  }
4374
4471
  function stripLoggerSymbols(text) {
4375
- return require_primordials_string.StringPrototypeReplace(text, /^(?::.|[✖✗×⚠‼✔✓√ℹ→∴↻])[️\s]*/u, "");
4472
+ return require_primordials_string.StringPrototypeReplace(text, /^(?::.|[✖✗×⚠‼✔✓√ⓘℹ→∴↻])[️\s]*/u, "");
4376
4473
  }
4377
4474
  exports.buildLoggerSymbols = buildLoggerSymbols;
4378
4475
  exports.stripLoggerSymbols = stripLoggerSymbols;
4379
4476
  }));
4380
4477
 
4381
- //#endregion
4382
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/primordials/globals.js
4383
- var require_globals = /* @__PURE__ */ __commonJSMin(((exports) => {
4478
+ var require_globals = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4384
4479
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4385
4480
  const BigIntCtor = BigInt;
4386
4481
  const BooleanCtor = Boolean;
@@ -4406,19 +4501,17 @@ var require_globals = /* @__PURE__ */ __commonJSMin(((exports) => {
4406
4501
  exports.globalThis = capturedGlobalThis;
4407
4502
  }));
4408
4503
 
4409
- //#endregion
4410
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/logger/symbols.js
4411
- var require_symbols = /* @__PURE__ */ __commonJSMin(((exports) => {
4504
+ var require_symbols = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4412
4505
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4413
- const require_runtime$1 = require_runtime$3();
4506
+ const require_runtime = require_runtime$1();
4414
4507
  const require_primordials_object = require_object();
4415
4508
  const require_primordials_reflect = require_reflect();
4509
+ const require_primordials_globals = require_globals();
4416
4510
  const require_term_themes_context = require_context();
4417
4511
  const require_logger_shared = require_shared();
4418
4512
  const require_logger_colors = require_colors();
4419
- const require_primordials_globals = require_globals();
4420
4513
  let src_external__socketregistry_is_unicode_supported_js = require_is_unicode_supported$1();
4421
- src_external__socketregistry_is_unicode_supported_js = require_runtime$1.__toESM(src_external__socketregistry_is_unicode_supported_js, 1);
4514
+ src_external__socketregistry_is_unicode_supported_js = require_runtime.__toESM(src_external__socketregistry_is_unicode_supported_js, 1);
4422
4515
  let consoleSymbols;
4423
4516
  let kGroupIndentationWidthSymbol;
4424
4517
  function createLogSymbols() {
@@ -4437,7 +4530,7 @@ var require_symbols = /* @__PURE__ */ __commonJSMin(((exports) => {
4437
4530
  /* c8 ignore start - ASCII-fallback symbol arms only fire on
4438
4531
  terminals without unicode support; tests run on unicode TTYs. */
4439
4532
  target["fail"] = require_logger_colors.applyColor(supported ? "✖" : "×", errorColor);
4440
- target["info"] = require_logger_colors.applyColor(supported ? "ℹ" : "i", infoColor);
4533
+ target["info"] = require_logger_colors.applyColor(supported ? "ⓘ" : "i", infoColor);
4441
4534
  target["progress"] = require_logger_colors.applyColor(supported ? "∴" : ":.", stepColor);
4442
4535
  target["reason"] = colors.dim(require_logger_colors.applyColor(supported ? "∴" : ":.", warningColor));
4443
4536
  target["skip"] = require_logger_colors.applyColor(supported ? "↻" : "@", stepColor);
@@ -4499,18 +4592,23 @@ var require_symbols = /* @__PURE__ */ __commonJSMin(((exports) => {
4499
4592
  exports.lastWasBlankSymbol = lastWasBlankSymbol;
4500
4593
  }));
4501
4594
 
4502
- //#endregion
4503
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/logger/console.js
4504
- var require_console = /* @__PURE__ */ __commonJSMin(((exports) => {
4595
+ var require_process = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4596
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4597
+ const nodeProcess = require_runtime$2().IS_NODE ? /*@__PURE__*/ require("process") : void 0;
4598
+ function getNodeProcess() {
4599
+ return nodeProcess;
4600
+ }
4601
+ exports.getNodeProcess = getNodeProcess;
4602
+ }));
4603
+
4604
+ var require_console = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4505
4605
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4506
- const require_runtime = require_runtime$3();
4507
4606
  const require_primordials_object = require_object();
4508
4607
  const require_primordials_reflect = require_reflect();
4608
+ const require_node_process = require_process();
4509
4609
  const require_logger_shared = require_shared();
4510
4610
  const require_logger_symbols = require_symbols();
4511
4611
  const require_logger_node = require_node();
4512
- let process$1 = require("process");
4513
- process$1 = require_runtime.__toESM(process$1, 1);
4514
4612
  let cachedConsole;
4515
4613
  let prototypeInitialized = false;
4516
4614
  function constructConsole(...args) {
@@ -4538,9 +4636,10 @@ var require_console = /* @__PURE__ */ __commonJSMin(((exports) => {
4538
4636
  require_logger_shared.privateConstructorArgs.delete(this);
4539
4637
  if (ctorArgs.length) con = constructConsole(...ctorArgs);
4540
4638
  else {
4639
+ const nodeProcess = require_node_process.getNodeProcess();
4541
4640
  con = constructConsole({
4542
- stdout: process$1.default.stdout,
4543
- stderr: process$1.default.stderr
4641
+ stdout: nodeProcess.stdout,
4642
+ stderr: nodeProcess.stderr
4544
4643
  });
4545
4644
  for (const { 0: k, 1: method } of require_logger_shared.getBoundConsoleEntries()) con[k] = method;
4546
4645
  }
@@ -4567,9 +4666,10 @@ var require_console = /* @__PURE__ */ __commonJSMin(((exports) => {
4567
4666
  const ctorArgs = require_logger_shared.privateConstructorArgs.get(logger) ?? [];
4568
4667
  if (ctorArgs.length) con = constructConsole(...ctorArgs);
4569
4668
  else {
4669
+ const nodeProcess = require_node_process.getNodeProcess();
4570
4670
  con = constructConsole({
4571
- stdout: process$1.default.stdout,
4572
- stderr: process$1.default.stderr
4671
+ stdout: nodeProcess.stdout,
4672
+ stderr: nodeProcess.stderr
4573
4673
  });
4574
4674
  for (const { 0: key, 1: method } of require_logger_shared.getBoundConsoleEntries()) con[key] = method;
4575
4675
  }
@@ -4584,9 +4684,7 @@ var require_console = /* @__PURE__ */ __commonJSMin(((exports) => {
4584
4684
  exports.resolveConsole = resolveConsole;
4585
4685
  }));
4586
4686
 
4587
- //#endregion
4588
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/logger/console-methods.js
4589
- var require_console_methods = /* @__PURE__ */ __commonJSMin(((exports) => {
4687
+ var require_console_methods = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4590
4688
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4591
4689
  const require_logger_symbols = require_symbols();
4592
4690
  function assertMethod(logger, con, value, message) {
@@ -4644,9 +4742,7 @@ var require_console_methods = /* @__PURE__ */ __commonJSMin(((exports) => {
4644
4742
  exports.traceMethod = traceMethod;
4645
4743
  }));
4646
4744
 
4647
- //#endregion
4648
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/logger/indentation-methods.js
4649
- var require_indentation_methods = /* @__PURE__ */ __commonJSMin(((exports) => {
4745
+ var require_indentation_methods = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4650
4746
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4651
4747
  const require_primordials_reflect = require_reflect();
4652
4748
  const require_primordials_math = require_math();
@@ -4706,11 +4802,9 @@ var require_indentation_methods = /* @__PURE__ */ __commonJSMin(((exports) => {
4706
4802
  exports.resetIndentMethod = resetIndentMethod;
4707
4803
  }));
4708
4804
 
4709
- //#endregion
4710
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/logger/options.js
4711
- var require_options = /* @__PURE__ */ __commonJSMin(((exports) => {
4805
+ var require_options = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4712
4806
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4713
- const require_term_themes_themes = require_themes();
4807
+ const require_term_themes_presets = require_presets();
4714
4808
  function parseLoggerOptions(args) {
4715
4809
  const options = args[0];
4716
4810
  if (typeof options !== "object" || options === null) return {
@@ -4721,7 +4815,7 @@ var require_options = /* @__PURE__ */ __commonJSMin(((exports) => {
4721
4815
  const originalStdout = options.stdout;
4722
4816
  const themeOption = options.theme;
4723
4817
  let theme;
4724
- if (typeof themeOption === "string") theme = require_term_themes_themes.THEMES[themeOption] ?? void 0;
4818
+ if (typeof themeOption === "string") theme = require_term_themes_presets.THEMES[themeOption] ?? void 0;
4725
4819
  else if (themeOption) theme = themeOption;
4726
4820
  return {
4727
4821
  options: {
@@ -4735,9 +4829,7 @@ var require_options = /* @__PURE__ */ __commonJSMin(((exports) => {
4735
4829
  exports.parseLoggerOptions = parseLoggerOptions;
4736
4830
  }));
4737
4831
 
4738
- //#endregion
4739
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/term/ansi/strip.js
4740
- var require_strip = /* @__PURE__ */ __commonJSMin(((exports) => {
4832
+ var require_strip = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4741
4833
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4742
4834
  const require_primordials_string = require_string();
4743
4835
  const require_primordials_regexp = require_regexp();
@@ -4753,9 +4845,7 @@ var require_strip = /* @__PURE__ */ __commonJSMin(((exports) => {
4753
4845
  exports.stripAnsi = stripAnsi;
4754
4846
  }));
4755
4847
 
4756
- //#endregion
4757
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/strings/format.js
4758
- var require_format = /* @__PURE__ */ __commonJSMin(((exports) => {
4848
+ var require_format = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4759
4849
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4760
4850
  const require_primordials_string = require_string();
4761
4851
  const require_term_ansi_strip = require_strip();
@@ -4794,9 +4884,7 @@ var require_format = /* @__PURE__ */ __commonJSMin(((exports) => {
4794
4884
  exports.repeatString = repeatString;
4795
4885
  }));
4796
4886
 
4797
- //#endregion
4798
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/strings/predicates.js
4799
- var require_predicates = /* @__PURE__ */ __commonJSMin(((exports) => {
4887
+ var require_predicates = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4800
4888
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4801
4889
  function isBlankString(value) {
4802
4890
  return typeof value === "string" && (!value.length || /^\s+$/.test(value));
@@ -4808,9 +4896,7 @@ var require_predicates = /* @__PURE__ */ __commonJSMin(((exports) => {
4808
4896
  exports.isNonEmptyString = isNonEmptyString;
4809
4897
  }));
4810
4898
 
4811
- //#endregion
4812
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/logger/semantic-methods.js
4813
- var require_semantic_methods = /* @__PURE__ */ __commonJSMin(((exports) => {
4899
+ var require_semantic_methods = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4814
4900
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4815
4901
  const require_primordials_reflect = require_reflect();
4816
4902
  const require_primordials_array = require_array();
@@ -4857,9 +4943,7 @@ var require_semantic_methods = /* @__PURE__ */ __commonJSMin(((exports) => {
4857
4943
  exports.symbolApplyMethod = symbolApplyMethod;
4858
4944
  }));
4859
4945
 
4860
- //#endregion
4861
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/logger/stream.js
4862
- var require_stream = /* @__PURE__ */ __commonJSMin(((exports) => {
4946
+ var require_stream = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4863
4947
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4864
4948
  function clearTerminalLine(streamObj) {
4865
4949
  if (streamObj.isTTY) {
@@ -4874,9 +4958,7 @@ var require_stream = /* @__PURE__ */ __commonJSMin(((exports) => {
4874
4958
  exports.resolveWriteStream = resolveWriteStream;
4875
4959
  }));
4876
4960
 
4877
- //#endregion
4878
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/logger/stream-methods.js
4879
- var require_stream_methods = /* @__PURE__ */ __commonJSMin(((exports) => {
4961
+ var require_stream_methods = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4880
4962
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4881
4963
  const require_primordials_error = require_error();
4882
4964
  const require_logger_symbols = require_symbols();
@@ -4917,9 +4999,7 @@ var require_stream_methods = /* @__PURE__ */ __commonJSMin(((exports) => {
4917
4999
  exports.writeMethod = writeMethod;
4918
5000
  }));
4919
5001
 
4920
- //#endregion
4921
- //#region ../../../.local/share/pnpm/store/v11/links/@socketsecurity/lib/7.0.1/023595b38a92c128afc88d2f14012ebf94e9671df76f6d319640a6b8d836513b/node_modules/@socketsecurity/lib/dist/logger/node.js
4922
- var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
5002
+ var require_node = /* @__PURE__ */ __commonJSMin$1(((exports) => {
4923
5003
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4924
5004
  const require_primordials_reflect = require_reflect();
4925
5005
  const require_term_themes_context = require_context();
@@ -5145,8 +5225,6 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
5145
5225
  exports.Logger = Logger;
5146
5226
  }));
5147
5227
 
5148
- //#endregion
5149
- //#region hooks/socket-gate/index.mts
5150
5228
  var import_message = require_message();
5151
5229
  var import_node = require_node();
5152
5230
  const MCP_URL = "https://mcp.socket.dev/";
@@ -5378,7 +5456,6 @@ async function main(fd, fetchImpl) {
5378
5456
  }
5379
5457
  if (node_process.argv[1] !== void 0 && (0, node_url.fileURLToPath)(require("url").pathToFileURL(__filename).href) === node_process.argv[1]) runHook(0, fetch);
5380
5458
 
5381
- //#endregion
5382
5459
  exports.checkPackage = checkPackage;
5383
5460
  exports.extractPackage = extractPackage;
5384
5461
  exports.getHookLogger = getHookLogger;