@wirecat/mail-cli 0.13.0 → 0.14.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 (104) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +4 -0
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-EEOMFTKE.js → all-profiles-O7HQNZOF.js} +8 -7
  5. package/dist/bundle/{anthropic-FPSVNB3F.js → anthropic-SNA6PTVO.js} +5 -5
  6. package/dist/bundle/{app-server-3T6UVR7B.js → app-server-LBKMJMKN.js} +43 -42
  7. package/dist/bundle/{bun-MSNAKMDK.js → bun-KF5QK2YN.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-GIBBI5DV.js → bun-sqlite-2DKMM2PT.js} +4 -4
  9. package/dist/bundle/{chunk-URC4ATBD.js → chunk-2A4BAMNF.js} +4 -4
  10. package/dist/bundle/{chunk-7FCPLSSM.js → chunk-2F7D6YMB.js} +2 -2
  11. package/dist/bundle/{chunk-FVZST7ZH.js → chunk-2KVR7FF3.js} +11 -88
  12. package/dist/bundle/{chunk-Y2O3DACO.js → chunk-3EAAEF5U.js} +1 -1
  13. package/dist/bundle/{chunk-2Y3RKROM.js → chunk-3YGYB3LJ.js} +33 -6
  14. package/dist/bundle/{chunk-OHFSAYZG.js → chunk-5C74F7XX.js} +4 -4
  15. package/dist/bundle/{chunk-ZXLJ5EKZ.js → chunk-6CZQJ5XR.js} +7 -7
  16. package/dist/bundle/{chunk-3CBK26T2.js → chunk-6EZ7XGRG.js} +1 -1
  17. package/dist/bundle/{chunk-EFA7FRFJ.js → chunk-7GSE57K3.js} +2 -2
  18. package/dist/bundle/{chunk-UFWCJUGA.js → chunk-7LDC275M.js} +6 -6
  19. package/dist/bundle/{chunk-OHDDGTCH.js → chunk-AOVOIXGR.js} +9 -9
  20. package/dist/bundle/{chunk-VSHQITKC.js → chunk-B5XAETYU.js} +2 -2
  21. package/dist/bundle/chunk-BP3TZ4EY.js +91 -0
  22. package/dist/bundle/{chunk-V25TCQ3Z.js → chunk-DIP3ENSY.js} +1 -1
  23. package/dist/bundle/{chunk-WBI7J5B7.js → chunk-DPKHVBP3.js} +4 -4
  24. package/dist/bundle/{chunk-HANGU5HI.js → chunk-E7BTD4P6.js} +5 -5
  25. package/dist/bundle/{chunk-H5XCD6OG.js → chunk-ER6PJAPK.js} +2 -2
  26. package/dist/bundle/{chunk-JBLZ5XQG.js → chunk-F5SZVO3A.js} +3 -3
  27. package/dist/bundle/{chunk-3BC2XSNX.js → chunk-FTGCXIQA.js} +44 -24
  28. package/dist/bundle/{chunk-7L26RKOS.js → chunk-G53HRGTK.js} +16 -16
  29. package/dist/bundle/{chunk-H6Y2A4JA.js → chunk-H2ZURG7Q.js} +1 -1
  30. package/dist/bundle/{chunk-CJPEL2N5.js → chunk-H7OQ4YZV.js} +15 -15
  31. package/dist/bundle/{chunk-XV66LQXV.js → chunk-I62OTHDE.js} +2 -2
  32. package/dist/bundle/{chunk-CSJYZEFR.js → chunk-I7EWIIBC.js} +2 -2
  33. package/dist/bundle/{chunk-YMNF4QLY.js → chunk-IPKXRW6W.js} +22 -22
  34. package/dist/bundle/{chunk-M7JREJFC.js → chunk-IVDUR5Y4.js} +12 -0
  35. package/dist/bundle/{chunk-H3XWM2VA.js → chunk-KBFIKUCA.js} +27 -27
  36. package/dist/bundle/{chunk-7D7AKYQ2.js → chunk-KLLKDOO2.js} +2926 -1195
  37. package/dist/bundle/{chunk-UGXTDYUY.js → chunk-KQ5P5NLL.js} +1 -1
  38. package/dist/bundle/{chunk-SOCALLW5.js → chunk-M2YIJDBL.js} +5 -5
  39. package/dist/bundle/{chunk-6KDFUPBT.js → chunk-MQK2UNG4.js} +7 -7
  40. package/dist/bundle/{chunk-VNXCWZDW.js → chunk-MXG4L7NH.js} +248 -7
  41. package/dist/bundle/{chunk-NHVOJHHD.js → chunk-NGZW2JPK.js} +6 -6
  42. package/dist/bundle/{chunk-GQGJV53E.js → chunk-NVQUK2DH.js} +46 -46
  43. package/dist/bundle/{chunk-VNBQHV5H.js → chunk-OGK7LMYT.js} +5 -5
  44. package/dist/bundle/{chunk-BZBNBPCR.js → chunk-P547HU26.js} +9 -9
  45. package/dist/bundle/{chunk-XLCFCOT4.js → chunk-P62Z3Q35.js} +11 -11
  46. package/dist/bundle/{chunk-YHSXNUFQ.js → chunk-Q5EYTU3Q.js} +3 -3
  47. package/dist/bundle/{chunk-VD5UJUNR.js → chunk-QWRBAQZ7.js} +1 -1
  48. package/dist/bundle/{chunk-3QEYHTCQ.js → chunk-QZXHMQCM.js} +1 -1
  49. package/dist/bundle/{chunk-7CSK47S2.js → chunk-RE5SEGSR.js} +3 -3
  50. package/dist/bundle/{chunk-VMLGER4M.js → chunk-UHHARH5X.js} +192 -148
  51. package/dist/bundle/{chunk-LO66SLGD.js → chunk-UJEO3VWA.js} +1 -1
  52. package/dist/bundle/{chunk-JYZCISN7.js → chunk-UMWR5PKA.js} +12 -12
  53. package/dist/bundle/{chunk-XPBRNJ2V.js → chunk-V5ZID7KC.js} +1 -1
  54. package/dist/bundle/{chunk-MBWVZINS.js → chunk-VA3JKERH.js} +2 -2
  55. package/dist/bundle/{chunk-AXWTELO4.js → chunk-VERSKGJV.js} +2 -2
  56. package/dist/bundle/{chunk-6O6CM2ML.js → chunk-W643XZIR.js} +1 -1
  57. package/dist/bundle/{chunk-GIZILLRJ.js → chunk-WBJQEB6E.js} +11 -11
  58. package/dist/bundle/{chunk-UUBAWUUI.js → chunk-WVWNKZI4.js} +562 -404
  59. package/dist/bundle/chunk-X5XIFNTI.js +35 -0
  60. package/dist/bundle/{chunk-TBG3FRS6.js → chunk-XPREXN3W.js} +2 -2
  61. package/dist/bundle/{chunk-ZSS22YHM.js → chunk-XRJIQC6P.js} +1 -1
  62. package/dist/bundle/{chunk-5XTJUQZ5.js → chunk-YG4OI3HJ.js} +456 -201
  63. package/dist/bundle/{chunk-IGSHWMWC.js → chunk-ZCPUKUST.js} +1 -1
  64. package/dist/bundle/command-contract-B3OGAIDB.js +34 -0
  65. package/dist/bundle/{decode-YRTMNHC6.js → decode-X7Y2VSYZ.js} +4 -4
  66. package/dist/bundle/{dispatch-BCS2RDF4.js → dispatch-OWNO2CMC.js} +1 -1
  67. package/dist/bundle/{dist-NOBSXRL2.js → dist-L7FNC74Q.js} +40 -11
  68. package/dist/bundle/{echarts-5UKZVIF6.js → echarts-5AB3LFVD.js} +2 -2
  69. package/dist/bundle/{embed-G62XY6BJ.js → embed-VBS5LRCE.js} +5 -5
  70. package/dist/bundle/{embedder-SCHGLA74.js → embedder-VFSYBDKK.js} +8 -8
  71. package/dist/bundle/{failure-N5S6ZS62.js → failure-E534GZDF.js} +1 -1
  72. package/dist/bundle/{first-run-DPF2BBQN.js → first-run-NO2ODH2W.js} +8 -8
  73. package/dist/bundle/first-screen-7VJLGMJJ.js +32 -0
  74. package/dist/bundle/{instructions-7RP5OKLE.js → instructions-52W6ZQTU.js} +1 -1
  75. package/dist/bundle/mail.js +5 -5
  76. package/dist/bundle/{node-ENCKD6SS.js → node-TL2PBNKO.js} +2 -2
  77. package/dist/bundle/{node-sqlite-4ICXMPYY.js → node-sqlite-757HNQAD.js} +5 -5
  78. package/dist/bundle/{oauth-CX2WYMGN.js → oauth-VDRNJ7KN.js} +6 -6
  79. package/dist/bundle/{open-HQZYHMVE.js → open-NUWYOKPO.js} +4 -4
  80. package/dist/bundle/{openai-3ONJIA3F.js → openai-YLBFVK5X.js} +12 -12
  81. package/dist/bundle/{process-OK3HRPMD.js → process-PWAGP6YY.js} +1 -1
  82. package/dist/bundle/{program-FLKUE6LL.js → program-PPUPVL7O.js} +755 -646
  83. package/dist/bundle/{prompt-ZWKUQ42Y.js → prompt-M5U66RVJ.js} +4 -4
  84. package/dist/bundle/{recognize-PHDYO6DC.js → recognize-DCMDZA2U.js} +3 -3
  85. package/dist/bundle/{remote-4CX7GFMU.js → remote-4SHI5WJG.js} +6 -6
  86. package/dist/bundle/{rerank-ZCZTGXDQ.js → rerank-DYMZMNPQ.js} +6 -6
  87. package/dist/bundle/{serve-3LBS7CPR.js → serve-HO3WME4G.js} +8 -8
  88. package/dist/bundle/server-244FHPY4.js +64 -0
  89. package/dist/bundle/{server-2BKI2OQP.js → server-R3TIPRZN.js} +35 -34
  90. package/dist/bundle/{sqlite-runtime-J5T7SR5W.js → sqlite-runtime-DWRITUIH.js} +5 -5
  91. package/dist/bundle/{state-TIRNYVEL.js → state-QOMUDOGF.js} +5 -5
  92. package/dist/bundle/{store-F7ZXMIAP.js → store-LHHMOE5V.js} +21 -14
  93. package/dist/bundle/{store-NGE2E7KZ.js → store-RGO6IABA.js} +13 -12
  94. package/dist/bundle/store-maintenance-command-LU2ZBDUY.js +54 -0
  95. package/dist/config.d.ts +2 -0
  96. package/dist/config.d.ts.map +1 -1
  97. package/dist/version.d.ts +1 -1
  98. package/dist/version.js +1 -1
  99. package/package.json +2 -2
  100. package/dist/bundle/chunk-72CGQMAZ.js +0 -18
  101. package/dist/bundle/command-contract-6QSZ5QHQ.js +0 -33
  102. package/dist/bundle/first-screen-4MRKF6RQ.js +0 -31
  103. package/dist/bundle/server-X5F7VD2E.js +0 -63
  104. package/dist/bundle/store-maintenance-command-QZV76KAH.js +0 -53
