@wirecat/zoom-cli 0.66.0 → 0.67.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 (190) hide show
  1. package/README.md +2 -1
  2. package/constants.json +7 -0
  3. package/dist/answers.d.ts +4 -4
  4. package/dist/bin/main.js +3 -2
  5. package/dist/bin/main.js.map +1 -1
  6. package/dist/bin/zm.js +2 -2
  7. package/dist/bundle/{all-profiles-D5CFH2OK.js → all-profiles-SEW2VL76.js} +12 -11
  8. package/dist/bundle/answer-policy-5OYUL6UF.js +103 -0
  9. package/dist/bundle/{anthropic-K2E2JS4S.js → anthropic-FSNASJML.js} +7 -7
  10. package/dist/bundle/{app-server-TVXDG6HZ.js → app-server-EVSRYJ3H.js} +55 -54
  11. package/dist/bundle/{bun-O4WHGL2F.js → bun-DACL5SVO.js} +2 -2
  12. package/dist/bundle/{bun-sqlite-HGBEHQI3.js → bun-sqlite-HQ2KOXSI.js} +6 -6
  13. package/dist/bundle/{chunk-IDWHJ35K.js → chunk-2UW533HQ.js} +4 -4
  14. package/dist/bundle/{chunk-NMQUCHTX.js → chunk-3GO3KME7.js} +3 -3
  15. package/dist/bundle/{chunk-6GSJLNP4.js → chunk-3ZIHUSMM.js} +2 -2
  16. package/dist/bundle/{chunk-2YLNUZ3T.js → chunk-4GCKDO2H.js} +3 -3
  17. package/dist/bundle/{chunk-7SQJCKR6.js → chunk-4KDZ22RA.js} +1 -1
  18. package/dist/bundle/{chunk-5A26IBAR.js → chunk-4U2555EQ.js} +23 -23
  19. package/dist/bundle/{chunk-RMKHYUHK.js → chunk-4UVT2QCO.js} +4 -4
  20. package/dist/bundle/{chunk-GHAPWKG2.js → chunk-4ZR5DJ26.js} +3 -3
  21. package/dist/bundle/{chunk-2T5BOLBS.js → chunk-54RTMQL6.js} +4 -4
  22. package/dist/bundle/chunk-6AJDVJVZ.js +35 -0
  23. package/dist/bundle/{chunk-UYV2JGLQ.js → chunk-6IBM4Z3V.js} +1 -1
  24. package/dist/bundle/{chunk-QAPU2JNO.js → chunk-6TZF2JP7.js} +13 -13
  25. package/dist/bundle/{chunk-CZ4KLUJG.js → chunk-6UFWFKFH.js} +2 -2
  26. package/dist/bundle/chunk-6VFORXL3.js +101 -0
  27. package/dist/bundle/{chunk-RO44LANT.js → chunk-7HAIM7GV.js} +1577 -633
  28. package/dist/bundle/{chunk-QV5ZGRK3.js → chunk-7K5TDTZY.js} +7 -7
  29. package/dist/bundle/{chunk-NO24PJNW.js → chunk-7LLUUXJB.js} +1 -1
  30. package/dist/bundle/{chunk-7PF56S6U.js → chunk-7VU5UGRR.js} +24 -22
  31. package/dist/bundle/{chunk-SU4WPBQE.js → chunk-AAZFLJSH.js} +22 -23
  32. package/dist/bundle/{chunk-ZKTXUDSR.js → chunk-ASCHAVNW.js} +30 -26
  33. package/dist/bundle/{chunk-BXSAROQP.js → chunk-B3KWAULD.js} +2 -2
  34. package/dist/bundle/{chunk-ZNFPDTQM.js → chunk-B5Z4XPVS.js} +2 -2
  35. package/dist/bundle/{chunk-756RS4PH.js → chunk-BKY4XVB4.js} +1688 -1133
  36. package/dist/bundle/{chunk-62GOOZO3.js → chunk-C6UKW7JO.js} +6 -6
  37. package/dist/bundle/{chunk-U3ZUT557.js → chunk-CLEZE65P.js} +1 -1
  38. package/dist/bundle/{chunk-YLEQN6PB.js → chunk-CRLBTNC4.js} +3 -3
  39. package/dist/bundle/{chunk-P2SYZNM4.js → chunk-D4KBD63W.js} +1 -1
  40. package/dist/bundle/{chunk-CR4CXOLX.js → chunk-D6OXI2NV.js} +17 -17
  41. package/dist/bundle/{chunk-Q47C3QZW.js → chunk-DFUPETW7.js} +444 -307
  42. package/dist/bundle/{chunk-JX3V35A5.js → chunk-DG4DWAU7.js} +3 -3
  43. package/dist/bundle/{chunk-P3XVLHIQ.js → chunk-EPDRF66S.js} +4 -4
  44. package/dist/bundle/{chunk-EXXM4RNI.js → chunk-EQ7XRRKV.js} +11 -11
  45. package/dist/bundle/{chunk-5GD2XZ6X.js → chunk-ESFMHBHH.js} +30 -29
  46. package/dist/bundle/{chunk-GI6QVSCW.js → chunk-EUPZSR2G.js} +4 -4
  47. package/dist/bundle/{chunk-J4EZL6HY.js → chunk-FGTPREAZ.js} +33 -33
  48. package/dist/bundle/{chunk-GKXFL35E.js → chunk-FWU3ZYHE.js} +50 -50
  49. package/dist/bundle/{chunk-CAW6IMFZ.js → chunk-FXQPK742.js} +55 -17
  50. package/dist/bundle/{chunk-P2G4KGTR.js → chunk-GP4NSYDU.js} +11 -11
  51. package/dist/bundle/{chunk-GNGBG5BT.js → chunk-I7SOXH64.js} +71 -38
  52. package/dist/bundle/{chunk-S4GDDO5S.js → chunk-IFDO3YPJ.js} +1 -1
  53. package/dist/bundle/{chunk-N5JRRBEG.js → chunk-J3ZBEWQY.js} +373 -9
  54. package/dist/bundle/chunk-JVCHGI7W.js +37 -0
  55. package/dist/bundle/{chunk-7KCTPGOF.js → chunk-KANH7GBB.js} +2 -2
  56. package/dist/bundle/{chunk-QJHRYUMJ.js → chunk-KIJLM5UL.js} +1 -1
  57. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
  58. package/dist/bundle/{chunk-XWDSEJWP.js → chunk-KWRSC6O6.js} +4 -4
  59. package/dist/bundle/{chunk-O5FKJV3T.js → chunk-L643D4RJ.js} +12 -12
  60. package/dist/bundle/{chunk-ZTL7ANSG.js → chunk-L6CAUVMU.js} +5 -5
  61. package/dist/bundle/{chunk-TUEEXECZ.js → chunk-L6WUAGPN.js} +3 -3
  62. package/dist/bundle/{chunk-H5ZVZAOD.js → chunk-LFQ73UFK.js} +3 -3
  63. package/dist/bundle/{chunk-3Y2F65AY.js → chunk-LKJXTACE.js} +10 -89
  64. package/dist/bundle/{chunk-AZ7ICKIA.js → chunk-LM26DJOK.js} +6 -6
  65. package/dist/bundle/{chunk-IKQ73INC.js → chunk-M43MBWJX.js} +3229 -1236
  66. package/dist/bundle/{chunk-LN2S3RA3.js → chunk-MWEOVTIF.js} +4 -4
  67. package/dist/bundle/{chunk-N67BLTBV.js → chunk-NTZDM5SJ.js} +28 -9
  68. package/dist/bundle/{chunk-6TIKPRVQ.js → chunk-OTMGAKUM.js} +7 -7
  69. package/dist/bundle/chunk-OZEYFJX2.js +93 -0
  70. package/dist/bundle/{chunk-XFUID5NY.js → chunk-Q65SDEFN.js} +2 -2
  71. package/dist/bundle/{chunk-67RNZGAG.js → chunk-QEI55M2F.js} +10 -10
  72. package/dist/bundle/{chunk-3B7L2UX4.js → chunk-QX2MAT6I.js} +3 -3
  73. package/dist/bundle/{chunk-KDKFGQWG.js → chunk-RAMPYIO2.js} +15 -12
  74. package/dist/bundle/{chunk-BLT3LR3U.js → chunk-RYKG6AEH.js} +1 -1
  75. package/dist/bundle/{chunk-Z6U3MEGJ.js → chunk-SCFFCIIP.js} +4 -2
  76. package/dist/bundle/{chunk-N6JMJN5A.js → chunk-SMVO5R3T.js} +19 -19
  77. package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-SOZVC3SV.js} +1 -1
  78. package/dist/bundle/{chunk-A2SCXNA7.js → chunk-SSXCOUP3.js} +1084 -258
  79. package/dist/bundle/{chunk-TN7K66PU.js → chunk-SXFODCYK.js} +1 -1
  80. package/dist/bundle/{chunk-TFDVFD4N.js → chunk-T6CZWSHF.js} +97 -38
  81. package/dist/bundle/{chunk-7JMBEPW2.js → chunk-TBRG2DPE.js} +2 -2
  82. package/dist/bundle/{chunk-UOIXBEFR.js → chunk-V33VGWT3.js} +5 -5
  83. package/dist/bundle/{chunk-K5CIN4JP.js → chunk-VFIEYRYD.js} +8 -8
  84. package/dist/bundle/{chunk-5HPALDUO.js → chunk-VNIBTNV4.js} +3 -2
  85. package/dist/bundle/{chunk-3WTKZ2ZS.js → chunk-VQTAU4DV.js} +8 -8
  86. package/dist/bundle/{chunk-TMVKZMDO.js → chunk-WHQ4ZCJI.js} +49 -30
  87. package/dist/bundle/{chunk-S6S3KVJI.js → chunk-WZ5XK74U.js} +2 -1
  88. package/dist/bundle/{chunk-2VPHQFO5.js → chunk-X67YD3QI.js} +2 -2
  89. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
  90. package/dist/bundle/{chunk-AU4JHT3R.js → chunk-YRNZT4GQ.js} +7 -7
  91. package/dist/bundle/{chunk-HKQWV3KT.js → chunk-Z3WXI4DK.js} +3 -3
  92. package/dist/bundle/{chunk-U4RVOSX3.js → chunk-ZMPTO2WB.js} +1 -1
  93. package/dist/bundle/{chunk-FWFFQV4D.js → chunk-ZRMZBMOF.js} +69 -9
  94. package/dist/bundle/{cli-HWQIL2AC.js → cli-YUATSOLA.js} +94 -67
  95. package/dist/bundle/command-contract-UWHY55UE.js +41 -0
  96. package/dist/bundle/config-TGF6E6ZD.js +89 -0
  97. package/dist/bundle/{decode-XPAPPUGE.js → decode-IL44LNC3.js} +6 -6
  98. package/dist/bundle/{dispatch-AKVJGP2S.js → dispatch-3BGIXSJR.js} +9 -9
  99. package/dist/bundle/{dist-LDIUQBM7.js → dist-3W27UQ2S.js} +46 -17
  100. package/dist/bundle/{echarts-FMACRZQC.js → echarts-CO4D26JF.js} +2 -2
  101. package/dist/bundle/{embed-LK45GRQ7.js → embed-XH2X4DFM.js} +7 -7
  102. package/dist/bundle/{embedder-QPBC5XBY.js → embedder-WTFWDXBJ.js} +10 -10
  103. package/dist/bundle/{failure-7OULAOWQ.js → failure-HTIS3NLS.js} +3 -3
  104. package/dist/bundle/{first-run-J5FG773Q.js → first-run-5RBH7FDO.js} +12 -12
  105. package/dist/bundle/first-screen-PGFIXJAX.js +39 -0
  106. package/dist/bundle/{folders-RHPUVMDI.js → folders-F4DNQPIY.js} +5 -5
  107. package/dist/bundle/{instructions-E5FXYCWF.js → instructions-EPPBL6TT.js} +1 -1
  108. package/dist/bundle/{main-FJHE5YHU.js → main-LVQTCDZS.js} +23 -22
  109. package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
  110. package/dist/bundle/{meetings-MYIDGYGW.js → meetings-BMELXRTR.js} +31 -7
  111. package/dist/bundle/{node-4SNKUPXT.js → node-CQVMWVIG.js} +2 -2
  112. package/dist/bundle/{node-sqlite-SYZUTVPC.js → node-sqlite-QQEX7LZT.js} +7 -7
  113. package/dist/bundle/{oauth-QPS5VTN6.js → oauth-AYGX7CQS.js} +8 -8
  114. package/dist/bundle/{open-OVCASRSJ.js → open-MIL2TOT6.js} +6 -6
  115. package/dist/bundle/openai-7QZZXQW5.js +25 -0
  116. package/dist/bundle/{output-file-K5JEL33Z.js → output-file-4XADZPYH.js} +6 -6
  117. package/dist/bundle/{process-HQZOTT6U.js → process-NJVQK6GB.js} +1 -1
  118. package/dist/bundle/{program-A546WC4F.js → program-WUYRS6H7.js} +152 -104
  119. package/dist/bundle/{prompt-CYBKP7S5.js → prompt-J4QPFLEA.js} +6 -6
  120. package/dist/bundle/{recognize-3H3YDCFI.js → recognize-OLJZVNWW.js} +5 -5
  121. package/dist/bundle/{remote-VAYVTJBS.js → remote-JPUXNYLV.js} +8 -8
  122. package/dist/bundle/{rerank-XA4GA5PS.js → rerank-XVV3X5TT.js} +8 -8
  123. package/dist/bundle/{run-log-XAFHMI3F.js → run-log-DJXBEVS5.js} +59 -57
  124. package/dist/bundle/{serve-KGHEDUHB.js → serve-NYYUO3MR.js} +10 -10
  125. package/dist/bundle/{server-ZYTSMDTP.js → server-4Z5E4YTT.js} +47 -46
  126. package/dist/bundle/server-VW5UVCH7.js +72 -0
  127. package/dist/bundle/{services-ZHMZC2OQ.js → services-EKWM76HP.js} +49 -32
  128. package/dist/bundle/{speech-7CJEFKM3.js → speech-WFJ44ACJ.js} +14 -14
  129. package/dist/bundle/{state-U6KSYVOH.js → state-VIRCT4VW.js} +7 -7
  130. package/dist/bundle/{store-WS4CQGYU.js → store-2Q4GEZJS.js} +30 -21
  131. package/dist/bundle/{store-DJE3LAEG.js → store-ZTDZ6UY5.js} +20 -17
  132. package/dist/bundle/store-connection-FKVVQLEF.js +83 -0
  133. package/dist/bundle/store-maintenance-command-AU73UVUQ.js +62 -0
  134. package/dist/bundle/{streaming-QMHH7L6N.js → streaming-7BPKIGAS.js} +7 -7
  135. package/dist/bundle/{tokens-PWQ56OXO.js → tokens-CQHMMKNX.js} +7 -7
  136. package/dist/bundle/zm.js +10 -10
  137. package/dist/bundle/zoom-app-OEKFMJS6.js +25 -0
  138. package/dist/config.d.ts +9 -0
  139. package/dist/config.d.ts.map +1 -1
  140. package/dist/config.js +46 -7
  141. package/dist/config.js.map +1 -1
  142. package/dist/meeting-source.d.ts.map +1 -1
  143. package/dist/meeting-source.js +2 -1
  144. package/dist/meeting-source.js.map +1 -1
  145. package/dist/meeting-stats-commands.d.ts +4 -2
  146. package/dist/meeting-stats-commands.d.ts.map +1 -1
  147. package/dist/meeting-stats-commands.js +27 -2
  148. package/dist/meeting-stats-commands.js.map +1 -1
  149. package/dist/program-bindings.d.ts.map +1 -1
  150. package/dist/program-bindings.js +3 -2
  151. package/dist/program-bindings.js.map +1 -1
  152. package/dist/recording-schedule-setup.d.ts.map +1 -1
  153. package/dist/recording-schedule-setup.js +5 -5
  154. package/dist/recording-schedule-setup.js.map +1 -1
  155. package/dist/run.d.ts.map +1 -1
  156. package/dist/run.js +2 -6
  157. package/dist/run.js.map +1 -1
  158. package/dist/setup-commands.d.ts +1 -1
  159. package/dist/setup-commands.d.ts.map +1 -1
  160. package/dist/setup-commands.js +30 -8
  161. package/dist/setup-commands.js.map +1 -1
  162. package/dist/store-commands.d.ts.map +1 -1
  163. package/dist/store-commands.js +6 -0
  164. package/dist/store-commands.js.map +1 -1
  165. package/dist/store-connection.d.ts +2 -1
  166. package/dist/store-connection.d.ts.map +1 -1
  167. package/dist/store-connection.js +4 -0
  168. package/dist/store-connection.js.map +1 -1
  169. package/dist/version.d.ts +1 -1
  170. package/dist/version.js +1 -1
  171. package/dist/watch-service.d.ts +1 -1
  172. package/dist/watch-service.d.ts.map +1 -1
  173. package/dist/watch-service.js +5 -3
  174. package/dist/watch-service.js.map +1 -1
  175. package/dist/zoom-app.d.ts +17 -0
  176. package/dist/zoom-app.d.ts.map +1 -0
  177. package/dist/zoom-app.js +22 -0
  178. package/dist/zoom-app.js.map +1 -0
  179. package/package.json +4 -3
  180. package/skills/zoom-cli/SKILL.md +4 -1
  181. package/dist/bundle/answer-policy-YAYMKRRD.js +0 -101
  182. package/dist/bundle/chunk-L7IK4FOA.js +0 -18
  183. package/dist/bundle/command-contract-CQFJXWX6.js +0 -40
  184. package/dist/bundle/config-R2Y6ZVQS.js +0 -83
  185. package/dist/bundle/first-screen-MULOBUHN.js +0 -38
  186. package/dist/bundle/openai-VEVT7D7L.js +0 -25
  187. package/dist/bundle/server-IDNSJXF3.js +0 -71
  188. package/dist/bundle/store-connection-T5WGOOPH.js +0 -81
  189. package/dist/bundle/store-maintenance-command-5CBQCEQQ.js +0 -61
  190. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
