@wirecat/zoom-cli 0.78.0 → 0.79.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 (179) hide show
  1. package/dist/bin/zm.js +2 -2
  2. package/dist/bundle/{all-profiles-7JN3N3E6.js → all-profiles-LDSHUH5W.js} +11 -11
  3. package/dist/bundle/answer-policy-VJK4ID2F.js +122 -0
  4. package/dist/bundle/{anthropic-U6O7UYGZ.js → anthropic-UH3QWA3F.js} +6 -6
  5. package/dist/bundle/{app-server-G7BTC6CE.js → app-server-LFANTLAJ.js} +68 -68
  6. package/dist/bundle/{bun-VLROVUFK.js → bun-M3J2QTR3.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-C5JLANDE.js → bun-sqlite-NYP5UH23.js} +7 -7
  8. package/dist/bundle/{chunk-53TV72JG.js → chunk-2GI63IPV.js} +2 -2
  9. package/dist/bundle/{chunk-OI4563JI.js → chunk-2IPIBDXI.js} +13 -13
  10. package/dist/bundle/{chunk-HOJOVUO6.js → chunk-2LJARGNG.js} +12 -12
  11. package/dist/bundle/{chunk-NS5XSCHC.js → chunk-2N57GL4L.js} +1 -1
  12. package/dist/bundle/{chunk-YZKVCTZI.js → chunk-2OTETB4A.js} +8 -8
  13. package/dist/bundle/{chunk-MVLLWSV7.js → chunk-2PUMYKGV.js} +16 -16
  14. package/dist/bundle/{chunk-XSF5OBVZ.js → chunk-2W6QGFHF.js} +8 -8
  15. package/dist/bundle/{chunk-HI4QICF7.js → chunk-3AFZ6Q5N.js} +12 -12
  16. package/dist/bundle/{chunk-P5QO7Y3H.js → chunk-3QPAD6YI.js} +6 -6
  17. package/dist/bundle/{chunk-HGBZBQAE.js → chunk-4BQN5IFQ.js} +3 -3
  18. package/dist/bundle/{chunk-2AWWMROP.js → chunk-4S7RUA3U.js} +505 -391
  19. package/dist/bundle/{chunk-FCGRXUAU.js → chunk-4T3J4NCF.js} +9 -9
  20. package/dist/bundle/{chunk-5DLK4OXF.js → chunk-525BI32C.js} +3 -3
  21. package/dist/bundle/{chunk-ORSTSBWU.js → chunk-52ZQ72HL.js} +1 -1
  22. package/dist/bundle/{chunk-XCOGI4JE.js → chunk-5KEOCHBZ.js} +4 -4
  23. package/dist/bundle/{chunk-WJTXO2EI.js → chunk-5RVXXDN7.js} +1 -1
  24. package/dist/bundle/{chunk-WEAMGNST.js → chunk-63WT3HCY.js} +3 -3
  25. package/dist/bundle/{chunk-4XPVRZXE.js → chunk-65DOVVHQ.js} +1 -1
  26. package/dist/bundle/{chunk-LBTANUUH.js → chunk-73L5R7AS.js} +2 -2
  27. package/dist/bundle/{chunk-2LMD3JUD.js → chunk-7DTWT7BN.js} +2 -2
  28. package/dist/bundle/{chunk-LERF2FIK.js → chunk-AWLZZTPW.js} +3 -3
  29. package/dist/bundle/{chunk-FMMCGQNT.js → chunk-AZB6QXZU.js} +5 -3
  30. package/dist/bundle/{chunk-OAYAGQ7C.js → chunk-BNEJKGG7.js} +31 -22
  31. package/dist/bundle/{chunk-H34KEXTN.js → chunk-BOVYOUB3.js} +10 -10
  32. package/dist/bundle/{chunk-BAHXR4PA.js → chunk-BTFPDS52.js} +6 -6
  33. package/dist/bundle/{chunk-NO2LIHWA.js → chunk-CWXOXIWS.js} +1 -1
  34. package/dist/bundle/{chunk-7EVB4UV7.js → chunk-D264RGZ4.js} +4 -4
  35. package/dist/bundle/{chunk-VMA7SILL.js → chunk-DFCHHR5M.js} +1 -1
  36. package/dist/bundle/{chunk-C26V2XNV.js → chunk-DI5JX4SD.js} +1 -1
  37. package/dist/bundle/{chunk-INJK7FNM.js → chunk-DQVCCO7G.js} +183 -171
  38. package/dist/bundle/{chunk-LX532BXO.js → chunk-E5WLE7BM.js} +1 -1
  39. package/dist/bundle/{chunk-H74NENWA.js → chunk-FIJREKLA.js} +3 -3
  40. package/dist/bundle/{chunk-UIBKGH5P.js → chunk-FKA7DOCK.js} +1 -1
  41. package/dist/bundle/{chunk-OAE6XR7E.js → chunk-FMT4CIGN.js} +7 -7
  42. package/dist/bundle/{chunk-ZZJ5IWNT.js → chunk-FO5UNFFN.js} +4 -4
  43. package/dist/bundle/chunk-FPUGMDJV.js +7 -0
  44. package/dist/bundle/{chunk-HUSIS3XO.js → chunk-GTUBQQU2.js} +64 -61
  45. package/dist/bundle/{chunk-B4V4DRVO.js → chunk-HOXBHGP2.js} +12 -12
  46. package/dist/bundle/{chunk-FURKMNC2.js → chunk-HVQVCGME.js} +3 -3
  47. package/dist/bundle/{chunk-7K5O2VWO.js → chunk-HZRQLAHO.js} +1 -1
  48. package/dist/bundle/{chunk-M5R2DURM.js → chunk-I6VDTYML.js} +10 -10
  49. package/dist/bundle/{chunk-LBV4673S.js → chunk-I75KOOUD.js} +3 -3
  50. package/dist/bundle/{chunk-V53TIJLY.js → chunk-IIFRJV3A.js} +2 -2
  51. package/dist/bundle/{chunk-B6TUEQ4O.js → chunk-J62BQBVG.js} +3 -3
  52. package/dist/bundle/{chunk-JOIAE3NO.js → chunk-JJGUHWLB.js} +7 -7
  53. package/dist/bundle/{chunk-Q4AKIAIA.js → chunk-LCCVEX4R.js} +12 -12
  54. package/dist/bundle/{chunk-2O66KMOR.js → chunk-LITZ7KPO.js} +2 -2
  55. package/dist/bundle/{chunk-6MFEWAK4.js → chunk-M4RXPZ6K.js} +4 -4
  56. package/dist/bundle/{chunk-F7IDYQLM.js → chunk-M5FW654Z.js} +2 -2
  57. package/dist/bundle/{chunk-H7SRM26V.js → chunk-N5O3XVX3.js} +3 -3
  58. package/dist/bundle/{chunk-AEVSVVTP.js → chunk-ND7TBQKO.js} +2 -2
  59. package/dist/bundle/{chunk-7IIQU5RA.js → chunk-NI7UYGTF.js} +13 -13
  60. package/dist/bundle/{chunk-5SM2IOAS.js → chunk-NKFEEY5M.js} +14 -29
  61. package/dist/bundle/{chunk-532FNLON.js → chunk-NQMHYLZO.js} +20 -20
  62. package/dist/bundle/{chunk-YAPDU3SV.js → chunk-O3DYRCIT.js} +1 -1
  63. package/dist/bundle/{chunk-7HEZQCHL.js → chunk-OLMEJNL4.js} +6 -6
  64. package/dist/bundle/{chunk-UKYO3HNO.js → chunk-ONJPUFLX.js} +1 -1
  65. package/dist/bundle/{chunk-4QCLPSJ7.js → chunk-OZQSTX4J.js} +5 -5
  66. package/dist/bundle/{chunk-6NTNAEZF.js → chunk-P4MZOAPC.js} +1229 -1015
  67. package/dist/bundle/{chunk-XOG7B7K5.js → chunk-P4WHDL2F.js} +4 -4
  68. package/dist/bundle/{chunk-U2Z35B3W.js → chunk-PCPOO5FS.js} +2 -2
  69. package/dist/bundle/{chunk-TEFHNXXX.js → chunk-PJFVE7UH.js} +14 -14
  70. package/dist/bundle/{chunk-3NZJKY7A.js → chunk-PP6SZLCY.js} +16 -16
  71. package/dist/bundle/{chunk-BGO7IEHY.js → chunk-QIK2IBJ4.js} +21 -7
  72. package/dist/bundle/{chunk-C56OYYFG.js → chunk-QRKSASGP.js} +3 -3
  73. package/dist/bundle/{chunk-KBTINKQF.js → chunk-QX3PO5UE.js} +3 -3
  74. package/dist/bundle/{chunk-FHOQWPQ6.js → chunk-RJ5JAYNZ.js} +307 -268
  75. package/dist/bundle/{chunk-ZDZASHSQ.js → chunk-RMQ7EALU.js} +17 -17
  76. package/dist/bundle/{chunk-UHBQM54J.js → chunk-RMX2WPWS.js} +4 -4
  77. package/dist/bundle/{chunk-EV7QCFQR.js → chunk-RUE3WP7K.js} +19 -19
  78. package/dist/bundle/{chunk-BIUHLXL2.js → chunk-SGFNQFP4.js} +33 -33
  79. package/dist/bundle/{chunk-FNLXFQN6.js → chunk-ST3ZB7LS.js} +1 -1
  80. package/dist/bundle/{chunk-YLNUKNGD.js → chunk-T6LA664Z.js} +35 -34
  81. package/dist/bundle/{chunk-Q4CNLEAY.js → chunk-TLO62ROR.js} +26 -26
  82. package/dist/bundle/{chunk-2USGT7LE.js → chunk-TP7GDWVF.js} +1 -1
  83. package/dist/bundle/{chunk-F2KZNAFF.js → chunk-TUECY6LV.js} +2 -2
  84. package/dist/bundle/{chunk-3QWYRZME.js → chunk-U7QXC75C.js} +8 -8
  85. package/dist/bundle/{chunk-M2M3U4UU.js → chunk-UQKVZFIX.js} +12 -12
  86. package/dist/bundle/{chunk-XXD4YPHQ.js → chunk-VX6ZSKXM.js} +12 -12
  87. package/dist/bundle/{chunk-ZCVO6GAT.js → chunk-W53EJOFQ.js} +1 -1
  88. package/dist/bundle/{chunk-FXHZHQKU.js → chunk-W5HRTC6X.js} +6 -6
  89. package/dist/bundle/{chunk-IBINGDYF.js → chunk-W656MRJD.js} +6 -6
  90. package/dist/bundle/{chunk-GQ6EJDMV.js → chunk-W7HM2VGO.js} +1 -1
  91. package/dist/bundle/{chunk-VW36ZSAE.js → chunk-WE4UFASG.js} +1 -1
  92. package/dist/bundle/{chunk-RJIJR6KH.js → chunk-X2M6NIQG.js} +1 -1
  93. package/dist/bundle/{chunk-MJMHUU3J.js → chunk-XAOSZGTD.js} +1 -1
  94. package/dist/bundle/{chunk-YHQ3TEGB.js → chunk-XDBGGOE2.js} +27 -27
  95. package/dist/bundle/{chunk-WOYPWXZK.js → chunk-XEIL6VNA.js} +4 -4
  96. package/dist/bundle/{chunk-MSMFYW6N.js → chunk-XFMVDQ6J.js} +2 -2
  97. package/dist/bundle/{chunk-KEAKNNXU.js → chunk-XIHENZW6.js} +4 -4
  98. package/dist/bundle/{chunk-DLJPN47R.js → chunk-XOYMIEAZ.js} +6 -5
  99. package/dist/bundle/{chunk-YNYQGZUW.js → chunk-Y4UDPQ3L.js} +7 -7
  100. package/dist/bundle/{chunk-7AMKSXMB.js → chunk-Y64L7A7E.js} +6 -6
  101. package/dist/bundle/{chunk-TXDCIM5D.js → chunk-YCW422X7.js} +1090 -755
  102. package/dist/bundle/{chunk-3A3B3JX4.js → chunk-YOBTKYIX.js} +8 -8
  103. package/dist/bundle/{chunk-TFDD4Q5Z.js → chunk-Z3CPZ4I4.js} +10 -10
  104. package/dist/bundle/{chunk-OOLNK3Y5.js → chunk-ZKVYV25H.js} +8 -8
  105. package/dist/bundle/{chunk-PJMQE4PW.js → chunk-ZPZT46O6.js} +15 -9
  106. package/dist/bundle/{cli-YALONJ4V.js → cli-AVQU63FT.js} +89 -77
  107. package/dist/bundle/command-contract-MCWBL5VS.js +45 -0
  108. package/dist/bundle/{command-server-entry-W4XTBUZE.js → command-server-entry-JZP7Y73G.js} +35 -35
  109. package/dist/bundle/config-G3C54VH6.js +109 -0
  110. package/dist/bundle/{decode-IFQHVCFX.js → decode-JLAYH7GC.js} +6 -6
  111. package/dist/bundle/{dispatch-GOJB4TDK.js → dispatch-AWDROXWN.js} +9 -9
  112. package/dist/bundle/{dist-H7XFUMRX.js → dist-TBLTUL5M.js} +21 -21
  113. package/dist/bundle/{echarts-HPUHPJCO.js → echarts-FVTUDXDU.js} +2 -2
  114. package/dist/bundle/{embed-ESU3WZYW.js → embed-CJRENDF7.js} +7 -7
  115. package/dist/bundle/{embedder-BV6O76B3.js → embedder-RPE67QJD.js} +10 -10
  116. package/dist/bundle/{failure-SWVCYFQX.js → failure-JZW73RP7.js} +3 -3
  117. package/dist/bundle/first-run-QEASX5J5.js +29 -0
  118. package/dist/bundle/first-screen-NGCQD3CU.js +45 -0
  119. package/dist/bundle/{folders-VQGKBM3P.js → folders-TGFOE7DY.js} +5 -5
  120. package/dist/bundle/{instructions-UUX57I3V.js → instructions-HET7BCYK.js} +1 -1
  121. package/dist/bundle/{main-UIKADOFB.js → main-QRJ6NRCD.js} +24 -24
  122. package/dist/bundle/{mcp-VMS6PBCU.js → mcp-RGNRW77S.js} +2 -2
  123. package/dist/bundle/meeting-combined-AZXCDXCV.js +26 -0
  124. package/dist/bundle/meeting-model-7HNQ4I3J.js +26 -0
  125. package/dist/bundle/{meeting-semantic-F6GUICB7.js → meeting-semantic-4MURLQCA.js} +8 -8
  126. package/dist/bundle/{meetings-KIBUPLPW.js → meetings-QFZWKHI4.js} +9 -7
  127. package/dist/bundle/{node-AM3JCAWB.js → node-CXZIFHZC.js} +2 -2
  128. package/dist/bundle/{node-sqlite-VM6VS3RU.js → node-sqlite-CZPYFROO.js} +8 -8
  129. package/dist/bundle/{oauth-AX5Z32H6.js → oauth-T45MPIZF.js} +8 -8
  130. package/dist/bundle/{open-SSGOOOZG.js → open-3AONZFET.js} +6 -6
  131. package/dist/bundle/openai-LHWUXEBO.js +28 -0
  132. package/dist/bundle/{output-file-FR226A64.js → output-file-J4SU6X4I.js} +6 -6
  133. package/dist/bundle/{process-5ZEK2VFY.js → process-5RUXWGYS.js} +1 -1
  134. package/dist/bundle/{program-ROJAJHCB.js → program-2O4YSRWY.js} +96 -94
  135. package/dist/bundle/{prompt-6Y7A4453.js → prompt-NDLUFCJV.js} +6 -6
  136. package/dist/bundle/{recognize-R5W25WKH.js → recognize-CZOIAJQX.js} +5 -5
  137. package/dist/bundle/{remote-PA4FQUZK.js → remote-O3CE4Q3B.js} +11 -11
  138. package/dist/bundle/{rerank-CYX3UFTM.js → rerank-MZOL746K.js} +8 -8
  139. package/dist/bundle/run-log-GX6LNMWY.js +136 -0
  140. package/dist/bundle/{serve-MM5QEZJW.js → serve-43IBHMFM.js} +10 -10
  141. package/dist/bundle/server-3E2PJGYK.js +85 -0
  142. package/dist/bundle/{server-JQQAH7E5.js → server-6LTMPPTO.js} +60 -60
  143. package/dist/bundle/{services-Y2DOQONM.js → services-UIRD5PHE.js} +54 -54
  144. package/dist/bundle/{speech-O6WLX34V.js → speech-6QVKIJVR.js} +25 -25
  145. package/dist/bundle/{sqlite-runtime-LQTBZMFH.js → sqlite-runtime-PKCIBVHZ.js} +7 -7
  146. package/dist/bundle/{state-AIDPZLVH.js → state-AC55V3IE.js} +7 -7
  147. package/dist/bundle/{store-BA4FQS5V.js → store-OAGA2ZK3.js} +26 -24
  148. package/dist/bundle/{store-UNDS2TBG.js → store-QOCYJNKX.js} +26 -26
  149. package/dist/bundle/store-connection-PBZMFY56.js +102 -0
  150. package/dist/bundle/store-maintenance-command-VBCHEOGI.js +77 -0
  151. package/dist/bundle/{streaming-UFHT5MR2.js → streaming-VDJOYGMO.js} +7 -7
  152. package/dist/bundle/{tokens-Z32UKGQB.js → tokens-LN442AO6.js} +10 -10
  153. package/dist/bundle/zm.js +9 -9
  154. package/dist/bundle/{zoom-app-6U46XBTG.js → zoom-app-TOCQ7LB5.js} +8 -8
  155. package/dist/program-bindings.d.ts.map +1 -1
  156. package/dist/program-bindings.js +1 -0
  157. package/dist/program-bindings.js.map +1 -1
  158. package/dist/store-commands.d.ts.map +1 -1
  159. package/dist/store-commands.js +2 -2
  160. package/dist/store-commands.js.map +1 -1
  161. package/dist/tokens.d.ts.map +1 -1
  162. package/dist/tokens.js +3 -0
  163. package/dist/tokens.js.map +1 -1
  164. package/dist/version.d.ts +1 -1
  165. package/dist/version.js +1 -1
  166. package/package.json +4 -3
  167. package/dist/bundle/answer-policy-G2BNMPEX.js +0 -122
  168. package/dist/bundle/chunk-SHTHNBHG.js +0 -2
  169. package/dist/bundle/command-contract-DMR5EOIN.js +0 -45
  170. package/dist/bundle/config-4TLDRXRL.js +0 -109
  171. package/dist/bundle/first-run-OEJGAQAE.js +0 -29
  172. package/dist/bundle/first-screen-QLM4IABL.js +0 -45
  173. package/dist/bundle/meeting-combined-SKJISCC7.js +0 -26
  174. package/dist/bundle/meeting-model-YG3Z5KCB.js +0 -26
  175. package/dist/bundle/openai-YIP73X2B.js +0 -28
  176. package/dist/bundle/run-log-FHERL3H6.js +0 -136
  177. package/dist/bundle/server-W2BBONCQ.js +0 -85
  178. package/dist/bundle/store-connection-ADBJ36T4.js +0 -102
  179. package/dist/bundle/store-maintenance-command-IB6ML4UI.js +0 -77
