opencommit 3.2.9 → 3.2.10

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 (3) hide show
  1. package/README.md +1 -1
  2. package/out/cli.cjs +553 -306
  3. package/package.json +2 -1
package/out/cli.cjs CHANGED
@@ -1477,20 +1477,20 @@ var require_ini = __commonJS({
1477
1477
  let esc = false;
1478
1478
  let unesc = "";
1479
1479
  for (let i3 = 0, l3 = val.length; i3 < l3; i3++) {
1480
- const c3 = val.charAt(i3);
1480
+ const c4 = val.charAt(i3);
1481
1481
  if (esc) {
1482
- if ("\\;#".indexOf(c3) !== -1) {
1483
- unesc += c3;
1482
+ if ("\\;#".indexOf(c4) !== -1) {
1483
+ unesc += c4;
1484
1484
  } else {
1485
- unesc += "\\" + c3;
1485
+ unesc += "\\" + c4;
1486
1486
  }
1487
1487
  esc = false;
1488
- } else if (";#".indexOf(c3) !== -1) {
1488
+ } else if (";#".indexOf(c4) !== -1) {
1489
1489
  break;
1490
- } else if (c3 === "\\") {
1490
+ } else if (c4 === "\\") {
1491
1491
  esc = true;
1492
1492
  } else {
1493
- unesc += c3;
1493
+ unesc += c4;
1494
1494
  }
1495
1495
  }
1496
1496
  if (esc) {
@@ -1697,9 +1697,9 @@ var require_lib = __commonJS({
1697
1697
  };
1698
1698
  exports2.ByteString = (value, options = {}) => {
1699
1699
  const x5 = exports2.DOMString(value, options);
1700
- let c3;
1701
- for (let i3 = 0; (c3 = x5.codePointAt(i3)) !== void 0; ++i3) {
1702
- if (c3 > 255) {
1700
+ let c4;
1701
+ for (let i3 = 0; (c4 = x5.codePointAt(i3)) !== void 0; ++i3) {
1702
+ if (c4 > 255) {
1703
1703
  throw makeException(TypeError, "is not a valid ByteString", options);
1704
1704
  }
1705
1705
  }
@@ -1710,17 +1710,17 @@ var require_lib = __commonJS({
1710
1710
  const n2 = S6.length;
1711
1711
  const U7 = [];
1712
1712
  for (let i3 = 0; i3 < n2; ++i3) {
1713
- const c3 = S6.charCodeAt(i3);
1714
- if (c3 < 55296 || c3 > 57343) {
1715
- U7.push(String.fromCodePoint(c3));
1716
- } else if (56320 <= c3 && c3 <= 57343) {
1713
+ const c4 = S6.charCodeAt(i3);
1714
+ if (c4 < 55296 || c4 > 57343) {
1715
+ U7.push(String.fromCodePoint(c4));
1716
+ } else if (56320 <= c4 && c4 <= 57343) {
1717
1717
  U7.push(String.fromCodePoint(65533));
1718
1718
  } else if (i3 === n2 - 1) {
1719
1719
  U7.push(String.fromCodePoint(65533));
1720
1720
  } else {
1721
1721
  const d7 = S6.charCodeAt(i3 + 1);
1722
1722
  if (56320 <= d7 && d7 <= 57343) {
1723
- const a4 = c3 & 1023;
1723
+ const a4 = c4 & 1023;
1724
1724
  const b7 = d7 & 1023;
1725
1725
  U7.push(String.fromCodePoint((2 << 15) + (2 << 9) * a4 + b7));
1726
1726
  ++i3;
@@ -2597,17 +2597,17 @@ var require_tr46 = __commonJS({
2597
2597
  var require_infra = __commonJS({
2598
2598
  "node_modules/whatwg-url/lib/infra.js"(exports2, module2) {
2599
2599
  "use strict";
2600
- function isASCIIDigit(c3) {
2601
- return c3 >= 48 && c3 <= 57;
2600
+ function isASCIIDigit(c4) {
2601
+ return c4 >= 48 && c4 <= 57;
2602
2602
  }
2603
- function isASCIIAlpha(c3) {
2604
- return c3 >= 65 && c3 <= 90 || c3 >= 97 && c3 <= 122;
2603
+ function isASCIIAlpha(c4) {
2604
+ return c4 >= 65 && c4 <= 90 || c4 >= 97 && c4 <= 122;
2605
2605
  }
2606
- function isASCIIAlphanumeric(c3) {
2607
- return isASCIIAlpha(c3) || isASCIIDigit(c3);
2606
+ function isASCIIAlphanumeric(c4) {
2607
+ return isASCIIAlpha(c4) || isASCIIDigit(c4);
2608
2608
  }
2609
- function isASCIIHex(c3) {
2610
- return isASCIIDigit(c3) || c3 >= 65 && c3 <= 70 || c3 >= 97 && c3 <= 102;
2609
+ function isASCIIHex(c4) {
2610
+ return isASCIIDigit(c4) || c4 >= 65 && c4 <= 70 || c4 >= 97 && c4 <= 102;
2611
2611
  }
2612
2612
  module2.exports = {
2613
2613
  isASCIIDigit,
@@ -2646,8 +2646,8 @@ var require_percent_encoding = __commonJS({
2646
2646
  function p4(char) {
2647
2647
  return char.codePointAt(0);
2648
2648
  }
2649
- function percentEncode(c3) {
2650
- let hex = c3.toString(16).toUpperCase();
2649
+ function percentEncode(c4) {
2650
+ let hex = c4.toString(16).toUpperCase();
2651
2651
  if (hex.length === 1) {
2652
2652
  hex = `0${hex}`;
2653
2653
  }
@@ -2674,35 +2674,35 @@ var require_percent_encoding = __commonJS({
2674
2674
  const bytes = utf8Encode(input);
2675
2675
  return percentDecodeBytes(bytes);
2676
2676
  }
2677
- function isC0ControlPercentEncode(c3) {
2678
- return c3 <= 31 || c3 > 126;
2677
+ function isC0ControlPercentEncode(c4) {
2678
+ return c4 <= 31 || c4 > 126;
2679
2679
  }
2680
2680
  var extraFragmentPercentEncodeSet = /* @__PURE__ */ new Set([p4(" "), p4('"'), p4("<"), p4(">"), p4("`")]);
2681
- function isFragmentPercentEncode(c3) {
2682
- return isC0ControlPercentEncode(c3) || extraFragmentPercentEncodeSet.has(c3);
2681
+ function isFragmentPercentEncode(c4) {
2682
+ return isC0ControlPercentEncode(c4) || extraFragmentPercentEncodeSet.has(c4);
2683
2683
  }
2684
2684
  var extraQueryPercentEncodeSet = /* @__PURE__ */ new Set([p4(" "), p4('"'), p4("#"), p4("<"), p4(">")]);
2685
- function isQueryPercentEncode(c3) {
2686
- return isC0ControlPercentEncode(c3) || extraQueryPercentEncodeSet.has(c3);
2685
+ function isQueryPercentEncode(c4) {
2686
+ return isC0ControlPercentEncode(c4) || extraQueryPercentEncodeSet.has(c4);
2687
2687
  }
2688
- function isSpecialQueryPercentEncode(c3) {
2689
- return isQueryPercentEncode(c3) || c3 === p4("'");
2688
+ function isSpecialQueryPercentEncode(c4) {
2689
+ return isQueryPercentEncode(c4) || c4 === p4("'");
2690
2690
  }
2691
2691
  var extraPathPercentEncodeSet = /* @__PURE__ */ new Set([p4("?"), p4("`"), p4("{"), p4("}"), p4("^")]);
2692
- function isPathPercentEncode(c3) {
2693
- return isQueryPercentEncode(c3) || extraPathPercentEncodeSet.has(c3);
2692
+ function isPathPercentEncode(c4) {
2693
+ return isQueryPercentEncode(c4) || extraPathPercentEncodeSet.has(c4);
2694
2694
  }
2695
2695
  var extraUserinfoPercentEncodeSet = /* @__PURE__ */ new Set([p4("/"), p4(":"), p4(";"), p4("="), p4("@"), p4("["), p4("\\"), p4("]"), p4("|")]);
2696
- function isUserinfoPercentEncode(c3) {
2697
- return isPathPercentEncode(c3) || extraUserinfoPercentEncodeSet.has(c3);
2696
+ function isUserinfoPercentEncode(c4) {
2697
+ return isPathPercentEncode(c4) || extraUserinfoPercentEncodeSet.has(c4);
2698
2698
  }
2699
2699
  var extraComponentPercentEncodeSet = /* @__PURE__ */ new Set([p4("$"), p4("%"), p4("&"), p4("+"), p4(",")]);
2700
- function isComponentPercentEncode(c3) {
2701
- return isUserinfoPercentEncode(c3) || extraComponentPercentEncodeSet.has(c3);
2700
+ function isComponentPercentEncode(c4) {
2701
+ return isUserinfoPercentEncode(c4) || extraComponentPercentEncodeSet.has(c4);
2702
2702
  }
2703
2703
  var extraURLEncodedPercentEncodeSet = /* @__PURE__ */ new Set([p4("!"), p4("'"), p4("("), p4(")"), p4("~")]);
2704
- function isURLEncodedPercentEncode(c3) {
2705
- return isComponentPercentEncode(c3) || extraURLEncodedPercentEncodeSet.has(c3);
2704
+ function isURLEncodedPercentEncode(c4) {
2705
+ return isComponentPercentEncode(c4) || extraURLEncodedPercentEncodeSet.has(c4);
2706
2706
  }
2707
2707
  function utf8PercentEncodeCodePointInternal(codePoint, percentEncodePredicate) {
2708
2708
  const bytes = utf8Encode(codePoint);
@@ -2780,8 +2780,8 @@ var require_url_state_machine = __commonJS({
2780
2780
  return [...str2].length;
2781
2781
  }
2782
2782
  function at2(input, idx) {
2783
- const c3 = input[idx];
2784
- return isNaN(c3) ? void 0 : String.fromCodePoint(c3);
2783
+ const c4 = input[idx];
2784
+ return isNaN(c4) ? void 0 : String.fromCodePoint(c4);
2785
2785
  }
2786
2786
  function isSingleDot(buffer) {
2787
2787
  return buffer === "." || buffer.toLowerCase() === "%2e";
@@ -2895,7 +2895,7 @@ var require_url_state_machine = __commonJS({
2895
2895
  let pieceIndex = 0;
2896
2896
  let compress = null;
2897
2897
  let pointer = 0;
2898
- input = Array.from(input, (c3) => c3.codePointAt(0));
2898
+ input = Array.from(input, (c4) => c4.codePointAt(0));
2899
2899
  if (input[pointer] === p4(":")) {
2900
2900
  if (input[pointer + 1] !== p4(":")) {
2901
2901
  return failure;
@@ -3194,11 +3194,11 @@ var require_url_state_machine = __commonJS({
3194
3194
  this.atFlag = false;
3195
3195
  this.arrFlag = false;
3196
3196
  this.passwordTokenSeenFlag = false;
3197
- this.input = Array.from(this.input, (c3) => c3.codePointAt(0));
3197
+ this.input = Array.from(this.input, (c4) => c4.codePointAt(0));
3198
3198
  for (; this.pointer <= this.input.length; ++this.pointer) {
3199
- const c3 = this.input[this.pointer];
3200
- const cStr = isNaN(c3) ? void 0 : String.fromCodePoint(c3);
3201
- const ret = this[`parse ${this.state}`](c3, cStr);
3199
+ const c4 = this.input[this.pointer];
3200
+ const cStr = isNaN(c4) ? void 0 : String.fromCodePoint(c4);
3201
+ const ret = this[`parse ${this.state}`](c4, cStr);
3202
3202
  if (!ret) {
3203
3203
  break;
3204
3204
  } else if (ret === failure) {
@@ -3207,8 +3207,8 @@ var require_url_state_machine = __commonJS({
3207
3207
  }
3208
3208
  }
3209
3209
  }
3210
- URLStateMachine.prototype["parse scheme start"] = function parseSchemeStart(c3, cStr) {
3211
- if (infra.isASCIIAlpha(c3)) {
3210
+ URLStateMachine.prototype["parse scheme start"] = function parseSchemeStart(c4, cStr) {
3211
+ if (infra.isASCIIAlpha(c4)) {
3212
3212
  this.buffer += cStr.toLowerCase();
3213
3213
  this.state = "scheme";
3214
3214
  } else if (!this.stateOverride) {
@@ -3220,10 +3220,10 @@ var require_url_state_machine = __commonJS({
3220
3220
  }
3221
3221
  return true;
3222
3222
  };
3223
- URLStateMachine.prototype["parse scheme"] = function parseScheme(c3, cStr) {
3224
- if (infra.isASCIIAlphanumeric(c3) || c3 === p4("+") || c3 === p4("-") || c3 === p4(".")) {
3223
+ URLStateMachine.prototype["parse scheme"] = function parseScheme(c4, cStr) {
3224
+ if (infra.isASCIIAlphanumeric(c4) || c4 === p4("+") || c4 === p4("-") || c4 === p4(".")) {
3225
3225
  this.buffer += cStr.toLowerCase();
3226
- } else if (c3 === p4(":")) {
3226
+ } else if (c4 === p4(":")) {
3227
3227
  if (this.stateOverride) {
3228
3228
  if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) {
3229
3229
  return false;
@@ -3272,10 +3272,10 @@ var require_url_state_machine = __commonJS({
3272
3272
  }
3273
3273
  return true;
3274
3274
  };
3275
- URLStateMachine.prototype["parse no scheme"] = function parseNoScheme(c3) {
3276
- if (this.base === null || hasAnOpaquePath(this.base) && c3 !== p4("#")) {
3275
+ URLStateMachine.prototype["parse no scheme"] = function parseNoScheme(c4) {
3276
+ if (this.base === null || hasAnOpaquePath(this.base) && c4 !== p4("#")) {
3277
3277
  return failure;
3278
- } else if (hasAnOpaquePath(this.base) && c3 === p4("#")) {
3278
+ } else if (hasAnOpaquePath(this.base) && c4 === p4("#")) {
3279
3279
  this.url.scheme = this.base.scheme;
3280
3280
  this.url.path = this.base.path;
3281
3281
  this.url.query = this.base.query;
@@ -3290,8 +3290,8 @@ var require_url_state_machine = __commonJS({
3290
3290
  }
3291
3291
  return true;
3292
3292
  };
3293
- URLStateMachine.prototype["parse special relative or authority"] = function parseSpecialRelativeOrAuthority(c3) {
3294
- if (c3 === p4("/") && this.input[this.pointer + 1] === p4("/")) {
3293
+ URLStateMachine.prototype["parse special relative or authority"] = function parseSpecialRelativeOrAuthority(c4) {
3294
+ if (c4 === p4("/") && this.input[this.pointer + 1] === p4("/")) {
3295
3295
  this.state = "special authority ignore slashes";
3296
3296
  ++this.pointer;
3297
3297
  } else {
@@ -3301,8 +3301,8 @@ var require_url_state_machine = __commonJS({
3301
3301
  }
3302
3302
  return true;
3303
3303
  };
3304
- URLStateMachine.prototype["parse path or authority"] = function parsePathOrAuthority(c3) {
3305
- if (c3 === p4("/")) {
3304
+ URLStateMachine.prototype["parse path or authority"] = function parsePathOrAuthority(c4) {
3305
+ if (c4 === p4("/")) {
3306
3306
  this.state = "authority";
3307
3307
  } else {
3308
3308
  this.state = "path";
@@ -3310,11 +3310,11 @@ var require_url_state_machine = __commonJS({
3310
3310
  }
3311
3311
  return true;
3312
3312
  };
3313
- URLStateMachine.prototype["parse relative"] = function parseRelative(c3) {
3313
+ URLStateMachine.prototype["parse relative"] = function parseRelative(c4) {
3314
3314
  this.url.scheme = this.base.scheme;
3315
- if (c3 === p4("/")) {
3315
+ if (c4 === p4("/")) {
3316
3316
  this.state = "relative slash";
3317
- } else if (isSpecial(this.url) && c3 === p4("\\")) {
3317
+ } else if (isSpecial(this.url) && c4 === p4("\\")) {
3318
3318
  this.parseError = true;
3319
3319
  this.state = "relative slash";
3320
3320
  } else {
@@ -3324,13 +3324,13 @@ var require_url_state_machine = __commonJS({
3324
3324
  this.url.port = this.base.port;
3325
3325
  this.url.path = this.base.path.slice();
3326
3326
  this.url.query = this.base.query;
3327
- if (c3 === p4("?")) {
3327
+ if (c4 === p4("?")) {
3328
3328
  this.url.query = "";
3329
3329
  this.state = "query";
3330
- } else if (c3 === p4("#")) {
3330
+ } else if (c4 === p4("#")) {
3331
3331
  this.url.fragment = "";
3332
3332
  this.state = "fragment";
3333
- } else if (!isNaN(c3)) {
3333
+ } else if (!isNaN(c4)) {
3334
3334
  this.url.query = null;
3335
3335
  this.url.path.pop();
3336
3336
  this.state = "path";
@@ -3339,13 +3339,13 @@ var require_url_state_machine = __commonJS({
3339
3339
  }
3340
3340
  return true;
3341
3341
  };
3342
- URLStateMachine.prototype["parse relative slash"] = function parseRelativeSlash(c3) {
3343
- if (isSpecial(this.url) && (c3 === p4("/") || c3 === p4("\\"))) {
3344
- if (c3 === p4("\\")) {
3342
+ URLStateMachine.prototype["parse relative slash"] = function parseRelativeSlash(c4) {
3343
+ if (isSpecial(this.url) && (c4 === p4("/") || c4 === p4("\\"))) {
3344
+ if (c4 === p4("\\")) {
3345
3345
  this.parseError = true;
3346
3346
  }
3347
3347
  this.state = "special authority ignore slashes";
3348
- } else if (c3 === p4("/")) {
3348
+ } else if (c4 === p4("/")) {
3349
3349
  this.state = "authority";
3350
3350
  } else {
3351
3351
  this.url.username = this.base.username;
@@ -3357,8 +3357,8 @@ var require_url_state_machine = __commonJS({
3357
3357
  }
3358
3358
  return true;
3359
3359
  };
3360
- URLStateMachine.prototype["parse special authority slashes"] = function parseSpecialAuthoritySlashes(c3) {
3361
- if (c3 === p4("/") && this.input[this.pointer + 1] === p4("/")) {
3360
+ URLStateMachine.prototype["parse special authority slashes"] = function parseSpecialAuthoritySlashes(c4) {
3361
+ if (c4 === p4("/") && this.input[this.pointer + 1] === p4("/")) {
3362
3362
  this.state = "special authority ignore slashes";
3363
3363
  ++this.pointer;
3364
3364
  } else {
@@ -3368,8 +3368,8 @@ var require_url_state_machine = __commonJS({
3368
3368
  }
3369
3369
  return true;
3370
3370
  };
3371
- URLStateMachine.prototype["parse special authority ignore slashes"] = function parseSpecialAuthorityIgnoreSlashes(c3) {
3372
- if (c3 !== p4("/") && c3 !== p4("\\")) {
3371
+ URLStateMachine.prototype["parse special authority ignore slashes"] = function parseSpecialAuthorityIgnoreSlashes(c4) {
3372
+ if (c4 !== p4("/") && c4 !== p4("\\")) {
3373
3373
  this.state = "authority";
3374
3374
  --this.pointer;
3375
3375
  } else {
@@ -3377,8 +3377,8 @@ var require_url_state_machine = __commonJS({
3377
3377
  }
3378
3378
  return true;
3379
3379
  };
3380
- URLStateMachine.prototype["parse authority"] = function parseAuthority(c3, cStr) {
3381
- if (c3 === p4("@")) {
3380
+ URLStateMachine.prototype["parse authority"] = function parseAuthority(c4, cStr) {
3381
+ if (c4 === p4("@")) {
3382
3382
  this.parseError = true;
3383
3383
  if (this.atFlag) {
3384
3384
  this.buffer = `%40${this.buffer}`;
@@ -3399,7 +3399,7 @@ var require_url_state_machine = __commonJS({
3399
3399
  }
3400
3400
  }
3401
3401
  this.buffer = "";
3402
- } else if (isNaN(c3) || c3 === p4("/") || c3 === p4("?") || c3 === p4("#") || isSpecial(this.url) && c3 === p4("\\")) {
3402
+ } else if (isNaN(c4) || c4 === p4("/") || c4 === p4("?") || c4 === p4("#") || isSpecial(this.url) && c4 === p4("\\")) {
3403
3403
  if (this.atFlag && this.buffer === "") {
3404
3404
  this.parseError = true;
3405
3405
  return failure;
@@ -3412,11 +3412,11 @@ var require_url_state_machine = __commonJS({
3412
3412
  }
3413
3413
  return true;
3414
3414
  };
3415
- URLStateMachine.prototype["parse hostname"] = URLStateMachine.prototype["parse host"] = function parseHostName(c3, cStr) {
3415
+ URLStateMachine.prototype["parse hostname"] = URLStateMachine.prototype["parse host"] = function parseHostName(c4, cStr) {
3416
3416
  if (this.stateOverride && this.url.scheme === "file") {
3417
3417
  --this.pointer;
3418
3418
  this.state = "file host";
3419
- } else if (c3 === p4(":") && !this.arrFlag) {
3419
+ } else if (c4 === p4(":") && !this.arrFlag) {
3420
3420
  if (this.buffer === "") {
3421
3421
  this.parseError = true;
3422
3422
  return failure;
@@ -3431,7 +3431,7 @@ var require_url_state_machine = __commonJS({
3431
3431
  this.url.host = host;
3432
3432
  this.buffer = "";
3433
3433
  this.state = "port";
3434
- } else if (isNaN(c3) || c3 === p4("/") || c3 === p4("?") || c3 === p4("#") || isSpecial(this.url) && c3 === p4("\\")) {
3434
+ } else if (isNaN(c4) || c4 === p4("/") || c4 === p4("?") || c4 === p4("#") || isSpecial(this.url) && c4 === p4("\\")) {
3435
3435
  --this.pointer;
3436
3436
  if (isSpecial(this.url) && this.buffer === "") {
3437
3437
  this.parseError = true;
@@ -3451,19 +3451,19 @@ var require_url_state_machine = __commonJS({
3451
3451
  return false;
3452
3452
  }
3453
3453
  } else {
3454
- if (c3 === p4("[")) {
3454
+ if (c4 === p4("[")) {
3455
3455
  this.arrFlag = true;
3456
- } else if (c3 === p4("]")) {
3456
+ } else if (c4 === p4("]")) {
3457
3457
  this.arrFlag = false;
3458
3458
  }
3459
3459
  this.buffer += cStr;
3460
3460
  }
3461
3461
  return true;
3462
3462
  };
3463
- URLStateMachine.prototype["parse port"] = function parsePort(c3, cStr) {
3464
- if (infra.isASCIIDigit(c3)) {
3463
+ URLStateMachine.prototype["parse port"] = function parsePort(c4, cStr) {
3464
+ if (infra.isASCIIDigit(c4)) {
3465
3465
  this.buffer += cStr;
3466
- } else if (isNaN(c3) || c3 === p4("/") || c3 === p4("?") || c3 === p4("#") || isSpecial(this.url) && c3 === p4("\\") || this.stateOverride) {
3466
+ } else if (isNaN(c4) || c4 === p4("/") || c4 === p4("?") || c4 === p4("#") || isSpecial(this.url) && c4 === p4("\\") || this.stateOverride) {
3467
3467
  if (this.buffer !== "") {
3468
3468
  const port = parseInt(this.buffer);
3469
3469
  if (port > 2 ** 16 - 1) {
@@ -3489,11 +3489,11 @@ var require_url_state_machine = __commonJS({
3489
3489
  const length = input.length - pointer;
3490
3490
  return length >= 2 && isWindowsDriveLetterCodePoints(input[pointer], input[pointer + 1]) && (length === 2 || fileOtherwiseCodePoints.has(input[pointer + 2]));
3491
3491
  }
3492
- URLStateMachine.prototype["parse file"] = function parseFile(c3) {
3492
+ URLStateMachine.prototype["parse file"] = function parseFile(c4) {
3493
3493
  this.url.scheme = "file";
3494
3494
  this.url.host = "";
3495
- if (c3 === p4("/") || c3 === p4("\\")) {
3496
- if (c3 === p4("\\")) {
3495
+ if (c4 === p4("/") || c4 === p4("\\")) {
3496
+ if (c4 === p4("\\")) {
3497
3497
  this.parseError = true;
3498
3498
  }
3499
3499
  this.state = "file slash";
@@ -3501,13 +3501,13 @@ var require_url_state_machine = __commonJS({
3501
3501
  this.url.host = this.base.host;
3502
3502
  this.url.path = this.base.path.slice();
3503
3503
  this.url.query = this.base.query;
3504
- if (c3 === p4("?")) {
3504
+ if (c4 === p4("?")) {
3505
3505
  this.url.query = "";
3506
3506
  this.state = "query";
3507
- } else if (c3 === p4("#")) {
3507
+ } else if (c4 === p4("#")) {
3508
3508
  this.url.fragment = "";
3509
3509
  this.state = "fragment";
3510
- } else if (!isNaN(c3)) {
3510
+ } else if (!isNaN(c4)) {
3511
3511
  this.url.query = null;
3512
3512
  if (!startsWithWindowsDriveLetter(this.input, this.pointer)) {
3513
3513
  shortenPath(this.url);
@@ -3524,9 +3524,9 @@ var require_url_state_machine = __commonJS({
3524
3524
  }
3525
3525
  return true;
3526
3526
  };
3527
- URLStateMachine.prototype["parse file slash"] = function parseFileSlash(c3) {
3528
- if (c3 === p4("/") || c3 === p4("\\")) {
3529
- if (c3 === p4("\\")) {
3527
+ URLStateMachine.prototype["parse file slash"] = function parseFileSlash(c4) {
3528
+ if (c4 === p4("/") || c4 === p4("\\")) {
3529
+ if (c4 === p4("\\")) {
3530
3530
  this.parseError = true;
3531
3531
  }
3532
3532
  this.state = "file host";
@@ -3542,8 +3542,8 @@ var require_url_state_machine = __commonJS({
3542
3542
  }
3543
3543
  return true;
3544
3544
  };
3545
- URLStateMachine.prototype["parse file host"] = function parseFileHost(c3, cStr) {
3546
- if (isNaN(c3) || c3 === p4("/") || c3 === p4("\\") || c3 === p4("?") || c3 === p4("#")) {
3545
+ URLStateMachine.prototype["parse file host"] = function parseFileHost(c4, cStr) {
3546
+ if (isNaN(c4) || c4 === p4("/") || c4 === p4("\\") || c4 === p4("?") || c4 === p4("#")) {
3547
3547
  --this.pointer;
3548
3548
  if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) {
3549
3549
  this.parseError = true;
@@ -3574,24 +3574,24 @@ var require_url_state_machine = __commonJS({
3574
3574
  }
3575
3575
  return true;
3576
3576
  };
3577
- URLStateMachine.prototype["parse path start"] = function parsePathStart(c3) {
3577
+ URLStateMachine.prototype["parse path start"] = function parsePathStart(c4) {
3578
3578
  if (isSpecial(this.url)) {
3579
- if (c3 === p4("\\")) {
3579
+ if (c4 === p4("\\")) {
3580
3580
  this.parseError = true;
3581
3581
  }
3582
3582
  this.state = "path";
3583
- if (c3 !== p4("/") && c3 !== p4("\\")) {
3583
+ if (c4 !== p4("/") && c4 !== p4("\\")) {
3584
3584
  --this.pointer;
3585
3585
  }
3586
- } else if (!this.stateOverride && c3 === p4("?")) {
3586
+ } else if (!this.stateOverride && c4 === p4("?")) {
3587
3587
  this.url.query = "";
3588
3588
  this.state = "query";
3589
- } else if (!this.stateOverride && c3 === p4("#")) {
3589
+ } else if (!this.stateOverride && c4 === p4("#")) {
3590
3590
  this.url.fragment = "";
3591
3591
  this.state = "fragment";
3592
- } else if (c3 !== void 0) {
3592
+ } else if (c4 !== void 0) {
3593
3593
  this.state = "path";
3594
- if (c3 !== p4("/")) {
3594
+ if (c4 !== p4("/")) {
3595
3595
  --this.pointer;
3596
3596
  }
3597
3597
  } else if (this.stateOverride && this.url.host === null) {
@@ -3599,17 +3599,17 @@ var require_url_state_machine = __commonJS({
3599
3599
  }
3600
3600
  return true;
3601
3601
  };
3602
- URLStateMachine.prototype["parse path"] = function parsePath(c3) {
3603
- if (isNaN(c3) || c3 === p4("/") || isSpecial(this.url) && c3 === p4("\\") || !this.stateOverride && (c3 === p4("?") || c3 === p4("#"))) {
3604
- if (isSpecial(this.url) && c3 === p4("\\")) {
3602
+ URLStateMachine.prototype["parse path"] = function parsePath(c4) {
3603
+ if (isNaN(c4) || c4 === p4("/") || isSpecial(this.url) && c4 === p4("\\") || !this.stateOverride && (c4 === p4("?") || c4 === p4("#"))) {
3604
+ if (isSpecial(this.url) && c4 === p4("\\")) {
3605
3605
  this.parseError = true;
3606
3606
  }
3607
3607
  if (isDoubleDot(this.buffer)) {
3608
3608
  shortenPath(this.url);
3609
- if (c3 !== p4("/") && !(isSpecial(this.url) && c3 === p4("\\"))) {
3609
+ if (c4 !== p4("/") && !(isSpecial(this.url) && c4 === p4("\\"))) {
3610
3610
  this.url.path.push("");
3611
3611
  }
3612
- } else if (isSingleDot(this.buffer) && c3 !== p4("/") && !(isSpecial(this.url) && c3 === p4("\\"))) {
3612
+ } else if (isSingleDot(this.buffer) && c4 !== p4("/") && !(isSpecial(this.url) && c4 === p4("\\"))) {
3613
3613
  this.url.path.push("");
3614
3614
  } else if (!isSingleDot(this.buffer)) {
3615
3615
  if (this.url.scheme === "file" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) {
@@ -3618,30 +3618,30 @@ var require_url_state_machine = __commonJS({
3618
3618
  this.url.path.push(this.buffer);
3619
3619
  }
3620
3620
  this.buffer = "";
3621
- if (c3 === p4("?")) {
3621
+ if (c4 === p4("?")) {
3622
3622
  this.url.query = "";
3623
3623
  this.state = "query";
3624
3624
  }
3625
- if (c3 === p4("#")) {
3625
+ if (c4 === p4("#")) {
3626
3626
  this.url.fragment = "";
3627
3627
  this.state = "fragment";
3628
3628
  }
3629
3629
  } else {
3630
- if (c3 === p4("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) || !infra.isASCIIHex(this.input[this.pointer + 2]))) {
3630
+ if (c4 === p4("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) || !infra.isASCIIHex(this.input[this.pointer + 2]))) {
3631
3631
  this.parseError = true;
3632
3632
  }
3633
- this.buffer += utf8PercentEncodeCodePoint(c3, isPathPercentEncode);
3633
+ this.buffer += utf8PercentEncodeCodePoint(c4, isPathPercentEncode);
3634
3634
  }
3635
3635
  return true;
3636
3636
  };
3637
- URLStateMachine.prototype["parse opaque path"] = function parseOpaquePath(c3) {
3638
- if (c3 === p4("?")) {
3637
+ URLStateMachine.prototype["parse opaque path"] = function parseOpaquePath(c4) {
3638
+ if (c4 === p4("?")) {
3639
3639
  this.url.query = "";
3640
3640
  this.state = "query";
3641
- } else if (c3 === p4("#")) {
3641
+ } else if (c4 === p4("#")) {
3642
3642
  this.url.fragment = "";
3643
3643
  this.state = "fragment";
3644
- } else if (c3 === p4(" ")) {
3644
+ } else if (c4 === p4(" ")) {
3645
3645
  const remaining = this.input[this.pointer + 1];
3646
3646
  if (remaining === p4("?") || remaining === p4("#")) {
3647
3647
  this.url.path += "%20";
@@ -3649,44 +3649,44 @@ var require_url_state_machine = __commonJS({
3649
3649
  this.url.path += " ";
3650
3650
  }
3651
3651
  } else {
3652
- if (!isNaN(c3) && c3 !== p4("%")) {
3652
+ if (!isNaN(c4) && c4 !== p4("%")) {
3653
3653
  this.parseError = true;
3654
3654
  }
3655
- if (c3 === p4("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) || !infra.isASCIIHex(this.input[this.pointer + 2]))) {
3655
+ if (c4 === p4("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) || !infra.isASCIIHex(this.input[this.pointer + 2]))) {
3656
3656
  this.parseError = true;
3657
3657
  }
3658
- if (!isNaN(c3)) {
3659
- this.url.path += utf8PercentEncodeCodePoint(c3, isC0ControlPercentEncode);
3658
+ if (!isNaN(c4)) {
3659
+ this.url.path += utf8PercentEncodeCodePoint(c4, isC0ControlPercentEncode);
3660
3660
  }
3661
3661
  }
3662
3662
  return true;
3663
3663
  };
3664
- URLStateMachine.prototype["parse query"] = function parseQuery(c3, cStr) {
3664
+ URLStateMachine.prototype["parse query"] = function parseQuery(c4, cStr) {
3665
3665
  if (!isSpecial(this.url) || this.url.scheme === "ws" || this.url.scheme === "wss") {
3666
3666
  this.encodingOverride = "utf-8";
3667
3667
  }
3668
- if (!this.stateOverride && c3 === p4("#") || isNaN(c3)) {
3668
+ if (!this.stateOverride && c4 === p4("#") || isNaN(c4)) {
3669
3669
  const queryPercentEncodePredicate = isSpecial(this.url) ? isSpecialQueryPercentEncode : isQueryPercentEncode;
3670
3670
  this.url.query += utf8PercentEncodeString(this.buffer, queryPercentEncodePredicate);
3671
3671
  this.buffer = "";
3672
- if (c3 === p4("#")) {
3672
+ if (c4 === p4("#")) {
3673
3673
  this.url.fragment = "";
3674
3674
  this.state = "fragment";
3675
3675
  }
3676
- } else if (!isNaN(c3)) {
3677
- if (c3 === p4("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) || !infra.isASCIIHex(this.input[this.pointer + 2]))) {
3676
+ } else if (!isNaN(c4)) {
3677
+ if (c4 === p4("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) || !infra.isASCIIHex(this.input[this.pointer + 2]))) {
3678
3678
  this.parseError = true;
3679
3679
  }
3680
3680
  this.buffer += cStr;
3681
3681
  }
3682
3682
  return true;
3683
3683
  };
3684
- URLStateMachine.prototype["parse fragment"] = function parseFragment(c3) {
3685
- if (!isNaN(c3)) {
3686
- if (c3 === p4("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) || !infra.isASCIIHex(this.input[this.pointer + 2]))) {
3684
+ URLStateMachine.prototype["parse fragment"] = function parseFragment(c4) {
3685
+ if (!isNaN(c4)) {
3686
+ if (c4 === p4("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) || !infra.isASCIIHex(this.input[this.pointer + 2]))) {
3687
3687
  this.parseError = true;
3688
3688
  }
3689
- this.url.fragment += utf8PercentEncodeCodePoint(c3, isFragmentPercentEncode);
3689
+ this.url.fragment += utf8PercentEncodeCodePoint(c4, isFragmentPercentEncode);
3690
3690
  }
3691
3691
  return true;
3692
3692
  };
@@ -6366,7 +6366,7 @@ function n(e3, t2) {
6366
6366
  function u2(e3) {
6367
6367
  return new a3(e3);
6368
6368
  }
6369
- function c2(e3) {
6369
+ function c3(e3) {
6370
6370
  return l2(e3);
6371
6371
  }
6372
6372
  function d6(e3) {
@@ -6396,7 +6396,7 @@ function g3(e3, t2, r3) {
6396
6396
  }
6397
6397
  function w6(e3, t2, r3) {
6398
6398
  try {
6399
- return c2(g3(e3, t2, r3));
6399
+ return c3(g3(e3, t2, r3));
6400
6400
  } catch (e4) {
6401
6401
  return d6(e4);
6402
6402
  }
@@ -6496,7 +6496,7 @@ function G5(e3, t2, r3) {
6496
6496
  function X4(e3) {
6497
6497
  return e3._reader._readRequests.length;
6498
6498
  }
6499
- function J4(e3) {
6499
+ function J5(e3) {
6500
6500
  const t2 = e3._reader;
6501
6501
  return void 0 !== t2 && !!K5(t2);
6502
6502
  }
@@ -6559,7 +6559,7 @@ function be(e3) {
6559
6559
  if ("readable" !== t3._state) return false;
6560
6560
  if (e4._closeRequested) return false;
6561
6561
  if (!e4._started) return false;
6562
- if (J4(t3) && X4(t3) > 0) return true;
6562
+ if (J5(t3) && X4(t3) > 0) return true;
6563
6563
  if (Le(t3) && ze(t3) > 0) return true;
6564
6564
  if (ke(e4) > 0) return true;
6565
6565
  return false;
@@ -6670,11 +6670,11 @@ function Oe(e3, t2, r3) {
6670
6670
  const o3 = Object.create(ReadableByteStreamController.prototype);
6671
6671
  let n2, a4, i3;
6672
6672
  n2 = void 0 !== t2.start ? () => t2.start(o3) : () => {
6673
- }, a4 = void 0 !== t2.pull ? () => t2.pull(o3) : () => c2(void 0), i3 = void 0 !== t2.cancel ? (e4) => t2.cancel(e4) : () => c2(void 0);
6673
+ }, a4 = void 0 !== t2.pull ? () => t2.pull(o3) : () => c3(void 0), i3 = void 0 !== t2.cancel ? (e4) => t2.cancel(e4) : () => c3(void 0);
6674
6674
  const l3 = t2.autoAllocateChunkSize;
6675
6675
  if (0 === l3) throw new TypeError("autoAllocateChunkSize must be greater than 0");
6676
6676
  !function(e4, t3, r4, o4, n3, a5, i4) {
6677
- t3._controlledReadableByteStream = e4, t3._pullAgain = false, t3._pulling = false, t3._byobRequest = null, t3._queue = t3._queueTotalSize = void 0, ce2(t3), t3._closeRequested = false, t3._started = false, t3._strategyHWM = a5, t3._pullAlgorithm = o4, t3._cancelAlgorithm = n3, t3._autoAllocateChunkSize = i4, t3._pendingPullIntos = new S5(), e4._readableStreamController = t3, b6(c2(r4()), () => (t3._started = true, be(t3), null), (e5) => (Pe(t3, e5), null));
6677
+ t3._controlledReadableByteStream = e4, t3._pullAgain = false, t3._pulling = false, t3._byobRequest = null, t3._queue = t3._queueTotalSize = void 0, ce2(t3), t3._closeRequested = false, t3._started = false, t3._strategyHWM = a5, t3._pullAlgorithm = o4, t3._cancelAlgorithm = n3, t3._autoAllocateChunkSize = i4, t3._pendingPullIntos = new S5(), e4._readableStreamController = t3, b6(c3(r4()), () => (t3._started = true, be(t3), null), (e5) => (Pe(t3, e5), null));
6678
6678
  }(e3, o3, n2, a4, i3, r3, l3);
6679
6679
  }
6680
6680
  function Be(e3) {
@@ -6743,10 +6743,10 @@ function Xe(e3) {
6743
6743
  }
6744
6744
  function Je(e3, t2) {
6745
6745
  var r3;
6746
- if ("closed" === e3._state || "errored" === e3._state) return c2(void 0);
6746
+ if ("closed" === e3._state || "errored" === e3._state) return c3(void 0);
6747
6747
  e3._writableStreamController._abortReason = t2, null === (r3 = e3._writableStreamController._abortController) || void 0 === r3 || r3.abort(t2);
6748
6748
  const o3 = e3._state;
6749
- if ("closed" === o3 || "errored" === o3) return c2(void 0);
6749
+ if ("closed" === o3 || "errored" === o3) return c3(void 0);
6750
6750
  if (void 0 !== e3._pendingAbortRequest) return e3._pendingAbortRequest._promise;
6751
6751
  let n2 = false;
6752
6752
  "erroring" === o3 && (n2 = true, t2 = void 0);
@@ -6926,7 +6926,7 @@ function kt(e3, t2, r3, o3, n2, a4) {
6926
6926
  const e4 = u2((e5, t3) => {
6927
6927
  !function r4(o4) {
6928
6928
  o4 ? e5() : f3(function() {
6929
- if (w7) return c2(true);
6929
+ if (w7) return c3(true);
6930
6930
  return f3(l3.ready, () => f3(i3.read(), (e6) => !!e6.done || (E4 = l3.write(e6.value), m4(E4), false)));
6931
6931
  }(), r4, t3);
6932
6932
  }(false);
@@ -6934,7 +6934,7 @@ function kt(e3, t2, r3, o3, n2, a4) {
6934
6934
  m4(e4);
6935
6935
  }
6936
6936
  function B3() {
6937
- return v5 = "closed", r3 ? L7() : z6(() => (Ge(t2) && (T6 = rt(t2), R7 = t2._state), T6 || "closed" === R7 ? c2(void 0) : "erroring" === R7 || "errored" === R7 ? d6(_7) : (T6 = true, l3.close())), false, void 0), null;
6937
+ return v5 = "closed", r3 ? L7() : z6(() => (Ge(t2) && (T6 = rt(t2), R7 = t2._state), T6 || "closed" === R7 ? c3(void 0) : "erroring" === R7 || "errored" === R7 ? d6(_7) : (T6 = true, l3.close())), false, void 0), null;
6938
6938
  }
6939
6939
  function A5(e4) {
6940
6940
  return w7 || (v5 = "errored", s2 = e4, o3 ? L7(true, e4) : z6(() => l3.abort(e4), true, e4)), null;
@@ -6944,7 +6944,7 @@ function kt(e3, t2, r3, o3, n2, a4) {
6944
6944
  }
6945
6945
  if (void 0 !== a4 && (k7 = () => {
6946
6946
  const e4 = void 0 !== a4.reason ? a4.reason : new Wt("Aborted", "AbortError"), t3 = [];
6947
- o3 || t3.push(() => "writable" === R7 ? l3.abort(e4) : c2(void 0)), n2 || t3.push(() => "readable" === v5 ? i3.cancel(e4) : c2(void 0)), z6(() => Promise.all(t3.map((e5) => e5())), true, e4);
6947
+ o3 || t3.push(() => "writable" === R7 ? l3.abort(e4) : c3(void 0)), n2 || t3.push(() => "readable" === v5 ? i3.cancel(e4) : c3(void 0)), z6(() => Promise.all(t3.map((e5) => e5())), true, e4);
6948
6948
  }, a4.aborted ? k7() : a4.addEventListener("abort", k7)), Vt(e3) && (v5 = e3._state, s2 = e3._storedError), Ge(t2) && (R7 = t2._state, _7 = t2._storedError, T6 = rt(t2)), Vt(e3) && Ge(t2) && (q6 = true, g4()), "errored" === v5) A5(s2);
6949
6949
  else if ("erroring" === R7 || "errored" === R7) j4(_7);
6950
6950
  else if ("closed" === v5) B3();
@@ -6956,7 +6956,7 @@ function kt(e3, t2, r3, o3, n2, a4) {
6956
6956
  function o4() {
6957
6957
  return "writable" !== R7 || T6 ? n3() : h3(function() {
6958
6958
  let e5;
6959
- return c2(function t4() {
6959
+ return c3(function t4() {
6960
6960
  if (e5 !== E4) return e5 = E4, p3(E4, t4, t4);
6961
6961
  }());
6962
6962
  }(), n3), null;
@@ -6999,26 +6999,26 @@ function Ot(e3, t2) {
6999
6999
  var t4, r4;
7000
7000
  if (d7 = false, f4 = false, e5.done) return h4 || o3.close(), p4 || n2.close(), null === (t4 = o3.byobRequest) || void 0 === t4 || t4.respond(0), null === (r4 = n2.byobRequest) || void 0 === r4 || r4.respond(0), h4 && p4 || a4(void 0), null;
7001
7001
  const l4 = e5.value, u3 = l4;
7002
- let c3 = l4;
7002
+ let c4 = l4;
7003
7003
  if (!h4 && !p4) try {
7004
- c3 = le2(l4);
7004
+ c4 = le2(l4);
7005
7005
  } catch (e6) {
7006
7006
  return o3.error(e6), n2.error(e6), a4(i3.cancel(e6)), null;
7007
7007
  }
7008
- return h4 || o3.enqueue(u3), p4 || n2.enqueue(c3), s2 = false, d7 ? S6() : f4 && v5(), null;
7008
+ return h4 || o3.enqueue(u3), p4 || n2.enqueue(c4), s2 = false, d7 ? S6() : f4 && v5(), null;
7009
7009
  }, () => (s2 = false, null));
7010
7010
  }
7011
7011
  function w7(t4, r4) {
7012
7012
  l3 || (i3.releaseLock(), i3 = e4.getReader({ mode: "byob" }), y6(i3), l3 = true);
7013
- const u3 = r4 ? n2 : o3, c3 = r4 ? o3 : n2;
7013
+ const u3 = r4 ? n2 : o3, c4 = r4 ? o3 : n2;
7014
7014
  b6(i3.read(t4), (e5) => {
7015
7015
  var t5;
7016
7016
  d7 = false, f4 = false;
7017
7017
  const o4 = r4 ? p4 : h4, n3 = r4 ? h4 : p4;
7018
7018
  if (e5.done) {
7019
- o4 || u3.close(), n3 || c3.close();
7019
+ o4 || u3.close(), n3 || c4.close();
7020
7020
  const r5 = e5.value;
7021
- return void 0 !== r5 && (o4 || u3.byobRequest.respondWithNewView(r5), n3 || null === (t5 = c3.byobRequest) || void 0 === t5 || t5.respond(0)), o4 && n3 || a4(void 0), null;
7021
+ return void 0 !== r5 && (o4 || u3.byobRequest.respondWithNewView(r5), n3 || null === (t5 = c4.byobRequest) || void 0 === t5 || t5.respond(0)), o4 && n3 || a4(void 0), null;
7022
7022
  }
7023
7023
  const l4 = e5.value;
7024
7024
  if (n3) o4 || u3.byobRequest.respondWithNewView(l4);
@@ -7027,24 +7027,24 @@ function Ot(e3, t2) {
7027
7027
  try {
7028
7028
  e6 = le2(l4);
7029
7029
  } catch (e7) {
7030
- return u3.error(e7), c3.error(e7), a4(i3.cancel(e7)), null;
7030
+ return u3.error(e7), c4.error(e7), a4(i3.cancel(e7)), null;
7031
7031
  }
7032
- o4 || u3.byobRequest.respondWithNewView(l4), c3.enqueue(e6);
7032
+ o4 || u3.byobRequest.respondWithNewView(l4), c4.enqueue(e6);
7033
7033
  }
7034
7034
  return s2 = false, d7 ? S6() : f4 && v5(), null;
7035
7035
  }, () => (s2 = false, null));
7036
7036
  }
7037
7037
  function S6() {
7038
- if (s2) return d7 = true, c2(void 0);
7038
+ if (s2) return d7 = true, c3(void 0);
7039
7039
  s2 = true;
7040
7040
  const e5 = o3.byobRequest;
7041
- return null === e5 ? g4() : w7(e5.view, false), c2(void 0);
7041
+ return null === e5 ? g4() : w7(e5.view, false), c3(void 0);
7042
7042
  }
7043
7043
  function v5() {
7044
- if (s2) return f4 = true, c2(void 0);
7044
+ if (s2) return f4 = true, c3(void 0);
7045
7045
  s2 = true;
7046
7046
  const e5 = n2.byobRequest;
7047
- return null === e5 ? g4() : w7(e5.view, true), c2(void 0);
7047
+ return null === e5 ? g4() : w7(e5.view, true), c3(void 0);
7048
7048
  }
7049
7049
  function R7(e5) {
7050
7050
  if (h4 = true, t3 = e5, p4) {
@@ -7073,11 +7073,11 @@ function Ot(e3, t2) {
7073
7073
  l3 = e5;
7074
7074
  });
7075
7075
  function m5() {
7076
- return s2 ? (d7 = true, c2(void 0)) : (s2 = true, b6(r3.read(), (e5) => {
7076
+ return s2 ? (d7 = true, c3(void 0)) : (s2 = true, b6(r3.read(), (e5) => {
7077
7077
  if (d7 = false, e5.done) return f4 || a4.close(), h4 || i3.close(), f4 && h4 || l3(void 0), null;
7078
7078
  const t4 = e5.value, r4 = t4, o4 = t4;
7079
7079
  return f4 || a4.enqueue(r4), h4 || i3.enqueue(o4), s2 = false, d7 && m5(), null;
7080
- }, () => (s2 = false, null)), c2(void 0));
7080
+ }, () => (s2 = false, null)), c3(void 0));
7081
7081
  }
7082
7082
  function y6(e5) {
7083
7083
  if (f4 = true, o3 = e5, h4) {
@@ -7136,8 +7136,8 @@ function It(e3, t2, r3, o3) {
7136
7136
  const n2 = Object.create(ReadableStreamDefaultController.prototype);
7137
7137
  let a4, i3, l3;
7138
7138
  a4 = void 0 !== t2.start ? () => t2.start(n2) : () => {
7139
- }, i3 = void 0 !== t2.pull ? () => t2.pull(n2) : () => c2(void 0), l3 = void 0 !== t2.cancel ? (e4) => t2.cancel(e4) : () => c2(void 0), function(e4, t3, r4, o4, n3, a5, i4) {
7140
- t3._controlledReadableStream = e4, t3._queue = void 0, t3._queueTotalSize = void 0, ce2(t3), t3._started = false, t3._closeRequested = false, t3._pullAgain = false, t3._pulling = false, t3._strategySizeAlgorithm = i4, t3._strategyHWM = a5, t3._pullAlgorithm = o4, t3._cancelAlgorithm = n3, e4._readableStreamController = t3, b6(c2(r4()), () => (t3._started = true, At(t3), null), (e5) => (zt(t3, e5), null));
7139
+ }, i3 = void 0 !== t2.pull ? () => t2.pull(n2) : () => c3(void 0), l3 = void 0 !== t2.cancel ? (e4) => t2.cancel(e4) : () => c3(void 0), function(e4, t3, r4, o4, n3, a5, i4) {
7140
+ t3._controlledReadableStream = e4, t3._queue = void 0, t3._queueTotalSize = void 0, ce2(t3), t3._started = false, t3._closeRequested = false, t3._pullAgain = false, t3._pulling = false, t3._strategySizeAlgorithm = i4, t3._strategyHWM = a5, t3._pullAlgorithm = o4, t3._cancelAlgorithm = n3, e4._readableStreamController = t3, b6(c3(r4()), () => (t3._started = true, At(t3), null), (e5) => (zt(t3, e5), null));
7141
7141
  }(e3, n2, a4, i3, l3, r3, o3);
7142
7142
  }
7143
7143
  function Dt(e3) {
@@ -7192,7 +7192,7 @@ function Ut(e3) {
7192
7192
  return void 0 !== e3._reader;
7193
7193
  }
7194
7194
  function Gt(e3, r3) {
7195
- if (e3._disturbed = true, "closed" === e3._state) return c2(void 0);
7195
+ if (e3._disturbed = true, "closed" === e3._state) return c3(void 0);
7196
7196
  if ("errored" === e3._state) return d6(e3._storedError);
7197
7197
  Xt(e3);
7198
7198
  const o3 = e3._reader;
@@ -7345,7 +7345,7 @@ var init_ponyfill = __esm({
7345
7345
  y5 = (e3) => {
7346
7346
  if ("function" == typeof queueMicrotask) y5 = queueMicrotask;
7347
7347
  else {
7348
- const e4 = c2(void 0);
7348
+ const e4 = c3(void 0);
7349
7349
  y5 = (t2) => f3(e4, t2);
7350
7350
  }
7351
7351
  return y5(e3);
@@ -7455,7 +7455,7 @@ var init_ponyfill = __esm({
7455
7455
  const r3 = t2.cancel(e3);
7456
7456
  return t2.releaseLock(), p3(r3, () => ({ value: e3, done: true }));
7457
7457
  }
7458
- return t2.releaseLock(), c2({ value: e3, done: true });
7458
+ return t2.releaseLock(), c3({ value: e3, done: true });
7459
7459
  }
7460
7460
  };
7461
7461
  re2 = { next() {
@@ -7563,7 +7563,7 @@ var init_ponyfill = __esm({
7563
7563
  const t4 = e4._pendingPullIntos.peek();
7564
7564
  t4.buffer, 0, Re(e4), t4.buffer = t4.buffer, "none" === t4.readerType && ge(e4, t4);
7565
7565
  }
7566
- if (J4(r3)) if (function(e5) {
7566
+ if (J5(r3)) if (function(e5) {
7567
7567
  const t4 = e5._controlledReadableByteStream._reader;
7568
7568
  for (; t4._readRequests.length > 0; ) {
7569
7569
  if (0 === e5._queueTotalSize) return;
@@ -7688,9 +7688,9 @@ var init_ponyfill = __esm({
7688
7688
  let a5, i3, l3, s2;
7689
7689
  a5 = void 0 !== t3.start ? () => t3.start(n3) : () => {
7690
7690
  };
7691
- i3 = void 0 !== t3.write ? (e5) => t3.write(e5, n3) : () => c2(void 0);
7692
- l3 = void 0 !== t3.close ? () => t3.close() : () => c2(void 0);
7693
- s2 = void 0 !== t3.abort ? (e5) => t3.abort(e5) : () => c2(void 0);
7691
+ i3 = void 0 !== t3.write ? (e5) => t3.write(e5, n3) : () => c3(void 0);
7692
+ l3 = void 0 !== t3.close ? () => t3.close() : () => c3(void 0);
7693
+ s2 = void 0 !== t3.abort ? (e5) => t3.abort(e5) : () => c3(void 0);
7694
7694
  !function(e5, t4, r5, o5, n4, a6, i4, l4) {
7695
7695
  t4._controlledWritableStream = e5, e5._writableStreamController = t4, t4._queue = void 0, t4._queueTotalSize = void 0, ce2(t4), t4._abortReason = void 0, t4._abortController = function() {
7696
7696
  if (Ue) return new AbortController();
@@ -7698,7 +7698,7 @@ var init_ponyfill = __esm({
7698
7698
  const s3 = bt(t4);
7699
7699
  nt(e5, s3);
7700
7700
  const u3 = r5();
7701
- b6(c2(u3), () => (t4._started = true, dt(t4), null), (r6) => (t4._started = true, Ze(e5, r6), null));
7701
+ b6(c3(u3), () => (t4._started = true, dt(t4), null), (r6) => (t4._started = true, Ze(e5, r6), null));
7702
7702
  }(e4, n3, a5, i3, l3, s2, r4, o4);
7703
7703
  }(this, o3, $e(r3, 1), a4);
7704
7704
  }
@@ -8042,7 +8042,7 @@ var init_ponyfill = __esm({
8042
8042
  }
8043
8043
  function s3(t4) {
8044
8044
  return function(e5, t5) {
8045
- return cr(e5, t5), c2(void 0);
8045
+ return cr(e5, t5), c3(void 0);
8046
8046
  }(e4, t4);
8047
8047
  }
8048
8048
  function u3() {
@@ -8062,7 +8062,7 @@ var init_ponyfill = __esm({
8062
8062
  }(e4);
8063
8063
  }
8064
8064
  function f5(t4) {
8065
- return dr(e4, t4), c2(void 0);
8065
+ return dr(e4, t4), c3(void 0);
8066
8066
  }
8067
8067
  e4._writableState = "writable", e4._writableStoredError = void 0, e4._writableHasInFlightOperation = false, e4._writableStarted = false, e4._writable = function(e5, t4, r5, o5, n4, a6, i5) {
8068
8068
  return new WritableStream({ start(r6) {
@@ -8110,12 +8110,12 @@ var init_ponyfill = __esm({
8110
8110
  let o4, n3;
8111
8111
  o4 = void 0 !== t3.transform ? (e5) => t3.transform(e5, r4) : (e5) => {
8112
8112
  try {
8113
- return _r(r4, e5), c2(void 0);
8113
+ return _r(r4, e5), c3(void 0);
8114
8114
  } catch (e6) {
8115
8115
  return d6(e6);
8116
8116
  }
8117
8117
  };
8118
- n3 = void 0 !== t3.flush ? () => t3.flush(r4) : () => c2(void 0);
8118
+ n3 = void 0 !== t3.flush ? () => t3.flush(r4) : () => c3(void 0);
8119
8119
  !function(e5, t4, r5, o5) {
8120
8120
  t4._controlledTransformStream = e5, e5._transformStreamController = t4, t4._transformAlgorithm = r5, t4._flushAlgorithm = o5;
8121
8121
  }(e4, r4, o4, n3);
@@ -23779,8 +23779,8 @@ var require_browser = __commonJS({
23779
23779
  if (!this.useColors) {
23780
23780
  return;
23781
23781
  }
23782
- const c3 = "color: " + this.color;
23783
- args.splice(1, 0, c3, "color: inherit");
23782
+ const c4 = "color: " + this.color;
23783
+ args.splice(1, 0, c4, "color: inherit");
23784
23784
  let index = 0;
23785
23785
  let lastC = 0;
23786
23786
  args[0].replace(/%[a-zA-Z%]/g, (match) => {
@@ -23792,7 +23792,7 @@ var require_browser = __commonJS({
23792
23792
  lastC = index;
23793
23793
  }
23794
23794
  });
23795
- args.splice(lastC, 0, c3);
23795
+ args.splice(lastC, 0, c4);
23796
23796
  }
23797
23797
  exports2.log = console.debug || console.log || (() => {
23798
23798
  });
@@ -24076,8 +24076,8 @@ var require_node = __commonJS({
24076
24076
  function formatArgs(args) {
24077
24077
  const { namespace: name, useColors: useColors2 } = this;
24078
24078
  if (useColors2) {
24079
- const c3 = this.color;
24080
- const colorCode = "\x1B[3" + (c3 < 8 ? c3 : "8;5;" + c3);
24079
+ const c4 = this.color;
24080
+ const colorCode = "\x1B[3" + (c4 < 8 ? c4 : "8;5;" + c4);
24081
24081
  const prefix = ` ${colorCode};1m${name} \x1B[0m`;
24082
24082
  args[0] = prefix + args[0].split("\n").join("\n" + prefix);
24083
24083
  args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
@@ -26820,8 +26820,8 @@ var require_object_inspect = __commonJS({
26820
26820
  var s2 = $replace.call($replace.call(str2, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, lowbyte);
26821
26821
  return wrapQuotes(s2, "single", opts);
26822
26822
  }
26823
- function lowbyte(c3) {
26824
- var n2 = c3.charCodeAt(0);
26823
+ function lowbyte(c4) {
26824
+ var n2 = c4.charCodeAt(0);
26825
26825
  var x5 = {
26826
26826
  8: "b",
26827
26827
  9: "t",
@@ -27182,26 +27182,26 @@ var require_utils2 = __commonJS({
27182
27182
  var segment = string.length >= limit ? string.slice(j4, j4 + limit) : string;
27183
27183
  var arr = [];
27184
27184
  for (var i3 = 0; i3 < segment.length; ++i3) {
27185
- var c3 = segment.charCodeAt(i3);
27186
- if (c3 === 45 || c3 === 46 || c3 === 95 || c3 === 126 || c3 >= 48 && c3 <= 57 || c3 >= 65 && c3 <= 90 || c3 >= 97 && c3 <= 122 || format === formats.RFC1738 && (c3 === 40 || c3 === 41)) {
27185
+ var c4 = segment.charCodeAt(i3);
27186
+ if (c4 === 45 || c4 === 46 || c4 === 95 || c4 === 126 || c4 >= 48 && c4 <= 57 || c4 >= 65 && c4 <= 90 || c4 >= 97 && c4 <= 122 || format === formats.RFC1738 && (c4 === 40 || c4 === 41)) {
27187
27187
  arr[arr.length] = segment.charAt(i3);
27188
27188
  continue;
27189
27189
  }
27190
- if (c3 < 128) {
27191
- arr[arr.length] = hexTable[c3];
27190
+ if (c4 < 128) {
27191
+ arr[arr.length] = hexTable[c4];
27192
27192
  continue;
27193
27193
  }
27194
- if (c3 < 2048) {
27195
- arr[arr.length] = hexTable[192 | c3 >> 6] + hexTable[128 | c3 & 63];
27194
+ if (c4 < 2048) {
27195
+ arr[arr.length] = hexTable[192 | c4 >> 6] + hexTable[128 | c4 & 63];
27196
27196
  continue;
27197
27197
  }
27198
- if (c3 < 55296 || c3 >= 57344) {
27199
- arr[arr.length] = hexTable[224 | c3 >> 12] + hexTable[128 | c3 >> 6 & 63] + hexTable[128 | c3 & 63];
27198
+ if (c4 < 55296 || c4 >= 57344) {
27199
+ arr[arr.length] = hexTable[224 | c4 >> 12] + hexTable[128 | c4 >> 6 & 63] + hexTable[128 | c4 & 63];
27200
27200
  continue;
27201
27201
  }
27202
27202
  i3 += 1;
27203
- c3 = 65536 + ((c3 & 1023) << 10 | segment.charCodeAt(i3) & 1023);
27204
- arr[arr.length] = hexTable[240 | c3 >> 18] + hexTable[128 | c3 >> 12 & 63] + hexTable[128 | c3 >> 6 & 63] + hexTable[128 | c3 & 63];
27203
+ c4 = 65536 + ((c4 & 1023) << 10 | segment.charCodeAt(i3) & 1023);
27204
+ arr[arr.length] = hexTable[240 | c4 >> 18] + hexTable[128 | c4 >> 12 & 63] + hexTable[128 | c4 >> 6 & 63] + hexTable[128 | c4 & 63];
27205
27205
  }
27206
27206
  out += arr.join("");
27207
27207
  }
@@ -32184,7 +32184,7 @@ var require_base64 = __commonJS({
32184
32184
  return btoa(String.fromCodePoint(...u8arr));
32185
32185
  }
32186
32186
  function bytesFromBase64(encoded) {
32187
- return Uint8Array.from(atob(encoded), (c3) => c3.charCodeAt(0));
32187
+ return Uint8Array.from(atob(encoded), (c4) => c4.charCodeAt(0));
32188
32188
  }
32189
32189
  function stringToBytes(str2) {
32190
32190
  return new TextEncoder().encode(str2);
@@ -47085,10 +47085,10 @@ var $ = (t2, { onFlag: n2, onArgument: r3 }) => {
47085
47085
  if (a4) {
47086
47086
  if (o3(), !n2) continue;
47087
47087
  const [l3, f4, g4] = a4;
47088
- if (g4) for (let c3 = 0; c3 < l3.length; c3 += 1) {
47088
+ if (g4) for (let c4 = 0; c4 < l3.length; c4 += 1) {
47089
47089
  o3();
47090
- const u3 = c3 === l3.length - 1;
47091
- e3 = n2(l3[c3], u3 ? f4 : void 0, [s2, c3 + 1, u3]);
47090
+ const u3 = c4 === l3.length - 1;
47091
+ e3 = n2(l3[c4], u3 ? f4 : void 0, [s2, c4 + 1, u3]);
47092
47092
  }
47093
47093
  else e3 = n2(l3, f4, [s2]);
47094
47094
  } else o3(i3, [s2]) && r3?.([i3], [s2]);
@@ -47114,8 +47114,8 @@ var U = (t2, n2 = process.argv.slice(2), { ignore: r3 } = {}) => {
47114
47114
  const g4 = w(o3, a4);
47115
47115
  if (!r3?.(g4 ? V : k, a4, l3)) {
47116
47116
  if (g4) {
47117
- const [c3, u3] = o3[a4], y6 = d(u3, l3), p4 = (P4, A5) => {
47118
- e3.push(f4), A5 && e3.push(A5), c3.push(m(u3, P4 || ""));
47117
+ const [c4, u3] = o3[a4], y6 = d(u3, l3), p4 = (P4, A5) => {
47118
+ e3.push(f4), A5 && e3.push(A5), c4.push(m(u3, P4 || ""));
47119
47119
  };
47120
47120
  return y6 === void 0 ? p4 : p4(y6);
47121
47121
  }
@@ -47621,19 +47621,19 @@ function x2(t2, e3, r3, n2) {
47621
47621
  console.log(e3.version);
47622
47622
  };
47623
47623
  if (i3 && l3.flags.version === true) return f4(), process.exit(0);
47624
- const p4 = new M2(), O5 = o3 && s2?.render ? s2.render : (c3) => p4.render(c3), u3 = (c3) => {
47625
- const m5 = U3({ ...e3, ...c3 ? { help: c3 } : {}, flags: a4 });
47624
+ const p4 = new M2(), O5 = o3 && s2?.render ? s2.render : (c4) => p4.render(c4), u3 = (c4) => {
47625
+ const m5 = U3({ ...e3, ...c4 ? { help: c4 } : {}, flags: a4 });
47626
47626
  console.log(O5(m5, p4));
47627
47627
  };
47628
47628
  if (o3 && l3.flags.help === true) return u3(), process.exit(0);
47629
47629
  if (e3.parameters) {
47630
- let { parameters: c3 } = e3, m5 = l3._;
47631
- const g4 = c3.indexOf("--"), v5 = c3.slice(g4 + 1), h4 = /* @__PURE__ */ Object.create(null);
47630
+ let { parameters: c4 } = e3, m5 = l3._;
47631
+ const g4 = c4.indexOf("--"), v5 = c4.slice(g4 + 1), h4 = /* @__PURE__ */ Object.create(null);
47632
47632
  if (g4 > -1 && v5.length > 0) {
47633
- c3 = c3.slice(0, g4);
47633
+ c4 = c4.slice(0, g4);
47634
47634
  const E4 = l3._["--"];
47635
- m5 = m5.slice(0, -E4.length || void 0), b3(h4, w3(c3), m5, u3), b3(h4, w3(v5), E4, u3);
47636
- } else b3(h4, w3(c3), m5, u3);
47635
+ m5 = m5.slice(0, -E4.length || void 0), b3(h4, w3(c4), m5, u3), b3(h4, w3(v5), E4, u3);
47636
+ } else b3(h4, w3(c4), m5, u3);
47637
47637
  Object.assign(l3._, h4);
47638
47638
  }
47639
47639
  const $6 = { ...l3, showVersion: f4, showHelp: u3 };
@@ -47672,7 +47672,7 @@ function G3(t2, e3) {
47672
47672
  // package.json
47673
47673
  var package_default = {
47674
47674
  name: "opencommit",
47675
- version: "3.2.9",
47675
+ version: "3.2.10",
47676
47676
  description: "Auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}",
47677
47677
  keywords: [
47678
47678
  "git",
@@ -47723,6 +47723,7 @@ var package_default = {
47723
47723
  "deploy:patch": "npm version patch && npm run deploy:build",
47724
47724
  lint: "eslint src --ext ts && tsc --noEmit",
47725
47725
  format: "prettier --write src",
47726
+ "format:check": "prettier --check src",
47726
47727
  test: "node --no-warnings --experimental-vm-modules $( [ -f ./node_modules/.bin/jest ] && echo ./node_modules/.bin/jest || which jest ) test/unit",
47727
47728
  "test:all": "npm run test:unit:docker && npm run test:e2e:docker",
47728
47729
  "test:docker-build": "docker build -t oco-test -f test/Dockerfile .",
@@ -47788,6 +47789,7 @@ var import_node_process = require("node:process");
47788
47789
  var f = __toESM(require("node:readline"), 1);
47789
47790
  var import_node_readline = __toESM(require("node:readline"), 1);
47790
47791
  var import_node_tty = require("node:tty");
47792
+ var import_picocolors = __toESM(require_picocolors(), 1);
47791
47793
  function q3({ onlyFirst: t2 = false } = {}) {
47792
47794
  const u3 = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");
47793
47795
  return new RegExp(u3, t2 ? void 0 : "g");
@@ -48149,6 +48151,25 @@ var yD = class extends x3 {
48149
48151
  this.value = this._value.value;
48150
48152
  }
48151
48153
  };
48154
+ var SD = Object.defineProperty;
48155
+ var jD = (t2, u3, F5) => u3 in t2 ? SD(t2, u3, { enumerable: true, configurable: true, writable: true, value: F5 }) : t2[u3] = F5;
48156
+ var MD = (t2, u3, F5) => (jD(t2, typeof u3 != "symbol" ? u3 + "" : u3, F5), F5);
48157
+ var TD = class extends x3 {
48158
+ constructor(u3) {
48159
+ super(u3), MD(this, "valueWithCursor", ""), this.on("finalize", () => {
48160
+ this.value || (this.value = u3.defaultValue), this.valueWithCursor = this.value;
48161
+ }), this.on("value", () => {
48162
+ if (this.cursor >= this.value.length) this.valueWithCursor = `${this.value}${import_picocolors.default.inverse(import_picocolors.default.hidden("_"))}`;
48163
+ else {
48164
+ const F5 = this.value.slice(0, this.cursor), e3 = this.value.slice(this.cursor);
48165
+ this.valueWithCursor = `${F5}${import_picocolors.default.inverse(e3[0])}${e3.slice(1)}`;
48166
+ }
48167
+ });
48168
+ }
48169
+ get cursor() {
48170
+ return this._cursor;
48171
+ }
48172
+ };
48152
48173
  var PD = globalThis.process.platform.startsWith("win");
48153
48174
  function WD({ input: t2 = import_node_process.stdin, output: u3 = import_node_process.stdout, overwrite: F5 = true, hideCursor: e3 = true } = {}) {
48154
48175
  const s2 = f.createInterface({ input: t2, output: u3, prompt: "", tabSize: 1 });
@@ -48169,7 +48190,7 @@ function WD({ input: t2 = import_node_process.stdin, output: u3 = import_node_pr
48169
48190
 
48170
48191
  // node_modules/@clack/prompts/dist/index.mjs
48171
48192
  var import_node_process2 = __toESM(require("node:process"), 1);
48172
- var import_picocolors = __toESM(require_picocolors(), 1);
48193
+ var import_picocolors2 = __toESM(require_picocolors(), 1);
48173
48194
  var import_sisteransi2 = __toESM(require_src(), 1);
48174
48195
  function N4() {
48175
48196
  return import_node_process2.default.platform !== "win32" ? import_node_process2.default.env.TERM !== "linux" : Boolean(import_node_process2.default.env.CI) || Boolean(import_node_process2.default.env.WT_SESSION) || Boolean(import_node_process2.default.env.TERMINUS_SUBLIME) || import_node_process2.default.env.ConEmuTask === "{cmd::Cmder}" || import_node_process2.default.env.TERM_PROGRAM === "Terminus-Sublime" || import_node_process2.default.env.TERM_PROGRAM === "vscode" || import_node_process2.default.env.TERM === "xterm-256color" || import_node_process2.default.env.TERM === "alacritty" || import_node_process2.default.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
@@ -48201,30 +48222,51 @@ var h2 = (r3) => {
48201
48222
  switch (r3) {
48202
48223
  case "initial":
48203
48224
  case "active":
48204
- return import_picocolors.default.cyan(W4);
48225
+ return import_picocolors2.default.cyan(W4);
48205
48226
  case "cancel":
48206
- return import_picocolors.default.red(D3);
48227
+ return import_picocolors2.default.red(D3);
48207
48228
  case "error":
48208
- return import_picocolors.default.yellow(F3);
48229
+ return import_picocolors2.default.yellow(F3);
48209
48230
  case "submit":
48210
- return import_picocolors.default.green(f2);
48231
+ return import_picocolors2.default.green(f2);
48211
48232
  }
48212
48233
  };
48234
+ var J4 = (r3) => new TD({ validate: r3.validate, placeholder: r3.placeholder, defaultValue: r3.defaultValue, initialValue: r3.initialValue, render() {
48235
+ const n2 = `${import_picocolors2.default.gray(a2)}
48236
+ ${h2(this.state)} ${r3.message}
48237
+ `, s2 = r3.placeholder ? import_picocolors2.default.inverse(r3.placeholder[0]) + import_picocolors2.default.dim(r3.placeholder.slice(1)) : import_picocolors2.default.inverse(import_picocolors2.default.hidden("_")), t2 = this.value ? this.valueWithCursor : s2;
48238
+ switch (this.state) {
48239
+ case "error":
48240
+ return `${n2.trim()}
48241
+ ${import_picocolors2.default.yellow(a2)} ${t2}
48242
+ ${import_picocolors2.default.yellow(o)} ${import_picocolors2.default.yellow(this.error)}
48243
+ `;
48244
+ case "submit":
48245
+ return `${n2}${import_picocolors2.default.gray(a2)} ${import_picocolors2.default.dim(this.value || r3.placeholder)}`;
48246
+ case "cancel":
48247
+ return `${n2}${import_picocolors2.default.gray(a2)} ${import_picocolors2.default.strikethrough(import_picocolors2.default.dim(this.value ?? ""))}${this.value?.trim() ? `
48248
+ ` + import_picocolors2.default.gray(a2) : ""}`;
48249
+ default:
48250
+ return `${n2}${import_picocolors2.default.cyan(a2)} ${t2}
48251
+ ${import_picocolors2.default.cyan(o)}
48252
+ `;
48253
+ }
48254
+ } }).prompt();
48213
48255
  var Q3 = (r3) => {
48214
48256
  const n2 = r3.active ?? "Yes", s2 = r3.inactive ?? "No";
48215
48257
  return new xD2({ active: n2, inactive: s2, initialValue: r3.initialValue ?? true, render() {
48216
- const t2 = `${import_picocolors.default.gray(a2)}
48258
+ const t2 = `${import_picocolors2.default.gray(a2)}
48217
48259
  ${h2(this.state)} ${r3.message}
48218
48260
  `, i3 = this.value ? n2 : s2;
48219
48261
  switch (this.state) {
48220
48262
  case "submit":
48221
- return `${t2}${import_picocolors.default.gray(a2)} ${import_picocolors.default.dim(i3)}`;
48263
+ return `${t2}${import_picocolors2.default.gray(a2)} ${import_picocolors2.default.dim(i3)}`;
48222
48264
  case "cancel":
48223
- return `${t2}${import_picocolors.default.gray(a2)} ${import_picocolors.default.strikethrough(import_picocolors.default.dim(i3))}
48224
- ${import_picocolors.default.gray(a2)}`;
48265
+ return `${t2}${import_picocolors2.default.gray(a2)} ${import_picocolors2.default.strikethrough(import_picocolors2.default.dim(i3))}
48266
+ ${import_picocolors2.default.gray(a2)}`;
48225
48267
  default:
48226
- return `${t2}${import_picocolors.default.cyan(a2)} ${this.value ? `${import_picocolors.default.green(w5)} ${n2}` : `${import_picocolors.default.dim(S4)} ${import_picocolors.default.dim(n2)}`} ${import_picocolors.default.dim("/")} ${this.value ? `${import_picocolors.default.dim(S4)} ${import_picocolors.default.dim(s2)}` : `${import_picocolors.default.green(w5)} ${s2}`}
48227
- ${import_picocolors.default.cyan(o)}
48268
+ return `${t2}${import_picocolors2.default.cyan(a2)} ${this.value ? `${import_picocolors2.default.green(w5)} ${n2}` : `${import_picocolors2.default.dim(S4)} ${import_picocolors2.default.dim(n2)}`} ${import_picocolors2.default.dim("/")} ${this.value ? `${import_picocolors2.default.dim(S4)} ${import_picocolors2.default.dim(s2)}` : `${import_picocolors2.default.green(w5)} ${s2}`}
48269
+ ${import_picocolors2.default.cyan(o)}
48228
48270
  `;
48229
48271
  }
48230
48272
  } }).prompt();
@@ -48232,22 +48274,22 @@ ${import_picocolors.default.cyan(o)}
48232
48274
  var ee = (r3) => {
48233
48275
  const n2 = (s2, t2) => {
48234
48276
  const i3 = s2.label ?? String(s2.value);
48235
- return t2 === "active" ? `${import_picocolors.default.green(w5)} ${i3} ${s2.hint ? import_picocolors.default.dim(`(${s2.hint})`) : ""}` : t2 === "selected" ? `${import_picocolors.default.dim(i3)}` : t2 === "cancelled" ? `${import_picocolors.default.strikethrough(import_picocolors.default.dim(i3))}` : `${import_picocolors.default.dim(S4)} ${import_picocolors.default.dim(i3)}`;
48277
+ return t2 === "active" ? `${import_picocolors2.default.green(w5)} ${i3} ${s2.hint ? import_picocolors2.default.dim(`(${s2.hint})`) : ""}` : t2 === "selected" ? `${import_picocolors2.default.dim(i3)}` : t2 === "cancelled" ? `${import_picocolors2.default.strikethrough(import_picocolors2.default.dim(i3))}` : `${import_picocolors2.default.dim(S4)} ${import_picocolors2.default.dim(i3)}`;
48236
48278
  };
48237
48279
  return new yD({ options: r3.options, initialValue: r3.initialValue, render() {
48238
- const s2 = `${import_picocolors.default.gray(a2)}
48280
+ const s2 = `${import_picocolors2.default.gray(a2)}
48239
48281
  ${h2(this.state)} ${r3.message}
48240
48282
  `;
48241
48283
  switch (this.state) {
48242
48284
  case "submit":
48243
- return `${s2}${import_picocolors.default.gray(a2)} ${n2(this.options[this.cursor], "selected")}`;
48285
+ return `${s2}${import_picocolors2.default.gray(a2)} ${n2(this.options[this.cursor], "selected")}`;
48244
48286
  case "cancel":
48245
- return `${s2}${import_picocolors.default.gray(a2)} ${n2(this.options[this.cursor], "cancelled")}
48246
- ${import_picocolors.default.gray(a2)}`;
48287
+ return `${s2}${import_picocolors2.default.gray(a2)} ${n2(this.options[this.cursor], "cancelled")}
48288
+ ${import_picocolors2.default.gray(a2)}`;
48247
48289
  default:
48248
- return `${s2}${import_picocolors.default.cyan(a2)} ${this.options.map((t2, i3) => n2(t2, i3 === this.cursor ? "active" : "inactive")).join(`
48249
- ${import_picocolors.default.cyan(a2)} `)}
48250
- ${import_picocolors.default.cyan(o)}
48290
+ return `${s2}${import_picocolors2.default.cyan(a2)} ${this.options.map((t2, i3) => n2(t2, i3 === this.cursor ? "active" : "inactive")).join(`
48291
+ ${import_picocolors2.default.cyan(a2)} `)}
48292
+ ${import_picocolors2.default.cyan(o)}
48251
48293
  `;
48252
48294
  }
48253
48295
  } }).prompt();
@@ -48255,42 +48297,42 @@ ${import_picocolors.default.cyan(o)}
48255
48297
  var re = (r3) => {
48256
48298
  const n2 = (s2, t2) => {
48257
48299
  const i3 = s2.label ?? String(s2.value);
48258
- return t2 === "active" ? `${import_picocolors.default.cyan(_5)} ${i3} ${s2.hint ? import_picocolors.default.dim(`(${s2.hint})`) : ""}` : t2 === "selected" ? `${import_picocolors.default.green(y4)} ${import_picocolors.default.dim(i3)}` : t2 === "cancelled" ? `${import_picocolors.default.strikethrough(import_picocolors.default.dim(i3))}` : t2 === "active-selected" ? `${import_picocolors.default.green(y4)} ${i3} ${s2.hint ? import_picocolors.default.dim(`(${s2.hint})`) : ""}` : t2 === "submitted" ? `${import_picocolors.default.dim(i3)}` : `${import_picocolors.default.dim(A3)} ${import_picocolors.default.dim(i3)}`;
48300
+ return t2 === "active" ? `${import_picocolors2.default.cyan(_5)} ${i3} ${s2.hint ? import_picocolors2.default.dim(`(${s2.hint})`) : ""}` : t2 === "selected" ? `${import_picocolors2.default.green(y4)} ${import_picocolors2.default.dim(i3)}` : t2 === "cancelled" ? `${import_picocolors2.default.strikethrough(import_picocolors2.default.dim(i3))}` : t2 === "active-selected" ? `${import_picocolors2.default.green(y4)} ${i3} ${s2.hint ? import_picocolors2.default.dim(`(${s2.hint})`) : ""}` : t2 === "submitted" ? `${import_picocolors2.default.dim(i3)}` : `${import_picocolors2.default.dim(A3)} ${import_picocolors2.default.dim(i3)}`;
48259
48301
  };
48260
48302
  return new gD2({ options: r3.options, initialValues: r3.initialValues, required: r3.required ?? true, cursorAt: r3.cursorAt, validate(s2) {
48261
48303
  if (this.required && s2.length === 0) return `Please select at least one option.
48262
- ${import_picocolors.default.reset(import_picocolors.default.dim(`Press ${import_picocolors.default.gray(import_picocolors.default.bgWhite(import_picocolors.default.inverse(" space ")))} to select, ${import_picocolors.default.gray(import_picocolors.default.bgWhite(import_picocolors.default.inverse(" enter ")))} to submit`))}`;
48304
+ ${import_picocolors2.default.reset(import_picocolors2.default.dim(`Press ${import_picocolors2.default.gray(import_picocolors2.default.bgWhite(import_picocolors2.default.inverse(" space ")))} to select, ${import_picocolors2.default.gray(import_picocolors2.default.bgWhite(import_picocolors2.default.inverse(" enter ")))} to submit`))}`;
48263
48305
  }, render() {
48264
- let s2 = `${import_picocolors.default.gray(a2)}
48306
+ let s2 = `${import_picocolors2.default.gray(a2)}
48265
48307
  ${h2(this.state)} ${r3.message}
48266
48308
  `;
48267
48309
  switch (this.state) {
48268
48310
  case "submit":
48269
- return `${s2}${import_picocolors.default.gray(a2)} ${this.options.filter(({ value: t2 }) => this.value.includes(t2)).map((t2) => n2(t2, "submitted")).join(import_picocolors.default.dim(", ")) || import_picocolors.default.dim("none")}`;
48311
+ return `${s2}${import_picocolors2.default.gray(a2)} ${this.options.filter(({ value: t2 }) => this.value.includes(t2)).map((t2) => n2(t2, "submitted")).join(import_picocolors2.default.dim(", ")) || import_picocolors2.default.dim("none")}`;
48270
48312
  case "cancel": {
48271
- const t2 = this.options.filter(({ value: i3 }) => this.value.includes(i3)).map((i3) => n2(i3, "cancelled")).join(import_picocolors.default.dim(", "));
48272
- return `${s2}${import_picocolors.default.gray(a2)} ${t2.trim() ? `${t2}
48273
- ${import_picocolors.default.gray(a2)}` : ""}`;
48313
+ const t2 = this.options.filter(({ value: i3 }) => this.value.includes(i3)).map((i3) => n2(i3, "cancelled")).join(import_picocolors2.default.dim(", "));
48314
+ return `${s2}${import_picocolors2.default.gray(a2)} ${t2.trim() ? `${t2}
48315
+ ${import_picocolors2.default.gray(a2)}` : ""}`;
48274
48316
  }
48275
48317
  case "error": {
48276
48318
  const t2 = this.error.split(`
48277
- `).map((i3, c3) => c3 === 0 ? `${import_picocolors.default.yellow(o)} ${import_picocolors.default.yellow(i3)}` : ` ${i3}`).join(`
48319
+ `).map((i3, c4) => c4 === 0 ? `${import_picocolors2.default.yellow(o)} ${import_picocolors2.default.yellow(i3)}` : ` ${i3}`).join(`
48278
48320
  `);
48279
- return s2 + import_picocolors.default.yellow(a2) + " " + this.options.map((i3, c3) => {
48280
- const l3 = this.value.includes(i3.value), $6 = c3 === this.cursor;
48321
+ return s2 + import_picocolors2.default.yellow(a2) + " " + this.options.map((i3, c4) => {
48322
+ const l3 = this.value.includes(i3.value), $6 = c4 === this.cursor;
48281
48323
  return $6 && l3 ? n2(i3, "active-selected") : l3 ? n2(i3, "selected") : n2(i3, $6 ? "active" : "inactive");
48282
48324
  }).join(`
48283
- ${import_picocolors.default.yellow(a2)} `) + `
48325
+ ${import_picocolors2.default.yellow(a2)} `) + `
48284
48326
  ` + t2 + `
48285
48327
  `;
48286
48328
  }
48287
48329
  default:
48288
- return `${s2}${import_picocolors.default.cyan(a2)} ${this.options.map((t2, i3) => {
48289
- const c3 = this.value.includes(t2.value), l3 = i3 === this.cursor;
48290
- return l3 && c3 ? n2(t2, "active-selected") : c3 ? n2(t2, "selected") : n2(t2, l3 ? "active" : "inactive");
48330
+ return `${s2}${import_picocolors2.default.cyan(a2)} ${this.options.map((t2, i3) => {
48331
+ const c4 = this.value.includes(t2.value), l3 = i3 === this.cursor;
48332
+ return l3 && c4 ? n2(t2, "active-selected") : c4 ? n2(t2, "selected") : n2(t2, l3 ? "active" : "inactive");
48291
48333
  }).join(`
48292
- ${import_picocolors.default.cyan(a2)} `)}
48293
- ${import_picocolors.default.cyan(o)}
48334
+ ${import_picocolors2.default.cyan(a2)} `)}
48335
+ ${import_picocolors2.default.cyan(o)}
48294
48336
  `;
48295
48337
  }
48296
48338
  } }).prompt();
@@ -48300,21 +48342,21 @@ var ie = (r3 = "", n2 = "") => {
48300
48342
  const s2 = `
48301
48343
  ${r3}
48302
48344
  `.split(`
48303
- `), t2 = Math.max(s2.reduce((c3, l3) => (l3 = b5(l3), l3.length > c3 ? l3.length : c3), 0), b5(n2).length) + 2, i3 = s2.map((c3) => `${import_picocolors.default.gray(a2)} ${import_picocolors.default.dim(c3)}${" ".repeat(t2 - b5(c3).length)}${import_picocolors.default.gray(a2)}`).join(`
48345
+ `), t2 = Math.max(s2.reduce((c4, l3) => (l3 = b5(l3), l3.length > c4 ? l3.length : c4), 0), b5(n2).length) + 2, i3 = s2.map((c4) => `${import_picocolors2.default.gray(a2)} ${import_picocolors2.default.dim(c4)}${" ".repeat(t2 - b5(c4).length)}${import_picocolors2.default.gray(a2)}`).join(`
48304
48346
  `);
48305
- process.stdout.write(`${import_picocolors.default.gray(a2)}
48306
- ${import_picocolors.default.green(f2)} ${import_picocolors.default.reset(n2)} ${import_picocolors.default.gray(R5.repeat(Math.max(t2 - n2.length - 1, 1)) + G4)}
48347
+ process.stdout.write(`${import_picocolors2.default.gray(a2)}
48348
+ ${import_picocolors2.default.green(f2)} ${import_picocolors2.default.reset(n2)} ${import_picocolors2.default.gray(R5.repeat(Math.max(t2 - n2.length - 1, 1)) + G4)}
48307
48349
  ${i3}
48308
- ${import_picocolors.default.gray(H3 + R5.repeat(t2 + 2) + K4)}
48350
+ ${import_picocolors2.default.gray(H3 + R5.repeat(t2 + 2) + K4)}
48309
48351
  `);
48310
48352
  };
48311
48353
  var ae = (r3 = "") => {
48312
- process.stdout.write(`${import_picocolors.default.gray(L5)} ${r3}
48354
+ process.stdout.write(`${import_picocolors2.default.gray(L5)} ${r3}
48313
48355
  `);
48314
48356
  };
48315
48357
  var ce = (r3 = "") => {
48316
- process.stdout.write(`${import_picocolors.default.gray(a2)}
48317
- ${import_picocolors.default.gray(o)} ${r3}
48358
+ process.stdout.write(`${import_picocolors2.default.gray(a2)}
48359
+ ${import_picocolors2.default.gray(o)} ${r3}
48318
48360
 
48319
48361
  `);
48320
48362
  };
@@ -48323,18 +48365,18 @@ var le = () => {
48323
48365
  let r3, n2;
48324
48366
  const s2 = p2 ? 80 : 120;
48325
48367
  return { start(t2 = "") {
48326
- t2 = t2.replace(/\.?\.?\.$/, ""), r3 = WD(), process.stdout.write(`${import_picocolors.default.gray(a2)}
48327
- ${import_picocolors.default.magenta("\u25CB")} ${t2}
48368
+ t2 = t2.replace(/\.?\.?\.$/, ""), r3 = WD(), process.stdout.write(`${import_picocolors2.default.gray(a2)}
48369
+ ${import_picocolors2.default.magenta("\u25CB")} ${t2}
48328
48370
  `);
48329
- let i3 = 0, c3 = 0;
48371
+ let i3 = 0, c4 = 0;
48330
48372
  n2 = setInterval(() => {
48331
48373
  let l3 = C3[i3];
48332
- process.stdout.write(import_sisteransi2.cursor.move(-999, -1)), process.stdout.write(`${import_picocolors.default.magenta(l3)} ${t2}${Math.floor(c3) >= 1 ? ".".repeat(Math.floor(c3)).slice(0, 3) : ""}
48333
- `), i3 = i3 === C3.length - 1 ? 0 : i3 + 1, c3 = c3 === C3.length ? 0 : c3 + 0.125;
48374
+ process.stdout.write(import_sisteransi2.cursor.move(-999, -1)), process.stdout.write(`${import_picocolors2.default.magenta(l3)} ${t2}${Math.floor(c4) >= 1 ? ".".repeat(Math.floor(c4)).slice(0, 3) : ""}
48375
+ `), i3 = i3 === C3.length - 1 ? 0 : i3 + 1, c4 = c4 === C3.length ? 0 : c4 + 0.125;
48334
48376
  }, s2);
48335
48377
  }, stop(t2 = "") {
48336
- process.stdout.write(import_sisteransi2.cursor.move(-999, -2)), process.stdout.write(import_sisteransi2.erase.down(2)), clearInterval(n2), process.stdout.write(`${import_picocolors.default.gray(a2)}
48337
- ${import_picocolors.default.green(f2)} ${t2}
48378
+ process.stdout.write(import_sisteransi2.cursor.move(-999, -2)), process.stdout.write(import_sisteransi2.erase.down(2)), clearInterval(n2), process.stdout.write(`${import_picocolors2.default.gray(a2)}
48379
+ ${import_picocolors2.default.green(f2)} ${t2}
48338
48380
  `), r3();
48339
48381
  } };
48340
48382
  };
@@ -50092,10 +50134,10 @@ var ja_default = {
50092
50134
  var ko_default = {
50093
50135
  localLanguage: "\uD55C\uAD6D\uC5B4",
50094
50136
  commitFix: "fix(server.ts): \uD3EC\uD2B8 \uBCC0\uC218\uB97C \uC18C\uBB38\uC790 port\uC5D0\uC11C \uB300\uBB38\uC790 PORT\uB85C \uBCC0\uACBD",
50095
- commitFeat: "\uD53C\uD2B8(server.ts): process.env.PORT \uD658\uACBD \uBCC0\uC218 \uC9C0\uC6D0 \uCD94\uAC00",
50137
+ commitFeat: "feat(server.ts): process.env.PORT \uD658\uACBD \uBCC0\uC218 \uC9C0\uC6D0 \uCD94\uAC00",
50096
50138
  commitDescription: "\uD3EC\uD2B8 \uBCC0\uC218\uB294 \uC774\uC81C PORT\uB85C \uC774\uB984\uC774 \uC9C0\uC815\uB418\uC5B4 \uC0C1\uC218\uC778 PORT\uC640 \uC77C\uAD00\uC131 \uC788\uB294 \uC774\uB984 \uADDC\uCE59\uC744 \uB530\uB985\uB2C8\uB2E4. \uD658\uACBD \uBCC0\uC218 \uC9C0\uC6D0\uC744 \uD1B5\uD574 \uC560\uD50C\uB9AC\uCF00\uC774\uC158\uC740 \uC774\uC81C process.env.PORT \uD658\uACBD \uBCC0\uC218\uB85C \uC9C0\uC815\uB41C \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uBAA8\uB4E0 \uD3EC\uD2B8\uC5D0\uC11C \uC2E4\uD589\uD560 \uC218 \uC788\uC73C\uBBC0\uB85C \uB354 \uC720\uC5F0\uD574\uC84C\uC2B5\uB2C8\uB2E4.",
50097
50139
  commitFixOmitScope: "fix: \uD3EC\uD2B8 \uBCC0\uC218\uB97C \uC18C\uBB38\uC790 port\uC5D0\uC11C \uB300\uBB38\uC790 PORT\uB85C \uBCC0\uACBD",
50098
- commitFeatOmitScope: "\uD53C\uD2B8: process.env.PORT \uD658\uACBD \uBCC0\uC218 \uC9C0\uC6D0 \uCD94\uAC00"
50140
+ commitFeatOmitScope: "feat: process.env.PORT \uD658\uACBD \uBCC0\uC218 \uC9C0\uC6D0 \uCD94\uAC00"
50099
50141
  };
50100
50142
 
50101
50143
  // src/i18n/nl.json
@@ -50270,6 +50312,7 @@ var CONFIG_KEYS = /* @__PURE__ */ ((CONFIG_KEYS2) => {
50270
50312
  CONFIG_KEYS2["OCO_API_CUSTOM_HEADERS"] = "OCO_API_CUSTOM_HEADERS";
50271
50313
  CONFIG_KEYS2["OCO_OMIT_SCOPE"] = "OCO_OMIT_SCOPE";
50272
50314
  CONFIG_KEYS2["OCO_GITPUSH"] = "OCO_GITPUSH";
50315
+ CONFIG_KEYS2["OCO_HOOK_AUTO_UNCOMMENT"] = "OCO_HOOK_AUTO_UNCOMMENT";
50273
50316
  return CONFIG_KEYS2;
50274
50317
  })(CONFIG_KEYS || {});
50275
50318
  var MODEL_LIST = {
@@ -50372,6 +50415,110 @@ var MODEL_LIST = {
50372
50415
  "mistral-moderation-latest"
50373
50416
  ],
50374
50417
  deepseek: ["deepseek-chat", "deepseek-reasoner"],
50418
+ // AI/ML API available chat-completion models
50419
+ // https://api.aimlapi.com/v1/models
50420
+ aimlapi: [
50421
+ "openai/gpt-4o",
50422
+ "gpt-4o-2024-08-06",
50423
+ "gpt-4o-2024-05-13",
50424
+ "gpt-4o-mini",
50425
+ "gpt-4o-mini-2024-07-18",
50426
+ "chatgpt-4o-latest",
50427
+ "gpt-4-turbo",
50428
+ "gpt-4-turbo-2024-04-09",
50429
+ "gpt-4",
50430
+ "gpt-4-0125-preview",
50431
+ "gpt-4-1106-preview",
50432
+ "gpt-3.5-turbo",
50433
+ "gpt-3.5-turbo-0125",
50434
+ "gpt-3.5-turbo-1106",
50435
+ "o1-preview",
50436
+ "o1-preview-2024-09-12",
50437
+ "o1-mini",
50438
+ "o1-mini-2024-09-12",
50439
+ "o3-mini",
50440
+ "gpt-4o-audio-preview",
50441
+ "gpt-4o-mini-audio-preview",
50442
+ "gpt-4o-search-preview",
50443
+ "gpt-4o-mini-search-preview",
50444
+ "openai/gpt-4.1-2025-04-14",
50445
+ "openai/gpt-4.1-mini-2025-04-14",
50446
+ "openai/gpt-4.1-nano-2025-04-14",
50447
+ "openai/o4-mini-2025-04-16",
50448
+ "openai/o3-2025-04-16",
50449
+ "o1",
50450
+ "openai/o3-pro",
50451
+ "meta-llama/Llama-3.2-90B-Vision-Instruct-Turbo",
50452
+ "google/gemma-2-27b-it",
50453
+ "meta-llama/Llama-Vision-Free",
50454
+ "Qwen/Qwen2-72B-Instruct",
50455
+ "mistralai/Mixtral-8x7B-Instruct-v0.1",
50456
+ "nvidia/Llama-3.1-Nemotron-70B-Instruct-HF",
50457
+ "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
50458
+ "meta-llama/Llama-3.3-70B-Instruct-Turbo",
50459
+ "meta-llama/Llama-3.2-3B-Instruct-Turbo",
50460
+ "meta-llama/Llama-3.2-11B-Vision-Instruct-Turbo",
50461
+ "meta-llama/Llama-Guard-3-11B-Vision-Turbo",
50462
+ "Qwen/Qwen2.5-7B-Instruct-Turbo",
50463
+ "Qwen/Qwen2.5-Coder-32B-Instruct",
50464
+ "meta-llama/Meta-Llama-3-8B-Instruct-Lite",
50465
+ "meta-llama/Llama-3-8b-chat-hf",
50466
+ "meta-llama/Llama-3-70b-chat-hf",
50467
+ "Qwen/Qwen2.5-72B-Instruct-Turbo",
50468
+ "Qwen/QwQ-32B",
50469
+ "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo",
50470
+ "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
50471
+ "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo",
50472
+ "mistralai/Mistral-7B-Instruct-v0.2",
50473
+ "meta-llama/LlamaGuard-2-8b",
50474
+ "mistralai/Mistral-7B-Instruct-v0.1",
50475
+ "mistralai/Mistral-7B-Instruct-v0.3",
50476
+ "meta-llama/Meta-Llama-Guard-3-8B",
50477
+ "meta-llama/llama-4-scout",
50478
+ "meta-llama/llama-4-maverick",
50479
+ "Qwen/Qwen3-235B-A22B-fp8-tput",
50480
+ "claude-3-opus-20240229",
50481
+ "claude-3-haiku-20240307",
50482
+ "claude-3-5-sonnet-20240620",
50483
+ "claude-3-5-sonnet-20241022",
50484
+ "claude-3-5-haiku-20241022",
50485
+ "claude-3-7-sonnet-20250219",
50486
+ "claude-sonnet-4-20250514",
50487
+ "claude-opus-4-20250514",
50488
+ "google/gemini-2.0-flash-exp",
50489
+ "google/gemini-2.0-flash",
50490
+ "google/gemini-2.5-pro",
50491
+ "google/gemini-2.5-flash",
50492
+ "deepseek-chat",
50493
+ "deepseek-reasoner",
50494
+ "qwen-max",
50495
+ "qwen-plus",
50496
+ "qwen-turbo",
50497
+ "qwen-max-2025-01-25",
50498
+ "mistralai/mistral-tiny",
50499
+ "mistralai/mistral-nemo",
50500
+ "anthracite-org/magnum-v4-72b",
50501
+ "nvidia/llama-3.1-nemotron-70b-instruct",
50502
+ "cohere/command-r-plus",
50503
+ "mistralai/codestral-2501",
50504
+ "google/gemma-3-4b-it",
50505
+ "google/gemma-3-12b-it",
50506
+ "google/gemma-3-27b-it",
50507
+ "google/gemini-2.5-flash-lite-preview",
50508
+ "deepseek/deepseek-prover-v2",
50509
+ "google/gemma-3n-e4b-it",
50510
+ "cohere/command-a",
50511
+ "MiniMax-Text-01",
50512
+ "abab6.5s-chat",
50513
+ "minimax/m1",
50514
+ "bagoodex/bagoodex-search-v1",
50515
+ "moonshot/kimi-k2-preview",
50516
+ "perplexity/sonar",
50517
+ "perplexity/sonar-pro",
50518
+ "x-ai/grok-4-07-09",
50519
+ "x-ai/grok-3-beta",
50520
+ "x-ai/grok-3-mini-beta"
50521
+ ],
50375
50522
  // OpenRouter available models
50376
50523
  // input_modalities: 'text'
50377
50524
  // output_modalities: 'text'
@@ -50720,6 +50867,8 @@ var getDefaultModel = (provider) => {
50720
50867
  return MODEL_LIST.mistral[0];
50721
50868
  case "deepseek":
50722
50869
  return MODEL_LIST.deepseek[0];
50870
+ case "aimlapi":
50871
+ return MODEL_LIST.aimlapi[0];
50723
50872
  case "openrouter":
50724
50873
  return MODEL_LIST.openrouter[0];
50725
50874
  default:
@@ -50876,9 +51025,10 @@ var configValidators = {
50876
51025
  "flowise",
50877
51026
  "groq",
50878
51027
  "deepseek",
51028
+ "aimlapi",
50879
51029
  "openrouter"
50880
51030
  ].includes(value) || value.startsWith("ollama"),
50881
- `${value} is not supported yet, use 'ollama', 'mlx', 'anthropic', 'azure', 'gemini', 'flowise', 'mistral', 'deepseek' or 'openai' (default)`
51031
+ `${value} is not supported yet, use 'ollama', 'mlx', 'anthropic', 'azure', 'gemini', 'flowise', 'mistral', 'deepseek', 'aimlapi' or 'openai' (default)`
50882
51032
  );
50883
51033
  return value;
50884
51034
  },
@@ -50907,6 +51057,13 @@ var configValidators = {
50907
51057
  "Must be true or false"
50908
51058
  );
50909
51059
  return value;
51060
+ },
51061
+ ["OCO_HOOK_AUTO_UNCOMMENT" /* OCO_HOOK_AUTO_UNCOMMENT */](value) {
51062
+ validateConfig(
51063
+ "OCO_HOOK_AUTO_UNCOMMENT" /* OCO_HOOK_AUTO_UNCOMMENT */,
51064
+ typeof value === "boolean",
51065
+ "Must be true or false"
51066
+ );
50910
51067
  }
50911
51068
  };
50912
51069
  var OCO_AI_PROVIDER_ENUM = /* @__PURE__ */ ((OCO_AI_PROVIDER_ENUM2) => {
@@ -50921,6 +51078,7 @@ var OCO_AI_PROVIDER_ENUM = /* @__PURE__ */ ((OCO_AI_PROVIDER_ENUM2) => {
50921
51078
  OCO_AI_PROVIDER_ENUM2["MISTRAL"] = "mistral";
50922
51079
  OCO_AI_PROVIDER_ENUM2["MLX"] = "mlx";
50923
51080
  OCO_AI_PROVIDER_ENUM2["DEEPSEEK"] = "deepseek";
51081
+ OCO_AI_PROVIDER_ENUM2["AIMLAPI"] = "aimlapi";
50924
51082
  OCO_AI_PROVIDER_ENUM2["OPENROUTER"] = "openrouter";
50925
51083
  return OCO_AI_PROVIDER_ENUM2;
50926
51084
  })(OCO_AI_PROVIDER_ENUM || {});
@@ -50945,8 +51103,9 @@ var DEFAULT_CONFIG = {
50945
51103
  OCO_TEST_MOCK_TYPE: "commit-message",
50946
51104
  OCO_WHY: false,
50947
51105
  OCO_OMIT_SCOPE: false,
50948
- OCO_GITPUSH: true
51106
+ OCO_GITPUSH: true,
50949
51107
  // todo: deprecate
51108
+ OCO_HOOK_AUTO_UNCOMMENT: false
50950
51109
  };
50951
51110
  var initGlobalConfig = (configPath = defaultConfigPath) => {
50952
51111
  (0, import_fs.writeFileSync)(configPath, (0, import_ini.stringify)(DEFAULT_CONFIG), "utf8");
@@ -51147,6 +51306,11 @@ function getConfigKeyDetails(key) {
51147
51306
  description: "Message template placeholder",
51148
51307
  values: ["String (must start with $)"]
51149
51308
  };
51309
+ case "OCO_HOOK_AUTO_UNCOMMENT" /* OCO_HOOK_AUTO_UNCOMMENT */:
51310
+ return {
51311
+ description: "Automatically uncomment the commit message in the hook",
51312
+ values: ["true", "false"]
51313
+ };
51150
51314
  default:
51151
51315
  return {
51152
51316
  description: "String value",
@@ -52874,9 +53038,9 @@ function debug(action, ...args) {
52874
53038
  }
52875
53039
  }
52876
53040
  var uuid4 = () => {
52877
- return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c3) => {
53041
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c4) => {
52878
53042
  const r3 = Math.random() * 16 | 0;
52879
- const v5 = c3 === "x" ? r3 : r3 & 3 | 8;
53043
+ const v5 = c4 === "x" ? r3 : r3 & 3 | 8;
52880
53044
  return v5.toString(16);
52881
53045
  });
52882
53046
  };
@@ -56635,8 +56799,8 @@ var CancelToken = class _CancelToken {
56635
56799
  */
56636
56800
  static source() {
56637
56801
  let cancel;
56638
- const token = new _CancelToken(function executor(c3) {
56639
- cancel = c3;
56802
+ const token = new _CancelToken(function executor(c4) {
56803
+ cancel = c4;
56640
56804
  });
56641
56805
  return {
56642
56806
  token,
@@ -62886,9 +63050,9 @@ function debug2(action, ...args) {
62886
63050
  }
62887
63051
  }
62888
63052
  var uuid42 = () => {
62889
- return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c3) => {
63053
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c4) => {
62890
63054
  const r3 = Math.random() * 16 | 0;
62891
- const v5 = c3 === "x" ? r3 : r3 & 3 | 8;
63055
+ const v5 = c4 === "x" ? r3 : r3 & 3 | 8;
62892
63056
  return v5.toString(16);
62893
63057
  });
62894
63058
  };
@@ -63678,7 +63842,7 @@ var AbstractChatCompletionRunner = class extends EventStream {
63678
63842
  const finalFunctionCallResult = __classPrivateFieldGet10(this, _AbstractChatCompletionRunner_instances, "m", _AbstractChatCompletionRunner_getFinalFunctionCallResult).call(this);
63679
63843
  if (finalFunctionCallResult != null)
63680
63844
  this._emit("finalFunctionCallResult", finalFunctionCallResult);
63681
- if (this._chatCompletions.some((c3) => c3.usage)) {
63845
+ if (this._chatCompletions.some((c4) => c4.usage)) {
63682
63846
  this._emit("totalUsage", __classPrivateFieldGet10(this, _AbstractChatCompletionRunner_instances, "m", _AbstractChatCompletionRunner_calculateTotalUsage).call(this));
63683
63847
  }
63684
63848
  }
@@ -66419,8 +66583,7 @@ var MistralAiEngine = class {
66419
66583
  if (REQUEST_TOKENS > this.config.maxTokensInput - this.config.maxTokensOutput)
66420
66584
  throw new Error("TOO_MUCH_TOKENS" /* tooMuchTokens */);
66421
66585
  const completion = await this.client.chat.complete(params);
66422
- if (!completion.choices)
66423
- throw Error("No completion choice available.");
66586
+ if (!completion.choices) throw Error("No completion choice available.");
66424
66587
  const message = completion.choices[0].message;
66425
66588
  if (!message || !message.content)
66426
66589
  throw Error("No completion choice available.");
@@ -66439,7 +66602,10 @@ var MistralAiEngine = class {
66439
66602
  if (!config7.baseURL) {
66440
66603
  this.client = new Mistral({ apiKey: config7.apiKey });
66441
66604
  } else {
66442
- this.client = new Mistral({ apiKey: config7.apiKey, serverURL: config7.baseURL });
66605
+ this.client = new Mistral({
66606
+ apiKey: config7.apiKey,
66607
+ serverURL: config7.baseURL
66608
+ });
66443
66609
  }
66444
66610
  }
66445
66611
  };
@@ -66521,6 +66687,40 @@ var DeepseekEngine = class extends OpenAiEngine {
66521
66687
  }
66522
66688
  };
66523
66689
 
66690
+ // src/engine/aimlapi.ts
66691
+ var AimlApiEngine = class {
66692
+ constructor(config7) {
66693
+ this.config = config7;
66694
+ this.generateCommitMessage = async (messages) => {
66695
+ try {
66696
+ const response = await this.client.post("", {
66697
+ model: this.config.model,
66698
+ messages
66699
+ });
66700
+ const message = response.data.choices?.[0]?.message;
66701
+ return message?.content ?? null;
66702
+ } catch (error) {
66703
+ const err = error;
66704
+ if (axios_default.isAxiosError(error) && error.response?.status === 401) {
66705
+ const apiError = error.response.data.error;
66706
+ if (apiError) throw new Error(apiError.message);
66707
+ }
66708
+ throw err;
66709
+ }
66710
+ };
66711
+ this.client = axios_default.create({
66712
+ baseURL: config7.baseURL || "https://api.aimlapi.com/v1/chat/completions",
66713
+ headers: {
66714
+ Authorization: `Bearer ${config7.apiKey}`,
66715
+ "HTTP-Referer": "https://github.com/di-sukharev/opencommit",
66716
+ "X-Title": "opencommit",
66717
+ "Content-Type": "application/json",
66718
+ ...config7.customHeaders
66719
+ }
66720
+ });
66721
+ }
66722
+ };
66723
+
66524
66724
  // src/engine/openrouter.ts
66525
66725
  var OpenRouterEngine = class {
66526
66726
  constructor(config7) {
@@ -66607,6 +66807,8 @@ function getEngine() {
66607
66807
  return new MLXEngine(DEFAULT_CONFIG2);
66608
66808
  case "deepseek" /* DEEPSEEK */:
66609
66809
  return new DeepseekEngine(DEFAULT_CONFIG2);
66810
+ case "aimlapi" /* AIMLAPI */:
66811
+ return new AimlApiEngine(DEFAULT_CONFIG2);
66610
66812
  case "openrouter" /* OPENROUTER */:
66611
66813
  return new OpenRouterEngine(DEFAULT_CONFIG2);
66612
66814
  default:
@@ -67120,7 +67322,10 @@ var config5 = getConfig();
67120
67322
  var MAX_TOKENS_INPUT = config5.OCO_TOKENS_MAX_INPUT;
67121
67323
  var MAX_TOKENS_OUTPUT = config5.OCO_TOKENS_MAX_OUTPUT;
67122
67324
  var generateCommitMessageChatCompletionPrompt = async (diff, fullGitMojiSpec, context) => {
67123
- const INIT_MESSAGES_PROMPT = await getMainCommitPrompt(fullGitMojiSpec, context);
67325
+ const INIT_MESSAGES_PROMPT = await getMainCommitPrompt(
67326
+ fullGitMojiSpec,
67327
+ context
67328
+ );
67124
67329
  const chatContextAsCompletionRequest = [...INIT_MESSAGES_PROMPT];
67125
67330
  chatContextAsCompletionRequest.push({
67126
67331
  role: "user",
@@ -67259,6 +67464,7 @@ function delay3(ms) {
67259
67464
  // src/utils/git.ts
67260
67465
  var import_fs3 = require("fs");
67261
67466
  var import_ignore = __toESM(require_ignore(), 1);
67467
+ var import_path4 = require("path");
67262
67468
  var assertGitRepo = async () => {
67263
67469
  try {
67264
67470
  await execa("git", ["rev-parse"]);
@@ -67266,56 +67472,62 @@ var assertGitRepo = async () => {
67266
67472
  throw new Error(error);
67267
67473
  }
67268
67474
  };
67269
- var getOpenCommitIgnore = () => {
67475
+ var getOpenCommitIgnore = async () => {
67476
+ const gitDir = await getGitDir();
67270
67477
  const ig = (0, import_ignore.default)();
67271
67478
  try {
67272
- ig.add((0, import_fs3.readFileSync)(".opencommitignore").toString().split("\n"));
67479
+ ig.add(
67480
+ (0, import_fs3.readFileSync)((0, import_path4.join)(gitDir, ".opencommitignore")).toString().split("\n")
67481
+ );
67273
67482
  } catch (e3) {
67274
67483
  }
67275
67484
  return ig;
67276
67485
  };
67277
67486
  var getCoreHooksPath = async () => {
67278
- const { stdout } = await execa("git", ["config", "core.hooksPath"]);
67487
+ const gitDir = await getGitDir();
67488
+ const { stdout } = await execa("git", ["config", "core.hooksPath"], {
67489
+ cwd: gitDir
67490
+ });
67279
67491
  return stdout;
67280
67492
  };
67281
67493
  var getStagedFiles = async () => {
67282
- const { stdout: gitDir } = await execa("git", [
67283
- "rev-parse",
67284
- "--show-toplevel"
67285
- ]);
67286
- const { stdout: files } = await execa("git", [
67287
- "diff",
67288
- "--name-only",
67289
- "--cached",
67290
- "--relative",
67291
- gitDir
67292
- ]);
67494
+ const gitDir = await getGitDir();
67495
+ const { stdout: files } = await execa(
67496
+ "git",
67497
+ ["diff", "--name-only", "--cached", "--relative"],
67498
+ { cwd: gitDir }
67499
+ );
67293
67500
  if (!files) return [];
67294
67501
  const filesList = files.split("\n");
67295
- const ig = getOpenCommitIgnore();
67502
+ const ig = await getOpenCommitIgnore();
67296
67503
  const allowedFiles = filesList.filter((file) => !ig.ignores(file));
67297
67504
  if (!allowedFiles) return [];
67298
67505
  return allowedFiles.sort();
67299
67506
  };
67300
67507
  var getChangedFiles = async () => {
67301
- const { stdout: modified } = await execa("git", ["ls-files", "--modified"]);
67302
- const { stdout: others } = await execa("git", [
67303
- "ls-files",
67304
- "--others",
67305
- "--exclude-standard"
67306
- ]);
67508
+ const gitDir = await getGitDir();
67509
+ const { stdout: modified } = await execa("git", ["ls-files", "--modified"], {
67510
+ cwd: gitDir
67511
+ });
67512
+ const { stdout: others } = await execa(
67513
+ "git",
67514
+ ["ls-files", "--others", "--exclude-standard"],
67515
+ { cwd: gitDir }
67516
+ );
67307
67517
  const files = [...modified.split("\n"), ...others.split("\n")].filter(
67308
67518
  (file) => !!file
67309
67519
  );
67310
67520
  return files.sort();
67311
67521
  };
67312
67522
  var gitAdd = async ({ files }) => {
67523
+ const gitDir = await getGitDir();
67313
67524
  const gitAddSpinner = le();
67314
67525
  gitAddSpinner.start("Adding files to commit");
67315
- await execa("git", ["add", ...files]);
67526
+ await execa("git", ["add", ...files], { cwd: gitDir });
67316
67527
  gitAddSpinner.stop(`Staged ${files.length} files`);
67317
67528
  };
67318
67529
  var getDiff = async ({ files }) => {
67530
+ const gitDir = await getGitDir();
67319
67531
  const lockFiles = files.filter(
67320
67532
  (file) => file.includes(".lock") || file.includes("-lock.") || file.includes(".svg") || file.includes(".png") || file.includes(".jpg") || file.includes(".jpeg") || file.includes(".webp") || file.includes(".gif")
67321
67533
  );
@@ -67330,14 +67542,20 @@ ${lockFiles.join(
67330
67542
  const filesWithoutLocks = files.filter(
67331
67543
  (file) => !file.includes(".lock") && !file.includes("-lock.")
67332
67544
  );
67333
- const { stdout: diff } = await execa("git", [
67334
- "diff",
67335
- "--staged",
67336
- "--",
67337
- ...filesWithoutLocks
67338
- ]);
67545
+ const { stdout: diff } = await execa(
67546
+ "git",
67547
+ ["diff", "--staged", "--", ...filesWithoutLocks],
67548
+ { cwd: gitDir }
67549
+ );
67339
67550
  return diff;
67340
67551
  };
67552
+ var getGitDir = async () => {
67553
+ const { stdout: gitDir } = await execa("git", [
67554
+ "rev-parse",
67555
+ "--show-toplevel"
67556
+ ]);
67557
+ return gitDir;
67558
+ };
67341
67559
 
67342
67560
  // src/utils/trytm.ts
67343
67561
  var trytm = async (promise) => {
@@ -67395,11 +67613,23 @@ ${source_default.grey("\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2
67395
67613
  ${commitMessage}
67396
67614
  ${source_default.grey("\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014")}`
67397
67615
  );
67398
- const isCommitConfirmedByUser = skipCommitConfirmation || await Q3({
67399
- message: "Confirm the commit message?"
67616
+ const userAction = skipCommitConfirmation ? "Yes" : await ee({
67617
+ message: "Confirm the commit message?",
67618
+ options: [
67619
+ { value: "Yes", label: "Yes" },
67620
+ { value: "No", label: "No" },
67621
+ { value: "Edit", label: "Edit" }
67622
+ ]
67400
67623
  });
67401
- if (hD2(isCommitConfirmedByUser)) process.exit(1);
67402
- if (isCommitConfirmedByUser) {
67624
+ if (hD2(userAction)) process.exit(1);
67625
+ if (userAction === "Edit") {
67626
+ const textResponse = await J4({
67627
+ message: "Please edit the commit message: (press Enter to continue)",
67628
+ initialValue: commitMessage
67629
+ });
67630
+ commitMessage = textResponse.toString();
67631
+ }
67632
+ if (userAction === "Yes" || userAction === "Edit") {
67403
67633
  const committingChangesSpinner = le();
67404
67634
  committingChangesSpinner.start("Committing the changes");
67405
67635
  const { stdout } = await execa("git", [
@@ -67583,13 +67813,13 @@ var commitlintConfigCommand = G3(
67583
67813
  // src/commands/githook.ts
67584
67814
  var import_fs4 = require("fs");
67585
67815
  var import_promises3 = __toESM(require("fs/promises"), 1);
67586
- var import_path4 = __toESM(require("path"), 1);
67816
+ var import_path5 = __toESM(require("path"), 1);
67587
67817
  var HOOK_NAME = "prepare-commit-msg";
67588
- var DEFAULT_SYMLINK_URL = import_path4.default.join(".git", "hooks", HOOK_NAME);
67818
+ var DEFAULT_SYMLINK_URL = import_path5.default.join(".git", "hooks", HOOK_NAME);
67589
67819
  var getHooksPath = async () => {
67590
67820
  try {
67591
67821
  const hooksPath = await getCoreHooksPath();
67592
- return import_path4.default.join(hooksPath, HOOK_NAME);
67822
+ return import_path5.default.join(hooksPath, HOOK_NAME);
67593
67823
  } catch (error) {
67594
67824
  return DEFAULT_SYMLINK_URL;
67595
67825
  }
@@ -67629,7 +67859,7 @@ var hookCommand = G3(
67629
67859
  `Different ${HOOK_NAME} is already set. Remove it before setting opencommit as '${HOOK_NAME}' hook.`
67630
67860
  );
67631
67861
  }
67632
- await import_promises3.default.mkdir(import_path4.default.dirname(SYMLINK_URL), { recursive: true });
67862
+ await import_promises3.default.mkdir(import_path5.default.dirname(SYMLINK_URL), { recursive: true });
67633
67863
  await import_promises3.default.symlink(HOOK_URL, SYMLINK_URL, "file");
67634
67864
  await import_promises3.default.chmod(SYMLINK_URL, 493);
67635
67865
  return ce(`${source_default.green("\u2714")} Hook set`);
@@ -67698,10 +67928,18 @@ var prepareCommitMessageHook = async (isStageAllFlag = false) => {
67698
67928
  );
67699
67929
  spin.stop("Done");
67700
67930
  const fileContent = await import_promises4.default.readFile(messageFilePath);
67701
- await import_promises4.default.writeFile(
67702
- messageFilePath,
67703
- commitMessage + "\n" + fileContent.toString()
67704
- );
67931
+ const messageWithComment = `# ${commitMessage}
67932
+
67933
+ # ---------- [OpenCommit] ---------- #
67934
+ # Remove the # above to use this generated commit message.
67935
+ # To cancel the commit, just close this window without making any changes.
67936
+
67937
+ ${fileContent.toString()}`;
67938
+ const messageWithoutComment = `${commitMessage}
67939
+
67940
+ ${fileContent.toString()}`;
67941
+ const message = config7.OCO_HOOK_AUTO_UNCOMMENT ? messageWithoutComment : messageWithComment;
67942
+ await import_promises4.default.writeFile(messageFilePath, message);
67705
67943
  } catch (error) {
67706
67944
  ce(`${source_default.red("\u2716")} ${error}`);
67707
67945
  process.exit(1);
@@ -67741,7 +67979,7 @@ Current version: ${currentVersion}. Latest version: ${latestVersion}.
67741
67979
  // src/migrations/_run.ts
67742
67980
  var import_fs5 = __toESM(require("fs"), 1);
67743
67981
  var import_os2 = require("os");
67744
- var import_path5 = require("path");
67982
+ var import_path6 = require("path");
67745
67983
 
67746
67984
  // src/migrations/00_use_single_api_key_and_url.ts
67747
67985
  function use_single_api_key_and_url_default() {
@@ -67832,7 +68070,7 @@ var migrations = [
67832
68070
  ];
67833
68071
 
67834
68072
  // src/migrations/_run.ts
67835
- var migrationsFile = (0, import_path5.join)((0, import_os2.homedir)(), ".opencommit_migrations");
68073
+ var migrationsFile = (0, import_path6.join)((0, import_os2.homedir)(), ".opencommit_migrations");
67836
68074
  var getCompletedMigrations = () => {
67837
68075
  if (!import_fs5.default.existsSync(migrationsFile)) {
67838
68076
  return [];
@@ -67852,6 +68090,15 @@ var runMigrations = async () => {
67852
68090
  if (!getIsGlobalConfigFileExist()) return;
67853
68091
  const config7 = getConfig();
67854
68092
  if (config7.OCO_AI_PROVIDER === "test" /* TEST */) return;
68093
+ if ([
68094
+ "deepseek" /* DEEPSEEK */,
68095
+ "groq" /* GROQ */,
68096
+ "mistral" /* MISTRAL */,
68097
+ "mlx" /* MLX */,
68098
+ "openrouter" /* OPENROUTER */
68099
+ ].includes(config7.OCO_AI_PROVIDER)) {
68100
+ return;
68101
+ }
67855
68102
  const completedMigrations = getCompletedMigrations();
67856
68103
  let isMigrated = false;
67857
68104
  for (const migration of migrations) {