@wirecat/zoom-cli 0.65.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 (194) 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/bin/zm.js.map +1 -1
  8. package/dist/bundle/{all-profiles-SKMLZJSY.js → all-profiles-SEW2VL76.js} +12 -8
  9. package/dist/bundle/answer-policy-5OYUL6UF.js +103 -0
  10. package/dist/bundle/{anthropic-TVHK7CY2.js → anthropic-FSNASJML.js} +7 -4
  11. package/dist/bundle/{app-server-44ASFH47.js → app-server-EVSRYJ3H.js} +66 -59
  12. package/dist/bundle/{bun-O4WHGL2F.js → bun-DACL5SVO.js} +2 -2
  13. package/dist/bundle/{bun-sqlite-NS32GMM4.js → bun-sqlite-HQ2KOXSI.js} +6 -3
  14. package/dist/bundle/chunk-2UW533HQ.js +166 -0
  15. package/dist/bundle/{chunk-FYJL276J.js → chunk-3GO3KME7.js} +3 -3
  16. package/dist/bundle/{chunk-Z5424QL6.js → chunk-3ZIHUSMM.js} +2 -2
  17. package/dist/bundle/{chunk-MRWIXUYT.js → chunk-4GCKDO2H.js} +5 -3
  18. package/dist/bundle/{chunk-7SQJCKR6.js → chunk-4KDZ22RA.js} +1 -1
  19. package/dist/bundle/{chunk-25IDWPEN.js → chunk-4U2555EQ.js} +35 -31
  20. package/dist/bundle/{chunk-UKU6MYUI.js → chunk-4UVT2QCO.js} +9 -20
  21. package/dist/bundle/{chunk-ZOGYTDHG.js → chunk-4ZR5DJ26.js} +5 -3
  22. package/dist/bundle/{chunk-CVCRQW3A.js → chunk-54RTMQL6.js} +4 -4
  23. package/dist/bundle/chunk-6AJDVJVZ.js +35 -0
  24. package/dist/bundle/chunk-6IBM4Z3V.js +34 -0
  25. package/dist/bundle/{chunk-CNEE6TPE.js → chunk-6TZF2JP7.js} +13 -13
  26. package/dist/bundle/{chunk-QLCYAQ66.js → chunk-6UFWFKFH.js} +2 -2
  27. package/dist/bundle/chunk-6VFORXL3.js +101 -0
  28. package/dist/bundle/{chunk-M6IDHQ7N.js → chunk-7HAIM7GV.js} +1633 -683
  29. package/dist/bundle/{chunk-FYM27FCG.js → chunk-7K5TDTZY.js} +13 -7
  30. package/dist/bundle/{chunk-NO24PJNW.js → chunk-7LLUUXJB.js} +1 -1
  31. package/dist/bundle/{chunk-VJTGYBJJ.js → chunk-7VU5UGRR.js} +37 -29
  32. package/dist/bundle/{chunk-ZH743WNV.js → chunk-AAZFLJSH.js} +25 -24
  33. package/dist/bundle/{chunk-DYJXAY7Q.js → chunk-ASCHAVNW.js} +35 -27
  34. package/dist/bundle/{chunk-EA63UGWE.js → chunk-B3KWAULD.js} +2 -2
  35. package/dist/bundle/{chunk-H7762LDA.js → chunk-B5Z4XPVS.js} +2 -2
  36. package/dist/bundle/{chunk-UPJXN2CO.js → chunk-BKY4XVB4.js} +1787 -1224
  37. package/dist/bundle/{chunk-QI7BZS2G.js → chunk-C6UKW7JO.js} +6 -6
  38. package/dist/bundle/{chunk-U3ZUT557.js → chunk-CLEZE65P.js} +1 -1
  39. package/dist/bundle/{chunk-37PHGASE.js → chunk-CRLBTNC4.js} +5 -3
  40. package/dist/bundle/{chunk-VH4F2EK4.js → chunk-D4KBD63W.js} +1 -1
  41. package/dist/bundle/{chunk-DNCKH7CO.js → chunk-D6OXI2NV.js} +17 -17
  42. package/dist/bundle/{chunk-LPUFOWL3.js → chunk-D72URWJE.js} +1 -39
  43. package/dist/bundle/{chunk-GMTXCFI7.js → chunk-DFUPETW7.js} +449 -308
  44. package/dist/bundle/{chunk-VW2SW7ME.js → chunk-DG4DWAU7.js} +3 -3
  45. package/dist/bundle/{chunk-U5ASRBBF.js → chunk-EPDRF66S.js} +4 -4
  46. package/dist/bundle/{chunk-BNXH73OU.js → chunk-EQ7XRRKV.js} +14 -12
  47. package/dist/bundle/{chunk-5NGOP4EZ.js → chunk-ESFMHBHH.js} +38 -35
  48. package/dist/bundle/{chunk-GEX4V5TM.js → chunk-EUPZSR2G.js} +4 -4
  49. package/dist/bundle/{chunk-KZE3G4ZT.js → chunk-FGTPREAZ.js} +58 -54
  50. package/dist/bundle/{chunk-MH7AWCB4.js → chunk-FWU3ZYHE.js} +68 -64
  51. package/dist/bundle/{chunk-MPKKIL3U.js → chunk-FXQPK742.js} +63 -21
  52. package/dist/bundle/{chunk-PV3UDPCI.js → chunk-GP4NSYDU.js} +20 -14
  53. package/dist/bundle/{chunk-ZFNM3FNI.js → chunk-I7SOXH64.js} +75 -38
  54. package/dist/bundle/{chunk-S4GDDO5S.js → chunk-IFDO3YPJ.js} +1 -1
  55. package/dist/bundle/{chunk-LOL6JYYN.js → chunk-J3ZBEWQY.js} +375 -9
  56. package/dist/bundle/chunk-JVCHGI7W.js +37 -0
  57. package/dist/bundle/{chunk-MZ6U6HNJ.js → chunk-KANH7GBB.js} +2 -2
  58. package/dist/bundle/{chunk-3CZIWGZ6.js → chunk-KIJLM5UL.js} +1 -1
  59. package/dist/bundle/chunk-KV4267S4.js +23 -0
  60. package/dist/bundle/{chunk-266WOOB3.js → chunk-KWRSC6O6.js} +6 -6
  61. package/dist/bundle/{chunk-C6BG57FA.js → chunk-L643D4RJ.js} +14 -12
  62. package/dist/bundle/{chunk-IPTI3Y2E.js → chunk-L6CAUVMU.js} +7 -5
  63. package/dist/bundle/{chunk-MIB5X2XW.js → chunk-L6WUAGPN.js} +5 -5
  64. package/dist/bundle/{chunk-BWRBALXG.js → chunk-LFQ73UFK.js} +3 -3
  65. package/dist/bundle/{chunk-GBZF4IIP.js → chunk-LKJXTACE.js} +10 -89
  66. package/dist/bundle/{chunk-T3KICUOK.js → chunk-LM26DJOK.js} +8 -8
  67. package/dist/bundle/{chunk-GXCNCMUY.js → chunk-M43MBWJX.js} +3260 -1263
  68. package/dist/bundle/{chunk-TC7PD3LH.js → chunk-MWEOVTIF.js} +4 -4
  69. package/dist/bundle/chunk-NTZDM5SJ.js +2462 -0
  70. package/dist/bundle/{chunk-ERPRAYA7.js → chunk-OTMGAKUM.js} +11 -7
  71. package/dist/bundle/chunk-OZEYFJX2.js +93 -0
  72. package/dist/bundle/{chunk-NJSIHMAE.js → chunk-Q65SDEFN.js} +4 -4
  73. package/dist/bundle/{chunk-UMHJZWZU.js → chunk-QEI55M2F.js} +12 -10
  74. package/dist/bundle/{chunk-SQWRZZOQ.js → chunk-QX2MAT6I.js} +3 -3
  75. package/dist/bundle/{chunk-ZXGRK44F.js → chunk-RAMPYIO2.js} +17 -12
  76. package/dist/bundle/{chunk-BLT3LR3U.js → chunk-RYKG6AEH.js} +1 -1
  77. package/dist/bundle/{chunk-WLSF3GCC.js → chunk-SCFFCIIP.js} +4 -2
  78. package/dist/bundle/{chunk-2H5SXK7K.js → chunk-SMVO5R3T.js} +21 -19
  79. package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-SOZVC3SV.js} +1 -1
  80. package/dist/bundle/{chunk-6CS7ETBK.js → chunk-SSXCOUP3.js} +1114 -282
  81. package/dist/bundle/{chunk-R5BAF5XE.js → chunk-SXFODCYK.js} +1 -1
  82. package/dist/bundle/{chunk-JF7ZEUXU.js → chunk-T6CZWSHF.js} +136 -2540
  83. package/dist/bundle/{chunk-KYLS5QGC.js → chunk-TBRG2DPE.js} +2 -2
  84. package/dist/bundle/{chunk-K6ATTKQR.js → chunk-V33VGWT3.js} +5 -5
  85. package/dist/bundle/{chunk-RZLNHNSS.js → chunk-VFIEYRYD.js} +8 -8
  86. package/dist/bundle/{chunk-OXUHTKO2.js → chunk-VNIBTNV4.js} +3 -2
  87. package/dist/bundle/{chunk-ZREFYKUB.js → chunk-VQTAU4DV.js} +13 -11
  88. package/dist/bundle/{chunk-NNNEVWFF.js → chunk-WHQ4ZCJI.js} +57 -34
  89. package/dist/bundle/chunk-WZ5XK74U.js +46 -0
  90. package/dist/bundle/{chunk-XJQB47IL.js → chunk-X67YD3QI.js} +6 -6
  91. package/dist/bundle/chunk-YPF6OS37.js +46 -0
  92. package/dist/bundle/{chunk-AMMD6YCJ.js → chunk-YRNZT4GQ.js} +7 -7
  93. package/dist/bundle/{chunk-TUIEDVI6.js → chunk-Z3WXI4DK.js} +5 -3
  94. package/dist/bundle/{chunk-U4RVOSX3.js → chunk-ZMPTO2WB.js} +1 -1
  95. package/dist/bundle/{chunk-24F7JBLY.js → chunk-ZRMZBMOF.js} +69 -9
  96. package/dist/bundle/{cli-FDO6CP6R.js → cli-YUATSOLA.js} +113 -81
  97. package/dist/bundle/command-contract-UWHY55UE.js +41 -0
  98. package/dist/bundle/config-TGF6E6ZD.js +89 -0
  99. package/dist/bundle/{decode-7SZI3TGZ.js → decode-IL44LNC3.js} +6 -3
  100. package/dist/bundle/dispatch-3BGIXSJR.js +412 -0
  101. package/dist/bundle/{dist-5GWUXW27.js → dist-3W27UQ2S.js} +48 -16
  102. package/dist/bundle/{echarts-FMACRZQC.js → echarts-CO4D26JF.js} +2 -2
  103. package/dist/bundle/{embed-24YSXHLP.js → embed-XH2X4DFM.js} +7 -4
  104. package/dist/bundle/{embedder-MEXN2TFB.js → embedder-WTFWDXBJ.js} +12 -9
  105. package/dist/bundle/failure-HTIS3NLS.js +25 -0
  106. package/dist/bundle/first-run-5RBH7FDO.js +28 -0
  107. package/dist/bundle/first-screen-PGFIXJAX.js +39 -0
  108. package/dist/bundle/{folders-DBAAMU26.js → folders-F4DNQPIY.js} +5 -2
  109. package/dist/bundle/{instructions-E5FXYCWF.js → instructions-EPPBL6TT.js} +1 -1
  110. package/dist/bundle/{main-EIUCXXDW.js → main-LVQTCDZS.js} +31 -25
  111. package/dist/bundle/{mcp-FUSDPAOL.js → mcp-PPVOM4SE.js} +5 -3
  112. package/dist/bundle/{meetings-JDTRGXZJ.js → meetings-BMELXRTR.js} +31 -4
  113. package/dist/bundle/{node-4SNKUPXT.js → node-CQVMWVIG.js} +2 -2
  114. package/dist/bundle/{node-sqlite-O4BAODFR.js → node-sqlite-QQEX7LZT.js} +7 -4
  115. package/dist/bundle/{oauth-3YLHXGUW.js → oauth-AYGX7CQS.js} +8 -5
  116. package/dist/bundle/{open-QGRMSNM2.js → open-MIL2TOT6.js} +6 -3
  117. package/dist/bundle/openai-7QZZXQW5.js +25 -0
  118. package/dist/bundle/{output-file-J26UQKRA.js → output-file-4XADZPYH.js} +7 -4
  119. package/dist/bundle/{process-HQZOTT6U.js → process-NJVQK6GB.js} +1 -1
  120. package/dist/bundle/{program-47DT7SHE.js → program-WUYRS6H7.js} +191 -135
  121. package/dist/bundle/{prompt-IUD7HCDC.js → prompt-J4QPFLEA.js} +6 -3
  122. package/dist/bundle/{recognize-DMJJHHXF.js → recognize-OLJZVNWW.js} +5 -2
  123. package/dist/bundle/{remote-5WFSOVVB.js → remote-JPUXNYLV.js} +8 -5
  124. package/dist/bundle/{rerank-UKQ65ECH.js → rerank-XVV3X5TT.js} +8 -5
  125. package/dist/bundle/run-log-DJXBEVS5.js +118 -0
  126. package/dist/bundle/{serve-WAOSED3I.js → serve-NYYUO3MR.js} +16 -13
  127. package/dist/bundle/{server-NWZFNXC5.js → server-4Z5E4YTT.js} +48 -42
  128. package/dist/bundle/server-VW5UVCH7.js +72 -0
  129. package/dist/bundle/{services-VPANRE72.js → services-EKWM76HP.js} +50 -28
  130. package/dist/bundle/{speech-O6UNUDRW.js → speech-WFJ44ACJ.js} +14 -11
  131. package/dist/bundle/{state-BNE7I65A.js → state-VIRCT4VW.js} +7 -4
  132. package/dist/bundle/{store-4IIVSCJ4.js → store-2Q4GEZJS.js} +30 -18
  133. package/dist/bundle/{store-QQH4FJXJ.js → store-ZTDZ6UY5.js} +20 -14
  134. package/dist/bundle/store-connection-FKVVQLEF.js +83 -0
  135. package/dist/bundle/store-maintenance-command-AU73UVUQ.js +62 -0
  136. package/dist/bundle/{streaming-S4EZB6P2.js → streaming-7BPKIGAS.js} +7 -4
  137. package/dist/bundle/{tokens-VCXIH7WZ.js → tokens-CQHMMKNX.js} +7 -4
  138. package/dist/bundle/zm.js +150 -1
  139. package/dist/bundle/zoom-app-OEKFMJS6.js +25 -0
  140. package/dist/config.d.ts +9 -0
  141. package/dist/config.d.ts.map +1 -1
  142. package/dist/config.js +46 -7
  143. package/dist/config.js.map +1 -1
  144. package/dist/meeting-source.d.ts.map +1 -1
  145. package/dist/meeting-source.js +2 -1
  146. package/dist/meeting-source.js.map +1 -1
  147. package/dist/meeting-stats-commands.d.ts +4 -2
  148. package/dist/meeting-stats-commands.d.ts.map +1 -1
  149. package/dist/meeting-stats-commands.js +27 -2
  150. package/dist/meeting-stats-commands.js.map +1 -1
  151. package/dist/program-bindings.d.ts.map +1 -1
  152. package/dist/program-bindings.js +3 -2
  153. package/dist/program-bindings.js.map +1 -1
  154. package/dist/recording-schedule-setup.d.ts.map +1 -1
  155. package/dist/recording-schedule-setup.js +5 -5
  156. package/dist/recording-schedule-setup.js.map +1 -1
  157. package/dist/run.d.ts.map +1 -1
  158. package/dist/run.js +2 -6
  159. package/dist/run.js.map +1 -1
  160. package/dist/setup-commands.d.ts +1 -1
  161. package/dist/setup-commands.d.ts.map +1 -1
  162. package/dist/setup-commands.js +30 -8
  163. package/dist/setup-commands.js.map +1 -1
  164. package/dist/store-commands.d.ts.map +1 -1
  165. package/dist/store-commands.js +6 -0
  166. package/dist/store-commands.js.map +1 -1
  167. package/dist/store-connection.d.ts +2 -1
  168. package/dist/store-connection.d.ts.map +1 -1
  169. package/dist/store-connection.js +4 -0
  170. package/dist/store-connection.js.map +1 -1
  171. package/dist/version.d.ts +1 -1
  172. package/dist/version.js +1 -1
  173. package/dist/watch-service.d.ts +1 -1
  174. package/dist/watch-service.d.ts.map +1 -1
  175. package/dist/watch-service.js +5 -3
  176. package/dist/watch-service.js.map +1 -1
  177. package/dist/zoom-app.d.ts +17 -0
  178. package/dist/zoom-app.d.ts.map +1 -0
  179. package/dist/zoom-app.js +22 -0
  180. package/dist/zoom-app.js.map +1 -0
  181. package/package.json +6 -4
  182. package/skills/zoom-cli/SKILL.md +4 -1
  183. package/dist/bundle/answer-policy-BHDNSJWX.js +0 -96
  184. package/dist/bundle/chunk-A6OA2EH2.js +0 -18
  185. package/dist/bundle/command-contract-O4FDXM4U.js +0 -37
  186. package/dist/bundle/config-UBHKZG3J.js +0 -78
  187. package/dist/bundle/first-run-OCVEJH63.js +0 -23
  188. package/dist/bundle/first-screen-KJIU25MH.js +0 -35
  189. package/dist/bundle/openai-7PSCSTH7.js +0 -22
  190. package/dist/bundle/run-log-UGYL6NW2.js +0 -111
  191. package/dist/bundle/server-HAXN772R.js +0 -66
  192. package/dist/bundle/store-connection-PPEQK2K3.js +0 -76
  193. package/dist/bundle/store-maintenance-command-JZXCT6NY.js +0 -56
  194. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