@@ -9,7 +9,7 @@ import {
9
9
  timezoneOf,
10
10
  validateQuery,
11
11
  walkQuery
12
- } from "./chunk-TFDD4Q5Z.js";
12
+ } from "./chunk-Z3CPZ4I4.js";
13
13
  import {
14
14
  STEPS,
15
15
  array,
@@ -35,19 +35,19 @@ import {
35
35
  strictObject,
36
36
  string,
37
37
  union
38
- } from "./chunk-PJMQE4PW.js";
38
+ } from "./chunk-ZPZT46O6.js";
39
39
  import {
40
40
  CliError
41
- } from "./chunk-FNLXFQN6.js";
41
+ } from "./chunk-ST3ZB7LS.js";
42
42
  import {
43
43
  singleLine,
44
44
  visibleControls
45
- } from "./chunk-WJTXO2EI.js";
45
+ } from "./chunk-5RVXXDN7.js";
46
46
  import {
47
47
  __name
48
48
  } from "./chunk-ZVVMGPBJ.js";
49
49
 
50
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/search/service-query.js
50
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/search/service-query.js
51
51
  var BACKENDS = ["archive", "server", "both"];
52
52
  var MAX_BRANCHES = 64;
53
53
  var some = /* @__PURE__ */ __name((value) => value === void 0 ? [] : [value], "some");