@@ -30,7 +30,7 @@ import {
30
30
  string,
31
31
  union,
32
32
  variant
33
- } from "./chunk-M7JREJFC.js";
33
+ } from "./chunk-IVDUR5Y4.js";
34
34
  import {
35
35
  CliError,
36
36
  isCliError,
@@ -41,7 +41,7 @@ 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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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) => {
@@ -973,7 +988,7 @@ var QUERY_REASONS = defineReasons([
973
988
  details: [...SPAN, ...details]
974
989
  })));
975
990
 
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
991
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/item.js
977
992
  var text = string();
978
993
  var count = pipe(number(), integer(), minValue(0));
979
994
  var MEETING_ISSUES = ["time_without_zone"];
@@ -1038,7 +1053,7 @@ var MEETING_QUERY = {
1038
1053
  })
1039
1054
  };
1040
1055
 
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
1056
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/answers.js
1042
1057
  var text2 = string();
1043
1058
  var count2 = pipe(number(), integer(), minValue(0));
1044
1059
  var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
@@ -1273,7 +1288,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
1273
1288
  };
1274
1289
  }, "meetingHitsList");
1275
1290
 
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
1291
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
1277
1292
  var joinKeyOf = /* @__PURE__ */ __name((url) => {
1278
1293
  const parsed = urlOf(url);
1279
1294
  if (!parsed)
@@ -1307,7 +1322,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
1307
1322
  }
1308
1323
  }, "urlOf");
