@vm0/cli 9.162.0 → 9.162.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4629,8 +4629,8 @@ var require_browser = __commonJS({
4629
4629
  if (!this.useColors) {
4630
4630
  return;
4631
4631
  }
4632
- const c107 = "color: " + this.color;
4633
- args.splice(1, 0, c107, "color: inherit");
4632
+ const c105 = "color: " + this.color;
4633
+ args.splice(1, 0, c105, "color: inherit");
4634
4634
  let index = 0;
4635
4635
  let lastC = 0;
4636
4636
  args[0].replace(/%[a-zA-Z%]/g, (match) => {
@@ -4642,7 +4642,7 @@ var require_browser = __commonJS({
4642
4642
  lastC = index;
4643
4643
  }
4644
4644
  });
4645
- args.splice(lastC, 0, c107);
4645
+ args.splice(lastC, 0, c105);
4646
4646
  }
4647
4647
  exports.log = console.debug || console.log || (() => {
4648
4648
  });
@@ -4930,8 +4930,8 @@ var require_node = __commonJS({
4930
4930
  function formatArgs(args) {
4931
4931
  const { namespace: name, useColors: useColors2 } = this;
4932
4932
  if (useColors2) {
4933
- const c107 = this.color;
4934
- const colorCode = "\x1B[3" + (c107 < 8 ? c107 : "8;5;" + c107);
4933
+ const c105 = this.color;
4934
+ const colorCode = "\x1B[3" + (c105 < 8 ? c105 : "8;5;" + c105);
4935
4935
  const prefix = ` ${colorCode};1m${name} \x1B[0m`;
4936
4936
  args[0] = prefix + args[0].split("\n").join("\n" + prefix);
4937
4937
  args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
@@ -8981,27 +8981,27 @@ var require_commonjs2 = __commonJS({
8981
8981
  const pad = n.some(isPadded);
8982
8982
  N = [];
8983
8983
  for (let i = x2; test(i, y) && N.length < max; i += incr) {
8984
- let c107;
8984
+ let c105;
8985
8985
  if (isAlphaSequence) {
8986
- c107 = String.fromCharCode(i);
8987
- if (c107 === "\\") {
8988
- c107 = "";
8986
+ c105 = String.fromCharCode(i);
8987
+ if (c105 === "\\") {
8988
+ c105 = "";
8989
8989
  }
8990
8990
  } else {
8991
- c107 = String(i);
8991
+ c105 = String(i);
8992
8992
  if (pad) {
8993
- const need = width - c107.length;
8993
+ const need = width - c105.length;
8994
8994
  if (need > 0) {
8995
8995
  const z3 = new Array(need + 1).join("0");
8996
8996
  if (i < 0) {
8997
- c107 = "-" + z3 + c107.slice(1);
8997
+ c105 = "-" + z3 + c105.slice(1);
8998
8998
  } else {
8999
- c107 = z3 + c107;
8999
+ c105 = z3 + c105;
9000
9000
  }
9001
9001
  }
9002
9002
  }
9003
9003
  }
9004
- N.push(c107);
9004
+ N.push(c105);
9005
9005
  }
9006
9006
  } else {
9007
9007
  N = [];
@@ -9084,25 +9084,25 @@ var require_brace_expressions = __commonJS({
9084
9084
  let endPos = pos;
9085
9085
  let rangeStart = "";
9086
9086
  WHILE: while (i < glob.length) {
9087
- const c107 = glob.charAt(i);
9088
- if ((c107 === "!" || c107 === "^") && i === pos + 1) {
9087
+ const c105 = glob.charAt(i);
9088
+ if ((c105 === "!" || c105 === "^") && i === pos + 1) {
9089
9089
  negate = true;
9090
9090
  i++;
9091
9091
  continue;
9092
9092
  }
9093
- if (c107 === "]" && sawStart && !escaping) {
9093
+ if (c105 === "]" && sawStart && !escaping) {
9094
9094
  endPos = i + 1;
9095
9095
  break;
9096
9096
  }
9097
9097
  sawStart = true;
9098
- if (c107 === "\\") {
9098
+ if (c105 === "\\") {
9099
9099
  if (!escaping) {
9100
9100
  escaping = true;
9101
9101
  i++;
9102
9102
  continue;
9103
9103
  }
9104
9104
  }
9105
- if (c107 === "[" && !escaping) {
9105
+ if (c105 === "[" && !escaping) {
9106
9106
  for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) {
9107
9107
  if (glob.startsWith(cls, i)) {
9108
9108
  if (rangeStart) {
@@ -9120,26 +9120,26 @@ var require_brace_expressions = __commonJS({
9120
9120
  }
9121
9121
  escaping = false;
9122
9122
  if (rangeStart) {
9123
- if (c107 > rangeStart) {
9124
- ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c107));
9125
- } else if (c107 === rangeStart) {
9126
- ranges.push(braceEscape(c107));
9123
+ if (c105 > rangeStart) {
9124
+ ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c105));
9125
+ } else if (c105 === rangeStart) {
9126
+ ranges.push(braceEscape(c105));
9127
9127
  }
9128
9128
  rangeStart = "";
9129
9129
  i++;
9130
9130
  continue;
9131
9131
  }
9132
9132
  if (glob.startsWith("-]", i + 1)) {
9133
- ranges.push(braceEscape(c107 + "-"));
9133
+ ranges.push(braceEscape(c105 + "-"));
9134
9134
  i += 2;
9135
9135
  continue;
9136
9136
  }
9137
9137
  if (glob.startsWith("-", i + 1)) {
9138
- rangeStart = c107;
9138
+ rangeStart = c105;
9139
9139
  i += 2;
9140
9140
  continue;
9141
9141
  }
9142
- ranges.push(braceEscape(c107));
9142
+ ranges.push(braceEscape(c105));
9143
9143
  i++;
9144
9144
  }
9145
9145
  if (endPos < i) {
@@ -9189,8 +9189,8 @@ var require_ast = __commonJS({
9189
9189
  var brace_expressions_js_1 = require_brace_expressions();
9190
9190
  var unescape_js_1 = require_unescape();
9191
9191
  var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
9192
- var isExtglobType = (c107) => types.has(c107);
9193
- var isExtglobAST = (c107) => isExtglobType(c107.type);
9192
+ var isExtglobType = (c105) => types.has(c105);
9193
+ var isExtglobAST = (c105) => isExtglobType(c105.type);
9194
9194
  var adoptionMap = /* @__PURE__ */ new Map([
9195
9195
  ["!", ["@"]],
9196
9196
  ["?", ["?", "@"]],
@@ -9387,11 +9387,11 @@ var require_ast = __commonJS({
9387
9387
  this.push(part.clone(this));
9388
9388
  }
9389
9389
  clone(parent) {
9390
- const c107 = new _a2(this.type, parent);
9390
+ const c105 = new _a2(this.type, parent);
9391
9391
  for (const p of this.#parts) {
9392
- c107.copyIn(p);
9392
+ c105.copyIn(p);
9393
9393
  }
9394
- return c107;
9394
+ return c105;
9395
9395
  }
9396
9396
  static #parseAST(str, ast, pos, opt, extDepth) {
9397
9397
  const maxDepth = opt.maxExtglobRecursion ?? 2;
@@ -9403,39 +9403,39 @@ var require_ast = __commonJS({
9403
9403
  let i2 = pos;
9404
9404
  let acc2 = "";
9405
9405
  while (i2 < str.length) {
9406
- const c107 = str.charAt(i2++);
9407
- if (escaping || c107 === "\\") {
9406
+ const c105 = str.charAt(i2++);
9407
+ if (escaping || c105 === "\\") {
9408
9408
  escaping = !escaping;
9409
- acc2 += c107;
9409
+ acc2 += c105;
9410
9410
  continue;
9411
9411
  }
9412
9412
  if (inBrace) {
9413
9413
  if (i2 === braceStart + 1) {
9414
- if (c107 === "^" || c107 === "!") {
9414
+ if (c105 === "^" || c105 === "!") {
9415
9415
  braceNeg = true;
9416
9416
  }
9417
- } else if (c107 === "]" && !(i2 === braceStart + 2 && braceNeg)) {
9417
+ } else if (c105 === "]" && !(i2 === braceStart + 2 && braceNeg)) {
9418
9418
  inBrace = false;
9419
9419
  }
9420
- acc2 += c107;
9420
+ acc2 += c105;
9421
9421
  continue;
9422
- } else if (c107 === "[") {
9422
+ } else if (c105 === "[") {
9423
9423
  inBrace = true;
9424
9424
  braceStart = i2;
9425
9425
  braceNeg = false;
9426
- acc2 += c107;
9426
+ acc2 += c105;
9427
9427
  continue;
9428
9428
  }
9429
- const doRecurse = !opt.noext && isExtglobType(c107) && str.charAt(i2) === "(" && extDepth <= maxDepth;
9429
+ const doRecurse = !opt.noext && isExtglobType(c105) && str.charAt(i2) === "(" && extDepth <= maxDepth;
9430
9430
  if (doRecurse) {
9431
9431
  ast.push(acc2);
9432
9432
  acc2 = "";
9433
- const ext = new _a2(c107, ast);
9433
+ const ext = new _a2(c105, ast);
9434
9434
  i2 = _a2.#parseAST(str, ext, i2, opt, extDepth + 1);
9435
9435
  ast.push(ext);
9436
9436
  continue;
9437
9437
  }
9438
- acc2 += c107;
9438
+ acc2 += c105;
9439
9439
  }
9440
9440
  ast.push(acc2);
9441
9441
  return i2;
@@ -9445,48 +9445,48 @@ var require_ast = __commonJS({
9445
9445
  const parts = [];
9446
9446
  let acc = "";
9447
9447
  while (i < str.length) {
9448
- const c107 = str.charAt(i++);
9449
- if (escaping || c107 === "\\") {
9448
+ const c105 = str.charAt(i++);
9449
+ if (escaping || c105 === "\\") {
9450
9450
  escaping = !escaping;
9451
- acc += c107;
9451
+ acc += c105;
9452
9452
  continue;
9453
9453
  }
9454
9454
  if (inBrace) {
9455
9455
  if (i === braceStart + 1) {
9456
- if (c107 === "^" || c107 === "!") {
9456
+ if (c105 === "^" || c105 === "!") {
9457
9457
  braceNeg = true;
9458
9458
  }
9459
- } else if (c107 === "]" && !(i === braceStart + 2 && braceNeg)) {
9459
+ } else if (c105 === "]" && !(i === braceStart + 2 && braceNeg)) {
9460
9460
  inBrace = false;
9461
9461
  }
9462
- acc += c107;
9462
+ acc += c105;
9463
9463
  continue;
9464
- } else if (c107 === "[") {
9464
+ } else if (c105 === "[") {
9465
9465
  inBrace = true;
9466
9466
  braceStart = i;
9467
9467
  braceNeg = false;
9468
- acc += c107;
9468
+ acc += c105;
9469
9469
  continue;
9470
9470
  }
9471
- const doRecurse = !opt.noext && isExtglobType(c107) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
9472
- (extDepth <= maxDepth || ast && ast.#canAdoptType(c107));
9471
+ const doRecurse = !opt.noext && isExtglobType(c105) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
9472
+ (extDepth <= maxDepth || ast && ast.#canAdoptType(c105));
9473
9473
  if (doRecurse) {
9474
- const depthAdd = ast && ast.#canAdoptType(c107) ? 0 : 1;
9474
+ const depthAdd = ast && ast.#canAdoptType(c105) ? 0 : 1;
9475
9475
  part.push(acc);
9476
9476
  acc = "";
9477
- const ext = new _a2(c107, part);
9477
+ const ext = new _a2(c105, part);
9478
9478
  part.push(ext);
9479
9479
  i = _a2.#parseAST(str, ext, i, opt, extDepth + depthAdd);
9480
9480
  continue;
9481
9481
  }
9482
- if (c107 === "|") {
9482
+ if (c105 === "|") {
9483
9483
  part.push(acc);
9484
9484
  acc = "";
9485
9485
  parts.push(part);
9486
9486
  part = new _a2(null, ast);
9487
9487
  continue;
9488
9488
  }
9489
- if (c107 === ")") {
9489
+ if (c105 === ")") {
9490
9490
  if (acc === "" && ast.#parts.length === 0) {
9491
9491
  ast.#emptyExt = true;
9492
9492
  }
@@ -9495,7 +9495,7 @@ var require_ast = __commonJS({
9495
9495
  ast.push(...parts, part);
9496
9496
  return i;
9497
9497
  }
9498
- acc += c107;
9498
+ acc += c105;
9499
9499
  }
9500
9500
  ast.type = null;
9501
9501
  ast.#hasMagic = void 0;
@@ -9515,8 +9515,8 @@ var require_ast = __commonJS({
9515
9515
  }
9516
9516
  return this.#canAdoptType(gc.type, map2);
9517
9517
  }
9518
- #canAdoptType(c107, map2 = adoptionAnyMap) {
9519
- return !!map2.get(this.type)?.includes(c107);
9518
+ #canAdoptType(c105, map2 = adoptionAnyMap) {
9519
+ return !!map2.get(this.type)?.includes(c105);
9520
9520
  }
9521
9521
  #adoptWithSpace(child, index) {
9522
9522
  const gc = child.#parts[0];
@@ -9534,9 +9534,9 @@ var require_ast = __commonJS({
9534
9534
  }
9535
9535
  this.#toString = void 0;
9536
9536
  }
9537
- #canUsurpType(c107) {
9537
+ #canUsurpType(c105) {
9538
9538
  const m = usurpMap.get(this.type);
9539
- return !!m?.has(c107);
9539
+ return !!m?.has(c105);
9540
9540
  }
9541
9541
  #canUsurp(child) {
9542
9542
  if (!child || typeof child !== "object" || child.type !== null || child.#parts.length !== 1 || this.type === null || this.#parts.length !== 1) {
@@ -9749,18 +9749,18 @@ var require_ast = __commonJS({
9749
9749
  do {
9750
9750
  done = true;
9751
9751
  for (let i = 0; i < this.#parts.length; i++) {
9752
- const c107 = this.#parts[i];
9753
- if (typeof c107 === "object") {
9754
- c107.#flatten();
9755
- if (this.#canAdopt(c107)) {
9752
+ const c105 = this.#parts[i];
9753
+ if (typeof c105 === "object") {
9754
+ c105.#flatten();
9755
+ if (this.#canAdopt(c105)) {
9756
9756
  done = false;
9757
- this.#adopt(c107, i);
9758
- } else if (this.#canAdoptWithSpace(c107)) {
9757
+ this.#adopt(c105, i);
9758
+ } else if (this.#canAdoptWithSpace(c105)) {
9759
9759
  done = false;
9760
- this.#adoptWithSpace(c107, i);
9761
- } else if (this.#canUsurp(c107)) {
9760
+ this.#adoptWithSpace(c105, i);
9761
+ } else if (this.#canUsurp(c105)) {
9762
9762
  done = false;
9763
- this.#usurp(c107);
9763
+ this.#usurp(c105);
9764
9764
  }
9765
9765
  }
9766
9766
  }
@@ -9784,13 +9784,13 @@ var require_ast = __commonJS({
9784
9784
  let uflag = false;
9785
9785
  let inStar = false;
9786
9786
  for (let i = 0; i < glob.length; i++) {
9787
- const c107 = glob.charAt(i);
9787
+ const c105 = glob.charAt(i);
9788
9788
  if (escaping) {
9789
9789
  escaping = false;
9790
- re += (reSpecials.has(c107) ? "\\" : "") + c107;
9790
+ re += (reSpecials.has(c105) ? "\\" : "") + c105;
9791
9791
  continue;
9792
9792
  }
9793
- if (c107 === "*") {
9793
+ if (c105 === "*") {
9794
9794
  if (inStar)
9795
9795
  continue;
9796
9796
  inStar = true;
@@ -9800,7 +9800,7 @@ var require_ast = __commonJS({
9800
9800
  } else {
9801
9801
  inStar = false;
9802
9802
  }
9803
- if (c107 === "\\") {
9803
+ if (c105 === "\\") {
9804
9804
  if (i === glob.length - 1) {
9805
9805
  re += "\\\\";
9806
9806
  } else {
@@ -9808,7 +9808,7 @@ var require_ast = __commonJS({
9808
9808
  }
9809
9809
  continue;
9810
9810
  }
9811
- if (c107 === "[") {
9811
+ if (c105 === "[") {
9812
9812
  const [src, needUflag, consumed, magic] = (0, brace_expressions_js_1.parseClass)(glob, i);
9813
9813
  if (consumed) {
9814
9814
  re += src;
@@ -9818,12 +9818,12 @@ var require_ast = __commonJS({
9818
9818
  continue;
9819
9819
  }
9820
9820
  }
9821
- if (c107 === "?") {
9821
+ if (c105 === "?") {
9822
9822
  re += qmark;
9823
9823
  hasMagic = true;
9824
9824
  continue;
9825
9825
  }
9826
- re += regExpEscape(c107);
9826
+ re += regExpEscape(c105);
9827
9827
  }
9828
9828
  return [re, (0, unescape_js_1.unescape)(glob), !!hasMagic, uflag];
9829
9829
  }
@@ -13747,13 +13747,13 @@ var require_utils4 = __commonJS({
13747
13747
  }
13748
13748
  exports.arrayStringifyHelper = arrayStringifyHelper;
13749
13749
  function getPoolNameOld(pool) {
13750
- const c107 = pool.config.connectionConfig;
13750
+ const c105 = pool.config.connectionConfig;
13751
13751
  let poolName = "";
13752
- poolName += c107.host ? `host: '${c107.host}', ` : "";
13753
- poolName += c107.port ? `port: ${c107.port}, ` : "";
13754
- poolName += c107.database ? `database: '${c107.database}', ` : "";
13755
- poolName += c107.user ? `user: '${c107.user}'` : "";
13756
- if (!c107.user) {
13752
+ poolName += c105.host ? `host: '${c105.host}', ` : "";
13753
+ poolName += c105.port ? `port: ${c105.port}, ` : "";
13754
+ poolName += c105.database ? `database: '${c105.database}', ` : "";
13755
+ poolName += c105.user ? `user: '${c105.user}'` : "";
13756
+ if (!c105.user) {
13757
13757
  poolName = poolName.substring(0, poolName.length - 2);
13758
13758
  }
13759
13759
  return poolName.trim();
@@ -14105,7 +14105,7 @@ var require_src9 = __commonJS({
14105
14105
  return indexOpeningDashDashComment < indexClosingSlashComment;
14106
14106
  }
14107
14107
  function fixedEncodeURIComponent(str) {
14108
- return encodeURIComponent(str).replace(/[!'()*]/g, (c107) => `%${c107.charCodeAt(0).toString(16).toUpperCase()}`);
14108
+ return encodeURIComponent(str).replace(/[!'()*]/g, (c105) => `%${c105.charCodeAt(0).toString(16).toUpperCase()}`);
14109
14109
  }
14110
14110
  function addSqlCommenterComment(span, query) {
14111
14111
  if (typeof query !== "string" || query.length === 0) {
@@ -22665,8 +22665,8 @@ var require_util = __commonJS({
22665
22665
  function isUSVString(val) {
22666
22666
  return hasIsWellFormed ? `${val}`.isWellFormed() : toUSVString(val) === `${val}`;
22667
22667
  }
22668
- function isTokenCharCode(c107) {
22669
- switch (c107) {
22668
+ function isTokenCharCode(c105) {
22669
+ switch (c105) {
22670
22670
  case 34:
22671
22671
  case 40:
22672
22672
  case 41:
@@ -22686,7 +22686,7 @@ var require_util = __commonJS({
22686
22686
  case 125:
22687
22687
  return false;
22688
22688
  default:
22689
- return c107 >= 33 && c107 <= 126;
22689
+ return c105 >= 33 && c105 <= 126;
22690
22690
  }
22691
22691
  }
22692
22692
  function isValidHTTPToken(characters) {
@@ -24275,7 +24275,7 @@ var require_constants2 = __commonJS({
24275
24275
  exports.HEADER_CHARS.push(i);
24276
24276
  }
24277
24277
  }
24278
- exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c107) => c107 !== 44);
24278
+ exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c105) => c105 !== 44);
24279
24279
  exports.MAJOR = exports.NUM_MAP;
24280
24280
  exports.MINOR = exports.MAJOR;
24281
24281
  var HEADER_STATE;
@@ -25421,10 +25421,10 @@ var require_util2 = __commonJS({
25421
25421
  }
25422
25422
  function isValidReasonPhrase(statusText) {
25423
25423
  for (let i = 0; i < statusText.length; ++i) {
25424
- const c107 = statusText.charCodeAt(i);
25425
- if (!(c107 === 9 || // HTAB
25426
- c107 >= 32 && c107 <= 126 || // SP / VCHAR
25427
- c107 >= 128 && c107 <= 255)) {
25424
+ const c105 = statusText.charCodeAt(i);
25425
+ if (!(c105 === 9 || // HTAB
25426
+ c105 >= 32 && c105 <= 126 || // SP / VCHAR
25427
+ c105 >= 128 && c105 <= 255)) {
25428
25428
  return false;
25429
25429
  }
25430
25430
  }
@@ -29398,7 +29398,7 @@ var require_pool_base = __commonJS({
29398
29398
  pool.emit("drain", origin, [pool, ...targets]);
29399
29399
  }
29400
29400
  if (pool[kClosedResolve] && queue.isEmpty()) {
29401
- Promise.all(pool[kClients].map((c107) => c107.close())).then(pool[kClosedResolve]);
29401
+ Promise.all(pool[kClients].map((c105) => c105.close())).then(pool[kClosedResolve]);
29402
29402
  }
29403
29403
  };
29404
29404
  this[kOnConnect] = (origin, targets) => {
@@ -29447,7 +29447,7 @@ var require_pool_base = __commonJS({
29447
29447
  }
29448
29448
  async [kClose]() {
29449
29449
  if (this[kQueue].isEmpty()) {
29450
- await Promise.all(this[kClients].map((c107) => c107.close()));
29450
+ await Promise.all(this[kClients].map((c105) => c105.close()));
29451
29451
  } else {
29452
29452
  await new Promise((resolve2) => {
29453
29453
  this[kClosedResolve] = resolve2;
@@ -29462,7 +29462,7 @@ var require_pool_base = __commonJS({
29462
29462
  }
29463
29463
  item.handler.onError(err);
29464
29464
  }
29465
- await Promise.all(this[kClients].map((c107) => c107.destroy(err)));
29465
+ await Promise.all(this[kClients].map((c105) => c105.destroy(err)));
29466
29466
  }
29467
29467
  [kDispatch](opts, handler) {
29468
29468
  const dispatcher = this[kGetDispatcher]();
@@ -36232,8 +36232,8 @@ var require_util4 = __commonJS({
36232
36232
  return new TextDecoder(encoding).decode(sliced);
36233
36233
  }
36234
36234
  function BOMSniffing(ioQueue) {
36235
- const [a, b, c107] = ioQueue;
36236
- if (a === 239 && b === 187 && c107 === 191) {
36235
+ const [a, b, c105] = ioQueue;
36236
+ if (a === 239 && b === 187 && c105 === 191) {
36237
36237
  return "UTF-8";
36238
36238
  } else if (a === 254 && b === 255) {
36239
36239
  return "UTF-16BE";
@@ -40356,7 +40356,7 @@ var require_style = __commonJS({
40356
40356
  "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/style.js"(exports, module2) {
40357
40357
  "use strict";
40358
40358
  init_esm_shims();
40359
- var c107 = require_kleur();
40359
+ var c105 = require_kleur();
40360
40360
  var figures = require_figures();
40361
40361
  var styles3 = Object.freeze({
40362
40362
  password: {
@@ -40378,14 +40378,14 @@ var require_style = __commonJS({
40378
40378
  });
40379
40379
  var render = (type) => styles3[type] || styles3.default;
40380
40380
  var symbols = Object.freeze({
40381
- aborted: c107.red(figures.cross),
40382
- done: c107.green(figures.tick),
40383
- exited: c107.yellow(figures.cross),
40384
- default: c107.cyan("?")
40381
+ aborted: c105.red(figures.cross),
40382
+ done: c105.green(figures.tick),
40383
+ exited: c105.yellow(figures.cross),
40384
+ default: c105.cyan("?")
40385
40385
  });
40386
40386
  var symbol2 = (done, aborted2, exited) => aborted2 ? symbols.aborted : exited ? symbols.exited : done ? symbols.done : symbols.default;
40387
- var delimiter = (completing) => c107.gray(completing ? figures.ellipsis : figures.pointerSmall);
40388
- var item = (expandable, expanded) => c107.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
40387
+ var delimiter = (completing) => c105.gray(completing ? figures.ellipsis : figures.pointerSmall);
40388
+ var item = (expandable, expanded) => c105.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
40389
40389
  module2.exports = {
40390
40390
  styles: styles3,
40391
40391
  render,
@@ -40667,10 +40667,10 @@ var require_text = __commonJS({
40667
40667
  this.cursor = this.cursor + n;
40668
40668
  this.cursorOffset += n;
40669
40669
  }
40670
- _(c107, key) {
40670
+ _(c105, key) {
40671
40671
  let s1 = this.value.slice(0, this.cursor);
40672
40672
  let s2 = this.value.slice(this.cursor);
40673
- this.value = `${s1}${c107}${s2}`;
40673
+ this.value = `${s1}${c105}${s2}`;
40674
40674
  this.red = false;
40675
40675
  this.cursor = this.placeholder ? 0 : s1.length + 1;
40676
40676
  this.render();
@@ -40845,8 +40845,8 @@ var require_select = __commonJS({
40845
40845
  this.moveCursor((this.cursor + 1) % this.choices.length);
40846
40846
  this.render();
40847
40847
  }
40848
- _(c107, key) {
40849
- if (c107 === " ") return this.submit();
40848
+ _(c105, key) {
40849
+ if (c105 === " ") return this.submit();
40850
40850
  }
40851
40851
  get selection() {
40852
40852
  return this.choices[this.cursor];
@@ -40972,12 +40972,12 @@ var require_toggle = __commonJS({
40972
40972
  this.fire();
40973
40973
  this.render();
40974
40974
  }
40975
- _(c107, key) {
40976
- if (c107 === " ") {
40975
+ _(c105, key) {
40976
+ if (c105 === " ") {
40977
40977
  this.value = !this.value;
40978
- } else if (c107 === "1") {
40978
+ } else if (c105 === "1") {
40979
40979
  this.value = true;
40980
- } else if (c107 === "0") {
40980
+ } else if (c105 === "0") {
40981
40981
  this.value = false;
40982
40982
  } else return this.bell();
40983
40983
  this.render();
@@ -41485,9 +41485,9 @@ var require_date = __commonJS({
41485
41485
  this.moveCursor(next ? this.parts.indexOf(next) : this.parts.findIndex((part) => part instanceof DatePart));
41486
41486
  this.render();
41487
41487
  }
41488
- _(c107) {
41489
- if (/\d/.test(c107)) {
41490
- this.typed += c107;
41488
+ _(c105) {
41489
+ if (/\d/.test(c105)) {
41490
+ this.typed += c105;
41491
41491
  this.parts[this.cursor].setTo(this.typed);
41492
41492
  this.render();
41493
41493
  }
@@ -41596,8 +41596,8 @@ var require_number = __commonJS({
41596
41596
  parse(x2) {
41597
41597
  return this.float ? parseFloat(x2) : parseInt(x2);
41598
41598
  }
41599
- valid(c107) {
41600
- return c107 === `-` || c107 === `.` && this.float || isNumber.test(c107);
41599
+ valid(c105) {
41600
+ return c105 === `-` || c105 === `.` && this.float || isNumber.test(c105);
41601
41601
  }
41602
41602
  reset() {
41603
41603
  this.typed = ``;
@@ -41690,14 +41690,14 @@ var require_number = __commonJS({
41690
41690
  this.fire();
41691
41691
  this.render();
41692
41692
  }
41693
- _(c107, key) {
41694
- if (!this.valid(c107)) return this.bell();
41693
+ _(c105, key) {
41694
+ if (!this.valid(c105)) return this.bell();
41695
41695
  const now = Date.now();
41696
41696
  if (now - this.lastHit > 1e3) this.typed = ``;
41697
- this.typed += c107;
41697
+ this.typed += c105;
41698
41698
  this.lastHit = now;
41699
41699
  this.color = `cyan`;
41700
- if (c107 === `.`) return this.fire();
41700
+ if (c105 === `.`) return this.fire();
41701
41701
  this.value = Math.min(this.parse(this.typed), this.max);
41702
41702
  if (this.value > this.max) this.value = this.max;
41703
41703
  if (this.value < this.min) this.value = this.min;
@@ -41861,10 +41861,10 @@ var require_multiselect = __commonJS({
41861
41861
  this.value.filter((v) => !v.disabled).forEach((v) => v.selected = newSelected);
41862
41862
  this.render();
41863
41863
  }
41864
- _(c107, key) {
41865
- if (c107 === " ") {
41864
+ _(c105, key) {
41865
+ if (c105 === " ") {
41866
41866
  this.handleSpaceToggle();
41867
- } else if (c107 === "a") {
41867
+ } else if (c105 === "a") {
41868
41868
  this.toggleAll();
41869
41869
  } else {
41870
41870
  return this.bell();
@@ -42105,10 +42105,10 @@ var require_autocomplete = __commonJS({
42105
42105
  this.out.write("\n");
42106
42106
  this.close();
42107
42107
  }
42108
- _(c107, key) {
42108
+ _(c105, key) {
42109
42109
  let s1 = this.input.slice(0, this.cursor);
42110
42110
  let s2 = this.input.slice(this.cursor);
42111
- this.input = `${s1}${c107}${s2}`;
42111
+ this.input = `${s1}${c105}${s2}`;
42112
42112
  this.cursor = s1.length + 1;
42113
42113
  this.complete(this.render);
42114
42114
  this.render();
@@ -42308,15 +42308,15 @@ var require_autocompleteMultiselect = __commonJS({
42308
42308
  this.render();
42309
42309
  }
42310
42310
  }
42311
- handleInputChange(c107) {
42312
- this.inputValue = this.inputValue + c107;
42311
+ handleInputChange(c105) {
42312
+ this.inputValue = this.inputValue + c105;
42313
42313
  this.updateFilteredOptions();
42314
42314
  }
42315
- _(c107, key) {
42316
- if (c107 === " ") {
42315
+ _(c105, key) {
42316
+ if (c105 === " ") {
42317
42317
  this.handleSpaceToggle();
42318
42318
  } else {
42319
- this.handleInputChange(c107);
42319
+ this.handleInputChange(c105);
42320
42320
  }
42321
42321
  }
42322
42322
  renderInstructions() {
@@ -42422,12 +42422,12 @@ var require_confirm = __commonJS({
42422
42422
  this.out.write("\n");
42423
42423
  this.close();
42424
42424
  }
42425
- _(c107, key) {
42426
- if (c107.toLowerCase() === "y") {
42425
+ _(c105, key) {
42426
+ if (c105.toLowerCase() === "y") {
42427
42427
  this.value = true;
42428
42428
  return this.submit();
42429
42429
  }
42430
- if (c107.toLowerCase() === "n") {
42430
+ if (c105.toLowerCase() === "n") {
42431
42431
  this.value = false;
42432
42432
  return this.submit();
42433
42433
  }
@@ -42868,7 +42868,7 @@ var require_style2 = __commonJS({
42868
42868
  "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/style.js"(exports, module2) {
42869
42869
  "use strict";
42870
42870
  init_esm_shims();
42871
- var c107 = require_kleur();
42871
+ var c105 = require_kleur();
42872
42872
  var figures = require_figures2();
42873
42873
  var styles3 = Object.freeze({
42874
42874
  password: { scale: 1, render: (input) => "*".repeat(input.length) },
@@ -42878,14 +42878,14 @@ var require_style2 = __commonJS({
42878
42878
  });
42879
42879
  var render = (type) => styles3[type] || styles3.default;
42880
42880
  var symbols = Object.freeze({
42881
- aborted: c107.red(figures.cross),
42882
- done: c107.green(figures.tick),
42883
- exited: c107.yellow(figures.cross),
42884
- default: c107.cyan("?")
42881
+ aborted: c105.red(figures.cross),
42882
+ done: c105.green(figures.tick),
42883
+ exited: c105.yellow(figures.cross),
42884
+ default: c105.cyan("?")
42885
42885
  });
42886
42886
  var symbol2 = (done, aborted2, exited) => aborted2 ? symbols.aborted : exited ? symbols.exited : done ? symbols.done : symbols.default;
42887
- var delimiter = (completing) => c107.gray(completing ? figures.ellipsis : figures.pointerSmall);
42888
- var item = (expandable, expanded) => c107.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
42887
+ var delimiter = (completing) => c105.gray(completing ? figures.ellipsis : figures.pointerSmall);
42888
+ var item = (expandable, expanded) => c105.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
42889
42889
  module2.exports = {
42890
42890
  styles: styles3,
42891
42891
  render,
@@ -43118,10 +43118,10 @@ var require_text2 = __commonJS({
43118
43118
  this.cursor = this.cursor + n;
43119
43119
  this.cursorOffset += n;
43120
43120
  }
43121
- _(c107, key) {
43121
+ _(c105, key) {
43122
43122
  let s1 = this.value.slice(0, this.cursor);
43123
43123
  let s2 = this.value.slice(this.cursor);
43124
- this.value = `${s1}${c107}${s2}`;
43124
+ this.value = `${s1}${c105}${s2}`;
43125
43125
  this.red = false;
43126
43126
  this.cursor = this.placeholder ? 0 : s1.length + 1;
43127
43127
  this.render();
@@ -43295,8 +43295,8 @@ var require_select2 = __commonJS({
43295
43295
  this.moveCursor((this.cursor + 1) % this.choices.length);
43296
43296
  this.render();
43297
43297
  }
43298
- _(c107, key) {
43299
- if (c107 === " ") return this.submit();
43298
+ _(c105, key) {
43299
+ if (c105 === " ") return this.submit();
43300
43300
  }
43301
43301
  get selection() {
43302
43302
  return this.choices[this.cursor];
@@ -43420,12 +43420,12 @@ var require_toggle2 = __commonJS({
43420
43420
  this.fire();
43421
43421
  this.render();
43422
43422
  }
43423
- _(c107, key) {
43424
- if (c107 === " ") {
43423
+ _(c105, key) {
43424
+ if (c105 === " ") {
43425
43425
  this.value = !this.value;
43426
- } else if (c107 === "1") {
43426
+ } else if (c105 === "1") {
43427
43427
  this.value = true;
43428
- } else if (c107 === "0") {
43428
+ } else if (c105 === "0") {
43429
43429
  this.value = false;
43430
43430
  } else return this.bell();
43431
43431
  this.render();
@@ -43881,9 +43881,9 @@ var require_date2 = __commonJS({
43881
43881
  this.moveCursor(next ? this.parts.indexOf(next) : this.parts.findIndex((part) => part instanceof DatePart));
43882
43882
  this.render();
43883
43883
  }
43884
- _(c107) {
43885
- if (/\d/.test(c107)) {
43886
- this.typed += c107;
43884
+ _(c105) {
43885
+ if (/\d/.test(c105)) {
43886
+ this.typed += c105;
43887
43887
  this.parts[this.cursor].setTo(this.typed);
43888
43888
  this.render();
43889
43889
  }
@@ -43965,8 +43965,8 @@ var require_number2 = __commonJS({
43965
43965
  parse(x2) {
43966
43966
  return this.float ? parseFloat(x2) : parseInt(x2);
43967
43967
  }
43968
- valid(c107) {
43969
- return c107 === `-` || c107 === `.` && this.float || isNumber.test(c107);
43968
+ valid(c105) {
43969
+ return c105 === `-` || c105 === `.` && this.float || isNumber.test(c105);
43970
43970
  }
43971
43971
  reset() {
43972
43972
  this.typed = ``;
@@ -44053,14 +44053,14 @@ var require_number2 = __commonJS({
44053
44053
  this.fire();
44054
44054
  this.render();
44055
44055
  }
44056
- _(c107, key) {
44057
- if (!this.valid(c107)) return this.bell();
44056
+ _(c105, key) {
44057
+ if (!this.valid(c105)) return this.bell();
44058
44058
  const now = Date.now();
44059
44059
  if (now - this.lastHit > 1e3) this.typed = ``;
44060
- this.typed += c107;
44060
+ this.typed += c105;
44061
44061
  this.lastHit = now;
44062
44062
  this.color = `cyan`;
44063
- if (c107 === `.`) return this.fire();
44063
+ if (c105 === `.`) return this.fire();
44064
44064
  this.value = Math.min(this.parse(this.typed), this.max);
44065
44065
  if (this.value > this.max) this.value = this.max;
44066
44066
  if (this.value < this.min) this.value = this.min;
@@ -44222,10 +44222,10 @@ var require_multiselect2 = __commonJS({
44222
44222
  this.value.filter((v) => !v.disabled).forEach((v) => v.selected = newSelected);
44223
44223
  this.render();
44224
44224
  }
44225
- _(c107, key) {
44226
- if (c107 === " ") {
44225
+ _(c105, key) {
44226
+ if (c105 === " ") {
44227
44227
  this.handleSpaceToggle();
44228
- } else if (c107 === "a") {
44228
+ } else if (c105 === "a") {
44229
44229
  this.toggleAll();
44230
44230
  } else {
44231
44231
  return this.bell();
@@ -44422,10 +44422,10 @@ var require_autocomplete2 = __commonJS({
44422
44422
  this.out.write("\n");
44423
44423
  this.close();
44424
44424
  }
44425
- _(c107, key) {
44425
+ _(c105, key) {
44426
44426
  let s1 = this.input.slice(0, this.cursor);
44427
44427
  let s2 = this.input.slice(this.cursor);
44428
- this.input = `${s1}${c107}${s2}`;
44428
+ this.input = `${s1}${c105}${s2}`;
44429
44429
  this.cursor = s1.length + 1;
44430
44430
  this.complete(this.render);
44431
44431
  this.render();
@@ -44628,15 +44628,15 @@ var require_autocompleteMultiselect2 = __commonJS({
44628
44628
  this.render();
44629
44629
  }
44630
44630
  }
44631
- handleInputChange(c107) {
44632
- this.inputValue = this.inputValue + c107;
44631
+ handleInputChange(c105) {
44632
+ this.inputValue = this.inputValue + c105;
44633
44633
  this.updateFilteredOptions();
44634
44634
  }
44635
- _(c107, key) {
44636
- if (c107 === " ") {
44635
+ _(c105, key) {
44636
+ if (c105 === " ") {
44637
44637
  this.handleSpaceToggle();
44638
44638
  } else {
44639
- this.handleInputChange(c107);
44639
+ this.handleInputChange(c105);
44640
44640
  }
44641
44641
  }
44642
44642
  renderInstructions() {
@@ -44743,12 +44743,12 @@ var require_confirm2 = __commonJS({
44743
44743
  this.out.write("\n");
44744
44744
  this.close();
44745
44745
  }
44746
- _(c107, key) {
44747
- if (c107.toLowerCase() === "y") {
44746
+ _(c105, key) {
44747
+ if (c105.toLowerCase() === "y") {
44748
44748
  this.value = true;
44749
44749
  return this.submit();
44750
44750
  }
44751
- if (c107.toLowerCase() === "n") {
44751
+ if (c105.toLowerCase() === "n") {
44752
44752
  this.value = false;
44753
44753
  return this.submit();
44754
44754
  }
@@ -45634,9 +45634,9 @@ var require_Alias = __commonJS({
45634
45634
  } else if (identity.isCollection(node2)) {
45635
45635
  let count = 0;
45636
45636
  for (const item of node2.items) {
45637
- const c107 = getAliasCount(doc, item, anchors2);
45638
- if (c107 > count)
45639
- count = c107;
45637
+ const c105 = getAliasCount(doc, item, anchors2);
45638
+ if (c105 > count)
45639
+ count = c105;
45640
45640
  }
45641
45641
  return count;
45642
45642
  } else if (identity.isPair(node2)) {
@@ -53176,8 +53176,8 @@ function _htmlElementAsString(el, keyAttrs) {
53176
53176
  const className = elem.className;
53177
53177
  if (className && isString(className)) {
53178
53178
  const classes = className.split(/\s+/);
53179
- for (const c107 of classes) {
53180
- out.push(`.${c107}`);
53179
+ for (const c105 of classes) {
53180
+ out.push(`.${c105}`);
53181
53181
  }
53182
53182
  }
53183
53183
  }
@@ -53409,9 +53409,9 @@ function uuid4(crypto = getCrypto()) {
53409
53409
  }
53410
53410
  return emptyUuid.replace(
53411
53411
  /[018]/g,
53412
- (c107) => (
53412
+ (c105) => (
53413
53413
  // eslint-disable-next-line no-bitwise
53414
- (c107 ^ (getRandomByte() & 15) >> c107 / 4).toString(16)
53414
+ (c105 ^ (getRandomByte() & 15) >> c105 / 4).toString(16)
53415
53415
  )
53416
53416
  );
53417
53417
  }
@@ -72468,16 +72468,16 @@ var HonoInstrumentation = class extends InstrumentationBase {
72468
72468
  */
72469
72469
  _wrapHandler(handler) {
72470
72470
  const instrumentation = this;
72471
- return function(c107, next) {
72471
+ return function(c105, next) {
72472
72472
  if (!instrumentation.isEnabled()) {
72473
- return handler.apply(this, [c107, next]);
72473
+ return handler.apply(this, [c105, next]);
72474
72474
  }
72475
- const path3 = c107.req.path;
72475
+ const path3 = c105.req.path;
72476
72476
  const span = instrumentation.tracer.startSpan(path3);
72477
72477
  return context.with(trace.setSpan(context.active(), span), () => {
72478
72478
  return instrumentation._safeExecute(
72479
72479
  () => {
72480
- const result = handler.apply(this, [c107, next]);
72480
+ const result = handler.apply(this, [c105, next]);
72481
72481
  if (isThenable(result)) {
72482
72482
  return result.then((result2) => {
72483
72483
  const type = instrumentation._determineHandlerType(result2);
@@ -74083,7 +74083,7 @@ if (DSN) {
74083
74083
  init2({
74084
74084
  dsn: DSN,
74085
74085
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
74086
- release: "9.162.0",
74086
+ release: "9.162.1",
74087
74087
  sendDefaultPii: false,
74088
74088
  tracesSampleRate: 0,
74089
74089
  shutdownTimeout: 500,
@@ -74102,7 +74102,7 @@ if (DSN) {
74102
74102
  }
74103
74103
  });
74104
74104
  setContext("cli", {
74105
- version: "9.162.0",
74105
+ version: "9.162.1",
74106
74106
  command: process.argv.slice(2).join(" ")
74107
74107
  });
74108
74108
  setContext("runtime", {
@@ -74500,12 +74500,6 @@ var FEATURE_SWITCHES = {
74500
74500
  enabled: false,
74501
74501
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES
74502
74502
  },
74503
- ["openDesignGenerate" /* OpenDesignGenerate */]: {
74504
- maintainer: "ethan@vm0.ai",
74505
- description: "Use agent-authored OpenDesign-style HTML packets for website and presentation built-in generation. Staff-only during rollout.",
74506
- enabled: false,
74507
- enabledOrgIdHashes: STAFF_ORG_ID_HASHES
74508
- },
74509
74503
  ["sandboxIoLimiters" /* SandboxIoLimiters */]: {
74510
74504
  maintainer: "liangyou@vm0.ai",
74511
74505
  description: "Enable runner-provided disk and network device rate limiters for sandbox VMs.",
@@ -77710,7 +77704,7 @@ var $ZodBase64 = /* @__PURE__ */ $constructor("$ZodBase64", (inst, def) => {
77710
77704
  function isValidBase64URL(data) {
77711
77705
  if (!base64url.test(data))
77712
77706
  return false;
77713
- const base643 = data.replace(/[-_]/g, (c107) => c107 === "-" ? "+" : "/");
77707
+ const base643 = data.replace(/[-_]/g, (c105) => c105 === "-" ? "+" : "/");
77714
77708
  const padded = base643.padEnd(Math.ceil(base643.length / 4) * 4, "=");
77715
77709
  return isValidBase64(padded);
77716
77710
  }
@@ -87821,9 +87815,9 @@ var ZodDate = /* @__PURE__ */ $constructor("ZodDate", (inst, def) => {
87821
87815
  inst._zod.processJSONSchema = (ctx, json2, params) => dateProcessor(inst, ctx, json2, params);
87822
87816
  inst.min = (value, params) => inst.check(_gte(value, params));
87823
87817
  inst.max = (value, params) => inst.check(_lte(value, params));
87824
- const c107 = inst._zod.bag;
87825
- inst.minDate = c107.minimum ? new Date(c107.minimum) : null;
87826
- inst.maxDate = c107.maximum ? new Date(c107.maximum) : null;
87818
+ const c105 = inst._zod.bag;
87819
+ inst.minDate = c105.minimum ? new Date(c105.minimum) : null;
87820
+ inst.maxDate = c105.maximum ? new Date(c105.maximum) : null;
87827
87821
  });
87828
87822
  function date3(params) {
87829
87823
  return _date(ZodDate, params);
@@ -110437,25 +110431,6 @@ var summaryEntrySchema = external_exports.union([
110437
110431
  toolSummaryEntrySchema,
110438
110432
  textSummaryEntrySchema
110439
110433
  ]);
110440
- var storedChatMessageBaseSchema = external_exports.object({
110441
- id: external_exports.string().optional(),
110442
- content: external_exports.string().nullable(),
110443
- runId: external_exports.string().optional(),
110444
- revokesMessageId: external_exports.string().optional(),
110445
- interruptsRunId: external_exports.string().optional(),
110446
- error: external_exports.string().optional(),
110447
- attachFiles: external_exports.array(resolvedAttachFileSchema).optional(),
110448
- createdAt: external_exports.string()
110449
- });
110450
- var storedChatMessageSchema = external_exports.discriminatedUnion("role", [
110451
- storedChatMessageBaseSchema.extend({
110452
- role: external_exports.literal("user")
110453
- }).strict(),
110454
- storedChatMessageBaseSchema.extend({
110455
- role: external_exports.literal("assistant"),
110456
- status: external_exports.string().optional()
110457
- })
110458
- ]);
110459
110434
  var pagedChatMessageBaseSchema = external_exports.object({
110460
110435
  id: external_exports.string(),
110461
110436
  content: external_exports.string().nullable(),
@@ -110479,7 +110454,6 @@ var chatThreadDetailSchema = external_exports.object({
110479
110454
  id: external_exports.string(),
110480
110455
  title: external_exports.string().nullable(),
110481
110456
  agentId: external_exports.string(),
110482
- chatMessages: external_exports.array(storedChatMessageSchema),
110483
110457
  latestSessionId: external_exports.string().nullable(),
110484
110458
  /**
110485
110459
  * ID of the latest message this user has marked read in this thread.
@@ -113544,94 +113518,6 @@ async function generateWebVideo(options) {
113544
113518
  fallback: "Failed to generate video"
113545
113519
  });
113546
113520
  }
113547
- async function generateWebPresentation(options) {
113548
- const baseUrl = await getBaseUrl();
113549
- const token = await getActiveToken();
113550
- if (!token) {
113551
- throw new ApiRequestError("Not authenticated", "UNAUTHORIZED", 401);
113552
- }
113553
- const headers = {
113554
- Authorization: `Bearer ${token}`,
113555
- "Content-Type": "application/json"
113556
- };
113557
- const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
113558
- if (bypassSecret) {
113559
- headers["x-vercel-protection-bypass"] = bypassSecret;
113560
- }
113561
- const response = await fetch(
113562
- new URL("/api/zero/presentation-io/generate", baseUrl),
113563
- {
113564
- method: "POST",
113565
- headers,
113566
- body: JSON.stringify({
113567
- prompt: options.prompt,
113568
- ...options.style ? { style: options.style } : {},
113569
- ...options.slideCount !== void 0 ? { slideCount: options.slideCount } : {},
113570
- ...options.imageCount !== void 0 ? { imageCount: options.imageCount } : {},
113571
- ...options.imageModel ? { imageModel: options.imageModel } : {},
113572
- ...options.theme ? { theme: options.theme } : {},
113573
- ...options.audience ? { audience: options.audience } : {},
113574
- ...options.title ? { title: options.title } : {}
113575
- })
113576
- }
113577
- );
113578
- if (!response.ok) {
113579
- const { message, code } = await parseErrorBody2(
113580
- response,
113581
- "Failed to generate presentation"
113582
- );
113583
- throw new ApiRequestError(message, code, response.status);
113584
- }
113585
- return readBuiltInGenerationResponse({
113586
- response,
113587
- baseUrl,
113588
- token,
113589
- fallback: "Failed to generate presentation"
113590
- });
113591
- }
113592
- async function generateWebWebsite(options) {
113593
- const baseUrl = await getBaseUrl();
113594
- const token = await getActiveToken();
113595
- if (!token) {
113596
- throw new ApiRequestError("Not authenticated", "UNAUTHORIZED", 401);
113597
- }
113598
- const headers = {
113599
- Authorization: `Bearer ${token}`,
113600
- "Content-Type": "application/json"
113601
- };
113602
- const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
113603
- if (bypassSecret) {
113604
- headers["x-vercel-protection-bypass"] = bypassSecret;
113605
- }
113606
- const response = await fetch(
113607
- new URL("/api/zero/website-io/generate", baseUrl),
113608
- {
113609
- method: "POST",
113610
- headers,
113611
- body: JSON.stringify({
113612
- prompt: options.prompt,
113613
- ...options.template ? { template: options.template } : {},
113614
- ...options.imageCount !== void 0 ? { imageCount: options.imageCount } : {},
113615
- ...options.imageModel ? { imageModel: options.imageModel } : {},
113616
- ...options.title ? { title: options.title } : {},
113617
- ...options.audience ? { audience: options.audience } : {}
113618
- })
113619
- }
113620
- );
113621
- if (!response.ok) {
113622
- const { message, code } = await parseErrorBody2(
113623
- response,
113624
- "Failed to generate website"
113625
- );
113626
- throw new ApiRequestError(message, code, response.status);
113627
- }
113628
- return readBuiltInGenerationResponse({
113629
- response,
113630
- baseUrl,
113631
- token,
113632
- fallback: "Failed to generate website"
113633
- });
113634
- }
113635
113521
 
113636
113522
  // src/lib/api/domains/zero-host.ts
113637
113523
  init_esm_shims();
@@ -133104,193 +132990,10 @@ var zeroVideoIoGenerateContract = c93.router({
133104
132990
  }
133105
132991
  });
133106
132992
 
133107
- // ../../packages/api-contracts/src/contracts/zero-presentation-io-generate.ts
133108
- init_esm_shims();
133109
- var c94 = initContract();
133110
- var zeroPresentationIoGenerateRequestSchema = external_exports.object({
133111
- prompt: external_exports.unknown().optional(),
133112
- style: external_exports.unknown().optional(),
133113
- slideCount: external_exports.unknown().optional(),
133114
- imageCount: external_exports.unknown().optional(),
133115
- imageModel: external_exports.unknown().optional(),
133116
- theme: external_exports.unknown().optional(),
133117
- audience: external_exports.unknown().optional(),
133118
- title: external_exports.unknown().optional()
133119
- }).passthrough();
133120
- var zeroPresentationIoUsageSchema = external_exports.object({
133121
- inputTokens: external_exports.number(),
133122
- outputTokens: external_exports.number(),
133123
- totalTokens: external_exports.number()
133124
- });
133125
- var zeroPresentationIoGenerateResponseSchema = external_exports.object({
133126
- id: external_exports.string(),
133127
- filename: external_exports.string(),
133128
- contentType: external_exports.string(),
133129
- size: external_exports.number(),
133130
- url: external_exports.string(),
133131
- creditsCharged: external_exports.number(),
133132
- model: external_exports.string(),
133133
- style: external_exports.string(),
133134
- theme: external_exports.string(),
133135
- slideCount: external_exports.number(),
133136
- imageCount: external_exports.number(),
133137
- imageModel: external_exports.string(),
133138
- imageUrls: external_exports.array(external_exports.string()),
133139
- imageCreditsCharged: external_exports.number(),
133140
- textCreditsCharged: external_exports.number(),
133141
- title: external_exports.string(),
133142
- responseId: external_exports.string().optional(),
133143
- usage: zeroPresentationIoUsageSchema
133144
- });
133145
- var zeroPresentationIoGenerateContract = c94.router({
133146
- post: {
133147
- method: "POST",
133148
- path: "/api/zero/presentation-io/generate",
133149
- headers: authHeadersSchema,
133150
- body: zeroPresentationIoGenerateRequestSchema,
133151
- responses: {
133152
- 200: zeroPresentationIoGenerateResponseSchema,
133153
- 202: zeroBuiltInGenerationAcceptedResponseSchema,
133154
- 400: apiErrorSchema,
133155
- 401: apiErrorSchema,
133156
- 402: apiErrorSchema,
133157
- 403: apiErrorSchema,
133158
- 500: apiErrorSchema,
133159
- 502: apiErrorSchema,
133160
- 503: apiErrorSchema
133161
- },
133162
- summary: "Generate and persist an HTML presentation file"
133163
- }
133164
- });
133165
-
133166
- // ../../packages/api-contracts/src/contracts/zero-website-io-generate.ts
133167
- init_esm_shims();
133168
- var c95 = initContract();
133169
- var zeroWebsiteTemplateIdSchema = external_exports.enum(["launch", "profile"]);
133170
- var zeroWebsiteTemplateRequestSchema = external_exports.enum([
133171
- "auto",
133172
- "launch",
133173
- "profile"
133174
- ]);
133175
- var zeroWebsiteIoGenerateRequestSchema = external_exports.object({
133176
- prompt: external_exports.unknown().optional(),
133177
- template: external_exports.unknown().optional(),
133178
- imageCount: external_exports.unknown().optional(),
133179
- imageModel: external_exports.unknown().optional(),
133180
- title: external_exports.unknown().optional(),
133181
- audience: external_exports.unknown().optional()
133182
- }).passthrough();
133183
- var zeroWebsiteIoUsageSchema = external_exports.object({
133184
- inputTokens: external_exports.number(),
133185
- outputTokens: external_exports.number(),
133186
- totalTokens: external_exports.number()
133187
- });
133188
- var zeroWebsiteCtaSchema = external_exports.object({
133189
- label: external_exports.string(),
133190
- href: external_exports.string()
133191
- });
133192
- var zeroWebsiteHighlightSchema = external_exports.object({
133193
- title: external_exports.string(),
133194
- body: external_exports.string()
133195
- });
133196
- var zeroWebsiteSectionSchema = external_exports.object({
133197
- kicker: external_exports.string(),
133198
- title: external_exports.string(),
133199
- body: external_exports.string(),
133200
- bullets: external_exports.array(external_exports.string())
133201
- });
133202
- var zeroWebsiteStatSchema = external_exports.object({
133203
- label: external_exports.string(),
133204
- value: external_exports.string()
133205
- });
133206
- var zeroWebsiteFooterSchema = external_exports.object({
133207
- title: external_exports.string(),
133208
- body: external_exports.string(),
133209
- cta: zeroWebsiteCtaSchema
133210
- });
133211
- var zeroWebsiteThemeSchema = external_exports.object({
133212
- accent: external_exports.enum(["cobalt", "green", "coral", "mono"]),
133213
- tone: external_exports.enum(["light", "dark"])
133214
- });
133215
- var zeroWebsiteVisualPlacementSchema = external_exports.enum([
133216
- "hero",
133217
- "feature",
133218
- "section"
133219
- ]);
133220
- var zeroWebsiteVisualSpecSchema = external_exports.object({
133221
- placement: zeroWebsiteVisualPlacementSchema,
133222
- prompt: external_exports.string(),
133223
- alt: external_exports.string()
133224
- });
133225
- var zeroWebsiteGeneratedVisualSchema = external_exports.object({
133226
- placement: zeroWebsiteVisualPlacementSchema,
133227
- url: external_exports.string(),
133228
- alt: external_exports.string(),
133229
- prompt: external_exports.string(),
133230
- imageId: external_exports.string(),
133231
- filename: external_exports.string(),
133232
- creditsCharged: external_exports.number()
133233
- });
133234
- var zeroWebsiteSiteDataSchema = external_exports.object({
133235
- siteName: external_exports.string(),
133236
- eyebrow: external_exports.string(),
133237
- headline: external_exports.string(),
133238
- subhead: external_exports.string(),
133239
- primaryCta: zeroWebsiteCtaSchema,
133240
- secondaryCta: zeroWebsiteCtaSchema,
133241
- highlights: external_exports.array(zeroWebsiteHighlightSchema),
133242
- sections: external_exports.array(zeroWebsiteSectionSchema),
133243
- stats: external_exports.array(zeroWebsiteStatSchema),
133244
- footer: zeroWebsiteFooterSchema,
133245
- theme: zeroWebsiteThemeSchema,
133246
- visuals: external_exports.array(zeroWebsiteVisualSpecSchema)
133247
- });
133248
- var zeroWebsiteGenerationPayloadSchema = external_exports.object({
133249
- templateId: zeroWebsiteTemplateIdSchema,
133250
- siteData: zeroWebsiteSiteDataSchema
133251
- });
133252
- var zeroWebsiteIoGenerateResponseSchema = external_exports.object({
133253
- generationId: external_exports.string(),
133254
- templateId: zeroWebsiteTemplateIdSchema,
133255
- templateLabel: external_exports.string(),
133256
- slugSuggestion: external_exports.string(),
133257
- siteData: zeroWebsiteSiteDataSchema,
133258
- creditsCharged: external_exports.number(),
133259
- textCreditsCharged: external_exports.number(),
133260
- imageCreditsCharged: external_exports.number(),
133261
- model: external_exports.string(),
133262
- imageCount: external_exports.number(),
133263
- imageModel: external_exports.string(),
133264
- imageUrls: external_exports.array(external_exports.string()),
133265
- generatedVisuals: external_exports.array(zeroWebsiteGeneratedVisualSchema),
133266
- responseId: external_exports.string().optional(),
133267
- usage: zeroWebsiteIoUsageSchema
133268
- });
133269
- var zeroWebsiteIoGenerateContract = c95.router({
133270
- post: {
133271
- method: "POST",
133272
- path: "/api/zero/website-io/generate",
133273
- headers: authHeadersSchema,
133274
- body: zeroWebsiteIoGenerateRequestSchema,
133275
- responses: {
133276
- 200: zeroWebsiteIoGenerateResponseSchema,
133277
- 202: zeroBuiltInGenerationAcceptedResponseSchema,
133278
- 400: apiErrorSchema,
133279
- 401: apiErrorSchema,
133280
- 402: apiErrorSchema,
133281
- 403: apiErrorSchema,
133282
- 500: apiErrorSchema,
133283
- 502: apiErrorSchema,
133284
- 503: apiErrorSchema
133285
- },
133286
- summary: "Generate structured content for a hosted website template"
133287
- }
133288
- });
133289
-
133290
132993
  // ../../packages/api-contracts/src/contracts/internal-callbacks-agent.ts
133291
132994
  init_esm_shims();
133292
- var c96 = initContract();
133293
- var internalCallbacksAgentContract = c96.router({
132995
+ var c94 = initContract();
132996
+ var internalCallbacksAgentContract = c94.router({
133294
132997
  post: {
133295
132998
  method: "POST",
133296
132999
  path: "/api/internal/callbacks/agent",
@@ -133308,7 +133011,7 @@ var internalCallbacksAgentContract = c96.router({
133308
133011
 
133309
133012
  // ../../packages/api-contracts/src/contracts/internal-callbacks-github-issues.ts
133310
133013
  init_esm_shims();
133311
- var c97 = initContract();
133014
+ var c95 = initContract();
133312
133015
  var githubIssuesCallbackPayloadSchema = external_exports.object({
133313
133016
  installationId: external_exports.string(),
133314
133017
  repo: external_exports.string(),
@@ -133319,7 +133022,7 @@ var githubIssuesCallbackPayloadSchema = external_exports.object({
133319
133022
  triggerReactionId: external_exports.string().optional(),
133320
133023
  triggerCommentBody: external_exports.string().optional()
133321
133024
  }).passthrough();
133322
- var internalCallbacksGithubIssuesContract = c97.router({
133025
+ var internalCallbacksGithubIssuesContract = c95.router({
133323
133026
  post: {
133324
133027
  method: "POST",
133325
133028
  path: "/api/internal/callbacks/github/issues",
@@ -133340,7 +133043,7 @@ var internalCallbacksGithubIssuesContract = c97.router({
133340
133043
 
133341
133044
  // ../../packages/api-contracts/src/contracts/internal-callbacks-schedule.ts
133342
133045
  init_esm_shims();
133343
- var c98 = initContract();
133046
+ var c96 = initContract();
133344
133047
  var scheduleLoopCallbackPayloadSchema = external_exports.object({
133345
133048
  scheduleId: external_exports.string()
133346
133049
  }).passthrough();
@@ -133348,7 +133051,7 @@ var scheduleCronCallbackPayloadSchema = scheduleLoopCallbackPayloadSchema.extend
133348
133051
  timezone: external_exports.string(),
133349
133052
  cronExpression: external_exports.string().optional()
133350
133053
  }).passthrough();
133351
- var internalCallbacksScheduleContract = c98.router({
133054
+ var internalCallbacksScheduleContract = c96.router({
133352
133055
  cron: {
133353
133056
  method: "POST",
133354
133057
  path: "/api/internal/callbacks/schedule/cron",
@@ -133383,13 +133086,13 @@ var internalCallbacksScheduleContract = c98.router({
133383
133086
 
133384
133087
  // ../../packages/api-contracts/src/contracts/zero-voice-io-quota.ts
133385
133088
  init_esm_shims();
133386
- var c99 = initContract();
133089
+ var c97 = initContract();
133387
133090
  var audioInputQuotaResponseSchema = external_exports.object({
133388
133091
  allowed: external_exports.boolean(),
133389
133092
  count: external_exports.number().int().nonnegative(),
133390
133093
  limit: external_exports.number().int().positive().nullable()
133391
133094
  });
133392
- var zeroVoiceIoQuotaContract = c99.router({
133095
+ var zeroVoiceIoQuotaContract = c97.router({
133393
133096
  get: {
133394
133097
  method: "GET",
133395
133098
  path: "/api/zero/voice-io/quota",
@@ -133405,7 +133108,7 @@ var zeroVoiceIoQuotaContract = c99.router({
133405
133108
 
133406
133109
  // ../../packages/api-contracts/src/contracts/zero-voice-io-speech.ts
133407
133110
  init_esm_shims();
133408
- var c100 = initContract();
133111
+ var c98 = initContract();
133409
133112
  var zeroVoiceIoSpeechRequestSchema = external_exports.object({
133410
133113
  text: external_exports.unknown().optional(),
133411
133114
  voice: external_exports.unknown().optional(),
@@ -133422,7 +133125,7 @@ var zeroVoiceIoSpeechResponseSchema = external_exports.object({
133422
133125
  model: external_exports.string(),
133423
133126
  voice: external_exports.string()
133424
133127
  });
133425
- var zeroVoiceIoSpeechContract = c100.router({
133128
+ var zeroVoiceIoSpeechContract = c98.router({
133426
133129
  post: {
133427
133130
  method: "POST",
133428
133131
  path: "/api/zero/voice-io/speech",
@@ -133444,7 +133147,7 @@ var zeroVoiceIoSpeechContract = c100.router({
133444
133147
 
133445
133148
  // ../../packages/api-contracts/src/contracts/zero-voice-io-stt.ts
133446
133149
  init_esm_shims();
133447
- var c101 = initContract();
133150
+ var c99 = initContract();
133448
133151
  var zeroVoiceIoSttResponseSchema = external_exports.object({
133449
133152
  text: external_exports.string()
133450
133153
  });
@@ -133454,13 +133157,13 @@ var zeroVoiceIoSttQuotaErrorSchema = apiErrorSchema.extend({
133454
133157
  limit: external_exports.number().nullable()
133455
133158
  }).optional()
133456
133159
  });
133457
- var zeroVoiceIoSttContract = c101.router({
133160
+ var zeroVoiceIoSttContract = c99.router({
133458
133161
  post: {
133459
133162
  method: "POST",
133460
133163
  path: "/api/zero/voice-io/stt",
133461
133164
  headers: authHeadersSchema,
133462
133165
  contentType: "multipart/form-data",
133463
- body: c101.type(),
133166
+ body: c99.type(),
133464
133167
  responses: {
133465
133168
  200: zeroVoiceIoSttResponseSchema,
133466
133169
  400: apiErrorSchema,
@@ -133476,18 +133179,18 @@ var zeroVoiceIoSttContract = c101.router({
133476
133179
 
133477
133180
  // ../../packages/api-contracts/src/contracts/zero-voice-io-tts.ts
133478
133181
  init_esm_shims();
133479
- var c102 = initContract();
133182
+ var c100 = initContract();
133480
133183
  var zeroVoiceIoTtsRequestSchema = external_exports.object({
133481
133184
  text: external_exports.unknown().optional()
133482
133185
  }).passthrough();
133483
- var zeroVoiceIoTtsContract = c102.router({
133186
+ var zeroVoiceIoTtsContract = c100.router({
133484
133187
  post: {
133485
133188
  method: "POST",
133486
133189
  path: "/api/zero/voice-io/tts",
133487
133190
  headers: authHeadersSchema,
133488
133191
  body: zeroVoiceIoTtsRequestSchema,
133489
133192
  responses: {
133490
- 200: c102.otherResponse({
133193
+ 200: c100.otherResponse({
133491
133194
  contentType: "application/octet-stream",
133492
133195
  body: external_exports.unknown()
133493
133196
  }),
@@ -133502,7 +133205,7 @@ var zeroVoiceIoTtsContract = c102.router({
133502
133205
 
133503
133206
  // ../../packages/api-contracts/src/contracts/zero-uploads.ts
133504
133207
  init_esm_shims();
133505
- var c103 = initContract();
133208
+ var c101 = initContract();
133506
133209
  var prepareRequestSchema = external_exports.object({
133507
133210
  filename: external_exports.string().min(1).max(255),
133508
133211
  contentType: external_exports.string().min(1).max(200),
@@ -133529,7 +133232,7 @@ var completeResponseSchema = external_exports.object({
133529
133232
  size: external_exports.number(),
133530
133233
  url: external_exports.string().url()
133531
133234
  });
133532
- var zeroUploadsContract = c103.router({
133235
+ var zeroUploadsContract = c101.router({
133533
133236
  prepare: {
133534
133237
  method: "POST",
133535
133238
  path: "/api/zero/uploads/prepare",
@@ -133563,7 +133266,7 @@ var zeroUploadsContract = c103.router({
133563
133266
 
133564
133267
  // ../../packages/api-contracts/src/contracts/zero-host.ts
133565
133268
  init_esm_shims();
133566
- var c104 = initContract();
133269
+ var c102 = initContract();
133567
133270
  var hostedSiteSlugSchema = external_exports.string().trim().min(3).max(63).regex(
133568
133271
  /^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/,
133569
133272
  "Site slug must use lowercase letters, numbers, and hyphens, and must start and end with a letter or number"
@@ -133598,7 +133301,7 @@ var hostedSiteCompleteResponseSchema = external_exports.object({
133598
133301
  url: external_exports.string().url(),
133599
133302
  status: external_exports.literal("ready")
133600
133303
  });
133601
- var zeroHostContract = c104.router({
133304
+ var zeroHostContract = c102.router({
133602
133305
  prepare: {
133603
133306
  method: "POST",
133604
133307
  path: "/api/zero/host/deployments/prepare",
@@ -133637,7 +133340,7 @@ var zeroHostContract = c104.router({
133637
133340
 
133638
133341
  // ../../packages/api-contracts/src/contracts/zero-integrations-telegram.ts
133639
133342
  init_esm_shims();
133640
- var c105 = initContract();
133343
+ var c103 = initContract();
133641
133344
  var telegramEnvironmentSchema = external_exports.object({
133642
133345
  requiredSecrets: external_exports.array(external_exports.string()),
133643
133346
  requiredVars: external_exports.array(external_exports.string()),
@@ -133736,7 +133439,7 @@ var telegramSetupStatusSchema = external_exports.object({
133736
133439
  var telegramWebhookPathParamsSchema = external_exports.object({
133737
133440
  telegramBotId: external_exports.string().min(1)
133738
133441
  });
133739
- var zeroIntegrationsTelegramContract = c105.router({
133442
+ var zeroIntegrationsTelegramContract = c103.router({
133740
133443
  list: {
133741
133444
  method: "GET",
133742
133445
  path: "/api/integrations/telegram",
@@ -133779,9 +133482,9 @@ var zeroIntegrationsTelegramContract = c105.router({
133779
133482
  path: "/api/integrations/telegram/:botId",
133780
133483
  headers: authHeadersSchema,
133781
133484
  pathParams: external_exports.object({ botId: external_exports.string().min(1) }),
133782
- body: c105.noBody(),
133485
+ body: c103.noBody(),
133783
133486
  responses: {
133784
- 204: c105.noBody(),
133487
+ 204: c103.noBody(),
133785
133488
  401: apiErrorSchema,
133786
133489
  403: apiErrorSchema,
133787
133490
  404: apiErrorSchema
@@ -133792,10 +133495,10 @@ var zeroIntegrationsTelegramContract = c105.router({
133792
133495
  method: "DELETE",
133793
133496
  path: "/api/integrations/telegram/link",
133794
133497
  headers: authHeadersSchema,
133795
- body: c105.noBody(),
133498
+ body: c103.noBody(),
133796
133499
  query: external_exports.object({ botId: external_exports.string().optional() }),
133797
133500
  responses: {
133798
- 204: c105.noBody(),
133501
+ 204: c103.noBody(),
133799
133502
  401: apiErrorSchema,
133800
133503
  404: apiErrorSchema
133801
133504
  },
@@ -133826,7 +133529,7 @@ var zeroIntegrationsTelegramContract = c105.router({
133826
133529
  sig: external_exports.string().optional()
133827
133530
  }),
133828
133531
  responses: {
133829
- 200: c105.otherResponse({
133532
+ 200: c103.otherResponse({
133830
133533
  contentType: "application/octet-stream",
133831
133534
  body: external_exports.unknown()
133832
133535
  }),
@@ -133841,7 +133544,7 @@ var zeroIntegrationsTelegramContract = c105.router({
133841
133544
  method: "GET",
133842
133545
  path: "/api/integrations/telegram/auth-callback",
133843
133546
  responses: {
133844
- 200: c105.otherResponse({
133547
+ 200: c103.otherResponse({
133845
133548
  contentType: "text/html",
133846
133549
  body: external_exports.unknown()
133847
133550
  })
@@ -133900,19 +133603,19 @@ var zeroIntegrationsTelegramContract = c105.router({
133900
133603
  pathParams: telegramWebhookPathParamsSchema,
133901
133604
  body: external_exports.unknown(),
133902
133605
  responses: {
133903
- 200: c105.otherResponse({
133606
+ 200: c103.otherResponse({
133904
133607
  contentType: "text/plain",
133905
133608
  body: external_exports.string()
133906
133609
  }),
133907
- 400: c105.otherResponse({
133610
+ 400: c103.otherResponse({
133908
133611
  contentType: "text/plain",
133909
133612
  body: external_exports.string()
133910
133613
  }),
133911
- 401: c105.otherResponse({
133614
+ 401: c103.otherResponse({
133912
133615
  contentType: "text/plain",
133913
133616
  body: external_exports.string()
133914
133617
  }),
133915
- 404: c105.otherResponse({
133618
+ 404: c103.otherResponse({
133916
133619
  contentType: "text/plain",
133917
133620
  body: external_exports.string()
133918
133621
  })
@@ -133923,7 +133626,7 @@ var zeroIntegrationsTelegramContract = c105.router({
133923
133626
 
133924
133627
  // ../../packages/api-contracts/src/contracts/zero-integrations-agentphone.ts
133925
133628
  init_esm_shims();
133926
- var c106 = initContract();
133629
+ var c104 = initContract();
133927
133630
  var agentPhoneConnectBodySchema = external_exports.object({
133928
133631
  phoneHandle: external_exports.string().min(1),
133929
133632
  agentphoneAgentId: external_exports.string().min(1),
@@ -133960,7 +133663,7 @@ var agentPhoneStartLinkResponseSchema = external_exports.object({
133960
133663
  phoneHandle: external_exports.string(),
133961
133664
  verificationSent: external_exports.literal(true)
133962
133665
  });
133963
- var zeroIntegrationsAgentPhoneContract = c106.router({
133666
+ var zeroIntegrationsAgentPhoneContract = c104.router({
133964
133667
  connectAgentPhone: {
133965
133668
  method: "POST",
133966
133669
  path: "/api/agentphone/connect",
@@ -133978,7 +133681,7 @@ var zeroIntegrationsAgentPhoneContract = c106.router({
133978
133681
  method: "POST",
133979
133682
  path: "/api/agentphone/webhook",
133980
133683
  headers: agentPhoneWebhookHeadersSchema,
133981
- body: c106.type(),
133684
+ body: c104.type(),
133982
133685
  responses: {
133983
133686
  200: external_exports.string(),
133984
133687
  400: external_exports.string(),
@@ -134016,9 +133719,9 @@ var zeroIntegrationsAgentPhoneContract = c106.router({
134016
133719
  method: "DELETE",
134017
133720
  path: "/api/integrations/agentphone/link",
134018
133721
  headers: authHeadersSchema,
134019
- body: c106.noBody(),
133722
+ body: c104.noBody(),
134020
133723
  responses: {
134021
- 204: c106.noBody(),
133724
+ 204: c104.noBody(),
134022
133725
  401: apiErrorSchema,
134023
133726
  404: apiErrorSchema
134024
133727
  },
@@ -134473,9 +134176,9 @@ var CodexEventParser = class {
134473
134176
  if (!item.changes || item.changes.length === 0) {
134474
134177
  return null;
134475
134178
  }
134476
- const changes = item.changes.map((c107) => {
134477
- const action = c107.kind === "add" ? "Created" : c107.kind === "modify" ? "Modified" : "Deleted";
134478
- return `${action}: ${c107.path}`;
134179
+ const changes = item.changes.map((c105) => {
134180
+ const action = c105.kind === "add" ? "Created" : c105.kind === "modify" ? "Modified" : "Deleted";
134181
+ return `${action}: ${c105.path}`;
134479
134182
  }).join("\n");
134480
134183
  return {
134481
134184
  type: "text",
@@ -135623,8 +135326,6 @@ export {
135623
135326
  generateWebVoice,
135624
135327
  generateWebImage,
135625
135328
  generateWebVideo,
135626
- generateWebPresentation,
135627
- generateWebWebsite,
135628
135329
  prepareHostedSite,
135629
135330
  completeHostedSite,
135630
135331
  getInstructionsStorageName,
@@ -135676,4 +135377,4 @@ undici/lib/web/fetch/body.js:
135676
135377
  undici/lib/web/websocket/frame.js:
135677
135378
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
135678
135379
  */
135679
- //# sourceMappingURL=chunk-I3LF3KZW.js.map
135380
+ //# sourceMappingURL=chunk-4XWIBE2Y.js.map