@wirecat/mail-cli 0.13.0 → 0.15.0

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 (164) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/README.md +9 -4
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-EEOMFTKE.js → all-profiles-PKXL5TKP.js} +10 -9
  5. package/dist/bundle/{anthropic-FPSVNB3F.js → anthropic-DFDNZU7C.js} +6 -6
  6. package/dist/bundle/{app-server-3T6UVR7B.js → app-server-WOZAOCKX.js} +47 -46
  7. package/dist/bundle/{bun-MSNAKMDK.js → bun-DKZAL6ML.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-GIBBI5DV.js → bun-sqlite-2A7FS5GD.js} +5 -5
  9. package/dist/bundle/{chunk-7D7AKYQ2.js → chunk-2A4Z3WOC.js} +3132 -1229
  10. package/dist/bundle/{chunk-AXWTELO4.js → chunk-2BHY4GFP.js} +2 -2
  11. package/dist/bundle/{chunk-XLCFCOT4.js → chunk-3MKCLPQV.js} +14 -14
  12. package/dist/bundle/{chunk-3BC2XSNX.js → chunk-4DGOI6JB.js} +68 -34
  13. package/dist/bundle/chunk-4HVY3QPF.js +91 -0
  14. package/dist/bundle/{chunk-NHVOJHHD.js → chunk-4TPNRJER.js} +7 -7
  15. package/dist/bundle/{chunk-6O6CM2ML.js → chunk-4XRIALMN.js} +2 -2
  16. package/dist/bundle/{chunk-VSHQITKC.js → chunk-4YECCESG.js} +2 -2
  17. package/dist/bundle/{chunk-YMNF4QLY.js → chunk-5C3L2QER.js} +26 -25
  18. package/dist/bundle/{chunk-XPBRNJ2V.js → chunk-5W7D5H2R.js} +1 -1
  19. package/dist/bundle/{chunk-HANGU5HI.js → chunk-6AYJDBHT.js} +6 -6
  20. package/dist/bundle/{chunk-CSJYZEFR.js → chunk-6Z7VBDFR.js} +2 -3
  21. package/dist/bundle/{chunk-BZBNBPCR.js → chunk-73SQQXSU.js} +10 -10
  22. package/dist/bundle/{chunk-H5XCD6OG.js → chunk-A6O3WHBD.js} +3 -3
  23. package/dist/bundle/{chunk-6KDFUPBT.js → chunk-BIKMEGC7.js} +8 -8
  24. package/dist/bundle/{chunk-OHDDGTCH.js → chunk-BKF7XIJ5.js} +10 -10
  25. package/dist/bundle/{chunk-GQGJV53E.js → chunk-BY5S3JEZ.js} +47 -47
  26. package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
  27. package/dist/bundle/{chunk-7FCPLSSM.js → chunk-EDJQDR5X.js} +4 -4
  28. package/dist/bundle/{chunk-2Y3RKROM.js → chunk-ENZTLYTS.js} +53 -8
  29. package/dist/bundle/{chunk-VMLGER4M.js → chunk-FEWWBU2I.js} +295 -177
  30. package/dist/bundle/{chunk-M7JREJFC.js → chunk-G6RG2AZV.js} +27 -8
  31. package/dist/bundle/{chunk-V25TCQ3Z.js → chunk-HGOYQUT7.js} +1 -1
  32. package/dist/bundle/{chunk-ZSS22YHM.js → chunk-IA6U76ZY.js} +2 -2
  33. package/dist/bundle/{chunk-UFWCJUGA.js → chunk-JQTIB4WJ.js} +7 -7
  34. package/dist/bundle/{chunk-SOCALLW5.js → chunk-K4N5UG64.js} +6 -6
  35. package/dist/bundle/{chunk-URC4ATBD.js → chunk-KJYCA6IC.js} +4 -4
  36. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
  37. package/dist/bundle/{chunk-3QEYHTCQ.js → chunk-LARQTWIL.js} +1 -1
  38. package/dist/bundle/{chunk-YHSXNUFQ.js → chunk-LRBAQSU3.js} +3 -3
  39. package/dist/bundle/{chunk-JYZCISN7.js → chunk-M5DF6QNT.js} +13 -13
  40. package/dist/bundle/{chunk-7L26RKOS.js → chunk-M5VHTDJZ.js} +17 -17
  41. package/dist/bundle/{chunk-7CSK47S2.js → chunk-NDZK466U.js} +4 -4
  42. package/dist/bundle/{chunk-FVZST7ZH.js → chunk-NNLYS4IR.js} +12 -89
  43. package/dist/bundle/{chunk-GIZILLRJ.js → chunk-OJEIUOMW.js} +12 -12
  44. package/dist/bundle/chunk-OZVGHHFZ.js +35 -0
  45. package/dist/bundle/{chunk-MBWVZINS.js → chunk-P4SV3VKP.js} +2 -2
  46. package/dist/bundle/{chunk-OHFSAYZG.js → chunk-PI5P457W.js} +4 -4
  47. package/dist/bundle/{chunk-TBG3FRS6.js → chunk-PXLVTHMH.js} +3 -3
  48. package/dist/bundle/{chunk-Y2O3DACO.js → chunk-QCNK3YUZ.js} +95 -36
  49. package/dist/bundle/{chunk-3CBK26T2.js → chunk-QJQV6KG2.js} +2 -2
  50. package/dist/bundle/{chunk-UGXTDYUY.js → chunk-QSGT4ZH4.js} +1 -1
  51. package/dist/bundle/{chunk-VNBQHV5H.js → chunk-QTD3BVS5.js} +6 -6
  52. package/dist/bundle/{chunk-UUBAWUUI.js → chunk-R6UG66IM.js} +807 -464
  53. package/dist/bundle/{chunk-XV66LQXV.js → chunk-RBNL3DBQ.js} +3 -3
  54. package/dist/bundle/{chunk-EFA7FRFJ.js → chunk-RFDP45QO.js} +3 -3
  55. package/dist/bundle/{chunk-5XTJUQZ5.js → chunk-SPQY3PJX.js} +542 -235
  56. package/dist/bundle/{chunk-CJPEL2N5.js → chunk-SRHKHE4C.js} +47 -28
  57. package/dist/bundle/{chunk-WBI7J5B7.js → chunk-U3VX3UUC.js} +5 -5
  58. package/dist/bundle/{chunk-ZXLJ5EKZ.js → chunk-VQQFOA4O.js} +8 -8
  59. package/dist/bundle/{chunk-LO66SLGD.js → chunk-WIU733D2.js} +1 -1
  60. package/dist/bundle/{chunk-JBLZ5XQG.js → chunk-WOV3ABQR.js} +4 -4
  61. package/dist/bundle/{chunk-H3XWM2VA.js → chunk-WTDYN3TQ.js} +28 -28
  62. package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
  63. package/dist/bundle/{chunk-VD5UJUNR.js → chunk-XGNC5OJG.js} +1 -1
  64. package/dist/bundle/{chunk-VNXCWZDW.js → chunk-XKUAEYJV.js} +249 -8
  65. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
  66. package/dist/bundle/{chunk-H6Y2A4JA.js → chunk-YRHXVXLQ.js} +2 -2
  67. package/dist/bundle/{chunk-IGSHWMWC.js → chunk-YWIU4HOT.js} +1 -1
  68. package/dist/bundle/command-contract-4E4NYRR7.js +34 -0
  69. package/dist/bundle/{decode-YRTMNHC6.js → decode-LX4FPSI7.js} +5 -5
  70. package/dist/bundle/{dispatch-BCS2RDF4.js → dispatch-3ILCYZ4Q.js} +8 -8
  71. package/dist/bundle/{dist-NOBSXRL2.js → dist-HQIZDYNQ.js} +42 -13
  72. package/dist/bundle/{echarts-5UKZVIF6.js → echarts-BGBPRGR5.js} +2 -2
  73. package/dist/bundle/{embed-G62XY6BJ.js → embed-ASAE3H5I.js} +6 -6
  74. package/dist/bundle/{embedder-SCHGLA74.js → embedder-QYDZRKBX.js} +9 -9
  75. package/dist/bundle/{failure-N5S6ZS62.js → failure-UDL5QZRZ.js} +2 -2
  76. package/dist/bundle/{first-run-DPF2BBQN.js → first-run-EFNNGFCB.js} +11 -11
  77. package/dist/bundle/first-screen-XHM3TT6G.js +32 -0
  78. package/dist/bundle/{instructions-7RP5OKLE.js → instructions-6LPDSKAD.js} +1 -1
  79. package/dist/bundle/mail.js +12 -12
  80. package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
  81. package/dist/bundle/{node-ENCKD6SS.js → node-IB246NCQ.js} +2 -2
  82. package/dist/bundle/{node-sqlite-4ICXMPYY.js → node-sqlite-UROXM4VR.js} +6 -6
  83. package/dist/bundle/{oauth-CX2WYMGN.js → oauth-VSCKHS4T.js} +7 -7
  84. package/dist/bundle/{open-HQZYHMVE.js → open-R4LVB63T.js} +5 -5
  85. package/dist/bundle/{openai-3ONJIA3F.js → openai-MKCEOFKL.js} +14 -14
  86. package/dist/bundle/{process-OK3HRPMD.js → process-SWPJGPQC.js} +1 -1
  87. package/dist/bundle/{program-FLKUE6LL.js → program-CJ2YDRUY.js} +11741 -10648
  88. package/dist/bundle/{prompt-ZWKUQ42Y.js → prompt-TWWJ5VAM.js} +5 -5
  89. package/dist/bundle/{recognize-PHDYO6DC.js → recognize-XMO5ETQU.js} +4 -4
  90. package/dist/bundle/{remote-4CX7GFMU.js → remote-N6VAWJWE.js} +7 -7
  91. package/dist/bundle/{rerank-ZCZTGXDQ.js → rerank-XNAMC6FH.js} +7 -7
  92. package/dist/bundle/{serve-3LBS7CPR.js → serve-IJ32WEBH.js} +9 -9
  93. package/dist/bundle/server-CRVR4L2E.js +64 -0
  94. package/dist/bundle/{server-2BKI2OQP.js → server-KEYSE5OL.js} +39 -38
  95. package/dist/bundle/{sqlite-runtime-J5T7SR5W.js → sqlite-runtime-NFBRN7OF.js} +6 -6
  96. package/dist/bundle/{state-TIRNYVEL.js → state-7WPJEW2Z.js} +6 -6
  97. package/dist/bundle/{store-F7ZXMIAP.js → store-KHVHOGQR.js} +27 -18
  98. package/dist/bundle/{store-NGE2E7KZ.js → store-PKQCNACC.js} +15 -14
  99. package/dist/bundle/store-maintenance-command-5MODJN6R.js +54 -0
  100. package/dist/commands/account.d.ts.map +1 -1
  101. package/dist/commands/account.js +149 -3
  102. package/dist/commands/account.js.map +1 -1
  103. package/dist/commands/context.d.ts +2 -0
  104. package/dist/commands/context.d.ts.map +1 -1
  105. package/dist/commands/context.js +2 -2
  106. package/dist/commands/context.js.map +1 -1
  107. package/dist/commands/import.d.ts +3 -0
  108. package/dist/commands/import.d.ts.map +1 -0
  109. package/dist/commands/import.js +92 -0
  110. package/dist/commands/import.js.map +1 -0
  111. package/dist/commands/read.d.ts.map +1 -1
  112. package/dist/commands/read.js +29 -3
  113. package/dist/commands/read.js.map +1 -1
  114. package/dist/commands/session-start.d.ts.map +1 -1
  115. package/dist/commands/session-start.js +9 -7
  116. package/dist/commands/session-start.js.map +1 -1
  117. package/dist/commands/stats.d.ts.map +1 -1
  118. package/dist/commands/stats.js +49 -2
  119. package/dist/commands/stats.js.map +1 -1
  120. package/dist/commands/sync.d.ts +2 -0
  121. package/dist/commands/sync.d.ts.map +1 -1
  122. package/dist/commands/sync.js +38 -4
  123. package/dist/commands/sync.js.map +1 -1
  124. package/dist/config.d.ts +11 -0
  125. package/dist/config.d.ts.map +1 -1
  126. package/dist/config.js +17 -0
  127. package/dist/config.js.map +1 -1
  128. package/dist/mail/doctor.d.ts +3 -2
  129. package/dist/mail/doctor.d.ts.map +1 -1
  130. package/dist/mail/doctor.js +14 -16
  131. package/dist/mail/doctor.js.map +1 -1
  132. package/dist/mail/domain-age.d.ts +29 -0
  133. package/dist/mail/domain-age.d.ts.map +1 -0
  134. package/dist/mail/domain-age.js +157 -0
  135. package/dist/mail/domain-age.js.map +1 -0
  136. package/dist/mail/mbox.d.ts +9 -0
  137. package/dist/mail/mbox.d.ts.map +1 -0
  138. package/dist/mail/mbox.js +230 -0
  139. package/dist/mail/mbox.js.map +1 -0
  140. package/dist/oauth.d.ts +13 -9
  141. package/dist/oauth.d.ts.map +1 -1
  142. package/dist/oauth.js +12 -25
  143. package/dist/oauth.js.map +1 -1
  144. package/dist/profile.d.ts +4 -1
  145. package/dist/profile.d.ts.map +1 -1
  146. package/dist/profile.js +6 -1
  147. package/dist/profile.js.map +1 -1
  148. package/dist/program.d.ts.map +1 -1
  149. package/dist/program.js +10 -1
  150. package/dist/program.js.map +1 -1
  151. package/dist/reasons.d.ts +1 -1
  152. package/dist/reasons.d.ts.map +1 -1
  153. package/dist/reasons.js +0 -1
  154. package/dist/reasons.js.map +1 -1
  155. package/dist/version.d.ts +1 -1
  156. package/dist/version.js +1 -1
  157. package/package.json +4 -4
  158. package/skills/mail-cli/SKILL.md +2 -0
  159. package/dist/bundle/chunk-72CGQMAZ.js +0 -18
  160. package/dist/bundle/command-contract-6QSZ5QHQ.js +0 -33
  161. package/dist/bundle/first-screen-4MRKF6RQ.js +0 -31
  162. package/dist/bundle/server-X5F7VD2E.js +0 -63
  163. package/dist/bundle/store-maintenance-command-QZV76KAH.js +0 -53
  164. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