1309
1324
 
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
1325
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
1311
1326
  var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
1312
1327
  var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
1313
1328
  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 +1355,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
1340
1355
  return kept;
1341
1356
  }, "entryMetadata");
1342
1357
 
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
1358
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
1344
1359
  import { createHash } from "node:crypto";
1345
1360
  var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
1346
1361
  reference: cue2.reference,
@@ -1354,7 +1369,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
1354
1369
  text: cue2.text
1355
1370
  })).digest("hex"), "meetingCueFingerprint");
1356
1371
 
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
1372
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
1358
1373
  var EVENT_QUERY = defineQuery({
1359
1374
  entity: "event",
1360
1375
  backend: "sql",
@@ -1370,7 +1385,7 @@ var EVENT_QUERY = defineQuery({
1370
1385
  ]
1371
1386
  });
1372
1387
 
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
1388
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
1374
1389
  var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
1375
1390
  var seriesEnd = /* @__PURE__ */ __name((entry) => {
1376
1391
  if (entry.recurrenceEndsAt !== null)
@@ -1393,7 +1408,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
1393
1408
  return Math.max(entry.endsAt ?? start, start + 1) > window.from;
1394
1409
  }, "entryInWindow");
1395
1410
 
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
1411
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/events.js
1397
1412
  var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
1398
1413
  const current = await store.meeting(details.meeting.id);
1399
1414
  if (!current)
@@ -1436,7 +1451,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
1436
1451
  return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
1437
1452
  }, "linkEvent");