@@ -86,10 +86,10 @@ var RELATIVE_TIME = /^\d+[mhd]$/i;
86
86
  var OFFSET = /(?:Z|[+-]\d{2}:?\d{2})$/i;
87
87
  var readsZone = /* @__PURE__ */ __name((ast, times) => walkQuery(ast.root).some((term) => times.has(term.field) && [term.value, term.upper].some((value) => value !== void 0 && value !== "*" && !RELATIVE_TIME.test(value) && !OFFSET.test(value))), "readsZone");
88
88
 
89
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/model.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/model.js
90
90
  var MEETING_CALL_DIRECTIONS = ["in", "out"];
91
91
 
92
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/reference.js
92
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/reference.js
93
93
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
94
94
  var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
95
95
  if (!Number.isSafeInteger(value) || value < minimum)
@@ -126,7 +126,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text9) => {
126
126
  }, "parseMeetingReference");
127
127
  var canonicalMeetingReference = /* @__PURE__ */ __name((text9) => formatMeetingReference(parseMeetingReference(text9)), "canonicalMeetingReference");
128
128
 
129
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/item.js
129
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/item.js
130
130
  var text = string();
131
131
  var count = pipe(number(), integer(), minValue(0));
132
132
  var MEETING_ISSUES = ["time_without_zone"];
@@ -226,7 +226,7 @@ var MEETING_QUERY = {
226
226
  })
227
227
  };
228
228
 
229
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/store.js
229
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/store.js
230
230
  var MEETING_DOCUMENT_ROLES = ["transcript", "recording", "notes"];
231
231
  var TRANSCRIPT_WORDS = [
232
232
  "Transcript",
@@ -238,7 +238,7 @@ var TRANSCRIPT_WORDS = [
238
238
  ];
239
239
  var READ_BUDGET_EXCEEDED = "Meeting search exceeds its stored text byte budget";
240
240
 
241
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/answers.js
241
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/answers.js
242
242
  var text2 = string();
243
243
  var count2 = pipe(number(), integer(), minValue(0));
244
244
  var iso2 = /* @__PURE__ */ __name((ms2) => ms2 === null ? null : new Date(ms2).toISOString(), "iso");
@@ -522,7 +522,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
522
522
  };
523
523
  }, "meetingHitsList");
524
524
 
525
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
525
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
526
526
  var joinKeyOf = /* @__PURE__ */ __name((url) => {
527
527
  const parsed = urlOf(url);
528
528
  if (!parsed)
@@ -556,7 +556,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
556
556
  }
557
557
  }, "urlOf");
558
558
 
559
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
559
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
560
560
  var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
561
561
  var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
562
562
  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");
@@ -593,7 +593,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
593
593
  return kept;
594
594
  }, "entryMetadata");
595
595
 
596
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/calls.js
596
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/calls.js
597
597
  var CALL_DIRECTIONS = ["incoming", "outgoing", "internal"];
598
598
  var CALL_OUTCOMES = ["answered", "voicemail", "busy", "no_answer", "failed"];
599
599
  var MISSED_OUTCOMES = ["voicemail", "busy", "no_answer"];
@@ -662,7 +662,7 @@ var callOf = /* @__PURE__ */ __name((stored) => {
662
662
  };
663
663
  }, "callOf");
664
664
 
665
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/call-answers.js
665
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/call-answers.js
666
666
  var count3 = pipe(number(), integer(), minValue(0));
667
667
  var ms = count3;
668
668
  var id = pipe(number(), integer(), minValue(1));
@@ -825,7 +825,7 @@ var callStatsItem = /* @__PURE__ */ __name((found) => {
825
825
  };
826
826
  }, "callStatsItem");
827
827
 
828
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/stats.js
828
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/stats.js
829
829
  var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
830
830
  var zoneOf = /* @__PURE__ */ __name((timeZone) => {
831
831
  const zone = timeZone ?? "UTC";
@@ -960,7 +960,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
960
960
  };
961
961
  }, "aggregateMeetingStats");
962
962
 
963
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/call-stats.js
963
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/call-stats.js
964
964
  var CALLBACK_WITHIN_MS = 24 * 60 * 60 * 1e3;
965
965
  var SHORT_CALL_UNDER_MS = 3e4;
966
966
  var MOST_MISSED = 100;
@@ -1150,7 +1150,7 @@ var aggregateCallStats = /* @__PURE__ */ __name((calls, options = {}) => {
1150
1150
  };
1151
1151
  }, "aggregateCallStats");
1152
1152
 
1153
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
1153
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
1154
1154
  import { createHash } from "node:crypto";
1155
1155
  var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
1156
1156
  reference: cue2.reference,
@@ -1164,7 +1164,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
1164
1164
  text: cue2.text
