@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-H2CZXS7F.js";
5
+ } from "./chunk-JY3DYBJT.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-2WVLIJA5.js";
66
+ } from "./chunk-BUG4N6U5.js";
67
67
  import {
68
- isDevelopment
69
- } from "./chunk-4DCA4L53.js";
68
+ isDevelopment,
69
+ require_semver
70
+ } from "./chunk-NOSWGXRT.js";
70
71
  import {
71
72
  emptyIcon,
72
73
  mapCoreStatusToDisplayStatus,
73
74
  require_react
74
- } from "./chunk-NL7ZHGCH.js";
75
+ } from "./chunk-LDGJJCVW.js";
75
76
  import {
76
77
  ALL_EDITORS,
77
78
  ApprovalMode,
@@ -190,6 +191,7 @@ import {
190
191
  isProjectSkillPatchTarget,
191
192
  isSubpath,
192
193
  isTerminalEditor,
194
+ isTmux,
193
195
  isValidEditorType,
194
196
  is_wsl_default,
195
197
  listExtensions,
@@ -222,20 +224,11 @@ import {
222
224
  readFileWithEncoding,
223
225
  readPathFromWorkspace,
224
226
  refreshMemory,
225
- require_clean,
226
- require_constants,
227
227
  require_cross_spawn,
228
- require_debug,
229
- require_identifiers,
230
228
  require_is_stream,
231
- require_parse,
232
- require_parse_options,
233
229
  require_path_key,
234
230
  require_pump,
235
- require_re,
236
- require_semver,
237
231
  require_toml,
238
- require_valid,
239
232
  resetBrowserSession,
240
233
  resolveAtCommandPath,
241
234
  resolveEditorTypeFromCommand,
@@ -254,7 +247,7 @@ import {
254
247
  uiTelemetryService,
255
248
  unescapePath,
256
249
  validateUrlDestination
257
- } from "./chunk-K7AA35SP.js";
250
+ } from "./chunk-YOI4DS3V.js";
258
251
  import {
259
252
  require_src
260
253
  } from "./chunk-L6PII3GR.js";
@@ -476,7 +469,7 @@ var require_react_reconciler_constants_production = __commonJS({
476
469
  });
477
470
 
478
471
  // node_modules/react-reconciler/constants.js
479
- var require_constants2 = __commonJS({
472
+ var require_constants = __commonJS({
480
473
  "node_modules/react-reconciler/constants.js"(exports, module) {
481
474
  "use strict";
482
475
  if (true) {
@@ -7854,14 +7847,14 @@ var require_react_reconciler_production = __commonJS({
7854
7847
  }
7855
7848
  var exports2 = {};
7856
7849
  "use strict";
7857
- 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");
7850
+ 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");
7858
7851
  Symbol.for("react.scope");
7859
7852
  var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
7860
7853
  Symbol.for("react.legacy_hidden");
7861
7854
  Symbol.for("react.tracing_marker");
7862
7855
  var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
7863
7856
  Symbol.for("react.view_transition");
7864
- 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;
7857
+ 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;
7865
7858
  $$$config.cloneMutableInstance;
7866
7859
  var appendInitialChild = $$$config.appendInitialChild, finalizeInitialChildren = $$$config.finalizeInitialChildren, shouldSetTextContent = $$$config.shouldSetTextContent, createTextInstance = $$$config.createTextInstance;
7867
7860
  $$$config.cloneMutableTextInstance;
@@ -15617,1434 +15610,6 @@ var require_extract_zip = __commonJS({
15617
15610
  }
15618
15611
  });
15619
15612
 
15620
- // node_modules/semver/functions/inc.js
15621
- var require_inc = __commonJS({
15622
- "node_modules/semver/functions/inc.js"(exports, module) {
15623
- "use strict";
15624
- var SemVer = require_semver();
15625
- var inc = (version2, release, options, identifier2, identifierBase) => {
15626
- if (typeof options === "string") {
15627
- identifierBase = identifier2;
15628
- identifier2 = options;
15629
- options = void 0;
15630
- }
15631
- try {
15632
- return new SemVer(
15633
- version2 instanceof SemVer ? version2.version : version2,
15634
- options
15635
- ).inc(release, identifier2, identifierBase).version;
15636
- } catch (er2) {
15637
- return null;
15638
- }
15639
- };
15640
- module.exports = inc;
15641
- }
15642
- });
15643
-
15644
- // node_modules/semver/functions/diff.js
15645
- var require_diff = __commonJS({
15646
- "node_modules/semver/functions/diff.js"(exports, module) {
15647
- "use strict";
15648
- var parse2 = require_parse();
15649
- var diff3 = (version1, version2) => {
15650
- const v1 = parse2(version1, null, true);
15651
- const v2 = parse2(version2, null, true);
15652
- const comparison = v1.compare(v2);
15653
- if (comparison === 0) {
15654
- return null;
15655
- }
15656
- const v1Higher = comparison > 0;
15657
- const highVersion = v1Higher ? v1 : v2;
15658
- const lowVersion = v1Higher ? v2 : v1;
15659
- const highHasPre = !!highVersion.prerelease.length;
15660
- const lowHasPre = !!lowVersion.prerelease.length;
15661
- if (lowHasPre && !highHasPre) {
15662
- if (!lowVersion.patch && !lowVersion.minor) {
15663
- return "major";
15664
- }
15665
- if (lowVersion.compareMain(highVersion) === 0) {
15666
- if (lowVersion.minor && !lowVersion.patch) {
15667
- return "minor";
15668
- }
15669
- return "patch";
15670
- }
15671
- }
15672
- const prefix = highHasPre ? "pre" : "";
15673
- if (v1.major !== v2.major) {
15674
- return prefix + "major";
15675
- }
15676
- if (v1.minor !== v2.minor) {
15677
- return prefix + "minor";
15678
- }
15679
- if (v1.patch !== v2.patch) {
15680
- return prefix + "patch";
15681
- }
15682
- return "prerelease";
15683
- };
15684
- module.exports = diff3;
15685
- }
15686
- });
15687
-
15688
- // node_modules/semver/functions/major.js
15689
- var require_major = __commonJS({
15690
- "node_modules/semver/functions/major.js"(exports, module) {
15691
- "use strict";
15692
- var SemVer = require_semver();
15693
- var major = (a, loose) => new SemVer(a, loose).major;
15694
- module.exports = major;
15695
- }
15696
- });
15697
-
15698
- // node_modules/semver/functions/minor.js
15699
- var require_minor = __commonJS({
15700
- "node_modules/semver/functions/minor.js"(exports, module) {
15701
- "use strict";
15702
- var SemVer = require_semver();
15703
- var minor = (a, loose) => new SemVer(a, loose).minor;
15704
- module.exports = minor;
15705
- }
15706
- });
15707
-
15708
- // node_modules/semver/functions/patch.js
15709
- var require_patch = __commonJS({
15710
- "node_modules/semver/functions/patch.js"(exports, module) {
15711
- "use strict";
15712
- var SemVer = require_semver();
15713
- var patch = (a, loose) => new SemVer(a, loose).patch;
15714
- module.exports = patch;
15715
- }
15716
- });
15717
-
15718
- // node_modules/semver/functions/prerelease.js
15719
- var require_prerelease = __commonJS({
15720
- "node_modules/semver/functions/prerelease.js"(exports, module) {
15721
- "use strict";
15722
- var parse2 = require_parse();
15723
- var prerelease = (version2, options) => {
15724
- const parsed = parse2(version2, options);
15725
- return parsed && parsed.prerelease.length ? parsed.prerelease : null;
15726
- };
15727
- module.exports = prerelease;
15728
- }
15729
- });
15730
-
15731
- // node_modules/semver/functions/compare.js
15732
- var require_compare = __commonJS({
15733
- "node_modules/semver/functions/compare.js"(exports, module) {
15734
- "use strict";
15735
- var SemVer = require_semver();
15736
- var compare = (a, b2, loose) => new SemVer(a, loose).compare(new SemVer(b2, loose));
15737
- module.exports = compare;
15738
- }
15739
- });
15740
-
15741
- // node_modules/semver/functions/rcompare.js
15742
- var require_rcompare = __commonJS({
15743
- "node_modules/semver/functions/rcompare.js"(exports, module) {
15744
- "use strict";
15745
- var compare = require_compare();
15746
- var rcompare = (a, b2, loose) => compare(b2, a, loose);
15747
- module.exports = rcompare;
15748
- }
15749
- });
15750
-
15751
- // node_modules/semver/functions/compare-loose.js
15752
- var require_compare_loose = __commonJS({
15753
- "node_modules/semver/functions/compare-loose.js"(exports, module) {
15754
- "use strict";
15755
- var compare = require_compare();
15756
- var compareLoose = (a, b2) => compare(a, b2, true);
15757
- module.exports = compareLoose;
15758
- }
15759
- });
15760
-
15761
- // node_modules/semver/functions/compare-build.js
15762
- var require_compare_build = __commonJS({
15763
- "node_modules/semver/functions/compare-build.js"(exports, module) {
15764
- "use strict";
15765
- var SemVer = require_semver();
15766
- var compareBuild = (a, b2, loose) => {
15767
- const versionA = new SemVer(a, loose);
15768
- const versionB = new SemVer(b2, loose);
15769
- return versionA.compare(versionB) || versionA.compareBuild(versionB);
15770
- };
15771
- module.exports = compareBuild;
15772
- }
15773
- });
15774
-
15775
- // node_modules/semver/functions/sort.js
15776
- var require_sort = __commonJS({
15777
- "node_modules/semver/functions/sort.js"(exports, module) {
15778
- "use strict";
15779
- var compareBuild = require_compare_build();
15780
- var sort = (list, loose) => list.sort((a, b2) => compareBuild(a, b2, loose));
15781
- module.exports = sort;
15782
- }
15783
- });
15784
-
15785
- // node_modules/semver/functions/rsort.js
15786
- var require_rsort = __commonJS({
15787
- "node_modules/semver/functions/rsort.js"(exports, module) {
15788
- "use strict";
15789
- var compareBuild = require_compare_build();
15790
- var rsort = (list, loose) => list.sort((a, b2) => compareBuild(b2, a, loose));
15791
- module.exports = rsort;
15792
- }
15793
- });
15794
-
15795
- // node_modules/semver/functions/gt.js
15796
- var require_gt = __commonJS({
15797
- "node_modules/semver/functions/gt.js"(exports, module) {
15798
- "use strict";
15799
- var compare = require_compare();
15800
- var gt2 = (a, b2, loose) => compare(a, b2, loose) > 0;
15801
- module.exports = gt2;
15802
- }
15803
- });
15804
-
15805
- // node_modules/semver/functions/lt.js
15806
- var require_lt = __commonJS({
15807
- "node_modules/semver/functions/lt.js"(exports, module) {
15808
- "use strict";
15809
- var compare = require_compare();
15810
- var lt2 = (a, b2, loose) => compare(a, b2, loose) < 0;
15811
- module.exports = lt2;
15812
- }
15813
- });
15814
-
15815
- // node_modules/semver/functions/eq.js
15816
- var require_eq = __commonJS({
15817
- "node_modules/semver/functions/eq.js"(exports, module) {
15818
- "use strict";
15819
- var compare = require_compare();
15820
- var eq = (a, b2, loose) => compare(a, b2, loose) === 0;
15821
- module.exports = eq;
15822
- }
15823
- });
15824
-
15825
- // node_modules/semver/functions/neq.js
15826
- var require_neq = __commonJS({
15827
- "node_modules/semver/functions/neq.js"(exports, module) {
15828
- "use strict";
15829
- var compare = require_compare();
15830
- var neq = (a, b2, loose) => compare(a, b2, loose) !== 0;
15831
- module.exports = neq;
15832
- }
15833
- });
15834
-
15835
- // node_modules/semver/functions/gte.js
15836
- var require_gte = __commonJS({
15837
- "node_modules/semver/functions/gte.js"(exports, module) {
15838
- "use strict";
15839
- var compare = require_compare();
15840
- var gte = (a, b2, loose) => compare(a, b2, loose) >= 0;
15841
- module.exports = gte;
15842
- }
15843
- });
15844
-
15845
- // node_modules/semver/functions/lte.js
15846
- var require_lte = __commonJS({
15847
- "node_modules/semver/functions/lte.js"(exports, module) {
15848
- "use strict";
15849
- var compare = require_compare();
15850
- var lte = (a, b2, loose) => compare(a, b2, loose) <= 0;
15851
- module.exports = lte;
15852
- }
15853
- });
15854
-
15855
- // node_modules/semver/functions/cmp.js
15856
- var require_cmp = __commonJS({
15857
- "node_modules/semver/functions/cmp.js"(exports, module) {
15858
- "use strict";
15859
- var eq = require_eq();
15860
- var neq = require_neq();
15861
- var gt2 = require_gt();
15862
- var gte = require_gte();
15863
- var lt2 = require_lt();
15864
- var lte = require_lte();
15865
- var cmp = (a, op, b2, loose) => {
15866
- switch (op) {
15867
- case "===":
15868
- if (typeof a === "object") {
15869
- a = a.version;
15870
- }
15871
- if (typeof b2 === "object") {
15872
- b2 = b2.version;
15873
- }
15874
- return a === b2;
15875
- case "!==":
15876
- if (typeof a === "object") {
15877
- a = a.version;
15878
- }
15879
- if (typeof b2 === "object") {
15880
- b2 = b2.version;
15881
- }
15882
- return a !== b2;
15883
- case "":
15884
- case "=":
15885
- case "==":
15886
- return eq(a, b2, loose);
15887
- case "!=":
15888
- return neq(a, b2, loose);
15889
- case ">":
15890
- return gt2(a, b2, loose);
15891
- case ">=":
15892
- return gte(a, b2, loose);
15893
- case "<":
15894
- return lt2(a, b2, loose);
15895
- case "<=":
15896
- return lte(a, b2, loose);
15897
- default:
15898
- throw new TypeError(`Invalid operator: ${op}`);
15899
- }
15900
- };
15901
- module.exports = cmp;
15902
- }
15903
- });
15904
-
15905
- // node_modules/semver/functions/coerce.js
15906
- var require_coerce = __commonJS({
15907
- "node_modules/semver/functions/coerce.js"(exports, module) {
15908
- "use strict";
15909
- var SemVer = require_semver();
15910
- var parse2 = require_parse();
15911
- var { safeRe: re2, t } = require_re();
15912
- var coerce = (version2, options) => {
15913
- if (version2 instanceof SemVer) {
15914
- return version2;
15915
- }
15916
- if (typeof version2 === "number") {
15917
- version2 = String(version2);
15918
- }
15919
- if (typeof version2 !== "string") {
15920
- return null;
15921
- }
15922
- options = options || {};
15923
- let match = null;
15924
- if (!options.rtl) {
15925
- match = version2.match(options.includePrerelease ? re2[t.COERCEFULL] : re2[t.COERCE]);
15926
- } else {
15927
- const coerceRtlRegex = options.includePrerelease ? re2[t.COERCERTLFULL] : re2[t.COERCERTL];
15928
- let next;
15929
- while ((next = coerceRtlRegex.exec(version2)) && (!match || match.index + match[0].length !== version2.length)) {
15930
- if (!match || next.index + next[0].length !== match.index + match[0].length) {
15931
- match = next;
15932
- }
15933
- coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
15934
- }
15935
- coerceRtlRegex.lastIndex = -1;
15936
- }
15937
- if (match === null) {
15938
- return null;
15939
- }
15940
- const major = match[2];
15941
- const minor = match[3] || "0";
15942
- const patch = match[4] || "0";
15943
- const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "";
15944
- const build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
15945
- return parse2(`${major}.${minor}.${patch}${prerelease}${build}`, options);
15946
- };
15947
- module.exports = coerce;
15948
- }
15949
- });
15950
-
15951
- // node_modules/semver/internal/lrucache.js
15952
- var require_lrucache = __commonJS({
15953
- "node_modules/semver/internal/lrucache.js"(exports, module) {
15954
- "use strict";
15955
- var LRUCache = class {
15956
- constructor() {
15957
- this.max = 1e3;
15958
- this.map = /* @__PURE__ */ new Map();
15959
- }
15960
- get(key) {
15961
- const value = this.map.get(key);
15962
- if (value === void 0) {
15963
- return void 0;
15964
- } else {
15965
- this.map.delete(key);
15966
- this.map.set(key, value);
15967
- return value;
15968
- }
15969
- }
15970
- delete(key) {
15971
- return this.map.delete(key);
15972
- }
15973
- set(key, value) {
15974
- const deleted = this.delete(key);
15975
- if (!deleted && value !== void 0) {
15976
- if (this.map.size >= this.max) {
15977
- const firstKey = this.map.keys().next().value;
15978
- this.delete(firstKey);
15979
- }
15980
- this.map.set(key, value);
15981
- }
15982
- return this;
15983
- }
15984
- };
15985
- module.exports = LRUCache;
15986
- }
15987
- });
15988
-
15989
- // node_modules/semver/classes/range.js
15990
- var require_range = __commonJS({
15991
- "node_modules/semver/classes/range.js"(exports, module) {
15992
- "use strict";
15993
- var SPACE_CHARACTERS = /\s+/g;
15994
- var Range2 = class _Range {
15995
- constructor(range, options) {
15996
- options = parseOptions(options);
15997
- if (range instanceof _Range) {
15998
- if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) {
15999
- return range;
16000
- } else {
16001
- return new _Range(range.raw, options);
16002
- }
16003
- }
16004
- if (range instanceof Comparator) {
16005
- this.raw = range.value;
16006
- this.set = [[range]];
16007
- this.formatted = void 0;
16008
- return this;
16009
- }
16010
- this.options = options;
16011
- this.loose = !!options.loose;
16012
- this.includePrerelease = !!options.includePrerelease;
16013
- this.raw = range.trim().replace(SPACE_CHARACTERS, " ");
16014
- this.set = this.raw.split("||").map((r2) => this.parseRange(r2.trim())).filter((c2) => c2.length);
16015
- if (!this.set.length) {
16016
- throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
16017
- }
16018
- if (this.set.length > 1) {
16019
- const first = this.set[0];
16020
- this.set = this.set.filter((c2) => !isNullSet(c2[0]));
16021
- if (this.set.length === 0) {
16022
- this.set = [first];
16023
- } else if (this.set.length > 1) {
16024
- for (const c2 of this.set) {
16025
- if (c2.length === 1 && isAny(c2[0])) {
16026
- this.set = [c2];
16027
- break;
16028
- }
16029
- }
16030
- }
16031
- }
16032
- this.formatted = void 0;
16033
- }
16034
- get range() {
16035
- if (this.formatted === void 0) {
16036
- this.formatted = "";
16037
- for (let i = 0; i < this.set.length; i++) {
16038
- if (i > 0) {
16039
- this.formatted += "||";
16040
- }
16041
- const comps = this.set[i];
16042
- for (let k2 = 0; k2 < comps.length; k2++) {
16043
- if (k2 > 0) {
16044
- this.formatted += " ";
16045
- }
16046
- this.formatted += comps[k2].toString().trim();
16047
- }
16048
- }
16049
- }
16050
- return this.formatted;
16051
- }
16052
- format() {
16053
- return this.range;
16054
- }
16055
- toString() {
16056
- return this.range;
16057
- }
16058
- parseRange(range) {
16059
- const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
16060
- const memoKey = memoOpts + ":" + range;
16061
- const cached = cache.get(memoKey);
16062
- if (cached) {
16063
- return cached;
16064
- }
16065
- const loose = this.options.loose;
16066
- const hr2 = loose ? re2[t.HYPHENRANGELOOSE] : re2[t.HYPHENRANGE];
16067
- range = range.replace(hr2, hyphenReplace(this.options.includePrerelease));
16068
- debug("hyphen replace", range);
16069
- range = range.replace(re2[t.COMPARATORTRIM], comparatorTrimReplace);
16070
- debug("comparator trim", range);
16071
- range = range.replace(re2[t.TILDETRIM], tildeTrimReplace);
16072
- debug("tilde trim", range);
16073
- range = range.replace(re2[t.CARETTRIM], caretTrimReplace);
16074
- debug("caret trim", range);
16075
- let rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
16076
- if (loose) {
16077
- rangeList = rangeList.filter((comp) => {
16078
- debug("loose invalid filter", comp, this.options);
16079
- return !!comp.match(re2[t.COMPARATORLOOSE]);
16080
- });
16081
- }
16082
- debug("range list", rangeList);
16083
- const rangeMap = /* @__PURE__ */ new Map();
16084
- const comparators = rangeList.map((comp) => new Comparator(comp, this.options));
16085
- for (const comp of comparators) {
16086
- if (isNullSet(comp)) {
16087
- return [comp];
16088
- }
16089
- rangeMap.set(comp.value, comp);
16090
- }
16091
- if (rangeMap.size > 1 && rangeMap.has("")) {
16092
- rangeMap.delete("");
16093
- }
16094
- const result = [...rangeMap.values()];
16095
- cache.set(memoKey, result);
16096
- return result;
16097
- }
16098
- intersects(range, options) {
16099
- if (!(range instanceof _Range)) {
16100
- throw new TypeError("a Range is required");
16101
- }
16102
- return this.set.some((thisComparators) => {
16103
- return isSatisfiable(thisComparators, options) && range.set.some((rangeComparators) => {
16104
- return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
16105
- return rangeComparators.every((rangeComparator) => {
16106
- return thisComparator.intersects(rangeComparator, options);
16107
- });
16108
- });
16109
- });
16110
- });
16111
- }
16112
- // if ANY of the sets match ALL of its comparators, then pass
16113
- test(version2) {
16114
- if (!version2) {
16115
- return false;
16116
- }
16117
- if (typeof version2 === "string") {
16118
- try {
16119
- version2 = new SemVer(version2, this.options);
16120
- } catch (er2) {
16121
- return false;
16122
- }
16123
- }
16124
- for (let i = 0; i < this.set.length; i++) {
16125
- if (testSet(this.set[i], version2, this.options)) {
16126
- return true;
16127
- }
16128
- }
16129
- return false;
16130
- }
16131
- };
16132
- module.exports = Range2;
16133
- var LRU = require_lrucache();
16134
- var cache = new LRU();
16135
- var parseOptions = require_parse_options();
16136
- var Comparator = require_comparator();
16137
- var debug = require_debug();
16138
- var SemVer = require_semver();
16139
- var {
16140
- safeRe: re2,
16141
- t,
16142
- comparatorTrimReplace,
16143
- tildeTrimReplace,
16144
- caretTrimReplace
16145
- } = require_re();
16146
- var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants();
16147
- var isNullSet = (c2) => c2.value === "<0.0.0-0";
16148
- var isAny = (c2) => c2.value === "";
16149
- var isSatisfiable = (comparators, options) => {
16150
- let result = true;
16151
- const remainingComparators = comparators.slice();
16152
- let testComparator = remainingComparators.pop();
16153
- while (result && remainingComparators.length) {
16154
- result = remainingComparators.every((otherComparator) => {
16155
- return testComparator.intersects(otherComparator, options);
16156
- });
16157
- testComparator = remainingComparators.pop();
16158
- }
16159
- return result;
16160
- };
16161
- var parseComparator = (comp, options) => {
16162
- debug("comp", comp, options);
16163
- comp = replaceCarets(comp, options);
16164
- debug("caret", comp);
16165
- comp = replaceTildes(comp, options);
16166
- debug("tildes", comp);
16167
- comp = replaceXRanges(comp, options);
16168
- debug("xrange", comp);
16169
- comp = replaceStars(comp, options);
16170
- debug("stars", comp);
16171
- return comp;
16172
- };
16173
- var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
16174
- var replaceTildes = (comp, options) => {
16175
- return comp.trim().split(/\s+/).map((c2) => replaceTilde(c2, options)).join(" ");
16176
- };
16177
- var replaceTilde = (comp, options) => {
16178
- const r2 = options.loose ? re2[t.TILDELOOSE] : re2[t.TILDE];
16179
- return comp.replace(r2, (_2, M2, m2, p2, pr2) => {
16180
- debug("tilde", comp, _2, M2, m2, p2, pr2);
16181
- let ret;
16182
- if (isX(M2)) {
16183
- ret = "";
16184
- } else if (isX(m2)) {
16185
- ret = `>=${M2}.0.0 <${+M2 + 1}.0.0-0`;
16186
- } else if (isX(p2)) {
16187
- ret = `>=${M2}.${m2}.0 <${M2}.${+m2 + 1}.0-0`;
16188
- } else if (pr2) {
16189
- debug("replaceTilde pr", pr2);
16190
- ret = `>=${M2}.${m2}.${p2}-${pr2} <${M2}.${+m2 + 1}.0-0`;
16191
- } else {
16192
- ret = `>=${M2}.${m2}.${p2} <${M2}.${+m2 + 1}.0-0`;
16193
- }
16194
- debug("tilde return", ret);
16195
- return ret;
16196
- });
16197
- };
16198
- var replaceCarets = (comp, options) => {
16199
- return comp.trim().split(/\s+/).map((c2) => replaceCaret(c2, options)).join(" ");
16200
- };
16201
- var replaceCaret = (comp, options) => {
16202
- debug("caret", comp, options);
16203
- const r2 = options.loose ? re2[t.CARETLOOSE] : re2[t.CARET];
16204
- const z2 = options.includePrerelease ? "-0" : "";
16205
- return comp.replace(r2, (_2, M2, m2, p2, pr2) => {
16206
- debug("caret", comp, _2, M2, m2, p2, pr2);
16207
- let ret;
16208
- if (isX(M2)) {
16209
- ret = "";
16210
- } else if (isX(m2)) {
16211
- ret = `>=${M2}.0.0${z2} <${+M2 + 1}.0.0-0`;
16212
- } else if (isX(p2)) {
16213
- if (M2 === "0") {
16214
- ret = `>=${M2}.${m2}.0${z2} <${M2}.${+m2 + 1}.0-0`;
16215
- } else {
16216
- ret = `>=${M2}.${m2}.0${z2} <${+M2 + 1}.0.0-0`;
16217
- }
16218
- } else if (pr2) {
16219
- debug("replaceCaret pr", pr2);
16220
- if (M2 === "0") {
16221
- if (m2 === "0") {
16222
- ret = `>=${M2}.${m2}.${p2}-${pr2} <${M2}.${m2}.${+p2 + 1}-0`;
16223
- } else {
16224
- ret = `>=${M2}.${m2}.${p2}-${pr2} <${M2}.${+m2 + 1}.0-0`;
16225
- }
16226
- } else {
16227
- ret = `>=${M2}.${m2}.${p2}-${pr2} <${+M2 + 1}.0.0-0`;
16228
- }
16229
- } else {
16230
- debug("no pr");
16231
- if (M2 === "0") {
16232
- if (m2 === "0") {
16233
- ret = `>=${M2}.${m2}.${p2}${z2} <${M2}.${m2}.${+p2 + 1}-0`;
16234
- } else {
16235
- ret = `>=${M2}.${m2}.${p2}${z2} <${M2}.${+m2 + 1}.0-0`;
16236
- }
16237
- } else {
16238
- ret = `>=${M2}.${m2}.${p2} <${+M2 + 1}.0.0-0`;
16239
- }
16240
- }
16241
- debug("caret return", ret);
16242
- return ret;
16243
- });
16244
- };
16245
- var replaceXRanges = (comp, options) => {
16246
- debug("replaceXRanges", comp, options);
16247
- return comp.split(/\s+/).map((c2) => replaceXRange(c2, options)).join(" ");
16248
- };
16249
- var replaceXRange = (comp, options) => {
16250
- comp = comp.trim();
16251
- const r2 = options.loose ? re2[t.XRANGELOOSE] : re2[t.XRANGE];
16252
- return comp.replace(r2, (ret, gtlt, M2, m2, p2, pr2) => {
16253
- debug("xRange", comp, ret, gtlt, M2, m2, p2, pr2);
16254
- const xM = isX(M2);
16255
- const xm = xM || isX(m2);
16256
- const xp = xm || isX(p2);
16257
- const anyX = xp;
16258
- if (gtlt === "=" && anyX) {
16259
- gtlt = "";
16260
- }
16261
- pr2 = options.includePrerelease ? "-0" : "";
16262
- if (xM) {
16263
- if (gtlt === ">" || gtlt === "<") {
16264
- ret = "<0.0.0-0";
16265
- } else {
16266
- ret = "*";
16267
- }
16268
- } else if (gtlt && anyX) {
16269
- if (xm) {
16270
- m2 = 0;
16271
- }
16272
- p2 = 0;
16273
- if (gtlt === ">") {
16274
- gtlt = ">=";
16275
- if (xm) {
16276
- M2 = +M2 + 1;
16277
- m2 = 0;
16278
- p2 = 0;
16279
- } else {
16280
- m2 = +m2 + 1;
16281
- p2 = 0;
16282
- }
16283
- } else if (gtlt === "<=") {
16284
- gtlt = "<";
16285
- if (xm) {
16286
- M2 = +M2 + 1;
16287
- } else {
16288
- m2 = +m2 + 1;
16289
- }
16290
- }
16291
- if (gtlt === "<") {
16292
- pr2 = "-0";
16293
- }
16294
- ret = `${gtlt + M2}.${m2}.${p2}${pr2}`;
16295
- } else if (xm) {
16296
- ret = `>=${M2}.0.0${pr2} <${+M2 + 1}.0.0-0`;
16297
- } else if (xp) {
16298
- ret = `>=${M2}.${m2}.0${pr2} <${M2}.${+m2 + 1}.0-0`;
16299
- }
16300
- debug("xRange return", ret);
16301
- return ret;
16302
- });
16303
- };
16304
- var replaceStars = (comp, options) => {
16305
- debug("replaceStars", comp, options);
16306
- return comp.trim().replace(re2[t.STAR], "");
16307
- };
16308
- var replaceGTE0 = (comp, options) => {
16309
- debug("replaceGTE0", comp, options);
16310
- return comp.trim().replace(re2[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
16311
- };
16312
- var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to2, tM, tm, tp, tpr) => {
16313
- if (isX(fM)) {
16314
- from = "";
16315
- } else if (isX(fm)) {
16316
- from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
16317
- } else if (isX(fp)) {
16318
- from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
16319
- } else if (fpr) {
16320
- from = `>=${from}`;
16321
- } else {
16322
- from = `>=${from}${incPr ? "-0" : ""}`;
16323
- }
16324
- if (isX(tM)) {
16325
- to2 = "";
16326
- } else if (isX(tm)) {
16327
- to2 = `<${+tM + 1}.0.0-0`;
16328
- } else if (isX(tp)) {
16329
- to2 = `<${tM}.${+tm + 1}.0-0`;
16330
- } else if (tpr) {
16331
- to2 = `<=${tM}.${tm}.${tp}-${tpr}`;
16332
- } else if (incPr) {
16333
- to2 = `<${tM}.${tm}.${+tp + 1}-0`;
16334
- } else {
16335
- to2 = `<=${to2}`;
16336
- }
16337
- return `${from} ${to2}`.trim();
16338
- };
16339
- var testSet = (set, version2, options) => {
16340
- for (let i = 0; i < set.length; i++) {
16341
- if (!set[i].test(version2)) {
16342
- return false;
16343
- }
16344
- }
16345
- if (version2.prerelease.length && !options.includePrerelease) {
16346
- for (let i = 0; i < set.length; i++) {
16347
- debug(set[i].semver);
16348
- if (set[i].semver === Comparator.ANY) {
16349
- continue;
16350
- }
16351
- if (set[i].semver.prerelease.length > 0) {
16352
- const allowed = set[i].semver;
16353
- if (allowed.major === version2.major && allowed.minor === version2.minor && allowed.patch === version2.patch) {
16354
- return true;
16355
- }
16356
- }
16357
- }
16358
- return false;
16359
- }
16360
- return true;
16361
- };
16362
- }
16363
- });
16364
-
16365
- // node_modules/semver/classes/comparator.js
16366
- var require_comparator = __commonJS({
16367
- "node_modules/semver/classes/comparator.js"(exports, module) {
16368
- "use strict";
16369
- var ANY = Symbol("SemVer ANY");
16370
- var Comparator = class _Comparator {
16371
- static get ANY() {
16372
- return ANY;
16373
- }
16374
- constructor(comp, options) {
16375
- options = parseOptions(options);
16376
- if (comp instanceof _Comparator) {
16377
- if (comp.loose === !!options.loose) {
16378
- return comp;
16379
- } else {
16380
- comp = comp.value;
16381
- }
16382
- }
16383
- comp = comp.trim().split(/\s+/).join(" ");
16384
- debug("comparator", comp, options);
16385
- this.options = options;
16386
- this.loose = !!options.loose;
16387
- this.parse(comp);
16388
- if (this.semver === ANY) {
16389
- this.value = "";
16390
- } else {
16391
- this.value = this.operator + this.semver.version;
16392
- }
16393
- debug("comp", this);
16394
- }
16395
- parse(comp) {
16396
- const r2 = this.options.loose ? re2[t.COMPARATORLOOSE] : re2[t.COMPARATOR];
16397
- const m2 = comp.match(r2);
16398
- if (!m2) {
16399
- throw new TypeError(`Invalid comparator: ${comp}`);
16400
- }
16401
- this.operator = m2[1] !== void 0 ? m2[1] : "";
16402
- if (this.operator === "=") {
16403
- this.operator = "";
16404
- }
16405
- if (!m2[2]) {
16406
- this.semver = ANY;
16407
- } else {
16408
- this.semver = new SemVer(m2[2], this.options.loose);
16409
- }
16410
- }
16411
- toString() {
16412
- return this.value;
16413
- }
16414
- test(version2) {
16415
- debug("Comparator.test", version2, this.options.loose);
16416
- if (this.semver === ANY || version2 === ANY) {
16417
- return true;
16418
- }
16419
- if (typeof version2 === "string") {
16420
- try {
16421
- version2 = new SemVer(version2, this.options);
16422
- } catch (er2) {
16423
- return false;
16424
- }
16425
- }
16426
- return cmp(version2, this.operator, this.semver, this.options);
16427
- }
16428
- intersects(comp, options) {
16429
- if (!(comp instanceof _Comparator)) {
16430
- throw new TypeError("a Comparator is required");
16431
- }
16432
- if (this.operator === "") {
16433
- if (this.value === "") {
16434
- return true;
16435
- }
16436
- return new Range2(comp.value, options).test(this.value);
16437
- } else if (comp.operator === "") {
16438
- if (comp.value === "") {
16439
- return true;
16440
- }
16441
- return new Range2(this.value, options).test(comp.semver);
16442
- }
16443
- options = parseOptions(options);
16444
- if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
16445
- return false;
16446
- }
16447
- if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
16448
- return false;
16449
- }
16450
- if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
16451
- return true;
16452
- }
16453
- if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
16454
- return true;
16455
- }
16456
- if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
16457
- return true;
16458
- }
16459
- if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
16460
- return true;
16461
- }
16462
- if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
16463
- return true;
16464
- }
16465
- return false;
16466
- }
16467
- };
16468
- module.exports = Comparator;
16469
- var parseOptions = require_parse_options();
16470
- var { safeRe: re2, t } = require_re();
16471
- var cmp = require_cmp();
16472
- var debug = require_debug();
16473
- var SemVer = require_semver();
16474
- var Range2 = require_range();
16475
- }
16476
- });
16477
-
16478
- // node_modules/semver/functions/satisfies.js
16479
- var require_satisfies = __commonJS({
16480
- "node_modules/semver/functions/satisfies.js"(exports, module) {
16481
- "use strict";
16482
- var Range2 = require_range();
16483
- var satisfies = (version2, range, options) => {
16484
- try {
16485
- range = new Range2(range, options);
16486
- } catch (er2) {
16487
- return false;
16488
- }
16489
- return range.test(version2);
16490
- };
16491
- module.exports = satisfies;
16492
- }
16493
- });
16494
-
16495
- // node_modules/semver/ranges/to-comparators.js
16496
- var require_to_comparators = __commonJS({
16497
- "node_modules/semver/ranges/to-comparators.js"(exports, module) {
16498
- "use strict";
16499
- var Range2 = require_range();
16500
- var toComparators = (range, options) => new Range2(range, options).set.map((comp) => comp.map((c2) => c2.value).join(" ").trim().split(" "));
16501
- module.exports = toComparators;
16502
- }
16503
- });
16504
-
16505
- // node_modules/semver/ranges/max-satisfying.js
16506
- var require_max_satisfying = __commonJS({
16507
- "node_modules/semver/ranges/max-satisfying.js"(exports, module) {
16508
- "use strict";
16509
- var SemVer = require_semver();
16510
- var Range2 = require_range();
16511
- var maxSatisfying = (versions, range, options) => {
16512
- let max = null;
16513
- let maxSV = null;
16514
- let rangeObj = null;
16515
- try {
16516
- rangeObj = new Range2(range, options);
16517
- } catch (er2) {
16518
- return null;
16519
- }
16520
- versions.forEach((v2) => {
16521
- if (rangeObj.test(v2)) {
16522
- if (!max || maxSV.compare(v2) === -1) {
16523
- max = v2;
16524
- maxSV = new SemVer(max, options);
16525
- }
16526
- }
16527
- });
16528
- return max;
16529
- };
16530
- module.exports = maxSatisfying;
16531
- }
16532
- });
16533
-
16534
- // node_modules/semver/ranges/min-satisfying.js
16535
- var require_min_satisfying = __commonJS({
16536
- "node_modules/semver/ranges/min-satisfying.js"(exports, module) {
16537
- "use strict";
16538
- var SemVer = require_semver();
16539
- var Range2 = require_range();
16540
- var minSatisfying = (versions, range, options) => {
16541
- let min = null;
16542
- let minSV = null;
16543
- let rangeObj = null;
16544
- try {
16545
- rangeObj = new Range2(range, options);
16546
- } catch (er2) {
16547
- return null;
16548
- }
16549
- versions.forEach((v2) => {
16550
- if (rangeObj.test(v2)) {
16551
- if (!min || minSV.compare(v2) === 1) {
16552
- min = v2;
16553
- minSV = new SemVer(min, options);
16554
- }
16555
- }
16556
- });
16557
- return min;
16558
- };
16559
- module.exports = minSatisfying;
16560
- }
16561
- });
16562
-
16563
- // node_modules/semver/ranges/min-version.js
16564
- var require_min_version = __commonJS({
16565
- "node_modules/semver/ranges/min-version.js"(exports, module) {
16566
- "use strict";
16567
- var SemVer = require_semver();
16568
- var Range2 = require_range();
16569
- var gt2 = require_gt();
16570
- var minVersion = (range, loose) => {
16571
- range = new Range2(range, loose);
16572
- let minver = new SemVer("0.0.0");
16573
- if (range.test(minver)) {
16574
- return minver;
16575
- }
16576
- minver = new SemVer("0.0.0-0");
16577
- if (range.test(minver)) {
16578
- return minver;
16579
- }
16580
- minver = null;
16581
- for (let i = 0; i < range.set.length; ++i) {
16582
- const comparators = range.set[i];
16583
- let setMin = null;
16584
- comparators.forEach((comparator) => {
16585
- const compver = new SemVer(comparator.semver.version);
16586
- switch (comparator.operator) {
16587
- case ">":
16588
- if (compver.prerelease.length === 0) {
16589
- compver.patch++;
16590
- } else {
16591
- compver.prerelease.push(0);
16592
- }
16593
- compver.raw = compver.format();
16594
- /* fallthrough */
16595
- case "":
16596
- case ">=":
16597
- if (!setMin || gt2(compver, setMin)) {
16598
- setMin = compver;
16599
- }
16600
- break;
16601
- case "<":
16602
- case "<=":
16603
- break;
16604
- /* istanbul ignore next */
16605
- default:
16606
- throw new Error(`Unexpected operation: ${comparator.operator}`);
16607
- }
16608
- });
16609
- if (setMin && (!minver || gt2(minver, setMin))) {
16610
- minver = setMin;
16611
- }
16612
- }
16613
- if (minver && range.test(minver)) {
16614
- return minver;
16615
- }
16616
- return null;
16617
- };
16618
- module.exports = minVersion;
16619
- }
16620
- });
16621
-
16622
- // node_modules/semver/ranges/valid.js
16623
- var require_valid2 = __commonJS({
16624
- "node_modules/semver/ranges/valid.js"(exports, module) {
16625
- "use strict";
16626
- var Range2 = require_range();
16627
- var validRange = (range, options) => {
16628
- try {
16629
- return new Range2(range, options).range || "*";
16630
- } catch (er2) {
16631
- return null;
16632
- }
16633
- };
16634
- module.exports = validRange;
16635
- }
16636
- });
16637
-
16638
- // node_modules/semver/ranges/outside.js
16639
- var require_outside = __commonJS({
16640
- "node_modules/semver/ranges/outside.js"(exports, module) {
16641
- "use strict";
16642
- var SemVer = require_semver();
16643
- var Comparator = require_comparator();
16644
- var { ANY } = Comparator;
16645
- var Range2 = require_range();
16646
- var satisfies = require_satisfies();
16647
- var gt2 = require_gt();
16648
- var lt2 = require_lt();
16649
- var lte = require_lte();
16650
- var gte = require_gte();
16651
- var outside = (version2, range, hilo, options) => {
16652
- version2 = new SemVer(version2, options);
16653
- range = new Range2(range, options);
16654
- let gtfn, ltefn, ltfn, comp, ecomp;
16655
- switch (hilo) {
16656
- case ">":
16657
- gtfn = gt2;
16658
- ltefn = lte;
16659
- ltfn = lt2;
16660
- comp = ">";
16661
- ecomp = ">=";
16662
- break;
16663
- case "<":
16664
- gtfn = lt2;
16665
- ltefn = gte;
16666
- ltfn = gt2;
16667
- comp = "<";
16668
- ecomp = "<=";
16669
- break;
16670
- default:
16671
- throw new TypeError('Must provide a hilo val of "<" or ">"');
16672
- }
16673
- if (satisfies(version2, range, options)) {
16674
- return false;
16675
- }
16676
- for (let i = 0; i < range.set.length; ++i) {
16677
- const comparators = range.set[i];
16678
- let high = null;
16679
- let low = null;
16680
- comparators.forEach((comparator) => {
16681
- if (comparator.semver === ANY) {
16682
- comparator = new Comparator(">=0.0.0");
16683
- }
16684
- high = high || comparator;
16685
- low = low || comparator;
16686
- if (gtfn(comparator.semver, high.semver, options)) {
16687
- high = comparator;
16688
- } else if (ltfn(comparator.semver, low.semver, options)) {
16689
- low = comparator;
16690
- }
16691
- });
16692
- if (high.operator === comp || high.operator === ecomp) {
16693
- return false;
16694
- }
16695
- if ((!low.operator || low.operator === comp) && ltefn(version2, low.semver)) {
16696
- return false;
16697
- } else if (low.operator === ecomp && ltfn(version2, low.semver)) {
16698
- return false;
16699
- }
16700
- }
16701
- return true;
16702
- };
16703
- module.exports = outside;
16704
- }
16705
- });
16706
-
16707
- // node_modules/semver/ranges/gtr.js
16708
- var require_gtr = __commonJS({
16709
- "node_modules/semver/ranges/gtr.js"(exports, module) {
16710
- "use strict";
16711
- var outside = require_outside();
16712
- var gtr = (version2, range, options) => outside(version2, range, ">", options);
16713
- module.exports = gtr;
16714
- }
16715
- });
16716
-
16717
- // node_modules/semver/ranges/ltr.js
16718
- var require_ltr = __commonJS({
16719
- "node_modules/semver/ranges/ltr.js"(exports, module) {
16720
- "use strict";
16721
- var outside = require_outside();
16722
- var ltr = (version2, range, options) => outside(version2, range, "<", options);
16723
- module.exports = ltr;
16724
- }
16725
- });
16726
-
16727
- // node_modules/semver/ranges/intersects.js
16728
- var require_intersects = __commonJS({
16729
- "node_modules/semver/ranges/intersects.js"(exports, module) {
16730
- "use strict";
16731
- var Range2 = require_range();
16732
- var intersects = (r1, r2, options) => {
16733
- r1 = new Range2(r1, options);
16734
- r2 = new Range2(r2, options);
16735
- return r1.intersects(r2, options);
16736
- };
16737
- module.exports = intersects;
16738
- }
16739
- });
16740
-
16741
- // node_modules/semver/ranges/simplify.js
16742
- var require_simplify = __commonJS({
16743
- "node_modules/semver/ranges/simplify.js"(exports, module) {
16744
- "use strict";
16745
- var satisfies = require_satisfies();
16746
- var compare = require_compare();
16747
- module.exports = (versions, range, options) => {
16748
- const set = [];
16749
- let first = null;
16750
- let prev = null;
16751
- const v2 = versions.sort((a, b2) => compare(a, b2, options));
16752
- for (const version2 of v2) {
16753
- const included = satisfies(version2, range, options);
16754
- if (included) {
16755
- prev = version2;
16756
- if (!first) {
16757
- first = version2;
16758
- }
16759
- } else {
16760
- if (prev) {
16761
- set.push([first, prev]);
16762
- }
16763
- prev = null;
16764
- first = null;
16765
- }
16766
- }
16767
- if (first) {
16768
- set.push([first, null]);
16769
- }
16770
- const ranges = [];
16771
- for (const [min, max] of set) {
16772
- if (min === max) {
16773
- ranges.push(min);
16774
- } else if (!max && min === v2[0]) {
16775
- ranges.push("*");
16776
- } else if (!max) {
16777
- ranges.push(`>=${min}`);
16778
- } else if (min === v2[0]) {
16779
- ranges.push(`<=${max}`);
16780
- } else {
16781
- ranges.push(`${min} - ${max}`);
16782
- }
16783
- }
16784
- const simplified = ranges.join(" || ");
16785
- const original = typeof range.raw === "string" ? range.raw : String(range);
16786
- return simplified.length < original.length ? simplified : range;
16787
- };
16788
- }
16789
- });
16790
-
16791
- // node_modules/semver/ranges/subset.js
16792
- var require_subset = __commonJS({
16793
- "node_modules/semver/ranges/subset.js"(exports, module) {
16794
- "use strict";
16795
- var Range2 = require_range();
16796
- var Comparator = require_comparator();
16797
- var { ANY } = Comparator;
16798
- var satisfies = require_satisfies();
16799
- var compare = require_compare();
16800
- var subset = (sub, dom, options = {}) => {
16801
- if (sub === dom) {
16802
- return true;
16803
- }
16804
- sub = new Range2(sub, options);
16805
- dom = new Range2(dom, options);
16806
- let sawNonNull = false;
16807
- OUTER: for (const simpleSub of sub.set) {
16808
- for (const simpleDom of dom.set) {
16809
- const isSub = simpleSubset(simpleSub, simpleDom, options);
16810
- sawNonNull = sawNonNull || isSub !== null;
16811
- if (isSub) {
16812
- continue OUTER;
16813
- }
16814
- }
16815
- if (sawNonNull) {
16816
- return false;
16817
- }
16818
- }
16819
- return true;
16820
- };
16821
- var minimumVersionWithPreRelease = [new Comparator(">=0.0.0-0")];
16822
- var minimumVersion = [new Comparator(">=0.0.0")];
16823
- var simpleSubset = (sub, dom, options) => {
16824
- if (sub === dom) {
16825
- return true;
16826
- }
16827
- if (sub.length === 1 && sub[0].semver === ANY) {
16828
- if (dom.length === 1 && dom[0].semver === ANY) {
16829
- return true;
16830
- } else if (options.includePrerelease) {
16831
- sub = minimumVersionWithPreRelease;
16832
- } else {
16833
- sub = minimumVersion;
16834
- }
16835
- }
16836
- if (dom.length === 1 && dom[0].semver === ANY) {
16837
- if (options.includePrerelease) {
16838
- return true;
16839
- } else {
16840
- dom = minimumVersion;
16841
- }
16842
- }
16843
- const eqSet = /* @__PURE__ */ new Set();
16844
- let gt2, lt2;
16845
- for (const c2 of sub) {
16846
- if (c2.operator === ">" || c2.operator === ">=") {
16847
- gt2 = higherGT(gt2, c2, options);
16848
- } else if (c2.operator === "<" || c2.operator === "<=") {
16849
- lt2 = lowerLT(lt2, c2, options);
16850
- } else {
16851
- eqSet.add(c2.semver);
16852
- }
16853
- }
16854
- if (eqSet.size > 1) {
16855
- return null;
16856
- }
16857
- let gtltComp;
16858
- if (gt2 && lt2) {
16859
- gtltComp = compare(gt2.semver, lt2.semver, options);
16860
- if (gtltComp > 0) {
16861
- return null;
16862
- } else if (gtltComp === 0 && (gt2.operator !== ">=" || lt2.operator !== "<=")) {
16863
- return null;
16864
- }
16865
- }
16866
- for (const eq of eqSet) {
16867
- if (gt2 && !satisfies(eq, String(gt2), options)) {
16868
- return null;
16869
- }
16870
- if (lt2 && !satisfies(eq, String(lt2), options)) {
16871
- return null;
16872
- }
16873
- for (const c2 of dom) {
16874
- if (!satisfies(eq, String(c2), options)) {
16875
- return false;
16876
- }
16877
- }
16878
- return true;
16879
- }
16880
- let higher, lower;
16881
- let hasDomLT, hasDomGT;
16882
- let needDomLTPre = lt2 && !options.includePrerelease && lt2.semver.prerelease.length ? lt2.semver : false;
16883
- let needDomGTPre = gt2 && !options.includePrerelease && gt2.semver.prerelease.length ? gt2.semver : false;
16884
- if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt2.operator === "<" && needDomLTPre.prerelease[0] === 0) {
16885
- needDomLTPre = false;
16886
- }
16887
- for (const c2 of dom) {
16888
- hasDomGT = hasDomGT || c2.operator === ">" || c2.operator === ">=";
16889
- hasDomLT = hasDomLT || c2.operator === "<" || c2.operator === "<=";
16890
- if (gt2) {
16891
- if (needDomGTPre) {
16892
- if (c2.semver.prerelease && c2.semver.prerelease.length && c2.semver.major === needDomGTPre.major && c2.semver.minor === needDomGTPre.minor && c2.semver.patch === needDomGTPre.patch) {
16893
- needDomGTPre = false;
16894
- }
16895
- }
16896
- if (c2.operator === ">" || c2.operator === ">=") {
16897
- higher = higherGT(gt2, c2, options);
16898
- if (higher === c2 && higher !== gt2) {
16899
- return false;
16900
- }
16901
- } else if (gt2.operator === ">=" && !satisfies(gt2.semver, String(c2), options)) {
16902
- return false;
16903
- }
16904
- }
16905
- if (lt2) {
16906
- if (needDomLTPre) {
16907
- if (c2.semver.prerelease && c2.semver.prerelease.length && c2.semver.major === needDomLTPre.major && c2.semver.minor === needDomLTPre.minor && c2.semver.patch === needDomLTPre.patch) {
16908
- needDomLTPre = false;
16909
- }
16910
- }
16911
- if (c2.operator === "<" || c2.operator === "<=") {
16912
- lower = lowerLT(lt2, c2, options);
16913
- if (lower === c2 && lower !== lt2) {
16914
- return false;
16915
- }
16916
- } else if (lt2.operator === "<=" && !satisfies(lt2.semver, String(c2), options)) {
16917
- return false;
16918
- }
16919
- }
16920
- if (!c2.operator && (lt2 || gt2) && gtltComp !== 0) {
16921
- return false;
16922
- }
16923
- }
16924
- if (gt2 && hasDomLT && !lt2 && gtltComp !== 0) {
16925
- return false;
16926
- }
16927
- if (lt2 && hasDomGT && !gt2 && gtltComp !== 0) {
16928
- return false;
16929
- }
16930
- if (needDomGTPre || needDomLTPre) {
16931
- return false;
16932
- }
16933
- return true;
16934
- };
16935
- var higherGT = (a, b2, options) => {
16936
- if (!a) {
16937
- return b2;
16938
- }
16939
- const comp = compare(a.semver, b2.semver, options);
16940
- return comp > 0 ? a : comp < 0 ? b2 : b2.operator === ">" && a.operator === ">=" ? b2 : a;
16941
- };
16942
- var lowerLT = (a, b2, options) => {
16943
- if (!a) {
16944
- return b2;
16945
- }
16946
- const comp = compare(a.semver, b2.semver, options);
16947
- return comp < 0 ? a : comp > 0 ? b2 : b2.operator === "<" && a.operator === "<=" ? b2 : a;
16948
- };
16949
- module.exports = subset;
16950
- }
16951
- });
16952
-
16953
- // node_modules/semver/index.js
16954
- var require_semver2 = __commonJS({
16955
- "node_modules/semver/index.js"(exports, module) {
16956
- "use strict";
16957
- var internalRe = require_re();
16958
- var constants2 = require_constants();
16959
- var SemVer = require_semver();
16960
- var identifiers = require_identifiers();
16961
- var parse2 = require_parse();
16962
- var valid = require_valid();
16963
- var clean2 = require_clean();
16964
- var inc = require_inc();
16965
- var diff3 = require_diff();
16966
- var major = require_major();
16967
- var minor = require_minor();
16968
- var patch = require_patch();
16969
- var prerelease = require_prerelease();
16970
- var compare = require_compare();
16971
- var rcompare = require_rcompare();
16972
- var compareLoose = require_compare_loose();
16973
- var compareBuild = require_compare_build();
16974
- var sort = require_sort();
16975
- var rsort = require_rsort();
16976
- var gt2 = require_gt();
16977
- var lt2 = require_lt();
16978
- var eq = require_eq();
16979
- var neq = require_neq();
16980
- var gte = require_gte();
16981
- var lte = require_lte();
16982
- var cmp = require_cmp();
16983
- var coerce = require_coerce();
16984
- var Comparator = require_comparator();
16985
- var Range2 = require_range();
16986
- var satisfies = require_satisfies();
16987
- var toComparators = require_to_comparators();
16988
- var maxSatisfying = require_max_satisfying();
16989
- var minSatisfying = require_min_satisfying();
16990
- var minVersion = require_min_version();
16991
- var validRange = require_valid2();
16992
- var outside = require_outside();
16993
- var gtr = require_gtr();
16994
- var ltr = require_ltr();
16995
- var intersects = require_intersects();
16996
- var simplifyRange = require_simplify();
16997
- var subset = require_subset();
16998
- module.exports = {
16999
- parse: parse2,
17000
- valid,
17001
- clean: clean2,
17002
- inc,
17003
- diff: diff3,
17004
- major,
17005
- minor,
17006
- patch,
17007
- prerelease,
17008
- compare,
17009
- rcompare,
17010
- compareLoose,
17011
- compareBuild,
17012
- sort,
17013
- rsort,
17014
- gt: gt2,
17015
- lt: lt2,
17016
- eq,
17017
- neq,
17018
- gte,
17019
- lte,
17020
- cmp,
17021
- coerce,
17022
- Comparator,
17023
- Range: Range2,
17024
- satisfies,
17025
- toComparators,
17026
- maxSatisfying,
17027
- minSatisfying,
17028
- minVersion,
17029
- validRange,
17030
- outside,
17031
- gtr,
17032
- ltr,
17033
- intersects,
17034
- simplifyRange,
17035
- subset,
17036
- SemVer,
17037
- re: internalRe.re,
17038
- src: internalRe.src,
17039
- tokens: internalRe.t,
17040
- SEMVER_SPEC_VERSION: constants2.SEMVER_SPEC_VERSION,
17041
- RELEASE_TYPES: constants2.RELEASE_TYPES,
17042
- compareIdentifiers: identifiers.compareIdentifiers,
17043
- rcompareIdentifiers: identifiers.rcompareIdentifiers
17044
- };
17045
- }
17046
- });
17047
-
17048
15613
  // node_modules/run-jxa/node_modules/strip-final-newline/index.js