1438
1453
 
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
1454
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
1440
1455
  var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
1441
1456
  var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
1442
1457
  if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
@@ -1460,7 +1475,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
1460
1475
  };
1461
1476
  }, "validateMeetingParticipantSearch");
1462
1477
 
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
1478
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/reads.js
1464
1479
  var MeetingError = class extends CliError {
1465
1480
  static {
1466
1481
  __name(this, "MeetingError");
@@ -1592,7 +1607,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id3, accountId)
1592
1607
  return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
1593
1608
  }, "meetingSummaryAnswer");
1594
1609
 
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
1610
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/export.js
1596
1611
  var timestamp = /* @__PURE__ */ __name((milliseconds) => {
1597
1612
  if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
1598
1613
  throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
@@ -1688,10 +1703,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id3, options) => {
1688
1703
  };
1689
1704
  }, "exportMeeting");
1690
1705
 
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
1706
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
1692
1707
  import { createHash as createHash2 } from "node:crypto";
1693
1708
 
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
1709
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
1695
1710
  var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
1696
1711
  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
1712
  throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
@@ -1702,7 +1717,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
1702
1717
  return new Date(value).toISOString();
1703
1718
  }, "meetingTimestamp");
1704
1719
 
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
1720
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
1706
1721
  var TASK_TYPES = ["bug", "feature", "chore"];