1165
1165
  })).digest("hex"), "meetingCueFingerprint");
1166
1166
 
1167
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
1167
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
1168
1168
  var EVENT_QUERY = defineQuery({
1169
1169
  entity: "event",
1170
1170
  backend: "sql",
@@ -1180,7 +1180,7 @@ var EVENT_QUERY = defineQuery({
1180
1180
  ]
1181
1181
  });
1182
1182
 
1183
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
1183
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
1184
1184
  var PARTICIPANT_RESPONSES = ["needs-action", "accepted", "tentative", "declined", "delegated"];
1185
1185
  var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
1186
1186
  var seriesEnd = /* @__PURE__ */ __name((entry) => {
@@ -1231,7 +1231,7 @@ var eventChange = /* @__PURE__ */ __name((event2, entries, revisions, since) =>
1231
1231
  return null;
1232
1232
  }, "eventChange");
1233
1233
 
1234
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/events.js
1234
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/events.js
1235
1235
  var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(), { create = true } = {}) => {
1236
1236
  const current = await store.meeting(details.meeting.id);
1237
1237
  if (!current)
@@ -1276,7 +1276,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(),
1276
1276
  return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
1277
1277
  }, "linkEvent");
1278
1278
 
1279
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
1279
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
1280
1280
  var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text9) => text9.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
1281
1281
  var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
1282
1282
  if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
@@ -1300,7 +1300,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
1300
1300
  };
1301
1301
  }, "validateMeetingParticipantSearch");
1302
1302
 
1303
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/reads.js
1303
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/reads.js
1304
1304
  var MeetingError = class extends CliError {
1305
1305
  static {
1306
1306
  __name(this, "MeetingError");
@@ -1442,7 +1442,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id5, accountId)
1442
1442
  return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
1443
1443
  }, "meetingSummaryAnswer");
1444
1444
 
1445
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/export.js
1445
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/export.js
1446
1446
  var timestamp = /* @__PURE__ */ __name((milliseconds2) => {
1447
1447
  if (!Number.isSafeInteger(milliseconds2) || milliseconds2 < 0)
1448
1448
  throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
@@ -1539,10 +1539,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id5, options) => {
1539
1539
  };
1540
1540
  }, "exportMeeting");
1541
1541
 
1542
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
1542
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
1543
1543
  import { createHash as createHash2 } from "node:crypto";
1544
1544
 
1545
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/payment.js
1545
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/payment.js
1546
1546
  var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
1547
1547
  var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
1548
1548
  var PAYMENT_STATES = ["expected", "paid", "cancelled"];
@@ -1636,7 +1636,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
1636
1636
  return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
1637
1637
  }, "paymentTitle");
1638
1638
 
1639
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
1639
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
1640
1640
  var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
1641
1641
  if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
1642
1642
  throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
@@ -1647,7 +1647,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
1647
1647
  return new Date(value).toISOString();
1648
1648
  }, "meetingTimestamp");
1649
1649
 
1650
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
1650
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
1651
1651
  var TASK_TYPES = ["bug", "feature", "chore"];
1652
1652
  var invalid3 = /* @__PURE__ */ __name((message) => {
1653
1653
  throw new CliError("validation_error", message);
@@ -1822,7 +1822,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
1822
1822
  var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
1823
1823
  var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
1824
1824
 
1825
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/findings.js
1825
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/findings.js
1826
1826
  var MEETING_FINDINGS_KIND = "meeting_findings";
1827
1827
  var cue = /* @__PURE__ */ __name((raw) => {
1828
1828
  const reference2 = canonicalMeetingReference(raw);
@@ -1833,7 +1833,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
1833
1833
  var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
1834
1834
  var meetingFindingFingerprint = findingFingerprint;
1835
1835
 
1836
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
1836
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
1837
1837
  var context = {
1838
1838
  command: "search meetings",
1839
1839
  guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
@@ -1955,7 +1955,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text9) => {
1955
1955
  return { version: 1, language: "lucene-v1", root };
1956
1956
  }, "meetingWordsQuery");
1957
1957
 
1958
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/language.js
1958
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/language.js
1959
1959
  var LATIN_WORDS = {
1960
1960
  en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
1961
1961
  es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
@@ -2004,7 +2004,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
2004
2004
  return null;
2005
2005
  }, "transcriptLanguage");
2006
2006
 
2007
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
2007
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
2008
2008
  var contentHash = /* @__PURE__ */ __name(async (text9) => {
2009
2009
  const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text9));
2010
2010
  return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
@@ -2041,7 +2041,240 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
2041
2041
  return time;
2042
2042
  }, "timestamp");
2043
2043
 