@@ -6,13 +6,13 @@ import {
6
6
  openCache,
7
7
  openFile,
8
8
  storeCapable
9
- } from "./chunk-62GOOZO3.js";
10
- import "./chunk-BLT3LR3U.js";
11
- import "./chunk-TFDVFD4N.js";
12
- import "./chunk-N67BLTBV.js";
9
+ } from "./chunk-C6UKW7JO.js";
10
+ import "./chunk-RYKG6AEH.js";
11
+ import "./chunk-T6CZWSHF.js";
12
+ import "./chunk-NTZDM5SJ.js";
13
13
  import "./chunk-Y5E2WNWB.js";
14
- import "./chunk-S6S3KVJI.js";
15
- import "./chunk-UYV2JGLQ.js";
14
+ import "./chunk-WZ5XK74U.js";
15
+ import "./chunk-6IBM4Z3V.js";
16
16
  import "./chunk-ZVVMGPBJ.js";
17
17
  export {
18
18
  CAPABILITY_STATEMENTS,
@@ -0,0 +1,25 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ LONGEST_REQUEST_SECONDS,
5
+ piecesOf,
6
+ transcribeOpenAI
7
+ } from "./chunk-EQ7XRRKV.js";
8
+ import "./chunk-QX2MAT6I.js";
9
+ import "./chunk-KWRSC6O6.js";
10
+ import "./chunk-6TZF2JP7.js";
11
+ import "./chunk-3GO3KME7.js";
12
+ import "./chunk-LM26DJOK.js";
13
+ import "./chunk-EPDRF66S.js";
14
+ import "./chunk-6AJDVJVZ.js";
15
+ import "./chunk-T6CZWSHF.js";
16
+ import "./chunk-NTZDM5SJ.js";
17
+ import "./chunk-Y5E2WNWB.js";
18
+ import "./chunk-WZ5XK74U.js";
19
+ import "./chunk-6IBM4Z3V.js";
20
+ import "./chunk-ZVVMGPBJ.js";
21
+ export {
22
+ LONGEST_REQUEST_SECONDS,
23
+ piecesOf,
24
+ transcribeOpenAI
25
+ };
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  checkCancelled
5
- } from "./chunk-BXSAROQP.js";
6
- import "./chunk-SU4WPBQE.js";
7
- import "./chunk-TFDVFD4N.js";
8
- import "./chunk-N67BLTBV.js";
5
+ } from "./chunk-B3KWAULD.js";
6
+ import "./chunk-AAZFLJSH.js";
7
+ import "./chunk-T6CZWSHF.js";
8
+ import "./chunk-NTZDM5SJ.js";
9
9
  import "./chunk-Y5E2WNWB.js";
