@vm0/cli 9.150.7 → 9.150.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4629,8 +4629,8 @@ var require_browser = __commonJS({
4629
4629
  if (!this.useColors) {
4630
4630
  return;
4631
4631
  }
4632
- const c101 = "color: " + this.color;
4633
- args.splice(1, 0, c101, "color: inherit");
4632
+ const c103 = "color: " + this.color;
4633
+ args.splice(1, 0, c103, "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, c101);
4645
+ args.splice(lastC, 0, c103);
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 c101 = this.color;
4934
- const colorCode = "\x1B[3" + (c101 < 8 ? c101 : "8;5;" + c101);
4933
+ const c103 = this.color;
4934
+ const colorCode = "\x1B[3" + (c103 < 8 ? c103 : "8;5;" + c103);
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); i += incr) {
8984
- let c101;
8984
+ let c103;
8985
8985
  if (isAlphaSequence) {
8986
- c101 = String.fromCharCode(i);
8987
- if (c101 === "\\") {
8988
- c101 = "";
8986
+ c103 = String.fromCharCode(i);
8987
+ if (c103 === "\\") {
8988
+ c103 = "";
8989
8989
  }
8990
8990
  } else {
8991
- c101 = String(i);
8991
+ c103 = String(i);
8992
8992
  if (pad) {
8993
- const need = width - c101.length;
8993
+ const need = width - c103.length;
8994
8994
  if (need > 0) {
8995
8995
  const z3 = new Array(need + 1).join("0");
8996
8996
  if (i < 0) {
8997
- c101 = "-" + z3 + c101.slice(1);
8997
+ c103 = "-" + z3 + c103.slice(1);
8998
8998
  } else {
8999
- c101 = z3 + c101;
8999
+ c103 = z3 + c103;
9000
9000
  }
9001
9001
  }
9002
9002
  }
9003
9003
  }
9004
- N.push(c101);
9004
+ N.push(c103);
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 c101 = glob.charAt(i);
9088
- if ((c101 === "!" || c101 === "^") && i === pos + 1) {
9087
+ const c103 = glob.charAt(i);
9088
+ if ((c103 === "!" || c103 === "^") && i === pos + 1) {
9089
9089
  negate = true;
9090
9090
  i++;
9091
9091
  continue;
9092
9092
  }
9093
- if (c101 === "]" && sawStart && !escaping) {
9093
+ if (c103 === "]" && sawStart && !escaping) {
9094
9094
  endPos = i + 1;
9095
9095
  break;
9096
9096
  }
9097
9097
  sawStart = true;
9098
- if (c101 === "\\") {
9098
+ if (c103 === "\\") {
9099
9099
  if (!escaping) {
9100
9100
  escaping = true;
9101
9101
  i++;
9102
9102
  continue;
9103
9103
  }
9104
9104
  }
9105
- if (c101 === "[" && !escaping) {
9105
+ if (c103 === "[" && !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 (c101 > rangeStart) {
9124
- ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c101));
9125
- } else if (c101 === rangeStart) {
9126
- ranges.push(braceEscape(c101));
9123
+ if (c103 > rangeStart) {
9124
+ ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c103));
9125
+ } else if (c103 === rangeStart) {
9126
+ ranges.push(braceEscape(c103));
9127
9127
  }
9128
9128
  rangeStart = "";
9129
9129
  i++;
9130
9130
  continue;
9131
9131
  }
9132
9132
  if (glob.startsWith("-]", i + 1)) {
9133
- ranges.push(braceEscape(c101 + "-"));
9133
+ ranges.push(braceEscape(c103 + "-"));
9134
9134
  i += 2;
9135
9135
  continue;
9136
9136
  }
9137
9137
  if (glob.startsWith("-", i + 1)) {
9138
- rangeStart = c101;
9138
+ rangeStart = c103;
9139
9139
  i += 2;
9140
9140
  continue;
9141
9141
  }
9142
- ranges.push(braceEscape(c101));
9142
+ ranges.push(braceEscape(c103));
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 = (c101) => types.has(c101);
9193
- var isExtglobAST = (c101) => isExtglobType(c101.type);
9192
+ var isExtglobType = (c103) => types.has(c103);
9193
+ var isExtglobAST = (c103) => isExtglobType(c103.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 c101 = new _a2(this.type, parent);
9390
+ const c103 = new _a2(this.type, parent);
9391
9391
  for (const p of this.#parts) {
9392
- c101.copyIn(p);
9392
+ c103.copyIn(p);
9393
9393
  }
9394
- return c101;
9394
+ return c103;
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 c101 = str.charAt(i2++);
9407
- if (escaping || c101 === "\\") {
9406
+ const c103 = str.charAt(i2++);
9407
+ if (escaping || c103 === "\\") {
9408
9408
  escaping = !escaping;
9409
- acc2 += c101;
9409
+ acc2 += c103;
9410
9410
  continue;
9411
9411
  }
9412
9412
  if (inBrace) {
9413
9413
  if (i2 === braceStart + 1) {
9414
- if (c101 === "^" || c101 === "!") {
9414
+ if (c103 === "^" || c103 === "!") {
9415
9415
  braceNeg = true;
9416
9416
  }
9417
- } else if (c101 === "]" && !(i2 === braceStart + 2 && braceNeg)) {
9417
+ } else if (c103 === "]" && !(i2 === braceStart + 2 && braceNeg)) {
9418
9418
  inBrace = false;
9419
9419
  }
9420
- acc2 += c101;
9420
+ acc2 += c103;
9421
9421
  continue;
9422
- } else if (c101 === "[") {
9422
+ } else if (c103 === "[") {
9423
9423
  inBrace = true;
9424
9424
  braceStart = i2;
9425
9425
  braceNeg = false;
9426
- acc2 += c101;
9426
+ acc2 += c103;
9427
9427
  continue;
9428
9428
  }
9429
- const doRecurse = !opt.noext && isExtglobType(c101) && str.charAt(i2) === "(" && extDepth <= maxDepth;
9429
+ const doRecurse = !opt.noext && isExtglobType(c103) && str.charAt(i2) === "(" && extDepth <= maxDepth;
9430
9430
  if (doRecurse) {
9431
9431
  ast.push(acc2);
9432
9432
  acc2 = "";
9433
- const ext = new _a2(c101, ast);
9433
+ const ext = new _a2(c103, ast);
9434
9434
  i2 = _a2.#parseAST(str, ext, i2, opt, extDepth + 1);
9435
9435
  ast.push(ext);
9436
9436
  continue;
9437
9437
  }
9438
- acc2 += c101;
9438
+ acc2 += c103;
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 c101 = str.charAt(i++);
9449
- if (escaping || c101 === "\\") {
9448
+ const c103 = str.charAt(i++);
9449
+ if (escaping || c103 === "\\") {
9450
9450
  escaping = !escaping;
9451
- acc += c101;
9451
+ acc += c103;
9452
9452
  continue;
9453
9453
  }
9454
9454
  if (inBrace) {
9455
9455
  if (i === braceStart + 1) {
9456
- if (c101 === "^" || c101 === "!") {
9456
+ if (c103 === "^" || c103 === "!") {
9457
9457
  braceNeg = true;
9458
9458
  }
9459
- } else if (c101 === "]" && !(i === braceStart + 2 && braceNeg)) {
9459
+ } else if (c103 === "]" && !(i === braceStart + 2 && braceNeg)) {
9460
9460
  inBrace = false;
9461
9461
  }
9462
- acc += c101;
9462
+ acc += c103;
9463
9463
  continue;
9464
- } else if (c101 === "[") {
9464
+ } else if (c103 === "[") {
9465
9465
  inBrace = true;
9466
9466
  braceStart = i;
9467
9467
  braceNeg = false;
9468
- acc += c101;
9468
+ acc += c103;
9469
9469
  continue;
9470
9470
  }
9471
- const doRecurse = !opt.noext && isExtglobType(c101) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
9472
- (extDepth <= maxDepth || ast && ast.#canAdoptType(c101));
9471
+ const doRecurse = !opt.noext && isExtglobType(c103) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
9472
+ (extDepth <= maxDepth || ast && ast.#canAdoptType(c103));
9473
9473
  if (doRecurse) {
9474
- const depthAdd = ast && ast.#canAdoptType(c101) ? 0 : 1;
9474
+ const depthAdd = ast && ast.#canAdoptType(c103) ? 0 : 1;
9475
9475
  part.push(acc);
9476
9476
  acc = "";
9477
- const ext = new _a2(c101, part);
9477
+ const ext = new _a2(c103, part);
9478
9478
  part.push(ext);
9479
9479
  i = _a2.#parseAST(str, ext, i, opt, extDepth + depthAdd);
9480
9480
  continue;
9481
9481
  }
9482
- if (c101 === "|") {
9482
+ if (c103 === "|") {
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 (c101 === ")") {
9489
+ if (c103 === ")") {
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 += c101;
9498
+ acc += c103;
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(c101, map2 = adoptionAnyMap) {
9519
- return !!map2.get(this.type)?.includes(c101);
9518
+ #canAdoptType(c103, map2 = adoptionAnyMap) {
9519
+ return !!map2.get(this.type)?.includes(c103);
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(c101) {
9537
+ #canUsurpType(c103) {
9538
9538
  const m = usurpMap.get(this.type);
9539
- return !!m?.has(c101);
9539
+ return !!m?.has(c103);
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 c101 = this.#parts[i];
9753
- if (typeof c101 === "object") {
9754
- c101.#flatten();
9755
- if (this.#canAdopt(c101)) {
9752
+ const c103 = this.#parts[i];
9753
+ if (typeof c103 === "object") {
9754
+ c103.#flatten();
9755
+ if (this.#canAdopt(c103)) {
9756
9756
  done = false;
9757
- this.#adopt(c101, i);
9758
- } else if (this.#canAdoptWithSpace(c101)) {
9757
+ this.#adopt(c103, i);
9758
+ } else if (this.#canAdoptWithSpace(c103)) {
9759
9759
  done = false;
9760
- this.#adoptWithSpace(c101, i);
9761
- } else if (this.#canUsurp(c101)) {
9760
+ this.#adoptWithSpace(c103, i);
9761
+ } else if (this.#canUsurp(c103)) {
9762
9762
  done = false;
9763
- this.#usurp(c101);
9763
+ this.#usurp(c103);
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 c101 = glob.charAt(i);
9787
+ const c103 = glob.charAt(i);
9788
9788
  if (escaping) {
9789
9789
  escaping = false;
9790
- re += (reSpecials.has(c101) ? "\\" : "") + c101;
9790
+ re += (reSpecials.has(c103) ? "\\" : "") + c103;
9791
9791
  continue;
9792
9792
  }
9793
- if (c101 === "*") {
9793
+ if (c103 === "*") {
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 (c101 === "\\") {
9803
+ if (c103 === "\\") {
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 (c101 === "[") {
9811
+ if (c103 === "[") {
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 (c101 === "?") {
9821
+ if (c103 === "?") {
9822
9822
  re += qmark;
9823
9823
  hasMagic = true;
9824
9824
  continue;
9825
9825
  }
9826
- re += regExpEscape(c101);
9826
+ re += regExpEscape(c103);
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 c101 = pool.config.connectionConfig;
13750
+ const c103 = pool.config.connectionConfig;
13751
13751
  let poolName = "";
13752
- poolName += c101.host ? `host: '${c101.host}', ` : "";
13753
- poolName += c101.port ? `port: ${c101.port}, ` : "";
13754
- poolName += c101.database ? `database: '${c101.database}', ` : "";
13755
- poolName += c101.user ? `user: '${c101.user}'` : "";
13756
- if (!c101.user) {
13752
+ poolName += c103.host ? `host: '${c103.host}', ` : "";
13753
+ poolName += c103.port ? `port: ${c103.port}, ` : "";
13754
+ poolName += c103.database ? `database: '${c103.database}', ` : "";
13755
+ poolName += c103.user ? `user: '${c103.user}'` : "";
13756
+ if (!c103.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, (c101) => `%${c101.charCodeAt(0).toString(16).toUpperCase()}`);
14108
+ return encodeURIComponent(str).replace(/[!'()*]/g, (c103) => `%${c103.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(c101) {
22669
- switch (c101) {
22668
+ function isTokenCharCode(c103) {
22669
+ switch (c103) {
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 c101 >= 33 && c101 <= 126;
22689
+ return c103 >= 33 && c103 <= 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((c101) => c101 !== 44);
24278
+ exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c103) => c103 !== 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 c101 = statusText.charCodeAt(i);
25425
- if (!(c101 === 9 || // HTAB
25426
- c101 >= 32 && c101 <= 126 || // SP / VCHAR
25427
- c101 >= 128 && c101 <= 255)) {
25424
+ const c103 = statusText.charCodeAt(i);
25425
+ if (!(c103 === 9 || // HTAB
25426
+ c103 >= 32 && c103 <= 126 || // SP / VCHAR
25427
+ c103 >= 128 && c103 <= 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((c101) => c101.close())).then(pool[kClosedResolve]);
29401
+ Promise.all(pool[kClients].map((c103) => c103.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((c101) => c101.close()));
29450
+ await Promise.all(this[kClients].map((c103) => c103.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((c101) => c101.destroy(err)));
29465
+ await Promise.all(this[kClients].map((c103) => c103.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, c101] = ioQueue;
36236
- if (a === 239 && b === 187 && c101 === 191) {
36235
+ const [a, b, c103] = ioQueue;
36236
+ if (a === 239 && b === 187 && c103 === 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 c101 = require_kleur();
40359
+ var c103 = 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: c101.red(figures.cross),
40382
- done: c101.green(figures.tick),
40383
- exited: c101.yellow(figures.cross),
40384
- default: c101.cyan("?")
40381
+ aborted: c103.red(figures.cross),
40382
+ done: c103.green(figures.tick),
40383
+ exited: c103.yellow(figures.cross),
40384
+ default: c103.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) => c101.gray(completing ? figures.ellipsis : figures.pointerSmall);
40388
- var item = (expandable, expanded) => c101.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
40387
+ var delimiter = (completing) => c103.gray(completing ? figures.ellipsis : figures.pointerSmall);
40388
+ var item = (expandable, expanded) => c103.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
- _(c101, key) {
40670
+ _(c103, key) {
40671
40671
  let s1 = this.value.slice(0, this.cursor);
40672
40672
  let s2 = this.value.slice(this.cursor);
40673
- this.value = `${s1}${c101}${s2}`;
40673
+ this.value = `${s1}${c103}${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
- _(c101, key) {
40849
- if (c101 === " ") return this.submit();
40848
+ _(c103, key) {
40849
+ if (c103 === " ") 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
- _(c101, key) {
40976
- if (c101 === " ") {
40975
+ _(c103, key) {
40976
+ if (c103 === " ") {
40977
40977
  this.value = !this.value;
40978
- } else if (c101 === "1") {
40978
+ } else if (c103 === "1") {
40979
40979
  this.value = true;
40980
- } else if (c101 === "0") {
40980
+ } else if (c103 === "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
- _(c101) {
41489
- if (/\d/.test(c101)) {
41490
- this.typed += c101;
41488
+ _(c103) {
41489
+ if (/\d/.test(c103)) {
41490
+ this.typed += c103;
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(c101) {
41600
- return c101 === `-` || c101 === `.` && this.float || isNumber.test(c101);
41599
+ valid(c103) {
41600
+ return c103 === `-` || c103 === `.` && this.float || isNumber.test(c103);
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
- _(c101, key) {
41694
- if (!this.valid(c101)) return this.bell();
41693
+ _(c103, key) {
41694
+ if (!this.valid(c103)) return this.bell();
41695
41695
  const now = Date.now();
41696
41696
  if (now - this.lastHit > 1e3) this.typed = ``;
41697
- this.typed += c101;
41697
+ this.typed += c103;
41698
41698
  this.lastHit = now;
41699
41699
  this.color = `cyan`;
41700
- if (c101 === `.`) return this.fire();
41700
+ if (c103 === `.`) 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
- _(c101, key) {
41865
- if (c101 === " ") {
41864
+ _(c103, key) {
41865
+ if (c103 === " ") {
41866
41866
  this.handleSpaceToggle();
41867
- } else if (c101 === "a") {
41867
+ } else if (c103 === "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
- _(c101, key) {
42108
+ _(c103, key) {
42109
42109
  let s1 = this.input.slice(0, this.cursor);
42110
42110
  let s2 = this.input.slice(this.cursor);
42111
- this.input = `${s1}${c101}${s2}`;
42111
+ this.input = `${s1}${c103}${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(c101) {
42312
- this.inputValue = this.inputValue + c101;
42311
+ handleInputChange(c103) {
42312
+ this.inputValue = this.inputValue + c103;
42313
42313
  this.updateFilteredOptions();
42314
42314
  }
42315
- _(c101, key) {
42316
- if (c101 === " ") {
42315
+ _(c103, key) {
42316
+ if (c103 === " ") {
42317
42317
  this.handleSpaceToggle();
42318
42318
  } else {
42319
- this.handleInputChange(c101);
42319
+ this.handleInputChange(c103);
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
- _(c101, key) {
42426
- if (c101.toLowerCase() === "y") {
42425
+ _(c103, key) {
42426
+ if (c103.toLowerCase() === "y") {
42427
42427
  this.value = true;
42428
42428
  return this.submit();
42429
42429
  }
42430
- if (c101.toLowerCase() === "n") {
42430
+ if (c103.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 c101 = require_kleur();
42871
+ var c103 = 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: c101.red(figures.cross),
42882
- done: c101.green(figures.tick),
42883
- exited: c101.yellow(figures.cross),
42884
- default: c101.cyan("?")
42881
+ aborted: c103.red(figures.cross),
42882
+ done: c103.green(figures.tick),
42883
+ exited: c103.yellow(figures.cross),
42884
+ default: c103.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) => c101.gray(completing ? figures.ellipsis : figures.pointerSmall);
42888
- var item = (expandable, expanded) => c101.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
42887
+ var delimiter = (completing) => c103.gray(completing ? figures.ellipsis : figures.pointerSmall);
42888
+ var item = (expandable, expanded) => c103.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
- _(c101, key) {
43121
+ _(c103, key) {
43122
43122
  let s1 = this.value.slice(0, this.cursor);
43123
43123
  let s2 = this.value.slice(this.cursor);
43124
- this.value = `${s1}${c101}${s2}`;
43124
+ this.value = `${s1}${c103}${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
- _(c101, key) {
43299
- if (c101 === " ") return this.submit();
43298
+ _(c103, key) {
43299
+ if (c103 === " ") 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
- _(c101, key) {
43424
- if (c101 === " ") {
43423
+ _(c103, key) {
43424
+ if (c103 === " ") {
43425
43425
  this.value = !this.value;
43426
- } else if (c101 === "1") {
43426
+ } else if (c103 === "1") {
43427
43427
  this.value = true;
43428
- } else if (c101 === "0") {
43428
+ } else if (c103 === "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
- _(c101) {
43885
- if (/\d/.test(c101)) {
43886
- this.typed += c101;
43884
+ _(c103) {
43885
+ if (/\d/.test(c103)) {
43886
+ this.typed += c103;
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(c101) {
43969
- return c101 === `-` || c101 === `.` && this.float || isNumber.test(c101);
43968
+ valid(c103) {
43969
+ return c103 === `-` || c103 === `.` && this.float || isNumber.test(c103);
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
- _(c101, key) {
44057
- if (!this.valid(c101)) return this.bell();
44056
+ _(c103, key) {
44057
+ if (!this.valid(c103)) return this.bell();
44058
44058
  const now = Date.now();
44059
44059
  if (now - this.lastHit > 1e3) this.typed = ``;
44060
- this.typed += c101;
44060
+ this.typed += c103;
44061
44061
  this.lastHit = now;
44062
44062
  this.color = `cyan`;
44063
- if (c101 === `.`) return this.fire();
44063
+ if (c103 === `.`) 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
- _(c101, key) {
44226
- if (c101 === " ") {
44225
+ _(c103, key) {
44226
+ if (c103 === " ") {
44227
44227
  this.handleSpaceToggle();
44228
- } else if (c101 === "a") {
44228
+ } else if (c103 === "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
- _(c101, key) {
44425
+ _(c103, key) {
44426
44426
  let s1 = this.input.slice(0, this.cursor);
44427
44427
  let s2 = this.input.slice(this.cursor);
44428
- this.input = `${s1}${c101}${s2}`;
44428
+ this.input = `${s1}${c103}${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(c101) {
44632
- this.inputValue = this.inputValue + c101;
44631
+ handleInputChange(c103) {
44632
+ this.inputValue = this.inputValue + c103;
44633
44633
  this.updateFilteredOptions();
44634
44634
  }
44635
- _(c101, key) {
44636
- if (c101 === " ") {
44635
+ _(c103, key) {
44636
+ if (c103 === " ") {
44637
44637
  this.handleSpaceToggle();
44638
44638
  } else {
44639
- this.handleInputChange(c101);
44639
+ this.handleInputChange(c103);
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
- _(c101, key) {
44747
- if (c101.toLowerCase() === "y") {
44746
+ _(c103, key) {
44747
+ if (c103.toLowerCase() === "y") {
44748
44748
  this.value = true;
44749
44749
  return this.submit();
44750
44750
  }
44751
- if (c101.toLowerCase() === "n") {
44751
+ if (c103.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 c101 = getAliasCount(doc, item, anchors2);
45638
- if (c101 > count)
45639
- count = c101;
45637
+ const c103 = getAliasCount(doc, item, anchors2);
45638
+ if (c103 > count)
45639
+ count = c103;
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 c101 of classes) {
53180
- out.push(`.${c101}`);
53179
+ for (const c103 of classes) {
53180
+ out.push(`.${c103}`);
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
- (c101) => (
53412
+ (c103) => (
53413
53413
  // eslint-disable-next-line no-bitwise
53414
- (c101 ^ (getRandomByte() & 15) >> c101 / 4).toString(16)
53414
+ (c103 ^ (getRandomByte() & 15) >> c103 / 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(c101, next) {
72471
+ return function(c103, next) {
72472
72472
  if (!instrumentation.isEnabled()) {
72473
- return handler.apply(this, [c101, next]);
72473
+ return handler.apply(this, [c103, next]);
72474
72474
  }
72475
- const path3 = c101.req.path;
72475
+ const path3 = c103.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, [c101, next]);
72480
+ const result = handler.apply(this, [c103, 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.150.7",
74086
+ release: "9.150.8",
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.150.7",
74105
+ version: "9.150.8",
74106
74106
  command: process.argv.slice(2).join(" ")
74107
74107
  });
74108
74108
  setContext("runtime", {
@@ -77348,7 +77348,7 @@ var $ZodBase64 = /* @__PURE__ */ $constructor("$ZodBase64", (inst, def) => {
77348
77348
  function isValidBase64URL(data) {
77349
77349
  if (!base64url.test(data))
77350
77350
  return false;
77351
- const base643 = data.replace(/[-_]/g, (c101) => c101 === "-" ? "+" : "/");
77351
+ const base643 = data.replace(/[-_]/g, (c103) => c103 === "-" ? "+" : "/");
77352
77352
  const padded = base643.padEnd(Math.ceil(base643.length / 4) * 4, "=");
77353
77353
  return isValidBase64(padded);
77354
77354
  }
@@ -87459,9 +87459,9 @@ var ZodDate = /* @__PURE__ */ $constructor("ZodDate", (inst, def) => {
87459
87459
  inst._zod.processJSONSchema = (ctx, json2, params) => dateProcessor(inst, ctx, json2, params);
87460
87460
  inst.min = (value, params) => inst.check(_gte(value, params));
87461
87461
  inst.max = (value, params) => inst.check(_lte(value, params));
87462
- const c101 = inst._zod.bag;
87463
- inst.minDate = c101.minimum ? new Date(c101.minimum) : null;
87464
- inst.maxDate = c101.maximum ? new Date(c101.maximum) : null;
87462
+ const c103 = inst._zod.bag;
87463
+ inst.minDate = c103.minimum ? new Date(c103.minimum) : null;
87464
+ inst.maxDate = c103.maximum ? new Date(c103.maximum) : null;
87465
87465
  });
87466
87466
  function date3(params) {
87467
87467
  return _date(ZodDate, params);
@@ -107280,6 +107280,45 @@ async function generateWebVideo(options) {
107280
107280
  }
107281
107281
  return await response.json();
107282
107282
  }
107283
+ async function generateWebPresentation(options) {
107284
+ const baseUrl = await getBaseUrl();
107285
+ const token = await getActiveToken();
107286
+ if (!token) {
107287
+ throw new ApiRequestError("Not authenticated", "UNAUTHORIZED", 401);
107288
+ }
107289
+ const headers = {
107290
+ Authorization: `Bearer ${token}`,
107291
+ "Content-Type": "application/json"
107292
+ };
107293
+ const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
107294
+ if (bypassSecret) {
107295
+ headers["x-vercel-protection-bypass"] = bypassSecret;
107296
+ }
107297
+ const response = await fetch(
107298
+ new URL("/api/zero/presentation-io/generate", baseUrl),
107299
+ {
107300
+ method: "POST",
107301
+ headers,
107302
+ body: JSON.stringify({
107303
+ prompt: options.prompt,
107304
+ ...options.style ? { style: options.style } : {},
107305
+ ...options.slideCount !== void 0 ? { slideCount: options.slideCount } : {},
107306
+ ...options.imageCount !== void 0 ? { imageCount: options.imageCount } : {},
107307
+ ...options.theme ? { theme: options.theme } : {},
107308
+ ...options.audience ? { audience: options.audience } : {},
107309
+ ...options.title ? { title: options.title } : {}
107310
+ })
107311
+ }
107312
+ );
107313
+ if (!response.ok) {
107314
+ const { message, code } = await parseErrorBody(
107315
+ response,
107316
+ "Failed to generate presentation"
107317
+ );
107318
+ throw new ApiRequestError(message, code, response.status);
107319
+ }
107320
+ return await response.json();
107321
+ }
107283
107322
 
107284
107323
  // src/lib/utils/prompt-utils.ts
107285
107324
  init_esm_shims();
@@ -124185,9 +124224,208 @@ var zeroReportErrorContract = c85.router({
124185
124224
  }
124186
124225
  });
124187
124226
 
124188
- // ../../packages/api-contracts/src/contracts/zero-insights.ts
124227
+ // ../../packages/api-contracts/src/contracts/zero-local-browser.ts
124189
124228
  init_esm_shims();
124190
124229
  var c86 = initContract();
124230
+ var localBrowserHostStatusSchema = external_exports.enum(["online", "offline"]);
124231
+ var hostNameSchema2 = external_exports.string().trim().min(1).max(128);
124232
+ var browserSchema = external_exports.string().trim().min(1).max(64);
124233
+ var extensionVersionSchema = external_exports.string().trim().min(1).max(64);
124234
+ var supportedCapabilitiesSchema = external_exports.array(external_exports.string().trim().min(1).max(128)).max(50);
124235
+ var localBrowserRuntimeBodySchema = external_exports.object({
124236
+ hostName: hostNameSchema2,
124237
+ browser: browserSchema,
124238
+ extensionVersion: extensionVersionSchema,
124239
+ supportedCapabilities: supportedCapabilitiesSchema.default([])
124240
+ });
124241
+ var localBrowserRealtimeSubscriptionSchema = external_exports.object({
124242
+ channelName: external_exports.string(),
124243
+ eventName: external_exports.string(),
124244
+ tokenRequest: ablyTokenRequestSchema
124245
+ });
124246
+ var localBrowserDeviceStartResponseSchema = external_exports.object({
124247
+ deviceCode: external_exports.string(),
124248
+ userCode: external_exports.string(),
124249
+ verificationPath: external_exports.string(),
124250
+ expiresIn: external_exports.number().int().positive(),
124251
+ interval: external_exports.number().int().positive(),
124252
+ pollToken: external_exports.string(),
124253
+ realtime: localBrowserRealtimeSubscriptionSchema.optional()
124254
+ });
124255
+ var localBrowserDevicePollResponseSchema = external_exports.discriminatedUnion(
124256
+ "status",
124257
+ [
124258
+ external_exports.object({ status: external_exports.literal("pending") }),
124259
+ external_exports.object({
124260
+ status: external_exports.literal("linked"),
124261
+ hostId: external_exports.string(),
124262
+ hostToken: external_exports.string().optional()
124263
+ }),
124264
+ external_exports.object({ status: external_exports.literal("expired") })
124265
+ ]
124266
+ );
124267
+ var localBrowserDeviceClaimResponseSchema = external_exports.object({
124268
+ status: external_exports.literal("approved")
124269
+ });
124270
+ var localBrowserHeartbeatResponseSchema = external_exports.object({
124271
+ ok: external_exports.literal(true),
124272
+ hostId: external_exports.string()
124273
+ });
124274
+ var localBrowserHostSchema = external_exports.object({
124275
+ id: external_exports.string(),
124276
+ displayName: external_exports.string(),
124277
+ browser: external_exports.string(),
124278
+ extensionVersion: external_exports.string(),
124279
+ supportedCapabilities: external_exports.array(external_exports.string()),
124280
+ status: localBrowserHostStatusSchema,
124281
+ lastSeenAt: external_exports.string(),
124282
+ createdAt: external_exports.string()
124283
+ });
124284
+ var localBrowserHostListResponseSchema = external_exports.object({
124285
+ hosts: external_exports.array(localBrowserHostSchema)
124286
+ });
124287
+ var localBrowserHostStartResponseSchema = external_exports.object({
124288
+ hostId: external_exports.string(),
124289
+ hostToken: external_exports.string()
124290
+ });
124291
+ var localBrowserHostDeleteResponseSchema = external_exports.object({
124292
+ ok: external_exports.literal(true)
124293
+ });
124294
+ var zeroLocalBrowserDeviceStartContract = c86.router({
124295
+ start: {
124296
+ method: "POST",
124297
+ path: "/api/zero/local-browser/device/start",
124298
+ body: localBrowserRuntimeBodySchema,
124299
+ responses: {
124300
+ 200: localBrowserDeviceStartResponseSchema,
124301
+ 400: apiErrorSchema
124302
+ },
124303
+ summary: "Start a local-browser device pairing flow"
124304
+ }
124305
+ });
124306
+ var zeroLocalBrowserDevicePollContract = c86.router({
124307
+ poll: {
124308
+ method: "POST",
124309
+ path: "/api/zero/local-browser/device/poll",
124310
+ body: external_exports.object({
124311
+ deviceCode: external_exports.string().min(1),
124312
+ pollToken: external_exports.string().min(1)
124313
+ }),
124314
+ responses: {
124315
+ 200: localBrowserDevicePollResponseSchema,
124316
+ 400: apiErrorSchema
124317
+ },
124318
+ summary: "Poll a local-browser device pairing flow"
124319
+ }
124320
+ });
124321
+ var zeroLocalBrowserDeviceClaimContract = c86.router({
124322
+ claim: {
124323
+ method: "POST",
124324
+ path: "/api/zero/local-browser/device/claim",
124325
+ headers: authHeadersSchema,
124326
+ body: external_exports.object({
124327
+ deviceCode: external_exports.string().min(1)
124328
+ }),
124329
+ responses: {
124330
+ 200: localBrowserDeviceClaimResponseSchema,
124331
+ 400: apiErrorSchema,
124332
+ 401: apiErrorSchema,
124333
+ 403: apiErrorSchema,
124334
+ 404: apiErrorSchema,
124335
+ 409: apiErrorSchema
124336
+ },
124337
+ summary: "Approve a local-browser device pairing flow"
124338
+ }
124339
+ });
124340
+ var zeroLocalBrowserHeartbeatContract = c86.router({
124341
+ heartbeat: {
124342
+ method: "POST",
124343
+ path: "/api/zero/local-browser/heartbeat",
124344
+ headers: authHeadersSchema,
124345
+ body: localBrowserRuntimeBodySchema,
124346
+ responses: {
124347
+ 200: localBrowserHeartbeatResponseSchema,
124348
+ 400: apiErrorSchema,
124349
+ 401: apiErrorSchema
124350
+ },
124351
+ summary: "Refresh a linked local-browser host heartbeat"
124352
+ }
124353
+ });
124354
+ var zeroLocalBrowserHostRealtimeContract = c86.router({
124355
+ create: {
124356
+ method: "POST",
124357
+ path: "/api/zero/local-browser/host/realtime-token",
124358
+ headers: authHeadersSchema,
124359
+ body: external_exports.object({}),
124360
+ responses: {
124361
+ 200: localBrowserRealtimeSubscriptionSchema,
124362
+ 401: apiErrorSchema
124363
+ },
124364
+ summary: "Get Ably token for local-browser command wakeups"
124365
+ }
124366
+ });
124367
+ var zeroLocalBrowserHostsContract = c86.router({
124368
+ start: {
124369
+ method: "POST",
124370
+ path: "/api/zero/local-browser/hosts/start",
124371
+ headers: authHeadersSchema,
124372
+ body: localBrowserRuntimeBodySchema.extend({
124373
+ hostId: external_exports.string().min(1).optional()
124374
+ }),
124375
+ responses: {
124376
+ 200: localBrowserHostStartResponseSchema,
124377
+ 400: apiErrorSchema,
124378
+ 401: apiErrorSchema,
124379
+ 403: apiErrorSchema,
124380
+ 404: apiErrorSchema
124381
+ },
124382
+ summary: "Start or reactivate a local-browser host"
124383
+ },
124384
+ list: {
124385
+ method: "GET",
124386
+ path: "/api/zero/local-browser/hosts",
124387
+ headers: authHeadersSchema,
124388
+ responses: {
124389
+ 200: localBrowserHostListResponseSchema,
124390
+ 401: apiErrorSchema,
124391
+ 403: apiErrorSchema
124392
+ },
124393
+ summary: "List linked local-browser hosts"
124394
+ },
124395
+ delete: {
124396
+ method: "DELETE",
124397
+ path: "/api/zero/local-browser/hosts/:hostId",
124398
+ pathParams: external_exports.object({
124399
+ hostId: external_exports.string().min(1)
124400
+ }),
124401
+ headers: authHeadersSchema,
124402
+ body: c86.noBody(),
124403
+ responses: {
124404
+ 200: localBrowserHostDeleteResponseSchema,
124405
+ 401: apiErrorSchema,
124406
+ 403: apiErrorSchema,
124407
+ 404: apiErrorSchema
124408
+ },
124409
+ summary: "Delete a local-browser host"
124410
+ }
124411
+ });
124412
+ var zeroLocalBrowserHostSelfContract = c86.router({
124413
+ delete: {
124414
+ method: "DELETE",
124415
+ path: "/api/zero/local-browser/host",
124416
+ headers: authHeadersSchema,
124417
+ body: c86.noBody(),
124418
+ responses: {
124419
+ 200: localBrowserHostDeleteResponseSchema,
124420
+ 401: apiErrorSchema
124421
+ },
124422
+ summary: "Revoke the current local-browser host token"
124423
+ }
124424
+ });
124425
+
124426
+ // ../../packages/api-contracts/src/contracts/zero-insights.ts
124427
+ init_esm_shims();
124428
+ var c87 = initContract();
124191
124429
  var insightAgentSchema = external_exports.object({
124192
124430
  agentName: external_exports.string(),
124193
124431
  agentId: external_exports.string().nullable(),
@@ -124252,7 +124490,7 @@ var insightsRangeResponseSchema = external_exports.object({
124252
124490
  maxDate: external_exports.string().nullable(),
124253
124491
  totalDays: external_exports.number()
124254
124492
  });
124255
- var zeroInsightsContract = c86.router({
124493
+ var zeroInsightsContract = c87.router({
124256
124494
  get: {
124257
124495
  method: "GET",
124258
124496
  path: "/api/zero/insights",
@@ -124267,7 +124505,7 @@ var zeroInsightsContract = c86.router({
124267
124505
  summary: "Get daily insights for the authenticated org"
124268
124506
  }
124269
124507
  });
124270
- var zeroInsightsRangeContract = c86.router({
124508
+ var zeroInsightsRangeContract = c87.router({
124271
124509
  get: {
124272
124510
  method: "GET",
124273
124511
  path: "/api/zero/insights/range",
@@ -124282,8 +124520,8 @@ var zeroInsightsRangeContract = c86.router({
124282
124520
 
124283
124521
  // ../../packages/api-contracts/src/contracts/push-subscriptions.ts
124284
124522
  init_esm_shims();
124285
- var c87 = initContract();
124286
- var pushSubscriptionsContract = c87.router({
124523
+ var c88 = initContract();
124524
+ var pushSubscriptionsContract = c88.router({
124287
124525
  register: {
124288
124526
  method: "POST",
124289
124527
  path: "/api/zero/push-subscriptions",
@@ -124307,7 +124545,7 @@ var pushSubscriptionsContract = c87.router({
124307
124545
 
124308
124546
  // ../../packages/api-contracts/src/contracts/zero-image-io-generate.ts
124309
124547
  init_esm_shims();
124310
- var c88 = initContract();
124548
+ var c89 = initContract();
124311
124549
  var zeroImageIoGenerateRequestSchema = external_exports.object({
124312
124550
  prompt: external_exports.unknown().optional(),
124313
124551
  size: external_exports.unknown().optional(),
@@ -124340,7 +124578,7 @@ var zeroImageIoGenerateResponseSchema = external_exports.object({
124340
124578
  revisedPrompt: external_exports.string().optional(),
124341
124579
  usage: zeroImageIoUsageSchema
124342
124580
  });
124343
- var zeroImageIoGenerateContract = c88.router({
124581
+ var zeroImageIoGenerateContract = c89.router({
124344
124582
  post: {
124345
124583
  method: "POST",
124346
124584
  path: "/api/zero/image-io/generate",
@@ -124362,7 +124600,7 @@ var zeroImageIoGenerateContract = c88.router({
124362
124600
 
124363
124601
  // ../../packages/api-contracts/src/contracts/zero-video-io-generate.ts
124364
124602
  init_esm_shims();
124365
- var c89 = initContract();
124603
+ var c90 = initContract();
124366
124604
  var zeroVideoIoGenerateRequestSchema = external_exports.object({
124367
124605
  prompt: external_exports.unknown().optional(),
124368
124606
  model: external_exports.unknown().optional(),
@@ -124391,7 +124629,7 @@ var zeroVideoIoGenerateResponseSchema = external_exports.object({
124391
124629
  sourceUrl: external_exports.string(),
124392
124630
  requestId: external_exports.string().optional()
124393
124631
  });
124394
- var zeroVideoIoGenerateContract = c89.router({
124632
+ var zeroVideoIoGenerateContract = c90.router({
124395
124633
  post: {
124396
124634
  method: "POST",
124397
124635
  path: "/api/zero/video-io/generate",
@@ -124412,10 +124650,66 @@ var zeroVideoIoGenerateContract = c89.router({
124412
124650
  }
124413
124651
  });
124414
124652
 
124653
+ // ../../packages/api-contracts/src/contracts/zero-presentation-io-generate.ts
124654
+ init_esm_shims();
124655
+ var c91 = initContract();
124656
+ var zeroPresentationIoGenerateRequestSchema = external_exports.object({
124657
+ prompt: external_exports.unknown().optional(),
124658
+ style: external_exports.unknown().optional(),
124659
+ slideCount: external_exports.unknown().optional(),
124660
+ imageCount: external_exports.unknown().optional(),
124661
+ theme: external_exports.unknown().optional(),
124662
+ audience: external_exports.unknown().optional(),
124663
+ title: external_exports.unknown().optional()
124664
+ }).passthrough();
124665
+ var zeroPresentationIoUsageSchema = external_exports.object({
124666
+ inputTokens: external_exports.number(),
124667
+ outputTokens: external_exports.number(),
124668
+ totalTokens: external_exports.number()
124669
+ });
124670
+ var zeroPresentationIoGenerateResponseSchema = external_exports.object({
124671
+ id: external_exports.string(),
124672
+ filename: external_exports.string(),
124673
+ contentType: external_exports.string(),
124674
+ size: external_exports.number(),
124675
+ url: external_exports.string(),
124676
+ creditsCharged: external_exports.number(),
124677
+ model: external_exports.string(),
124678
+ style: external_exports.string(),
124679
+ theme: external_exports.string(),
124680
+ slideCount: external_exports.number(),
124681
+ imageCount: external_exports.number(),
124682
+ imageUrls: external_exports.array(external_exports.string()),
124683
+ imageCreditsCharged: external_exports.number(),
124684
+ textCreditsCharged: external_exports.number(),
124685
+ title: external_exports.string(),
124686
+ responseId: external_exports.string().optional(),
124687
+ usage: zeroPresentationIoUsageSchema
124688
+ });
124689
+ var zeroPresentationIoGenerateContract = c91.router({
124690
+ post: {
124691
+ method: "POST",
124692
+ path: "/api/zero/presentation-io/generate",
124693
+ headers: authHeadersSchema,
124694
+ body: zeroPresentationIoGenerateRequestSchema,
124695
+ responses: {
124696
+ 200: zeroPresentationIoGenerateResponseSchema,
124697
+ 400: apiErrorSchema,
124698
+ 401: apiErrorSchema,
124699
+ 402: apiErrorSchema,
124700
+ 403: apiErrorSchema,
124701
+ 500: apiErrorSchema,
124702
+ 502: apiErrorSchema,
124703
+ 503: apiErrorSchema
124704
+ },
124705
+ summary: "Generate and persist an HTML presentation file"
124706
+ }
124707
+ });
124708
+
124415
124709
  // ../../packages/api-contracts/src/contracts/internal-callbacks-agent.ts
124416
124710
  init_esm_shims();
124417
- var c90 = initContract();
124418
- var internalCallbacksAgentContract = c90.router({
124711
+ var c92 = initContract();
124712
+ var internalCallbacksAgentContract = c92.router({
124419
124713
  post: {
124420
124714
  method: "POST",
124421
124715
  path: "/api/internal/callbacks/agent",
@@ -124433,7 +124727,7 @@ var internalCallbacksAgentContract = c90.router({
124433
124727
 
124434
124728
  // ../../packages/api-contracts/src/contracts/internal-callbacks-github-issues.ts
124435
124729
  init_esm_shims();
124436
- var c91 = initContract();
124730
+ var c93 = initContract();
124437
124731
  var githubIssuesCallbackPayloadSchema = external_exports.object({
124438
124732
  installationId: external_exports.string(),
124439
124733
  repo: external_exports.string(),
@@ -124444,7 +124738,7 @@ var githubIssuesCallbackPayloadSchema = external_exports.object({
124444
124738
  triggerReactionId: external_exports.string().optional(),
124445
124739
  triggerCommentBody: external_exports.string().optional()
124446
124740
  }).passthrough();
124447
- var internalCallbacksGithubIssuesContract = c91.router({
124741
+ var internalCallbacksGithubIssuesContract = c93.router({
124448
124742
  post: {
124449
124743
  method: "POST",
124450
124744
  path: "/api/internal/callbacks/github/issues",
@@ -124465,7 +124759,7 @@ var internalCallbacksGithubIssuesContract = c91.router({
124465
124759
 
124466
124760
  // ../../packages/api-contracts/src/contracts/internal-callbacks-schedule.ts
124467
124761
  init_esm_shims();
124468
- var c92 = initContract();
124762
+ var c94 = initContract();
124469
124763
  var scheduleLoopCallbackPayloadSchema = external_exports.object({
124470
124764
  scheduleId: external_exports.string()
124471
124765
  }).passthrough();
@@ -124473,7 +124767,7 @@ var scheduleCronCallbackPayloadSchema = scheduleLoopCallbackPayloadSchema.extend
124473
124767
  timezone: external_exports.string(),
124474
124768
  cronExpression: external_exports.string().optional()
124475
124769
  }).passthrough();
124476
- var internalCallbacksScheduleContract = c92.router({
124770
+ var internalCallbacksScheduleContract = c94.router({
124477
124771
  cron: {
124478
124772
  method: "POST",
124479
124773
  path: "/api/internal/callbacks/schedule/cron",
@@ -124508,13 +124802,13 @@ var internalCallbacksScheduleContract = c92.router({
124508
124802
 
124509
124803
  // ../../packages/api-contracts/src/contracts/zero-voice-io-quota.ts
124510
124804
  init_esm_shims();
124511
- var c93 = initContract();
124805
+ var c95 = initContract();
124512
124806
  var audioInputQuotaResponseSchema = external_exports.object({
124513
124807
  allowed: external_exports.boolean(),
124514
124808
  count: external_exports.number().int().nonnegative(),
124515
124809
  limit: external_exports.number().int().positive().nullable()
124516
124810
  });
124517
- var zeroVoiceIoQuotaContract = c93.router({
124811
+ var zeroVoiceIoQuotaContract = c95.router({
124518
124812
  get: {
124519
124813
  method: "GET",
124520
124814
  path: "/api/zero/voice-io/quota",
@@ -124530,7 +124824,7 @@ var zeroVoiceIoQuotaContract = c93.router({
124530
124824
 
124531
124825
  // ../../packages/api-contracts/src/contracts/zero-voice-io-speech.ts
124532
124826
  init_esm_shims();
124533
- var c94 = initContract();
124827
+ var c96 = initContract();
124534
124828
  var zeroVoiceIoSpeechRequestSchema = external_exports.object({
124535
124829
  text: external_exports.unknown().optional(),
124536
124830
  voice: external_exports.unknown().optional(),
@@ -124547,7 +124841,7 @@ var zeroVoiceIoSpeechResponseSchema = external_exports.object({
124547
124841
  model: external_exports.string(),
124548
124842
  voice: external_exports.string()
124549
124843
  });
124550
- var zeroVoiceIoSpeechContract = c94.router({
124844
+ var zeroVoiceIoSpeechContract = c96.router({
124551
124845
  post: {
124552
124846
  method: "POST",
124553
124847
  path: "/api/zero/voice-io/speech",
@@ -124569,7 +124863,7 @@ var zeroVoiceIoSpeechContract = c94.router({
124569
124863
 
124570
124864
  // ../../packages/api-contracts/src/contracts/zero-voice-io-stt.ts
124571
124865
  init_esm_shims();
124572
- var c95 = initContract();
124866
+ var c97 = initContract();
124573
124867
  var zeroVoiceIoSttResponseSchema = external_exports.object({
124574
124868
  text: external_exports.string()
124575
124869
  });
@@ -124579,13 +124873,13 @@ var zeroVoiceIoSttQuotaErrorSchema = apiErrorSchema.extend({
124579
124873
  limit: external_exports.number().nullable()
124580
124874
  }).optional()
124581
124875
  });
124582
- var zeroVoiceIoSttContract = c95.router({
124876
+ var zeroVoiceIoSttContract = c97.router({
124583
124877
  post: {
124584
124878
  method: "POST",
124585
124879
  path: "/api/zero/voice-io/stt",
124586
124880
  headers: authHeadersSchema,
124587
124881
  contentType: "multipart/form-data",
124588
- body: c95.type(),
124882
+ body: c97.type(),
124589
124883
  responses: {
124590
124884
  200: zeroVoiceIoSttResponseSchema,
124591
124885
  400: apiErrorSchema,
@@ -124601,18 +124895,18 @@ var zeroVoiceIoSttContract = c95.router({
124601
124895
 
124602
124896
  // ../../packages/api-contracts/src/contracts/zero-voice-io-tts.ts
124603
124897
  init_esm_shims();
124604
- var c96 = initContract();
124898
+ var c98 = initContract();
124605
124899
  var zeroVoiceIoTtsRequestSchema = external_exports.object({
124606
124900
  text: external_exports.unknown().optional()
124607
124901
  }).passthrough();
124608
- var zeroVoiceIoTtsContract = c96.router({
124902
+ var zeroVoiceIoTtsContract = c98.router({
124609
124903
  post: {
124610
124904
  method: "POST",
124611
124905
  path: "/api/zero/voice-io/tts",
124612
124906
  headers: authHeadersSchema,
124613
124907
  body: zeroVoiceIoTtsRequestSchema,
124614
124908
  responses: {
124615
- 200: c96.otherResponse({
124909
+ 200: c98.otherResponse({
124616
124910
  contentType: "application/octet-stream",
124617
124911
  body: external_exports.unknown()
124618
124912
  }),
@@ -124627,7 +124921,7 @@ var zeroVoiceIoTtsContract = c96.router({
124627
124921
 
124628
124922
  // ../../packages/api-contracts/src/contracts/zero-voice-chat.ts
124629
124923
  init_esm_shims();
124630
- var c97 = initContract();
124924
+ var c99 = initContract();
124631
124925
  var voiceChatItemRoleSchema = external_exports.enum([
124632
124926
  "user",
124633
124927
  "assistant",
@@ -124724,7 +125018,7 @@ var sessionEndedBodySchema = external_exports.object({
124724
125018
  relaySessionId: external_exports.uuid()
124725
125019
  });
124726
125020
  var okResponseSchema = external_exports.object({ ok: external_exports.literal(true) });
124727
- var zeroVoiceChatContract = c97.router({
125021
+ var zeroVoiceChatContract = c99.router({
124728
125022
  createSession: {
124729
125023
  method: "POST",
124730
125024
  path: "/api/zero/voice-chat",
@@ -124899,7 +125193,7 @@ var zeroVoiceChatContract = c97.router({
124899
125193
 
124900
125194
  // ../../packages/api-contracts/src/contracts/zero-uploads.ts
124901
125195
  init_esm_shims();
124902
- var c98 = initContract();
125196
+ var c100 = initContract();
124903
125197
  var prepareRequestSchema = external_exports.object({
124904
125198
  filename: external_exports.string().min(1).max(255),
124905
125199
  contentType: external_exports.string().min(1).max(200),
@@ -124926,7 +125220,7 @@ var completeResponseSchema = external_exports.object({
124926
125220
  size: external_exports.number(),
124927
125221
  url: external_exports.string().url()
124928
125222
  });
124929
- var zeroUploadsContract = c98.router({
125223
+ var zeroUploadsContract = c100.router({
124930
125224
  prepare: {
124931
125225
  method: "POST",
124932
125226
  path: "/api/zero/uploads/prepare",
@@ -124960,7 +125254,7 @@ var zeroUploadsContract = c98.router({
124960
125254
 
124961
125255
  // ../../packages/api-contracts/src/contracts/zero-integrations-telegram.ts
124962
125256
  init_esm_shims();
124963
- var c99 = initContract();
125257
+ var c101 = initContract();
124964
125258
  var telegramEnvironmentSchema = external_exports.object({
124965
125259
  requiredSecrets: external_exports.array(external_exports.string()),
124966
125260
  requiredVars: external_exports.array(external_exports.string()),
@@ -125059,7 +125353,7 @@ var telegramSetupStatusSchema = external_exports.object({
125059
125353
  var telegramWebhookPathParamsSchema = external_exports.object({
125060
125354
  telegramBotId: external_exports.string().min(1)
125061
125355
  });
125062
- var zeroIntegrationsTelegramContract = c99.router({
125356
+ var zeroIntegrationsTelegramContract = c101.router({
125063
125357
  list: {
125064
125358
  method: "GET",
125065
125359
  path: "/api/integrations/telegram",
@@ -125102,9 +125396,9 @@ var zeroIntegrationsTelegramContract = c99.router({
125102
125396
  path: "/api/integrations/telegram/:botId",
125103
125397
  headers: authHeadersSchema,
125104
125398
  pathParams: external_exports.object({ botId: external_exports.string().min(1) }),
125105
- body: c99.noBody(),
125399
+ body: c101.noBody(),
125106
125400
  responses: {
125107
- 204: c99.noBody(),
125401
+ 204: c101.noBody(),
125108
125402
  401: apiErrorSchema,
125109
125403
  403: apiErrorSchema,
125110
125404
  404: apiErrorSchema
@@ -125115,10 +125409,10 @@ var zeroIntegrationsTelegramContract = c99.router({
125115
125409
  method: "DELETE",
125116
125410
  path: "/api/integrations/telegram/link",
125117
125411
  headers: authHeadersSchema,
125118
- body: c99.noBody(),
125412
+ body: c101.noBody(),
125119
125413
  query: external_exports.object({ botId: external_exports.string().optional() }),
125120
125414
  responses: {
125121
- 204: c99.noBody(),
125415
+ 204: c101.noBody(),
125122
125416
  401: apiErrorSchema,
125123
125417
  404: apiErrorSchema
125124
125418
  },
@@ -125149,7 +125443,7 @@ var zeroIntegrationsTelegramContract = c99.router({
125149
125443
  sig: external_exports.string().optional()
125150
125444
  }),
125151
125445
  responses: {
125152
- 200: c99.otherResponse({
125446
+ 200: c101.otherResponse({
125153
125447
  contentType: "application/octet-stream",
125154
125448
  body: external_exports.unknown()
125155
125449
  }),
@@ -125164,7 +125458,7 @@ var zeroIntegrationsTelegramContract = c99.router({
125164
125458
  method: "GET",
125165
125459
  path: "/api/integrations/telegram/auth-callback",
125166
125460
  responses: {
125167
- 200: c99.otherResponse({
125461
+ 200: c101.otherResponse({
125168
125462
  contentType: "text/html",
125169
125463
  body: external_exports.unknown()
125170
125464
  })
@@ -125223,19 +125517,19 @@ var zeroIntegrationsTelegramContract = c99.router({
125223
125517
  pathParams: telegramWebhookPathParamsSchema,
125224
125518
  body: external_exports.unknown(),
125225
125519
  responses: {
125226
- 200: c99.otherResponse({
125520
+ 200: c101.otherResponse({
125227
125521
  contentType: "text/plain",
125228
125522
  body: external_exports.string()
125229
125523
  }),
125230
- 400: c99.otherResponse({
125524
+ 400: c101.otherResponse({
125231
125525
  contentType: "text/plain",
125232
125526
  body: external_exports.string()
125233
125527
  }),
125234
- 401: c99.otherResponse({
125528
+ 401: c101.otherResponse({
125235
125529
  contentType: "text/plain",
125236
125530
  body: external_exports.string()
125237
125531
  }),
125238
- 404: c99.otherResponse({
125532
+ 404: c101.otherResponse({
125239
125533
  contentType: "text/plain",
125240
125534
  body: external_exports.string()
125241
125535
  })
@@ -125246,7 +125540,7 @@ var zeroIntegrationsTelegramContract = c99.router({
125246
125540
 
125247
125541
  // ../../packages/api-contracts/src/contracts/zero-integrations-agentphone.ts
125248
125542
  init_esm_shims();
125249
- var c100 = initContract();
125543
+ var c102 = initContract();
125250
125544
  var agentPhoneConnectBodySchema = external_exports.object({
125251
125545
  phoneHandle: external_exports.string().min(1),
125252
125546
  agentphoneAgentId: external_exports.string().min(1),
@@ -125283,7 +125577,7 @@ var agentPhoneStartLinkResponseSchema = external_exports.object({
125283
125577
  phoneHandle: external_exports.string(),
125284
125578
  verificationSent: external_exports.literal(true)
125285
125579
  });
125286
- var zeroIntegrationsAgentPhoneContract = c100.router({
125580
+ var zeroIntegrationsAgentPhoneContract = c102.router({
125287
125581
  connectAgentPhone: {
125288
125582
  method: "POST",
125289
125583
  path: "/api/agentphone/connect",
@@ -125301,7 +125595,7 @@ var zeroIntegrationsAgentPhoneContract = c100.router({
125301
125595
  method: "POST",
125302
125596
  path: "/api/agentphone/webhook",
125303
125597
  headers: agentPhoneWebhookHeadersSchema,
125304
- body: c100.type(),
125598
+ body: c102.type(),
125305
125599
  responses: {
125306
125600
  200: external_exports.string(),
125307
125601
  400: external_exports.string(),
@@ -125341,9 +125635,9 @@ var zeroIntegrationsAgentPhoneContract = c100.router({
125341
125635
  method: "DELETE",
125342
125636
  path: "/api/integrations/agentphone/link",
125343
125637
  headers: authHeadersSchema,
125344
- body: c100.noBody(),
125638
+ body: c102.noBody(),
125345
125639
  responses: {
125346
- 204: c100.noBody(),
125640
+ 204: c102.noBody(),
125347
125641
  401: apiErrorSchema,
125348
125642
  403: apiErrorSchema,
125349
125643
  404: apiErrorSchema
@@ -126095,9 +126389,9 @@ var CodexEventParser = class {
126095
126389
  if (!item.changes || item.changes.length === 0) {
126096
126390
  return null;
126097
126391
  }
126098
- const changes = item.changes.map((c101) => {
126099
- const action = c101.kind === "add" ? "Created" : c101.kind === "modify" ? "Modified" : "Deleted";
126100
- return `${action}: ${c101.path}`;
126392
+ const changes = item.changes.map((c103) => {
126393
+ const action = c103.kind === "add" ? "Created" : c103.kind === "modify" ? "Modified" : "Deleted";
126394
+ return `${action}: ${c103.path}`;
126101
126395
  }).join("\n");
126102
126396
  return {
126103
126397
  type: "text",
@@ -127225,6 +127519,7 @@ export {
127225
127519
  generateWebVoice,
127226
127520
  generateWebImage,
127227
127521
  generateWebVideo,
127522
+ generateWebPresentation,
127228
127523
  getInstructionsStorageName,
127229
127524
  parseGitHubUrl,
127230
127525
  getInstructionsFilename,
@@ -127273,4 +127568,4 @@ undici/lib/web/fetch/body.js:
127273
127568
  undici/lib/web/websocket/frame.js:
127274
127569
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
127275
127570
  */
127276
- //# sourceMappingURL=chunk-VKCZANPE.js.map
127571
+ //# sourceMappingURL=chunk-KNOQ5PTH.js.map