17049
15614
  var require_strip_final_newline = __commonJS({
17050
15615
  "node_modules/run-jxa/node_modules/strip-final-newline/index.js"(exports, module) {
@@ -22152,7 +20717,7 @@ var require_errors = __commonJS({
22152
20717
  });
22153
20718
 
22154
20719
  // packages/cli/node_modules/undici/lib/core/constants.js
22155
- var require_constants3 = __commonJS({
20720
+ var require_constants2 = __commonJS({
22156
20721
  "packages/cli/node_modules/undici/lib/core/constants.js"(exports, module) {
22157
20722
  "use strict";
22158
20723
  var wellknownHeaderNames = (
@@ -22286,7 +20851,7 @@ var require_tree = __commonJS({
22286
20851
  var {
22287
20852
  wellknownHeaderNames,
22288
20853
  headerNameLowerCasedRecord
22289
- } = require_constants3();
20854
+ } = require_constants2();
22290
20855
  var TstNode = class _TstNode {
22291
20856
  /** @type {any} */
22292
20857
  value = null;
@@ -22436,7 +21001,7 @@ var require_util3 = __commonJS({
22436
21001
  var { EventEmitter: EE } = __require("node:events");
22437
21002
  var timers = require_timers();
22438
21003
  var { InvalidArgumentError, ConnectTimeoutError } = require_errors();
22439
- var { headerNameLowerCasedRecord } = require_constants3();
21004
+ var { headerNameLowerCasedRecord } = require_constants2();
22440
21005
  var { tree } = require_tree();
22441
21006
  var [nodeMajor, nodeMinor] = process.versions.node.split(".", 2).map((v2) => Number(v2));
22442
21007
  var BodyAsyncIterable = class {
@@ -23245,7 +21810,7 @@ var require_request = __commonJS({
23245
21810
  normalizedMethodRecords
23246
21811
  } = require_util3();
23247
21812
  var { channels } = require_diagnostics();
23248
- var { headerNameLowerCasedRecord } = require_constants3();
21813
+ var { headerNameLowerCasedRecord } = require_constants2();
23249
21814
  var invalidPathRegex = /[^\u0021-\u00ff]/;
23250
21815
  var kHandler = Symbol("handler");
23251
21816
  var Request = class {
@@ -24034,7 +22599,7 @@ var require_utils = __commonJS({
24034
22599
  });
24035
22600
 
24036
22601
  // packages/cli/node_modules/undici/lib/llhttp/constants.js
24037
- var require_constants4 = __commonJS({
22602
+ var require_constants3 = __commonJS({
24038
22603
  "packages/cli/node_modules/undici/lib/llhttp/constants.js"(exports) {
24039
22604
  "use strict";
24040
22605
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -24653,7 +23218,7 @@ var require_llhttp_simd_wasm = __commonJS({
24653
23218
  });
24654
23219
 
24655
23220
  // packages/cli/node_modules/undici/lib/web/fetch/constants.js
24656
- var require_constants5 = __commonJS({
23221
+ var require_constants4 = __commonJS({
24657
23222
  "packages/cli/node_modules/undici/lib/web/fetch/constants.js"(exports, module) {
24658
23223
  "use strict";
24659
23224
  var corsSafeListedMethods = (
@@ -25735,7 +24300,7 @@ var require_util4 = __commonJS({
25735
24300
  "use strict";
25736
24301
  var { Transform: Transform2 } = __require("node:stream");
25737
24302
  var zlib = __require("node:zlib");
25738
- var { redirectStatusSet, referrerPolicyTokens, badPortsSet } = require_constants5();
24303
+ var { redirectStatusSet, referrerPolicyTokens, badPortsSet } = require_constants4();
25739
24304
  var { getGlobalOrigin } = require_global();
25740
24305
  var { collectASequenceOfCodePoints, collectAnHTTPQuotedString, removeChars, parseMIMEType } = require_data_url();
25741
24306
  var { performance: performance2 } = __require("node:perf_hooks");
@@ -27427,7 +25992,7 @@ var require_client_h1 = __commonJS({
27427
25992
  kHTTPContext,
27428
25993
  kClosed
27429
25994
  } = require_symbols();
27430
- var constants2 = require_constants4();
25995
+ var constants2 = require_constants3();
27431
25996
  var EMPTY_BUF = Buffer.alloc(0);
27432
25997
  var FastBuffer = Buffer[Symbol.species];
27433
25998
  var removeAllListeners = util2.removeAllListeners;
@@ -36100,7 +34665,7 @@ var require_response = __commonJS({
36100
34665
  var {
36101
34666
  redirectStatusSet,
36102
34667
  nullBodyStatus
36103
- } = require_constants5();
34668
+ } = require_constants4();
36104
34669
  var { webidl } = require_webidl();
36105
34670
  var { URLSerializer } = require_data_url();
36106
34671
  var { kConstruct } = require_symbols();
@@ -36565,7 +35130,7 @@ var require_request2 = __commonJS({
36565
35130
  requestCredentials,
36566
35131
  requestCache,
36567
35132
  requestDuplex
36568
- } = require_constants5();
35133
+ } = require_constants4();
36569
35134
  var { kEnumerableProperty, normalizedMethodRecordsBase, normalizedMethodRecords } = util2;
36570
35135
  var { webidl } = require_webidl();
36571
35136
  var { URLSerializer } = require_data_url();
@@ -37348,7 +35913,7 @@ var require_fetch = __commonJS({
37348
35913
  safeMethodsSet,
37349
35914
  requestBodyHeader,
37350
35915
  subresourceSet
37351
- } = require_constants5();
35916
+ } = require_constants4();
37352
35917
  var EE = __require("node:events");
37353
35918
  var { Readable, pipeline: pipeline2, finished, isErrored, isReadable } = __require("node:stream");
37354
35919
  var { addAbortListener, bufferToLowerCasedHeaderName } = require_util3();
@@ -39042,7 +37607,7 @@ var require_cachestorage = __commonJS({
39042
37607
  });
39043
37608
 
39044
37609
  // packages/cli/node_modules/undici/lib/web/cookies/constants.js
39045
- var require_constants6 = __commonJS({
37610
+ var require_constants5 = __commonJS({
39046
37611
  "packages/cli/node_modules/undici/lib/web/cookies/constants.js"(exports, module) {
39047
37612
  "use strict";
39048
37613
  var maxAttributeValueSize = 1024;
@@ -39225,10 +37790,10 @@ var require_util6 = __commonJS({
39225
37790
  });
39226
37791
 
39227
37792
  // packages/cli/node_modules/undici/lib/web/cookies/parse.js
39228
- var require_parse2 = __commonJS({
37793
+ var require_parse = __commonJS({
39229
37794
  "packages/cli/node_modules/undici/lib/web/cookies/parse.js"(exports, module) {
39230
37795
  "use strict";
39231
- var { maxNameValuePairSize, maxAttributeValueSize } = require_constants6();
37796
+ var { maxNameValuePairSize, maxAttributeValueSize } = require_constants5();
39232
37797
  var { isCTLExcludingHtab } = require_util6();
39233
37798
  var { collectASequenceOfCodePointsFast } = require_data_url();
39234
37799
  var assert = __require("node:assert");
@@ -39369,7 +37934,7 @@ var require_parse2 = __commonJS({
39369
37934
  var require_cookies = __commonJS({
39370
37935
  "packages/cli/node_modules/undici/lib/web/cookies/index.js"(exports, module) {
39371
37936
  "use strict";
39372
- var { parseSetCookie } = require_parse2();
37937
+ var { parseSetCookie } = require_parse();
39373
37938
  var { stringify } = require_util6();
39374
37939
  var { webidl } = require_webidl();
39375
37940
  var { Headers } = require_headers();
@@ -39769,7 +38334,7 @@ var require_events = __commonJS({
39769
38334
  });
39770
38335
 
39771
38336
  // packages/cli/node_modules/undici/lib/web/websocket/constants.js
39772
- var require_constants7 = __commonJS({
38337
+ var require_constants6 = __commonJS({
39773
38338
  "packages/cli/node_modules/undici/lib/web/websocket/constants.js"(exports, module) {
39774
38339
  "use strict";
39775
38340
  var uid = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
@@ -39828,7 +38393,7 @@ var require_constants7 = __commonJS({
39828
38393
  var require_util7 = __commonJS({
39829
38394
  "packages/cli/node_modules/undici/lib/web/websocket/util.js"(exports, module) {
39830
38395
  "use strict";
39831
- var { states, opcodes } = require_constants7();
38396
+ var { states, opcodes } = require_constants6();
39832
38397
  var { isUtf8 } = __require("node:buffer");
39833
38398
  var { collectASequenceOfCodePointsFast, removeHTTPWhitespace } = require_data_url();
39834
38399
  function isConnecting(readyState) {
@@ -40000,7 +38565,7 @@ var require_util7 = __commonJS({
40000
38565
  var require_frame = __commonJS({
40001
38566
  "packages/cli/node_modules/undici/lib/web/websocket/frame.js"(exports, module) {
40002
38567
  "use strict";
40003
- var { maxUnsigned16Bit, opcodes } = require_constants7();
38568
+ var { maxUnsigned16Bit, opcodes } = require_constants6();
40004
38569
  var BUFFER_SIZE = 8 * 1024;
40005
38570
  var crypto3;
40006
38571
  var buffer = null;
@@ -40110,7 +38675,7 @@ var require_frame = __commonJS({
40110
38675
  var require_connection = __commonJS({
40111
38676
  "packages/cli/node_modules/undici/lib/web/websocket/connection.js"(exports, module) {
40112
38677
  "use strict";
40113
- var { uid, states, sentCloseFrameState, emptyBuffer, opcodes } = require_constants7();
38678
+ var { uid, states, sentCloseFrameState, emptyBuffer, opcodes } = require_constants6();
40114
38679
  var { parseExtensions, isClosed, isClosing, isEstablished, validateCloseCodeAndReason } = require_util7();
40115
38680
  var { channels } = require_diagnostics();
40116
38681
  var { makeRequest } = require_request2();
@@ -40324,7 +38889,7 @@ var require_receiver = __commonJS({
40324
38889
  "use strict";
40325
38890
  var { Writable: Writable2 } = __require("node:stream");
40326
38891
  var assert = __require("node:assert");
40327
- var { parserStates, opcodes, states, emptyBuffer, sentCloseFrameState } = require_constants7();
38892
+ var { parserStates, opcodes, states, emptyBuffer, sentCloseFrameState } = require_constants6();
40328
38893
  var { channels } = require_diagnostics();
40329
38894
  var {
40330
38895
  isValidStatusCode,
@@ -40644,7 +39209,7 @@ var require_sender = __commonJS({
40644
39209
  "packages/cli/node_modules/undici/lib/web/websocket/sender.js"(exports, module) {
40645
39210
  "use strict";
40646
39211
  var { WebsocketFrameSend } = require_frame();
40647
- var { opcodes, sendHints } = require_constants7();
39212
+ var { opcodes, sendHints } = require_constants6();
40648
39213
  var FixedQueue = require_fixed_queue();
40649
39214
  var SendQueue = class {
40650
39215
  /**
@@ -40733,7 +39298,7 @@ var require_websocket = __commonJS({
40733
39298
  var { webidl } = require_webidl();
40734
39299
  var { URLSerializer } = require_data_url();
40735
39300
  var { environmentSettingsObject } = require_util4();
40736
- var { staticPropertyDescriptors, states, sentCloseFrameState, sendHints, opcodes } = require_constants7();
39301
+ var { staticPropertyDescriptors, states, sentCloseFrameState, sendHints, opcodes } = require_constants6();
40737
39302
  var {
40738
39303
  isConnecting,
40739
39304
  isEstablished,
@@ -41225,7 +39790,7 @@ var require_websocketstream = __commonJS({
41225
39790
  "packages/cli/node_modules/undici/lib/web/websocket/stream/websocketstream.js"(exports, module) {
41226
39791
  "use strict";
41227
39792
  var { createDeferredPromise, environmentSettingsObject } = require_util4();
41228
- var { states, opcodes, sentCloseFrameState } = require_constants7();
39793
+ var { states, opcodes, sentCloseFrameState } = require_constants6();
41229
39794
  var { webidl } = require_webidl();
41230
39795
  var { getURLRecord, isValidSubprotocol, isEstablished, utf8Decode } = require_util7();
41231
39796
  var { establishWebSocketConnection, failWebsocketConnection, closeWebSocketConnection } = require_connection();
@@ -42666,7 +41231,7 @@ var patchConsole = (callback) => {
42666
41231
  var dist_default = patchConsole;
42667
41232
 
42668
41233
  // node_modules/ink/build/ink.js
42669
- var import_constants2 = __toESM(require_constants2(), 1);
41234
+ var import_constants2 = __toESM(require_constants(), 1);
42670
41235
 
42671
41236
  // node_modules/yoga-layout/dist/binaries/yoga-wasm-base64-esm.js
42672
41237
  var loadYoga = (() => {
@@ -44608,7 +43173,7 @@ function wrapAnsi(string, columns, options) {
44608
43173
 
44609
43174
  // node_modules/ink/build/reconciler.js
44610
43175
  var import_react_reconciler = __toESM(require_react_reconciler(), 1);
44611
- var import_constants = __toESM(require_constants2(), 1);
43176
+ var import_constants = __toESM(require_constants(), 1);
44612
43177
  import process3 from "node:process";
44613
43178
  var import_react = __toESM(require_react(), 1);
44614
43179
 
@@ -56384,12 +54949,24 @@ var keybindingsSchema = external_exports.array(
56384
54949
  negate
56385
54950
  };
56386
54951
  }),
56387
- key: external_exports.string()
56388
- }).transform((val) => ({
56389
- commandEntry: val.command,
56390
- key: val.key
56391
- }))
56392
- );
54952
+ key: external_exports.string().optional(),
54953
+ keys: external_exports.array(external_exports.string()).min(1).optional()
54954
+ }).refine(
54955
+ (data) => data.key !== void 0 || data.keys !== void 0 && data.keys.length > 0,
54956
+ {
54957
+ message: 'Must specify either "key" or a non-empty "keys" array.'
54958
+ }
54959
+ ).transform((data) => {
54960
+ const keys = [
54961
+ ...data.key !== void 0 ? [data.key] : [],
54962
+ ...data.keys ?? []
54963
+ ].reverse();
54964
+ return keys.map((key) => ({
54965
+ commandEntry: data.command,
54966
+ key
54967
+ }));
54968
+ })
54969
+ ).transform((entries) => entries.flat());
56393
54970
  async function loadCustomKeybindings() {
56394
54971
  const errors = [];
56395
54972
  let config = defaultKeyBindingConfig;
@@ -67774,7 +66351,7 @@ var Subsume = class _Subsume {
67774
66351
  };
67775
66352
 
67776
66353
  // node_modules/macos-version/index.js
67777
- var import_semver = __toESM(require_semver2(), 1);
66354
+ var import_semver = __toESM(require_semver(), 1);
67778
66355
  import process21 from "node:process";
67779
66356
  import fs19 from "node:fs";
67780
66357
  var isMacOS = process21.platform === "darwin";
@@ -74533,7 +73110,7 @@ var CommandService = class _CommandService {
74533
73110
  static async create(loaders, signal) {
74534
73111
  const allCommands = await this.loadAllCommands(loaders, signal);
74535
73112
  const { finalCommands, conflicts } = SlashCommandResolver.resolve(allCommands);
74536
- if (conflicts.length > 0) {
73113
+ if (!signal.aborted) {
74537
73114
  this.emitConflictEvents(conflicts);
74538
73115
  }
74539
73116
  return new _CommandService(
@@ -74613,13 +73190,14 @@ var formatDuration = (milliseconds) => {
74613
73190
  if (milliseconds <= 0) {
74614
73191
  return "0s";
74615
73192
  }
74616
- if (milliseconds < 1e3) {
74617
- return `${Math.round(milliseconds)}ms`;
73193
+ const roundedMs = Math.round(milliseconds);
73194
+ if (roundedMs < 1e3) {
73195
+ return `${roundedMs}ms`;
74618
73196
  }
74619
- const totalSeconds = milliseconds / 1e3;
74620
- if (totalSeconds < 60) {
74621
- return `${totalSeconds.toFixed(1)}s`;
73197
+ if (milliseconds < 59950) {
73198
+ return `${(milliseconds / 1e3).toFixed(1)}s`;
74622
73199
  }
73200
+ const totalSeconds = Math.round(milliseconds / 1e3);
74623
73201
  const hours = Math.floor(totalSeconds / 3600);
74624
73202
  const minutes = Math.floor(totalSeconds % 3600 / 60);
74625
73203
  const seconds = Math.floor(totalSeconds % 60);
@@ -76067,25 +74645,53 @@ function Spinner({ type = "dots" }) {
76067
74645
  var build_default = Spinner;
76068
74646
 
76069
74647
  // packages/cli/src/ui/components/CliSpinner.tsx
74648
+ var import_cli_spinners2 = __toESM(require_cli_spinners(), 1);
76070
74649
  var import_react53 = __toESM(require_react(), 1);
76071
74650
  var import_jsx_runtime11 = __toESM(require_jsx_runtime(), 1);
76072
- var CliSpinner = (props) => {
76073
- const settings = useSettings();
76074
- const shouldShow = settings.merged.ui?.showSpinner !== false;
76075
- (0, import_react53.useEffect)(() => {
76076
- if (shouldShow) {
76077
- debugState.debugNumAnimatedComponents++;
74651
+ var TMUX_SPINNER_INTERVAL_MS = 120;
74652
+ var TmuxSpinner = import_react53.default.memo(
74653
+ ({ type = "dots" }) => {
74654
+ const [frame, setFrame] = (0, import_react53.useState)(0);
74655
+ const spinner = import_cli_spinners2.default[type] ?? import_cli_spinners2.default.dots;
74656
+ const intervalMs = Math.max(spinner.interval, TMUX_SPINNER_INTERVAL_MS);
74657
+ (0, import_react53.useEffect)(() => {
74658
+ const timer = setInterval(() => {
74659
+ setFrame(
74660
+ (previousFrame) => previousFrame >= spinner.frames.length - 1 ? 0 : previousFrame + 1
74661
+ );
74662
+ }, intervalMs);
76078
74663
  return () => {
76079
- debugState.debugNumAnimatedComponents--;
74664
+ clearInterval(timer);
76080
74665
  };
74666
+ }, [spinner, intervalMs]);
74667
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Text, { children: spinner.frames[frame % spinner.frames.length] });
74668
+ }
74669
+ );
74670
+ TmuxSpinner.displayName = "TmuxSpinner";
74671
+ var CliSpinner = import_react53.default.memo(
74672
+ (props) => {
74673
+ const settings = useSettings();
74674
+ const shouldShow = settings.merged.ui?.showSpinner !== false;
74675
+ const inTmux2 = isTmux();
74676
+ (0, import_react53.useEffect)(() => {
74677
+ if (shouldShow) {
74678
+ debugState.debugNumAnimatedComponents++;
74679
+ return () => {
74680
+ debugState.debugNumAnimatedComponents--;
74681
+ };
74682
+ }
74683
+ return void 0;
74684
+ }, [shouldShow]);
74685
+ if (!shouldShow) {
74686
+ return null;
76081
74687
  }
76082
- return void 0;
76083
- }, [shouldShow]);
76084
- if (!shouldShow) {
76085
- return null;
74688
+ if (inTmux2) {
74689
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(TmuxSpinner, { type: props.type });
74690
+ }
74691
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(build_default, { ...props });
76086
74692
  }
76087
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(build_default, { ...props });
76088
- };
74693
+ );
74694
+ CliSpinner.displayName = "CliSpinner";
76089
74695
 
76090
74696
  // packages/cli/src/ui/components/shared/ExpandableText.tsx
76091
74697
  var import_react54 = __toESM(require_react(), 1);
@@ -77864,7 +76470,7 @@ var authCommand = {
77864
76470
  import process29 from "node:process";
77865
76471
 
77866
76472
  // packages/cli/src/generated/git-commit.ts
77867
- var GIT_COMMIT_INFO = "ca417cd41";
76473
+ var GIT_COMMIT_INFO = "5ed1313a9";
77868
76474
 
77869
76475
  // packages/cli/src/ui/utils/historyExportUtils.ts
77870
76476
  import * as fsPromises from "node:fs/promises";
@@ -83671,7 +82277,7 @@ Use /mcp auth <server-name> to authenticate.`
83671
82277
  type: "info",
83672
82278
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
83673
82279
  });
83674
- const { MCPOAuthProvider } = await import("./dist-GQKLLBDW.js");
82280
+ const { MCPOAuthProvider } = await import("./dist-2R7C2WHA.js");
83675
82281
  let oauthConfig = server.oauth;
83676
82282
  if (!oauthConfig) {
83677
82283
  oauthConfig = { enabled: false };
@@ -102882,7 +101488,6 @@ export {
102882
101488
  updateExtension,
102883
101489
  updateAllUpdatableExtensions,
102884
101490
  checkForAllExtensionUpdates,
102885
- require_semver2 as require_semver,
102886
101491
  enableSkill,
102887
101492
  disableSkill,
102888
101493
  renderSkillActionFeedback,
@@ -103006,6 +101611,7 @@ export {
103006
101611
  Footer,
103007
101612
  getAntigravityInstallInfo,
103008
101613
  build_default,
101614
+ TMUX_SPINNER_INTERVAL_MS,
103009
101615
  CliSpinner,
103010
101616
  MAX_WIDTH,
103011
101617
  ExpandableText,