1707
1722
  var invalid3 = /* @__PURE__ */ __name((message) => {
1708
1723
  throw new CliError("validation_error", message);
@@ -1718,116 +1733,138 @@ var fields = /* @__PURE__ */ __name((value, allowed, noun) => {
1718
1733
  invalid3(`unknown ${noun} field`);
1719
1734
  }, "fields");
1720
1735
  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) => {
1736
+ var validEvidence = /* @__PURE__ */ __name((raw, rules) => {
1737
+ if (!Array.isArray(raw) || raw.length < 1 || raw.length > 8)
1738
+ return invalid3(`a finding requires 1\u20138 cited ${rules.cited}s`);
1739
+ const evidence = raw.map((item) => {
1740
+ if (!item || typeof item !== "object")
1741
+ return invalid3("finding evidence is a reference and fingerprint");
1742
+ fields(item, ["reference", "fingerprint"], rules.singular);
1743
+ if (typeof item.reference !== "string" || typeof item.fingerprint !== "string")
1744
+ return invalid3("evidence requires a reference and fingerprint");
1745
+ const reference2 = rules.reference(item.reference);
1746
+ if (!/^[a-f0-9]{64}$/.test(item.fingerprint))
1747
+ return invalid3(`finding evidence requires exact ${rules.cited} references and fingerprints`);
1748
+ return { reference: reference2, fingerprint: item.fingerprint };
1749
+ }).sort((a, b) => a.reference.localeCompare(b.reference));
1750
+ if (new Set(evidence.map((item) => item.reference)).size !== evidence.length)
1751
+ return invalid3(`duplicate evidence ${rules.cited}`);
1752
+ return evidence;
1753
+ }, "validEvidence");
1754
+ var findingId = /* @__PURE__ */ __name((raw, ids2) => {
1755
+ const id3 = findingText(raw, 64);
1756
+ if (!/^[a-zA-Z0-9][a-zA-Z0-9_.:-]*$/.test(id3) || ids2.has(id3))
1757
+ return invalid3("finding IDs must be unique simple keys");
1758
+ ids2.add(id3);
1759
+ return id3;
1760
+ }, "findingId");
1761
+ var validateFinding = /* @__PURE__ */ __name((finding, rules, ids2) => {
1762
+ if (!finding || typeof finding !== "object")
1763
+ return invalid3("a finding is an object");
1764
+ const id3 = findingId(finding.id, ids2);
1765
+ const project = finding.project === void 0 && rules.anySubject ? void 0 : text3(finding.project, 64);
1766
+ if (project !== void 0 && !/^project:[1-9]\d*$/.test(project))
1767
+ return invalid3("a finding names a project reference");
1768
+ if (finding.subject !== void 0 && (!rules.anySubject || !SUBJECT.test(text3(finding.subject, 80))))
1769
+ return invalid3("a finding's subject is a person:, organization:, task: or project: reference");
1770
+ if (finding.kind === "task" && project === void 0 && !rules.inboxTasks)
1771
+ return invalid3("a task finding names the project the task goes in");
1772
+ const evidence = validEvidence(finding.evidence, rules);
1773
+ const base = {
1774
+ id: id3,
1775
+ ...project === void 0 ? {} : { project },
1776
+ ...finding.subject === void 0 ? {} : { subject: finding.subject },
1777
+ evidence
1778
+ };
1779
+ if (finding.kind === "fact") {
1780
+ fields(finding, ["id", "project", "subject", "evidence", "kind", "type", "statement"], rules.singular);
1781
+ if (finding.type === "payment")
1782
+ return invalid3("a payment is a finding of kind payment; money is a payments row, not a fact");
1783
+ if (!FACT_TYPES.includes(finding.type))
1784
+ return invalid3("unknown fact finding type");
1785
+ return { ...base, kind: "fact", type: finding.type, statement: text3(finding.statement, 2e3) };
1786
+ }
1787
+ if (finding.kind === "payment" && rules.payments) {
1788
+ fields(finding, ["id", "project", "subject", "evidence", "kind", "statement", "payment", "supersedes"], rules.singular);
1789
+ if (finding.supersedes !== void 0 && !/^invoice:[1-9]\d*$/.test(String(finding.supersedes)))
1790
+ return invalid3("a payment finding supersedes an invoice: reference, the expected payment it settles or voids");
1791
+ const payment = validatePayment(finding.payment);
1792
+ if (payment.state === "expected" && finding.supersedes !== void 0)
1793
+ return invalid3("an expected payment supersedes nothing; a paid or cancelled one supersedes its invoice");
1794
+ if (payment.state === "cancelled" && finding.supersedes === void 0)
1795
+ return invalid3("a cancelled payment names the invoice: it cancels in supersedes");
1796
+ if (payment.state === "expected" && !/^(person|organization):/.test(payment.counterparty ?? ""))
1797
+ return invalid3("an expected payment becomes an invoice, which names its counterparty as a person: or organization:");
1798
+ return {
1799
+ ...base,
1800
+ kind: "payment",
1801
+ ...finding.statement === void 0 ? {} : { statement: text3(finding.statement, 2e3) },
1802
+ payment,
1803
+ ...finding.supersedes === void 0 ? {} : { supersedes: finding.supersedes }
1804
+ };
1805
+ }
1806
+ if (finding.kind !== "task")
1807
+ return invalid3(`a finding is a fact${rules.payments ? ", payment" : ""} or task`);
1808
+ fields(finding, [
1809
+ "id",
1810
+ "project",
1811
+ "evidence",
1812
+ "kind",
1813
+ "type",
1814
+ "title",
1815
+ "reason",
1816
+ "commitment",
1817
+ "dueAt",
1818
+ "dueEvidence",
1819
+ "assignee",
1820
+ "assigneeEvidence"
1821
+ ], rules.singular);
1822
+ if (!TASK_TYPES.includes(finding.type))
1823
+ return invalid3("a task finding type is bug, chore or feature");
1824
+ if (!["explicit", "inferred"].includes(finding.commitment))
1825
+ return invalid3("task commitment must be explicit or inferred");
1826
+ if (finding.dueAt === void 0 !== (finding.dueEvidence === void 0) || finding.assignee === void 0 !== (finding.assigneeEvidence === void 0))
1827
+ return invalid3("optional dates and assignees require their supporting evidence");
1828
+ if (finding.assignee !== void 0 && (typeof finding.assignee !== "string" || !/^person:[1-9]\d*$/.test(finding.assignee)))
1829
+ return invalid3("an assignee must be a person reference");
1830
+ return {
1831
+ ...base,
1832
+ kind: "task",
1833
+ type: finding.type,
1834
+ title: text3(finding.title, 300),
1835
+ reason: text3(finding.reason, 2e3),
1836
+ commitment: finding.commitment,
1837
+ ...finding.dueAt === void 0 ? {} : {
1838
+ dueAt: meetingTimestamp(finding.dueAt, "finding due date"),
1839
+ dueEvidence: support(finding.dueEvidence, evidence)
1840
+ },
1841
+ ...finding.assignee === void 0 ? {} : { assignee: finding.assignee, assigneeEvidence: support(finding.assigneeEvidence, evidence) }
1842
+ };
1843
+ }, "validateFinding");
1844
+ var support = /* @__PURE__ */ __name((value, evidence) => {
1845
+ if (!Array.isArray(value) || value.length < 1 || value.length > 8 || value.some((ref) => typeof ref !== "string" || !evidence.some((item) => item.reference === ref)))
1846
+ return invalid3("date and assignee support must cite the finding's evidence");
1847
+ return [...new Set(value)].sort();
1848
+ }, "support");
1849
+ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
1722
1850
  if (!input || typeof input !== "object" || Buffer.byteLength(JSON.stringify(input), "utf8") > 65536)
1723
1851
  return invalid3(`${rules.plural} take at most 65536 UTF-8 bytes`);
1724
1852
  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}`);
1853
+ if (input.schemaVersion !== 1 || !Array.isArray(input.findings) || input.findings.length < 1 || input.findings.length > most)
1854
+ return invalid3(`schemaVersion 1 takes 1\u2013${most} ${rules.plural}`);
1727
1855
  const key = text3(input.key, 64);
1728
1856
  if (!/^[a-zA-Z0-9][a-zA-Z0-9_.:-]*$/.test(key))
1729
1857
  return invalid3("a findings key uses letters, digits, dot, colon, underscore or hyphen");
1730
1858
  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
- });
1859
+ const findings = input.findings.map((finding) => one(finding, ids2));
1826
1860
  return { schemaVersion: 1, key, extractor: text3(input.extractor, 200), findings };
1827
- }, "validateFindings");
1861
+ }, "validateBatch");
1862
+ var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
1863
+ var findingText = /* @__PURE__ */ __name((value, limit) => text3(value, limit), "findingText");
1864
+ var findingFields = /* @__PURE__ */ __name((value, allowed, noun) => fields(value, allowed, noun), "findingFields");
1828
1865
  var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
1829
1866
 
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
1867
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/findings.js
1831
1868
  var MEETING_FINDINGS_KIND = "meeting_findings";
1832
1869
  var cue = /* @__PURE__ */ __name((raw) => {
1833
1870
  const reference2 = canonicalMeetingReference(raw);
@@ -1838,7 +1875,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
1838
1875
  var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
1839
1876
  var meetingFindingFingerprint = findingFingerprint;
1840
1877
 
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
1878
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
1842
1879
  var context = {
1843
1880
  command: "search meetings",
1844
1881
  guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
@@ -1901,7 +1938,7 @@ var MEETING_FIELDS = defineQuery({
1901
1938
  });
1902
1939
  var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
1903
1940
 
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
1941
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/language.js
1905
1942
  var LATIN_WORDS = {
1906
1943
  en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
1907
1944
  es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
@@ -1950,7 +1987,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
1950
1987
  return null;
1951
1988
  }, "transcriptLanguage");
1952
1989
 
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
1990
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
1954
1991
  var contentHash = /* @__PURE__ */ __name(async (text6) => {
1955
1992
  const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
1956
1993
  return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
@@ -1987,7 +2024,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
1987
2024
  return time;
1988
2025
  }, "timestamp");
1989
2026
 
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
2027
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
1991
2028
  var TranscriptTextError = class extends Error {
1992
2029
  static {
1993
2030
  __name(this, "TranscriptTextError");
@@ -2042,7 +2079,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
2042
2079
  return { header, lines };
2043
2080
  }, "parseTranscriptText");
2044
2081
 
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
2082
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
2046
2083
  var VttError = class extends Error {
2047
2084
  static {
2048
2085
  __name(this, "VttError");
@@ -2094,7 +2131,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
2094
2131
  return cues;
2095
2132
  }, "parseVtt");
2096
2133
 
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
2134
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/import.js
2098
2135
  var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
2099
2136
  const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
2100
2137
  for (const file of files) {
@@ -2127,10 +2164,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
2127
2164
  return report;
2128
2165
  }, "importFiles");
2129
2166
 
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
2167
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/links.js
2131
2168
  var CHAT_MESSAGES_READ = 1e5;
2132
2169
 
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
2170
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
2134
2171
  var nonempty = /* @__PURE__ */ __name((value, name) => {
2135
2172
  if (typeof value !== "string" || !value.trim())
2136
2173
  throw new CliError("validation_error", `${name} must be nonempty`);
@@ -2181,7 +2218,7 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
2181
2218
  return Object.freeze(result);
2182
2219
  }, "validateMeetingChange");
2183
2220
 
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
2221
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/passage.js
2185
2222
  var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
2186
2223
  const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
2187
2224
  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 +2231,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
2194
2231
  throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
2195
2232
  }, "validateMeetingPassage");
2196
2233
 
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
2234
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
2198
2235
  var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
2199
2236
  if (!original || typeof original !== "object" || Array.isArray(original))
2200
2237
  throw new CliError("validation_error", "meeting preparation context is required");
@@ -2219,7 +2256,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
2219
2256
  return { ...input, limit, maxReadBytes };
2220
2257
  }, "validateMeetingPreparationContext");
2221
2258
 
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
2259
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
2223
2260
  var count3 = pipe(number(), integer(), minValue(0));
2224
2261
  var id = pipe(string(), minLength(1));
2225
2262
  var meetingProjectEvidence = strictObject({
@@ -2340,7 +2377,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
2340
2377
  };
2341
2378
  }, "meetingProjectEvidenceAnswer");
2342
2379
 
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
2380
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
2344
2381
  var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
2345
2382
  const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
2346
2383
  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 +2397,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
2360
2397
  throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
2361
2398
  }, "validateMeetingHitSearch");
2362
2399
 
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
2400
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
2364
2401
  var ids = {
2365
2402
  meeting_id: "meetingId",
2366
2403
  identity_id: "participantIdentityId",
@@ -2451,7 +2488,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
2451
2488
  return { project: project.trim(), options, query: frozen.join(" AND ") };
2452
2489
  }, "prepareMeetingProjectEvidence");
2453
2490
 
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
2491
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
2455
2492
  var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
2456
2493
  const prepared = prepareMeetingProjectEvidence(project, request, now);
2457
2494
  const page = await read(prepared.project, prepared.options);
@@ -2459,7 +2496,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
2459
2496
  return meetingProjectEvidenceAnswer(page, prepared);
2460
2497
  }, "readMeetingProjectEvidence");
2461
2498
 
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
2499
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/pull.js
2463
2500
  var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
2464
2501
  const { identityExternalId, ...fields2 } = p;
2465
2502
  const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
@@ -2598,7 +2635,7 @@ unlinked`, format)],
2598
2635
  return report;