10
10
  import {
11
11
  CliError,
12
12
  isCliError
13
- } from "./chunk-S6S3KVJI.js";
14
- import "./chunk-UYV2JGLQ.js";
13
+ } from "./chunk-WZ5XK74U.js";
14
+ import "./chunk-6IBM4Z3V.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
@@ -5,7 +5,7 @@ import {
5
5
  __name
6
6
  } from "./chunk-ZVVMGPBJ.js";
7
7
 
8
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/embeddings/process.js
8
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/embeddings/process.js
9
9
  import { spawn } from "node:child_process";
10
10
  import { createInterface } from "node:readline";
11
11
  import { fileURLToPath } from "node:url";
@@ -1,15 +1,5 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- emitReceipt
5
- } from "./chunk-2YLNUZ3T.js";
6
- import {
7
- zmPaths
8
- } from "./chunk-QJHRYUMJ.js";
9
- import {
10
- TokenManager
11
- } from "./chunk-YLEQN6PB.js";
12
- import "./chunk-UOIXBEFR.js";
13
3
  import {
14
4
  addMeetingEmbeddingCommand,
15
5
  addMeetingSearchCommands,
@@ -31,10 +21,14 @@ import {
31
21
  validateTaskKind,
32
22
  validateTaskProposal,
33
23
  validateUnifiedSearch
34
- } from "./chunk-ZKTXUDSR.js";
24
+ } from "./chunk-ASCHAVNW.js";
25
+ import {
26
+ emitReceipt
27
+ } from "./chunk-4GCKDO2H.js";
35
28
  import {
36
29
  DEFAULT_PERMISSIONS,
37
30
  ZOOM_ANSWER_ENTITIES,
31
+ ZOOM_SETTINGS,
38
32
  addProfile,
39
33
  addStandardCommands,
40
34
  annotateMeetingCommands,
@@ -47,6 +41,7 @@ import {
47
41
  guardCommand,
48
42
  inspectConfig,
49
43
  markProfileFree,
44
+ migrateConfig,
50
45
  permissionKeyForPath,
51
46
  permissionKeys,
52
47
  profileAccountKey,
@@ -57,7 +52,7 @@ import {
57
52
  unsetConfig,
58
53
  wholeList,
59
54
  zoomRunsCommand
60
- } from "./chunk-CAW6IMFZ.js";
55
+ } from "./chunk-FXQPK742.js";
61
56
  import {
62
57
  MEMO_SCENARIOS,
63
58
  SEARCHES_QUERY,
@@ -82,8 +77,21 @@ import {
82
77
  signInSteps,
83
78
  skillCommand as skillCommand2,
84
79
  upgradeCommand
85
- } from "./chunk-756RS4PH.js";
86
- import "./chunk-KDKFGQWG.js";
80
+ } from "./chunk-BKY4XVB4.js";
81
+ import "./chunk-RAMPYIO2.js";
82
+ import {
83
+ zmPaths
84
+ } from "./chunk-KIJLM5UL.js";
85
+ import {
86
+ SET_ZOOM_APP,
87
+ zoomApp,
88
+ zoomClientId,
89
+ zoomClientReport
90
+ } from "./chunk-6VFORXL3.js";
91
+ import "./chunk-JVCHGI7W.js";
92
+ import {
93
+ TokenManager
94
+ } from "./chunk-CRLBTNC4.js";
87
95
  import {
88
96
  ZoneAssumptions,
89
97
  cancellableStore,
@@ -94,33 +102,34 @@ import {
94
102
  withIssue,
95
103
  zoomInstant,
96
104
  zoomTime
97
- } from "./chunk-BXSAROQP.js";
98
- import "./chunk-NO24PJNW.js";
99
- import "./chunk-TUEEXECZ.js";
105
+ } from "./chunk-B3KWAULD.js";
106
+ import "./chunk-V33VGWT3.js";
107
+ import "./chunk-7LLUUXJB.js";
108
+ import "./chunk-L6WUAGPN.js";
100
109
  import {
101
110
  providerWaitMs,
102
111
  readJsonResponse,
103
112
  retryableStatus,
104
113
  statusToCode
105
- } from "./chunk-EXXM4RNI.js";
106
- import "./chunk-3B7L2UX4.js";
107
- import "./chunk-XWDSEJWP.js";
108
- import "./chunk-O5FKJV3T.js";
109
- import "./chunk-67RNZGAG.js";
110
- import "./chunk-7SQJCKR6.js";
114
+ } from "./chunk-EQ7XRRKV.js";
115
+ import "./chunk-QX2MAT6I.js";
116
+ import "./chunk-KWRSC6O6.js";
117
+ import "./chunk-L643D4RJ.js";
118
+ import "./chunk-QEI55M2F.js";
119
+ import "./chunk-4KDZ22RA.js";
111
120
  import {
112
121
  allAnswer
113
- } from "./chunk-GNGBG5BT.js";
122
+ } from "./chunk-I7SOXH64.js";
114
123
  import {
115
124
  skillCommand
116
- } from "./chunk-7PF56S6U.js";
117
- import "./chunk-FWFFQV4D.js";
118
- import "./chunk-LN2S3RA3.js";
119
- import "./chunk-GKXFL35E.js";
120
- import "./chunk-ZNFPDTQM.js";
125
+ } from "./chunk-7VU5UGRR.js";
126
+ import "./chunk-ZRMZBMOF.js";
127
+ import "./chunk-MWEOVTIF.js";
128
+ import "./chunk-FWU3ZYHE.js";
129
+ import "./chunk-B5Z4XPVS.js";
121
130
  import {
122
131
  commandPermissions
123
- } from "./chunk-5GD2XZ6X.js";
132
+ } from "./chunk-ESFMHBHH.js";
124
133
  import {
125
134
  addMeetingCommands,
126
135
  addMeetingPassageCommand,
@@ -132,34 +141,34 @@ import {
132
141
  typedQuery,
133
142
  unfilteredQuery,
134
143
  withQuery
135
- } from "./chunk-N6JMJN5A.js";
136
- import "./chunk-H5ZVZAOD.js";
144
+ } from "./chunk-SMVO5R3T.js";
145
+ import "./chunk-LFQ73UFK.js";
137
146
  import {
138
147
  NativeRecordingPartialStore,
139
148
  NativeRecordingPublication,
140
149
  dateWindow,
141
150
  savedSearchItem,
142
151
  validateMeetingPreparationRequest
143
- } from "./chunk-RO44LANT.js";
152
+ } from "./chunk-7HAIM7GV.js";
144
153
  import {
145
154
  nativeWriterLeaseStore,
146
155
  openOrdinaryFile,
147
156
  syncDirectory,
148
157
  writeFileAtomic
149
- } from "./chunk-QAPU2JNO.js";
158
+ } from "./chunk-6TZF2JP7.js";
150
159
  import {
151
160
  latestVersion,
152
161
  runUpdate,
153
162
  updateNotice
154
- } from "./chunk-RMKHYUHK.js";
155
- import "./chunk-PQLBPYJR.js";
156
- import "./chunk-P2G4KGTR.js";
157
- import "./chunk-CR4CXOLX.js";
163
+ } from "./chunk-4UVT2QCO.js";
164
+ import "./chunk-YPF6OS37.js";
165
+ import "./chunk-GP4NSYDU.js";
166
+ import "./chunk-D6OXI2NV.js";
158
167
  import {
159
168
  inSection
160
- } from "./chunk-3WTKZ2ZS.js";
169
+ } from "./chunk-VQTAU4DV.js";
161
170
  import "./chunk-HTQTIKWP.js";
