@vm0/cli 9.111.0 → 9.111.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{chunk-QX23MVVI.js → chunk-H56HRDOU.js} +140 -208
- package/chunk-H56HRDOU.js.map +1 -0
- package/index.js +10 -10
- package/package.json +1 -1
- package/zero.js +6 -118
- package/zero.js.map +1 -1
- package/chunk-QX23MVVI.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(c45) {
|
|
4550
|
+
switch (c45) {
|
|
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 c45 >= 33 && c45 <= 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((c45) => c45 !== 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 c45 = statusText.charCodeAt(i);
|
|
7306
|
+
if (!(c45 === 9 || // HTAB
|
|
7307
|
+
c45 >= 32 && c45 <= 126 || // SP / VCHAR
|
|
7308
|
+
c45 >= 128 && c45 <= 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((c45) => c45.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((c45) => c45.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((c45) => c45.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, c45] = ioQueue;
|
|
18117
|
+
if (a === 239 && b === 187 && c45 === 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 c45 = getAliasCount(doc, item, anchors2);
|
|
22597
|
+
if (c45 > count)
|
|
22598
|
+
count = c45;
|
|
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 c45 = 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: c45.red(figures.cross),
|
|
29637
|
+
done: c45.green(figures.tick),
|
|
29638
|
+
exited: c45.yellow(figures.cross),
|
|
29639
|
+
default: c45.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) => c45.gray(completing ? figures.ellipsis : figures.pointerSmall);
|
|
29643
|
+
var item = (expandable, expanded) => c45.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
|
+
_(c45, 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}${c45}${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
|
+
_(c45, key) {
|
|
30104
|
+
if (c45 === " ") 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
|
+
_(c45, key) {
|
|
30231
|
+
if (c45 === " ") {
|
|
30232
30232
|
this.value = !this.value;
|
|
30233
|
-
} else if (
|
|
30233
|
+
} else if (c45 === "1") {
|
|
30234
30234
|
this.value = true;
|
|
30235
|
-
} else if (
|
|
30235
|
+
} else if (c45 === "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
|
+
_(c45) {
|
|
30744
|
+
if (/\d/.test(c45)) {
|
|
30745
|
+
this.typed += c45;
|
|
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(c45) {
|
|
30855
|
+
return c45 === `-` || c45 === `.` && this.float || isNumber.test(c45);
|
|
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
|
+
_(c45, key) {
|
|
30949
|
+
if (!this.valid(c45)) return this.bell();
|
|
30950
30950
|
const now = Date.now();
|
|
30951
30951
|
if (now - this.lastHit > 1e3) this.typed = ``;
|
|
30952
|
-
this.typed +=
|
|
30952
|
+
this.typed += c45;
|
|
30953
30953
|
this.lastHit = now;
|
|
30954
30954
|
this.color = `cyan`;
|
|
30955
|
-
if (
|
|
30955
|
+
if (c45 === `.`) 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
|
+
_(c45, key) {
|
|
31120
|
+
if (c45 === " ") {
|
|
31121
31121
|
this.handleSpaceToggle();
|
|
31122
|
-
} else if (
|
|
31122
|
+
} else if (c45 === "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
|
+
_(c45, 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}${c45}${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(c45) {
|
|
31567
|
+
this.inputValue = this.inputValue + c45;
|
|
31568
31568
|
this.updateFilteredOptions();
|
|
31569
31569
|
}
|
|
31570
|
-
_(
|
|
31571
|
-
if (
|
|
31570
|
+
_(c45, key) {
|
|
31571
|
+
if (c45 === " ") {
|
|
31572
31572
|
this.handleSpaceToggle();
|
|
31573
31573
|
} else {
|
|
31574
|
-
this.handleInputChange(
|
|
31574
|
+
this.handleInputChange(c45);
|
|
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
|
+
_(c45, key) {
|
|
31681
|
+
if (c45.toLowerCase() === "y") {
|
|
31682
31682
|
this.value = true;
|
|
31683
31683
|
return this.submit();
|
|
31684
31684
|
}
|
|
31685
|
-
if (
|
|
31685
|
+
if (c45.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 c45 = 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: c45.red(figures.cross),
|
|
32137
|
+
done: c45.green(figures.tick),
|
|
32138
|
+
exited: c45.yellow(figures.cross),
|
|
32139
|
+
default: c45.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) => c45.gray(completing ? figures.ellipsis : figures.pointerSmall);
|
|
32143
|
+
var item = (expandable, expanded) => c45.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
|
+
_(c45, 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}${c45}${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
|
+
_(c45, key) {
|
|
32554
|
+
if (c45 === " ") 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
|
+
_(c45, key) {
|
|
32679
|
+
if (c45 === " ") {
|
|
32680
32680
|
this.value = !this.value;
|
|
32681
|
-
} else if (
|
|
32681
|
+
} else if (c45 === "1") {
|
|
32682
32682
|
this.value = true;
|
|
32683
|
-
} else if (
|
|
32683
|
+
} else if (c45 === "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
|
+
_(c45) {
|
|
33140
|
+
if (/\d/.test(c45)) {
|
|
33141
|
+
this.typed += c45;
|
|
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(c45) {
|
|
33224
|
+
return c45 === `-` || c45 === `.` && this.float || isNumber.test(c45);
|
|
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
|
+
_(c45, key) {
|
|
33312
|
+
if (!this.valid(c45)) return this.bell();
|
|
33313
33313
|
const now = Date.now();
|
|
33314
33314
|
if (now - this.lastHit > 1e3) this.typed = ``;
|
|
33315
|
-
this.typed +=
|
|
33315
|
+
this.typed += c45;
|
|
33316
33316
|
this.lastHit = now;
|
|
33317
33317
|
this.color = `cyan`;
|
|
33318
|
-
if (
|
|
33318
|
+
if (c45 === `.`) 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
|
+
_(c45, key) {
|
|
33481
|
+
if (c45 === " ") {
|
|
33482
33482
|
this.handleSpaceToggle();
|
|
33483
|
-
} else if (
|
|
33483
|
+
} else if (c45 === "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
|
+
_(c45, 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}${c45}${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(c45) {
|
|
33887
|
+
this.inputValue = this.inputValue + c45;
|
|
33888
33888
|
this.updateFilteredOptions();
|
|
33889
33889
|
}
|
|
33890
|
-
_(
|
|
33891
|
-
if (
|
|
33890
|
+
_(c45, key) {
|
|
33891
|
+
if (c45 === " ") {
|
|
33892
33892
|
this.handleSpaceToggle();
|
|
33893
33893
|
} else {
|
|
33894
|
-
this.handleInputChange(
|
|
33894
|
+
this.handleInputChange(c45);
|
|
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
|
+
_(c45, key) {
|
|
34002
|
+
if (c45.toLowerCase() === "y") {
|
|
34003
34003
|
this.value = true;
|
|
34004
34004
|
return this.submit();
|
|
34005
34005
|
}
|
|
34006
|
-
if (
|
|
34006
|
+
if (c45.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.1",
|
|
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.1",
|
|
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, (c45) => c45 === "-" ? "+" : "/");
|
|
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 c45 = inst._zod.bag;
|
|
49915
|
+
inst.minDate = c45.minimum ? new Date(c45.minimum) : null;
|
|
49916
|
+
inst.maxDate = c45.maximum ? new Date(c45.maximum) : null;
|
|
49917
49917
|
});
|
|
49918
49918
|
function date3(params) {
|
|
49919
49919
|
return _date(ZodDate, params);
|
|
@@ -63633,14 +63633,13 @@ var DEFAULT_ALLOWED = {
|
|
|
63633
63633
|
};
|
|
63634
63634
|
function getDefaultFirewallPolicies(type) {
|
|
63635
63635
|
const allowed = DEFAULT_ALLOWED[type];
|
|
63636
|
-
|
|
63637
|
-
const allowSet = new Set(allowed);
|
|
63636
|
+
const allowSet = allowed ? new Set(allowed) : null;
|
|
63638
63637
|
const config2 = getConnectorFirewall(type);
|
|
63639
63638
|
const result = {};
|
|
63640
63639
|
for (const api of config2.apis) {
|
|
63641
63640
|
if (api.permissions) {
|
|
63642
63641
|
for (const p of api.permissions) {
|
|
63643
|
-
result[p.name] = allowSet.has(p.name) ? "allow" : "deny";
|
|
63642
|
+
result[p.name] = !allowSet || allowSet.has(p.name) ? "allow" : "deny";
|
|
63644
63643
|
}
|
|
63645
63644
|
}
|
|
63646
63645
|
}
|
|
@@ -63650,10 +63649,11 @@ function resolveFirewallPolicies(stored, connectors) {
|
|
|
63650
63649
|
let resolved = stored;
|
|
63651
63650
|
for (const connector of connectors) {
|
|
63652
63651
|
if (!isFirewallConnectorType(connector)) continue;
|
|
63653
|
-
if (resolved?.[connector]) continue;
|
|
63654
63652
|
const defaults = getDefaultFirewallPolicies(connector);
|
|
63655
|
-
|
|
63656
|
-
|
|
63653
|
+
resolved = {
|
|
63654
|
+
...resolved,
|
|
63655
|
+
[connector]: { ...defaults, ...resolved?.[connector] }
|
|
63656
|
+
};
|
|
63657
63657
|
}
|
|
63658
63658
|
return resolved;
|
|
63659
63659
|
}
|
|
@@ -68212,6 +68212,14 @@ var firewallPoliciesSchema = external_exports.record(
|
|
|
68212
68212
|
external_exports.string(),
|
|
68213
68213
|
external_exports.record(external_exports.string(), firewallPolicyValueSchema)
|
|
68214
68214
|
);
|
|
68215
|
+
var grantedPermissionSchema = external_exports.object({
|
|
68216
|
+
allow: external_exports.array(external_exports.string()),
|
|
68217
|
+
allowUnknown: external_exports.boolean()
|
|
68218
|
+
});
|
|
68219
|
+
var grantedPermissionsSchema = external_exports.record(
|
|
68220
|
+
external_exports.string(),
|
|
68221
|
+
grantedPermissionSchema
|
|
68222
|
+
);
|
|
68215
68223
|
var BASE_URL_VARS_PATTERN = /\$\{\{\s*vars\.([a-zA-Z_][a-zA-Z0-9_]*)\s*\}\}/;
|
|
68216
68224
|
var BASE_URL_VARS_PATTERN_G = new RegExp(BASE_URL_VARS_PATTERN.source, "g");
|
|
68217
68225
|
|
|
@@ -70556,8 +70564,10 @@ var storedExecutionContextSchema = external_exports.object({
|
|
|
70556
70564
|
userTimezone: external_exports.string().optional(),
|
|
70557
70565
|
// Memory storage name (for first-run when manifest.memory is null)
|
|
70558
70566
|
memoryName: external_exports.string().optional(),
|
|
70559
|
-
// Firewall for proxy-side token replacement
|
|
70567
|
+
// Firewall for proxy-side token replacement (complete config, all permissions)
|
|
70560
70568
|
firewalls: firewallsSchema.optional(),
|
|
70569
|
+
// Per-firewall grant config: which permissions are granted + allowUnknown flag
|
|
70570
|
+
grantedPermissions: grantedPermissionsSchema.optional(),
|
|
70561
70571
|
// Tools to disable in Claude CLI (passed as --disallowed-tools)
|
|
70562
70572
|
disallowedTools: external_exports.array(external_exports.string()).optional(),
|
|
70563
70573
|
// Tools to make available in Claude CLI (passed as --tools)
|
|
@@ -70596,8 +70606,10 @@ var executionContextSchema = external_exports.object({
|
|
|
70596
70606
|
userTimezone: external_exports.string().optional(),
|
|
70597
70607
|
// Memory storage name (for first-run when manifest.memory is null)
|
|
70598
70608
|
memoryName: external_exports.string().optional(),
|
|
70599
|
-
// Firewall for proxy-side token replacement
|
|
70609
|
+
// Firewall for proxy-side token replacement (complete config, all permissions)
|
|
70600
70610
|
firewalls: firewallsSchema.optional(),
|
|
70611
|
+
// Per-firewall grant config: which permissions are granted + allowUnknown flag
|
|
70612
|
+
grantedPermissions: grantedPermissionsSchema.optional(),
|
|
70601
70613
|
// Tools to disable in Claude CLI (passed as --disallowed-tools)
|
|
70602
70614
|
disallowedTools: external_exports.array(external_exports.string()).optional(),
|
|
70603
70615
|
// Tools to make available in Claude CLI (passed as --tools)
|
|
@@ -71038,6 +71050,7 @@ var zeroAgentResponseSchema = external_exports.object({
|
|
|
71038
71050
|
sound: external_exports.string().nullable(),
|
|
71039
71051
|
avatarUrl: external_exports.string().nullable(),
|
|
71040
71052
|
permissionPolicies: firewallPoliciesSchema.nullable(),
|
|
71053
|
+
allowUnknownEndpoints: external_exports.record(external_exports.string(), external_exports.boolean()).nullable(),
|
|
71041
71054
|
customSkills: external_exports.array(external_exports.string()).default([])
|
|
71042
71055
|
});
|
|
71043
71056
|
var zeroAgentRequestSchema = external_exports.object({
|
|
@@ -71149,7 +71162,8 @@ var zeroAgentsByIdContract = c17.router({
|
|
|
71149
71162
|
});
|
|
71150
71163
|
var zeroAgentPermissionPoliciesRequestSchema = external_exports.object({
|
|
71151
71164
|
agentId: external_exports.string().uuid(),
|
|
71152
|
-
policies: firewallPoliciesSchema
|
|
71165
|
+
policies: firewallPoliciesSchema,
|
|
71166
|
+
allowUnknownEndpoints: external_exports.record(external_exports.string(), external_exports.boolean()).optional()
|
|
71153
71167
|
});
|
|
71154
71168
|
var zeroAgentPermissionPoliciesContract = c17.router({
|
|
71155
71169
|
update: {
|
|
@@ -72063,6 +72077,7 @@ var runContextResponseSchema = external_exports.object({
|
|
|
72063
72077
|
vars: external_exports.record(external_exports.string(), external_exports.string()).nullable(),
|
|
72064
72078
|
environment: external_exports.record(external_exports.string(), external_exports.string()),
|
|
72065
72079
|
firewalls: external_exports.array(runContextFirewallSchema),
|
|
72080
|
+
grantedPermissions: grantedPermissionsSchema.nullable().optional(),
|
|
72066
72081
|
volumes: external_exports.array(runContextVolumeSchema),
|
|
72067
72082
|
artifact: runContextArtifactSchema.nullable(),
|
|
72068
72083
|
memory: runContextArtifactSchema.nullable()
|
|
@@ -73006,70 +73021,9 @@ var zeroMemberCreditCapContract = c38.router({
|
|
|
73006
73021
|
}
|
|
73007
73022
|
});
|
|
73008
73023
|
|
|
73009
|
-
// ../../packages/core/src/contracts/zero-ask-user.ts
|
|
73010
|
-
init_esm_shims();
|
|
73011
|
-
var c39 = initContract();
|
|
73012
|
-
var askUserQuestionItemSchema = external_exports.object({
|
|
73013
|
-
question: external_exports.string().min(1),
|
|
73014
|
-
header: external_exports.string().max(12).optional(),
|
|
73015
|
-
options: external_exports.array(
|
|
73016
|
-
external_exports.object({
|
|
73017
|
-
label: external_exports.string(),
|
|
73018
|
-
description: external_exports.string().optional()
|
|
73019
|
-
})
|
|
73020
|
-
).min(1),
|
|
73021
|
-
multiSelect: external_exports.boolean().optional()
|
|
73022
|
-
});
|
|
73023
|
-
var askUserQuestionBodySchema = external_exports.object({
|
|
73024
|
-
questions: external_exports.array(askUserQuestionItemSchema).min(1)
|
|
73025
|
-
});
|
|
73026
|
-
var askUserQuestionResponseSchema = external_exports.object({
|
|
73027
|
-
pendingId: external_exports.string().uuid()
|
|
73028
|
-
});
|
|
73029
|
-
var askUserAnswerStatusSchema = external_exports.enum([
|
|
73030
|
-
"pending",
|
|
73031
|
-
"answered",
|
|
73032
|
-
"expired"
|
|
73033
|
-
]);
|
|
73034
|
-
var askUserAnswerResponseSchema = external_exports.object({
|
|
73035
|
-
status: askUserAnswerStatusSchema,
|
|
73036
|
-
answer: external_exports.string().optional()
|
|
73037
|
-
});
|
|
73038
|
-
var zeroAskUserQuestionContract = c39.router({
|
|
73039
|
-
postQuestion: {
|
|
73040
|
-
method: "POST",
|
|
73041
|
-
path: "/api/zero/ask-user/question",
|
|
73042
|
-
headers: authHeadersSchema,
|
|
73043
|
-
body: askUserQuestionBodySchema,
|
|
73044
|
-
responses: {
|
|
73045
|
-
200: askUserQuestionResponseSchema,
|
|
73046
|
-
400: apiErrorSchema,
|
|
73047
|
-
401: apiErrorSchema
|
|
73048
|
-
},
|
|
73049
|
-
summary: "Submit a question for the user and receive a pending ID for polling"
|
|
73050
|
-
}
|
|
73051
|
-
});
|
|
73052
|
-
var zeroAskUserAnswerContract = c39.router({
|
|
73053
|
-
getAnswer: {
|
|
73054
|
-
method: "GET",
|
|
73055
|
-
path: "/api/zero/ask-user/answer",
|
|
73056
|
-
headers: authHeadersSchema,
|
|
73057
|
-
query: external_exports.object({
|
|
73058
|
-
pendingId: external_exports.string().uuid()
|
|
73059
|
-
}),
|
|
73060
|
-
responses: {
|
|
73061
|
-
200: askUserAnswerResponseSchema,
|
|
73062
|
-
401: apiErrorSchema,
|
|
73063
|
-
403: apiErrorSchema,
|
|
73064
|
-
404: apiErrorSchema
|
|
73065
|
-
},
|
|
73066
|
-
summary: "Poll for the user's answer to a pending question"
|
|
73067
|
-
}
|
|
73068
|
-
});
|
|
73069
|
-
|
|
73070
73024
|
// ../../packages/core/src/contracts/zero-developer-support.ts
|
|
73071
73025
|
init_esm_shims();
|
|
73072
|
-
var
|
|
73026
|
+
var c39 = initContract();
|
|
73073
73027
|
var developerSupportBodySchema = external_exports.object({
|
|
73074
73028
|
title: external_exports.string().min(1, "Title is required"),
|
|
73075
73029
|
description: external_exports.string().min(1, "Description is required"),
|
|
@@ -73081,7 +73035,7 @@ var consentCodeResponseSchema = external_exports.object({
|
|
|
73081
73035
|
var submitResponseSchema = external_exports.object({
|
|
73082
73036
|
reference: external_exports.string()
|
|
73083
73037
|
});
|
|
73084
|
-
var zeroDeveloperSupportContract =
|
|
73038
|
+
var zeroDeveloperSupportContract = c39.router({
|
|
73085
73039
|
submit: {
|
|
73086
73040
|
method: "POST",
|
|
73087
73041
|
path: "/api/zero/developer-support",
|
|
@@ -73099,7 +73053,7 @@ var zeroDeveloperSupportContract = c40.router({
|
|
|
73099
73053
|
|
|
73100
73054
|
// ../../packages/core/src/contracts/zero-report-error.ts
|
|
73101
73055
|
init_esm_shims();
|
|
73102
|
-
var
|
|
73056
|
+
var c40 = initContract();
|
|
73103
73057
|
var reportErrorBodySchema = external_exports.object({
|
|
73104
73058
|
runId: external_exports.string().min(1, "Run ID is required"),
|
|
73105
73059
|
title: external_exports.string().min(1, "Title is required"),
|
|
@@ -73108,7 +73062,7 @@ var reportErrorBodySchema = external_exports.object({
|
|
|
73108
73062
|
var reportErrorResponseSchema = external_exports.object({
|
|
73109
73063
|
reference: external_exports.string()
|
|
73110
73064
|
});
|
|
73111
|
-
var zeroReportErrorContract =
|
|
73065
|
+
var zeroReportErrorContract = c40.router({
|
|
73112
73066
|
submit: {
|
|
73113
73067
|
method: "POST",
|
|
73114
73068
|
path: "/api/zero/report-error",
|
|
@@ -73126,7 +73080,7 @@ var zeroReportErrorContract = c41.router({
|
|
|
73126
73080
|
|
|
73127
73081
|
// ../../packages/core/src/contracts/zero-computer-use.ts
|
|
73128
73082
|
init_esm_shims();
|
|
73129
|
-
var
|
|
73083
|
+
var c41 = initContract();
|
|
73130
73084
|
var registerResponseSchema = external_exports.object({
|
|
73131
73085
|
id: external_exports.string(),
|
|
73132
73086
|
domain: external_exports.string(),
|
|
@@ -73138,12 +73092,12 @@ var hostResponseSchema = external_exports.object({
|
|
|
73138
73092
|
domain: external_exports.string(),
|
|
73139
73093
|
token: external_exports.string()
|
|
73140
73094
|
});
|
|
73141
|
-
var zeroComputerUseRegisterContract =
|
|
73095
|
+
var zeroComputerUseRegisterContract = c41.router({
|
|
73142
73096
|
register: {
|
|
73143
73097
|
method: "POST",
|
|
73144
73098
|
path: "/api/zero/computer-use/register",
|
|
73145
73099
|
headers: authHeadersSchema,
|
|
73146
|
-
body:
|
|
73100
|
+
body: c41.noBody(),
|
|
73147
73101
|
responses: {
|
|
73148
73102
|
200: registerResponseSchema,
|
|
73149
73103
|
401: apiErrorSchema,
|
|
@@ -73153,14 +73107,14 @@ var zeroComputerUseRegisterContract = c42.router({
|
|
|
73153
73107
|
summary: "Register a computer-use host"
|
|
73154
73108
|
}
|
|
73155
73109
|
});
|
|
73156
|
-
var zeroComputerUseUnregisterContract =
|
|
73110
|
+
var zeroComputerUseUnregisterContract = c41.router({
|
|
73157
73111
|
unregister: {
|
|
73158
73112
|
method: "DELETE",
|
|
73159
73113
|
path: "/api/zero/computer-use/unregister",
|
|
73160
73114
|
headers: authHeadersSchema,
|
|
73161
|
-
body:
|
|
73115
|
+
body: c41.noBody(),
|
|
73162
73116
|
responses: {
|
|
73163
|
-
204:
|
|
73117
|
+
204: c41.noBody(),
|
|
73164
73118
|
401: apiErrorSchema,
|
|
73165
73119
|
403: apiErrorSchema,
|
|
73166
73120
|
404: apiErrorSchema
|
|
@@ -73168,7 +73122,7 @@ var zeroComputerUseUnregisterContract = c42.router({
|
|
|
73168
73122
|
summary: "Unregister a computer-use host"
|
|
73169
73123
|
}
|
|
73170
73124
|
});
|
|
73171
|
-
var zeroComputerUseHostContract =
|
|
73125
|
+
var zeroComputerUseHostContract = c41.router({
|
|
73172
73126
|
getHost: {
|
|
73173
73127
|
method: "GET",
|
|
73174
73128
|
path: "/api/zero/computer-use/host",
|
|
@@ -73185,7 +73139,7 @@ var zeroComputerUseHostContract = c42.router({
|
|
|
73185
73139
|
|
|
73186
73140
|
// ../../packages/core/src/contracts/zero-insights.ts
|
|
73187
73141
|
init_esm_shims();
|
|
73188
|
-
var
|
|
73142
|
+
var c42 = initContract();
|
|
73189
73143
|
var insightAgentSchema = external_exports.object({
|
|
73190
73144
|
agentName: external_exports.string(),
|
|
73191
73145
|
agentId: external_exports.string().nullable(),
|
|
@@ -73235,7 +73189,7 @@ var insightsRangeResponseSchema = external_exports.object({
|
|
|
73235
73189
|
maxDate: external_exports.string().nullable(),
|
|
73236
73190
|
totalDays: external_exports.number()
|
|
73237
73191
|
});
|
|
73238
|
-
var zeroInsightsContract =
|
|
73192
|
+
var zeroInsightsContract = c42.router({
|
|
73239
73193
|
get: {
|
|
73240
73194
|
method: "GET",
|
|
73241
73195
|
path: "/api/zero/insights",
|
|
@@ -73250,7 +73204,7 @@ var zeroInsightsContract = c43.router({
|
|
|
73250
73204
|
summary: "Get daily insights for the authenticated org"
|
|
73251
73205
|
}
|
|
73252
73206
|
});
|
|
73253
|
-
var zeroInsightsRangeContract =
|
|
73207
|
+
var zeroInsightsRangeContract = c42.router({
|
|
73254
73208
|
get: {
|
|
73255
73209
|
method: "GET",
|
|
73256
73210
|
path: "/api/zero/insights/range",
|
|
@@ -73265,8 +73219,8 @@ var zeroInsightsRangeContract = c43.router({
|
|
|
73265
73219
|
|
|
73266
73220
|
// ../../packages/core/src/contracts/push-subscriptions.ts
|
|
73267
73221
|
init_esm_shims();
|
|
73268
|
-
var
|
|
73269
|
-
var pushSubscriptionsContract =
|
|
73222
|
+
var c43 = initContract();
|
|
73223
|
+
var pushSubscriptionsContract = c43.router({
|
|
73270
73224
|
register: {
|
|
73271
73225
|
method: "POST",
|
|
73272
73226
|
path: "/api/zero/push-subscriptions",
|
|
@@ -73290,7 +73244,7 @@ var pushSubscriptionsContract = c44.router({
|
|
|
73290
73244
|
|
|
73291
73245
|
// ../../packages/core/src/contracts/zero-voice-chat-context.ts
|
|
73292
73246
|
init_esm_shims();
|
|
73293
|
-
var
|
|
73247
|
+
var c44 = initContract();
|
|
73294
73248
|
var contextEventSchema = external_exports.object({
|
|
73295
73249
|
seq: external_exports.number(),
|
|
73296
73250
|
source: external_exports.string(),
|
|
@@ -73306,7 +73260,7 @@ var appendContextEventBodySchema = external_exports.object({
|
|
|
73306
73260
|
type: external_exports.string(),
|
|
73307
73261
|
content: external_exports.string().optional()
|
|
73308
73262
|
});
|
|
73309
|
-
var zeroVoiceChatContextGetContract =
|
|
73263
|
+
var zeroVoiceChatContextGetContract = c44.router({
|
|
73310
73264
|
getEvents: {
|
|
73311
73265
|
method: "GET",
|
|
73312
73266
|
path: "/api/zero/voice-chat/:id/context",
|
|
@@ -73321,7 +73275,7 @@ var zeroVoiceChatContextGetContract = c45.router({
|
|
|
73321
73275
|
summary: "Get shared context events for a voice-chat session"
|
|
73322
73276
|
}
|
|
73323
73277
|
});
|
|
73324
|
-
var zeroVoiceChatContextAppendContract =
|
|
73278
|
+
var zeroVoiceChatContextAppendContract = c44.router({
|
|
73325
73279
|
appendEvent: {
|
|
73326
73280
|
method: "POST",
|
|
73327
73281
|
path: "/api/zero/voice-chat/:id/context",
|
|
@@ -74733,26 +74687,6 @@ async function searchZeroLogs(options) {
|
|
|
74733
74687
|
handleError(result, "Failed to search zero logs");
|
|
74734
74688
|
}
|
|
74735
74689
|
|
|
74736
|
-
// src/lib/api/domains/zero-ask-user.ts
|
|
74737
|
-
init_esm_shims();
|
|
74738
|
-
async function postAskUserQuestion(body) {
|
|
74739
|
-
const config2 = await getClientConfig();
|
|
74740
|
-
const client = initClient(zeroAskUserQuestionContract, config2);
|
|
74741
|
-
const result = await client.postQuestion({ body, headers: {} });
|
|
74742
|
-
if (result.status === 200) return result.body;
|
|
74743
|
-
handleError(result, "Failed to post question");
|
|
74744
|
-
}
|
|
74745
|
-
async function getAskUserAnswer(pendingId) {
|
|
74746
|
-
const config2 = await getClientConfig();
|
|
74747
|
-
const client = initClient(zeroAskUserAnswerContract, config2);
|
|
74748
|
-
const result = await client.getAnswer({
|
|
74749
|
-
query: { pendingId },
|
|
74750
|
-
headers: {}
|
|
74751
|
-
});
|
|
74752
|
-
if (result.status === 200) return result.body;
|
|
74753
|
-
handleError(result, "Failed to get answer");
|
|
74754
|
-
}
|
|
74755
|
-
|
|
74756
74690
|
// src/lib/api/domains/zero-computer-use.ts
|
|
74757
74691
|
init_esm_shims();
|
|
74758
74692
|
async function registerComputerUseHost() {
|
|
@@ -75951,8 +75885,6 @@ export {
|
|
|
75951
75885
|
getAgentEvents,
|
|
75952
75886
|
getNetworkLogs,
|
|
75953
75887
|
searchLogs,
|
|
75954
|
-
postAskUserQuestion,
|
|
75955
|
-
getAskUserAnswer,
|
|
75956
75888
|
requestDeveloperSupportConsent,
|
|
75957
75889
|
submitDeveloperSupport,
|
|
75958
75890
|
registerComputerUseHost,
|
|
@@ -75994,4 +75926,4 @@ undici/lib/web/fetch/body.js:
|
|
|
75994
75926
|
undici/lib/web/websocket/frame.js:
|
|
75995
75927
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
75996
75928
|
*/
|
|
75997
|
-
//# sourceMappingURL=chunk-
|
|
75929
|
+
//# sourceMappingURL=chunk-H56HRDOU.js.map
|