@@ -30,18 +30,18 @@ import {
30
30
  string,
31
31
  union,
32
32
  variant
33
- } from "./chunk-M7JREJFC.js";
33
+ } from "./chunk-G6RG2AZV.js";
34
34
  import {
35
35
  CliError,
36
36
  isCliError,
37
37
  singleLine,
38
38
  visibleControls
39
- } from "./chunk-CCHHEMPM.js";
39
+ } from "./chunk-EB2IULWB.js";
40
40
  import {
41
41
  __name
42
42
  } from "./chunk-ZVVMGPBJ.js";
43
43
 
44
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/reference.js
44
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/reference.js
45
45
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
46
46
  var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
47
47
  if (!Number.isSafeInteger(value) || value < minimum)
@@ -78,8 +78,8 @@ var parseMeetingReference = /* @__PURE__ */ __name((text6) => {
78
78
  }, "parseMeetingReference");
79
79
  var canonicalMeetingReference = /* @__PURE__ */ __name((text6) => formatMeetingReference(parseMeetingReference(text6)), "canonicalMeetingReference");
80
80
 
81
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/payment.js
82
- var FACT_TYPES = ["fact", "statement", "question", "decision", "promise", "payment"];
81
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/payment.js
82
+ var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
83
83
  var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
84
84
  var PAYMENT_STATES = ["expected", "paid", "cancelled"];
