@google/gemini-cli 0.65.0-preview.0 → 0.66.0-nightly.20261017.ged96faedf

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/README.md +21 -56
  2. package/bundle/{chunk-NL7ZHGCH.js → chunk-464WBVYM.js} +1 -1
  3. package/bundle/{chunk-QJK54DSE.js → chunk-5VQUE3OF.js} +1 -1
  4. package/bundle/{chunk-VF5WQSOE.js → chunk-7ARQMEMX.js} +1 -1
  5. package/bundle/{chunk-2WVLIJA5.js → chunk-BUG4N6U5.js} +145 -77
  6. package/bundle/{chunk-F6AJM4WN.js → chunk-DPV3ZEOC.js} +3 -3
  7. package/bundle/{chunk-GSQEBEGC.js → chunk-ERBSM2HU.js} +3 -3
  8. package/bundle/{chunk-WTRK3NVX.js → chunk-GEUFOF2X.js} +106 -1500
  9. package/bundle/{chunk-V2R74WAG.js → chunk-H4U2CWBQ.js} +151 -81
  10. package/bundle/chunk-HDP6V6JI.js +1956 -0
  11. package/bundle/{chunk-RPHDSDL6.js → chunk-IDCWFZU3.js} +1 -1
  12. package/bundle/{chunk-SN7QZKXC.js → chunk-IGOTAEJY.js} +170 -1551
  13. package/bundle/chunk-J5QPCO3J.js +101859 -0
  14. package/bundle/{chunk-H2CZXS7F.js → chunk-JY3DYBJT.js} +1 -1
  15. package/bundle/{chunk-HLOOE7YN.js → chunk-LDGJJCVW.js} +9 -8
  16. package/bundle/chunk-MH4KAY5W.js +512 -0
  17. package/bundle/{chunk-LLE5Z636.js → chunk-NAPT3FAL.js} +106 -1500
  18. package/bundle/chunk-NOSWGXRT.js +1956 -0
  19. package/bundle/{chunk-43EXRO7A.js → chunk-NU74STQ5.js} +145 -77
  20. package/bundle/{chunk-K7NOVQ6G.js → chunk-QCWGLPCO.js} +376 -231
  21. package/bundle/{chunk-WGL5FJOS.js → chunk-QF3ALSJN.js} +3 -3
  22. package/bundle/{chunk-K4G5D5ZZ.js → chunk-R4KPURFC.js} +1 -1
  23. package/bundle/chunk-R6XDLHLP.js +1956 -0
  24. package/bundle/chunk-R7UPATQC.js +1956 -0
  25. package/bundle/chunk-RACMC24X.js +118 -0
  26. package/bundle/{chunk-4JGVVJGK.js → chunk-RE4V6I3G.js} +1 -1
  27. package/bundle/{chunk-S7BCRBI4.js → chunk-UTTFPWGQ.js} +1 -1
  28. package/bundle/chunk-VXYA6LA4.js +1571 -0
  29. package/bundle/chunk-XY2QSBID.js +17603 -0
  30. package/bundle/{chunk-K7AA35SP.js → chunk-YOI4DS3V.js} +365 -230
  31. package/bundle/chunk-YP27UYI4.js +154 -0
  32. package/bundle/{chunk-TP236FKO.js → chunk-YPLMNSM4.js} +8243 -15166
  33. package/bundle/chunk-ZFQ347ZN.js +402181 -0
  34. package/bundle/{cleanup-HPADDONA.js → cleanup-6FAZDCL3.js} +2 -2
  35. package/bundle/{cleanup-JOMSXKMP.js → cleanup-GNZLZG55.js} +2 -2
  36. package/bundle/{cleanup-LYRJHMMO.js → cleanup-RX3AC5ET.js} +2 -2
  37. package/bundle/cleanup-WAU2KYGS.js +32 -0
  38. package/bundle/{core-NCJTYARO.js → core-AGGXDQOT.js} +13 -1
  39. package/bundle/{devtoolsService-WP2OPVPB.js → devtoolsService-6XOCGTLC.js} +2 -2
  40. package/bundle/{devtoolsService-JFJBTZ4B.js → devtoolsService-FBTSVQ57.js} +4 -3
  41. package/bundle/{devtoolsService-HIZA3JGR.js → devtoolsService-UO6ZB72B.js} +2 -2
  42. package/bundle/devtoolsService-W5QGZ3SW.js +4359 -0
  43. package/bundle/{dist-GQKLLBDW.js → dist-2ELAEESC.js} +13 -1
  44. package/bundle/{core-IVQAI4S6.js → dist-2R7C2WHA.js} +13 -1
  45. package/bundle/dist-PALH7PJS.js +2280 -0
  46. package/bundle/docs/changelogs/index.md +22 -0
  47. package/bundle/docs/changelogs/latest.md +64 -54
  48. package/bundle/docs/changelogs/preview.md +91 -55
  49. package/bundle/docs/reference/configuration.md +8 -3
  50. package/bundle/docs/reference/keyboard-shortcuts.md +18 -4
  51. package/bundle/{gemini-5TUKZVGS.js → gemini-6MH55Y7F.js} +37 -18
  52. package/bundle/{gemini-7CHJYSHM.js → gemini-DOXUDJDY.js} +37 -18
  53. package/bundle/{gemini-546WMAHG.js → gemini-OHYXI52N.js} +237 -202
  54. package/bundle/gemini-OUEDCH4P.js +17970 -0
  55. package/bundle/gemini.js +14 -15
  56. package/bundle/{interactiveCli-E3PUPYMZ.js → interactiveCli-7LIKGDTJ.js} +1061 -989
  57. package/bundle/{interactiveCli-5XIAIY74.js → interactiveCli-EGQYN3KR.js} +1371 -1280
  58. package/bundle/{interactiveCli-L4PK7YY3.js → interactiveCli-TG7PGV4V.js} +1061 -989
  59. package/bundle/interactiveCli-YEXCUIFZ.js +35601 -0
  60. package/bundle/{liteRtServerManager-JCTYJBV5.js → liteRtServerManager-KAPXZ3EU.js} +4 -4
  61. package/bundle/{liteRtServerManager-JERG6KYC.js → liteRtServerManager-MSJIWMWP.js} +4 -4
  62. package/bundle/{liteRtServerManager-22ISMNN2.js → liteRtServerManager-PD2N3GLD.js} +4 -4
  63. package/bundle/liteRtServerManager-X5SCFYXM.js +65 -0
  64. package/bundle/{oauth2-provider-XRUER2XR.js → oauth2-provider-IUN6Z4IO.js} +1 -1
  65. package/bundle/{oauth2-provider-477UJQX6.js → oauth2-provider-MKJIQNWP.js} +41 -79
  66. package/bundle/{oauth2-provider-MKWWBW4K.js → oauth2-provider-RMF7U2UN.js} +1 -1
  67. package/bundle/oauth2-provider-ZM5GWCNX.js +273 -0
  68. package/bundle/{start-MVIPJNQ5.js → start-5GIUIER3.js} +6 -6
  69. package/bundle/{start-RZWSVT55.js → start-APIVGXZ3.js} +6 -6
  70. package/bundle/{start-AGMBPY3O.js → start-GJ4TH4KZ.js} +6 -6
  71. package/bundle/start-WDS52ZNE.js +18 -0
  72. package/package.json +1 -1
  73. package/bundle/chunk-4DCA4L53.js +0 -425
  74. package/bundle/chunk-BFIV7GTA.js +0 -425
  75. package/bundle/chunk-V72FRESD.js +0 -425
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  exitCli,
4
4
  require_source
