@vm0/cli 9.111.7 → 9.111.8
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-ZPFZIVYC.js → chunk-WQ74YN4P.js} +172 -142
- package/chunk-WQ74YN4P.js.map +1 -0
- package/index.js +10 -10
- package/package.json +1 -1
- package/zero.js +2 -2
- package/chunk-ZPFZIVYC.js.map +0 -1
|
@@ -4546,8 +4546,8 @@ var require_util = __commonJS({
|
|
|
4546
4546
|
function isUSVString(val) {
|
|
4547
4547
|
return hasIsWellFormed ? `${val}`.isWellFormed() : toUSVString(val) === `${val}`;
|
|
4548
4548
|
}
|
|
4549
|
-
function isTokenCharCode(
|
|
4550
|
-
switch (
|
|
4549
|
+
function isTokenCharCode(c48) {
|
|
4550
|
+
switch (c48) {
|
|
4551
4551
|
case 34:
|
|
4552
4552
|
case 40:
|
|
4553
4553
|
case 41:
|
|
@@ -4567,7 +4567,7 @@ var require_util = __commonJS({
|
|
|
4567
4567
|
case 125:
|
|
4568
4568
|
return false;
|
|
4569
4569
|
default:
|
|
4570
|
-
return
|
|
4570
|
+
return c48 >= 33 && c48 <= 126;
|
|
4571
4571
|
}
|
|
4572
4572
|
}
|
|
4573
4573
|
function isValidHTTPToken(characters) {
|
|
@@ -6156,7 +6156,7 @@ var require_constants2 = __commonJS({
|
|
|
6156
6156
|
exports.HEADER_CHARS.push(i);
|
|
6157
6157
|
}
|
|
6158
6158
|
}
|
|
6159
|
-
exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((
|
|
6159
|
+
exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c48) => c48 !== 44);
|
|
6160
6160
|
exports.MAJOR = exports.NUM_MAP;
|
|
6161
6161
|
exports.MINOR = exports.MAJOR;
|
|
6162
6162
|
var HEADER_STATE;
|
|
@@ -7302,10 +7302,10 @@ var require_util2 = __commonJS({
|
|
|
7302
7302
|
}
|
|
7303
7303
|
function isValidReasonPhrase(statusText) {
|
|
7304
7304
|
for (let i = 0; i < statusText.length; ++i) {
|
|
7305
|
-
const
|
|
7306
|
-
if (!(
|
|
7307
|
-
|
|
7308
|
-
|
|
7305
|
+
const c48 = statusText.charCodeAt(i);
|
|
7306
|
+
if (!(c48 === 9 || // HTAB
|
|
7307
|
+
c48 >= 32 && c48 <= 126 || // SP / VCHAR
|
|
7308
|
+
c48 >= 128 && c48 <= 255)) {
|
|
7309
7309
|
return false;
|
|
7310
7310
|
}
|
|
7311
7311
|
}
|
|
@@ -11279,7 +11279,7 @@ var require_pool_base = __commonJS({
|
|
|
11279
11279
|
pool.emit("drain", origin, [pool, ...targets]);
|
|
11280
11280
|
}
|
|
11281
11281
|
if (pool[kClosedResolve] && queue.isEmpty()) {
|
|
11282
|
-
Promise.all(pool[kClients].map((
|
|
11282
|
+
Promise.all(pool[kClients].map((c48) => c48.close())).then(pool[kClosedResolve]);
|
|
11283
11283
|
}
|
|
11284
11284
|
};
|
|
11285
11285
|
this[kOnConnect] = (origin, targets) => {
|
|
@@ -11328,7 +11328,7 @@ var require_pool_base = __commonJS({
|
|
|
11328
11328
|
}
|
|
11329
11329
|
async [kClose]() {
|
|
11330
11330
|
if (this[kQueue].isEmpty()) {
|
|
11331
|
-
await Promise.all(this[kClients].map((
|
|
11331
|
+
await Promise.all(this[kClients].map((c48) => c48.close()));
|
|
11332
11332
|
} else {
|
|
11333
11333
|
await new Promise((resolve) => {
|
|
11334
11334
|
this[kClosedResolve] = resolve;
|
|
@@ -11343,7 +11343,7 @@ var require_pool_base = __commonJS({
|
|
|
11343
11343
|
}
|
|
11344
11344
|
item.handler.onError(err);
|
|
11345
11345
|
}
|
|
11346
|
-
await Promise.all(this[kClients].map((
|
|
11346
|
+
await Promise.all(this[kClients].map((c48) => c48.destroy(err)));
|
|
11347
11347
|
}
|
|
11348
11348
|
[kDispatch](opts, handler) {
|
|
11349
11349
|
const dispatcher = this[kGetDispatcher]();
|
|
@@ -18113,8 +18113,8 @@ var require_util4 = __commonJS({
|
|
|
18113
18113
|
return new TextDecoder(encoding).decode(sliced);
|
|
18114
18114
|
}
|
|
18115
18115
|
function BOMSniffing(ioQueue) {
|
|
18116
|
-
const [a, b,
|
|
18117
|
-
if (a === 239 && b === 187 &&
|
|
18116
|
+
const [a, b, c48] = ioQueue;
|
|
18117
|
+
if (a === 239 && b === 187 && c48 === 191) {
|
|
18118
18118
|
return "UTF-8";
|
|
18119
18119
|
} else if (a === 254 && b === 255) {
|
|
18120
18120
|
return "UTF-16BE";
|
|
@@ -22593,9 +22593,9 @@ var require_Alias = __commonJS({
|
|
|
22593
22593
|
} else if (identity.isCollection(node)) {
|
|
22594
22594
|
let count = 0;
|
|
22595
22595
|
for (const item of node.items) {
|
|
22596
|
-
const
|
|
22597
|
-
if (
|
|
22598
|
-
count =
|
|
22596
|
+
const c48 = getAliasCount(doc, item, anchors2);
|
|
22597
|
+
if (c48 > count)
|
|
22598
|
+
count = c48;
|
|
22599
22599
|
}
|
|
22600
22600
|
return count;
|
|
22601
22601
|
} else if (identity.isPair(node)) {
|
|
@@ -29611,7 +29611,7 @@ var require_style = __commonJS({
|
|
|
29611
29611
|
"../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/style.js"(exports, module) {
|
|
29612
29612
|
"use strict";
|
|
29613
29613
|
init_esm_shims();
|
|
29614
|
-
var
|
|
29614
|
+
var c48 = require_kleur();
|
|
29615
29615
|
var figures = require_figures();
|
|
29616
29616
|
var styles3 = Object.freeze({
|
|
29617
29617
|
password: {
|
|
@@ -29633,14 +29633,14 @@ var require_style = __commonJS({
|
|
|
29633
29633
|
});
|
|
29634
29634
|
var render = (type) => styles3[type] || styles3.default;
|
|
29635
29635
|
var symbols = Object.freeze({
|
|
29636
|
-
aborted:
|
|
29637
|
-
done:
|
|
29638
|
-
exited:
|
|
29639
|
-
default:
|
|
29636
|
+
aborted: c48.red(figures.cross),
|
|
29637
|
+
done: c48.green(figures.tick),
|
|
29638
|
+
exited: c48.yellow(figures.cross),
|
|
29639
|
+
default: c48.cyan("?")
|
|
29640
29640
|
});
|
|
29641
29641
|
var symbol2 = (done, aborted2, exited) => aborted2 ? symbols.aborted : exited ? symbols.exited : done ? symbols.done : symbols.default;
|
|
29642
|
-
var delimiter = (completing) =>
|
|
29643
|
-
var item = (expandable, expanded) =>
|
|
29642
|
+
var delimiter = (completing) => c48.gray(completing ? figures.ellipsis : figures.pointerSmall);
|
|
29643
|
+
var item = (expandable, expanded) => c48.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
|
|
29644
29644
|
module.exports = {
|
|
29645
29645
|
styles: styles3,
|
|
29646
29646
|
render,
|
|
@@ -29922,10 +29922,10 @@ var require_text = __commonJS({
|
|
|
29922
29922
|
this.cursor = this.cursor + n;
|
|
29923
29923
|
this.cursorOffset += n;
|
|
29924
29924
|
}
|
|
29925
|
-
_(
|
|
29925
|
+
_(c48, key) {
|
|
29926
29926
|
let s1 = this.value.slice(0, this.cursor);
|
|
29927
29927
|
let s2 = this.value.slice(this.cursor);
|
|
29928
|
-
this.value = `${s1}${
|
|
29928
|
+
this.value = `${s1}${c48}${s2}`;
|
|
29929
29929
|
this.red = false;
|
|
29930
29930
|
this.cursor = this.placeholder ? 0 : s1.length + 1;
|
|
29931
29931
|
this.render();
|
|
@@ -30100,8 +30100,8 @@ var require_select = __commonJS({
|
|
|
30100
30100
|
this.moveCursor((this.cursor + 1) % this.choices.length);
|
|
30101
30101
|
this.render();
|
|
30102
30102
|
}
|
|
30103
|
-
_(
|
|
30104
|
-
if (
|
|
30103
|
+
_(c48, key) {
|
|
30104
|
+
if (c48 === " ") return this.submit();
|
|
30105
30105
|
}
|
|
30106
30106
|
get selection() {
|
|
30107
30107
|
return this.choices[this.cursor];
|
|
@@ -30227,12 +30227,12 @@ var require_toggle = __commonJS({
|
|
|
30227
30227
|
this.fire();
|
|
30228
30228
|
this.render();
|
|
30229
30229
|
}
|
|
30230
|
-
_(
|
|
30231
|
-
if (
|
|
30230
|
+
_(c48, key) {
|
|
30231
|
+
if (c48 === " ") {
|
|
30232
30232
|
this.value = !this.value;
|
|
30233
|
-
} else if (
|
|
30233
|
+
} else if (c48 === "1") {
|
|
30234
30234
|
this.value = true;
|
|
30235
|
-
} else if (
|
|
30235
|
+
} else if (c48 === "0") {
|
|
30236
30236
|
this.value = false;
|
|
30237
30237
|
} else return this.bell();
|
|
30238
30238
|
this.render();
|
|
@@ -30740,9 +30740,9 @@ var require_date = __commonJS({
|
|
|
30740
30740
|
this.moveCursor(next ? this.parts.indexOf(next) : this.parts.findIndex((part) => part instanceof DatePart));
|
|
30741
30741
|
this.render();
|
|
30742
30742
|
}
|
|
30743
|
-
_(
|
|
30744
|
-
if (/\d/.test(
|
|
30745
|
-
this.typed +=
|
|
30743
|
+
_(c48) {
|
|
30744
|
+
if (/\d/.test(c48)) {
|
|
30745
|
+
this.typed += c48;
|
|
30746
30746
|
this.parts[this.cursor].setTo(this.typed);
|
|
30747
30747
|
this.render();
|
|
30748
30748
|
}
|
|
@@ -30851,8 +30851,8 @@ var require_number = __commonJS({
|
|
|
30851
30851
|
parse(x) {
|
|
30852
30852
|
return this.float ? parseFloat(x) : parseInt(x);
|
|
30853
30853
|
}
|
|
30854
|
-
valid(
|
|
30855
|
-
return
|
|
30854
|
+
valid(c48) {
|
|
30855
|
+
return c48 === `-` || c48 === `.` && this.float || isNumber.test(c48);
|
|
30856
30856
|
}
|
|
30857
30857
|
reset() {
|
|
30858
30858
|
this.typed = ``;
|
|
@@ -30945,14 +30945,14 @@ var require_number = __commonJS({
|
|
|
30945
30945
|
this.fire();
|
|
30946
30946
|
this.render();
|
|
30947
30947
|
}
|
|
30948
|
-
_(
|
|
30949
|
-
if (!this.valid(
|
|
30948
|
+
_(c48, key) {
|
|
30949
|
+
if (!this.valid(c48)) return this.bell();
|
|
30950
30950
|
const now = Date.now();
|
|
30951
30951
|
if (now - this.lastHit > 1e3) this.typed = ``;
|
|
30952
|
-
this.typed +=
|
|
30952
|
+
this.typed += c48;
|
|
30953
30953
|
this.lastHit = now;
|
|
30954
30954
|
this.color = `cyan`;
|
|
30955
|
-
if (
|
|
30955
|
+
if (c48 === `.`) return this.fire();
|
|
30956
30956
|
this.value = Math.min(this.parse(this.typed), this.max);
|
|
30957
30957
|
if (this.value > this.max) this.value = this.max;
|
|
30958
30958
|
if (this.value < this.min) this.value = this.min;
|
|
@@ -31116,10 +31116,10 @@ var require_multiselect = __commonJS({
|
|
|
31116
31116
|
this.value.filter((v) => !v.disabled).forEach((v) => v.selected = newSelected);
|
|
31117
31117
|
this.render();
|
|
31118
31118
|
}
|
|
31119
|
-
_(
|
|
31120
|
-
if (
|
|
31119
|
+
_(c48, key) {
|
|
31120
|
+
if (c48 === " ") {
|
|
31121
31121
|
this.handleSpaceToggle();
|
|
31122
|
-
} else if (
|
|
31122
|
+
} else if (c48 === "a") {
|
|
31123
31123
|
this.toggleAll();
|
|
31124
31124
|
} else {
|
|
31125
31125
|
return this.bell();
|
|
@@ -31360,10 +31360,10 @@ var require_autocomplete = __commonJS({
|
|
|
31360
31360
|
this.out.write("\n");
|
|
31361
31361
|
this.close();
|
|
31362
31362
|
}
|
|
31363
|
-
_(
|
|
31363
|
+
_(c48, key) {
|
|
31364
31364
|
let s1 = this.input.slice(0, this.cursor);
|
|
31365
31365
|
let s2 = this.input.slice(this.cursor);
|
|
31366
|
-
this.input = `${s1}${
|
|
31366
|
+
this.input = `${s1}${c48}${s2}`;
|
|
31367
31367
|
this.cursor = s1.length + 1;
|
|
31368
31368
|
this.complete(this.render);
|
|
31369
31369
|
this.render();
|
|
@@ -31563,15 +31563,15 @@ var require_autocompleteMultiselect = __commonJS({
|
|
|
31563
31563
|
this.render();
|
|
31564
31564
|
}
|
|
31565
31565
|
}
|
|
31566
|
-
handleInputChange(
|
|
31567
|
-
this.inputValue = this.inputValue +
|
|
31566
|
+
handleInputChange(c48) {
|
|
31567
|
+
this.inputValue = this.inputValue + c48;
|
|
31568
31568
|
this.updateFilteredOptions();
|
|
31569
31569
|
}
|
|
31570
|
-
_(
|
|
31571
|
-
if (
|
|
31570
|
+
_(c48, key) {
|
|
31571
|
+
if (c48 === " ") {
|
|
31572
31572
|
this.handleSpaceToggle();
|
|
31573
31573
|
} else {
|
|
31574
|
-
this.handleInputChange(
|
|
31574
|
+
this.handleInputChange(c48);
|
|
31575
31575
|
}
|
|
31576
31576
|
}
|
|
31577
31577
|
renderInstructions() {
|
|
@@ -31677,12 +31677,12 @@ var require_confirm = __commonJS({
|
|
|
31677
31677
|
this.out.write("\n");
|
|
31678
31678
|
this.close();
|
|
31679
31679
|
}
|
|
31680
|
-
_(
|
|
31681
|
-
if (
|
|
31680
|
+
_(c48, key) {
|
|
31681
|
+
if (c48.toLowerCase() === "y") {
|
|
31682
31682
|
this.value = true;
|
|
31683
31683
|
return this.submit();
|
|
31684
31684
|
}
|
|
31685
|
-
if (
|
|
31685
|
+
if (c48.toLowerCase() === "n") {
|
|
31686
31686
|
this.value = false;
|
|
31687
31687
|
return this.submit();
|
|
31688
31688
|
}
|
|
@@ -32123,7 +32123,7 @@ var require_style2 = __commonJS({
|
|
|
32123
32123
|
"../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/style.js"(exports, module) {
|
|
32124
32124
|
"use strict";
|
|
32125
32125
|
init_esm_shims();
|
|
32126
|
-
var
|
|
32126
|
+
var c48 = require_kleur();
|
|
32127
32127
|
var figures = require_figures2();
|
|
32128
32128
|
var styles3 = Object.freeze({
|
|
32129
32129
|
password: { scale: 1, render: (input) => "*".repeat(input.length) },
|
|
@@ -32133,14 +32133,14 @@ var require_style2 = __commonJS({
|
|
|
32133
32133
|
});
|
|
32134
32134
|
var render = (type) => styles3[type] || styles3.default;
|
|
32135
32135
|
var symbols = Object.freeze({
|
|
32136
|
-
aborted:
|
|
32137
|
-
done:
|
|
32138
|
-
exited:
|
|
32139
|
-
default:
|
|
32136
|
+
aborted: c48.red(figures.cross),
|
|
32137
|
+
done: c48.green(figures.tick),
|
|
32138
|
+
exited: c48.yellow(figures.cross),
|
|
32139
|
+
default: c48.cyan("?")
|
|
32140
32140
|
});
|
|
32141
32141
|
var symbol2 = (done, aborted2, exited) => aborted2 ? symbols.aborted : exited ? symbols.exited : done ? symbols.done : symbols.default;
|
|
32142
|
-
var delimiter = (completing) =>
|
|
32143
|
-
var item = (expandable, expanded) =>
|
|
32142
|
+
var delimiter = (completing) => c48.gray(completing ? figures.ellipsis : figures.pointerSmall);
|
|
32143
|
+
var item = (expandable, expanded) => c48.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
|
|
32144
32144
|
module.exports = {
|
|
32145
32145
|
styles: styles3,
|
|
32146
32146
|
render,
|
|
@@ -32373,10 +32373,10 @@ var require_text2 = __commonJS({
|
|
|
32373
32373
|
this.cursor = this.cursor + n;
|
|
32374
32374
|
this.cursorOffset += n;
|
|
32375
32375
|
}
|
|
32376
|
-
_(
|
|
32376
|
+
_(c48, key) {
|
|
32377
32377
|
let s1 = this.value.slice(0, this.cursor);
|
|
32378
32378
|
let s2 = this.value.slice(this.cursor);
|
|
32379
|
-
this.value = `${s1}${
|
|
32379
|
+
this.value = `${s1}${c48}${s2}`;
|
|
32380
32380
|
this.red = false;
|
|
32381
32381
|
this.cursor = this.placeholder ? 0 : s1.length + 1;
|
|
32382
32382
|
this.render();
|
|
@@ -32550,8 +32550,8 @@ var require_select2 = __commonJS({
|
|
|
32550
32550
|
this.moveCursor((this.cursor + 1) % this.choices.length);
|
|
32551
32551
|
this.render();
|
|
32552
32552
|
}
|
|
32553
|
-
_(
|
|
32554
|
-
if (
|
|
32553
|
+
_(c48, key) {
|
|
32554
|
+
if (c48 === " ") return this.submit();
|
|
32555
32555
|
}
|
|
32556
32556
|
get selection() {
|
|
32557
32557
|
return this.choices[this.cursor];
|
|
@@ -32675,12 +32675,12 @@ var require_toggle2 = __commonJS({
|
|
|
32675
32675
|
this.fire();
|
|
32676
32676
|
this.render();
|
|
32677
32677
|
}
|
|
32678
|
-
_(
|
|
32679
|
-
if (
|
|
32678
|
+
_(c48, key) {
|
|
32679
|
+
if (c48 === " ") {
|
|
32680
32680
|
this.value = !this.value;
|
|
32681
|
-
} else if (
|
|
32681
|
+
} else if (c48 === "1") {
|
|
32682
32682
|
this.value = true;
|
|
32683
|
-
} else if (
|
|
32683
|
+
} else if (c48 === "0") {
|
|
32684
32684
|
this.value = false;
|
|
32685
32685
|
} else return this.bell();
|
|
32686
32686
|
this.render();
|
|
@@ -33136,9 +33136,9 @@ var require_date2 = __commonJS({
|
|
|
33136
33136
|
this.moveCursor(next ? this.parts.indexOf(next) : this.parts.findIndex((part) => part instanceof DatePart));
|
|
33137
33137
|
this.render();
|
|
33138
33138
|
}
|
|
33139
|
-
_(
|
|
33140
|
-
if (/\d/.test(
|
|
33141
|
-
this.typed +=
|
|
33139
|
+
_(c48) {
|
|
33140
|
+
if (/\d/.test(c48)) {
|
|
33141
|
+
this.typed += c48;
|
|
33142
33142
|
this.parts[this.cursor].setTo(this.typed);
|
|
33143
33143
|
this.render();
|
|
33144
33144
|
}
|
|
@@ -33220,8 +33220,8 @@ var require_number2 = __commonJS({
|
|
|
33220
33220
|
parse(x) {
|
|
33221
33221
|
return this.float ? parseFloat(x) : parseInt(x);
|
|
33222
33222
|
}
|
|
33223
|
-
valid(
|
|
33224
|
-
return
|
|
33223
|
+
valid(c48) {
|
|
33224
|
+
return c48 === `-` || c48 === `.` && this.float || isNumber.test(c48);
|
|
33225
33225
|
}
|
|
33226
33226
|
reset() {
|
|
33227
33227
|
this.typed = ``;
|
|
@@ -33308,14 +33308,14 @@ var require_number2 = __commonJS({
|
|
|
33308
33308
|
this.fire();
|
|
33309
33309
|
this.render();
|
|
33310
33310
|
}
|
|
33311
|
-
_(
|
|
33312
|
-
if (!this.valid(
|
|
33311
|
+
_(c48, key) {
|
|
33312
|
+
if (!this.valid(c48)) return this.bell();
|
|
33313
33313
|
const now = Date.now();
|
|
33314
33314
|
if (now - this.lastHit > 1e3) this.typed = ``;
|
|
33315
|
-
this.typed +=
|
|
33315
|
+
this.typed += c48;
|
|
33316
33316
|
this.lastHit = now;
|
|
33317
33317
|
this.color = `cyan`;
|
|
33318
|
-
if (
|
|
33318
|
+
if (c48 === `.`) return this.fire();
|
|
33319
33319
|
this.value = Math.min(this.parse(this.typed), this.max);
|
|
33320
33320
|
if (this.value > this.max) this.value = this.max;
|
|
33321
33321
|
if (this.value < this.min) this.value = this.min;
|
|
@@ -33477,10 +33477,10 @@ var require_multiselect2 = __commonJS({
|
|
|
33477
33477
|
this.value.filter((v) => !v.disabled).forEach((v) => v.selected = newSelected);
|
|
33478
33478
|
this.render();
|
|
33479
33479
|
}
|
|
33480
|
-
_(
|
|
33481
|
-
if (
|
|
33480
|
+
_(c48, key) {
|
|
33481
|
+
if (c48 === " ") {
|
|
33482
33482
|
this.handleSpaceToggle();
|
|
33483
|
-
} else if (
|
|
33483
|
+
} else if (c48 === "a") {
|
|
33484
33484
|
this.toggleAll();
|
|
33485
33485
|
} else {
|
|
33486
33486
|
return this.bell();
|
|
@@ -33677,10 +33677,10 @@ var require_autocomplete2 = __commonJS({
|
|
|
33677
33677
|
this.out.write("\n");
|
|
33678
33678
|
this.close();
|
|
33679
33679
|
}
|
|
33680
|
-
_(
|
|
33680
|
+
_(c48, key) {
|
|
33681
33681
|
let s1 = this.input.slice(0, this.cursor);
|
|
33682
33682
|
let s2 = this.input.slice(this.cursor);
|
|
33683
|
-
this.input = `${s1}${
|
|
33683
|
+
this.input = `${s1}${c48}${s2}`;
|
|
33684
33684
|
this.cursor = s1.length + 1;
|
|
33685
33685
|
this.complete(this.render);
|
|
33686
33686
|
this.render();
|
|
@@ -33883,15 +33883,15 @@ var require_autocompleteMultiselect2 = __commonJS({
|
|
|
33883
33883
|
this.render();
|
|
33884
33884
|
}
|
|
33885
33885
|
}
|
|
33886
|
-
handleInputChange(
|
|
33887
|
-
this.inputValue = this.inputValue +
|
|
33886
|
+
handleInputChange(c48) {
|
|
33887
|
+
this.inputValue = this.inputValue + c48;
|
|
33888
33888
|
this.updateFilteredOptions();
|
|
33889
33889
|
}
|
|
33890
|
-
_(
|
|
33891
|
-
if (
|
|
33890
|
+
_(c48, key) {
|
|
33891
|
+
if (c48 === " ") {
|
|
33892
33892
|
this.handleSpaceToggle();
|
|
33893
33893
|
} else {
|
|
33894
|
-
this.handleInputChange(
|
|
33894
|
+
this.handleInputChange(c48);
|
|
33895
33895
|
}
|
|
33896
33896
|
}
|
|
33897
33897
|
renderInstructions() {
|
|
@@ -33998,12 +33998,12 @@ var require_confirm2 = __commonJS({
|
|
|
33998
33998
|
this.out.write("\n");
|
|
33999
33999
|
this.close();
|
|
34000
34000
|
}
|
|
34001
|
-
_(
|
|
34002
|
-
if (
|
|
34001
|
+
_(c48, key) {
|
|
34002
|
+
if (c48.toLowerCase() === "y") {
|
|
34003
34003
|
this.value = true;
|
|
34004
34004
|
return this.submit();
|
|
34005
34005
|
}
|
|
34006
|
-
if (
|
|
34006
|
+
if (c48.toLowerCase() === "n") {
|
|
34007
34007
|
this.value = false;
|
|
34008
34008
|
return this.submit();
|
|
34009
34009
|
}
|
|
@@ -34652,7 +34652,7 @@ if (DSN) {
|
|
|
34652
34652
|
Sentry.init({
|
|
34653
34653
|
dsn: DSN,
|
|
34654
34654
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
34655
|
-
release: "9.111.
|
|
34655
|
+
release: "9.111.8",
|
|
34656
34656
|
sendDefaultPii: false,
|
|
34657
34657
|
tracesSampleRate: 0,
|
|
34658
34658
|
shutdownTimeout: 500,
|
|
@@ -34671,7 +34671,7 @@ if (DSN) {
|
|
|
34671
34671
|
}
|
|
34672
34672
|
});
|
|
34673
34673
|
Sentry.setContext("cli", {
|
|
34674
|
-
version: "9.111.
|
|
34674
|
+
version: "9.111.8",
|
|
34675
34675
|
command: process.argv.slice(2).join(" ")
|
|
34676
34676
|
});
|
|
34677
34677
|
Sentry.setContext("runtime", {
|
|
@@ -39800,7 +39800,7 @@ var $ZodBase64 = /* @__PURE__ */ $constructor("$ZodBase64", (inst, def) => {
|
|
|
39800
39800
|
function isValidBase64URL(data) {
|
|
39801
39801
|
if (!base64url.test(data))
|
|
39802
39802
|
return false;
|
|
39803
|
-
const base643 = data.replace(/[-_]/g, (
|
|
39803
|
+
const base643 = data.replace(/[-_]/g, (c48) => c48 === "-" ? "+" : "/");
|
|
39804
39804
|
const padded = base643.padEnd(Math.ceil(base643.length / 4) * 4, "=");
|
|
39805
39805
|
return isValidBase64(padded);
|
|
39806
39806
|
}
|
|
@@ -49911,9 +49911,9 @@ var ZodDate = /* @__PURE__ */ $constructor("ZodDate", (inst, def) => {
|
|
|
49911
49911
|
inst._zod.processJSONSchema = (ctx, json2, params) => dateProcessor(inst, ctx, json2, params);
|
|
49912
49912
|
inst.min = (value, params) => inst.check(_gte(value, params));
|
|
49913
49913
|
inst.max = (value, params) => inst.check(_lte(value, params));
|
|
49914
|
-
const
|
|
49915
|
-
inst.minDate =
|
|
49916
|
-
inst.maxDate =
|
|
49914
|
+
const c48 = inst._zod.bag;
|
|
49915
|
+
inst.minDate = c48.minimum ? new Date(c48.minimum) : null;
|
|
49916
|
+
inst.maxDate = c48.maximum ? new Date(c48.maximum) : null;
|
|
49917
49917
|
});
|
|
49918
49918
|
function date3(params) {
|
|
49919
49919
|
return _date(ZodDate, params);
|
|
@@ -73472,6 +73472,81 @@ var tasksContract = c46.router({
|
|
|
73472
73472
|
}
|
|
73473
73473
|
});
|
|
73474
73474
|
|
|
73475
|
+
// ../../packages/core/src/contracts/zero-phone.ts
|
|
73476
|
+
init_esm_shims();
|
|
73477
|
+
var c47 = initContract();
|
|
73478
|
+
var phoneStatusResponseSchema = external_exports.object({
|
|
73479
|
+
userPhone: external_exports.string().nullable(),
|
|
73480
|
+
userPhonePending: external_exports.string().nullable(),
|
|
73481
|
+
orgPhone: external_exports.string().nullable()
|
|
73482
|
+
});
|
|
73483
|
+
var phoneLinkBodySchema = external_exports.object({
|
|
73484
|
+
phoneNumber: external_exports.string()
|
|
73485
|
+
});
|
|
73486
|
+
var phoneSuccessResponseSchema = external_exports.object({
|
|
73487
|
+
success: external_exports.literal(true)
|
|
73488
|
+
});
|
|
73489
|
+
var phoneSetupResponseSchema = external_exports.object({
|
|
73490
|
+
phoneNumber: external_exports.string(),
|
|
73491
|
+
agentId: external_exports.string()
|
|
73492
|
+
});
|
|
73493
|
+
var phoneErrorResponseSchema = external_exports.object({
|
|
73494
|
+
error: external_exports.string()
|
|
73495
|
+
});
|
|
73496
|
+
var zeroPhoneStatusContract = c47.router({
|
|
73497
|
+
getStatus: {
|
|
73498
|
+
method: "GET",
|
|
73499
|
+
path: "/api/zero/phone/status",
|
|
73500
|
+
headers: authHeadersSchema,
|
|
73501
|
+
responses: {
|
|
73502
|
+
200: phoneStatusResponseSchema,
|
|
73503
|
+
401: phoneErrorResponseSchema
|
|
73504
|
+
},
|
|
73505
|
+
summary: "Get the current user's phone link status"
|
|
73506
|
+
}
|
|
73507
|
+
});
|
|
73508
|
+
var zeroPhoneLinkContract = c47.router({
|
|
73509
|
+
link: {
|
|
73510
|
+
method: "POST",
|
|
73511
|
+
path: "/api/zero/phone/link",
|
|
73512
|
+
headers: authHeadersSchema,
|
|
73513
|
+
body: phoneLinkBodySchema,
|
|
73514
|
+
responses: {
|
|
73515
|
+
200: phoneSuccessResponseSchema,
|
|
73516
|
+
400: phoneErrorResponseSchema,
|
|
73517
|
+
401: phoneErrorResponseSchema,
|
|
73518
|
+
403: phoneErrorResponseSchema
|
|
73519
|
+
},
|
|
73520
|
+
summary: "Link a phone number to the current user"
|
|
73521
|
+
},
|
|
73522
|
+
unlink: {
|
|
73523
|
+
method: "DELETE",
|
|
73524
|
+
path: "/api/zero/phone/link",
|
|
73525
|
+
headers: authHeadersSchema,
|
|
73526
|
+
body: c47.noBody(),
|
|
73527
|
+
responses: {
|
|
73528
|
+
200: phoneSuccessResponseSchema,
|
|
73529
|
+
401: phoneErrorResponseSchema
|
|
73530
|
+
},
|
|
73531
|
+
summary: "Remove the current user's phone link"
|
|
73532
|
+
}
|
|
73533
|
+
});
|
|
73534
|
+
var zeroPhoneSetupContract = c47.router({
|
|
73535
|
+
setup: {
|
|
73536
|
+
method: "POST",
|
|
73537
|
+
path: "/api/zero/phone/setup",
|
|
73538
|
+
headers: authHeadersSchema,
|
|
73539
|
+
body: c47.noBody(),
|
|
73540
|
+
responses: {
|
|
73541
|
+
200: phoneSetupResponseSchema,
|
|
73542
|
+
401: phoneErrorResponseSchema,
|
|
73543
|
+
403: phoneErrorResponseSchema,
|
|
73544
|
+
409: phoneErrorResponseSchema
|
|
73545
|
+
},
|
|
73546
|
+
summary: "Provision a phone number for the org (admin only)"
|
|
73547
|
+
}
|
|
73548
|
+
});
|
|
73549
|
+
|
|
73475
73550
|
// ../../packages/core/src/org-reference.ts
|
|
73476
73551
|
init_esm_shims();
|
|
73477
73552
|
|
|
@@ -73539,36 +73614,11 @@ var STAFF_ORG_ID_HASHES = [
|
|
|
73539
73614
|
// org_3ANttyrbWYJk6JKRSTRLEsbsDLe
|
|
73540
73615
|
];
|
|
73541
73616
|
var FEATURE_SWITCHES = {
|
|
73542
|
-
["pricing" /* Pricing */]: {
|
|
73543
|
-
maintainer: "ethan@vm0.ai",
|
|
73544
|
-
description: "Enable access to billing plans and pricing page",
|
|
73545
|
-
enabled: true
|
|
73546
|
-
},
|
|
73547
73617
|
["dummy" /* Dummy */]: {
|
|
73548
73618
|
maintainer: "ethan@vm0.ai",
|
|
73549
73619
|
description: "Test-only feature switch for flag system validation",
|
|
73550
73620
|
enabled: true
|
|
73551
73621
|
},
|
|
73552
|
-
["agents" /* Agents */]: {
|
|
73553
|
-
maintainer: "ethan@vm0.ai",
|
|
73554
|
-
description: "Enable multi-agent orchestration in runs",
|
|
73555
|
-
enabled: true
|
|
73556
|
-
},
|
|
73557
|
-
["secrets" /* Secrets */]: {
|
|
73558
|
-
maintainer: "ethan@vm0.ai",
|
|
73559
|
-
description: "Enable the encrypted secrets store for agent runs",
|
|
73560
|
-
enabled: false
|
|
73561
|
-
},
|
|
73562
|
-
["artifacts" /* Artifacts */]: {
|
|
73563
|
-
maintainer: "ethan@vm0.ai",
|
|
73564
|
-
description: "Enable artifact storage and management",
|
|
73565
|
-
enabled: false
|
|
73566
|
-
},
|
|
73567
|
-
["apiKeys" /* ApiKeys */]: {
|
|
73568
|
-
maintainer: "ethan@vm0.ai",
|
|
73569
|
-
description: "Enable platform-managed API key pool",
|
|
73570
|
-
enabled: false
|
|
73571
|
-
},
|
|
73572
73622
|
["ahrefsConnector" /* AhrefsConnector */]: {
|
|
73573
73623
|
maintainer: "ethan@vm0.ai",
|
|
73574
73624
|
description: "Enable the Ahrefs SEO connector",
|
|
@@ -73679,16 +73729,6 @@ var FEATURE_SWITCHES = {
|
|
|
73679
73729
|
description: "Enable the Spotify connector integration",
|
|
73680
73730
|
enabled: false
|
|
73681
73731
|
},
|
|
73682
|
-
["githubIntegration" /* GitHubIntegration */]: {
|
|
73683
|
-
maintainer: "ethan@vm0.ai",
|
|
73684
|
-
description: "Enable the GitHub App installation integration",
|
|
73685
|
-
enabled: false
|
|
73686
|
-
},
|
|
73687
|
-
["telegramIntegration" /* TelegramIntegration */]: {
|
|
73688
|
-
maintainer: "ethan@vm0.ai",
|
|
73689
|
-
description: "Enable the Telegram bot integration for message handling",
|
|
73690
|
-
enabled: false
|
|
73691
|
-
},
|
|
73692
73732
|
["dataExport" /* DataExport */]: {
|
|
73693
73733
|
maintainer: "ethan@vm0.ai",
|
|
73694
73734
|
description: "Show the data export option in account menu",
|
|
@@ -73704,16 +73744,6 @@ var FEATURE_SWITCHES = {
|
|
|
73704
73744
|
description: "Show the Usage page with per-member credit and token consumption",
|
|
73705
73745
|
enabled: false
|
|
73706
73746
|
},
|
|
73707
|
-
["concurrentAddOn" /* ConcurrentAddOn */]: {
|
|
73708
|
-
maintainer: "ethan@vm0.ai",
|
|
73709
|
-
description: "Enable the concurrent agent add-on purchase option",
|
|
73710
|
-
enabled: false
|
|
73711
|
-
},
|
|
73712
|
-
["creditAddOn" /* CreditAddOn */]: {
|
|
73713
|
-
maintainer: "ethan@vm0.ai",
|
|
73714
|
-
description: "Enable the credit add-on purchase option",
|
|
73715
|
-
enabled: false
|
|
73716
|
-
},
|
|
73717
73747
|
["modelDetail" /* ModelDetail */]: {
|
|
73718
73748
|
maintainer: "ethan@vm0.ai",
|
|
73719
73749
|
description: "Show the selected model name in activity details",
|
|
@@ -76161,4 +76191,4 @@ undici/lib/web/fetch/body.js:
|
|
|
76161
76191
|
undici/lib/web/websocket/frame.js:
|
|
76162
76192
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
76163
76193
|
*/
|
|
76164
|
-
//# sourceMappingURL=chunk-
|
|
76194
|
+
//# sourceMappingURL=chunk-WQ74YN4P.js.map
|