@vm0/cli 9.125.2 → 9.125.6

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 c55 = "color: " + this.color;
4626
- args.splice(1, 0, c55, "color: inherit");
4625
+ const c57 = "color: " + this.color;
4626
+ args.splice(1, 0, c57, "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, c55);
4638
+ args.splice(lastC, 0, c57);
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 c55 = this.color;
4927
- const colorCode = "\x1B[3" + (c55 < 8 ? c55 : "8;5;" + c55);
4926
+ const c57 = this.color;
4927
+ const colorCode = "\x1B[3" + (c57 < 8 ? c57 : "8;5;" + c57);
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 c55;
10086
+ let c57;
10087
10087
  if (isAlphaSequence) {
10088
- c55 = String.fromCharCode(i);
10089
- if (c55 === "\\") {
10090
- c55 = "";
10088
+ c57 = String.fromCharCode(i);
10089
+ if (c57 === "\\") {
10090
+ c57 = "";
10091
10091
  }
10092
10092
  } else {
10093
- c55 = String(i);
10093
+ c57 = String(i);
10094
10094
  if (pad) {
10095
- const need = width - c55.length;
10095
+ const need = width - c57.length;
10096
10096
  if (need > 0) {
10097
10097
  const z3 = new Array(need + 1).join("0");
10098
10098
  if (i < 0) {
10099
- c55 = "-" + z3 + c55.slice(1);
10099
+ c57 = "-" + z3 + c57.slice(1);
10100
10100
  } else {
10101
- c55 = z3 + c55;
10101
+ c57 = z3 + c57;
10102
10102
  }
10103
10103
  }
10104
10104
  }
10105
10105
  }
10106
- N.push(c55);
10106
+ N.push(c57);
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 c55 = glob.charAt(i);
10190
- if ((c55 === "!" || c55 === "^") && i === pos + 1) {
10189
+ const c57 = glob.charAt(i);
10190
+ if ((c57 === "!" || c57 === "^") && i === pos + 1) {
10191
10191
  negate = true;
10192
10192
  i++;
10193
10193
  continue;
10194
10194
  }
10195
- if (c55 === "]" && sawStart && !escaping) {
10195
+ if (c57 === "]" && sawStart && !escaping) {
10196
10196
  endPos = i + 1;
10197
10197
  break;
10198
10198
  }
10199
10199
  sawStart = true;
10200
- if (c55 === "\\") {
10200
+ if (c57 === "\\") {
10201
10201
  if (!escaping) {
10202
10202
  escaping = true;
10203
10203
  i++;
10204
10204
  continue;
10205
10205
  }
10206
10206
  }
10207
- if (c55 === "[" && !escaping) {
10207
+ if (c57 === "[" && !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 (c55 > rangeStart) {
10226
- ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c55));
10227
- } else if (c55 === rangeStart) {
10228
- ranges.push(braceEscape(c55));
10225
+ if (c57 > rangeStart) {
10226
+ ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c57));
10227
+ } else if (c57 === rangeStart) {
10228
+ ranges.push(braceEscape(c57));
10229
10229
  }
10230
10230
  rangeStart = "";
10231
10231
  i++;
10232
10232
  continue;
10233
10233
  }
10234
10234
  if (glob.startsWith("-]", i + 1)) {
10235
- ranges.push(braceEscape(c55 + "-"));
10235
+ ranges.push(braceEscape(c57 + "-"));
10236
10236
  i += 2;
10237
10237
  continue;
10238
10238
  }
10239
10239
  if (glob.startsWith("-", i + 1)) {
10240
- rangeStart = c55;
10240
+ rangeStart = c57;
10241
10241
  i += 2;
10242
10242
  continue;
10243
10243
  }
10244
- ranges.push(braceEscape(c55));
10244
+ ranges.push(braceEscape(c57));
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 = (c55) => types.has(c55);
10295
- var isExtglobAST = (c55) => isExtglobType(c55.type);
10294
+ var isExtglobType = (c57) => types.has(c57);
10295
+ var isExtglobAST = (c57) => isExtglobType(c57.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 c55 = new _a2(this.type, parent);
10492
+ const c57 = new _a2(this.type, parent);
10493
10493
  for (const p of this.#parts) {
10494
- c55.copyIn(p);
10494
+ c57.copyIn(p);
10495
10495
  }
10496
- return c55;
10496
+ return c57;
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 c55 = str.charAt(i2++);
10509
- if (escaping || c55 === "\\") {
10508
+ const c57 = str.charAt(i2++);
10509
+ if (escaping || c57 === "\\") {
10510
10510
  escaping = !escaping;
10511
- acc2 += c55;
10511
+ acc2 += c57;
10512
10512
  continue;
10513
10513
  }
10514
10514
  if (inBrace) {
10515
10515
  if (i2 === braceStart + 1) {
10516
- if (c55 === "^" || c55 === "!") {
10516
+ if (c57 === "^" || c57 === "!") {
10517
10517
  braceNeg = true;
10518
10518
  }
10519
- } else if (c55 === "]" && !(i2 === braceStart + 2 && braceNeg)) {
10519
+ } else if (c57 === "]" && !(i2 === braceStart + 2 && braceNeg)) {
10520
10520
  inBrace = false;
10521
10521
  }
10522
- acc2 += c55;
10522
+ acc2 += c57;
10523
10523
  continue;
10524
- } else if (c55 === "[") {
10524
+ } else if (c57 === "[") {
10525
10525
  inBrace = true;
10526
10526
  braceStart = i2;
10527
10527
  braceNeg = false;
10528
- acc2 += c55;
10528
+ acc2 += c57;
10529
10529
  continue;
10530
10530
  }
10531
- const doRecurse = !opt.noext && isExtglobType(c55) && str.charAt(i2) === "(" && extDepth <= maxDepth;
10531
+ const doRecurse = !opt.noext && isExtglobType(c57) && str.charAt(i2) === "(" && extDepth <= maxDepth;
10532
10532
  if (doRecurse) {
10533
10533
  ast.push(acc2);
10534
10534
  acc2 = "";
10535
- const ext = new _a2(c55, ast);
10535
+ const ext = new _a2(c57, ast);
10536
10536
  i2 = _a2.#parseAST(str, ext, i2, opt, extDepth + 1);
10537
10537
  ast.push(ext);
10538
10538
  continue;
10539
10539
  }
10540
- acc2 += c55;
10540
+ acc2 += c57;
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 c55 = str.charAt(i++);
10551
- if (escaping || c55 === "\\") {
10550
+ const c57 = str.charAt(i++);
10551
+ if (escaping || c57 === "\\") {
10552
10552
  escaping = !escaping;
10553
- acc += c55;
10553
+ acc += c57;
10554
10554
  continue;
10555
10555
  }
10556
10556
  if (inBrace) {
10557
10557
  if (i === braceStart + 1) {
10558
- if (c55 === "^" || c55 === "!") {
10558
+ if (c57 === "^" || c57 === "!") {
10559
10559
  braceNeg = true;
10560
10560
  }
10561
- } else if (c55 === "]" && !(i === braceStart + 2 && braceNeg)) {
10561
+ } else if (c57 === "]" && !(i === braceStart + 2 && braceNeg)) {
10562
10562
  inBrace = false;
10563
10563
  }
10564
- acc += c55;
10564
+ acc += c57;
10565
10565
  continue;
10566
- } else if (c55 === "[") {
10566
+ } else if (c57 === "[") {
10567
10567
  inBrace = true;
10568
10568
  braceStart = i;
10569
10569
  braceNeg = false;
10570
- acc += c55;
10570
+ acc += c57;
10571
10571
  continue;
10572
10572
  }
10573
- const doRecurse = !opt.noext && isExtglobType(c55) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
10574
- (extDepth <= maxDepth || ast && ast.#canAdoptType(c55));
10573
+ const doRecurse = !opt.noext && isExtglobType(c57) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
10574
+ (extDepth <= maxDepth || ast && ast.#canAdoptType(c57));
10575
10575
  if (doRecurse) {
10576
- const depthAdd = ast && ast.#canAdoptType(c55) ? 0 : 1;
10576
+ const depthAdd = ast && ast.#canAdoptType(c57) ? 0 : 1;
10577
10577
  part.push(acc);
10578
10578
  acc = "";
10579
- const ext = new _a2(c55, part);
10579
+ const ext = new _a2(c57, part);
10580
10580
  part.push(ext);
10581
10581
  i = _a2.#parseAST(str, ext, i, opt, extDepth + depthAdd);
10582
10582
  continue;
10583
10583
  }
10584
- if (c55 === "|") {
10584
+ if (c57 === "|") {
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 (c55 === ")") {
10591
+ if (c57 === ")") {
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 += c55;
10600
+ acc += c57;
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(c55, map2 = adoptionAnyMap) {
10621
- return !!map2.get(this.type)?.includes(c55);
10620
+ #canAdoptType(c57, map2 = adoptionAnyMap) {
10621
+ return !!map2.get(this.type)?.includes(c57);
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(c55) {
10639
+ #canUsurpType(c57) {
10640
10640
  const m = usurpMap.get(this.type);
10641
- return !!m?.has(c55);
10641
+ return !!m?.has(c57);
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 c55 = this.#parts[i];
10855
- if (typeof c55 === "object") {
10856
- c55.#flatten();
10857
- if (this.#canAdopt(c55)) {
10854
+ const c57 = this.#parts[i];
10855
+ if (typeof c57 === "object") {
10856
+ c57.#flatten();
10857
+ if (this.#canAdopt(c57)) {
10858
10858
  done = false;
10859
- this.#adopt(c55, i);
10860
- } else if (this.#canAdoptWithSpace(c55)) {
10859
+ this.#adopt(c57, i);
10860
+ } else if (this.#canAdoptWithSpace(c57)) {
10861
10861
  done = false;
10862
- this.#adoptWithSpace(c55, i);
10863
- } else if (this.#canUsurp(c55)) {
10862
+ this.#adoptWithSpace(c57, i);
10863
+ } else if (this.#canUsurp(c57)) {
10864
10864
  done = false;
10865
- this.#usurp(c55);
10865
+ this.#usurp(c57);
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 c55 = glob.charAt(i);
10889
+ const c57 = glob.charAt(i);
10890
10890
  if (escaping) {
10891
10891
  escaping = false;
10892
- re += (reSpecials.has(c55) ? "\\" : "") + c55;
10892
+ re += (reSpecials.has(c57) ? "\\" : "") + c57;
10893
10893
  continue;
10894
10894
  }
10895
- if (c55 === "*") {
10895
+ if (c57 === "*") {
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 (c55 === "\\") {
10905
+ if (c57 === "\\") {
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 (c55 === "[") {
10913
+ if (c57 === "[") {
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 (c55 === "?") {
10923
+ if (c57 === "?") {
10924
10924
  re += qmark;
10925
10925
  hasMagic = true;
10926
10926
  continue;
10927
10927
  }
10928
- re += regExpEscape(c55);
10928
+ re += regExpEscape(c57);
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 c55 = pool.config.connectionConfig;
14845
+ const c57 = pool.config.connectionConfig;
14846
14846
  let poolName = "";
14847
- poolName += c55.host ? `host: '${c55.host}', ` : "";
14848
- poolName += c55.port ? `port: ${c55.port}, ` : "";
14849
- poolName += c55.database ? `database: '${c55.database}', ` : "";
14850
- poolName += c55.user ? `user: '${c55.user}'` : "";
14851
- if (!c55.user) {
14847
+ poolName += c57.host ? `host: '${c57.host}', ` : "";
14848
+ poolName += c57.port ? `port: ${c57.port}, ` : "";
14849
+ poolName += c57.database ? `database: '${c57.database}', ` : "";
14850
+ poolName += c57.user ? `user: '${c57.user}'` : "";
14851
+ if (!c57.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, (c55) => `%${c55.charCodeAt(0).toString(16).toUpperCase()}`);
15203
+ return encodeURIComponent(str).replace(/[!'()*]/g, (c57) => `%${c57.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(c55) {
23754
- switch (c55) {
23753
+ function isTokenCharCode(c57) {
23754
+ switch (c57) {
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 c55 >= 33 && c55 <= 126;
23774
+ return c57 >= 33 && c57 <= 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((c55) => c55 !== 44);
25363
+ exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c57) => c57 !== 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 c55 = statusText.charCodeAt(i);
26510
- if (!(c55 === 9 || // HTAB
26511
- c55 >= 32 && c55 <= 126 || // SP / VCHAR
26512
- c55 >= 128 && c55 <= 255)) {
26509
+ const c57 = statusText.charCodeAt(i);
26510
+ if (!(c57 === 9 || // HTAB
26511
+ c57 >= 32 && c57 <= 126 || // SP / VCHAR
26512
+ c57 >= 128 && c57 <= 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((c55) => c55.close())).then(pool[kClosedResolve]);
30486
+ Promise.all(pool[kClients].map((c57) => c57.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((c55) => c55.close()));
30535
+ await Promise.all(this[kClients].map((c57) => c57.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((c55) => c55.destroy(err)));
30550
+ await Promise.all(this[kClients].map((c57) => c57.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, c55] = ioQueue;
37321
- if (a === 239 && b === 187 && c55 === 191) {
37320
+ const [a, b, c57] = ioQueue;
37321
+ if (a === 239 && b === 187 && c57 === 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 c55 = getAliasCount(doc, item, anchors2);
41801
- if (c55 > count)
41802
- count = c55;
41800
+ const c57 = getAliasCount(doc, item, anchors2);
41801
+ if (c57 > count)
41802
+ count = c57;
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 c55 = require_kleur();
48818
+ var c57 = 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: c55.red(figures.cross),
48841
- done: c55.green(figures.tick),
48842
- exited: c55.yellow(figures.cross),
48843
- default: c55.cyan("?")
48840
+ aborted: c57.red(figures.cross),
48841
+ done: c57.green(figures.tick),
48842
+ exited: c57.yellow(figures.cross),
48843
+ default: c57.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) => c55.gray(completing ? figures.ellipsis : figures.pointerSmall);
48847
- var item = (expandable, expanded) => c55.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
48846
+ var delimiter = (completing) => c57.gray(completing ? figures.ellipsis : figures.pointerSmall);
48847
+ var item = (expandable, expanded) => c57.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
- _(c55, key) {
49129
+ _(c57, key) {
49130
49130
  let s1 = this.value.slice(0, this.cursor);
49131
49131
  let s2 = this.value.slice(this.cursor);
49132
- this.value = `${s1}${c55}${s2}`;
49132
+ this.value = `${s1}${c57}${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
- _(c55, key) {
49308
- if (c55 === " ") return this.submit();
49307
+ _(c57, key) {
49308
+ if (c57 === " ") 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
- _(c55, key) {
49435
- if (c55 === " ") {
49434
+ _(c57, key) {
49435
+ if (c57 === " ") {
49436
49436
  this.value = !this.value;
49437
- } else if (c55 === "1") {
49437
+ } else if (c57 === "1") {
49438
49438
  this.value = true;
49439
- } else if (c55 === "0") {
49439
+ } else if (c57 === "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
- _(c55) {
49948
- if (/\d/.test(c55)) {
49949
- this.typed += c55;
49947
+ _(c57) {
49948
+ if (/\d/.test(c57)) {
49949
+ this.typed += c57;
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(c55) {
50059
- return c55 === `-` || c55 === `.` && this.float || isNumber.test(c55);
50058
+ valid(c57) {
50059
+ return c57 === `-` || c57 === `.` && this.float || isNumber.test(c57);
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
- _(c55, key) {
50153
- if (!this.valid(c55)) return this.bell();
50152
+ _(c57, key) {
50153
+ if (!this.valid(c57)) return this.bell();
50154
50154
  const now = Date.now();
50155
50155
  if (now - this.lastHit > 1e3) this.typed = ``;
50156
- this.typed += c55;
50156
+ this.typed += c57;
50157
50157
  this.lastHit = now;
50158
50158
  this.color = `cyan`;
50159
- if (c55 === `.`) return this.fire();
50159
+ if (c57 === `.`) 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
- _(c55, key) {
50324
- if (c55 === " ") {
50323
+ _(c57, key) {
50324
+ if (c57 === " ") {
50325
50325
  this.handleSpaceToggle();
50326
- } else if (c55 === "a") {
50326
+ } else if (c57 === "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
- _(c55, key) {
50567
+ _(c57, key) {
50568
50568
  let s1 = this.input.slice(0, this.cursor);
50569
50569
  let s2 = this.input.slice(this.cursor);
50570
- this.input = `${s1}${c55}${s2}`;
50570
+ this.input = `${s1}${c57}${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(c55) {
50771
- this.inputValue = this.inputValue + c55;
50770
+ handleInputChange(c57) {
50771
+ this.inputValue = this.inputValue + c57;
50772
50772
  this.updateFilteredOptions();
50773
50773
  }
50774
- _(c55, key) {
50775
- if (c55 === " ") {
50774
+ _(c57, key) {
50775
+ if (c57 === " ") {
50776
50776
  this.handleSpaceToggle();
50777
50777
  } else {
50778
- this.handleInputChange(c55);
50778
+ this.handleInputChange(c57);
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
- _(c55, key) {
50885
- if (c55.toLowerCase() === "y") {
50884
+ _(c57, key) {
50885
+ if (c57.toLowerCase() === "y") {
50886
50886
  this.value = true;
50887
50887
  return this.submit();
50888
50888
  }
50889
- if (c55.toLowerCase() === "n") {
50889
+ if (c57.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 c55 = require_kleur();
51330
+ var c57 = 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: c55.red(figures.cross),
51341
- done: c55.green(figures.tick),
51342
- exited: c55.yellow(figures.cross),
51343
- default: c55.cyan("?")
51340
+ aborted: c57.red(figures.cross),
51341
+ done: c57.green(figures.tick),
51342
+ exited: c57.yellow(figures.cross),
51343
+ default: c57.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) => c55.gray(completing ? figures.ellipsis : figures.pointerSmall);
51347
- var item = (expandable, expanded) => c55.gray(expandable ? expanded ? figures.pointerSmall : "+" : figures.line);
51346
+ var delimiter = (completing) => c57.gray(completing ? figures.ellipsis : figures.pointerSmall);
51347
+ var item = (expandable, expanded) => c57.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
- _(c55, key) {
51580
+ _(c57, key) {
51581
51581
  let s1 = this.value.slice(0, this.cursor);
51582
51582
  let s2 = this.value.slice(this.cursor);
51583
- this.value = `${s1}${c55}${s2}`;
51583
+ this.value = `${s1}${c57}${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
- _(c55, key) {
51758
- if (c55 === " ") return this.submit();
51757
+ _(c57, key) {
51758
+ if (c57 === " ") 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
- _(c55, key) {
51883
- if (c55 === " ") {
51882
+ _(c57, key) {
51883
+ if (c57 === " ") {
51884
51884
  this.value = !this.value;
51885
- } else if (c55 === "1") {
51885
+ } else if (c57 === "1") {
51886
51886
  this.value = true;
51887
- } else if (c55 === "0") {
51887
+ } else if (c57 === "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
- _(c55) {
52344
- if (/\d/.test(c55)) {
52345
- this.typed += c55;
52343
+ _(c57) {
52344
+ if (/\d/.test(c57)) {
52345
+ this.typed += c57;
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(c55) {
52428
- return c55 === `-` || c55 === `.` && this.float || isNumber.test(c55);
52427
+ valid(c57) {
52428
+ return c57 === `-` || c57 === `.` && this.float || isNumber.test(c57);
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
- _(c55, key) {
52516
- if (!this.valid(c55)) return this.bell();
52515
+ _(c57, key) {
52516
+ if (!this.valid(c57)) return this.bell();
52517
52517
  const now = Date.now();
52518
52518
  if (now - this.lastHit > 1e3) this.typed = ``;
52519
- this.typed += c55;
52519
+ this.typed += c57;
52520
52520
  this.lastHit = now;
52521
52521
  this.color = `cyan`;
52522
- if (c55 === `.`) return this.fire();
52522
+ if (c57 === `.`) 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
- _(c55, key) {
52685
- if (c55 === " ") {
52684
+ _(c57, key) {
52685
+ if (c57 === " ") {
52686
52686
  this.handleSpaceToggle();
52687
- } else if (c55 === "a") {
52687
+ } else if (c57 === "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
- _(c55, key) {
52884
+ _(c57, key) {
52885
52885
  let s1 = this.input.slice(0, this.cursor);
52886
52886
  let s2 = this.input.slice(this.cursor);
52887
- this.input = `${s1}${c55}${s2}`;
52887
+ this.input = `${s1}${c57}${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(c55) {
53091
- this.inputValue = this.inputValue + c55;
53090
+ handleInputChange(c57) {
53091
+ this.inputValue = this.inputValue + c57;
53092
53092
  this.updateFilteredOptions();
53093
53093
  }
53094
- _(c55, key) {
53095
- if (c55 === " ") {
53094
+ _(c57, key) {
53095
+ if (c57 === " ") {
53096
53096
  this.handleSpaceToggle();
53097
53097
  } else {
53098
- this.handleInputChange(c55);
53098
+ this.handleInputChange(c57);
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
- _(c55, key) {
53206
- if (c55.toLowerCase() === "y") {
53205
+ _(c57, key) {
53206
+ if (c57.toLowerCase() === "y") {
53207
53207
  this.value = true;
53208
53208
  return this.submit();
53209
53209
  }
53210
- if (c55.toLowerCase() === "n") {
53210
+ if (c57.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 c55 of classes) {
54265
- out.push(`.${c55}`);
54264
+ for (const c57 of classes) {
54265
+ out.push(`.${c57}`);
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
- (c55) => (
54478
+ (c57) => (
54479
54479
  // eslint-disable-next-line no-bitwise
54480
- (c55 ^ (getRandomByte() & 15) >> c55 / 4).toString(16)
54480
+ (c57 ^ (getRandomByte() & 15) >> c57 / 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(c55, next) {
72042
+ return function(c57, next) {
72043
72043
  if (!instrumentation.isEnabled()) {
72044
- return handler.apply(this, [c55, next]);
72044
+ return handler.apply(this, [c57, next]);
72045
72045
  }
72046
- const path3 = c55.req.path;
72046
+ const path3 = c57.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, [c55, next]);
72051
+ const result = handler.apply(this, [c57, 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.125.2",
73645
+ release: "9.125.6",
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.125.2",
73664
+ version: "9.125.6",
73665
73665
  command: process.argv.slice(2).join(" ")
73666
73666
  });
73667
73667
  setContext("runtime", {
@@ -77046,7 +77046,7 @@ var $ZodBase64 = /* @__PURE__ */ $constructor("$ZodBase64", (inst, def) => {
77046
77046
  function isValidBase64URL(data) {
77047
77047
  if (!base64url.test(data))
77048
77048
  return false;
77049
- const base643 = data.replace(/[-_]/g, (c55) => c55 === "-" ? "+" : "/");
77049
+ const base643 = data.replace(/[-_]/g, (c57) => c57 === "-" ? "+" : "/");
77050
77050
  const padded = base643.padEnd(Math.ceil(base643.length / 4) * 4, "=");
77051
77051
  return isValidBase64(padded);
77052
77052
  }
@@ -87157,9 +87157,9 @@ var ZodDate = /* @__PURE__ */ $constructor("ZodDate", (inst, def) => {
87157
87157
  inst._zod.processJSONSchema = (ctx, json2, params) => dateProcessor(inst, ctx, json2, params);
87158
87158
  inst.min = (value, params) => inst.check(_gte(value, params));
87159
87159
  inst.max = (value, params) => inst.check(_lte(value, params));
87160
- const c55 = inst._zod.bag;
87161
- inst.minDate = c55.minimum ? new Date(c55.minimum) : null;
87162
- inst.maxDate = c55.maximum ? new Date(c55.maximum) : null;
87160
+ const c57 = inst._zod.bag;
87161
+ inst.minDate = c57.minimum ? new Date(c57.minimum) : null;
87162
+ inst.maxDate = c57.maximum ? new Date(c57.maximum) : null;
87163
87163
  });
87164
87164
  function date3(params) {
87165
87165
  return _date(ZodDate, params);
@@ -109431,7 +109431,6 @@ var firewallApiSchema = external_exports.object({
109431
109431
  });
109432
109432
  var firewallSchema = external_exports.object({
109433
109433
  name: external_exports.string(),
109434
- ref: external_exports.string(),
109435
109434
  apis: external_exports.array(firewallApiSchema)
109436
109435
  });
109437
109436
  var firewallsSchema = external_exports.array(firewallSchema);
@@ -109811,10 +109810,8 @@ var createRunResponseSchema = external_exports.object({
109811
109810
  runId: external_exports.string(),
109812
109811
  status: runStatusSchema,
109813
109812
  sandboxId: external_exports.string().optional(),
109814
- // Agent session id — eagerly created at run insertion so the first POST
109815
- // response carries it. Optional for backward compatibility with runs created
109816
- // before the eager-session rollout (Release 2 will tighten to required).
109817
- sessionId: external_exports.string().uuid().optional(),
109813
+ // Agent session id — eagerly created at run insertion, always present.
109814
+ sessionId: external_exports.string().uuid(),
109818
109815
  output: external_exports.string().optional(),
109819
109816
  error: external_exports.string().optional(),
109820
109817
  executionTimeMs: external_exports.number().optional(),
@@ -110037,7 +110034,6 @@ var networkLogEntrySchema = external_exports.object({
110037
110034
  response_size: external_exports.number().optional(),
110038
110035
  firewall_base: external_exports.string().optional(),
110039
110036
  firewall_name: external_exports.string().optional(),
110040
- firewall_ref: external_exports.string().optional(),
110041
110037
  firewall_permission: external_exports.string().optional(),
110042
110038
  firewall_rule_match: external_exports.string().optional(),
110043
110039
  firewall_params: external_exports.record(external_exports.string(), external_exports.string()).optional(),
@@ -111108,14 +111104,19 @@ var VM0_MODEL_TO_PROVIDER = {
111108
111104
  vendor: "anthropic"
111109
111105
  },
111110
111106
  "glm-5.1": {
111111
- concreteType: "zai-api-key",
111112
- vendor: "zai",
111107
+ concreteType: "openrouter-api-key",
111108
+ vendor: "openrouter",
111109
+ apiModel: "z-ai/glm-5.1",
111113
111110
  featureFlag: "vm0GlmModel" /* Vm0GlmModel */
111114
111111
  },
111115
111112
  "claude-haiku-4-5": {
111116
111113
  concreteType: "anthropic-api-key",
111117
111114
  vendor: "anthropic"
111118
111115
  },
111116
+ "kimi-k2.6": {
111117
+ concreteType: "moonshot-api-key",
111118
+ vendor: "moonshot"
111119
+ },
111119
111120
  "kimi-k2.5": {
111120
111121
  concreteType: "moonshot-api-key",
111121
111122
  vendor: "moonshot"
@@ -111181,7 +111182,8 @@ var MODEL_PROVIDER_TYPES = {
111181
111182
  "anthropic/claude-opus-4.6",
111182
111183
  "anthropic/claude-sonnet-4.5",
111183
111184
  "anthropic/claude-opus-4.5",
111184
- "anthropic/claude-haiku-4.5"
111185
+ "anthropic/claude-haiku-4.5",
111186
+ "z-ai/glm-5.1"
111185
111187
  ],
111186
111188
  defaultModel: ""
111187
111189
  },
@@ -111201,11 +111203,12 @@ var MODEL_PROVIDER_TYPES = {
111201
111203
  CLAUDE_CODE_SUBAGENT_MODEL: "$model"
111202
111204
  },
111203
111205
  models: [
111206
+ "kimi-k2.6",
111204
111207
  "kimi-k2.5",
111205
111208
  "kimi-k2-thinking-turbo",
111206
111209
  "kimi-k2-thinking"
111207
111210
  ],
111208
- defaultModel: "kimi-k2.5"
111211
+ defaultModel: "kimi-k2.6"
111209
111212
  },
111210
111213
  "minimax-api-key": {
111211
111214
  framework: "claude-code",
@@ -111288,6 +111291,7 @@ var MODEL_PROVIDER_TYPES = {
111288
111291
  "anthropic/claude-sonnet-4.6",
111289
111292
  "anthropic/claude-sonnet-4.5",
111290
111293
  "anthropic/claude-haiku-4.5",
111294
+ "moonshotai/kimi-k2.6",
111291
111295
  "moonshotai/kimi-k2.5",
111292
111296
  "minimax/minimax-m2.5",
111293
111297
  "zai/glm-5-turbo"
@@ -111423,7 +111427,6 @@ function mpFirewall(type, authHeader, placeholderValue) {
111423
111427
  const headerValue = authHeader.valuePrefix ? `${authHeader.valuePrefix} ${secretRef}` : secretRef;
111424
111428
  return {
111425
111429
  name: `model-provider:${type}`,
111426
- ref: `model-provider:${type}`,
111427
111430
  apis: [
111428
111431
  {
111429
111432
  base: getFirewallBaseUrl(type),
@@ -111691,7 +111694,21 @@ var persistedAttachmentSchema = external_exports.object({
111691
111694
  var chatThreadListItemSchema = external_exports.object({
111692
111695
  id: external_exports.string(),
111693
111696
  title: external_exports.string().nullable(),
111697
+ /**
111698
+ * @deprecated Use `agent.id` instead. Will be removed in #10284 once every
111699
+ * consumer reads `agent.id` and the UnifyChatThreads flag has fully rolled out.
111700
+ * Kept temporarily so existing fixtures still parse during the rollout window.
111701
+ */
111694
111702
  agentId: external_exports.string(),
111703
+ /**
111704
+ * Owning agent snapshot. Always emitted by the server; kept optional on the
111705
+ * schema so older fixtures that predate the unified-list rollout still
111706
+ * validate until they are migrated (tracked in #10284).
111707
+ */
111708
+ agent: external_exports.object({
111709
+ id: external_exports.string(),
111710
+ avatarUrl: external_exports.string().nullable()
111711
+ }).optional(),
111695
111712
  createdAt: external_exports.string(),
111696
111713
  updatedAt: external_exports.string(),
111697
111714
  /**
@@ -111796,13 +111813,14 @@ var chatThreadsContract = c11.router({
111796
111813
  path: "/api/zero/chat-threads",
111797
111814
  headers: authHeadersSchema,
111798
111815
  query: external_exports.object({
111799
- agentId: external_exports.string().min(1, "agentId is required")
111816
+ agentId: external_exports.string().min(1).optional()
111800
111817
  }),
111801
111818
  responses: {
111802
111819
  200: external_exports.object({ threads: external_exports.array(chatThreadListItemSchema) }),
111803
- 401: apiErrorSchema
111820
+ 401: apiErrorSchema,
111821
+ 404: apiErrorSchema
111804
111822
  },
111805
- summary: "List chat threads for an agent"
111823
+ summary: "List chat threads. When agentId is omitted, returns every thread the caller owns scoped by orgId."
111806
111824
  }
111807
111825
  });
111808
111826
  var chatThreadByIdContract = c11.router({
@@ -112611,6 +112629,18 @@ var zeroFeatureSwitchesContract = c16.router({
112611
112629
  500: apiErrorSchema
112612
112630
  },
112613
112631
  summary: "Update user feature switch overrides"
112632
+ },
112633
+ delete: {
112634
+ method: "DELETE",
112635
+ path: "/api/zero/feature-switches",
112636
+ headers: authHeadersSchema,
112637
+ body: c16.noBody(),
112638
+ responses: {
112639
+ 200: external_exports.object({ deleted: external_exports.literal(true) }),
112640
+ 401: apiErrorSchema,
112641
+ 500: apiErrorSchema
112642
+ },
112643
+ summary: "Delete all of the current user's feature switch overrides"
112614
112644
  }
112615
112645
  });
112616
112646
 
@@ -113739,7 +113769,6 @@ var runContextArtifactSchema = external_exports.object({
113739
113769
  });
113740
113770
  var runContextFirewallSchema = external_exports.object({
113741
113771
  name: external_exports.string(),
113742
- ref: external_exports.string(),
113743
113772
  apis: external_exports.array(
113744
113773
  external_exports.object({
113745
113774
  base: external_exports.string(),
@@ -113807,6 +113836,26 @@ var zeroRunNetworkLogsContract = c26.router({
113807
113836
  summary: "Get network logs for a run"
113808
113837
  }
113809
113838
  });
113839
+ var runRunnerResponseSchema = external_exports.object({
113840
+ sandboxReuseResult: sandboxReuseResultSchema.nullable()
113841
+ });
113842
+ var zeroRunRunnerContract = c26.router({
113843
+ getRunner: {
113844
+ method: "GET",
113845
+ path: "/api/zero/runs/:id/runner",
113846
+ headers: authHeadersSchema,
113847
+ pathParams: external_exports.object({
113848
+ id: external_exports.string().min(1, "Run ID is required")
113849
+ }),
113850
+ responses: {
113851
+ 200: runRunnerResponseSchema,
113852
+ 400: apiErrorSchema,
113853
+ 401: apiErrorSchema,
113854
+ 404: apiErrorSchema
113855
+ },
113856
+ summary: "Get runner-level metadata for a run"
113857
+ }
113858
+ });
113810
113859
  var zeroLogsSearchContract = c26.router({
113811
113860
  searchLogs: {
113812
113861
  method: "GET",
@@ -115096,9 +115145,95 @@ var zeroComputerUseHostContract = c45.router({
115096
115145
  }
115097
115146
  });
115098
115147
 
115099
- // ../../packages/core/src/contracts/zero-insights.ts
115148
+ // ../../packages/core/src/contracts/zero-redemption-codes.ts
115100
115149
  init_esm_shims();
115101
115150
  var c46 = initContract();
115151
+ var MAX_CREDITS_PER_CODE = 1e6;
115152
+ var MAX_QUANTITY_PER_MINT = 100;
115153
+ var mintRequestSchema = external_exports.object({
115154
+ creditsPerCode: external_exports.number().int().min(1).max(MAX_CREDITS_PER_CODE),
115155
+ quantity: external_exports.number().int().min(1).max(MAX_QUANTITY_PER_MINT)
115156
+ });
115157
+ var mintResponseSchema = external_exports.object({
115158
+ codes: external_exports.array(
115159
+ external_exports.object({
115160
+ code: external_exports.string(),
115161
+ creditsPerCode: external_exports.number(),
115162
+ expiresAt: external_exports.string()
115163
+ })
115164
+ )
115165
+ });
115166
+ var zeroRedemptionCodesMintContract = c46.router({
115167
+ mint: {
115168
+ method: "POST",
115169
+ path: "/api/zero/redemption-codes",
115170
+ headers: authHeadersSchema,
115171
+ body: mintRequestSchema,
115172
+ responses: {
115173
+ 200: mintResponseSchema,
115174
+ 400: apiErrorSchema,
115175
+ 401: apiErrorSchema,
115176
+ 403: apiErrorSchema,
115177
+ 500: apiErrorSchema
115178
+ },
115179
+ summary: "Mint new redemption codes (staff-only)"
115180
+ }
115181
+ });
115182
+ var listResponseSchema = external_exports.object({
115183
+ codes: external_exports.array(
115184
+ external_exports.object({
115185
+ code: external_exports.string(),
115186
+ creditsPerCode: external_exports.number(),
115187
+ createdAt: external_exports.string(),
115188
+ createdByUserId: external_exports.string(),
115189
+ expiresAt: external_exports.string(),
115190
+ redeemedAt: external_exports.string().nullable(),
115191
+ redeemedByUserId: external_exports.string().nullable(),
115192
+ redeemedByOrgId: external_exports.string().nullable()
115193
+ })
115194
+ )
115195
+ });
115196
+ var zeroRedemptionCodesListContract = c46.router({
115197
+ list: {
115198
+ method: "GET",
115199
+ path: "/api/zero/redemption-codes",
115200
+ headers: authHeadersSchema,
115201
+ responses: {
115202
+ 200: listResponseSchema,
115203
+ 401: apiErrorSchema,
115204
+ 403: apiErrorSchema,
115205
+ 500: apiErrorSchema
115206
+ },
115207
+ summary: "List minted redemption codes with redemption status (staff-only)"
115208
+ }
115209
+ });
115210
+ var redeemRequestSchema = external_exports.object({
115211
+ code: external_exports.string().min(1).max(32)
115212
+ });
115213
+ var redeemResponseSchema = external_exports.object({
115214
+ credits: external_exports.number(),
115215
+ newBalance: external_exports.number()
115216
+ });
115217
+ var zeroRedemptionCodesRedeemContract = c46.router({
115218
+ redeem: {
115219
+ method: "POST",
115220
+ path: "/api/zero/redemption-codes/redeem",
115221
+ headers: authHeadersSchema,
115222
+ body: redeemRequestSchema,
115223
+ responses: {
115224
+ 200: redeemResponseSchema,
115225
+ 400: apiErrorSchema,
115226
+ 401: apiErrorSchema,
115227
+ 429: apiErrorSchema,
115228
+ 500: apiErrorSchema
115229
+ },
115230
+ summary: "Redeem a code for credits"
115231
+ }
115232
+ });
115233
+
115234
+ // ../../packages/core/src/contracts/zero-insights.ts
115235
+ init_esm_shims();
115236
+ var c47 = initContract();
115102
115237
  var insightAgentSchema = external_exports.object({
115103
115238
  agentName: external_exports.string(),
115104
115239
  agentId: external_exports.string().nullable(),
@@ -115148,7 +115283,7 @@ var insightsRangeResponseSchema = external_exports.object({
115148
115283
  maxDate: external_exports.string().nullable(),
115149
115284
  totalDays: external_exports.number()
115150
115285
  });
115151
- var zeroInsightsContract = c46.router({
115286
+ var zeroInsightsContract = c47.router({
115152
115287
  get: {
115153
115288
  method: "GET",
115154
115289
  path: "/api/zero/insights",
@@ -115163,7 +115298,7 @@ var zeroInsightsContract = c46.router({
115163
115298
  summary: "Get daily insights for the authenticated org"
115164
115299
  }
115165
115300
  });
115166
- var zeroInsightsRangeContract = c46.router({
115301
+ var zeroInsightsRangeContract = c47.router({
115167
115302
  get: {
115168
115303
  method: "GET",
115169
115304
  path: "/api/zero/insights/range",
@@ -115178,8 +115313,8 @@ var zeroInsightsRangeContract = c46.router({
115178
115313
 
115179
115314
  // ../../packages/core/src/contracts/push-subscriptions.ts
115180
115315
  init_esm_shims();
115181
- var c47 = initContract();
115182
- var pushSubscriptionsContract = c47.router({
115316
+ var c48 = initContract();
115317
+ var pushSubscriptionsContract = c48.router({
115183
115318
  register: {
115184
115319
  method: "POST",
115185
115320
  path: "/api/zero/push-subscriptions",
@@ -115203,7 +115338,7 @@ var pushSubscriptionsContract = c47.router({
115203
115338
 
115204
115339
  // ../../packages/core/src/contracts/zero-voice-chat-context.ts
115205
115340
  init_esm_shims();
115206
- var c48 = initContract();
115341
+ var c49 = initContract();
115207
115342
  var contextEventSchema = external_exports.object({
115208
115343
  id: external_exports.string(),
115209
115344
  seq: external_exports.number(),
@@ -115220,7 +115355,7 @@ var appendContextEventBodySchema = external_exports.object({
115220
115355
  type: external_exports.string(),
115221
115356
  content: external_exports.string().optional()
115222
115357
  });
115223
- var zeroVoiceChatContextContract = c48.router({
115358
+ var zeroVoiceChatContextContract = c49.router({
115224
115359
  getEvents: {
115225
115360
  method: "GET",
115226
115361
  path: "/api/zero/voice-chat/:id/context",
@@ -115251,7 +115386,7 @@ var zeroVoiceChatContextContract = c48.router({
115251
115386
 
115252
115387
  // ../../packages/core/src/contracts/zero-voice-chat-sessions.ts
115253
115388
  init_esm_shims();
115254
- var c49 = initContract();
115389
+ var c50 = initContract();
115255
115390
  var voiceChatModeSchema = external_exports.enum(["chat", "meeting"]);
115256
115391
  var voiceChatSessionBaseSchema = external_exports.object({
115257
115392
  id: external_exports.string(),
@@ -115278,7 +115413,7 @@ var voiceChatTokenResponseSchema = external_exports.object({
115278
115413
  })
115279
115414
  });
115280
115415
  var okResponseSchema = external_exports.object({ ok: external_exports.literal(true) });
115281
- var zeroVoiceChatSessionsContract = c49.router({
115416
+ var zeroVoiceChatSessionsContract = c50.router({
115282
115417
  create: {
115283
115418
  method: "POST",
115284
115419
  path: "/api/zero/voice-chat",
@@ -115349,7 +115484,7 @@ var zeroVoiceChatSessionsContract = c49.router({
115349
115484
 
115350
115485
  // ../../packages/core/src/contracts/zero-voice-chat-prepare.ts
115351
115486
  init_esm_shims();
115352
- var c50 = initContract();
115487
+ var c51 = initContract();
115353
115488
  var prepareTriggerBodySchema = external_exports.object({
115354
115489
  agentId: external_exports.string().min(1),
115355
115490
  mode: external_exports.enum(["chat", "meeting"]).default("chat"),
@@ -115362,7 +115497,7 @@ var prepareTriggerResponseSchema = external_exports.object({
115362
115497
  runId: external_exports.string().optional()
115363
115498
  })
115364
115499
  });
115365
- var zeroVoiceChatPrepareTriggerContract = c50.router({
115500
+ var zeroVoiceChatPrepareTriggerContract = c51.router({
115366
115501
  trigger: {
115367
115502
  method: "POST",
115368
115503
  path: "/api/zero/voice-chat/prepare",
@@ -115384,7 +115519,7 @@ var prepareCompleteResponseSchema = external_exports.object({
115384
115519
  id: external_exports.string(),
115385
115520
  status: external_exports.enum(["preparing", "ready", "failed"])
115386
115521
  });
115387
- var zeroVoiceChatPrepareCompleteContract = c50.router({
115522
+ var zeroVoiceChatPrepareCompleteContract = c51.router({
115388
115523
  complete: {
115389
115524
  method: "POST",
115390
115525
  path: "/api/zero/voice-chat/prepare/complete",
@@ -115410,7 +115545,7 @@ var prepareListResponseSchema = external_exports.object({
115410
115545
  })
115411
115546
  )
115412
115547
  });
115413
- var zeroVoiceChatPrepareListContract = c50.router({
115548
+ var zeroVoiceChatPrepareListContract = c51.router({
115414
115549
  list: {
115415
115550
  method: "GET",
115416
115551
  path: "/api/zero/voice-chat/prepare/list",
@@ -115426,13 +115561,13 @@ var zeroVoiceChatPrepareListContract = c50.router({
115426
115561
 
115427
115562
  // ../../packages/core/src/contracts/zero-voice-io-quota.ts
115428
115563
  init_esm_shims();
115429
- var c51 = initContract();
115564
+ var c52 = initContract();
115430
115565
  var audioInputQuotaResponseSchema = external_exports.object({
115431
115566
  allowed: external_exports.boolean(),
115432
115567
  count: external_exports.number().int().nonnegative(),
115433
115568
  limit: external_exports.number().int().positive().nullable()
115434
115569
  });
115435
- var zeroVoiceIoQuotaContract = c51.router({
115570
+ var zeroVoiceIoQuotaContract = c52.router({
115436
115571
  get: {
115437
115572
  method: "GET",
115438
115573
  path: "/api/zero/voice-io/quota",
@@ -115446,9 +115581,198 @@ var zeroVoiceIoQuotaContract = c51.router({
115446
115581
  }
115447
115582
  });
115448
115583
 
115584
+ // ../../packages/core/src/contracts/zero-voice-chat-candidate.ts
115585
+ init_esm_shims();
115586
+ var c53 = initContract();
115587
+ var voiceChatCandidateSessionStatusSchema = external_exports.enum([
115588
+ "active",
115589
+ "ended",
115590
+ "timeout"
115591
+ ]);
115592
+ var voiceChatCandidateItemRoleSchema = external_exports.enum([
115593
+ "user",
115594
+ "assistant",
115595
+ "task_result",
115596
+ "system_note"
115597
+ ]);
115598
+ var voiceChatCandidateTaskStatusSchema = external_exports.enum([
115599
+ "pending",
115600
+ "queued",
115601
+ "running",
115602
+ "done",
115603
+ "failed"
115604
+ ]);
115605
+ var voiceChatCandidateReasoningStatusSchema = external_exports.enum([
115606
+ "idle",
115607
+ "running"
115608
+ ]);
115609
+ var voiceChatCandidateSessionSchema = external_exports.object({
115610
+ id: external_exports.uuid(),
115611
+ orgId: external_exports.string(),
115612
+ userId: external_exports.string(),
115613
+ agentId: external_exports.uuid().nullable(),
115614
+ mode: external_exports.literal("chat"),
115615
+ status: voiceChatCandidateSessionStatusSchema,
115616
+ context: external_exports.string().nullable(),
115617
+ contextSeq: external_exports.number().int(),
115618
+ contextVersion: external_exports.number().int(),
115619
+ createdAt: external_exports.string(),
115620
+ lastHeartbeatAt: external_exports.string(),
115621
+ endedAt: external_exports.string().nullable()
115622
+ });
115623
+ var voiceChatCandidateItemSchema = external_exports.object({
115624
+ id: external_exports.uuid(),
115625
+ sessionId: external_exports.uuid(),
115626
+ seq: external_exports.number().int(),
115627
+ role: voiceChatCandidateItemRoleSchema,
115628
+ content: external_exports.string().nullable(),
115629
+ taskId: external_exports.uuid().nullable(),
115630
+ realtimeItemId: external_exports.string().nullable(),
115631
+ createdAt: external_exports.string()
115632
+ });
115633
+ var voiceChatCandidateTaskSchema = external_exports.object({
115634
+ id: external_exports.uuid(),
115635
+ sessionId: external_exports.uuid(),
115636
+ runId: external_exports.uuid().nullable(),
115637
+ callId: external_exports.string(),
115638
+ prompt: external_exports.string(),
115639
+ status: voiceChatCandidateTaskStatusSchema,
115640
+ result: external_exports.string().nullable(),
115641
+ error: external_exports.string().nullable(),
115642
+ createdAt: external_exports.string(),
115643
+ startedAt: external_exports.string().nullable(),
115644
+ finishedAt: external_exports.string().nullable()
115645
+ });
115646
+ var tokenResponseSchema = external_exports.object({
115647
+ client_secret: external_exports.object({
115648
+ value: external_exports.string(),
115649
+ expires_at: external_exports.number()
115650
+ })
115651
+ });
115652
+ var createSessionBodySchema = external_exports.object({ agentId: external_exports.uuid() });
115653
+ var appendItemBodySchema = external_exports.object({
115654
+ role: voiceChatCandidateItemRoleSchema,
115655
+ content: external_exports.string(),
115656
+ realtimeItemId: external_exports.string().min(1)
115657
+ });
115658
+ var createTaskBodySchema = external_exports.object({
115659
+ prompt: external_exports.string().min(1),
115660
+ callId: external_exports.string().min(1)
115661
+ });
115662
+ var tokenBodySchema = external_exports.object({ model: external_exports.string().optional() });
115663
+ var okResponseSchema2 = external_exports.object({ ok: external_exports.literal(true) });
115664
+ var zeroVoiceChatCandidateContract = c53.router({
115665
+ createSession: {
115666
+ method: "POST",
115667
+ path: "/api/zero/voice-chat-candidate",
115668
+ headers: authHeadersSchema,
115669
+ body: createSessionBodySchema,
115670
+ responses: {
115671
+ 200: external_exports.object({ session: voiceChatCandidateSessionSchema }),
115672
+ 400: apiErrorSchema,
115673
+ 401: apiErrorSchema,
115674
+ 403: apiErrorSchema
115675
+ },
115676
+ summary: "Create a new voice-chat-candidate session"
115677
+ },
115678
+ getSession: {
115679
+ method: "GET",
115680
+ path: "/api/zero/voice-chat-candidate/:id",
115681
+ headers: authHeadersSchema,
115682
+ pathParams: external_exports.object({ id: external_exports.uuid() }),
115683
+ responses: {
115684
+ 200: external_exports.object({ session: voiceChatCandidateSessionSchema }),
115685
+ 401: apiErrorSchema,
115686
+ 404: apiErrorSchema
115687
+ },
115688
+ summary: "Get a voice-chat-candidate session (including context)"
115689
+ },
115690
+ endSession: {
115691
+ method: "POST",
115692
+ path: "/api/zero/voice-chat-candidate/:id/end",
115693
+ headers: authHeadersSchema,
115694
+ pathParams: external_exports.object({ id: external_exports.uuid() }),
115695
+ body: external_exports.object({}),
115696
+ responses: {
115697
+ 200: okResponseSchema2,
115698
+ 401: apiErrorSchema,
115699
+ 404: apiErrorSchema
115700
+ },
115701
+ summary: "End a voice-chat-candidate session"
115702
+ },
115703
+ heartbeat: {
115704
+ method: "POST",
115705
+ path: "/api/zero/voice-chat-candidate/:id/heartbeat",
115706
+ headers: authHeadersSchema,
115707
+ pathParams: external_exports.object({ id: external_exports.uuid() }),
115708
+ body: external_exports.object({}),
115709
+ responses: {
115710
+ 200: okResponseSchema2,
115711
+ 401: apiErrorSchema,
115712
+ 404: apiErrorSchema
115713
+ },
115714
+ summary: "Keep a voice-chat-candidate session alive"
115715
+ },
115716
+ appendItem: {
115717
+ method: "POST",
115718
+ path: "/api/zero/voice-chat-candidate/:id/items",
115719
+ headers: authHeadersSchema,
115720
+ pathParams: external_exports.object({ id: external_exports.uuid() }),
115721
+ body: appendItemBodySchema,
115722
+ responses: {
115723
+ 200: external_exports.object({ item: voiceChatCandidateItemSchema }),
115724
+ 400: apiErrorSchema,
115725
+ 401: apiErrorSchema,
115726
+ 404: apiErrorSchema
115727
+ },
115728
+ summary: "Append a conversation item to a voice-chat-candidate session"
115729
+ },
115730
+ readItems: {
115731
+ method: "GET",
115732
+ path: "/api/zero/voice-chat-candidate/:id/items",
115733
+ headers: authHeadersSchema,
115734
+ pathParams: external_exports.object({ id: external_exports.uuid() }),
115735
+ query: external_exports.object({ after: external_exports.coerce.number().int().optional() }),
115736
+ responses: {
115737
+ 200: external_exports.object({ items: external_exports.array(voiceChatCandidateItemSchema) }),
115738
+ 401: apiErrorSchema,
115739
+ 404: apiErrorSchema
115740
+ },
115741
+ summary: "Read conversation items from a voice-chat-candidate session"
115742
+ },
115743
+ createTask: {
115744
+ method: "POST",
115745
+ path: "/api/zero/voice-chat-candidate/:id/tasks",
115746
+ headers: authHeadersSchema,
115747
+ pathParams: external_exports.object({ id: external_exports.uuid() }),
115748
+ body: createTaskBodySchema,
115749
+ responses: {
115750
+ 200: external_exports.object({ task: voiceChatCandidateTaskSchema }),
115751
+ 400: apiErrorSchema,
115752
+ 401: apiErrorSchema,
115753
+ 404: apiErrorSchema
115754
+ },
115755
+ summary: "Create a task from the Talker's createTask tool call"
115756
+ },
115757
+ token: {
115758
+ method: "POST",
115759
+ path: "/api/zero/voice-chat-candidate/token",
115760
+ headers: authHeadersSchema,
115761
+ body: tokenBodySchema,
115762
+ responses: {
115763
+ 200: tokenResponseSchema,
115764
+ 401: apiErrorSchema,
115765
+ 403: apiErrorSchema,
115766
+ 500: apiErrorSchema,
115767
+ 503: apiErrorSchema
115768
+ },
115769
+ summary: "Mint an ephemeral OpenAI realtime token for voice-chat-candidate"
115770
+ }
115771
+ });
115772
+
115449
115773
  // ../../packages/core/src/contracts/tasks.ts
115450
115774
  init_esm_shims();
115451
- var c52 = initContract();
115775
+ var c54 = initContract();
115452
115776
  var taskTypeSchema = external_exports.enum([
115453
115777
  "chat",
115454
115778
  "schedule",
@@ -115489,7 +115813,7 @@ var unarchiveTaskBodySchema = external_exports.object({
115489
115813
  taskId: external_exports.string(),
115490
115814
  taskType: taskTypeSchema
115491
115815
  });
115492
- var tasksContract = c52.router({
115816
+ var tasksContract = c54.router({
115493
115817
  list: {
115494
115818
  method: "GET",
115495
115819
  path: "/api/zero/tasks",
@@ -115529,7 +115853,7 @@ var tasksContract = c52.router({
115529
115853
 
115530
115854
  // ../../packages/core/src/contracts/zero-phone.ts
115531
115855
  init_esm_shims();
115532
- var c53 = initContract();
115856
+ var c55 = initContract();
115533
115857
  var phoneStatusResponseSchema = external_exports.object({
115534
115858
  userPhone: external_exports.string().nullable(),
115535
115859
  userPhonePending: external_exports.string().nullable(),
@@ -115548,7 +115872,7 @@ var phoneSetupResponseSchema = external_exports.object({
115548
115872
  var phoneErrorResponseSchema = external_exports.object({
115549
115873
  error: external_exports.string()
115550
115874
  });
115551
- var zeroPhoneStatusContract = c53.router({
115875
+ var zeroPhoneStatusContract = c55.router({
115552
115876
  getStatus: {
115553
115877
  method: "GET",
115554
115878
  path: "/api/zero/phone/status",
@@ -115560,7 +115884,7 @@ var zeroPhoneStatusContract = c53.router({
115560
115884
  summary: "Get the current user's phone link status"
115561
115885
  }
115562
115886
  });
115563
- var zeroPhoneLinkContract = c53.router({
115887
+ var zeroPhoneLinkContract = c55.router({
115564
115888
  link: {
115565
115889
  method: "POST",
115566
115890
  path: "/api/zero/phone/link",
@@ -115578,7 +115902,7 @@ var zeroPhoneLinkContract = c53.router({
115578
115902
  method: "DELETE",
115579
115903
  path: "/api/zero/phone/link",
115580
115904
  headers: authHeadersSchema,
115581
- body: c53.noBody(),
115905
+ body: c55.noBody(),
115582
115906
  responses: {
115583
115907
  200: phoneSuccessResponseSchema,
115584
115908
  401: phoneErrorResponseSchema
@@ -115586,12 +115910,12 @@ var zeroPhoneLinkContract = c53.router({
115586
115910
  summary: "Remove the current user's phone link"
115587
115911
  }
115588
115912
  });
115589
- var zeroPhoneSetupContract = c53.router({
115913
+ var zeroPhoneSetupContract = c55.router({
115590
115914
  setup: {
115591
115915
  method: "POST",
115592
115916
  path: "/api/zero/phone/setup",
115593
115917
  headers: authHeadersSchema,
115594
- body: c53.noBody(),
115918
+ body: c55.noBody(),
115595
115919
  responses: {
115596
115920
  200: phoneSetupResponseSchema,
115597
115921
  401: phoneErrorResponseSchema,
@@ -115604,7 +115928,7 @@ var zeroPhoneSetupContract = c53.router({
115604
115928
 
115605
115929
  // ../../packages/core/src/contracts/zero-integrations-telegram.ts
115606
115930
  init_esm_shims();
115607
- var c54 = initContract();
115931
+ var c56 = initContract();
115608
115932
  var telegramEnvironmentSchema = external_exports.object({
115609
115933
  requiredSecrets: external_exports.array(external_exports.string()),
115610
115934
  requiredVars: external_exports.array(external_exports.string()),
@@ -115641,7 +115965,7 @@ var telegramRegisterResponseSchema = external_exports.object({
115641
115965
  webhookUrl: external_exports.string(),
115642
115966
  domainConfigured: external_exports.boolean()
115643
115967
  });
115644
- var zeroIntegrationsTelegramContract = c54.router({
115968
+ var zeroIntegrationsTelegramContract = c56.router({
115645
115969
  getStatus: {
115646
115970
  method: "GET",
115647
115971
  path: "/api/integrations/telegram",
@@ -115671,9 +115995,9 @@ var zeroIntegrationsTelegramContract = c54.router({
115671
115995
  method: "DELETE",
115672
115996
  path: "/api/integrations/telegram",
115673
115997
  headers: authHeadersSchema,
115674
- body: c54.noBody(),
115998
+ body: c56.noBody(),
115675
115999
  responses: {
115676
- 204: c54.noBody(),
116000
+ 204: c56.noBody(),
115677
116001
  401: apiErrorSchema,
115678
116002
  404: apiErrorSchema
115679
116003
  },
@@ -115759,6 +116083,9 @@ function getInstructionsFilename(framework) {
115759
116083
 
115760
116084
  // ../../packages/core/src/feature-switch.ts
115761
116085
  init_esm_shims();
116086
+
116087
+ // ../../packages/core/src/identity-hash.ts
116088
+ init_esm_shims();
115762
116089
  function fnv1a(input) {
115763
116090
  let h = 2166136261 >>> 0;
115764
116091
  for (let i = 0; i < input.length; i++) {
@@ -115771,6 +116098,8 @@ var STAFF_ORG_ID_HASHES = [
115771
116098
  "afce210e"
115772
116099
  // org_3ANttyrbWYJk6JKRSTRLEsbsDLe
115773
116100
  ];
116101
+
116102
+ // ../../packages/core/src/feature-switch.ts
115774
116103
  var FEATURE_SWITCHES = {
115775
116104
  ["dummy" /* Dummy */]: {
115776
116105
  maintainer: "ethan@vm0.ai",
@@ -116041,6 +116370,17 @@ var FEATURE_SWITCHES = {
116041
116370
  description: "Show the Nano Banana (Google Gemini image generation) platform-managed connector",
116042
116371
  enabled: false,
116043
116372
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES
116373
+ },
116374
+ ["unifyChatThreads" /* UnifyChatThreads */]: {
116375
+ maintainer: "ethan@vm0.ai",
116376
+ description: "Replace the per-agent chat list with a unified Chats view that includes threads from every agent in the user's org (sub-agents included). Gates the sidebar + /chats title/placeholder/aria-label swaps, the per-row agent avatar render, and the unscoped request shape. New-chat creation still uses the current-agent fallback.",
116377
+ enabled: false
116378
+ },
116379
+ ["redemptionCodes" /* RedemptionCodes */]: {
116380
+ maintainer: "yuma@vm0.ai",
116381
+ description: "Show the internal /_/redemption-codes page (mint + redeem UI). UI-visibility gate only \u2014 the mint endpoint is independently protected by a STAFF_ORG_ID_HASHES identity check on the server, so this flag does NOT authorize minting.",
116382
+ enabled: false,
116383
+ enabledOrgIdHashes: STAFF_ORG_ID_HASHES
116044
116384
  }
116045
116385
  };
116046
116386
  function isFeatureEnabled(key, ctx) {
@@ -116067,6 +116407,9 @@ function isFeatureEnabled(key, ctx) {
116067
116407
  return false;
116068
116408
  }
116069
116409
 
116410
+ // ../../packages/core/src/staff-org.ts
116411
+ init_esm_shims();
116412
+
116070
116413
  // ../../packages/core/src/skill-frontmatter.ts
116071
116414
  init_esm_shims();
116072
116415
  var import_yaml2 = __toESM(require_dist(), 1);
@@ -116098,9 +116441,11 @@ var MODEL_DISPLAY_NAMES = Object.freeze({
116098
116441
  "MiniMax-M2.1": "MiniMax M2.1",
116099
116442
  "minimax/minimax-m2.5": "MiniMax M2.5",
116100
116443
  // Kimi / Moonshot
116444
+ "kimi-k2.6": "Kimi K2.6",
116101
116445
  "kimi-k2.5": "Kimi K2.5",
116102
116446
  "kimi-k2-thinking": "Kimi K2 Thinking",
116103
116447
  "kimi-k2-thinking-turbo": "Kimi K2 Thinking Turbo",
116448
+ "moonshotai/kimi-k2.6": "Kimi K2.6",
116104
116449
  "moonshotai/kimi-k2.5": "Kimi K2.5",
116105
116450
  // GLM / ZhipuAI
116106
116451
  "glm-5.1": "GLM-5.1",
@@ -118632,4 +118977,4 @@ undici/lib/web/fetch/body.js:
118632
118977
  undici/lib/web/websocket/frame.js:
118633
118978
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
118634
118979
  */
118635
- //# sourceMappingURL=chunk-IDHPMIOP.js.map
118980
+ //# sourceMappingURL=chunk-HJA75SSL.js.map