opencode-hive 1.3.2 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +182 -159
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ var __export = (target, all) => {
|
|
|
45
45
|
};
|
|
46
46
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
47
47
|
|
|
48
|
-
// ../../node_modules/ms/index.js
|
|
48
|
+
// ../../node_modules/.bun/ms@2.1.3/node_modules/ms/index.js
|
|
49
49
|
var require_ms = __commonJS((exports, module) => {
|
|
50
50
|
var s = 1000;
|
|
51
51
|
var m = s * 60;
|
|
@@ -155,7 +155,7 @@ var require_ms = __commonJS((exports, module) => {
|
|
|
155
155
|
}
|
|
156
156
|
});
|
|
157
157
|
|
|
158
|
-
// ../../node_modules/debug/src/common.js
|
|
158
|
+
// ../../node_modules/.bun/debug@4.4.3/node_modules/debug/src/common.js
|
|
159
159
|
var require_common = __commonJS((exports, module) => {
|
|
160
160
|
function setup(env) {
|
|
161
161
|
createDebug.debug = createDebug;
|
|
@@ -330,7 +330,7 @@ var require_common = __commonJS((exports, module) => {
|
|
|
330
330
|
module.exports = setup;
|
|
331
331
|
});
|
|
332
332
|
|
|
333
|
-
// ../../node_modules/debug/src/browser.js
|
|
333
|
+
// ../../node_modules/.bun/debug@4.4.3/node_modules/debug/src/browser.js
|
|
334
334
|
var require_browser = __commonJS((exports, module) => {
|
|
335
335
|
exports.formatArgs = formatArgs;
|
|
336
336
|
exports.save = save;
|
|
@@ -490,7 +490,7 @@ var require_browser = __commonJS((exports, module) => {
|
|
|
490
490
|
};
|
|
491
491
|
});
|
|
492
492
|
|
|
493
|
-
// ../../node_modules/has-flag/index.js
|
|
493
|
+
// ../../node_modules/.bun/has-flag@4.0.0/node_modules/has-flag/index.js
|
|
494
494
|
var require_has_flag = __commonJS((exports, module) => {
|
|
495
495
|
module.exports = (flag, argv = process.argv) => {
|
|
496
496
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
@@ -500,7 +500,7 @@ var require_has_flag = __commonJS((exports, module) => {
|
|
|
500
500
|
};
|
|
501
501
|
});
|
|
502
502
|
|
|
503
|
-
// ../../node_modules/supports-color/index.js
|
|
503
|
+
// ../../node_modules/.bun/supports-color@7.2.0/node_modules/supports-color/index.js
|
|
504
504
|
var require_supports_color = __commonJS((exports, module) => {
|
|
505
505
|
var os = __require("os");
|
|
506
506
|
var tty = __require("tty");
|
|
@@ -599,7 +599,7 @@ var require_supports_color = __commonJS((exports, module) => {
|
|
|
599
599
|
};
|
|
600
600
|
});
|
|
601
601
|
|
|
602
|
-
// ../../node_modules/debug/src/node.js
|
|
602
|
+
// ../../node_modules/.bun/debug@4.4.3/node_modules/debug/src/node.js
|
|
603
603
|
var require_node = __commonJS((exports, module) => {
|
|
604
604
|
var tty = __require("tty");
|
|
605
605
|
var util = __require("util");
|
|
@@ -770,7 +770,7 @@ var require_node = __commonJS((exports, module) => {
|
|
|
770
770
|
};
|
|
771
771
|
});
|
|
772
772
|
|
|
773
|
-
// ../../node_modules/debug/src/index.js
|
|
773
|
+
// ../../node_modules/.bun/debug@4.4.3/node_modules/debug/src/index.js
|
|
774
774
|
var require_src = __commonJS((exports, module) => {
|
|
775
775
|
if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
|
|
776
776
|
module.exports = require_browser();
|
|
@@ -779,7 +779,7 @@ var require_src = __commonJS((exports, module) => {
|
|
|
779
779
|
}
|
|
780
780
|
});
|
|
781
781
|
|
|
782
|
-
// ../../node_modules/@kwsites/file-exists/dist/src/index.js
|
|
782
|
+
// ../../node_modules/.bun/@kwsites+file-exists@1.1.1/node_modules/@kwsites/file-exists/dist/src/index.js
|
|
783
783
|
var require_src2 = __commonJS((exports) => {
|
|
784
784
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
785
785
|
return mod && mod.__esModule ? mod : { default: mod };
|
|
@@ -820,7 +820,7 @@ var require_src2 = __commonJS((exports) => {
|
|
|
820
820
|
exports.READABLE = exports.FILE + exports.FOLDER;
|
|
821
821
|
});
|
|
822
822
|
|
|
823
|
-
// ../../node_modules/@kwsites/file-exists/dist/index.js
|
|
823
|
+
// ../../node_modules/.bun/@kwsites+file-exists@1.1.1/node_modules/@kwsites/file-exists/dist/index.js
|
|
824
824
|
var require_dist = __commonJS((exports) => {
|
|
825
825
|
function __export2(m) {
|
|
826
826
|
for (var p in m)
|
|
@@ -831,7 +831,7 @@ var require_dist = __commonJS((exports) => {
|
|
|
831
831
|
__export2(require_src2());
|
|
832
832
|
});
|
|
833
833
|
|
|
834
|
-
// ../../node_modules/@kwsites/promise-deferred/dist/index.js
|
|
834
|
+
// ../../node_modules/.bun/@kwsites+promise-deferred@1.1.1/node_modules/@kwsites/promise-deferred/dist/index.js
|
|
835
835
|
var require_dist2 = __commonJS((exports) => {
|
|
836
836
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
837
837
|
exports.createDeferred = exports.deferred = undefined;
|
|
@@ -875,7 +875,7 @@ import * as path10 from "path";
|
|
|
875
875
|
import * as fs12 from "fs";
|
|
876
876
|
import * as os from "os";
|
|
877
877
|
|
|
878
|
-
// ../../node_modules/zod/v4/classic/external.js
|
|
878
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/classic/external.js
|
|
879
879
|
var exports_external = {};
|
|
880
880
|
__export(exports_external, {
|
|
881
881
|
xid: () => xid2,
|
|
@@ -1105,7 +1105,7 @@ __export(exports_external, {
|
|
|
1105
1105
|
$brand: () => $brand
|
|
1106
1106
|
});
|
|
1107
1107
|
|
|
1108
|
-
// ../../node_modules/zod/v4/core/index.js
|
|
1108
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/core/index.js
|
|
1109
1109
|
var exports_core2 = {};
|
|
1110
1110
|
__export(exports_core2, {
|
|
1111
1111
|
version: () => version,
|
|
@@ -1369,7 +1369,7 @@ __export(exports_core2, {
|
|
|
1369
1369
|
$ZodAny: () => $ZodAny
|
|
1370
1370
|
});
|
|
1371
1371
|
|
|
1372
|
-
// ../../node_modules/zod/v4/core/core.js
|
|
1372
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/core/core.js
|
|
1373
1373
|
var NEVER = Object.freeze({
|
|
1374
1374
|
status: "aborted"
|
|
1375
1375
|
});
|
|
@@ -1436,7 +1436,7 @@ function config(newConfig) {
|
|
|
1436
1436
|
Object.assign(globalConfig, newConfig);
|
|
1437
1437
|
return globalConfig;
|
|
1438
1438
|
}
|
|
1439
|
-
// ../../node_modules/zod/v4/core/util.js
|
|
1439
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/core/util.js
|
|
1440
1440
|
var exports_util = {};
|
|
1441
1441
|
__export(exports_util, {
|
|
1442
1442
|
unwrapMessage: () => unwrapMessage,
|
|
@@ -2065,7 +2065,7 @@ class Class {
|
|
|
2065
2065
|
constructor(..._args) {}
|
|
2066
2066
|
}
|
|
2067
2067
|
|
|
2068
|
-
// ../../node_modules/zod/v4/core/errors.js
|
|
2068
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/core/errors.js
|
|
2069
2069
|
var initializer = (inst, def) => {
|
|
2070
2070
|
inst.name = "$ZodError";
|
|
2071
2071
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -2208,7 +2208,7 @@ function prettifyError(error) {
|
|
|
2208
2208
|
`);
|
|
2209
2209
|
}
|
|
2210
2210
|
|
|
2211
|
-
// ../../node_modules/zod/v4/core/parse.js
|
|
2211
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/core/parse.js
|
|
2212
2212
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
2213
2213
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
2214
2214
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -2295,7 +2295,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
2295
2295
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
2296
2296
|
};
|
|
2297
2297
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
2298
|
-
// ../../node_modules/zod/v4/core/regexes.js
|
|
2298
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/core/regexes.js
|
|
2299
2299
|
var exports_regexes = {};
|
|
2300
2300
|
__export(exports_regexes, {
|
|
2301
2301
|
xid: () => xid,
|
|
@@ -2447,7 +2447,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
2447
2447
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
2448
2448
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
2449
2449
|
|
|
2450
|
-
// ../../node_modules/zod/v4/core/checks.js
|
|
2450
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/core/checks.js
|
|
2451
2451
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
2452
2452
|
var _a;
|
|
2453
2453
|
inst._zod ?? (inst._zod = {});
|
|
@@ -2988,7 +2988,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2988
2988
|
};
|
|
2989
2989
|
});
|
|
2990
2990
|
|
|
2991
|
-
// ../../node_modules/zod/v4/core/doc.js
|
|
2991
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/core/doc.js
|
|
2992
2992
|
class Doc {
|
|
2993
2993
|
constructor(args = []) {
|
|
2994
2994
|
this.content = [];
|
|
@@ -3026,14 +3026,14 @@ class Doc {
|
|
|
3026
3026
|
}
|
|
3027
3027
|
}
|
|
3028
3028
|
|
|
3029
|
-
// ../../node_modules/zod/v4/core/versions.js
|
|
3029
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/core/versions.js
|
|
3030
3030
|
var version = {
|
|
3031
3031
|
major: 4,
|
|
3032
3032
|
minor: 1,
|
|
3033
3033
|
patch: 8
|
|
3034
3034
|
};
|
|
3035
3035
|
|
|
3036
|
-
// ../../node_modules/zod/v4/core/schemas.js
|
|
3036
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/core/schemas.js
|
|
3037
3037
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
3038
3038
|
var _a;
|
|
3039
3039
|
inst ?? (inst = {});
|
|
@@ -4856,7 +4856,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
4856
4856
|
payload.issues.push(issue(_iss));
|
|
4857
4857
|
}
|
|
4858
4858
|
}
|
|
4859
|
-
// ../../node_modules/zod/v4/locales/index.js
|
|
4859
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/index.js
|
|
4860
4860
|
var exports_locales = {};
|
|
4861
4861
|
__export(exports_locales, {
|
|
4862
4862
|
zhTW: () => zh_TW_default,
|
|
@@ -4907,7 +4907,7 @@ __export(exports_locales, {
|
|
|
4907
4907
|
ar: () => ar_default
|
|
4908
4908
|
});
|
|
4909
4909
|
|
|
4910
|
-
// ../../node_modules/zod/v4/locales/ar.js
|
|
4910
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/ar.js
|
|
4911
4911
|
var error = () => {
|
|
4912
4912
|
const Sizable = {
|
|
4913
4913
|
string: { unit: "حرف", verb: "أن يحوي" },
|
|
@@ -5023,7 +5023,7 @@ function ar_default() {
|
|
|
5023
5023
|
localeError: error()
|
|
5024
5024
|
};
|
|
5025
5025
|
}
|
|
5026
|
-
// ../../node_modules/zod/v4/locales/az.js
|
|
5026
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/az.js
|
|
5027
5027
|
var error2 = () => {
|
|
5028
5028
|
const Sizable = {
|
|
5029
5029
|
string: { unit: "simvol", verb: "olmalıdır" },
|
|
@@ -5138,7 +5138,7 @@ function az_default() {
|
|
|
5138
5138
|
localeError: error2()
|
|
5139
5139
|
};
|
|
5140
5140
|
}
|
|
5141
|
-
// ../../node_modules/zod/v4/locales/be.js
|
|
5141
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/be.js
|
|
5142
5142
|
function getBelarusianPlural(count, one, few, many) {
|
|
5143
5143
|
const absCount = Math.abs(count);
|
|
5144
5144
|
const lastDigit = absCount % 10;
|
|
@@ -5302,7 +5302,7 @@ function be_default() {
|
|
|
5302
5302
|
localeError: error3()
|
|
5303
5303
|
};
|
|
5304
5304
|
}
|
|
5305
|
-
// ../../node_modules/zod/v4/locales/ca.js
|
|
5305
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/ca.js
|
|
5306
5306
|
var error4 = () => {
|
|
5307
5307
|
const Sizable = {
|
|
5308
5308
|
string: { unit: "caràcters", verb: "contenir" },
|
|
@@ -5419,7 +5419,7 @@ function ca_default() {
|
|
|
5419
5419
|
localeError: error4()
|
|
5420
5420
|
};
|
|
5421
5421
|
}
|
|
5422
|
-
// ../../node_modules/zod/v4/locales/cs.js
|
|
5422
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/cs.js
|
|
5423
5423
|
var error5 = () => {
|
|
5424
5424
|
const Sizable = {
|
|
5425
5425
|
string: { unit: "znaků", verb: "mít" },
|
|
@@ -5554,7 +5554,7 @@ function cs_default() {
|
|
|
5554
5554
|
localeError: error5()
|
|
5555
5555
|
};
|
|
5556
5556
|
}
|
|
5557
|
-
// ../../node_modules/zod/v4/locales/da.js
|
|
5557
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/da.js
|
|
5558
5558
|
var error6 = () => {
|
|
5559
5559
|
const Sizable = {
|
|
5560
5560
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -5685,7 +5685,7 @@ function da_default() {
|
|
|
5685
5685
|
localeError: error6()
|
|
5686
5686
|
};
|
|
5687
5687
|
}
|
|
5688
|
-
// ../../node_modules/zod/v4/locales/de.js
|
|
5688
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/de.js
|
|
5689
5689
|
var error7 = () => {
|
|
5690
5690
|
const Sizable = {
|
|
5691
5691
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -5801,7 +5801,7 @@ function de_default() {
|
|
|
5801
5801
|
localeError: error7()
|
|
5802
5802
|
};
|
|
5803
5803
|
}
|
|
5804
|
-
// ../../node_modules/zod/v4/locales/en.js
|
|
5804
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/en.js
|
|
5805
5805
|
var parsedType = (data) => {
|
|
5806
5806
|
const t = typeof data;
|
|
5807
5807
|
switch (t) {
|
|
@@ -5918,7 +5918,7 @@ function en_default() {
|
|
|
5918
5918
|
localeError: error8()
|
|
5919
5919
|
};
|
|
5920
5920
|
}
|
|
5921
|
-
// ../../node_modules/zod/v4/locales/eo.js
|
|
5921
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/eo.js
|
|
5922
5922
|
var parsedType2 = (data) => {
|
|
5923
5923
|
const t = typeof data;
|
|
5924
5924
|
switch (t) {
|
|
@@ -6034,7 +6034,7 @@ function eo_default() {
|
|
|
6034
6034
|
localeError: error9()
|
|
6035
6035
|
};
|
|
6036
6036
|
}
|
|
6037
|
-
// ../../node_modules/zod/v4/locales/es.js
|
|
6037
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/es.js
|
|
6038
6038
|
var error10 = () => {
|
|
6039
6039
|
const Sizable = {
|
|
6040
6040
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -6182,7 +6182,7 @@ function es_default() {
|
|
|
6182
6182
|
localeError: error10()
|
|
6183
6183
|
};
|
|
6184
6184
|
}
|
|
6185
|
-
// ../../node_modules/zod/v4/locales/fa.js
|
|
6185
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/fa.js
|
|
6186
6186
|
var error11 = () => {
|
|
6187
6187
|
const Sizable = {
|
|
6188
6188
|
string: { unit: "کاراکتر", verb: "داشته باشد" },
|
|
@@ -6304,7 +6304,7 @@ function fa_default() {
|
|
|
6304
6304
|
localeError: error11()
|
|
6305
6305
|
};
|
|
6306
6306
|
}
|
|
6307
|
-
// ../../node_modules/zod/v4/locales/fi.js
|
|
6307
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/fi.js
|
|
6308
6308
|
var error12 = () => {
|
|
6309
6309
|
const Sizable = {
|
|
6310
6310
|
string: { unit: "merkkiä", subject: "merkkijonon" },
|
|
@@ -6426,7 +6426,7 @@ function fi_default() {
|
|
|
6426
6426
|
localeError: error12()
|
|
6427
6427
|
};
|
|
6428
6428
|
}
|
|
6429
|
-
// ../../node_modules/zod/v4/locales/fr.js
|
|
6429
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/fr.js
|
|
6430
6430
|
var error13 = () => {
|
|
6431
6431
|
const Sizable = {
|
|
6432
6432
|
string: { unit: "caractères", verb: "avoir" },
|
|
@@ -6542,7 +6542,7 @@ function fr_default() {
|
|
|
6542
6542
|
localeError: error13()
|
|
6543
6543
|
};
|
|
6544
6544
|
}
|
|
6545
|
-
// ../../node_modules/zod/v4/locales/fr-CA.js
|
|
6545
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/fr-CA.js
|
|
6546
6546
|
var error14 = () => {
|
|
6547
6547
|
const Sizable = {
|
|
6548
6548
|
string: { unit: "caractères", verb: "avoir" },
|
|
@@ -6659,7 +6659,7 @@ function fr_CA_default() {
|
|
|
6659
6659
|
localeError: error14()
|
|
6660
6660
|
};
|
|
6661
6661
|
}
|
|
6662
|
-
// ../../node_modules/zod/v4/locales/he.js
|
|
6662
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/he.js
|
|
6663
6663
|
var error15 = () => {
|
|
6664
6664
|
const Sizable = {
|
|
6665
6665
|
string: { unit: "אותיות", verb: "לכלול" },
|
|
@@ -6775,7 +6775,7 @@ function he_default() {
|
|
|
6775
6775
|
localeError: error15()
|
|
6776
6776
|
};
|
|
6777
6777
|
}
|
|
6778
|
-
// ../../node_modules/zod/v4/locales/hu.js
|
|
6778
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/hu.js
|
|
6779
6779
|
var error16 = () => {
|
|
6780
6780
|
const Sizable = {
|
|
6781
6781
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -6891,7 +6891,7 @@ function hu_default() {
|
|
|
6891
6891
|
localeError: error16()
|
|
6892
6892
|
};
|
|
6893
6893
|
}
|
|
6894
|
-
// ../../node_modules/zod/v4/locales/id.js
|
|
6894
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/id.js
|
|
6895
6895
|
var error17 = () => {
|
|
6896
6896
|
const Sizable = {
|
|
6897
6897
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -7007,7 +7007,7 @@ function id_default() {
|
|
|
7007
7007
|
localeError: error17()
|
|
7008
7008
|
};
|
|
7009
7009
|
}
|
|
7010
|
-
// ../../node_modules/zod/v4/locales/is.js
|
|
7010
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/is.js
|
|
7011
7011
|
var parsedType3 = (data) => {
|
|
7012
7012
|
const t = typeof data;
|
|
7013
7013
|
switch (t) {
|
|
@@ -7124,7 +7124,7 @@ function is_default() {
|
|
|
7124
7124
|
localeError: error18()
|
|
7125
7125
|
};
|
|
7126
7126
|
}
|
|
7127
|
-
// ../../node_modules/zod/v4/locales/it.js
|
|
7127
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/it.js
|
|
7128
7128
|
var error19 = () => {
|
|
7129
7129
|
const Sizable = {
|
|
7130
7130
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -7240,7 +7240,7 @@ function it_default() {
|
|
|
7240
7240
|
localeError: error19()
|
|
7241
7241
|
};
|
|
7242
7242
|
}
|
|
7243
|
-
// ../../node_modules/zod/v4/locales/ja.js
|
|
7243
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/ja.js
|
|
7244
7244
|
var error20 = () => {
|
|
7245
7245
|
const Sizable = {
|
|
7246
7246
|
string: { unit: "文字", verb: "である" },
|
|
@@ -7355,7 +7355,7 @@ function ja_default() {
|
|
|
7355
7355
|
localeError: error20()
|
|
7356
7356
|
};
|
|
7357
7357
|
}
|
|
7358
|
-
// ../../node_modules/zod/v4/locales/ka.js
|
|
7358
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/ka.js
|
|
7359
7359
|
var parsedType4 = (data) => {
|
|
7360
7360
|
const t = typeof data;
|
|
7361
7361
|
switch (t) {
|
|
@@ -7480,7 +7480,7 @@ function ka_default() {
|
|
|
7480
7480
|
localeError: error21()
|
|
7481
7481
|
};
|
|
7482
7482
|
}
|
|
7483
|
-
// ../../node_modules/zod/v4/locales/km.js
|
|
7483
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/km.js
|
|
7484
7484
|
var error22 = () => {
|
|
7485
7485
|
const Sizable = {
|
|
7486
7486
|
string: { unit: "តួអក្សរ", verb: "គួរមាន" },
|
|
@@ -7598,11 +7598,11 @@ function km_default() {
|
|
|
7598
7598
|
};
|
|
7599
7599
|
}
|
|
7600
7600
|
|
|
7601
|
-
// ../../node_modules/zod/v4/locales/kh.js
|
|
7601
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/kh.js
|
|
7602
7602
|
function kh_default() {
|
|
7603
7603
|
return km_default();
|
|
7604
7604
|
}
|
|
7605
|
-
// ../../node_modules/zod/v4/locales/ko.js
|
|
7605
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/ko.js
|
|
7606
7606
|
var error23 = () => {
|
|
7607
7607
|
const Sizable = {
|
|
7608
7608
|
string: { unit: "문자", verb: "to have" },
|
|
@@ -7723,7 +7723,7 @@ function ko_default() {
|
|
|
7723
7723
|
localeError: error23()
|
|
7724
7724
|
};
|
|
7725
7725
|
}
|
|
7726
|
-
// ../../node_modules/zod/v4/locales/lt.js
|
|
7726
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/lt.js
|
|
7727
7727
|
var parsedType5 = (data) => {
|
|
7728
7728
|
const t = typeof data;
|
|
7729
7729
|
return parsedTypeFromType(t, data);
|
|
@@ -7952,7 +7952,7 @@ function lt_default() {
|
|
|
7952
7952
|
localeError: error24()
|
|
7953
7953
|
};
|
|
7954
7954
|
}
|
|
7955
|
-
// ../../node_modules/zod/v4/locales/mk.js
|
|
7955
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/mk.js
|
|
7956
7956
|
var error25 = () => {
|
|
7957
7957
|
const Sizable = {
|
|
7958
7958
|
string: { unit: "знаци", verb: "да имаат" },
|
|
@@ -8069,7 +8069,7 @@ function mk_default() {
|
|
|
8069
8069
|
localeError: error25()
|
|
8070
8070
|
};
|
|
8071
8071
|
}
|
|
8072
|
-
// ../../node_modules/zod/v4/locales/ms.js
|
|
8072
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/ms.js
|
|
8073
8073
|
var error26 = () => {
|
|
8074
8074
|
const Sizable = {
|
|
8075
8075
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -8185,7 +8185,7 @@ function ms_default() {
|
|
|
8185
8185
|
localeError: error26()
|
|
8186
8186
|
};
|
|
8187
8187
|
}
|
|
8188
|
-
// ../../node_modules/zod/v4/locales/nl.js
|
|
8188
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/nl.js
|
|
8189
8189
|
var error27 = () => {
|
|
8190
8190
|
const Sizable = {
|
|
8191
8191
|
string: { unit: "tekens" },
|
|
@@ -8302,7 +8302,7 @@ function nl_default() {
|
|
|
8302
8302
|
localeError: error27()
|
|
8303
8303
|
};
|
|
8304
8304
|
}
|
|
8305
|
-
// ../../node_modules/zod/v4/locales/no.js
|
|
8305
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/no.js
|
|
8306
8306
|
var error28 = () => {
|
|
8307
8307
|
const Sizable = {
|
|
8308
8308
|
string: { unit: "tegn", verb: "å ha" },
|
|
@@ -8418,7 +8418,7 @@ function no_default() {
|
|
|
8418
8418
|
localeError: error28()
|
|
8419
8419
|
};
|
|
8420
8420
|
}
|
|
8421
|
-
// ../../node_modules/zod/v4/locales/ota.js
|
|
8421
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/ota.js
|
|
8422
8422
|
var error29 = () => {
|
|
8423
8423
|
const Sizable = {
|
|
8424
8424
|
string: { unit: "harf", verb: "olmalıdır" },
|
|
@@ -8534,7 +8534,7 @@ function ota_default() {
|
|
|
8534
8534
|
localeError: error29()
|
|
8535
8535
|
};
|
|
8536
8536
|
}
|
|
8537
|
-
// ../../node_modules/zod/v4/locales/ps.js
|
|
8537
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/ps.js
|
|
8538
8538
|
var error30 = () => {
|
|
8539
8539
|
const Sizable = {
|
|
8540
8540
|
string: { unit: "توکي", verb: "ولري" },
|
|
@@ -8656,7 +8656,7 @@ function ps_default() {
|
|
|
8656
8656
|
localeError: error30()
|
|
8657
8657
|
};
|
|
8658
8658
|
}
|
|
8659
|
-
// ../../node_modules/zod/v4/locales/pl.js
|
|
8659
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/pl.js
|
|
8660
8660
|
var error31 = () => {
|
|
8661
8661
|
const Sizable = {
|
|
8662
8662
|
string: { unit: "znaków", verb: "mieć" },
|
|
@@ -8773,7 +8773,7 @@ function pl_default() {
|
|
|
8773
8773
|
localeError: error31()
|
|
8774
8774
|
};
|
|
8775
8775
|
}
|
|
8776
|
-
// ../../node_modules/zod/v4/locales/pt.js
|
|
8776
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/pt.js
|
|
8777
8777
|
var error32 = () => {
|
|
8778
8778
|
const Sizable = {
|
|
8779
8779
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -8889,7 +8889,7 @@ function pt_default() {
|
|
|
8889
8889
|
localeError: error32()
|
|
8890
8890
|
};
|
|
8891
8891
|
}
|
|
8892
|
-
// ../../node_modules/zod/v4/locales/ru.js
|
|
8892
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/ru.js
|
|
8893
8893
|
function getRussianPlural(count, one, few, many) {
|
|
8894
8894
|
const absCount = Math.abs(count);
|
|
8895
8895
|
const lastDigit = absCount % 10;
|
|
@@ -9053,7 +9053,7 @@ function ru_default() {
|
|
|
9053
9053
|
localeError: error33()
|
|
9054
9054
|
};
|
|
9055
9055
|
}
|
|
9056
|
-
// ../../node_modules/zod/v4/locales/sl.js
|
|
9056
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/sl.js
|
|
9057
9057
|
var error34 = () => {
|
|
9058
9058
|
const Sizable = {
|
|
9059
9059
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -9170,7 +9170,7 @@ function sl_default() {
|
|
|
9170
9170
|
localeError: error34()
|
|
9171
9171
|
};
|
|
9172
9172
|
}
|
|
9173
|
-
// ../../node_modules/zod/v4/locales/sv.js
|
|
9173
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/sv.js
|
|
9174
9174
|
var error35 = () => {
|
|
9175
9175
|
const Sizable = {
|
|
9176
9176
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -9288,7 +9288,7 @@ function sv_default() {
|
|
|
9288
9288
|
localeError: error35()
|
|
9289
9289
|
};
|
|
9290
9290
|
}
|
|
9291
|
-
// ../../node_modules/zod/v4/locales/ta.js
|
|
9291
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/ta.js
|
|
9292
9292
|
var error36 = () => {
|
|
9293
9293
|
const Sizable = {
|
|
9294
9294
|
string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" },
|
|
@@ -9405,7 +9405,7 @@ function ta_default() {
|
|
|
9405
9405
|
localeError: error36()
|
|
9406
9406
|
};
|
|
9407
9407
|
}
|
|
9408
|
-
// ../../node_modules/zod/v4/locales/th.js
|
|
9408
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/th.js
|
|
9409
9409
|
var error37 = () => {
|
|
9410
9410
|
const Sizable = {
|
|
9411
9411
|
string: { unit: "ตัวอักษร", verb: "ควรมี" },
|
|
@@ -9522,7 +9522,7 @@ function th_default() {
|
|
|
9522
9522
|
localeError: error37()
|
|
9523
9523
|
};
|
|
9524
9524
|
}
|
|
9525
|
-
// ../../node_modules/zod/v4/locales/tr.js
|
|
9525
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/tr.js
|
|
9526
9526
|
var parsedType6 = (data) => {
|
|
9527
9527
|
const t = typeof data;
|
|
9528
9528
|
switch (t) {
|
|
@@ -9637,7 +9637,7 @@ function tr_default() {
|
|
|
9637
9637
|
localeError: error38()
|
|
9638
9638
|
};
|
|
9639
9639
|
}
|
|
9640
|
-
// ../../node_modules/zod/v4/locales/uk.js
|
|
9640
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/uk.js
|
|
9641
9641
|
var error39 = () => {
|
|
9642
9642
|
const Sizable = {
|
|
9643
9643
|
string: { unit: "символів", verb: "матиме" },
|
|
@@ -9754,11 +9754,11 @@ function uk_default() {
|
|
|
9754
9754
|
};
|
|
9755
9755
|
}
|
|
9756
9756
|
|
|
9757
|
-
// ../../node_modules/zod/v4/locales/ua.js
|
|
9757
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/ua.js
|
|
9758
9758
|
function ua_default() {
|
|
9759
9759
|
return uk_default();
|
|
9760
9760
|
}
|
|
9761
|
-
// ../../node_modules/zod/v4/locales/ur.js
|
|
9761
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/ur.js
|
|
9762
9762
|
var error40 = () => {
|
|
9763
9763
|
const Sizable = {
|
|
9764
9764
|
string: { unit: "حروف", verb: "ہونا" },
|
|
@@ -9875,7 +9875,7 @@ function ur_default() {
|
|
|
9875
9875
|
localeError: error40()
|
|
9876
9876
|
};
|
|
9877
9877
|
}
|
|
9878
|
-
// ../../node_modules/zod/v4/locales/vi.js
|
|
9878
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/vi.js
|
|
9879
9879
|
var error41 = () => {
|
|
9880
9880
|
const Sizable = {
|
|
9881
9881
|
string: { unit: "ký tự", verb: "có" },
|
|
@@ -9991,7 +9991,7 @@ function vi_default() {
|
|
|
9991
9991
|
localeError: error41()
|
|
9992
9992
|
};
|
|
9993
9993
|
}
|
|
9994
|
-
// ../../node_modules/zod/v4/locales/zh-CN.js
|
|
9994
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/zh-CN.js
|
|
9995
9995
|
var error42 = () => {
|
|
9996
9996
|
const Sizable = {
|
|
9997
9997
|
string: { unit: "字符", verb: "包含" },
|
|
@@ -10107,7 +10107,7 @@ function zh_CN_default() {
|
|
|
10107
10107
|
localeError: error42()
|
|
10108
10108
|
};
|
|
10109
10109
|
}
|
|
10110
|
-
// ../../node_modules/zod/v4/locales/zh-TW.js
|
|
10110
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/zh-TW.js
|
|
10111
10111
|
var error43 = () => {
|
|
10112
10112
|
const Sizable = {
|
|
10113
10113
|
string: { unit: "字元", verb: "擁有" },
|
|
@@ -10224,7 +10224,7 @@ function zh_TW_default() {
|
|
|
10224
10224
|
localeError: error43()
|
|
10225
10225
|
};
|
|
10226
10226
|
}
|
|
10227
|
-
// ../../node_modules/zod/v4/locales/yo.js
|
|
10227
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/locales/yo.js
|
|
10228
10228
|
var error44 = () => {
|
|
10229
10229
|
const Sizable = {
|
|
10230
10230
|
string: { unit: "àmi", verb: "ní" },
|
|
@@ -10339,7 +10339,7 @@ function yo_default() {
|
|
|
10339
10339
|
localeError: error44()
|
|
10340
10340
|
};
|
|
10341
10341
|
}
|
|
10342
|
-
// ../../node_modules/zod/v4/core/registries.js
|
|
10342
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/core/registries.js
|
|
10343
10343
|
var $output = Symbol("ZodOutput");
|
|
10344
10344
|
var $input = Symbol("ZodInput");
|
|
10345
10345
|
|
|
@@ -10390,7 +10390,7 @@ function registry() {
|
|
|
10390
10390
|
return new $ZodRegistry;
|
|
10391
10391
|
}
|
|
10392
10392
|
var globalRegistry = /* @__PURE__ */ registry();
|
|
10393
|
-
// ../../node_modules/zod/v4/core/api.js
|
|
10393
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/core/api.js
|
|
10394
10394
|
function _string(Class2, params) {
|
|
10395
10395
|
return new Class2({
|
|
10396
10396
|
type: "string",
|
|
@@ -11268,7 +11268,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
11268
11268
|
const inst = new Class2(def);
|
|
11269
11269
|
return inst;
|
|
11270
11270
|
}
|
|
11271
|
-
// ../../node_modules/zod/v4/core/to-json-schema.js
|
|
11271
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/core/to-json-schema.js
|
|
11272
11272
|
class JSONSchemaGenerator {
|
|
11273
11273
|
constructor(params) {
|
|
11274
11274
|
this.counter = 0;
|
|
@@ -12072,9 +12072,9 @@ function isTransforming(_schema, _ctx) {
|
|
|
12072
12072
|
}
|
|
12073
12073
|
throw new Error(`Unknown schema type: ${def.type}`);
|
|
12074
12074
|
}
|
|
12075
|
-
// ../../node_modules/zod/v4/core/json-schema.js
|
|
12075
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/core/json-schema.js
|
|
12076
12076
|
var exports_json_schema = {};
|
|
12077
|
-
// ../../node_modules/zod/v4/classic/iso.js
|
|
12077
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/classic/iso.js
|
|
12078
12078
|
var exports_iso = {};
|
|
12079
12079
|
__export(exports_iso, {
|
|
12080
12080
|
time: () => time2,
|
|
@@ -12115,7 +12115,7 @@ function duration2(params) {
|
|
|
12115
12115
|
return _isoDuration(ZodISODuration, params);
|
|
12116
12116
|
}
|
|
12117
12117
|
|
|
12118
|
-
// ../../node_modules/zod/v4/classic/errors.js
|
|
12118
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/classic/errors.js
|
|
12119
12119
|
var initializer2 = (inst, issues) => {
|
|
12120
12120
|
$ZodError.init(inst, issues);
|
|
12121
12121
|
inst.name = "ZodError";
|
|
@@ -12150,7 +12150,7 @@ var ZodRealError = $constructor("ZodError", initializer2, {
|
|
|
12150
12150
|
Parent: Error
|
|
12151
12151
|
});
|
|
12152
12152
|
|
|
12153
|
-
// ../../node_modules/zod/v4/classic/parse.js
|
|
12153
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/classic/parse.js
|
|
12154
12154
|
var parse3 = /* @__PURE__ */ _parse(ZodRealError);
|
|
12155
12155
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
12156
12156
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -12164,7 +12164,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
12164
12164
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
12165
12165
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
12166
12166
|
|
|
12167
|
-
// ../../node_modules/zod/v4/classic/schemas.js
|
|
12167
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/classic/schemas.js
|
|
12168
12168
|
var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
12169
12169
|
$ZodType.init(inst, def);
|
|
12170
12170
|
inst.def = def;
|
|
@@ -13139,7 +13139,7 @@ function json(params) {
|
|
|
13139
13139
|
function preprocess(fn, schema) {
|
|
13140
13140
|
return pipe(transform(fn), schema);
|
|
13141
13141
|
}
|
|
13142
|
-
// ../../node_modules/zod/v4/classic/compat.js
|
|
13142
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/classic/compat.js
|
|
13143
13143
|
var ZodIssueCode = {
|
|
13144
13144
|
invalid_type: "invalid_type",
|
|
13145
13145
|
too_big: "too_big",
|
|
@@ -13163,7 +13163,7 @@ function getErrorMap() {
|
|
|
13163
13163
|
}
|
|
13164
13164
|
var ZodFirstPartyTypeKind;
|
|
13165
13165
|
(function(ZodFirstPartyTypeKind2) {})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
13166
|
-
// ../../node_modules/zod/v4/classic/coerce.js
|
|
13166
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/classic/coerce.js
|
|
13167
13167
|
var exports_coerce = {};
|
|
13168
13168
|
__export(exports_coerce, {
|
|
13169
13169
|
string: () => string3,
|
|
@@ -13188,9 +13188,9 @@ function date4(params) {
|
|
|
13188
13188
|
return _coercedDate(ZodDate, params);
|
|
13189
13189
|
}
|
|
13190
13190
|
|
|
13191
|
-
// ../../node_modules/zod/v4/classic/external.js
|
|
13191
|
+
// ../../node_modules/.bun/zod@4.1.8/node_modules/zod/v4/classic/external.js
|
|
13192
13192
|
config(en_default());
|
|
13193
|
-
// ../../node_modules/@opencode-ai/plugin/dist/tool.js
|
|
13193
|
+
// ../../node_modules/.bun/@opencode-ai+plugin@1.3.2/node_modules/@opencode-ai/plugin/dist/tool.js
|
|
13194
13194
|
function tool(input) {
|
|
13195
13195
|
return input;
|
|
13196
13196
|
}
|
|
@@ -17865,7 +17865,7 @@ _Add detailed instructions here_
|
|
|
17865
17865
|
import * as fs7 from "fs/promises";
|
|
17866
17866
|
import * as path5 from "path";
|
|
17867
17867
|
|
|
17868
|
-
// ../../node_modules/simple-git/dist/esm/index.js
|
|
17868
|
+
// ../../node_modules/.bun/simple-git@3.33.0/node_modules/simple-git/dist/esm/index.js
|
|
17869
17869
|
var import_file_exists = __toESM(require_dist(), 1);
|
|
17870
17870
|
var import_debug = __toESM(require_src(), 1);
|
|
17871
17871
|
var import_promise_deferred = __toESM(require_dist2(), 1);
|
|
@@ -18110,7 +18110,7 @@ var init_argument_filters = __esm({
|
|
|
18110
18110
|
return typeof input === "number";
|
|
18111
18111
|
};
|
|
18112
18112
|
filterString = (input) => {
|
|
18113
|
-
return typeof input === "string";
|
|
18113
|
+
return typeof input === "string" || isPathSpec(input);
|
|
18114
18114
|
};
|
|
18115
18115
|
filterStringOrStringArray = (input) => {
|
|
18116
18116
|
return filterString(input) || Array.isArray(input) && input.every(filterString);
|
|
@@ -20251,15 +20251,15 @@ function parser3(indexX, indexY, handler) {
|
|
|
20251
20251
|
return [`${indexX}${indexY}`, handler];
|
|
20252
20252
|
}
|
|
20253
20253
|
function conflicts(indexX, ...indexY) {
|
|
20254
|
-
return indexY.map((y) => parser3(indexX, y, (result, file2) =>
|
|
20254
|
+
return indexY.map((y) => parser3(indexX, y, (result, file2) => result.conflicted.push(file2)));
|
|
20255
20255
|
}
|
|
20256
20256
|
function splitLine(result, lineStr) {
|
|
20257
20257
|
const trimmed2 = lineStr.trim();
|
|
20258
20258
|
switch (" ") {
|
|
20259
20259
|
case trimmed2.charAt(2):
|
|
20260
|
-
return data(trimmed2.charAt(0), trimmed2.charAt(1), trimmed2.
|
|
20260
|
+
return data(trimmed2.charAt(0), trimmed2.charAt(1), trimmed2.slice(3));
|
|
20261
20261
|
case trimmed2.charAt(1):
|
|
20262
|
-
return data(" ", trimmed2.charAt(0), trimmed2.
|
|
20262
|
+
return data(" ", trimmed2.charAt(0), trimmed2.slice(2));
|
|
20263
20263
|
default:
|
|
20264
20264
|
return;
|
|
20265
20265
|
}
|
|
@@ -20303,26 +20303,42 @@ var init_StatusSummary = __esm({
|
|
|
20303
20303
|
}
|
|
20304
20304
|
};
|
|
20305
20305
|
parsers6 = new Map([
|
|
20306
|
-
parser3(" ", "A", (result, file2) =>
|
|
20307
|
-
parser3(" ", "D", (result, file2) =>
|
|
20308
|
-
parser3(" ", "M", (result, file2) =>
|
|
20309
|
-
parser3("A", " ", (result, file2) =>
|
|
20310
|
-
|
|
20311
|
-
|
|
20312
|
-
|
|
20313
|
-
parser3("
|
|
20306
|
+
parser3(" ", "A", (result, file2) => result.created.push(file2)),
|
|
20307
|
+
parser3(" ", "D", (result, file2) => result.deleted.push(file2)),
|
|
20308
|
+
parser3(" ", "M", (result, file2) => result.modified.push(file2)),
|
|
20309
|
+
parser3("A", " ", (result, file2) => {
|
|
20310
|
+
result.created.push(file2);
|
|
20311
|
+
result.staged.push(file2);
|
|
20312
|
+
}),
|
|
20313
|
+
parser3("A", "M", (result, file2) => {
|
|
20314
|
+
result.created.push(file2);
|
|
20315
|
+
result.staged.push(file2);
|
|
20316
|
+
result.modified.push(file2);
|
|
20317
|
+
}),
|
|
20318
|
+
parser3("D", " ", (result, file2) => {
|
|
20319
|
+
result.deleted.push(file2);
|
|
20320
|
+
result.staged.push(file2);
|
|
20321
|
+
}),
|
|
20322
|
+
parser3("M", " ", (result, file2) => {
|
|
20323
|
+
result.modified.push(file2);
|
|
20324
|
+
result.staged.push(file2);
|
|
20325
|
+
}),
|
|
20326
|
+
parser3("M", "M", (result, file2) => {
|
|
20327
|
+
result.modified.push(file2);
|
|
20328
|
+
result.staged.push(file2);
|
|
20329
|
+
}),
|
|
20314
20330
|
parser3("R", " ", (result, file2) => {
|
|
20315
|
-
|
|
20331
|
+
result.renamed.push(renamedFile(file2));
|
|
20316
20332
|
}),
|
|
20317
20333
|
parser3("R", "M", (result, file2) => {
|
|
20318
20334
|
const renamed = renamedFile(file2);
|
|
20319
|
-
|
|
20320
|
-
|
|
20335
|
+
result.renamed.push(renamed);
|
|
20336
|
+
result.modified.push(renamed.to);
|
|
20321
20337
|
}),
|
|
20322
20338
|
parser3("!", "!", (_result, _file2) => {
|
|
20323
|
-
|
|
20339
|
+
(_result.ignored = _result.ignored || []).push(_file2);
|
|
20324
20340
|
}),
|
|
20325
|
-
parser3("?", "?", (result, file2) =>
|
|
20341
|
+
parser3("?", "?", (result, file2) => result.not_added.push(file2)),
|
|
20326
20342
|
...conflicts("A", "A", "U"),
|
|
20327
20343
|
...conflicts("D", "D", "U"),
|
|
20328
20344
|
...conflicts("U", "A", "D", "U"),
|
|
@@ -20448,6 +20464,41 @@ var init_version = __esm({
|
|
|
20448
20464
|
];
|
|
20449
20465
|
}
|
|
20450
20466
|
});
|
|
20467
|
+
function createCloneTask(api2, task, repoPath, ...args) {
|
|
20468
|
+
if (!filterString(repoPath)) {
|
|
20469
|
+
return configurationErrorTask(`git.${api2}() requires a string 'repoPath'`);
|
|
20470
|
+
}
|
|
20471
|
+
return task(repoPath, filterType(args[0], filterString), getTrailingOptions(arguments));
|
|
20472
|
+
}
|
|
20473
|
+
function clone_default() {
|
|
20474
|
+
return {
|
|
20475
|
+
clone(repo, ...rest) {
|
|
20476
|
+
return this._runTask(createCloneTask("clone", cloneTask, filterType(repo, filterString), ...rest), trailingFunctionArgument(arguments));
|
|
20477
|
+
},
|
|
20478
|
+
mirror(repo, ...rest) {
|
|
20479
|
+
return this._runTask(createCloneTask("mirror", cloneMirrorTask, filterType(repo, filterString), ...rest), trailingFunctionArgument(arguments));
|
|
20480
|
+
}
|
|
20481
|
+
};
|
|
20482
|
+
}
|
|
20483
|
+
var cloneTask;
|
|
20484
|
+
var cloneMirrorTask;
|
|
20485
|
+
var init_clone = __esm({
|
|
20486
|
+
"src/lib/tasks/clone.ts"() {
|
|
20487
|
+
init_task();
|
|
20488
|
+
init_utils();
|
|
20489
|
+
init_pathspec();
|
|
20490
|
+
cloneTask = (repo, directory, customArgs) => {
|
|
20491
|
+
const commands = ["clone", ...customArgs];
|
|
20492
|
+
filterString(repo) && commands.push(pathspec(repo));
|
|
20493
|
+
filterString(directory) && commands.push(pathspec(directory));
|
|
20494
|
+
return straightThroughStringTask(commands);
|
|
20495
|
+
};
|
|
20496
|
+
cloneMirrorTask = (repo, directory, customArgs) => {
|
|
20497
|
+
append(customArgs, "--mirror");
|
|
20498
|
+
return cloneTask(repo, directory, customArgs);
|
|
20499
|
+
};
|
|
20500
|
+
}
|
|
20501
|
+
});
|
|
20451
20502
|
var simple_git_api_exports = {};
|
|
20452
20503
|
__export2(simple_git_api_exports, {
|
|
20453
20504
|
SimpleGitApi: () => SimpleGitApi
|
|
@@ -20473,6 +20524,7 @@ var init_simple_git_api = __esm({
|
|
|
20473
20524
|
init_task();
|
|
20474
20525
|
init_version();
|
|
20475
20526
|
init_utils();
|
|
20527
|
+
init_clone();
|
|
20476
20528
|
SimpleGitApi = class {
|
|
20477
20529
|
constructor(_executor) {
|
|
20478
20530
|
this._executor = _executor;
|
|
@@ -20535,7 +20587,7 @@ var init_simple_git_api = __esm({
|
|
|
20535
20587
|
return this._runTask(statusTask(getTrailingOptions(arguments)), trailingFunctionArgument(arguments));
|
|
20536
20588
|
}
|
|
20537
20589
|
};
|
|
20538
|
-
Object.assign(SimpleGitApi.prototype, checkout_default(), commit_default(), config_default(), count_objects_default(), first_commit_default(), grep_default(), log_default(), show_default(), version_default());
|
|
20590
|
+
Object.assign(SimpleGitApi.prototype, checkout_default(), clone_default(), commit_default(), config_default(), count_objects_default(), first_commit_default(), grep_default(), log_default(), show_default(), version_default());
|
|
20539
20591
|
}
|
|
20540
20592
|
});
|
|
20541
20593
|
var scheduler_exports = {};
|
|
@@ -20823,34 +20875,6 @@ var init_check_ignore = __esm({
|
|
|
20823
20875
|
init_CheckIgnore();
|
|
20824
20876
|
}
|
|
20825
20877
|
});
|
|
20826
|
-
var clone_exports = {};
|
|
20827
|
-
__export2(clone_exports, {
|
|
20828
|
-
cloneMirrorTask: () => cloneMirrorTask,
|
|
20829
|
-
cloneTask: () => cloneTask
|
|
20830
|
-
});
|
|
20831
|
-
function disallowedCommand(command) {
|
|
20832
|
-
return /^--upload-pack(=|$)/.test(command);
|
|
20833
|
-
}
|
|
20834
|
-
function cloneTask(repo, directory, customArgs) {
|
|
20835
|
-
const commands = ["clone", ...customArgs];
|
|
20836
|
-
filterString(repo) && commands.push(repo);
|
|
20837
|
-
filterString(directory) && commands.push(directory);
|
|
20838
|
-
const banned = commands.find(disallowedCommand);
|
|
20839
|
-
if (banned) {
|
|
20840
|
-
return configurationErrorTask(`git.fetch: potential exploit argument blocked.`);
|
|
20841
|
-
}
|
|
20842
|
-
return straightThroughStringTask(commands);
|
|
20843
|
-
}
|
|
20844
|
-
function cloneMirrorTask(repo, directory, customArgs) {
|
|
20845
|
-
append(customArgs, "--mirror");
|
|
20846
|
-
return cloneTask(repo, directory, customArgs);
|
|
20847
|
-
}
|
|
20848
|
-
var init_clone = __esm({
|
|
20849
|
-
"src/lib/tasks/clone.ts"() {
|
|
20850
|
-
init_task();
|
|
20851
|
-
init_utils();
|
|
20852
|
-
}
|
|
20853
|
-
});
|
|
20854
20878
|
function parseFetchResult(stdOut, stdErr) {
|
|
20855
20879
|
const result = {
|
|
20856
20880
|
raw: stdOut,
|
|
@@ -20902,7 +20926,7 @@ var fetch_exports = {};
|
|
|
20902
20926
|
__export2(fetch_exports, {
|
|
20903
20927
|
fetchTask: () => fetchTask
|
|
20904
20928
|
});
|
|
20905
|
-
function
|
|
20929
|
+
function disallowedCommand(command) {
|
|
20906
20930
|
return /^--upload-pack(=|$)/.test(command);
|
|
20907
20931
|
}
|
|
20908
20932
|
function fetchTask(remote, branch, customArgs) {
|
|
@@ -20910,7 +20934,7 @@ function fetchTask(remote, branch, customArgs) {
|
|
|
20910
20934
|
if (remote && branch) {
|
|
20911
20935
|
commands.push(remote, branch);
|
|
20912
20936
|
}
|
|
20913
|
-
const banned = commands.find(
|
|
20937
|
+
const banned = commands.find(disallowedCommand);
|
|
20914
20938
|
if (banned) {
|
|
20915
20939
|
return configurationErrorTask(`git.fetch: potential exploit argument blocked.`);
|
|
20916
20940
|
}
|
|
@@ -21209,7 +21233,7 @@ var require_git = __commonJS2({
|
|
|
21209
21233
|
var { GitExecutor: GitExecutor2 } = (init_git_executor(), __toCommonJS(git_executor_exports));
|
|
21210
21234
|
var { SimpleGitApi: SimpleGitApi2 } = (init_simple_git_api(), __toCommonJS(simple_git_api_exports));
|
|
21211
21235
|
var { Scheduler: Scheduler2 } = (init_scheduler(), __toCommonJS(scheduler_exports));
|
|
21212
|
-
var { configurationErrorTask: configurationErrorTask2 } = (init_task(), __toCommonJS(task_exports));
|
|
21236
|
+
var { adhocExecTask: adhocExecTask2, configurationErrorTask: configurationErrorTask2 } = (init_task(), __toCommonJS(task_exports));
|
|
21213
21237
|
var {
|
|
21214
21238
|
asArray: asArray2,
|
|
21215
21239
|
filterArray: filterArray2,
|
|
@@ -21230,7 +21254,6 @@ var require_git = __commonJS2({
|
|
|
21230
21254
|
} = (init_branch(), __toCommonJS(branch_exports));
|
|
21231
21255
|
var { checkIgnoreTask: checkIgnoreTask2 } = (init_check_ignore(), __toCommonJS(check_ignore_exports));
|
|
21232
21256
|
var { checkIsRepoTask: checkIsRepoTask2 } = (init_check_is_repo(), __toCommonJS(check_is_repo_exports));
|
|
21233
|
-
var { cloneTask: cloneTask2, cloneMirrorTask: cloneMirrorTask2 } = (init_clone(), __toCommonJS(clone_exports));
|
|
21234
21257
|
var { cleanWithOptionsTask: cleanWithOptionsTask2, isCleanOptionsArray: isCleanOptionsArray2 } = (init_clean(), __toCommonJS(clean_exports));
|
|
21235
21258
|
var { diffSummaryTask: diffSummaryTask2 } = (init_diff(), __toCommonJS(diff_exports));
|
|
21236
21259
|
var { fetchTask: fetchTask2 } = (init_fetch(), __toCommonJS(fetch_exports));
|
|
@@ -21275,18 +21298,6 @@ var require_git = __commonJS2({
|
|
|
21275
21298
|
Git2.prototype.stashList = function(options) {
|
|
21276
21299
|
return this._runTask(stashListTask2(trailingOptionsArgument2(arguments) || {}, filterArray2(options) && options || []), trailingFunctionArgument2(arguments));
|
|
21277
21300
|
};
|
|
21278
|
-
function createCloneTask(api2, task, repoPath, localPath) {
|
|
21279
|
-
if (typeof repoPath !== "string") {
|
|
21280
|
-
return configurationErrorTask2(`git.${api2}() requires a string 'repoPath'`);
|
|
21281
|
-
}
|
|
21282
|
-
return task(repoPath, filterType2(localPath, filterString2), getTrailingOptions2(arguments));
|
|
21283
|
-
}
|
|
21284
|
-
Git2.prototype.clone = function() {
|
|
21285
|
-
return this._runTask(createCloneTask("clone", cloneTask2, ...arguments), trailingFunctionArgument2(arguments));
|
|
21286
|
-
};
|
|
21287
|
-
Git2.prototype.mirror = function() {
|
|
21288
|
-
return this._runTask(createCloneTask("mirror", cloneMirrorTask2, ...arguments), trailingFunctionArgument2(arguments));
|
|
21289
|
-
};
|
|
21290
21301
|
Git2.prototype.mv = function(from, to) {
|
|
21291
21302
|
return this._runTask(moveTask2(from, to), trailingFunctionArgument2(arguments));
|
|
21292
21303
|
};
|
|
@@ -21305,8 +21316,7 @@ var require_git = __commonJS2({
|
|
|
21305
21316
|
return this._runTask(fetchTask2(filterType2(remote, filterString2), filterType2(branch, filterString2), getTrailingOptions2(arguments)), trailingFunctionArgument2(arguments));
|
|
21306
21317
|
};
|
|
21307
21318
|
Git2.prototype.silent = function(silence) {
|
|
21308
|
-
console.warn("simple-git deprecation notice: git.silent: logging should be configured using the `debug` library / `DEBUG` environment variable, this will be
|
|
21309
|
-
return this;
|
|
21319
|
+
return this._runTask(adhocExecTask2(() => console.warn("simple-git deprecation notice: git.silent: logging should be configured using the `debug` library / `DEBUG` environment variable, this method will be removed.")));
|
|
21310
21320
|
};
|
|
21311
21321
|
Git2.prototype.tags = function(options, then) {
|
|
21312
21322
|
return this._runTask(tagListTask2(getTrailingOptions2(arguments)), trailingFunctionArgument2(arguments));
|
|
@@ -21459,7 +21469,7 @@ var require_git = __commonJS2({
|
|
|
21459
21469
|
return this._runTask(task);
|
|
21460
21470
|
};
|
|
21461
21471
|
Git2.prototype.clearQueue = function() {
|
|
21462
|
-
return this;
|
|
21472
|
+
return this._runTask(adhocExecTask2(() => console.warn("simple-git deprecation notice: clearQueue() is deprecated and will be removed, switch to using the abortPlugin instead.")));
|
|
21463
21473
|
};
|
|
21464
21474
|
Git2.prototype.checkIgnore = function(pathnames, then) {
|
|
21465
21475
|
return this._runTask(checkIgnoreTask2(asArray2(filterType2(pathnames, filterStringOrStringArray2, []))), trailingFunctionArgument2(arguments));
|
|
@@ -21523,20 +21533,33 @@ function abortPlugin(signal) {
|
|
|
21523
21533
|
function isConfigSwitch(arg) {
|
|
21524
21534
|
return typeof arg === "string" && arg.trim().toLowerCase() === "-c";
|
|
21525
21535
|
}
|
|
21526
|
-
function
|
|
21527
|
-
if (!
|
|
21528
|
-
return;
|
|
21529
|
-
}
|
|
21530
|
-
if (!/^\s*protocol(.[a-z]+)?.allow/.test(next)) {
|
|
21531
|
-
return;
|
|
21536
|
+
function isCloneUploadPackSwitch(char, arg) {
|
|
21537
|
+
if (typeof arg !== "string" || !arg.includes(char)) {
|
|
21538
|
+
return false;
|
|
21532
21539
|
}
|
|
21533
|
-
|
|
21540
|
+
const cleaned = arg.trim().replace(/\0/g, "");
|
|
21541
|
+
return /^(--no)?-{1,2}[\dlsqvnobucj]+(\s|$)/.test(cleaned);
|
|
21542
|
+
}
|
|
21543
|
+
function preventConfigBuilder(config2, setting, message = String(config2)) {
|
|
21544
|
+
const regex = typeof config2 === "string" ? new RegExp(`\\s*${config2}`, "i") : config2;
|
|
21545
|
+
return function preventCommand(options, arg, next) {
|
|
21546
|
+
if (options[setting] !== true && isConfigSwitch(arg) && regex.test(next)) {
|
|
21547
|
+
throw new GitPluginError(undefined, "unsafe", `Configuring ${message} is not permitted without enabling ${setting}`);
|
|
21548
|
+
}
|
|
21549
|
+
};
|
|
21534
21550
|
}
|
|
21551
|
+
var preventUnsafeConfig = [
|
|
21552
|
+
preventConfigBuilder(/^\s*protocol(.[a-z]+)?.allow/i, "allowUnsafeProtocolOverride", "protocol.allow"),
|
|
21553
|
+
preventConfigBuilder("core.sshCommand", "allowUnsafeSshCommand"),
|
|
21554
|
+
preventConfigBuilder("core.gitProxy", "allowUnsafeGitProxy"),
|
|
21555
|
+
preventConfigBuilder("core.hooksPath", "allowUnsafeHooksPath"),
|
|
21556
|
+
preventConfigBuilder("diff.external", "allowUnsafeDiffExternal")
|
|
21557
|
+
];
|
|
21535
21558
|
function preventUploadPack(arg, method) {
|
|
21536
21559
|
if (/^\s*--(upload|receive)-pack/.test(arg)) {
|
|
21537
21560
|
throw new GitPluginError(undefined, "unsafe", `Use of --upload-pack or --receive-pack is not permitted without enabling allowUnsafePack`);
|
|
21538
21561
|
}
|
|
21539
|
-
if (method === "clone" &&
|
|
21562
|
+
if (method === "clone" && isCloneUploadPackSwitch("u", arg)) {
|
|
21540
21563
|
throw new GitPluginError(undefined, "unsafe", `Use of clone with option -u is not permitted without enabling allowUnsafePack`);
|
|
21541
21564
|
}
|
|
21542
21565
|
if (method === "push" && /^\s*--exec\b/.test(arg)) {
|
|
@@ -21544,16 +21567,16 @@ function preventUploadPack(arg, method) {
|
|
|
21544
21567
|
}
|
|
21545
21568
|
}
|
|
21546
21569
|
function blockUnsafeOperationsPlugin({
|
|
21547
|
-
|
|
21548
|
-
|
|
21570
|
+
allowUnsafePack = false,
|
|
21571
|
+
...options
|
|
21549
21572
|
} = {}) {
|
|
21550
21573
|
return {
|
|
21551
21574
|
type: "spawn.args",
|
|
21552
21575
|
action(args, context) {
|
|
21553
21576
|
args.forEach((current, index) => {
|
|
21554
21577
|
const next = index < args.length ? args[index + 1] : "";
|
|
21555
|
-
allowUnsafeProtocolOverride || preventProtocolOverride(current, next);
|
|
21556
21578
|
allowUnsafePack || preventUploadPack(current, context.method);
|
|
21579
|
+
preventUnsafeConfig.forEach((helper) => helper(options, current, next));
|
|
21557
21580
|
});
|
|
21558
21581
|
return args;
|
|
21559
21582
|
}
|
|
@@ -21637,7 +21660,7 @@ init_utils();
|
|
|
21637
21660
|
var WRONG_NUMBER_ERR = `Invalid value supplied for custom binary, requires a single string or an array containing either one or two strings`;
|
|
21638
21661
|
var WRONG_CHARS_ERR = `Invalid value supplied for custom binary, restricted characters must be removed or supply the unsafe.allowUnsafeCustomBinary option`;
|
|
21639
21662
|
function isBadArgument(arg) {
|
|
21640
|
-
return !arg || !/^([a-z]:)?([a-z0-9/.\\_
|
|
21663
|
+
return !arg || !/^([a-z]:)?([a-z0-9/.\\_~-]+)$/i.test(arg);
|
|
21641
21664
|
}
|
|
21642
21665
|
function toBinaryConfig(input, allowUnsafe) {
|
|
21643
21666
|
if (input.length < 1 || input.length > 2) {
|
|
@@ -21857,12 +21880,12 @@ function gitInstanceFactory(baseDir, options) {
|
|
|
21857
21880
|
plugins.add(commandConfigPrefixingPlugin(config2.config));
|
|
21858
21881
|
}
|
|
21859
21882
|
plugins.add(blockUnsafeOperationsPlugin(config2.unsafe));
|
|
21860
|
-
plugins.add(suffixPathsPlugin());
|
|
21861
21883
|
plugins.add(completionDetectionPlugin(config2.completion));
|
|
21862
21884
|
config2.abort && plugins.add(abortPlugin(config2.abort));
|
|
21863
21885
|
config2.progress && plugins.add(progressMonitorPlugin(config2.progress));
|
|
21864
21886
|
config2.timeout && plugins.add(timeoutPlugin(config2.timeout));
|
|
21865
21887
|
config2.spawnOptions && plugins.add(spawnOptionsPlugin(config2.spawnOptions));
|
|
21888
|
+
plugins.add(suffixPathsPlugin());
|
|
21866
21889
|
plugins.add(errorDetectionPlugin(errorDetectionHandler(true)));
|
|
21867
21890
|
config2.errors && plugins.add(errorDetectionPlugin(config2.errors));
|
|
21868
21891
|
customBinaryPlugin(plugins, config2.binary, config2.unsafe?.allowUnsafeCustomBinary);
|