2044
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
2044
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/search-store.js
2045
+ var refreshMeetingIndex = /* @__PURE__ */ __name(async (meetings, accountId, signal) => {
2046
+ let before = Number.POSITIVE_INFINITY;
2047
+ for (; ; ) {
2048
+ signal?.throwIfAborted();
2049
+ const { indexed, remaining } = await meetings.indexSearch({
2050
+ accountId,
2051
+ limit: 1e3,
2052
+ maxReadBytes: 64 * 1024 ** 2,
2053
+ signal
2054
+ });
2055
+ if (remaining === 0 || indexed === 0 || remaining >= before)
2056
+ return;
2057
+ before = remaining;
2058
+ }
2059
+ }, "refreshMeetingIndex");
2060
+
2061
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/pull.js
2062
+ var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
2063
+ const { identityExternalId, phone, ...fields2 } = p;
2064
+ const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
2065
+ return {
2066
+ ...fields2,
2067
+ identity: {
2068
+ provider,
2069
+ externalId,
2070
+ name: p.displayName,
2071
+ ...phone?.trim() ? { phone } : {},
2072
+ metadata: p.metadata,
2073
+ associatePerson: Boolean(identityExternalId?.trim() || p.email?.trim() || p.externalId?.trim())
2074
+ }
2075
+ };
2076
+ }, "participantInput");
2077
+ var participantInputs = /* @__PURE__ */ __name((provider, occurrenceId2, list, accountId) => list.map((p, i) => participantInput(p, provider, occurrenceId2, i, accountId)), "participantInputs");
2078
+ var sourceMeetingInput = /* @__PURE__ */ __name((m, accountId, participantsCount, kept) => {
2079
+ const startedAt = timestamp2(m.occurrence.startedAt);
2080
+ const given = m.occurrence.endedAt === null ? null : timestamp2(m.occurrence.endedAt);
2081
+ if (given !== null && given < startedAt)
2082
+ throw new Error("Meeting ends before it starts");
2083
+ const keptEnd = kept?.endedAt ?? null;
2084
+ const endedAt = given ?? (keptEnd !== null && keptEnd >= startedAt ? keptEnd : null);
2085
+ const count7 = participantsCount === null && kept ? kept.participantsCount : participantsCount;
2086
+ const metadata = kept?.metadata && m.metadata ? { ...kept.metadata, ...m.metadata } : m.metadata ?? kept?.metadata ?? null;
2087
+ const meeting2 = {
2088
+ accountId,
2089
+ externalId: m.occurrence.id,
2090
+ title: m.occurrence.title,
2091
+ description: m.description ?? kept?.description ?? null,
2092
+ location: m.location ?? kept?.location ?? null,
2093
+ joinUrl: m.joinUrl ?? m.series?.joinUrl ?? kept?.joinUrl ?? null,
2094
+ startedAt,
2095
+ endedAt,
2096
+ durationMs: endedAt === null ? null : endedAt - startedAt,
2097
+ timezone: m.timezone ?? kept?.timezone ?? null,
2098
+ hostIdentityId: kept?.hostIdentityId ?? null,
2099
+ ...count7 === void 0 ? {} : { participantsCount: count7 },
2100
+ ...m.call ? { direction: m.call.direction ?? null, clientPhone: m.call.clientPhone ?? null } : {},
2101
+ metadata,
2102
+ deletedAt: null
2103
+ };
2104
+ if (m.series)
2105
+ meeting2.series = {
2106
+ externalId: m.series.id,
2107
+ title: m.series.title,
2108
+ description: null,
2109
+ kind: m.series.kind ?? null,
2110
+ recurrence: m.series.recurrence ?? null,
2111
+ hostIdentityId: null,
2112
+ joinUrl: m.series.joinUrl ?? null,
2113
+ metadata: null,
2114
+ deletedAt: null
2115
+ };
2116
+ return meeting2;
2117
+ }, "sourceMeetingInput");
2118
+ var saveSourceMeeting = /* @__PURE__ */ __name(async (source, store, m, parts, { accountId, now, kept }) => {
2119
+ const id5 = m.occurrence.id;
2120
+ const { participants: sourceParticipants, transcript: lines, chat, summary } = parts;
2121
+ const participants = participantInputs(source.provider, id5, sourceParticipants ?? [], accountId);
2122
+ const meeting2 = sourceMeetingInput(m, accountId, sourceParticipants === void 0 ? void 0 : sourceParticipants?.length ?? null, kept);
2123
+ const linked = sourceParticipants !== void 0;
2124
+ const format = source.transcriptFormat ?? null;
2125
+ const transcripts = lines && linked ? [await transcriptInput(lines, participants, source.name, void 0, format)] : void 0;
2126
+ const details = await store.saveMeeting({
2127
+ meeting: meeting2,
2128
+ participants: sourceParticipants ? participants : void 0,
2129
+ transcripts,
2130
+ chat: chat?.map((line2) => ({
2131
+ externalId: null,
2132
+ sentAt: timestamp2(line2.sentAt),
2133
+ senderParticipantPosition: speakerPosition(line2.sender, participants),
2134
+ senderName: line2.sender,
2135
+ recipient: null,
2136
+ text: line2.text,
2137
+ normalizedText: null,
2138
+ metadata: null
2139
+ })),
2140
+ summaries: summary ? [
2141
+ {
2142
+ ...summary,
2143
+ source: summary.source ?? source.name,
2144
+ content: summary.content ?? null,
2145
+ docUrl: summary.docUrl ?? null,
2146
+ externalCreatedAt: summary.externalCreatedAt ?? null,
2147
+ externalUpdatedAt: summary.externalUpdatedAt ?? null,
2148
+ metadata: summary.metadata ?? null
2149
+ }
2150
+ ] : void 0,
2151
+ attachments: parts.files ?? void 0,
2152
+ documents: parts.documents ?? void 0,
2153
+ now
2154
+ });
2155
+ if (lines && !linked && !details.transcripts.some((t) => t.transcript.source === source.name && t.transcript.supersededAt === null))
2156
+ await store.saveMeeting({
2157
+ meeting: meeting2,
2158
+ transcripts: [await transcriptInput(lines, [], source.name, `${JSON.stringify(lines)}
2159
+ unlinked`, format)],
2160
+ now
2161
+ });
2162
+ await linkEvent(store, details, now, { create: source.createsEvents !== false });
2163
+ return details;
2164
+ }, "saveSourceMeeting");
2165
+ var startOf = /* @__PURE__ */ __name((m) => {
2166
+ const at = Date.parse(m.occurrence.startedAt);
2167
+ return Number.isFinite(at) ? at : Number.POSITIVE_INFINITY;
2168
+ }, "startOf");
2169
+ var indexSaved = /* @__PURE__ */ __name(async (store, accountIds, report) => {
2170
+ const indexSearch = store.indexSearch?.bind(store);
2171
+ if (!indexSearch || report.meetings === 0)
2172
+ return;
2173
+ for (const accountId of new Set(accountIds))
2174
+ try {
2175
+ await refreshMeetingIndex({ indexSearch }, accountId);
2176
+ } catch (error) {
2177
+ report.warnings.push({
2178
+ externalId: String(accountId),
2179
+ message: `search index not updated: ${error instanceof Error ? error.message : "failed"}`
2180
+ });
2181
+ }
2182
+ }, "indexSaved");
2183
+ var pull = /* @__PURE__ */ __name(async (source, store, options) => {
2184
+ const now = options.now ?? Date.now();
2185
+ for (const [name, ms2] of [
2186
+ ["lookbackMs", options.lookbackMs ?? 0],
2187
+ ["overlapMs", source.overlapMs ?? 0]
2188
+ ])
2189
+ if (!Number.isSafeInteger(ms2) || ms2 < 0 || ms2 > 31 * 864e5)
2190
+ throw new Error(`${name} must be an integer from 0 through 31 days`);
2191
+ const lookbackMs = Math.max(options.lookbackMs ?? 0, source.overlapMs ?? 0);
2192
+ const cursor = options.rescan ? void 0 : await store.cursor(options.accountId);
2193
+ const since = options.since ?? cursor ?? new Date(now - 30 * 864e5).toISOString();
2194
+ timestamp2(since);
2195
+ const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
2196
+ let failed = false;
2197
+ let firstFailed;
2198
+ const callers = /* @__PURE__ */ new Set();
2199
+ const linkCallers = /* @__PURE__ */ __name(async () => {
2200
+ if (callers.size === 0 || !store.linkCallers)
2201
+ return;
2202
+ try {
2203
+ await store.linkCallers(source.provider, [...callers]);
2204
+ } catch (error) {
2205
+ report.warnings.push({
2206
+ externalId: source.provider,
2207
+ message: `callers not linked to people: ${error instanceof Error ? error.message : "failed"}`
2208
+ });
2209
+ }
2210
+ }, "linkCallers");
2211
+ const from = timestamp2(since) - lookbackMs;
2212
+ const meetings = (await source.meetings(lookbackMs === 0 ? since : new Date(from).toISOString())).toSorted((a, b) => startOf(a) - startOf(b));
2213
+ for (const [index, m] of meetings.entries()) {
2214
+ const stop = options.budget?.take() ?? null;
2215
+ if (stop) {
2216
+ report.stopped = stop;
2217
+ report.remaining = meetings.length - index;
2218
+ const reached = Math.min(startOf(m), firstFailed ?? Number.POSITIVE_INFINITY);
2219
+ if (Number.isFinite(reached) && reached > timestamp2(since))
2220
+ await store.setCursor(options.accountId, new Date(reached).toISOString(), now);
2221
+ await linkCallers();
2222
+ return report;
2223
+ }
2224
+ const id5 = m.occurrence.id;
2225
+ const failedHere = /* @__PURE__ */ __name(() => {
2226
+ failed = true;
2227
+ firstFailed ??= startOf(m);
2228
+ }, "failedHere");
2229
+ const read = /* @__PURE__ */ __name(async (part, call) => {
2230
+ try {
2231
+ return await call();
2232
+ } catch (error) {
2233
+ failedHere();
2234
+ const message = error instanceof Error ? error.message : "could not be read";
2235
+ report.warnings.push({ externalId: id5, message: `${part}: ${message}` });
2236
+ return void 0;
2237
+ }
2238
+ }, "read");
2239
+ try {
2240
+ const sourceParticipants = await read("participants", () => source.participants(id5));
2241
+ const participants = participantInputs(source.provider, id5, sourceParticipants ?? [], options.accountId);
2242
+ const names = /* @__PURE__ */ new Map();
2243
+ for (const p of participants)
2244
+ if (p.displayName !== null) {
2245
+ const identities = names.get(p.displayName) ?? /* @__PURE__ */ new Set();
2246
+ identities.add(p.identity.externalId);
2247
+ names.set(p.displayName, identities);
2248
+ }
2249
+ if ([...names.values()].some((ids2) => ids2.size > 1))
2250
+ report.warnings.push({ externalId: id5, message: "Participant names are ambiguous" });
2251
+ const lines = await read("transcript", () => source.transcript(id5));
2252
+ const chat = await read("chat", () => source.chat(id5));
2253
+ const summary = await read("summary", () => source.summary(id5));
2254
+ const attachments = await read("files", () => source.files(id5));
2255
+ const listDocuments = source.documents?.bind(source);
2256
+ const documents = listDocuments ? await read("documents", () => listDocuments(id5)) : void 0;
2257
+ await saveSourceMeeting(source, store, m, { participants: sourceParticipants, transcript: lines, chat, summary, files: attachments, documents }, { accountId: options.accountId, now });
2258
+ for (const p of participants)
2259
+ if (p.identity.phone)
2260
+ callers.add(p.identity.externalId);
2261
+ report.meetings++;
2262
+ report.participants += participants.length;
2263
+ report.transcriptRows += lines?.length ?? 0;
2264
+ report.summaries += summary ? 1 : 0;
2265
+ } catch (error) {
2266
+ failedHere();
2267
+ report.warnings.push({ externalId: id5, message: error instanceof Error ? error.message : "Meeting pull failed" });
2268
+ }
2269
+ }
2270
+ await linkCallers();
2271
+ await indexSaved(store, [options.accountId], report);
2272
+ if (!failed)
2273
+ await store.setCursor(options.accountId, new Date(now).toISOString(), now);
2274
+ return report;
2275
+ }, "pull");
2276
+
2277
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
2045
2278
  var TranscriptTextError = class extends Error {
2046
2279
  static {
2047
2280
  __name(this, "TranscriptTextError");
@@ -2096,7 +2329,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
2096
2329
  return { header, lines };
2097
2330
  }, "parseTranscriptText");
