@wirecat/notion-cli 0.7.0 → 0.8.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 (243) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/README.md +20 -3
  3. package/contracts/wirecat.json +238 -2
  4. package/dist/bin/notion.js +2 -2
  5. package/dist/bundle/agent-FDS2ENXJ.js +42 -0
  6. package/dist/bundle/{all-profiles-CKOACXTW.js → all-profiles-MIGUJ6UM.js} +11 -11
  7. package/dist/bundle/{anthropic-DWBBVTU3.js → anthropic-ZTYBZ7PI.js} +5 -5
  8. package/dist/bundle/{app-server-BHFYNCDE.js → app-server-MGXJZOJ2.js} +72 -72
  9. package/dist/bundle/{bun-ICK2XT7J.js → bun-NS5YLOQT.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-LU5V5Y4A.js → bun-sqlite-EKMD3TXK.js} +6 -6
  11. package/dist/bundle/{chunk-UYEDQGMI.js → chunk-2BPQNFA5.js} +6 -6
  12. package/dist/bundle/{chunk-5NFIUY2P.js → chunk-2Q5ATPA6.js} +4 -4
  13. package/dist/bundle/{chunk-NCCRLAAI.js → chunk-2T76TPDD.js} +3 -3
  14. package/dist/bundle/{chunk-OCGNOJYD.js → chunk-2TVHFJKV.js} +1 -1
  15. package/dist/bundle/{chunk-ITWINZ6R.js → chunk-2XWVZDOM.js} +12 -12
  16. package/dist/bundle/{chunk-IEY7KS6Q.js → chunk-43PCMVTZ.js} +1 -1
  17. package/dist/bundle/{chunk-KWBLDSRV.js → chunk-53UXHJEO.js} +3 -3
  18. package/dist/bundle/{chunk-EMIJVLOA.js → chunk-5KL3PQWI.js} +2 -2
  19. package/dist/bundle/{chunk-SRVTGI3M.js → chunk-5QCPDJLB.js} +2 -2
  20. package/dist/bundle/{chunk-MB4HXDBT.js → chunk-64KVWK5N.js} +5 -5
  21. package/dist/bundle/{chunk-ITW26OBI.js → chunk-66M7VFIM.js} +38 -38
  22. package/dist/bundle/{chunk-QK52ARAU.js → chunk-6BOEXO72.js} +3 -3
  23. package/dist/bundle/{chunk-ZMKAI3F3.js → chunk-6P7HUUR5.js} +3 -3
  24. package/dist/bundle/{chunk-LBRTLZHI.js → chunk-77727OQH.js} +197 -155
  25. package/dist/bundle/{chunk-BXXHUO7Y.js → chunk-7KNBZOLH.js} +13 -13
  26. package/dist/bundle/{chunk-EUF5JNPG.js → chunk-7YPZPJTB.js} +1 -1
  27. package/dist/bundle/{chunk-TWY543BS.js → chunk-A5PL2GYK.js} +1 -1
  28. package/dist/bundle/{chunk-6MQSBWWF.js → chunk-AG34MPVN.js} +1 -1
  29. package/dist/bundle/{chunk-46JBCXLI.js → chunk-BCO37YUH.js} +327 -6
  30. package/dist/bundle/{chunk-7COTHS6G.js → chunk-COF6KS7A.js} +6 -6
  31. package/dist/bundle/{chunk-VXKD533R.js → chunk-CWTTCFDX.js} +995 -610
  32. package/dist/bundle/{chunk-3T3OAYL4.js → chunk-D2IVASIC.js} +2 -2
  33. package/dist/bundle/{chunk-PDVXG3T3.js → chunk-D3G375NT.js} +6 -6
  34. package/dist/bundle/{chunk-3ZSUVFR7.js → chunk-DGZNVYKK.js} +8 -8
  35. package/dist/bundle/{chunk-FHYV4VWY.js → chunk-DLEAVO2T.js} +7 -7
  36. package/dist/bundle/{chunk-UQVUXG7H.js → chunk-DW6YAEMZ.js} +10 -10
  37. package/dist/bundle/{chunk-LEPPRULN.js → chunk-E4FNVLTR.js} +23 -4
  38. package/dist/bundle/{chunk-VRBEYOJL.js → chunk-E5EYJU5R.js} +1 -1
  39. package/dist/bundle/{chunk-A3RJ6FD5.js → chunk-E5XATHAF.js} +8 -8
  40. package/dist/bundle/{chunk-63SW4UXG.js → chunk-EXHTGQR2.js} +1 -1
  41. package/dist/bundle/{chunk-FO3XY2Y2.js → chunk-EZAVBR47.js} +2 -2
  42. package/dist/bundle/{chunk-NV7NNL5T.js → chunk-F7DHR4OO.js} +7 -7
  43. package/dist/bundle/{chunk-4FHKSSXQ.js → chunk-FGWQHNKK.js} +2 -2
  44. package/dist/bundle/{chunk-B6DJQBZI.js → chunk-FSWLPNJT.js} +5 -5
  45. package/dist/bundle/{chunk-364ET7LV.js → chunk-GFI3UUIU.js} +1 -1
  46. package/dist/bundle/{chunk-2OZVCNU5.js → chunk-GGNVBN2S.js} +2 -2
  47. package/dist/bundle/{chunk-X737FHZP.js → chunk-GPFE4SS7.js} +4 -4
  48. package/dist/bundle/{chunk-OW5HW3TD.js → chunk-H76WEF2L.js} +6 -6
  49. package/dist/bundle/{chunk-RNVYNPXT.js → chunk-HPS2YGSZ.js} +1 -1
  50. package/dist/bundle/{chunk-S5P7THM5.js → chunk-HZ5LRWKH.js} +2 -2
  51. package/dist/bundle/{chunk-ZGUUP2T3.js → chunk-I5OAVMOI.js} +12 -12
  52. package/dist/bundle/{chunk-OALFRUMI.js → chunk-I62MWK5L.js} +14 -2
  53. package/dist/bundle/{chunk-3AKMIKND.js → chunk-IBFCD6TR.js} +17 -17
  54. package/dist/bundle/{chunk-HJDQTM3T.js → chunk-IL3UYHCR.js} +8 -8
  55. package/dist/bundle/{chunk-HSVKU4OJ.js → chunk-J4CXJJJU.js} +116 -30
  56. package/dist/bundle/{chunk-R4JV3VLU.js → chunk-JRZEXLRQ.js} +13 -12
  57. package/dist/bundle/{chunk-ALAPDLCP.js → chunk-KDPV6YBX.js} +2 -2
  58. package/dist/bundle/{chunk-BFCRGLOF.js → chunk-KHEISFJO.js} +3 -3
  59. package/dist/bundle/{chunk-FNESLLZS.js → chunk-KI6OOW6D.js} +8 -1
  60. package/dist/bundle/{chunk-3DGHBXH2.js → chunk-KPBUJQKT.js} +1 -1
  61. package/dist/bundle/{chunk-OP2BH55P.js → chunk-LEO5GWPD.js} +3 -3
  62. package/dist/bundle/{chunk-N3NJPHZB.js → chunk-LKUWH6KU.js} +1 -1
  63. package/dist/bundle/{chunk-JPGN473W.js → chunk-LYJDZILD.js} +3 -3
  64. package/dist/bundle/{chunk-JVRBW5LH.js → chunk-M27SMKNH.js} +5 -5
  65. package/dist/bundle/{chunk-YSF5JBRA.js → chunk-MA6U4XH2.js} +1 -1
  66. package/dist/bundle/{chunk-64IK7JFO.js → chunk-MC3LAGIW.js} +2 -2
  67. package/dist/bundle/{chunk-J3DZVB67.js → chunk-MGC2BAD2.js} +1 -1
  68. package/dist/bundle/{chunk-S35UJBFZ.js → chunk-MLXDGBH4.js} +19 -19
  69. package/dist/bundle/{chunk-IYZWHCZJ.js → chunk-NQA2STEE.js} +35 -14
  70. package/dist/bundle/{chunk-2RNJ2JP3.js → chunk-NSBTYJRP.js} +4 -4
  71. package/dist/bundle/{chunk-REOBWSGV.js → chunk-NSQN4F7H.js} +8 -8
  72. package/dist/bundle/{chunk-WUNEJRLJ.js → chunk-NVXMWAEV.js} +6 -6
  73. package/dist/bundle/{chunk-UO4O6WQ4.js → chunk-OZAP4FEG.js} +8 -8
  74. package/dist/bundle/{chunk-OFMCU3BH.js → chunk-OZZ5PTHG.js} +5 -5
  75. package/dist/bundle/{chunk-BQ6CXCLP.js → chunk-P4ADIGTL.js} +8 -8
  76. package/dist/bundle/{chunk-KBY42GKW.js → chunk-PVTW7ZOY.js} +23 -23
  77. package/dist/bundle/{chunk-PSMRUOII.js → chunk-Q5PNS2K2.js} +3 -3
  78. package/dist/bundle/{chunk-LVAFTQ45.js → chunk-QQP54EEZ.js} +29 -178
  79. package/dist/bundle/{chunk-3YXYA6HB.js → chunk-RM4DO2WZ.js} +1 -1
  80. package/dist/bundle/{chunk-JEZJFQQW.js → chunk-S3SLDYTU.js} +1 -1
  81. package/dist/bundle/{chunk-RXGX2CZX.js → chunk-S5NFSVNK.js} +63 -63
  82. package/dist/bundle/{chunk-EWXMIKZN.js → chunk-UE7ST7JC.js} +30 -30
  83. package/dist/bundle/{chunk-6UZ5D2WP.js → chunk-ULTKZLJV.js} +7 -7
  84. package/dist/bundle/{chunk-WJFQMOVM.js → chunk-VJ5EF4C7.js} +61 -61
  85. package/dist/bundle/{chunk-OS4WPXPZ.js → chunk-WBVZVP4T.js} +4 -4
  86. package/dist/bundle/{chunk-QMNEDK7Z.js → chunk-WDL3QYN2.js} +3 -3
  87. package/dist/bundle/{chunk-HOO53OYK.js → chunk-WPNY2J2X.js} +16 -16
  88. package/dist/bundle/{chunk-BFHPT67P.js → chunk-XRA2V4MM.js} +1556 -620
  89. package/dist/bundle/{chunk-3KOJNZH3.js → chunk-Y6KPZOOD.js} +3 -3
  90. package/dist/bundle/{chunk-ADCAWRRX.js → chunk-YAYVXHMO.js} +48 -48
  91. package/dist/bundle/{chunk-DCSPCOPB.js → chunk-YG2FFC2R.js} +9 -9
  92. package/dist/bundle/{chunk-X5LUHN62.js → chunk-YOZHKJEN.js} +2 -2
  93. package/dist/bundle/{chunk-VYZ2J7DT.js → chunk-ZKD3TL3O.js} +4 -4
  94. package/dist/bundle/command-contract-ZGBZCKZP.js +41 -0
  95. package/dist/bundle/{command-server-entry-F3B2KSPO.js → command-server-entry-ZXB7VUIG.js} +29 -29
  96. package/dist/bundle/{decode-FDHFF7GC.js → decode-BGLAM2YP.js} +5 -5
  97. package/dist/bundle/{dispatch-IXKG5Z5Y.js → dispatch-A3WIRXBM.js} +8 -8
  98. package/dist/bundle/{echarts-PGJPVPA4.js → echarts-ISH62J4E.js} +2 -2
  99. package/dist/bundle/{embed-U6X7CNNK.js → embed-POZWSFKL.js} +6 -6
  100. package/dist/bundle/{embedder-3ROL6ROQ.js → embedder-7DIUHQOQ.js} +9 -9
  101. package/dist/bundle/{failure-IYMRXM2X.js → failure-BBT3B4UY.js} +2 -2
  102. package/dist/bundle/{first-run-PNVNHGR7.js → first-run-SLMRAWYB.js} +12 -12
  103. package/dist/bundle/first-screen-CCLGBTQ2.js +41 -0
  104. package/dist/bundle/{instructions-MJQWRI2D.js → instructions-G5ZGHVFB.js} +1 -1
  105. package/dist/bundle/{mcp-JNHOSK4L.js → mcp-MQ2L5IIM.js} +2 -2
  106. package/dist/bundle/meeting-combined-P56K6BUT.js +25 -0
  107. package/dist/bundle/meeting-model-UY4ABXAZ.js +27 -0
  108. package/dist/bundle/{meeting-semantic-7WPLMBNT.js → meeting-semantic-VPMFO4FB.js} +6 -6
  109. package/dist/bundle/{node-3UXNV3CD.js → node-NLJINXVQ.js} +2 -2
  110. package/dist/bundle/{node-sqlite-ULWDWM3I.js → node-sqlite-LPV27ECD.js} +7 -7
  111. package/dist/bundle/notes-search-TKP34WJZ.js +64 -0
  112. package/dist/bundle/notion.js +13 -13
  113. package/dist/bundle/{oauth-LNUZMA72.js → oauth-SC4HSJ7X.js} +7 -7
  114. package/dist/bundle/{open-HGHC35M4.js → open-K2JIOWCG.js} +5 -5
  115. package/dist/bundle/{openai-ISSP57MV.js → openai-MCKQLBZM.js} +18 -18
  116. package/dist/bundle/{process-PB2WCOR2.js → process-LPVAYRO7.js} +1 -1
  117. package/dist/bundle/{program-GASBJRMG.js → program-QXA6YXUO.js} +11176 -8685
  118. package/dist/bundle/{prompt-3VGQVX2B.js → prompt-XWESMSOG.js} +5 -5
  119. package/dist/bundle/{recognize-7Q2P3NME.js → recognize-TDE6PPXV.js} +4 -4
  120. package/dist/bundle/{remote-BBAWKVIT.js → remote-OAGPQQVE.js} +11 -11
  121. package/dist/bundle/{rerank-H4PUS4HV.js → rerank-375AKI4E.js} +7 -7
  122. package/dist/bundle/{schemas-TTVUADHT.js → schemas-ZE62D6CG.js} +1 -1
  123. package/dist/bundle/{serve-FZNSKY7R.js → serve-YWCHKQEP.js} +9 -9
  124. package/dist/bundle/{server-BRRNDW6L.js → server-C4SH5PRK.js} +64 -64
  125. package/dist/bundle/server-SYGVF5BJ.js +90 -0
  126. package/dist/bundle/{services-PEU557KZ.js → services-5Z2P4D2K.js} +51 -51
  127. package/dist/bundle/{sqlite-runtime-4IZJ4YUM.js → sqlite-runtime-KLELNUHI.js} +6 -6
  128. package/dist/bundle/{state-MX3JVT5Q.js → state-OWEBLXCG.js} +6 -6
  129. package/dist/bundle/{store-JUT34REM.js → store-F63SKKV7.js} +27 -23
  130. package/dist/bundle/{store-PP4BPADZ.js → store-IVJXGAX7.js} +21 -21
  131. package/dist/bundle/store-maintenance-command-YBMOO7XH.js +77 -0
  132. package/dist/bundle/surface-G3ITURGS.js +76 -0
  133. package/dist/commands/comments.d.ts +1 -1
  134. package/dist/commands/comments.d.ts.map +1 -1
  135. package/dist/commands/comments.js +33 -2
  136. package/dist/commands/comments.js.map +1 -1
  137. package/dist/commands/databases.d.ts.map +1 -1
  138. package/dist/commands/databases.js +3 -2
  139. package/dist/commands/databases.js.map +1 -1
  140. package/dist/commands/documents.d.ts +13 -2
  141. package/dist/commands/documents.d.ts.map +1 -1
  142. package/dist/commands/documents.js +291 -23
  143. package/dist/commands/documents.js.map +1 -1
  144. package/dist/commands/library.d.ts.map +1 -1
  145. package/dist/commands/library.js +12 -4
  146. package/dist/commands/library.js.map +1 -1
  147. package/dist/commands/meetings.d.ts +7 -0
  148. package/dist/commands/meetings.d.ts.map +1 -0
  149. package/dist/commands/meetings.js +136 -0
  150. package/dist/commands/meetings.js.map +1 -0
  151. package/dist/commands/rows.d.ts +4 -0
  152. package/dist/commands/rows.d.ts.map +1 -0
  153. package/dist/commands/rows.js +51 -0
  154. package/dist/commands/rows.js.map +1 -0
  155. package/dist/commands/writing.d.ts +2 -1
  156. package/dist/commands/writing.d.ts.map +1 -1
  157. package/dist/commands/writing.js +2 -2
  158. package/dist/commands/writing.js.map +1 -1
  159. package/dist/config.d.ts.map +1 -1
  160. package/dist/config.js +12 -2
  161. package/dist/config.js.map +1 -1
  162. package/dist/context.d.ts +2 -0
  163. package/dist/context.d.ts.map +1 -1
  164. package/dist/context.js +2 -0
  165. package/dist/context.js.map +1 -1
  166. package/dist/generated/wirecat-config.d.ts.map +1 -1
  167. package/dist/generated/wirecat-config.js +8 -0
  168. package/dist/generated/wirecat-config.js.map +1 -1
  169. package/dist/knowledge.d.ts +18 -1
  170. package/dist/knowledge.d.ts.map +1 -1
  171. package/dist/library.d.ts +4 -0
  172. package/dist/library.d.ts.map +1 -1
  173. package/dist/library.js +11 -1
  174. package/dist/library.js.map +1 -1
  175. package/dist/notion/errors.d.ts.map +1 -1
  176. package/dist/notion/errors.js +19 -0
  177. package/dist/notion/errors.js.map +1 -1
  178. package/dist/notion/meeting-notes.d.ts +10 -0
  179. package/dist/notion/meeting-notes.d.ts.map +1 -0
  180. package/dist/notion/meeting-notes.js +196 -0
  181. package/dist/notion/meeting-notes.js.map +1 -0
  182. package/dist/notion/notion.d.ts +46 -0
  183. package/dist/notion/notion.d.ts.map +1 -1
  184. package/dist/notion/notion.js +105 -14
  185. package/dist/notion/notion.js.map +1 -1
  186. package/dist/notion/page-target.d.ts +30 -0
  187. package/dist/notion/page-target.d.ts.map +1 -0
  188. package/dist/notion/page-target.js +73 -0
  189. package/dist/notion/page-target.js.map +1 -0
  190. package/dist/notion/port.d.ts.map +1 -1
  191. package/dist/notion/port.js +2 -0
  192. package/dist/notion/port.js.map +1 -1
  193. package/dist/notion/properties.d.ts +55 -0
  194. package/dist/notion/properties.d.ts.map +1 -0
  195. package/dist/notion/properties.js +280 -0
  196. package/dist/notion/properties.js.map +1 -0
  197. package/dist/notion/reads.d.ts +19 -1
  198. package/dist/notion/reads.d.ts.map +1 -1
  199. package/dist/notion/reads.js +2 -1
  200. package/dist/notion/reads.js.map +1 -1
  201. package/dist/notion/rows.d.ts +14 -0
  202. package/dist/notion/rows.d.ts.map +1 -0
  203. package/dist/notion/rows.js +119 -0
  204. package/dist/notion/rows.js.map +1 -0
  205. package/dist/notion/writes.d.ts +99 -0
  206. package/dist/notion/writes.d.ts.map +1 -1
  207. package/dist/notion/writes.js +278 -67
  208. package/dist/notion/writes.js.map +1 -1
  209. package/dist/program.d.ts.map +1 -1
  210. package/dist/program.js +7 -1
  211. package/dist/program.js.map +1 -1
  212. package/dist/sync/comments.d.ts +12 -0
  213. package/dist/sync/comments.d.ts.map +1 -0
  214. package/dist/sync/comments.js +47 -0
  215. package/dist/sync/comments.js.map +1 -0
  216. package/dist/sync/files.d.ts +7 -1
  217. package/dist/sync/files.d.ts.map +1 -1
  218. package/dist/sync/files.js.map +1 -1
  219. package/dist/sync/from-config.d.ts.map +1 -1
  220. package/dist/sync/from-config.js +5 -4
  221. package/dist/sync/from-config.js.map +1 -1
  222. package/dist/sync/source.d.ts.map +1 -1
  223. package/dist/sync/source.js +21 -9
  224. package/dist/sync/source.js.map +1 -1
  225. package/dist/version.d.ts +1 -1
  226. package/dist/version.js +1 -1
  227. package/package.json +3 -3
  228. package/skills/notion-cli/SKILL.md +29 -3
  229. package/dist/bundle/agent-AILW4JPO.js +0 -42
  230. package/dist/bundle/command-contract-C2CF4QAH.js +0 -41
  231. package/dist/bundle/first-screen-DEDD64YH.js +0 -41
  232. package/dist/bundle/meeting-combined-HEC25QPY.js +0 -25
  233. package/dist/bundle/meeting-model-R7QPDNZZ.js +0 -27
  234. package/dist/bundle/notes-search-7PE3E3C7.js +0 -64
  235. package/dist/bundle/server-CQJ4LKAZ.js +0 -90
  236. package/dist/bundle/store-maintenance-command-GRFTJBSB.js +0 -77
  237. package/dist/bundle/surface-FPWES3NY.js +0 -76
  238. package/dist/bundle/{hast-util-from-html-X2DCPS3T.js → hast-util-from-html-237ZT4C7.js} +3 -3
  239. package/dist/bundle/{hast-util-to-mdast-3CSMIWK2.js → hast-util-to-mdast-H5COQ6HJ.js} +6 -6
  240. package/dist/bundle/{mdast-util-gfm-JO7PHUIB.js → mdast-util-gfm-M3K5BNY2.js} +16 -16
  241. package/dist/bundle/{mdast-util-to-hast-AYJV7KAE.js → mdast-util-to-hast-TSB5MAAV.js} +1 -1
  242. package/dist/bundle/{mdast-util-to-markdown-DOXGHRI7.js → mdast-util-to-markdown-SG6455IT.js} +10 -10
  243. package/dist/bundle/{micromark-extension-gfm-PQ7DWZM7.js → micromark-extension-gfm-7SUOOQ3A.js} +3 -3