162
- import "./chunk-ZTL7ANSG.js";
171
+ import "./chunk-L6CAUVMU.js";
163
172
  import {
164
173
  Argument,
165
174
  CommanderError,
@@ -187,62 +196,66 @@ import {
187
196
  readCheckpoint,
188
197
  refuseCommandName,
189
198
  saveCheckpoint,
199
+ settingRows,
190
200
  snakeKeys
191
- } from "./chunk-A2SCXNA7.js";
192
- import "./chunk-Z6U3MEGJ.js";
193
- import "./chunk-3Y2F65AY.js";
194
- import "./chunk-GI6QVSCW.js";
195
- import "./chunk-QV5ZGRK3.js";
196
- import "./chunk-Y3EIK4XW.js";
201
+ } from "./chunk-SSXCOUP3.js";
202
+ import "./chunk-SCFFCIIP.js";
203
+ import "./chunk-LKJXTACE.js";
204
+ import "./chunk-EUPZSR2G.js";
205
+ import "./chunk-7K5TDTZY.js";
206
+ import "./chunk-SOZVC3SV.js";
197
207
  import {
198
208
  currentAttempt,
199
209
  withAttempt
200
- } from "./chunk-5A26IBAR.js";
201
- import "./chunk-6GSJLNP4.js";
210
+ } from "./chunk-4U2555EQ.js";
211
+ import "./chunk-3ZIHUSMM.js";
202
212
  import {
203
213
  COMMAND_PATH_KEY,
204
214
  assertOverridesTighten,
205
215
  permissionOverrides
206
- } from "./chunk-5HPALDUO.js";
207
- import "./chunk-2T5BOLBS.js";
208
- import "./chunk-IKQ73INC.js";
209
- import "./chunk-K5CIN4JP.js";
216
+ } from "./chunk-VNIBTNV4.js";
217
+ import "./chunk-54RTMQL6.js";
218
+ import "./chunk-M43MBWJX.js";
219
+ import "./chunk-VFIEYRYD.js";
210
220
  import {
211
221
  formatReference,
212
222
  isFolderProvider
213
- } from "./chunk-N5JRRBEG.js";
214
- import "./chunk-AU4JHT3R.js";
215
- import "./chunk-6TIKPRVQ.js";
216
- import "./chunk-HKQWV3KT.js";
217
- import "./chunk-JX3V35A5.js";
218
- import "./chunk-7JMBEPW2.js";
219
- import "./chunk-GHAPWKG2.js";
220
- import "./chunk-CZ4KLUJG.js";
221
- import "./chunk-NMQUCHTX.js";
222
- import "./chunk-AZ7ICKIA.js";
223
+ } from "./chunk-J3ZBEWQY.js";
224
+ import "./chunk-YRNZT4GQ.js";
225
+ import "./chunk-OTMGAKUM.js";
226
+ import "./chunk-Z3WXI4DK.js";
227
+ import "./chunk-OZEYFJX2.js";
228
+ import "./chunk-DG4DWAU7.js";
229
+ import "./chunk-TBRG2DPE.js";
230
+ import "./chunk-4ZR5DJ26.js";
231
+ import "./chunk-6UFWFKFH.js";
232
+ import "./chunk-3GO3KME7.js";
233
+ import "./chunk-LM26DJOK.js";
223
234
  import {
224
235
  speechModel
225
- } from "./chunk-P3XVLHIQ.js";
226
- import "./chunk-L7IK4FOA.js";
236
+ } from "./chunk-EPDRF66S.js";
237
+ import "./chunk-6AJDVJVZ.js";
227
238
  import {
228
239
  ZM
229
- } from "./chunk-P2SYZNM4.js";
240
+ } from "./chunk-D4KBD63W.js";
230
241
  import {
231
242
  VERSION
232
- } from "./chunk-TN7K66PU.js";
243
+ } from "./chunk-SXFODCYK.js";
233
244
  import {
234
245
  installerOf
235
- } from "./chunk-ILHTNOIV.js";
246
+ } from "./chunk-KV4267S4.js";
236
247
  import "./chunk-D72URWJE.js";