2098
2331
 
2099
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
2332
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
2100
2333
  var VttError = class extends Error {
2101
2334
  static {
2102
2335
  __name(this, "VttError");
@@ -2148,7 +2381,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
2148
2381
  return cues;
2149
2382
  }, "parseVtt");
2150
2383
 
2151
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/import.js
2384
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/import.js
2152
2385
  var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
2153
2386
  const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
2154
2387
  for (const file of files) {
@@ -2174,6 +2407,7 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
2174
2407
  });
2175
2408
  }
2176
2409
  }
2410
+ await indexSaved(store, files.map((file) => file.meeting.accountId), report);
2177
2411
  const zones = new Set(files.map((file) => file.meeting.timezone).filter((zone2) => zone2 !== null && zone2 !== void 0));
2178
2412
  const [zone] = zones;
2179
2413
  if (zones.size === 1 && zone)
@@ -2181,10 +2415,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
2181
2415
  return report;
2182
2416
  }, "importFiles");
2183
2417
 
2184
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/links.js
2418
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/links.js
2185
2419
  var CHAT_MESSAGES_READ = 1e5;
2186
2420
 
2187
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/provider.js
2421
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/provider.js
2188
2422
  var snapshotMeetingScope = /* @__PURE__ */ __name((scope3) => {
2189
2423
  const provider = scope3?.provider;
2190
2424
  const account = scope3?.account;
@@ -2193,7 +2427,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope3) => {
2193
2427
  return Object.freeze({ provider, account });
2194
2428
  }, "snapshotMeetingScope");
2195
2429
 
2196
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
2430
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
2197
2431
  var MEETING_FIELD_KEYS = Object.freeze({
2198
2432
  title: "title",
2199
2433
  kind: "kind",
@@ -2429,7 +2663,7 @@ var createMeetingManagement = /* @__PURE__ */ __name((scope3, ports, options = {
2429
2663
  };
2430
2664
  }, "createMeetingManagement");
2431
2665
 
2432
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
2666
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
2433
2667
  var id2 = /* @__PURE__ */ __name((value) => {
2434
2668
  if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
2435
2669
  throw new CliError("validation_error", "meeting context identifiers must be positive integers");
@@ -2551,7 +2785,7 @@ var createMeetingContext = /* @__PURE__ */ __name((scope3, accountId, ports) =>
2551
2785
  };
2552
2786
  }, "createMeetingContext");
2553
2787
 
2554
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/passage.js
2788
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/passage.js
2555
2789
  var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
2556
2790
  const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
2557
2791
  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)))
@@ -2572,7 +2806,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
2572
2806
  throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
2573
2807
  }, "validateMeetingPassage");
2574
2808
 
2575
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
2809
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
2576
2810
  var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
2577
2811
  if (!original || typeof original !== "object" || Array.isArray(original))
2578
2812
  throw new CliError("validation_error", "meeting preparation context is required");
@@ -2597,7 +2831,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
2597
2831
  return { ...input, limit, maxReadBytes };
2598
2832
  }, "validateMeetingPreparationContext");
2599
2833
 
2600
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
2834
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
2601
2835
  var count4 = pipe(number(), integer(), minValue(0));
2602
2836
  var id3 = pipe(string(), minLength(1));
2603
2837
  var meetingProjectEvidence = strictObject({
@@ -2718,7 +2952,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
2718
2952
  };
2719
2953
  }, "meetingProjectEvidenceAnswer");
2720
2954
 
2721
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
2955
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
2722
2956
  var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
2723
2957
  const integer5 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
2724
2958
  if (typeof query !== "string" || !query.trim() || query.includes("\0") || new TextEncoder().encode(query).byteLength > 65536 || !integer5(options.limit ?? 100, 1, 1e3) || !integer5(options.maxReadBytes ?? 4194304, 1, 67108864) || [
@@ -2738,7 +2972,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
2738
2972
  throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
2739
2973
  }, "validateMeetingHitSearch");
2740
2974
 
2741
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
2975
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
2742
2976
  var ids = {
2743
2977
  meeting_id: "meetingId",
2744
2978
  identity_id: "participantIdentityId",
@@ -2829,7 +3063,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
2829
3063
  return { project: project.trim(), options, query: frozen.join(" AND ") };
2830
3064
  }, "prepareMeetingProjectEvidence");
2831
3065
 
2832
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
3066
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
2833
3067
  var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
2834
3068
  const prepared = prepareMeetingProjectEvidence(project, request, now);
2835
3069
  const page = await read(prepared.project, prepared.options);
@@ -2837,208 +3071,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
2837
3071
  return meetingProjectEvidenceAnswer(page, prepared);
2838
3072
  }, "readMeetingProjectEvidence");
2839
3073
 