85
85
  var invalid2 = /* @__PURE__ */ __name((message) => {
@@ -100,7 +100,7 @@ var amountOf = /* @__PURE__ */ __name((value) => {
100
100
  var dateOf = /* @__PURE__ */ __name((value) => {
101
101
  const date = typeof value === "string" ? value.trim() : "";
102
102
  if (!/^\d{4}-\d{2}-\d{2}$/.test(date) || (/* @__PURE__ */ new Date(`${date}T00:00:00Z`)).toISOString().slice(0, 10) !== date)
103
- return invalid2("a payment's due date is an ISO date, such as 2026-10-31");
103
+ return invalid2("a payment's dates are ISO dates, such as 2026-10-31");
104
104
  return date;
105
105
  }, "dateOf");
106
106
  var optionalText = /* @__PURE__ */ __name((value, what, limit) => {
@@ -115,7 +115,17 @@ var oneOf = /* @__PURE__ */ __name((value, allowed, what) => {
115
115
  return invalid2(`a payment's ${what} is one of ${allowed.join(", ")}`);
116
116
  return value;
117
117
  }, "oneOf");
118
- var FIELDS = ["amount", "currency", "direction", "counterparty", "counterparty_name", "due_at", "state", "item"];
118
+ var FIELDS = [
119
+ "amount",
120
+ "currency",
121
+ "direction",
122
+ "counterparty",
123
+ "counterparty_name",
124
+ "due_at",
125
+ "state",
126
+ "item",
127
+ "paid_at"
128
+ ];
119
129
  var validatePayment = /* @__PURE__ */ __name((input) => {
120
130
  if (!input || typeof input !== "object" || Array.isArray(input))
121
131
  return invalid2("a payment is an object");
@@ -129,6 +139,9 @@ var validatePayment = /* @__PURE__ */ __name((input) => {
129
139
  const counterparty = optionalText(raw.counterparty, "counterparty", 80);
130
140
  if (counterparty !== null && !COUNTERPARTY.test(counterparty))
131
141
  return invalid2("a payment's counterparty is a person:, organization: or project: reference");
142
+ const state = oneOf(raw.state, PAYMENT_STATES, "state");
143
+ if (raw.paid_at != null && state !== "paid")
144
+ return invalid2("only a paid payment has paid_at");
132
145
  return {
133
146
  amount: amountOf(raw.amount),
134
147
  currency,
@@ -136,8 +149,10 @@ var validatePayment = /* @__PURE__ */ __name((input) => {
136
149
  counterparty,
137
150
  counterparty_name: optionalText(raw.counterparty_name, "counterparty name", 200),
138
151
  due_at: raw.due_at === void 0 || raw.due_at === null ? null : dateOf(raw.due_at),
139
- state: oneOf(raw.state, PAYMENT_STATES, "state"),
140
- item: optionalText(raw.item, "item", 200)
152
+ state,
153
+ item: optionalText(raw.item, "item", 200),
154
+ // Left out when absent, so a finding staged before the field keeps its fingerprint.
155
+ ...raw.paid_at == null ? {} : { paid_at: dateOf(raw.paid_at) }
141
156
  };
142
157
  }, "validatePayment");
143
158
  var grouped = /* @__PURE__ */ __name((amount) => {
@@ -157,7 +172,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
157
172
  return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
158
173
  }, "paymentTitle");
159
174
 
160
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
175
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
161
176
  var QUERY_LIMITS = {
162
177
  bytes: 8192,
163
178
  depth: 32,
@@ -201,7 +216,7 @@ function queryError(reason, span, alternative, context3 = {}, details = {}) {
201
216
  __name(queryError, "queryError");
202
217
  var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
203
218
 
204
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
219
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
205
220
  var timezoneOf = /* @__PURE__ */ __name((given) => {
206
221
  const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
207
222
  try {
@@ -346,7 +361,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
346
361
  };
347
362
  }, "dateRange");
348
363
 
349
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
364
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
350
365
  var wordsOf = /* @__PURE__ */ __name((text6) => text6.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
351
366
  var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
352
367
  var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
@@ -401,7 +416,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
401
416
  }, "matches");
402
417
  var evaluate = /* @__PURE__ */ __name((ast, fields2, item, options = {}) => matches(ast.root, item, new Map(fields2.map((field) => [field.name, field])), options), "evaluate");
403
418
 
404
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
419
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
405
420
  var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
406
421
  var OPERATORS_BY_TYPE = {
407
422
  kw: ["term", "phrase", "wildcard"],
@@ -480,22 +495,17 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
480
495
  return [...own, ...relations, ...states];
481
496
  }, "queryFieldsOf");
482
497
 
483
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
484
- var QUERY_SYNTAX = 'field:value \xB7 "a phrase" \xB7 word* \xB7 AND OR NOT \xB7 ( ) \xB7 [a TO b] \xB7 > >= < <=';
498
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
485
499
  var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
486
500
  var leftOut = /* @__PURE__ */ __name((fields2) => fields2.filter((field) => field.negatable).map((field) => field.name), "leftOut");
487
501
  var has = /* @__PURE__ */ __name((fields2, operator) => fields2.some((field) => field.operators.includes(operator)), "has");
488
- var syntaxOf = /* @__PURE__ */ __name((shown, backend) => {
489
- if (backend !== "native")
490
- return QUERY_SYNTAX;
491
- return [
492
- "field:value",
493
- ...has(shown, "phrase") ? ['"a phrase"'] : [],
494
- ...has(shown, "wildcard") ? ["word*"] : [],
495
- "terms joined by AND",
496
- ...has(shown, "range") ? ["[a TO b] \xB7 > >= < <="] : []
497
- ].join(" \xB7 ");
498
- }, "syntaxOf");
502
+ var syntaxOf = /* @__PURE__ */ __name((shown, backend) => [
503
+ "field:value",
504
+ ...has(shown, "phrase") ? ['"a phrase"'] : [],
505
+ ...has(shown, "wildcard") ? ["word*"] : [],
506
+ ...backend === "native" ? ["terms joined by AND"] : ["AND OR NOT", "( )"],
507
+ ...has(shown, "range") ? ["[a TO b] \xB7 > >= < <="] : []
508
+ ].join(" \xB7 "), "syntaxOf");
499
509
  var kindOf = /* @__PURE__ */ __name((field) => field.values ? `${field.type}: ${field.values.join("|")}` : `${field.type}: ${field.operators.join(", ")}`, "kindOf");
500
510
  var fieldsHelp = /* @__PURE__ */ __name((registry, guide) => {
501
511
  const shown = shownOf(registry);
@@ -516,13 +526,13 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
516
526
  if (shown.length === 0)
517
527
  return "field:value terms; this list filters by none yet, so any term is refused";
518
528
  const negatable = leftOut(shown);
519
- const terms = registry.backend === "native" ? `field:value terms joined by AND that narrow the list${negatable.length > 0 ? `; -field:value or NOT field:value leaves out what matches, for ${negatable.join(", ")} only` : ""}` : "field:value terms that narrow the list (Lucene: AND OR NOT, -field:value, [a TO b], > <)";
529
+ const terms = registry.backend === "native" ? `field:value terms joined by AND that narrow the list${negatable.length > 0 ? `; -field:value or NOT field:value leaves out what matches, for ${negatable.join(", ")} only` : ""}` : `field:value terms that narrow the list (Lucene: AND OR NOT, -field:value${has(shown, "range") ? ", [a TO b], > <" : ""})`;
520
530
  const fields2 = shown.map((field) => field.values ? `${field.name} (${field.values.join("|")})` : field.name);
521
531
  const defaults = registry.defaults?.length ? `; unless named: ${registry.defaults.join(" ")}` : "";
522
532
  return `${terms}; fields: ${fields2.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
523
533
  }, "queryDescription");
524
534
 
525
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
535
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
526
536
  var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
527
537
  var reserved = /* @__PURE__ */ new Set([
528
538
  "+",
@@ -629,6 +639,10 @@ var tokensOf = /* @__PURE__ */ __name((text6, fail = queryError) => {
629
639
  break;
630
640
  at++;
631
641
  }
642
+ const [field, colon] = tokens.slice(-2);
643
+ if (field?.kind === "term" && colon?.kind === ":" && colon.span.end === start && text6[at] === ":" && /^[a-z][a-z_-]*$/u.test(text6.slice(start, at)) && /^:[^\s()"]/u.test(text6.slice(at)))
644
+ while (at < text6.length && !whitespace(text6[at] ?? "") && !["(", ")", '"'].includes(text6[at] ?? ""))
645
+ at++;
632
646
  const raw = text6.slice(start, at);
633
647
  kind = { AND: "AND", OR: "OR", NOT: "NOT", "&&": "AND", "||": "OR" }[raw] ?? (/^\d+(?:\.\d+)?$/u.test(raw) ? "number" : "term");
634
648
  }
@@ -827,7 +841,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text6) => {
827
841
  return new Set(tokens.flatMap((token, index) => (token.kind === "term" || token.kind === "number") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index - 1]?.kind ?? "") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index + 1]?.kind ?? "") ? [token.span.start] : []));
828
842
  }, "implicitTextTerms");
829
843
 
830
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
844
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
831
845
  var inContext = /* @__PURE__ */ __name((context3, run2) => {
832
846
  try {
833
847
  run2();
@@ -902,7 +916,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
902
916
  }, "validateQuery");
903
917
  var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
904
918
 
905
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
919
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
906
920
  var describeQuery = /* @__PURE__ */ __name((registry) => ({
907
921
  entity: registry.entity,
908
922
  backend: registry.backend,
@@ -973,7 +987,7 @@ var QUERY_REASONS = defineReasons([
973
987
  details: [...SPAN, ...details]
974
988
  })));
975
989
 
976
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/item.js
990
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/item.js
977
991
  var text = string();
978
992
  var count = pipe(number(), integer(), minValue(0));
979
993
  var MEETING_ISSUES = ["time_without_zone"];
@@ -1038,7 +1052,7 @@ var MEETING_QUERY = {
1038
1052
  })
1039
1053
  };
1040
1054
 
1041
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/answers.js
1055
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/answers.js
1042
1056
  var text2 = string();
1043
1057
  var count2 = pipe(number(), integer(), minValue(0));
1044
1058
  var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
@@ -1273,7 +1287,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
1273
1287
  };
1274
1288
  }, "meetingHitsList");
1275
1289
 
1276
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
1290
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
1277
1291
  var joinKeyOf = /* @__PURE__ */ __name((url) => {
1278
1292
  const parsed = urlOf(url);
1279
1293
  if (!parsed)
@@ -1307,7 +1321,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
1307
1321
  }
1308
1322
  }, "urlOf");
1309
1323
 
1310
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
1324
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
1311
1325
  var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
1312
1326
  var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
1313
1327
  var htmlToText = /* @__PURE__ */ __name((html) => html.replace(/<\s*br\s*\/?>/giu, "\n").replace(/<\/\s*(p|div|li|tr|h[1-6])\s*>/giu, "\n").replace(/<a\s[^>]*href\s*=\s*"([^"]*)"[^>]*>/giu, " $1 ").replace(/<[^>]+>/gu, "").replace(/&(amp|lt|gt|quot|#39|apos|nbsp);/gu, (_, name) => ENTITIES[name] ?? ""), "htmlToText");
@@ -1340,7 +1354,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
1340
1354
  return kept;
1341
1355
  }, "entryMetadata");
1342
1356
 
1343
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
1357
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
1344
1358
  import { createHash } from "node:crypto";
1345
1359
  var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
1346
1360
  reference: cue2.reference,
@@ -1354,7 +1368,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
1354
1368
  text: cue2.text
1355
1369
  })).digest("hex"), "meetingCueFingerprint");
1356
1370
 
1357
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
1371
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
1358
1372
  var EVENT_QUERY = defineQuery({
1359
1373
  entity: "event",
1360
1374
  backend: "sql",
@@ -1370,7 +1384,7 @@ var EVENT_QUERY = defineQuery({
1370
1384
  ]
1371
1385
  });
1372
1386
 
1373
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
1387
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
1374
1388
  var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
1375
1389
  var seriesEnd = /* @__PURE__ */ __name((entry) => {
1376
1390
  if (entry.recurrenceEndsAt !== null)
@@ -1393,7 +1407,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
1393
1407
  return Math.max(entry.endsAt ?? start, start + 1) > window.from;
1394
1408
  }, "entryInWindow");
1395
1409
 
1396
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/events.js
1410
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/events.js
1397
1411
  var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
1398
1412
  const current = await store.meeting(details.meeting.id);
1399
1413
  if (!current)
@@ -1436,7 +1450,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
1436
1450
  return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
1437
1451
  }, "linkEvent");
1438
1452
 
1439
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
1453
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
1440
1454
  var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
1441
1455
  var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
1442
1456
  if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
@@ -1460,7 +1474,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
1460
1474
  };
1461
1475
  }, "validateMeetingParticipantSearch");
1462
1476
 
1463
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/reads.js
1477
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/reads.js
1464
1478
  var MeetingError = class extends CliError {
1465
1479
  static {
1466
1480
  __name(this, "MeetingError");
@@ -1592,7 +1606,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id3, accountId)
1592
1606
  return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
1593
1607
  }, "meetingSummaryAnswer");
1594
1608
 
1595
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/export.js
1609
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/export.js
1596
1610
  var timestamp = /* @__PURE__ */ __name((milliseconds) => {
1597
1611
  if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
1598
1612
  throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
@@ -1688,10 +1702,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id3, options) => {
1688
1702
  };
1689
1703
  }, "exportMeeting");
1690
1704
 
1691
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
1705
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
1692
1706
  import { createHash as createHash2 } from "node:crypto";
1693
1707
 
1694
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
1708
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
1695
1709
  var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
1696
1710
  if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
1697
1711
  throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
@@ -1702,7 +1716,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
1702
1716
  return new Date(value).toISOString();
1703
1717
  }, "meetingTimestamp");
1704
1718
 
1705
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
1719
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
1706
1720
  var TASK_TYPES = ["bug", "feature", "chore"];
1707
1721
  var invalid3 = /* @__PURE__ */ __name((message) => {
1708
1722
  throw new CliError("validation_error", message);
@@ -1718,116 +1732,138 @@ var fields = /* @__PURE__ */ __name((value, allowed, noun) => {
1718
1732
  invalid3(`unknown ${noun} field`);
1719
1733
  }, "fields");
1720
1734
  var SUBJECT = /^(person|organization|project):[1-9]\d*$|^task:[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$/;
1721
- var validateFindings = /* @__PURE__ */ __name((input, rules) => {
1735
+ var validEvidence = /* @__PURE__ */ __name((raw, rules) => {
1736
+ if (!Array.isArray(raw) || raw.length < 1 || raw.length > 8)
1737
+ return invalid3(`a finding requires 1\u20138 cited ${rules.cited}s`);
1738
+ const evidence = raw.map((item) => {
1739
+ if (!item || typeof item !== "object")
1740
+ return invalid3("finding evidence is a reference and fingerprint");
1741
+ fields(item, ["reference", "fingerprint"], rules.singular);
1742
+ if (typeof item.reference !== "string" || typeof item.fingerprint !== "string")
1743
+ return invalid3("evidence requires a reference and fingerprint");
1744
+ const reference2 = rules.reference(item.reference);
1745
+ if (!/^[a-f0-9]{64}$/.test(item.fingerprint))
1746
+ return invalid3(`finding evidence requires exact ${rules.cited} references and fingerprints`);
1747
+ return { reference: reference2, fingerprint: item.fingerprint };
1748
+ }).sort((a, b) => a.reference.localeCompare(b.reference));
1749
+ if (new Set(evidence.map((item) => item.reference)).size !== evidence.length)
1750
+ return invalid3(`duplicate evidence ${rules.cited}`);
1751
+ return evidence;
1752
+ }, "validEvidence");
1753
+ var findingId = /* @__PURE__ */ __name((raw, ids2) => {
1754
+ const id3 = findingText(raw, 64);
1755
+ if (!/^[a-zA-Z0-9][a-zA-Z0-9_.:-]*$/.test(id3) || ids2.has(id3))
1756
+ return invalid3("finding IDs must be unique simple keys");
1757
+ ids2.add(id3);
1758
+ return id3;
1759
+ }, "findingId");
1760
+ var validateFinding = /* @__PURE__ */ __name((finding, rules, ids2) => {
1761
+ if (!finding || typeof finding !== "object")
1762
+ return invalid3("a finding is an object");
1763
+ const id3 = findingId(finding.id, ids2);
1764
+ const project = finding.project === void 0 && rules.anySubject ? void 0 : text3(finding.project, 64);
1765
+ if (project !== void 0 && !/^project:[1-9]\d*$/.test(project))
1766
+ return invalid3("a finding names a project reference");
1767
+ if (finding.subject !== void 0 && (!rules.anySubject || !SUBJECT.test(text3(finding.subject, 80))))
1768
+ return invalid3("a finding's subject is a person:, organization:, task: or project: reference");
1769
+ if (finding.kind === "task" && project === void 0 && !rules.inboxTasks)
1770
+ return invalid3("a task finding names the project the task goes in");
1771
+ const evidence = validEvidence(finding.evidence, rules);
1772
+ const base = {
1773
+ id: id3,
1774
+ ...project === void 0 ? {} : { project },
1775
+ ...finding.subject === void 0 ? {} : { subject: finding.subject },
1776
+ evidence
1777
+ };
1778
+ if (finding.kind === "fact") {
1779
+ fields(finding, ["id", "project", "subject", "evidence", "kind", "type", "statement"], rules.singular);
1780
+ if (finding.type === "payment")
1781
+ return invalid3("a payment is a finding of kind payment; money is a payments row, not a fact");
1782
+ if (!FACT_TYPES.includes(finding.type))
1783
+ return invalid3("unknown fact finding type");
1784
+ return { ...base, kind: "fact", type: finding.type, statement: text3(finding.statement, 2e3) };
1785
+ }
1786
+ if (finding.kind === "payment" && rules.payments) {
1787
+ fields(finding, ["id", "project", "subject", "evidence", "kind", "statement", "payment", "supersedes"], rules.singular);
1788
+ if (finding.supersedes !== void 0 && !/^invoice:[1-9]\d*$/.test(String(finding.supersedes)))
1789
+ return invalid3("a payment finding supersedes an invoice: reference, the expected payment it settles or voids");
1790
+ const payment = validatePayment(finding.payment);
1791
+ if (payment.state === "expected" && finding.supersedes !== void 0)
1792
+ return invalid3("an expected payment supersedes nothing; a paid or cancelled one supersedes its invoice");
1793
+ if (payment.state === "cancelled" && finding.supersedes === void 0)
1794
+ return invalid3("a cancelled payment names the invoice: it cancels in supersedes");
1795
+ if (payment.state === "expected" && !/^(person|organization):/.test(payment.counterparty ?? ""))
1796
+ return invalid3("an expected payment becomes an invoice, which names its counterparty as a person: or organization:");
1797
+ return {
1798
+ ...base,
1799
+ kind: "payment",
1800
+ ...finding.statement === void 0 ? {} : { statement: text3(finding.statement, 2e3) },
1801
+ payment,
1802
+ ...finding.supersedes === void 0 ? {} : { supersedes: finding.supersedes }
1803
+ };
1804
+ }
1805
+ if (finding.kind !== "task")
1806
+ return invalid3(`a finding is a fact${rules.payments ? ", payment" : ""} or task`);
1807
+ fields(finding, [
1808
+ "id",
1809
+ "project",
1810
+ "evidence",
1811
+ "kind",
1812
+ "type",
1813
+ "title",
1814
+ "reason",
1815
+ "commitment",
1816
+ "dueAt",
1817
+ "dueEvidence",
1818
+ "assignee",
1819
+ "assigneeEvidence"
1820
+ ], rules.singular);
1821
+ if (!TASK_TYPES.includes(finding.type))
1822
+ return invalid3("a task finding type is bug, chore or feature");
1823
+ if (!["explicit", "inferred"].includes(finding.commitment))
1824
+ return invalid3("task commitment must be explicit or inferred");
1825
+ if (finding.dueAt === void 0 !== (finding.dueEvidence === void 0) || finding.assignee === void 0 !== (finding.assigneeEvidence === void 0))
1826
+ return invalid3("optional dates and assignees require their supporting evidence");
1827
+ if (finding.assignee !== void 0 && (typeof finding.assignee !== "string" || !/^person:[1-9]\d*$/.test(finding.assignee)))
1828
+ return invalid3("an assignee must be a person reference");
1829
+ return {
1830
+ ...base,
1831
+ kind: "task",
1832
+ type: finding.type,
1833
+ title: text3(finding.title, 300),
1834
+ reason: text3(finding.reason, 2e3),
1835
+ commitment: finding.commitment,
1836
+ ...finding.dueAt === void 0 ? {} : {
1837
+ dueAt: meetingTimestamp(finding.dueAt, "finding due date"),
1838
+ dueEvidence: support(finding.dueEvidence, evidence)
1839
+ },
1840
+ ...finding.assignee === void 0 ? {} : { assignee: finding.assignee, assigneeEvidence: support(finding.assigneeEvidence, evidence) }
1841
+ };
1842
+ }, "validateFinding");
1843
+ var support = /* @__PURE__ */ __name((value, evidence) => {
1844
+ if (!Array.isArray(value) || value.length < 1 || value.length > 8 || value.some((ref) => typeof ref !== "string" || !evidence.some((item) => item.reference === ref)))
1845
+ return invalid3("date and assignee support must cite the finding's evidence");
1846
+ return [...new Set(value)].sort();
1847
+ }, "support");
1848
+ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
1722
1849
  if (!input || typeof input !== "object" || Buffer.byteLength(JSON.stringify(input), "utf8") > 65536)
1723
1850
  return invalid3(`${rules.plural} take at most 65536 UTF-8 bytes`);
1724
1851
  fields(input, ["schemaVersion", "key", "extractor", "findings"], rules.singular);
1725
- if (input.schemaVersion !== 1 || !Array.isArray(input.findings) || input.findings.length < 1 || input.findings.length > 16)
1726
- return invalid3(`schemaVersion 1 takes 1\u201316 ${rules.plural}`);
1852
+ if (input.schemaVersion !== 1 || !Array.isArray(input.findings) || input.findings.length < 1 || input.findings.length > most)
1853
+ return invalid3(`schemaVersion 1 takes 1\u2013${most} ${rules.plural}`);
1727
1854
  const key = text3(input.key, 64);
1728
1855
  if (!/^[a-zA-Z0-9][a-zA-Z0-9_.:-]*$/.test(key))
1729
1856
  return invalid3("a findings key uses letters, digits, dot, colon, underscore or hyphen");
1730
1857
  const ids2 = /* @__PURE__ */ new Set();
1731
- const findings = input.findings.map((finding) => {
1732
- if (!finding || typeof finding !== "object")
1733
- return invalid3("a finding is an object");
1734
- const id3 = text3(finding.id, 64);
1735
- if (!/^[a-zA-Z0-9][a-zA-Z0-9_.:-]*$/.test(id3) || ids2.has(id3))
1736
- return invalid3("finding IDs must be unique simple keys");
1737
- ids2.add(id3);
1738
- const project = finding.project === void 0 && rules.anySubject ? void 0 : text3(finding.project, 64);
1739
- if (project !== void 0 && !/^project:[1-9]\d*$/.test(project))
1740
- return invalid3("a finding names a project reference");
1741
- if (finding.subject !== void 0 && (!rules.anySubject || !SUBJECT.test(text3(finding.subject, 80))))
1742
- return invalid3("a finding's subject is a person:, organization:, task: or project: reference");
1743
- if (finding.kind === "task" && project === void 0)
1744
- return invalid3("a task finding names the project the task goes in");
1745
- if (!Array.isArray(finding.evidence) || finding.evidence.length < 1 || finding.evidence.length > 8)
1746
- return invalid3(`a finding requires 1\u20138 cited ${rules.cited}s`);
1747
- const evidence = finding.evidence.map((item) => {
1748
- if (!item || typeof item !== "object")
1749
- return invalid3("finding evidence is a reference and fingerprint");
1750
- fields(item, ["reference", "fingerprint"], rules.singular);
1751
- if (typeof item.reference !== "string" || typeof item.fingerprint !== "string")
1752
- return invalid3("evidence requires a reference and fingerprint");
1753
- const reference2 = rules.reference(item.reference);
1754
- if (!/^[a-f0-9]{64}$/.test(item.fingerprint))
1755
- return invalid3(`finding evidence requires exact ${rules.cited} references and fingerprints`);
1756
- return { reference: reference2, fingerprint: item.fingerprint };
1757
- }).sort((a, b) => a.reference.localeCompare(b.reference));
1758
- if (new Set(evidence.map((item) => item.reference)).size !== evidence.length)
1759
- return invalid3(`duplicate evidence ${rules.cited}`);
1760
- const base = {
1761
- id: id3,
1762
- ...project === void 0 ? {} : { project },
1763
- ...finding.subject === void 0 ? {} : { subject: finding.subject },
1764
- evidence
1765
- };
1766
- if (finding.kind === "fact") {
1767
- fields(finding, ["id", "project", "subject", "evidence", "kind", "type", "statement"], rules.singular);
1768
- if (finding.type === "payment")
1769
- return invalid3("a payment is a finding of kind payment");
1770
- if (!FACT_TYPES.includes(finding.type))
1771
- return invalid3("unknown fact finding type");
1772
- return { ...base, kind: "fact", type: finding.type, statement: text3(finding.statement, 2e3) };
1773
- }
1774
- if (finding.kind === "payment" && rules.payments) {
1775
- fields(finding, ["id", "project", "subject", "evidence", "kind", "statement", "payment", "supersedes"], rules.singular);
1776
- if (finding.supersedes !== void 0 && !/^fact:[1-9]\d*$/.test(String(finding.supersedes)))
1777
- return invalid3("a payment finding supersedes a fact: reference");
1778
- return {
1779
- ...base,
1780
- kind: "payment",
1781
- ...finding.statement === void 0 ? {} : { statement: text3(finding.statement, 2e3) },
1782
- payment: validatePayment(finding.payment),
1783
- ...finding.supersedes === void 0 ? {} : { supersedes: finding.supersedes }
1784
- };
1785
- }
1786
- if (finding.kind !== "task")
1787
- return invalid3(`a finding is a fact${rules.payments ? ", payment" : ""} or task`);
1788
- fields(finding, [
1789
- "id",
1790
- "project",
1791
- "evidence",
1792
- "kind",
1793
- "type",
1794
- "title",
1795
- "reason",
1796
- "commitment",
1797
- "dueAt",
1798
- "dueEvidence",
1799
- "assignee",
1800
- "assigneeEvidence"
1801
- ], rules.singular);
1802
- if (!TASK_TYPES.includes(finding.type))
1803
- return invalid3("a task finding type is bug, chore or feature");
1804
- if (!["explicit", "inferred"].includes(finding.commitment))
1805
- return invalid3("task commitment must be explicit or inferred");
1806
- const support = /* @__PURE__ */ __name((value) => {
1807
- if (!Array.isArray(value) || value.length < 1 || value.length > 8 || value.some((ref) => typeof ref !== "string" || !evidence.some((item) => item.reference === ref)))
1808
- return invalid3("date and assignee support must cite the finding's evidence");
1809
- return [...new Set(value)].sort();
1810
- }, "support");
1811
- if (finding.dueAt === void 0 !== (finding.dueEvidence === void 0) || finding.assignee === void 0 !== (finding.assigneeEvidence === void 0))
1812
- return invalid3("optional dates and assignees require their supporting evidence");
1813
- if (finding.assignee !== void 0 && (typeof finding.assignee !== "string" || !/^person:[1-9]\d*$/.test(finding.assignee)))
1814
- return invalid3("an assignee must be a person reference");
1815
- return {
1816
- ...base,
1817
- kind: "task",
1818
- type: finding.type,
1819
- title: text3(finding.title, 300),
1820
- reason: text3(finding.reason, 2e3),
1821
- commitment: finding.commitment,
1822
- ...finding.dueAt === void 0 ? {} : { dueAt: meetingTimestamp(finding.dueAt, "finding due date"), dueEvidence: support(finding.dueEvidence) },
1823
- ...finding.assignee === void 0 ? {} : { assignee: finding.assignee, assigneeEvidence: support(finding.assigneeEvidence) }
1824
- };
1825
- });
1858
+ const findings = input.findings.map((finding) => one(finding, ids2));
1826
1859
  return { schemaVersion: 1, key, extractor: text3(input.extractor, 200), findings };
1827
- }, "validateFindings");
1860
+ }, "validateBatch");
1861
+ var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
1862
+ var findingText = /* @__PURE__ */ __name((value, limit) => text3(value, limit), "findingText");
1863
+ var findingFields = /* @__PURE__ */ __name((value, allowed, noun) => fields(value, allowed, noun), "findingFields");
1828
1864
  var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
1829
1865
 
1830
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/findings.js
1866
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/findings.js
1831
1867
  var MEETING_FINDINGS_KIND = "meeting_findings";
1832
1868
  var cue = /* @__PURE__ */ __name((raw) => {
1833
1869
  const reference2 = canonicalMeetingReference(raw);
@@ -1838,7 +1874,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
1838
1874
  var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
1839
1875
  var meetingFindingFingerprint = findingFingerprint;
1840
1876
 
1841
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
1877
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
1842
1878
  var context = {
1843
1879
  command: "search meetings",
1844
1880
  guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
@@ -1901,7 +1937,7 @@ var MEETING_FIELDS = defineQuery({
1901
1937
  });
1902
1938
  var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
1903
1939
 
1904
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/language.js
1940
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/language.js
1905
1941
  var LATIN_WORDS = {
1906
1942
  en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
1907
1943
  es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
@@ -1950,7 +1986,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
1950
1986
  return null;
1951
1987
  }, "transcriptLanguage");
1952
1988
 
1953
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
1989
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
1954
1990
  var contentHash = /* @__PURE__ */ __name(async (text6) => {
1955
1991
  const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
1956
1992
  return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
@@ -1987,7 +2023,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
1987
2023
  return time;
1988
2024
  }, "timestamp");
1989
2025
 
1990
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
2026
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
1991
2027
  var TranscriptTextError = class extends Error {
1992
2028
  static {
1993
2029
  __name(this, "TranscriptTextError");
@@ -2042,7 +2078,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
2042
2078
  return { header, lines };
2043
2079
  }, "parseTranscriptText");
2044
2080
 
2045
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
2081
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
2046
2082
  var VttError = class extends Error {
2047
2083
  static {
2048
2084
  __name(this, "VttError");
@@ -2094,7 +2130,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
2094
2130
  return cues;
2095
2131
  }, "parseVtt");
2096
2132
 
2097
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/import.js
2133
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/import.js
2098
2134
  var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
2099
2135
  const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
2100
2136
  for (const file of files) {
@@ -2127,10 +2163,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
2127
2163
  return report;
2128
2164
  }, "importFiles");
2129
2165
 
2130
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/links.js
2166
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/links.js
2131
2167
  var CHAT_MESSAGES_READ = 1e5;
2132
2168
 
2133
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
2169
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
2134
2170
  var nonempty = /* @__PURE__ */ __name((value, name) => {
2135
2171
  if (typeof value !== "string" || !value.trim())
2136
2172
  throw new CliError("validation_error", `${name} must be nonempty`);
@@ -2181,7 +2217,7 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
2181
2217
  return Object.freeze(result);
2182
2218
  }, "validateMeetingChange");
2183
2219
 
2184
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/passage.js
2220
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/passage.js
2185
2221
  var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
2186
2222
  const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
2187
2223
  if (![before, after].every((value) => Number.isSafeInteger(value) && value >= 0) || before + after > 999 || !Number.isSafeInteger(bytes) || bytes < 2 || bytes > 4194304 || !Number.isSafeInteger(max_read_bytes) || max_read_bytes < 1 || max_read_bytes > 67108864 || expected_fingerprint !== void 0 && (typeof expected_fingerprint !== "string" || !/^[a-f0-9]{64}$/.test(expected_fingerprint)))
@@ -2194,7 +2230,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
2194
2230
  throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
2195
2231
  }, "validateMeetingPassage");
2196
2232
 
2197
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
2233
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
2198
2234
  var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
2199
2235
  if (!original || typeof original !== "object" || Array.isArray(original))
2200
2236
  throw new CliError("validation_error", "meeting preparation context is required");
@@ -2219,7 +2255,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
2219
2255
  return { ...input, limit, maxReadBytes };
2220
2256
  }, "validateMeetingPreparationContext");
2221
2257
 
2222
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
2258
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
2223
2259
  var count3 = pipe(number(), integer(), minValue(0));
2224
2260
  var id = pipe(string(), minLength(1));
2225
2261
  var meetingProjectEvidence = strictObject({
@@ -2340,7 +2376,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
2340
2376
  };
2341
2377
  }, "meetingProjectEvidenceAnswer");
2342
2378
 
2343
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
2379
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
2344
2380
  var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
2345
2381
  const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
2346
2382
  if (typeof query !== "string" || !query.trim() || query.includes("\0") || new TextEncoder().encode(query).byteLength > 65536 || !integer3(options.limit ?? 100, 1, 1e3) || !integer3(options.maxReadBytes ?? 4194304, 1, 67108864) || [
@@ -2360,7 +2396,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
2360
2396
  throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
2361
2397
  }, "validateMeetingHitSearch");
2362
2398
 
2363
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
2399
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
2364
2400
  var ids = {
2365
2401
  meeting_id: "meetingId",
2366
2402
  identity_id: "participantIdentityId",
@@ -2451,7 +2487,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
2451
2487
  return { project: project.trim(), options, query: frozen.join(" AND ") };
2452
2488
  }, "prepareMeetingProjectEvidence");
2453
2489
 
2454
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
2490
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
2455
2491
  var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
2456
2492
  const prepared = prepareMeetingProjectEvidence(project, request, now);
2457
2493
  const page = await read(prepared.project, prepared.options);
@@ -2459,7 +2495,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
2459
2495
  return meetingProjectEvidenceAnswer(page, prepared);
2460
2496
  }, "readMeetingProjectEvidence");
2461
2497
 
2462
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/pull.js
2498
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/pull.js
2463
2499
  var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
2464
2500
  const { identityExternalId, ...fields2 } = p;
2465
2501
  const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
@@ -2598,7 +2634,7 @@ unlinked`, format)],
2598
2634
  return report;
2599
2635
  }, "pull");
2600
2636
 
2601
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
2637
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
2602
2638
  var text4 = string();
2603
2639
  var count4 = pipe(number(), integer(), minValue(0));
2604
2640
  var id2 = pipe(number(), integer(), minValue(1));
@@ -2658,6 +2694,23 @@ var meetingStats = strictObject({
2658
2694
  weeks: array(strictObject({ week_start: text4, meetings: count4, talk_ms: count4 })),
2659
2695
  top_speakers: array(meetingSpeaker)
2660
2696
  });
2697
+ var meetingCountsRow = strictObject({
2698
+ key: text4,
2699
+ name: nullable(text4),
2700
+ meetings: count4,
2701
+ minutes: count4,
2702
+ mean_minutes: nullable(number()),
2703
+ transcripts: count4
2704
+ });
2705
+ var meetingCounts = strictObject({
2706
+ by: picklist(["day", "week", "series"]),
2707
+ meetings: count4,
2708
+ minutes: count4,
2709
+ mean_minutes: nullable(number()),
2710
+ transcripts: count4,
2711
+ rows: array(meetingCountsRow),
2712
+ has_more: boolean()
2713
+ });
2661
2714
  var truncated = /* @__PURE__ */ __name((...why) => nullable(picklist(why)), "truncated");
2662
2715
  var meetingParticipants = strictObject({
2663
2716
  schema_version: literal(1),
@@ -2775,10 +2828,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
2775
2828
  updated_at: new Date(one.updatedAt).toISOString()
2776
2829
  }), "eventItem");
2777
2830
 
2778
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
2831
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
2779
2832
  var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
2780
2833
 
2781
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
2834
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
2782
2835
  var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
2783
2836
  if (!original || typeof original !== "object" || Array.isArray(original))
2784
2837
  throw new CliError("validation_error", "related history request is required");
@@ -2808,7 +2861,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
2808
2861
  return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
2809
2862
  }, "validateMeetingRelatedHistory");
2810
2863
 
2811
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
2864
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
2812
2865
  var text5 = string();
2813
2866
  var identifier = pipe(text5, minLength(1));
2814
2867
  var nullableText = nullable(text5);
@@ -2941,14 +2994,14 @@ var MEETING_RESULT_ENTITIES = {
2941
2994
  meeting_repair: repair
2942
2995
  };
2943
2996
 
2944
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/review.js
2997
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/review.js
2945
2998
  var REVIEW_LIMIT = { default: 50, most: 200 };
2946
2999
 
2947
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
3000
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
2948
3001
  var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
2949
3002
  \`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
2950
3003
 
2951
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
3004
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
2952
3005
  var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
2953
3006
  input.signal?.throwIfAborted();
2954
3007
  if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
@@ -2969,10 +3022,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
2969
3022
  return { ...input, limit, maxReadBytes };
2970
3023
  }, "validateMeetingSeriesHistory");
2971
3024
 
2972
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
3025
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
2973
3026
  var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
2974
3027
 
2975
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
3028
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
2976
3029
  function invalid4(field, response = false) {
2977
3030
  throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
2978
3031
  }
@@ -3001,7 +3054,8 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
3001
3054
  cursorDetails(value);
3002
3055
  }, "validateMeetingSeriesInventoryCursor");
3003
3056
 
3004
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/meetings/stats.js
3057
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/meetings/stats.js
3058
+ var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
3005
3059
  var zoneOf = /* @__PURE__ */ __name((timeZone) => {
3006
3060
  const zone = timeZone ?? "UTC";
3007
3061
  try {
@@ -3017,17 +3071,72 @@ var weekStart = /* @__PURE__ */ __name((at, format) => {
3017
3071
  const day = Date.UTC(Number(parts.year), Number(parts.month) - 1, Number(parts.day));
3018
3072
  return new Date(day - DAYS.indexOf(parts.weekday ?? "Mon") * 864e5).toISOString().slice(0, 10);
3019
3073
  }, "weekStart");
3074
+ var dayKey = /* @__PURE__ */ __name((at, format) => {
3075
+ const parts = Object.fromEntries(format.formatToParts(new Date(at)).map((part) => [part.type, part.value]));
3076
+ return `${parts.year}-${parts.month}-${parts.day}`;
3077
+ }, "dayKey");
3078
+ var zoneFormat = /* @__PURE__ */ __name((zone) => new Intl.DateTimeFormat("en-US", {
3079
+ timeZone: zone,
3080
+ year: "numeric",
3081
+ month: "2-digit",
3082
+ day: "2-digit",
3083
+ weekday: "short"
3084
+ }), "zoneFormat");
3085
+ var NO_SERIES = "no-series";
3086
+ var MOST_COUNT_ROWS = 100;
3087
+ var minutesOf = /* @__PURE__ */ __name((ms) => Math.round(ms / 6e4), "minutesOf");
3088
+ var meanOf = /* @__PURE__ */ __name((ms, timed) => timed === 0 ? null : Math.round(ms / timed / 6e3) / 10, "meanOf");
3089
+ var aggregateMeetingCounts = /* @__PURE__ */ __name((meetings, by, timeZone, limit = MOST_COUNT_ROWS) => {
3090
+ if (!MEETING_COUNTS_GROUPINGS.includes(by))
3091
+ throw new CliError("validation_error", `--by takes ${MEETING_COUNTS_GROUPINGS.join(", ")}`);
3092
+ if (!Number.isSafeInteger(limit) || limit < 1)
3093
+ throw new CliError("validation_error", "--limit is a positive number");
3094
+ const zone = zoneOf(timeZone);
3095
+ const format = zoneFormat(zone);
3096
+ const sum = /* @__PURE__ */ __name(() => ({ meetings: 0, ms: 0, timed: 0, transcripts: 0 }), "sum");
3097
+ const add = /* @__PURE__ */ __name((into, meeting2) => {
3098
+ into.meetings += 1;
3099
+ if (meeting2.durationMs !== null) {
3100
+ into.ms += Math.max(0, meeting2.durationMs);
3101
+ into.timed += 1;
3102
+ }
3103
+ if (meeting2.transcribed)
3104
+ into.transcripts += 1;
3105
+ }, "add");
3106
+ const total = { ...sum(), name: null };
3107
+ const groups = /* @__PURE__ */ new Map();
3108
+ for (const meeting2 of meetings) {
3109
+ add(total, meeting2);
3110
+ const key = by === "series" ? meeting2.seriesKey === null ? NO_SERIES : `series:${meeting2.seriesKey}` : meeting2.startedAt === null ? null : by === "day" ? dayKey(meeting2.startedAt, format) : weekStart(meeting2.startedAt, format);
3111
+ if (key === null)
3112
+ continue;
3113
+ const group = groups.get(key) ?? { ...sum(), name: by === "series" ? meeting2.seriesTitle : null };
3114
+ add(group, meeting2);
3115
+ groups.set(key, group);
3116
+ }
3117
+ const ordered = [...groups.entries()].sort(([a, one], [b, other]) => by === "series" ? other.ms - one.ms || other.meetings - one.meetings || a.localeCompare(b) : b.localeCompare(a));
3118
+ const kept = ordered.slice(0, limit);
3119
+ if (by !== "series")
3120
+ kept.reverse();
3121
+ const counted = /* @__PURE__ */ __name(({ meetings: count6, ms, timed, transcripts }) => ({
3122
+ meetings: count6,
3123
+ minutes: minutesOf(ms),
3124
+ meanMinutes: meanOf(ms, timed),
3125
+ transcripts
3126
+ }), "counted");
3127
+ return {
3128
+ by,
3129
+ timeZone: zone,
3130
+ ...counted(total),
3131
+ rows: kept.map(([key, group]) => ({ key, name: group.name, ...counted(group) })),
3132
+ hasMore: ordered.length > limit
3133
+ };
3134
+ }, "aggregateMeetingCounts");
3020
3135
  var UNKNOWN_SPEAKER = "unknown";
3021
3136
  var speakerOf = /* @__PURE__ */ __name((row) => row.personId !== null ? { key: `person:${row.personId}`, name: row.personName ?? row.identityName ?? row.speakerName } : row.identityId !== null ? { key: `identity:${row.identityId}`, name: row.identityName ?? row.speakerName } : row.speakerName?.trim() ? { key: `name:${row.speakerName.trim().toLowerCase()}`, name: row.speakerName.trim() } : { key: UNKNOWN_SPEAKER, name: null }, "speakerOf");
3022
3137
  var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
3023
3138
  const zone = zoneOf(timeZone);
3024
- const format = new Intl.DateTimeFormat("en-US", {
3025
- timeZone: zone,
3026
- year: "numeric",
3027
- month: "2-digit",
3028
- day: "2-digit",
3029
- weekday: "short"
3030
- });
3139
+ const format = zoneFormat(zone);
3031
3140
  const speakers = /* @__PURE__ */ new Map();
3032
3141
  const weeks = /* @__PURE__ */ new Map();
3033
3142
  const meetings = /* @__PURE__ */ new Set();
@@ -3080,7 +3189,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
3080
3189
  };
3081
3190
  }, "aggregateMeetingStats");
3082
3191
 
3083
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/domain/tags.js
3192
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/tags.js
3084
3193
  var TAG_TYPES = ["chat", "contact", "message", "task"];
3085
3194
  var TAG = /^[a-z0-9-]{1,32}$/;
3086
3195
  var tagOf = /* @__PURE__ */ __name((value) => {
@@ -3151,8 +3260,15 @@ export {
3151
3260
  PAYMENT_STATES,
3152
3261
  validatePayment,
3153
3262
  paymentTitle,
3263
+ meetingTimestamp,
3154
3264
  findingHash,
3265
+ validEvidence,
3266
+ findingId,
3267
+ validateFinding,
3268
+ validateBatch,
3155
3269
  validateFindings,
3270
+ findingText,
3271
+ findingFields,
3156
3272
  findingFingerprint,
3157
3273
  MEETING_FINDINGS_KIND,
3158
3274
  validateMeetingFindings,
@@ -3175,6 +3291,7 @@ export {
3175
3291
  meetingLink,
3176
3292
  meetingSpeaker,
3177
3293
  meetingStats,
3294
+ meetingCounts,
3178
3295
  meetingParticipants,
3179
3296
  meetingPassage,
3180
3297
  event,
@@ -3186,6 +3303,7 @@ export {
3186
3303
  SAVE_HELP,
3187
3304
  validateMeetingSeriesHistory,
3188
3305
  validateMeetingSeriesInventoryCursor,
3306
+ aggregateMeetingCounts,
3189
3307
  aggregateMeetingStats,
3190
3308
  TAG_TYPES,
3191
3309
  tagOf,