@vm0/cli 9.140.0 → 9.140.1
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.
|
@@ -4629,8 +4629,8 @@ var require_browser = __commonJS({
|
|
|
4629
4629
|
if (!this.useColors) {
|
|
4630
4630
|
return;
|
|
4631
4631
|
}
|
|
4632
|
-
const
|
|
4633
|
-
args.splice(1, 0,
|
|
4632
|
+
const c56 = "color: " + this.color;
|
|
4633
|
+
args.splice(1, 0, c56, "color: inherit");
|
|
4634
4634
|
let index = 0;
|
|
4635
4635
|
let lastC = 0;
|
|
4636
4636
|
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
@@ -4642,7 +4642,7 @@ var require_browser = __commonJS({
|
|
|
4642
4642
|
lastC = index;
|
|
4643
4643
|
}
|
|
4644
4644
|
});
|
|
4645
|
-
args.splice(lastC, 0,
|
|
4645
|
+
args.splice(lastC, 0, c56);
|
|
4646
4646
|
}
|
|
4647
4647
|
exports.log = console.debug || console.log || (() => {
|
|
4648
4648
|
});
|
|
@@ -4930,8 +4930,8 @@ var require_node = __commonJS({
|
|
|
4930
4930
|
function formatArgs(args) {
|
|
4931
4931
|
const { namespace: name, useColors: useColors2 } = this;
|
|
4932
4932
|
if (useColors2) {
|
|
4933
|
-
const
|
|
4934
|
-
const colorCode = "\x1B[3" + (
|
|
4933
|
+
const c56 = this.color;
|
|
4934
|
+
const colorCode = "\x1B[3" + (c56 < 8 ? c56 : "8;5;" + c56);
|
|
4935
4935
|
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
4936
4936
|
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
4937
4937
|
args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
|
|
@@ -8981,27 +8981,27 @@ var require_commonjs2 = __commonJS({
|
|
|
8981
8981
|
const pad = n.some(isPadded);
|
|
8982
8982
|
N = [];
|
|
8983
8983
|
for (let i = x2; test(i, y); i += incr) {
|
|
8984
|
-
let
|
|
8984
|
+
let c56;
|
|
8985
8985
|
if (isAlphaSequence) {
|
|
8986
|
-
|
|
8987
|
-
if (
|
|
8988
|
-
|
|
8986
|
+
c56 = String.fromCharCode(i);
|
|
8987
|
+
if (c56 === "\\") {
|
|
8988
|
+
c56 = "";
|
|
8989
8989
|
}
|
|
8990
8990
|
} else {
|
|
8991
|
-
|
|
8991
|
+
c56 = String(i);
|
|
8992
8992
|
if (pad) {
|
|
8993
|
-
const need = width -
|
|
8993
|
+
const need = width - c56.length;
|
|
8994
8994
|
if (need > 0) {
|
|
8995
8995
|
const z3 = new Array(need + 1).join("0");
|
|
8996
8996
|
if (i < 0) {
|
|
8997
|
-
|
|
8997
|
+
c56 = "-" + z3 + c56.slice(1);
|
|
8998
8998
|
} else {
|
|
8999
|
-
|
|
8999
|
+
c56 = z3 + c56;
|
|
9000
9000
|
}
|
|
9001
9001
|
}
|
|
9002
9002
|
}
|
|
9003
9003
|
}
|
|
9004
|
-
N.push(
|
|
9004
|
+
N.push(c56);
|
|
9005
9005
|
}
|
|
9006
9006
|
} else {
|
|
9007
9007
|
N = [];
|
|
@@ -9084,25 +9084,25 @@ var require_brace_expressions = __commonJS({
|
|
|
9084
9084
|
let endPos = pos;
|
|
9085
9085
|
let rangeStart = "";
|
|
9086
9086
|
WHILE: while (i < glob.length) {
|
|
9087
|
-
const
|
|
9088
|
-
if ((
|
|
9087
|
+
const c56 = glob.charAt(i);
|
|
9088
|
+
if ((c56 === "!" || c56 === "^") && i === pos + 1) {
|
|
9089
9089
|
negate = true;
|
|
9090
9090
|
i++;
|
|
9091
9091
|
continue;
|
|
9092
9092
|
}
|
|
9093
|
-
if (
|
|
9093
|
+
if (c56 === "]" && sawStart && !escaping) {
|
|
9094
9094
|
endPos = i + 1;
|
|
9095
9095
|
break;
|
|
9096
9096
|
}
|
|
9097
9097
|
sawStart = true;
|
|
9098
|
-
if (
|
|
9098
|
+
if (c56 === "\\") {
|
|
9099
9099
|
if (!escaping) {
|
|
9100
9100
|
escaping = true;
|
|
9101
9101
|
i++;
|
|
9102
9102
|
continue;
|
|
9103
9103
|
}
|
|
9104
9104
|
}
|
|
9105
|
-
if (
|
|
9105
|
+
if (c56 === "[" && !escaping) {
|
|
9106
9106
|
for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) {
|
|
9107
9107
|
if (glob.startsWith(cls, i)) {
|
|
9108
9108
|
if (rangeStart) {
|
|
@@ -9120,26 +9120,26 @@ var require_brace_expressions = __commonJS({
|
|
|
9120
9120
|
}
|
|
9121
9121
|
escaping = false;
|
|
9122
9122
|
if (rangeStart) {
|
|
9123
|
-
if (
|
|
9124
|
-
ranges.push(braceEscape(rangeStart) + "-" + braceEscape(
|
|
9125
|
-
} else if (
|
|
9126
|
-
ranges.push(braceEscape(
|
|
9123
|
+
if (c56 > rangeStart) {
|
|
9124
|
+
ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c56));
|
|
9125
|
+
} else if (c56 === rangeStart) {
|
|
9126
|
+
ranges.push(braceEscape(c56));
|
|
9127
9127
|
}
|
|
9128
9128
|
rangeStart = "";
|
|
9129
9129
|
i++;
|
|
9130
9130
|
continue;
|
|
9131
9131
|
}
|
|
9132
9132
|
if (glob.startsWith("-]", i + 1)) {
|
|
9133
|
-
ranges.push(braceEscape(
|
|
9133
|
+
ranges.push(braceEscape(c56 + "-"));
|
|
9134
9134
|
i += 2;
|
|
9135
9135
|
continue;
|
|
9136
9136
|
}
|
|
9137
9137
|
if (glob.startsWith("-", i + 1)) {
|
|
9138
|
-
rangeStart =
|
|
9138
|
+
rangeStart = c56;
|
|
9139
9139
|
i += 2;
|
|
9140
9140
|
continue;
|
|
9141
9141
|
}
|
|
9142
|
-
ranges.push(braceEscape(
|
|
9142
|
+
ranges.push(braceEscape(c56));
|
|
9143
9143
|
i++;
|
|
9144
9144
|
}
|
|
9145
9145
|
if (endPos < i) {
|
|
@@ -9189,8 +9189,8 @@ var require_ast = __commonJS({
|
|
|
9189
9189
|
var brace_expressions_js_1 = require_brace_expressions();
|
|
9190
9190
|
var unescape_js_1 = require_unescape();
|
|
9191
9191
|
var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
|
|
9192
|
-
var isExtglobType = (
|
|
9193
|
-
var isExtglobAST = (
|
|
9192
|
+
var isExtglobType = (c56) => types.has(c56);
|
|
9193
|
+
var isExtglobAST = (c56) => isExtglobType(c56.type);
|
|
9194
9194
|
var adoptionMap = /* @__PURE__ */ new Map([
|
|
9195
9195
|
["!", ["@"]],
|
|
9196
9196
|
["?", ["?", "@"]],
|
|
@@ -9387,11 +9387,11 @@ var require_ast = __commonJS({
|
|
|
9387
9387
|
this.push(part.clone(this));
|
|
9388
9388
|
}
|
|
9389
9389
|
clone(parent) {
|
|
9390
|
-
const
|
|
9390
|
+
const c56 = new _a2(this.type, parent);
|
|
9391
9391
|
for (const p of this.#parts) {
|
|
9392
|
-
|
|
9392
|
+
c56.copyIn(p);
|
|
9393
9393
|
}
|
|
9394
|
-
return
|
|
9394
|
+
return c56;
|
|
9395
9395
|
}
|
|
9396
9396
|
static #parseAST(str, ast, pos, opt, extDepth) {
|
|
9397
9397
|
const maxDepth = opt.maxExtglobRecursion ?? 2;
|
|
@@ -9403,39 +9403,39 @@ var require_ast = __commonJS({
|
|
|
9403
9403
|
let i2 = pos;
|
|
9404
9404
|
let acc2 = "";
|
|
9405
9405
|
while (i2 < str.length) {
|
|
9406
|
-
const
|
|
9407
|
-
if (escaping ||
|
|
9406
|
+
const c56 = str.charAt(i2++);
|
|
9407
|
+
if (escaping || c56 === "\\") {
|
|
9408
9408
|
escaping = !escaping;
|
|
9409
|
-
acc2 +=
|
|
9409
|
+
acc2 += c56;
|
|
9410
9410
|
continue;
|
|
9411
9411
|
}
|
|
9412
9412
|
if (inBrace) {
|
|
9413
9413
|
if (i2 === braceStart + 1) {
|
|
9414
|
-
if (
|
|
9414
|
+
if (c56 === "^" || c56 === "!") {
|
|
9415
9415
|
braceNeg = true;
|
|
9416
9416
|
}
|
|
9417
|
-
} else if (
|
|
9417
|
+
} else if (c56 === "]" && !(i2 === braceStart + 2 && braceNeg)) {
|
|
9418
9418
|
inBrace = false;
|
|
9419
9419
|
}
|
|
9420
|
-
acc2 +=
|
|
9420
|
+
acc2 += c56;
|
|
9421
9421
|
continue;
|
|
9422
|
-
} else if (
|
|
9422
|
+
} else if (c56 === "[") {
|
|
9423
9423
|
inBrace = true;
|
|
9424
9424
|
braceStart = i2;
|
|
9425
9425
|
braceNeg = false;
|
|
9426
|
-
acc2 +=
|
|
9426
|
+
acc2 += c56;
|
|
9427
9427
|
continue;
|
|
9428
9428
|
}
|
|
9429
|
-
const doRecurse = !opt.noext && isExtglobType(
|
|
9429
|
+
const doRecurse = !opt.noext && isExtglobType(c56) && str.charAt(i2) === "(" && extDepth <= maxDepth;
|
|
9430
9430
|
if (doRecurse) {
|
|
9431
9431
|
ast.push(acc2);
|
|
9432
9432
|
acc2 = "";
|
|
9433
|
-
const ext = new _a2(
|
|
9433
|
+
const ext = new _a2(c56, ast);
|
|
9434
9434
|
i2 = _a2.#parseAST(str, ext, i2, opt, extDepth + 1);
|
|
9435
9435
|
ast.push(ext);
|
|
9436
9436
|
continue;
|
|
9437
9437
|
}
|
|
9438
|
-
acc2 +=
|
|
9438
|
+
acc2 += c56;
|
|
9439
9439
|
}
|
|
9440
9440
|
ast.push(acc2);
|
|
9441
9441
|
return i2;
|
|
@@ -9445,48 +9445,48 @@ var require_ast = __commonJS({
|
|
|
9445
9445
|
const parts = [];
|
|
9446
9446
|
let acc = "";
|
|
9447
9447
|
while (i < str.length) {
|
|
9448
|
-
const
|
|
9449
|
-
if (escaping ||
|
|
9448
|
+
const c56 = str.charAt(i++);
|
|
9449
|
+
if (escaping || c56 === "\\") {
|
|
9450
9450
|
escaping = !escaping;
|
|
9451
|
-
acc +=
|
|
9451
|
+
acc += c56;
|
|
9452
9452
|
continue;
|
|
9453
9453
|
}
|
|
9454
9454
|
if (inBrace) {
|
|
9455
9455
|
if (i === braceStart + 1) {
|
|
9456
|
-
if (
|
|
9456
|
+
if (c56 === "^" || c56 === "!") {
|
|
9457
9457
|
braceNeg = true;
|
|
9458
9458
|
}
|
|
9459
|
-
} else if (
|
|
9459
|
+
} else if (c56 === "]" && !(i === braceStart + 2 && braceNeg)) {
|
|
9460
9460
|
inBrace = false;
|
|
9461
9461
|
}
|
|
9462
|
-
acc +=
|
|
9462
|
+
acc += c56;
|
|
9463
9463
|
continue;
|
|
9464
|
-
} else if (
|
|
9464
|
+
} else if (c56 === "[") {
|
|
9465
9465
|
inBrace = true;
|
|
9466
9466
|
braceStart = i;
|
|
9467
9467
|
braceNeg = false;
|
|
9468
|
-
acc +=
|
|
9468
|
+
acc += c56;
|
|
9469
9469
|
continue;
|
|
9470
9470
|
}
|
|
9471
|
-
const doRecurse = !opt.noext && isExtglobType(
|
|
9472
|
-
(extDepth <= maxDepth || ast && ast.#canAdoptType(
|
|
9471
|
+
const doRecurse = !opt.noext && isExtglobType(c56) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
|
|
9472
|
+
(extDepth <= maxDepth || ast && ast.#canAdoptType(c56));
|
|
9473
9473
|
if (doRecurse) {
|
|
9474
|
-
const depthAdd = ast && ast.#canAdoptType(
|
|
9474
|
+
const depthAdd = ast && ast.#canAdoptType(c56) ? 0 : 1;
|
|
9475
9475
|
part.push(acc);
|
|
9476
9476
|
acc = "";
|
|
9477
|
-
const ext = new _a2(
|
|
9477
|
+
const ext = new _a2(c56, part);
|
|
9478
9478
|
part.push(ext);
|
|
9479
9479
|
i = _a2.#parseAST(str, ext, i, opt, extDepth + depthAdd);
|
|
9480
9480
|
continue;
|
|
9481
9481
|
}
|
|
9482
|
-
if (
|
|
9482
|
+
if (c56 === "|") {
|
|
9483
9483
|
part.push(acc);
|
|
9484
9484
|
acc = "";
|
|
9485
9485
|
parts.push(part);
|
|
9486
9486
|
part = new _a2(null, ast);
|
|
9487
9487
|
continue;
|
|
9488
9488
|
}
|
|
9489
|
-
if (
|
|
9489
|
+
if (c56 === ")") {
|
|
9490
9490
|
if (acc === "" && ast.#parts.length === 0) {
|
|
9491
9491
|
ast.#emptyExt = true;
|
|
9492
9492
|
}
|
|
@@ -9495,7 +9495,7 @@ var require_ast = __commonJS({
|
|
|
9495
9495
|
ast.push(...parts, part);
|
|
9496
9496
|
return i;
|
|
9497
9497
|
}
|
|
9498
|
-
acc +=
|
|
9498
|
+
acc += c56;
|
|
9499
9499
|
}
|
|
9500
9500
|
ast.type = null;
|
|
9501
9501
|
ast.#hasMagic = void 0;
|
|
@@ -9515,8 +9515,8 @@ var require_ast = __commonJS({
|
|
|
9515
9515
|
}
|
|
9516
9516
|
return this.#canAdoptType(gc.type, map2);
|
|
9517
9517
|
}
|
|
9518
|
-
#canAdoptType(
|
|
9519
|
-
return !!map2.get(this.type)?.includes(
|
|
9518
|
+
#canAdoptType(c56, map2 = adoptionAnyMap) {
|
|
9519
|
+
return !!map2.get(this.type)?.includes(c56);
|
|
9520
9520
|
}
|
|
9521
9521
|
#adoptWithSpace(child, index) {
|
|
9522
9522
|
const gc = child.#parts[0];
|
|
@@ -9534,9 +9534,9 @@ var require_ast = __commonJS({
|
|
|
9534
9534
|
}
|
|
9535
9535
|
this.#toString = void 0;
|
|
9536
9536
|
}
|
|
9537
|
-
#canUsurpType(
|
|
9537
|
+
#canUsurpType(c56) {
|
|
9538
9538
|
const m = usurpMap.get(this.type);
|
|
9539
|
-
return !!m?.has(
|
|
9539
|
+
return !!m?.has(c56);
|
|
9540
9540
|
}
|
|
9541
9541
|
#canUsurp(child) {
|
|
9542
9542
|
if (!child || typeof child !== "object" || child.type !== null || child.#parts.length !== 1 || this.type === null || this.#parts.length !== 1) {
|
|
@@ -9749,18 +9749,18 @@ var require_ast = __commonJS({
|
|
|
9749
9749
|
do {
|
|
9750
9750
|
done = true;
|
|
9751
9751
|
for (let i = 0; i < this.#parts.length; i++) {
|
|
9752
|
-
const
|
|
9753
|
-
if (typeof
|
|
9754
|
-
|
|
9755
|
-
if (this.#canAdopt(
|
|
9752
|
+
const c56 = this.#parts[i];
|
|
9753
|
+
if (typeof c56 === "object") {
|
|
9754
|
+
c56.#flatten();
|
|
9755
|
+
if (this.#canAdopt(c56)) {
|
|
9756
9756
|
done = false;
|
|
9757
|
-
this.#adopt(
|
|
9758
|
-
} else if (this.#canAdoptWithSpace(
|
|
9757
|
+
this.#adopt(c56, i);
|
|
9758
|
+
} else if (this.#canAdoptWithSpace(c56)) {
|
|
9759
9759
|
done = false;
|
|
9760
|
-
this.#adoptWithSpace(
|
|
9761
|
-
} else if (this.#canUsurp(
|
|
9760
|
+
this.#adoptWithSpace(c56, i);
|
|
9761
|
+
} else if (this.#canUsurp(c56)) {
|
|
9762
9762
|
done = false;
|
|
9763
|
-
this.#usurp(
|
|
9763
|
+
this.#usurp(c56);
|
|
9764
9764
|
}
|
|
9765
9765
|
}
|
|
9766
9766
|
}
|
|
@@ -9784,13 +9784,13 @@ var require_ast = __commonJS({
|
|
|
9784
9784
|
let uflag = false;
|
|
9785
9785
|
let inStar = false;
|
|
9786
9786
|
for (let i = 0; i < glob.length; i++) {
|
|
9787
|
-
const
|
|
9787
|
+
const c56 = glob.charAt(i);
|
|
9788
9788
|
if (escaping) {
|
|
9789
9789
|
escaping = false;
|
|
9790
|
-
re += (reSpecials.has(
|
|
9790
|
+
re += (reSpecials.has(c56) ? "\\" : "") + c56;
|
|
9791
9791
|
continue;
|
|
9792
9792
|
}
|
|
9793
|
-
if (
|
|
9793
|
+
if (c56 === "*") {
|
|
9794
9794
|
if (inStar)
|
|
9795
9795
|
continue;
|
|
9796
9796
|
inStar = true;
|
|
@@ -9800,7 +9800,7 @@ var require_ast = __commonJS({
|
|
|
9800
9800
|
} else {
|
|
9801
9801
|
inStar = false;
|
|
9802
9802
|
}
|
|
9803
|
-
if (
|
|
9803
|
+
if (c56 === "\\") {
|
|
9804
9804
|
if (i === glob.length - 1) {
|
|
9805
9805
|
re += "\\\\";
|
|
9806
9806
|
} else {
|
|
@@ -9808,7 +9808,7 @@ var require_ast = __commonJS({
|
|
|
9808
9808
|
}
|
|
9809
9809
|
continue;
|
|
9810
9810
|
}
|
|
9811
|
-
if (
|
|
9811
|
+
if (c56 === "[") {
|
|
9812
9812
|
const [src, needUflag, consumed, magic] = (0, brace_expressions_js_1.parseClass)(glob, i);
|
|
9813
9813
|
if (consumed) {
|
|
9814
9814
|
re += src;
|
|
@@ -9818,12 +9818,12 @@ var require_ast = __commonJS({
|
|
|
9818
9818
|
continue;
|
|
9819
9819
|
}
|
|
9820
9820
|
}
|
|
9821
|
-
if (
|
|
9821
|
+
if (c56 === "?") {
|
|
9822
9822
|
re += qmark;
|
|
9823
9823
|
hasMagic = true;
|
|
9824
9824
|
continue;
|
|
9825
9825
|
}
|
|
9826
|
-
re += regExpEscape(
|
|
9826
|
+
re += regExpEscape(c56);
|
|
9827
9827
|
}
|
|
9828
9828
|
return [re, (0, unescape_js_1.unescape)(glob), !!hasMagic, uflag];
|
|
9829
9829
|
}
|
|
@@ -13747,13 +13747,13 @@ var require_utils4 = __commonJS({
|
|
|
13747
13747
|
}
|
|
13748
13748
|
exports.arrayStringifyHelper = arrayStringifyHelper;
|
|
13749
13749
|
function getPoolNameOld(pool) {
|
|
13750
|
-
const
|
|
13750
|
+
const c56 = pool.config.connectionConfig;
|
|
13751
13751
|
let poolName = "";
|
|
13752
|
-
poolName +=
|
|
13753
|
-
poolName +=
|
|
13754
|
-
poolName +=
|
|
13755
|
-
poolName +=
|
|
13756
|
-
if (!
|
|
13752
|
+
poolName += c56.host ? `host: '${c56.host}', ` : "";
|
|
13753
|
+
poolName += c56.port ? `port: ${c56.port}, ` : "";
|
|
13754
|
+
poolName += c56.database ? `database: '${c56.database}', ` : "";
|
|
13755
|
+
poolName += c56.user ? `user: '${c56.user}'` : "";
|
|
13756
|
+
if (!c56.user) {
|
|
13757
13757
|
poolName = poolName.substring(0, poolName.length - 2);
|
|
13758
13758
|
}
|
|
13759
13759
|
return poolName.trim();
|
|
@@ -14105,7 +14105,7 @@ var require_src9 = __commonJS({
|
|
|
14105
14105
|
return indexOpeningDashDashComment < indexClosingSlashComment;
|
|
14106
14106
|
}
|
|
14107
14107
|
function fixedEncodeURIComponent(str) {
|
|
14108
|
-
return encodeURIComponent(str).replace(/[!'()*]/g, (
|
|
14108
|
+
return encodeURIComponent(str).replace(/[!'()*]/g, (c56) => `%${c56.charCodeAt(0).toString(16).toUpperCase()}`);
|
|
14109
14109
|
}
|
|
14110
14110
|
function addSqlCommenterComment(span, query) {
|
|
14111
14111
|
if (typeof query !== "string" || query.length === 0) {
|
|
@@ -22665,8 +22665,8 @@ var require_util = __commonJS({
|
|
|
22665
22665
|
function isUSVString(val) {
|
|
22666
22666
|
return hasIsWellFormed ? `${val}`.isWellFormed() : toUSVString(val) === `${val}`;
|
|
22667
22667
|
}
|
|
22668
|
-
function isTokenCharCode(
|
|
22669
|
-
switch (
|
|
22668
|
+
function isTokenCharCode(c56) {
|
|
22669
|
+
switch (c56) {
|
|
22670
22670
|
case 34:
|
|
22671
22671
|
case 40:
|
|
22672
22672
|
case 41:
|
|
@@ -22686,7 +22686,7 @@ var require_util = __commonJS({
|
|
|
22686
22686
|
case 125:
|
|
22687
22687
|
return false;
|
|
22688
22688
|
default:
|
|
22689
|
-
return
|
|
22689
|
+
return c56 >= 33 && c56 <= 126;
|
|
22690
22690
|
}
|
|
22691
22691
|
}
|
|
22692
22692
|
function isValidHTTPToken(characters) {
|
|
@@ -24275,7 +24275,7 @@ var require_constants2 = __commonJS({
|
|
|
24275
24275
|
exports.HEADER_CHARS.push(i);
|
|
24276
24276
|
}
|
|
24277
24277
|
}
|
|
24278
|
-
exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((
|
|
24278
|
+
exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c56) => c56 !== 44);
|
|
24279
24279
|
exports.MAJOR = exports.NUM_MAP;
|
|
24280
24280
|
exports.MINOR = exports.MAJOR;
|
|
24281
24281
|
var HEADER_STATE;
|
|
@@ -25421,10 +25421,10 @@ var require_util2 = __commonJS({
|
|
|
25421
25421
|
}
|
|
25422
25422
|
function isValidReasonPhrase(statusText) {
|
|
25423
25423
|
for (let i = 0; i < statusText.length; ++i) {
|
|
25424
|
-
const
|
|
25425
|
-
if (!(
|
|
25426
|
-
|
|
25427
|
-
|
|
25424
|
+
const c56 = statusText.charCodeAt(i);
|
|
25425
|
+
if (!(c56 === 9 || // HTAB
|
|
25426
|
+
c56 >= 32 && c56 <= 126 || // SP / VCHAR
|
|
25427
|
+
c56 >= 128 && c56 <= 255)) {
|
|
25428
25428
|
return false;
|
|
25429
25429
|
}
|
|
25430
25430
|
}
|
|
@@ -29398,7 +29398,7 @@ var require_pool_base = __commonJS({
|
|
|
29398
29398
|
pool.emit("drain", origin, [pool, ...targets]);
|
|
29399
29399
|
}
|
|
29400
29400
|
if (pool[kClosedResolve] && queue.isEmpty()) {
|
|
29401
|
-
Promise.all(pool[kClients].map((
|
|
29401
|
+
Promise.all(pool[kClients].map((c56) => c56.close())).then(pool[kClosedResolve]);
|
|
29402
29402
|
}
|
|
29403
29403
|
};
|
|
29404
29404
|
this[kOnConnect] = (origin, targets) => {
|
|
@@ -29447,7 +29447,7 @@ var require_pool_base = __commonJS({
|
|
|
29447
29447
|
}
|
|
29448
29448
|
async [kClose]() {
|
|
29449
29449
|
if (this[kQueue].isEmpty()) {
|
|
29450
|
-
await Promise.all(this[kClients].map((
|
|
29450
|
+
await Promise.all(this[kClients].map((c56) => c56.close()));
|
|
29451
29451
|
} else {
|
|
29452
29452
|
await new Promise((resolve2) => {
|
|
29453
29453
|
this[kClosedResolve] = resolve2;
|
|
@@ -29462,7 +29462,7 @@ var require_pool_base = __commonJS({
|
|
|
29462
29462
|
}
|
|
29463
29463
|
item.handler.onError(err);
|
|
29464
29464
|
}
|
|
29465
|
-
await Promise.all(this[kClients].map((
|
|
29465
|
+
await Promise.all(this[kClients].map((c56) => c56.destroy(err)));
|
|
29466
29466
|
}
|
|
29467
29467
|
[kDispatch](opts, handler) {
|
|
29468
29468
|
const dispatcher = this[kGetDispatcher]();
|
|
@@ -36232,8 +36232,8 @@ var require_util4 = __commonJS({
|
|
|
36232
36232
|
return new TextDecoder(encoding).decode(sliced);
|
|
36233
36233
|
}
|
|
36234
36234
|
function BOMSniffing(ioQueue) {
|
|
36235
|
-
const [a, b,
|
|
36236
|
-
if (a === 239 && b === 187 &&
|
|
36235
|
+
const [a, b, c56] = ioQueue;
|
|
36236
|
+
if (a === 239 && b === 187 && c56 === 191) {
|
|
36237
36237
|
return "UTF-8";
|
|
36238
36238
|
} else if (a === 254 && b === 255) {
|
|
36239
36239
|
return "UTF-16BE";
|
|
@@ -40712,9 +40712,9 @@ var require_Alias = __commonJS({
|
|
|
40712
40712
|
} else if (identity.isCollection(node2)) {
|
|
40713
40713
|
let count = 0;
|
|
40714
40714
|
for (const item of node2.items) {
|
|
40715
|
-
const
|
|
40716
|
-
if (
|
|
40717
|
-
count =
|
|
40715
|
+
const c56 = getAliasCount(doc, item, anchors2);
|
|
40716
|
+
if (c56 > count)
|
|
40717
|
+
count = c56;
|
|
40718
40718
|
}
|
|
40719
40719
|
return count;
|
|
40720
40720
|
} else if (identity.isPair(node2)) {
|
|
@@ -47730,7 +47730,7 @@ var require_style = __commonJS({
|
|
|
47730
47730
|
"../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/style.js"(exports, module2) {
|
|
47731
47731
|
"use strict";
|
|
47732
47732
|
init_esm_shims();
|
|
47733
|
-
var
|
|
47733
|
+
var c56 = require_kleur();
|
|
47734
47734
|
var figures = require_figures();
|
|
47735
47735
|
var styles3 = Object.freeze({
|
|
47736
47736
|
password: {
|
|
@@ -47752,14 +47752,14 @@ var require_style = __commonJS({
|
|
|
47752
47752
|
});
|
|
47753
47753
|
var render = (type) => styles3[type] || styles3.default;
|
|
47754
47754
|
var symbols = Object.freeze({
|
|
47755
|
-
aborted:
|
|
47756
|
-
done:
|
|
47757
|
-
exited:
|
|
47758
|
-
default:
|
|
47755
|
+
aborted: c56.red(figures.cross),
|
|
47756
|
+
done: c56.green(figures.tick),
|
|
47757
|
+
exited: c56.yellow(figures.cross),
|
|
47758
|
+
default: c56.cyan("?")
|
|
47759
47759
|
});
|
|
47760
47760
|
var symbol2 = (done, aborted2, exited) => aborted2 ? symbols.aborted : exited ? symbols.exited : done ? symbols.done : symbols.default;
|
|
47761
|
-
var delimiter = (completing) =>
|
|
47762
|
-
var item = (expandable, expanded) =>
|
|
47761
|
+
var delimiter = (completing) => c56.gray(completing ? figures.ellipsis : figures.pointerSmall);
|
|
47762
|
+
var item = (expandable, expanded) => c56.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
|
|
47763
47763
|
module2.exports = {
|
|
47764
47764
|
styles: styles3,
|
|
47765
47765
|
render,
|
|
@@ -48041,10 +48041,10 @@ var require_text = __commonJS({
|
|
|
48041
48041
|
this.cursor = this.cursor + n;
|
|
48042
48042
|
this.cursorOffset += n;
|
|
48043
48043
|
}
|
|
48044
|
-
_(
|
|
48044
|
+
_(c56, key) {
|
|
48045
48045
|
let s1 = this.value.slice(0, this.cursor);
|
|
48046
48046
|
let s2 = this.value.slice(this.cursor);
|
|
48047
|
-
this.value = `${s1}${
|
|
48047
|
+
this.value = `${s1}${c56}${s2}`;
|
|
48048
48048
|
this.red = false;
|
|
48049
48049
|
this.cursor = this.placeholder ? 0 : s1.length + 1;
|
|
48050
48050
|
this.render();
|
|
@@ -48219,8 +48219,8 @@ var require_select = __commonJS({
|
|
|
48219
48219
|
this.moveCursor((this.cursor + 1) % this.choices.length);
|
|
48220
48220
|
this.render();
|
|
48221
48221
|
}
|
|
48222
|
-
_(
|
|
48223
|
-
if (
|
|
48222
|
+
_(c56, key) {
|
|
48223
|
+
if (c56 === " ") return this.submit();
|
|
48224
48224
|
}
|
|
48225
48225
|
get selection() {
|
|
48226
48226
|
return this.choices[this.cursor];
|
|
@@ -48346,12 +48346,12 @@ var require_toggle = __commonJS({
|
|
|
48346
48346
|
this.fire();
|
|
48347
48347
|
this.render();
|
|
48348
48348
|
}
|
|
48349
|
-
_(
|
|
48350
|
-
if (
|
|
48349
|
+
_(c56, key) {
|
|
48350
|
+
if (c56 === " ") {
|
|
48351
48351
|
this.value = !this.value;
|
|
48352
|
-
} else if (
|
|
48352
|
+
} else if (c56 === "1") {
|
|
48353
48353
|
this.value = true;
|
|
48354
|
-
} else if (
|
|
48354
|
+
} else if (c56 === "0") {
|
|
48355
48355
|
this.value = false;
|
|
48356
48356
|
} else return this.bell();
|
|
48357
48357
|
this.render();
|
|
@@ -48859,9 +48859,9 @@ var require_date = __commonJS({
|
|
|
48859
48859
|
this.moveCursor(next ? this.parts.indexOf(next) : this.parts.findIndex((part) => part instanceof DatePart));
|
|
48860
48860
|
this.render();
|
|
48861
48861
|
}
|
|
48862
|
-
_(
|
|
48863
|
-
if (/\d/.test(
|
|
48864
|
-
this.typed +=
|
|
48862
|
+
_(c56) {
|
|
48863
|
+
if (/\d/.test(c56)) {
|
|
48864
|
+
this.typed += c56;
|
|
48865
48865
|
this.parts[this.cursor].setTo(this.typed);
|
|
48866
48866
|
this.render();
|
|
48867
48867
|
}
|
|
@@ -48970,8 +48970,8 @@ var require_number = __commonJS({
|
|
|
48970
48970
|
parse(x2) {
|
|
48971
48971
|
return this.float ? parseFloat(x2) : parseInt(x2);
|
|
48972
48972
|
}
|
|
48973
|
-
valid(
|
|
48974
|
-
return
|
|
48973
|
+
valid(c56) {
|
|
48974
|
+
return c56 === `-` || c56 === `.` && this.float || isNumber.test(c56);
|
|
48975
48975
|
}
|
|
48976
48976
|
reset() {
|
|
48977
48977
|
this.typed = ``;
|
|
@@ -49064,14 +49064,14 @@ var require_number = __commonJS({
|
|
|
49064
49064
|
this.fire();
|
|
49065
49065
|
this.render();
|
|
49066
49066
|
}
|
|
49067
|
-
_(
|
|
49068
|
-
if (!this.valid(
|
|
49067
|
+
_(c56, key) {
|
|
49068
|
+
if (!this.valid(c56)) return this.bell();
|
|
49069
49069
|
const now = Date.now();
|
|
49070
49070
|
if (now - this.lastHit > 1e3) this.typed = ``;
|
|
49071
|
-
this.typed +=
|
|
49071
|
+
this.typed += c56;
|
|
49072
49072
|
this.lastHit = now;
|
|
49073
49073
|
this.color = `cyan`;
|
|
49074
|
-
if (
|
|
49074
|
+
if (c56 === `.`) return this.fire();
|
|
49075
49075
|
this.value = Math.min(this.parse(this.typed), this.max);
|
|
49076
49076
|
if (this.value > this.max) this.value = this.max;
|
|
49077
49077
|
if (this.value < this.min) this.value = this.min;
|
|
@@ -49235,10 +49235,10 @@ var require_multiselect = __commonJS({
|
|
|
49235
49235
|
this.value.filter((v) => !v.disabled).forEach((v) => v.selected = newSelected);
|
|
49236
49236
|
this.render();
|
|
49237
49237
|
}
|
|
49238
|
-
_(
|
|
49239
|
-
if (
|
|
49238
|
+
_(c56, key) {
|
|
49239
|
+
if (c56 === " ") {
|
|
49240
49240
|
this.handleSpaceToggle();
|
|
49241
|
-
} else if (
|
|
49241
|
+
} else if (c56 === "a") {
|
|
49242
49242
|
this.toggleAll();
|
|
49243
49243
|
} else {
|
|
49244
49244
|
return this.bell();
|
|
@@ -49479,10 +49479,10 @@ var require_autocomplete = __commonJS({
|
|
|
49479
49479
|
this.out.write("\n");
|
|
49480
49480
|
this.close();
|
|
49481
49481
|
}
|
|
49482
|
-
_(
|
|
49482
|
+
_(c56, key) {
|
|
49483
49483
|
let s1 = this.input.slice(0, this.cursor);
|
|
49484
49484
|
let s2 = this.input.slice(this.cursor);
|
|
49485
|
-
this.input = `${s1}${
|
|
49485
|
+
this.input = `${s1}${c56}${s2}`;
|
|
49486
49486
|
this.cursor = s1.length + 1;
|
|
49487
49487
|
this.complete(this.render);
|
|
49488
49488
|
this.render();
|
|
@@ -49682,15 +49682,15 @@ var require_autocompleteMultiselect = __commonJS({
|
|
|
49682
49682
|
this.render();
|
|
49683
49683
|
}
|
|
49684
49684
|
}
|
|
49685
|
-
handleInputChange(
|
|
49686
|
-
this.inputValue = this.inputValue +
|
|
49685
|
+
handleInputChange(c56) {
|
|
49686
|
+
this.inputValue = this.inputValue + c56;
|
|
49687
49687
|
this.updateFilteredOptions();
|
|
49688
49688
|
}
|
|
49689
|
-
_(
|
|
49690
|
-
if (
|
|
49689
|
+
_(c56, key) {
|
|
49690
|
+
if (c56 === " ") {
|
|
49691
49691
|
this.handleSpaceToggle();
|
|
49692
49692
|
} else {
|
|
49693
|
-
this.handleInputChange(
|
|
49693
|
+
this.handleInputChange(c56);
|
|
49694
49694
|
}
|
|
49695
49695
|
}
|
|
49696
49696
|
renderInstructions() {
|
|
@@ -49796,12 +49796,12 @@ var require_confirm = __commonJS({
|
|
|
49796
49796
|
this.out.write("\n");
|
|
49797
49797
|
this.close();
|
|
49798
49798
|
}
|
|
49799
|
-
_(
|
|
49800
|
-
if (
|
|
49799
|
+
_(c56, key) {
|
|
49800
|
+
if (c56.toLowerCase() === "y") {
|
|
49801
49801
|
this.value = true;
|
|
49802
49802
|
return this.submit();
|
|
49803
49803
|
}
|
|
49804
|
-
if (
|
|
49804
|
+
if (c56.toLowerCase() === "n") {
|
|
49805
49805
|
this.value = false;
|
|
49806
49806
|
return this.submit();
|
|
49807
49807
|
}
|
|
@@ -50242,7 +50242,7 @@ var require_style2 = __commonJS({
|
|
|
50242
50242
|
"../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/style.js"(exports, module2) {
|
|
50243
50243
|
"use strict";
|
|
50244
50244
|
init_esm_shims();
|
|
50245
|
-
var
|
|
50245
|
+
var c56 = require_kleur();
|
|
50246
50246
|
var figures = require_figures2();
|
|
50247
50247
|
var styles3 = Object.freeze({
|
|
50248
50248
|
password: { scale: 1, render: (input) => "*".repeat(input.length) },
|
|
@@ -50252,14 +50252,14 @@ var require_style2 = __commonJS({
|
|
|
50252
50252
|
});
|
|
50253
50253
|
var render = (type) => styles3[type] || styles3.default;
|
|
50254
50254
|
var symbols = Object.freeze({
|
|
50255
|
-
aborted:
|
|
50256
|
-
done:
|
|
50257
|
-
exited:
|
|
50258
|
-
default:
|
|
50255
|
+
aborted: c56.red(figures.cross),
|
|
50256
|
+
done: c56.green(figures.tick),
|
|
50257
|
+
exited: c56.yellow(figures.cross),
|
|
50258
|
+
default: c56.cyan("?")
|
|
50259
50259
|
});
|
|
50260
50260
|
var symbol2 = (done, aborted2, exited) => aborted2 ? symbols.aborted : exited ? symbols.exited : done ? symbols.done : symbols.default;
|
|
50261
|
-
var delimiter = (completing) =>
|
|
50262
|
-
var item = (expandable, expanded) =>
|
|
50261
|
+
var delimiter = (completing) => c56.gray(completing ? figures.ellipsis : figures.pointerSmall);
|
|
50262
|
+
var item = (expandable, expanded) => c56.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
|
|
50263
50263
|
module2.exports = {
|
|
50264
50264
|
styles: styles3,
|
|
50265
50265
|
render,
|
|
@@ -50492,10 +50492,10 @@ var require_text2 = __commonJS({
|
|
|
50492
50492
|
this.cursor = this.cursor + n;
|
|
50493
50493
|
this.cursorOffset += n;
|
|
50494
50494
|
}
|
|
50495
|
-
_(
|
|
50495
|
+
_(c56, key) {
|
|
50496
50496
|
let s1 = this.value.slice(0, this.cursor);
|
|
50497
50497
|
let s2 = this.value.slice(this.cursor);
|
|
50498
|
-
this.value = `${s1}${
|
|
50498
|
+
this.value = `${s1}${c56}${s2}`;
|
|
50499
50499
|
this.red = false;
|
|
50500
50500
|
this.cursor = this.placeholder ? 0 : s1.length + 1;
|
|
50501
50501
|
this.render();
|
|
@@ -50669,8 +50669,8 @@ var require_select2 = __commonJS({
|
|
|
50669
50669
|
this.moveCursor((this.cursor + 1) % this.choices.length);
|
|
50670
50670
|
this.render();
|
|
50671
50671
|
}
|
|
50672
|
-
_(
|
|
50673
|
-
if (
|
|
50672
|
+
_(c56, key) {
|
|
50673
|
+
if (c56 === " ") return this.submit();
|
|
50674
50674
|
}
|
|
50675
50675
|
get selection() {
|
|
50676
50676
|
return this.choices[this.cursor];
|
|
@@ -50794,12 +50794,12 @@ var require_toggle2 = __commonJS({
|
|
|
50794
50794
|
this.fire();
|
|
50795
50795
|
this.render();
|
|
50796
50796
|
}
|
|
50797
|
-
_(
|
|
50798
|
-
if (
|
|
50797
|
+
_(c56, key) {
|
|
50798
|
+
if (c56 === " ") {
|
|
50799
50799
|
this.value = !this.value;
|
|
50800
|
-
} else if (
|
|
50800
|
+
} else if (c56 === "1") {
|
|
50801
50801
|
this.value = true;
|
|
50802
|
-
} else if (
|
|
50802
|
+
} else if (c56 === "0") {
|
|
50803
50803
|
this.value = false;
|
|
50804
50804
|
} else return this.bell();
|
|
50805
50805
|
this.render();
|
|
@@ -51255,9 +51255,9 @@ var require_date2 = __commonJS({
|
|
|
51255
51255
|
this.moveCursor(next ? this.parts.indexOf(next) : this.parts.findIndex((part) => part instanceof DatePart));
|
|
51256
51256
|
this.render();
|
|
51257
51257
|
}
|
|
51258
|
-
_(
|
|
51259
|
-
if (/\d/.test(
|
|
51260
|
-
this.typed +=
|
|
51258
|
+
_(c56) {
|
|
51259
|
+
if (/\d/.test(c56)) {
|
|
51260
|
+
this.typed += c56;
|
|
51261
51261
|
this.parts[this.cursor].setTo(this.typed);
|
|
51262
51262
|
this.render();
|
|
51263
51263
|
}
|
|
@@ -51339,8 +51339,8 @@ var require_number2 = __commonJS({
|
|
|
51339
51339
|
parse(x2) {
|
|
51340
51340
|
return this.float ? parseFloat(x2) : parseInt(x2);
|
|
51341
51341
|
}
|
|
51342
|
-
valid(
|
|
51343
|
-
return
|
|
51342
|
+
valid(c56) {
|
|
51343
|
+
return c56 === `-` || c56 === `.` && this.float || isNumber.test(c56);
|
|
51344
51344
|
}
|
|
51345
51345
|
reset() {
|
|
51346
51346
|
this.typed = ``;
|
|
@@ -51427,14 +51427,14 @@ var require_number2 = __commonJS({
|
|
|
51427
51427
|
this.fire();
|
|
51428
51428
|
this.render();
|
|
51429
51429
|
}
|
|
51430
|
-
_(
|
|
51431
|
-
if (!this.valid(
|
|
51430
|
+
_(c56, key) {
|
|
51431
|
+
if (!this.valid(c56)) return this.bell();
|
|
51432
51432
|
const now = Date.now();
|
|
51433
51433
|
if (now - this.lastHit > 1e3) this.typed = ``;
|
|
51434
|
-
this.typed +=
|
|
51434
|
+
this.typed += c56;
|
|
51435
51435
|
this.lastHit = now;
|
|
51436
51436
|
this.color = `cyan`;
|
|
51437
|
-
if (
|
|
51437
|
+
if (c56 === `.`) return this.fire();
|
|
51438
51438
|
this.value = Math.min(this.parse(this.typed), this.max);
|
|
51439
51439
|
if (this.value > this.max) this.value = this.max;
|
|
51440
51440
|
if (this.value < this.min) this.value = this.min;
|
|
@@ -51596,10 +51596,10 @@ var require_multiselect2 = __commonJS({
|
|
|
51596
51596
|
this.value.filter((v) => !v.disabled).forEach((v) => v.selected = newSelected);
|
|
51597
51597
|
this.render();
|
|
51598
51598
|
}
|
|
51599
|
-
_(
|
|
51600
|
-
if (
|
|
51599
|
+
_(c56, key) {
|
|
51600
|
+
if (c56 === " ") {
|
|
51601
51601
|
this.handleSpaceToggle();
|
|
51602
|
-
} else if (
|
|
51602
|
+
} else if (c56 === "a") {
|
|
51603
51603
|
this.toggleAll();
|
|
51604
51604
|
} else {
|
|
51605
51605
|
return this.bell();
|
|
@@ -51796,10 +51796,10 @@ var require_autocomplete2 = __commonJS({
|
|
|
51796
51796
|
this.out.write("\n");
|
|
51797
51797
|
this.close();
|
|
51798
51798
|
}
|
|
51799
|
-
_(
|
|
51799
|
+
_(c56, key) {
|
|
51800
51800
|
let s1 = this.input.slice(0, this.cursor);
|
|
51801
51801
|
let s2 = this.input.slice(this.cursor);
|
|
51802
|
-
this.input = `${s1}${
|
|
51802
|
+
this.input = `${s1}${c56}${s2}`;
|
|
51803
51803
|
this.cursor = s1.length + 1;
|
|
51804
51804
|
this.complete(this.render);
|
|
51805
51805
|
this.render();
|
|
@@ -52002,15 +52002,15 @@ var require_autocompleteMultiselect2 = __commonJS({
|
|
|
52002
52002
|
this.render();
|
|
52003
52003
|
}
|
|
52004
52004
|
}
|
|
52005
|
-
handleInputChange(
|
|
52006
|
-
this.inputValue = this.inputValue +
|
|
52005
|
+
handleInputChange(c56) {
|
|
52006
|
+
this.inputValue = this.inputValue + c56;
|
|
52007
52007
|
this.updateFilteredOptions();
|
|
52008
52008
|
}
|
|
52009
|
-
_(
|
|
52010
|
-
if (
|
|
52009
|
+
_(c56, key) {
|
|
52010
|
+
if (c56 === " ") {
|
|
52011
52011
|
this.handleSpaceToggle();
|
|
52012
52012
|
} else {
|
|
52013
|
-
this.handleInputChange(
|
|
52013
|
+
this.handleInputChange(c56);
|
|
52014
52014
|
}
|
|
52015
52015
|
}
|
|
52016
52016
|
renderInstructions() {
|
|
@@ -52117,12 +52117,12 @@ var require_confirm2 = __commonJS({
|
|
|
52117
52117
|
this.out.write("\n");
|
|
52118
52118
|
this.close();
|
|
52119
52119
|
}
|
|
52120
|
-
_(
|
|
52121
|
-
if (
|
|
52120
|
+
_(c56, key) {
|
|
52121
|
+
if (c56.toLowerCase() === "y") {
|
|
52122
52122
|
this.value = true;
|
|
52123
52123
|
return this.submit();
|
|
52124
52124
|
}
|
|
52125
|
-
if (
|
|
52125
|
+
if (c56.toLowerCase() === "n") {
|
|
52126
52126
|
this.value = false;
|
|
52127
52127
|
return this.submit();
|
|
52128
52128
|
}
|
|
@@ -53176,8 +53176,8 @@ function _htmlElementAsString(el, keyAttrs) {
|
|
|
53176
53176
|
const className = elem.className;
|
|
53177
53177
|
if (className && isString(className)) {
|
|
53178
53178
|
const classes = className.split(/\s+/);
|
|
53179
|
-
for (const
|
|
53180
|
-
out.push(`.${
|
|
53179
|
+
for (const c56 of classes) {
|
|
53180
|
+
out.push(`.${c56}`);
|
|
53181
53181
|
}
|
|
53182
53182
|
}
|
|
53183
53183
|
}
|
|
@@ -53409,9 +53409,9 @@ function uuid4(crypto = getCrypto()) {
|
|
|
53409
53409
|
}
|
|
53410
53410
|
return emptyUuid.replace(
|
|
53411
53411
|
/[018]/g,
|
|
53412
|
-
(
|
|
53412
|
+
(c56) => (
|
|
53413
53413
|
// eslint-disable-next-line no-bitwise
|
|
53414
|
-
(
|
|
53414
|
+
(c56 ^ (getRandomByte() & 15) >> c56 / 4).toString(16)
|
|
53415
53415
|
)
|
|
53416
53416
|
);
|
|
53417
53417
|
}
|
|
@@ -72468,16 +72468,16 @@ var HonoInstrumentation = class extends InstrumentationBase {
|
|
|
72468
72468
|
*/
|
|
72469
72469
|
_wrapHandler(handler) {
|
|
72470
72470
|
const instrumentation = this;
|
|
72471
|
-
return function(
|
|
72471
|
+
return function(c56, next) {
|
|
72472
72472
|
if (!instrumentation.isEnabled()) {
|
|
72473
|
-
return handler.apply(this, [
|
|
72473
|
+
return handler.apply(this, [c56, next]);
|
|
72474
72474
|
}
|
|
72475
|
-
const path3 =
|
|
72475
|
+
const path3 = c56.req.path;
|
|
72476
72476
|
const span = instrumentation.tracer.startSpan(path3);
|
|
72477
72477
|
return context.with(trace.setSpan(context.active(), span), () => {
|
|
72478
72478
|
return instrumentation._safeExecute(
|
|
72479
72479
|
() => {
|
|
72480
|
-
const result = handler.apply(this, [
|
|
72480
|
+
const result = handler.apply(this, [c56, next]);
|
|
72481
72481
|
if (isThenable(result)) {
|
|
72482
72482
|
return result.then((result2) => {
|
|
72483
72483
|
const type = instrumentation._determineHandlerType(result2);
|
|
@@ -74090,7 +74090,7 @@ if (DSN) {
|
|
|
74090
74090
|
init2({
|
|
74091
74091
|
dsn: DSN,
|
|
74092
74092
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
74093
|
-
release: "9.140.
|
|
74093
|
+
release: "9.140.1",
|
|
74094
74094
|
sendDefaultPii: false,
|
|
74095
74095
|
tracesSampleRate: 0,
|
|
74096
74096
|
shutdownTimeout: 500,
|
|
@@ -74109,7 +74109,7 @@ if (DSN) {
|
|
|
74109
74109
|
}
|
|
74110
74110
|
});
|
|
74111
74111
|
setContext("cli", {
|
|
74112
|
-
version: "9.140.
|
|
74112
|
+
version: "9.140.1",
|
|
74113
74113
|
command: process.argv.slice(2).join(" ")
|
|
74114
74114
|
});
|
|
74115
74115
|
setContext("runtime", {
|
|
@@ -77440,7 +77440,7 @@ var $ZodBase64 = /* @__PURE__ */ $constructor("$ZodBase64", (inst, def) => {
|
|
|
77440
77440
|
function isValidBase64URL(data) {
|
|
77441
77441
|
if (!base64url.test(data))
|
|
77442
77442
|
return false;
|
|
77443
|
-
const base643 = data.replace(/[-_]/g, (
|
|
77443
|
+
const base643 = data.replace(/[-_]/g, (c56) => c56 === "-" ? "+" : "/");
|
|
77444
77444
|
const padded = base643.padEnd(Math.ceil(base643.length / 4) * 4, "=");
|
|
77445
77445
|
return isValidBase64(padded);
|
|
77446
77446
|
}
|
|
@@ -87551,9 +87551,9 @@ var ZodDate = /* @__PURE__ */ $constructor("ZodDate", (inst, def) => {
|
|
|
87551
87551
|
inst._zod.processJSONSchema = (ctx, json2, params) => dateProcessor(inst, ctx, json2, params);
|
|
87552
87552
|
inst.min = (value, params) => inst.check(_gte(value, params));
|
|
87553
87553
|
inst.max = (value, params) => inst.check(_lte(value, params));
|
|
87554
|
-
const
|
|
87555
|
-
inst.minDate =
|
|
87556
|
-
inst.maxDate =
|
|
87554
|
+
const c56 = inst._zod.bag;
|
|
87555
|
+
inst.minDate = c56.minimum ? new Date(c56.minimum) : null;
|
|
87556
|
+
inst.maxDate = c56.maximum ? new Date(c56.maximum) : null;
|
|
87557
87557
|
});
|
|
87558
87558
|
function date3(params) {
|
|
87559
87559
|
return _date(ZodDate, params);
|
|
@@ -102831,8 +102831,20 @@ var attachFileSchema = external_exports.object({
|
|
|
102831
102831
|
var resolvedAttachFileSchema = attachFileSchema.extend({
|
|
102832
102832
|
url: external_exports.string()
|
|
102833
102833
|
});
|
|
102834
|
+
var chatThreadArtifactGoogleDriveSyncSchema = external_exports.discriminatedUnion("status", [
|
|
102835
|
+
external_exports.object({
|
|
102836
|
+
status: external_exports.literal("synced"),
|
|
102837
|
+
id: external_exports.string(),
|
|
102838
|
+
name: external_exports.string(),
|
|
102839
|
+
webViewLink: external_exports.string().nullable()
|
|
102840
|
+
}),
|
|
102841
|
+
external_exports.object({ status: external_exports.literal("not_synced") }),
|
|
102842
|
+
external_exports.object({ status: external_exports.literal("disconnected") }),
|
|
102843
|
+
external_exports.object({ status: external_exports.literal("unknown") })
|
|
102844
|
+
]);
|
|
102834
102845
|
var chatThreadArtifactFileSchema = resolvedAttachFileSchema.extend({
|
|
102835
|
-
createdAt: external_exports.string()
|
|
102846
|
+
createdAt: external_exports.string(),
|
|
102847
|
+
googleDriveSync: chatThreadArtifactGoogleDriveSyncSchema.optional()
|
|
102836
102848
|
});
|
|
102837
102849
|
var chatThreadArtifactRunSchema = external_exports.object({
|
|
102838
102850
|
runId: external_exports.string(),
|
|
@@ -103179,6 +103191,29 @@ var chatThreadArtifactsContract = c13.router({
|
|
|
103179
103191
|
404: apiErrorSchema
|
|
103180
103192
|
},
|
|
103181
103193
|
summary: "List uploaded files associated with every run in a chat thread"
|
|
103194
|
+
},
|
|
103195
|
+
syncGoogleDrive: {
|
|
103196
|
+
method: "POST",
|
|
103197
|
+
path: "/api/zero/chat-threads/:threadId/artifacts",
|
|
103198
|
+
headers: authHeadersSchema,
|
|
103199
|
+
pathParams: external_exports.object({ threadId: external_exports.string() }),
|
|
103200
|
+
body: external_exports.object({
|
|
103201
|
+
runId: external_exports.string(),
|
|
103202
|
+
fileId: external_exports.string()
|
|
103203
|
+
}),
|
|
103204
|
+
responses: {
|
|
103205
|
+
200: external_exports.object({
|
|
103206
|
+
id: external_exports.string(),
|
|
103207
|
+
name: external_exports.string(),
|
|
103208
|
+
webViewLink: external_exports.string().nullable()
|
|
103209
|
+
}),
|
|
103210
|
+
400: apiErrorSchema,
|
|
103211
|
+
401: apiErrorSchema,
|
|
103212
|
+
403: apiErrorSchema,
|
|
103213
|
+
404: apiErrorSchema,
|
|
103214
|
+
503: apiErrorSchema
|
|
103215
|
+
},
|
|
103216
|
+
summary: "Sync a chat artifact file to the user's connected Google Drive"
|
|
103182
103217
|
}
|
|
103183
103218
|
});
|
|
103184
103219
|
|
|
@@ -118754,57 +118789,9 @@ var zeroUsageInsightContract = c42.router({
|
|
|
118754
118789
|
}
|
|
118755
118790
|
});
|
|
118756
118791
|
|
|
118757
|
-
// ../../packages/api-contracts/src/contracts/zero-model-usage-ranking.ts
|
|
118758
|
-
init_esm_shims();
|
|
118759
|
-
var c43 = initContract();
|
|
118760
|
-
var modelUsageRankingRangeSchema = external_exports.enum(["1d", "7d", "30d"]);
|
|
118761
|
-
var modelUsageRankingItemSchema = external_exports.object({
|
|
118762
|
-
model: external_exports.string(),
|
|
118763
|
-
inputTokens: external_exports.number(),
|
|
118764
|
-
outputTokens: external_exports.number(),
|
|
118765
|
-
cacheTokens: external_exports.number(),
|
|
118766
|
-
totalTokens: external_exports.number(),
|
|
118767
|
-
previousTotalTokens: external_exports.number(),
|
|
118768
|
-
changePercent: external_exports.number().nullable(),
|
|
118769
|
-
share: external_exports.number()
|
|
118770
|
-
});
|
|
118771
|
-
var modelUsageRankingDailyModelSchema = external_exports.object({
|
|
118772
|
-
model: external_exports.string(),
|
|
118773
|
-
totalTokens: external_exports.number()
|
|
118774
|
-
});
|
|
118775
|
-
var modelUsageRankingDailyBucketSchema = external_exports.object({
|
|
118776
|
-
date: external_exports.string(),
|
|
118777
|
-
totalTokens: external_exports.number(),
|
|
118778
|
-
models: external_exports.array(modelUsageRankingDailyModelSchema)
|
|
118779
|
-
});
|
|
118780
|
-
var modelUsageRankingResponseSchema = external_exports.object({
|
|
118781
|
-
range: modelUsageRankingRangeSchema,
|
|
118782
|
-
generatedAt: external_exports.string(),
|
|
118783
|
-
grandTotalTokens: external_exports.number(),
|
|
118784
|
-
models: external_exports.array(modelUsageRankingItemSchema),
|
|
118785
|
-
daily: external_exports.array(modelUsageRankingDailyBucketSchema)
|
|
118786
|
-
});
|
|
118787
|
-
var zeroModelUsageRankingContract = c43.router({
|
|
118788
|
-
get: {
|
|
118789
|
-
method: "GET",
|
|
118790
|
-
path: "/api/zero/model-usage-ranking",
|
|
118791
|
-
headers: authHeadersSchema,
|
|
118792
|
-
query: external_exports.object({
|
|
118793
|
-
range: modelUsageRankingRangeSchema
|
|
118794
|
-
}),
|
|
118795
|
-
responses: {
|
|
118796
|
-
200: modelUsageRankingResponseSchema,
|
|
118797
|
-
401: apiErrorSchema,
|
|
118798
|
-
403: apiErrorSchema,
|
|
118799
|
-
500: apiErrorSchema
|
|
118800
|
-
},
|
|
118801
|
-
summary: "Get anonymous VM0 model popularity ranking"
|
|
118802
|
-
}
|
|
118803
|
-
});
|
|
118804
|
-
|
|
118805
118792
|
// ../../packages/api-contracts/src/contracts/zero-team.ts
|
|
118806
118793
|
init_esm_shims();
|
|
118807
|
-
var
|
|
118794
|
+
var c43 = initContract();
|
|
118808
118795
|
var teamComposeItemSchema = external_exports.object({
|
|
118809
118796
|
id: external_exports.string(),
|
|
118810
118797
|
ownerId: external_exports.string().optional(),
|
|
@@ -118815,7 +118802,7 @@ var teamComposeItemSchema = external_exports.object({
|
|
|
118815
118802
|
headVersionId: external_exports.string().nullable(),
|
|
118816
118803
|
updatedAt: external_exports.string()
|
|
118817
118804
|
});
|
|
118818
|
-
var zeroTeamContract =
|
|
118805
|
+
var zeroTeamContract = c43.router({
|
|
118819
118806
|
list: {
|
|
118820
118807
|
method: "GET",
|
|
118821
118808
|
path: "/api/zero/team",
|
|
@@ -118832,7 +118819,7 @@ var zeroTeamContract = c44.router({
|
|
|
118832
118819
|
|
|
118833
118820
|
// ../../packages/api-contracts/src/contracts/zero-integrations-slack.ts
|
|
118834
118821
|
init_esm_shims();
|
|
118835
|
-
var
|
|
118822
|
+
var c44 = initContract();
|
|
118836
118823
|
var slackEnvironmentSchema = external_exports.object({
|
|
118837
118824
|
requiredSecrets: external_exports.array(external_exports.string()),
|
|
118838
118825
|
requiredVars: external_exports.array(external_exports.string()),
|
|
@@ -118854,7 +118841,7 @@ var slackOrgStatusSchema = external_exports.object({
|
|
|
118854
118841
|
/** OAuth install URL for re-authorization (admin-only, when scopeMismatch). */
|
|
118855
118842
|
reinstallUrl: external_exports.string().nullable().optional()
|
|
118856
118843
|
});
|
|
118857
|
-
var zeroIntegrationsSlackContract =
|
|
118844
|
+
var zeroIntegrationsSlackContract = c44.router({
|
|
118858
118845
|
getStatus: {
|
|
118859
118846
|
method: "GET",
|
|
118860
118847
|
path: "/api/zero/integrations/slack",
|
|
@@ -118869,7 +118856,7 @@ var zeroIntegrationsSlackContract = c45.router({
|
|
|
118869
118856
|
method: "DELETE",
|
|
118870
118857
|
path: "/api/zero/integrations/slack",
|
|
118871
118858
|
headers: authHeadersSchema,
|
|
118872
|
-
body:
|
|
118859
|
+
body: c44.noBody(),
|
|
118873
118860
|
query: external_exports.object({
|
|
118874
118861
|
action: external_exports.string().optional()
|
|
118875
118862
|
}),
|
|
@@ -118885,7 +118872,7 @@ var zeroIntegrationsSlackContract = c45.router({
|
|
|
118885
118872
|
|
|
118886
118873
|
// ../../packages/api-contracts/src/contracts/zero-slack-connect.ts
|
|
118887
118874
|
init_esm_shims();
|
|
118888
|
-
var
|
|
118875
|
+
var c45 = initContract();
|
|
118889
118876
|
var slackConnectStatusSchema = external_exports.object({
|
|
118890
118877
|
isConnected: external_exports.boolean(),
|
|
118891
118878
|
isAdmin: external_exports.boolean(),
|
|
@@ -118897,7 +118884,7 @@ var slackConnectResponseSchema = external_exports.object({
|
|
|
118897
118884
|
connectionId: external_exports.string(),
|
|
118898
118885
|
role: external_exports.string()
|
|
118899
118886
|
});
|
|
118900
|
-
var zeroSlackConnectContract =
|
|
118887
|
+
var zeroSlackConnectContract = c45.router({
|
|
118901
118888
|
getStatus: {
|
|
118902
118889
|
method: "GET",
|
|
118903
118890
|
path: "/api/zero/integrations/slack/connect",
|
|
@@ -118931,12 +118918,12 @@ var zeroSlackConnectContract = c46.router({
|
|
|
118931
118918
|
|
|
118932
118919
|
// ../../packages/api-contracts/src/contracts/zero-slack-channels.ts
|
|
118933
118920
|
init_esm_shims();
|
|
118934
|
-
var
|
|
118921
|
+
var c46 = initContract();
|
|
118935
118922
|
var slackChannelSchema = external_exports.object({
|
|
118936
118923
|
id: external_exports.string(),
|
|
118937
118924
|
name: external_exports.string()
|
|
118938
118925
|
});
|
|
118939
|
-
var zeroSlackChannelsContract =
|
|
118926
|
+
var zeroSlackChannelsContract = c46.router({
|
|
118940
118927
|
list: {
|
|
118941
118928
|
method: "GET",
|
|
118942
118929
|
path: "/api/zero/slack/channels",
|
|
@@ -118952,12 +118939,12 @@ var zeroSlackChannelsContract = c47.router({
|
|
|
118952
118939
|
|
|
118953
118940
|
// ../../packages/api-contracts/src/contracts/zero-queue-position.ts
|
|
118954
118941
|
init_esm_shims();
|
|
118955
|
-
var
|
|
118942
|
+
var c47 = initContract();
|
|
118956
118943
|
var queuePositionResponseSchema = external_exports.object({
|
|
118957
118944
|
position: external_exports.number(),
|
|
118958
118945
|
total: external_exports.number()
|
|
118959
118946
|
});
|
|
118960
|
-
var zeroQueuePositionContract =
|
|
118947
|
+
var zeroQueuePositionContract = c47.router({
|
|
118961
118948
|
getPosition: {
|
|
118962
118949
|
method: "GET",
|
|
118963
118950
|
path: "/api/zero/queue-position",
|
|
@@ -118977,13 +118964,13 @@ var zeroQueuePositionContract = c48.router({
|
|
|
118977
118964
|
|
|
118978
118965
|
// ../../packages/api-contracts/src/contracts/zero-member-credit-cap.ts
|
|
118979
118966
|
init_esm_shims();
|
|
118980
|
-
var
|
|
118967
|
+
var c48 = initContract();
|
|
118981
118968
|
var memberCreditCapResponseSchema = external_exports.object({
|
|
118982
118969
|
userId: external_exports.string(),
|
|
118983
118970
|
creditCap: external_exports.number().nullable(),
|
|
118984
118971
|
creditEnabled: external_exports.boolean()
|
|
118985
118972
|
});
|
|
118986
|
-
var zeroMemberCreditCapContract =
|
|
118973
|
+
var zeroMemberCreditCapContract = c48.router({
|
|
118987
118974
|
get: {
|
|
118988
118975
|
method: "GET",
|
|
118989
118976
|
path: "/api/zero/org/members/credit-cap",
|
|
@@ -119018,7 +119005,7 @@ var zeroMemberCreditCapContract = c49.router({
|
|
|
119018
119005
|
|
|
119019
119006
|
// ../../packages/api-contracts/src/contracts/zero-report-error.ts
|
|
119020
119007
|
init_esm_shims();
|
|
119021
|
-
var
|
|
119008
|
+
var c49 = initContract();
|
|
119022
119009
|
var reportErrorBodySchema = external_exports.object({
|
|
119023
119010
|
runId: external_exports.uuid("Run ID must be a valid UUID"),
|
|
119024
119011
|
title: external_exports.string().min(1, "Title is required"),
|
|
@@ -119027,7 +119014,7 @@ var reportErrorBodySchema = external_exports.object({
|
|
|
119027
119014
|
var reportErrorResponseSchema = external_exports.object({
|
|
119028
119015
|
reference: external_exports.string()
|
|
119029
119016
|
});
|
|
119030
|
-
var zeroReportErrorContract =
|
|
119017
|
+
var zeroReportErrorContract = c49.router({
|
|
119031
119018
|
submit: {
|
|
119032
119019
|
method: "POST",
|
|
119033
119020
|
path: "/api/zero/report-error",
|
|
@@ -119045,7 +119032,7 @@ var zeroReportErrorContract = c50.router({
|
|
|
119045
119032
|
|
|
119046
119033
|
// ../../packages/api-contracts/src/contracts/zero-insights.ts
|
|
119047
119034
|
init_esm_shims();
|
|
119048
|
-
var
|
|
119035
|
+
var c50 = initContract();
|
|
119049
119036
|
var insightAgentSchema = external_exports.object({
|
|
119050
119037
|
agentName: external_exports.string(),
|
|
119051
119038
|
agentId: external_exports.string().nullable(),
|
|
@@ -119110,7 +119097,7 @@ var insightsRangeResponseSchema = external_exports.object({
|
|
|
119110
119097
|
maxDate: external_exports.string().nullable(),
|
|
119111
119098
|
totalDays: external_exports.number()
|
|
119112
119099
|
});
|
|
119113
|
-
var zeroInsightsContract =
|
|
119100
|
+
var zeroInsightsContract = c50.router({
|
|
119114
119101
|
get: {
|
|
119115
119102
|
method: "GET",
|
|
119116
119103
|
path: "/api/zero/insights",
|
|
@@ -119125,7 +119112,7 @@ var zeroInsightsContract = c51.router({
|
|
|
119125
119112
|
summary: "Get daily insights for the authenticated org"
|
|
119126
119113
|
}
|
|
119127
119114
|
});
|
|
119128
|
-
var zeroInsightsRangeContract =
|
|
119115
|
+
var zeroInsightsRangeContract = c50.router({
|
|
119129
119116
|
get: {
|
|
119130
119117
|
method: "GET",
|
|
119131
119118
|
path: "/api/zero/insights/range",
|
|
@@ -119140,8 +119127,8 @@ var zeroInsightsRangeContract = c51.router({
|
|
|
119140
119127
|
|
|
119141
119128
|
// ../../packages/api-contracts/src/contracts/push-subscriptions.ts
|
|
119142
119129
|
init_esm_shims();
|
|
119143
|
-
var
|
|
119144
|
-
var pushSubscriptionsContract =
|
|
119130
|
+
var c51 = initContract();
|
|
119131
|
+
var pushSubscriptionsContract = c51.router({
|
|
119145
119132
|
register: {
|
|
119146
119133
|
method: "POST",
|
|
119147
119134
|
path: "/api/zero/push-subscriptions",
|
|
@@ -119165,13 +119152,13 @@ var pushSubscriptionsContract = c52.router({
|
|
|
119165
119152
|
|
|
119166
119153
|
// ../../packages/api-contracts/src/contracts/zero-voice-io-quota.ts
|
|
119167
119154
|
init_esm_shims();
|
|
119168
|
-
var
|
|
119155
|
+
var c52 = initContract();
|
|
119169
119156
|
var audioInputQuotaResponseSchema = external_exports.object({
|
|
119170
119157
|
allowed: external_exports.boolean(),
|
|
119171
119158
|
count: external_exports.number().int().nonnegative(),
|
|
119172
119159
|
limit: external_exports.number().int().positive().nullable()
|
|
119173
119160
|
});
|
|
119174
|
-
var zeroVoiceIoQuotaContract =
|
|
119161
|
+
var zeroVoiceIoQuotaContract = c52.router({
|
|
119175
119162
|
get: {
|
|
119176
119163
|
method: "GET",
|
|
119177
119164
|
path: "/api/zero/voice-io/quota",
|
|
@@ -119187,7 +119174,7 @@ var zeroVoiceIoQuotaContract = c53.router({
|
|
|
119187
119174
|
|
|
119188
119175
|
// ../../packages/api-contracts/src/contracts/zero-voice-chat.ts
|
|
119189
119176
|
init_esm_shims();
|
|
119190
|
-
var
|
|
119177
|
+
var c53 = initContract();
|
|
119191
119178
|
var voiceChatItemRoleSchema = external_exports.enum([
|
|
119192
119179
|
"user",
|
|
119193
119180
|
"assistant",
|
|
@@ -119270,7 +119257,7 @@ var tokenBodySchema = external_exports.object({
|
|
|
119270
119257
|
noiseReduction: external_exports.enum(["near_field", "far_field"]).optional()
|
|
119271
119258
|
});
|
|
119272
119259
|
var okResponseSchema = external_exports.object({ ok: external_exports.literal(true) });
|
|
119273
|
-
var zeroVoiceChatContract =
|
|
119260
|
+
var zeroVoiceChatContract = c53.router({
|
|
119274
119261
|
createSession: {
|
|
119275
119262
|
method: "POST",
|
|
119276
119263
|
path: "/api/zero/voice-chat",
|
|
@@ -119401,7 +119388,7 @@ var zeroVoiceChatContract = c54.router({
|
|
|
119401
119388
|
|
|
119402
119389
|
// ../../packages/api-contracts/src/contracts/zero-uploads.ts
|
|
119403
119390
|
init_esm_shims();
|
|
119404
|
-
var
|
|
119391
|
+
var c54 = initContract();
|
|
119405
119392
|
var prepareRequestSchema = external_exports.object({
|
|
119406
119393
|
filename: external_exports.string().min(1).max(255),
|
|
119407
119394
|
contentType: external_exports.string().min(1).max(200),
|
|
@@ -119428,7 +119415,7 @@ var completeResponseSchema = external_exports.object({
|
|
|
119428
119415
|
size: external_exports.number(),
|
|
119429
119416
|
url: external_exports.string().url()
|
|
119430
119417
|
});
|
|
119431
|
-
var zeroUploadsContract =
|
|
119418
|
+
var zeroUploadsContract = c54.router({
|
|
119432
119419
|
prepare: {
|
|
119433
119420
|
method: "POST",
|
|
119434
119421
|
path: "/api/zero/uploads/prepare",
|
|
@@ -119462,7 +119449,7 @@ var zeroUploadsContract = c55.router({
|
|
|
119462
119449
|
|
|
119463
119450
|
// ../../packages/api-contracts/src/contracts/zero-integrations-telegram.ts
|
|
119464
119451
|
init_esm_shims();
|
|
119465
|
-
var
|
|
119452
|
+
var c55 = initContract();
|
|
119466
119453
|
var telegramEnvironmentSchema = external_exports.object({
|
|
119467
119454
|
requiredSecrets: external_exports.array(external_exports.string()),
|
|
119468
119455
|
requiredVars: external_exports.array(external_exports.string()),
|
|
@@ -119544,7 +119531,7 @@ var telegramSetupStatusSchema = external_exports.object({
|
|
|
119544
119531
|
domainConfigured: external_exports.boolean(),
|
|
119545
119532
|
privacyDisabled: external_exports.boolean()
|
|
119546
119533
|
});
|
|
119547
|
-
var zeroIntegrationsTelegramContract =
|
|
119534
|
+
var zeroIntegrationsTelegramContract = c55.router({
|
|
119548
119535
|
list: {
|
|
119549
119536
|
method: "GET",
|
|
119550
119537
|
path: "/api/integrations/telegram",
|
|
@@ -119587,9 +119574,9 @@ var zeroIntegrationsTelegramContract = c56.router({
|
|
|
119587
119574
|
path: "/api/integrations/telegram/:botId",
|
|
119588
119575
|
headers: authHeadersSchema,
|
|
119589
119576
|
pathParams: external_exports.object({ botId: external_exports.string().min(1) }),
|
|
119590
|
-
body:
|
|
119577
|
+
body: c55.noBody(),
|
|
119591
119578
|
responses: {
|
|
119592
|
-
204:
|
|
119579
|
+
204: c55.noBody(),
|
|
119593
119580
|
401: apiErrorSchema,
|
|
119594
119581
|
403: apiErrorSchema,
|
|
119595
119582
|
404: apiErrorSchema
|
|
@@ -119600,10 +119587,10 @@ var zeroIntegrationsTelegramContract = c56.router({
|
|
|
119600
119587
|
method: "DELETE",
|
|
119601
119588
|
path: "/api/integrations/telegram/link",
|
|
119602
119589
|
headers: authHeadersSchema,
|
|
119603
|
-
body:
|
|
119590
|
+
body: c55.noBody(),
|
|
119604
119591
|
query: external_exports.object({ botId: external_exports.string().optional() }),
|
|
119605
119592
|
responses: {
|
|
119606
|
-
204:
|
|
119593
|
+
204: c55.noBody(),
|
|
119607
119594
|
401: apiErrorSchema,
|
|
119608
119595
|
404: apiErrorSchema
|
|
119609
119596
|
},
|
|
@@ -119914,12 +119901,6 @@ var FEATURE_SWITCHES = {
|
|
|
119914
119901
|
description: "Show admin-only daily credits chart and per-run records on Usage page",
|
|
119915
119902
|
enabled: true
|
|
119916
119903
|
},
|
|
119917
|
-
["modelUsageRanking" /* ModelUsageRanking */]: {
|
|
119918
|
-
maintainer: "ethan@vm0.ai",
|
|
119919
|
-
description: "Show the VM0 model popularity ranking in workspace model provider settings.",
|
|
119920
|
-
enabled: false,
|
|
119921
|
-
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
119922
|
-
},
|
|
119923
119904
|
["zeroDebug" /* ZeroDebug */]: {
|
|
119924
119905
|
maintainer: "ethan@vm0.ai",
|
|
119925
119906
|
description: "Reveal activity debug surfaces, activity log navigation, appended system prompts, and Debug preferences",
|
|
@@ -120399,9 +120380,9 @@ var CodexEventParser = class {
|
|
|
120399
120380
|
if (!item.changes || item.changes.length === 0) {
|
|
120400
120381
|
return null;
|
|
120401
120382
|
}
|
|
120402
|
-
const changes = item.changes.map((
|
|
120403
|
-
const action =
|
|
120404
|
-
return `${action}: ${
|
|
120383
|
+
const changes = item.changes.map((c56) => {
|
|
120384
|
+
const action = c56.kind === "add" ? "Created" : c56.kind === "modify" ? "Modified" : "Deleted";
|
|
120385
|
+
return `${action}: ${c56.path}`;
|
|
120405
120386
|
}).join("\n");
|
|
120406
120387
|
return {
|
|
120407
120388
|
type: "text",
|
|
@@ -121403,4 +121384,4 @@ undici/lib/web/fetch/body.js:
|
|
|
121403
121384
|
undici/lib/web/websocket/frame.js:
|
|
121404
121385
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
121405
121386
|
*/
|
|
121406
|
-
//# sourceMappingURL=chunk-
|
|
121387
|
+
//# sourceMappingURL=chunk-F57DHMSN.js.map
|