2840
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/pull.js
2841
- var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
2842
- const { identityExternalId, phone, ...fields2 } = p;
2843
- const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
2844
- return {
2845
- ...fields2,
2846
- identity: {
2847
- provider,
2848
- externalId,
2849
- name: p.displayName,
2850
- ...phone?.trim() ? { phone } : {},
2851
- metadata: p.metadata,
2852
- associatePerson: Boolean(identityExternalId?.trim() || p.email?.trim() || p.externalId?.trim())
2853
- }
2854
- };
2855
- }, "participantInput");
2856
- var participantInputs = /* @__PURE__ */ __name((provider, occurrenceId2, list, accountId) => list.map((p, i) => participantInput(p, provider, occurrenceId2, i, accountId)), "participantInputs");
2857
- var sourceMeetingInput = /* @__PURE__ */ __name((m, accountId, participantsCount, kept) => {
2858
- const startedAt = timestamp2(m.occurrence.startedAt);
2859
- const given = m.occurrence.endedAt === null ? null : timestamp2(m.occurrence.endedAt);
2860
- if (given !== null && given < startedAt)
2861
- throw new Error("Meeting ends before it starts");
2862
- const keptEnd = kept?.endedAt ?? null;
2863
- const endedAt = given ?? (keptEnd !== null && keptEnd >= startedAt ? keptEnd : null);
2864
- const count7 = participantsCount === null && kept ? kept.participantsCount : participantsCount;
2865
- const metadata = kept?.metadata && m.metadata ? { ...kept.metadata, ...m.metadata } : m.metadata ?? kept?.metadata ?? null;
2866
- const meeting2 = {
2867
- accountId,
2868
- externalId: m.occurrence.id,
2869
- title: m.occurrence.title,
2870
- description: m.description ?? kept?.description ?? null,
2871
- location: m.location ?? kept?.location ?? null,
2872
- joinUrl: m.joinUrl ?? m.series?.joinUrl ?? kept?.joinUrl ?? null,
2873
- startedAt,
2874
- endedAt,
2875
- durationMs: endedAt === null ? null : endedAt - startedAt,
2876
- timezone: m.timezone ?? kept?.timezone ?? null,
2877
- hostIdentityId: kept?.hostIdentityId ?? null,
2878
- ...count7 === void 0 ? {} : { participantsCount: count7 },
2879
- ...m.call ? { direction: m.call.direction ?? null, clientPhone: m.call.clientPhone ?? null } : {},
2880
- metadata,
2881
- deletedAt: null
2882
- };
2883
- if (m.series)
2884
- meeting2.series = {
2885
- externalId: m.series.id,
2886
- title: m.series.title,
2887
- description: null,
2888
- kind: m.series.kind ?? null,
2889
- recurrence: m.series.recurrence ?? null,
2890
- hostIdentityId: null,
2891
- joinUrl: m.series.joinUrl ?? null,
2892
- metadata: null,
2893
- deletedAt: null
2894
- };
2895
- return meeting2;
2896
- }, "sourceMeetingInput");
2897
- var saveSourceMeeting = /* @__PURE__ */ __name(async (source, store, m, parts, { accountId, now, kept }) => {
2898
- const id5 = m.occurrence.id;
2899
- const { participants: sourceParticipants, transcript: lines, chat, summary } = parts;
2900
- const participants = participantInputs(source.provider, id5, sourceParticipants ?? [], accountId);
2901
- const meeting2 = sourceMeetingInput(m, accountId, sourceParticipants === void 0 ? void 0 : sourceParticipants?.length ?? null, kept);
2902
- const linked = sourceParticipants !== void 0;
2903
- const format = source.transcriptFormat ?? null;
2904
- const transcripts = lines && linked ? [await transcriptInput(lines, participants, source.name, void 0, format)] : void 0;
2905
- const details = await store.saveMeeting({
2906
- meeting: meeting2,
2907
- participants: sourceParticipants ? participants : void 0,
2908
- transcripts,
2909
- chat: chat?.map((line2) => ({
2910
- externalId: null,
2911
- sentAt: timestamp2(line2.sentAt),
2912
- senderParticipantPosition: speakerPosition(line2.sender, participants),
2913
- senderName: line2.sender,
2914
- recipient: null,
2915
- text: line2.text,
2916
- normalizedText: null,
2917
- metadata: null
2918
- })),
2919
- summaries: summary ? [
2920
- {
2921
- ...summary,
2922
- source: summary.source ?? source.name,
2923
- content: summary.content ?? null,
2924
- docUrl: summary.docUrl ?? null,
2925
- externalCreatedAt: summary.externalCreatedAt ?? null,
2926
- externalUpdatedAt: summary.externalUpdatedAt ?? null,
2927
- metadata: summary.metadata ?? null
2928
- }
2929
- ] : void 0,
2930
- attachments: parts.files ?? void 0,
2931
- documents: parts.documents ?? void 0,
2932
- now
2933
- });
2934
- if (lines && !linked && !details.transcripts.some((t) => t.transcript.source === source.name && t.transcript.supersededAt === null))
2935
- await store.saveMeeting({
2936
- meeting: meeting2,
2937
- transcripts: [await transcriptInput(lines, [], source.name, `${JSON.stringify(lines)}
2938
- unlinked`, format)],
2939
- now
2940
- });
2941
- await linkEvent(store, details, now, { create: source.createsEvents !== false });
2942
- return details;
2943
- }, "saveSourceMeeting");
2944
- var startOf = /* @__PURE__ */ __name((m) => {
2945
- const at = Date.parse(m.occurrence.startedAt);
2946
- return Number.isFinite(at) ? at : Number.POSITIVE_INFINITY;
2947
- }, "startOf");
2948
- var pull = /* @__PURE__ */ __name(async (source, store, options) => {
2949
- const now = options.now ?? Date.now();
2950
- for (const [name, ms2] of [
2951
- ["lookbackMs", options.lookbackMs ?? 0],
2952
- ["overlapMs", source.overlapMs ?? 0]
2953
- ])
2954
- if (!Number.isSafeInteger(ms2) || ms2 < 0 || ms2 > 31 * 864e5)
2955
- throw new Error(`${name} must be an integer from 0 through 31 days`);
2956
- const lookbackMs = Math.max(options.lookbackMs ?? 0, source.overlapMs ?? 0);
2957
- const cursor = options.rescan ? void 0 : await store.cursor(options.accountId);
2958
- const since = options.since ?? cursor ?? new Date(now - 30 * 864e5).toISOString();
2959
- timestamp2(since);
2960
- const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
2961
- let failed = false;
2962
- let firstFailed;
2963
- const callers = /* @__PURE__ */ new Set();
2964
- const linkCallers = /* @__PURE__ */ __name(async () => {
2965
- if (callers.size === 0 || !store.linkCallers)
2966
- return;
2967
- try {
2968
- await store.linkCallers(source.provider, [...callers]);
2969
- } catch (error) {
2970
- report.warnings.push({
2971
- externalId: source.provider,
2972
- message: `callers not linked to people: ${error instanceof Error ? error.message : "failed"}`
2973
- });
2974
- }
2975
- }, "linkCallers");
2976
- const from = timestamp2(since) - lookbackMs;
2977
- const meetings = (await source.meetings(lookbackMs === 0 ? since : new Date(from).toISOString())).toSorted((a, b) => startOf(a) - startOf(b));
2978
- for (const [index, m] of meetings.entries()) {
2979
- const stop = options.budget?.take() ?? null;
2980
- if (stop) {
2981
- report.stopped = stop;
2982
- report.remaining = meetings.length - index;
2983
- const reached = Math.min(startOf(m), firstFailed ?? Number.POSITIVE_INFINITY);
2984
- if (Number.isFinite(reached) && reached > timestamp2(since))
2985
- await store.setCursor(options.accountId, new Date(reached).toISOString(), now);
2986
- await linkCallers();
2987
- return report;
2988
- }
2989
- const id5 = m.occurrence.id;
2990
- const failedHere = /* @__PURE__ */ __name(() => {
2991
- failed = true;
2992
- firstFailed ??= startOf(m);
2993
- }, "failedHere");
2994
- const read = /* @__PURE__ */ __name(async (part, call) => {
2995
- try {
2996
- return await call();
2997
- } catch (error) {
2998
- failedHere();
2999
- const message = error instanceof Error ? error.message : "could not be read";
3000
- report.warnings.push({ externalId: id5, message: `${part}: ${message}` });
3001
- return void 0;
3002
- }
3003
- }, "read");
3004
- try {
3005
- const sourceParticipants = await read("participants", () => source.participants(id5));
3006
- const participants = participantInputs(source.provider, id5, sourceParticipants ?? [], options.accountId);
3007
- const names = /* @__PURE__ */ new Map();
3008
- for (const p of participants)
3009
- if (p.displayName !== null) {
3010
- const identities = names.get(p.displayName) ?? /* @__PURE__ */ new Set();
3011
- identities.add(p.identity.externalId);
3012
- names.set(p.displayName, identities);
3013
- }
3014
- if ([...names.values()].some((ids2) => ids2.size > 1))
3015
- report.warnings.push({ externalId: id5, message: "Participant names are ambiguous" });
3016
- const lines = await read("transcript", () => source.transcript(id5));
3017
- const chat = await read("chat", () => source.chat(id5));
3018
- const summary = await read("summary", () => source.summary(id5));
3019
- const attachments = await read("files", () => source.files(id5));
3020
- const listDocuments = source.documents?.bind(source);
3021
- const documents = listDocuments ? await read("documents", () => listDocuments(id5)) : void 0;
3022
- await saveSourceMeeting(source, store, m, { participants: sourceParticipants, transcript: lines, chat, summary, files: attachments, documents }, { accountId: options.accountId, now });
3023
- for (const p of participants)
3024
- if (p.identity.phone)
3025
- callers.add(p.identity.externalId);
3026
- report.meetings++;
3027
- report.participants += participants.length;
3028
- report.transcriptRows += lines?.length ?? 0;
3029
- report.summaries += summary ? 1 : 0;
3030
- } catch (error) {
3031
- failedHere();
3032
- report.warnings.push({ externalId: id5, message: error instanceof Error ? error.message : "Meeting pull failed" });
3033
- }
3034
- }
3035
- await linkCallers();
3036
- if (!failed)
3037
- await store.setCursor(options.accountId, new Date(now).toISOString(), now);
3038
- return report;
3039
- }, "pull");
3040
-
3041
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
3074
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
3042
3075
  var text4 = string();
3043
3076
  var count5 = pipe(number(), integer(), minValue(0));
3044
3077
  var id4 = pipe(number(), integer(), minValue(1));
@@ -3302,7 +3335,7 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
3302
3335
  updated_at: new Date(one.updatedAt).toISOString()
3303
3336
  }), "eventItem");
3304
3337
 
3305
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/read-through.js
3338
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/read-through.js
3306
3339
  var MEETING_SERVER_BOUNDS = { calls: 3, pages: 2 };