5
- } from "./chunk-4JGVVJGK.js";
5
+ } from "./chunk-RE4V6I3G.js";
6
6
  import {
7
7
  AppEvent,
8
8
  appEvents
@@ -63,15 +63,16 @@ import {
63
63
  stripUnsafeCharacters,
64
64
  toCodePoints,
65
65
  validateCustomTheme
66
- } from "./chunk-43EXRO7A.js";
66
+ } from "./chunk-NU74STQ5.js";
67
67
  import {
68
- isDevelopment
69
- } from "./chunk-V72FRESD.js";
68
+ isDevelopment,
69
+ require_semver
70
+ } from "./chunk-HDP6V6JI.js";
70
71
  import {
71
72
  emptyIcon,
72
73
  mapCoreStatusToDisplayStatus,
73
74
  require_react
74
- } from "./chunk-HLOOE7YN.js";
75
+ } from "./chunk-5VQUE3OF.js";
75
76
  import {
76
77
  ALL_EDITORS,
77
78
  ApprovalMode,
@@ -177,6 +178,7 @@ import {
177
178
  isProjectSkillPatchTarget,
178
179
  isSubpath,
179
180
  isTerminalEditor,
181
+ isTmux,
180
182
  isValidEditorType,
181
183
  is_wsl_default,
182
184
  listExtensions,
@@ -209,20 +211,11 @@ import {
209
211
  readFileWithEncoding,
210
212
  readPathFromWorkspace,
211
213
  refreshMemory,
212
- require_clean,
213
- require_constants,
214
214
  require_cross_spawn,
215
- require_debug,
216
- require_identifiers,
217
215
  require_is_stream,
218
- require_parse,
219
- require_parse_options,
220
216
  require_path_key,
221
217
  require_pump,
222
- require_re,
223
- require_semver,
224
218
  require_toml,
225
- require_valid,
226
219
  resetBrowserSession,
227
220
  resolveAtCommandPath,
228
221
  resolveEditorTypeFromCommand,
@@ -241,7 +234,7 @@ import {
241
234
  uiTelemetryService,
242
235
  unescapePath,
243
236
  validateUrlDestination
244
- } from "./chunk-TP236FKO.js";
237
+ } from "./chunk-QCWGLPCO.js";
245
238
  import {
246
239
  require_src
247
240
  } from "./chunk-L6PII3GR.js";
@@ -463,7 +456,7 @@ var require_react_reconciler_constants_production = __commonJS({
463
456
  });
464
457
 
465
458
  // node_modules/react-reconciler/constants.js
466
- var require_constants2 = __commonJS({
459
+ var require_constants = __commonJS({
467
460
  "node_modules/react-reconciler/constants.js"(exports, module) {
468
461
  "use strict";
469
462
  if (true) {
@@ -7841,14 +7834,14 @@ var require_react_reconciler_production = __commonJS({
7841
7834
  }
7842
7835
  var exports2 = {};
7843
7836
  "use strict";
7844
- var React22 = require_react(), Scheduler = require_scheduler(), assign = Object.assign, REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy");
7837
+ var React23 = require_react(), Scheduler = require_scheduler(), assign = Object.assign, REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy");
7845
7838
  Symbol.for("react.scope");
7846
7839
  var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
7847
7840
  Symbol.for("react.legacy_hidden");
7848
7841
  Symbol.for("react.tracing_marker");
7849
7842
  var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
7850
7843
  Symbol.for("react.view_transition");
7851
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), isArrayImpl = Array.isArray, ReactSharedInternals = React22.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, rendererVersion = $$$config.rendererVersion, rendererPackageName = $$$config.rendererPackageName, extraDevToolsConfig = $$$config.extraDevToolsConfig, getPublicInstance = $$$config.getPublicInstance, getRootHostContext = $$$config.getRootHostContext, getChildHostContext = $$$config.getChildHostContext, prepareForCommit = $$$config.prepareForCommit, resetAfterCommit = $$$config.resetAfterCommit, createInstance = $$$config.createInstance;
7844
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), isArrayImpl = Array.isArray, ReactSharedInternals = React23.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, rendererVersion = $$$config.rendererVersion, rendererPackageName = $$$config.rendererPackageName, extraDevToolsConfig = $$$config.extraDevToolsConfig, getPublicInstance = $$$config.getPublicInstance, getRootHostContext = $$$config.getRootHostContext, getChildHostContext = $$$config.getChildHostContext, prepareForCommit = $$$config.prepareForCommit, resetAfterCommit = $$$config.resetAfterCommit, createInstance = $$$config.createInstance;
7852
7845
  $$$config.cloneMutableInstance;
7853
7846
  var appendInitialChild = $$$config.appendInitialChild, finalizeInitialChildren = $$$config.finalizeInitialChildren, shouldSetTextContent = $$$config.shouldSetTextContent, createTextInstance = $$$config.createTextInstance;
7854
7847
  $$$config.cloneMutableTextInstance;
@@ -15604,1434 +15597,6 @@ var require_extract_zip = __commonJS({
15604
15597
  }
15605
15598
  });
15606
15599
 
15607
- // node_modules/semver/functions/inc.js
15608
- var require_inc = __commonJS({
15609
- "node_modules/semver/functions/inc.js"(exports, module) {
15610
- "use strict";
15611
- var SemVer = require_semver();
15612
- var inc = (version2, release, options, identifier2, identifierBase) => {
15613
- if (typeof options === "string") {
15614
- identifierBase = identifier2;
15615
- identifier2 = options;
15616
- options = void 0;
15617
- }
15618
- try {
15619
- return new SemVer(
15620
- version2 instanceof SemVer ? version2.version : version2,
15621
- options
15622
- ).inc(release, identifier2, identifierBase).version;
15623
- } catch (er2) {
15624
- return null;
15625
- }
15626
- };
15627
- module.exports = inc;
15628
- }
15629
- });
15630
-
15631
- // node_modules/semver/functions/diff.js
15632
- var require_diff = __commonJS({
15633
- "node_modules/semver/functions/diff.js"(exports, module) {
15634
- "use strict";
15635
- var parse2 = require_parse();
15636
- var diff3 = (version1, version2) => {
15637
- const v1 = parse2(version1, null, true);
15638
- const v2 = parse2(version2, null, true);
15639
- const comparison = v1.compare(v2);
15640
- if (comparison === 0) {
15641
- return null;
15642
- }
15643
- const v1Higher = comparison > 0;
15644
- const highVersion = v1Higher ? v1 : v2;
15645
- const lowVersion = v1Higher ? v2 : v1;
15646
- const highHasPre = !!highVersion.prerelease.length;
15647
- const lowHasPre = !!lowVersion.prerelease.length;
15648
- if (lowHasPre && !highHasPre) {
15649
- if (!lowVersion.patch && !lowVersion.minor) {
15650
- return "major";
15651
- }
15652
- if (lowVersion.compareMain(highVersion) === 0) {
15653
- if (lowVersion.minor && !lowVersion.patch) {
15654
- return "minor";
15655
- }
15656
- return "patch";
15657
- }
15658
- }
15659
- const prefix = highHasPre ? "pre" : "";
15660
- if (v1.major !== v2.major) {
15661
- return prefix + "major";
15662
- }
15663
- if (v1.minor !== v2.minor) {
15664
- return prefix + "minor";
15665
- }
15666
- if (v1.patch !== v2.patch) {
15667
- return prefix + "patch";
15668
- }
15669
- return "prerelease";
15670
- };
15671
- module.exports = diff3;
15672
- }
15673
- });
15674
-
15675
- // node_modules/semver/functions/major.js
15676
- var require_major = __commonJS({
15677
- "node_modules/semver/functions/major.js"(exports, module) {
15678
- "use strict";
15679
- var SemVer = require_semver();
15680
- var major = (a, loose) => new SemVer(a, loose).major;
15681
- module.exports = major;
15682
- }
15683
- });
15684
-
15685
- // node_modules/semver/functions/minor.js
15686
- var require_minor = __commonJS({
15687
- "node_modules/semver/functions/minor.js"(exports, module) {
15688
- "use strict";
15689
- var SemVer = require_semver();
15690
- var minor = (a, loose) => new SemVer(a, loose).minor;
15691
- module.exports = minor;
15692
- }
15693
- });
15694
-
15695
- // node_modules/semver/functions/patch.js
15696
- var require_patch = __commonJS({
15697
- "node_modules/semver/functions/patch.js"(exports, module) {
15698
- "use strict";
15699
- var SemVer = require_semver();
15700
- var patch = (a, loose) => new SemVer(a, loose).patch;
15701
- module.exports = patch;
15702
- }
15703
- });
15704
-
15705
- // node_modules/semver/functions/prerelease.js
15706
- var require_prerelease = __commonJS({
15707
- "node_modules/semver/functions/prerelease.js"(exports, module) {
15708
- "use strict";
15709
- var parse2 = require_parse();
15710
- var prerelease = (version2, options) => {
15711
- const parsed = parse2(version2, options);
15712
- return parsed && parsed.prerelease.length ? parsed.prerelease : null;
15713
- };
15714
- module.exports = prerelease;
15715
- }
15716
- });
15717
-
15718
- // node_modules/semver/functions/compare.js
15719
- var require_compare = __commonJS({
15720
- "node_modules/semver/functions/compare.js"(exports, module) {
15721
- "use strict";
15722
- var SemVer = require_semver();
15723
- var compare = (a, b2, loose) => new SemVer(a, loose).compare(new SemVer(b2, loose));
15724
- module.exports = compare;
15725
- }
15726
- });
15727
-
15728
- // node_modules/semver/functions/rcompare.js
15729
- var require_rcompare = __commonJS({
15730
- "node_modules/semver/functions/rcompare.js"(exports, module) {
15731
- "use strict";
15732
- var compare = require_compare();
15733
- var rcompare = (a, b2, loose) => compare(b2, a, loose);
15734
- module.exports = rcompare;
15735
- }
15736
- });
15737
-
15738
- // node_modules/semver/functions/compare-loose.js
15739
- var require_compare_loose = __commonJS({
15740
- "node_modules/semver/functions/compare-loose.js"(exports, module) {
15741
- "use strict";
15742
- var compare = require_compare();
15743
- var compareLoose = (a, b2) => compare(a, b2, true);
15744
- module.exports = compareLoose;
15745
- }
15746
- });
15747
-
15748
- // node_modules/semver/functions/compare-build.js
15749
- var require_compare_build = __commonJS({
15750
- "node_modules/semver/functions/compare-build.js"(exports, module) {
15751
- "use strict";
15752
- var SemVer = require_semver();
15753
- var compareBuild = (a, b2, loose) => {
15754
- const versionA = new SemVer(a, loose);
15755
- const versionB = new SemVer(b2, loose);
15756
- return versionA.compare(versionB) || versionA.compareBuild(versionB);
15757
- };
15758
- module.exports = compareBuild;
15759
- }
15760
- });
15761
-
15762
- // node_modules/semver/functions/sort.js
15763
- var require_sort = __commonJS({
15764
- "node_modules/semver/functions/sort.js"(exports, module) {
15765
- "use strict";
15766
- var compareBuild = require_compare_build();
15767
- var sort = (list, loose) => list.sort((a, b2) => compareBuild(a, b2, loose));
15768
- module.exports = sort;
15769
- }
15770
- });
15771
-
15772
- // node_modules/semver/functions/rsort.js
15773
- var require_rsort = __commonJS({
15774
- "node_modules/semver/functions/rsort.js"(exports, module) {
15775
- "use strict";
15776
- var compareBuild = require_compare_build();
15777
- var rsort = (list, loose) => list.sort((a, b2) => compareBuild(b2, a, loose));
15778
- module.exports = rsort;
15779
- }
15780
- });
15781
-
15782
- // node_modules/semver/functions/gt.js
15783
- var require_gt = __commonJS({
15784
- "node_modules/semver/functions/gt.js"(exports, module) {
15785
- "use strict";
15786
- var compare = require_compare();
15787
- var gt2 = (a, b2, loose) => compare(a, b2, loose) > 0;
15788
- module.exports = gt2;
15789
- }
15790
- });
15791
-
15792
- // node_modules/semver/functions/lt.js
15793
- var require_lt = __commonJS({
15794
- "node_modules/semver/functions/lt.js"(exports, module) {
15795
- "use strict";
15796
- var compare = require_compare();
15797
- var lt2 = (a, b2, loose) => compare(a, b2, loose) < 0;
15798
- module.exports = lt2;
15799
- }
15800
- });
15801
-
15802
- // node_modules/semver/functions/eq.js
15803
- var require_eq = __commonJS({
15804
- "node_modules/semver/functions/eq.js"(exports, module) {
15805
- "use strict";
15806
- var compare = require_compare();
15807
- var eq = (a, b2, loose) => compare(a, b2, loose) === 0;
15808
- module.exports = eq;
15809
- }
15810
- });
15811
-
15812
- // node_modules/semver/functions/neq.js
15813
- var require_neq = __commonJS({
15814
- "node_modules/semver/functions/neq.js"(exports, module) {
15815
- "use strict";
15816
- var compare = require_compare();
15817
- var neq = (a, b2, loose) => compare(a, b2, loose) !== 0;
15818
- module.exports = neq;
15819
- }
15820
- });
15821
-
15822
- // node_modules/semver/functions/gte.js
15823
- var require_gte = __commonJS({
15824
- "node_modules/semver/functions/gte.js"(exports, module) {
15825
- "use strict";
15826
- var compare = require_compare();
15827
- var gte = (a, b2, loose) => compare(a, b2, loose) >= 0;
15828
- module.exports = gte;
15829
- }
15830
- });
15831
-
15832
- // node_modules/semver/functions/lte.js
15833
- var require_lte = __commonJS({
15834
- "node_modules/semver/functions/lte.js"(exports, module) {
15835
- "use strict";
15836
- var compare = require_compare();
15837
- var lte = (a, b2, loose) => compare(a, b2, loose) <= 0;
15838
- module.exports = lte;
15839
- }
15840
- });
15841
-
15842
- // node_modules/semver/functions/cmp.js
15843
- var require_cmp = __commonJS({
15844
- "node_modules/semver/functions/cmp.js"(exports, module) {
15845
- "use strict";
15846
- var eq = require_eq();
15847
- var neq = require_neq();
15848
- var gt2 = require_gt();
15849
- var gte = require_gte();
15850
- var lt2 = require_lt();
15851
- var lte = require_lte();
15852
- var cmp = (a, op, b2, loose) => {
15853
- switch (op) {
15854
- case "===":
15855
- if (typeof a === "object") {
15856
- a = a.version;
15857
- }
15858
- if (typeof b2 === "object") {
15859
- b2 = b2.version;
15860
- }
15861
- return a === b2;
15862
- case "!==":
15863
- if (typeof a === "object") {
15864
- a = a.version;
15865
- }
15866
- if (typeof b2 === "object") {
15867
- b2 = b2.version;
15868
- }
15869
- return a !== b2;
15870
- case "":
15871
- case "=":
15872
- case "==":
15873
- return eq(a, b2, loose);
15874
- case "!=":
15875
- return neq(a, b2, loose);
15876
- case ">":
15877
- return gt2(a, b2, loose);
15878
- case ">=":
15879
- return gte(a, b2, loose);
15880
- case "<":
15881
- return lt2(a, b2, loose);
15882
- case "<=":
15883
- return lte(a, b2, loose);
15884
- default:
15885
- throw new TypeError(`Invalid operator: ${op}`);
15886
- }
15887
- };
15888
- module.exports = cmp;
15889
- }
15890
- });
15891
-
15892
- // node_modules/semver/functions/coerce.js
15893
- var require_coerce = __commonJS({
15894
- "node_modules/semver/functions/coerce.js"(exports, module) {
15895
- "use strict";
15896
- var SemVer = require_semver();
15897
- var parse2 = require_parse();
15898
- var { safeRe: re2, t } = require_re();
15899
- var coerce = (version2, options) => {
15900
- if (version2 instanceof SemVer) {
15901
- return version2;
15902
- }
15903
- if (typeof version2 === "number") {
15904
- version2 = String(version2);
15905
- }
15906
- if (typeof version2 !== "string") {
15907
- return null;
15908
- }
15909
- options = options || {};
15910
- let match = null;
15911
- if (!options.rtl) {
15912
- match = version2.match(options.includePrerelease ? re2[t.COERCEFULL] : re2[t.COERCE]);
15913
- } else {
15914
- const coerceRtlRegex = options.includePrerelease ? re2[t.COERCERTLFULL] : re2[t.COERCERTL];
15915
- let next;
15916
- while ((next = coerceRtlRegex.exec(version2)) && (!match || match.index + match[0].length !== version2.length)) {
15917
- if (!match || next.index + next[0].length !== match.index + match[0].length) {
15918
- match = next;
15919
- }
15920
- coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
15921
- }
15922
- coerceRtlRegex.lastIndex = -1;
15923
- }
15924
- if (match === null) {
15925
- return null;
15926
- }
15927
- const major = match[2];
15928
- const minor = match[3] || "0";
15929
- const patch = match[4] || "0";
15930
- const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "";
15931
- const build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
15932
- return parse2(`${major}.${minor}.${patch}${prerelease}${build}`, options);
15933
- };
15934
- module.exports = coerce;
15935
- }
15936
- });
15937
-
15938
- // node_modules/semver/internal/lrucache.js
15939
- var require_lrucache = __commonJS({
15940
- "node_modules/semver/internal/lrucache.js"(exports, module) {
15941
- "use strict";
15942
- var LRUCache = class {
15943
- constructor() {
15944
- this.max = 1e3;
15945
- this.map = /* @__PURE__ */ new Map();
15946
- }
15947
- get(key) {
15948
- const value = this.map.get(key);
15949
- if (value === void 0) {
15950
- return void 0;
15951
- } else {
15952
- this.map.delete(key);
15953
- this.map.set(key, value);
15954
- return value;
15955
- }
15956
- }
15957
- delete(key) {
15958
- return this.map.delete(key);
15959
- }
15960
- set(key, value) {
15961
- const deleted = this.delete(key);
15962
- if (!deleted && value !== void 0) {
15963
- if (this.map.size >= this.max) {
15964
- const firstKey = this.map.keys().next().value;
15965
- this.delete(firstKey);
15966
- }
15967
- this.map.set(key, value);
15968
- }
15969
- return this;
15970
- }
15971
- };
15972
- module.exports = LRUCache;
15973
- }
15974
- });
15975
-
15976
- // node_modules/semver/classes/range.js
15977
- var require_range = __commonJS({
15978
- "node_modules/semver/classes/range.js"(exports, module) {
15979
- "use strict";
15980
- var SPACE_CHARACTERS = /\s+/g;
15981
- var Range2 = class _Range {
15982
- constructor(range, options) {
15983
- options = parseOptions(options);
15984
- if (range instanceof _Range) {
15985
- if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) {
15986
- return range;
15987
- } else {
15988
- return new _Range(range.raw, options);
15989
- }
15990
- }
15991
- if (range instanceof Comparator) {
15992
- this.raw = range.value;
15993
- this.set = [[range]];
15994
- this.formatted = void 0;
15995
- return this;
15996
- }
15997
- this.options = options;
15998
- this.loose = !!options.loose;
15999
- this.includePrerelease = !!options.includePrerelease;
16000
- this.raw = range.trim().replace(SPACE_CHARACTERS, " ");
16001
- this.set = this.raw.split("||").map((r2) => this.parseRange(r2.trim())).filter((c2) => c2.length);
16002
- if (!this.set.length) {
16003
- throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
16004
- }
16005
- if (this.set.length > 1) {
16006
- const first = this.set[0];
16007
- this.set = this.set.filter((c2) => !isNullSet(c2[0]));
16008
- if (this.set.length === 0) {
16009
- this.set = [first];
16010
- } else if (this.set.length > 1) {
16011
- for (const c2 of this.set) {
16012
- if (c2.length === 1 && isAny(c2[0])) {
16013
- this.set = [c2];
16014
- break;
16015
- }
16016
- }
16017
- }
16018
- }
16019
- this.formatted = void 0;
16020
- }
16021
- get range() {
16022
- if (this.formatted === void 0) {
16023
- this.formatted = "";
16024
- for (let i = 0; i < this.set.length; i++) {
16025
- if (i > 0) {
16026
- this.formatted += "||";
16027
- }
16028
- const comps = this.set[i];
16029
- for (let k2 = 0; k2 < comps.length; k2++) {
16030
- if (k2 > 0) {
16031
- this.formatted += " ";
16032
- }
16033
- this.formatted += comps[k2].toString().trim();
16034
- }
16035
- }
16036
- }
16037
- return this.formatted;
16038
- }
16039
- format() {
16040
- return this.range;
16041
- }
16042
- toString() {
16043
- return this.range;
16044
- }
16045
- parseRange(range) {
16046
- const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
16047
- const memoKey = memoOpts + ":" + range;
16048
- const cached = cache.get(memoKey);
16049
- if (cached) {
16050
- return cached;
16051
- }
16052
- const loose = this.options.loose;
16053
- const hr2 = loose ? re2[t.HYPHENRANGELOOSE] : re2[t.HYPHENRANGE];
16054
- range = range.replace(hr2, hyphenReplace(this.options.includePrerelease));
16055
- debug("hyphen replace", range);
16056
- range = range.replace(re2[t.COMPARATORTRIM], comparatorTrimReplace);
16057
- debug("comparator trim", range);
16058
- range = range.replace(re2[t.TILDETRIM], tildeTrimReplace);
16059
- debug("tilde trim", range);
16060
- range = range.replace(re2[t.CARETTRIM], caretTrimReplace);
16061
- debug("caret trim", range);
16062
- let rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
16063
- if (loose) {
16064
- rangeList = rangeList.filter((comp) => {
16065
- debug("loose invalid filter", comp, this.options);
16066
- return !!comp.match(re2[t.COMPARATORLOOSE]);
16067
- });
16068
- }
16069
- debug("range list", rangeList);
16070
- const rangeMap = /* @__PURE__ */ new Map();
16071
- const comparators = rangeList.map((comp) => new Comparator(comp, this.options));
16072
- for (const comp of comparators) {
16073
- if (isNullSet(comp)) {
16074
- return [comp];
16075
- }
16076
- rangeMap.set(comp.value, comp);
16077
- }
16078
- if (rangeMap.size > 1 && rangeMap.has("")) {
16079
- rangeMap.delete("");
16080
- }
16081
- const result = [...rangeMap.values()];
16082
- cache.set(memoKey, result);
16083
- return result;
16084
- }
16085
- intersects(range, options) {
16086
- if (!(range instanceof _Range)) {
16087
- throw new TypeError("a Range is required");
16088
- }
16089
- return this.set.some((thisComparators) => {
16090
- return isSatisfiable(thisComparators, options) && range.set.some((rangeComparators) => {
16091
- return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
16092
- return rangeComparators.every((rangeComparator) => {
16093
- return thisComparator.intersects(rangeComparator, options);
16094
- });
16095
- });
16096
- });
16097
- });
16098
- }
16099
- // if ANY of the sets match ALL of its comparators, then pass
16100
- test(version2) {
16101
- if (!version2) {
16102
- return false;
16103
- }
16104
- if (typeof version2 === "string") {
16105
- try {
16106
- version2 = new SemVer(version2, this.options);
16107
- } catch (er2) {
16108
- return false;
16109
- }
16110
- }
16111
- for (let i = 0; i < this.set.length; i++) {
16112
- if (testSet(this.set[i], version2, this.options)) {
16113
- return true;
16114
- }
16115
- }
16116
- return false;
16117
- }
16118
- };
16119
- module.exports = Range2;
16120
- var LRU = require_lrucache();
16121
- var cache = new LRU();
16122
- var parseOptions = require_parse_options();
16123
- var Comparator = require_comparator();
16124
- var debug = require_debug();
16125
- var SemVer = require_semver();
16126
- var {
16127
- safeRe: re2,
16128
- t,
16129
- comparatorTrimReplace,
16130
- tildeTrimReplace,
16131
- caretTrimReplace
16132
- } = require_re();
16133
- var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants();
16134
- var isNullSet = (c2) => c2.value === "<0.0.0-0";
16135
- var isAny = (c2) => c2.value === "";
16136
- var isSatisfiable = (comparators, options) => {
16137
- let result = true;
16138
- const remainingComparators = comparators.slice();
16139
- let testComparator = remainingComparators.pop();
16140
- while (result && remainingComparators.length) {
16141
- result = remainingComparators.every((otherComparator) => {
16142
- return testComparator.intersects(otherComparator, options);
16143
- });
16144
- testComparator = remainingComparators.pop();
16145
- }
16146
- return result;
16147
- };
16148
- var parseComparator = (comp, options) => {
16149
- debug("comp", comp, options);
16150
- comp = replaceCarets(comp, options);
16151
- debug("caret", comp);
16152
- comp = replaceTildes(comp, options);
16153
- debug("tildes", comp);
16154
- comp = replaceXRanges(comp, options);
16155
- debug("xrange", comp);
16156
- comp = replaceStars(comp, options);
16157
- debug("stars", comp);
16158
- return comp;
16159
- };
16160
- var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
16161
- var replaceTildes = (comp, options) => {
16162
- return comp.trim().split(/\s+/).map((c2) => replaceTilde(c2, options)).join(" ");
16163
- };
16164
- var replaceTilde = (comp, options) => {
16165
- const r2 = options.loose ? re2[t.TILDELOOSE] : re2[t.TILDE];
16166
- return comp.replace(r2, (_2, M2, m2, p2, pr2) => {
16167
- debug("tilde", comp, _2, M2, m2, p2, pr2);
16168
- let ret;
16169
- if (isX(M2)) {
16170
- ret = "";
16171
- } else if (isX(m2)) {
16172
- ret = `>=${M2}.0.0 <${+M2 + 1}.0.0-0`;
16173
- } else if (isX(p2)) {
16174
- ret = `>=${M2}.${m2}.0 <${M2}.${+m2 + 1}.0-0`;
16175
- } else if (pr2) {
16176
- debug("replaceTilde pr", pr2);
16177
- ret = `>=${M2}.${m2}.${p2}-${pr2} <${M2}.${+m2 + 1}.0-0`;
16178
- } else {
16179
- ret = `>=${M2}.${m2}.${p2} <${M2}.${+m2 + 1}.0-0`;
16180
- }
16181
- debug("tilde return", ret);
16182
- return ret;
16183
- });
16184
- };
16185
- var replaceCarets = (comp, options) => {
16186
- return comp.trim().split(/\s+/).map((c2) => replaceCaret(c2, options)).join(" ");
16187
- };
16188
- var replaceCaret = (comp, options) => {
16189
- debug("caret", comp, options);
16190
- const r2 = options.loose ? re2[t.CARETLOOSE] : re2[t.CARET];
16191
- const z2 = options.includePrerelease ? "-0" : "";
16192
- return comp.replace(r2, (_2, M2, m2, p2, pr2) => {
16193
- debug("caret", comp, _2, M2, m2, p2, pr2);
16194
- let ret;
16195
- if (isX(M2)) {
16196
- ret = "";
16197
- } else if (isX(m2)) {
16198
- ret = `>=${M2}.0.0${z2} <${+M2 + 1}.0.0-0`;
16199
- } else if (isX(p2)) {
16200
- if (M2 === "0") {
16201
- ret = `>=${M2}.${m2}.0${z2} <${M2}.${+m2 + 1}.0-0`;
16202
- } else {
16203
- ret = `>=${M2}.${m2}.0${z2} <${+M2 + 1}.0.0-0`;
16204
- }
16205
- } else if (pr2) {
16206
- debug("replaceCaret pr", pr2);
16207
- if (M2 === "0") {
16208
- if (m2 === "0") {
16209
- ret = `>=${M2}.${m2}.${p2}-${pr2} <${M2}.${m2}.${+p2 + 1}-0`;
16210
- } else {
16211
- ret = `>=${M2}.${m2}.${p2}-${pr2} <${M2}.${+m2 + 1}.0-0`;
16212
- }
16213
- } else {
16214
- ret = `>=${M2}.${m2}.${p2}-${pr2} <${+M2 + 1}.0.0-0`;
16215
- }
16216
- } else {
16217
- debug("no pr");
16218
- if (M2 === "0") {
16219
- if (m2 === "0") {
16220
- ret = `>=${M2}.${m2}.${p2}${z2} <${M2}.${m2}.${+p2 + 1}-0`;
16221
- } else {
16222
- ret = `>=${M2}.${m2}.${p2}${z2} <${M2}.${+m2 + 1}.0-0`;
16223
- }
16224
- } else {
16225
- ret = `>=${M2}.${m2}.${p2} <${+M2 + 1}.0.0-0`;
16226
- }
16227
- }
16228
- debug("caret return", ret);
16229
- return ret;
16230
- });
16231
- };
16232
- var replaceXRanges = (comp, options) => {
16233
- debug("replaceXRanges", comp, options);
16234
- return comp.split(/\s+/).map((c2) => replaceXRange(c2, options)).join(" ");
16235
- };
16236
- var replaceXRange = (comp, options) => {
16237
- comp = comp.trim();
16238
- const r2 = options.loose ? re2[t.XRANGELOOSE] : re2[t.XRANGE];
16239
- return comp.replace(r2, (ret, gtlt, M2, m2, p2, pr2) => {
16240
- debug("xRange", comp, ret, gtlt, M2, m2, p2, pr2);
16241
- const xM = isX(M2);
16242
- const xm = xM || isX(m2);
16243
- const xp = xm || isX(p2);
16244
- const anyX = xp;
16245
- if (gtlt === "=" && anyX) {
16246
- gtlt = "";
16247
- }
16248
- pr2 = options.includePrerelease ? "-0" : "";
16249
- if (xM) {
16250
- if (gtlt === ">" || gtlt === "<") {
16251
- ret = "<0.0.0-0";
16252
- } else {
16253
- ret = "*";
16254
- }
16255
- } else if (gtlt && anyX) {
16256
- if (xm) {
16257
- m2 = 0;
16258
- }
16259
- p2 = 0;
16260
- if (gtlt === ">") {
16261
- gtlt = ">=";
16262
- if (xm) {
16263
- M2 = +M2 + 1;
16264
- m2 = 0;
16265
- p2 = 0;
16266
- } else {
16267
- m2 = +m2 + 1;
16268
- p2 = 0;
16269
- }
16270
- } else if (gtlt === "<=") {
16271
- gtlt = "<";
16272
- if (xm) {
16273
- M2 = +M2 + 1;
16274
- } else {
16275
- m2 = +m2 + 1;
16276
- }
16277
- }
16278
- if (gtlt === "<") {
16279
- pr2 = "-0";
16280
- }
16281
- ret = `${gtlt + M2}.${m2}.${p2}${pr2}`;
16282
- } else if (xm) {
16283
- ret = `>=${M2}.0.0${pr2} <${+M2 + 1}.0.0-0`;
16284
- } else if (xp) {
16285
- ret = `>=${M2}.${m2}.0${pr2} <${M2}.${+m2 + 1}.0-0`;
16286
- }
16287
- debug("xRange return", ret);
16288
- return ret;
16289
- });
16290
- };
16291
- var replaceStars = (comp, options) => {
16292
- debug("replaceStars", comp, options);
16293
- return comp.trim().replace(re2[t.STAR], "");
16294
- };
16295
- var replaceGTE0 = (comp, options) => {
16296
- debug("replaceGTE0", comp, options);
16297
- return comp.trim().replace(re2[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
16298
- };
16299
- var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to2, tM, tm, tp, tpr) => {
16300
- if (isX(fM)) {
16301
- from = "";
16302
- } else if (isX(fm)) {
16303
- from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
16304
- } else if (isX(fp)) {
16305
- from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
16306
- } else if (fpr) {
16307
- from = `>=${from}`;
16308
- } else {
16309
- from = `>=${from}${incPr ? "-0" : ""}`;
16310
- }
16311
- if (isX(tM)) {
16312
- to2 = "";
16313
- } else if (isX(tm)) {
16314
- to2 = `<${+tM + 1}.0.0-0`;
16315
- } else if (isX(tp)) {
16316
- to2 = `<${tM}.${+tm + 1}.0-0`;
16317
- } else if (tpr) {
16318
- to2 = `<=${tM}.${tm}.${tp}-${tpr}`;
16319
- } else if (incPr) {
16320
- to2 = `<${tM}.${tm}.${+tp + 1}-0`;
16321
- } else {
16322
- to2 = `<=${to2}`;
16323
- }
16324
- return `${from} ${to2}`.trim();
16325
- };
16326
- var testSet = (set, version2, options) => {
16327
- for (let i = 0; i < set.length; i++) {
16328
- if (!set[i].test(version2)) {
16329
- return false;
16330
- }
16331
- }
16332
- if (version2.prerelease.length && !options.includePrerelease) {
16333
- for (let i = 0; i < set.length; i++) {
16334
- debug(set[i].semver);
16335
- if (set[i].semver === Comparator.ANY) {
16336
- continue;
16337
- }
16338
- if (set[i].semver.prerelease.length > 0) {
16339
- const allowed = set[i].semver;
16340
- if (allowed.major === version2.major && allowed.minor === version2.minor && allowed.patch === version2.patch) {
16341
- return true;
16342
- }
16343
- }
16344
- }
16345
- return false;
16346
- }
16347
- return true;
16348
- };
16349
- }
16350
- });
16351
-
16352
- // node_modules/semver/classes/comparator.js
16353
- var require_comparator = __commonJS({
16354
- "node_modules/semver/classes/comparator.js"(exports, module) {
16355
- "use strict";
16356
- var ANY = Symbol("SemVer ANY");
16357
- var Comparator = class _Comparator {
16358
- static get ANY() {
16359
- return ANY;
16360
- }
16361
- constructor(comp, options) {
16362
- options = parseOptions(options);
16363
- if (comp instanceof _Comparator) {
16364
- if (comp.loose === !!options.loose) {
16365
- return comp;
16366
- } else {
16367
- comp = comp.value;
16368
- }
16369
- }
16370
- comp = comp.trim().split(/\s+/).join(" ");
16371
- debug("comparator", comp, options);
16372
- this.options = options;
16373
- this.loose = !!options.loose;
16374
- this.parse(comp);
16375
- if (this.semver === ANY) {
16376
- this.value = "";
16377
- } else {
16378
- this.value = this.operator + this.semver.version;
16379
- }
16380
- debug("comp", this);
16381
- }
16382
- parse(comp) {
16383
- const r2 = this.options.loose ? re2[t.COMPARATORLOOSE] : re2[t.COMPARATOR];
16384
- const m2 = comp.match(r2);
16385
- if (!m2) {
16386
- throw new TypeError(`Invalid comparator: ${comp}`);
16387
- }
16388
- this.operator = m2[1] !== void 0 ? m2[1] : "";
16389
- if (this.operator === "=") {
16390
- this.operator = "";
16391
- }
16392
- if (!m2[2]) {
16393
- this.semver = ANY;
16394
- } else {
16395
- this.semver = new SemVer(m2[2], this.options.loose);
16396
- }
16397
- }
16398
- toString() {
16399
- return this.value;
16400
- }
16401
- test(version2) {
16402
- debug("Comparator.test", version2, this.options.loose);
16403
- if (this.semver === ANY || version2 === ANY) {
16404
- return true;
16405
- }
16406
- if (typeof version2 === "string") {
16407
- try {
16408
- version2 = new SemVer(version2, this.options);
16409
- } catch (er2) {
16410
- return false;
16411
- }
16412
- }
16413
- return cmp(version2, this.operator, this.semver, this.options);
16414
- }
16415
- intersects(comp, options) {
16416
- if (!(comp instanceof _Comparator)) {
16417
- throw new TypeError("a Comparator is required");
16418
- }
16419
- if (this.operator === "") {
16420
- if (this.value === "") {
16421
- return true;
16422
- }
16423
- return new Range2(comp.value, options).test(this.value);
16424
- } else if (comp.operator === "") {
16425
- if (comp.value === "") {
16426
- return true;
16427
- }
16428
- return new Range2(this.value, options).test(comp.semver);
16429
- }
16430
- options = parseOptions(options);
16431
- if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
16432
- return false;
16433
- }
16434
- if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
16435
- return false;
16436
- }
16437
- if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
16438
- return true;
16439
- }
16440
- if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
16441
- return true;
16442
- }
16443
- if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
16444
- return true;
16445
- }
16446
- if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
16447
- return true;
16448
- }
16449
- if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
16450
- return true;
16451
- }
16452
- return false;
16453
- }
16454
- };
16455
- module.exports = Comparator;
16456
- var parseOptions = require_parse_options();
16457
- var { safeRe: re2, t } = require_re();
16458
- var cmp = require_cmp();
16459
- var debug = require_debug();
16460
- var SemVer = require_semver();
16461
- var Range2 = require_range();
16462
- }
16463
- });
16464
-
16465
- // node_modules/semver/functions/satisfies.js
16466
- var require_satisfies = __commonJS({
16467
- "node_modules/semver/functions/satisfies.js"(exports, module) {
16468
- "use strict";
16469
- var Range2 = require_range();
16470
- var satisfies = (version2, range, options) => {
16471
- try {
16472
- range = new Range2(range, options);
16473
- } catch (er2) {
16474
- return false;
16475
- }
16476
- return range.test(version2);
16477
- };
16478
- module.exports = satisfies;
16479
- }
16480
- });
16481
-
16482
- // node_modules/semver/ranges/to-comparators.js
16483
- var require_to_comparators = __commonJS({
16484
- "node_modules/semver/ranges/to-comparators.js"(exports, module) {
16485
- "use strict";
16486
- var Range2 = require_range();
16487
- var toComparators = (range, options) => new Range2(range, options).set.map((comp) => comp.map((c2) => c2.value).join(" ").trim().split(" "));
16488
- module.exports = toComparators;
16489
- }
16490
- });
16491
-
16492
- // node_modules/semver/ranges/max-satisfying.js
16493
- var require_max_satisfying = __commonJS({
16494
- "node_modules/semver/ranges/max-satisfying.js"(exports, module) {
16495
- "use strict";
16496
- var SemVer = require_semver();
16497
- var Range2 = require_range();
16498
- var maxSatisfying = (versions, range, options) => {
16499
- let max = null;
16500
- let maxSV = null;
16501
- let rangeObj = null;
16502
- try {
16503
- rangeObj = new Range2(range, options);
16504
- } catch (er2) {
16505
- return null;
16506
- }
16507
- versions.forEach((v2) => {
16508
- if (rangeObj.test(v2)) {
16509
- if (!max || maxSV.compare(v2) === -1) {
16510
- max = v2;
16511
- maxSV = new SemVer(max, options);
16512
- }
16513
- }
16514
- });
16515
- return max;
16516
- };
16517
- module.exports = maxSatisfying;
16518
- }
16519
- });
16520
-
16521
- // node_modules/semver/ranges/min-satisfying.js
16522
- var require_min_satisfying = __commonJS({
16523
- "node_modules/semver/ranges/min-satisfying.js"(exports, module) {
16524
- "use strict";
16525
- var SemVer = require_semver();
16526
- var Range2 = require_range();
16527
- var minSatisfying = (versions, range, options) => {
16528
- let min = null;
16529
- let minSV = null;
16530
- let rangeObj = null;
16531
- try {
16532
- rangeObj = new Range2(range, options);
16533
- } catch (er2) {
16534
- return null;
16535
- }
16536
- versions.forEach((v2) => {
16537
- if (rangeObj.test(v2)) {
16538
- if (!min || minSV.compare(v2) === 1) {
16539
- min = v2;
16540
- minSV = new SemVer(min, options);
16541
- }
16542
- }
16543
- });
16544
- return min;
16545
- };
16546
- module.exports = minSatisfying;
16547
- }
16548
- });
16549
-
16550
- // node_modules/semver/ranges/min-version.js
16551
- var require_min_version = __commonJS({
16552
- "node_modules/semver/ranges/min-version.js"(exports, module) {
16553
- "use strict";
16554
- var SemVer = require_semver();
16555
- var Range2 = require_range();
16556
- var gt2 = require_gt();
16557
- var minVersion = (range, loose) => {
16558
- range = new Range2(range, loose);
16559
- let minver = new SemVer("0.0.0");
16560
- if (range.test(minver)) {
16561
- return minver;
16562
- }
16563
- minver = new SemVer("0.0.0-0");
16564
- if (range.test(minver)) {
16565
- return minver;
16566
- }
16567
- minver = null;
16568
- for (let i = 0; i < range.set.length; ++i) {
16569
- const comparators = range.set[i];
16570
- let setMin = null;
16571
- comparators.forEach((comparator) => {
16572
- const compver = new SemVer(comparator.semver.version);
16573
- switch (comparator.operator) {
16574
- case ">":
16575
- if (compver.prerelease.length === 0) {
16576
- compver.patch++;
16577
- } else {
16578
- compver.prerelease.push(0);
16579
- }
16580
- compver.raw = compver.format();
16581
- /* fallthrough */
16582
- case "":
16583
- case ">=":
16584
- if (!setMin || gt2(compver, setMin)) {
16585
- setMin = compver;
16586
- }
16587
- break;
16588
- case "<":
16589
- case "<=":
16590
- break;
16591
- /* istanbul ignore next */
16592
- default:
16593
- throw new Error(`Unexpected operation: ${comparator.operator}`);
16594
- }
16595
- });
16596
- if (setMin && (!minver || gt2(minver, setMin))) {
16597
- minver = setMin;
16598
- }
16599
- }
16600
- if (minver && range.test(minver)) {
16601
- return minver;
16602
- }
16603
- return null;
16604
- };
16605
- module.exports = minVersion;
16606
- }
16607
- });
16608
-
16609
- // node_modules/semver/ranges/valid.js
16610
- var require_valid2 = __commonJS({
16611
- "node_modules/semver/ranges/valid.js"(exports, module) {
16612
- "use strict";
16613
- var Range2 = require_range();
16614
- var validRange = (range, options) => {
16615
- try {
16616
- return new Range2(range, options).range || "*";
16617
- } catch (er2) {
16618
- return null;
16619
- }
16620
- };
16621
- module.exports = validRange;
16622
- }
16623
- });
16624
-
16625
- // node_modules/semver/ranges/outside.js
16626
- var require_outside = __commonJS({
16627
- "node_modules/semver/ranges/outside.js"(exports, module) {
16628
- "use strict";
16629
- var SemVer = require_semver();
16630
- var Comparator = require_comparator();
16631
- var { ANY } = Comparator;
16632
- var Range2 = require_range();
16633
- var satisfies = require_satisfies();
16634
- var gt2 = require_gt();
16635
- var lt2 = require_lt();
16636
- var lte = require_lte();
16637
- var gte = require_gte();
16638
- var outside = (version2, range, hilo, options) => {
16639
- version2 = new SemVer(version2, options);
16640
- range = new Range2(range, options);
16641
- let gtfn, ltefn, ltfn, comp, ecomp;
16642
- switch (hilo) {
16643
- case ">":
16644
- gtfn = gt2;
16645
- ltefn = lte;
16646
- ltfn = lt2;
16647
- comp = ">";
16648
- ecomp = ">=";
16649
- break;
16650
- case "<":
16651
- gtfn = lt2;
16652
- ltefn = gte;
16653
- ltfn = gt2;
16654
- comp = "<";
16655
- ecomp = "<=";
16656
- break;
16657
- default:
16658
- throw new TypeError('Must provide a hilo val of "<" or ">"');
16659
- }
16660
- if (satisfies(version2, range, options)) {
16661
- return false;
16662
- }
16663
- for (let i = 0; i < range.set.length; ++i) {
16664
- const comparators = range.set[i];
16665
- let high = null;
16666
- let low = null;
16667
- comparators.forEach((comparator) => {
16668
- if (comparator.semver === ANY) {
16669
- comparator = new Comparator(">=0.0.0");
16670
- }
16671
- high = high || comparator;
16672
- low = low || comparator;
16673
- if (gtfn(comparator.semver, high.semver, options)) {
16674
- high = comparator;
16675
- } else if (ltfn(comparator.semver, low.semver, options)) {
16676
- low = comparator;
16677
- }
16678
- });
16679
- if (high.operator === comp || high.operator === ecomp) {
16680
- return false;
16681
- }
16682
- if ((!low.operator || low.operator === comp) && ltefn(version2, low.semver)) {
16683
- return false;
16684
- } else if (low.operator === ecomp && ltfn(version2, low.semver)) {
16685
- return false;
16686
- }
16687
- }
16688
- return true;
16689
- };
16690
- module.exports = outside;
16691
- }
16692
- });
16693
-
16694
- // node_modules/semver/ranges/gtr.js
16695
- var require_gtr = __commonJS({
16696
- "node_modules/semver/ranges/gtr.js"(exports, module) {
16697
- "use strict";
16698
- var outside = require_outside();
16699
- var gtr = (version2, range, options) => outside(version2, range, ">", options);
16700
- module.exports = gtr;
16701
- }
16702
- });
16703
-
16704
- // node_modules/semver/ranges/ltr.js
16705
- var require_ltr = __commonJS({
16706
- "node_modules/semver/ranges/ltr.js"(exports, module) {
16707
- "use strict";
16708
- var outside = require_outside();
16709
- var ltr = (version2, range, options) => outside(version2, range, "<", options);
16710
- module.exports = ltr;
16711
- }
16712
- });
16713
-
16714
- // node_modules/semver/ranges/intersects.js
16715
- var require_intersects = __commonJS({
16716
- "node_modules/semver/ranges/intersects.js"(exports, module) {
16717
- "use strict";
16718
- var Range2 = require_range();
16719
- var intersects = (r1, r2, options) => {
16720
- r1 = new Range2(r1, options);
16721
- r2 = new Range2(r2, options);
16722
- return r1.intersects(r2, options);
16723
- };
16724
- module.exports = intersects;
16725
- }
16726
- });
16727
-
16728
- // node_modules/semver/ranges/simplify.js
16729
- var require_simplify = __commonJS({
16730
- "node_modules/semver/ranges/simplify.js"(exports, module) {
16731
- "use strict";
16732
- var satisfies = require_satisfies();
16733
- var compare = require_compare();
16734
- module.exports = (versions, range, options) => {
16735
- const set = [];
16736
- let first = null;
16737
- let prev = null;
16738
- const v2 = versions.sort((a, b2) => compare(a, b2, options));
16739
- for (const version2 of v2) {
16740
- const included = satisfies(version2, range, options);
16741
- if (included) {
16742
- prev = version2;
16743
- if (!first) {
16744
- first = version2;
16745
- }
16746
- } else {
16747
- if (prev) {
16748
- set.push([first, prev]);
16749
- }
16750
- prev = null;
16751
- first = null;
16752
- }
16753
- }
16754
- if (first) {
16755
- set.push([first, null]);
16756
- }
16757
- const ranges = [];
16758
- for (const [min, max] of set) {
16759
- if (min === max) {
16760
- ranges.push(min);
16761
- } else if (!max && min === v2[0]) {
16762
- ranges.push("*");
16763
- } else if (!max) {
16764
- ranges.push(`>=${min}`);
16765
- } else if (min === v2[0]) {
16766
- ranges.push(`<=${max}`);
16767
- } else {
16768
- ranges.push(`${min} - ${max}`);
16769
- }
16770
- }
16771
- const simplified = ranges.join(" || ");
16772
- const original = typeof range.raw === "string" ? range.raw : String(range);
16773
- return simplified.length < original.length ? simplified : range;
16774
- };
16775
- }
16776
- });
16777
-
16778
- // node_modules/semver/ranges/subset.js
16779
- var require_subset = __commonJS({
16780
- "node_modules/semver/ranges/subset.js"(exports, module) {
16781
- "use strict";
16782
- var Range2 = require_range();
16783
- var Comparator = require_comparator();
16784
- var { ANY } = Comparator;
16785
- var satisfies = require_satisfies();
16786
- var compare = require_compare();
16787
- var subset = (sub, dom, options = {}) => {
16788
- if (sub === dom) {
16789
- return true;
16790
- }
16791
- sub = new Range2(sub, options);
16792
- dom = new Range2(dom, options);
16793
- let sawNonNull = false;
16794
- OUTER: for (const simpleSub of sub.set) {
16795
- for (const simpleDom of dom.set) {
16796
- const isSub = simpleSubset(simpleSub, simpleDom, options);
16797
- sawNonNull = sawNonNull || isSub !== null;
16798
- if (isSub) {
16799
- continue OUTER;
16800
- }
16801
- }
16802
- if (sawNonNull) {
16803
- return false;
16804
- }
16805
- }
16806
- return true;
16807
- };
16808
- var minimumVersionWithPreRelease = [new Comparator(">=0.0.0-0")];
16809
- var minimumVersion = [new Comparator(">=0.0.0")];
16810
- var simpleSubset = (sub, dom, options) => {
16811
- if (sub === dom) {
16812
- return true;
16813
- }
16814
- if (sub.length === 1 && sub[0].semver === ANY) {
16815
- if (dom.length === 1 && dom[0].semver === ANY) {
16816
- return true;
16817
- } else if (options.includePrerelease) {
16818
- sub = minimumVersionWithPreRelease;
16819
- } else {
16820
- sub = minimumVersion;
16821
- }
16822
- }
16823
- if (dom.length === 1 && dom[0].semver === ANY) {
16824
- if (options.includePrerelease) {
16825
- return true;
16826
- } else {
16827
- dom = minimumVersion;
16828
- }
16829
- }
16830
- const eqSet = /* @__PURE__ */ new Set();
16831
- let gt2, lt2;
16832
- for (const c2 of sub) {
16833
- if (c2.operator === ">" || c2.operator === ">=") {
16834
- gt2 = higherGT(gt2, c2, options);
16835
- } else if (c2.operator === "<" || c2.operator === "<=") {
16836
- lt2 = lowerLT(lt2, c2, options);
16837
- } else {
16838
- eqSet.add(c2.semver);
16839
- }
16840
- }
16841
- if (eqSet.size > 1) {
16842
- return null;
16843
- }
16844
- let gtltComp;
16845
- if (gt2 && lt2) {
16846
- gtltComp = compare(gt2.semver, lt2.semver, options);
16847
- if (gtltComp > 0) {
16848
- return null;
16849
- } else if (gtltComp === 0 && (gt2.operator !== ">=" || lt2.operator !== "<=")) {
16850
- return null;
16851
- }
16852
- }
16853
- for (const eq of eqSet) {
16854
- if (gt2 && !satisfies(eq, String(gt2), options)) {
16855
- return null;
16856
- }
16857
- if (lt2 && !satisfies(eq, String(lt2), options)) {
16858
- return null;
16859
- }
16860
- for (const c2 of dom) {
16861
- if (!satisfies(eq, String(c2), options)) {
16862
- return false;
16863
- }
16864
- }
16865
- return true;
16866
- }
16867
- let higher, lower;
16868
- let hasDomLT, hasDomGT;
16869
- let needDomLTPre = lt2 && !options.includePrerelease && lt2.semver.prerelease.length ? lt2.semver : false;
16870
- let needDomGTPre = gt2 && !options.includePrerelease && gt2.semver.prerelease.length ? gt2.semver : false;
16871
- if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt2.operator === "<" && needDomLTPre.prerelease[0] === 0) {
16872
- needDomLTPre = false;
16873
- }
16874
- for (const c2 of dom) {
16875
- hasDomGT = hasDomGT || c2.operator === ">" || c2.operator === ">=";
16876
- hasDomLT = hasDomLT || c2.operator === "<" || c2.operator === "<=";
16877
- if (gt2) {
16878
- if (needDomGTPre) {
16879
- if (c2.semver.prerelease && c2.semver.prerelease.length && c2.semver.major === needDomGTPre.major && c2.semver.minor === needDomGTPre.minor && c2.semver.patch === needDomGTPre.patch) {
16880
- needDomGTPre = false;
16881
- }
16882
- }
16883
- if (c2.operator === ">" || c2.operator === ">=") {
16884
- higher = higherGT(gt2, c2, options);
16885
- if (higher === c2 && higher !== gt2) {
16886
- return false;
16887
- }
16888
- } else if (gt2.operator === ">=" && !satisfies(gt2.semver, String(c2), options)) {
16889
- return false;
16890
- }
16891
- }
16892
- if (lt2) {
16893
- if (needDomLTPre) {
16894
- if (c2.semver.prerelease && c2.semver.prerelease.length && c2.semver.major === needDomLTPre.major && c2.semver.minor === needDomLTPre.minor && c2.semver.patch === needDomLTPre.patch) {
16895
- needDomLTPre = false;
16896
- }
16897
- }
16898
- if (c2.operator === "<" || c2.operator === "<=") {
16899
- lower = lowerLT(lt2, c2, options);
16900
- if (lower === c2 && lower !== lt2) {
16901
- return false;
16902
- }
16903
- } else if (lt2.operator === "<=" && !satisfies(lt2.semver, String(c2), options)) {
16904
- return false;
16905
- }
16906
- }
16907
- if (!c2.operator && (lt2 || gt2) && gtltComp !== 0) {
16908
- return false;
16909
- }
16910
- }
16911
- if (gt2 && hasDomLT && !lt2 && gtltComp !== 0) {
16912
- return false;
16913
- }
16914
- if (lt2 && hasDomGT && !gt2 && gtltComp !== 0) {
16915
- return false;
16916
- }
16917
- if (needDomGTPre || needDomLTPre) {
16918
- return false;
16919
- }
16920
- return true;
16921
- };
16922
- var higherGT = (a, b2, options) => {
16923
- if (!a) {
16924
- return b2;
16925
- }
16926
- const comp = compare(a.semver, b2.semver, options);
16927
- return comp > 0 ? a : comp < 0 ? b2 : b2.operator === ">" && a.operator === ">=" ? b2 : a;
16928
- };
16929
- var lowerLT = (a, b2, options) => {
16930
- if (!a) {
16931
- return b2;
16932
- }
16933
- const comp = compare(a.semver, b2.semver, options);
16934
- return comp < 0 ? a : comp > 0 ? b2 : b2.operator === "<" && a.operator === "<=" ? b2 : a;
16935
- };
16936
- module.exports = subset;
16937
- }
16938
- });
16939
-
16940
- // node_modules/semver/index.js
16941
- var require_semver2 = __commonJS({
16942
- "node_modules/semver/index.js"(exports, module) {
16943
- "use strict";
16944
- var internalRe = require_re();
16945
- var constants2 = require_constants();
16946
- var SemVer = require_semver();
16947
- var identifiers = require_identifiers();
16948
- var parse2 = require_parse();
16949
- var valid = require_valid();
16950
- var clean2 = require_clean();
16951
- var inc = require_inc();
16952
- var diff3 = require_diff();
16953
- var major = require_major();
16954
- var minor = require_minor();
16955
- var patch = require_patch();
16956
- var prerelease = require_prerelease();
16957
- var compare = require_compare();
16958
- var rcompare = require_rcompare();
16959
- var compareLoose = require_compare_loose();
16960
- var compareBuild = require_compare_build();
16961
- var sort = require_sort();
16962
- var rsort = require_rsort();
16963
- var gt2 = require_gt();
16964
- var lt2 = require_lt();
16965
- var eq = require_eq();
16966
- var neq = require_neq();
16967
- var gte = require_gte();
16968
- var lte = require_lte();
16969
- var cmp = require_cmp();
16970
- var coerce = require_coerce();
16971
- var Comparator = require_comparator();
16972
- var Range2 = require_range();
16973
- var satisfies = require_satisfies();
16974
- var toComparators = require_to_comparators();
16975
- var maxSatisfying = require_max_satisfying();
16976
- var minSatisfying = require_min_satisfying();
16977
- var minVersion = require_min_version();
16978
- var validRange = require_valid2();
16979
- var outside = require_outside();
16980
- var gtr = require_gtr();
16981
- var ltr = require_ltr();
16982
- var intersects = require_intersects();
16983
- var simplifyRange = require_simplify();
16984
- var subset = require_subset();
16985
- module.exports = {
16986
- parse: parse2,
16987
- valid,
16988
- clean: clean2,
16989
- inc,
16990
- diff: diff3,
16991
- major,
16992
- minor,
16993
- patch,
16994
- prerelease,
16995
- compare,
16996
- rcompare,
16997
- compareLoose,
16998
- compareBuild,
16999
- sort,
17000
- rsort,
17001
- gt: gt2,
17002
- lt: lt2,
17003
- eq,
17004
- neq,
17005
- gte,
17006
- lte,
17007
- cmp,
17008
- coerce,
17009
- Comparator,
17010
- Range: Range2,
17011
- satisfies,
17012
- toComparators,
17013
- maxSatisfying,
17014
- minSatisfying,
17015
- minVersion,
17016
- validRange,
17017
- outside,
17018
- gtr,
17019
- ltr,
17020
- intersects,
17021
- simplifyRange,
17022
- subset,
17023
- SemVer,
17024
- re: internalRe.re,
17025
- src: internalRe.src,
17026
- tokens: internalRe.t,
17027
- SEMVER_SPEC_VERSION: constants2.SEMVER_SPEC_VERSION,
17028
- RELEASE_TYPES: constants2.RELEASE_TYPES,
17029
- compareIdentifiers: identifiers.compareIdentifiers,
17030
- rcompareIdentifiers: identifiers.rcompareIdentifiers
17031
- };
17032
- }
17033
- });
17034
-
17035
15600
  // node_modules/run-jxa/node_modules/strip-final-newline/index.js
