@lazehq/cli 0.1.141 → 0.1.142

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.
Files changed (2) hide show
  1. package/dist/laze.mjs +379 -231
  2. package/package.json +1 -1
package/dist/laze.mjs CHANGED
@@ -21645,12 +21645,12 @@ var require_date = __commonJS({
21645
21645
  return parseRfc850Date(date5);
21646
21646
  }
21647
21647
  }
21648
- function makeDate(year, monthIdx, day2, hour, minute, second, weekday) {
21649
- const result2 = new Date(Date.UTC(year, monthIdx, day2, hour, minute, second));
21648
+ function makeDate(year, monthIdx, day3, hour, minute, second, weekday) {
21649
+ const result2 = new Date(Date.UTC(year, monthIdx, day3, hour, minute, second));
21650
21650
  if (year >= 0 && year <= 99) {
21651
21651
  result2.setUTCFullYear(year);
21652
21652
  }
21653
- return result2.getUTCFullYear() === year && result2.getUTCMonth() === monthIdx && result2.getUTCDate() === day2 && result2.getUTCHours() === hour && result2.getUTCMinutes() === minute && result2.getUTCSeconds() === second && result2.getUTCDay() === weekday ? result2 : void 0;
21653
+ return result2.getUTCFullYear() === year && result2.getUTCMonth() === monthIdx && result2.getUTCDate() === day3 && result2.getUTCHours() === hour && result2.getUTCMinutes() === minute && result2.getUTCSeconds() === second && result2.getUTCDay() === weekday ? result2 : void 0;
21654
21654
  }
21655
21655
  function parseImfDate(date5) {
21656
21656
  if (date5.length !== 29 || date5[4] !== " " || date5[7] !== " " || date5[11] !== " " || date5[16] !== " " || date5[19] !== ":" || date5[22] !== ":" || date5[25] !== " " || date5[26] !== "G" || date5[27] !== "M" || date5[28] !== "T") {
@@ -21674,13 +21674,13 @@ var require_date = __commonJS({
21674
21674
  } else {
21675
21675
  return void 0;
21676
21676
  }
21677
- let day2 = 0;
21677
+ let day3 = 0;
21678
21678
  if (date5[5] === "0") {
21679
21679
  const code4 = date5.charCodeAt(6);
21680
21680
  if (code4 < 49 || code4 > 57) {
21681
21681
  return void 0;
21682
21682
  }
21683
- day2 = code4 - 48;
21683
+ day3 = code4 - 48;
21684
21684
  } else {
21685
21685
  const code1 = date5.charCodeAt(5);
21686
21686
  if (code1 < 49 || code1 > 51) {
@@ -21690,7 +21690,7 @@ var require_date = __commonJS({
21690
21690
  if (code22 < 48 || code22 > 57) {
21691
21691
  return void 0;
21692
21692
  }
21693
- day2 = (code1 - 48) * 10 + (code22 - 48);
21693
+ day3 = (code1 - 48) * 10 + (code22 - 48);
21694
21694
  }
21695
21695
  let monthIdx = -1;
21696
21696
  if (date5[8] === "J" && date5[9] === "a" && date5[10] === "n") {
@@ -21812,7 +21812,7 @@ var require_date = __commonJS({
21812
21812
  }
21813
21813
  second = (code1 - 48) * 10 + (code22 - 48);
21814
21814
  }
21815
- return makeDate(year, monthIdx, day2, hour, minute, second, weekday);
21815
+ return makeDate(year, monthIdx, day3, hour, minute, second, weekday);
21816
21816
  }
21817
21817
  function parseAscTimeDate(date5) {
21818
21818
  if (date5.length !== 24 || date5[7] !== " " || date5[10] !== " " || date5[19] !== " ") {
@@ -21882,13 +21882,13 @@ var require_date = __commonJS({
21882
21882
  } else {
21883
21883
  return void 0;
21884
21884
  }
21885
- let day2 = 0;
21885
+ let day3 = 0;
21886
21886
  if (date5[8] === " ") {
21887
21887
  const code4 = date5.charCodeAt(9);
21888
21888
  if (code4 < 49 || code4 > 57) {
21889
21889
  return void 0;
21890
21890
  }
21891
- day2 = code4 - 48;
21891
+ day3 = code4 - 48;
21892
21892
  } else {
21893
21893
  const code1 = date5.charCodeAt(8);
21894
21894
  if (code1 < 49 || code1 > 51) {
@@ -21898,7 +21898,7 @@ var require_date = __commonJS({
21898
21898
  if (code22 < 48 || code22 > 57) {
21899
21899
  return void 0;
21900
21900
  }
21901
- day2 = (code1 - 48) * 10 + (code22 - 48);
21901
+ day3 = (code1 - 48) * 10 + (code22 - 48);
21902
21902
  }
21903
21903
  let hour = 0;
21904
21904
  if (date5[11] === "0") {
@@ -21974,7 +21974,7 @@ var require_date = __commonJS({
21974
21974
  return void 0;
21975
21975
  }
21976
21976
  const year = (yearDigit1 - 48) * 1e3 + (yearDigit2 - 48) * 100 + (yearDigit3 - 48) * 10 + (yearDigit4 - 48);
21977
- return makeDate(year, monthIdx, day2, hour, minute, second, weekday);
21977
+ return makeDate(year, monthIdx, day3, hour, minute, second, weekday);
21978
21978
  }
21979
21979
  function parseRfc850Date(date5) {
21980
21980
  let commaIndex = -1;
@@ -22010,13 +22010,13 @@ var require_date = __commonJS({
22010
22010
  if (date5[commaIndex] !== "," || date5.length - commaIndex - 1 !== 23 || date5[commaIndex + 1] !== " " || date5[commaIndex + 4] !== "-" || date5[commaIndex + 8] !== "-" || date5[commaIndex + 11] !== " " || date5[commaIndex + 14] !== ":" || date5[commaIndex + 17] !== ":" || date5[commaIndex + 20] !== " " || date5[commaIndex + 21] !== "G" || date5[commaIndex + 22] !== "M" || date5[commaIndex + 23] !== "T") {
22011
22011
  return void 0;
22012
22012
  }
22013
- let day2 = 0;
22013
+ let day3 = 0;
22014
22014
  if (date5[commaIndex + 2] === "0") {
22015
22015
  const code4 = date5.charCodeAt(commaIndex + 3);
22016
22016
  if (code4 < 49 || code4 > 57) {
22017
22017
  return void 0;
22018
22018
  }
22019
- day2 = code4 - 48;
22019
+ day3 = code4 - 48;
22020
22020
  } else {
22021
22021
  const code1 = date5.charCodeAt(commaIndex + 2);
22022
22022
  if (code1 < 49 || code1 > 51) {
@@ -22026,7 +22026,7 @@ var require_date = __commonJS({
22026
22026
  if (code22 < 48 || code22 > 57) {
22027
22027
  return void 0;
22028
22028
  }
22029
- day2 = (code1 - 48) * 10 + (code22 - 48);
22029
+ day3 = (code1 - 48) * 10 + (code22 - 48);
22030
22030
  }
22031
22031
  let monthIdx = -1;
22032
22032
  if (date5[commaIndex + 5] === "J" && date5[commaIndex + 6] === "a" && date5[commaIndex + 7] === "n") {
@@ -22123,7 +22123,7 @@ var require_date = __commonJS({
22123
22123
  }
22124
22124
  second = (code1 - 48) * 10 + (code22 - 48);
22125
22125
  }
22126
- return makeDate(year, monthIdx, day2, hour, minute, second, weekday);
22126
+ return makeDate(year, monthIdx, day3, hour, minute, second, weekday);
22127
22127
  }
22128
22128
  module.exports = {
22129
22129
  parseHttpDate
@@ -31077,15 +31077,15 @@ ${value}`;
31077
31077
  pos = 0;
31078
31078
  }
31079
31079
  }
31080
- discardLeadingBytes(count18) {
31081
- while (count18 > 0 && this.lineChunkIndex < this.chunks.length) {
31080
+ discardLeadingBytes(count19) {
31081
+ while (count19 > 0 && this.lineChunkIndex < this.chunks.length) {
31082
31082
  const chunk = this.chunks[this.lineChunkIndex];
31083
31083
  const remaining = chunk.length - this.linePos;
31084
- if (count18 < remaining) {
31085
- this.linePos += count18;
31086
- count18 = 0;
31084
+ if (count19 < remaining) {
31085
+ this.linePos += count19;
31086
+ count19 = 0;
31087
31087
  } else {
31088
- count18 -= remaining;
31088
+ count19 -= remaining;
31089
31089
  this.lineChunkIndex++;
31090
31090
  this.linePos = 0;
31091
31091
  }
@@ -31834,8 +31834,8 @@ function shannonEntropyBits(value) {
31834
31834
  const counts = /* @__PURE__ */ new Map();
31835
31835
  for (const char of sample) counts.set(char, (counts.get(char) ?? 0) + 1);
31836
31836
  let entropy = 0;
31837
- for (const count18 of counts.values()) {
31838
- const p = count18 / sample.length;
31837
+ for (const count19 of counts.values()) {
31838
+ const p = count19 / sample.length;
31839
31839
  entropy -= p * Math.log2(p);
31840
31840
  }
31841
31841
  return entropy;
@@ -33150,11 +33150,11 @@ function computeIsoYearMonthFieldsForMonthDay(monthCodeNumber, isLeapMonth) {
33150
33150
  };
33151
33151
  }
33152
33152
  }
33153
- function computeIsoFieldsFromParts(year, month, day2) {
33153
+ function computeIsoFieldsFromParts(year, month, day3) {
33154
33154
  return {
33155
33155
  year,
33156
33156
  month,
33157
- day: day2
33157
+ day: day3
33158
33158
  };
33159
33159
  }
33160
33160
  function computeIsoDaysInMonth(year, month) {
@@ -33244,8 +33244,8 @@ function computeCalendarMonthCodeParts(calendar, year, month) {
33244
33244
  function computeCalendarEraFields(calendar, isoDate) {
33245
33245
  return 0 === calendar ? computeGregoryEraFields(isoDate) : calendar && calendar.h?.(isoDate) || {};
33246
33246
  }
33247
- function computeCalendarIsoFieldsFromParts(calendar, year, month, day2) {
33248
- return calendar ? calendar.de(year, month, day2) : computeIsoFieldsFromParts(year, month, day2);
33247
+ function computeCalendarIsoFieldsFromParts(calendar, year, month, day3) {
33248
+ return calendar ? calendar.de(year, month, day3) : computeIsoFieldsFromParts(year, month, day3);
33249
33249
  }
33250
33250
  function computeCalendarMonthsInYearForYear(calendar, year) {
33251
33251
  return calendar ? calendar.j(year) : 12;
@@ -33677,8 +33677,8 @@ function roundBigNanoToInc(bigNano, bigNanoInc, roundingMode) {
33677
33677
  return roundBigNanoToIncWithTail(bigNano, bigNanoInc, roundingMode, bigNano / bigNanoInc % 2n);
33678
33678
  }
33679
33679
  function roundBigNanoToDayOriginInc(bigNano, bigNanoInc, roundingMode) {
33680
- const [day2, timeNano] = divModFloorBigInt(bigNano, bigNanoInUtcDay);
33681
- const dayOriginNano = day2 * bigNanoInUtcDay;
33680
+ const [day3, timeNano] = divModFloorBigInt(bigNano, bigNanoInUtcDay);
33681
+ const dayOriginNano = day3 * bigNanoInUtcDay;
33682
33682
  return dayOriginNano + roundBigNanoToIncWithTail(timeNano, bigNanoInc, roundingMode, (dayOriginNano / bigNanoInc + timeNano / bigNanoInc) % 2n);
33683
33683
  }
33684
33684
  function roundBigNanoToIncWithTail(bigNano, bigNanoInc, roundingMode, quotientTail) {
@@ -33880,7 +33880,7 @@ function dateAddWithOverflow(calendar, isoDateFields, durationFields, overflow)
33880
33880
  }
33881
33881
  function addDateMonths(calendar, isoDateFields, years, months, overflow) {
33882
33882
  const dateParts = computeCalendarDateFields(calendar, isoDateFields);
33883
- let { year, month, day: day2 } = dateParts;
33883
+ let { year, month, day: day3 } = dateParts;
33884
33884
  if (years) {
33885
33885
  const [monthCodeNumber, isLeapMonth] = computeCalendarMonthCodeParts(calendar, year, month);
33886
33886
  year += years, month = computeYearMovedMonth(calendar, monthCodeNumber, isLeapMonth, calendar ? calendar.p(year) : void 0, overflow), month = clampEntity("month", month, 1, computeCalendarMonthsInYearForYear(calendar, year), overflow);
@@ -33889,7 +33889,7 @@ function addDateMonths(calendar, isoDateFields, years, months, overflow) {
33889
33889
  const yearMonthParts = calendar ? calendar.K(year, month, months) : addIsoMonths(year, month, months);
33890
33890
  ({ year, month } = yearMonthParts);
33891
33891
  }
33892
- return day2 = clampEntity("day", day2, 1, computeCalendarDaysInMonthForYearMonth(calendar, year, month), overflow), computeCalendarIsoFieldsFromParts(calendar, year, month, day2);
33892
+ return day3 = clampEntity("day", day3, 1, computeCalendarDaysInMonthForYearMonth(calendar, year, month), overflow), computeCalendarIsoFieldsFromParts(calendar, year, month, day3);
33893
33893
  }
33894
33894
  function computeYearMovedMonth(calendar, monthCodeNumber, isLeapMonth, targetLeapMonth, overflow) {
33895
33895
  if (isLeapMonth) {
@@ -34464,31 +34464,31 @@ function createPlainMonthDayFromFields(calendar, fields, options) {
34464
34464
  const monthCodeParts = parseMonthCodeField(fields);
34465
34465
  let yearMaybe = void 0 !== fields.eraYear || void 0 !== fields.year ? resolveCalendarYear(calendar, fields) : void 0;
34466
34466
  const overflow = refineOverflowOptions(options);
34467
- let day2;
34467
+ let day3;
34468
34468
  let monthCodeNumber;
34469
34469
  let isLeapMonth;
34470
34470
  if (void 0 === yearMaybe && isIso && (yearMaybe = 1972), void 0 !== yearMaybe) {
34471
34471
  isIso || checkIsoDateInBounds(computeCalendarIsoFieldsFromParts(calendar, yearMaybe, 1, 1));
34472
34472
  const month = resolveCalendarMonth(calendar, fields, yearMaybe, overflow, monthCodeParts);
34473
- day2 = resolveCalendarDay(calendar, fields, month, yearMaybe, overflow), [monthCodeNumber, isLeapMonth] = computeCalendarMonthCodeParts(calendar, yearMaybe, month);
34473
+ day3 = resolveCalendarDay(calendar, fields, month, yearMaybe, overflow), [monthCodeNumber, isLeapMonth] = computeCalendarMonthCodeParts(calendar, yearMaybe, month);
34474
34474
  } else {
34475
34475
  void 0 === fields.monthCode && throwTypeError("Missing month/monthCode"), [monthCodeNumber, isLeapMonth] = monthCodeParts;
34476
34476
  const referenceYear = calendar ? calendar.ne : 1972;
34477
34477
  if (void 0 !== referenceYear) {
34478
- day2 = resolveCalendarDay(calendar, fields, resolveCalendarMonth(calendar, fields, referenceYear, overflow, monthCodeParts), referenceYear, overflow);
34478
+ day3 = resolveCalendarDay(calendar, fields, resolveCalendarMonth(calendar, fields, referenceYear, overflow, monthCodeParts), referenceYear, overflow);
34479
34479
  } else {
34480
34480
  const constrainedDay = 0 === overflow && calendar ? calendar.fe?.(monthCodeNumber, isLeapMonth, fields.day) : void 0;
34481
- day2 = void 0 !== constrainedDay ? constrainedDay : fields.day;
34481
+ day3 = void 0 !== constrainedDay ? constrainedDay : fields.day;
34482
34482
  }
34483
34483
  }
34484
- isLeapMonth && ((calendar && calendar.U?.[monthCodeNumber]) ?? 1 / 0) < fields.day && (1 === overflow && throwRangeError(invalidLeapMonth), isLeapMonth = 0, day2 = constrainToRange2(fields.day, 1, (calendar && calendar.R) ?? 1 / 0));
34485
- let res = calendar ? calendar.u(monthCodeNumber, Boolean(isLeapMonth), day2) : computeIsoYearMonthFieldsForMonthDay(monthCodeNumber, Boolean(isLeapMonth));
34486
- for (; !res && 0 === overflow && day2 > 1; ) {
34487
- day2--, res = calendar ? calendar.u(monthCodeNumber, Boolean(isLeapMonth), day2) : computeIsoYearMonthFieldsForMonthDay(monthCodeNumber, Boolean(isLeapMonth));
34484
+ isLeapMonth && ((calendar && calendar.U?.[monthCodeNumber]) ?? 1 / 0) < fields.day && (1 === overflow && throwRangeError(invalidLeapMonth), isLeapMonth = 0, day3 = constrainToRange2(fields.day, 1, (calendar && calendar.R) ?? 1 / 0));
34485
+ let res = calendar ? calendar.u(monthCodeNumber, Boolean(isLeapMonth), day3) : computeIsoYearMonthFieldsForMonthDay(monthCodeNumber, Boolean(isLeapMonth));
34486
+ for (; !res && 0 === overflow && day3 > 1; ) {
34487
+ day3--, res = calendar ? calendar.u(monthCodeNumber, Boolean(isLeapMonth), day3) : computeIsoYearMonthFieldsForMonthDay(monthCodeNumber, Boolean(isLeapMonth));
34488
34488
  }
34489
34489
  res || throwRangeError("Cannot guess year");
34490
34490
  const { year: finalYear, month: finalMonth } = res;
34491
- return createDateSlots(checkIsoDateInBounds(computeCalendarIsoFieldsFromParts(calendar, finalYear, finalMonth, day2)), calendar);
34491
+ return createDateSlots(checkIsoDateInBounds(computeCalendarIsoFieldsFromParts(calendar, finalYear, finalMonth, day3)), calendar);
34492
34492
  }
34493
34493
  var RawDateTimeFormat = Intl.DateTimeFormat;
34494
34494
  function formatEpochMilliToPartsRecord(intlFormat, epochMilli) {
@@ -34950,13 +34950,13 @@ function parsePlainMonthDay(s, resolveCalendar) {
34950
34950
  }
34951
34951
  const dateSlots = finalizeDateLike(parsePlainDateLike(s), projectIsoMonthDayDate, resolveCalendar);
34952
34952
  const { calendar } = dateSlots;
34953
- const { year: origYear, month: origMonth, day: day2 } = computeCalendarDateFields(calendar, dateSlots);
34953
+ const { year: origYear, month: origMonth, day: day3 } = computeCalendarDateFields(calendar, dateSlots);
34954
34954
  const [monthCodeNumber, isLeapMonth] = computeCalendarMonthCodeParts(calendar, origYear, origMonth);
34955
- const { year, month } = ((calendar2, monthCodeNumber2, isLeapMonth2, day3) => {
34956
- const yearMonthFields = calendar2 ? calendar2.u(monthCodeNumber2, isLeapMonth2, day3) : computeIsoYearMonthFieldsForMonthDay(monthCodeNumber2, isLeapMonth2);
34955
+ const { year, month } = ((calendar2, monthCodeNumber2, isLeapMonth2, day4) => {
34956
+ const yearMonthFields = calendar2 ? calendar2.u(monthCodeNumber2, isLeapMonth2, day4) : computeIsoYearMonthFieldsForMonthDay(monthCodeNumber2, isLeapMonth2);
34957
34957
  return yearMonthFields || throwRangeError("Cannot guess year"), yearMonthFields;
34958
- })(calendar, monthCodeNumber, isLeapMonth, day2);
34959
- return createDateSlots(checkIsoDateInBounds(computeCalendarIsoFieldsFromParts(calendar, year, month, day2)), calendar);
34958
+ })(calendar, monthCodeNumber, isLeapMonth, day3);
34959
+ return createDateSlots(checkIsoDateInBounds(computeCalendarIsoFieldsFromParts(calendar, year, month, day3)), calendar);
34960
34960
  }
34961
34961
  function parsePlainTime(s) {
34962
34962
  let organized = ((s2) => {
@@ -35017,10 +35017,10 @@ function finalizeDateLike(organized, isoDateProjector, resolveCalendar) {
35017
35017
  return isoDateProjector && "iso8601" === organized.calendarId ? (validateIsoDateFields(organized), organized.re && validateTimeFields(organized), finalizeDate(isoDateProjector(organized), resolveCalendar)) : organized.re ? finalizeDateTime(organized, resolveCalendar) : finalizeDate(organized, resolveCalendar);
35018
35018
  }
35019
35019
  function projectIsoYearMonthDate(organized) {
35020
- const day2 = 12 * organized.year + organized.month === isoYearMonthIndexMin ? 20 : 1;
35020
+ const day3 = 12 * organized.year + organized.month === isoYearMonthIndexMin ? 20 : 1;
35021
35021
  return {
35022
35022
  ...organized,
35023
- day: day2
35023
+ day: day3
35024
35024
  };
35025
35025
  }
35026
35026
  function projectIsoMonthDayDate(organized) {
@@ -35156,11 +35156,11 @@ function mergeZonedDateTimeFields(zonedDateTimeSlots, modFields, options) {
35156
35156
  const { calendar, timeZone } = zonedDateTimeSlots;
35157
35157
  const validFieldNames = getCalendarFieldNames(calendar, dateTimeAndOffsetFieldNamesAlpha, dateTimeAndOffsetFieldNamesWithEraAlpha);
35158
35158
  const zonedSlots = zonedEpochSlotsToIso(zonedDateTimeSlots);
35159
- const { year, month, day: day2 } = computeCalendarDateFields(calendar, zonedSlots);
35159
+ const { year, month, day: day3 } = computeCalendarDateFields(calendar, zonedSlots);
35160
35160
  const origFields = {
35161
35161
  year,
35162
35162
  monthCode: computeMonthCode(calendar, year, month),
35163
- day: day2,
35163
+ day: day3,
35164
35164
  hour: zonedSlots.hour,
35165
35165
  minute: zonedSlots.minute,
35166
35166
  second: zonedSlots.second,
@@ -35181,11 +35181,11 @@ function mergeZonedDateTimeFields(zonedDateTimeSlots, modFields, options) {
35181
35181
  function mergePlainDateTimeFields(plainDateTimeSlots, modFields, options) {
35182
35182
  const { calendar } = plainDateTimeSlots;
35183
35183
  const validFieldNames = getCalendarFieldNames(calendar, dateTimeFieldNamesAlpha, dateTimeFieldNamesWithEraAlpha);
35184
- const { year, month, day: day2 } = computeCalendarDateFields(calendar, plainDateTimeSlots);
35184
+ const { year, month, day: day3 } = computeCalendarDateFields(calendar, plainDateTimeSlots);
35185
35185
  const origFields = {
35186
35186
  year,
35187
35187
  monthCode: computeMonthCode(calendar, year, month),
35188
- day: day2,
35188
+ day: day3,
35189
35189
  hour: plainDateTimeSlots.hour,
35190
35190
  minute: plainDateTimeSlots.minute,
35191
35191
  second: plainDateTimeSlots.second,
@@ -35205,11 +35205,11 @@ function mergePlainDateTimeFields(plainDateTimeSlots, modFields, options) {
35205
35205
  function mergePlainDateFields(plainDateSlots, modFields, options) {
35206
35206
  const { calendar } = plainDateSlots;
35207
35207
  const validFieldNames = getCalendarFieldNames(calendar, dateFieldNamesAlpha, dateFieldNamesWithEraAlpha);
35208
- const { year, month, day: day2 } = computeCalendarDateFields(calendar, plainDateSlots);
35208
+ const { year, month, day: day3 } = computeCalendarDateFields(calendar, plainDateSlots);
35209
35209
  return createPlainDateFromFields(calendar, mergeCalendarFields(calendar, {
35210
35210
  year,
35211
35211
  monthCode: computeMonthCode(calendar, year, month),
35212
- day: day2
35212
+ day: day3
35213
35213
  }, readAndRefineBagFields(modFields, validFieldNames, dateFieldRefiners)), options);
35214
35214
  }
35215
35215
  function mergePlainYearMonthFields(plainYearMonthSlots, modFields, options) {
@@ -35224,10 +35224,10 @@ function mergePlainYearMonthFields(plainYearMonthSlots, modFields, options) {
35224
35224
  function mergePlainMonthDayFields(plainMonthDaySlots, modFields, options) {
35225
35225
  const { calendar } = plainMonthDaySlots;
35226
35226
  const validFieldNames = getCalendarFieldNames(calendar, dateFieldNamesAlpha, dateFieldNamesWithEraAlpha);
35227
- const { year, month, day: day2 } = computeCalendarDateFields(calendar, plainMonthDaySlots);
35227
+ const { year, month, day: day3 } = computeCalendarDateFields(calendar, plainMonthDaySlots);
35228
35228
  return createPlainMonthDayFromFields(calendar, mergeCalendarFields(calendar, {
35229
35229
  monthCode: computeMonthCode(calendar, year, month),
35230
- day: day2
35230
+ day: day3
35231
35231
  }, readAndRefineBagFields(modFields, validFieldNames, dateFieldRefiners)), options);
35232
35232
  }
35233
35233
  function mergePlainTimeFields(initialFields, mod, options) {
@@ -36984,7 +36984,7 @@ function shadowedLinkLineOf({ shadow }) {
36984
36984
  }
36985
36985
 
36986
36986
  // src/rules/cli-version.rules.ts
36987
- var STAMPED = "0.1.141";
36987
+ var STAMPED = "0.1.142";
36988
36988
  function cliVersionOf({ stamped = STAMPED } = {}) {
36989
36989
  return stamped.startsWith("__") ? "dev" : stamped;
36990
36990
  }
@@ -37086,7 +37086,7 @@ import { basename as basename2, dirname as dirname3, join as join4, resolve } fr
37086
37086
 
37087
37087
  // src/rules/hook-settings.rules.ts
37088
37088
  var LAZE_HOOK_MARKER = "laze-cli-hook";
37089
- var HOOK_TIMEOUTS = { Stop: 30, PreToolUse: 5, SessionStart: 30 };
37089
+ var HOOK_TIMEOUTS = { Stop: 30, PreToolUse: 30, SessionStart: 30 };
37090
37090
  var TIMEOUTS = HOOK_TIMEOUTS;
37091
37091
  var WAIT_HOOK_TIMEOUT_SECONDS = 7 * 24 * 60 * 60;
37092
37092
  function withHooks({
@@ -38873,14 +38873,14 @@ function codePointLength(str) {
38873
38873
  const units = str.length;
38874
38874
  if (!highSurrogate.test(str))
38875
38875
  return units;
38876
- let count18 = units;
38876
+ let count19 = units;
38877
38877
  for (let i = 0; i < units - 1; i++) {
38878
38878
  if ((str.charCodeAt(i) & 64512) === 55296 && (str.charCodeAt(i + 1) & 64512) === 56320) {
38879
- count18--;
38879
+ count19--;
38880
38880
  i++;
38881
38881
  }
38882
38882
  }
38883
- return count18;
38883
+ return count19;
38884
38884
  }
38885
38885
  function getLengthableOrigin(input2) {
38886
38886
  if (Array.isArray(input2))
@@ -43235,8 +43235,8 @@ function az_default() {
43235
43235
  }
43236
43236
 
43237
43237
  // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/be.js
43238
- function getBelarusianPlural(count18, one, few, many) {
43239
- const absCount = Math.abs(count18);
43238
+ function getBelarusianPlural(count19, one, few, many) {
43239
+ const absCount = Math.abs(count19);
43240
43240
  const lastDigit = absCount % 10;
43241
43241
  const lastTwoDigits = absCount % 100;
43242
43242
  if (lastTwoDigits >= 11 && lastTwoDigits <= 19) {
@@ -45883,8 +45883,8 @@ function hu_default() {
45883
45883
  }
45884
45884
 
45885
45885
  // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hy.js
45886
- function getArmenianPlural(count18, one, many) {
45887
- return Math.abs(count18) === 1 ? one : many;
45886
+ function getArmenianPlural(count19, one, many) {
45887
+ return Math.abs(count19) === 1 ? one : many;
45888
45888
  }
45889
45889
  function withDefiniteArticle(word3) {
45890
45890
  if (!word3)
@@ -48622,8 +48622,8 @@ function ro_default() {
48622
48622
  }
48623
48623
 
48624
48624
  // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ru.js
48625
- function getRussianPlural(count18, one, few, many) {
48626
- const absCount = Math.abs(count18);
48625
+ function getRussianPlural(count19, one, few, many) {
48626
+ const absCount = Math.abs(count19);
48627
48627
  const lastDigit = absCount % 10;
48628
48628
  const lastTwoDigits = absCount % 100;
48629
48629
  if (lastTwoDigits >= 11 && lastTwoDigits <= 19) {
@@ -59871,7 +59871,7 @@ var deviceGrantSummarySchemaDefinition = external_exports.object({
59871
59871
  });
59872
59872
  var deviceGrantSummarySchema = deviceGrantSummarySchemaDefinition;
59873
59873
  var ApiKeyApi = moduleApi()("api-key");
59874
- var apiKeyTrpc = defineTrpcContract("apiKey").mutation("create").withInput(createApiKeyInputSchema).withOutput(createdApiKeySchema).query("list").withInput(external_exports.object({ workspaceId: external_exports.string().min(1) })).withOutput(external_exports.array(apiKeySummarySchema)).mutation("revoke").withInput(revokeApiKeyInputSchema).withOutput(external_exports.object({ revoked: external_exports.literal(true) })).query("listMine").withInput(external_exports.object({ workspaceId: external_exports.string().min(1) })).withOutput(external_exports.array(personalApiKeySchema)).mutation("revokeMine").withInput(revokeApiKeyInputSchema).withOutput(external_exports.object({ revoked: external_exports.literal(true) })).query("deviceGrant").withInput(external_exports.object({ workspaceId: external_exports.string().min(1), userCode: external_exports.string().min(1).max(20) })).withOutput(deviceGrantSummarySchema).mutation("approveDevice").withInput(decideDeviceGrantInputSchema).withOutput(external_exports.object({ approved: external_exports.literal(true) })).mutation("denyDevice").withInput(decideDeviceGrantInputSchema).withOutput(external_exports.object({ denied: external_exports.literal(true) })).build();
59874
+ var apiKeyTrpc = defineTrpcContract("apiKey").mutation("create").withInput(createApiKeyInputSchema).withOutput(createdApiKeySchema.meta({ deprecated: true })).query("list").withInput(external_exports.object({ workspaceId: external_exports.string().min(1) })).withOutput(external_exports.array(apiKeySummarySchema).meta({ deprecated: true })).mutation("revoke").withInput(revokeApiKeyInputSchema).withOutput(external_exports.object({ revoked: external_exports.literal(true) }).meta({ deprecated: true })).query("listMine").withInput(external_exports.object({ workspaceId: external_exports.string().min(1) })).withOutput(external_exports.array(personalApiKeySchema)).mutation("revokeMine").withInput(revokeApiKeyInputSchema).withOutput(external_exports.object({ revoked: external_exports.literal(true) })).query("deviceGrant").withInput(external_exports.object({ workspaceId: external_exports.string().min(1), userCode: external_exports.string().min(1).max(20) })).withOutput(deviceGrantSummarySchema).mutation("approveDevice").withInput(decideDeviceGrantInputSchema).withOutput(external_exports.object({ approved: external_exports.literal(true) })).mutation("denyDevice").withInput(decideDeviceGrantInputSchema).withOutput(external_exports.object({ denied: external_exports.literal(true) })).build();
59875
59875
 
59876
59876
  // ../../modules/api-key/contract/src/api-key.events.ts
59877
59877
  var API_KEY_MACHINE_ALERT_KINDS = [
@@ -61157,7 +61157,9 @@ var answerVaultApprovalInputSchemaDefinition = external_exports.object({
61157
61157
  /** A short reason, question or steer for the agent, sent with the answer. */
61158
61158
  resolutionNote: resolutionNoteSchema,
61159
61159
  /** A fresh passkey, Touch ID or Face ID proof: an Allow on a device-approval key needs one. */
61160
- reauthToken: external_exports.string().min(1).max(200).optional()
61160
+ reauthToken: external_exports.string().min(1).max(200).optional(),
61161
+ /** The request ids the card showed; a joined ask not among them gets a card of its own. */
61162
+ seenRequestIds: external_exports.array(external_exports.string().min(1).max(64)).max(50).optional()
61161
61163
  });
61162
61164
  var answerVaultApprovalInputSchema = answerVaultApprovalInputSchemaDefinition;
61163
61165
  var requestVaultActionInputSchemaDefinition = external_exports.object({
@@ -61436,7 +61438,7 @@ var vaultCoreTrpc = defineTrpcContract("vault").mutation("createConnection").wit
61436
61438
  reason: external_exports.string().trim().min(1).max(200),
61437
61439
  reauthToken: external_exports.string().min(1).max(200).optional()
61438
61440
  })
61439
- ).withOutput(external_exports.object({ fields: external_exports.record(external_exports.string(), external_exports.string()) })).mutation("beginReauth").withInput(beginVaultReauthInputSchema).withOutput(vaultReauthChallengeSchema).mutation("confirmReauth").withInput(confirmVaultReauthInputSchema).withOutput(vaultReauthProofSchema).mutation("grantConnection").withInput(grantVaultConnectionInputSchema).withOutput(vaultGrantSchema).mutation("lendToChannel").withInput(lendVaultConnectionInputSchema).withOutput(vaultGrantSchema).mutation("revokeGrant").withInput(revokeVaultGrantInputSchema).withOutput(external_exports.object({ revoked: external_exports.literal(true) })).query("listGrants").withInput(connectionInput).withOutput(external_exports.array(vaultGrantSchema)).query("listKeyActivity").withInput(listVaultKeyActivityInputSchema).withOutput(external_exports.array(vaultKeyActivitySchema)).mutation("shareConnection").withInput(shareVaultConnectionInputSchema).withOutput(vaultGrantSchema).mutation("approveShare").withInput(approveVaultShareInputSchema).withOutput(vaultGrantSchema).mutation("approveMachineKey").withInput(approveVaultMachineKeyInputSchema).withOutput(approvedVaultMachineKeySchema).query("readLock").withInput(external_exports.object({ workspaceId: external_exports.string().min(1) })).withOutput(vaultReadLockSchema).query("referenceHolder").withInput(vaultReferenceHolderInputSchema).withOutput(vaultReferenceHolderSchema).mutation("unlockReads").withInput(unlockVaultReadsInputSchema).withOutput(vaultReadLockSchema).mutation("sealConnection").withInput(sealVaultConnectionInputSchema).withOutput(vaultConnectionSchema).query("listApprovals").withInput(external_exports.object({ ...workspaceInput.shape, state: vaultApprovalListStateSchema.optional() })).withOutput(external_exports.array(vaultApprovalRequestSchema)).mutation("answerApproval").withInput(answerVaultApprovalInputSchema).withOutput(vaultApprovalRequestSchema).query("listAudit").withInput(vaultAuditReadInputSchema).withOutput(vaultAuditPageSchema).query("listActivity").withInput(vaultAuditReadInputSchema).withOutput(external_exports.array(vaultAuditEntrySchema)).query("listLeases").withInput(workspaceInput).withOutput(external_exports.array(vaultLeaseSchema)).mutation("endLease").withInput(endVaultLeaseInputSchema).withOutput(external_exports.object({ ended: external_exports.literal(true) })).query("mostAsked").withInput(vaultMostAskedInputSchema).withOutput(vaultMostAskedSchema).query("judgeStatus").withInput(workspaceInput).withOutput(vaultJudgeStatusSchema).query("listLevelLimits").withInput(workspaceInput).withOutput(external_exports.array(vaultLevelLimitSchema)).mutation("setLevelLimit").withInput(setVaultLevelLimitInputSchema).withOutput(external_exports.array(vaultLevelLimitSchema)).query("listDevices").withInput(listVaultDevicesInput).withOutput(external_exports.array(vaultDeviceSchema)).mutation("beginDeviceEnrolment").withInput(workspaceInput).withOutput(vaultDeviceEnrolmentSchema).mutation("finishDeviceEnrolment").withInput(finishVaultDeviceEnrolmentInputSchema).withOutput(vaultDeviceSchema).mutation("beginDeviceApproval").withInput(external_exports.object({ ...workspaceInput.shape, deviceId: external_exports.string().min(1) })).withOutput(external_exports.object({ challenge: external_exports.string(), sealed: external_exports.array(vaultSealedMaterialSchema) })).mutation("approveDevice").withInput(approveVaultDeviceInputSchema).withOutput(vaultDeviceSchema).mutation("renameDevice").withInput(renameVaultDeviceInputSchema).withOutput(vaultDeviceSchema).mutation("removeDevice").withInput(
61441
+ ).withOutput(external_exports.object({ fields: external_exports.record(external_exports.string(), external_exports.string()) })).mutation("beginReauth").withInput(beginVaultReauthInputSchema).withOutput(vaultReauthChallengeSchema).mutation("confirmReauth").withInput(confirmVaultReauthInputSchema).withOutput(vaultReauthProofSchema).mutation("grantConnection").withInput(grantVaultConnectionInputSchema).withOutput(vaultGrantSchema).mutation("lendToChannel").withInput(lendVaultConnectionInputSchema).withOutput(vaultGrantSchema).mutation("revokeGrant").withInput(revokeVaultGrantInputSchema).withOutput(external_exports.object({ revoked: external_exports.literal(true) })).query("listGrants").withInput(connectionInput).withOutput(external_exports.array(vaultGrantSchema)).query("listKeyActivity").withInput(listVaultKeyActivityInputSchema).withOutput(external_exports.array(vaultKeyActivitySchema)).mutation("shareConnection").withInput(shareVaultConnectionInputSchema).withOutput(vaultGrantSchema).mutation("approveShare").withInput(approveVaultShareInputSchema).withOutput(vaultGrantSchema).mutation("approveMachineKey").withInput(approveVaultMachineKeyInputSchema).withOutput(approvedVaultMachineKeySchema).query("readLock").withInput(external_exports.object({ workspaceId: external_exports.string().min(1) })).withOutput(vaultReadLockSchema).query("referenceHolder").withInput(vaultReferenceHolderInputSchema).withOutput(vaultReferenceHolderSchema).mutation("unlockReads").withInput(unlockVaultReadsInputSchema).withOutput(vaultReadLockSchema).mutation("sealConnection").withInput(sealVaultConnectionInputSchema).withOutput(vaultConnectionSchema).query("listApprovals").withInput(external_exports.object({ ...workspaceInput.shape, state: vaultApprovalListStateSchema.optional() })).withOutput(external_exports.array(vaultApprovalRequestSchema)).mutation("answerApproval").withInput(answerVaultApprovalInputSchema).withOutput(vaultApprovalRequestSchema).query("listAudit").withInput(vaultAuditReadInputSchema).withOutput(vaultAuditPageSchema).query("listActivity").withInput(vaultAuditReadInputSchema).withOutput(external_exports.array(vaultAuditEntrySchema)).query("listLeases").withInput(workspaceInput).withOutput(external_exports.array(vaultLeaseSchema)).mutation("endLease").withInput(endVaultLeaseInputSchema).withOutput(external_exports.object({ ended: external_exports.literal(true) })).query("mostAsked").withInput(vaultMostAskedInputSchema).withOutput(vaultMostAskedSchema.meta({ deprecated: true })).query("judgeStatus").withInput(workspaceInput).withOutput(vaultJudgeStatusSchema).query("listLevelLimits").withInput(workspaceInput).withOutput(external_exports.array(vaultLevelLimitSchema)).mutation("setLevelLimit").withInput(setVaultLevelLimitInputSchema).withOutput(external_exports.array(vaultLevelLimitSchema)).query("listDevices").withInput(listVaultDevicesInput).withOutput(external_exports.array(vaultDeviceSchema)).mutation("beginDeviceEnrolment").withInput(workspaceInput).withOutput(vaultDeviceEnrolmentSchema).mutation("finishDeviceEnrolment").withInput(finishVaultDeviceEnrolmentInputSchema).withOutput(vaultDeviceSchema).mutation("beginDeviceApproval").withInput(external_exports.object({ ...workspaceInput.shape, deviceId: external_exports.string().min(1) })).withOutput(external_exports.object({ challenge: external_exports.string(), sealed: external_exports.array(vaultSealedMaterialSchema) })).mutation("approveDevice").withInput(approveVaultDeviceInputSchema).withOutput(vaultDeviceSchema).mutation("renameDevice").withInput(renameVaultDeviceInputSchema).withOutput(vaultDeviceSchema).mutation("removeDevice").withInput(
61440
61442
  external_exports.object({
61441
61443
  ...workspaceInput.shape,
61442
61444
  deviceId: external_exports.string().min(1),
@@ -61448,7 +61450,7 @@ var vaultCoreTrpc = defineTrpcContract("vault").mutation("createConnection").wit
61448
61450
  reason: external_exports.string().trim().min(1).max(200),
61449
61451
  reauthToken: external_exports.string().min(1).max(200).optional()
61450
61452
  })
61451
- ).withOutput(vaultSealedMaterialSchema).query("getSealedApproval").withInput(external_exports.object({ ...workspaceInput.shape, requestId: external_exports.string().min(1) })).withOutput(vaultSealedApprovalSchema).mutation("answerSealedApproval").withInput(answerSealedApprovalInputSchema).withOutput(vaultApprovalRequestSchema).mutation("compareSecret").withInput(compareVaultSecretInputSchema).withOutput(vaultSecretComparisonSchema).mutation("replaceSecretValue").withInput(replaceVaultSecretValueInputSchema).withOutput(vaultConnectionSchema).mutation("savePastedSecret").withInput(external_exports.object({ ...workspaceInput.shape, ...saveVaultPastedSecretBodySchema.shape })).withOutput(vaultPastedSecretSavedSchema).build();
61453
+ ).withOutput(vaultSealedMaterialSchema).query("getSealedApproval").withInput(external_exports.object({ ...workspaceInput.shape, requestId: external_exports.string().min(1) })).withOutput(vaultSealedApprovalSchema).mutation("answerSealedApproval").withInput(answerSealedApprovalInputSchema).withOutput(vaultApprovalRequestSchema).mutation("compareSecret").withInput(compareVaultSecretInputSchema).withOutput(vaultSecretComparisonSchema.meta({ deprecated: true })).mutation("replaceSecretValue").withInput(replaceVaultSecretValueInputSchema).withOutput(vaultConnectionSchema.meta({ deprecated: true })).mutation("savePastedSecret").withInput(external_exports.object({ ...workspaceInput.shape, ...saveVaultPastedSecretBodySchema.shape })).withOutput(vaultPastedSecretSavedSchema).build();
61452
61454
  var vaultAgentRuleTrpc = defineTrpcContract("vault").query("listAgentRules").withInput(listVaultAgentRulesInputSchema).withOutput(external_exports.array(vaultAgentRuleEntrySchema)).mutation("setAgentRule").withInput(setVaultAgentRuleInputSchema).withOutput(external_exports.array(vaultAgentRuleEntrySchema)).build();
61453
61455
  var vaultTierTrpc = defineTrpcContract("vault").query("tierPolicy").withInput(workspaceInput).withOutput(vaultTierPolicySchema).mutation("setTierSetting").withInput(setVaultTierSettingInputSchema).withOutput(vaultTierPolicySchema).mutation("setSubjectTier").withInput(setVaultSubjectTierInputSchema).withOutput(vaultTierPolicySchema).build();
61454
61456
  var vaultEgressHostTrpc = defineTrpcContract("vault").query("listEgressHosts").withInput(vaultEgressHostInputSchema.omit({ host: true })).withOutput(external_exports.array(vaultEgressHostSchema)).mutation("addEgressHost").withInput(vaultEgressHostInputSchema).withOutput(external_exports.array(vaultEgressHostSchema)).mutation("removeEgressHost").withInput(vaultEgressHostInputSchema).withOutput(external_exports.array(vaultEgressHostSchema)).build();
@@ -61557,6 +61559,21 @@ var vaultApprovalRequestedPayloadSchemaDefinition = external_exports.object({
61557
61559
  /** The connector's service ("Gmail") when the key is one; what everyone may see of the ask. */
61558
61560
  service: external_exports.string().nullish()
61559
61561
  });
61562
+ var vaultApprovalUpdatedPayloadSchemaDefinition = external_exports.object({
61563
+ workspaceId: external_exports.string().min(1),
61564
+ /** The card's own request, the one its feed card and push name. */
61565
+ requestId: external_exports.string().min(1),
61566
+ /** Every ask the card shows, `requestId` first; an answer covers only those its client saw. */
61567
+ requestIds: external_exports.array(external_exports.string().min(1)).min(1),
61568
+ /** "2 keys: ClickHouse prod, Grafana prod". */
61569
+ connectionLabel: external_exports.string(),
61570
+ /** The connector's service when every key shares it; null otherwise. */
61571
+ service: external_exports.string().nullish(),
61572
+ agentId: external_exports.string(),
61573
+ channelId: external_exports.string(),
61574
+ approverUserIds: external_exports.array(external_exports.string()),
61575
+ at: external_exports.iso.datetime()
61576
+ });
61560
61577
  var vaultApprovalResolvedPayloadSchemaDefinition = external_exports.object({
61561
61578
  workspaceId: external_exports.string().min(1),
61562
61579
  requestId: external_exports.string().min(1),
@@ -62087,15 +62104,15 @@ function clustersIn({
62087
62104
  const out = [];
62088
62105
  let current3 = null;
62089
62106
  for (let index = segment.start; index <= segment.end; index += 1) {
62090
- const count18 = flagged[index] ?? 0;
62091
- if (count18 === 0) continue;
62107
+ const count19 = flagged[index] ?? 0;
62108
+ if (count19 === 0) continue;
62092
62109
  if (current3 && index - current3.end - 1 <= REDACTED_BLOCK_MAX_GAP) {
62093
62110
  current3.end = index;
62094
- current3.values += count18;
62111
+ current3.values += count19;
62095
62112
  continue;
62096
62113
  }
62097
62114
  if (current3) out.push(current3);
62098
- current3 = { start: index, end: index, values: count18 };
62115
+ current3 = { start: index, end: index, values: count19 };
62099
62116
  }
62100
62117
  if (current3) out.push(current3);
62101
62118
  return out;
@@ -62135,7 +62152,7 @@ function redactedBlocksAt({
62135
62152
  }
62136
62153
  const blocks = redactedBlocks({ lines: lines2, flagged });
62137
62154
  const inside = (line) => blocks.some((block2) => line >= block2.start && line <= block2.end);
62138
- const values = flagged.reduce((sum, count18, line) => inside(line) ? sum + count18 : sum, 0);
62155
+ const values = flagged.reduce((sum, count19, line) => inside(line) ? sum + count19 : sum, 0);
62139
62156
  return { values, insideAt: (offset) => inside(lineAt(offset)) };
62140
62157
  }
62141
62158
 
@@ -62470,6 +62487,13 @@ var vaultAlertsSettleRequestedPayloadSchemaDefinition = external_exports.object(
62470
62487
  requestId: external_exports.string().min(1),
62471
62488
  at: external_exports.iso.datetime()
62472
62489
  });
62490
+ var vaultLockRequestedPayloadSchemaDefinition = external_exports.object({
62491
+ /** The alert workspace (VAULT_ALERT_WORKSPACE_ID), whose stream records the request. */
62492
+ workspaceId: external_exports.string().min(1),
62493
+ reason: external_exports.string().trim().min(1).max(200),
62494
+ requestId: external_exports.string().min(1),
62495
+ at: external_exports.iso.datetime()
62496
+ });
62473
62497
  var vaultWatchReportReceivedPayloadSchemaDefinition = external_exports.object({
62474
62498
  /** The alert workspace (VAULT_ALERT_WORKSPACE_ID), where a stopped watchdog's card lands. */
62475
62499
  workspaceId: external_exports.string().min(1),
@@ -63595,8 +63619,12 @@ var attentionCardSchemaDefinition = external_exports.object({
63595
63619
  /**
63596
63620
  * A vault approval as everyone sees it: who decides and, for a connector, its service. The key,
63597
63621
  * call and reason are only in the vault, which its deciders read through `attentionDetail`.
63622
+ * `keys` counts the keys of a card that gained some, so a decider's client reads it again.
63598
63623
  */
63599
- waiting: external_exports.object({ service: external_exports.string().max(120).nullable() }).optional(),
63624
+ waiting: external_exports.object({
63625
+ service: external_exports.string().max(120).nullable(),
63626
+ keys: external_exports.number().int().min(2).max(50).optional()
63627
+ }).optional(),
63600
63628
  /** People who may decide; empty means anyone in the conversation. */
63601
63629
  deciderIds: external_exports.array(external_exports.string()),
63602
63630
  state: attentionCardStateSchema,
@@ -63735,6 +63763,8 @@ var loginCardLoginSchemaDefinition = external_exports.object({
63735
63763
  id: idSchema4,
63736
63764
  name: external_exports.string().max(120),
63737
63765
  status: external_exports.enum(["ready", "limited", "signed_out"]),
63766
+ /** With `signed_out`: Anthropic refused Claude Code on its subscription. */
63767
+ blocked: external_exports.boolean().optional(),
63738
63768
  /** "session limit", "weekly limit": the window that ran out, for people. */
63739
63769
  window: external_exports.string().max(40).nullable(),
63740
63770
  until: external_exports.iso.datetime().nullable()
@@ -65420,7 +65450,7 @@ var chatChannelRolesTrpc = defineTrpcContract("chat").mutation("setChannelRole")
65420
65450
  var chatMessagesTrpc = defineTrpcContract("chat").query("history", { mirrored: historyMirror }).withInput(historyInputSchema).withOutput(historyPageSchema).query("thread").withInput(messageInputSchema).withOutput(threadSchema).query("message").withInput(messageInputSchema).withOutput(messageSchema).mutation("post").withInput(postMessageInputSchema).withOutput(messageSchema).mutation("forward").withInput(forwardMessageInputSchema).withOutput(messageSchema).mutation("addMentioned").withInput(addMentionedInputSchema).withOutput(messageSchema).mutation("letMentionedKnow").withInput(letMentionedKnowInputSchema).withOutput(letMentionedKnowResultSchema).mutation("edit").withInput(editMessageInputSchema).withOutput(messageSchema).mutation("delete").withInput(messageInputSchema).withOutput(messageSchema).mutation("remove").withInput(messageInputSchema).withOutput(messageSchema).mutation("react").withInput(reactInputSchema).withOutput(messageSchema).mutation("signalTyping").withInput(signalTypingInputSchema).withOutput(external_exports.object({ sent: external_exports.literal(true) })).mutation("markRead").withInput(markReadInputSchema).withOutput(external_exports.object({ lastReadSeq: external_exports.number().int().nonnegative() })).mutation("markUnread").withInput(markUnreadInputSchema).withOutput(external_exports.object({ lastReadSeq: external_exports.number().int().nonnegative() })).query("search").withInput(searchInputSchema).withOutput(searchResultSchema).build();
65421
65451
  var chatFilesTrpc = defineTrpcContract("chat").mutation("startUpload").withInput(startUploadInputSchema).withOutput(uploadTicketSchema).mutation("completeUpload").withInput(completeUploadInputSchema).withOutput(attachmentSchema).mutation("transcribeVoiceSegment").withInput(transcribeVoiceSegmentInputSchema).withOutput(voiceSegmentTextSchema).mutation("abortUpload").withInput(fileInputSchema).withOutput(external_exports.object({ aborted: external_exports.literal(true) })).query("fileLink").withInput(fileLinkInputSchema).withOutput(fileLinkSchema).query("fileLinks").withInput(fileLinksInputSchema).withOutput(fileLinksSchema).query("channelFiles").withInput(channelFilesInputSchema).withOutput(channelFilesSchema).mutation("renameAttachment").withInput(renameAttachmentInputSchema).withOutput(attachmentSchema).mutation("hideUnfurl").withInput(hideUnfurlInputSchema).withOutput(messageSchema).query("unfurlImage").withInput(unfurlImageInputSchema).withOutput(fileLinkSchema).query("searchGifs").withInput(searchGifsInputSchema).withOutput(gifResultsSchema).build();
65422
65452
  var chatFollowingTrpc = defineTrpcContract("chat").mutation("setNotify").withInput(setNotifyInputSchema).withOutput(conversationSummarySchema).mutation("setReplySide").withInput(setReplySideInputSchema).withOutput(conversationSummarySchema).mutation("hideConversation").withInput(channelInputSchema).withOutput(external_exports.object({ hidden: external_exports.literal(true) })).mutation("followThread").withInput(followThreadInputSchema).withOutput(threadFollowSchema).query("threadFollow").withInput(messageInputSchema).withOutput(threadFollowSchema).query("threads", { mirrored: threadsMirror }).withInput(threadsInputSchema).withOutput(threadsPageSchema).query("threadsUnread").withInput(workspaceInputSchema).withOutput(threadsUnreadSchema).query("notificationCount").withInput(workspaceInputSchema).withOutput(external_exports.object({ count: external_exports.number().int().nonnegative() })).mutation("markThreadRead").withInput(messageInputSchema).withOutput(external_exports.object({ read: external_exports.literal(true) })).mutation("pin").withInput(pinMessageInputSchema).withOutput(messageSchema).mutation("retryMirrorDelivery").withInput(messageInputSchema).withOutput(external_exports.object({ retried: external_exports.boolean() })).mutation("alsoSendToSlack").withInput(messageInputSchema).withOutput(messageSchema).query("pins").withInput(channelInputSchema).withOutput(pinsPageSchema).query("saved").withInput(savedInputSchema).withOutput(savedPageSchema).query("savedMarks").withInput(workspaceInputSchema).withOutput(savedMarksSchema).mutation("saveMessage").withInput(saveMessageInputSchema).withOutput(savedStatusSchema).mutation("markSavedDone").withInput(markSavedDoneInputSchema).withOutput(savedStatusSchema).mutation("setReminder").withInput(setReminderInputSchema).withOutput(savedStatusSchema).query("activity").withInput(activityInputSchema).withOutput(activityPageSchema).mutation("markActivityRead").withInput(markActivityReadInputSchema).withOutput(external_exports.object({ read: external_exports.literal(true) })).build();
65423
- var chatSessionTrpc = defineTrpcContract("chat").mutation("realtimeToken").withInput(workspaceInputSchema).withOutput(realtimeTokenSchema).query("drafts").withInput(workspaceInputSchema).withOutput(draftListSchema).mutation("saveDraft").withInput(saveDraftInputSchema).withOutput(draftSavedSchema).mutation("deleteDraft").withInput(deleteDraftInputSchema).withOutput(draftSavedSchema).query("sent").withInput(listSentInputSchema).withOutput(sentPageSchema).query("sidebarLayout").withInput(workspaceInputSchema).withOutput(sidebarLayoutSchema).mutation("editSidebar").withInput(editSidebarInputSchema).withOutput(sidebarLayoutSchema).query("inProgress").withInput(workspaceInputSchema).withOutput(inProgressListSchema).mutation("clearInProgress").withInput(clearInProgressInputSchema).withOutput(inProgressListSchema).query("readerPreferences").withInput(workspaceInputSchema).withOutput(readerPreferencesSchema).mutation("setReaderPreferences").withInput(setReaderPreferencesInputSchema).withOutput(readerPreferencesSchema).mutation("star").withInput(starInputSchema).withOutput(starStatusSchema).query("starred").withInput(workspaceInputSchema).withOutput(starredListSchema).mutation("scrubSecrets").withInput(scrubChatInputSchema).withOutput(chatScrubReportSchema).mutation("restoreScrubbed").withInput(messageInputSchema).withOutput(messageSchema).build();
65453
+ var chatSessionTrpc = defineTrpcContract("chat").mutation("realtimeToken").withInput(workspaceInputSchema).withOutput(realtimeTokenSchema).query("drafts").withInput(workspaceInputSchema).withOutput(draftListSchema).mutation("saveDraft").withInput(saveDraftInputSchema).withOutput(draftSavedSchema).mutation("deleteDraft").withInput(deleteDraftInputSchema).withOutput(draftSavedSchema).query("sent").withInput(listSentInputSchema).withOutput(sentPageSchema).query("sidebarLayout").withInput(workspaceInputSchema).withOutput(sidebarLayoutSchema).mutation("editSidebar").withInput(editSidebarInputSchema).withOutput(sidebarLayoutSchema).query("inProgress").withInput(workspaceInputSchema).withOutput(inProgressListSchema).mutation("clearInProgress").withInput(clearInProgressInputSchema).withOutput(inProgressListSchema).query("readerPreferences").withInput(workspaceInputSchema).withOutput(readerPreferencesSchema).mutation("setReaderPreferences").withInput(setReaderPreferencesInputSchema).withOutput(readerPreferencesSchema).mutation("star").withInput(starInputSchema).withOutput(starStatusSchema).query("starred").withInput(workspaceInputSchema).withOutput(starredListSchema).mutation("scrubSecrets").withInput(scrubChatInputSchema).withOutput(chatScrubReportSchema.meta({ deprecated: true })).mutation("restoreScrubbed").withInput(messageInputSchema).withOutput(messageSchema).build();
65424
65454
  var chatScheduledTrpc = defineTrpcContract("chat").mutation("scheduleMessage").withInput(scheduleMessageInputSchema).withOutput(scheduledMessageSchema).query("scheduled").withInput(listScheduledInputSchema).withOutput(scheduledListSchema).mutation("editScheduled").withInput(editScheduledInputSchema).withOutput(scheduledMessageSchema).mutation("sendScheduledNow").withInput(scheduledInputSchema).withOutput(scheduledMessageSchema).mutation("cancelScheduled").withInput(scheduledInputSchema).withOutput(scheduledMessageSchema).build();
65425
65455
  var chatPresenceTrpc = defineTrpcContract("chat").mutation("heartbeat").withInput(workspaceInputSchema).withOutput(heartbeatSchema).query("presence").withInput(workspaceInputSchema).withOutput(presenceListSchema).mutation("setStatus").withInput(setStatusInputSchema).withOutput(personPresenceSchema).mutation("clearStatus").withInput(workspaceInputSchema).withOutput(personPresenceSchema).mutation("setAway").withInput(setAwayInputSchema).withOutput(personPresenceSchema).build();
65426
65456
  var chatTrpc = joinTrpcContracts(
@@ -66272,6 +66302,48 @@ var personSessionStartedPayloadSchemaDefinition = external_exports.object({
66272
66302
  at: external_exports.iso.datetime()
66273
66303
  });
66274
66304
 
66305
+ // ../../modules/notification/contract/src/push-outcomes.ts
66306
+ var pushOutcomeCodeSchema = external_exports.enum([
66307
+ "queued",
66308
+ "delivered",
66309
+ "token_gone",
66310
+ "retry",
66311
+ "refused",
66312
+ "expired",
66313
+ "withdrawn",
66314
+ "install_gone",
66315
+ "no_install",
66316
+ "push_off",
66317
+ "quiet",
66318
+ "burst",
66319
+ "held_active",
66320
+ "dropped_active"
66321
+ ]);
66322
+ var PUSH_OUTCOME_APNS_STATUS = /^(?:|\d{3}(?: [A-Za-z]{1,40})?|unreachable)$/;
66323
+ var pushOutcomePushTypeSchema = external_exports.enum(["alert", "background"]);
66324
+ var count6 = external_exports.number().int().nonnegative();
66325
+ var day2 = external_exports.string().regex(/^\d{4}-\d{2}-\d{2}$/);
66326
+ var pushOutcomeRowSchemaDefinition = external_exports.object({
66327
+ userId: external_exports.string().max(128),
66328
+ pushType: pushOutcomePushTypeSchema,
66329
+ code: pushOutcomeCodeSchema,
66330
+ apnsStatus: external_exports.string().regex(PUSH_OUTCOME_APNS_STATUS),
66331
+ count: count6
66332
+ }).strict();
66333
+ var pushOutcomeRowSchema = pushOutcomeRowSchemaDefinition;
66334
+ var pushOutcomeDayRowSchemaDefinition = external_exports.object({ day: day2, pushType: pushOutcomePushTypeSchema, code: pushOutcomeCodeSchema, count: count6 }).strict();
66335
+ var pushOutcomeDayRowSchema = pushOutcomeDayRowSchemaDefinition;
66336
+ var pushInstallRowSchemaDefinition = external_exports.object({
66337
+ userId: external_exports.string().max(128),
66338
+ environment: apnsEnvironmentSchema,
66339
+ installs: count6,
66340
+ /** The newest install's registration, ISO. */
66341
+ registeredAt: external_exports.iso.datetime(),
66342
+ /** The last push APNs took for any of them, ISO; null when none ever went through. */
66343
+ lastSuccessAt: external_exports.iso.datetime().nullable()
66344
+ }).strict();
66345
+ var pushInstallRowSchema = pushInstallRowSchemaDefinition;
66346
+
66275
66347
  // ../../modules/notification/contract/src/notification.ui.ts
66276
66348
  var notificationUi = uiTokens("notification");
66277
66349
  var NotificationPauseHooksToken = notificationUi.hooks("pause");
@@ -66697,10 +66769,10 @@ var unlinkMirrorSenderInputSchemaDefinition = external_exports.object({
66697
66769
  });
66698
66770
 
66699
66771
  // ../../modules/chat/contract/src/chat.read-ops.ts
66700
- var count6 = external_exports.number().int().nonnegative();
66772
+ var count7 = external_exports.number().int().nonnegative();
66701
66773
  var at = external_exports.iso.datetime();
66702
66774
  var unreadMessageDefinition = external_exports.object({
66703
- seq: count6,
66775
+ seq: count7,
66704
66776
  createdAt: at,
66705
66777
  /** self is the reader; the others are the author's kind. */
66706
66778
  author: external_exports.enum(["self", "person", "agent", "external"]),
@@ -66719,12 +66791,12 @@ var readConversationDefinition = external_exports.object({
66719
66791
  direct: external_exports.boolean(),
66720
66792
  /** The other side of a Laze DM paired with a Slack DM, or null. */
66721
66793
  pairedWith: external_exports.string().nullable(),
66722
- lastSeq: count6,
66723
- lastReadSeq: count6,
66724
- unreadHeldToSeq: count6.nullable(),
66725
- hiddenAtSeq: count6.nullable(),
66726
- unread: count6,
66727
- mentions: count6,
66794
+ lastSeq: count7,
66795
+ lastReadSeq: count7,
66796
+ unreadHeldToSeq: count7.nullable(),
66797
+ hiddenAtSeq: count7.nullable(),
66798
+ unread: count7,
66799
+ mentions: count7,
66728
66800
  lastMessageAt: at.nullable(),
66729
66801
  /** When the newest message at or before the marker was written. */
66730
66802
  markerAt: at.nullable(),
@@ -66734,7 +66806,7 @@ var readConversationDefinition = external_exports.object({
66734
66806
  var chatReadFactsDefinition = external_exports.object({
66735
66807
  conversations: external_exports.array(readConversationDefinition).max(40),
66736
66808
  /** Conversations that qualified before the cap. */
66737
- total: count6
66809
+ total: count7
66738
66810
  });
66739
66811
  var chatReadFactsSchema = chatReadFactsDefinition;
66740
66812
 
@@ -66754,43 +66826,43 @@ var supportAnswerNoticesDefinition = external_exports.object({
66754
66826
  var supportAnswerNoticesSchema = supportAnswerNoticesDefinition;
66755
66827
 
66756
66828
  // ../../modules/chat/contract/src/chat.link-domain-ops.ts
66757
- var count7 = external_exports.number().int().nonnegative();
66829
+ var count8 = external_exports.number().int().nonnegative();
66758
66830
  var linkDomainDefinition = external_exports.object({
66759
66831
  /** The link's host, lowercased, without `www.`. */
66760
66832
  domain: external_exports.string(),
66761
66833
  /** Previews on messages, one per message and preview. */
66762
- links: count7,
66834
+ links: count8,
66763
66835
  /** Messages with at least one preview of this host. */
66764
- messageCount: count7,
66836
+ messageCount: count8,
66765
66837
  /** Previews of this host a message author took off. */
66766
- removed: count7,
66838
+ removed: count8,
66767
66839
  /** Distinct previews (addresses) of this host. */
66768
- pages: count7,
66840
+ pages: count8,
66769
66841
  /** Pages whose preview carries a picture, and a page name. */
66770
- pictured: count7,
66771
- named: count7,
66842
+ pictured: count8,
66843
+ named: count8,
66772
66844
  /** Pages whose fetch failed or was blocked. */
66773
- failed: count7,
66845
+ failed: count8,
66774
66846
  /** The commonest path shapes, at most 5, each with its page count. */
66775
- shapes: external_exports.array(external_exports.object({ shape: external_exports.string(), pages: count7 })).max(5)
66847
+ shapes: external_exports.array(external_exports.object({ shape: external_exports.string(), pages: count8 })).max(5)
66776
66848
  });
66777
66849
  var linkDomainFactsDefinition = external_exports.object({
66778
66850
  domains: external_exports.array(linkDomainDefinition),
66779
66851
  /** Messages with previews read on this page, and how many previews they carry. */
66780
- scannedMessageCount: count7,
66781
- scannedLinks: count7,
66852
+ scannedMessageCount: count8,
66853
+ scannedLinks: count8,
66782
66854
  /** Messages carrying exactly 1, 2, and 3 or more previews on this page. */
66783
- messageCountByLinks: external_exports.array(count7).length(3),
66855
+ messageCountByLinks: external_exports.array(count8).length(3),
66784
66856
  /** Over the whole workspace: live messages with a link, and those with a preview. */
66785
- linkedMessageCount: count7,
66786
- previewedMessageCount: count7,
66857
+ linkedMessageCount: count8,
66858
+ previewedMessageCount: count8,
66787
66859
  /** The last message id read; pass it back as `cursor` to read on, null at the end. */
66788
66860
  nextCursor: external_exports.string().nullable()
66789
66861
  });
66790
66862
  var linkDomainFactsSchema = linkDomainFactsDefinition;
66791
66863
 
66792
66864
  // ../../modules/chat/contract/src/chat.author-ops.ts
66793
- var count8 = external_exports.number().int().nonnegative();
66865
+ var count9 = external_exports.number().int().nonnegative();
66794
66866
  var at2 = external_exports.iso.datetime();
66795
66867
  var conversationAuthorDefinition = external_exports.object({
66796
66868
  kind: external_exports.enum(["person", "agent", "external"]),
@@ -66798,7 +66870,7 @@ var conversationAuthorDefinition = external_exports.object({
66798
66870
  id: external_exports.string(),
66799
66871
  /** The mirror that brought the messages in, or null for messages written in Laze. */
66800
66872
  source: external_exports.string().nullable(),
66801
- messageCount: count8,
66873
+ messageCount: count9,
66802
66874
  firstAt: at2,
66803
66875
  lastAt: at2
66804
66876
  });
@@ -67685,8 +67757,8 @@ var lazeAgentEventSchemaDefinition = external_exports.discriminatedUnion("type",
67685
67757
  }),
67686
67758
  external_exports.object({
67687
67759
  type: external_exports.literal("error"),
67688
- /** `model_key_denied`, `model_usage_limit`, `model_unavailable`, `model_error`,
67689
- * `harness_error`, `harness_stopped`, `harness_start_failed`. */
67760
+ /** `model_key_denied`, `model_login_blocked`, `model_usage_limit`, `model_unavailable`,
67761
+ * `model_error`, `harness_error`, `harness_stopped`, `harness_start_failed`. */
67690
67762
  code: external_exports.string().min(1),
67691
67763
  message: external_exports.string(),
67692
67764
  retryable: external_exports.boolean()
@@ -69113,7 +69185,9 @@ var attentionDetailSchemaDefinition = external_exports.object({
69113
69185
  line: external_exports.string(),
69114
69186
  call: external_exports.string(),
69115
69187
  detail: external_exports.string(),
69116
- judgeLine: external_exports.string().nullable()
69188
+ judgeLine: external_exports.string().nullable(),
69189
+ /** The vault requests the card covers, its own first; an answer sends back the ones shown. */
69190
+ requestIds: external_exports.array(external_exports.string()).optional()
69117
69191
  });
69118
69192
  var attentionDetailSchema = attentionDetailSchemaDefinition;
69119
69193
  var answerAttentionInputSchemaDefinition = external_exports.object({
@@ -69126,7 +69200,9 @@ var answerAttentionInputSchemaDefinition = external_exports.object({
69126
69200
  /** Where the person answered a vault card from; a browser leaves it out. */
69127
69201
  via: external_exports.enum(["channel", "ios"]).optional(),
69128
69202
  /** "always" on a vault card for the card's 30 days instead of the key's own length. */
69129
- durationSeconds: external_exports.number().int().positive().optional()
69203
+ durationSeconds: external_exports.number().int().positive().optional(),
69204
+ /** On a vault card, the request ids the client showed; the answer covers only those. */
69205
+ seenRequestIds: external_exports.array(external_exports.string().min(1).max(64)).max(50).optional()
69130
69206
  });
69131
69207
  var answerAttentionInputSchema = answerAttentionInputSchemaDefinition;
69132
69208
  var askAgentApprovalInputSchemaDefinition = external_exports.object({
@@ -70945,8 +71021,13 @@ var agentLoginChoicesInputSchema = agentLoginChoicesInputSchemaDefinition;
70945
71021
  var agentLoginChoiceSchemaDefinition = external_exports.object({
70946
71022
  id: external_exports.string().min(1),
70947
71023
  name: external_exports.string(),
70948
- /** `room`: it can run now; `limited`: out of usage until `until`; `signed_out`: refused. */
71024
+ /**
71025
+ * `room`: it can run now; `limited`: out of usage until `until`; `signed_out`: refused, or
71026
+ * refused for its Claude subscription (`blocked`).
71027
+ */
70949
71028
  status: external_exports.enum(["room", "limited", "signed_out"]),
71029
+ /** Anthropic refused Claude Code on its subscription; absent on older servers. */
71030
+ blocked: external_exports.boolean().optional(),
70950
71031
  until: external_exports.iso.datetime().nullable(),
70951
71032
  usedPercent: external_exports.number().nullable(),
70952
71033
  /** The login the agent runs on now. */
@@ -71100,8 +71181,13 @@ var harnessLoginEntrySchemaDefinition = external_exports.object({
71100
71181
  id: idSchema13,
71101
71182
  harness: harnessSchema3,
71102
71183
  name: external_exports.string(),
71103
- /** `invalid` once its provider refused the token; `out_of_usage` until `limitedUntil`. */
71184
+ /**
71185
+ * `invalid` once its provider refused the token, or while Anthropic refuses Claude Code on its
71186
+ * subscription (`blocked`); `out_of_usage` until `limitedUntil`.
71187
+ */
71104
71188
  state: external_exports.enum(["ready", "out_of_usage", "invalid"]),
71189
+ /** Anthropic refused Claude Code on its subscription; absent on older servers. */
71190
+ blocked: external_exports.boolean().optional(),
71105
71191
  /** The tightest usage window's percent at the latest reading; null before one. */
71106
71192
  usedPercent: external_exports.number().nullable(),
71107
71193
  /** The soonest window reset at the latest reading. */
@@ -71316,6 +71402,8 @@ var loginSwitchSchemaDefinition = external_exports.object({
71316
71402
  from: external_exports.string(),
71317
71403
  to: external_exports.string(),
71318
71404
  reason: loginSwitchReasonSchema,
71405
+ /** With `signed_out`: Anthropic refused the login's subscription, not its token. */
71406
+ blocked: external_exports.boolean().optional(),
71319
71407
  /** The person who pressed the switch; null when the rotation rule made it. */
71320
71408
  byName: external_exports.string().nullable()
71321
71409
  });
@@ -71378,7 +71466,7 @@ var harnessSignInPollSchemaDefinition = external_exports.discriminatedUnion("sta
71378
71466
  external_exports.object({ status: external_exports.literal("approved"), flow: external_exports.string() })
71379
71467
  ]);
71380
71468
  var harnessSignInPollSchema = harnessSignInPollSchemaDefinition;
71381
- var loginStateSchema = external_exports.enum(["ready", "out_of_usage", "invalid"]);
71469
+ var loginStateSchema = external_exports.enum(["ready", "out_of_usage", "invalid", "blocked"]);
71382
71470
  var isoSchema = external_exports.iso.datetime();
71383
71471
  var loginStatesSchemaDefinition = external_exports.object({
71384
71472
  /** Logins signed in on a person's own Laze computer; Laze holds only the fact. */
@@ -72647,7 +72735,7 @@ var agentsCopy = {
72647
72735
  paintOnly: true,
72648
72736
  storable: agentsForDisk
72649
72737
  };
72650
- var agentCoreTrpc = defineTrpcContract("agents").query("list", { mirrored: agentsCopy }).withInput(external_exports.object({ workspaceId: workspaceIdSchema14 })).withOutput(external_exports.array(agentListEntrySchema)).mutation("create").withInput(createAgentInputSchema).withOutput(agentSchema).mutation("update").withInput(updateAgentInputSchema).withOutput(agentSchema).mutation("remove").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(external_exports.object({ removed: external_exports.literal(true) })).mutation("transfer").withInput(transferAgentInputSchema).withOutput(agentSchema).mutation("resetSession").withInput(resetAgentSessionInputSchema).withOutput(agentSchema).query("faces").withInput(external_exports.object({ workspaceId: workspaceIdSchema14 })).withOutput(external_exports.array(agentFaceSchema)).query("presence").withInput(external_exports.object({ workspaceId: workspaceIdSchema14 })).withOutput(external_exports.array(agentPresenceSchema)).mutation("uploadAvatar").withInput(uploadAgentAvatarInputSchema).withOutput(uploadedAgentAvatarSchema).query("access").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(agentAccessSchema).query("loginActivity").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(loginActivitySchema).mutation("raiseBudget").withInput(raiseBudgetInputSchema).withOutput(raisedBudgetSchema).query("permissionPrompts").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(external_exports.array(agentPermissionPromptSchema)).mutation("share").withInput(shareAgentInputSchema).withOutput(agentAccessSchema).mutation("unshare").withInput(shareAgentInputSchema).withOutput(agentAccessSchema).query("harnessLogins").withInput(external_exports.object({ workspaceId: workspaceIdSchema14 })).withOutput(harnessLoginsSchema).mutation("saveHarnessLogin").withInput(saveHarnessLoginInputSchema).withOutput(harnessLoginsSchema).mutation("removeHarnessLogin").withInput(removeHarnessLoginInputSchema).withOutput(harnessLoginsSchema).query("listHarnessLogins").withInput(external_exports.object({ workspaceId: workspaceIdSchema14 })).withOutput(harnessLoginListSchema).mutation("addHarnessLogin").withInput(addHarnessLoginInputSchema).withOutput(harnessLoginListSchema).mutation("renameHarnessLogin").withInput(renameHarnessLoginInputSchema).withOutput(harnessLoginListSchema).mutation("deleteHarnessLogin").withInput(deleteHarnessLoginInputSchema).withOutput(harnessLoginListSchema).mutation("checkLoginUsage").withInput(checkLoginUsageInputSchema).withOutput(loginUsageCheckSchema).query("loginPools").withInput(external_exports.object({ workspaceId: workspaceIdSchema14 })).withOutput(loginPoolsSchema).mutation("createLoginPool").withInput(createLoginPoolInputSchema).withOutput(loginPoolsSchema).mutation("renameLoginPool").withInput(renameLoginPoolInputSchema).withOutput(loginPoolsSchema).mutation("deleteLoginPool").withInput(loginPoolRefInputSchema).withOutput(loginPoolsSchema).mutation("addPoolLogin").withInput(addPoolLoginInputSchema).withOutput(loginPoolsSchema).mutation("removePoolLogin").withInput(removePoolLoginInputSchema).withOutput(loginPoolsSchema).mutation("setPoolMember").withInput(setPoolMemberInputSchema).withOutput(loginPoolsSchema).mutation("removePoolMember").withInput(removePoolMemberInputSchema).withOutput(loginPoolsSchema).mutation("setAgentPool").withInput(setAgentPoolInputSchema).withOutput(agentSchema).mutation("openDirect").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(external_exports.object({ channelId: idSchema19 })).mutation("startConversation").withInput(startConversationInputSchema).withOutput(startedConversationSchema).query("conversations").withInput(listConversationsInputSchema).withOutput(external_exports.array(conversationSummarySchema2)).mutation("joinConversation").withInput(conversationInputSchema).withOutput(conversationSummarySchema2).mutation("renameConversation").withInput(renameConversationInputSchema).withOutput(conversationSummarySchema2).mutation("leaveConversation").withInput(conversationInputSchema).withOutput(external_exports.object({ left: external_exports.literal(true) })).mutation("deleteConversation").withInput(conversationInputSchema).withOutput(external_exports.object({ deleted: external_exports.literal(true) })).mutation("mintLink").withInput(mintLinkInputSchema).withOutput(mintedLinkSchema).query("linkRedemption").withInput(linkRedemptionInputSchema).withOutput(linkRedemptionSchema).query("oauthRequest").withInput(oauthRequestInputSchema).withOutput(oauthRequestViewSchema).mutation("oauthApprove").withInput(approveOAuthInputSchema).withOutput(oauthRedirectSchema).mutation("oauthDeny").withInput(oauthRequestInputSchema).withOutput(oauthRedirectSchema).mutation("disconnect").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(external_exports.object({ disconnected: external_exports.literal(true) })).mutation("setGithub").withInput(setAgentGithubInputSchema).withOutput(agentSchema).query("githubWatches").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(external_exports.array(agentGithubWatchSchema)).mutation("watchGithub").withInput(watchGithubInputSchema).withOutput(agentGithubWatchSchema).mutation("unwatchGithub").withInput(unwatchGithubInputSchema).withOutput(external_exports.object({ removed: external_exports.literal(true) })).build();
72738
+ var agentCoreTrpc = defineTrpcContract("agents").query("list", { mirrored: agentsCopy }).withInput(external_exports.object({ workspaceId: workspaceIdSchema14 })).withOutput(external_exports.array(agentListEntrySchema)).mutation("create").withInput(createAgentInputSchema).withOutput(agentSchema).mutation("update").withInput(updateAgentInputSchema).withOutput(agentSchema).mutation("remove").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(external_exports.object({ removed: external_exports.literal(true) })).mutation("transfer").withInput(transferAgentInputSchema).withOutput(agentSchema).mutation("resetSession").withInput(resetAgentSessionInputSchema).withOutput(agentSchema).query("faces").withInput(external_exports.object({ workspaceId: workspaceIdSchema14 })).withOutput(external_exports.array(agentFaceSchema)).query("presence").withInput(external_exports.object({ workspaceId: workspaceIdSchema14 })).withOutput(external_exports.array(agentPresenceSchema)).mutation("uploadAvatar").withInput(uploadAgentAvatarInputSchema).withOutput(uploadedAgentAvatarSchema).query("access").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(agentAccessSchema).query("loginActivity").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(loginActivitySchema).mutation("raiseBudget").withInput(raiseBudgetInputSchema).withOutput(raisedBudgetSchema).query("permissionPrompts").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(external_exports.array(agentPermissionPromptSchema)).mutation("share").withInput(shareAgentInputSchema).withOutput(agentAccessSchema).mutation("unshare").withInput(shareAgentInputSchema).withOutput(agentAccessSchema).query("harnessLogins").withInput(external_exports.object({ workspaceId: workspaceIdSchema14 })).withOutput(harnessLoginsSchema).mutation("saveHarnessLogin").withInput(saveHarnessLoginInputSchema).withOutput(harnessLoginsSchema).mutation("removeHarnessLogin").withInput(removeHarnessLoginInputSchema).withOutput(harnessLoginsSchema).query("listHarnessLogins").withInput(external_exports.object({ workspaceId: workspaceIdSchema14 })).withOutput(harnessLoginListSchema).mutation("addHarnessLogin").withInput(addHarnessLoginInputSchema).withOutput(harnessLoginListSchema).mutation("renameHarnessLogin").withInput(renameHarnessLoginInputSchema).withOutput(harnessLoginListSchema).mutation("deleteHarnessLogin").withInput(deleteHarnessLoginInputSchema).withOutput(harnessLoginListSchema).mutation("checkLoginUsage").withInput(checkLoginUsageInputSchema).withOutput(loginUsageCheckSchema).query("loginPools").withInput(external_exports.object({ workspaceId: workspaceIdSchema14 })).withOutput(loginPoolsSchema).mutation("createLoginPool").withInput(createLoginPoolInputSchema).withOutput(loginPoolsSchema).mutation("renameLoginPool").withInput(renameLoginPoolInputSchema).withOutput(loginPoolsSchema).mutation("deleteLoginPool").withInput(loginPoolRefInputSchema).withOutput(loginPoolsSchema).mutation("addPoolLogin").withInput(addPoolLoginInputSchema).withOutput(loginPoolsSchema).mutation("removePoolLogin").withInput(removePoolLoginInputSchema).withOutput(loginPoolsSchema).mutation("setPoolMember").withInput(setPoolMemberInputSchema).withOutput(loginPoolsSchema).mutation("removePoolMember").withInput(removePoolMemberInputSchema).withOutput(loginPoolsSchema).mutation("setAgentPool").withInput(setAgentPoolInputSchema).withOutput(agentSchema).mutation("openDirect").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(external_exports.object({ channelId: idSchema19 })).mutation("startConversation").withInput(startConversationInputSchema).withOutput(startedConversationSchema).query("conversations").withInput(listConversationsInputSchema).withOutput(external_exports.array(conversationSummarySchema2)).mutation("joinConversation").withInput(conversationInputSchema).withOutput(conversationSummarySchema2).mutation("renameConversation").withInput(renameConversationInputSchema).withOutput(conversationSummarySchema2).mutation("leaveConversation").withInput(conversationInputSchema).withOutput(external_exports.object({ left: external_exports.literal(true) })).mutation("deleteConversation").withInput(conversationInputSchema).withOutput(external_exports.object({ deleted: external_exports.literal(true) })).mutation("mintLink").withInput(mintLinkInputSchema).withOutput(mintedLinkSchema).query("linkRedemption").withInput(linkRedemptionInputSchema).withOutput(linkRedemptionSchema).query("oauthRequest").withInput(oauthRequestInputSchema).withOutput(oauthRequestViewSchema).mutation("oauthApprove").withInput(approveOAuthInputSchema).withOutput(oauthRedirectSchema).mutation("oauthDeny").withInput(oauthRequestInputSchema).withOutput(oauthRedirectSchema).mutation("disconnect").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(external_exports.object({ disconnected: external_exports.literal(true) }).meta({ deprecated: true })).mutation("setGithub").withInput(setAgentGithubInputSchema).withOutput(agentSchema).query("githubWatches").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(external_exports.array(agentGithubWatchSchema)).mutation("watchGithub").withInput(watchGithubInputSchema).withOutput(agentGithubWatchSchema).mutation("unwatchGithub").withInput(unwatchGithubInputSchema).withOutput(external_exports.object({ removed: external_exports.literal(true) })).build();
72651
72739
  var agentTurnTrpc = defineTrpcContract("agents").mutation("answerAttention").withInput(answerAttentionInputSchema).withOutput(external_exports.object({ answered: external_exports.literal(true) })).query("attentionDetail").withInput(attentionDetailInputSchema).withOutput(attentionDetailSchema).mutation("stopTurn").withInput(stopAgentTurnInputSchema).withOutput(external_exports.object({ stopped: external_exports.literal(true) })).query("mayStopTurn").withInput(stopAgentTurnInputSchema).withOutput(external_exports.object({ allowed: external_exports.boolean() })).mutation("retryTurn").withInput(retryAgentTurnInputSchema).withOutput(external_exports.object({ retried: external_exports.literal(true) })).query("retryState").withInput(retryAgentTurnInputSchema).withOutput(agentRetryStateSchema).query("liveSteps").withInput(liveStepsInputSchema).withOutput(liveStepsSchema).query("workingNow").withInput(agentWorkingInputSchema).withOutput(agentWorkingSchema).mutation("compactSession").withInput(compactAgentSessionInputSchema).withOutput(external_exports.object({ requested: external_exports.literal(true) })).mutation("catchUp").withInput(startCatchUpInputSchema).withOutput(catchUpRunSchema).mutation("catchUpAsk").withInput(askCatchUpInputSchema).withOutput(catchUpRunSchema).query("catchUpRun").withInput(catchUpRunInputSchema).withOutput(catchUpRunSchema).mutation("catchUpStop").withInput(catchUpRunInputSchema).withOutput(catchUpRunSchema).mutation("restartComputer").withInput(restartAgentComputerInputSchema).withOutput(external_exports.object({ restarted: external_exports.boolean() })).build();
72652
72740
  var agentChannelSettingsTrpc = defineTrpcContract("agents").query("monitors").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19 })).withOutput(external_exports.array(agentMonitorSchema)).query("channelLevel").withInput(external_exports.object({ workspaceId: workspaceIdSchema14, agentId: idSchema19, channelId: idSchema19 })).withOutput(channelLevelSchema).mutation("setChannelLevel").withInput(setChannelLevelInputSchema).withOutput(channelLevelSchema).mutation("unmuteChannel").withInput(unmuteAgentChannelInputSchema).withOutput(channelLevelSchema).mutation("cancelHeld").withInput(cancelHeldInputSchema).withOutput(cancelHeldResultSchema).mutation("useLazeModelsUntilReset").withInput(useLazeModelsUntilResetInputSchema).withOutput(lazeModelsUntilResetSchema).query("agentLoginChoices").withInput(agentLoginChoicesInputSchema).withOutput(agentLoginChoicesSchema).mutation("switchAgentLogin").withInput(switchAgentLoginInputSchema).withOutput(switchedAgentLoginSchema).build();
72653
72741
  var agentJoinTrpc = defineTrpcContract("agents").query("joinRequest").withInput(joinRequestInputSchema).withOutput(joinRequestViewSchema).mutation("approveJoinRequest").withInput(approveJoinRequestInputSchema).withOutput(joinRequestViewSchema).mutation("denyJoinRequest").withInput(joinRequestInputSchema).withOutput(joinRequestViewSchema).build();
@@ -72703,6 +72791,7 @@ var AgentLiveStepsSlot = agentUi.component("liveSteps");
72703
72791
  var AgentComputerRestoreSlot = agentUi.component("computerRestore");
72704
72792
  var AgentCatchUpSlot = agentUi.component("catchUp");
72705
72793
  var AgentSessionHooksToken = agentUi.hooks("session");
72794
+ var AgentTurnHooksToken = agentUi.hooks("turn");
72706
72795
  var AgentSetupBannerSlot = agentUi.component("setupBanner");
72707
72796
  var AgentChatStartHooksToken = agentUi.hooks("chatStart");
72708
72797
  var AgentThingsToDoSlot = agentUi.component("thingsToDo");
@@ -74550,8 +74639,8 @@ async function periodStartOf({
74550
74639
  );
74551
74640
  return report3.from;
74552
74641
  } catch {
74553
- const day2 = now.toZonedDateTimeISO("UTC");
74554
- return Temporal3.PlainDateTime.from({ year: day2.year, month: day2.month, day: 1 }).toZonedDateTime("UTC").toInstant().toString();
74642
+ const day3 = now.toZonedDateTimeISO("UTC");
74643
+ return Temporal3.PlainDateTime.from({ year: day3.year, month: day3.month, day: 1 }).toZonedDateTime("UTC").toInstant().toString();
74555
74644
  }
74556
74645
  }
74557
74646
  async function agentsActivity({ context, args }) {
@@ -74781,10 +74870,10 @@ function whereOf(message2) {
74781
74870
  }
74782
74871
  function catchUpLinesOf(message2) {
74783
74872
  if (!message2.catchUp) return [];
74784
- const { count: count18, older } = message2.catchUp;
74873
+ const { count: count19, older } = message2.catchUp;
74785
74874
  const where = whereOf(message2);
74786
74875
  const lines2 = [
74787
- `${count18} ${count18 === 1 ? "message" : "messages"} in ${where} while you were away.`
74876
+ `${count19} ${count19 === 1 ? "message" : "messages"} in ${where} while you were away.`
74788
74877
  ];
74789
74878
  if (older === 0) return lines2;
74790
74879
  const channel = message2.channelKind === "public" || message2.channelKind === "private";
@@ -74812,9 +74901,9 @@ function hookContextOf({
74812
74901
  messages,
74813
74902
  self: self2
74814
74903
  }) {
74815
- const count18 = messages.length === 1 ? "A message" : `${messages.length} messages`;
74904
+ const count19 = messages.length === 1 ? "A message" : `${messages.length} messages`;
74816
74905
  return [
74817
- `${count18} reached you in Laze${selfClauseOf({ self: self2 })}:`,
74906
+ `${count19} reached you in Laze${selfClauseOf({ self: self2 })}:`,
74818
74907
  "",
74819
74908
  ...messages.map((message2) => formatInboxMessage({ message: message2 })),
74820
74909
  "",
@@ -74829,7 +74918,7 @@ function selfClauseOf({ self: self2 }) {
74829
74918
  function record2(value) {
74830
74919
  return typeof value === "object" && value !== null ? value : {};
74831
74920
  }
74832
- function count9(value) {
74921
+ function count10(value) {
74833
74922
  return typeof value === "number" && Number.isFinite(value) && value >= 0 ? value : void 0;
74834
74923
  }
74835
74924
  function parse3(line) {
@@ -74865,17 +74954,17 @@ function compactionOf({
74865
74954
  return {
74866
74955
  key: typeof entry2.uuid === "string" ? entry2.uuid : String(index),
74867
74956
  trigger: meta3.trigger === "manual" ? "manual" : "auto",
74868
- tokensBefore: count9(meta3.preTokens),
74869
- tokensAfter: count9(meta3.postTokens),
74957
+ tokensBefore: count10(meta3.preTokens),
74958
+ tokensAfter: count10(meta3.postTokens),
74870
74959
  at: typeof entry2.timestamp === "string" ? entry2.timestamp : "1970-01-01T00:00:00.000Z"
74871
74960
  };
74872
74961
  }
74873
74962
  function usageOf({ entry: entry2 }) {
74874
74963
  const message2 = record2(entry2.message);
74875
74964
  const usage2 = record2(message2.usage);
74876
- const input2 = count9(usage2.input_tokens);
74965
+ const input2 = count10(usage2.input_tokens);
74877
74966
  if (input2 === void 0) return void 0;
74878
- const cached2 = (count9(usage2.cache_read_input_tokens) ?? 0) + (count9(usage2.cache_creation_input_tokens) ?? 0);
74967
+ const cached2 = (count10(usage2.cache_read_input_tokens) ?? 0) + (count10(usage2.cache_creation_input_tokens) ?? 0);
74879
74968
  return {
74880
74969
  tokens: input2 + cached2,
74881
74970
  ...typeof message2.model === "string" ? { model: message2.model } : {}
@@ -75798,7 +75887,7 @@ var slackConfig = Config.define((c) => ({
75798
75887
  }));
75799
75888
 
75800
75889
  // ../../modules/slack/contract/src/slack-ops.ts
75801
- var count10 = external_exports.number().int().nonnegative();
75890
+ var count11 = external_exports.number().int().nonnegative();
75802
75891
  var at3 = external_exports.iso.datetime();
75803
75892
  var slackMirrorHealthDefinition = external_exports.object({
75804
75893
  mirrors: external_exports.array(
@@ -75811,19 +75900,19 @@ var slackMirrorHealthDefinition = external_exports.object({
75811
75900
  /** Shared with another organisation, such as a Slack Connect channel. */
75812
75901
  external: external_exports.boolean(),
75813
75902
  botMember: external_exports.boolean(),
75814
- linkedMembers: count10,
75815
- cacheDays: count10,
75903
+ linkedMembers: count11,
75904
+ cacheDays: count11,
75816
75905
  backfilledAt: at3.nullable(),
75817
75906
  reconciledAt: at3.nullable(),
75818
75907
  /** Message links Laze holds for the conversation, both ways. */
75819
- links: count10,
75908
+ links: count11,
75820
75909
  /** Thread roots Laze holds a reply of. */
75821
- threads: count10,
75910
+ threads: count11,
75822
75911
  /** Roots whose Slack reply count, when last read, is above the replies Laze holds. */
75823
- threadsShort: count10,
75824
- repliesShort: count10,
75912
+ threadsShort: count11,
75913
+ repliesShort: count11,
75825
75914
  /** Threads Laze holds whose root is older than the cache window. */
75826
- oldThreads: count10
75915
+ oldThreads: count11
75827
75916
  })
75828
75917
  )
75829
75918
  });
@@ -75834,10 +75923,10 @@ var DURATION = /^(\d+)\s*(m|min|mins|minutes?|h|hours?|d|days?)$/i;
75834
75923
  function minutesOf({ text: text3 }) {
75835
75924
  const match = DURATION.exec(text3.trim());
75836
75925
  if (!match?.[1] || !match[2]) return null;
75837
- const count18 = Number(match[1]);
75926
+ const count19 = Number(match[1]);
75838
75927
  const unit = match[2].toLowerCase()[0];
75839
75928
  const perUnit = { d: 1440, h: 60, m: 1 };
75840
- const minutes = count18 * (perUnit[unit ?? "m"] ?? 1);
75929
+ const minutes = count19 * (perUnit[unit ?? "m"] ?? 1);
75841
75930
  return minutes > 0 ? minutes : null;
75842
75931
  }
75843
75932
  function muteTextOf({ mute }) {
@@ -76050,7 +76139,7 @@ function slackHitLines({
76050
76139
  ...link3 ? [` ${link3}`] : []
76051
76140
  ];
76052
76141
  }
76053
- var count11 = (n) => `${n} message${n === 1 ? "" : "s"}`;
76142
+ var count12 = (n) => `${n} message${n === 1 ? "" : "s"}`;
76054
76143
  function slackSectionLines({
76055
76144
  slack: slack2,
76056
76145
  laze,
@@ -76063,7 +76152,7 @@ function slackSectionLines({
76063
76152
  });
76064
76153
  if (slack2.teams.some((team) => team.state === "searched")) {
76065
76154
  const found = slack2.hits.length;
76066
- lines2.push(found === 0 ? "From Slack: nothing more." : `From Slack: ${count11(found)}`);
76155
+ lines2.push(found === 0 ? "From Slack: nothing more." : `From Slack: ${count12(found)}`);
76067
76156
  }
76068
76157
  for (const hit of slack2.hits) lines2.push(...slackHitLines({ hit, laze, url: url2, workspaceId }), "");
76069
76158
  return lines2;
@@ -76074,7 +76163,7 @@ function formatSearch({
76074
76163
  workspaceId
76075
76164
  }) {
76076
76165
  const { laze, slack: slack2, query } = output2;
76077
- const lines2 = laze.hits.length === 0 ? [`No Laze messages match "${query}".`] : [`Laze: ${count11(laze.hits.length)} for "${query}"`];
76166
+ const lines2 = laze.hits.length === 0 ? [`No Laze messages match "${query}".`] : [`Laze: ${count12(laze.hits.length)} for "${query}"`];
76078
76167
  for (const hit of laze.hits) {
76079
76168
  lines2.push(...lazeHitLines({ hit, laze, url: url2, workspaceId }), "");
76080
76169
  }
@@ -78411,7 +78500,7 @@ var openclawAgentKeySchemaDefinition = external_exports.object({
78411
78500
  });
78412
78501
  var openclawAgentKeySchema = openclawAgentKeySchemaDefinition;
78413
78502
  var OpenclawApi = moduleApi()("openclaw");
78414
- var openclawTrpc = defineTrpcContract("openclaw").query("overview").withInput(external_exports.object({ workspaceId: workspaceIdSchema18 })).withOutput(openclawOverviewSchema).mutation("connect").withInput(connectOpenclawInputSchema).withOutput(openclawConnectionViewSchema).mutation("setAgent").withInput(setOpenclawAgentInputSchema).withOutput(openclawConnectionViewSchema).mutation("setFeed").withInput(setOpenclawFeedInputSchema).withOutput(openclawConnectionViewSchema).mutation("agentKey").withInput(openclawAgentRefSchema).withOutput(openclawAgentKeySchema).mutation("disconnect").withInput(openclawConnectionRefSchema).withOutput(external_exports.object({ disconnected: external_exports.literal(true) })).build();
78503
+ var openclawTrpc = defineTrpcContract("openclaw").query("overview").withInput(external_exports.object({ workspaceId: workspaceIdSchema18 })).withOutput(openclawOverviewSchema).mutation("connect").withInput(connectOpenclawInputSchema).withOutput(openclawConnectionViewSchema).mutation("setAgent").withInput(setOpenclawAgentInputSchema).withOutput(openclawConnectionViewSchema).mutation("setFeed").withInput(setOpenclawFeedInputSchema).withOutput(openclawConnectionViewSchema).mutation("agentKey").withInput(openclawAgentRefSchema).withOutput(openclawAgentKeySchema.meta({ deprecated: true })).mutation("disconnect").withInput(openclawConnectionRefSchema).withOutput(external_exports.object({ disconnected: external_exports.literal(true) })).build();
78415
78504
 
78416
78505
  // ../../modules/openclaw/contract/src/openclaw.config.ts
78417
78506
  var positiveInt5 = external_exports.coerce.number().int().positive();
@@ -84465,9 +84554,9 @@ function formatAppMoney({
84465
84554
  maximumFractionDigits: tiny ? 4 : 2
84466
84555
  }).format(amount);
84467
84556
  }
84468
- var count12 = new Intl.NumberFormat("en-US");
84557
+ var count13 = new Intl.NumberFormat("en-US");
84469
84558
  function plural2({ value, one, many }) {
84470
- return `${count12.format(value)} ${value === 1 ? one : many}`;
84559
+ return `${count13.format(value)} ${value === 1 ? one : many}`;
84471
84560
  }
84472
84561
  function appCostQuantityText(line) {
84473
84562
  const { quantity } = line;
@@ -87943,7 +88032,7 @@ var appWrite = async ({ context, args }) => {
87943
88032
  });
87944
88033
  };
87945
88034
  function seedLine(seeded) {
87946
- const created = Object.entries(seeded.created).map(([name3, count18]) => `${count18} in ${name3}`);
88035
+ const created = Object.entries(seeded.created).map(([name3, count19]) => `${count19} in ${name3}`);
87947
88036
  const parts = [
87948
88037
  created.length ? `Loaded starter records: ${created.join(", ")}.` : "",
87949
88038
  seeded.skipped.length ? `Left ${seeded.skipped.join(", ")} as it was: it already holds records.` : ""
@@ -88269,8 +88358,8 @@ function cardLine({ choice }) {
88269
88358
  var appCard = async ({ context, args }) => {
88270
88359
  const client = await appClient({ context, args });
88271
88360
  const appId = await appIdOf({ client, args, folder: folderOf({ context, word: void 0 }) });
88272
- const count18 = Number(flagText({ args, name: "rows", fallback: "5" }));
88273
- if (!Number.isInteger(count18) || count18 < 1 || count18 > 10) {
88361
+ const count19 = Number(flagText({ args, name: "rows", fallback: "5" }));
88362
+ if (!Number.isInteger(count19) || count19 < 1 || count19 > 10) {
88274
88363
  throw new CliUsageError("--rows is a whole number from 1 to 10");
88275
88364
  }
88276
88365
  const text3 = (name3) => flagText({ args, name: name3 }) || null;
@@ -88283,7 +88372,7 @@ var appCard = async ({ context, args }) => {
88283
88372
  collection: text3("collection"),
88284
88373
  filter: flagText({ args, name: "where" }) || flagText({ args, name: "filter" }),
88285
88374
  sort: flagText({ args, name: "sort" }),
88286
- rows: count18,
88375
+ rows: count19,
88287
88376
  caption: text3("caption")
88288
88377
  }
88289
88378
  });
@@ -89981,9 +90070,9 @@ function presenceColumns(member) {
89981
90070
  return [member.presence, `${status11.emoji} ${status11.text}`.trim() + until, ...dndColumn(member)];
89982
90071
  }
89983
90072
  function formatMembers({ detail }) {
89984
- const count18 = `${detail.members.length} ${detail.members.length === 1 ? "member" : "members"}`;
90073
+ const count19 = `${detail.members.length} ${detail.members.length === 1 ? "member" : "members"}`;
89985
90074
  const ends = detail.endsAt ? `, ends ${utcTimeOf(detail.endsAt)}` : "";
89986
- const head = `${channelLabelOf(detail)} (${detail.id}), ${count18}${ends}`;
90075
+ const head = `${channelLabelOf(detail)} (${detail.id}), ${count19}${ends}`;
89987
90076
  const rows = detail.members.map(
89988
90077
  (member) => [ROLE[member.role], member.name, member.kind, member.id, ...presenceColumns(member)].join(" ")
89989
90078
  );
@@ -90023,13 +90112,13 @@ function formatBrowsable({
90023
90112
  }) {
90024
90113
  if (channels3.length === 0) return "No channels to browse.\n";
90025
90114
  const rows = channels3.map((channel) => {
90026
- const count18 = `${channel.memberCount} ${channel.memberCount === 1 ? "member" : "members"}`;
90115
+ const count19 = `${channel.memberCount} ${channel.memberCount === 1 ? "member" : "members"}`;
90027
90116
  const marks = [
90028
90117
  channel.joined ? "joined" : "not joined",
90029
90118
  ...channel.private ? ["private"] : [],
90030
90119
  ...channel.archived ? ["archived"] : []
90031
90120
  ].join(", ");
90032
- const text3 = `#${channel.name} ${channel.id} ${count18} ${marks} ${channel.topic}`;
90121
+ const text3 = `#${channel.name} ${channel.id} ${count19} ${marks} ${channel.topic}`;
90033
90122
  return withLink({ text: text3, url: channel.url, base });
90034
90123
  });
90035
90124
  return `${rows.join("\n")}
@@ -91322,6 +91411,7 @@ var browserTabAskDefinition = external_exports.object({
91322
91411
  savedIn: external_exports.string(),
91323
91412
  at: external_exports.iso.datetime()
91324
91413
  });
91414
+ var browserTabSignInHintSchema = external_exports.enum(["google_code", "none"]);
91325
91415
  var browserTabDefinition = external_exports.object({
91326
91416
  id: external_exports.string().min(1),
91327
91417
  workspaceId: external_exports.string().min(1),
@@ -91340,6 +91430,8 @@ var browserTabDefinition = external_exports.object({
91340
91430
  reused: external_exports.boolean().optional(),
91341
91431
  /** Only on a read: the site the owner's dedicated IP last failed to reach, lately. */
91342
91432
  routeFailure: external_exports.object({ host: external_exports.string().min(1), at: external_exports.iso.datetime() }).nullable().optional(),
91433
+ /** Only on a read while a request is open, for who sees the screen: help for the page now. */
91434
+ signInHint: browserTabSignInHintSchema.optional(),
91343
91435
  /** What the reader may do: see the screen, type into it, change the tab; asked: the open
91344
91436
  * request names them. */
91345
91437
  you: external_exports.object({
@@ -93618,7 +93710,7 @@ var ownMachineSshConnectSchema = ownMachineSshConnectDefinition;
93618
93710
  var reconcileDefinition = external_exports.object({ workspaceId: workspaceIdSchema23, machineId: idSchema26 });
93619
93711
  var ComputeApi = moduleApi()("compute");
93620
93712
  var computeBrowserTabTrpc = defineTrpcContract("compute").query("browserTabs").withInput(browserTabListInputSchema).withOutput(browserTabListSchema).query("browserTab").withInput(browserTabInputSchema).withOutput(browserTabSchema).mutation("openBrowserTab").withInput(openBrowserTabInputSchema).withOutput(browserTabSchema).mutation("browserTabScreen").withInput(browserTabInputSchema).withOutput(browserTabScreenSchema).mutation("sizeBrowserTabScreen").withInput(browserTabScreenSizeInputSchema).withOutput(browserTabScreenSizeSchema).mutation("gotoBrowserTab").withInput(browserTabGotoInputSchema).withOutput(browserTabPageSchema).mutation("stepBrowserTab").withInput(browserTabStepInputSchema).withOutput(browserTabPageSchema).mutation("doneOnBrowserTab").withInput(browserTabInputSchema).withOutput(browserTabSchema).mutation("shareBrowserTab").withInput(browserTabShareInputSchema).withOutput(browserTabSchema).mutation("closeBrowserTab").withInput(browserTabInputSchema).withOutput(external_exports.object({ closed: external_exports.literal(true) })).build();
93621
- var computeCoreTrpc = defineTrpcContract("compute").query("status").withInput(computeWorkspaceInputSchema).withOutput(computeStatusSchema).query("computer").withInput(computeWorkspaceInputSchema).withOutput(computerStatusSchema).mutation("setComputerSize").withInput(setComputerSizeInputSchema).withOutput(computerSizeAnswerSchema).mutation("requestComputerSize").withInput(setComputerSizeInputSchema).withOutput(computerRequestSchema).mutation("cancelComputerRequest").withInput(computerRequestRefSchema).withOutput(computerRequestSchema).mutation("restartComputer").withInput(restartComputerInputSchema).withOutput(computerRestartAnswerSchema).query("computers").withInput(computeWorkspaceInputSchema).withOutput(computerListSchema).query("dedicatedIp").withInput(computeWorkspaceInputSchema).withOutput(dedicatedIpStatusSchema).mutation("setDedicatedIp").withInput(setDedicatedIpInputSchema).withOutput(dedicatedIpAnswerSchema).mutation("turnOffDedicatedIp").withInput(computeWorkspaceInputSchema).withOutput(dedicatedIpAnswerSchema).mutation("setDedicatedIpDomains").withInput(setDedicatedIpDomainsInputSchema).withOutput(dedicatedIpAnswerSchema).query("dedicatedIps").withInput(computeWorkspaceInputSchema).withOutput(dedicatedIpListSchema).query("dedicatedIpCountries").withInput(computeWorkspaceInputSchema).withOutput(dedicatedIpCountriesSchema).query("dedicatedIpOffer").withInput(dedicatedIpOfferInputSchema).withOutput(dedicatedIpOfferSchema).query("myDedicatedIps").withInput(computeWorkspaceInputSchema).withOutput(myDedicatedIpsSchema).mutation("buyDedicatedIp").withInput(buyDedicatedIpInputSchema).withOutput(heldIpAnswerSchema).mutation("attachDedicatedIp").withInput(attachDedicatedIpInputSchema).withOutput(heldIpAnswerSchema).mutation("detachDedicatedIp").withInput(detachDedicatedIpInputSchema).withOutput(heldIpAnswerSchema).mutation("releaseDedicatedIp").withInput(heldIpRefSchema).withOutput(heldIpAnswerSchema).mutation("setHeldIpSites").withInput(setHeldIpSitesInputSchema).withOutput(heldIpAnswerSchema).query("machineDedicatedIps").withInput(computeWorkspaceInputSchema).withOutput(machineDedicatedIpsSchema).query("list").withInput(computeWorkspaceInputSchema).withOutput(external_exports.array(machineSchema)).query("get").withInput(machineRefSchema).withOutput(machineSchema).mutation("setupBrowser").withInput(setupBrowserInputSchema).withOutput(machineSchema).mutation("sleep").withInput(machineRefSchema).withOutput(machineSchema).mutation("wake").withInput(machineRefSchema).withOutput(machineSchema).mutation("delete").withInput(machineRefSchema).withOutput(machineSchema).mutation("rename").withInput(renameMachineInputSchema).withOutput(machineSchema).mutation("grant").withInput(machineGrantInputSchema).withOutput(machineSchema).mutation("revokeGrant").withInput(machineGrantInputSchema).withOutput(machineSchema).mutation("setBudget").withInput(setMachineBudgetInputSchema).withOutput(machineSchema).mutation("openScreen").withInput(openScreenInputSchema).withOutput(screenSessionSchema).mutation("openLoginTerminal").withInput(openLoginTerminalInputSchema).withOutput(loginTerminalSchema).mutation("finishScreen").withInput(screenRefSchema).withOutput(machineSchema).mutation("connectOwn").withInput(connectOwnMachineInputSchema).withOutput(ownMachineConnectSchema).mutation("newConnectCommand").withInput(machineRefSchema).withOutput(ownMachineConnectSchema).mutation("connectSsh").withInput(connectSshMachineInputSchema).withOutput(ownMachineSshConnectSchema).mutation("trustHostKey").withInput(trustHostKeyInputSchema).withOutput(machineSchema).mutation("checkHealth").withInput(machineRefSchema).withOutput(machineSchema).mutation("hostAgent").withInput(hostAgentInputSchema).withOutput(machineSchema).mutation("unhostAgent").withInput(unhostAgentInputSchema).withOutput(external_exports.object({ agentId: external_exports.string() })).mutation("pairWhatsapp").withInput(whatsappPairInputSchema).withOutput(whatsappPairingSchema).query("whatsappMirror").withInput(machineRefSchema).withOutput(whatsappMirrorSettingsSchema).mutation("setWhatsappMirror").withInput(setWhatsappMirrorInputSchema).withOutput(whatsappMirrorSettingsSchema).query("whatsappPairing").withInput(whatsappPairingRefSchema).withOutput(whatsappPairingSchema).mutation("cancelWhatsappPairing").withInput(whatsappPairingRefSchema).withOutput(whatsappPairingSchema).mutation("unpairWhatsapp").withInput(machineRefSchema).withOutput(machineSchema).build();
93713
+ var computeCoreTrpc = defineTrpcContract("compute").query("status").withInput(computeWorkspaceInputSchema).withOutput(computeStatusSchema).query("computer").withInput(computeWorkspaceInputSchema).withOutput(computerStatusSchema).mutation("setComputerSize").withInput(setComputerSizeInputSchema).withOutput(computerSizeAnswerSchema).mutation("requestComputerSize").withInput(setComputerSizeInputSchema).withOutput(computerRequestSchema).mutation("cancelComputerRequest").withInput(computerRequestRefSchema).withOutput(computerRequestSchema).mutation("restartComputer").withInput(restartComputerInputSchema).withOutput(computerRestartAnswerSchema).query("computers").withInput(computeWorkspaceInputSchema).withOutput(computerListSchema).query("dedicatedIp").withInput(computeWorkspaceInputSchema).withOutput(dedicatedIpStatusSchema).mutation("setDedicatedIp").withInput(setDedicatedIpInputSchema).withOutput(dedicatedIpAnswerSchema).mutation("turnOffDedicatedIp").withInput(computeWorkspaceInputSchema).withOutput(dedicatedIpAnswerSchema).mutation("setDedicatedIpDomains").withInput(setDedicatedIpDomainsInputSchema).withOutput(dedicatedIpAnswerSchema).query("dedicatedIps").withInput(computeWorkspaceInputSchema).withOutput(dedicatedIpListSchema).query("dedicatedIpCountries").withInput(computeWorkspaceInputSchema).withOutput(dedicatedIpCountriesSchema).query("dedicatedIpOffer").withInput(dedicatedIpOfferInputSchema).withOutput(dedicatedIpOfferSchema).query("myDedicatedIps").withInput(computeWorkspaceInputSchema).withOutput(myDedicatedIpsSchema).mutation("buyDedicatedIp").withInput(buyDedicatedIpInputSchema).withOutput(heldIpAnswerSchema).mutation("attachDedicatedIp").withInput(attachDedicatedIpInputSchema).withOutput(heldIpAnswerSchema).mutation("detachDedicatedIp").withInput(detachDedicatedIpInputSchema).withOutput(heldIpAnswerSchema).mutation("releaseDedicatedIp").withInput(heldIpRefSchema).withOutput(heldIpAnswerSchema).mutation("setHeldIpSites").withInput(setHeldIpSitesInputSchema).withOutput(heldIpAnswerSchema).query("machineDedicatedIps").withInput(computeWorkspaceInputSchema).withOutput(machineDedicatedIpsSchema).query("list").withInput(computeWorkspaceInputSchema).withOutput(external_exports.array(machineSchema)).query("get").withInput(machineRefSchema).withOutput(machineSchema).mutation("setupBrowser").withInput(setupBrowserInputSchema).withOutput(machineSchema).mutation("sleep").withInput(machineRefSchema).withOutput(machineSchema).mutation("wake").withInput(machineRefSchema).withOutput(machineSchema).mutation("delete").withInput(machineRefSchema).withOutput(machineSchema).mutation("rename").withInput(renameMachineInputSchema).withOutput(machineSchema).mutation("grant").withInput(machineGrantInputSchema).withOutput(machineSchema).mutation("revokeGrant").withInput(machineGrantInputSchema).withOutput(machineSchema).mutation("setBudget").withInput(setMachineBudgetInputSchema).withOutput(machineSchema).mutation("openScreen").withInput(openScreenInputSchema).withOutput(screenSessionSchema).mutation("openLoginTerminal").withInput(openLoginTerminalInputSchema).withOutput(loginTerminalSchema).mutation("finishScreen").withInput(screenRefSchema).withOutput(machineSchema).mutation("connectOwn").withInput(connectOwnMachineInputSchema).withOutput(ownMachineConnectSchema).mutation("newConnectCommand").withInput(machineRefSchema).withOutput(ownMachineConnectSchema).mutation("connectSsh").withInput(connectSshMachineInputSchema).withOutput(ownMachineSshConnectSchema.meta({ deprecated: true })).mutation("trustHostKey").withInput(trustHostKeyInputSchema).withOutput(machineSchema.meta({ deprecated: true })).mutation("checkHealth").withInput(machineRefSchema).withOutput(machineSchema).mutation("hostAgent").withInput(hostAgentInputSchema).withOutput(machineSchema).mutation("unhostAgent").withInput(unhostAgentInputSchema).withOutput(external_exports.object({ agentId: external_exports.string() })).mutation("pairWhatsapp").withInput(whatsappPairInputSchema).withOutput(whatsappPairingSchema).query("whatsappMirror").withInput(machineRefSchema).withOutput(whatsappMirrorSettingsSchema).mutation("setWhatsappMirror").withInput(setWhatsappMirrorInputSchema).withOutput(whatsappMirrorSettingsSchema).query("whatsappPairing").withInput(whatsappPairingRefSchema).withOutput(whatsappPairingSchema).mutation("cancelWhatsappPairing").withInput(whatsappPairingRefSchema).withOutput(whatsappPairingSchema).mutation("unpairWhatsapp").withInput(machineRefSchema).withOutput(machineSchema).build();
93622
93714
  var computeFleetTrpc = defineTrpcContract("compute").query("whatsappComputer").withInput(whatsappComputerInputSchema).withOutput(whatsappComputerSchema).mutation("prepareWhatsappComputer").withInput(whatsappComputerInputSchema).withOutput(whatsappComputerSchema).mutation("warmComputer").withInput(computeWorkspaceInputSchema).withOutput(warmComputerSchema).query("myComputers").withInput(computeWorkspaceInputSchema).withOutput(myComputersSchema).query("personComputer").withInput(personComputerInputSchema).withOutput(computerUseSchema2).mutation("createComputer").withInput(createComputerInputSchema).withOutput(computerStatusSchema).mutation("deleteComputer").withInput(deleteComputerInputSchema).withOutput(deleteComputerAnswerSchema).mutation("setComputerCreators").withInput(setComputerCreatorsInputSchema).withOutput(computerStatusSchema).mutation("setAgentComputer").withInput(setAgentComputerInputSchema).withOutput(agentComputerAnswerSchema).query("whatsappAgents").withInput(machineRefSchema).withOutput(whatsappAgentsSchema).mutation("setWhatsappAgent").withInput(setWhatsappAgentInputSchema).withOutput(whatsappAgentsSchema).mutation("setWhatsappAgentLease").withInput(setWhatsappAgentLeaseInputSchema).withOutput(whatsappAgentsSchema).mutation("setWhatsappEveryAgent").withInput(setWhatsappEveryAgentInputSchema).withOutput(whatsappAgentsSchema).mutation("setWhatsappAgentAccess").withInput(setWhatsappAgentAccessInputSchema).withOutput(whatsappAgentsSchema).mutation("checkWhatsappNow").withInput(machineRefSchema).withOutput(whatsappMirrorSettingsSchema).query("whatsappChatPeople").withInput(whatsappChatPeopleInputSchema).withOutput(whatsappChatPeopleSchema).query("whatsappHistory").withInput(whatsappHistoryInputSchema).withOutput(whatsappHistoryPageSchema).mutation("watchWhatsappChat").withInput(whatsappWatchInputSchema).withOutput(whatsappWatchSchema).mutation("checkWhatsappReply").withInput(whatsappReplyCheckInputSchema).withOutput(whatsappReplyCheckSchema).build();
93623
93715
  var computeTrpc = joinTrpcContracts(
93624
93716
  "compute",
@@ -94101,7 +94193,7 @@ var sendWakeIntentDefinition = external_exports.object({
94101
94193
  });
94102
94194
 
94103
94195
  // ../../modules/compute/contract/src/whatsapp-ops.ts
94104
- var count13 = external_exports.number().int().nonnegative();
94196
+ var count14 = external_exports.number().int().nonnegative();
94105
94197
  var at5 = external_exports.iso.datetime();
94106
94198
  var whatsappMirrorHealthDefinition = external_exports.object({
94107
94199
  mirrors: external_exports.array(
@@ -94119,33 +94211,33 @@ var whatsappMirrorHealthDefinition = external_exports.object({
94119
94211
  nextVisitAt: at5.nullable(),
94120
94212
  touchedAt: at5.nullable(),
94121
94213
  createdAt: at5,
94122
- skipped: external_exports.object({ count: count13, from: external_exports.number().int().nullable(), at: at5.nullable() }),
94214
+ skipped: external_exports.object({ count: count14, from: external_exports.number().int().nullable(), at: at5.nullable() }),
94123
94215
  /** The last pull that met files; null when none did. */
94124
94216
  files: external_exports.object({
94125
94217
  at: at5,
94126
- attached: count13,
94127
- unavailable: count13,
94128
- retrying: count13,
94129
- dropped: count13,
94218
+ attached: count14,
94219
+ unavailable: count14,
94220
+ retrying: count14,
94221
+ dropped: count14,
94130
94222
  failureCode: external_exports.string().nullable()
94131
94223
  }).nullable(),
94132
94224
  /** Intake holds (ADR-216 §11) by kind and code, with when the oldest was made. */
94133
- holds: external_exports.array(external_exports.object({ kind: external_exports.string(), code: external_exports.string(), count: count13, oldestAt: at5 })),
94225
+ holds: external_exports.array(external_exports.object({ kind: external_exports.string(), code: external_exports.string(), count: count14, oldestAt: at5 })),
94134
94226
  /**
94135
94227
  * The computer store's fill (ADR-223): chats done, how many mirrored items from the last 6
94136
94228
  * months Laze held, those the store held and those sent; the mirrored items Laze holds now
94137
94229
  * and how many a trim to 7 days after last read would delete. Null before a fill started.
94138
94230
  */
94139
94231
  storeFill: external_exports.object({
94140
- chats: count13,
94141
- lazeHeld: count13,
94142
- alreadyHeld: count13,
94143
- sent: count13,
94232
+ chats: count14,
94233
+ lazeHeld: count14,
94234
+ alreadyHeld: count14,
94235
+ sent: count14,
94144
94236
  problem: external_exports.string().nullable(),
94145
94237
  filledAt: at5.nullable(),
94146
94238
  updatedAt: at5,
94147
- mirrored: count13,
94148
- trimmable: count13
94239
+ mirrored: count14,
94240
+ trimmable: count14
94149
94241
  }).nullable().optional()
94150
94242
  })
94151
94243
  )
@@ -94175,7 +94267,7 @@ var whatsappSendsDefinition = external_exports.object({
94175
94267
  quoted: external_exports.boolean(),
94176
94268
  /** Sends to the same chat share a number, counted from 1 in this answer; never the chat. */
94177
94269
  chatIndex: external_exports.number().int().min(1),
94178
- files: count13,
94270
+ files: count14,
94179
94271
  /**
94180
94272
  * Why a failed send did not go: its stored code, or for older sends the code its outcome
94181
94273
  * line reads as; "other" when none fits, null for a send that did not fail.
@@ -94203,7 +94295,7 @@ var whatsappSendStreamsDefinition = external_exports.object({
94203
94295
  failureCode: external_exports.string().nullable(),
94204
94296
  createdAt: at5,
94205
94297
  /** The stream's events, its last event's kind and time; zero and null for none. */
94206
- events: count13,
94298
+ events: count14,
94207
94299
  lastEvent: external_exports.enum(["requested", "taken", "evidenced", "refused", "unresolved", "recheck_requested"]).nullable(),
94208
94300
  lastEventAt: at5.nullable(),
94209
94301
  /** The process's step and deadline; null when no process holds the send. */
@@ -94214,9 +94306,9 @@ var whatsappSendStreamsDefinition = external_exports.object({
94214
94306
  })
94215
94307
  ),
94216
94308
  /** Counts over the answered sends. */
94217
- total: count13,
94218
- agree: count13,
94219
- disagree: count13
94309
+ total: count14,
94310
+ agree: count14,
94311
+ disagree: count14
94220
94312
  });
94221
94313
  var whatsappSendStreamsSchema = whatsappSendStreamsDefinition;
94222
94314
  var WHATSAPP_WAKE_STEPS = [
@@ -94256,11 +94348,11 @@ var whatsappWakeTimelineDefinition = external_exports.object({
94256
94348
  external_exports.object({
94257
94349
  step: external_exports.enum(WHATSAPP_WAKE_STEPS),
94258
94350
  at: at5,
94259
- sincePreviousMs: count13,
94260
- sinceRequestMs: count13
94351
+ sincePreviousMs: count14,
94352
+ sinceRequestMs: count14
94261
94353
  })
94262
94354
  ),
94263
- totalMs: count13.nullable()
94355
+ totalMs: count14.nullable()
94264
94356
  })
94265
94357
  )
94266
94358
  })
@@ -98684,7 +98776,9 @@ var answerFeedApprovalInputSchemaDefinition = external_exports.object({
98684
98776
  via: external_exports.enum(["feed", "ios"]).optional(),
98685
98777
  durationSeconds: external_exports.number().int().positive().optional(),
98686
98778
  /** Why, or a steer for the agent: one line, at most 500 characters once cleaned. */
98687
- resolutionNote: external_exports.string().max(4e3).default("")
98779
+ resolutionNote: external_exports.string().max(4e3).default(""),
98780
+ /** A vault card's request ids as the client showed them; joined asks not among them stay open. */
98781
+ seenRequestIds: external_exports.array(external_exports.string().min(1).max(64)).max(50).optional()
98688
98782
  });
98689
98783
  var answerFeedApprovalInputSchema = answerFeedApprovalInputSchemaDefinition;
98690
98784
  var decideFeedRequestInputSchemaDefinition = external_exports.object({
@@ -99011,12 +99105,12 @@ function draftFilesMissingText(names) {
99011
99105
  }
99012
99106
 
99013
99107
  // ../../modules/feed/contract/src/feed.decisions.ts
99014
- function decisionsLineOf(count18) {
99015
- return `${count18} ${count18 === 1 ? "decision" : "decisions"} waiting on you`;
99108
+ function decisionsLineOf(count19) {
99109
+ return `${count19} ${count19 === 1 ? "decision" : "decisions"} waiting on you`;
99016
99110
  }
99017
99111
 
99018
99112
  // ../../modules/feed/contract/src/feed.ops-counts.ts
99019
- var count14 = external_exports.number().int().nonnegative();
99113
+ var count15 = external_exports.number().int().nonnegative();
99020
99114
  var FEED_OPS_SYSTEM_AUTHOR = /^[a-z][a-z0-9_-]{0,39}$/;
99021
99115
  var FEED_OPS_NOTICE_FAMILY = /^notice:[a-z][a-z0-9_-]{0,39}$/;
99022
99116
  var feedOpsCountRowSchemaDefinition = external_exports.object({
@@ -99030,13 +99124,13 @@ var feedOpsCountRowSchemaDefinition = external_exports.object({
99030
99124
  /** The notice family of a notice card (`notice:other` when its reference has no plain one). */
99031
99125
  noticeFamily: external_exports.string().regex(FEED_OPS_NOTICE_FAMILY).nullable(),
99032
99126
  /** In the person's open list: what "N things need you" counts. */
99033
- open: count14,
99127
+ open: count15,
99034
99128
  /** Open and not read, as the summary's "N unread" counts. */
99035
- unread: count14,
99129
+ unread: count15,
99036
99130
  /** Open and urgent. */
99037
- urgent: count14,
99131
+ urgent: count15,
99038
99132
  /** Coming up: snoozed or shown later, as the Snoozed tab lists. */
99039
- snoozed: count14
99133
+ snoozed: count15
99040
99134
  });
99041
99135
  var feedOpsCountRowSchema = feedOpsCountRowSchemaDefinition;
99042
99136
 
@@ -99650,8 +99744,8 @@ function optionalWords(words) {
99650
99744
  }
99651
99745
  function shareLinesOf({ move: move3, answer: answer6 }) {
99652
99746
  const names = answer6.people.map((person) => person.name).join(", ") || "no one new";
99653
- const count18 = answer6.itemIds.length;
99654
- const items = `${count18} item${count18 === 1 ? "" : "s"}`;
99747
+ const count19 = answer6.itemIds.length;
99748
+ const items = `${count19} item${count19 === 1 ? "" : "s"}`;
99655
99749
  const head = move3 === "share" ? `Shared ${items} with ${names}` : `Took ${names} off ${items}`;
99656
99750
  return [head, ...answer6.itemIds].map((line) => `${line}
99657
99751
  `).join("");
@@ -100300,13 +100394,13 @@ function formatHistory(output2) {
100300
100394
  const lines2 = linesOf3(output2);
100301
100395
  if (lines2.length === 0) return `${where}${from}: no messages.
100302
100396
  `;
100303
- const count18 = lines2.length === 1 ? "1 message" : `${lines2.length} messages`;
100397
+ const count19 = lines2.length === 1 ? "1 message" : `${lines2.length} messages`;
100304
100398
  const blocks = lines2.map(blockOf2).join("\n\n");
100305
100399
  const cursor = olderCursorOf(output2);
100306
100400
  const older = cursor ? `
100307
100401
 
100308
100402
  Older: laze history ${output2.channel} --before ${cursor}` : "";
100309
- return `${where}${from}: ${count18}, oldest first
100403
+ return `${where}${from}: ${count19}, oldest first
100310
100404
 
100311
100405
  ${blocks}${older}
100312
100406
  `;
@@ -101762,10 +101856,10 @@ ${USAGE13}`);
101762
101856
  if ("exitCode" in released) return released;
101763
101857
  Object.assign(env, released.env);
101764
101858
  }
101765
- const count18 = Object.keys(env).length;
101766
- if (count18 > EXEC_ENV_MAX) {
101859
+ const count19 = Object.keys(env).length;
101860
+ if (count19 > EXEC_ENV_MAX) {
101767
101861
  context.err(
101768
- `laze: these connections hold ${count18} variables; at most ${EXEC_ENV_MAX} go with a command. Send fewer connections, or run the command with \`laze vault run\` where you run.
101862
+ `laze: these connections hold ${count19} variables; at most ${EXEC_ENV_MAX} go with a command. Send fewer connections, or run the command with \`laze vault run\` where you run.
101769
101863
  `
101770
101864
  );
101771
101865
  return { exitCode: 1 };
@@ -101922,7 +102016,7 @@ function secretRefusal({
101922
102016
  rules = MCP_SECRET_COMMANDS
101923
102017
  }) {
101924
102018
  const { words, flags: flags2 } = parseArgs({ argv });
101925
- const command = [3, 2, 1].map((count18) => words.slice(0, count18).join(" ")).find((name3) => Object.hasOwn(rules, name3));
102019
+ const command = [3, 2, 1].map((count19) => words.slice(0, count19).join(" ")).find((name3) => Object.hasOwn(rules, name3));
101926
102020
  const rule = command === void 0 ? void 0 : rules[command];
101927
102021
  if (!command || !rule) return void 0;
101928
102022
  const vaultFlag = rule.vaultFlag ?? "from-vault";
@@ -102673,11 +102767,11 @@ async function monitorAdd({ context, args }) {
102673
102767
  });
102674
102768
  if (args.flags.json) return context.out(`${JSON.stringify(added, null, 2)}
102675
102769
  `);
102676
- const count18 = added.watching.length;
102770
+ const count19 = added.watching.length;
102677
102771
  context.out(
102678
102772
  `${added.monitor.id} ${added.monitor.name}
102679
102773
  ${added.watching.join(" ")}
102680
- Watching ${count18} ${count18 === 1 ? "channel" : "channels"}
102774
+ Watching ${count19} ${count19 === 1 ? "channel" : "channels"}
102681
102775
  `
102682
102776
  );
102683
102777
  }
@@ -103015,7 +103109,7 @@ import { dirname as dirname24, join as join34 } from "node:path";
103015
103109
  var OPERATOR_KEY = {
103016
103110
  lifetimeMinutes: 60,
103017
103111
  /** A key nobody answered expires this long after it was asked for. */
103018
- pendingMinutes: 60,
103112
+ pendingMinutes: 120,
103019
103113
  /** Requests one API key may have waiting at once. */
103020
103114
  maxWaiting: 3
103021
103115
  };
@@ -103225,6 +103319,23 @@ var serviceTraceDefinition = external_exports.object({
103225
103319
  rootService: external_exports.string().nullable()
103226
103320
  });
103227
103321
  var serviceTraceSchema = serviceTraceDefinition;
103322
+ var tracedProcedureSchema = external_exports.string().regex(
103323
+ /^[a-zA-Z][a-zA-Z0-9.]{0,127}$/,
103324
+ "a procedure: letters, digits and dots, such as chat.post"
103325
+ );
103326
+ var handledErrorCodeSchema = external_exports.string().regex(/^[a-z][a-z0-9_]{0,63}$/, "an error code: lower case letters, digits and underscores");
103327
+ var refusedCallDefinition = external_exports.object({
103328
+ at: at7,
103329
+ durationMs: external_exports.number().nonnegative(),
103330
+ traceId: external_exports.string(),
103331
+ spanId: external_exports.string(),
103332
+ /** The procedure's path and the handled error's code; null when the span carried none. */
103333
+ procedure: external_exports.string().nullable(),
103334
+ code: external_exports.string().nullable(),
103335
+ /** The handled error's fault, `customer` or `system`; null when the span carried none. */
103336
+ fault: external_exports.string().nullable()
103337
+ });
103338
+ var refusedCallSchema = refusedCallDefinition;
103228
103339
 
103229
103340
  // ../../modules/rum/contract/src/rum.api.ts
103230
103341
  var RumApi = moduleApi()("rum");
@@ -103941,17 +104052,17 @@ var wikiMentionedPayloadSchemaDefinition = external_exports.object({
103941
104052
  }).strict();
103942
104053
 
103943
104054
  // ../../modules/wiki/contract/src/wiki-support-pages.ts
103944
- var count15 = external_exports.number().int().nonnegative();
103945
- var wikiSupportPageCountDefinition = external_exports.object({ pages: count15, workspaces: count15 }).strict();
104055
+ var count16 = external_exports.number().int().nonnegative();
104056
+ var wikiSupportPageCountDefinition = external_exports.object({ pages: count16, workspaces: count16 }).strict();
103946
104057
  var wikiSupportPageCountSchema = wikiSupportPageCountDefinition;
103947
104058
 
103948
104059
  // ../../modules/wiki/contract/src/wiki-locked-pages.ts
103949
104060
  var WIKI_LOCKED_PAGES_LIMIT = 200;
103950
- var count16 = external_exports.number().int().nonnegative();
104061
+ var count17 = external_exports.number().int().nonnegative();
103951
104062
  var id6 = external_exports.string().min(1).max(200);
103952
104063
  var wikiLockedPagesDefinition = external_exports.object({
103953
- pages: count16,
103954
- workspaces: count16,
104064
+ pages: count17,
104065
+ workspaces: count17,
103955
104066
  locked: external_exports.array(external_exports.object({ workspaceId: id6, pageId: id6 }).strict()).max(WIKI_LOCKED_PAGES_LIMIT),
103956
104067
  truncated: external_exports.boolean()
103957
104068
  }).strict();
@@ -104015,12 +104126,12 @@ var funnelInputDefinition = external_exports.object({
104015
104126
  to: external_exports.iso.datetime(),
104016
104127
  bucketMinutes: external_exports.union([external_exports.literal(10), external_exports.literal(60), external_exports.literal(1440)]).default(60)
104017
104128
  }).strict();
104018
- var count17 = external_exports.number().int().nonnegative();
104129
+ var count18 = external_exports.number().int().nonnegative();
104019
104130
  var funnelCountsDefinition = external_exports.object({
104020
- signUps: count17,
104021
- workspaces: count17,
104022
- activatedTeams: count17,
104023
- payingTeams: count17
104131
+ signUps: count18,
104132
+ workspaces: count18,
104133
+ activatedTeams: count18,
104134
+ payingTeams: count18
104024
104135
  });
104025
104136
  var funnelOutputDefinition = external_exports.object({
104026
104137
  bucketMinutes: external_exports.number().int(),
@@ -104049,34 +104160,34 @@ var cohortOutputDefinition = external_exports.object({
104049
104160
  promotionId: external_exports.string().nullable(),
104050
104161
  plan: external_exports.string(),
104051
104162
  paying: external_exports.boolean(),
104052
- members: count17,
104163
+ members: count18,
104053
104164
  agents: external_exports.object({
104054
- laze: count17,
104055
- connected: count17,
104165
+ laze: count18,
104166
+ connected: count18,
104056
104167
  firstLazeAgentAt: external_exports.iso.datetime().nullable()
104057
104168
  }),
104058
- turns: count17,
104059
- appsCreated: count17,
104060
- connectionsLinked: count17,
104169
+ turns: count18,
104170
+ appsCreated: count18,
104171
+ connectionsLinked: count18,
104061
104172
  /** Slack channels mirrored, Slack and Discord link and intake events, WhatsApp mirrors on. */
104062
104173
  messaging: external_exports.object({
104063
- slackChannels: count17,
104064
- slackEvents: count17,
104065
- discordEvents: count17,
104066
- whatsappMirrors: count17
104174
+ slackChannels: count18,
104175
+ slackEvents: count18,
104176
+ discordEvents: count18,
104177
+ whatsappMirrors: count18
104067
104178
  }),
104068
104179
  creatorLastMessageAt: external_exports.iso.datetime().nullable(),
104069
104180
  /** The creator's last heartbeat from a Laze web or desktop window here; null when never. */
104070
104181
  creatorLastSeenAt: external_exports.iso.datetime().nullable(),
104071
104182
  /** Members whose last heartbeat here falls in the 7 days before `until`. */
104072
- peopleSeenLast7Days: count17,
104183
+ peopleSeenLast7Days: count18,
104073
104184
  /** Live messages per UTC day; days with none are left out. */
104074
104185
  days: external_exports.array(
104075
104186
  external_exports.object({
104076
104187
  day: external_exports.string(),
104077
- byPeople: count17,
104078
- byAgents: count17,
104079
- people: count17
104188
+ byPeople: count18,
104189
+ byAgents: count18,
104190
+ people: count18
104080
104191
  })
104081
104192
  ),
104082
104193
  /** The once-only sends nurturing kept (first_agent_made, first_agent_nudge, ...). */
@@ -104100,29 +104211,29 @@ var capacityOutputDefinition = external_exports.object({
104100
104211
  /** The last day of host load, oldest first. */
104101
104212
  history: external_exports.array(hostLoadPointSchema)
104102
104213
  });
104103
- var tally = external_exports.array(external_exports.object({ key: external_exports.string(), count: count17 }));
104214
+ var tally = external_exports.array(external_exports.object({ key: external_exports.string(), count: count18 }));
104104
104215
  var snapshotOutputDefinition = external_exports.object({
104105
104216
  workspaceId: external_exports.string(),
104106
104217
  createdAt: external_exports.iso.datetime(),
104107
104218
  plan: external_exports.string(),
104108
104219
  status: external_exports.string(),
104109
- seats: external_exports.object({ people: count17, limit: external_exports.number().int().nullable() }),
104220
+ seats: external_exports.object({ people: count18, limit: external_exports.number().int().nullable() }),
104110
104221
  membersByRole: tally,
104111
104222
  invitesByStatus: tally,
104112
104223
  agentsByKind: tally,
104113
104224
  agentsByHosting: tally,
104114
- agentsConnected: count17,
104225
+ agentsConnected: count18,
104115
104226
  flagsOn: external_exports.array(external_exports.string()),
104116
- complimentaryComputers: count17
104227
+ complimentaryComputers: count18
104117
104228
  });
104118
104229
  var eventsInputDefinition = external_exports.object({ from: external_exports.iso.datetime(), to: external_exports.iso.datetime() }).strict();
104119
104230
  var eventCountsDefinition = external_exports.object({
104120
- total: count17,
104231
+ total: count18,
104121
104232
  /** Per type: how many, and the stored bytes of their payloads and sealed copies. */
104122
104233
  byType: external_exports.array(
104123
104234
  external_exports.object({
104124
104235
  eventType: external_exports.string(),
104125
- count: count17,
104236
+ count: count18,
104126
104237
  payloadBytes: external_exports.number().nonnegative(),
104127
104238
  encryptedCopyBytes: external_exports.number().nonnegative()
104128
104239
  })
@@ -104176,9 +104287,9 @@ var databaseHealthDefinition = external_exports.object({
104176
104287
  deadlocks: external_exports.number().nonnegative(),
104177
104288
  tempBytes: external_exports.number().nonnegative(),
104178
104289
  connections: external_exports.object({
104179
- total: count17,
104180
- byState: external_exports.array(external_exports.object({ state: external_exports.string(), count: count17 })),
104181
- waitingOnLocks: count17,
104290
+ total: count18,
104291
+ byState: external_exports.array(external_exports.object({ state: external_exports.string(), count: count18 })),
104292
+ waitingOnLocks: count18,
104182
104293
  longestActiveSeconds: external_exports.number().nonnegative(),
104183
104294
  longestIdleInTransactionSeconds: external_exports.number().nonnegative()
104184
104295
  }),
@@ -104233,7 +104344,7 @@ var tenantAgentsDefinition = external_exports.object({
104233
104344
  createdAt: external_exports.iso.datetime(),
104234
104345
  modelLevel: external_exports.string().nullable(),
104235
104346
  model: external_exports.string().nullable(),
104236
- channels: count17,
104347
+ channels: count18,
104237
104348
  limitedUntil: external_exports.iso.datetime().nullable(),
104238
104349
  limitedBy: external_exports.string().nullable(),
104239
104350
  pausedAt: external_exports.iso.datetime().nullable(),
@@ -104287,8 +104398,8 @@ var tenantBillingDefinition = external_exports.object({
104287
104398
  currencyChosen: external_exports.boolean(),
104288
104399
  cancelAtPeriodEnd: external_exports.boolean(),
104289
104400
  period: external_exports.object({ start: external_exports.iso.datetime(), end: external_exports.iso.datetime() }).nullable(),
104290
- seats: external_exports.object({ people: count17, limit: count17.nullable(), monthlyPrice: external_exports.number() }),
104291
- complimentarySeats: count17.nullable(),
104401
+ seats: external_exports.object({ people: count18, limit: count18.nullable(), monthlyPrice: external_exports.number() }),
104402
+ complimentarySeats: count18.nullable(),
104292
104403
  credits: external_exports.object({
104293
104404
  included: external_exports.number(),
104294
104405
  includedLeft: external_exports.number(),
@@ -104327,14 +104438,14 @@ var tenantVaultDefinition = external_exports.object({
104327
104438
  external_exports.object({
104328
104439
  subject: external_exports.string(),
104329
104440
  most: external_exports.string(),
104330
- maxLeaseSeconds: count17.nullable(),
104441
+ maxLeaseSeconds: count18.nullable(),
104331
104442
  blocked: external_exports.boolean(),
104332
104443
  approveNew: external_exports.boolean(),
104333
104444
  updatedAt: external_exports.iso.datetime()
104334
104445
  })
104335
104446
  ),
104336
104447
  /** Connections waiting for an admin, counted by kind; never a name, label or field. */
104337
- waitingByKind: external_exports.array(external_exports.object({ key: external_exports.string(), count: count17 }))
104448
+ waitingByKind: external_exports.array(external_exports.object({ key: external_exports.string(), count: count18 }))
104338
104449
  });
104339
104450
  var WHATSAPP_INTAKE_KEY_KINDS = ["msg", "edit", "del", "react", "read"];
104340
104451
  var tenantWhatsappInputDefinition = external_exports.object({
@@ -104347,17 +104458,17 @@ var tenantWhatsappOutputDefinition = external_exports.object({
104347
104458
  intake: external_exports.object({
104348
104459
  since: external_exports.iso.datetime(),
104349
104460
  until: external_exports.iso.datetime(),
104350
- total: count17,
104461
+ total: count18,
104351
104462
  byKind: external_exports.array(
104352
104463
  external_exports.object({
104353
104464
  kind: external_exports.enum([...WHATSAPP_INTAKE_KEY_KINDS, "other"]),
104354
- count: count17,
104465
+ count: count18,
104355
104466
  /** Events dated over a second after Laze got them, and the most ahead: a fast clock. */
104356
- aheadOfLaze: external_exports.object({ count: count17, maxAheadMs: external_exports.number().int() }).optional()
104467
+ aheadOfLaze: external_exports.object({ count: count18, maxAheadMs: external_exports.number().int() }).optional()
104357
104468
  })
104358
104469
  ),
104359
104470
  /** The workspace's chat messages and changes dated over a second after Laze stored them. */
104360
- chatAheadOfLaze: external_exports.object({ count: count17, maxAheadMs: external_exports.number().int() }).optional()
104471
+ chatAheadOfLaze: external_exports.object({ count: count18, maxAheadMs: external_exports.number().int() }).optional()
104361
104472
  })
104362
104473
  });
104363
104474
  var computerBrowserInputDefinition = external_exports.object({
@@ -104487,6 +104598,18 @@ var feedCountsInputDefinition = external_exports.object({
104487
104598
  cursor: cursorDefinition.optional()
104488
104599
  }).strict();
104489
104600
  var feedCountsOutputDefinition = external_exports.object({ counts: pageOf(feedOpsCountRowSchema) });
104601
+ var pushOutcomesInputDefinition = external_exports.object({
104602
+ from: external_exports.iso.datetime(),
104603
+ to: external_exports.iso.datetime(),
104604
+ userId: external_exports.string().trim().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/).optional(),
104605
+ limit: external_exports.number().int().min(1).max(500).default(200),
104606
+ cursor: cursorDefinition.optional()
104607
+ }).strict();
104608
+ var pushOutcomesOutputDefinition = external_exports.object({
104609
+ outcomes: pageOf(pushOutcomeRowSchema),
104610
+ byDay: external_exports.array(pushOutcomeDayRowSchema),
104611
+ installs: external_exports.array(pushInstallRowSchema)
104612
+ });
104490
104613
  var variableReferenceKeysInputDefinition = external_exports.object({
104491
104614
  limit: external_exports.number().int().min(1).max(500).default(100),
104492
104615
  cursor: cursorDefinition.optional()
@@ -104544,6 +104667,17 @@ var serviceTracesInputDefinition = external_exports.object({
104544
104667
  cursor: cursorDefinition.optional()
104545
104668
  }).strict();
104546
104669
  var serviceTracesOutputDefinition = external_exports.object({ traces: pageOf(serviceTraceSchema) });
104670
+ var refusedCallsInputDefinition = external_exports.object({
104671
+ from: external_exports.iso.datetime(),
104672
+ to: external_exports.iso.datetime(),
104673
+ /** The procedure's path, such as `chat.post`; every procedure when absent. */
104674
+ procedure: tracedProcedureSchema.optional(),
104675
+ /** The handled error's code, such as `message_not_found`; every code when absent. */
104676
+ code: handledErrorCodeSchema.optional(),
104677
+ limit: external_exports.number().int().min(1).max(500).default(100),
104678
+ cursor: cursorDefinition.optional()
104679
+ }).strict();
104680
+ var refusedCallsOutputDefinition = external_exports.object({ calls: pageOf(refusedCallSchema) });
104547
104681
  var supportRenotifyInputDefinition = external_exports.object({
104548
104682
  since: external_exports.iso.datetime(),
104549
104683
  staffUserId: external_exports.string().min(1).max(64).optional(),
@@ -104693,6 +104827,13 @@ var OPS_FUNCTIONS = {
104693
104827
  input: feedCountsInputDefinition,
104694
104828
  output: feedCountsOutputDefinition
104695
104829
  }),
104830
+ "tenant.push_outcomes": entry({
104831
+ title: "One workspace's phone pushes over a range: queued, delivered, failed and held, by code",
104832
+ scope: "tenant",
104833
+ view: "table",
104834
+ input: pushOutcomesInputDefinition,
104835
+ output: pushOutcomesOutputDefinition
104836
+ }),
104696
104837
  "tenant.vault_connections": entry({
104697
104838
  title: "One workspace's vault connections: status, sealing, provider and their audit codes",
104698
104839
  scope: "tenant",
@@ -104806,6 +104947,13 @@ var OPS_FUNCTIONS = {
104806
104947
  input: serviceTracesInputDefinition,
104807
104948
  output: serviceTracesOutputDefinition
104808
104949
  }),
104950
+ "traces.refused_calls": entry({
104951
+ title: "tRPC calls refused with an error code over a range: procedure, code, fault, trace ids and times",
104952
+ scope: "platform",
104953
+ view: "table",
104954
+ input: refusedCallsInputDefinition,
104955
+ output: refusedCallsOutputDefinition
104956
+ }),
104809
104957
  "wiki.support_pages": entry({
104810
104958
  title: "Wiki pages in a Laze Support channel or the staff triage, and their workspaces, as counts",
104811
104959
  scope: "platform",
@@ -107350,7 +107498,7 @@ async function vaultSave({ context, args }) {
107350
107498
  // src/services/vault-scrub-commands.service.ts
107351
107499
  function lineOf6(channel) {
107352
107500
  const where = channel.name ? `#${channel.name}` : channel.channelId;
107353
- const found = Object.entries(channel.found).map(([vendor, count18]) => `${vendor} ${count18}`).join(", ");
107501
+ const found = Object.entries(channel.found).map(([vendor, count19]) => `${vendor} ${count19}`).join(", ");
107354
107502
  const kinds = [`held ${channel.held}`, ...found ? [`found: ${found}`] : []].join("; ");
107355
107503
  return `${where} scanned ${channel.scanned} changed ${channel.messages} ${kinds}
107356
107504
  `;
@@ -108740,8 +108888,8 @@ async function roles({ context, args }) {
108740
108888
  const catalogue = await client.get("/api/roles");
108741
108889
  if (args.flags.json) return printJson11(context, catalogue);
108742
108890
  for (const role2 of catalogue) {
108743
- const count18 = `${role2.permissions.length} permissions`;
108744
- context.out(`${role2.label} ${count18} ${role2.description}
108891
+ const count19 = `${role2.permissions.length} permissions`;
108892
+ context.out(`${role2.label} ${count19} ${role2.description}
108745
108893
  `);
108746
108894
  context.out(` ${role2.permissions.join(", ")}
108747
108895
  `);