3307
3340
  var ISSUES = {
3308
3341
  offline: ["permission_error", "meetings.server-offline"],
@@ -3445,14 +3478,17 @@ var askServerForList = /* @__PURE__ */ __name(async (source, store, accountId, q
3445
3478
  for (const call of asked) {
3446
3479
  let cursor = null;
3447
3480
  for (let page = 0; page < MEETING_SERVER_BOUNDS.pages; page++) {
3481
+ access.signal?.throwIfAborted();
3448
3482
  step.report.calls += 1;
3449
3483
  let answer;
3450
3484
  try {
3451
- answer = await source.find(call.window, call.terms, cursor);
3485
+ answer = await source.find(call.window, call.terms, cursor, access.signal);
3452
3486
  } catch (error) {
3487
+ access.signal?.throwIfAborted();
3453
3488
  return skip(reasonOf(error), error);
3454
3489
  }
3455
3490
  for (const found of answer.meetings) {
3491
+ access.signal?.throwIfAborted();
3456
3492
  if (seen.has(found.meeting.occurrence.id))
3457
3493
  continue;
3458
3494
  seen.add(found.meeting.occurrence.id);
@@ -3577,11 +3613,13 @@ var meetingShowThrough = /* @__PURE__ */ __name(async (source, store, accountId,
3577
3613
  return fromStore("unsupported");
3578
3614
  if (access.offline)
3579
3615
  return fromStore("offline");
3616
+ access.signal?.throwIfAborted();
3580
3617
  step.report.calls = 1;
3581
3618
  let full;
3582
3619
  try {
3583
- full = await source.get(providerId);
3620
+ full = await source.get(providerId, access.signal);
3584
3621
  } catch (error) {
3622
+ access.signal?.throwIfAborted();
3585
3623
  return fromStore(reasonOf(error), error);
3586
3624
  }
3587
3625
  if (!full) {
@@ -3594,10 +3632,10 @@ var meetingShowThrough = /* @__PURE__ */ __name(async (source, store, accountId,
3594
3632
  return { details: fresh, foundIn: step.found.get(details.meeting.id) ?? "server", server: step.report };
3595
3633
  }, "meetingShowThrough");
3596
3634
 
3597
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/recording-schedule.js
3635
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/recording-schedule.js
3598
3636
  import { createHash as createHash3 } from "node:crypto";
3599
3637
 
3600
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/recording-sync.js
3638
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/recording-sync.js
3601
3639
  var RecordingSyncError = class extends CliError {
3602
3640
  static {
3603
3641
  __name(this, "RecordingSyncError");
@@ -3918,7 +3956,7 @@ async function* syncRecordingArchive(catalog, input) {
3918
3956
  }
3919
3957
  __name(syncRecordingArchive, "syncRecordingArchive");
3920
3958
 
3921
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/recording-schedule.js
3959
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/recording-schedule.js
3922
3960
  var fail2 = /* @__PURE__ */ __name((message) => {
3923
3961
  throw new CliError("validation_error", message);
3924
3962
  }, "fail");
@@ -4025,7 +4063,7 @@ var installRecordingArchiveSchedule = /* @__PURE__ */ __name(async (scheduler, v
4025
4063
  return { applied: true, backend, schedule };
4026
4064
  }, "installRecordingArchiveSchedule");
4027
4065
 
4028
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
4066
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
4029
4067
  var RecordingTransferError = class extends CliError {
4030
4068
  static {
4031
4069
  __name(this, "RecordingTransferError");
@@ -4190,7 +4228,7 @@ var transferRecording = /* @__PURE__ */ __name(async (source, storage, options)
4190
4228
  }
4191
4229
  }, "transferRecording");
4192
4230
 
4193
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
4231
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
4194
4232
  var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
4195
4233
  if (!original || typeof original !== "object" || Array.isArray(original))
4196
4234
  throw new CliError("validation_error", "related history request is required");
@@ -4220,7 +4258,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
4220
4258
  return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
4221
4259
  }, "validateMeetingRelatedHistory");
4222
4260
 
4223
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
4261
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
4224
4262
  var text7 = string();
4225
4263
  var identifier = pipe(text7, minLength(1));
4226
4264
  var nullableText2 = nullable(text7);
@@ -4392,15 +4430,15 @@ var MEETING_RESULT_ENTITIES = {
4392
4430
  meeting_repair: repair
4393
4431
  };
4394
4432
 
4395
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/review.js
4433
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/review.js
4396
4434
  var REVIEW_LIMIT = { default: 50, most: 200 };
4397
4435
 
4398
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
4436
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
4399
4437
  var SAVE_INSTRUCTION = "If this shows something worth keeping \u2014 a decision, a promise, a preference \u2014 and memo's server is connected, propose it with facts_add or memories_add, citing the msg: locator or meeting: reference. Otherwise skip this.";
4400
4438
  var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
4401
4439
  \`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
4402
4440
 
4403
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
4441
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
4404
4442
  var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
4405
4443
  input.signal?.throwIfAborted();
4406
4444
  if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
@@ -4421,10 +4459,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
4421
4459
  return { ...input, limit, maxReadBytes };
4422
4460
  }, "validateMeetingSeriesHistory");
4423
4461
 
4424
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
4462
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
4425
4463
  import { createHash as createHash4 } from "node:crypto";
4426
4464
 
4427
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
4465
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
4428
4466
  var invalid4 = /* @__PURE__ */ __name((field) => {
4429
4467
  throw new CliError("invalid_response", `meeting occurrence ${field} is invalid`);
4430
4468
  }, "invalid");
@@ -4493,7 +4531,7 @@ var readOccurrenceSchedule = /* @__PURE__ */ __name((input, meetingId, limit, ma
4493
4531
  return result;
4494
4532
  }, "readOccurrenceSchedule");
4495
4533
 
4496
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
4534
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
4497
4535
  var inventoryHash = /* @__PURE__ */ __name((value) => createHash4("sha256").update(JSON.stringify(value)).digest("hex"), "inventoryHash");
4498
4536
  var inventorySize = /* @__PURE__ */ __name((value) => Buffer.byteLength(JSON.stringify(value), "utf8"), "inventorySize");
4499
4537
  function invalid5(field, response = false) {
@@ -4581,7 +4619,7 @@ var inventoryPage = /* @__PURE__ */ __name((scope3, request, page) => {
4581
4619
  return { items, selection: page.coverage.selection, partial: page.coverage.partial, nextCursor: page.nextCursor };
4582
4620
  }, "inventoryPage");
4583
4621
 
4584
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/series-inventory.js
4622
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/series-inventory.js
4585
4623
  var cancelled3 = /* @__PURE__ */ __name((signal) => {
4586
4624
  if (signal?.aborted)
4587
4625
  throw new CliError("cancelled", "meeting inventory reading was cancelled");
@@ -4637,7 +4675,7 @@ var createMeetingSeriesInventoryReader = /* @__PURE__ */ __name((scope3, port) =
4637
4675
  };
4638
4676
  }, "createMeetingSeriesInventoryReader");
4639
4677
 
4640
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/tag-answers.js
4678
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/tag-answers.js
4641
4679
  var text8 = string();
4642
4680
  var storeId = pipe(number(), integer(), minValue(1));
4643
4681
  var meetingTagChange = strictObject({
@@ -4675,7 +4713,7 @@ var meetingTaggingItem = /* @__PURE__ */ __name((one) => ({
4675
4713
  untrusted: ["title"]
4676
4714
  }), "meetingTaggingItem");
4677
4715
 
4678
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/transcription.js
4716
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/transcription.js
4679
4717
  var bounded = /* @__PURE__ */ __name((value, max, name) => {
4680
4718
  if (!Number.isSafeInteger(value) || value < 1 || value > max)
4681
4719
  throw new CliError("validation_error", `${name} must be an integer from 1 to ${max}`);
@@ -4829,7 +4867,7 @@ var transcribeMeeting = /* @__PURE__ */ __name(async (source, store, target, opt
4829
4867
  };
4830
4868
  }, "transcribeMeeting");
4831
4869
 
4832
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/upcoming.js
4870
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/upcoming.js
4833
4871
  var cancelled5 = /* @__PURE__ */ __name((signal) => {
4834
4872
  if (!signal?.aborted)
4835
4873
  return;
@@ -4899,7 +4937,7 @@ var createUpcomingMeetingReader = /* @__PURE__ */ __name((scope3, port) => {
4899
4937
  };
4900
4938
  }, "createUpcomingMeetingReader");
4901
4939
 
4902
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/meetings/watch.js
4940
+ // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/meetings/watch.js
4903
4941
  var sleep = /* @__PURE__ */ __name((milliseconds2, signal) => new Promise((resolve) => {
4904
4942
  const finish = /* @__PURE__ */ __name(() => {
4905
4943
  clearTimeout(timer);
@@ -5033,6 +5071,9 @@ export {
5033
5071
  parseMeetingQuery,
5034
5072
  meetingWordsQuery,
5035
5073
  transcriptLanguage,
5074
+ refreshMeetingIndex,
5075
+ saveSourceMeeting,
5076
+ pull,
5036
5077
  TranscriptTextError,
5037
5078
  parseTranscriptText,
5038
5079
  VttError,
@@ -5061,8 +5102,6 @@ export {
5061
5102
  MEETING_PROJECT_EVIDENCE_QUERY,
5062
5103
  prepareMeetingProjectEvidence,
5063
5104
  readMeetingProjectEvidence,
5064
- saveSourceMeeting,
5065
- pull,
5066
5105
  meetingReview,
5067
5106
  meetingReviewItem,
5068
5107
  meetingLink,