@@ -1,12 +1,5 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- zmPaths
5
- } from "./chunk-3CZIWGZ6.js";
6
- import {
7
- TokenManager
8
- } from "./chunk-37PHGASE.js";
9
- import "./chunk-K6ATTKQR.js";
10
3
  import {
11
4
  addMeetingEmbeddingCommand,
12
5
  addMeetingSearchCommands,
@@ -28,10 +21,14 @@ import {
28
21
  validateTaskKind,
29
22
  validateTaskProposal,
30
23
  validateUnifiedSearch
31
- } from "./chunk-DYJXAY7Q.js";
24
+ } from "./chunk-ASCHAVNW.js";
25
+ import {
26
+ emitReceipt
27
+ } from "./chunk-4GCKDO2H.js";
32
28
  import {
33
29
  DEFAULT_PERMISSIONS,
34
30
  ZOOM_ANSWER_ENTITIES,
31
+ ZOOM_SETTINGS,
35
32
  addProfile,
36
33
  addStandardCommands,
37
34
  annotateMeetingCommands,
@@ -44,6 +41,7 @@ import {
44
41
  guardCommand,
45
42
  inspectConfig,
46
43
  markProfileFree,
44
+ migrateConfig,
47
45
  permissionKeyForPath,
48
46
  permissionKeys,
49
47
  profileAccountKey,
@@ -54,36 +52,7 @@ import {
54
52
  unsetConfig,
55
53
  wholeList,
56
54
  zoomRunsCommand
57
- } from "./chunk-MPKKIL3U.js";
58
- import {
59
- ZM
60
- } from "./chunk-VH4F2EK4.js";
61
- import {
62
- emitReceipt
63
- } from "./chunk-MRWIXUYT.js";
64
- import {
65
- ZoneAssumptions,
66
- cancellableStore,
67
- checkCancelled,
68
- number,
69
- object,
70
- string as string2,
71
- withIssue,
72
- zoomInstant,
73
- zoomTime
74
- } from "./chunk-EA63UGWE.js";
75
- import "./chunk-MIB5X2XW.js";
76
- import {
77
- providerWaitMs,
78
- readJsonResponse,
79
- retryableStatus,
80
- statusToCode
81
- } from "./chunk-BNXH73OU.js";
82
- import "./chunk-SQWRZZOQ.js";
83
- import "./chunk-266WOOB3.js";
84
- import {
85
- VERSION
86
- } from "./chunk-R5BAF5XE.js";
55
+ } from "./chunk-FXQPK742.js";
87
56
  import {
88
57
  MEMO_SCENARIOS,
89
58
  SEARCHES_QUERY,
@@ -108,21 +77,59 @@ import {
108
77
  signInSteps,
109
78
  skillCommand as skillCommand2,
110
79
  upgradeCommand
111
- } from "./chunk-UPJXN2CO.js";
112
- import "./chunk-ZXGRK44F.js";
113
- import "./chunk-NO24PJNW.js";
114
- import "./chunk-7SQJCKR6.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";
95
+ import {
96
+ ZoneAssumptions,
97
+ cancellableStore,
98
+ checkCancelled,
99
+ number,
100
+ object,
101
+ string as string2,
102
+ withIssue,
103
+ zoomInstant,
104
+ zoomTime
105
+ } from "./chunk-B3KWAULD.js";
106
+ import "./chunk-V33VGWT3.js";
107
+ import "./chunk-7LLUUXJB.js";
108
+ import "./chunk-L6WUAGPN.js";
109
+ import {
110
+ providerWaitMs,
111
+ readJsonResponse,
112
+ retryableStatus,
113
+ statusToCode
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";
115
120
  import {
116
121
  allAnswer
117
- } from "./chunk-ZFNM3FNI.js";
122
+ } from "./chunk-I7SOXH64.js";
118
123
  import {
119
124
  skillCommand
120
- } from "./chunk-VJTGYBJJ.js";
121
- import "./chunk-TC7PD3LH.js";
122
- import "./chunk-MH7AWCB4.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";
123
130
  import {
124
131
  commandPermissions
125
- } from "./chunk-5NGOP4EZ.js";
132
+ } from "./chunk-ESFMHBHH.js";
126
133
  import {
127
134
  addMeetingCommands,
128
135
  addMeetingPassageCommand,
@@ -134,26 +141,34 @@ import {
134
141
  typedQuery,
135
142
  unfilteredQuery,
136
143
  withQuery
137
- } from "./chunk-2H5SXK7K.js";
138
- import "./chunk-BWRBALXG.js";
144
+ } from "./chunk-SMVO5R3T.js";
145
+ import "./chunk-LFQ73UFK.js";
139
146
  import {
140
147
  NativeRecordingPartialStore,
141
148
  NativeRecordingPublication,
142
149
  dateWindow,
143
150
  savedSearchItem,
144
151
  validateMeetingPreparationRequest
145
- } from "./chunk-M6IDHQ7N.js";
152
+ } from "./chunk-7HAIM7GV.js";
146
153
  import {
147
154
  nativeWriterLeaseStore,
148
155
  openOrdinaryFile,
149
156
  syncDirectory,
150
157
  writeFileAtomic
151
- } from "./chunk-CNEE6TPE.js";
152
- import "./chunk-DNCKH7CO.js";
158
+ } from "./chunk-6TZF2JP7.js";
159
+ import {
160
+ latestVersion,
161
+ runUpdate,
162
+ updateNotice
163
+ } from "./chunk-4UVT2QCO.js";
164
+ import "./chunk-YPF6OS37.js";
165
+ import "./chunk-GP4NSYDU.js";
166
+ import "./chunk-D6OXI2NV.js";
153
167
  import {
154
168
  inSection
155
- } from "./chunk-ZREFYKUB.js";
156
- import "./chunk-IPTI3Y2E.js";
169
+ } from "./chunk-VQTAU4DV.js";
170
+ import "./chunk-HTQTIKWP.js";
171
+ import "./chunk-L6CAUVMU.js";
157
172
  import {
158
173
  Argument,
159
174
  CommanderError,
@@ -181,65 +196,66 @@ import {
181
196
  readCheckpoint,
182
197
  refuseCommandName,
183
198
  saveCheckpoint,
199
+ settingRows,
184
200
  snakeKeys
185
- } from "./chunk-6CS7ETBK.js";
186
- import "./chunk-WLSF3GCC.js";
187
- import "./chunk-Y3EIK4XW.js";
188
- import "./chunk-GBZF4IIP.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";
189
207
  import {
190
208
  currentAttempt,
191
209
  withAttempt
192
- } from "./chunk-25IDWPEN.js";
193
- import "./chunk-Z5424QL6.js";
194
- import "./chunk-CVCRQW3A.js";
195
- import "./chunk-C6BG57FA.js";
196
- import {
197
- installerOf,
198
- latestVersion,
199
- runUpdate,
200
- updateNotice
201
- } from "./chunk-UKU6MYUI.js";
202
- import "./chunk-LPUFOWL3.js";
203
- import "./chunk-GEX4V5TM.js";
204
- import "./chunk-UMHJZWZU.js";
205
- import "./chunk-24F7JBLY.js";
206
- import "./chunk-H7762LDA.js";
207
- import "./chunk-PV3UDPCI.js";
208
- import "./chunk-HTQTIKWP.js";
209
- import "./chunk-FYM27FCG.js";
210
+ } from "./chunk-4U2555EQ.js";
211
+ import "./chunk-3ZIHUSMM.js";
210
212
  import {
211
213
  COMMAND_PATH_KEY,
212
214
  assertOverridesTighten,
213
215
  permissionOverrides
214
- } from "./chunk-OXUHTKO2.js";
215
- import "./chunk-VW2SW7ME.js";
216
- import "./chunk-KYLS5QGC.js";
217
- import "./chunk-ZOGYTDHG.js";
218
- import "./chunk-QLCYAQ66.js";
219
- import "./chunk-FYJL276J.js";
220
- import "./chunk-T3KICUOK.js";
221
- import {
222
- speechModel
223
- } from "./chunk-U5ASRBBF.js";
224
- import "./chunk-GXCNCMUY.js";
225
- import "./chunk-AMMD6YCJ.js";
226
- import "./chunk-RZLNHNSS.js";
227
- import "./chunk-ERPRAYA7.js";
216
+ } from "./chunk-VNIBTNV4.js";
217
+ import "./chunk-54RTMQL6.js";
218
+ import "./chunk-M43MBWJX.js";
219
+ import "./chunk-VFIEYRYD.js";
228
220
  import {
229
221
  formatReference,
230
222
  isFolderProvider
231
- } from "./chunk-LOL6JYYN.js";
232
- import "./chunk-TUIEDVI6.js";
233
- import "./chunk-A6OA2EH2.js";
234
- import "./chunk-QI7BZS2G.js";
235
- import "./chunk-BLT3LR3U.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";
234
+ import {
235
+ speechModel
236
+ } from "./chunk-EPDRF66S.js";
237
+ import "./chunk-6AJDVJVZ.js";
236
238
  import {
239
+ ZM
240
+ } from "./chunk-D4KBD63W.js";
241
+ import {
242
+ VERSION
243
+ } from "./chunk-SXFODCYK.js";
244
+ import {
245
+ installerOf
246
+ } from "./chunk-KV4267S4.js";
247
+ import "./chunk-D72URWJE.js";
248
+ import "./chunk-C6UKW7JO.js";
249
+ import "./chunk-RYKG6AEH.js";
250
+ import {
251
+ MEETING_COUNTS_GROUPINGS,
237
252
  RecordingSyncError,
238
253
  createMeetingSeriesInventoryReader,
239
254
  createUpcomingMeetingReader,
240
255
  dispatchMeetingMutation,
241
256
  importFiles,
242
257
  installRecordingArchiveSchedule,
258
+ meetingCountsItem,
243
259
  meetingLink,
244
260
  meetingLinkItem,
245
261
  meetingReviewItem,
@@ -260,37 +276,42 @@ import {
260
276
  validateMeetingChange,
261
277
  validateMeetingContextChange,
262
278
  watchMeetingIngestion
263
- } from "./chunk-GMTXCFI7.js";
279
+ } from "./chunk-DFUPETW7.js";
264
280
  import {
265
281
  dateRange,
266
282
  defineQuery,
267
283
  queryFieldsOf,
268
284
  timezoneOf
269
- } from "./chunk-ZH743WNV.js";
270
- import "./chunk-NUN6OGOV.js";
285
+ } from "./chunk-AAZFLJSH.js";
286
+ import "./chunk-LU3WKZBA.js";
271
287
  import {
272
- CliError,
273
- array,
274
- boolean,
275
- check,
276
288
  createDeadline,
277
289
  createOutputBuffer,
278
290
  createRenderer,
279
- custom,
280
291
  fieldsOf,
281
- isCliError,
292
+ projectFields,
293
+ realSleep
294
+ } from "./chunk-T6CZWSHF.js";
295
+ import {
296
+ array,
297
+ boolean,
298
+ check,
299
+ custom,
282
300
  looseObject,
283
301
  optional,
284
302
  picklist,
285
303
  pipe,
286
- projectFields,
287
- realSleep,
288
304
  safeParse,
289
305
  string,
290
306
  transform
291
- } from "./chunk-JF7ZEUXU.js";
307
+ } from "./chunk-NTZDM5SJ.js";
292
308
  import "./chunk-Y5E2WNWB.js";
