@vm0/cli 9.122.7 → 9.122.9

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.
@@ -4622,8 +4622,8 @@ var require_browser = __commonJS({
4622
4622
  if (!this.useColors) {
4623
4623
  return;
4624
4624
  }
4625
- const c50 = "color: " + this.color;
4626
- args.splice(1, 0, c50, "color: inherit");
4625
+ const c51 = "color: " + this.color;
4626
+ args.splice(1, 0, c51, "color: inherit");
4627
4627
  let index = 0;
4628
4628
  let lastC = 0;
4629
4629
  args[0].replace(/%[a-zA-Z%]/g, (match) => {
@@ -4635,7 +4635,7 @@ var require_browser = __commonJS({
4635
4635
  lastC = index;
4636
4636
  }
4637
4637
  });
4638
- args.splice(lastC, 0, c50);
4638
+ args.splice(lastC, 0, c51);
4639
4639
  }
4640
4640
  exports.log = console.debug || console.log || (() => {
4641
4641
  });
@@ -4923,8 +4923,8 @@ var require_node = __commonJS({
4923
4923
  function formatArgs(args) {
4924
4924
  const { namespace: name, useColors: useColors2 } = this;
4925
4925
  if (useColors2) {
4926
- const c50 = this.color;
4927
- const colorCode = "\x1B[3" + (c50 < 8 ? c50 : "8;5;" + c50);
4926
+ const c51 = this.color;
4927
+ const colorCode = "\x1B[3" + (c51 < 8 ? c51 : "8;5;" + c51);
4928
4928
  const prefix = ` ${colorCode};1m${name} \x1B[0m`;
4929
4929
  args[0] = prefix + args[0].split("\n").join("\n" + prefix);
4930
4930
  args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
@@ -10083,27 +10083,27 @@ var require_commonjs2 = __commonJS({
10083
10083
  const pad = n.some(isPadded);
10084
10084
  N = [];
10085
10085
  for (let i = x; test(i, y); i += incr) {
10086
- let c50;
10086
+ let c51;
10087
10087
  if (isAlphaSequence) {
10088
- c50 = String.fromCharCode(i);
10089
- if (c50 === "\\") {
10090
- c50 = "";
10088
+ c51 = String.fromCharCode(i);
10089
+ if (c51 === "\\") {
10090
+ c51 = "";
10091
10091
  }
10092
10092
  } else {
10093
- c50 = String(i);
10093
+ c51 = String(i);
10094
10094
  if (pad) {
10095
- const need = width - c50.length;
10095
+ const need = width - c51.length;
10096
10096
  if (need > 0) {
10097
10097
  const z3 = new Array(need + 1).join("0");
10098
10098
  if (i < 0) {
10099
- c50 = "-" + z3 + c50.slice(1);
10099
+ c51 = "-" + z3 + c51.slice(1);
10100
10100
  } else {
10101
- c50 = z3 + c50;
10101
+ c51 = z3 + c51;
10102
10102
  }
10103
10103
  }
10104
10104
  }
10105
10105
  }
10106
- N.push(c50);
10106
+ N.push(c51);
10107
10107
  }
10108
10108
  } else {
10109
10109
  N = [];
@@ -10186,25 +10186,25 @@ var require_brace_expressions = __commonJS({
10186
10186
  let endPos = pos;
10187
10187
  let rangeStart = "";
10188
10188
  WHILE: while (i < glob.length) {
10189
- const c50 = glob.charAt(i);
10190
- if ((c50 === "!" || c50 === "^") && i === pos + 1) {
10189
+ const c51 = glob.charAt(i);
10190
+ if ((c51 === "!" || c51 === "^") && i === pos + 1) {
10191
10191
  negate = true;
10192
10192
  i++;
10193
10193
  continue;
10194
10194
  }
10195
- if (c50 === "]" && sawStart && !escaping) {
10195
+ if (c51 === "]" && sawStart && !escaping) {
10196
10196
  endPos = i + 1;
10197
10197
  break;
10198
10198
  }
10199
10199
  sawStart = true;
10200
- if (c50 === "\\") {
10200
+ if (c51 === "\\") {
10201
10201
  if (!escaping) {
10202
10202
  escaping = true;
10203
10203
  i++;
10204
10204
  continue;
10205
10205
  }
10206
10206
  }
10207
- if (c50 === "[" && !escaping) {
10207
+ if (c51 === "[" && !escaping) {
10208
10208
  for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) {
10209
10209
  if (glob.startsWith(cls, i)) {
10210
10210
  if (rangeStart) {
@@ -10222,26 +10222,26 @@ var require_brace_expressions = __commonJS({
10222
10222
  }
10223
10223
  escaping = false;
10224
10224
  if (rangeStart) {
10225
- if (c50 > rangeStart) {
10226
- ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c50));
10227
- } else if (c50 === rangeStart) {
10228
- ranges.push(braceEscape(c50));
10225
+ if (c51 > rangeStart) {
10226
+ ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c51));
10227
+ } else if (c51 === rangeStart) {
10228
+ ranges.push(braceEscape(c51));
10229
10229
  }
10230
10230
  rangeStart = "";
10231
10231
  i++;
10232
10232
  continue;
10233
10233
  }
10234
10234
  if (glob.startsWith("-]", i + 1)) {
10235
- ranges.push(braceEscape(c50 + "-"));
10235
+ ranges.push(braceEscape(c51 + "-"));
10236
10236
  i += 2;
10237
10237
  continue;
10238
10238
  }
10239
10239
  if (glob.startsWith("-", i + 1)) {
10240
- rangeStart = c50;
10240
+ rangeStart = c51;
10241
10241
  i += 2;
10242
10242
  continue;
10243
10243
  }
10244
- ranges.push(braceEscape(c50));
10244
+ ranges.push(braceEscape(c51));
10245
10245
  i++;
10246
10246
  }
10247
10247
  if (endPos < i) {
@@ -10291,8 +10291,8 @@ var require_ast = __commonJS({
10291
10291
  var brace_expressions_js_1 = require_brace_expressions();
10292
10292
  var unescape_js_1 = require_unescape();
10293
10293
  var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
10294
- var isExtglobType = (c50) => types.has(c50);
10295
- var isExtglobAST = (c50) => isExtglobType(c50.type);
10294
+ var isExtglobType = (c51) => types.has(c51);
10295
+ var isExtglobAST = (c51) => isExtglobType(c51.type);
10296
10296
  var adoptionMap = /* @__PURE__ */ new Map([
10297
10297
  ["!", ["@"]],
10298
10298
  ["?", ["?", "@"]],
@@ -10489,11 +10489,11 @@ var require_ast = __commonJS({
10489
10489
  this.push(part.clone(this));
10490
10490
  }
10491
10491
  clone(parent) {
10492
- const c50 = new _a2(this.type, parent);
10492
+ const c51 = new _a2(this.type, parent);
10493
10493
  for (const p of this.#parts) {
10494
- c50.copyIn(p);
10494
+ c51.copyIn(p);
10495
10495
  }
10496
- return c50;
10496
+ return c51;
10497
10497
  }
10498
10498
  static #parseAST(str, ast, pos, opt, extDepth) {
10499
10499
  const maxDepth = opt.maxExtglobRecursion ?? 2;
@@ -10505,39 +10505,39 @@ var require_ast = __commonJS({
10505
10505
  let i2 = pos;
10506
10506
  let acc2 = "";
10507
10507
  while (i2 < str.length) {
10508
- const c50 = str.charAt(i2++);
10509
- if (escaping || c50 === "\\") {
10508
+ const c51 = str.charAt(i2++);
10509
+ if (escaping || c51 === "\\") {
10510
10510
  escaping = !escaping;
10511
- acc2 += c50;
10511
+ acc2 += c51;
10512
10512
  continue;
10513
10513
  }
10514
10514
  if (inBrace) {
10515
10515
  if (i2 === braceStart + 1) {
10516
- if (c50 === "^" || c50 === "!") {
10516
+ if (c51 === "^" || c51 === "!") {
10517
10517
  braceNeg = true;
10518
10518
  }
10519
- } else if (c50 === "]" && !(i2 === braceStart + 2 && braceNeg)) {
10519
+ } else if (c51 === "]" && !(i2 === braceStart + 2 && braceNeg)) {
10520
10520
  inBrace = false;
10521
10521
  }
10522
- acc2 += c50;
10522
+ acc2 += c51;
10523
10523
  continue;
10524
- } else if (c50 === "[") {
10524
+ } else if (c51 === "[") {
10525
10525
  inBrace = true;
10526
10526
  braceStart = i2;
10527
10527
  braceNeg = false;
10528
- acc2 += c50;
10528
+ acc2 += c51;
10529
10529
  continue;
10530
10530
  }
10531
- const doRecurse = !opt.noext && isExtglobType(c50) && str.charAt(i2) === "(" && extDepth <= maxDepth;
10531
+ const doRecurse = !opt.noext && isExtglobType(c51) && str.charAt(i2) === "(" && extDepth <= maxDepth;
10532
10532
  if (doRecurse) {
10533
10533
  ast.push(acc2);
10534
10534
  acc2 = "";
10535
- const ext = new _a2(c50, ast);
10535
+ const ext = new _a2(c51, ast);
10536
10536
  i2 = _a2.#parseAST(str, ext, i2, opt, extDepth + 1);
10537
10537
  ast.push(ext);
10538
10538
  continue;
10539
10539
  }
10540
- acc2 += c50;
10540
+ acc2 += c51;
10541
10541
  }
10542
10542
  ast.push(acc2);
10543
10543
  return i2;
@@ -10547,48 +10547,48 @@ var require_ast = __commonJS({
10547
10547
  const parts = [];
10548
10548
  let acc = "";
10549
10549
  while (i < str.length) {
10550
- const c50 = str.charAt(i++);
10551
- if (escaping || c50 === "\\") {
10550
+ const c51 = str.charAt(i++);
10551
+ if (escaping || c51 === "\\") {
10552
10552
  escaping = !escaping;
10553
- acc += c50;
10553
+ acc += c51;
10554
10554
  continue;
10555
10555
  }
10556
10556
  if (inBrace) {
10557
10557
  if (i === braceStart + 1) {
10558
- if (c50 === "^" || c50 === "!") {
10558
+ if (c51 === "^" || c51 === "!") {
10559
10559
  braceNeg = true;
10560
10560
  }
10561
- } else if (c50 === "]" && !(i === braceStart + 2 && braceNeg)) {
10561
+ } else if (c51 === "]" && !(i === braceStart + 2 && braceNeg)) {
10562
10562
  inBrace = false;
10563
10563
  }
10564
- acc += c50;
10564
+ acc += c51;
10565
10565
  continue;
10566
- } else if (c50 === "[") {
10566
+ } else if (c51 === "[") {
10567
10567
  inBrace = true;
10568
10568
  braceStart = i;
10569
10569
  braceNeg = false;
10570
- acc += c50;
10570
+ acc += c51;
10571
10571
  continue;
10572
10572
  }
10573
- const doRecurse = !opt.noext && isExtglobType(c50) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
10574
- (extDepth <= maxDepth || ast && ast.#canAdoptType(c50));
10573
+ const doRecurse = !opt.noext && isExtglobType(c51) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
10574
+ (extDepth <= maxDepth || ast && ast.#canAdoptType(c51));
10575
10575
  if (doRecurse) {
10576
- const depthAdd = ast && ast.#canAdoptType(c50) ? 0 : 1;
10576
+ const depthAdd = ast && ast.#canAdoptType(c51) ? 0 : 1;
10577
10577
  part.push(acc);
10578
10578
  acc = "";
10579
- const ext = new _a2(c50, part);
10579
+ const ext = new _a2(c51, part);
10580
10580
  part.push(ext);
10581
10581
  i = _a2.#parseAST(str, ext, i, opt, extDepth + depthAdd);
10582
10582
  continue;
10583
10583
  }
10584
- if (c50 === "|") {
10584
+ if (c51 === "|") {
10585
10585
  part.push(acc);
10586
10586
  acc = "";
10587
10587
  parts.push(part);
10588
10588
  part = new _a2(null, ast);
10589
10589
  continue;
10590
10590
  }
10591
- if (c50 === ")") {
10591
+ if (c51 === ")") {
10592
10592
  if (acc === "" && ast.#parts.length === 0) {
10593
10593
  ast.#emptyExt = true;
10594
10594
  }
@@ -10597,7 +10597,7 @@ var require_ast = __commonJS({
10597
10597
  ast.push(...parts, part);
10598
10598
  return i;
10599
10599
  }
10600
- acc += c50;
10600
+ acc += c51;
10601
10601
  }
10602
10602
  ast.type = null;
10603
10603
  ast.#hasMagic = void 0;
@@ -10617,8 +10617,8 @@ var require_ast = __commonJS({
10617
10617
  }
10618
10618
  return this.#canAdoptType(gc.type, map2);
10619
10619
  }
10620
- #canAdoptType(c50, map2 = adoptionAnyMap) {
10621
- return !!map2.get(this.type)?.includes(c50);
10620
+ #canAdoptType(c51, map2 = adoptionAnyMap) {
10621
+ return !!map2.get(this.type)?.includes(c51);
10622
10622
  }
10623
10623
  #adoptWithSpace(child, index) {
10624
10624
  const gc = child.#parts[0];
@@ -10636,9 +10636,9 @@ var require_ast = __commonJS({
10636
10636
  }
10637
10637
  this.#toString = void 0;
10638
10638
  }
10639
- #canUsurpType(c50) {
10639
+ #canUsurpType(c51) {
10640
10640
  const m = usurpMap.get(this.type);
10641
- return !!m?.has(c50);
10641
+ return !!m?.has(c51);
10642
10642
  }
10643
10643
  #canUsurp(child) {
10644
10644
  if (!child || typeof child !== "object" || child.type !== null || child.#parts.length !== 1 || this.type === null || this.#parts.length !== 1) {
@@ -10851,18 +10851,18 @@ var require_ast = __commonJS({
10851
10851
  do {
10852
10852
  done = true;
10853
10853
  for (let i = 0; i < this.#parts.length; i++) {
10854
- const c50 = this.#parts[i];
10855
- if (typeof c50 === "object") {
10856
- c50.#flatten();
10857
- if (this.#canAdopt(c50)) {
10854
+ const c51 = this.#parts[i];
10855
+ if (typeof c51 === "object") {
10856
+ c51.#flatten();
10857
+ if (this.#canAdopt(c51)) {
10858
10858
  done = false;
10859
- this.#adopt(c50, i);
10860
- } else if (this.#canAdoptWithSpace(c50)) {
10859
+ this.#adopt(c51, i);
10860
+ } else if (this.#canAdoptWithSpace(c51)) {
10861
10861
  done = false;
10862
- this.#adoptWithSpace(c50, i);
10863
- } else if (this.#canUsurp(c50)) {
10862
+ this.#adoptWithSpace(c51, i);
10863
+ } else if (this.#canUsurp(c51)) {
10864
10864
  done = false;
10865
- this.#usurp(c50);
10865
+ this.#usurp(c51);
10866
10866
  }
10867
10867
  }
10868
10868
  }
@@ -10886,13 +10886,13 @@ var require_ast = __commonJS({
10886
10886
  let uflag = false;
10887
10887
  let inStar = false;
10888
10888
  for (let i = 0; i < glob.length; i++) {
10889
- const c50 = glob.charAt(i);
10889
+ const c51 = glob.charAt(i);
10890
10890
  if (escaping) {
10891
10891
  escaping = false;
10892
- re += (reSpecials.has(c50) ? "\\" : "") + c50;
10892
+ re += (reSpecials.has(c51) ? "\\" : "") + c51;
10893
10893
  continue;
10894
10894
  }
10895
- if (c50 === "*") {
10895
+ if (c51 === "*") {
10896
10896
  if (inStar)
10897
10897
  continue;
10898
10898
  inStar = true;
@@ -10902,7 +10902,7 @@ var require_ast = __commonJS({
10902
10902
  } else {
10903
10903
  inStar = false;
10904
10904
  }
10905
- if (c50 === "\\") {
10905
+ if (c51 === "\\") {
10906
10906
  if (i === glob.length - 1) {
10907
10907
  re += "\\\\";
10908
10908
  } else {
@@ -10910,7 +10910,7 @@ var require_ast = __commonJS({
10910
10910
  }
10911
10911
  continue;
10912
10912
  }
10913
- if (c50 === "[") {
10913
+ if (c51 === "[") {
10914
10914
  const [src, needUflag, consumed, magic] = (0, brace_expressions_js_1.parseClass)(glob, i);
10915
10915
  if (consumed) {
10916
10916
  re += src;
@@ -10920,12 +10920,12 @@ var require_ast = __commonJS({
10920
10920
  continue;
10921
10921
  }
10922
10922
  }
10923
- if (c50 === "?") {
10923
+ if (c51 === "?") {
10924
10924
  re += qmark;
10925
10925
  hasMagic = true;
10926
10926
  continue;
10927
10927
  }
10928
- re += regExpEscape(c50);
10928
+ re += regExpEscape(c51);
10929
10929
  }
10930
10930
  return [re, (0, unescape_js_1.unescape)(glob), !!hasMagic, uflag];
10931
10931
  }
@@ -14842,13 +14842,13 @@ var require_utils5 = __commonJS({
14842
14842
  }
14843
14843
  exports.arrayStringifyHelper = arrayStringifyHelper;
14844
14844
  function getPoolNameOld(pool) {
14845
- const c50 = pool.config.connectionConfig;
14845
+ const c51 = pool.config.connectionConfig;
14846
14846
  let poolName = "";
14847
- poolName += c50.host ? `host: '${c50.host}', ` : "";
14848
- poolName += c50.port ? `port: ${c50.port}, ` : "";
14849
- poolName += c50.database ? `database: '${c50.database}', ` : "";
14850
- poolName += c50.user ? `user: '${c50.user}'` : "";
14851
- if (!c50.user) {
14847
+ poolName += c51.host ? `host: '${c51.host}', ` : "";
14848
+ poolName += c51.port ? `port: ${c51.port}, ` : "";
14849
+ poolName += c51.database ? `database: '${c51.database}', ` : "";
14850
+ poolName += c51.user ? `user: '${c51.user}'` : "";
14851
+ if (!c51.user) {
14852
14852
  poolName = poolName.substring(0, poolName.length - 2);
14853
14853
  }
14854
14854
  return poolName.trim();
@@ -15200,7 +15200,7 @@ var require_src12 = __commonJS({
15200
15200
  return indexOpeningDashDashComment < indexClosingSlashComment;
15201
15201
  }
15202
15202
  function fixedEncodeURIComponent(str) {
15203
- return encodeURIComponent(str).replace(/[!'()*]/g, (c50) => `%${c50.charCodeAt(0).toString(16).toUpperCase()}`);
15203
+ return encodeURIComponent(str).replace(/[!'()*]/g, (c51) => `%${c51.charCodeAt(0).toString(16).toUpperCase()}`);
15204
15204
  }
15205
15205
  function addSqlCommenterComment(span, query) {
15206
15206
  if (typeof query !== "string" || query.length === 0) {
@@ -23750,8 +23750,8 @@ var require_util = __commonJS({
23750
23750
  function isUSVString(val) {
23751
23751
  return hasIsWellFormed ? `${val}`.isWellFormed() : toUSVString(val) === `${val}`;
23752
23752
  }
23753
- function isTokenCharCode(c50) {
23754
- switch (c50) {
23753
+ function isTokenCharCode(c51) {
23754
+ switch (c51) {
23755
23755
  case 34:
23756
23756
  case 40:
23757
23757
  case 41:
@@ -23771,7 +23771,7 @@ var require_util = __commonJS({
23771
23771
  case 125:
23772
23772
  return false;
23773
23773
  default:
23774
- return c50 >= 33 && c50 <= 126;
23774
+ return c51 >= 33 && c51 <= 126;
23775
23775
  }
23776
23776
  }
23777
23777
  function isValidHTTPToken(characters) {
@@ -25360,7 +25360,7 @@ var require_constants2 = __commonJS({
25360
25360
  exports.HEADER_CHARS.push(i);
25361
25361
  }
25362
25362
  }
25363
- exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c50) => c50 !== 44);
25363
+ exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c51) => c51 !== 44);
25364
25364
  exports.MAJOR = exports.NUM_MAP;
25365
25365
  exports.MINOR = exports.MAJOR;
25366
25366
  var HEADER_STATE;
@@ -26506,10 +26506,10 @@ var require_util2 = __commonJS({
26506
26506
  }
26507
26507
  function isValidReasonPhrase(statusText) {
26508
26508
  for (let i = 0; i < statusText.length; ++i) {
26509
- const c50 = statusText.charCodeAt(i);
26510
- if (!(c50 === 9 || // HTAB
26511
- c50 >= 32 && c50 <= 126 || // SP / VCHAR
26512
- c50 >= 128 && c50 <= 255)) {
26509
+ const c51 = statusText.charCodeAt(i);
26510
+ if (!(c51 === 9 || // HTAB
26511
+ c51 >= 32 && c51 <= 126 || // SP / VCHAR
26512
+ c51 >= 128 && c51 <= 255)) {
26513
26513
  return false;
26514
26514
  }
26515
26515
  }
@@ -30483,7 +30483,7 @@ var require_pool_base = __commonJS({
30483
30483
  pool.emit("drain", origin, [pool, ...targets]);
30484
30484
  }
30485
30485
  if (pool[kClosedResolve] && queue.isEmpty()) {
30486
- Promise.all(pool[kClients].map((c50) => c50.close())).then(pool[kClosedResolve]);
30486
+ Promise.all(pool[kClients].map((c51) => c51.close())).then(pool[kClosedResolve]);
30487
30487
  }
30488
30488
  };
30489
30489
  this[kOnConnect] = (origin, targets) => {
@@ -30532,7 +30532,7 @@ var require_pool_base = __commonJS({
30532
30532
  }
30533
30533
  async [kClose]() {
30534
30534
  if (this[kQueue].isEmpty()) {
30535
- await Promise.all(this[kClients].map((c50) => c50.close()));
30535
+ await Promise.all(this[kClients].map((c51) => c51.close()));
30536
30536
  } else {
30537
30537
  await new Promise((resolve2) => {
30538
30538
  this[kClosedResolve] = resolve2;
@@ -30547,7 +30547,7 @@ var require_pool_base = __commonJS({
30547
30547
  }
30548
30548
  item.handler.onError(err);
30549
30549
  }
30550
- await Promise.all(this[kClients].map((c50) => c50.destroy(err)));
30550
+ await Promise.all(this[kClients].map((c51) => c51.destroy(err)));
30551
30551
  }
30552
30552
  [kDispatch](opts, handler) {
30553
30553
  const dispatcher = this[kGetDispatcher]();
@@ -37317,8 +37317,8 @@ var require_util4 = __commonJS({
37317
37317
  return new TextDecoder(encoding).decode(sliced);
37318
37318
  }
37319
37319
  function BOMSniffing(ioQueue) {
37320
- const [a, b, c50] = ioQueue;
37321
- if (a === 239 && b === 187 && c50 === 191) {
37320
+ const [a, b, c51] = ioQueue;
37321
+ if (a === 239 && b === 187 && c51 === 191) {
37322
37322
  return "UTF-8";
37323
37323
  } else if (a === 254 && b === 255) {
37324
37324
  return "UTF-16BE";
@@ -41797,9 +41797,9 @@ var require_Alias = __commonJS({
41797
41797
  } else if (identity.isCollection(node2)) {
41798
41798
  let count = 0;
41799
41799
  for (const item of node2.items) {
41800
- const c50 = getAliasCount(doc, item, anchors2);
41801
- if (c50 > count)
41802
- count = c50;
41800
+ const c51 = getAliasCount(doc, item, anchors2);
41801
+ if (c51 > count)
41802
+ count = c51;
41803
41803
  }
41804
41804
  return count;
41805
41805
  } else if (identity.isPair(node2)) {
@@ -48815,7 +48815,7 @@ var require_style = __commonJS({
48815
48815
  "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/style.js"(exports, module2) {
48816
48816
  "use strict";
48817
48817
  init_esm_shims();
48818
- var c50 = require_kleur();
48818
+ var c51 = require_kleur();
48819
48819
  var figures = require_figures();
48820
48820
  var styles3 = Object.freeze({
48821
48821
  password: {
@@ -48837,14 +48837,14 @@ var require_style = __commonJS({
48837
48837
  });
48838
48838
  var render = (type) => styles3[type] || styles3.default;
48839
48839
  var symbols = Object.freeze({
48840
- aborted: c50.red(figures.cross),
48841
- done: c50.green(figures.tick),
48842
- exited: c50.yellow(figures.cross),
48843
- default: c50.cyan("?")
48840
+ aborted: c51.red(figures.cross),
48841
+ done: c51.green(figures.tick),
48842
+ exited: c51.yellow(figures.cross),
48843
+ default: c51.cyan("?")
48844
48844
  });
48845
48845
  var symbol2 = (done, aborted2, exited) => aborted2 ? symbols.aborted : exited ? symbols.exited : done ? symbols.done : symbols.default;
48846
- var delimiter = (completing) => c50.gray(completing ? figures.ellipsis : figures.pointerSmall);
48847
- var item = (expandable, expanded) => c50.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
48846
+ var delimiter = (completing) => c51.gray(completing ? figures.ellipsis : figures.pointerSmall);
48847
+ var item = (expandable, expanded) => c51.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
48848
48848
  module2.exports = {
48849
48849
  styles: styles3,
48850
48850
  render,
@@ -49126,10 +49126,10 @@ var require_text = __commonJS({
49126
49126
  this.cursor = this.cursor + n;
49127
49127
  this.cursorOffset += n;
49128
49128
  }
49129
- _(c50, key) {
49129
+ _(c51, key) {
49130
49130
  let s1 = this.value.slice(0, this.cursor);
49131
49131
  let s2 = this.value.slice(this.cursor);
49132
- this.value = `${s1}${c50}${s2}`;
49132
+ this.value = `${s1}${c51}${s2}`;
49133
49133
  this.red = false;
49134
49134
  this.cursor = this.placeholder ? 0 : s1.length + 1;
49135
49135
  this.render();
@@ -49304,8 +49304,8 @@ var require_select = __commonJS({
49304
49304
  this.moveCursor((this.cursor + 1) % this.choices.length);
49305
49305
  this.render();
49306
49306
  }
49307
- _(c50, key) {
49308
- if (c50 === " ") return this.submit();
49307
+ _(c51, key) {
49308
+ if (c51 === " ") return this.submit();
49309
49309
  }
49310
49310
  get selection() {
49311
49311
  return this.choices[this.cursor];
@@ -49431,12 +49431,12 @@ var require_toggle = __commonJS({
49431
49431
  this.fire();
49432
49432
  this.render();
49433
49433
  }
49434
- _(c50, key) {
49435
- if (c50 === " ") {
49434
+ _(c51, key) {
49435
+ if (c51 === " ") {
49436
49436
  this.value = !this.value;
49437
- } else if (c50 === "1") {
49437
+ } else if (c51 === "1") {
49438
49438
  this.value = true;
49439
- } else if (c50 === "0") {
49439
+ } else if (c51 === "0") {
49440
49440
  this.value = false;
49441
49441
  } else return this.bell();
49442
49442
  this.render();
@@ -49944,9 +49944,9 @@ var require_date = __commonJS({
49944
49944
  this.moveCursor(next ? this.parts.indexOf(next) : this.parts.findIndex((part) => part instanceof DatePart));
49945
49945
  this.render();
49946
49946
  }
49947
- _(c50) {
49948
- if (/\d/.test(c50)) {
49949
- this.typed += c50;
49947
+ _(c51) {
49948
+ if (/\d/.test(c51)) {
49949
+ this.typed += c51;
49950
49950
  this.parts[this.cursor].setTo(this.typed);
49951
49951
  this.render();
49952
49952
  }
@@ -50055,8 +50055,8 @@ var require_number = __commonJS({
50055
50055
  parse(x) {
50056
50056
  return this.float ? parseFloat(x) : parseInt(x);
50057
50057
  }
50058
- valid(c50) {
50059
- return c50 === `-` || c50 === `.` && this.float || isNumber.test(c50);
50058
+ valid(c51) {
50059
+ return c51 === `-` || c51 === `.` && this.float || isNumber.test(c51);
50060
50060
  }
50061
50061
  reset() {
50062
50062
  this.typed = ``;
@@ -50149,14 +50149,14 @@ var require_number = __commonJS({
50149
50149
  this.fire();
50150
50150
  this.render();
50151
50151
  }
50152
- _(c50, key) {
50153
- if (!this.valid(c50)) return this.bell();
50152
+ _(c51, key) {
50153
+ if (!this.valid(c51)) return this.bell();
50154
50154
  const now = Date.now();
50155
50155
  if (now - this.lastHit > 1e3) this.typed = ``;
50156
- this.typed += c50;
50156
+ this.typed += c51;
50157
50157
  this.lastHit = now;
50158
50158
  this.color = `cyan`;
50159
- if (c50 === `.`) return this.fire();
50159
+ if (c51 === `.`) return this.fire();
50160
50160
  this.value = Math.min(this.parse(this.typed), this.max);
50161
50161
  if (this.value > this.max) this.value = this.max;
50162
50162
  if (this.value < this.min) this.value = this.min;
@@ -50320,10 +50320,10 @@ var require_multiselect = __commonJS({
50320
50320
  this.value.filter((v) => !v.disabled).forEach((v) => v.selected = newSelected);
50321
50321
  this.render();
50322
50322
  }
50323
- _(c50, key) {
50324
- if (c50 === " ") {
50323
+ _(c51, key) {
50324
+ if (c51 === " ") {
50325
50325
  this.handleSpaceToggle();
50326
- } else if (c50 === "a") {
50326
+ } else if (c51 === "a") {
50327
50327
  this.toggleAll();
50328
50328
  } else {
50329
50329
  return this.bell();
@@ -50564,10 +50564,10 @@ var require_autocomplete = __commonJS({
50564
50564
  this.out.write("\n");
50565
50565
  this.close();
50566
50566
  }
50567
- _(c50, key) {
50567
+ _(c51, key) {
50568
50568
  let s1 = this.input.slice(0, this.cursor);
50569
50569
  let s2 = this.input.slice(this.cursor);
50570
- this.input = `${s1}${c50}${s2}`;
50570
+ this.input = `${s1}${c51}${s2}`;
50571
50571
  this.cursor = s1.length + 1;
50572
50572
  this.complete(this.render);
50573
50573
  this.render();
@@ -50767,15 +50767,15 @@ var require_autocompleteMultiselect = __commonJS({
50767
50767
  this.render();
50768
50768
  }
50769
50769
  }
50770
- handleInputChange(c50) {
50771
- this.inputValue = this.inputValue + c50;
50770
+ handleInputChange(c51) {
50771
+ this.inputValue = this.inputValue + c51;
50772
50772
  this.updateFilteredOptions();
50773
50773
  }
50774
- _(c50, key) {
50775
- if (c50 === " ") {
50774
+ _(c51, key) {
50775
+ if (c51 === " ") {
50776
50776
  this.handleSpaceToggle();
50777
50777
  } else {
50778
- this.handleInputChange(c50);
50778
+ this.handleInputChange(c51);
50779
50779
  }
50780
50780
  }
50781
50781
  renderInstructions() {
@@ -50881,12 +50881,12 @@ var require_confirm = __commonJS({
50881
50881
  this.out.write("\n");
50882
50882
  this.close();
50883
50883
  }
50884
- _(c50, key) {
50885
- if (c50.toLowerCase() === "y") {
50884
+ _(c51, key) {
50885
+ if (c51.toLowerCase() === "y") {
50886
50886
  this.value = true;
50887
50887
  return this.submit();
50888
50888
  }
50889
- if (c50.toLowerCase() === "n") {
50889
+ if (c51.toLowerCase() === "n") {
50890
50890
  this.value = false;
50891
50891
  return this.submit();
50892
50892
  }
@@ -51327,7 +51327,7 @@ var require_style2 = __commonJS({
51327
51327
  "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/style.js"(exports, module2) {
51328
51328
  "use strict";
51329
51329
  init_esm_shims();
51330
- var c50 = require_kleur();
51330
+ var c51 = require_kleur();
51331
51331
  var figures = require_figures2();
51332
51332
  var styles3 = Object.freeze({
51333
51333
  password: { scale: 1, render: (input) => "*".repeat(input.length) },
@@ -51337,14 +51337,14 @@ var require_style2 = __commonJS({
51337
51337
  });
51338
51338
  var render = (type) => styles3[type] || styles3.default;
51339
51339
  var symbols = Object.freeze({
51340
- aborted: c50.red(figures.cross),
51341
- done: c50.green(figures.tick),
51342
- exited: c50.yellow(figures.cross),
51343
- default: c50.cyan("?")
51340
+ aborted: c51.red(figures.cross),
51341
+ done: c51.green(figures.tick),
51342
+ exited: c51.yellow(figures.cross),
51343
+ default: c51.cyan("?")
51344
51344
  });
51345
51345
  var symbol2 = (done, aborted2, exited) => aborted2 ? symbols.aborted : exited ? symbols.exited : done ? symbols.done : symbols.default;
51346
- var delimiter = (completing) => c50.gray(completing ? figures.ellipsis : figures.pointerSmall);
51347
- var item = (expandable, expanded) => c50.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
51346
+ var delimiter = (completing) => c51.gray(completing ? figures.ellipsis : figures.pointerSmall);
51347
+ var item = (expandable, expanded) => c51.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
51348
51348
  module2.exports = {
51349
51349
  styles: styles3,
51350
51350
  render,
@@ -51577,10 +51577,10 @@ var require_text2 = __commonJS({
51577
51577
  this.cursor = this.cursor + n;
51578
51578
  this.cursorOffset += n;
51579
51579
  }
51580
- _(c50, key) {
51580
+ _(c51, key) {
51581
51581
  let s1 = this.value.slice(0, this.cursor);
51582
51582
  let s2 = this.value.slice(this.cursor);
51583
- this.value = `${s1}${c50}${s2}`;
51583
+ this.value = `${s1}${c51}${s2}`;
51584
51584
  this.red = false;
51585
51585
  this.cursor = this.placeholder ? 0 : s1.length + 1;
51586
51586
  this.render();
@@ -51754,8 +51754,8 @@ var require_select2 = __commonJS({
51754
51754
  this.moveCursor((this.cursor + 1) % this.choices.length);
51755
51755
  this.render();
51756
51756
  }
51757
- _(c50, key) {
51758
- if (c50 === " ") return this.submit();
51757
+ _(c51, key) {
51758
+ if (c51 === " ") return this.submit();
51759
51759
  }
51760
51760
  get selection() {
51761
51761
  return this.choices[this.cursor];
@@ -51879,12 +51879,12 @@ var require_toggle2 = __commonJS({
51879
51879
  this.fire();
51880
51880
  this.render();
51881
51881
  }
51882
- _(c50, key) {
51883
- if (c50 === " ") {
51882
+ _(c51, key) {
51883
+ if (c51 === " ") {
51884
51884
  this.value = !this.value;
51885
- } else if (c50 === "1") {
51885
+ } else if (c51 === "1") {
51886
51886
  this.value = true;
51887
- } else if (c50 === "0") {
51887
+ } else if (c51 === "0") {
51888
51888
  this.value = false;
51889
51889
  } else return this.bell();
51890
51890
  this.render();
@@ -52340,9 +52340,9 @@ var require_date2 = __commonJS({
52340
52340
  this.moveCursor(next ? this.parts.indexOf(next) : this.parts.findIndex((part) => part instanceof DatePart));
52341
52341
  this.render();
52342
52342
  }
52343
- _(c50) {
52344
- if (/\d/.test(c50)) {
52345
- this.typed += c50;
52343
+ _(c51) {
52344
+ if (/\d/.test(c51)) {
52345
+ this.typed += c51;
52346
52346
  this.parts[this.cursor].setTo(this.typed);
52347
52347
  this.render();
52348
52348
  }
@@ -52424,8 +52424,8 @@ var require_number2 = __commonJS({
52424
52424
  parse(x) {
52425
52425
  return this.float ? parseFloat(x) : parseInt(x);
52426
52426
  }
52427
- valid(c50) {
52428
- return c50 === `-` || c50 === `.` && this.float || isNumber.test(c50);
52427
+ valid(c51) {
52428
+ return c51 === `-` || c51 === `.` && this.float || isNumber.test(c51);
52429
52429
  }
52430
52430
  reset() {
52431
52431
  this.typed = ``;
@@ -52512,14 +52512,14 @@ var require_number2 = __commonJS({
52512
52512
  this.fire();
52513
52513
  this.render();
52514
52514
  }
52515
- _(c50, key) {
52516
- if (!this.valid(c50)) return this.bell();
52515
+ _(c51, key) {
52516
+ if (!this.valid(c51)) return this.bell();
52517
52517
  const now = Date.now();
52518
52518
  if (now - this.lastHit > 1e3) this.typed = ``;
52519
- this.typed += c50;
52519
+ this.typed += c51;
52520
52520
  this.lastHit = now;
52521
52521
  this.color = `cyan`;
52522
- if (c50 === `.`) return this.fire();
52522
+ if (c51 === `.`) return this.fire();
52523
52523
  this.value = Math.min(this.parse(this.typed), this.max);
52524
52524
  if (this.value > this.max) this.value = this.max;
52525
52525
  if (this.value < this.min) this.value = this.min;
@@ -52681,10 +52681,10 @@ var require_multiselect2 = __commonJS({
52681
52681
  this.value.filter((v) => !v.disabled).forEach((v) => v.selected = newSelected);
52682
52682
  this.render();
52683
52683
  }
52684
- _(c50, key) {
52685
- if (c50 === " ") {
52684
+ _(c51, key) {
52685
+ if (c51 === " ") {
52686
52686
  this.handleSpaceToggle();
52687
- } else if (c50 === "a") {
52687
+ } else if (c51 === "a") {
52688
52688
  this.toggleAll();
52689
52689
  } else {
52690
52690
  return this.bell();
@@ -52881,10 +52881,10 @@ var require_autocomplete2 = __commonJS({
52881
52881
  this.out.write("\n");
52882
52882
  this.close();
52883
52883
  }
52884
- _(c50, key) {
52884
+ _(c51, key) {
52885
52885
  let s1 = this.input.slice(0, this.cursor);
52886
52886
  let s2 = this.input.slice(this.cursor);
52887
- this.input = `${s1}${c50}${s2}`;
52887
+ this.input = `${s1}${c51}${s2}`;
52888
52888
  this.cursor = s1.length + 1;
52889
52889
  this.complete(this.render);
52890
52890
  this.render();
@@ -53087,15 +53087,15 @@ var require_autocompleteMultiselect2 = __commonJS({
53087
53087
  this.render();
53088
53088
  }
53089
53089
  }
53090
- handleInputChange(c50) {
53091
- this.inputValue = this.inputValue + c50;
53090
+ handleInputChange(c51) {
53091
+ this.inputValue = this.inputValue + c51;
53092
53092
  this.updateFilteredOptions();
53093
53093
  }
53094
- _(c50, key) {
53095
- if (c50 === " ") {
53094
+ _(c51, key) {
53095
+ if (c51 === " ") {
53096
53096
  this.handleSpaceToggle();
53097
53097
  } else {
53098
- this.handleInputChange(c50);
53098
+ this.handleInputChange(c51);
53099
53099
  }
53100
53100
  }
53101
53101
  renderInstructions() {
@@ -53202,12 +53202,12 @@ var require_confirm2 = __commonJS({
53202
53202
  this.out.write("\n");
53203
53203
  this.close();
53204
53204
  }
53205
- _(c50, key) {
53206
- if (c50.toLowerCase() === "y") {
53205
+ _(c51, key) {
53206
+ if (c51.toLowerCase() === "y") {
53207
53207
  this.value = true;
53208
53208
  return this.submit();
53209
53209
  }
53210
- if (c50.toLowerCase() === "n") {
53210
+ if (c51.toLowerCase() === "n") {
53211
53211
  this.value = false;
53212
53212
  return this.submit();
53213
53213
  }
@@ -54261,8 +54261,8 @@ function _htmlElementAsString(el, keyAttrs) {
54261
54261
  const className = elem.className;
54262
54262
  if (className && isString(className)) {
54263
54263
  const classes = className.split(/\s+/);
54264
- for (const c50 of classes) {
54265
- out.push(`.${c50}`);
54264
+ for (const c51 of classes) {
54265
+ out.push(`.${c51}`);
54266
54266
  }
54267
54267
  }
54268
54268
  }
@@ -54475,9 +54475,9 @@ function uuid4(crypto = getCrypto()) {
54475
54475
  }
54476
54476
  return emptyUuid.replace(
54477
54477
  /[018]/g,
54478
- (c50) => (
54478
+ (c51) => (
54479
54479
  // eslint-disable-next-line no-bitwise
54480
- (c50 ^ (getRandomByte() & 15) >> c50 / 4).toString(16)
54480
+ (c51 ^ (getRandomByte() & 15) >> c51 / 4).toString(16)
54481
54481
  )
54482
54482
  );
54483
54483
  }
@@ -72039,16 +72039,16 @@ var HonoInstrumentation = class extends InstrumentationBase {
72039
72039
  */
72040
72040
  _wrapHandler(handler) {
72041
72041
  const instrumentation = this;
72042
- return function(c50, next) {
72042
+ return function(c51, next) {
72043
72043
  if (!instrumentation.isEnabled()) {
72044
- return handler.apply(this, [c50, next]);
72044
+ return handler.apply(this, [c51, next]);
72045
72045
  }
72046
- const path3 = c50.req.path;
72046
+ const path3 = c51.req.path;
72047
72047
  const span = instrumentation.tracer.startSpan(path3);
72048
72048
  return context.with(trace.setSpan(context.active(), span), () => {
72049
72049
  return instrumentation._safeExecute(
72050
72050
  () => {
72051
- const result = handler.apply(this, [c50, next]);
72051
+ const result = handler.apply(this, [c51, next]);
72052
72052
  if (isThenable(result)) {
72053
72053
  return result.then((result2) => {
72054
72054
  const type = instrumentation._determineHandlerType(result2);
@@ -73642,7 +73642,7 @@ if (DSN) {
73642
73642
  init2({
73643
73643
  dsn: DSN,
73644
73644
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
73645
- release: "9.122.7",
73645
+ release: "9.122.9",
73646
73646
  sendDefaultPii: false,
73647
73647
  tracesSampleRate: 0,
73648
73648
  shutdownTimeout: 500,
@@ -73661,7 +73661,7 @@ if (DSN) {
73661
73661
  }
73662
73662
  });
73663
73663
  setContext("cli", {
73664
- version: "9.122.7",
73664
+ version: "9.122.9",
73665
73665
  command: process.argv.slice(2).join(" ")
73666
73666
  });
73667
73667
  setContext("runtime", {
@@ -79255,7 +79255,7 @@ var $ZodBase64 = /* @__PURE__ */ $constructor("$ZodBase64", (inst, def) => {
79255
79255
  function isValidBase64URL(data) {
79256
79256
  if (!base64url.test(data))
79257
79257
  return false;
79258
- const base643 = data.replace(/[-_]/g, (c50) => c50 === "-" ? "+" : "/");
79258
+ const base643 = data.replace(/[-_]/g, (c51) => c51 === "-" ? "+" : "/");
79259
79259
  const padded = base643.padEnd(Math.ceil(base643.length / 4) * 4, "=");
79260
79260
  return isValidBase64(padded);
79261
79261
  }
@@ -89366,9 +89366,9 @@ var ZodDate = /* @__PURE__ */ $constructor("ZodDate", (inst, def) => {
89366
89366
  inst._zod.processJSONSchema = (ctx, json2, params) => dateProcessor(inst, ctx, json2, params);
89367
89367
  inst.min = (value, params) => inst.check(_gte(value, params));
89368
89368
  inst.max = (value, params) => inst.check(_lte(value, params));
89369
- const c50 = inst._zod.bag;
89370
- inst.minDate = c50.minimum ? new Date(c50.minimum) : null;
89371
- inst.maxDate = c50.maximum ? new Date(c50.maximum) : null;
89369
+ const c51 = inst._zod.bag;
89370
+ inst.minDate = c51.minimum ? new Date(c51.minimum) : null;
89371
+ inst.maxDate = c51.maximum ? new Date(c51.maximum) : null;
89372
89372
  });
89373
89373
  function date3(params) {
89374
89374
  return _date(ZodDate, params);
@@ -94409,6 +94409,55 @@ var CONNECTOR_TYPES_DEF = {
94409
94409
  },
94410
94410
  defaultAuthMethod: "api-token"
94411
94411
  },
94412
+ amplitude: {
94413
+ label: "Amplitude",
94414
+ tags: ["analytics", "product-analytics", "events", "funnels"],
94415
+ environmentMapping: {
94416
+ AMPLITUDE_API_KEY: "$secrets.AMPLITUDE_API_KEY",
94417
+ AMPLITUDE_SECRET_KEY: "$secrets.AMPLITUDE_SECRET_KEY"
94418
+ },
94419
+ helpText: "Connect your Amplitude project to query events, funnels, retention, cohorts, and ingest new events",
94420
+ authMethods: {
94421
+ "api-token": {
94422
+ label: "API Key",
94423
+ helpText: "1. In Amplitude, open **Organization Settings** (top right nav) \u2192 **Projects** and click the project you want to connect\n2. Copy the **API Key** from the project table (Manager role required)\n3. Click **Generate Secret Key**, name it, and copy it immediately (the secret is only shown once)\n4. Paste both values into the fields below",
94424
+ secrets: {
94425
+ AMPLITUDE_API_KEY: {
94426
+ label: "API Key",
94427
+ required: true,
94428
+ placeholder: "32-char hex key"
94429
+ },
94430
+ AMPLITUDE_SECRET_KEY: {
94431
+ label: "Secret Key",
94432
+ required: true,
94433
+ placeholder: "32-char hex secret"
94434
+ }
94435
+ }
94436
+ }
94437
+ },
94438
+ defaultAuthMethod: "api-token"
94439
+ },
94440
+ attio: {
94441
+ label: "Attio",
94442
+ environmentMapping: {
94443
+ ATTIO_TOKEN: "$secrets.ATTIO_TOKEN"
94444
+ },
94445
+ helpText: "Connect your Attio workspace to manage CRM records \u2014 companies, people, deals, custom objects \u2014 plus notes, tasks, lists, and comments",
94446
+ authMethods: {
94447
+ "api-token": {
94448
+ label: "API Key",
94449
+ helpText: "1. Open [Attio](https://app.attio.com) and sign in\n2. Open **Workspace settings** from the dropdown beside your workspace name\n3. Click the **Developers** tab\n4. Click **+ New access token**, give it a name, and select the scopes you need\n5. Click **Create**, then copy the token (shown once)",
94450
+ secrets: {
94451
+ ATTIO_TOKEN: {
94452
+ label: "API Key",
94453
+ required: true,
94454
+ placeholder: "your-attio-access-token"
94455
+ }
94456
+ }
94457
+ }
94458
+ },
94459
+ defaultAuthMethod: "api-token"
94460
+ },
94412
94461
  buffer: {
94413
94462
  label: "Buffer",
94414
94463
  environmentMapping: {
@@ -94451,6 +94500,35 @@ var CONNECTOR_TYPES_DEF = {
94451
94500
  },
94452
94501
  defaultAuthMethod: "api-token"
94453
94502
  },
94503
+ freshdesk: {
94504
+ label: "Freshdesk",
94505
+ tags: ["helpdesk", "tickets", "customer-support"],
94506
+ environmentMapping: {
94507
+ FRESHDESK_TOKEN: "$secrets.FRESHDESK_TOKEN",
94508
+ FRESHDESK_DOMAIN: "$vars.FRESHDESK_DOMAIN"
94509
+ },
94510
+ featureFlag: "freshdeskConnector" /* FreshdeskConnector */,
94511
+ helpText: "Connect your Freshdesk account to manage support tickets, contacts, companies, agents, and knowledge base articles",
94512
+ authMethods: {
94513
+ "api-token": {
94514
+ label: "API Key",
94515
+ helpText: "1. Log in to Freshdesk and click your profile picture (top right), then **Profile Settings**\n2. On the right pane, click **View API Key** and complete the captcha\n3. Copy the API key\n4. Enter your Freshdesk subdomain \u2014 the prefix of `https://<subdomain>.freshdesk.com`",
94516
+ secrets: {
94517
+ FRESHDESK_TOKEN: {
94518
+ label: "API Key",
94519
+ required: true
94520
+ },
94521
+ FRESHDESK_DOMAIN: {
94522
+ label: "Subdomain",
94523
+ required: true,
94524
+ type: "variable",
94525
+ placeholder: "your-subdomain"
94526
+ }
94527
+ }
94528
+ }
94529
+ },
94530
+ defaultAuthMethod: "api-token"
94531
+ },
94454
94532
  miro: {
94455
94533
  label: "Miro",
94456
94534
  environmentMapping: {
@@ -94909,6 +94987,47 @@ var agentphoneFirewall = {
94909
94987
  ]
94910
94988
  };
94911
94989
 
94990
+ // ../../packages/core/src/firewalls/amplitude.generated.ts
94991
+ init_esm_shims();
94992
+ var amplitudeFirewall = {
94993
+ name: "amplitude",
94994
+ description: "Amplitude product analytics API",
94995
+ placeholders: {
94996
+ AMPLITUDE_API_KEY: "c0ffee5afe10ca1c0ffee5afe10ca1c0",
94997
+ AMPLITUDE_SECRET_KEY: "5afe10ca1c0ffee5afe10ca1c0ffee5a"
94998
+ },
94999
+ apis: [
95000
+ {
95001
+ base: "https://amplitude.com",
95002
+ auth: {
95003
+ headers: {
95004
+ Authorization: "${{ basic(secrets.AMPLITUDE_API_KEY, secrets.AMPLITUDE_SECRET_KEY) }}"
95005
+ }
95006
+ },
95007
+ permissions: []
95008
+ },
95009
+ {
95010
+ base: "https://analytics.eu.amplitude.com",
95011
+ auth: {
95012
+ headers: {
95013
+ Authorization: "${{ basic(secrets.AMPLITUDE_API_KEY, secrets.AMPLITUDE_SECRET_KEY) }}"
95014
+ }
95015
+ },
95016
+ permissions: []
95017
+ },
95018
+ {
95019
+ base: "https://api2.amplitude.com",
95020
+ auth: {},
95021
+ permissions: []
95022
+ },
95023
+ {
95024
+ base: "https://api.eu.amplitude.com",
95025
+ auth: {},
95026
+ permissions: []
95027
+ }
95028
+ ]
95029
+ };
95030
+
94912
95031
  // ../../packages/core/src/firewalls/anthropic-managed-agents.generated.ts
94913
95032
  init_esm_shims();
94914
95033
  var anthropicManagedAgentsFirewall = {
@@ -95155,6 +95274,27 @@ var asanaFirewall = {
95155
95274
  ]
95156
95275
  };
95157
95276
 
95277
+ // ../../packages/core/src/firewalls/attio.generated.ts
95278
+ init_esm_shims();
95279
+ var attioFirewall = {
95280
+ name: "attio",
95281
+ description: "Attio",
95282
+ placeholders: {
95283
+ ATTIO_TOKEN: "CoffeeSafeLocalCoffeeSafeLocalCoffeeSafeLocal"
95284
+ },
95285
+ apis: [
95286
+ {
95287
+ base: "https://api.attio.com",
95288
+ auth: {
95289
+ headers: {
95290
+ Authorization: "Bearer ${{ secrets.ATTIO_TOKEN }}"
95291
+ }
95292
+ },
95293
+ permissions: []
95294
+ }
95295
+ ]
95296
+ };
95297
+
95158
95298
  // ../../packages/core/src/firewalls/atlassian.generated.ts
95159
95299
  init_esm_shims();
95160
95300
  var atlassianFirewall = {
@@ -97704,6 +97844,27 @@ var firefliesFirewall = {
97704
97844
  ]
97705
97845
  };
97706
97846
 
97847
+ // ../../packages/core/src/firewalls/freshdesk.generated.ts
97848
+ init_esm_shims();
97849
+ var freshdeskFirewall = {
97850
+ name: "freshdesk",
97851
+ description: "Freshdesk helpdesk and customer support API",
97852
+ placeholders: {
97853
+ FRESHDESK_TOKEN: "CoffeeSafeLocalCoffe"
97854
+ },
97855
+ apis: [
97856
+ {
97857
+ base: "https://${{ vars.FRESHDESK_DOMAIN }}.freshdesk.com",
97858
+ auth: {
97859
+ headers: {
97860
+ Authorization: "${{ basic(secrets.FRESHDESK_TOKEN, ) }}"
97861
+ }
97862
+ },
97863
+ permissions: []
97864
+ }
97865
+ ]
97866
+ };
97867
+
97707
97868
  // ../../packages/core/src/firewalls/gamma.generated.ts
97708
97869
  init_esm_shims();
97709
97870
  var gammaFirewall = {
@@ -103562,6 +103723,7 @@ var zoomFirewall = {
103562
103723
  var CONNECTOR_FIREWALLS = {
103563
103724
  agentmail: agentmailFirewall,
103564
103725
  agentphone: agentphoneFirewall,
103726
+ amplitude: amplitudeFirewall,
103565
103727
  "anthropic-managed-agents": anthropicManagedAgentsFirewall,
103566
103728
  ahrefs: ahrefsFirewall,
103567
103729
  airtable: airtableFirewall,
@@ -103569,6 +103731,7 @@ var CONNECTOR_FIREWALLS = {
103569
103731
  pika: pikaFirewall,
103570
103732
  apify: apifyFirewall,
103571
103733
  asana: asanaFirewall,
103734
+ attio: attioFirewall,
103572
103735
  atlassian: atlassianFirewall,
103573
103736
  axiom: axiomFirewall,
103574
103737
  bitrix: bitrixFirewall,
@@ -103608,6 +103771,7 @@ var CONNECTOR_FIREWALLS = {
103608
103771
  figma: figmaFirewall,
103609
103772
  firecrawl: firecrawlFirewall,
103610
103773
  fireflies: firefliesFirewall,
103774
+ freshdesk: freshdeskFirewall,
103611
103775
  gamma: gammaFirewall,
103612
103776
  "garmin-connect": garminConnectFirewall,
103613
103777
  github: githubFirewall,
@@ -108310,6 +108474,78 @@ init_esm_shims();
108310
108474
 
108311
108475
  // ../../packages/core/src/contracts/firewalls.ts
108312
108476
  init_esm_shims();
108477
+
108478
+ // ../../packages/core/src/contracts/segment-parser.ts
108479
+ init_esm_shims();
108480
+ var ERROR_HINT = 'use "{name}", "prefix{name}", "{name}suffix", or "prefix{name}suffix"';
108481
+ function parseSegment(seg) {
108482
+ const openCount = countChar(seg, "{");
108483
+ const closeCount = countChar(seg, "}");
108484
+ if (openCount === 0 && closeCount === 0) {
108485
+ return { kind: "literal", value: seg };
108486
+ }
108487
+ if (openCount !== closeCount) {
108488
+ return {
108489
+ kind: "error",
108490
+ reason: `unbalanced brace in segment "${seg}" \u2014 ${ERROR_HINT}`
108491
+ };
108492
+ }
108493
+ const open1 = seg.indexOf("{");
108494
+ const close1 = seg.indexOf("}");
108495
+ if (close1 < open1) {
108496
+ return {
108497
+ kind: "error",
108498
+ reason: `unbalanced brace in segment "${seg}" \u2014 ${ERROR_HINT}`
108499
+ };
108500
+ }
108501
+ if (openCount >= 2) {
108502
+ const open2 = seg.indexOf("{", close1 + 1);
108503
+ if (close1 + 1 === open2) {
108504
+ return {
108505
+ kind: "error",
108506
+ reason: `adjacent parameters in segment "${seg}" \u2014 only one parameter per segment is allowed; ${ERROR_HINT}`
108507
+ };
108508
+ }
108509
+ return {
108510
+ kind: "error",
108511
+ reason: `literal-separated parameters in segment "${seg}" \u2014 only one parameter per segment is allowed; ${ERROR_HINT}`
108512
+ };
108513
+ }
108514
+ const prefix = seg.slice(0, open1);
108515
+ const content = seg.slice(open1 + 1, close1);
108516
+ const suffix = seg.slice(close1 + 1);
108517
+ if (prefix.includes("{") || prefix.includes("}") || suffix.includes("{") || suffix.includes("}")) {
108518
+ return {
108519
+ kind: "error",
108520
+ reason: `unbalanced brace in segment "${seg}" \u2014 ${ERROR_HINT}`
108521
+ };
108522
+ }
108523
+ let greedy = "";
108524
+ let name = content;
108525
+ if (content.length > 0) {
108526
+ const last = content[content.length - 1];
108527
+ if (last === "+" || last === "*") {
108528
+ greedy = last;
108529
+ name = content.slice(0, -1);
108530
+ }
108531
+ }
108532
+ if (name.length === 0) {
108533
+ return {
108534
+ kind: "error",
108535
+ reason: `empty parameter name in segment "${seg}" \u2014 ${ERROR_HINT}`
108536
+ };
108537
+ }
108538
+ return { kind: "param", prefix, name, suffix, greedy };
108539
+ }
108540
+ function countChar(s, ch) {
108541
+ let n = 0;
108542
+ for (let i = 0; i < s.length; i++) {
108543
+ if (s[i] === ch) n++;
108544
+ }
108545
+ return n;
108546
+ }
108547
+
108548
+ // ../../packages/core/src/contracts/firewalls.ts
108313
108549
  var firewallPermissionSchema = external_exports.object({
108314
108550
  name: external_exports.string(),
108315
108551
  description: external_exports.string().optional(),
@@ -110557,7 +110793,14 @@ var chatThreadListItemSchema = external_exports.object({
110557
110793
  * Threads whose last message is archived are filtered out server-side.
110558
110794
  */
110559
110795
  isRead: external_exports.boolean(),
110560
- isArchived: external_exports.boolean()
110796
+ isArchived: external_exports.boolean(),
110797
+ /**
110798
+ * True when the thread has at least one non-terminal run
110799
+ * (queued / pending / running). Drives the sidebar running indicator,
110800
+ * which is mutually exclusive with the unread dot and shares the
110801
+ * `ChatThreadReadIndicator` feature switch gate.
110802
+ */
110803
+ running: external_exports.boolean()
110561
110804
  });
110562
110805
  var toolSummaryEntrySchema = external_exports.object({
110563
110806
  kind: external_exports.literal("tool"),
@@ -110751,8 +110994,7 @@ var chatThreadMessagesContract = c11.router({
110751
110994
  }),
110752
110995
  responses: {
110753
110996
  200: external_exports.object({
110754
- messages: external_exports.array(pagedChatMessageSchema),
110755
- hasMore: external_exports.boolean()
110997
+ messages: external_exports.array(pagedChatMessageSchema)
110756
110998
  }),
110757
110999
  401: apiErrorSchema,
110758
111000
  404: apiErrorSchema
@@ -111105,32 +111347,45 @@ var MAX_RESPONSE_SIZE = 128 * 1024;
111105
111347
 
111106
111348
  // ../../packages/core/src/contracts/firewall-rule-matcher.ts
111107
111349
  init_esm_shims();
111108
- var PARAM_SEG = /^\{([^}]+)\}$/;
111350
+ function matchMixedSegment(runtime, prefix, suffix) {
111351
+ if (!runtime.startsWith(prefix)) return null;
111352
+ if (!runtime.endsWith(suffix)) return null;
111353
+ if (runtime.length <= prefix.length + suffix.length) return null;
111354
+ return runtime.slice(prefix.length, runtime.length - suffix.length);
111355
+ }
111109
111356
  function matchFirewallPath(path3, pattern) {
111110
111357
  const pathSegs = path3.split("/").filter(Boolean);
111111
111358
  const patternSegs = pattern.split("/").filter(Boolean);
111112
111359
  const params = {};
111113
111360
  let pi = 0;
111114
111361
  for (const seg of patternSegs) {
111115
- const m = PARAM_SEG.exec(seg);
111116
- if (m) {
111117
- const name = m[1];
111118
- if (name.endsWith("+")) {
111119
- if (pi >= pathSegs.length) return null;
111120
- params[name.slice(0, -1)] = pathSegs.slice(pi).join("/");
111121
- return params;
111122
- }
111123
- if (name.endsWith("*")) {
111124
- params[name.slice(0, -1)] = pathSegs.slice(pi).join("/");
111125
- return params;
111126
- }
111127
- if (pi >= pathSegs.length) return null;
111128
- params[name] = pathSegs[pi];
111362
+ const parsed = parseSegment(seg);
111363
+ if (parsed.kind === "error") return null;
111364
+ if (parsed.kind === "literal") {
111365
+ if (pi >= pathSegs.length || pathSegs[pi] !== parsed.value) return null;
111129
111366
  pi++;
111367
+ continue;
111368
+ }
111369
+ const { name, prefix, suffix, greedy } = parsed;
111370
+ if (greedy === "+") {
111371
+ if (pi >= pathSegs.length) return null;
111372
+ params[name] = pathSegs.slice(pi).join("/");
111373
+ return params;
111374
+ }
111375
+ if (greedy === "*") {
111376
+ params[name] = pathSegs.slice(pi).join("/");
111377
+ return params;
111378
+ }
111379
+ if (pi >= pathSegs.length) return null;
111380
+ const runtime = pathSegs[pi];
111381
+ if (prefix === "" && suffix === "") {
111382
+ params[name] = runtime;
111130
111383
  } else {
111131
- if (pi >= pathSegs.length || pathSegs[pi] !== seg) return null;
111132
- pi++;
111384
+ const captured = matchMixedSegment(runtime, prefix, suffix);
111385
+ if (captured === null) return null;
111386
+ params[name] = captured;
111133
111387
  }
111388
+ pi++;
111134
111389
  }
111135
111390
  if (pi !== pathSegs.length) return null;
111136
111391
  return params;
@@ -111398,20 +111653,26 @@ var zeroAgentResponseSchema = external_exports.object({
111398
111653
  sound: external_exports.string().nullable(),
111399
111654
  avatarUrl: external_exports.string().nullable(),
111400
111655
  permissionPolicies: firewallPoliciesSchema.nullable(),
111401
- customSkills: external_exports.array(external_exports.string()).default([])
111656
+ customSkills: external_exports.array(external_exports.string()).default([]),
111657
+ modelProviderId: external_exports.string().uuid().nullable().default(null),
111658
+ selectedModel: external_exports.string().nullable().default(null)
111402
111659
  });
111403
111660
  var zeroAgentRequestSchema = external_exports.object({
111404
111661
  description: external_exports.string().optional(),
111405
111662
  displayName: external_exports.string().optional(),
111406
111663
  sound: external_exports.string().optional(),
111407
111664
  avatarUrl: external_exports.string().optional(),
111408
- customSkills: external_exports.array(zeroAgentCustomSkillNameSchema).optional()
111665
+ customSkills: external_exports.array(zeroAgentCustomSkillNameSchema).optional(),
111666
+ modelProviderId: external_exports.string().uuid().nullable().optional(),
111667
+ selectedModel: external_exports.string().nullable().optional()
111409
111668
  });
111410
111669
  var zeroAgentMetadataRequestSchema = external_exports.object({
111411
111670
  displayName: external_exports.string().optional(),
111412
111671
  description: external_exports.string().optional(),
111413
111672
  sound: external_exports.string().optional(),
111414
- avatarUrl: external_exports.string().nullable().optional()
111673
+ avatarUrl: external_exports.string().nullable().optional(),
111674
+ modelProviderId: external_exports.string().uuid().nullable().optional(),
111675
+ selectedModel: external_exports.string().nullable().optional()
111415
111676
  });
111416
111677
  var zeroAgentInstructionsResponseSchema = external_exports.object({
111417
111678
  content: external_exports.string().nullable(),
@@ -112518,7 +112779,9 @@ var scheduleResponseSchema = external_exports.object({
112518
112779
  retryStartedAt: external_exports.string().nullable(),
112519
112780
  consecutiveFailures: external_exports.number(),
112520
112781
  createdAt: external_exports.string(),
112521
- updatedAt: external_exports.string()
112782
+ updatedAt: external_exports.string(),
112783
+ modelProviderId: external_exports.string().uuid().nullable().default(null),
112784
+ selectedModel: external_exports.string().nullable().default(null)
112522
112785
  });
112523
112786
  var scheduleListResponseSchema = external_exports.object({
112524
112787
  schedules: external_exports.array(scheduleResponseSchema)
@@ -112538,7 +112801,9 @@ var zeroDeployScheduleRequestSchema = external_exports.object({
112538
112801
  appendSystemPrompt: external_exports.string().optional(),
112539
112802
  volumeVersions: external_exports.record(external_exports.string(), external_exports.string()).optional(),
112540
112803
  agentId: external_exports.string().uuid("Invalid agent ID"),
112541
- enabled: external_exports.boolean().optional()
112804
+ enabled: external_exports.boolean().optional(),
112805
+ modelProviderId: external_exports.string().uuid().nullable().optional(),
112806
+ selectedModel: external_exports.string().nullable().optional()
112542
112807
  }).refine(
112543
112808
  (data) => {
112544
112809
  const triggers = [
@@ -112841,9 +113106,110 @@ var zeroVariablesByNameContract = c28.router({
112841
113106
  }
112842
113107
  });
112843
113108
 
112844
- // ../../packages/core/src/contracts/integrations.ts
113109
+ // ../../packages/core/src/contracts/zero-custom-connectors.ts
112845
113110
  init_esm_shims();
112846
113111
  var c29 = initContract();
113112
+ var customConnectorResponseSchema = external_exports.object({
113113
+ id: external_exports.string().uuid(),
113114
+ slug: external_exports.string(),
113115
+ displayName: external_exports.string(),
113116
+ prefixes: external_exports.array(external_exports.string()),
113117
+ headerName: external_exports.string(),
113118
+ headerTemplate: external_exports.string(),
113119
+ createdAt: external_exports.string(),
113120
+ updatedAt: external_exports.string(),
113121
+ hasSecret: external_exports.boolean()
113122
+ });
113123
+ var customConnectorListResponseSchema = external_exports.object({
113124
+ connectors: external_exports.array(customConnectorResponseSchema)
113125
+ });
113126
+ var createCustomConnectorBodySchema = external_exports.object({
113127
+ displayName: external_exports.string().min(1).max(128),
113128
+ prefixes: external_exports.array(external_exports.string().url()).min(1),
113129
+ headerName: external_exports.string().min(1).max(128),
113130
+ headerTemplate: external_exports.string().min(1),
113131
+ slug: external_exports.string().optional()
113132
+ });
113133
+ var setCustomConnectorSecretBodySchema = external_exports.object({
113134
+ value: external_exports.string().min(1)
113135
+ });
113136
+ var zeroCustomConnectorsContract = c29.router({
113137
+ list: {
113138
+ method: "GET",
113139
+ path: "/api/zero/custom-connectors",
113140
+ headers: authHeadersSchema,
113141
+ responses: {
113142
+ 200: customConnectorListResponseSchema,
113143
+ 401: apiErrorSchema,
113144
+ 500: apiErrorSchema
113145
+ },
113146
+ summary: "List org custom connectors"
113147
+ },
113148
+ create: {
113149
+ method: "POST",
113150
+ path: "/api/zero/custom-connectors",
113151
+ headers: authHeadersSchema,
113152
+ body: createCustomConnectorBodySchema,
113153
+ responses: {
113154
+ 201: customConnectorResponseSchema,
113155
+ 400: apiErrorSchema,
113156
+ 401: apiErrorSchema,
113157
+ 403: apiErrorSchema,
113158
+ 500: apiErrorSchema
113159
+ },
113160
+ summary: "Create an org custom connector"
113161
+ }
113162
+ });
113163
+ var zeroCustomConnectorByIdContract = c29.router({
113164
+ delete: {
113165
+ method: "DELETE",
113166
+ path: "/api/zero/custom-connectors/:id",
113167
+ headers: authHeadersSchema,
113168
+ pathParams: external_exports.object({ id: external_exports.string().uuid() }),
113169
+ responses: {
113170
+ 204: c29.noBody(),
113171
+ 401: apiErrorSchema,
113172
+ 403: apiErrorSchema,
113173
+ 404: apiErrorSchema,
113174
+ 500: apiErrorSchema
113175
+ },
113176
+ summary: "Delete an org custom connector"
113177
+ }
113178
+ });
113179
+ var zeroCustomConnectorSecretContract = c29.router({
113180
+ set: {
113181
+ method: "PUT",
113182
+ path: "/api/zero/custom-connectors/:id/secret",
113183
+ headers: authHeadersSchema,
113184
+ pathParams: external_exports.object({ id: external_exports.string().uuid() }),
113185
+ body: setCustomConnectorSecretBodySchema,
113186
+ responses: {
113187
+ 204: c29.noBody(),
113188
+ 400: apiErrorSchema,
113189
+ 401: apiErrorSchema,
113190
+ 404: apiErrorSchema,
113191
+ 500: apiErrorSchema
113192
+ },
113193
+ summary: "Set the calling user's secret for a custom connector"
113194
+ },
113195
+ delete: {
113196
+ method: "DELETE",
113197
+ path: "/api/zero/custom-connectors/:id/secret",
113198
+ headers: authHeadersSchema,
113199
+ pathParams: external_exports.object({ id: external_exports.string().uuid() }),
113200
+ responses: {
113201
+ 204: c29.noBody(),
113202
+ 401: apiErrorSchema,
113203
+ 404: apiErrorSchema,
113204
+ 500: apiErrorSchema
113205
+ },
113206
+ summary: "Clear the calling user's secret for a custom connector"
113207
+ }
113208
+ });
113209
+
113210
+ // ../../packages/core/src/contracts/integrations.ts
113211
+ init_esm_shims();
113212
+ var c30 = initContract();
112847
113213
  var sendSlackMessageBodySchema = external_exports.object({
112848
113214
  channel: external_exports.string().min(1, "Channel ID is required").optional(),
112849
113215
  user: external_exports.string().min(1, "User ID is required").optional(),
@@ -112861,7 +113227,7 @@ var sendSlackMessageResponseSchema = external_exports.object({
112861
113227
  ts: external_exports.string().optional(),
112862
113228
  channel: external_exports.string().optional()
112863
113229
  });
112864
- var integrationsSlackMessageContract = c29.router({
113230
+ var integrationsSlackMessageContract = c30.router({
112865
113231
  sendMessage: {
112866
113232
  method: "POST",
112867
113233
  path: "/api/zero/integrations/slack/message",
@@ -112885,7 +113251,7 @@ var slackUploadInitResponseSchema = external_exports.object({
112885
113251
  uploadUrl: external_exports.string(),
112886
113252
  fileId: external_exports.string()
112887
113253
  });
112888
- var integrationsSlackUploadInitContract = c29.router({
113254
+ var integrationsSlackUploadInitContract = c30.router({
112889
113255
  init: {
112890
113256
  method: "POST",
112891
113257
  path: "/api/zero/integrations/slack/upload-file/init",
@@ -112928,7 +113294,7 @@ var sendChatMessageResponseSchema = external_exports.object({
112928
113294
  threadId: external_exports.string(),
112929
113295
  createdAt: external_exports.string()
112930
113296
  });
112931
- var integrationsChatMessageContract = c29.router({
113297
+ var integrationsChatMessageContract = c30.router({
112932
113298
  sendMessage: {
112933
113299
  method: "POST",
112934
113300
  path: "/api/zero/integrations/chat/message",
@@ -112944,7 +113310,7 @@ var integrationsChatMessageContract = c29.router({
112944
113310
  summary: "Send a message to a web chat thread"
112945
113311
  }
112946
113312
  });
112947
- var integrationsSlackUploadCompleteContract = c29.router({
113313
+ var integrationsSlackUploadCompleteContract = c30.router({
112948
113314
  complete: {
112949
113315
  method: "POST",
112950
113316
  path: "/api/zero/integrations/slack/upload-file/complete",
@@ -112963,7 +113329,7 @@ var integrationsSlackUploadCompleteContract = c29.router({
112963
113329
 
112964
113330
  // ../../packages/core/src/contracts/zero-billing.ts
112965
113331
  init_esm_shims();
112966
- var c30 = initContract();
113332
+ var c31 = initContract();
112967
113333
  var autoRechargeSchema = external_exports.object({
112968
113334
  enabled: external_exports.boolean(),
112969
113335
  threshold: external_exports.number().nullable(),
@@ -113002,7 +113368,7 @@ var autoRechargeUpdateRequestSchema = external_exports.object({
113002
113368
  threshold: external_exports.number().int().positive().optional(),
113003
113369
  amount: external_exports.number().int().min(1e3).optional()
113004
113370
  });
113005
- var zeroBillingStatusContract = c30.router({
113371
+ var zeroBillingStatusContract = c31.router({
113006
113372
  get: {
113007
113373
  method: "GET",
113008
113374
  path: "/api/zero/billing/status",
@@ -113015,7 +113381,7 @@ var zeroBillingStatusContract = c30.router({
113015
113381
  summary: "Get billing status for current org"
113016
113382
  }
113017
113383
  });
113018
- var zeroBillingCheckoutContract = c30.router({
113384
+ var zeroBillingCheckoutContract = c31.router({
113019
113385
  create: {
113020
113386
  method: "POST",
113021
113387
  path: "/api/zero/billing/checkout",
@@ -113031,7 +113397,7 @@ var zeroBillingCheckoutContract = c30.router({
113031
113397
  summary: "Create Stripe checkout session"
113032
113398
  }
113033
113399
  });
113034
- var zeroBillingPortalContract = c30.router({
113400
+ var zeroBillingPortalContract = c31.router({
113035
113401
  create: {
113036
113402
  method: "POST",
113037
113403
  path: "/api/zero/billing/portal",
@@ -113047,7 +113413,7 @@ var zeroBillingPortalContract = c30.router({
113047
113413
  summary: "Create Stripe billing portal session"
113048
113414
  }
113049
113415
  });
113050
- var zeroBillingAutoRechargeContract = c30.router({
113416
+ var zeroBillingAutoRechargeContract = c31.router({
113051
113417
  get: {
113052
113418
  method: "GET",
113053
113419
  path: "/api/zero/billing/auto-recharge",
@@ -113085,7 +113451,7 @@ var invoiceSchema = external_exports.object({
113085
113451
  var billingInvoicesResponseSchema = external_exports.object({
113086
113452
  invoices: external_exports.array(invoiceSchema)
113087
113453
  });
113088
- var zeroBillingInvoicesContract = c30.router({
113454
+ var zeroBillingInvoicesContract = c31.router({
113089
113455
  get: {
113090
113456
  method: "GET",
113091
113457
  path: "/api/zero/billing/invoices",
@@ -113105,7 +113471,7 @@ var downgradeResponseSchema = external_exports.object({
113105
113471
  success: external_exports.boolean(),
113106
113472
  effectiveDate: external_exports.string().nullable()
113107
113473
  });
113108
- var zeroBillingDowngradeContract = c30.router({
113474
+ var zeroBillingDowngradeContract = c31.router({
113109
113475
  create: {
113110
113476
  method: "POST",
113111
113477
  path: "/api/zero/billing/downgrade",
@@ -113125,7 +113491,7 @@ var zeroBillingDowngradeContract = c30.router({
113125
113491
 
113126
113492
  // ../../packages/core/src/contracts/zero-usage.ts
113127
113493
  init_esm_shims();
113128
- var c31 = initContract();
113494
+ var c32 = initContract();
113129
113495
  var memberUsageSchema = external_exports.object({
113130
113496
  userId: external_exports.string(),
113131
113497
  email: external_exports.string(),
@@ -113143,7 +113509,7 @@ var usageMembersResponseSchema = external_exports.object({
113143
113509
  }).nullable(),
113144
113510
  members: external_exports.array(memberUsageSchema)
113145
113511
  });
113146
- var zeroUsageMembersContract = c31.router({
113512
+ var zeroUsageMembersContract = c32.router({
113147
113513
  get: {
113148
113514
  method: "GET",
113149
113515
  path: "/api/zero/usage/members",
@@ -113159,7 +113525,7 @@ var zeroUsageMembersContract = c31.router({
113159
113525
 
113160
113526
  // ../../packages/core/src/contracts/zero-usage-daily.ts
113161
113527
  init_esm_shims();
113162
- var c32 = initContract();
113528
+ var c33 = initContract();
113163
113529
  var dailyCreditSchema = external_exports.object({
113164
113530
  date: external_exports.string(),
113165
113531
  creditsCharged: external_exports.number()
@@ -113182,7 +113548,7 @@ var usageDailyResponseSchema = external_exports.object({
113182
113548
  daily: external_exports.array(dailyCreditSchema),
113183
113549
  dailyByMember: external_exports.array(dailyCreditByMemberSchema)
113184
113550
  });
113185
- var zeroUsageDailyContract = c32.router({
113551
+ var zeroUsageDailyContract = c33.router({
113186
113552
  get: {
113187
113553
  method: "GET",
113188
113554
  path: "/api/zero/usage/daily",
@@ -113227,7 +113593,7 @@ var usageRunsResponseSchema = external_exports.object({
113227
113593
  total: external_exports.number()
113228
113594
  })
113229
113595
  });
113230
- var zeroUsageRunsContract = c32.router({
113596
+ var zeroUsageRunsContract = c33.router({
113231
113597
  get: {
113232
113598
  method: "GET",
113233
113599
  path: "/api/zero/usage/runs",
@@ -113253,7 +113619,7 @@ var zeroUsageRunsContract = c32.router({
113253
113619
 
113254
113620
  // ../../packages/core/src/contracts/zero-team.ts
113255
113621
  init_esm_shims();
113256
- var c33 = initContract();
113622
+ var c34 = initContract();
113257
113623
  var teamComposeItemSchema = external_exports.object({
113258
113624
  id: external_exports.string(),
113259
113625
  displayName: external_exports.string().nullable(),
@@ -113263,7 +113629,7 @@ var teamComposeItemSchema = external_exports.object({
113263
113629
  headVersionId: external_exports.string().nullable(),
113264
113630
  updatedAt: external_exports.string()
113265
113631
  });
113266
- var zeroTeamContract = c33.router({
113632
+ var zeroTeamContract = c34.router({
113267
113633
  list: {
113268
113634
  method: "GET",
113269
113635
  path: "/api/zero/team",
@@ -113280,7 +113646,7 @@ var zeroTeamContract = c33.router({
113280
113646
 
113281
113647
  // ../../packages/core/src/contracts/zero-integrations-slack.ts
113282
113648
  init_esm_shims();
113283
- var c34 = initContract();
113649
+ var c35 = initContract();
113284
113650
  var slackEnvironmentSchema = external_exports.object({
113285
113651
  requiredSecrets: external_exports.array(external_exports.string()),
113286
113652
  requiredVars: external_exports.array(external_exports.string()),
@@ -113302,7 +113668,7 @@ var slackOrgStatusSchema = external_exports.object({
113302
113668
  /** OAuth install URL for re-authorization (admin-only, when scopeMismatch). */
113303
113669
  reinstallUrl: external_exports.string().nullable().optional()
113304
113670
  });
113305
- var zeroIntegrationsSlackContract = c34.router({
113671
+ var zeroIntegrationsSlackContract = c35.router({
113306
113672
  getStatus: {
113307
113673
  method: "GET",
113308
113674
  path: "/api/zero/integrations/slack",
@@ -113317,7 +113683,7 @@ var zeroIntegrationsSlackContract = c34.router({
113317
113683
  method: "DELETE",
113318
113684
  path: "/api/zero/integrations/slack",
113319
113685
  headers: authHeadersSchema,
113320
- body: c34.noBody(),
113686
+ body: c35.noBody(),
113321
113687
  query: external_exports.object({
113322
113688
  action: external_exports.string().optional()
113323
113689
  }),
@@ -113333,7 +113699,7 @@ var zeroIntegrationsSlackContract = c34.router({
113333
113699
 
113334
113700
  // ../../packages/core/src/contracts/zero-slack-connect.ts
113335
113701
  init_esm_shims();
113336
- var c35 = initContract();
113702
+ var c36 = initContract();
113337
113703
  var slackConnectStatusSchema = external_exports.object({
113338
113704
  isConnected: external_exports.boolean(),
113339
113705
  isAdmin: external_exports.boolean(),
@@ -113345,7 +113711,7 @@ var slackConnectResponseSchema = external_exports.object({
113345
113711
  connectionId: external_exports.string(),
113346
113712
  role: external_exports.string()
113347
113713
  });
113348
- var zeroSlackConnectContract = c35.router({
113714
+ var zeroSlackConnectContract = c36.router({
113349
113715
  getStatus: {
113350
113716
  method: "GET",
113351
113717
  path: "/api/zero/integrations/slack/connect",
@@ -113379,12 +113745,12 @@ var zeroSlackConnectContract = c35.router({
113379
113745
 
113380
113746
  // ../../packages/core/src/contracts/zero-slack-channels.ts
113381
113747
  init_esm_shims();
113382
- var c36 = initContract();
113748
+ var c37 = initContract();
113383
113749
  var slackChannelSchema = external_exports.object({
113384
113750
  id: external_exports.string(),
113385
113751
  name: external_exports.string()
113386
113752
  });
113387
- var zeroSlackChannelsContract = c36.router({
113753
+ var zeroSlackChannelsContract = c37.router({
113388
113754
  list: {
113389
113755
  method: "GET",
113390
113756
  path: "/api/zero/slack/channels",
@@ -113400,12 +113766,12 @@ var zeroSlackChannelsContract = c36.router({
113400
113766
 
113401
113767
  // ../../packages/core/src/contracts/zero-queue-position.ts
113402
113768
  init_esm_shims();
113403
- var c37 = initContract();
113769
+ var c38 = initContract();
113404
113770
  var queuePositionResponseSchema = external_exports.object({
113405
113771
  position: external_exports.number(),
113406
113772
  total: external_exports.number()
113407
113773
  });
113408
- var zeroQueuePositionContract = c37.router({
113774
+ var zeroQueuePositionContract = c38.router({
113409
113775
  getPosition: {
113410
113776
  method: "GET",
113411
113777
  path: "/api/zero/queue-position",
@@ -113425,13 +113791,13 @@ var zeroQueuePositionContract = c37.router({
113425
113791
 
113426
113792
  // ../../packages/core/src/contracts/zero-member-credit-cap.ts
113427
113793
  init_esm_shims();
113428
- var c38 = initContract();
113794
+ var c39 = initContract();
113429
113795
  var memberCreditCapResponseSchema = external_exports.object({
113430
113796
  userId: external_exports.string(),
113431
113797
  creditCap: external_exports.number().nullable(),
113432
113798
  creditEnabled: external_exports.boolean()
113433
113799
  });
113434
- var zeroMemberCreditCapContract = c38.router({
113800
+ var zeroMemberCreditCapContract = c39.router({
113435
113801
  get: {
113436
113802
  method: "GET",
113437
113803
  path: "/api/zero/org/members/credit-cap",
@@ -113466,7 +113832,7 @@ var zeroMemberCreditCapContract = c38.router({
113466
113832
 
113467
113833
  // ../../packages/core/src/contracts/zero-developer-support.ts
113468
113834
  init_esm_shims();
113469
- var c39 = initContract();
113835
+ var c40 = initContract();
113470
113836
  var developerSupportBodySchema = external_exports.object({
113471
113837
  title: external_exports.string().min(1, "Title is required"),
113472
113838
  description: external_exports.string().min(1, "Description is required"),
@@ -113478,7 +113844,7 @@ var consentCodeResponseSchema = external_exports.object({
113478
113844
  var submitResponseSchema = external_exports.object({
113479
113845
  reference: external_exports.string()
113480
113846
  });
113481
- var zeroDeveloperSupportContract = c39.router({
113847
+ var zeroDeveloperSupportContract = c40.router({
113482
113848
  submit: {
113483
113849
  method: "POST",
113484
113850
  path: "/api/zero/developer-support",
@@ -113496,7 +113862,7 @@ var zeroDeveloperSupportContract = c39.router({
113496
113862
 
113497
113863
  // ../../packages/core/src/contracts/zero-report-error.ts
113498
113864
  init_esm_shims();
113499
- var c40 = initContract();
113865
+ var c41 = initContract();
113500
113866
  var reportErrorBodySchema = external_exports.object({
113501
113867
  runId: external_exports.string().min(1, "Run ID is required"),
113502
113868
  title: external_exports.string().min(1, "Title is required"),
@@ -113505,7 +113871,7 @@ var reportErrorBodySchema = external_exports.object({
113505
113871
  var reportErrorResponseSchema = external_exports.object({
113506
113872
  reference: external_exports.string()
113507
113873
  });
113508
- var zeroReportErrorContract = c40.router({
113874
+ var zeroReportErrorContract = c41.router({
113509
113875
  submit: {
113510
113876
  method: "POST",
113511
113877
  path: "/api/zero/report-error",
@@ -113523,7 +113889,7 @@ var zeroReportErrorContract = c40.router({
113523
113889
 
113524
113890
  // ../../packages/core/src/contracts/zero-computer-use.ts
113525
113891
  init_esm_shims();
113526
- var c41 = initContract();
113892
+ var c42 = initContract();
113527
113893
  var registerResponseSchema = external_exports.object({
113528
113894
  id: external_exports.string(),
113529
113895
  domain: external_exports.string(),
@@ -113535,12 +113901,12 @@ var hostResponseSchema = external_exports.object({
113535
113901
  domain: external_exports.string(),
113536
113902
  token: external_exports.string()
113537
113903
  });
113538
- var zeroComputerUseRegisterContract = c41.router({
113904
+ var zeroComputerUseRegisterContract = c42.router({
113539
113905
  register: {
113540
113906
  method: "POST",
113541
113907
  path: "/api/zero/computer-use/register",
113542
113908
  headers: authHeadersSchema,
113543
- body: c41.noBody(),
113909
+ body: c42.noBody(),
113544
113910
  responses: {
113545
113911
  200: registerResponseSchema,
113546
113912
  401: apiErrorSchema,
@@ -113550,14 +113916,14 @@ var zeroComputerUseRegisterContract = c41.router({
113550
113916
  summary: "Register a computer-use host"
113551
113917
  }
113552
113918
  });
113553
- var zeroComputerUseUnregisterContract = c41.router({
113919
+ var zeroComputerUseUnregisterContract = c42.router({
113554
113920
  unregister: {
113555
113921
  method: "DELETE",
113556
113922
  path: "/api/zero/computer-use/unregister",
113557
113923
  headers: authHeadersSchema,
113558
- body: c41.noBody(),
113924
+ body: c42.noBody(),
113559
113925
  responses: {
113560
- 204: c41.noBody(),
113926
+ 204: c42.noBody(),
113561
113927
  401: apiErrorSchema,
113562
113928
  403: apiErrorSchema,
113563
113929
  404: apiErrorSchema
@@ -113565,7 +113931,7 @@ var zeroComputerUseUnregisterContract = c41.router({
113565
113931
  summary: "Unregister a computer-use host"
113566
113932
  }
113567
113933
  });
113568
- var zeroComputerUseHostContract = c41.router({
113934
+ var zeroComputerUseHostContract = c42.router({
113569
113935
  getHost: {
113570
113936
  method: "GET",
113571
113937
  path: "/api/zero/computer-use/host",
@@ -113582,7 +113948,7 @@ var zeroComputerUseHostContract = c41.router({
113582
113948
 
113583
113949
  // ../../packages/core/src/contracts/zero-insights.ts
113584
113950
  init_esm_shims();
113585
- var c42 = initContract();
113951
+ var c43 = initContract();
113586
113952
  var insightAgentSchema = external_exports.object({
113587
113953
  agentName: external_exports.string(),
113588
113954
  agentId: external_exports.string().nullable(),
@@ -113632,7 +113998,7 @@ var insightsRangeResponseSchema = external_exports.object({
113632
113998
  maxDate: external_exports.string().nullable(),
113633
113999
  totalDays: external_exports.number()
113634
114000
  });
113635
- var zeroInsightsContract = c42.router({
114001
+ var zeroInsightsContract = c43.router({
113636
114002
  get: {
113637
114003
  method: "GET",
113638
114004
  path: "/api/zero/insights",
@@ -113647,7 +114013,7 @@ var zeroInsightsContract = c42.router({
113647
114013
  summary: "Get daily insights for the authenticated org"
113648
114014
  }
113649
114015
  });
113650
- var zeroInsightsRangeContract = c42.router({
114016
+ var zeroInsightsRangeContract = c43.router({
113651
114017
  get: {
113652
114018
  method: "GET",
113653
114019
  path: "/api/zero/insights/range",
@@ -113662,8 +114028,8 @@ var zeroInsightsRangeContract = c42.router({
113662
114028
 
113663
114029
  // ../../packages/core/src/contracts/push-subscriptions.ts
113664
114030
  init_esm_shims();
113665
- var c43 = initContract();
113666
- var pushSubscriptionsContract = c43.router({
114031
+ var c44 = initContract();
114032
+ var pushSubscriptionsContract = c44.router({
113667
114033
  register: {
113668
114034
  method: "POST",
113669
114035
  path: "/api/zero/push-subscriptions",
@@ -113687,7 +114053,7 @@ var pushSubscriptionsContract = c43.router({
113687
114053
 
113688
114054
  // ../../packages/core/src/contracts/zero-voice-chat-context.ts
113689
114055
  init_esm_shims();
113690
- var c44 = initContract();
114056
+ var c45 = initContract();
113691
114057
  var contextEventSchema = external_exports.object({
113692
114058
  id: external_exports.string(),
113693
114059
  seq: external_exports.number(),
@@ -113704,7 +114070,7 @@ var appendContextEventBodySchema = external_exports.object({
113704
114070
  type: external_exports.string(),
113705
114071
  content: external_exports.string().optional()
113706
114072
  });
113707
- var zeroVoiceChatContextContract = c44.router({
114073
+ var zeroVoiceChatContextContract = c45.router({
113708
114074
  getEvents: {
113709
114075
  method: "GET",
113710
114076
  path: "/api/zero/voice-chat/:id/context",
@@ -113735,7 +114101,7 @@ var zeroVoiceChatContextContract = c44.router({
113735
114101
 
113736
114102
  // ../../packages/core/src/contracts/zero-voice-chat-sessions.ts
113737
114103
  init_esm_shims();
113738
- var c45 = initContract();
114104
+ var c46 = initContract();
113739
114105
  var voiceChatModeSchema = external_exports.enum(["chat", "meeting"]);
113740
114106
  var voiceChatSessionBaseSchema = external_exports.object({
113741
114107
  id: external_exports.string(),
@@ -113762,7 +114128,7 @@ var voiceChatTokenResponseSchema = external_exports.object({
113762
114128
  })
113763
114129
  });
113764
114130
  var okResponseSchema = external_exports.object({ ok: external_exports.literal(true) });
113765
- var zeroVoiceChatSessionsContract = c45.router({
114131
+ var zeroVoiceChatSessionsContract = c46.router({
113766
114132
  create: {
113767
114133
  method: "POST",
113768
114134
  path: "/api/zero/voice-chat",
@@ -113833,7 +114199,7 @@ var zeroVoiceChatSessionsContract = c45.router({
113833
114199
 
113834
114200
  // ../../packages/core/src/contracts/zero-voice-chat-prepare.ts
113835
114201
  init_esm_shims();
113836
- var c46 = initContract();
114202
+ var c47 = initContract();
113837
114203
  var prepareTriggerBodySchema = external_exports.object({
113838
114204
  agentId: external_exports.string().min(1),
113839
114205
  mode: external_exports.enum(["chat", "meeting"]).default("chat"),
@@ -113846,7 +114212,7 @@ var prepareTriggerResponseSchema = external_exports.object({
113846
114212
  runId: external_exports.string().optional()
113847
114213
  })
113848
114214
  });
113849
- var zeroVoiceChatPrepareTriggerContract = c46.router({
114215
+ var zeroVoiceChatPrepareTriggerContract = c47.router({
113850
114216
  trigger: {
113851
114217
  method: "POST",
113852
114218
  path: "/api/zero/voice-chat/prepare",
@@ -113868,7 +114234,7 @@ var prepareCompleteResponseSchema = external_exports.object({
113868
114234
  id: external_exports.string(),
113869
114235
  status: external_exports.enum(["preparing", "ready", "failed"])
113870
114236
  });
113871
- var zeroVoiceChatPrepareCompleteContract = c46.router({
114237
+ var zeroVoiceChatPrepareCompleteContract = c47.router({
113872
114238
  complete: {
113873
114239
  method: "POST",
113874
114240
  path: "/api/zero/voice-chat/prepare/complete",
@@ -113894,7 +114260,7 @@ var prepareListResponseSchema = external_exports.object({
113894
114260
  })
113895
114261
  )
113896
114262
  });
113897
- var zeroVoiceChatPrepareListContract = c46.router({
114263
+ var zeroVoiceChatPrepareListContract = c47.router({
113898
114264
  list: {
113899
114265
  method: "GET",
113900
114266
  path: "/api/zero/voice-chat/prepare/list",
@@ -113910,7 +114276,7 @@ var zeroVoiceChatPrepareListContract = c46.router({
113910
114276
 
113911
114277
  // ../../packages/core/src/contracts/tasks.ts
113912
114278
  init_esm_shims();
113913
- var c47 = initContract();
114279
+ var c48 = initContract();
113914
114280
  var taskTypeSchema = external_exports.enum([
113915
114281
  "chat",
113916
114282
  "schedule",
@@ -113951,7 +114317,7 @@ var unarchiveTaskBodySchema = external_exports.object({
113951
114317
  taskId: external_exports.string(),
113952
114318
  taskType: taskTypeSchema
113953
114319
  });
113954
- var tasksContract = c47.router({
114320
+ var tasksContract = c48.router({
113955
114321
  list: {
113956
114322
  method: "GET",
113957
114323
  path: "/api/zero/tasks",
@@ -113991,7 +114357,7 @@ var tasksContract = c47.router({
113991
114357
 
113992
114358
  // ../../packages/core/src/contracts/zero-phone.ts
113993
114359
  init_esm_shims();
113994
- var c48 = initContract();
114360
+ var c49 = initContract();
113995
114361
  var phoneStatusResponseSchema = external_exports.object({
113996
114362
  userPhone: external_exports.string().nullable(),
113997
114363
  userPhonePending: external_exports.string().nullable(),
@@ -114010,7 +114376,7 @@ var phoneSetupResponseSchema = external_exports.object({
114010
114376
  var phoneErrorResponseSchema = external_exports.object({
114011
114377
  error: external_exports.string()
114012
114378
  });
114013
- var zeroPhoneStatusContract = c48.router({
114379
+ var zeroPhoneStatusContract = c49.router({
114014
114380
  getStatus: {
114015
114381
  method: "GET",
114016
114382
  path: "/api/zero/phone/status",
@@ -114022,7 +114388,7 @@ var zeroPhoneStatusContract = c48.router({
114022
114388
  summary: "Get the current user's phone link status"
114023
114389
  }
114024
114390
  });
114025
- var zeroPhoneLinkContract = c48.router({
114391
+ var zeroPhoneLinkContract = c49.router({
114026
114392
  link: {
114027
114393
  method: "POST",
114028
114394
  path: "/api/zero/phone/link",
@@ -114040,7 +114406,7 @@ var zeroPhoneLinkContract = c48.router({
114040
114406
  method: "DELETE",
114041
114407
  path: "/api/zero/phone/link",
114042
114408
  headers: authHeadersSchema,
114043
- body: c48.noBody(),
114409
+ body: c49.noBody(),
114044
114410
  responses: {
114045
114411
  200: phoneSuccessResponseSchema,
114046
114412
  401: phoneErrorResponseSchema
@@ -114048,12 +114414,12 @@ var zeroPhoneLinkContract = c48.router({
114048
114414
  summary: "Remove the current user's phone link"
114049
114415
  }
114050
114416
  });
114051
- var zeroPhoneSetupContract = c48.router({
114417
+ var zeroPhoneSetupContract = c49.router({
114052
114418
  setup: {
114053
114419
  method: "POST",
114054
114420
  path: "/api/zero/phone/setup",
114055
114421
  headers: authHeadersSchema,
114056
- body: c48.noBody(),
114422
+ body: c49.noBody(),
114057
114423
  responses: {
114058
114424
  200: phoneSetupResponseSchema,
114059
114425
  401: phoneErrorResponseSchema,
@@ -114066,7 +114432,7 @@ var zeroPhoneSetupContract = c48.router({
114066
114432
 
114067
114433
  // ../../packages/core/src/contracts/zero-integrations-telegram.ts
114068
114434
  init_esm_shims();
114069
- var c49 = initContract();
114435
+ var c50 = initContract();
114070
114436
  var telegramEnvironmentSchema = external_exports.object({
114071
114437
  requiredSecrets: external_exports.array(external_exports.string()),
114072
114438
  requiredVars: external_exports.array(external_exports.string()),
@@ -114103,7 +114469,7 @@ var telegramRegisterResponseSchema = external_exports.object({
114103
114469
  webhookUrl: external_exports.string(),
114104
114470
  domainConfigured: external_exports.boolean()
114105
114471
  });
114106
- var zeroIntegrationsTelegramContract = c49.router({
114472
+ var zeroIntegrationsTelegramContract = c50.router({
114107
114473
  getStatus: {
114108
114474
  method: "GET",
114109
114475
  path: "/api/integrations/telegram",
@@ -114133,9 +114499,9 @@ var zeroIntegrationsTelegramContract = c49.router({
114133
114499
  method: "DELETE",
114134
114500
  path: "/api/integrations/telegram",
114135
114501
  headers: authHeadersSchema,
114136
- body: c49.noBody(),
114502
+ body: c50.noBody(),
114137
114503
  responses: {
114138
- 204: c49.noBody(),
114504
+ 204: c50.noBody(),
114139
114505
  401: apiErrorSchema,
114140
114506
  404: apiErrorSchema
114141
114507
  },
@@ -114450,6 +114816,11 @@ var FEATURE_SWITCHES = {
114450
114816
  description: "Show an inline streaming cursor on the last assistant message while the agent run is still active, so users see the agent is still working even after it has produced output",
114451
114817
  enabled: false
114452
114818
  },
114819
+ ["freshdeskConnector" /* FreshdeskConnector */]: {
114820
+ maintainer: "ethan@vm0.ai",
114821
+ description: "Enable the Freshdesk helpdesk connector",
114822
+ enabled: false
114823
+ },
114453
114824
  ["zoomConnector" /* ZoomConnector */]: {
114454
114825
  maintainer: "ethan@vm0.ai",
114455
114826
  description: "Enable the Zoom connector (OAuth 2.0) for meetings, past participants, and cloud recordings access",
@@ -114459,6 +114830,12 @@ var FEATURE_SWITCHES = {
114459
114830
  maintainer: "yuma@vm0.ai",
114460
114831
  description: "Per-user agent override in the org-aware Slack app. When enabled for an org, members can choose which agent replies to their Slack mentions / DMs via `/zero switch` (opens an agent picker modal) or the Switch button on the App Home tab. The help text for `/zero help` also lists the switch subcommand. Selecting an alternate agent persists a row in `slack_user_agent_preferences` so the preference follows the user across every Slack workspace joined under the same org, and subsequent mention / DM replies from a non-default agent carry a `Sent via <agent>` footer so it's clear which agent produced the reply. When gated off, the modal, slash subcommand, App Home button, and help line are hidden AND any existing DB preferences are ignored at read time \u2014 every user falls back to the org default agent with no footer. Staff-only during the rollout window defined by `enabledOrgIdHashes`.",
114461
114832
  enabled: false
114833
+ },
114834
+ ["modelProviderSelection" /* ModelProviderSelection */]: {
114835
+ maintainer: "ethan@vm0.ai",
114836
+ description: "Show the model provider + model picker on the agent profile page and schedule dialog. Allows per-agent and per-schedule model selection, overriding the org default. Staff-only during initial rollout.",
114837
+ enabled: false,
114838
+ enabledOrgIdHashes: STAFF_ORG_ID_HASHES
114462
114839
  }
114463
114840
  };
114464
114841
  function isFeatureEnabled(key, ctx) {
@@ -116929,4 +117306,4 @@ undici/lib/web/fetch/body.js:
116929
117306
  undici/lib/web/websocket/frame.js:
116930
117307
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
116931
117308
  */
116932
- //# sourceMappingURL=chunk-66W3R25L.js.map
117309
+ //# sourceMappingURL=chunk-4PF2QGDE.js.map