2599
2636
  }, "pull");
2600
2637
 
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
2638
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
2602
2639
  var text4 = string();
2603
2640
  var count4 = pipe(number(), integer(), minValue(0));
2604
2641
  var id2 = pipe(number(), integer(), minValue(1));
@@ -2775,10 +2812,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
2775
2812
  updated_at: new Date(one.updatedAt).toISOString()
2776
2813
  }), "eventItem");
2777
2814
 
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
2815
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
2779
2816
  var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
2780
2817
 
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
2818
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
2782
2819
  var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
2783
2820
  if (!original || typeof original !== "object" || Array.isArray(original))
2784
2821
  throw new CliError("validation_error", "related history request is required");
@@ -2808,7 +2845,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
2808
2845
  return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
2809
2846
  }, "validateMeetingRelatedHistory");
2810
2847
 
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
2848
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
2812
2849
  var text5 = string();
2813
2850
  var identifier = pipe(text5, minLength(1));
2814
2851
  var nullableText = nullable(text5);
@@ -2941,14 +2978,14 @@ var MEETING_RESULT_ENTITIES = {
2941
2978
  meeting_repair: repair
2942
2979
  };
2943
2980
 
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
2981
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/review.js
2945
2982
  var REVIEW_LIMIT = { default: 50, most: 200 };