293
- import "./chunk-U4RVOSX3.js";
309
+ import {
310
+ CliError,
311
+ isCliError
312
+ } from "./chunk-WZ5XK74U.js";
313
+ import "./chunk-6IBM4Z3V.js";
314
+ import "./chunk-ZMPTO2WB.js";
294
315
  import {
295
316
  __name
296
317
  } from "./chunk-ZVVMGPBJ.js";
@@ -1718,7 +1739,7 @@ var searchArchiveTranscripts = /* @__PURE__ */ __name(async (destination, query,
1718
1739
  return { items: matches, page: 1, limit, hasMore: false };
1719
1740
  }, "searchArchiveTranscripts");
1720
1741
 
1721
- // 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
1722
1743
  var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
1723
1744
  var INTEGER = /^-?\d+$/;
1724
1745
  var INT64_MIN = -(2n ** 63n);
@@ -2757,7 +2778,7 @@ var configuredMeetingSource = /* @__PURE__ */ __name(({ deps, getConfig, tokens,
2757
2778
  if (config.source === "api") {
2758
2779
  const manager = tokens();
2759
2780
  if (!manager.options.clientId)
2760
- 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);
2761
2782
  return new ZoomApiSource(manager, fetch2(), {}, zones);
2762
2783
  }
2763
2784
  if (!config.filesFolder)
@@ -3483,8 +3504,7 @@ var zoomRecordingSchedule = /* @__PURE__ */ __name(({ deps, getConfig, profile,
3483
3504
  unitDirectory: join10(env.XDG_CONFIG_HOME ?? join10(env.HOME ?? homedir(), ".config"), "systemd", "user")
3484
3505
  }),
3485
3506
  recordings: /* @__PURE__ */ __name((job) => {
3486
- const selected = readConfig(deps.configPath);
3487
- 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)
3488
3508
  throw new CliError("configuration_error", "archive schedule requires its saved profile and Zoom client id; select those settings before running");
3489
3509
  return new ZoomRecordings(new TokenManager({
3490
3510
  clientId: job.capture.clientId,
@@ -3504,15 +3524,15 @@ var zoomRecordingSchedule = /* @__PURE__ */ __name(({ deps, getConfig, profile,
3504
3524
  return recordingSchedule;
3505
3525
  }, "service"),
3506
3526
  capture: /* @__PURE__ */ __name(() => {
3507
- const selected = getConfig();
3527
+ const clientId = zoomClientId(getConfig(), deps.env ?? process.env);
3508
3528
  const named = profile();
3509
- if (!selected.clientId)
3529
+ if (!clientId)
3510
3530
  throw new CliError("configuration_error", "archive schedules require a configured Zoom client id");
3511
3531
  if (!deps.recordingScheduleTarget)
3512
3532
  throw new CliError("configuration_error", "archive scheduler requires an explicit runtime and CLI path");
3513
3533
  return {
3514
3534
  profile: named,
3515
- clientId: selected.clientId,
3535
+ clientId,
3516
3536
  configDir: dirname2(deps.configPath),
3517
3537
  runtime: deps.recordingScheduleTarget.runtime,
3518
3538
  cliPath: deps.recordingScheduleTarget.cliPath
@@ -3819,7 +3839,7 @@ var addModelsCommands = /* @__PURE__ */ __name((program, deps) => {
3819
3839
  // dist/upgrade.js
3820
3840
  import { join as join11 } from "node:path";
3821
3841
 
3822
- // 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
3823
3843
  import { realpathSync } from "node:fs";
3824
3844
  import { fileURLToPath as fileURLToPath2 } from "node:url";
3825
3845
  var QUIET_WORDS = [
@@ -3918,8 +3938,8 @@ var refuseAgentPermissions = /* @__PURE__ */ __name((command, key) => {
3918
3938
  var addConfigCommands = /* @__PURE__ */ __name((program, { configPath, output, warn, named }) => {
3919
3939
  const cfg = annotate(program.command("config"), { effects: NO_EFFECTS }).description("local Zoom configuration");
3920
3940
  annotate(cfg.command("show"), { effects: LOCAL_READ }).description("show local configuration").action(() => {
3921
- const { config, issues } = inspectConfig(configPath, permissionKeys(program));
3922
- output(itemOf(config));
3941
+ const { config, issues, raw } = inspectConfig(configPath, permissionKeys(program));
3942
+ output(itemOf({ ...config, settings: settingRows(raw ?? {}, ZOOM_SETTINGS) }));
3923
3943
  for (const issue of issues)
3924
3944
  warn(`${issue.what}, so it is left out${issue.fix ? ` \u2014 \`${issue.fix}\` removes it` : ""}`);
3925
3945
  });
@@ -3931,6 +3951,11 @@ var addConfigCommands = /* @__PURE__ */ __name((program, { configPath, output, w
3931
3951
  refuseAgentPermissions(this, key);
3932
3952
  output(itemOf(unsetConfig(configPath, key, named(), permissionKeys(program))));
3933
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
+ });
3934
3959
  }, "addConfigCommands");
3935
3960
  var PASTE_PROMPT = "If the browser does not come back by itself, the address it ended on (code=\u2026&state=\u2026)";
3936
3961
  var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
@@ -3941,7 +3966,7 @@ var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
3941
3966
  sessionStatus: /* @__PURE__ */ __name(async (check2) => {
3942
3967
  const config = getConfig();
3943
3968
  const selected = profile();
3944
- if (!config.clientId)
3969
+ if (!zoomClientId(config, deps.env ?? process.env))
3945
3970
  return { configured: false, state: "not_configured", profile: selected, verified: false };
3946
3971
  if (check2) {
3947
3972
  if (program.opts().offline)
@@ -3970,15 +3995,22 @@ var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
3970
3995
  const session = program.commands.find((command) => command.name() === "session");
3971
3996
  if (!session)
3972
3997
  throw new CliError("configuration_error", "session command group is unavailable");
3973
- 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) => {
3974
3999
  if (opts.credentialStorage !== "keyring" && opts.credentialStorage !== "file")
3975
4000
  throw new CliError("validation_error", "--credential-storage takes keyring or file");
3976
4001
  const storage = opts.credentialStorage;
3977
4002
  const config = getConfig();
3978
4003
  const selected = profile();
3979
4004
  refuseCommandName(selected, commandWords(program), "zm");
3980
- if (!config.clientId)
3981
- 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);
3982
4014
  const globals = program.opts();
3983
4015
  if (globals.offline)
3984
4016
  throw new CliError("configuration_error", "login requires network access; remove --offline");
@@ -3994,7 +4026,7 @@ var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
3994
4026
  ...deps.stdin ? { input: deps.stdin } : {}
3995
4027
  });
3996
4028
  const done = await login({
3997
- tokens: tokens().storedIn(storage),
4029
+ tokens: (opts.clientId ? new TokenManager({ ...tokens().options, clientId, account: `${clientId}:${selected}` }) : tokens()).storedIn(storage),
3998
4030
  signal: signal(),
3999
4031
  openBrowser: /* @__PURE__ */ __name((url) => deps.openBrowser(url, opts.browser), "openBrowser"),
4000
4032
  readPaste: steps.answers ? (stop) => steps.ask({ field: "redirect", secret: true, prompt: PASTE_PROMPT }, stop).catch((error) => stop.aborted ? new Promise(() => {
@@ -4006,6 +4038,8 @@ ${url}
4006
4038
  `)
4007
4039
  ), "showUrl")
4008
4040
  });
4041
+ if (opts.clientId)
4042
+ setConfig(deps.configPath, "zoom.client_id", opts.clientId);
4009
4043
  addProfile(deps.configPath, selected);
4010
4044
  output(itemOf({ ...done, profile: selected }));
4011
4045
  });
@@ -4676,6 +4710,11 @@ var addMeetingSearchesCommands = /* @__PURE__ */ __name((program, deps) => {
4676
4710
  }, "addMeetingSearchesCommands");
4677
4711
 
4678
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");
4679
4718
  var filters = /* @__PURE__ */ __name((command) => selectionOptions(command).option("--max-rows <n>", "most transcript lines to read (default and at most 500000)", bytes), "filters");
4680
4719
  var requestOf = /* @__PURE__ */ __name((flags, signal) => {
4681
4720
  const { request, zone, meta } = selectionOf(flags, signal);
@@ -4686,7 +4725,7 @@ var requestOf = /* @__PURE__ */ __name((flags, signal) => {
4686
4725
  }, "requestOf");
4687
4726
  var addMeetingStatsCommands = /* @__PURE__ */ __name((program, deps) => {
4688
4727
  const stats = program.commands.find((command) => command.name() === "stats") ?? annotate(program.command("stats"), { effects: NO_EFFECTS }).description("numbers about the stored meetings");
4689
- 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");
4690
4729
  annotate(filters(meetings.command("show")), {
4691
4730
  effects: LOCAL_READ,
4692
4731
  output: { entity: "meeting_stats" },
@@ -4711,6 +4750,20 @@ var addMeetingStatsCommands = /* @__PURE__ */ __name((program, deps) => {
4711
4750
  meta
4712
4751
  }));
4713
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
+ });
4714
4767
  }, "addMeetingStatsCommands");
4715
4768
 
4716
4769
  // dist/store-commands.js
@@ -4798,7 +4851,13 @@ var addStoreCommands = /* @__PURE__ */ __name((program, context) => {
4798
4851
  if (!read2)
4799
4852
  throw new CliError("configuration_error", "the selected store connector does not count meetings");
4800
4853
  return read2;
4801
- }, "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")
4802
4861
  });
4803
4862
  const reader = /* @__PURE__ */ __name((name, what) => async () => {
4804
4863
  const read2 = (await connected())[name];
@@ -4941,9 +5000,10 @@ var createWatchService = /* @__PURE__ */ __name(({ deps, getConfig, profile, tok
4941
5000
  if (offline())
4942
5001
  throw new CliError("configuration_error", "API watching requires network access; remove --offline");
4943
5002
  if (!deps.source) {
4944
- if (!config.clientId)
4945
- throw new CliError("configuration_error", "run zm config set zoom.client_id <Public Client ID> first");
4946
- 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)
4947
5007
  throw new CliError("configuration_error", "the OAuth client changed before watch started; retry with matching configuration");
4948
5008
  }
4949
5009
  }
@@ -5428,8 +5488,8 @@ ${PROFILE_HELP}`);
5428
5488
  const api = /* @__PURE__ */ __name(() => {
5429
5489
  if (program.opts().offline)
5430
5490
  throw new CliError("configuration_error", "the command requires network access; remove --offline");
5431
- if (!getConfig().clientId)
5432
- 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);
5433
5493
  }, "api");
5434
5494
  let activeAction = program;
5435
5495
  program.hook("preAction", (_root, action) => {
@@ -5759,11 +5819,7 @@ var zoomDefinition = /* @__PURE__ */ __name((deps, onFailure) => {
5759
5819
  zoomRunsCommand(),
5760
5820
  appDoctorCommand(ZM, shared, {
5761
5821
  packageName: "@wirecat/zoom-cli",
5762
- oauthClient: /* @__PURE__ */ __name(() => {
5763
- if (!configured(deps.configPath)?.clientId)
5764
- throw new CliError("configuration_error", "zoom.client_id is not set");
5765
- return { client: "own" };
5766
- }, "oauthClient")
5822
+ oauthClient: /* @__PURE__ */ __name(() => zoomClientReport(configured(deps.configPath), deps.env ?? process.env), "oauthClient")
5767
5823
  }),
5768
5824
  appMcpCommand(ZM, shared, {
5769
5825
  name: "Zoom",
@@ -2,10 +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-VW2SW7ME.js";
6
- import "./chunk-KYLS5QGC.js";
7
- import "./chunk-JF7ZEUXU.js";
5
+ } from "./chunk-DG4DWAU7.js";
6
+ import "./chunk-TBRG2DPE.js";
7
+ import "./chunk-T6CZWSHF.js";
8
+ import "./chunk-NTZDM5SJ.js";
8
9
  import "./chunk-Y5E2WNWB.js";
10
+ import "./chunk-WZ5XK74U.js";
11
+ import "./chunk-6IBM4Z3V.js";
9
12
  import "./chunk-ZVVMGPBJ.js";
10
13
  export {
11
14
  readSecret
@@ -8,9 +8,12 @@ import {
8
8
  openRecognizer,
9
9
  openSpeechCutter,
10
10
  toModelRate
11
- } from "./chunk-266WOOB3.js";
12
- import "./chunk-JF7ZEUXU.js";
11
+ } from "./chunk-KWRSC6O6.js";
12
+ import "./chunk-T6CZWSHF.js";
13
+ import "./chunk-NTZDM5SJ.js";
13
14
  import "./chunk-Y5E2WNWB.js";
15
+ import "./chunk-WZ5XK74U.js";
16
+ import "./chunk-6IBM4Z3V.js";
14
17
  import "./chunk-ZVVMGPBJ.js";
15
18
  export {
16
19
  SAMPLE_RATE,
@@ -8,12 +8,15 @@ import {
8
8
  openRemote,
9
9
  remoteKey,
10
10
  remoteModel
11
- } from "./chunk-FYJL276J.js";
12
- import "./chunk-T3KICUOK.js";
13
- import "./chunk-U5ASRBBF.js";
14
- import "./chunk-A6OA2EH2.js";
15
- import "./chunk-JF7ZEUXU.js";
11
+ } from "./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";
16
17
  import "./chunk-Y5E2WNWB.js";
18
+ import "./chunk-WZ5XK74U.js";
19
+ import "./chunk-6IBM4Z3V.js";
17
20
  import "./chunk-ZVVMGPBJ.js";
18
21
  export {
19
22
  DEFAULT_OPENAI_MODEL,
@@ -4,16 +4,19 @@ import {
4
4
  defaultThreads,
5
5
  loadModel,
6
6
  truncated
7
- } from "./chunk-T3KICUOK.js";
8
- import "./chunk-U5ASRBBF.js";
9
- import "./chunk-A6OA2EH2.js";
10
- import "./chunk-JF7ZEUXU.js";
7
+ } from "./chunk-LM26DJOK.js";
8
+ import "./chunk-EPDRF66S.js";
9
+ import "./chunk-6AJDVJVZ.js";
10
+ import "./chunk-T6CZWSHF.js";
11
+ import "./chunk-NTZDM5SJ.js";
11
12
  import "./chunk-Y5E2WNWB.js";
13
+ import "./chunk-WZ5XK74U.js";
14
+ import "./chunk-6IBM4Z3V.js";
12
15
  import {
13
16
  __name
14
17
  } from "./chunk-ZVVMGPBJ.js";
15
18
 
16
- // 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/rerank.js
19
+ // 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/rerank.js
17
20
  var openReranker = /* @__PURE__ */ __name(async (model, directory, { threads = defaultThreads() } = {}) => {
18
21
  const { ort, tokenizer, session } = await loadModel(model, directory, threads);
19
22
  const typeIds = session.inputNames.includes("token_type_ids");