@vm0/cli 9.162.0 → 9.162.2
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/{chunk-I3LF3KZW.js → chunk-XJJ2UVRQ.js} +250 -577
- package/{chunk-I3LF3KZW.js.map → chunk-XJJ2UVRQ.js.map} +1 -1
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +8543 -37210
- package/zero.js.map +1 -1
|
@@ -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 c105 = "color: " + this.color;
|
|
4633
|
+
args.splice(1, 0, c105, "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, c105);
|
|
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 c105 = this.color;
|
|
4934
|
+
const colorCode = "\x1B[3" + (c105 < 8 ? c105 : "8;5;" + c105);
|
|
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) && N.length < max; i += incr) {
|
|
8984
|
-
let
|
|
8984
|
+
let c105;
|
|
8985
8985
|
if (isAlphaSequence) {
|
|
8986
|
-
|
|
8987
|
-
if (
|
|
8988
|
-
|
|
8986
|
+
c105 = String.fromCharCode(i);
|
|
8987
|
+
if (c105 === "\\") {
|
|
8988
|
+
c105 = "";
|
|
8989
8989
|
}
|
|
8990
8990
|
} else {
|
|
8991
|
-
|
|
8991
|
+
c105 = String(i);
|
|
8992
8992
|
if (pad) {
|
|
8993
|
-
const need = width -
|
|
8993
|
+
const need = width - c105.length;
|
|
8994
8994
|
if (need > 0) {
|
|
8995
8995
|
const z3 = new Array(need + 1).join("0");
|
|
8996
8996
|
if (i < 0) {
|
|
8997
|
-
|
|
8997
|
+
c105 = "-" + z3 + c105.slice(1);
|
|
8998
8998
|
} else {
|
|
8999
|
-
|
|
8999
|
+
c105 = z3 + c105;
|
|
9000
9000
|
}
|
|
9001
9001
|
}
|
|
9002
9002
|
}
|
|
9003
9003
|
}
|
|
9004
|
-
N.push(
|
|
9004
|
+
N.push(c105);
|
|
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 c105 = glob.charAt(i);
|
|
9088
|
+
if ((c105 === "!" || c105 === "^") && i === pos + 1) {
|
|
9089
9089
|
negate = true;
|
|
9090
9090
|
i++;
|
|
9091
9091
|
continue;
|
|
9092
9092
|
}
|
|
9093
|
-
if (
|
|
9093
|
+
if (c105 === "]" && sawStart && !escaping) {
|
|
9094
9094
|
endPos = i + 1;
|
|
9095
9095
|
break;
|
|
9096
9096
|
}
|
|
9097
9097
|
sawStart = true;
|
|
9098
|
-
if (
|
|
9098
|
+
if (c105 === "\\") {
|
|
9099
9099
|
if (!escaping) {
|
|
9100
9100
|
escaping = true;
|
|
9101
9101
|
i++;
|
|
9102
9102
|
continue;
|
|
9103
9103
|
}
|
|
9104
9104
|
}
|
|
9105
|
-
if (
|
|
9105
|
+
if (c105 === "[" && !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 (c105 > rangeStart) {
|
|
9124
|
+
ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c105));
|
|
9125
|
+
} else if (c105 === rangeStart) {
|
|
9126
|
+
ranges.push(braceEscape(c105));
|
|
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(c105 + "-"));
|
|
9134
9134
|
i += 2;
|
|
9135
9135
|
continue;
|
|
9136
9136
|
}
|
|
9137
9137
|
if (glob.startsWith("-", i + 1)) {
|
|
9138
|
-
rangeStart =
|
|
9138
|
+
rangeStart = c105;
|
|
9139
9139
|
i += 2;
|
|
9140
9140
|
continue;
|
|
9141
9141
|
}
|
|
9142
|
-
ranges.push(braceEscape(
|
|
9142
|
+
ranges.push(braceEscape(c105));
|
|
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 = (c105) => types.has(c105);
|
|
9193
|
+
var isExtglobAST = (c105) => isExtglobType(c105.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 c105 = new _a2(this.type, parent);
|
|
9391
9391
|
for (const p of this.#parts) {
|
|
9392
|
-
|
|
9392
|
+
c105.copyIn(p);
|
|
9393
9393
|
}
|
|
9394
|
-
return
|
|
9394
|
+
return c105;
|
|
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 c105 = str.charAt(i2++);
|
|
9407
|
+
if (escaping || c105 === "\\") {
|
|
9408
9408
|
escaping = !escaping;
|
|
9409
|
-
acc2 +=
|
|
9409
|
+
acc2 += c105;
|
|
9410
9410
|
continue;
|
|
9411
9411
|
}
|
|
9412
9412
|
if (inBrace) {
|
|
9413
9413
|
if (i2 === braceStart + 1) {
|
|
9414
|
-
if (
|
|
9414
|
+
if (c105 === "^" || c105 === "!") {
|
|
9415
9415
|
braceNeg = true;
|
|
9416
9416
|
}
|
|
9417
|
-
} else if (
|
|
9417
|
+
} else if (c105 === "]" && !(i2 === braceStart + 2 && braceNeg)) {
|
|
9418
9418
|
inBrace = false;
|
|
9419
9419
|
}
|
|
9420
|
-
acc2 +=
|
|
9420
|
+
acc2 += c105;
|
|
9421
9421
|
continue;
|
|
9422
|
-
} else if (
|
|
9422
|
+
} else if (c105 === "[") {
|
|
9423
9423
|
inBrace = true;
|
|
9424
9424
|
braceStart = i2;
|
|
9425
9425
|
braceNeg = false;
|
|
9426
|
-
acc2 +=
|
|
9426
|
+
acc2 += c105;
|
|
9427
9427
|
continue;
|
|
9428
9428
|
}
|
|
9429
|
-
const doRecurse = !opt.noext && isExtglobType(
|
|
9429
|
+
const doRecurse = !opt.noext && isExtglobType(c105) && 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(c105, 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 += c105;
|
|
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 c105 = str.charAt(i++);
|
|
9449
|
+
if (escaping || c105 === "\\") {
|
|
9450
9450
|
escaping = !escaping;
|
|
9451
|
-
acc +=
|
|
9451
|
+
acc += c105;
|
|
9452
9452
|
continue;
|
|
9453
9453
|
}
|
|
9454
9454
|
if (inBrace) {
|
|
9455
9455
|
if (i === braceStart + 1) {
|
|
9456
|
-
if (
|
|
9456
|
+
if (c105 === "^" || c105 === "!") {
|
|
9457
9457
|
braceNeg = true;
|
|
9458
9458
|
}
|
|
9459
|
-
} else if (
|
|
9459
|
+
} else if (c105 === "]" && !(i === braceStart + 2 && braceNeg)) {
|
|
9460
9460
|
inBrace = false;
|
|
9461
9461
|
}
|
|
9462
|
-
acc +=
|
|
9462
|
+
acc += c105;
|
|
9463
9463
|
continue;
|
|
9464
|
-
} else if (
|
|
9464
|
+
} else if (c105 === "[") {
|
|
9465
9465
|
inBrace = true;
|
|
9466
9466
|
braceStart = i;
|
|
9467
9467
|
braceNeg = false;
|
|
9468
|
-
acc +=
|
|
9468
|
+
acc += c105;
|
|
9469
9469
|
continue;
|
|
9470
9470
|
}
|
|
9471
|
-
const doRecurse = !opt.noext && isExtglobType(
|
|
9472
|
-
(extDepth <= maxDepth || ast && ast.#canAdoptType(
|
|
9471
|
+
const doRecurse = !opt.noext && isExtglobType(c105) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
|
|
9472
|
+
(extDepth <= maxDepth || ast && ast.#canAdoptType(c105));
|
|
9473
9473
|
if (doRecurse) {
|
|
9474
|
-
const depthAdd = ast && ast.#canAdoptType(
|
|
9474
|
+
const depthAdd = ast && ast.#canAdoptType(c105) ? 0 : 1;
|
|
9475
9475
|
part.push(acc);
|
|
9476
9476
|
acc = "";
|
|
9477
|
-
const ext = new _a2(
|
|
9477
|
+
const ext = new _a2(c105, 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 (c105 === "|") {
|
|
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 (c105 === ")") {
|
|
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 += c105;
|
|
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(c105, map2 = adoptionAnyMap) {
|
|
9519
|
+
return !!map2.get(this.type)?.includes(c105);
|
|
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(c105) {
|
|
9538
9538
|
const m = usurpMap.get(this.type);
|
|
9539
|
-
return !!m?.has(
|
|
9539
|
+
return !!m?.has(c105);
|
|
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 c105 = this.#parts[i];
|
|
9753
|
+
if (typeof c105 === "object") {
|
|
9754
|
+
c105.#flatten();
|
|
9755
|
+
if (this.#canAdopt(c105)) {
|
|
9756
9756
|
done = false;
|
|
9757
|
-
this.#adopt(
|
|
9758
|
-
} else if (this.#canAdoptWithSpace(
|
|
9757
|
+
this.#adopt(c105, i);
|
|
9758
|
+
} else if (this.#canAdoptWithSpace(c105)) {
|
|
9759
9759
|
done = false;
|
|
9760
|
-
this.#adoptWithSpace(
|
|
9761
|
-
} else if (this.#canUsurp(
|
|
9760
|
+
this.#adoptWithSpace(c105, i);
|
|
9761
|
+
} else if (this.#canUsurp(c105)) {
|
|
9762
9762
|
done = false;
|
|
9763
|
-
this.#usurp(
|
|
9763
|
+
this.#usurp(c105);
|
|
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 c105 = glob.charAt(i);
|
|
9788
9788
|
if (escaping) {
|
|
9789
9789
|
escaping = false;
|
|
9790
|
-
re += (reSpecials.has(
|
|
9790
|
+
re += (reSpecials.has(c105) ? "\\" : "") + c105;
|
|
9791
9791
|
continue;
|
|
9792
9792
|
}
|
|
9793
|
-
if (
|
|
9793
|
+
if (c105 === "*") {
|
|
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 (c105 === "\\") {
|
|
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 (c105 === "[") {
|
|
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 (c105 === "?") {
|
|
9822
9822
|
re += qmark;
|
|
9823
9823
|
hasMagic = true;
|
|
9824
9824
|
continue;
|
|
9825
9825
|
}
|
|
9826
|
-
re += regExpEscape(
|
|
9826
|
+
re += regExpEscape(c105);
|
|
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 c105 = pool.config.connectionConfig;
|
|
13751
13751
|
let poolName = "";
|
|
13752
|
-
poolName +=
|
|
13753
|
-
poolName +=
|
|
13754
|
-
poolName +=
|
|
13755
|
-
poolName +=
|
|
13756
|
-
if (!
|
|
13752
|
+
poolName += c105.host ? `host: '${c105.host}', ` : "";
|
|
13753
|
+
poolName += c105.port ? `port: ${c105.port}, ` : "";
|
|
13754
|
+
poolName += c105.database ? `database: '${c105.database}', ` : "";
|
|
13755
|
+
poolName += c105.user ? `user: '${c105.user}'` : "";
|
|
13756
|
+
if (!c105.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, (c105) => `%${c105.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(c105) {
|
|
22669
|
+
switch (c105) {
|
|
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 c105 >= 33 && c105 <= 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((c105) => c105 !== 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 c105 = statusText.charCodeAt(i);
|
|
25425
|
+
if (!(c105 === 9 || // HTAB
|
|
25426
|
+
c105 >= 32 && c105 <= 126 || // SP / VCHAR
|
|
25427
|
+
c105 >= 128 && c105 <= 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((c105) => c105.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((c105) => c105.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((c105) => c105.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, c105] = ioQueue;
|
|
36236
|
+
if (a === 239 && b === 187 && c105 === 191) {
|
|
36237
36237
|
return "UTF-8";
|
|
36238
36238
|
} else if (a === 254 && b === 255) {
|
|
36239
36239
|
return "UTF-16BE";
|
|
@@ -40356,7 +40356,7 @@ var require_style = __commonJS({
|
|
|
40356
40356
|
"../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/style.js"(exports, module2) {
|
|
40357
40357
|
"use strict";
|
|
40358
40358
|
init_esm_shims();
|
|
40359
|
-
var
|
|
40359
|
+
var c105 = require_kleur();
|
|
40360
40360
|
var figures = require_figures();
|
|
40361
40361
|
var styles3 = Object.freeze({
|
|
40362
40362
|
password: {
|
|
@@ -40378,14 +40378,14 @@ var require_style = __commonJS({
|
|
|
40378
40378
|
});
|
|
40379
40379
|
var render = (type) => styles3[type] || styles3.default;
|
|
40380
40380
|
var symbols = Object.freeze({
|
|
40381
|
-
aborted:
|
|
40382
|
-
done:
|
|
40383
|
-
exited:
|
|
40384
|
-
default:
|
|
40381
|
+
aborted: c105.red(figures.cross),
|
|
40382
|
+
done: c105.green(figures.tick),
|
|
40383
|
+
exited: c105.yellow(figures.cross),
|
|
40384
|
+
default: c105.cyan("?")
|
|
40385
40385
|
});
|
|
40386
40386
|
var symbol2 = (done, aborted2, exited) => aborted2 ? symbols.aborted : exited ? symbols.exited : done ? symbols.done : symbols.default;
|
|
40387
|
-
var delimiter = (completing) =>
|
|
40388
|
-
var item = (expandable, expanded) =>
|
|
40387
|
+
var delimiter = (completing) => c105.gray(completing ? figures.ellipsis : figures.pointerSmall);
|
|
40388
|
+
var item = (expandable, expanded) => c105.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
|
|
40389
40389
|
module2.exports = {
|
|
40390
40390
|
styles: styles3,
|
|
40391
40391
|
render,
|
|
@@ -40667,10 +40667,10 @@ var require_text = __commonJS({
|
|
|
40667
40667
|
this.cursor = this.cursor + n;
|
|
40668
40668
|
this.cursorOffset += n;
|
|
40669
40669
|
}
|
|
40670
|
-
_(
|
|
40670
|
+
_(c105, key) {
|
|
40671
40671
|
let s1 = this.value.slice(0, this.cursor);
|
|
40672
40672
|
let s2 = this.value.slice(this.cursor);
|
|
40673
|
-
this.value = `${s1}${
|
|
40673
|
+
this.value = `${s1}${c105}${s2}`;
|
|
40674
40674
|
this.red = false;
|
|
40675
40675
|
this.cursor = this.placeholder ? 0 : s1.length + 1;
|
|
40676
40676
|
this.render();
|
|
@@ -40845,8 +40845,8 @@ var require_select = __commonJS({
|
|
|
40845
40845
|
this.moveCursor((this.cursor + 1) % this.choices.length);
|
|
40846
40846
|
this.render();
|
|
40847
40847
|
}
|
|
40848
|
-
_(
|
|
40849
|
-
if (
|
|
40848
|
+
_(c105, key) {
|
|
40849
|
+
if (c105 === " ") return this.submit();
|
|
40850
40850
|
}
|
|
40851
40851
|
get selection() {
|
|
40852
40852
|
return this.choices[this.cursor];
|
|
@@ -40972,12 +40972,12 @@ var require_toggle = __commonJS({
|
|
|
40972
40972
|
this.fire();
|
|
40973
40973
|
this.render();
|
|
40974
40974
|
}
|
|
40975
|
-
_(
|
|
40976
|
-
if (
|
|
40975
|
+
_(c105, key) {
|
|
40976
|
+
if (c105 === " ") {
|
|
40977
40977
|
this.value = !this.value;
|
|
40978
|
-
} else if (
|
|
40978
|
+
} else if (c105 === "1") {
|
|
40979
40979
|
this.value = true;
|
|
40980
|
-
} else if (
|
|
40980
|
+
} else if (c105 === "0") {
|
|
40981
40981
|
this.value = false;
|
|
40982
40982
|
} else return this.bell();
|
|
40983
40983
|
this.render();
|
|
@@ -41485,9 +41485,9 @@ var require_date = __commonJS({
|
|
|
41485
41485
|
this.moveCursor(next ? this.parts.indexOf(next) : this.parts.findIndex((part) => part instanceof DatePart));
|
|
41486
41486
|
this.render();
|
|
41487
41487
|
}
|
|
41488
|
-
_(
|
|
41489
|
-
if (/\d/.test(
|
|
41490
|
-
this.typed +=
|
|
41488
|
+
_(c105) {
|
|
41489
|
+
if (/\d/.test(c105)) {
|
|
41490
|
+
this.typed += c105;
|
|
41491
41491
|
this.parts[this.cursor].setTo(this.typed);
|
|
41492
41492
|
this.render();
|
|
41493
41493
|
}
|
|
@@ -41596,8 +41596,8 @@ var require_number = __commonJS({
|
|
|
41596
41596
|
parse(x2) {
|
|
41597
41597
|
return this.float ? parseFloat(x2) : parseInt(x2);
|
|
41598
41598
|
}
|
|
41599
|
-
valid(
|
|
41600
|
-
return
|
|
41599
|
+
valid(c105) {
|
|
41600
|
+
return c105 === `-` || c105 === `.` && this.float || isNumber.test(c105);
|
|
41601
41601
|
}
|
|
41602
41602
|
reset() {
|
|
41603
41603
|
this.typed = ``;
|
|
@@ -41690,14 +41690,14 @@ var require_number = __commonJS({
|
|
|
41690
41690
|
this.fire();
|
|
41691
41691
|
this.render();
|
|
41692
41692
|
}
|
|
41693
|
-
_(
|
|
41694
|
-
if (!this.valid(
|
|
41693
|
+
_(c105, key) {
|
|
41694
|
+
if (!this.valid(c105)) return this.bell();
|
|
41695
41695
|
const now = Date.now();
|
|
41696
41696
|
if (now - this.lastHit > 1e3) this.typed = ``;
|
|
41697
|
-
this.typed +=
|
|
41697
|
+
this.typed += c105;
|
|
41698
41698
|
this.lastHit = now;
|
|
41699
41699
|
this.color = `cyan`;
|
|
41700
|
-
if (
|
|
41700
|
+
if (c105 === `.`) return this.fire();
|
|
41701
41701
|
this.value = Math.min(this.parse(this.typed), this.max);
|
|
41702
41702
|
if (this.value > this.max) this.value = this.max;
|
|
41703
41703
|
if (this.value < this.min) this.value = this.min;
|
|
@@ -41861,10 +41861,10 @@ var require_multiselect = __commonJS({
|
|
|
41861
41861
|
this.value.filter((v) => !v.disabled).forEach((v) => v.selected = newSelected);
|
|
41862
41862
|
this.render();
|
|
41863
41863
|
}
|
|
41864
|
-
_(
|
|
41865
|
-
if (
|
|
41864
|
+
_(c105, key) {
|
|
41865
|
+
if (c105 === " ") {
|
|
41866
41866
|
this.handleSpaceToggle();
|
|
41867
|
-
} else if (
|
|
41867
|
+
} else if (c105 === "a") {
|
|
41868
41868
|
this.toggleAll();
|
|
41869
41869
|
} else {
|
|
41870
41870
|
return this.bell();
|
|
@@ -42105,10 +42105,10 @@ var require_autocomplete = __commonJS({
|
|
|
42105
42105
|
this.out.write("\n");
|
|
42106
42106
|
this.close();
|
|
42107
42107
|
}
|
|
42108
|
-
_(
|
|
42108
|
+
_(c105, key) {
|
|
42109
42109
|
let s1 = this.input.slice(0, this.cursor);
|
|
42110
42110
|
let s2 = this.input.slice(this.cursor);
|
|
42111
|
-
this.input = `${s1}${
|
|
42111
|
+
this.input = `${s1}${c105}${s2}`;
|
|
42112
42112
|
this.cursor = s1.length + 1;
|
|
42113
42113
|
this.complete(this.render);
|
|
42114
42114
|
this.render();
|
|
@@ -42308,15 +42308,15 @@ var require_autocompleteMultiselect = __commonJS({
|
|
|
42308
42308
|
this.render();
|
|
42309
42309
|
}
|
|
42310
42310
|
}
|
|
42311
|
-
handleInputChange(
|
|
42312
|
-
this.inputValue = this.inputValue +
|
|
42311
|
+
handleInputChange(c105) {
|
|
42312
|
+
this.inputValue = this.inputValue + c105;
|
|
42313
42313
|
this.updateFilteredOptions();
|
|
42314
42314
|
}
|
|
42315
|
-
_(
|
|
42316
|
-
if (
|
|
42315
|
+
_(c105, key) {
|
|
42316
|
+
if (c105 === " ") {
|
|
42317
42317
|
this.handleSpaceToggle();
|
|
42318
42318
|
} else {
|
|
42319
|
-
this.handleInputChange(
|
|
42319
|
+
this.handleInputChange(c105);
|
|
42320
42320
|
}
|
|
42321
42321
|
}
|
|
42322
42322
|
renderInstructions() {
|
|
@@ -42422,12 +42422,12 @@ var require_confirm = __commonJS({
|
|
|
42422
42422
|
this.out.write("\n");
|
|
42423
42423
|
this.close();
|
|
42424
42424
|
}
|
|
42425
|
-
_(
|
|
42426
|
-
if (
|
|
42425
|
+
_(c105, key) {
|
|
42426
|
+
if (c105.toLowerCase() === "y") {
|
|
42427
42427
|
this.value = true;
|
|
42428
42428
|
return this.submit();
|
|
42429
42429
|
}
|
|
42430
|
-
if (
|
|
42430
|
+
if (c105.toLowerCase() === "n") {
|
|
42431
42431
|
this.value = false;
|
|
42432
42432
|
return this.submit();
|
|
42433
42433
|
}
|
|
@@ -42868,7 +42868,7 @@ var require_style2 = __commonJS({
|
|
|
42868
42868
|
"../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/style.js"(exports, module2) {
|
|
42869
42869
|
"use strict";
|
|
42870
42870
|
init_esm_shims();
|
|
42871
|
-
var
|
|
42871
|
+
var c105 = require_kleur();
|
|
42872
42872
|
var figures = require_figures2();
|
|
42873
42873
|
var styles3 = Object.freeze({
|
|
42874
42874
|
password: { scale: 1, render: (input) => "*".repeat(input.length) },
|
|
@@ -42878,14 +42878,14 @@ var require_style2 = __commonJS({
|
|
|
42878
42878
|
});
|
|
42879
42879
|
var render = (type) => styles3[type] || styles3.default;
|
|
42880
42880
|
var symbols = Object.freeze({
|
|
42881
|
-
aborted:
|
|
42882
|
-
done:
|
|
42883
|
-
exited:
|
|
42884
|
-
default:
|
|
42881
|
+
aborted: c105.red(figures.cross),
|
|
42882
|
+
done: c105.green(figures.tick),
|
|
42883
|
+
exited: c105.yellow(figures.cross),
|
|
42884
|
+
default: c105.cyan("?")
|
|
42885
42885
|
});
|
|
42886
42886
|
var symbol2 = (done, aborted2, exited) => aborted2 ? symbols.aborted : exited ? symbols.exited : done ? symbols.done : symbols.default;
|
|
42887
|
-
var delimiter = (completing) =>
|
|
42888
|
-
var item = (expandable, expanded) =>
|
|
42887
|
+
var delimiter = (completing) => c105.gray(completing ? figures.ellipsis : figures.pointerSmall);
|
|
42888
|
+
var item = (expandable, expanded) => c105.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
|
|
42889
42889
|
module2.exports = {
|
|
42890
42890
|
styles: styles3,
|
|
42891
42891
|
render,
|
|
@@ -43118,10 +43118,10 @@ var require_text2 = __commonJS({
|
|
|
43118
43118
|
this.cursor = this.cursor + n;
|
|
43119
43119
|
this.cursorOffset += n;
|
|
43120
43120
|
}
|
|
43121
|
-
_(
|
|
43121
|
+
_(c105, key) {
|
|
43122
43122
|
let s1 = this.value.slice(0, this.cursor);
|
|
43123
43123
|
let s2 = this.value.slice(this.cursor);
|
|
43124
|
-
this.value = `${s1}${
|
|
43124
|
+
this.value = `${s1}${c105}${s2}`;
|
|
43125
43125
|
this.red = false;
|
|
43126
43126
|
this.cursor = this.placeholder ? 0 : s1.length + 1;
|
|
43127
43127
|
this.render();
|
|
@@ -43295,8 +43295,8 @@ var require_select2 = __commonJS({
|
|
|
43295
43295
|
this.moveCursor((this.cursor + 1) % this.choices.length);
|
|
43296
43296
|
this.render();
|
|
43297
43297
|
}
|
|
43298
|
-
_(
|
|
43299
|
-
if (
|
|
43298
|
+
_(c105, key) {
|
|
43299
|
+
if (c105 === " ") return this.submit();
|
|
43300
43300
|
}
|
|
43301
43301
|
get selection() {
|
|
43302
43302
|
return this.choices[this.cursor];
|
|
@@ -43420,12 +43420,12 @@ var require_toggle2 = __commonJS({
|
|
|
43420
43420
|
this.fire();
|
|
43421
43421
|
this.render();
|
|
43422
43422
|
}
|
|
43423
|
-
_(
|
|
43424
|
-
if (
|
|
43423
|
+
_(c105, key) {
|
|
43424
|
+
if (c105 === " ") {
|
|
43425
43425
|
this.value = !this.value;
|
|
43426
|
-
} else if (
|
|
43426
|
+
} else if (c105 === "1") {
|
|
43427
43427
|
this.value = true;
|
|
43428
|
-
} else if (
|
|
43428
|
+
} else if (c105 === "0") {
|
|
43429
43429
|
this.value = false;
|
|
43430
43430
|
} else return this.bell();
|
|
43431
43431
|
this.render();
|
|
@@ -43881,9 +43881,9 @@ var require_date2 = __commonJS({
|
|
|
43881
43881
|
this.moveCursor(next ? this.parts.indexOf(next) : this.parts.findIndex((part) => part instanceof DatePart));
|
|
43882
43882
|
this.render();
|
|
43883
43883
|
}
|
|
43884
|
-
_(
|
|
43885
|
-
if (/\d/.test(
|
|
43886
|
-
this.typed +=
|
|
43884
|
+
_(c105) {
|
|
43885
|
+
if (/\d/.test(c105)) {
|
|
43886
|
+
this.typed += c105;
|
|
43887
43887
|
this.parts[this.cursor].setTo(this.typed);
|
|
43888
43888
|
this.render();
|
|
43889
43889
|
}
|
|
@@ -43965,8 +43965,8 @@ var require_number2 = __commonJS({
|
|
|
43965
43965
|
parse(x2) {
|
|
43966
43966
|
return this.float ? parseFloat(x2) : parseInt(x2);
|
|
43967
43967
|
}
|
|
43968
|
-
valid(
|
|
43969
|
-
return
|
|
43968
|
+
valid(c105) {
|
|
43969
|
+
return c105 === `-` || c105 === `.` && this.float || isNumber.test(c105);
|
|
43970
43970
|
}
|
|
43971
43971
|
reset() {
|
|
43972
43972
|
this.typed = ``;
|
|
@@ -44053,14 +44053,14 @@ var require_number2 = __commonJS({
|
|
|
44053
44053
|
this.fire();
|
|
44054
44054
|
this.render();
|
|
44055
44055
|
}
|
|
44056
|
-
_(
|
|
44057
|
-
if (!this.valid(
|
|
44056
|
+
_(c105, key) {
|
|
44057
|
+
if (!this.valid(c105)) return this.bell();
|
|
44058
44058
|
const now = Date.now();
|
|
44059
44059
|
if (now - this.lastHit > 1e3) this.typed = ``;
|
|
44060
|
-
this.typed +=
|
|
44060
|
+
this.typed += c105;
|
|
44061
44061
|
this.lastHit = now;
|
|
44062
44062
|
this.color = `cyan`;
|
|
44063
|
-
if (
|
|
44063
|
+
if (c105 === `.`) return this.fire();
|
|
44064
44064
|
this.value = Math.min(this.parse(this.typed), this.max);
|
|
44065
44065
|
if (this.value > this.max) this.value = this.max;
|
|
44066
44066
|
if (this.value < this.min) this.value = this.min;
|
|
@@ -44222,10 +44222,10 @@ var require_multiselect2 = __commonJS({
|
|
|
44222
44222
|
this.value.filter((v) => !v.disabled).forEach((v) => v.selected = newSelected);
|
|
44223
44223
|
this.render();
|
|
44224
44224
|
}
|
|
44225
|
-
_(
|
|
44226
|
-
if (
|
|
44225
|
+
_(c105, key) {
|
|
44226
|
+
if (c105 === " ") {
|
|
44227
44227
|
this.handleSpaceToggle();
|
|
44228
|
-
} else if (
|
|
44228
|
+
} else if (c105 === "a") {
|
|
44229
44229
|
this.toggleAll();
|
|
44230
44230
|
} else {
|
|
44231
44231
|
return this.bell();
|
|
@@ -44422,10 +44422,10 @@ var require_autocomplete2 = __commonJS({
|
|
|
44422
44422
|
this.out.write("\n");
|
|
44423
44423
|
this.close();
|
|
44424
44424
|
}
|
|
44425
|
-
_(
|
|
44425
|
+
_(c105, key) {
|
|
44426
44426
|
let s1 = this.input.slice(0, this.cursor);
|
|
44427
44427
|
let s2 = this.input.slice(this.cursor);
|
|
44428
|
-
this.input = `${s1}${
|
|
44428
|
+
this.input = `${s1}${c105}${s2}`;
|
|
44429
44429
|
this.cursor = s1.length + 1;
|
|
44430
44430
|
this.complete(this.render);
|
|
44431
44431
|
this.render();
|
|
@@ -44628,15 +44628,15 @@ var require_autocompleteMultiselect2 = __commonJS({
|
|
|
44628
44628
|
this.render();
|
|
44629
44629
|
}
|
|
44630
44630
|
}
|
|
44631
|
-
handleInputChange(
|
|
44632
|
-
this.inputValue = this.inputValue +
|
|
44631
|
+
handleInputChange(c105) {
|
|
44632
|
+
this.inputValue = this.inputValue + c105;
|
|
44633
44633
|
this.updateFilteredOptions();
|
|
44634
44634
|
}
|
|
44635
|
-
_(
|
|
44636
|
-
if (
|
|
44635
|
+
_(c105, key) {
|
|
44636
|
+
if (c105 === " ") {
|
|
44637
44637
|
this.handleSpaceToggle();
|
|
44638
44638
|
} else {
|
|
44639
|
-
this.handleInputChange(
|
|
44639
|
+
this.handleInputChange(c105);
|
|
44640
44640
|
}
|
|
44641
44641
|
}
|
|
44642
44642
|
renderInstructions() {
|
|
@@ -44743,12 +44743,12 @@ var require_confirm2 = __commonJS({
|
|
|
44743
44743
|
this.out.write("\n");
|
|
44744
44744
|
this.close();
|
|
44745
44745
|
}
|
|
44746
|
-
_(
|
|
44747
|
-
if (
|
|
44746
|
+
_(c105, key) {
|
|
44747
|
+
if (c105.toLowerCase() === "y") {
|
|
44748
44748
|
this.value = true;
|
|
44749
44749
|
return this.submit();
|
|
44750
44750
|
}
|
|
44751
|
-
if (
|
|
44751
|
+
if (c105.toLowerCase() === "n") {
|
|
44752
44752
|
this.value = false;
|
|
44753
44753
|
return this.submit();
|
|
44754
44754
|
}
|
|
@@ -45634,9 +45634,9 @@ var require_Alias = __commonJS({
|
|
|
45634
45634
|
} else if (identity.isCollection(node2)) {
|
|
45635
45635
|
let count = 0;
|
|
45636
45636
|
for (const item of node2.items) {
|
|
45637
|
-
const
|
|
45638
|
-
if (
|
|
45639
|
-
count =
|
|
45637
|
+
const c105 = getAliasCount(doc, item, anchors2);
|
|
45638
|
+
if (c105 > count)
|
|
45639
|
+
count = c105;
|
|
45640
45640
|
}
|
|
45641
45641
|
return count;
|
|
45642
45642
|
} else if (identity.isPair(node2)) {
|
|
@@ -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 c105 of classes) {
|
|
53180
|
+
out.push(`.${c105}`);
|
|
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
|
+
(c105) => (
|
|
53413
53413
|
// eslint-disable-next-line no-bitwise
|
|
53414
|
-
(
|
|
53414
|
+
(c105 ^ (getRandomByte() & 15) >> c105 / 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(c105, next) {
|
|
72472
72472
|
if (!instrumentation.isEnabled()) {
|
|
72473
|
-
return handler.apply(this, [
|
|
72473
|
+
return handler.apply(this, [c105, next]);
|
|
72474
72474
|
}
|
|
72475
|
-
const path3 =
|
|
72475
|
+
const path3 = c105.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, [c105, next]);
|
|
72481
72481
|
if (isThenable(result)) {
|
|
72482
72482
|
return result.then((result2) => {
|
|
72483
72483
|
const type = instrumentation._determineHandlerType(result2);
|
|
@@ -74083,7 +74083,7 @@ if (DSN) {
|
|
|
74083
74083
|
init2({
|
|
74084
74084
|
dsn: DSN,
|
|
74085
74085
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
74086
|
-
release: "9.162.
|
|
74086
|
+
release: "9.162.2",
|
|
74087
74087
|
sendDefaultPii: false,
|
|
74088
74088
|
tracesSampleRate: 0,
|
|
74089
74089
|
shutdownTimeout: 500,
|
|
@@ -74102,7 +74102,7 @@ if (DSN) {
|
|
|
74102
74102
|
}
|
|
74103
74103
|
});
|
|
74104
74104
|
setContext("cli", {
|
|
74105
|
-
version: "9.162.
|
|
74105
|
+
version: "9.162.2",
|
|
74106
74106
|
command: process.argv.slice(2).join(" ")
|
|
74107
74107
|
});
|
|
74108
74108
|
setContext("runtime", {
|
|
@@ -74444,7 +74444,7 @@ var FEATURE_SWITCHES = {
|
|
|
74444
74444
|
["chatMarkdownMath" /* ChatMarkdownMath */]: {
|
|
74445
74445
|
maintainer: "ethan@vm0.ai",
|
|
74446
74446
|
description: "Enable synchronous math rendering for inline and block formulas in chat Markdown.",
|
|
74447
|
-
enabled:
|
|
74447
|
+
enabled: true
|
|
74448
74448
|
},
|
|
74449
74449
|
["chatThreadRename" /* ChatThreadRename */]: {
|
|
74450
74450
|
maintainer: "ethan@vm0.ai",
|
|
@@ -74485,9 +74485,8 @@ var FEATURE_SWITCHES = {
|
|
|
74485
74485
|
},
|
|
74486
74486
|
["connectorCategories" /* ConnectorCategories */]: {
|
|
74487
74487
|
maintainer: "ethan@vm0.ai",
|
|
74488
|
-
description: "Show category sections and the hover-reveal outline menu on the Connectors settings page.
|
|
74489
|
-
enabled:
|
|
74490
|
-
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
74488
|
+
description: "Show category sections and the hover-reveal outline menu on the Connectors settings page.",
|
|
74489
|
+
enabled: true
|
|
74491
74490
|
},
|
|
74492
74491
|
["zapierConnector" /* ZapierConnector */]: {
|
|
74493
74492
|
maintainer: "ethan@vm0.ai",
|
|
@@ -74500,12 +74499,6 @@ var FEATURE_SWITCHES = {
|
|
|
74500
74499
|
enabled: false,
|
|
74501
74500
|
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
74502
74501
|
},
|
|
74503
|
-
["openDesignGenerate" /* OpenDesignGenerate */]: {
|
|
74504
|
-
maintainer: "ethan@vm0.ai",
|
|
74505
|
-
description: "Use agent-authored OpenDesign-style HTML packets for website and presentation built-in generation. Staff-only during rollout.",
|
|
74506
|
-
enabled: false,
|
|
74507
|
-
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
74508
|
-
},
|
|
74509
74502
|
["sandboxIoLimiters" /* SandboxIoLimiters */]: {
|
|
74510
74503
|
maintainer: "liangyou@vm0.ai",
|
|
74511
74504
|
description: "Enable runner-provided disk and network device rate limiters for sandbox VMs.",
|
|
@@ -74517,11 +74510,6 @@ var FEATURE_SWITCHES = {
|
|
|
74517
74510
|
description: "Enable managed Zero Maps CLI access for geocoding, directions, and places. Staff-only during rollout.",
|
|
74518
74511
|
enabled: false,
|
|
74519
74512
|
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
74520
|
-
},
|
|
74521
|
-
["agentsPageSplitSections" /* AgentsPageSplitSections */]: {
|
|
74522
|
-
maintainer: "ethan@vm0.ai",
|
|
74523
|
-
description: "Split the Agents page into separate Public and Private sections, each with its own heading and Create button. The Public section also shows a remaining-slot counter with a workspace cap tooltip and disables creation once the cap is reached.",
|
|
74524
|
-
enabled: true
|
|
74525
74513
|
}
|
|
74526
74514
|
};
|
|
74527
74515
|
function isFeatureEnabled(key, ctx) {
|
|
@@ -77710,7 +77698,7 @@ var $ZodBase64 = /* @__PURE__ */ $constructor("$ZodBase64", (inst, def) => {
|
|
|
77710
77698
|
function isValidBase64URL(data) {
|
|
77711
77699
|
if (!base64url.test(data))
|
|
77712
77700
|
return false;
|
|
77713
|
-
const base643 = data.replace(/[-_]/g, (
|
|
77701
|
+
const base643 = data.replace(/[-_]/g, (c105) => c105 === "-" ? "+" : "/");
|
|
77714
77702
|
const padded = base643.padEnd(Math.ceil(base643.length / 4) * 4, "=");
|
|
77715
77703
|
return isValidBase64(padded);
|
|
77716
77704
|
}
|
|
@@ -87821,9 +87809,9 @@ var ZodDate = /* @__PURE__ */ $constructor("ZodDate", (inst, def) => {
|
|
|
87821
87809
|
inst._zod.processJSONSchema = (ctx, json2, params) => dateProcessor(inst, ctx, json2, params);
|
|
87822
87810
|
inst.min = (value, params) => inst.check(_gte(value, params));
|
|
87823
87811
|
inst.max = (value, params) => inst.check(_lte(value, params));
|
|
87824
|
-
const
|
|
87825
|
-
inst.minDate =
|
|
87826
|
-
inst.maxDate =
|
|
87812
|
+
const c105 = inst._zod.bag;
|
|
87813
|
+
inst.minDate = c105.minimum ? new Date(c105.minimum) : null;
|
|
87814
|
+
inst.maxDate = c105.maximum ? new Date(c105.maximum) : null;
|
|
87827
87815
|
});
|
|
87828
87816
|
function date3(params) {
|
|
87829
87817
|
return _date(ZodDate, params);
|
|
@@ -110437,25 +110425,6 @@ var summaryEntrySchema = external_exports.union([
|
|
|
110437
110425
|
toolSummaryEntrySchema,
|
|
110438
110426
|
textSummaryEntrySchema
|
|
110439
110427
|
]);
|
|
110440
|
-
var storedChatMessageBaseSchema = external_exports.object({
|
|
110441
|
-
id: external_exports.string().optional(),
|
|
110442
|
-
content: external_exports.string().nullable(),
|
|
110443
|
-
runId: external_exports.string().optional(),
|
|
110444
|
-
revokesMessageId: external_exports.string().optional(),
|
|
110445
|
-
interruptsRunId: external_exports.string().optional(),
|
|
110446
|
-
error: external_exports.string().optional(),
|
|
110447
|
-
attachFiles: external_exports.array(resolvedAttachFileSchema).optional(),
|
|
110448
|
-
createdAt: external_exports.string()
|
|
110449
|
-
});
|
|
110450
|
-
var storedChatMessageSchema = external_exports.discriminatedUnion("role", [
|
|
110451
|
-
storedChatMessageBaseSchema.extend({
|
|
110452
|
-
role: external_exports.literal("user")
|
|
110453
|
-
}).strict(),
|
|
110454
|
-
storedChatMessageBaseSchema.extend({
|
|
110455
|
-
role: external_exports.literal("assistant"),
|
|
110456
|
-
status: external_exports.string().optional()
|
|
110457
|
-
})
|
|
110458
|
-
]);
|
|
110459
110428
|
var pagedChatMessageBaseSchema = external_exports.object({
|
|
110460
110429
|
id: external_exports.string(),
|
|
110461
110430
|
content: external_exports.string().nullable(),
|
|
@@ -110479,7 +110448,6 @@ var chatThreadDetailSchema = external_exports.object({
|
|
|
110479
110448
|
id: external_exports.string(),
|
|
110480
110449
|
title: external_exports.string().nullable(),
|
|
110481
110450
|
agentId: external_exports.string(),
|
|
110482
|
-
chatMessages: external_exports.array(storedChatMessageSchema),
|
|
110483
110451
|
latestSessionId: external_exports.string().nullable(),
|
|
110484
110452
|
/**
|
|
110485
110453
|
* ID of the latest message this user has marked read in this thread.
|
|
@@ -113544,94 +113512,6 @@ async function generateWebVideo(options) {
|
|
|
113544
113512
|
fallback: "Failed to generate video"
|
|
113545
113513
|
});
|
|
113546
113514
|
}
|
|
113547
|
-
async function generateWebPresentation(options) {
|
|
113548
|
-
const baseUrl = await getBaseUrl();
|
|
113549
|
-
const token = await getActiveToken();
|
|
113550
|
-
if (!token) {
|
|
113551
|
-
throw new ApiRequestError("Not authenticated", "UNAUTHORIZED", 401);
|
|
113552
|
-
}
|
|
113553
|
-
const headers = {
|
|
113554
|
-
Authorization: `Bearer ${token}`,
|
|
113555
|
-
"Content-Type": "application/json"
|
|
113556
|
-
};
|
|
113557
|
-
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
113558
|
-
if (bypassSecret) {
|
|
113559
|
-
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
113560
|
-
}
|
|
113561
|
-
const response = await fetch(
|
|
113562
|
-
new URL("/api/zero/presentation-io/generate", baseUrl),
|
|
113563
|
-
{
|
|
113564
|
-
method: "POST",
|
|
113565
|
-
headers,
|
|
113566
|
-
body: JSON.stringify({
|
|
113567
|
-
prompt: options.prompt,
|
|
113568
|
-
...options.style ? { style: options.style } : {},
|
|
113569
|
-
...options.slideCount !== void 0 ? { slideCount: options.slideCount } : {},
|
|
113570
|
-
...options.imageCount !== void 0 ? { imageCount: options.imageCount } : {},
|
|
113571
|
-
...options.imageModel ? { imageModel: options.imageModel } : {},
|
|
113572
|
-
...options.theme ? { theme: options.theme } : {},
|
|
113573
|
-
...options.audience ? { audience: options.audience } : {},
|
|
113574
|
-
...options.title ? { title: options.title } : {}
|
|
113575
|
-
})
|
|
113576
|
-
}
|
|
113577
|
-
);
|
|
113578
|
-
if (!response.ok) {
|
|
113579
|
-
const { message, code } = await parseErrorBody2(
|
|
113580
|
-
response,
|
|
113581
|
-
"Failed to generate presentation"
|
|
113582
|
-
);
|
|
113583
|
-
throw new ApiRequestError(message, code, response.status);
|
|
113584
|
-
}
|
|
113585
|
-
return readBuiltInGenerationResponse({
|
|
113586
|
-
response,
|
|
113587
|
-
baseUrl,
|
|
113588
|
-
token,
|
|
113589
|
-
fallback: "Failed to generate presentation"
|
|
113590
|
-
});
|
|
113591
|
-
}
|
|
113592
|
-
async function generateWebWebsite(options) {
|
|
113593
|
-
const baseUrl = await getBaseUrl();
|
|
113594
|
-
const token = await getActiveToken();
|
|
113595
|
-
if (!token) {
|
|
113596
|
-
throw new ApiRequestError("Not authenticated", "UNAUTHORIZED", 401);
|
|
113597
|
-
}
|
|
113598
|
-
const headers = {
|
|
113599
|
-
Authorization: `Bearer ${token}`,
|
|
113600
|
-
"Content-Type": "application/json"
|
|
113601
|
-
};
|
|
113602
|
-
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
113603
|
-
if (bypassSecret) {
|
|
113604
|
-
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
113605
|
-
}
|
|
113606
|
-
const response = await fetch(
|
|
113607
|
-
new URL("/api/zero/website-io/generate", baseUrl),
|
|
113608
|
-
{
|
|
113609
|
-
method: "POST",
|
|
113610
|
-
headers,
|
|
113611
|
-
body: JSON.stringify({
|
|
113612
|
-
prompt: options.prompt,
|
|
113613
|
-
...options.template ? { template: options.template } : {},
|
|
113614
|
-
...options.imageCount !== void 0 ? { imageCount: options.imageCount } : {},
|
|
113615
|
-
...options.imageModel ? { imageModel: options.imageModel } : {},
|
|
113616
|
-
...options.title ? { title: options.title } : {},
|
|
113617
|
-
...options.audience ? { audience: options.audience } : {}
|
|
113618
|
-
})
|
|
113619
|
-
}
|
|
113620
|
-
);
|
|
113621
|
-
if (!response.ok) {
|
|
113622
|
-
const { message, code } = await parseErrorBody2(
|
|
113623
|
-
response,
|
|
113624
|
-
"Failed to generate website"
|
|
113625
|
-
);
|
|
113626
|
-
throw new ApiRequestError(message, code, response.status);
|
|
113627
|
-
}
|
|
113628
|
-
return readBuiltInGenerationResponse({
|
|
113629
|
-
response,
|
|
113630
|
-
baseUrl,
|
|
113631
|
-
token,
|
|
113632
|
-
fallback: "Failed to generate website"
|
|
113633
|
-
});
|
|
113634
|
-
}
|
|
113635
113515
|
|
|
113636
113516
|
// src/lib/api/domains/zero-host.ts
|
|
113637
113517
|
init_esm_shims();
|
|
@@ -117986,19 +117866,18 @@ function authMethodAccessPriority(method) {
|
|
|
117986
117866
|
return 0;
|
|
117987
117867
|
}
|
|
117988
117868
|
}
|
|
117989
|
-
function
|
|
117990
|
-
|
|
117991
|
-
|
|
117992
|
-
|
|
117993
|
-
|
|
117994
|
-
|
|
117995
|
-
|
|
117996
|
-
|
|
117997
|
-
|
|
117998
|
-
|
|
117999
|
-
|
|
117869
|
+
function getConnectorOAuthGrantConfigIfSupported(type) {
|
|
117870
|
+
const method = getConnectorAuthMethod(type, "oauth");
|
|
117871
|
+
switch (method?.grant.kind) {
|
|
117872
|
+
case "auth-code":
|
|
117873
|
+
case "device-auth":
|
|
117874
|
+
return method.grant;
|
|
117875
|
+
case "manual":
|
|
117876
|
+
case "managed":
|
|
117877
|
+
case "interactive-pairing":
|
|
117878
|
+
case void 0:
|
|
117879
|
+
return void 0;
|
|
118000
117880
|
}
|
|
118001
|
-
return void 0;
|
|
118002
117881
|
}
|
|
118003
117882
|
function getConnectorGenerationTypes(type) {
|
|
118004
117883
|
const config4 = CONNECTOR_TYPES[type];
|
|
@@ -118059,41 +117938,20 @@ function getConnectorDerivedNames(secretName) {
|
|
|
118059
117938
|
}
|
|
118060
117939
|
return null;
|
|
118061
117940
|
}
|
|
118062
|
-
function getConnectorOAuthConfigIfSupported(type) {
|
|
118063
|
-
const grant = getConnectorOAuthGrant(type);
|
|
118064
|
-
switch (grant?.kind) {
|
|
118065
|
-
case "auth-code":
|
|
118066
|
-
return {
|
|
118067
|
-
flow: "authorization-code",
|
|
118068
|
-
tokenUrl: grant.tokenUrl,
|
|
118069
|
-
client: grant.client,
|
|
118070
|
-
scopes: [...grant.scopes]
|
|
118071
|
-
};
|
|
118072
|
-
case "device-auth":
|
|
118073
|
-
return {
|
|
118074
|
-
flow: "device-authorization",
|
|
118075
|
-
deviceAuthUrl: grant.deviceAuthUrl,
|
|
118076
|
-
tokenUrl: grant.tokenUrl,
|
|
118077
|
-
client: grant.client,
|
|
118078
|
-
scopes: [...grant.scopes]
|
|
118079
|
-
};
|
|
118080
|
-
case void 0:
|
|
118081
|
-
return void 0;
|
|
118082
|
-
}
|
|
118083
|
-
}
|
|
118084
117941
|
function hasRequiredScopes(connectorType, storedScopes) {
|
|
118085
|
-
const
|
|
118086
|
-
if (!
|
|
118087
|
-
if (
|
|
117942
|
+
const scopes = getConnectorOAuthGrantConfigIfSupported(connectorType)?.scopes;
|
|
117943
|
+
if (!scopes) return true;
|
|
117944
|
+
if (scopes.length === 0) return true;
|
|
118088
117945
|
if (!storedScopes) return false;
|
|
118089
117946
|
const storedSet = new Set(storedScopes);
|
|
118090
|
-
return
|
|
117947
|
+
return scopes.every((s) => {
|
|
118091
117948
|
return storedSet.has(s);
|
|
118092
117949
|
});
|
|
118093
117950
|
}
|
|
118094
117951
|
function getScopeDiff(connectorType, storedScopes) {
|
|
118095
|
-
const
|
|
118096
|
-
|
|
117952
|
+
const currentScopes = [
|
|
117953
|
+
...getConnectorOAuthGrantConfigIfSupported(connectorType)?.scopes ?? []
|
|
117954
|
+
];
|
|
118097
117955
|
const stored = storedScopes ?? [];
|
|
118098
117956
|
const storedSet = new Set(stored);
|
|
118099
117957
|
const currentSet = new Set(currentScopes);
|
|
@@ -133104,193 +132962,10 @@ var zeroVideoIoGenerateContract = c93.router({
|
|
|
133104
132962
|
}
|
|
133105
132963
|
});
|
|
133106
132964
|
|
|
133107
|
-
// ../../packages/api-contracts/src/contracts/zero-presentation-io-generate.ts
|
|
133108
|
-
init_esm_shims();
|
|
133109
|
-
var c94 = initContract();
|
|
133110
|
-
var zeroPresentationIoGenerateRequestSchema = external_exports.object({
|
|
133111
|
-
prompt: external_exports.unknown().optional(),
|
|
133112
|
-
style: external_exports.unknown().optional(),
|
|
133113
|
-
slideCount: external_exports.unknown().optional(),
|
|
133114
|
-
imageCount: external_exports.unknown().optional(),
|
|
133115
|
-
imageModel: external_exports.unknown().optional(),
|
|
133116
|
-
theme: external_exports.unknown().optional(),
|
|
133117
|
-
audience: external_exports.unknown().optional(),
|
|
133118
|
-
title: external_exports.unknown().optional()
|
|
133119
|
-
}).passthrough();
|
|
133120
|
-
var zeroPresentationIoUsageSchema = external_exports.object({
|
|
133121
|
-
inputTokens: external_exports.number(),
|
|
133122
|
-
outputTokens: external_exports.number(),
|
|
133123
|
-
totalTokens: external_exports.number()
|
|
133124
|
-
});
|
|
133125
|
-
var zeroPresentationIoGenerateResponseSchema = external_exports.object({
|
|
133126
|
-
id: external_exports.string(),
|
|
133127
|
-
filename: external_exports.string(),
|
|
133128
|
-
contentType: external_exports.string(),
|
|
133129
|
-
size: external_exports.number(),
|
|
133130
|
-
url: external_exports.string(),
|
|
133131
|
-
creditsCharged: external_exports.number(),
|
|
133132
|
-
model: external_exports.string(),
|
|
133133
|
-
style: external_exports.string(),
|
|
133134
|
-
theme: external_exports.string(),
|
|
133135
|
-
slideCount: external_exports.number(),
|
|
133136
|
-
imageCount: external_exports.number(),
|
|
133137
|
-
imageModel: external_exports.string(),
|
|
133138
|
-
imageUrls: external_exports.array(external_exports.string()),
|
|
133139
|
-
imageCreditsCharged: external_exports.number(),
|
|
133140
|
-
textCreditsCharged: external_exports.number(),
|
|
133141
|
-
title: external_exports.string(),
|
|
133142
|
-
responseId: external_exports.string().optional(),
|
|
133143
|
-
usage: zeroPresentationIoUsageSchema
|
|
133144
|
-
});
|
|
133145
|
-
var zeroPresentationIoGenerateContract = c94.router({
|
|
133146
|
-
post: {
|
|
133147
|
-
method: "POST",
|
|
133148
|
-
path: "/api/zero/presentation-io/generate",
|
|
133149
|
-
headers: authHeadersSchema,
|
|
133150
|
-
body: zeroPresentationIoGenerateRequestSchema,
|
|
133151
|
-
responses: {
|
|
133152
|
-
200: zeroPresentationIoGenerateResponseSchema,
|
|
133153
|
-
202: zeroBuiltInGenerationAcceptedResponseSchema,
|
|
133154
|
-
400: apiErrorSchema,
|
|
133155
|
-
401: apiErrorSchema,
|
|
133156
|
-
402: apiErrorSchema,
|
|
133157
|
-
403: apiErrorSchema,
|
|
133158
|
-
500: apiErrorSchema,
|
|
133159
|
-
502: apiErrorSchema,
|
|
133160
|
-
503: apiErrorSchema
|
|
133161
|
-
},
|
|
133162
|
-
summary: "Generate and persist an HTML presentation file"
|
|
133163
|
-
}
|
|
133164
|
-
});
|
|
133165
|
-
|
|
133166
|
-
// ../../packages/api-contracts/src/contracts/zero-website-io-generate.ts
|
|
133167
|
-
init_esm_shims();
|
|
133168
|
-
var c95 = initContract();
|
|
133169
|
-
var zeroWebsiteTemplateIdSchema = external_exports.enum(["launch", "profile"]);
|
|
133170
|
-
var zeroWebsiteTemplateRequestSchema = external_exports.enum([
|
|
133171
|
-
"auto",
|
|
133172
|
-
"launch",
|
|
133173
|
-
"profile"
|
|
133174
|
-
]);
|
|
133175
|
-
var zeroWebsiteIoGenerateRequestSchema = external_exports.object({
|
|
133176
|
-
prompt: external_exports.unknown().optional(),
|
|
133177
|
-
template: external_exports.unknown().optional(),
|
|
133178
|
-
imageCount: external_exports.unknown().optional(),
|
|
133179
|
-
imageModel: external_exports.unknown().optional(),
|
|
133180
|
-
title: external_exports.unknown().optional(),
|
|
133181
|
-
audience: external_exports.unknown().optional()
|
|
133182
|
-
}).passthrough();
|
|
133183
|
-
var zeroWebsiteIoUsageSchema = external_exports.object({
|
|
133184
|
-
inputTokens: external_exports.number(),
|
|
133185
|
-
outputTokens: external_exports.number(),
|
|
133186
|
-
totalTokens: external_exports.number()
|
|
133187
|
-
});
|
|
133188
|
-
var zeroWebsiteCtaSchema = external_exports.object({
|
|
133189
|
-
label: external_exports.string(),
|
|
133190
|
-
href: external_exports.string()
|
|
133191
|
-
});
|
|
133192
|
-
var zeroWebsiteHighlightSchema = external_exports.object({
|
|
133193
|
-
title: external_exports.string(),
|
|
133194
|
-
body: external_exports.string()
|
|
133195
|
-
});
|
|
133196
|
-
var zeroWebsiteSectionSchema = external_exports.object({
|
|
133197
|
-
kicker: external_exports.string(),
|
|
133198
|
-
title: external_exports.string(),
|
|
133199
|
-
body: external_exports.string(),
|
|
133200
|
-
bullets: external_exports.array(external_exports.string())
|
|
133201
|
-
});
|
|
133202
|
-
var zeroWebsiteStatSchema = external_exports.object({
|
|
133203
|
-
label: external_exports.string(),
|
|
133204
|
-
value: external_exports.string()
|
|
133205
|
-
});
|
|
133206
|
-
var zeroWebsiteFooterSchema = external_exports.object({
|
|
133207
|
-
title: external_exports.string(),
|
|
133208
|
-
body: external_exports.string(),
|
|
133209
|
-
cta: zeroWebsiteCtaSchema
|
|
133210
|
-
});
|
|
133211
|
-
var zeroWebsiteThemeSchema = external_exports.object({
|
|
133212
|
-
accent: external_exports.enum(["cobalt", "green", "coral", "mono"]),
|
|
133213
|
-
tone: external_exports.enum(["light", "dark"])
|
|
133214
|
-
});
|
|
133215
|
-
var zeroWebsiteVisualPlacementSchema = external_exports.enum([
|
|
133216
|
-
"hero",
|
|
133217
|
-
"feature",
|
|
133218
|
-
"section"
|
|
133219
|
-
]);
|
|
133220
|
-
var zeroWebsiteVisualSpecSchema = external_exports.object({
|
|
133221
|
-
placement: zeroWebsiteVisualPlacementSchema,
|
|
133222
|
-
prompt: external_exports.string(),
|
|
133223
|
-
alt: external_exports.string()
|
|
133224
|
-
});
|
|
133225
|
-
var zeroWebsiteGeneratedVisualSchema = external_exports.object({
|
|
133226
|
-
placement: zeroWebsiteVisualPlacementSchema,
|
|
133227
|
-
url: external_exports.string(),
|
|
133228
|
-
alt: external_exports.string(),
|
|
133229
|
-
prompt: external_exports.string(),
|
|
133230
|
-
imageId: external_exports.string(),
|
|
133231
|
-
filename: external_exports.string(),
|
|
133232
|
-
creditsCharged: external_exports.number()
|
|
133233
|
-
});
|
|
133234
|
-
var zeroWebsiteSiteDataSchema = external_exports.object({
|
|
133235
|
-
siteName: external_exports.string(),
|
|
133236
|
-
eyebrow: external_exports.string(),
|
|
133237
|
-
headline: external_exports.string(),
|
|
133238
|
-
subhead: external_exports.string(),
|
|
133239
|
-
primaryCta: zeroWebsiteCtaSchema,
|
|
133240
|
-
secondaryCta: zeroWebsiteCtaSchema,
|
|
133241
|
-
highlights: external_exports.array(zeroWebsiteHighlightSchema),
|
|
133242
|
-
sections: external_exports.array(zeroWebsiteSectionSchema),
|
|
133243
|
-
stats: external_exports.array(zeroWebsiteStatSchema),
|
|
133244
|
-
footer: zeroWebsiteFooterSchema,
|
|
133245
|
-
theme: zeroWebsiteThemeSchema,
|
|
133246
|
-
visuals: external_exports.array(zeroWebsiteVisualSpecSchema)
|
|
133247
|
-
});
|
|
133248
|
-
var zeroWebsiteGenerationPayloadSchema = external_exports.object({
|
|
133249
|
-
templateId: zeroWebsiteTemplateIdSchema,
|
|
133250
|
-
siteData: zeroWebsiteSiteDataSchema
|
|
133251
|
-
});
|
|
133252
|
-
var zeroWebsiteIoGenerateResponseSchema = external_exports.object({
|
|
133253
|
-
generationId: external_exports.string(),
|
|
133254
|
-
templateId: zeroWebsiteTemplateIdSchema,
|
|
133255
|
-
templateLabel: external_exports.string(),
|
|
133256
|
-
slugSuggestion: external_exports.string(),
|
|
133257
|
-
siteData: zeroWebsiteSiteDataSchema,
|
|
133258
|
-
creditsCharged: external_exports.number(),
|
|
133259
|
-
textCreditsCharged: external_exports.number(),
|
|
133260
|
-
imageCreditsCharged: external_exports.number(),
|
|
133261
|
-
model: external_exports.string(),
|
|
133262
|
-
imageCount: external_exports.number(),
|
|
133263
|
-
imageModel: external_exports.string(),
|
|
133264
|
-
imageUrls: external_exports.array(external_exports.string()),
|
|
133265
|
-
generatedVisuals: external_exports.array(zeroWebsiteGeneratedVisualSchema),
|
|
133266
|
-
responseId: external_exports.string().optional(),
|
|
133267
|
-
usage: zeroWebsiteIoUsageSchema
|
|
133268
|
-
});
|
|
133269
|
-
var zeroWebsiteIoGenerateContract = c95.router({
|
|
133270
|
-
post: {
|
|
133271
|
-
method: "POST",
|
|
133272
|
-
path: "/api/zero/website-io/generate",
|
|
133273
|
-
headers: authHeadersSchema,
|
|
133274
|
-
body: zeroWebsiteIoGenerateRequestSchema,
|
|
133275
|
-
responses: {
|
|
133276
|
-
200: zeroWebsiteIoGenerateResponseSchema,
|
|
133277
|
-
202: zeroBuiltInGenerationAcceptedResponseSchema,
|
|
133278
|
-
400: apiErrorSchema,
|
|
133279
|
-
401: apiErrorSchema,
|
|
133280
|
-
402: apiErrorSchema,
|
|
133281
|
-
403: apiErrorSchema,
|
|
133282
|
-
500: apiErrorSchema,
|
|
133283
|
-
502: apiErrorSchema,
|
|
133284
|
-
503: apiErrorSchema
|
|
133285
|
-
},
|
|
133286
|
-
summary: "Generate structured content for a hosted website template"
|
|
133287
|
-
}
|
|
133288
|
-
});
|
|
133289
|
-
|
|
133290
132965
|
// ../../packages/api-contracts/src/contracts/internal-callbacks-agent.ts
|
|
133291
132966
|
init_esm_shims();
|
|
133292
|
-
var
|
|
133293
|
-
var internalCallbacksAgentContract =
|
|
132967
|
+
var c94 = initContract();
|
|
132968
|
+
var internalCallbacksAgentContract = c94.router({
|
|
133294
132969
|
post: {
|
|
133295
132970
|
method: "POST",
|
|
133296
132971
|
path: "/api/internal/callbacks/agent",
|
|
@@ -133308,7 +132983,7 @@ var internalCallbacksAgentContract = c96.router({
|
|
|
133308
132983
|
|
|
133309
132984
|
// ../../packages/api-contracts/src/contracts/internal-callbacks-github-issues.ts
|
|
133310
132985
|
init_esm_shims();
|
|
133311
|
-
var
|
|
132986
|
+
var c95 = initContract();
|
|
133312
132987
|
var githubIssuesCallbackPayloadSchema = external_exports.object({
|
|
133313
132988
|
installationId: external_exports.string(),
|
|
133314
132989
|
repo: external_exports.string(),
|
|
@@ -133319,7 +132994,7 @@ var githubIssuesCallbackPayloadSchema = external_exports.object({
|
|
|
133319
132994
|
triggerReactionId: external_exports.string().optional(),
|
|
133320
132995
|
triggerCommentBody: external_exports.string().optional()
|
|
133321
132996
|
}).passthrough();
|
|
133322
|
-
var internalCallbacksGithubIssuesContract =
|
|
132997
|
+
var internalCallbacksGithubIssuesContract = c95.router({
|
|
133323
132998
|
post: {
|
|
133324
132999
|
method: "POST",
|
|
133325
133000
|
path: "/api/internal/callbacks/github/issues",
|
|
@@ -133340,7 +133015,7 @@ var internalCallbacksGithubIssuesContract = c97.router({
|
|
|
133340
133015
|
|
|
133341
133016
|
// ../../packages/api-contracts/src/contracts/internal-callbacks-schedule.ts
|
|
133342
133017
|
init_esm_shims();
|
|
133343
|
-
var
|
|
133018
|
+
var c96 = initContract();
|
|
133344
133019
|
var scheduleLoopCallbackPayloadSchema = external_exports.object({
|
|
133345
133020
|
scheduleId: external_exports.string()
|
|
133346
133021
|
}).passthrough();
|
|
@@ -133348,7 +133023,7 @@ var scheduleCronCallbackPayloadSchema = scheduleLoopCallbackPayloadSchema.extend
|
|
|
133348
133023
|
timezone: external_exports.string(),
|
|
133349
133024
|
cronExpression: external_exports.string().optional()
|
|
133350
133025
|
}).passthrough();
|
|
133351
|
-
var internalCallbacksScheduleContract =
|
|
133026
|
+
var internalCallbacksScheduleContract = c96.router({
|
|
133352
133027
|
cron: {
|
|
133353
133028
|
method: "POST",
|
|
133354
133029
|
path: "/api/internal/callbacks/schedule/cron",
|
|
@@ -133383,13 +133058,13 @@ var internalCallbacksScheduleContract = c98.router({
|
|
|
133383
133058
|
|
|
133384
133059
|
// ../../packages/api-contracts/src/contracts/zero-voice-io-quota.ts
|
|
133385
133060
|
init_esm_shims();
|
|
133386
|
-
var
|
|
133061
|
+
var c97 = initContract();
|
|
133387
133062
|
var audioInputQuotaResponseSchema = external_exports.object({
|
|
133388
133063
|
allowed: external_exports.boolean(),
|
|
133389
133064
|
count: external_exports.number().int().nonnegative(),
|
|
133390
133065
|
limit: external_exports.number().int().positive().nullable()
|
|
133391
133066
|
});
|
|
133392
|
-
var zeroVoiceIoQuotaContract =
|
|
133067
|
+
var zeroVoiceIoQuotaContract = c97.router({
|
|
133393
133068
|
get: {
|
|
133394
133069
|
method: "GET",
|
|
133395
133070
|
path: "/api/zero/voice-io/quota",
|
|
@@ -133405,7 +133080,7 @@ var zeroVoiceIoQuotaContract = c99.router({
|
|
|
133405
133080
|
|
|
133406
133081
|
// ../../packages/api-contracts/src/contracts/zero-voice-io-speech.ts
|
|
133407
133082
|
init_esm_shims();
|
|
133408
|
-
var
|
|
133083
|
+
var c98 = initContract();
|
|
133409
133084
|
var zeroVoiceIoSpeechRequestSchema = external_exports.object({
|
|
133410
133085
|
text: external_exports.unknown().optional(),
|
|
133411
133086
|
voice: external_exports.unknown().optional(),
|
|
@@ -133422,7 +133097,7 @@ var zeroVoiceIoSpeechResponseSchema = external_exports.object({
|
|
|
133422
133097
|
model: external_exports.string(),
|
|
133423
133098
|
voice: external_exports.string()
|
|
133424
133099
|
});
|
|
133425
|
-
var zeroVoiceIoSpeechContract =
|
|
133100
|
+
var zeroVoiceIoSpeechContract = c98.router({
|
|
133426
133101
|
post: {
|
|
133427
133102
|
method: "POST",
|
|
133428
133103
|
path: "/api/zero/voice-io/speech",
|
|
@@ -133444,7 +133119,7 @@ var zeroVoiceIoSpeechContract = c100.router({
|
|
|
133444
133119
|
|
|
133445
133120
|
// ../../packages/api-contracts/src/contracts/zero-voice-io-stt.ts
|
|
133446
133121
|
init_esm_shims();
|
|
133447
|
-
var
|
|
133122
|
+
var c99 = initContract();
|
|
133448
133123
|
var zeroVoiceIoSttResponseSchema = external_exports.object({
|
|
133449
133124
|
text: external_exports.string()
|
|
133450
133125
|
});
|
|
@@ -133454,13 +133129,13 @@ var zeroVoiceIoSttQuotaErrorSchema = apiErrorSchema.extend({
|
|
|
133454
133129
|
limit: external_exports.number().nullable()
|
|
133455
133130
|
}).optional()
|
|
133456
133131
|
});
|
|
133457
|
-
var zeroVoiceIoSttContract =
|
|
133132
|
+
var zeroVoiceIoSttContract = c99.router({
|
|
133458
133133
|
post: {
|
|
133459
133134
|
method: "POST",
|
|
133460
133135
|
path: "/api/zero/voice-io/stt",
|
|
133461
133136
|
headers: authHeadersSchema,
|
|
133462
133137
|
contentType: "multipart/form-data",
|
|
133463
|
-
body:
|
|
133138
|
+
body: c99.type(),
|
|
133464
133139
|
responses: {
|
|
133465
133140
|
200: zeroVoiceIoSttResponseSchema,
|
|
133466
133141
|
400: apiErrorSchema,
|
|
@@ -133476,18 +133151,18 @@ var zeroVoiceIoSttContract = c101.router({
|
|
|
133476
133151
|
|
|
133477
133152
|
// ../../packages/api-contracts/src/contracts/zero-voice-io-tts.ts
|
|
133478
133153
|
init_esm_shims();
|
|
133479
|
-
var
|
|
133154
|
+
var c100 = initContract();
|
|
133480
133155
|
var zeroVoiceIoTtsRequestSchema = external_exports.object({
|
|
133481
133156
|
text: external_exports.unknown().optional()
|
|
133482
133157
|
}).passthrough();
|
|
133483
|
-
var zeroVoiceIoTtsContract =
|
|
133158
|
+
var zeroVoiceIoTtsContract = c100.router({
|
|
133484
133159
|
post: {
|
|
133485
133160
|
method: "POST",
|
|
133486
133161
|
path: "/api/zero/voice-io/tts",
|
|
133487
133162
|
headers: authHeadersSchema,
|
|
133488
133163
|
body: zeroVoiceIoTtsRequestSchema,
|
|
133489
133164
|
responses: {
|
|
133490
|
-
200:
|
|
133165
|
+
200: c100.otherResponse({
|
|
133491
133166
|
contentType: "application/octet-stream",
|
|
133492
133167
|
body: external_exports.unknown()
|
|
133493
133168
|
}),
|
|
@@ -133502,7 +133177,7 @@ var zeroVoiceIoTtsContract = c102.router({
|
|
|
133502
133177
|
|
|
133503
133178
|
// ../../packages/api-contracts/src/contracts/zero-uploads.ts
|
|
133504
133179
|
init_esm_shims();
|
|
133505
|
-
var
|
|
133180
|
+
var c101 = initContract();
|
|
133506
133181
|
var prepareRequestSchema = external_exports.object({
|
|
133507
133182
|
filename: external_exports.string().min(1).max(255),
|
|
133508
133183
|
contentType: external_exports.string().min(1).max(200),
|
|
@@ -133529,7 +133204,7 @@ var completeResponseSchema = external_exports.object({
|
|
|
133529
133204
|
size: external_exports.number(),
|
|
133530
133205
|
url: external_exports.string().url()
|
|
133531
133206
|
});
|
|
133532
|
-
var zeroUploadsContract =
|
|
133207
|
+
var zeroUploadsContract = c101.router({
|
|
133533
133208
|
prepare: {
|
|
133534
133209
|
method: "POST",
|
|
133535
133210
|
path: "/api/zero/uploads/prepare",
|
|
@@ -133563,7 +133238,7 @@ var zeroUploadsContract = c103.router({
|
|
|
133563
133238
|
|
|
133564
133239
|
// ../../packages/api-contracts/src/contracts/zero-host.ts
|
|
133565
133240
|
init_esm_shims();
|
|
133566
|
-
var
|
|
133241
|
+
var c102 = initContract();
|
|
133567
133242
|
var hostedSiteSlugSchema = external_exports.string().trim().min(3).max(63).regex(
|
|
133568
133243
|
/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/,
|
|
133569
133244
|
"Site slug must use lowercase letters, numbers, and hyphens, and must start and end with a letter or number"
|
|
@@ -133598,7 +133273,7 @@ var hostedSiteCompleteResponseSchema = external_exports.object({
|
|
|
133598
133273
|
url: external_exports.string().url(),
|
|
133599
133274
|
status: external_exports.literal("ready")
|
|
133600
133275
|
});
|
|
133601
|
-
var zeroHostContract =
|
|
133276
|
+
var zeroHostContract = c102.router({
|
|
133602
133277
|
prepare: {
|
|
133603
133278
|
method: "POST",
|
|
133604
133279
|
path: "/api/zero/host/deployments/prepare",
|
|
@@ -133637,7 +133312,7 @@ var zeroHostContract = c104.router({
|
|
|
133637
133312
|
|
|
133638
133313
|
// ../../packages/api-contracts/src/contracts/zero-integrations-telegram.ts
|
|
133639
133314
|
init_esm_shims();
|
|
133640
|
-
var
|
|
133315
|
+
var c103 = initContract();
|
|
133641
133316
|
var telegramEnvironmentSchema = external_exports.object({
|
|
133642
133317
|
requiredSecrets: external_exports.array(external_exports.string()),
|
|
133643
133318
|
requiredVars: external_exports.array(external_exports.string()),
|
|
@@ -133736,7 +133411,7 @@ var telegramSetupStatusSchema = external_exports.object({
|
|
|
133736
133411
|
var telegramWebhookPathParamsSchema = external_exports.object({
|
|
133737
133412
|
telegramBotId: external_exports.string().min(1)
|
|
133738
133413
|
});
|
|
133739
|
-
var zeroIntegrationsTelegramContract =
|
|
133414
|
+
var zeroIntegrationsTelegramContract = c103.router({
|
|
133740
133415
|
list: {
|
|
133741
133416
|
method: "GET",
|
|
133742
133417
|
path: "/api/integrations/telegram",
|
|
@@ -133779,9 +133454,9 @@ var zeroIntegrationsTelegramContract = c105.router({
|
|
|
133779
133454
|
path: "/api/integrations/telegram/:botId",
|
|
133780
133455
|
headers: authHeadersSchema,
|
|
133781
133456
|
pathParams: external_exports.object({ botId: external_exports.string().min(1) }),
|
|
133782
|
-
body:
|
|
133457
|
+
body: c103.noBody(),
|
|
133783
133458
|
responses: {
|
|
133784
|
-
204:
|
|
133459
|
+
204: c103.noBody(),
|
|
133785
133460
|
401: apiErrorSchema,
|
|
133786
133461
|
403: apiErrorSchema,
|
|
133787
133462
|
404: apiErrorSchema
|
|
@@ -133792,10 +133467,10 @@ var zeroIntegrationsTelegramContract = c105.router({
|
|
|
133792
133467
|
method: "DELETE",
|
|
133793
133468
|
path: "/api/integrations/telegram/link",
|
|
133794
133469
|
headers: authHeadersSchema,
|
|
133795
|
-
body:
|
|
133470
|
+
body: c103.noBody(),
|
|
133796
133471
|
query: external_exports.object({ botId: external_exports.string().optional() }),
|
|
133797
133472
|
responses: {
|
|
133798
|
-
204:
|
|
133473
|
+
204: c103.noBody(),
|
|
133799
133474
|
401: apiErrorSchema,
|
|
133800
133475
|
404: apiErrorSchema
|
|
133801
133476
|
},
|
|
@@ -133826,7 +133501,7 @@ var zeroIntegrationsTelegramContract = c105.router({
|
|
|
133826
133501
|
sig: external_exports.string().optional()
|
|
133827
133502
|
}),
|
|
133828
133503
|
responses: {
|
|
133829
|
-
200:
|
|
133504
|
+
200: c103.otherResponse({
|
|
133830
133505
|
contentType: "application/octet-stream",
|
|
133831
133506
|
body: external_exports.unknown()
|
|
133832
133507
|
}),
|
|
@@ -133841,7 +133516,7 @@ var zeroIntegrationsTelegramContract = c105.router({
|
|
|
133841
133516
|
method: "GET",
|
|
133842
133517
|
path: "/api/integrations/telegram/auth-callback",
|
|
133843
133518
|
responses: {
|
|
133844
|
-
200:
|
|
133519
|
+
200: c103.otherResponse({
|
|
133845
133520
|
contentType: "text/html",
|
|
133846
133521
|
body: external_exports.unknown()
|
|
133847
133522
|
})
|
|
@@ -133900,19 +133575,19 @@ var zeroIntegrationsTelegramContract = c105.router({
|
|
|
133900
133575
|
pathParams: telegramWebhookPathParamsSchema,
|
|
133901
133576
|
body: external_exports.unknown(),
|
|
133902
133577
|
responses: {
|
|
133903
|
-
200:
|
|
133578
|
+
200: c103.otherResponse({
|
|
133904
133579
|
contentType: "text/plain",
|
|
133905
133580
|
body: external_exports.string()
|
|
133906
133581
|
}),
|
|
133907
|
-
400:
|
|
133582
|
+
400: c103.otherResponse({
|
|
133908
133583
|
contentType: "text/plain",
|
|
133909
133584
|
body: external_exports.string()
|
|
133910
133585
|
}),
|
|
133911
|
-
401:
|
|
133586
|
+
401: c103.otherResponse({
|
|
133912
133587
|
contentType: "text/plain",
|
|
133913
133588
|
body: external_exports.string()
|
|
133914
133589
|
}),
|
|
133915
|
-
404:
|
|
133590
|
+
404: c103.otherResponse({
|
|
133916
133591
|
contentType: "text/plain",
|
|
133917
133592
|
body: external_exports.string()
|
|
133918
133593
|
})
|
|
@@ -133923,7 +133598,7 @@ var zeroIntegrationsTelegramContract = c105.router({
|
|
|
133923
133598
|
|
|
133924
133599
|
// ../../packages/api-contracts/src/contracts/zero-integrations-agentphone.ts
|
|
133925
133600
|
init_esm_shims();
|
|
133926
|
-
var
|
|
133601
|
+
var c104 = initContract();
|
|
133927
133602
|
var agentPhoneConnectBodySchema = external_exports.object({
|
|
133928
133603
|
phoneHandle: external_exports.string().min(1),
|
|
133929
133604
|
agentphoneAgentId: external_exports.string().min(1),
|
|
@@ -133960,7 +133635,7 @@ var agentPhoneStartLinkResponseSchema = external_exports.object({
|
|
|
133960
133635
|
phoneHandle: external_exports.string(),
|
|
133961
133636
|
verificationSent: external_exports.literal(true)
|
|
133962
133637
|
});
|
|
133963
|
-
var zeroIntegrationsAgentPhoneContract =
|
|
133638
|
+
var zeroIntegrationsAgentPhoneContract = c104.router({
|
|
133964
133639
|
connectAgentPhone: {
|
|
133965
133640
|
method: "POST",
|
|
133966
133641
|
path: "/api/agentphone/connect",
|
|
@@ -133978,7 +133653,7 @@ var zeroIntegrationsAgentPhoneContract = c106.router({
|
|
|
133978
133653
|
method: "POST",
|
|
133979
133654
|
path: "/api/agentphone/webhook",
|
|
133980
133655
|
headers: agentPhoneWebhookHeadersSchema,
|
|
133981
|
-
body:
|
|
133656
|
+
body: c104.type(),
|
|
133982
133657
|
responses: {
|
|
133983
133658
|
200: external_exports.string(),
|
|
133984
133659
|
400: external_exports.string(),
|
|
@@ -134016,9 +133691,9 @@ var zeroIntegrationsAgentPhoneContract = c106.router({
|
|
|
134016
133691
|
method: "DELETE",
|
|
134017
133692
|
path: "/api/integrations/agentphone/link",
|
|
134018
133693
|
headers: authHeadersSchema,
|
|
134019
|
-
body:
|
|
133694
|
+
body: c104.noBody(),
|
|
134020
133695
|
responses: {
|
|
134021
|
-
204:
|
|
133696
|
+
204: c104.noBody(),
|
|
134022
133697
|
401: apiErrorSchema,
|
|
134023
133698
|
404: apiErrorSchema
|
|
134024
133699
|
},
|
|
@@ -134473,9 +134148,9 @@ var CodexEventParser = class {
|
|
|
134473
134148
|
if (!item.changes || item.changes.length === 0) {
|
|
134474
134149
|
return null;
|
|
134475
134150
|
}
|
|
134476
|
-
const changes = item.changes.map((
|
|
134477
|
-
const action =
|
|
134478
|
-
return `${action}: ${
|
|
134151
|
+
const changes = item.changes.map((c105) => {
|
|
134152
|
+
const action = c105.kind === "add" ? "Created" : c105.kind === "modify" ? "Modified" : "Deleted";
|
|
134153
|
+
return `${action}: ${c105.path}`;
|
|
134479
134154
|
}).join("\n");
|
|
134480
134155
|
return {
|
|
134481
134156
|
type: "text",
|
|
@@ -135623,8 +135298,6 @@ export {
|
|
|
135623
135298
|
generateWebVoice,
|
|
135624
135299
|
generateWebImage,
|
|
135625
135300
|
generateWebVideo,
|
|
135626
|
-
generateWebPresentation,
|
|
135627
|
-
generateWebWebsite,
|
|
135628
135301
|
prepareHostedSite,
|
|
135629
135302
|
completeHostedSite,
|
|
135630
135303
|
getInstructionsStorageName,
|
|
@@ -135676,4 +135349,4 @@ undici/lib/web/fetch/body.js:
|
|
|
135676
135349
|
undici/lib/web/websocket/frame.js:
|
|
135677
135350
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
135678
135351
|
*/
|
|
135679
|
-
//# sourceMappingURL=chunk-
|
|
135352
|
+
//# sourceMappingURL=chunk-XJJ2UVRQ.js.map
|