@vm0/cli 9.160.9 → 9.161.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 c111 = "color: " + this.color;
4633
- args.splice(1, 0, c111, "color: inherit");
4632
+ const c110 = "color: " + this.color;
4633
+ args.splice(1, 0, c110, "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, c111);
4645
+ args.splice(lastC, 0, c110);
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 c111 = this.color;
4934
- const colorCode = "\x1B[3" + (c111 < 8 ? c111 : "8;5;" + c111);
4933
+ const c110 = this.color;
4934
+ const colorCode = "\x1B[3" + (c110 < 8 ? c110 : "8;5;" + c110);
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 c111;
8984
+ let c110;
8985
8985
  if (isAlphaSequence) {
8986
- c111 = String.fromCharCode(i);
8987
- if (c111 === "\\") {
8988
- c111 = "";
8986
+ c110 = String.fromCharCode(i);
8987
+ if (c110 === "\\") {
8988
+ c110 = "";
8989
8989
  }
8990
8990
  } else {
8991
- c111 = String(i);
8991
+ c110 = String(i);
8992
8992
  if (pad) {
8993
- const need = width - c111.length;
8993
+ const need = width - c110.length;
8994
8994
  if (need > 0) {
8995
8995
  const z3 = new Array(need + 1).join("0");
8996
8996
  if (i < 0) {
8997
- c111 = "-" + z3 + c111.slice(1);
8997
+ c110 = "-" + z3 + c110.slice(1);
8998
8998
  } else {
8999
- c111 = z3 + c111;
8999
+ c110 = z3 + c110;
9000
9000
  }
9001
9001
  }
9002
9002
  }
9003
9003
  }
9004
- N.push(c111);
9004
+ N.push(c110);
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 c111 = glob.charAt(i);
9088
- if ((c111 === "!" || c111 === "^") && i === pos + 1) {
9087
+ const c110 = glob.charAt(i);
9088
+ if ((c110 === "!" || c110 === "^") && i === pos + 1) {
9089
9089
  negate = true;
9090
9090
  i++;
9091
9091
  continue;
9092
9092
  }
9093
- if (c111 === "]" && sawStart && !escaping) {
9093
+ if (c110 === "]" && sawStart && !escaping) {
9094
9094
  endPos = i + 1;
9095
9095
  break;
9096
9096
  }
9097
9097
  sawStart = true;
9098
- if (c111 === "\\") {
9098
+ if (c110 === "\\") {
9099
9099
  if (!escaping) {
9100
9100
  escaping = true;
9101
9101
  i++;
9102
9102
  continue;
9103
9103
  }
9104
9104
  }
9105
- if (c111 === "[" && !escaping) {
9105
+ if (c110 === "[" && !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 (c111 > rangeStart) {
9124
- ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c111));
9125
- } else if (c111 === rangeStart) {
9126
- ranges.push(braceEscape(c111));
9123
+ if (c110 > rangeStart) {
9124
+ ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c110));
9125
+ } else if (c110 === rangeStart) {
9126
+ ranges.push(braceEscape(c110));
9127
9127
  }
9128
9128
  rangeStart = "";
9129
9129
  i++;
9130
9130
  continue;
9131
9131
  }
9132
9132
  if (glob.startsWith("-]", i + 1)) {
9133
- ranges.push(braceEscape(c111 + "-"));
9133
+ ranges.push(braceEscape(c110 + "-"));
9134
9134
  i += 2;
9135
9135
  continue;
9136
9136
  }
9137
9137
  if (glob.startsWith("-", i + 1)) {
9138
- rangeStart = c111;
9138
+ rangeStart = c110;
9139
9139
  i += 2;
9140
9140
  continue;
9141
9141
  }
9142
- ranges.push(braceEscape(c111));
9142
+ ranges.push(braceEscape(c110));
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 = (c111) => types.has(c111);
9193
- var isExtglobAST = (c111) => isExtglobType(c111.type);
9192
+ var isExtglobType = (c110) => types.has(c110);
9193
+ var isExtglobAST = (c110) => isExtglobType(c110.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 c111 = new _a2(this.type, parent);
9390
+ const c110 = new _a2(this.type, parent);
9391
9391
  for (const p of this.#parts) {
9392
- c111.copyIn(p);
9392
+ c110.copyIn(p);
9393
9393
  }
9394
- return c111;
9394
+ return c110;
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 c111 = str.charAt(i2++);
9407
- if (escaping || c111 === "\\") {
9406
+ const c110 = str.charAt(i2++);
9407
+ if (escaping || c110 === "\\") {
9408
9408
  escaping = !escaping;
9409
- acc2 += c111;
9409
+ acc2 += c110;
9410
9410
  continue;
9411
9411
  }
9412
9412
  if (inBrace) {
9413
9413
  if (i2 === braceStart + 1) {
9414
- if (c111 === "^" || c111 === "!") {
9414
+ if (c110 === "^" || c110 === "!") {
9415
9415
  braceNeg = true;
9416
9416
  }
9417
- } else if (c111 === "]" && !(i2 === braceStart + 2 && braceNeg)) {
9417
+ } else if (c110 === "]" && !(i2 === braceStart + 2 && braceNeg)) {
9418
9418
  inBrace = false;
9419
9419
  }
9420
- acc2 += c111;
9420
+ acc2 += c110;
9421
9421
  continue;
9422
- } else if (c111 === "[") {
9422
+ } else if (c110 === "[") {
9423
9423
  inBrace = true;
9424
9424
  braceStart = i2;
9425
9425
  braceNeg = false;
9426
- acc2 += c111;
9426
+ acc2 += c110;
9427
9427
  continue;
9428
9428
  }
9429
- const doRecurse = !opt.noext && isExtglobType(c111) && str.charAt(i2) === "(" && extDepth <= maxDepth;
9429
+ const doRecurse = !opt.noext && isExtglobType(c110) && str.charAt(i2) === "(" && extDepth <= maxDepth;
9430
9430
  if (doRecurse) {
9431
9431
  ast.push(acc2);
9432
9432
  acc2 = "";
9433
- const ext = new _a2(c111, ast);
9433
+ const ext = new _a2(c110, ast);
9434
9434
  i2 = _a2.#parseAST(str, ext, i2, opt, extDepth + 1);
9435
9435
  ast.push(ext);
9436
9436
  continue;
9437
9437
  }
9438
- acc2 += c111;
9438
+ acc2 += c110;
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 c111 = str.charAt(i++);
9449
- if (escaping || c111 === "\\") {
9448
+ const c110 = str.charAt(i++);
9449
+ if (escaping || c110 === "\\") {
9450
9450
  escaping = !escaping;
9451
- acc += c111;
9451
+ acc += c110;
9452
9452
  continue;
9453
9453
  }
9454
9454
  if (inBrace) {
9455
9455
  if (i === braceStart + 1) {
9456
- if (c111 === "^" || c111 === "!") {
9456
+ if (c110 === "^" || c110 === "!") {
9457
9457
  braceNeg = true;
9458
9458
  }
9459
- } else if (c111 === "]" && !(i === braceStart + 2 && braceNeg)) {
9459
+ } else if (c110 === "]" && !(i === braceStart + 2 && braceNeg)) {
9460
9460
  inBrace = false;
9461
9461
  }
9462
- acc += c111;
9462
+ acc += c110;
9463
9463
  continue;
9464
- } else if (c111 === "[") {
9464
+ } else if (c110 === "[") {
9465
9465
  inBrace = true;
9466
9466
  braceStart = i;
9467
9467
  braceNeg = false;
9468
- acc += c111;
9468
+ acc += c110;
9469
9469
  continue;
9470
9470
  }
9471
- const doRecurse = !opt.noext && isExtglobType(c111) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
9472
- (extDepth <= maxDepth || ast && ast.#canAdoptType(c111));
9471
+ const doRecurse = !opt.noext && isExtglobType(c110) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
9472
+ (extDepth <= maxDepth || ast && ast.#canAdoptType(c110));
9473
9473
  if (doRecurse) {
9474
- const depthAdd = ast && ast.#canAdoptType(c111) ? 0 : 1;
9474
+ const depthAdd = ast && ast.#canAdoptType(c110) ? 0 : 1;
9475
9475
  part.push(acc);
9476
9476
  acc = "";
9477
- const ext = new _a2(c111, part);
9477
+ const ext = new _a2(c110, part);
9478
9478
  part.push(ext);
9479
9479
  i = _a2.#parseAST(str, ext, i, opt, extDepth + depthAdd);
9480
9480
  continue;
9481
9481
  }
9482
- if (c111 === "|") {
9482
+ if (c110 === "|") {
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 (c111 === ")") {
9489
+ if (c110 === ")") {
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 += c111;
9498
+ acc += c110;
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(c111, map2 = adoptionAnyMap) {
9519
- return !!map2.get(this.type)?.includes(c111);
9518
+ #canAdoptType(c110, map2 = adoptionAnyMap) {
9519
+ return !!map2.get(this.type)?.includes(c110);
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(c111) {
9537
+ #canUsurpType(c110) {
9538
9538
  const m = usurpMap.get(this.type);
9539
- return !!m?.has(c111);
9539
+ return !!m?.has(c110);
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 c111 = this.#parts[i];
9753
- if (typeof c111 === "object") {
9754
- c111.#flatten();
9755
- if (this.#canAdopt(c111)) {
9752
+ const c110 = this.#parts[i];
9753
+ if (typeof c110 === "object") {
9754
+ c110.#flatten();
9755
+ if (this.#canAdopt(c110)) {
9756
9756
  done = false;
9757
- this.#adopt(c111, i);
9758
- } else if (this.#canAdoptWithSpace(c111)) {
9757
+ this.#adopt(c110, i);
9758
+ } else if (this.#canAdoptWithSpace(c110)) {
9759
9759
  done = false;
9760
- this.#adoptWithSpace(c111, i);
9761
- } else if (this.#canUsurp(c111)) {
9760
+ this.#adoptWithSpace(c110, i);
9761
+ } else if (this.#canUsurp(c110)) {
9762
9762
  done = false;
9763
- this.#usurp(c111);
9763
+ this.#usurp(c110);
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 c111 = glob.charAt(i);
9787
+ const c110 = glob.charAt(i);
9788
9788
  if (escaping) {
9789
9789
  escaping = false;
9790
- re += (reSpecials.has(c111) ? "\\" : "") + c111;
9790
+ re += (reSpecials.has(c110) ? "\\" : "") + c110;
9791
9791
  continue;
9792
9792
  }
9793
- if (c111 === "*") {
9793
+ if (c110 === "*") {
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 (c111 === "\\") {
9803
+ if (c110 === "\\") {
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 (c111 === "[") {
9811
+ if (c110 === "[") {
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 (c111 === "?") {
9821
+ if (c110 === "?") {
9822
9822
  re += qmark;
9823
9823
  hasMagic = true;
9824
9824
  continue;
9825
9825
  }
9826
- re += regExpEscape(c111);
9826
+ re += regExpEscape(c110);
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 c111 = pool.config.connectionConfig;
13750
+ const c110 = pool.config.connectionConfig;
13751
13751
  let poolName = "";
13752
- poolName += c111.host ? `host: '${c111.host}', ` : "";
13753
- poolName += c111.port ? `port: ${c111.port}, ` : "";
13754
- poolName += c111.database ? `database: '${c111.database}', ` : "";
13755
- poolName += c111.user ? `user: '${c111.user}'` : "";
13756
- if (!c111.user) {
13752
+ poolName += c110.host ? `host: '${c110.host}', ` : "";
13753
+ poolName += c110.port ? `port: ${c110.port}, ` : "";
13754
+ poolName += c110.database ? `database: '${c110.database}', ` : "";
13755
+ poolName += c110.user ? `user: '${c110.user}'` : "";
13756
+ if (!c110.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, (c111) => `%${c111.charCodeAt(0).toString(16).toUpperCase()}`);
14108
+ return encodeURIComponent(str).replace(/[!'()*]/g, (c110) => `%${c110.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(c111) {
22669
- switch (c111) {
22668
+ function isTokenCharCode(c110) {
22669
+ switch (c110) {
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 c111 >= 33 && c111 <= 126;
22689
+ return c110 >= 33 && c110 <= 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((c111) => c111 !== 44);
24278
+ exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c110) => c110 !== 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 c111 = statusText.charCodeAt(i);
25425
- if (!(c111 === 9 || // HTAB
25426
- c111 >= 32 && c111 <= 126 || // SP / VCHAR
25427
- c111 >= 128 && c111 <= 255)) {
25424
+ const c110 = statusText.charCodeAt(i);
25425
+ if (!(c110 === 9 || // HTAB
25426
+ c110 >= 32 && c110 <= 126 || // SP / VCHAR
25427
+ c110 >= 128 && c110 <= 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((c111) => c111.close())).then(pool[kClosedResolve]);
29401
+ Promise.all(pool[kClients].map((c110) => c110.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((c111) => c111.close()));
29450
+ await Promise.all(this[kClients].map((c110) => c110.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((c111) => c111.destroy(err)));
29465
+ await Promise.all(this[kClients].map((c110) => c110.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, c111] = ioQueue;
36236
- if (a === 239 && b === 187 && c111 === 191) {
36235
+ const [a, b, c110] = ioQueue;
36236
+ if (a === 239 && b === 187 && c110 === 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 c111 = require_kleur();
40359
+ var c110 = 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: c111.red(figures.cross),
40382
- done: c111.green(figures.tick),
40383
- exited: c111.yellow(figures.cross),
40384
- default: c111.cyan("?")
40381
+ aborted: c110.red(figures.cross),
40382
+ done: c110.green(figures.tick),
40383
+ exited: c110.yellow(figures.cross),
40384
+ default: c110.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) => c111.gray(completing ? figures.ellipsis : figures.pointerSmall);
40388
- var item = (expandable, expanded) => c111.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
40387
+ var delimiter = (completing) => c110.gray(completing ? figures.ellipsis : figures.pointerSmall);
40388
+ var item = (expandable, expanded) => c110.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
- _(c111, key) {
40670
+ _(c110, key) {
40671
40671
  let s1 = this.value.slice(0, this.cursor);
40672
40672
  let s2 = this.value.slice(this.cursor);
40673
- this.value = `${s1}${c111}${s2}`;
40673
+ this.value = `${s1}${c110}${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
- _(c111, key) {
40849
- if (c111 === " ") return this.submit();
40848
+ _(c110, key) {
40849
+ if (c110 === " ") 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
- _(c111, key) {
40976
- if (c111 === " ") {
40975
+ _(c110, key) {
40976
+ if (c110 === " ") {
40977
40977
  this.value = !this.value;
40978
- } else if (c111 === "1") {
40978
+ } else if (c110 === "1") {
40979
40979
  this.value = true;
40980
- } else if (c111 === "0") {
40980
+ } else if (c110 === "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
- _(c111) {
41489
- if (/\d/.test(c111)) {
41490
- this.typed += c111;
41488
+ _(c110) {
41489
+ if (/\d/.test(c110)) {
41490
+ this.typed += c110;
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(c111) {
41600
- return c111 === `-` || c111 === `.` && this.float || isNumber.test(c111);
41599
+ valid(c110) {
41600
+ return c110 === `-` || c110 === `.` && this.float || isNumber.test(c110);
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
- _(c111, key) {
41694
- if (!this.valid(c111)) return this.bell();
41693
+ _(c110, key) {
41694
+ if (!this.valid(c110)) return this.bell();
41695
41695
  const now = Date.now();
41696
41696
  if (now - this.lastHit > 1e3) this.typed = ``;
41697
- this.typed += c111;
41697
+ this.typed += c110;
41698
41698
  this.lastHit = now;
41699
41699
  this.color = `cyan`;
41700
- if (c111 === `.`) return this.fire();
41700
+ if (c110 === `.`) 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
- _(c111, key) {
41865
- if (c111 === " ") {
41864
+ _(c110, key) {
41865
+ if (c110 === " ") {
41866
41866
  this.handleSpaceToggle();
41867
- } else if (c111 === "a") {
41867
+ } else if (c110 === "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
- _(c111, key) {
42108
+ _(c110, key) {
42109
42109
  let s1 = this.input.slice(0, this.cursor);
42110
42110
  let s2 = this.input.slice(this.cursor);
42111
- this.input = `${s1}${c111}${s2}`;
42111
+ this.input = `${s1}${c110}${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(c111) {
42312
- this.inputValue = this.inputValue + c111;
42311
+ handleInputChange(c110) {
42312
+ this.inputValue = this.inputValue + c110;
42313
42313
  this.updateFilteredOptions();
42314
42314
  }
42315
- _(c111, key) {
42316
- if (c111 === " ") {
42315
+ _(c110, key) {
42316
+ if (c110 === " ") {
42317
42317
  this.handleSpaceToggle();
42318
42318
  } else {
42319
- this.handleInputChange(c111);
42319
+ this.handleInputChange(c110);
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
- _(c111, key) {
42426
- if (c111.toLowerCase() === "y") {
42425
+ _(c110, key) {
42426
+ if (c110.toLowerCase() === "y") {
42427
42427
  this.value = true;
42428
42428
  return this.submit();
42429
42429
  }
42430
- if (c111.toLowerCase() === "n") {
42430
+ if (c110.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 c111 = require_kleur();
42871
+ var c110 = 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: c111.red(figures.cross),
42882
- done: c111.green(figures.tick),
42883
- exited: c111.yellow(figures.cross),
42884
- default: c111.cyan("?")
42881
+ aborted: c110.red(figures.cross),
42882
+ done: c110.green(figures.tick),
42883
+ exited: c110.yellow(figures.cross),
42884
+ default: c110.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) => c111.gray(completing ? figures.ellipsis : figures.pointerSmall);
42888
- var item = (expandable, expanded) => c111.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
42887
+ var delimiter = (completing) => c110.gray(completing ? figures.ellipsis : figures.pointerSmall);
42888
+ var item = (expandable, expanded) => c110.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
- _(c111, key) {
43121
+ _(c110, key) {
43122
43122
  let s1 = this.value.slice(0, this.cursor);
43123
43123
  let s2 = this.value.slice(this.cursor);
43124
- this.value = `${s1}${c111}${s2}`;
43124
+ this.value = `${s1}${c110}${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
- _(c111, key) {
43299
- if (c111 === " ") return this.submit();
43298
+ _(c110, key) {
43299
+ if (c110 === " ") 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
- _(c111, key) {
43424
- if (c111 === " ") {
43423
+ _(c110, key) {
43424
+ if (c110 === " ") {
43425
43425
  this.value = !this.value;
43426
- } else if (c111 === "1") {
43426
+ } else if (c110 === "1") {
43427
43427
  this.value = true;
43428
- } else if (c111 === "0") {
43428
+ } else if (c110 === "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
- _(c111) {
43885
- if (/\d/.test(c111)) {
43886
- this.typed += c111;
43884
+ _(c110) {
43885
+ if (/\d/.test(c110)) {
43886
+ this.typed += c110;
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(c111) {
43969
- return c111 === `-` || c111 === `.` && this.float || isNumber.test(c111);
43968
+ valid(c110) {
43969
+ return c110 === `-` || c110 === `.` && this.float || isNumber.test(c110);
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
- _(c111, key) {
44057
- if (!this.valid(c111)) return this.bell();
44056
+ _(c110, key) {
44057
+ if (!this.valid(c110)) return this.bell();
44058
44058
  const now = Date.now();
44059
44059
  if (now - this.lastHit > 1e3) this.typed = ``;
44060
- this.typed += c111;
44060
+ this.typed += c110;
44061
44061
  this.lastHit = now;
44062
44062
  this.color = `cyan`;
44063
- if (c111 === `.`) return this.fire();
44063
+ if (c110 === `.`) 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
- _(c111, key) {
44226
- if (c111 === " ") {
44225
+ _(c110, key) {
44226
+ if (c110 === " ") {
44227
44227
  this.handleSpaceToggle();
44228
- } else if (c111 === "a") {
44228
+ } else if (c110 === "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
- _(c111, key) {
44425
+ _(c110, key) {
44426
44426
  let s1 = this.input.slice(0, this.cursor);
44427
44427
  let s2 = this.input.slice(this.cursor);
44428
- this.input = `${s1}${c111}${s2}`;
44428
+ this.input = `${s1}${c110}${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(c111) {
44632
- this.inputValue = this.inputValue + c111;
44631
+ handleInputChange(c110) {
44632
+ this.inputValue = this.inputValue + c110;
44633
44633
  this.updateFilteredOptions();
44634
44634
  }
44635
- _(c111, key) {
44636
- if (c111 === " ") {
44635
+ _(c110, key) {
44636
+ if (c110 === " ") {
44637
44637
  this.handleSpaceToggle();
44638
44638
  } else {
44639
- this.handleInputChange(c111);
44639
+ this.handleInputChange(c110);
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
- _(c111, key) {
44747
- if (c111.toLowerCase() === "y") {
44746
+ _(c110, key) {
44747
+ if (c110.toLowerCase() === "y") {
44748
44748
  this.value = true;
44749
44749
  return this.submit();
44750
44750
  }
44751
- if (c111.toLowerCase() === "n") {
44751
+ if (c110.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 c111 = getAliasCount(doc, item, anchors2);
45638
- if (c111 > count)
45639
- count = c111;
45637
+ const c110 = getAliasCount(doc, item, anchors2);
45638
+ if (c110 > count)
45639
+ count = c110;
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 c111 of classes) {
53180
- out.push(`.${c111}`);
53179
+ for (const c110 of classes) {
53180
+ out.push(`.${c110}`);
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
- (c111) => (
53412
+ (c110) => (
53413
53413
  // eslint-disable-next-line no-bitwise
53414
- (c111 ^ (getRandomByte() & 15) >> c111 / 4).toString(16)
53414
+ (c110 ^ (getRandomByte() & 15) >> c110 / 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(c111, next) {
72471
+ return function(c110, next) {
72472
72472
  if (!instrumentation.isEnabled()) {
72473
- return handler.apply(this, [c111, next]);
72473
+ return handler.apply(this, [c110, next]);
72474
72474
  }
72475
- const path3 = c111.req.path;
72475
+ const path3 = c110.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, [c111, next]);
72480
+ const result = handler.apply(this, [c110, 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.160.9",
74086
+ release: "9.161.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.160.9",
74105
+ version: "9.161.1",
74106
74106
  command: process.argv.slice(2).join(" ")
74107
74107
  });
74108
74108
  setContext("runtime", {
@@ -74393,6 +74393,12 @@ var FEATURE_SWITCHES = {
74393
74393
  enabled: false,
74394
74394
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES
74395
74395
  },
74396
+ ["localAgentConnector" /* LocalAgentConnector */]: {
74397
+ maintainer: "ethan@vm0.ai",
74398
+ description: "Show the Local Agent connector entry on the Connectors settings page. Staff-only while adoption is being re-evaluated.",
74399
+ enabled: false,
74400
+ enabledOrgIdHashes: STAFF_ORG_ID_HASHES
74401
+ },
74396
74402
  ["desktopLocalAgent" /* DesktopLocalAgent */]: {
74397
74403
  maintainer: "lancy@vm0.ai",
74398
74404
  description: "Enable the Desktop-owned Local Agent page, folder selection, and native host lifecycle",
@@ -74435,12 +74441,6 @@ var FEATURE_SWITCHES = {
74435
74441
  description: "Show an icon button in assistant message group actions that scrolls back to the start of that message group.",
74436
74442
  enabled: false
74437
74443
  },
74438
- ["goal" /* Goal */]: {
74439
- maintainer: "ethan@vm0.ai",
74440
- description: "Enable Codex-style goal mode in web chat: typing `/go <objective>` starts a self-continuing chain that runs up to 10 turns until the agent emits the [GOAL_DONE] sentinel, the budget is exhausted, the run fails, or the user interrupts.",
74441
- enabled: false,
74442
- enabledOrgIdHashes: STAFF_ORG_ID_HASHES
74443
- },
74444
74444
  ["chatThreadRename" /* ChatThreadRename */]: {
74445
74445
  maintainer: "ethan@vm0.ai",
74446
74446
  description: "Adds a Rename chat item to the sidebar thread kebab menu. When the user renames a thread, automated title generation is suppressed for that thread.",
@@ -77725,7 +77725,7 @@ var $ZodBase64 = /* @__PURE__ */ $constructor("$ZodBase64", (inst, def) => {
77725
77725
  function isValidBase64URL(data) {
77726
77726
  if (!base64url.test(data))
77727
77727
  return false;
77728
- const base643 = data.replace(/[-_]/g, (c111) => c111 === "-" ? "+" : "/");
77728
+ const base643 = data.replace(/[-_]/g, (c110) => c110 === "-" ? "+" : "/");
77729
77729
  const padded = base643.padEnd(Math.ceil(base643.length / 4) * 4, "=");
77730
77730
  return isValidBase64(padded);
77731
77731
  }
@@ -87836,9 +87836,9 @@ var ZodDate = /* @__PURE__ */ $constructor("ZodDate", (inst, def) => {
87836
87836
  inst._zod.processJSONSchema = (ctx, json2, params) => dateProcessor(inst, ctx, json2, params);
87837
87837
  inst.min = (value, params) => inst.check(_gte(value, params));
87838
87838
  inst.max = (value, params) => inst.check(_lte(value, params));
87839
- const c111 = inst._zod.bag;
87840
- inst.minDate = c111.minimum ? new Date(c111.minimum) : null;
87841
- inst.maxDate = c111.maximum ? new Date(c111.maximum) : null;
87839
+ const c110 = inst._zod.bag;
87840
+ inst.minDate = c110.minimum ? new Date(c110.minimum) : null;
87841
+ inst.maxDate = c110.maximum ? new Date(c110.maximum) : null;
87842
87842
  });
87843
87843
  function date3(params) {
87844
87844
  return _date(ZodDate, params);
@@ -98231,6 +98231,7 @@ var localAgent = {
98231
98231
  helpText: "Run local Codex or Claude Code hosts, then call them from chat with `/local-agent ${host} prompt`",
98232
98232
  authMethods: {
98233
98233
  api: {
98234
+ featureFlag: "localAgentConnector" /* LocalAgentConnector */,
98234
98235
  label: "CLI Host",
98235
98236
  helpText: "1. Run `npx -p @vm0/cli vm0 login`\n2. Start a host with `npx -p @vm0/cli vm0 local-agent start`\n3. Keep the host process running, then return here and click **Connect** once it appears online\n4. Run a connected host from chat with `/local-agent ${host} prompt`",
98236
98237
  secrets: {}
@@ -108040,15 +108041,6 @@ var chatMessagesContract = c23.router({
108040
108041
  // Lets the client render an optimistic row and reconcile with the
108041
108042
  // server row by id — no temp-id swap, no React remount.
108042
108043
  clientMessageId: external_exports.string().uuid().optional(),
108043
- /**
108044
- * Goal mode: when `true`, this message starts a self-continuing chain
108045
- * that runs up to a server-defined turn budget. Subsequent turns are
108046
- * appended automatically by the run-completion callback until the
108047
- * agent emits `[GOAL_DONE]`, the budget is exhausted, the run fails,
108048
- * or the user interrupts. Server applies the budget; clients cannot
108049
- * pick it. Gated by the Goal feature switch.
108050
- */
108051
- goal: external_exports.boolean().optional(),
108052
108044
  /**
108053
108045
  * Force a new CLI session for this run instead of resuming the
108054
108046
  * thread's latest session. Set by the web composer when the user
@@ -108084,7 +108076,6 @@ var chatMessagesContract = c23.router({
108084
108076
  debugNoMockClaude: external_exports.undefined().optional(),
108085
108077
  debugNoMockCodex: external_exports.undefined().optional(),
108086
108078
  interruptsRunId: external_exports.undefined().optional(),
108087
- goal: external_exports.undefined().optional(),
108088
108079
  forceNewSession: external_exports.undefined().optional()
108089
108080
  }),
108090
108081
  external_exports.object({
@@ -108101,7 +108092,6 @@ var chatMessagesContract = c23.router({
108101
108092
  debugNoMockClaude: external_exports.undefined().optional(),
108102
108093
  debugNoMockCodex: external_exports.undefined().optional(),
108103
108094
  revokesMessageId: external_exports.undefined().optional(),
108104
- goal: external_exports.undefined().optional(),
108105
108095
  forceNewSession: external_exports.undefined().optional()
108106
108096
  })
108107
108097
  ]),
@@ -129253,8 +129243,7 @@ var memberUsageSchema = external_exports.object({
129253
129243
  outputTokens: external_exports.number(),
129254
129244
  cacheReadInputTokens: external_exports.number(),
129255
129245
  cacheCreationInputTokens: external_exports.number(),
129256
- creditsCharged: external_exports.number(),
129257
- creditCap: external_exports.number().nullable()
129246
+ creditsCharged: external_exports.number()
129258
129247
  });
129259
129248
  var usageMembersResponseSchema = external_exports.object({
129260
129249
  period: external_exports.object({
@@ -129734,50 +129723,9 @@ var zeroQueuePositionContract = c88.router({
129734
129723
  }
129735
129724
  });
129736
129725
 
129737
- // ../../packages/api-contracts/src/contracts/zero-member-credit-cap.ts
129738
- init_esm_shims();
129739
- var c89 = initContract();
129740
- var memberCreditCapResponseSchema = external_exports.object({
129741
- userId: external_exports.string(),
129742
- creditCap: external_exports.number().nullable(),
129743
- creditEnabled: external_exports.boolean()
129744
- });
129745
- var zeroMemberCreditCapContract = c89.router({
129746
- get: {
129747
- method: "GET",
129748
- path: "/api/zero/org/members/credit-cap",
129749
- headers: authHeadersSchema,
129750
- query: external_exports.object({
129751
- userId: external_exports.string().min(1, "userId is required")
129752
- }),
129753
- responses: {
129754
- 200: memberCreditCapResponseSchema,
129755
- 400: apiErrorSchema,
129756
- 401: apiErrorSchema
129757
- },
129758
- summary: "Get member credit cap"
129759
- },
129760
- set: {
129761
- method: "PUT",
129762
- path: "/api/zero/org/members/credit-cap",
129763
- headers: authHeadersSchema,
129764
- body: external_exports.object({
129765
- userId: external_exports.string().min(1),
129766
- creditCap: external_exports.number().int().positive().nullable()
129767
- }),
129768
- responses: {
129769
- 200: memberCreditCapResponseSchema,
129770
- 400: apiErrorSchema,
129771
- 401: apiErrorSchema,
129772
- 403: apiErrorSchema
129773
- },
129774
- summary: "Set or clear member credit cap"
129775
- }
129776
- });
129777
-
129778
129726
  // ../../packages/api-contracts/src/contracts/zero-report-error.ts
129779
129727
  init_esm_shims();
129780
- var c90 = initContract();
129728
+ var c89 = initContract();
129781
129729
  var reportErrorBodySchema = external_exports.object({
129782
129730
  runId: external_exports.uuid("Run ID must be a valid UUID"),
129783
129731
  title: external_exports.string().min(1, "Title is required"),
@@ -129786,7 +129734,7 @@ var reportErrorBodySchema = external_exports.object({
129786
129734
  var reportErrorResponseSchema = external_exports.object({
129787
129735
  reference: external_exports.string()
129788
129736
  });
129789
- var zeroReportErrorContract = c90.router({
129737
+ var zeroReportErrorContract = c89.router({
129790
129738
  submit: {
129791
129739
  method: "POST",
129792
129740
  path: "/api/zero/report-error",
@@ -129805,7 +129753,7 @@ var zeroReportErrorContract = c90.router({
129805
129753
 
129806
129754
  // ../../packages/api-contracts/src/contracts/zero-insights.ts
129807
129755
  init_esm_shims();
129808
- var c91 = initContract();
129756
+ var c90 = initContract();
129809
129757
  var insightAgentSchema = external_exports.object({
129810
129758
  agentName: external_exports.string(),
129811
129759
  agentId: external_exports.string().nullable(),
@@ -129870,7 +129818,7 @@ var insightsRangeResponseSchema = external_exports.object({
129870
129818
  maxDate: external_exports.string().nullable(),
129871
129819
  totalDays: external_exports.number()
129872
129820
  });
129873
- var zeroInsightsContract = c91.router({
129821
+ var zeroInsightsContract = c90.router({
129874
129822
  get: {
129875
129823
  method: "GET",
129876
129824
  path: "/api/zero/insights",
@@ -129885,7 +129833,7 @@ var zeroInsightsContract = c91.router({
129885
129833
  summary: "Get daily insights for the authenticated org"
129886
129834
  }
129887
129835
  });
129888
- var zeroInsightsRangeContract = c91.router({
129836
+ var zeroInsightsRangeContract = c90.router({
129889
129837
  get: {
129890
129838
  method: "GET",
129891
129839
  path: "/api/zero/insights/range",
@@ -129900,8 +129848,8 @@ var zeroInsightsRangeContract = c91.router({
129900
129848
 
129901
129849
  // ../../packages/api-contracts/src/contracts/push-subscriptions.ts
129902
129850
  init_esm_shims();
129903
- var c92 = initContract();
129904
- var pushSubscriptionsContract = c92.router({
129851
+ var c91 = initContract();
129852
+ var pushSubscriptionsContract = c91.router({
129905
129853
  register: {
129906
129854
  method: "POST",
129907
129855
  path: "/api/zero/push-subscriptions",
@@ -129928,7 +129876,7 @@ init_esm_shims();
129928
129876
 
129929
129877
  // ../../packages/api-contracts/src/contracts/zero-built-in-generation.ts
129930
129878
  init_esm_shims();
129931
- var c93 = initContract();
129879
+ var c92 = initContract();
129932
129880
  var zeroBuiltInGenerationTypeSchema = external_exports.enum([
129933
129881
  "image",
129934
129882
  "video",
@@ -129966,7 +129914,7 @@ var zeroBuiltInGenerationResponseSchema = external_exports.object({
129966
129914
  startedAt: external_exports.string().nullable(),
129967
129915
  completedAt: external_exports.string().nullable()
129968
129916
  });
129969
- var zeroBuiltInGenerationContract = c93.router({
129917
+ var zeroBuiltInGenerationContract = c92.router({
129970
129918
  get: {
129971
129919
  method: "GET",
129972
129920
  path: "/api/zero/built-in-generations/:generationId",
@@ -129986,7 +129934,7 @@ var zeroBuiltInGenerationContract = c93.router({
129986
129934
  });
129987
129935
 
129988
129936
  // ../../packages/api-contracts/src/contracts/zero-image-io-generate.ts
129989
- var c94 = initContract();
129937
+ var c93 = initContract();
129990
129938
  var zeroImageIoGenerateRequestSchema = external_exports.object({
129991
129939
  prompt: external_exports.unknown().optional(),
129992
129940
  model: external_exports.unknown().optional(),
@@ -130036,7 +129984,7 @@ var zeroImageIoGenerateResponseSchema = external_exports.object({
130036
129984
  inputFidelity: external_exports.string().optional(),
130037
129985
  imagePromptStrength: external_exports.number().optional()
130038
129986
  });
130039
- var zeroImageIoGenerateContract = c94.router({
129987
+ var zeroImageIoGenerateContract = c93.router({
130040
129988
  post: {
130041
129989
  method: "POST",
130042
129990
  path: "/api/zero/image-io/generate",
@@ -130059,7 +130007,7 @@ var zeroImageIoGenerateContract = c94.router({
130059
130007
 
130060
130008
  // ../../packages/api-contracts/src/contracts/zero-maps.ts
130061
130009
  init_esm_shims();
130062
- var c95 = initContract();
130010
+ var c94 = initContract();
130063
130011
  var travelModeSchema = external_exports.enum(["driving", "walking", "bicycling", "transit"]);
130064
130012
  var placeDetailFieldsetSchema = external_exports.enum(["essentials", "pro"]);
130065
130013
  var zeroMapsOperationSchema = external_exports.enum([
@@ -130111,7 +130059,7 @@ var mapsResponses = {
130111
130059
  502: apiErrorSchema,
130112
130060
  503: apiErrorSchema
130113
130061
  };
130114
- var zeroMapsContract = c95.router({
130062
+ var zeroMapsContract = c94.router({
130115
130063
  geocode: {
130116
130064
  method: "POST",
130117
130065
  path: "/api/zero/maps/geocode",
@@ -130156,7 +130104,7 @@ var zeroMapsContract = c95.router({
130156
130104
 
130157
130105
  // ../../packages/api-contracts/src/contracts/zero-video-io-generate.ts
130158
130106
  init_esm_shims();
130159
- var c96 = initContract();
130107
+ var c95 = initContract();
130160
130108
  var zeroVideoIoGenerateRequestSchema = external_exports.object({
130161
130109
  prompt: external_exports.unknown().optional(),
130162
130110
  model: external_exports.unknown().optional(),
@@ -130193,7 +130141,7 @@ var zeroVideoIoGenerateResponseSchema = external_exports.object({
130193
130141
  sourceUrl: external_exports.string(),
130194
130142
  requestId: external_exports.string().optional()
130195
130143
  });
130196
- var zeroVideoIoGenerateContract = c96.router({
130144
+ var zeroVideoIoGenerateContract = c95.router({
130197
130145
  post: {
130198
130146
  method: "POST",
130199
130147
  path: "/api/zero/video-io/generate",
@@ -130217,7 +130165,7 @@ var zeroVideoIoGenerateContract = c96.router({
130217
130165
 
130218
130166
  // ../../packages/api-contracts/src/contracts/zero-presentation-io-generate.ts
130219
130167
  init_esm_shims();
130220
- var c97 = initContract();
130168
+ var c96 = initContract();
130221
130169
  var zeroPresentationIoGenerateRequestSchema = external_exports.object({
130222
130170
  prompt: external_exports.unknown().optional(),
130223
130171
  style: external_exports.unknown().optional(),
@@ -130253,7 +130201,7 @@ var zeroPresentationIoGenerateResponseSchema = external_exports.object({
130253
130201
  responseId: external_exports.string().optional(),
130254
130202
  usage: zeroPresentationIoUsageSchema
130255
130203
  });
130256
- var zeroPresentationIoGenerateContract = c97.router({
130204
+ var zeroPresentationIoGenerateContract = c96.router({
130257
130205
  post: {
130258
130206
  method: "POST",
130259
130207
  path: "/api/zero/presentation-io/generate",
@@ -130276,7 +130224,7 @@ var zeroPresentationIoGenerateContract = c97.router({
130276
130224
 
130277
130225
  // ../../packages/api-contracts/src/contracts/zero-website-io-generate.ts
130278
130226
  init_esm_shims();
130279
- var c98 = initContract();
130227
+ var c97 = initContract();
130280
130228
  var zeroWebsiteTemplateIdSchema = external_exports.enum(["launch", "profile"]);
130281
130229
  var zeroWebsiteTemplateRequestSchema = external_exports.enum([
130282
130230
  "auto",
@@ -130377,7 +130325,7 @@ var zeroWebsiteIoGenerateResponseSchema = external_exports.object({
130377
130325
  responseId: external_exports.string().optional(),
130378
130326
  usage: zeroWebsiteIoUsageSchema
130379
130327
  });
130380
- var zeroWebsiteIoGenerateContract = c98.router({
130328
+ var zeroWebsiteIoGenerateContract = c97.router({
130381
130329
  post: {
130382
130330
  method: "POST",
130383
130331
  path: "/api/zero/website-io/generate",
@@ -130400,8 +130348,8 @@ var zeroWebsiteIoGenerateContract = c98.router({
130400
130348
 
130401
130349
  // ../../packages/api-contracts/src/contracts/internal-callbacks-agent.ts
130402
130350
  init_esm_shims();
130403
- var c99 = initContract();
130404
- var internalCallbacksAgentContract = c99.router({
130351
+ var c98 = initContract();
130352
+ var internalCallbacksAgentContract = c98.router({
130405
130353
  post: {
130406
130354
  method: "POST",
130407
130355
  path: "/api/internal/callbacks/agent",
@@ -130419,7 +130367,7 @@ var internalCallbacksAgentContract = c99.router({
130419
130367
 
130420
130368
  // ../../packages/api-contracts/src/contracts/internal-callbacks-github-issues.ts
130421
130369
  init_esm_shims();
130422
- var c100 = initContract();
130370
+ var c99 = initContract();
130423
130371
  var githubIssuesCallbackPayloadSchema = external_exports.object({
130424
130372
  installationId: external_exports.string(),
130425
130373
  repo: external_exports.string(),
@@ -130430,7 +130378,7 @@ var githubIssuesCallbackPayloadSchema = external_exports.object({
130430
130378
  triggerReactionId: external_exports.string().optional(),
130431
130379
  triggerCommentBody: external_exports.string().optional()
130432
130380
  }).passthrough();
130433
- var internalCallbacksGithubIssuesContract = c100.router({
130381
+ var internalCallbacksGithubIssuesContract = c99.router({
130434
130382
  post: {
130435
130383
  method: "POST",
130436
130384
  path: "/api/internal/callbacks/github/issues",
@@ -130451,7 +130399,7 @@ var internalCallbacksGithubIssuesContract = c100.router({
130451
130399
 
130452
130400
  // ../../packages/api-contracts/src/contracts/internal-callbacks-schedule.ts
130453
130401
  init_esm_shims();
130454
- var c101 = initContract();
130402
+ var c100 = initContract();
130455
130403
  var scheduleLoopCallbackPayloadSchema = external_exports.object({
130456
130404
  scheduleId: external_exports.string()
130457
130405
  }).passthrough();
@@ -130459,7 +130407,7 @@ var scheduleCronCallbackPayloadSchema = scheduleLoopCallbackPayloadSchema.extend
130459
130407
  timezone: external_exports.string(),
130460
130408
  cronExpression: external_exports.string().optional()
130461
130409
  }).passthrough();
130462
- var internalCallbacksScheduleContract = c101.router({
130410
+ var internalCallbacksScheduleContract = c100.router({
130463
130411
  cron: {
130464
130412
  method: "POST",
130465
130413
  path: "/api/internal/callbacks/schedule/cron",
@@ -130494,13 +130442,13 @@ var internalCallbacksScheduleContract = c101.router({
130494
130442
 
130495
130443
  // ../../packages/api-contracts/src/contracts/zero-voice-io-quota.ts
130496
130444
  init_esm_shims();
130497
- var c102 = initContract();
130445
+ var c101 = initContract();
130498
130446
  var audioInputQuotaResponseSchema = external_exports.object({
130499
130447
  allowed: external_exports.boolean(),
130500
130448
  count: external_exports.number().int().nonnegative(),
130501
130449
  limit: external_exports.number().int().positive().nullable()
130502
130450
  });
130503
- var zeroVoiceIoQuotaContract = c102.router({
130451
+ var zeroVoiceIoQuotaContract = c101.router({
130504
130452
  get: {
130505
130453
  method: "GET",
130506
130454
  path: "/api/zero/voice-io/quota",
@@ -130516,7 +130464,7 @@ var zeroVoiceIoQuotaContract = c102.router({
130516
130464
 
130517
130465
  // ../../packages/api-contracts/src/contracts/zero-voice-io-speech.ts
130518
130466
  init_esm_shims();
130519
- var c103 = initContract();
130467
+ var c102 = initContract();
130520
130468
  var zeroVoiceIoSpeechRequestSchema = external_exports.object({
130521
130469
  text: external_exports.unknown().optional(),
130522
130470
  voice: external_exports.unknown().optional(),
@@ -130533,7 +130481,7 @@ var zeroVoiceIoSpeechResponseSchema = external_exports.object({
130533
130481
  model: external_exports.string(),
130534
130482
  voice: external_exports.string()
130535
130483
  });
130536
- var zeroVoiceIoSpeechContract = c103.router({
130484
+ var zeroVoiceIoSpeechContract = c102.router({
130537
130485
  post: {
130538
130486
  method: "POST",
130539
130487
  path: "/api/zero/voice-io/speech",
@@ -130555,7 +130503,7 @@ var zeroVoiceIoSpeechContract = c103.router({
130555
130503
 
130556
130504
  // ../../packages/api-contracts/src/contracts/zero-voice-io-stt.ts
130557
130505
  init_esm_shims();
130558
- var c104 = initContract();
130506
+ var c103 = initContract();
130559
130507
  var zeroVoiceIoSttResponseSchema = external_exports.object({
130560
130508
  text: external_exports.string()
130561
130509
  });
@@ -130565,13 +130513,13 @@ var zeroVoiceIoSttQuotaErrorSchema = apiErrorSchema.extend({
130565
130513
  limit: external_exports.number().nullable()
130566
130514
  }).optional()
130567
130515
  });
130568
- var zeroVoiceIoSttContract = c104.router({
130516
+ var zeroVoiceIoSttContract = c103.router({
130569
130517
  post: {
130570
130518
  method: "POST",
130571
130519
  path: "/api/zero/voice-io/stt",
130572
130520
  headers: authHeadersSchema,
130573
130521
  contentType: "multipart/form-data",
130574
- body: c104.type(),
130522
+ body: c103.type(),
130575
130523
  responses: {
130576
130524
  200: zeroVoiceIoSttResponseSchema,
130577
130525
  400: apiErrorSchema,
@@ -130587,18 +130535,18 @@ var zeroVoiceIoSttContract = c104.router({
130587
130535
 
130588
130536
  // ../../packages/api-contracts/src/contracts/zero-voice-io-tts.ts
130589
130537
  init_esm_shims();
130590
- var c105 = initContract();
130538
+ var c104 = initContract();
130591
130539
  var zeroVoiceIoTtsRequestSchema = external_exports.object({
130592
130540
  text: external_exports.unknown().optional()
130593
130541
  }).passthrough();
130594
- var zeroVoiceIoTtsContract = c105.router({
130542
+ var zeroVoiceIoTtsContract = c104.router({
130595
130543
  post: {
130596
130544
  method: "POST",
130597
130545
  path: "/api/zero/voice-io/tts",
130598
130546
  headers: authHeadersSchema,
130599
130547
  body: zeroVoiceIoTtsRequestSchema,
130600
130548
  responses: {
130601
- 200: c105.otherResponse({
130549
+ 200: c104.otherResponse({
130602
130550
  contentType: "application/octet-stream",
130603
130551
  body: external_exports.unknown()
130604
130552
  }),
@@ -130613,7 +130561,7 @@ var zeroVoiceIoTtsContract = c105.router({
130613
130561
 
130614
130562
  // ../../packages/api-contracts/src/contracts/zero-voice-chat.ts
130615
130563
  init_esm_shims();
130616
- var c106 = initContract();
130564
+ var c105 = initContract();
130617
130565
  var voiceChatItemRoleSchema = external_exports.enum([
130618
130566
  "user",
130619
130567
  "assistant",
@@ -130710,7 +130658,7 @@ var sessionEndedBodySchema = external_exports.object({
130710
130658
  relaySessionId: external_exports.uuid()
130711
130659
  });
130712
130660
  var okResponseSchema = external_exports.object({ ok: external_exports.literal(true) });
130713
- var zeroVoiceChatContract = c106.router({
130661
+ var zeroVoiceChatContract = c105.router({
130714
130662
  createSession: {
130715
130663
  method: "POST",
130716
130664
  path: "/api/zero/voice-chat",
@@ -130885,7 +130833,7 @@ var zeroVoiceChatContract = c106.router({
130885
130833
 
130886
130834
  // ../../packages/api-contracts/src/contracts/zero-uploads.ts
130887
130835
  init_esm_shims();
130888
- var c107 = initContract();
130836
+ var c106 = initContract();
130889
130837
  var prepareRequestSchema = external_exports.object({
130890
130838
  filename: external_exports.string().min(1).max(255),
130891
130839
  contentType: external_exports.string().min(1).max(200),
@@ -130912,7 +130860,7 @@ var completeResponseSchema = external_exports.object({
130912
130860
  size: external_exports.number(),
130913
130861
  url: external_exports.string().url()
130914
130862
  });
130915
- var zeroUploadsContract = c107.router({
130863
+ var zeroUploadsContract = c106.router({
130916
130864
  prepare: {
130917
130865
  method: "POST",
130918
130866
  path: "/api/zero/uploads/prepare",
@@ -130946,7 +130894,7 @@ var zeroUploadsContract = c107.router({
130946
130894
 
130947
130895
  // ../../packages/api-contracts/src/contracts/zero-host.ts
130948
130896
  init_esm_shims();
130949
- var c108 = initContract();
130897
+ var c107 = initContract();
130950
130898
  var hostedSiteSlugSchema = external_exports.string().trim().min(3).max(63).regex(
130951
130899
  /^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/,
130952
130900
  "Site slug must use lowercase letters, numbers, and hyphens, and must start and end with a letter or number"
@@ -130981,7 +130929,7 @@ var hostedSiteCompleteResponseSchema = external_exports.object({
130981
130929
  url: external_exports.string().url(),
130982
130930
  status: external_exports.literal("ready")
130983
130931
  });
130984
- var zeroHostContract = c108.router({
130932
+ var zeroHostContract = c107.router({
130985
130933
  prepare: {
130986
130934
  method: "POST",
130987
130935
  path: "/api/zero/host/deployments/prepare",
@@ -131020,7 +130968,7 @@ var zeroHostContract = c108.router({
131020
130968
 
131021
130969
  // ../../packages/api-contracts/src/contracts/zero-integrations-telegram.ts
131022
130970
  init_esm_shims();
131023
- var c109 = initContract();
130971
+ var c108 = initContract();
131024
130972
  var telegramEnvironmentSchema = external_exports.object({
131025
130973
  requiredSecrets: external_exports.array(external_exports.string()),
131026
130974
  requiredVars: external_exports.array(external_exports.string()),
@@ -131119,7 +131067,7 @@ var telegramSetupStatusSchema = external_exports.object({
131119
131067
  var telegramWebhookPathParamsSchema = external_exports.object({
131120
131068
  telegramBotId: external_exports.string().min(1)
131121
131069
  });
131122
- var zeroIntegrationsTelegramContract = c109.router({
131070
+ var zeroIntegrationsTelegramContract = c108.router({
131123
131071
  list: {
131124
131072
  method: "GET",
131125
131073
  path: "/api/integrations/telegram",
@@ -131162,9 +131110,9 @@ var zeroIntegrationsTelegramContract = c109.router({
131162
131110
  path: "/api/integrations/telegram/:botId",
131163
131111
  headers: authHeadersSchema,
131164
131112
  pathParams: external_exports.object({ botId: external_exports.string().min(1) }),
131165
- body: c109.noBody(),
131113
+ body: c108.noBody(),
131166
131114
  responses: {
131167
- 204: c109.noBody(),
131115
+ 204: c108.noBody(),
131168
131116
  401: apiErrorSchema,
131169
131117
  403: apiErrorSchema,
131170
131118
  404: apiErrorSchema
@@ -131175,10 +131123,10 @@ var zeroIntegrationsTelegramContract = c109.router({
131175
131123
  method: "DELETE",
131176
131124
  path: "/api/integrations/telegram/link",
131177
131125
  headers: authHeadersSchema,
131178
- body: c109.noBody(),
131126
+ body: c108.noBody(),
131179
131127
  query: external_exports.object({ botId: external_exports.string().optional() }),
131180
131128
  responses: {
131181
- 204: c109.noBody(),
131129
+ 204: c108.noBody(),
131182
131130
  401: apiErrorSchema,
131183
131131
  404: apiErrorSchema
131184
131132
  },
@@ -131209,7 +131157,7 @@ var zeroIntegrationsTelegramContract = c109.router({
131209
131157
  sig: external_exports.string().optional()
131210
131158
  }),
131211
131159
  responses: {
131212
- 200: c109.otherResponse({
131160
+ 200: c108.otherResponse({
131213
131161
  contentType: "application/octet-stream",
131214
131162
  body: external_exports.unknown()
131215
131163
  }),
@@ -131224,7 +131172,7 @@ var zeroIntegrationsTelegramContract = c109.router({
131224
131172
  method: "GET",
131225
131173
  path: "/api/integrations/telegram/auth-callback",
131226
131174
  responses: {
131227
- 200: c109.otherResponse({
131175
+ 200: c108.otherResponse({
131228
131176
  contentType: "text/html",
131229
131177
  body: external_exports.unknown()
131230
131178
  })
@@ -131283,19 +131231,19 @@ var zeroIntegrationsTelegramContract = c109.router({
131283
131231
  pathParams: telegramWebhookPathParamsSchema,
131284
131232
  body: external_exports.unknown(),
131285
131233
  responses: {
131286
- 200: c109.otherResponse({
131234
+ 200: c108.otherResponse({
131287
131235
  contentType: "text/plain",
131288
131236
  body: external_exports.string()
131289
131237
  }),
131290
- 400: c109.otherResponse({
131238
+ 400: c108.otherResponse({
131291
131239
  contentType: "text/plain",
131292
131240
  body: external_exports.string()
131293
131241
  }),
131294
- 401: c109.otherResponse({
131242
+ 401: c108.otherResponse({
131295
131243
  contentType: "text/plain",
131296
131244
  body: external_exports.string()
131297
131245
  }),
131298
- 404: c109.otherResponse({
131246
+ 404: c108.otherResponse({
131299
131247
  contentType: "text/plain",
131300
131248
  body: external_exports.string()
131301
131249
  })
@@ -131306,7 +131254,7 @@ var zeroIntegrationsTelegramContract = c109.router({
131306
131254
 
131307
131255
  // ../../packages/api-contracts/src/contracts/zero-integrations-agentphone.ts
131308
131256
  init_esm_shims();
131309
- var c110 = initContract();
131257
+ var c109 = initContract();
131310
131258
  var agentPhoneConnectBodySchema = external_exports.object({
131311
131259
  phoneHandle: external_exports.string().min(1),
131312
131260
  agentphoneAgentId: external_exports.string().min(1),
@@ -131343,7 +131291,7 @@ var agentPhoneStartLinkResponseSchema = external_exports.object({
131343
131291
  phoneHandle: external_exports.string(),
131344
131292
  verificationSent: external_exports.literal(true)
131345
131293
  });
131346
- var zeroIntegrationsAgentPhoneContract = c110.router({
131294
+ var zeroIntegrationsAgentPhoneContract = c109.router({
131347
131295
  connectAgentPhone: {
131348
131296
  method: "POST",
131349
131297
  path: "/api/agentphone/connect",
@@ -131361,7 +131309,7 @@ var zeroIntegrationsAgentPhoneContract = c110.router({
131361
131309
  method: "POST",
131362
131310
  path: "/api/agentphone/webhook",
131363
131311
  headers: agentPhoneWebhookHeadersSchema,
131364
- body: c110.type(),
131312
+ body: c109.type(),
131365
131313
  responses: {
131366
131314
  200: external_exports.string(),
131367
131315
  400: external_exports.string(),
@@ -131399,9 +131347,9 @@ var zeroIntegrationsAgentPhoneContract = c110.router({
131399
131347
  method: "DELETE",
131400
131348
  path: "/api/integrations/agentphone/link",
131401
131349
  headers: authHeadersSchema,
131402
- body: c110.noBody(),
131350
+ body: c109.noBody(),
131403
131351
  responses: {
131404
- 204: c110.noBody(),
131352
+ 204: c109.noBody(),
131405
131353
  401: apiErrorSchema,
131406
131354
  404: apiErrorSchema
131407
131355
  },
@@ -131856,9 +131804,9 @@ var CodexEventParser = class {
131856
131804
  if (!item.changes || item.changes.length === 0) {
131857
131805
  return null;
131858
131806
  }
131859
- const changes = item.changes.map((c111) => {
131860
- const action = c111.kind === "add" ? "Created" : c111.kind === "modify" ? "Modified" : "Deleted";
131861
- return `${action}: ${c111.path}`;
131807
+ const changes = item.changes.map((c110) => {
131808
+ const action = c110.kind === "add" ? "Created" : c110.kind === "modify" ? "Modified" : "Deleted";
131809
+ return `${action}: ${c110.path}`;
131862
131810
  }).join("\n");
131863
131811
  return {
131864
131812
  type: "text",
@@ -133053,4 +133001,4 @@ undici/lib/web/fetch/body.js:
133053
133001
  undici/lib/web/websocket/frame.js:
133054
133002
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
133055
133003
  */
133056
- //# sourceMappingURL=chunk-W7PH4TIL.js.map
133004
+ //# sourceMappingURL=chunk-CCWEVUO2.js.map