237
- import "./chunk-62GOOZO3.js";
238
- import "./chunk-BLT3LR3U.js";
248
+ import "./chunk-C6UKW7JO.js";
249
+ import "./chunk-RYKG6AEH.js";
239
250
  import {
251
+ MEETING_COUNTS_GROUPINGS,
240
252
  RecordingSyncError,
241
253
  createMeetingSeriesInventoryReader,
242
254
  createUpcomingMeetingReader,
243
255
  dispatchMeetingMutation,
244
256
  importFiles,
245
257
  installRecordingArchiveSchedule,
258
+ meetingCountsItem,
246
259
  meetingLink,
247
260
  meetingLinkItem,
248
261
  meetingReviewItem,
@@ -263,14 +276,14 @@ import {
263
276
  validateMeetingChange,
264
277
  validateMeetingContextChange,
265
278
  watchMeetingIngestion
266
- } from "./chunk-Q47C3QZW.js";
279
+ } from "./chunk-DFUPETW7.js";
267
280
  import {
268
281
  dateRange,
269
282
  defineQuery,
270
283
  queryFieldsOf,
271
284
  timezoneOf
272
- } from "./chunk-SU4WPBQE.js";
273
- import "./chunk-NUN6OGOV.js";
285
+ } from "./chunk-AAZFLJSH.js";
286
+ import "./chunk-LU3WKZBA.js";
274
287
  import {
275
288
  createDeadline,
276
289
  createOutputBuffer,
@@ -278,7 +291,7 @@ import {
278
291
  fieldsOf,
279
292
  projectFields,
280
293
  realSleep
281
- } from "./chunk-TFDVFD4N.js";
294
+ } from "./chunk-T6CZWSHF.js";
282
295
  import {
283
296
  array,
284
297
  boolean,
@@ -291,14 +304,14 @@ import {
291
304
  safeParse,
292
305
  string,
293
306
  transform
294
- } from "./chunk-N67BLTBV.js";
307
+ } from "./chunk-NTZDM5SJ.js";
295
308
  import "./chunk-Y5E2WNWB.js";