2946
2983
 
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
2984
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
2948
2985
  var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
2949
2986
  \`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
2950
2987
 
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
2988
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
2952
2989
  var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
2953
2990
  input.signal?.throwIfAborted();
2954
2991
  if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
@@ -2969,10 +3006,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
2969
3006
  return { ...input, limit, maxReadBytes };
2970
3007
  }, "validateMeetingSeriesHistory");
2971
3008
 
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
3009
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
2973
3010
  var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
2974
3011
 
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
3012
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
2976
3013
  function invalid4(field, response = false) {
2977
3014
  throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
2978
3015
  }
@@ -3001,7 +3038,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
3001
3038
  cursorDetails(value);
3002
3039
  }, "validateMeetingSeriesInventoryCursor");
3003
3040
 
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
3041
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/meetings/stats.js
3005
3042
  var zoneOf = /* @__PURE__ */ __name((timeZone) => {
3006
3043
  const zone = timeZone ?? "UTC";
3007
3044
  try {
@@ -3080,7 +3117,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
3080
3117
  };
3081
3118
  }, "aggregateMeetingStats");
3082
3119
 
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
3120
+ // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/domain/tags.js
3084
3121
  var TAG_TYPES = ["chat", "contact", "message", "task"];
3085
3122
  var TAG = /^[a-z0-9-]{1,32}$/;
3086
3123
  var tagOf = /* @__PURE__ */ __name((value) => {
@@ -3151,8 +3188,15 @@ export {
3151
3188
  PAYMENT_STATES,
3152
3189
  validatePayment,
3153
3190
  paymentTitle,
3191
+ meetingTimestamp,
3154
3192
  findingHash,
3193
+ validEvidence,
3194
+ findingId,
3195
+ validateFinding,
3196
+ validateBatch,
3155
3197
  validateFindings,
3198
+ findingText,
3199
+ findingFields,
3156
3200
  findingFingerprint,
3157
3201
  MEETING_FINDINGS_KIND,
3158
3202
  validateMeetingFindings,