@@ -11,7 +11,7 @@ import {
11
11
  pageSchema,
12
12
  reference,
13
13
  stepOf
14
- } from "./chunk-A3RJ6FD5.js";
14
+ } from "./chunk-E5XATHAF.js";
15
15
  import {
16
16
  array,
17
17
  boolean,
@@ -40,12 +40,12 @@ import {
40
40
  isCliError,
41
41
  singleLine,
42
42
  visibleControls
43
- } from "./chunk-4FHKSSXQ.js";
43
+ } from "./chunk-FGWQHNKK.js";
44
44
  import {
45
45
  __name
46
46
  } from "./chunk-ZVVMGPBJ.js";
47
47
 
48
- // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
48
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
49
49
  var QUERY_LIMITS = {
50
50
  bytes: 8192,
51
51
  depth: 32,
@@ -89,7 +89,7 @@ function queryError(reason, span, alternative, context3 = {}, details = {}) {
89
89
  __name(queryError, "queryError");
90
90
  var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
91
91
 
92
- // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
92
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
93
93
  var timezoneOf = /* @__PURE__ */ __name((given) => {
94
94
  const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
95
95
  try {
@@ -239,7 +239,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
239
239
  };
240
240
  }, "dateRange");
241
241
 
242
- // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
242
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
243
243
  var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
244
244
  var leftOut = /* @__PURE__ */ __name((fields2) => fields2.filter((field) => field.negatable).map((field) => field.name), "leftOut");
245
245
  var has = /* @__PURE__ */ __name((fields2, operator) => fields2.some((field) => field.operators.includes(operator)), "has");
@@ -276,7 +276,7 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
276
276
  return `${terms}; fields: ${fields2.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
277
277
  }, "queryDescription");
278
278
 
279
- // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
279
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
280
280
  var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
281
281
  var reserved = /* @__PURE__ */ new Set([
282
282
  "+",
@@ -585,7 +585,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text7) => {
585
585
  return new Set(tokens.flatMap((token, index) => (token.kind === "term" || token.kind === "number") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index - 1]?.kind ?? "") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index + 1]?.kind ?? "") ? [token.span.start] : []));
586
586
  }, "implicitTextTerms");
587
587
 
588
- // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
588
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
589
589
  var wordsOf = /* @__PURE__ */ __name((text7) => text7.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
590
590
  var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
591
591
  var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
@@ -640,7 +640,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
640
640
  }, "matches");
641
641
  var evaluate = /* @__PURE__ */ __name((ast, fields2, item, options = {}) => matches(ast.root, item, new Map(fields2.map((field) => [field.name, field])), options), "evaluate");
642
642
 
643
- // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
643
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
644
644
  var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
645
645
  var OPERATORS_BY_TYPE = {
646
646
  kw: ["term", "phrase", "wildcard"],
@@ -719,7 +719,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
719
719
  return [...own, ...relations, ...states];
720
720
  }, "queryFieldsOf");
721
721
 
722
- // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
722
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
723
723
  var inContext = /* @__PURE__ */ __name((context3, run2) => {
724
724
  try {
725
725
  run2();
@@ -794,7 +794,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
794
794
  }, "validateQuery");
795
795
  var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
796
796
 
797
- // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
797
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
798
798
  var describeQuery = /* @__PURE__ */ __name((registry) => ({
799
799
  entity: registry.entity,
800
800
  backend: registry.backend,
@@ -865,7 +865,7 @@ var QUERY_REASONS = defineReasons([
865
865
  details: [...SPAN, ...details]
866
866
  })));
867
867
 
868
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/reference.js
868
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/reference.js
869
869
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
870
870
  var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
871
871
  if (!Number.isSafeInteger(value) || value < minimum)
@@ -902,7 +902,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text7) => {
902
902
  }, "parseMeetingReference");
903
903
  var canonicalMeetingReference = /* @__PURE__ */ __name((text7) => formatMeetingReference(parseMeetingReference(text7)), "canonicalMeetingReference");
904
904
 
905
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/payment.js
905
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/payment.js
906
906
  var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
907
907
  var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
908
908
  var PAYMENT_STATES = ["expected", "paid", "cancelled"];
@@ -996,7 +996,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
996
996
  return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
997
997
  }, "paymentTitle");
998
998
 
999
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
999
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
1000
1000
  var context = {
1001
1001
  command: "search meetings",
1002
1002
  guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
@@ -1118,7 +1118,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text7) => {
1118
1118
  return { version: 1, language: "lucene-v1", root };
1119
1119
  }, "meetingWordsQuery");
1120
1120
 
1121
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/search-store.js
1121
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/search-store.js
1122
1122
  var refreshMeetingIndex = /* @__PURE__ */ __name(async (meetings, accountId, signal) => {
1123
1123
  let before = Number.POSITIVE_INFINITY;
1124
1124
  for (; ; ) {
@@ -1135,7 +1135,7 @@ var refreshMeetingIndex = /* @__PURE__ */ __name(async (meetings, accountId, sig
1135
1135
  }
1136
1136
  }, "refreshMeetingIndex");
1137
1137
 
1138
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/passage.js
1138
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/passage.js
1139
1139
  var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
1140
1140
  const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
1141
1141
  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)))
@@ -1156,7 +1156,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
1156
1156
  throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
1157
1157
  }, "validateMeetingPassage");
1158
1158
 
1159
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/search/service-query.js
1159
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/search/service-query.js
1160
1160
  var BACKENDS = ["archive", "server", "both"];
1161
1161
  var MAX_BRANCHES = 64;
1162
1162
  var some = /* @__PURE__ */ __name((value) => value === void 0 ? [] : [value], "some");
@@ -1195,10 +1195,10 @@ var RELATIVE_TIME = /^\d+[mhd]$/i;
1195
1195
  var OFFSET = /(?:Z|[+-]\d{2}:?\d{2})$/i;
1196
1196
  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");
1197
1197
 
1198
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/model.js
1198
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/model.js
1199
1199
  var MEETING_CALL_DIRECTIONS = ["in", "out"];
1200
1200
 
1201
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/item.js
1201
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/item.js
1202
1202
  var text = string();
1203
1203
  var count = pipe(number(), integer(), minValue(0));
1204
1204
  var MEETING_ISSUES = ["time_without_zone"];
@@ -1298,7 +1298,7 @@ var MEETING_QUERY = {
1298
1298
  })
1299
1299
  };
1300
1300
 
1301
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/store.js
1301
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/store.js
1302
1302
  var MEETING_DOCUMENT_ROLES = ["transcript", "recording", "notes"];
1303
1303
  var TRANSCRIPT_WORDS = [
1304
1304
  "Transcript",
@@ -1310,7 +1310,7 @@ var TRANSCRIPT_WORDS = [
1310
1310
  ];
1311
1311
  var READ_BUDGET_EXCEEDED = "Meeting search exceeds its stored text byte budget";
1312
1312
 
1313
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/answers.js
1313
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/answers.js
1314
1314
  var text2 = string();
1315
1315
  var count2 = pipe(number(), integer(), minValue(0));
1316
1316
  var iso2 = /* @__PURE__ */ __name((ms2) => ms2 === null ? null : new Date(ms2).toISOString(), "iso");
@@ -1594,7 +1594,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
1594
1594
  };
1595
1595
  }, "meetingHitsList");
1596
1596
 
1597
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
1597
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
1598
1598
  var joinKeyOf = /* @__PURE__ */ __name((url) => {
1599
1599
  const parsed = urlOf(url);
1600
1600
  if (!parsed)
@@ -1628,7 +1628,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
1628
1628
  }
1629
1629
  }, "urlOf");
1630
1630
 
1631
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
1631
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
1632
1632
  var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
1633
1633
  var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
1634
1634
  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");
@@ -1665,7 +1665,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
1665
1665
  return kept;
1666
1666
  }, "entryMetadata");
1667
1667
 
1668
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/calls.js
1668
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/calls.js
1669
1669
  var CALL_DIRECTIONS = ["incoming", "outgoing", "internal"];
1670
1670
  var CALL_OUTCOMES = ["answered", "voicemail", "busy", "no_answer", "failed"];
1671
1671
  var MISSED_OUTCOMES = ["voicemail", "busy", "no_answer"];
@@ -1734,7 +1734,7 @@ var callOf = /* @__PURE__ */ __name((stored) => {
1734
1734
  };
1735
1735
  }, "callOf");
1736
1736
 
1737
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/call-answers.js
1737
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/call-answers.js
1738
1738
  var count3 = pipe(number(), integer(), minValue(0));
1739
1739
  var ms = count3;
1740
1740
  var id = pipe(number(), integer(), minValue(1));
@@ -1817,7 +1817,7 @@ var callStatsSchema = strictObject({
1817
1817
  });
1818
1818
  var callStats = callStatsSchema;
1819
1819
 
1820
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/stats.js
1820
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/stats.js
1821
1821
  var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
1822
1822
  var zoneOf = /* @__PURE__ */ __name((timeZone) => {
1823
1823
  const zone = timeZone ?? "UTC";
@@ -1952,7 +1952,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
1952
1952
  };
1953
1953
  }, "aggregateMeetingStats");
1954
1954
 
1955
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/call-stats.js
1955
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/call-stats.js
1956
1956
  var CALLBACK_WITHIN_MS = 24 * 60 * 60 * 1e3;
1957
1957
  var SHORT_CALL_UNDER_MS = 3e4;
1958
1958
  var MOST_MISSED = 100;
@@ -2142,7 +2142,7 @@ var aggregateCallStats = /* @__PURE__ */ __name((calls, options = {}) => {
2142
2142
  };
2143
2143
  }, "aggregateCallStats");
2144
2144
 
2145
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
2145
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
2146
2146
  import { createHash } from "node:crypto";
2147
2147
  var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
2148
2148
  reference: cue2.reference,
@@ -2156,7 +2156,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
2156
2156
  text: cue2.text
2157
2157
  })).digest("hex"), "meetingCueFingerprint");
2158
2158
 
2159
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
2159
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
2160
2160
  var EVENT_QUERY = defineQuery({
2161
2161
  entity: "event",
2162
2162
  backend: "sql",
@@ -2172,7 +2172,7 @@ var EVENT_QUERY = defineQuery({
2172
2172
  ]
2173
2173
  });
2174
2174
 
2175
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
2175
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
2176
2176
  var PARTICIPANT_RESPONSES = ["needs-action", "accepted", "tentative", "declined", "delegated"];
2177
2177
  var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
2178
2178
  var seriesEnd = /* @__PURE__ */ __name((entry) => {
@@ -2196,7 +2196,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
2196
2196
  return Math.max(entry.endsAt ?? start, start + 1) > window.from;
2197
2197
  }, "entryInWindow");
2198
2198
 
2199
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/events.js
2199
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/events.js
2200
2200
  var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(), { create = true } = {}) => {
2201
2201
  const current = await store.meeting(details.meeting.id);
2202
2202
  if (!current)
@@ -2241,7 +2241,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(),
2241
2241
  return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
2242
2242
  }, "linkEvent");
2243
2243
 
2244
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
2244
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
2245
2245
  var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text7) => text7.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
2246
2246
  var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
2247
2247
  if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
@@ -2265,7 +2265,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
2265
2265
  };
2266
2266
  }, "validateMeetingParticipantSearch");
2267
2267
 
2268
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/reads.js
2268
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/reads.js
2269
2269
  var MeetingError = class extends CliError {
2270
2270
  static {
2271
2271
  __name(this, "MeetingError");
@@ -2404,7 +2404,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id5, accountId)
2404
2404
  return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
2405
2405
  }, "meetingSummaryAnswer");
2406
2406
 
2407
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/export.js
2407
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/export.js
2408
2408
  var timestamp = /* @__PURE__ */ __name((milliseconds2) => {
2409
2409
  if (!Number.isSafeInteger(milliseconds2) || milliseconds2 < 0)
2410
2410
  throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
@@ -2501,10 +2501,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id5, options) => {
2501
2501
  };
2502
2502
  }, "exportMeeting");
2503
2503
 
2504
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
2504
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
2505
2505
  import { createHash as createHash2 } from "node:crypto";
2506
2506
 
2507
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
2507
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
2508
2508
  var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
2509
2509
  if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
2510
2510
  throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
@@ -2515,7 +2515,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
2515
2515
  return new Date(value).toISOString();
2516
2516
  }, "meetingTimestamp");
2517
2517
 
2518
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
2518
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
2519
2519
  var TASK_TYPES = ["bug", "feature", "chore"];
2520
2520
  var invalid3 = /* @__PURE__ */ __name((message) => {
2521
2521
  throw new CliError("validation_error", message);
@@ -2690,7 +2690,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
2690
2690
  var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
2691
2691
  var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
2692
2692
 
2693
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/findings.js
2693
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/findings.js
2694
2694
  var MEETING_FINDINGS_KIND = "meeting_findings";
2695
2695
  var cue = /* @__PURE__ */ __name((raw) => {
2696
2696
  const reference2 = canonicalMeetingReference(raw);
@@ -2701,7 +2701,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
2701
2701
  var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
2702
2702
  var meetingFindingFingerprint = findingFingerprint;
2703
2703
 
2704
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/language.js
2704
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/language.js
2705
2705
  var LATIN_WORDS = {
2706
2706
  en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
2707
2707
  es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
@@ -2750,7 +2750,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
2750
2750
  return null;
2751
2751
  }, "transcriptLanguage");
2752
2752
 
2753
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
2753
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
2754
2754
  var contentHash = /* @__PURE__ */ __name(async (text7) => {
2755
2755
  const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text7));
2756
2756
  return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
@@ -2787,7 +2787,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
2787
2787
  return time;
2788
2788
  }, "timestamp");
2789
2789
 
2790
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/pull.js
2790
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/pull.js
2791
2791
  var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
2792
2792
  const { identityExternalId, phone, ...fields2 } = p;
2793
2793
  const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
@@ -3003,7 +3003,7 @@ var pull = /* @__PURE__ */ __name(async (source, store, options) => {
3003
3003
  return report;
3004
3004
  }, "pull");
3005
3005
 
3006
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
3006
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
3007
3007
  var TranscriptTextError = class extends Error {
3008
3008
  static {
3009
3009
  __name(this, "TranscriptTextError");
@@ -3058,7 +3058,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
3058
3058
  return { header, lines };
3059
3059
  }, "parseTranscriptText");
3060
3060
 
3061
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
3061
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
3062
3062
  var VttError = class extends Error {
3063
3063
  static {
3064
3064
  __name(this, "VttError");
@@ -3110,7 +3110,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
3110
3110
  return cues;
3111
3111
  }, "parseVtt");
3112
3112
 
3113
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/import.js
3113
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/import.js
3114
3114
  var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
3115
3115
  const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
3116
3116
  for (const file of files) {
@@ -3144,10 +3144,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
3144
3144
  return report;
3145
3145
  }, "importFiles");
3146
3146
 
3147
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/links.js
3147
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/links.js
3148
3148
  var CHAT_MESSAGES_READ = 1e5;
3149
3149
 
3150
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/provider.js
3150
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/provider.js
3151
3151
  var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
3152
3152
  const provider = scope2?.provider;
3153
3153
  const account = scope2?.account;
@@ -3156,7 +3156,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
3156
3156
  return Object.freeze({ provider, account });
3157
3157
  }, "snapshotMeetingScope");
3158
3158
 
3159
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
3159
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
3160
3160
  var MEETING_FIELD_KEYS = Object.freeze({
3161
3161
  title: "title",
3162
3162
  kind: "kind",
@@ -3188,7 +3188,7 @@ var dispatchMeetingMutation = /* @__PURE__ */ __name(async (options, dispatch) =
3188
3188
  return { applied: true, value: await dispatch(signal) };
3189
3189
  }, "dispatchMeetingMutation");
3190
3190
 
3191
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
3191
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
3192
3192
  var id2 = /* @__PURE__ */ __name((value) => {
3193
3193
  if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
3194
3194
  throw new CliError("validation_error", "meeting context identifiers must be positive integers");
@@ -3310,7 +3310,7 @@ var createMeetingContext = /* @__PURE__ */ __name((scope2, accountId, ports) =>
3310
3310
  };
3311
3311
  }, "createMeetingContext");
3312
3312
 
3313
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
3313
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
3314
3314
  var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
3315
3315
  if (!original || typeof original !== "object" || Array.isArray(original))
3316
3316
  throw new CliError("validation_error", "meeting preparation context is required");
@@ -3335,7 +3335,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
3335
3335
  return { ...input, limit, maxReadBytes };
3336
3336
  }, "validateMeetingPreparationContext");
3337
3337
 
3338
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
3338
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
3339
3339
  var count4 = pipe(number(), integer(), minValue(0));
3340
3340
  var id3 = pipe(string(), minLength(1));
3341
3341
  var meetingProjectEvidence = strictObject({
@@ -3456,7 +3456,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
3456
3456
  };
3457
3457
  }, "meetingProjectEvidenceAnswer");
3458
3458
 
3459
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
3459
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
3460
3460
  var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
3461
3461
  const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
3462
3462
  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) || [
@@ -3476,7 +3476,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
3476
3476
  throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
3477
3477
  }, "validateMeetingHitSearch");
3478
3478
 
3479
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
3479
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
3480
3480
  var ids = {
3481
3481
  meeting_id: "meetingId",
3482
3482
  identity_id: "participantIdentityId",
@@ -3567,7 +3567,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
3567
3567
  return { project: project.trim(), options, query: frozen.join(" AND ") };
3568
3568
  }, "prepareMeetingProjectEvidence");
3569
3569
 
3570
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
3570
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
3571
3571
  var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
3572
3572
  const prepared = prepareMeetingProjectEvidence(project, request, now);
3573
3573
  const page = await read(prepared.project, prepared.options);
@@ -3575,7 +3575,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
3575
3575
  return meetingProjectEvidenceAnswer(page, prepared);
3576
3576
  }, "readMeetingProjectEvidence");
3577
3577
 
3578
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
3578
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
3579
3579
  var text4 = string();
3580
3580
  var count5 = pipe(number(), integer(), minValue(0));
3581
3581
  var id4 = pipe(number(), integer(), minValue(1));
@@ -3773,7 +3773,7 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
3773
3773
  updated_at: new Date(one.updatedAt).toISOString()
3774
3774
  }), "eventItem");
3775
3775
 
3776
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/read-through.js
3776
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/read-through.js
3777
3777
  var MEETING_SERVER_BOUNDS = { calls: 3, pages: 2 };
3778
3778
  var ISSUES = {
3779
3779
  offline: ["permission_error", "meetings.server-offline"],
@@ -4070,10 +4070,10 @@ var meetingShowThrough = /* @__PURE__ */ __name(async (source, store, accountId,
4070
4070
  return { details: fresh, foundIn: step.found.get(details.meeting.id) ?? "server", server: step.report };
4071
4071
  }, "meetingShowThrough");
4072
4072
 
4073
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
4073
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
4074
4074
  var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
4075
4075
 
4076
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
4076
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
4077
4077
  var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
4078
4078
  if (!original || typeof original !== "object" || Array.isArray(original))
4079
4079
  throw new CliError("validation_error", "related history request is required");
@@ -4103,7 +4103,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
4103
4103
  return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
4104
4104
  }, "validateMeetingRelatedHistory");
4105
4105
 
4106
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
4106
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
4107
4107
  var text5 = string();
4108
4108
  var identifier = pipe(text5, minLength(1));
4109
4109
  var nullableText = nullable(text5);
@@ -4275,14 +4275,14 @@ var MEETING_RESULT_ENTITIES = {
4275
4275
  meeting_repair: repair
4276
4276
  };
4277
4277
 
4278
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/review.js
4278
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/review.js
4279
4279
  var REVIEW_LIMIT = { default: 50, most: 200 };
4280
4280
 
4281
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
4281
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
4282
4282
  var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
4283
4283
  \`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
4284
4284
 
4285
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
4285
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
4286
4286
  var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
4287
4287
  input.signal?.throwIfAborted();
4288
4288
  if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
@@ -4303,10 +4303,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
4303
4303
  return { ...input, limit, maxReadBytes };
4304
4304
  }, "validateMeetingSeriesHistory");
4305
4305
 
4306
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
4306
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
4307
4307
  var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
4308
4308
 
4309
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
4309
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
4310
4310
  function invalid4(field, response = false) {
4311
4311
  throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
4312
4312
  }
@@ -4335,7 +4335,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
4335
4335
  cursorDetails(value);
4336
4336
  }, "validateMeetingSeriesInventoryCursor");
4337
4337
 
4338
- // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/meetings/tag-answers.js
4338
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/meetings/tag-answers.js
4339
4339
  var text6 = string();
4340
4340
  var storeId = pipe(number(), integer(), minValue(1));
4341
4341
  var meetingTagChange = strictObject({