17036
15601
  var require_strip_final_newline = __commonJS({
17037
15602
  "node_modules/run-jxa/node_modules/strip-final-newline/index.js"(exports, module) {
@@ -22139,7 +20704,7 @@ var require_errors = __commonJS({
22139
20704
  });
22140
20705
 
22141
20706
  // packages/cli/node_modules/undici/lib/core/constants.js
22142
- var require_constants3 = __commonJS({
20707
+ var require_constants2 = __commonJS({
22143
20708
  "packages/cli/node_modules/undici/lib/core/constants.js"(exports, module) {
22144
20709
  "use strict";
22145
20710
  var wellknownHeaderNames = (
@@ -22273,7 +20838,7 @@ var require_tree = __commonJS({
22273
20838
  var {
22274
20839
  wellknownHeaderNames,
22275
20840
  headerNameLowerCasedRecord
22276
- } = require_constants3();
20841
+ } = require_constants2();
22277
20842
  var TstNode = class _TstNode {
22278
20843
  /** @type {any} */
22279
20844
  value = null;
@@ -22423,7 +20988,7 @@ var require_util3 = __commonJS({
22423
20988
  var { EventEmitter: EE } = __require("node:events");
22424
20989
  var timers = require_timers();
22425
20990
  var { InvalidArgumentError, ConnectTimeoutError } = require_errors();
22426
- var { headerNameLowerCasedRecord } = require_constants3();
20991
+ var { headerNameLowerCasedRecord } = require_constants2();
22427
20992
  var { tree } = require_tree();
22428
20993
  var [nodeMajor, nodeMinor] = process.versions.node.split(".", 2).map((v2) => Number(v2));
22429
20994
  var BodyAsyncIterable = class {
@@ -23232,7 +21797,7 @@ var require_request = __commonJS({
23232
21797
  normalizedMethodRecords
23233
21798
  } = require_util3();
23234
21799
  var { channels } = require_diagnostics();
23235
- var { headerNameLowerCasedRecord } = require_constants3();
21800
+ var { headerNameLowerCasedRecord } = require_constants2();
23236
21801
  var invalidPathRegex = /[^\u0021-\u00ff]/;
23237
21802
  var kHandler = Symbol("handler");
23238
21803
  var Request = class {
@@ -24021,7 +22586,7 @@ var require_utils = __commonJS({
24021
22586
  });
24022
22587
 
24023
22588
  // packages/cli/node_modules/undici/lib/llhttp/constants.js
24024
- var require_constants4 = __commonJS({
22589
+ var require_constants3 = __commonJS({
24025
22590
  "packages/cli/node_modules/undici/lib/llhttp/constants.js"(exports) {
24026
22591
  "use strict";
24027
22592
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -24640,7 +23205,7 @@ var require_llhttp_simd_wasm = __commonJS({
24640
23205
  });
24641
23206
 
24642
23207
  // packages/cli/node_modules/undici/lib/web/fetch/constants.js
24643
- var require_constants5 = __commonJS({
23208
+ var require_constants4 = __commonJS({
24644
23209
  "packages/cli/node_modules/undici/lib/web/fetch/constants.js"(exports, module) {
24645
23210
  "use strict";
24646
23211
  var corsSafeListedMethods = (
@@ -25722,7 +24287,7 @@ var require_util4 = __commonJS({
25722
24287
  "use strict";
25723
24288
  var { Transform: Transform2 } = __require("node:stream");
25724
24289
  var zlib = __require("node:zlib");
25725
- var { redirectStatusSet, referrerPolicyTokens, badPortsSet } = require_constants5();
24290
+ var { redirectStatusSet, referrerPolicyTokens, badPortsSet } = require_constants4();
25726
24291
  var { getGlobalOrigin } = require_global();
25727
24292
  var { collectASequenceOfCodePoints, collectAnHTTPQuotedString, removeChars, parseMIMEType } = require_data_url();
25728
24293
  var { performance: performance2 } = __require("node:perf_hooks");
@@ -27414,7 +25979,7 @@ var require_client_h1 = __commonJS({
27414
25979
  kHTTPContext,
27415
25980
  kClosed
27416
25981
  } = require_symbols();
27417
- var constants2 = require_constants4();
25982
+ var constants2 = require_constants3();
27418
25983
  var EMPTY_BUF = Buffer.alloc(0);
27419
25984
  var FastBuffer = Buffer[Symbol.species];
27420
25985
  var removeAllListeners = util2.removeAllListeners;
@@ -36087,7 +34652,7 @@ var require_response = __commonJS({
36087
34652
  var {
36088
34653
  redirectStatusSet,
36089
34654
  nullBodyStatus
36090
- } = require_constants5();
34655
+ } = require_constants4();
36091
34656
  var { webidl } = require_webidl();
36092
34657
  var { URLSerializer } = require_data_url();
36093
34658
  var { kConstruct } = require_symbols();
@@ -36552,7 +35117,7 @@ var require_request2 = __commonJS({
36552
35117
  requestCredentials,
36553
35118
  requestCache,
36554
35119
  requestDuplex
36555
- } = require_constants5();
35120
+ } = require_constants4();
36556
35121
  var { kEnumerableProperty, normalizedMethodRecordsBase, normalizedMethodRecords } = util2;
36557
35122
  var { webidl } = require_webidl();
36558
35123
  var { URLSerializer } = require_data_url();
@@ -37335,7 +35900,7 @@ var require_fetch = __commonJS({
37335
35900
  safeMethodsSet,
37336
35901
  requestBodyHeader,
37337
35902
  subresourceSet
37338
- } = require_constants5();
35903
+ } = require_constants4();
37339
35904
  var EE = __require("node:events");
37340
35905
  var { Readable, pipeline: pipeline2, finished, isErrored, isReadable } = __require("node:stream");
37341
35906
  var { addAbortListener, bufferToLowerCasedHeaderName } = require_util3();
@@ -39029,7 +37594,7 @@ var require_cachestorage = __commonJS({
39029
37594
  });
39030
37595
 
39031
37596
  // packages/cli/node_modules/undici/lib/web/cookies/constants.js
39032
- var require_constants6 = __commonJS({
37597
+ var require_constants5 = __commonJS({
39033
37598
  "packages/cli/node_modules/undici/lib/web/cookies/constants.js"(exports, module) {
39034
37599
  "use strict";
39035
37600
  var maxAttributeValueSize = 1024;
@@ -39212,10 +37777,10 @@ var require_util6 = __commonJS({
39212
37777
  });
39213
37778
 
39214
37779
  // packages/cli/node_modules/undici/lib/web/cookies/parse.js
39215
- var require_parse2 = __commonJS({
37780
+ var require_parse = __commonJS({
39216
37781
  "packages/cli/node_modules/undici/lib/web/cookies/parse.js"(exports, module) {
39217
37782
  "use strict";
39218
- var { maxNameValuePairSize, maxAttributeValueSize } = require_constants6();
37783
+ var { maxNameValuePairSize, maxAttributeValueSize } = require_constants5();
39219
37784
  var { isCTLExcludingHtab } = require_util6();
39220
37785
  var { collectASequenceOfCodePointsFast } = require_data_url();
39221
37786
  var assert = __require("node:assert");
@@ -39356,7 +37921,7 @@ var require_parse2 = __commonJS({
39356
37921
  var require_cookies = __commonJS({
39357
37922
  "packages/cli/node_modules/undici/lib/web/cookies/index.js"(exports, module) {
39358
37923
  "use strict";
39359
- var { parseSetCookie } = require_parse2();
37924
+ var { parseSetCookie } = require_parse();
39360
37925
  var { stringify } = require_util6();
39361
37926
  var { webidl } = require_webidl();
39362
37927
  var { Headers } = require_headers();
@@ -39756,7 +38321,7 @@ var require_events = __commonJS({
39756
38321
  });
39757
38322
 
39758
38323
  // packages/cli/node_modules/undici/lib/web/websocket/constants.js
39759
- var require_constants7 = __commonJS({
38324
+ var require_constants6 = __commonJS({
39760
38325
  "packages/cli/node_modules/undici/lib/web/websocket/constants.js"(exports, module) {
39761
38326
  "use strict";
39762
38327
  var uid = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
@@ -39815,7 +38380,7 @@ var require_constants7 = __commonJS({
39815
38380
  var require_util7 = __commonJS({
39816
38381
  "packages/cli/node_modules/undici/lib/web/websocket/util.js"(exports, module) {
39817
38382
  "use strict";
39818
- var { states, opcodes } = require_constants7();
38383
+ var { states, opcodes } = require_constants6();
39819
38384
  var { isUtf8 } = __require("node:buffer");
39820
38385
  var { collectASequenceOfCodePointsFast, removeHTTPWhitespace } = require_data_url();
39821
38386
  function isConnecting(readyState) {
@@ -39987,7 +38552,7 @@ var require_util7 = __commonJS({
39987
38552
  var require_frame = __commonJS({
39988
38553
  "packages/cli/node_modules/undici/lib/web/websocket/frame.js"(exports, module) {
39989
38554
  "use strict";
39990
- var { maxUnsigned16Bit, opcodes } = require_constants7();
38555
+ var { maxUnsigned16Bit, opcodes } = require_constants6();
39991
38556
  var BUFFER_SIZE = 8 * 1024;
39992
38557
  var crypto3;
39993
38558
  var buffer = null;
@@ -40097,7 +38662,7 @@ var require_frame = __commonJS({
40097
38662
  var require_connection = __commonJS({
40098
38663
  "packages/cli/node_modules/undici/lib/web/websocket/connection.js"(exports, module) {
40099
38664
  "use strict";
40100
- var { uid, states, sentCloseFrameState, emptyBuffer, opcodes } = require_constants7();
38665
+ var { uid, states, sentCloseFrameState, emptyBuffer, opcodes } = require_constants6();
40101
38666
  var { parseExtensions, isClosed, isClosing, isEstablished, validateCloseCodeAndReason } = require_util7();
40102
38667
  var { channels } = require_diagnostics();
40103
38668
  var { makeRequest } = require_request2();
@@ -40311,7 +38876,7 @@ var require_receiver = __commonJS({
40311
38876
  "use strict";
40312
38877
  var { Writable: Writable2 } = __require("node:stream");
40313
38878
  var assert = __require("node:assert");
40314
- var { parserStates, opcodes, states, emptyBuffer, sentCloseFrameState } = require_constants7();
38879
+ var { parserStates, opcodes, states, emptyBuffer, sentCloseFrameState } = require_constants6();
40315
38880
  var { channels } = require_diagnostics();
40316
38881
  var {
40317
38882
  isValidStatusCode,
@@ -40631,7 +39196,7 @@ var require_sender = __commonJS({
40631
39196
  "packages/cli/node_modules/undici/lib/web/websocket/sender.js"(exports, module) {
40632
39197
  "use strict";
40633
39198
  var { WebsocketFrameSend } = require_frame();
40634
- var { opcodes, sendHints } = require_constants7();
39199
+ var { opcodes, sendHints } = require_constants6();
40635
39200
  var FixedQueue = require_fixed_queue();
40636
39201
  var SendQueue = class {
40637
39202
  /**
@@ -40720,7 +39285,7 @@ var require_websocket = __commonJS({
40720
39285
  var { webidl } = require_webidl();
40721
39286
  var { URLSerializer } = require_data_url();
40722
39287
  var { environmentSettingsObject } = require_util4();
40723
- var { staticPropertyDescriptors, states, sentCloseFrameState, sendHints, opcodes } = require_constants7();
39288
+ var { staticPropertyDescriptors, states, sentCloseFrameState, sendHints, opcodes } = require_constants6();
40724
39289
  var {
40725
39290
  isConnecting,
40726
39291
  isEstablished,
@@ -41212,7 +39777,7 @@ var require_websocketstream = __commonJS({
41212
39777
  "packages/cli/node_modules/undici/lib/web/websocket/stream/websocketstream.js"(exports, module) {
41213
39778
  "use strict";
41214
39779
  var { createDeferredPromise, environmentSettingsObject } = require_util4();
41215
- var { states, opcodes, sentCloseFrameState } = require_constants7();
39780
+ var { states, opcodes, sentCloseFrameState } = require_constants6();
41216
39781
  var { webidl } = require_webidl();
41217
39782
  var { getURLRecord, isValidSubprotocol, isEstablished, utf8Decode } = require_util7();
41218
39783
  var { establishWebSocketConnection, failWebsocketConnection, closeWebSocketConnection } = require_connection();
@@ -42653,7 +41218,7 @@ var patchConsole = (callback) => {
42653
41218
  var dist_default = patchConsole;
42654
41219
 
42655
41220
  // node_modules/ink/build/ink.js
42656
- var import_constants2 = __toESM(require_constants2(), 1);
41221
+ var import_constants2 = __toESM(require_constants(), 1);
42657
41222
 
42658
41223
  // node_modules/yoga-layout/dist/binaries/yoga-wasm-base64-esm.js
42659
41224
  var loadYoga = (() => {
@@ -44595,7 +43160,7 @@ function wrapAnsi(string, columns, options) {
44595
43160
 
44596
43161
  // node_modules/ink/build/reconciler.js
44597
43162
  var import_react_reconciler = __toESM(require_react_reconciler(), 1);
44598
- var import_constants = __toESM(require_constants2(), 1);
43163
+ var import_constants = __toESM(require_constants(), 1);
44599
43164
  import process3 from "node:process";
44600
43165
  var import_react = __toESM(require_react(), 1);
44601
43166
 
@@ -56371,12 +54936,24 @@ var keybindingsSchema = external_exports.array(
56371
54936
  negate
56372
54937
  };
56373
54938
  }),
56374
- key: external_exports.string()
56375
- }).transform((val) => ({
56376
- commandEntry: val.command,
56377
- key: val.key
56378
- }))
56379
- );
54939
+ key: external_exports.string().optional(),
54940
+ keys: external_exports.array(external_exports.string()).min(1).optional()
54941
+ }).refine(
54942
+ (data) => data.key !== void 0 || data.keys !== void 0 && data.keys.length > 0,
54943
+ {
54944
+ message: 'Must specify either "key" or a non-empty "keys" array.'
54945
+ }
54946
+ ).transform((data) => {
54947
+ const keys = [
54948
+ ...data.key !== void 0 ? [data.key] : [],
54949
+ ...data.keys ?? []
54950
+ ].reverse();
54951
+ return keys.map((key) => ({
54952
+ commandEntry: data.command,
54953
+ key
54954
+ }));
54955
+ })
54956
+ ).transform((entries) => entries.flat());
56380
54957
  async function loadCustomKeybindings() {
56381
54958
  const errors = [];
56382
54959
  let config = defaultKeyBindingConfig;
@@ -67761,7 +66338,7 @@ var Subsume = class _Subsume {
67761
66338
  };
67762
66339
 
67763
66340
  // node_modules/macos-version/index.js
67764
- var import_semver = __toESM(require_semver2(), 1);
66341
+ var import_semver = __toESM(require_semver(), 1);
67765
66342
  import process21 from "node:process";
67766
66343
  import fs19 from "node:fs";
67767
66344
  var isMacOS = process21.platform === "darwin";
@@ -74520,7 +73097,7 @@ var CommandService = class _CommandService {
74520
73097
  static async create(loaders, signal) {
74521
73098
  const allCommands = await this.loadAllCommands(loaders, signal);
74522
73099
  const { finalCommands, conflicts } = SlashCommandResolver.resolve(allCommands);
74523
- if (conflicts.length > 0) {
73100
+ if (!signal.aborted) {
74524
73101
  this.emitConflictEvents(conflicts);
74525
73102
  }
74526
73103
  return new _CommandService(
@@ -74600,13 +73177,14 @@ var formatDuration = (milliseconds) => {
74600
73177
  if (milliseconds <= 0) {
74601
73178
  return "0s";
74602
73179
  }
74603
- if (milliseconds < 1e3) {
74604
- return `${Math.round(milliseconds)}ms`;
73180
+ const roundedMs = Math.round(milliseconds);
73181
+ if (roundedMs < 1e3) {
73182
+ return `${roundedMs}ms`;
74605
73183
  }
74606
- const totalSeconds = milliseconds / 1e3;
74607
- if (totalSeconds < 60) {
74608
- return `${totalSeconds.toFixed(1)}s`;
73184
+ if (milliseconds < 59950) {
73185
+ return `${(milliseconds / 1e3).toFixed(1)}s`;
74609
73186
  }
73187
+ const totalSeconds = Math.round(milliseconds / 1e3);
74610
73188
  const hours = Math.floor(totalSeconds / 3600);
74611
73189
  const minutes = Math.floor(totalSeconds % 3600 / 60);
74612
73190
  const seconds = Math.floor(totalSeconds % 60);
@@ -76054,25 +74632,53 @@ function Spinner({ type = "dots" }) {
76054
74632
  var build_default = Spinner;
76055
74633
 
76056
74634
  // packages/cli/src/ui/components/CliSpinner.tsx
74635
+ var import_cli_spinners2 = __toESM(require_cli_spinners(), 1);
76057
74636
  var import_react53 = __toESM(require_react(), 1);
76058
74637
  var import_jsx_runtime11 = __toESM(require_jsx_runtime(), 1);
76059
- var CliSpinner = (props) => {
76060
- const settings = useSettings();
76061
- const shouldShow = settings.merged.ui?.showSpinner !== false;
76062
- (0, import_react53.useEffect)(() => {
76063
- if (shouldShow) {
76064
- debugState.debugNumAnimatedComponents++;
74638
+ var TMUX_SPINNER_INTERVAL_MS = 120;
74639
+ var TmuxSpinner = import_react53.default.memo(
74640
+ ({ type = "dots" }) => {
74641
+ const [frame, setFrame] = (0, import_react53.useState)(0);
74642
+ const spinner = import_cli_spinners2.default[type] ?? import_cli_spinners2.default.dots;
74643
+ const intervalMs = Math.max(spinner.interval, TMUX_SPINNER_INTERVAL_MS);
74644
+ (0, import_react53.useEffect)(() => {
74645
+ const timer = setInterval(() => {
74646
+ setFrame(
74647
+ (previousFrame) => previousFrame >= spinner.frames.length - 1 ? 0 : previousFrame + 1
74648
+ );
74649
+ }, intervalMs);
76065
74650
  return () => {
76066
- debugState.debugNumAnimatedComponents--;
74651
+ clearInterval(timer);
76067
74652
  };
74653
+ }, [spinner, intervalMs]);
74654
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Text, { children: spinner.frames[frame % spinner.frames.length] });
74655
+ }
74656
+ );
74657
+ TmuxSpinner.displayName = "TmuxSpinner";
74658
+ var CliSpinner = import_react53.default.memo(
74659
+ (props) => {
74660
+ const settings = useSettings();
74661
+ const shouldShow = settings.merged.ui?.showSpinner !== false;
74662
+ const inTmux2 = isTmux();
74663
+ (0, import_react53.useEffect)(() => {
74664
+ if (shouldShow) {
74665
+ debugState.debugNumAnimatedComponents++;
74666
+ return () => {
74667
+ debugState.debugNumAnimatedComponents--;
74668
+ };
74669
+ }
74670
+ return void 0;
74671
+ }, [shouldShow]);
74672
+ if (!shouldShow) {
74673
+ return null;
76068
74674
  }
76069
- return void 0;
76070
- }, [shouldShow]);
76071
- if (!shouldShow) {
76072
- return null;
74675
+ if (inTmux2) {
74676
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(TmuxSpinner, { type: props.type });
74677
+ }
74678
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(build_default, { ...props });
76073
74679
  }
76074
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(build_default, { ...props });
76075
- };
74680
+ );
74681
+ CliSpinner.displayName = "CliSpinner";
76076
74682
 
76077
74683
  // packages/cli/src/ui/components/shared/ExpandableText.tsx
76078
74684
  var import_react54 = __toESM(require_react(), 1);
@@ -77851,7 +76457,7 @@ var authCommand = {
77851
76457
  import process29 from "node:process";
77852
76458
 
77853
76459
  // packages/cli/src/generated/git-commit.ts
77854
- var GIT_COMMIT_INFO = "204db94ae";
76460
+ var GIT_COMMIT_INFO = "ed96faedf";
77855
76461
 
77856
76462
  // packages/cli/src/ui/utils/historyExportUtils.ts
77857
76463
  import * as fsPromises from "node:fs/promises";
@@ -83658,7 +82264,7 @@ Use /mcp auth <server-name> to authenticate.`
83658
82264
  type: "info",
83659
82265
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
83660
82266
  });
83661
- const { MCPOAuthProvider } = await import("./core-NCJTYARO.js");
82267
+ const { MCPOAuthProvider } = await import("./core-AGGXDQOT.js");
83662
82268
  let oauthConfig = server.oauth;
83663
82269
  if (!oauthConfig) {
83664
82270
  oauthConfig = { enabled: false };
@@ -102869,7 +101475,6 @@ export {
102869
101475
  updateExtension,
102870
101476
  updateAllUpdatableExtensions,
102871
101477
  checkForAllExtensionUpdates,
102872
- require_semver2 as require_semver,
102873
101478
  enableSkill,
102874
101479
  disableSkill,
102875
101480
  renderSkillActionFeedback,
@@ -102993,6 +101598,7 @@ export {
102993
101598
  Footer,
102994
101599
  getAntigravityInstallInfo,
102995
101600
  build_default,
101601
+ TMUX_SPINNER_INTERVAL_MS,
102996
101602
  CliSpinner,
102997
101603
  MAX_WIDTH,
102998
101604
  ExpandableText,