@vm0/cli 9.178.0 → 9.179.0
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-DPEOZVW6.js → chunk-KC3JLLAV.js} +459 -287
- package/{chunk-DPEOZVW6.js.map → chunk-KC3JLLAV.js.map} +1 -1
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +133 -12
- 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 c104 = "color: " + this.color;
|
|
4633
|
+
args.splice(1, 0, c104, "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, c104);
|
|
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 c104 = this.color;
|
|
4934
|
+
const colorCode = "\x1B[3" + (c104 < 8 ? c104 : "8;5;" + c104);
|
|
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 c104;
|
|
8985
8985
|
if (isAlphaSequence) {
|
|
8986
|
-
|
|
8987
|
-
if (
|
|
8988
|
-
|
|
8986
|
+
c104 = String.fromCharCode(i);
|
|
8987
|
+
if (c104 === "\\") {
|
|
8988
|
+
c104 = "";
|
|
8989
8989
|
}
|
|
8990
8990
|
} else {
|
|
8991
|
-
|
|
8991
|
+
c104 = String(i);
|
|
8992
8992
|
if (pad) {
|
|
8993
|
-
const need = width -
|
|
8993
|
+
const need = width - c104.length;
|
|
8994
8994
|
if (need > 0) {
|
|
8995
8995
|
const z3 = new Array(need + 1).join("0");
|
|
8996
8996
|
if (i < 0) {
|
|
8997
|
-
|
|
8997
|
+
c104 = "-" + z3 + c104.slice(1);
|
|
8998
8998
|
} else {
|
|
8999
|
-
|
|
8999
|
+
c104 = z3 + c104;
|
|
9000
9000
|
}
|
|
9001
9001
|
}
|
|
9002
9002
|
}
|
|
9003
9003
|
}
|
|
9004
|
-
N.push(
|
|
9004
|
+
N.push(c104);
|
|
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 c104 = glob.charAt(i);
|
|
9088
|
+
if ((c104 === "!" || c104 === "^") && i === pos + 1) {
|
|
9089
9089
|
negate = true;
|
|
9090
9090
|
i++;
|
|
9091
9091
|
continue;
|
|
9092
9092
|
}
|
|
9093
|
-
if (
|
|
9093
|
+
if (c104 === "]" && sawStart && !escaping) {
|
|
9094
9094
|
endPos = i + 1;
|
|
9095
9095
|
break;
|
|
9096
9096
|
}
|
|
9097
9097
|
sawStart = true;
|
|
9098
|
-
if (
|
|
9098
|
+
if (c104 === "\\") {
|
|
9099
9099
|
if (!escaping) {
|
|
9100
9100
|
escaping = true;
|
|
9101
9101
|
i++;
|
|
9102
9102
|
continue;
|
|
9103
9103
|
}
|
|
9104
9104
|
}
|
|
9105
|
-
if (
|
|
9105
|
+
if (c104 === "[" && !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 (c104 > rangeStart) {
|
|
9124
|
+
ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c104));
|
|
9125
|
+
} else if (c104 === rangeStart) {
|
|
9126
|
+
ranges.push(braceEscape(c104));
|
|
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(c104 + "-"));
|
|
9134
9134
|
i += 2;
|
|
9135
9135
|
continue;
|
|
9136
9136
|
}
|
|
9137
9137
|
if (glob.startsWith("-", i + 1)) {
|
|
9138
|
-
rangeStart =
|
|
9138
|
+
rangeStart = c104;
|
|
9139
9139
|
i += 2;
|
|
9140
9140
|
continue;
|
|
9141
9141
|
}
|
|
9142
|
-
ranges.push(braceEscape(
|
|
9142
|
+
ranges.push(braceEscape(c104));
|
|
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 = (c104) => types.has(c104);
|
|
9193
|
+
var isExtglobAST = (c104) => isExtglobType(c104.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 c104 = new _a2(this.type, parent);
|
|
9391
9391
|
for (const p of this.#parts) {
|
|
9392
|
-
|
|
9392
|
+
c104.copyIn(p);
|
|
9393
9393
|
}
|
|
9394
|
-
return
|
|
9394
|
+
return c104;
|
|
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 c104 = str.charAt(i2++);
|
|
9407
|
+
if (escaping || c104 === "\\") {
|
|
9408
9408
|
escaping = !escaping;
|
|
9409
|
-
acc2 +=
|
|
9409
|
+
acc2 += c104;
|
|
9410
9410
|
continue;
|
|
9411
9411
|
}
|
|
9412
9412
|
if (inBrace) {
|
|
9413
9413
|
if (i2 === braceStart + 1) {
|
|
9414
|
-
if (
|
|
9414
|
+
if (c104 === "^" || c104 === "!") {
|
|
9415
9415
|
braceNeg = true;
|
|
9416
9416
|
}
|
|
9417
|
-
} else if (
|
|
9417
|
+
} else if (c104 === "]" && !(i2 === braceStart + 2 && braceNeg)) {
|
|
9418
9418
|
inBrace = false;
|
|
9419
9419
|
}
|
|
9420
|
-
acc2 +=
|
|
9420
|
+
acc2 += c104;
|
|
9421
9421
|
continue;
|
|
9422
|
-
} else if (
|
|
9422
|
+
} else if (c104 === "[") {
|
|
9423
9423
|
inBrace = true;
|
|
9424
9424
|
braceStart = i2;
|
|
9425
9425
|
braceNeg = false;
|
|
9426
|
-
acc2 +=
|
|
9426
|
+
acc2 += c104;
|
|
9427
9427
|
continue;
|
|
9428
9428
|
}
|
|
9429
|
-
const doRecurse = !opt.noext && isExtglobType(
|
|
9429
|
+
const doRecurse = !opt.noext && isExtglobType(c104) && 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(c104, 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 += c104;
|
|
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 c104 = str.charAt(i++);
|
|
9449
|
+
if (escaping || c104 === "\\") {
|
|
9450
9450
|
escaping = !escaping;
|
|
9451
|
-
acc +=
|
|
9451
|
+
acc += c104;
|
|
9452
9452
|
continue;
|
|
9453
9453
|
}
|
|
9454
9454
|
if (inBrace) {
|
|
9455
9455
|
if (i === braceStart + 1) {
|
|
9456
|
-
if (
|
|
9456
|
+
if (c104 === "^" || c104 === "!") {
|
|
9457
9457
|
braceNeg = true;
|
|
9458
9458
|
}
|
|
9459
|
-
} else if (
|
|
9459
|
+
} else if (c104 === "]" && !(i === braceStart + 2 && braceNeg)) {
|
|
9460
9460
|
inBrace = false;
|
|
9461
9461
|
}
|
|
9462
|
-
acc +=
|
|
9462
|
+
acc += c104;
|
|
9463
9463
|
continue;
|
|
9464
|
-
} else if (
|
|
9464
|
+
} else if (c104 === "[") {
|
|
9465
9465
|
inBrace = true;
|
|
9466
9466
|
braceStart = i;
|
|
9467
9467
|
braceNeg = false;
|
|
9468
|
-
acc +=
|
|
9468
|
+
acc += c104;
|
|
9469
9469
|
continue;
|
|
9470
9470
|
}
|
|
9471
|
-
const doRecurse = !opt.noext && isExtglobType(
|
|
9472
|
-
(extDepth <= maxDepth || ast && ast.#canAdoptType(
|
|
9471
|
+
const doRecurse = !opt.noext && isExtglobType(c104) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
|
|
9472
|
+
(extDepth <= maxDepth || ast && ast.#canAdoptType(c104));
|
|
9473
9473
|
if (doRecurse) {
|
|
9474
|
-
const depthAdd = ast && ast.#canAdoptType(
|
|
9474
|
+
const depthAdd = ast && ast.#canAdoptType(c104) ? 0 : 1;
|
|
9475
9475
|
part.push(acc);
|
|
9476
9476
|
acc = "";
|
|
9477
|
-
const ext = new _a2(
|
|
9477
|
+
const ext = new _a2(c104, 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 (c104 === "|") {
|
|
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 (c104 === ")") {
|
|
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 += c104;
|
|
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(c104, map2 = adoptionAnyMap) {
|
|
9519
|
+
return !!map2.get(this.type)?.includes(c104);
|
|
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(c104) {
|
|
9538
9538
|
const m = usurpMap.get(this.type);
|
|
9539
|
-
return !!m?.has(
|
|
9539
|
+
return !!m?.has(c104);
|
|
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 c104 = this.#parts[i];
|
|
9753
|
+
if (typeof c104 === "object") {
|
|
9754
|
+
c104.#flatten();
|
|
9755
|
+
if (this.#canAdopt(c104)) {
|
|
9756
9756
|
done = false;
|
|
9757
|
-
this.#adopt(
|
|
9758
|
-
} else if (this.#canAdoptWithSpace(
|
|
9757
|
+
this.#adopt(c104, i);
|
|
9758
|
+
} else if (this.#canAdoptWithSpace(c104)) {
|
|
9759
9759
|
done = false;
|
|
9760
|
-
this.#adoptWithSpace(
|
|
9761
|
-
} else if (this.#canUsurp(
|
|
9760
|
+
this.#adoptWithSpace(c104, i);
|
|
9761
|
+
} else if (this.#canUsurp(c104)) {
|
|
9762
9762
|
done = false;
|
|
9763
|
-
this.#usurp(
|
|
9763
|
+
this.#usurp(c104);
|
|
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 c104 = glob.charAt(i);
|
|
9788
9788
|
if (escaping) {
|
|
9789
9789
|
escaping = false;
|
|
9790
|
-
re += (reSpecials.has(
|
|
9790
|
+
re += (reSpecials.has(c104) ? "\\" : "") + c104;
|
|
9791
9791
|
continue;
|
|
9792
9792
|
}
|
|
9793
|
-
if (
|
|
9793
|
+
if (c104 === "*") {
|
|
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 (c104 === "\\") {
|
|
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 (c104 === "[") {
|
|
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 (c104 === "?") {
|
|
9822
9822
|
re += qmark;
|
|
9823
9823
|
hasMagic = true;
|
|
9824
9824
|
continue;
|
|
9825
9825
|
}
|
|
9826
|
-
re += regExpEscape(
|
|
9826
|
+
re += regExpEscape(c104);
|
|
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 c104 = pool.config.connectionConfig;
|
|
13751
13751
|
let poolName = "";
|
|
13752
|
-
poolName +=
|
|
13753
|
-
poolName +=
|
|
13754
|
-
poolName +=
|
|
13755
|
-
poolName +=
|
|
13756
|
-
if (!
|
|
13752
|
+
poolName += c104.host ? `host: '${c104.host}', ` : "";
|
|
13753
|
+
poolName += c104.port ? `port: ${c104.port}, ` : "";
|
|
13754
|
+
poolName += c104.database ? `database: '${c104.database}', ` : "";
|
|
13755
|
+
poolName += c104.user ? `user: '${c104.user}'` : "";
|
|
13756
|
+
if (!c104.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, (c104) => `%${c104.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(c104) {
|
|
22669
|
+
switch (c104) {
|
|
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 c104 >= 33 && c104 <= 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((c104) => c104 !== 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 c104 = statusText.charCodeAt(i);
|
|
25425
|
+
if (!(c104 === 9 || // HTAB
|
|
25426
|
+
c104 >= 32 && c104 <= 126 || // SP / VCHAR
|
|
25427
|
+
c104 >= 128 && c104 <= 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((c104) => c104.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((c104) => c104.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((c104) => c104.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, c104] = ioQueue;
|
|
36236
|
+
if (a === 239 && b === 187 && c104 === 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 c104 = getAliasCount(doc, item, anchors2);
|
|
40716
|
+
if (c104 > count)
|
|
40717
|
+
count = c104;
|
|
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 c104 = 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: c104.red(figures.cross),
|
|
47756
|
+
done: c104.green(figures.tick),
|
|
47757
|
+
exited: c104.yellow(figures.cross),
|
|
47758
|
+
default: c104.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) => c104.gray(completing ? figures.ellipsis : figures.pointerSmall);
|
|
47762
|
+
var item = (expandable, expanded) => c104.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
|
+
_(c104, 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}${c104}${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
|
+
_(c104, key) {
|
|
48223
|
+
if (c104 === " ") 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
|
+
_(c104, key) {
|
|
48350
|
+
if (c104 === " ") {
|
|
48351
48351
|
this.value = !this.value;
|
|
48352
|
-
} else if (
|
|
48352
|
+
} else if (c104 === "1") {
|
|
48353
48353
|
this.value = true;
|
|
48354
|
-
} else if (
|
|
48354
|
+
} else if (c104 === "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
|
+
_(c104) {
|
|
48863
|
+
if (/\d/.test(c104)) {
|
|
48864
|
+
this.typed += c104;
|
|
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(c104) {
|
|
48974
|
+
return c104 === `-` || c104 === `.` && this.float || isNumber.test(c104);
|
|
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
|
+
_(c104, key) {
|
|
49068
|
+
if (!this.valid(c104)) return this.bell();
|
|
49069
49069
|
const now = Date.now();
|
|
49070
49070
|
if (now - this.lastHit > 1e3) this.typed = ``;
|
|
49071
|
-
this.typed +=
|
|
49071
|
+
this.typed += c104;
|
|
49072
49072
|
this.lastHit = now;
|
|
49073
49073
|
this.color = `cyan`;
|
|
49074
|
-
if (
|
|
49074
|
+
if (c104 === `.`) 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
|
+
_(c104, key) {
|
|
49239
|
+
if (c104 === " ") {
|
|
49240
49240
|
this.handleSpaceToggle();
|
|
49241
|
-
} else if (
|
|
49241
|
+
} else if (c104 === "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
|
+
_(c104, 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}${c104}${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(c104) {
|
|
49686
|
+
this.inputValue = this.inputValue + c104;
|
|
49687
49687
|
this.updateFilteredOptions();
|
|
49688
49688
|
}
|
|
49689
|
-
_(
|
|
49690
|
-
if (
|
|
49689
|
+
_(c104, key) {
|
|
49690
|
+
if (c104 === " ") {
|
|
49691
49691
|
this.handleSpaceToggle();
|
|
49692
49692
|
} else {
|
|
49693
|
-
this.handleInputChange(
|
|
49693
|
+
this.handleInputChange(c104);
|
|
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
|
+
_(c104, key) {
|
|
49800
|
+
if (c104.toLowerCase() === "y") {
|
|
49801
49801
|
this.value = true;
|
|
49802
49802
|
return this.submit();
|
|
49803
49803
|
}
|
|
49804
|
-
if (
|
|
49804
|
+
if (c104.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 c104 = 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: c104.red(figures.cross),
|
|
50256
|
+
done: c104.green(figures.tick),
|
|
50257
|
+
exited: c104.yellow(figures.cross),
|
|
50258
|
+
default: c104.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) => c104.gray(completing ? figures.ellipsis : figures.pointerSmall);
|
|
50262
|
+
var item = (expandable, expanded) => c104.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
|
+
_(c104, 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}${c104}${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
|
+
_(c104, key) {
|
|
50673
|
+
if (c104 === " ") 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
|
+
_(c104, key) {
|
|
50798
|
+
if (c104 === " ") {
|
|
50799
50799
|
this.value = !this.value;
|
|
50800
|
-
} else if (
|
|
50800
|
+
} else if (c104 === "1") {
|
|
50801
50801
|
this.value = true;
|
|
50802
|
-
} else if (
|
|
50802
|
+
} else if (c104 === "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
|
+
_(c104) {
|
|
51259
|
+
if (/\d/.test(c104)) {
|
|
51260
|
+
this.typed += c104;
|
|
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(c104) {
|
|
51343
|
+
return c104 === `-` || c104 === `.` && this.float || isNumber.test(c104);
|
|
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
|
+
_(c104, key) {
|
|
51431
|
+
if (!this.valid(c104)) return this.bell();
|
|
51432
51432
|
const now = Date.now();
|
|
51433
51433
|
if (now - this.lastHit > 1e3) this.typed = ``;
|
|
51434
|
-
this.typed +=
|
|
51434
|
+
this.typed += c104;
|
|
51435
51435
|
this.lastHit = now;
|
|
51436
51436
|
this.color = `cyan`;
|
|
51437
|
-
if (
|
|
51437
|
+
if (c104 === `.`) 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
|
+
_(c104, key) {
|
|
51600
|
+
if (c104 === " ") {
|
|
51601
51601
|
this.handleSpaceToggle();
|
|
51602
|
-
} else if (
|
|
51602
|
+
} else if (c104 === "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
|
+
_(c104, 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}${c104}${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(c104) {
|
|
52006
|
+
this.inputValue = this.inputValue + c104;
|
|
52007
52007
|
this.updateFilteredOptions();
|
|
52008
52008
|
}
|
|
52009
|
-
_(
|
|
52010
|
-
if (
|
|
52009
|
+
_(c104, key) {
|
|
52010
|
+
if (c104 === " ") {
|
|
52011
52011
|
this.handleSpaceToggle();
|
|
52012
52012
|
} else {
|
|
52013
|
-
this.handleInputChange(
|
|
52013
|
+
this.handleInputChange(c104);
|
|
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
|
+
_(c104, key) {
|
|
52121
|
+
if (c104.toLowerCase() === "y") {
|
|
52122
52122
|
this.value = true;
|
|
52123
52123
|
return this.submit();
|
|
52124
52124
|
}
|
|
52125
|
-
if (
|
|
52125
|
+
if (c104.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 c104 of classes) {
|
|
53180
|
+
out.push(`.${c104}`);
|
|
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
|
+
(c104) => (
|
|
53413
53413
|
// eslint-disable-next-line no-bitwise
|
|
53414
|
-
(
|
|
53414
|
+
(c104 ^ (getRandomByte() & 15) >> c104 / 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(c104, next) {
|
|
72472
72472
|
if (!instrumentation.isEnabled()) {
|
|
72473
|
-
return handler.apply(this, [
|
|
72473
|
+
return handler.apply(this, [c104, next]);
|
|
72474
72474
|
}
|
|
72475
|
-
const path3 =
|
|
72475
|
+
const path3 = c104.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, [c104, 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.
|
|
74086
|
+
release: "9.179.0",
|
|
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.
|
|
74105
|
+
version: "9.179.0",
|
|
74106
74106
|
command: process.argv.slice(2).join(" ")
|
|
74107
74107
|
});
|
|
74108
74108
|
setContext("runtime", {
|
|
@@ -77430,7 +77430,7 @@ var $ZodBase64 = /* @__PURE__ */ $constructor("$ZodBase64", (inst, def) => {
|
|
|
77430
77430
|
function isValidBase64URL(data) {
|
|
77431
77431
|
if (!base64url.test(data))
|
|
77432
77432
|
return false;
|
|
77433
|
-
const base643 = data.replace(/[-_]/g, (
|
|
77433
|
+
const base643 = data.replace(/[-_]/g, (c104) => c104 === "-" ? "+" : "/");
|
|
77434
77434
|
const padded = base643.padEnd(Math.ceil(base643.length / 4) * 4, "=");
|
|
77435
77435
|
return isValidBase64(padded);
|
|
77436
77436
|
}
|
|
@@ -87541,9 +87541,9 @@ var ZodDate = /* @__PURE__ */ $constructor("ZodDate", (inst, def) => {
|
|
|
87541
87541
|
inst._zod.processJSONSchema = (ctx, json2, params) => dateProcessor(inst, ctx, json2, params);
|
|
87542
87542
|
inst.min = (value, params) => inst.check(_gte(value, params));
|
|
87543
87543
|
inst.max = (value, params) => inst.check(_lte(value, params));
|
|
87544
|
-
const
|
|
87545
|
-
inst.minDate =
|
|
87546
|
-
inst.maxDate =
|
|
87544
|
+
const c104 = inst._zod.bag;
|
|
87545
|
+
inst.minDate = c104.minimum ? new Date(c104.minimum) : null;
|
|
87546
|
+
inst.maxDate = c104.maximum ? new Date(c104.maximum) : null;
|
|
87547
87547
|
});
|
|
87548
87548
|
function date3(params) {
|
|
87549
87549
|
return _date(ZodDate, params);
|
|
@@ -94264,7 +94264,7 @@ var runnersPollContract = c.router({
|
|
|
94264
94264
|
body: external_exports.object({
|
|
94265
94265
|
group: runnerGroupSchema,
|
|
94266
94266
|
profiles: external_exports.array(external_exports.string()).optional(),
|
|
94267
|
-
heldSessionStates: external_exports.array(heldSessionStateSchema).max(
|
|
94267
|
+
heldSessionStates: external_exports.array(heldSessionStateSchema).max(1024).optional()
|
|
94268
94268
|
}),
|
|
94269
94269
|
responses: {
|
|
94270
94270
|
200: external_exports.object({
|
|
@@ -94439,7 +94439,7 @@ var heartbeatBodySchema = external_exports.object({
|
|
|
94439
94439
|
allocatedVcpu: external_exports.number().int().nonnegative(),
|
|
94440
94440
|
allocatedMemoryMb: external_exports.number().int().nonnegative(),
|
|
94441
94441
|
runningCount: external_exports.number().int().nonnegative(),
|
|
94442
|
-
heldSessionStates: external_exports.array(heldSessionStateSchema),
|
|
94442
|
+
heldSessionStates: external_exports.array(heldSessionStateSchema).max(1024),
|
|
94443
94443
|
mode: external_exports.enum(["running", "draining", "stopping"])
|
|
94444
94444
|
});
|
|
94445
94445
|
var runnersHeartbeatContract = c.router({
|
|
@@ -97146,6 +97146,9 @@ var zeroAgentSkillContentResponseSchema = external_exports.object({
|
|
|
97146
97146
|
content: external_exports.string().nullable(),
|
|
97147
97147
|
files: external_exports.array(skillFileMetadataSchema).nullable()
|
|
97148
97148
|
});
|
|
97149
|
+
var zeroAgentSkillDetailResponseSchema = zeroAgentSkillContentResponseSchema.extend({
|
|
97150
|
+
fileContents: external_exports.array(skillFileEntrySchema).nullable()
|
|
97151
|
+
});
|
|
97149
97152
|
var zeroAgentSkillListResponseSchema = external_exports.array(
|
|
97150
97153
|
zeroAgentCustomSkillSchema
|
|
97151
97154
|
);
|
|
@@ -97187,7 +97190,7 @@ var zeroSkillsDetailContract = c13.router({
|
|
|
97187
97190
|
headers: authHeadersSchema,
|
|
97188
97191
|
pathParams: external_exports.object({ name: zeroAgentCustomSkillNameSchema }),
|
|
97189
97192
|
responses: {
|
|
97190
|
-
200:
|
|
97193
|
+
200: zeroAgentSkillDetailResponseSchema,
|
|
97191
97194
|
401: apiErrorSchema,
|
|
97192
97195
|
403: apiErrorSchema,
|
|
97193
97196
|
404: apiErrorSchema
|
|
@@ -111990,6 +111993,63 @@ async function callZeroMaps(operation, body) {
|
|
|
111990
111993
|
return await response.json();
|
|
111991
111994
|
}
|
|
111992
111995
|
|
|
111996
|
+
// src/lib/api/domains/zero-banking.ts
|
|
111997
|
+
init_esm_shims();
|
|
111998
|
+
function authenticatedJsonHeaders2(token) {
|
|
111999
|
+
const headers = {
|
|
112000
|
+
Authorization: `Bearer ${token}`,
|
|
112001
|
+
"Content-Type": "application/json"
|
|
112002
|
+
};
|
|
112003
|
+
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
112004
|
+
if (bypassSecret) {
|
|
112005
|
+
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
112006
|
+
}
|
|
112007
|
+
return headers;
|
|
112008
|
+
}
|
|
112009
|
+
function isRecord2(value) {
|
|
112010
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
112011
|
+
}
|
|
112012
|
+
async function parseErrorBody2(response) {
|
|
112013
|
+
let message = `Zero Banking request failed (HTTP ${response.status})`;
|
|
112014
|
+
let code = response.status === 404 ? "NOT_FOUND" : "UNKNOWN";
|
|
112015
|
+
try {
|
|
112016
|
+
const body = await response.json();
|
|
112017
|
+
if (isRecord2(body) && isRecord2(body.error)) {
|
|
112018
|
+
if (typeof body.error.message === "string") {
|
|
112019
|
+
message = body.error.message;
|
|
112020
|
+
}
|
|
112021
|
+
if (typeof body.error.code === "string") {
|
|
112022
|
+
code = body.error.code;
|
|
112023
|
+
}
|
|
112024
|
+
}
|
|
112025
|
+
} catch {
|
|
112026
|
+
}
|
|
112027
|
+
if (response.status === 404 && code === "NOT_FOUND") {
|
|
112028
|
+
message = "Zero Banking API is not available on this server yet. Try again after the banking backend is deployed.";
|
|
112029
|
+
}
|
|
112030
|
+
return { message, code };
|
|
112031
|
+
}
|
|
112032
|
+
async function callZeroBanking(operation, body) {
|
|
112033
|
+
const baseUrl = await getBaseUrl();
|
|
112034
|
+
const token = await getActiveToken();
|
|
112035
|
+
if (!token) {
|
|
112036
|
+
throw new ApiRequestError("Not authenticated", "UNAUTHORIZED", 401);
|
|
112037
|
+
}
|
|
112038
|
+
const response = await fetch(
|
|
112039
|
+
new URL(`/api/zero/banking/${operation}`, baseUrl),
|
|
112040
|
+
{
|
|
112041
|
+
method: "POST",
|
|
112042
|
+
headers: authenticatedJsonHeaders2(token),
|
|
112043
|
+
body: JSON.stringify(body)
|
|
112044
|
+
}
|
|
112045
|
+
);
|
|
112046
|
+
if (!response.ok) {
|
|
112047
|
+
const { message, code } = await parseErrorBody2(response);
|
|
112048
|
+
throw new ApiRequestError(message, code, response.status);
|
|
112049
|
+
}
|
|
112050
|
+
return await response.json();
|
|
112051
|
+
}
|
|
112052
|
+
|
|
111993
112053
|
// src/lib/api/index.ts
|
|
111994
112054
|
init_esm_shims();
|
|
111995
112055
|
|
|
@@ -113881,7 +113941,7 @@ function generateWebVideoPayload(options) {
|
|
|
113881
113941
|
["lastFrameImageUrl", options.lastFrameImageUrl]
|
|
113882
113942
|
]);
|
|
113883
113943
|
}
|
|
113884
|
-
async function
|
|
113944
|
+
async function parseErrorBody3(response, fallback) {
|
|
113885
113945
|
let message = `${fallback} (HTTP ${response.status})`;
|
|
113886
113946
|
let code = "UNKNOWN";
|
|
113887
113947
|
try {
|
|
@@ -113892,7 +113952,7 @@ async function parseErrorBody2(response, fallback) {
|
|
|
113892
113952
|
}
|
|
113893
113953
|
return { message, code };
|
|
113894
113954
|
}
|
|
113895
|
-
function
|
|
113955
|
+
function authenticatedJsonHeaders3(token) {
|
|
113896
113956
|
const headers = {
|
|
113897
113957
|
Authorization: `Bearer ${token}`,
|
|
113898
113958
|
"Content-Type": "application/json"
|
|
@@ -113903,14 +113963,14 @@ function authenticatedJsonHeaders2(token) {
|
|
|
113903
113963
|
}
|
|
113904
113964
|
return headers;
|
|
113905
113965
|
}
|
|
113906
|
-
function
|
|
113966
|
+
function isRecord3(value) {
|
|
113907
113967
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
113908
113968
|
}
|
|
113909
113969
|
function isBuiltInGenerationAcceptedResponse(value) {
|
|
113910
|
-
if (!
|
|
113970
|
+
if (!isRecord3(value)) {
|
|
113911
113971
|
return false;
|
|
113912
113972
|
}
|
|
113913
|
-
return typeof value.generationId === "string" && value.status === "queued" && (value.type === "image" || value.type === "video" || value.type === "presentation" || value.type === "website") &&
|
|
113973
|
+
return typeof value.generationId === "string" && value.status === "queued" && (value.type === "image" || value.type === "video" || value.type === "presentation" || value.type === "website") && isRecord3(value.realtime);
|
|
113914
113974
|
}
|
|
113915
113975
|
function createBuiltInGenerationRealtime(accepted) {
|
|
113916
113976
|
let nextAuthRequest = accepted.realtime.tokenRequest;
|
|
@@ -114008,10 +114068,10 @@ async function createBuiltInGenerationNotifier(accepted) {
|
|
|
114008
114068
|
async function getBuiltInGenerationStatus(baseUrl, token, generationId) {
|
|
114009
114069
|
const response = await fetch(
|
|
114010
114070
|
new URL(`/api/zero/built-in-generations/${generationId}`, baseUrl),
|
|
114011
|
-
{ headers:
|
|
114071
|
+
{ headers: authenticatedJsonHeaders3(token) }
|
|
114012
114072
|
);
|
|
114013
114073
|
if (!response.ok) {
|
|
114014
|
-
const { message, code } = await
|
|
114074
|
+
const { message, code } = await parseErrorBody3(
|
|
114015
114075
|
response,
|
|
114016
114076
|
"Failed to get generation status"
|
|
114017
114077
|
);
|
|
@@ -114152,7 +114212,7 @@ async function uploadWebFile(localPath, options) {
|
|
|
114152
114212
|
body: JSON.stringify({ filename, contentType, size: stats.size })
|
|
114153
114213
|
});
|
|
114154
114214
|
if (!prepareRes.ok) {
|
|
114155
|
-
const { message, code } = await
|
|
114215
|
+
const { message, code } = await parseErrorBody3(
|
|
114156
114216
|
prepareRes,
|
|
114157
114217
|
"Failed to prepare upload"
|
|
114158
114218
|
);
|
|
@@ -114182,7 +114242,7 @@ async function uploadWebFile(localPath, options) {
|
|
|
114182
114242
|
})
|
|
114183
114243
|
});
|
|
114184
114244
|
if (!completeRes.ok) {
|
|
114185
|
-
const { message, code } = await
|
|
114245
|
+
const { message, code } = await parseErrorBody3(
|
|
114186
114246
|
completeRes,
|
|
114187
114247
|
"Failed to complete upload"
|
|
114188
114248
|
);
|
|
@@ -114221,7 +114281,7 @@ async function generateWebVoice(options) {
|
|
|
114221
114281
|
})
|
|
114222
114282
|
});
|
|
114223
114283
|
if (!response.ok) {
|
|
114224
|
-
const { message, code } = await
|
|
114284
|
+
const { message, code } = await parseErrorBody3(
|
|
114225
114285
|
response,
|
|
114226
114286
|
"Failed to generate voice"
|
|
114227
114287
|
);
|
|
@@ -114268,7 +114328,7 @@ async function generateWebImage(options) {
|
|
|
114268
114328
|
}
|
|
114269
114329
|
);
|
|
114270
114330
|
if (!response.ok) {
|
|
114271
|
-
const { message, code } = await
|
|
114331
|
+
const { message, code } = await parseErrorBody3(
|
|
114272
114332
|
response,
|
|
114273
114333
|
"Failed to generate image"
|
|
114274
114334
|
);
|
|
@@ -114304,7 +114364,7 @@ async function generateWebVideo(options) {
|
|
|
114304
114364
|
}
|
|
114305
114365
|
);
|
|
114306
114366
|
if (!response.ok) {
|
|
114307
|
-
const { message, code } = await
|
|
114367
|
+
const { message, code } = await parseErrorBody3(
|
|
114308
114368
|
response,
|
|
114309
114369
|
"Failed to generate video"
|
|
114310
114370
|
);
|
|
@@ -114331,7 +114391,7 @@ function authHeaders(token) {
|
|
|
114331
114391
|
}
|
|
114332
114392
|
return headers;
|
|
114333
114393
|
}
|
|
114334
|
-
async function
|
|
114394
|
+
async function parseErrorBody4(response, fallback) {
|
|
114335
114395
|
let message = `${fallback} (HTTP ${response.status})`;
|
|
114336
114396
|
let code = "UNKNOWN";
|
|
114337
114397
|
try {
|
|
@@ -114361,7 +114421,7 @@ async function prepareHostedSite(body) {
|
|
|
114361
114421
|
}
|
|
114362
114422
|
);
|
|
114363
114423
|
if (!response.ok) {
|
|
114364
|
-
const { message, code } = await
|
|
114424
|
+
const { message, code } = await parseErrorBody4(
|
|
114365
114425
|
response,
|
|
114366
114426
|
"Failed to prepare hosted-site deployment"
|
|
114367
114427
|
);
|
|
@@ -114383,7 +114443,7 @@ async function completeHostedSite(deploymentId) {
|
|
|
114383
114443
|
}
|
|
114384
114444
|
);
|
|
114385
114445
|
if (!response.ok) {
|
|
114386
|
-
const { message, code } = await
|
|
114446
|
+
const { message, code } = await parseErrorBody4(
|
|
114387
114447
|
response,
|
|
114388
114448
|
"Failed to complete hosted-site deployment"
|
|
114389
114449
|
);
|
|
@@ -117313,12 +117373,6 @@ function getConnectorAuthMethod(type, authMethod) {
|
|
|
117313
117373
|
}
|
|
117314
117374
|
return void 0;
|
|
117315
117375
|
}
|
|
117316
|
-
function getManualGrantFields(method) {
|
|
117317
|
-
if (!method || method.grant.kind !== "manual") {
|
|
117318
|
-
return void 0;
|
|
117319
|
-
}
|
|
117320
|
-
return method.grant.fields;
|
|
117321
|
-
}
|
|
117322
117376
|
function connectorAccessEnvBindings(access) {
|
|
117323
117377
|
switch (access.kind) {
|
|
117324
117378
|
case "static":
|
|
@@ -117365,7 +117419,7 @@ function getConnectorEnvBindingEntries(type) {
|
|
|
117365
117419
|
}
|
|
117366
117420
|
return entries;
|
|
117367
117421
|
}
|
|
117368
|
-
function
|
|
117422
|
+
function getConnectorStoredSecretDisplayInfo(secretName) {
|
|
117369
117423
|
const allTypes = CONNECTOR_TYPE_KEYS;
|
|
117370
117424
|
for (const type of allTypes) {
|
|
117371
117425
|
const config4 = CONNECTOR_TYPES[type];
|
|
@@ -117390,6 +117444,17 @@ function getConnectorEnvNamesForSecret(secretName) {
|
|
|
117390
117444
|
}
|
|
117391
117445
|
return null;
|
|
117392
117446
|
}
|
|
117447
|
+
function getDiagnosticConnectorTypeForRuntimeEnvName(envName) {
|
|
117448
|
+
for (const type of CONNECTOR_TYPE_KEYS) {
|
|
117449
|
+
const hasEnvName = getConnectorEnvBindingEntries(type).some((entry) => {
|
|
117450
|
+
return entry.envName === envName;
|
|
117451
|
+
});
|
|
117452
|
+
if (hasEnvName) {
|
|
117453
|
+
return type;
|
|
117454
|
+
}
|
|
117455
|
+
}
|
|
117456
|
+
return null;
|
|
117457
|
+
}
|
|
117393
117458
|
function hasRequiredGrantScopes(requiredScopes, storedScopes) {
|
|
117394
117459
|
if (requiredScopes.length === 0) return true;
|
|
117395
117460
|
if (!storedScopes) return false;
|
|
@@ -117425,31 +117490,6 @@ function getConnectorAuthMethodScopeDiff(connectorType, authMethod, storedScopes
|
|
|
117425
117490
|
storedScopes
|
|
117426
117491
|
);
|
|
117427
117492
|
}
|
|
117428
|
-
function getConnectorTypeForSecretName(name) {
|
|
117429
|
-
const allTypes = CONNECTOR_TYPE_KEYS;
|
|
117430
|
-
for (const type of allTypes) {
|
|
117431
|
-
const config4 = CONNECTOR_TYPES[type];
|
|
117432
|
-
for (const method of Object.values(config4.authMethods)) {
|
|
117433
|
-
if (name in (getManualGrantFields(method) ?? {})) {
|
|
117434
|
-
return type;
|
|
117435
|
-
}
|
|
117436
|
-
}
|
|
117437
|
-
for (const method of Object.values(config4.authMethods)) {
|
|
117438
|
-
if (connectorMethodOwnedSecretNames(method).includes(name)) {
|
|
117439
|
-
return type;
|
|
117440
|
-
}
|
|
117441
|
-
}
|
|
117442
|
-
const hasEnvName = getConnectorEnvBindingEntries(type).some(
|
|
117443
|
-
({ envName }) => {
|
|
117444
|
-
return envName === name;
|
|
117445
|
-
}
|
|
117446
|
-
);
|
|
117447
|
-
if (hasEnvName) {
|
|
117448
|
-
return type;
|
|
117449
|
-
}
|
|
117450
|
-
}
|
|
117451
|
-
return null;
|
|
117452
|
-
}
|
|
117453
117493
|
|
|
117454
117494
|
// ../../packages/connectors/src/firewalls/agentmail.generated.ts
|
|
117455
117495
|
init_esm_shims();
|
|
@@ -132218,6 +132258,7 @@ var teamComposeItemSchema = external_exports.object({
|
|
|
132218
132258
|
description: external_exports.string().nullable(),
|
|
132219
132259
|
sound: external_exports.string().nullable(),
|
|
132220
132260
|
avatarUrl: external_exports.string().nullable(),
|
|
132261
|
+
customSkills: external_exports.array(external_exports.string()).optional(),
|
|
132221
132262
|
visibility: zeroAgentVisibilitySchema.optional(),
|
|
132222
132263
|
headVersionId: external_exports.string().nullable(),
|
|
132223
132264
|
updatedAt: external_exports.string()
|
|
@@ -132796,9 +132837,120 @@ var zeroImageIoGenerateContract = c89.router({
|
|
|
132796
132837
|
}
|
|
132797
132838
|
});
|
|
132798
132839
|
|
|
132799
|
-
// ../../packages/api-contracts/src/contracts/zero-
|
|
132840
|
+
// ../../packages/api-contracts/src/contracts/zero-banking.ts
|
|
132800
132841
|
init_esm_shims();
|
|
132801
132842
|
var c90 = initContract();
|
|
132843
|
+
var dateOnlySchema = external_exports.string().regex(/^\d{4}-\d{2}-\d{2}$/, "Date must be formatted as YYYY-MM-DD");
|
|
132844
|
+
var zeroBankingProviderSchema = external_exports.literal("finicity");
|
|
132845
|
+
var zeroBankingAccountSchema = external_exports.object({
|
|
132846
|
+
id: external_exports.string(),
|
|
132847
|
+
name: external_exports.string().nullable(),
|
|
132848
|
+
institutionName: external_exports.string().nullable(),
|
|
132849
|
+
type: external_exports.string().nullable(),
|
|
132850
|
+
last4: external_exports.string().nullable(),
|
|
132851
|
+
status: external_exports.string().nullable(),
|
|
132852
|
+
currency: external_exports.string().nullable()
|
|
132853
|
+
});
|
|
132854
|
+
var zeroBankingBalanceSchema = external_exports.object({
|
|
132855
|
+
accountId: external_exports.string(),
|
|
132856
|
+
name: external_exports.string().nullable(),
|
|
132857
|
+
type: external_exports.string().nullable(),
|
|
132858
|
+
balance: external_exports.number().nullable(),
|
|
132859
|
+
availableBalance: external_exports.number().nullable(),
|
|
132860
|
+
currency: external_exports.string().nullable(),
|
|
132861
|
+
balanceDate: external_exports.number().nullable()
|
|
132862
|
+
});
|
|
132863
|
+
var zeroBankingTransactionSchema = external_exports.object({
|
|
132864
|
+
id: external_exports.string(),
|
|
132865
|
+
accountId: external_exports.string(),
|
|
132866
|
+
amount: external_exports.number().nullable(),
|
|
132867
|
+
description: external_exports.string().nullable(),
|
|
132868
|
+
memo: external_exports.string().nullable(),
|
|
132869
|
+
postedDate: external_exports.number().nullable(),
|
|
132870
|
+
transactionDate: external_exports.number().nullable(),
|
|
132871
|
+
status: external_exports.string().nullable(),
|
|
132872
|
+
categorization: external_exports.string().nullable(),
|
|
132873
|
+
merchant: external_exports.string().nullable()
|
|
132874
|
+
});
|
|
132875
|
+
var zeroBankingAccountsResponseSchema = external_exports.object({
|
|
132876
|
+
operation: external_exports.literal("accounts"),
|
|
132877
|
+
provider: zeroBankingProviderSchema,
|
|
132878
|
+
accounts: external_exports.array(zeroBankingAccountSchema)
|
|
132879
|
+
});
|
|
132880
|
+
var zeroBankingBalancesRequestSchema = external_exports.object({
|
|
132881
|
+
accountId: external_exports.string().trim().min(1)
|
|
132882
|
+
});
|
|
132883
|
+
var zeroBankingBalancesResponseSchema = external_exports.object({
|
|
132884
|
+
operation: external_exports.literal("balances"),
|
|
132885
|
+
provider: zeroBankingProviderSchema,
|
|
132886
|
+
balance: zeroBankingBalanceSchema
|
|
132887
|
+
});
|
|
132888
|
+
var zeroBankingTransactionsRequestSchema = external_exports.object({
|
|
132889
|
+
accountId: external_exports.string().trim().min(1),
|
|
132890
|
+
from: dateOnlySchema,
|
|
132891
|
+
to: dateOnlySchema,
|
|
132892
|
+
limit: external_exports.number().int().min(1).max(1e3).default(100)
|
|
132893
|
+
});
|
|
132894
|
+
var zeroBankingTransactionsResponseSchema = external_exports.object({
|
|
132895
|
+
operation: external_exports.literal("transactions"),
|
|
132896
|
+
provider: zeroBankingProviderSchema,
|
|
132897
|
+
accountId: external_exports.string(),
|
|
132898
|
+
transactions: external_exports.array(zeroBankingTransactionSchema)
|
|
132899
|
+
});
|
|
132900
|
+
var zeroBankingAccountsResponses = {
|
|
132901
|
+
200: zeroBankingAccountsResponseSchema,
|
|
132902
|
+
400: apiErrorSchema,
|
|
132903
|
+
401: apiErrorSchema,
|
|
132904
|
+
403: apiErrorSchema,
|
|
132905
|
+
502: apiErrorSchema,
|
|
132906
|
+
503: apiErrorSchema
|
|
132907
|
+
};
|
|
132908
|
+
var zeroBankingBalancesResponses = {
|
|
132909
|
+
200: zeroBankingBalancesResponseSchema,
|
|
132910
|
+
400: apiErrorSchema,
|
|
132911
|
+
401: apiErrorSchema,
|
|
132912
|
+
403: apiErrorSchema,
|
|
132913
|
+
502: apiErrorSchema,
|
|
132914
|
+
503: apiErrorSchema
|
|
132915
|
+
};
|
|
132916
|
+
var zeroBankingTransactionsResponses = {
|
|
132917
|
+
200: zeroBankingTransactionsResponseSchema,
|
|
132918
|
+
400: apiErrorSchema,
|
|
132919
|
+
401: apiErrorSchema,
|
|
132920
|
+
403: apiErrorSchema,
|
|
132921
|
+
502: apiErrorSchema,
|
|
132922
|
+
503: apiErrorSchema
|
|
132923
|
+
};
|
|
132924
|
+
var zeroBankingContract = c90.router({
|
|
132925
|
+
accounts: {
|
|
132926
|
+
method: "POST",
|
|
132927
|
+
path: "/api/zero/banking/accounts",
|
|
132928
|
+
headers: authHeadersSchema,
|
|
132929
|
+
body: external_exports.object({}),
|
|
132930
|
+
responses: zeroBankingAccountsResponses,
|
|
132931
|
+
summary: "List accounts through the managed Zero Banking gateway"
|
|
132932
|
+
},
|
|
132933
|
+
balances: {
|
|
132934
|
+
method: "POST",
|
|
132935
|
+
path: "/api/zero/banking/balances",
|
|
132936
|
+
headers: authHeadersSchema,
|
|
132937
|
+
body: zeroBankingBalancesRequestSchema,
|
|
132938
|
+
responses: zeroBankingBalancesResponses,
|
|
132939
|
+
summary: "Read an account balance through the managed Zero Banking gateway"
|
|
132940
|
+
},
|
|
132941
|
+
transactions: {
|
|
132942
|
+
method: "POST",
|
|
132943
|
+
path: "/api/zero/banking/transactions",
|
|
132944
|
+
headers: authHeadersSchema,
|
|
132945
|
+
body: zeroBankingTransactionsRequestSchema,
|
|
132946
|
+
responses: zeroBankingTransactionsResponses,
|
|
132947
|
+
summary: "Read account transactions through the managed Zero Banking gateway"
|
|
132948
|
+
}
|
|
132949
|
+
});
|
|
132950
|
+
|
|
132951
|
+
// ../../packages/api-contracts/src/contracts/zero-maps.ts
|
|
132952
|
+
init_esm_shims();
|
|
132953
|
+
var c91 = initContract();
|
|
132802
132954
|
var travelModeSchema = external_exports.enum(["driving", "walking", "bicycling", "transit"]);
|
|
132803
132955
|
var placeDetailFieldsetSchema = external_exports.enum(["essentials", "pro"]);
|
|
132804
132956
|
var zeroMapsOperationSchema = external_exports.enum([
|
|
@@ -132850,7 +133002,7 @@ var mapsResponses = {
|
|
|
132850
133002
|
502: apiErrorSchema,
|
|
132851
133003
|
503: apiErrorSchema
|
|
132852
133004
|
};
|
|
132853
|
-
var zeroMapsContract =
|
|
133005
|
+
var zeroMapsContract = c91.router({
|
|
132854
133006
|
geocode: {
|
|
132855
133007
|
method: "POST",
|
|
132856
133008
|
path: "/api/zero/maps/geocode",
|
|
@@ -132895,7 +133047,7 @@ var zeroMapsContract = c90.router({
|
|
|
132895
133047
|
|
|
132896
133048
|
// ../../packages/api-contracts/src/contracts/zero-video-io-generate.ts
|
|
132897
133049
|
init_esm_shims();
|
|
132898
|
-
var
|
|
133050
|
+
var c92 = initContract();
|
|
132899
133051
|
var zeroVideoIoGenerateRequestSchema = external_exports.object({
|
|
132900
133052
|
prompt: external_exports.unknown().optional(),
|
|
132901
133053
|
model: external_exports.unknown().optional(),
|
|
@@ -132932,7 +133084,7 @@ var zeroVideoIoGenerateResponseSchema = external_exports.object({
|
|
|
132932
133084
|
sourceUrl: external_exports.string(),
|
|
132933
133085
|
requestId: external_exports.string().optional()
|
|
132934
133086
|
});
|
|
132935
|
-
var zeroVideoIoGenerateContract =
|
|
133087
|
+
var zeroVideoIoGenerateContract = c92.router({
|
|
132936
133088
|
post: {
|
|
132937
133089
|
method: "POST",
|
|
132938
133090
|
path: "/api/zero/video-io/generate",
|
|
@@ -132956,8 +133108,8 @@ var zeroVideoIoGenerateContract = c91.router({
|
|
|
132956
133108
|
|
|
132957
133109
|
// ../../packages/api-contracts/src/contracts/internal-callbacks-agent.ts
|
|
132958
133110
|
init_esm_shims();
|
|
132959
|
-
var
|
|
132960
|
-
var internalCallbacksAgentContract =
|
|
133111
|
+
var c93 = initContract();
|
|
133112
|
+
var internalCallbacksAgentContract = c93.router({
|
|
132961
133113
|
post: {
|
|
132962
133114
|
method: "POST",
|
|
132963
133115
|
path: "/api/internal/callbacks/agent",
|
|
@@ -132975,7 +133127,7 @@ var internalCallbacksAgentContract = c92.router({
|
|
|
132975
133127
|
|
|
132976
133128
|
// ../../packages/api-contracts/src/contracts/internal-callbacks-github-issues.ts
|
|
132977
133129
|
init_esm_shims();
|
|
132978
|
-
var
|
|
133130
|
+
var c94 = initContract();
|
|
132979
133131
|
var githubIssuesCallbackPayloadSchema = external_exports.object({
|
|
132980
133132
|
installationId: external_exports.string(),
|
|
132981
133133
|
repo: external_exports.string(),
|
|
@@ -132987,7 +133139,7 @@ var githubIssuesCallbackPayloadSchema = external_exports.object({
|
|
|
132987
133139
|
triggerReactionId: external_exports.string().optional(),
|
|
132988
133140
|
triggerCommentBody: external_exports.string().optional()
|
|
132989
133141
|
}).passthrough();
|
|
132990
|
-
var internalCallbacksGithubIssuesContract =
|
|
133142
|
+
var internalCallbacksGithubIssuesContract = c94.router({
|
|
132991
133143
|
post: {
|
|
132992
133144
|
method: "POST",
|
|
132993
133145
|
path: "/api/internal/callbacks/github/issues",
|
|
@@ -133008,7 +133160,7 @@ var internalCallbacksGithubIssuesContract = c93.router({
|
|
|
133008
133160
|
|
|
133009
133161
|
// ../../packages/api-contracts/src/contracts/internal-callbacks-schedule.ts
|
|
133010
133162
|
init_esm_shims();
|
|
133011
|
-
var
|
|
133163
|
+
var c95 = initContract();
|
|
133012
133164
|
var scheduleLoopCallbackPayloadSchema = external_exports.object({
|
|
133013
133165
|
scheduleId: external_exports.string()
|
|
133014
133166
|
}).passthrough();
|
|
@@ -133016,7 +133168,7 @@ var scheduleCronCallbackPayloadSchema = scheduleLoopCallbackPayloadSchema.extend
|
|
|
133016
133168
|
timezone: external_exports.string(),
|
|
133017
133169
|
cronExpression: external_exports.string().optional()
|
|
133018
133170
|
}).passthrough();
|
|
133019
|
-
var internalCallbacksScheduleContract =
|
|
133171
|
+
var internalCallbacksScheduleContract = c95.router({
|
|
133020
133172
|
cron: {
|
|
133021
133173
|
method: "POST",
|
|
133022
133174
|
path: "/api/internal/callbacks/schedule/cron",
|
|
@@ -133051,13 +133203,13 @@ var internalCallbacksScheduleContract = c94.router({
|
|
|
133051
133203
|
|
|
133052
133204
|
// ../../packages/api-contracts/src/contracts/zero-voice-io-quota.ts
|
|
133053
133205
|
init_esm_shims();
|
|
133054
|
-
var
|
|
133206
|
+
var c96 = initContract();
|
|
133055
133207
|
var audioInputQuotaResponseSchema = external_exports.object({
|
|
133056
133208
|
allowed: external_exports.boolean(),
|
|
133057
133209
|
count: external_exports.number().int().nonnegative(),
|
|
133058
133210
|
limit: external_exports.number().int().nonnegative().nullable()
|
|
133059
133211
|
});
|
|
133060
|
-
var zeroVoiceIoQuotaContract =
|
|
133212
|
+
var zeroVoiceIoQuotaContract = c96.router({
|
|
133061
133213
|
get: {
|
|
133062
133214
|
method: "GET",
|
|
133063
133215
|
path: "/api/zero/voice-io/quota",
|
|
@@ -133073,7 +133225,7 @@ var zeroVoiceIoQuotaContract = c95.router({
|
|
|
133073
133225
|
|
|
133074
133226
|
// ../../packages/api-contracts/src/contracts/zero-voice-io-speech.ts
|
|
133075
133227
|
init_esm_shims();
|
|
133076
|
-
var
|
|
133228
|
+
var c97 = initContract();
|
|
133077
133229
|
var zeroVoiceIoSpeechRequestSchema = external_exports.object({
|
|
133078
133230
|
text: external_exports.unknown().optional(),
|
|
133079
133231
|
voice: external_exports.unknown().optional(),
|
|
@@ -133090,7 +133242,7 @@ var zeroVoiceIoSpeechResponseSchema = external_exports.object({
|
|
|
133090
133242
|
model: external_exports.string(),
|
|
133091
133243
|
voice: external_exports.string()
|
|
133092
133244
|
});
|
|
133093
|
-
var zeroVoiceIoSpeechContract =
|
|
133245
|
+
var zeroVoiceIoSpeechContract = c97.router({
|
|
133094
133246
|
post: {
|
|
133095
133247
|
method: "POST",
|
|
133096
133248
|
path: "/api/zero/voice-io/speech",
|
|
@@ -133112,7 +133264,7 @@ var zeroVoiceIoSpeechContract = c96.router({
|
|
|
133112
133264
|
|
|
133113
133265
|
// ../../packages/api-contracts/src/contracts/zero-voice-io-stt.ts
|
|
133114
133266
|
init_esm_shims();
|
|
133115
|
-
var
|
|
133267
|
+
var c98 = initContract();
|
|
133116
133268
|
var zeroVoiceIoSttResponseSchema = external_exports.object({
|
|
133117
133269
|
text: external_exports.string()
|
|
133118
133270
|
});
|
|
@@ -133122,13 +133274,13 @@ var zeroVoiceIoSttQuotaErrorSchema = apiErrorSchema.extend({
|
|
|
133122
133274
|
limit: external_exports.number().nullable()
|
|
133123
133275
|
}).optional()
|
|
133124
133276
|
});
|
|
133125
|
-
var zeroVoiceIoSttContract =
|
|
133277
|
+
var zeroVoiceIoSttContract = c98.router({
|
|
133126
133278
|
post: {
|
|
133127
133279
|
method: "POST",
|
|
133128
133280
|
path: "/api/zero/voice-io/stt",
|
|
133129
133281
|
headers: authHeadersSchema,
|
|
133130
133282
|
contentType: "multipart/form-data",
|
|
133131
|
-
body:
|
|
133283
|
+
body: c98.type(),
|
|
133132
133284
|
responses: {
|
|
133133
133285
|
200: zeroVoiceIoSttResponseSchema,
|
|
133134
133286
|
400: apiErrorSchema,
|
|
@@ -133144,18 +133296,18 @@ var zeroVoiceIoSttContract = c97.router({
|
|
|
133144
133296
|
|
|
133145
133297
|
// ../../packages/api-contracts/src/contracts/zero-voice-io-tts.ts
|
|
133146
133298
|
init_esm_shims();
|
|
133147
|
-
var
|
|
133299
|
+
var c99 = initContract();
|
|
133148
133300
|
var zeroVoiceIoTtsRequestSchema = external_exports.object({
|
|
133149
133301
|
text: external_exports.unknown().optional()
|
|
133150
133302
|
}).passthrough();
|
|
133151
|
-
var zeroVoiceIoTtsContract =
|
|
133303
|
+
var zeroVoiceIoTtsContract = c99.router({
|
|
133152
133304
|
post: {
|
|
133153
133305
|
method: "POST",
|
|
133154
133306
|
path: "/api/zero/voice-io/tts",
|
|
133155
133307
|
headers: authHeadersSchema,
|
|
133156
133308
|
body: zeroVoiceIoTtsRequestSchema,
|
|
133157
133309
|
responses: {
|
|
133158
|
-
200:
|
|
133310
|
+
200: c99.otherResponse({
|
|
133159
133311
|
contentType: "application/octet-stream",
|
|
133160
133312
|
body: external_exports.unknown()
|
|
133161
133313
|
}),
|
|
@@ -133170,7 +133322,7 @@ var zeroVoiceIoTtsContract = c98.router({
|
|
|
133170
133322
|
|
|
133171
133323
|
// ../../packages/api-contracts/src/contracts/zero-uploads.ts
|
|
133172
133324
|
init_esm_shims();
|
|
133173
|
-
var
|
|
133325
|
+
var c100 = initContract();
|
|
133174
133326
|
var prepareRequestSchema = external_exports.object({
|
|
133175
133327
|
filename: external_exports.string().min(1).max(255),
|
|
133176
133328
|
contentType: external_exports.string().min(1).max(200),
|
|
@@ -133197,7 +133349,7 @@ var completeResponseSchema = external_exports.object({
|
|
|
133197
133349
|
size: external_exports.number(),
|
|
133198
133350
|
url: external_exports.string().url()
|
|
133199
133351
|
});
|
|
133200
|
-
var zeroUploadsContract =
|
|
133352
|
+
var zeroUploadsContract = c100.router({
|
|
133201
133353
|
prepare: {
|
|
133202
133354
|
method: "POST",
|
|
133203
133355
|
path: "/api/zero/uploads/prepare",
|
|
@@ -133233,7 +133385,7 @@ var zeroUploadsContract = c99.router({
|
|
|
133233
133385
|
|
|
133234
133386
|
// ../../packages/api-contracts/src/contracts/zero-host.ts
|
|
133235
133387
|
init_esm_shims();
|
|
133236
|
-
var
|
|
133388
|
+
var c101 = initContract();
|
|
133237
133389
|
var hostedSiteSlugSchema = external_exports.string().trim().min(3).max(63).regex(
|
|
133238
133390
|
/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/,
|
|
133239
133391
|
"Site slug must use lowercase letters, numbers, and hyphens, and must start and end with a letter or number"
|
|
@@ -133268,7 +133420,7 @@ var hostedSiteCompleteResponseSchema = external_exports.object({
|
|
|
133268
133420
|
url: external_exports.string().url(),
|
|
133269
133421
|
status: external_exports.literal("ready")
|
|
133270
133422
|
});
|
|
133271
|
-
var zeroHostContract =
|
|
133423
|
+
var zeroHostContract = c101.router({
|
|
133272
133424
|
prepare: {
|
|
133273
133425
|
method: "POST",
|
|
133274
133426
|
path: "/api/zero/host/deployments/prepare",
|
|
@@ -133309,7 +133461,7 @@ var zeroHostContract = c100.router({
|
|
|
133309
133461
|
|
|
133310
133462
|
// ../../packages/api-contracts/src/contracts/zero-integrations-telegram.ts
|
|
133311
133463
|
init_esm_shims();
|
|
133312
|
-
var
|
|
133464
|
+
var c102 = initContract();
|
|
133313
133465
|
var telegramEnvironmentSchema = external_exports.object({
|
|
133314
133466
|
requiredSecrets: external_exports.array(external_exports.string()),
|
|
133315
133467
|
requiredVars: external_exports.array(external_exports.string()),
|
|
@@ -133408,7 +133560,7 @@ var telegramSetupStatusSchema = external_exports.object({
|
|
|
133408
133560
|
var telegramWebhookPathParamsSchema = external_exports.object({
|
|
133409
133561
|
telegramBotId: external_exports.string().min(1)
|
|
133410
133562
|
});
|
|
133411
|
-
var zeroIntegrationsTelegramContract =
|
|
133563
|
+
var zeroIntegrationsTelegramContract = c102.router({
|
|
133412
133564
|
list: {
|
|
133413
133565
|
method: "GET",
|
|
133414
133566
|
path: "/api/integrations/telegram",
|
|
@@ -133451,9 +133603,9 @@ var zeroIntegrationsTelegramContract = c101.router({
|
|
|
133451
133603
|
path: "/api/integrations/telegram/:botId",
|
|
133452
133604
|
headers: authHeadersSchema,
|
|
133453
133605
|
pathParams: external_exports.object({ botId: external_exports.string().min(1) }),
|
|
133454
|
-
body:
|
|
133606
|
+
body: c102.noBody(),
|
|
133455
133607
|
responses: {
|
|
133456
|
-
204:
|
|
133608
|
+
204: c102.noBody(),
|
|
133457
133609
|
401: apiErrorSchema,
|
|
133458
133610
|
403: apiErrorSchema,
|
|
133459
133611
|
404: apiErrorSchema
|
|
@@ -133464,10 +133616,10 @@ var zeroIntegrationsTelegramContract = c101.router({
|
|
|
133464
133616
|
method: "DELETE",
|
|
133465
133617
|
path: "/api/integrations/telegram/link",
|
|
133466
133618
|
headers: authHeadersSchema,
|
|
133467
|
-
body:
|
|
133619
|
+
body: c102.noBody(),
|
|
133468
133620
|
query: external_exports.object({ botId: external_exports.string().optional() }),
|
|
133469
133621
|
responses: {
|
|
133470
|
-
204:
|
|
133622
|
+
204: c102.noBody(),
|
|
133471
133623
|
401: apiErrorSchema,
|
|
133472
133624
|
404: apiErrorSchema
|
|
133473
133625
|
},
|
|
@@ -133498,7 +133650,7 @@ var zeroIntegrationsTelegramContract = c101.router({
|
|
|
133498
133650
|
sig: external_exports.string().optional()
|
|
133499
133651
|
}),
|
|
133500
133652
|
responses: {
|
|
133501
|
-
200:
|
|
133653
|
+
200: c102.otherResponse({
|
|
133502
133654
|
contentType: "application/octet-stream",
|
|
133503
133655
|
body: external_exports.unknown()
|
|
133504
133656
|
}),
|
|
@@ -133513,7 +133665,7 @@ var zeroIntegrationsTelegramContract = c101.router({
|
|
|
133513
133665
|
method: "GET",
|
|
133514
133666
|
path: "/api/integrations/telegram/auth-callback",
|
|
133515
133667
|
responses: {
|
|
133516
|
-
200:
|
|
133668
|
+
200: c102.otherResponse({
|
|
133517
133669
|
contentType: "text/html",
|
|
133518
133670
|
body: external_exports.unknown()
|
|
133519
133671
|
})
|
|
@@ -133572,19 +133724,19 @@ var zeroIntegrationsTelegramContract = c101.router({
|
|
|
133572
133724
|
pathParams: telegramWebhookPathParamsSchema,
|
|
133573
133725
|
body: external_exports.unknown(),
|
|
133574
133726
|
responses: {
|
|
133575
|
-
200:
|
|
133727
|
+
200: c102.otherResponse({
|
|
133576
133728
|
contentType: "text/plain",
|
|
133577
133729
|
body: external_exports.string()
|
|
133578
133730
|
}),
|
|
133579
|
-
400:
|
|
133731
|
+
400: c102.otherResponse({
|
|
133580
133732
|
contentType: "text/plain",
|
|
133581
133733
|
body: external_exports.string()
|
|
133582
133734
|
}),
|
|
133583
|
-
401:
|
|
133735
|
+
401: c102.otherResponse({
|
|
133584
133736
|
contentType: "text/plain",
|
|
133585
133737
|
body: external_exports.string()
|
|
133586
133738
|
}),
|
|
133587
|
-
404:
|
|
133739
|
+
404: c102.otherResponse({
|
|
133588
133740
|
contentType: "text/plain",
|
|
133589
133741
|
body: external_exports.string()
|
|
133590
133742
|
})
|
|
@@ -133595,7 +133747,7 @@ var zeroIntegrationsTelegramContract = c101.router({
|
|
|
133595
133747
|
|
|
133596
133748
|
// ../../packages/api-contracts/src/contracts/zero-integrations-agentphone.ts
|
|
133597
133749
|
init_esm_shims();
|
|
133598
|
-
var
|
|
133750
|
+
var c103 = initContract();
|
|
133599
133751
|
var agentPhoneConnectBodySchema = external_exports.object({
|
|
133600
133752
|
phoneHandle: external_exports.string().min(1),
|
|
133601
133753
|
agentphoneAgentId: external_exports.string().min(1),
|
|
@@ -133632,7 +133784,7 @@ var agentPhoneStartLinkResponseSchema = external_exports.object({
|
|
|
133632
133784
|
phoneHandle: external_exports.string(),
|
|
133633
133785
|
verificationSent: external_exports.literal(true)
|
|
133634
133786
|
});
|
|
133635
|
-
var zeroIntegrationsAgentPhoneContract =
|
|
133787
|
+
var zeroIntegrationsAgentPhoneContract = c103.router({
|
|
133636
133788
|
connectAgentPhone: {
|
|
133637
133789
|
method: "POST",
|
|
133638
133790
|
path: "/api/agentphone/connect",
|
|
@@ -133650,7 +133802,7 @@ var zeroIntegrationsAgentPhoneContract = c102.router({
|
|
|
133650
133802
|
method: "POST",
|
|
133651
133803
|
path: "/api/agentphone/webhook",
|
|
133652
133804
|
headers: agentPhoneWebhookHeadersSchema,
|
|
133653
|
-
body:
|
|
133805
|
+
body: c103.type(),
|
|
133654
133806
|
responses: {
|
|
133655
133807
|
200: external_exports.string(),
|
|
133656
133808
|
400: external_exports.string(),
|
|
@@ -133688,9 +133840,9 @@ var zeroIntegrationsAgentPhoneContract = c102.router({
|
|
|
133688
133840
|
method: "DELETE",
|
|
133689
133841
|
path: "/api/integrations/agentphone/link",
|
|
133690
133842
|
headers: authHeadersSchema,
|
|
133691
|
-
body:
|
|
133843
|
+
body: c103.noBody(),
|
|
133692
133844
|
responses: {
|
|
133693
|
-
204:
|
|
133845
|
+
204: c103.noBody(),
|
|
133694
133846
|
401: apiErrorSchema,
|
|
133695
133847
|
404: apiErrorSchema
|
|
133696
133848
|
},
|
|
@@ -133935,14 +134087,21 @@ var FEATURE_SWITCHES = {
|
|
|
133935
134087
|
},
|
|
133936
134088
|
["userPermissionGrants" /* UserPermissionGrants */]: {
|
|
133937
134089
|
maintainer: "liangyou@vm0.ai",
|
|
133938
|
-
description: "Gate the per-user Zero firewall permission grant rollout.
|
|
133939
|
-
enabled: false
|
|
134090
|
+
description: "Gate the per-user Zero firewall permission grant rollout. Staff-only while the grant backfill and rollout verification complete.",
|
|
134091
|
+
enabled: false,
|
|
134092
|
+
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
133940
134093
|
},
|
|
133941
134094
|
["computerUse" /* ComputerUse */]: {
|
|
133942
134095
|
maintainer: "ethan@vm0.ai",
|
|
133943
134096
|
description: "Enable remote desktop host registration",
|
|
133944
134097
|
enabled: false
|
|
133945
134098
|
},
|
|
134099
|
+
["banking" /* Banking */]: {
|
|
134100
|
+
maintainer: "linghan@vm0.ai",
|
|
134101
|
+
description: "Enable the managed Zero Banking gateway and banking:read ZERO_TOKEN capability for Finicity-backed accounts, balances, and transactions.",
|
|
134102
|
+
enabled: false,
|
|
134103
|
+
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
134104
|
+
},
|
|
133946
134105
|
["larkConnector" /* LarkConnector */]: {
|
|
133947
134106
|
maintainer: "liangyou@vm0.ai",
|
|
133948
134107
|
description: "Enable the Lark connector while tenant access-token exchange is being repaired.",
|
|
@@ -133969,6 +134128,12 @@ var FEATURE_SWITCHES = {
|
|
|
133969
134128
|
description: "Enable automatic skill creation in agent prompts",
|
|
133970
134129
|
enabled: false
|
|
133971
134130
|
},
|
|
134131
|
+
["orgSkills" /* OrgSkills */]: {
|
|
134132
|
+
maintainer: "lancy@vm0.ai",
|
|
134133
|
+
description: "Show the organization custom skills library in the Zero sidebar and page UI",
|
|
134134
|
+
enabled: false,
|
|
134135
|
+
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
134136
|
+
},
|
|
133972
134137
|
["testOauthConnector" /* TestOauthConnector */]: {
|
|
133973
134138
|
maintainer: "liangyou@vm0.ai",
|
|
133974
134139
|
description: "Enable the test-oauth connector, a synthetic OAuth 2.0 provider used only for automated tests. Off in prod.",
|
|
@@ -134026,6 +134191,12 @@ var FEATURE_SWITCHES = {
|
|
|
134026
134191
|
enabled: false,
|
|
134027
134192
|
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
134028
134193
|
},
|
|
134194
|
+
["sessionWorkspaceImageCache" /* SessionWorkspaceImageCache */]: {
|
|
134195
|
+
maintainer: "liangyou@vm0.ai",
|
|
134196
|
+
description: "Enable runner session workspace image cache reuse for canonical workspace drives.",
|
|
134197
|
+
enabled: false,
|
|
134198
|
+
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
134199
|
+
},
|
|
134029
134200
|
["chatArtifactSidebar" /* ChatArtifactSidebar */]: {
|
|
134030
134201
|
maintainer: "ethan@vm0.ai",
|
|
134031
134202
|
description: "Replace the inline attachment text editor and modal lightbox with a single page-level artifact sidebar (50/50 with the chat thread area, URL-routed via ?artifact=, fullscreen-capable). When on, inline text/markdown attachments render as anchor chips, all preview chips route to the sidebar, and the artifacts drawer is hidden.",
|
|
@@ -134399,9 +134570,9 @@ var CodexEventParser = class {
|
|
|
134399
134570
|
if (!item.changes || item.changes.length === 0) {
|
|
134400
134571
|
return null;
|
|
134401
134572
|
}
|
|
134402
|
-
const changes = item.changes.map((
|
|
134403
|
-
const action =
|
|
134404
|
-
return `${action}: ${
|
|
134573
|
+
const changes = item.changes.map((c104) => {
|
|
134574
|
+
const action = c104.kind === "add" ? "Created" : c104.kind === "modify" ? "Modified" : "Deleted";
|
|
134575
|
+
return `${action}: ${c104.path}`;
|
|
134405
134576
|
}).join("\n");
|
|
134406
134577
|
return {
|
|
134407
134578
|
type: "text",
|
|
@@ -135539,6 +135710,7 @@ export {
|
|
|
135539
135710
|
getComputerUseCommand,
|
|
135540
135711
|
fetchComputerUseScreenshot,
|
|
135541
135712
|
callZeroMaps,
|
|
135713
|
+
callZeroBanking,
|
|
135542
135714
|
downloadWebFile,
|
|
135543
135715
|
uploadWebFile,
|
|
135544
135716
|
generateWebVoice,
|
|
@@ -135559,10 +135731,10 @@ export {
|
|
|
135559
135731
|
getConnectorAuthMethod,
|
|
135560
135732
|
getConnectorGenerationTypes,
|
|
135561
135733
|
getConnectorEnvBindingEntries,
|
|
135562
|
-
|
|
135734
|
+
getConnectorStoredSecretDisplayInfo,
|
|
135735
|
+
getDiagnosticConnectorTypeForRuntimeEnvName,
|
|
135563
135736
|
hasRequiredConnectorAuthMethodScopes,
|
|
135564
135737
|
getConnectorAuthMethodScopeDiff,
|
|
135565
|
-
getConnectorTypeForSecretName,
|
|
135566
135738
|
isFirewallConnectorType,
|
|
135567
135739
|
getConnectorFirewall,
|
|
135568
135740
|
resolveFirewallPolicies,
|
|
@@ -135595,4 +135767,4 @@ undici/lib/web/fetch/body.js:
|
|
|
135595
135767
|
undici/lib/web/websocket/frame.js:
|
|
135596
135768
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
135597
135769
|
*/
|
|
135598
|
-
//# sourceMappingURL=chunk-
|
|
135770
|
+
//# sourceMappingURL=chunk-KC3JLLAV.js.map
|