296
309
  import {
297
310
  CliError,
298
311
  isCliError
299
- } from "./chunk-S6S3KVJI.js";
300
- import "./chunk-UYV2JGLQ.js";
301
- import "./chunk-U4RVOSX3.js";
312
+ } from "./chunk-WZ5XK74U.js";
313
+ import "./chunk-6IBM4Z3V.js";
314
+ import "./chunk-ZMPTO2WB.js";
302
315
  import {
303
316
  __name
304
317
  } from "./chunk-ZVVMGPBJ.js";
@@ -1726,7 +1739,7 @@ var searchArchiveTranscripts = /* @__PURE__ */ __name(async (destination, query,
1726
1739
  return { items: matches, page: 1, limit, hasMore: false };
1727
1740
  }, "searchArchiveTranscripts");
1728
1741
 
1729
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
1742
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
1730
1743
  var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
1731
1744
  var INTEGER = /^-?\d+$/;
1732
1745
  var INT64_MIN = -(2n ** 63n);
@@ -2765,7 +2778,7 @@ var configuredMeetingSource = /* @__PURE__ */ __name(({ deps, getConfig, tokens,
2765
2778
  if (config.source === "api") {
2766
2779
  const manager = tokens();
2767
2780
  if (!manager.options.clientId)
2768
- throw new CliError("configuration_error", "run zm config set zoom.client_id <Public Client ID> first");
2781
+ throw new CliError("configuration_error", SET_ZOOM_APP);
2769
2782
  return new ZoomApiSource(manager, fetch2(), {}, zones);
2770
2783
  }
2771
2784
  if (!config.filesFolder)
@@ -3491,8 +3504,7 @@ var zoomRecordingSchedule = /* @__PURE__ */ __name(({ deps, getConfig, profile,
3491
3504
  unitDirectory: join10(env.XDG_CONFIG_HOME ?? join10(env.HOME ?? homedir(), ".config"), "systemd", "user")
3492
3505
  }),
3493
3506
  recordings: /* @__PURE__ */ __name((job) => {
3494
- const selected = readConfig(deps.configPath);
3495
- if (dirname2(deps.configPath) !== job.capture.configDir || profile() !== job.capture.profile || selected.clientId !== job.capture.clientId)
3507
+ if (dirname2(deps.configPath) !== job.capture.configDir || profile() !== job.capture.profile || zoomClientId(readConfig(deps.configPath), deps.env ?? process.env) !== job.capture.clientId)
3496
3508
  throw new CliError("configuration_error", "archive schedule requires its saved profile and Zoom client id; select those settings before running");
3497
3509
  return new ZoomRecordings(new TokenManager({
3498
3510
  clientId: job.capture.clientId,
@@ -3512,15 +3524,15 @@ var zoomRecordingSchedule = /* @__PURE__ */ __name(({ deps, getConfig, profile,
3512
3524
  return recordingSchedule;
3513
3525
  }, "service"),
3514
3526
  capture: /* @__PURE__ */ __name(() => {
3515
- const selected = getConfig();
3527
+ const clientId = zoomClientId(getConfig(), deps.env ?? process.env);
3516
3528
  const named = profile();
3517
- if (!selected.clientId)
3529
+ if (!clientId)
3518
3530
  throw new CliError("configuration_error", "archive schedules require a configured Zoom client id");
3519
3531
  if (!deps.recordingScheduleTarget)
3520
3532
  throw new CliError("configuration_error", "archive scheduler requires an explicit runtime and CLI path");
3521
3533
  return {
3522
3534
  profile: named,
3523
- clientId: selected.clientId,
3535
+ clientId,
3524
3536
  configDir: dirname2(deps.configPath),
3525
3537
  runtime: deps.recordingScheduleTarget.runtime,
3526
3538
  cliPath: deps.recordingScheduleTarget.cliPath
@@ -3827,7 +3839,7 @@ var addModelsCommands = /* @__PURE__ */ __name((program, deps) => {
3827
3839
  // dist/upgrade.js
3828
3840
  import { join as join11 } from "node:path";
3829
3841
 
3830
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/update/index.js
3842
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/update/index.js
3831
3843
  import { realpathSync } from "node:fs";
3832
3844
  import { fileURLToPath as fileURLToPath2 } from "node:url";
3833
3845
  var QUIET_WORDS = [
@@ -3926,8 +3938,8 @@ var refuseAgentPermissions = /* @__PURE__ */ __name((command, key) => {
3926
3938
  var addConfigCommands = /* @__PURE__ */ __name((program, { configPath, output, warn, named }) => {
3927
3939
  const cfg = annotate(program.command("config"), { effects: NO_EFFECTS }).description("local Zoom configuration");
3928
3940
  annotate(cfg.command("show"), { effects: LOCAL_READ }).description("show local configuration").action(() => {
3929
- const { config, issues } = inspectConfig(configPath, permissionKeys(program));
3930
- output(itemOf(config));
3941
+ const { config, issues, raw } = inspectConfig(configPath, permissionKeys(program));
3942
+ output(itemOf({ ...config, settings: settingRows(raw ?? {}, ZOOM_SETTINGS) }));
3931
3943
  for (const issue of issues)
3932
3944
  warn(`${issue.what}, so it is left out${issue.fix ? ` \u2014 \`${issue.fix}\` removes it` : ""}`);
3933
3945
  });
@@ -3939,6 +3951,11 @@ var addConfigCommands = /* @__PURE__ */ __name((program, { configPath, output, w
3939
3951
  refuseAgentPermissions(this, key);
3940
3952
  output(itemOf(unsetConfig(configPath, key, named(), permissionKeys(program))));
3941
3953
  });
3954
+ grantsAuthority(annotate(cfg.command("migrate"), { effects: LOCAL_WRITE, examples: ["zm config migrate"] })).description("write each setting the file lacks at its default, keeping yours").action(() => {
3955
+ const added = migrateConfig(configPath);
3956
+ output(itemOf({ config_file: configPath, added }));
3957
+ warn(added.length > 0 ? `added ${added.join(", ")} to ${configPath}` : `${configPath} already has every setting`);
3958
+ });
3942
3959
  }, "addConfigCommands");
3943
3960
  var PASTE_PROMPT = "If the browser does not come back by itself, the address it ended on (code=\u2026&state=\u2026)";
3944
3961
  var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
@@ -3949,7 +3966,7 @@ var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
3949
3966
  sessionStatus: /* @__PURE__ */ __name(async (check2) => {
3950
3967
  const config = getConfig();
3951
3968
  const selected = profile();
3952
- if (!config.clientId)
3969
+ if (!zoomClientId(config, deps.env ?? process.env))
3953
3970
  return { configured: false, state: "not_configured", profile: selected, verified: false };
3954
3971
  if (check2) {
3955
3972
  if (program.opts().offline)
@@ -3978,15 +3995,22 @@ var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
3978
3995
  const session = program.commands.find((command) => command.name() === "session");
3979
3996
  if (!session)
3980
3997
  throw new CliError("configuration_error", "session command group is unavailable");
3981
- const start = session.command("start").description("log in to Zoom through your browser").option("--browser <program>", "browser program").option("--credential-storage <storage>", "where the login is kept: keyring (the default, which falls back to a private file by itself when no keyring works), or file, not recommended", "keyring").addOption(answerStdinOption()).action(async (opts) => {
3998
+ const start = session.command("start").description("log in to Zoom through your browser").option("--browser <program>", "browser program").option("--client-id <id>", "the Public Client ID of your Zoom app; saved as zoom.client_id once you sign in").option("--credential-storage <storage>", "where the login is kept: keyring (the default, which falls back to a private file by itself when no keyring works), or file, not recommended", "keyring").addOption(answerStdinOption()).action(async (opts) => {
3982
3999
  if (opts.credentialStorage !== "keyring" && opts.credentialStorage !== "file")
3983
4000
  throw new CliError("validation_error", "--credential-storage takes keyring or file");
3984
4001
  const storage = opts.credentialStorage;
3985
4002
  const config = getConfig();
3986
4003
  const selected = profile();
3987
4004
  refuseCommandName(selected, commandWords(program), "zm");
3988
- if (!config.clientId)
3989
- throw new CliError("configuration_error", "run zm config set zoom.client_id <Public Client ID> first");
4005
+ if (opts.clientId !== void 0 && (!opts.clientId.trim() || /\s/.test(opts.clientId)))
4006
+ throw new CliError("validation_error", "client id must not contain whitespace");
4007
+ const clientId = zoomApp({
4008
+ env: deps.env ?? process.env,
4009
+ configClientId: config.clientId,
4010
+ clientId: opts.clientId
4011
+ })?.client.clientId;
4012
+ if (!clientId)
4013
+ throw new CliError("configuration_error", SET_ZOOM_APP);
3990
4014
  const globals = program.opts();
3991
4015
  if (globals.offline)
3992
4016
  throw new CliError("configuration_error", "login requires network access; remove --offline");
@@ -4002,7 +4026,7 @@ var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
4002
4026
  ...deps.stdin ? { input: deps.stdin } : {}
4003
4027
  });
4004
4028
  const done = await login({
4005
- tokens: tokens().storedIn(storage),
4029
+ tokens: (opts.clientId ? new TokenManager({ ...tokens().options, clientId, account: `${clientId}:${selected}` }) : tokens()).storedIn(storage),
4006
4030
  signal: signal(),
4007
4031
  openBrowser: /* @__PURE__ */ __name((url) => deps.openBrowser(url, opts.browser), "openBrowser"),
4008
4032
  readPaste: steps.answers ? (stop) => steps.ask({ field: "redirect", secret: true, prompt: PASTE_PROMPT }, stop).catch((error) => stop.aborted ? new Promise(() => {
@@ -4014,6 +4038,8 @@ ${url}
4014
4038
  `)
4015
4039
  ), "showUrl")
4016
4040
  });
4041
+ if (opts.clientId)
4042
+ setConfig(deps.configPath, "zoom.client_id", opts.clientId);
4017
4043
  addProfile(deps.configPath, selected);
4018
4044
  output(itemOf({ ...done, profile: selected }));
4019
4045
  });
@@ -4684,6 +4710,11 @@ var addMeetingSearchesCommands = /* @__PURE__ */ __name((program, deps) => {
4684
4710
  }, "addMeetingSearchesCommands");
4685
4711
 
4686
4712
  // dist/meeting-stats-commands.js
4713
+ var groupingOf = /* @__PURE__ */ __name((value) => {
4714
+ if (!MEETING_COUNTS_GROUPINGS.includes(value))
4715
+ throw new CliError("validation_error", `--by takes ${MEETING_COUNTS_GROUPINGS.join(", ")}`);
4716
+ return value;
4717
+ }, "groupingOf");
4687
4718
  var filters = /* @__PURE__ */ __name((command) => selectionOptions(command).option("--max-rows <n>", "most transcript lines to read (default and at most 500000)", bytes), "filters");
4688
4719
  var requestOf = /* @__PURE__ */ __name((flags, signal) => {
4689
4720
  const { request, zone, meta } = selectionOf(flags, signal);
@@ -4694,7 +4725,7 @@ var requestOf = /* @__PURE__ */ __name((flags, signal) => {
4694
4725
  }, "requestOf");
4695
4726
  var addMeetingStatsCommands = /* @__PURE__ */ __name((program, deps) => {
4696
4727
  const stats = program.commands.find((command) => command.name() === "stats") ?? annotate(program.command("stats"), { effects: NO_EFFECTS }).description("numbers about the stored meetings");
4697
- const meetings = annotate(stats.command("meetings"), { effects: NO_EFFECTS }).description("talk time, lines and words, by speaker and by week");
4728
+ const meetings = annotate(stats.command("meetings"), { effects: NO_EFFECTS }).description("talk time by speaker and week; meetings and minutes by day, week or series");
4698
4729
  annotate(filters(meetings.command("show")), {
4699
4730
  effects: LOCAL_READ,
4700
4731
  output: { entity: "meeting_stats" },
@@ -4719,6 +4750,20 @@ var addMeetingStatsCommands = /* @__PURE__ */ __name((program, deps) => {
4719
4750
  meta
4720
4751
  }));
4721
4752
  });
4753
+ annotate(selectionOptions(meetings.command("history")), {
4754
+ effects: LOCAL_READ,
4755
+ output: { entity: "meeting_counts" },
4756
+ examples: ["zm personal stats meetings history --by week --since-time 90d --json"]
4757
+ }).summary("meetings, minutes and transcripts per day, week or series").description("meetings, minutes and meetings with a transcript, per day, week or series; reads meetings only").requiredOption("--by <group>", `one row per ${MEETING_COUNTS_GROUPINGS.join(", ")}`, groupingOf).option("--limit <n>", "the newest days or weeks, or the busiest series (default 100)", bytes).action(async (flags) => {
4758
+ const { request, zone, meta } = selectionOf(flags, deps.signal());
4759
+ const found = await (await deps.counts())({
4760
+ ...request,
4761
+ by: flags.by,
4762
+ timeZone: zone,
4763
+ ...flags.limit === void 0 ? {} : { limit: flags.limit }
4764
+ });
4765
+ deps.output(itemOf(meetingCountsItem(found), { meta }));
4766
+ });
4722
4767
  }, "addMeetingStatsCommands");
4723
4768
 
4724
4769
  // dist/store-commands.js
@@ -4806,7 +4851,13 @@ var addStoreCommands = /* @__PURE__ */ __name((program, context) => {
4806
4851
  if (!read2)
4807
4852
  throw new CliError("configuration_error", "the selected store connector does not count meetings");
4808
4853
  return read2;
4809
- }, "read")
4854
+ }, "read"),
4855
+ counts: /* @__PURE__ */ __name(async () => {
4856
+ const read2 = (await connected()).meetingCounts;
4857
+ if (!read2)
4858
+ throw new CliError("configuration_error", "the selected store connector does not count meetings");
4859
+ return read2;
4860
+ }, "counts")
4810
4861
  });
4811
4862
  const reader = /* @__PURE__ */ __name((name, what) => async () => {
4812
4863
  const read2 = (await connected())[name];
@@ -4949,9 +5000,10 @@ var createWatchService = /* @__PURE__ */ __name(({ deps, getConfig, profile, tok
4949
5000
  if (offline())
4950
5001
  throw new CliError("configuration_error", "API watching requires network access; remove --offline");
4951
5002
  if (!deps.source) {
4952
- if (!config.clientId)
4953
- throw new CliError("configuration_error", "run zm config set zoom.client_id <Public Client ID> first");
4954
- if (tokens().options.clientId !== config.clientId)
5003
+ const clientId = zoomClientId(config, deps.env ?? process.env);
5004
+ if (!clientId)
5005
+ throw new CliError("configuration_error", SET_ZOOM_APP);
5006
+ if (tokens().options.clientId !== clientId)
4955
5007
  throw new CliError("configuration_error", "the OAuth client changed before watch started; retry with matching configuration");
4956
5008
  }
4957
5009
  }
@@ -5436,8 +5488,8 @@ ${PROFILE_HELP}`);
5436
5488
  const api = /* @__PURE__ */ __name(() => {
5437
5489
  if (program.opts().offline)
5438
5490
  throw new CliError("configuration_error", "the command requires network access; remove --offline");
5439
- if (!getConfig().clientId)
5440
- throw new CliError("configuration_error", "run zm config set zoom.client_id <Public Client ID> first");
5491
+ if (!zoomClientId(getConfig(), deps.env ?? process.env))
5492
+ throw new CliError("configuration_error", SET_ZOOM_APP);
5441
5493
  }, "api");
5442
5494
  let activeAction = program;
5443
5495
  program.hook("preAction", (_root, action) => {
@@ -5767,11 +5819,7 @@ var zoomDefinition = /* @__PURE__ */ __name((deps, onFailure) => {
5767
5819
  zoomRunsCommand(),
5768
5820
  appDoctorCommand(ZM, shared, {
5769
5821
  packageName: "@wirecat/zoom-cli",
5770
- oauthClient: /* @__PURE__ */ __name(() => {
5771
- if (!configured(deps.configPath)?.clientId)
5772
- throw new CliError("configuration_error", "zoom.client_id is not set");
5773
- return { client: "own" };
5774
- }, "oauthClient")
5822
+ oauthClient: /* @__PURE__ */ __name(() => zoomClientReport(configured(deps.configPath), deps.env ?? process.env), "oauthClient")
5775
5823
  }),
5776
5824
  appMcpCommand(ZM, shared, {
5777
5825
  name: "Zoom",
@@ -2,13 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSecret
5
- } from "./chunk-JX3V35A5.js";
6
- import "./chunk-7JMBEPW2.js";
7
- import "./chunk-TFDVFD4N.js";
8
- import "./chunk-N67BLTBV.js";
5
+ } from "./chunk-DG4DWAU7.js";
6
+ import "./chunk-TBRG2DPE.js";
7
+ import "./chunk-T6CZWSHF.js";
8
+ import "./chunk-NTZDM5SJ.js";
9
9
  import "./chunk-Y5E2WNWB.js";
10
- import "./chunk-S6S3KVJI.js";
11
- import "./chunk-UYV2JGLQ.js";
10
+ import "./chunk-WZ5XK74U.js";
11
+ import "./chunk-6IBM4Z3V.js";
12
12
  import "./chunk-ZVVMGPBJ.js";
13
13
  export {
14
14
  readSecret
@@ -8,12 +8,12 @@ import {
8
8
  openRecognizer,
9
9
  openSpeechCutter,
10
10
  toModelRate
11
- } from "./chunk-XWDSEJWP.js";
12
- import "./chunk-TFDVFD4N.js";
13
- import "./chunk-N67BLTBV.js";
11
+ } from "./chunk-KWRSC6O6.js";
12
+ import "./chunk-T6CZWSHF.js";
13
+ import "./chunk-NTZDM5SJ.js";
14
14
  import "./chunk-Y5E2WNWB.js";
15
- import "./chunk-S6S3KVJI.js";
16
- import "./chunk-UYV2JGLQ.js";
15
+ import "./chunk-WZ5XK74U.js";
16
+ import "./chunk-6IBM4Z3V.js";
17
17
  import "./chunk-ZVVMGPBJ.js";
18
18
  export {
19
19
  SAMPLE_RATE,