@wirecat/zoom-cli 0.82.0 → 0.84.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 (492) hide show
  1. package/README.md +12 -12
  2. package/contracts/wirecat.json +88 -55
  3. package/dist/account-removal.d.ts +1 -1
  4. package/dist/account-removal.d.ts.map +1 -1
  5. package/dist/account-removal.js +1 -1
  6. package/dist/account-removal.js.map +1 -1
  7. package/dist/agent-skill.js +1 -1
  8. package/dist/agent-skill.js.map +1 -1
  9. package/dist/answer-entities.d.ts +1 -1
  10. package/dist/answer-entities.d.ts.map +1 -1
  11. package/dist/answer-entities.js +1 -1
  12. package/dist/answer-entities.js.map +1 -1
  13. package/dist/answer-output.d.ts +2 -2
  14. package/dist/answer-output.d.ts.map +1 -1
  15. package/dist/answer-output.js +1 -1
  16. package/dist/answer-output.js.map +1 -1
  17. package/dist/answer-policy.d.ts.map +1 -1
  18. package/dist/answer-policy.js +1 -2
  19. package/dist/answer-policy.js.map +1 -1
  20. package/dist/answers.js +1 -1
  21. package/dist/answers.js.map +1 -1
  22. package/dist/api.d.ts +2 -2
  23. package/dist/api.d.ts.map +1 -1
  24. package/dist/api.js +2 -2
  25. package/dist/api.js.map +1 -1
  26. package/dist/archive-commands.d.ts +1 -1
  27. package/dist/archive-commands.d.ts.map +1 -1
  28. package/dist/archive-commands.js +1 -2
  29. package/dist/archive-commands.js.map +1 -1
  30. package/dist/archive-import.d.ts +1 -1
  31. package/dist/archive-import.d.ts.map +1 -1
  32. package/dist/archive-import.js +1 -1
  33. package/dist/archive-import.js.map +1 -1
  34. package/dist/archive-transcripts.d.ts +1 -1
  35. package/dist/archive-transcripts.d.ts.map +1 -1
  36. package/dist/archive-transcripts.js +1 -2
  37. package/dist/archive-transcripts.js.map +1 -1
  38. package/dist/bin/main.js +4 -17
  39. package/dist/bin/main.js.map +1 -1
  40. package/dist/bin/zm.js +11 -11
  41. package/dist/bundle/answer-policy-OQQWAUHH.js +33 -0
  42. package/dist/bundle/chunk-3YDF76DP.js +922 -0
  43. package/dist/bundle/chunk-AEWYRB6F.js +8 -0
  44. package/dist/bundle/chunk-AF2Z6VOG.js +137 -0
  45. package/dist/bundle/{chunk-MAJJ4PG3.js → chunk-DAYBU7WR.js} +79 -396
  46. package/dist/bundle/{chunk-XQQVMECZ.js → chunk-JD63PEI3.js} +3 -8
  47. package/dist/bundle/{chunk-UL2PXLKT.js → chunk-L5ZYKXAY.js} +392 -129
  48. package/dist/bundle/{chunk-2SWKQ7C4.js → chunk-W4TDCCT3.js} +8 -2
  49. package/dist/bundle/{chunk-AC6VJNMJ.js → chunk-W6YFWJDR.js} +2 -5
  50. package/dist/bundle/{chunk-434YFJAE.js → chunk-WSGD5Q6L.js} +3 -9
  51. package/dist/bundle/config-MP5YLHEY.js +29 -0
  52. package/dist/bundle/{folders-LXOL4N4S.js → folders-B2GKJOC2.js} +2 -7
  53. package/dist/bundle/{main-YAA7WQ23.js → main-YZPLPXB7.js} +21 -53
  54. package/dist/bundle/{output-file-2UB5JP3R.js → output-file-PKA7MJEP.js} +3 -11
  55. package/dist/bundle/{program-GVCGZP27.js → program-7JY6XJ6K.js} +714 -935
  56. package/dist/bundle/run-log-ML7ZCWXD.js +54 -0
  57. package/dist/bundle/store-connection-LQGKS3DN.js +21 -0
  58. package/dist/bundle/streaming-PRGWGNHY.js +12 -0
  59. package/dist/bundle/tokens-57RJVBK6.js +18 -0
  60. package/dist/bundle/zm.js +4 -161
  61. package/dist/bundle/{zoom-app-YWFB367P.js → zoom-app-EYJST6GF.js} +4 -10
  62. package/dist/chat-file.d.ts +1 -1
  63. package/dist/chat-file.d.ts.map +1 -1
  64. package/dist/commands.d.ts +1 -8
  65. package/dist/commands.d.ts.map +1 -1
  66. package/dist/commands.js +3 -33
  67. package/dist/commands.js.map +1 -1
  68. package/dist/config-issues.d.ts +1 -1
  69. package/dist/config-issues.d.ts.map +1 -1
  70. package/dist/config-issues.js +1 -1
  71. package/dist/config-issues.js.map +1 -1
  72. package/dist/config.d.ts +1 -2
  73. package/dist/config.d.ts.map +1 -1
  74. package/dist/config.js +1 -2
  75. package/dist/config.js.map +1 -1
  76. package/dist/contacts-commands.d.ts +1 -1
  77. package/dist/contacts-commands.d.ts.map +1 -1
  78. package/dist/contacts-commands.js +1 -1
  79. package/dist/contacts-commands.js.map +1 -1
  80. package/dist/contract-overrides.js +1 -1
  81. package/dist/contract-overrides.js.map +1 -1
  82. package/dist/errors.d.ts +1 -1
  83. package/dist/errors.d.ts.map +1 -1
  84. package/dist/execution.d.ts +1 -1
  85. package/dist/execution.d.ts.map +1 -1
  86. package/dist/execution.js +1 -1
  87. package/dist/execution.js.map +1 -1
  88. package/dist/files.d.ts +2 -2
  89. package/dist/files.d.ts.map +1 -1
  90. package/dist/files.js +1 -1
  91. package/dist/files.js.map +1 -1
  92. package/dist/first-screen.js +1 -1
  93. package/dist/first-screen.js.map +1 -1
  94. package/dist/identity.d.ts +1 -1
  95. package/dist/identity.d.ts.map +1 -1
  96. package/dist/identity.js +6 -0
  97. package/dist/identity.js.map +1 -1
  98. package/dist/index.d.ts +1 -2
  99. package/dist/index.d.ts.map +1 -1
  100. package/dist/index.js +1 -2
  101. package/dist/index.js.map +1 -1
  102. package/dist/ingestion-search-commands.d.ts +1 -1
  103. package/dist/ingestion-search-commands.d.ts.map +1 -1
  104. package/dist/ingestion-search-commands.js +1 -1
  105. package/dist/ingestion-search-commands.js.map +1 -1
  106. package/dist/local-transcription-commands.d.ts +1 -1
  107. package/dist/local-transcription-commands.d.ts.map +1 -1
  108. package/dist/local-transcription-commands.js +1 -2
  109. package/dist/local-transcription-commands.js.map +1 -1
  110. package/dist/local-transcription.d.ts +1 -2
  111. package/dist/local-transcription.d.ts.map +1 -1
  112. package/dist/local-transcription.js +3 -3
  113. package/dist/local-transcription.js.map +1 -1
  114. package/dist/meeting-commands.d.ts +1 -1
  115. package/dist/meeting-commands.d.ts.map +1 -1
  116. package/dist/meeting-commands.js +1 -2
  117. package/dist/meeting-commands.js.map +1 -1
  118. package/dist/meeting-communications-binding.d.ts +1 -2
  119. package/dist/meeting-communications-binding.d.ts.map +1 -1
  120. package/dist/meeting-communications-binding.js.map +1 -1
  121. package/dist/meeting-context-commands.d.ts +1 -1
  122. package/dist/meeting-context-commands.d.ts.map +1 -1
  123. package/dist/meeting-context-commands.js +1 -1
  124. package/dist/meeting-context-commands.js.map +1 -1
  125. package/dist/meeting-context.d.ts +2 -4
  126. package/dist/meeting-context.d.ts.map +1 -1
  127. package/dist/meeting-context.js +1 -1
  128. package/dist/meeting-context.js.map +1 -1
  129. package/dist/meeting-integration-commands.d.ts +1 -1
  130. package/dist/meeting-integration-commands.d.ts.map +1 -1
  131. package/dist/meeting-integration-commands.js +1 -2
  132. package/dist/meeting-integration-commands.js.map +1 -1
  133. package/dist/meeting-integration.d.ts +1 -1
  134. package/dist/meeting-integration.d.ts.map +1 -1
  135. package/dist/meeting-integration.js +1 -1
  136. package/dist/meeting-integration.js.map +1 -1
  137. package/dist/meeting-inventory.d.ts +1 -1
  138. package/dist/meeting-inventory.d.ts.map +1 -1
  139. package/dist/meeting-inventory.js +1 -1
  140. package/dist/meeting-inventory.js.map +1 -1
  141. package/dist/meeting-preparation.d.ts +1 -2
  142. package/dist/meeting-preparation.d.ts.map +1 -1
  143. package/dist/meeting-preparation.js +1 -1
  144. package/dist/meeting-preparation.js.map +1 -1
  145. package/dist/meeting-project-candidates.d.ts +1 -1
  146. package/dist/meeting-project-candidates.d.ts.map +1 -1
  147. package/dist/meeting-project-evidence-commands.d.ts +1 -1
  148. package/dist/meeting-project-evidence-commands.d.ts.map +1 -1
  149. package/dist/meeting-project-evidence-commands.js +1 -2
  150. package/dist/meeting-project-evidence-commands.js.map +1 -1
  151. package/dist/meeting-read-command-bindings.js +1 -1
  152. package/dist/meeting-read-command-bindings.js.map +1 -1
  153. package/dist/meeting-review-commands.d.ts +1 -3
  154. package/dist/meeting-review-commands.d.ts.map +1 -1
  155. package/dist/meeting-review-commands.js +1 -2
  156. package/dist/meeting-review-commands.js.map +1 -1
  157. package/dist/meeting-search-commands.d.ts +2 -3
  158. package/dist/meeting-search-commands.d.ts.map +1 -1
  159. package/dist/meeting-search-commands.js +2 -4
  160. package/dist/meeting-search-commands.js.map +1 -1
  161. package/dist/meeting-searches-commands.d.ts +1 -2
  162. package/dist/meeting-searches-commands.d.ts.map +1 -1
  163. package/dist/meeting-searches-commands.js +1 -2
  164. package/dist/meeting-searches-commands.js.map +1 -1
  165. package/dist/meeting-selection-options.d.ts +1 -1
  166. package/dist/meeting-selection-options.d.ts.map +1 -1
  167. package/dist/meeting-selection-options.js +1 -2
  168. package/dist/meeting-selection-options.js.map +1 -1
  169. package/dist/meeting-semantic-commands.d.ts +1 -2
  170. package/dist/meeting-semantic-commands.d.ts.map +1 -1
  171. package/dist/meeting-semantic-commands.js +1 -1
  172. package/dist/meeting-semantic-commands.js.map +1 -1
  173. package/dist/meeting-semantic.d.ts +2 -2
  174. package/dist/meeting-semantic.d.ts.map +1 -1
  175. package/dist/meeting-semantic.js +1 -1
  176. package/dist/meeting-semantic.js.map +1 -1
  177. package/dist/meeting-source.d.ts +1 -1
  178. package/dist/meeting-source.d.ts.map +1 -1
  179. package/dist/meeting-stats-commands.d.ts +1 -3
  180. package/dist/meeting-stats-commands.d.ts.map +1 -1
  181. package/dist/meeting-stats-commands.js +1 -2
  182. package/dist/meeting-stats-commands.js.map +1 -1
  183. package/dist/models-commands.d.ts +1 -1
  184. package/dist/models-commands.d.ts.map +1 -1
  185. package/dist/models-commands.js +1 -1
  186. package/dist/models-commands.js.map +1 -1
  187. package/dist/occurrence-schedule.d.ts +1 -1
  188. package/dist/occurrence-schedule.d.ts.map +1 -1
  189. package/dist/permissions.d.ts +1 -1
  190. package/dist/permissions.d.ts.map +1 -1
  191. package/dist/permissions.js +1 -2
  192. package/dist/permissions.js.map +1 -1
  193. package/dist/profile.js +1 -1
  194. package/dist/profile.js.map +1 -1
  195. package/dist/program-bindings.d.ts.map +1 -1
  196. package/dist/program-bindings.js +3 -13
  197. package/dist/program-bindings.js.map +1 -1
  198. package/dist/program.d.ts +4 -7
  199. package/dist/program.d.ts.map +1 -1
  200. package/dist/program.js +1 -1
  201. package/dist/program.js.map +1 -1
  202. package/dist/progress-commands.d.ts +1 -1
  203. package/dist/progress-commands.d.ts.map +1 -1
  204. package/dist/progress-commands.js +1 -2
  205. package/dist/progress-commands.js.map +1 -1
  206. package/dist/read-only.js +1 -1
  207. package/dist/read-only.js.map +1 -1
  208. package/dist/recording-archive.d.ts.map +1 -1
  209. package/dist/recording-archive.js +1 -2
  210. package/dist/recording-archive.js.map +1 -1
  211. package/dist/recording-manifest.js +1 -1
  212. package/dist/recording-manifest.js.map +1 -1
  213. package/dist/recording-partial-store.d.ts +2 -3
  214. package/dist/recording-partial-store.d.ts.map +1 -1
  215. package/dist/recording-partial-store.js +1 -1
  216. package/dist/recording-partial-store.js.map +1 -1
  217. package/dist/recording-promotion-store.d.ts +1 -2
  218. package/dist/recording-promotion-store.d.ts.map +1 -1
  219. package/dist/recording-promotion-store.js +1 -2
  220. package/dist/recording-promotion-store.js.map +1 -1
  221. package/dist/recording-schedule-commands.d.ts +1 -1
  222. package/dist/recording-schedule-commands.d.ts.map +1 -1
  223. package/dist/recording-schedule-commands.js +1 -1
  224. package/dist/recording-schedule-commands.js.map +1 -1
  225. package/dist/recording-schedule-store.js +1 -1
  226. package/dist/recording-schedule-store.js.map +1 -1
  227. package/dist/recording-schedule-systemd.js +1 -1
  228. package/dist/recording-schedule-systemd.js.map +1 -1
  229. package/dist/recording-schedule.d.ts +1 -1
  230. package/dist/recording-schedule.d.ts.map +1 -1
  231. package/dist/recording-schedule.js +1 -1
  232. package/dist/recording-schedule.js.map +1 -1
  233. package/dist/recording-sync-store.d.ts +1 -1
  234. package/dist/recording-sync-store.d.ts.map +1 -1
  235. package/dist/recording-sync-store.js +1 -2
  236. package/dist/recording-sync-store.js.map +1 -1
  237. package/dist/recording-sync.d.ts +1 -1
  238. package/dist/recording-sync.d.ts.map +1 -1
  239. package/dist/recording-sync.js +1 -1
  240. package/dist/recording-sync.js.map +1 -1
  241. package/dist/recording-writer-lease.d.ts +1 -1
  242. package/dist/recording-writer-lease.d.ts.map +1 -1
  243. package/dist/recording-writer-lease.js +1 -1
  244. package/dist/recording-writer-lease.js.map +1 -1
  245. package/dist/recordings.d.ts +1 -1
  246. package/dist/recordings.d.ts.map +1 -1
  247. package/dist/recordings.js.map +1 -1
  248. package/dist/remote-meetings.d.ts +19 -19
  249. package/dist/remote-meetings.d.ts.map +1 -1
  250. package/dist/remote-meetings.js +1 -1
  251. package/dist/remote-meetings.js.map +1 -1
  252. package/dist/request-events.d.ts +1 -1
  253. package/dist/request-events.d.ts.map +1 -1
  254. package/dist/request-events.js +1 -1
  255. package/dist/request-events.js.map +1 -1
  256. package/dist/run-log.d.ts +1 -1
  257. package/dist/run-log.d.ts.map +1 -1
  258. package/dist/run-log.js +1 -1
  259. package/dist/run-log.js.map +1 -1
  260. package/dist/run.d.ts +1 -1
  261. package/dist/run.d.ts.map +1 -1
  262. package/dist/run.js +6 -2
  263. package/dist/run.js.map +1 -1
  264. package/dist/series-inventory.d.ts +2 -2
  265. package/dist/series-inventory.js +1 -1
  266. package/dist/series-inventory.js.map +1 -1
  267. package/dist/setup-commands.d.ts +6 -15
  268. package/dist/setup-commands.d.ts.map +1 -1
  269. package/dist/setup-commands.js +7 -142
  270. package/dist/setup-commands.js.map +1 -1
  271. package/dist/store-commands.d.ts +1 -1
  272. package/dist/store-commands.d.ts.map +1 -1
  273. package/dist/store-commands.js +1 -2
  274. package/dist/store-commands.js.map +1 -1
  275. package/dist/store-connection.d.ts +1 -3
  276. package/dist/store-connection.d.ts.map +1 -1
  277. package/dist/store-connection.js +14 -14
  278. package/dist/store-connection.js.map +1 -1
  279. package/dist/sync-progress.d.ts +4 -4
  280. package/dist/sync-progress.d.ts.map +1 -1
  281. package/dist/sync-progress.js +1 -1
  282. package/dist/sync-progress.js.map +1 -1
  283. package/dist/tokens.d.ts +20 -44
  284. package/dist/tokens.d.ts.map +1 -1
  285. package/dist/tokens.js +95 -308
  286. package/dist/tokens.js.map +1 -1
  287. package/dist/unified-search.d.ts +1 -1
  288. package/dist/unified-search.d.ts.map +1 -1
  289. package/dist/upcoming-meetings.d.ts +2 -2
  290. package/dist/upcoming-meetings.js +1 -1
  291. package/dist/upcoming-meetings.js.map +1 -1
  292. package/dist/upgrade.d.ts.map +1 -1
  293. package/dist/upgrade.js +1 -2
  294. package/dist/upgrade.js.map +1 -1
  295. package/dist/version.d.ts +1 -1
  296. package/dist/version.js +1 -1
  297. package/dist/watch-commands.d.ts +1 -2
  298. package/dist/watch-commands.d.ts.map +1 -1
  299. package/dist/watch-commands.js +1 -2
  300. package/dist/watch-commands.js.map +1 -1
  301. package/dist/watch-service.d.ts +1 -1
  302. package/dist/watch-service.d.ts.map +1 -1
  303. package/dist/watch-service.js +1 -1
  304. package/dist/watch-service.js.map +1 -1
  305. package/dist/zoom-app.d.ts +2 -2
  306. package/dist/zoom-app.d.ts.map +1 -1
  307. package/dist/zoom-app.js +2 -2
  308. package/dist/zoom-app.js.map +1 -1
  309. package/dist/zoom-search-commands.d.ts +1 -1
  310. package/dist/zoom-search-commands.d.ts.map +1 -1
  311. package/dist/zoom-search-commands.js +1 -1
  312. package/dist/zoom-search-commands.js.map +1 -1
  313. package/dist/zoom-session.d.ts +6 -0
  314. package/dist/zoom-session.d.ts.map +1 -0
  315. package/dist/zoom-session.js +72 -0
  316. package/dist/zoom-session.js.map +1 -0
  317. package/package.json +3 -3
  318. package/scenarios/person-in-meetings.md +1 -1
  319. package/skills/zoom-cli/SKILL.md +1 -1
  320. package/skills/zoom-cli/references/people-and-projects.md +5 -5
  321. package/skills/zoom-cli/references/prepare.md +2 -2
  322. package/skills/zoom-cli/references/setup.md +2 -2
  323. package/dist/bundle/agent-F4TRJWWS.js +0 -46
  324. package/dist/bundle/all-profiles-RULEKTDQ.js +0 -321
  325. package/dist/bundle/answer-policy-6XC57AEZ.js +0 -131
  326. package/dist/bundle/anthropic-4NAQBZFL.js +0 -91
  327. package/dist/bundle/app-server-VLR42U5L.js +0 -266
  328. package/dist/bundle/bun-OPDGMZZQ.js +0 -169
  329. package/dist/bundle/bun-sqlite-HC6X4AOX.js +0 -76
  330. package/dist/bundle/chunk-274SLQNW.js +0 -54
  331. package/dist/bundle/chunk-2CI2OEZQ.js +0 -101
  332. package/dist/bundle/chunk-2DBF2IIC.js +0 -330
  333. package/dist/bundle/chunk-2GP573Q4.js +0 -67190
  334. package/dist/bundle/chunk-2JHVQMVC.js +0 -16
  335. package/dist/bundle/chunk-2XBDILVW.js +0 -53
  336. package/dist/bundle/chunk-3HC5F3P7.js +0 -24
  337. package/dist/bundle/chunk-3YM4B2GT.js +0 -63
  338. package/dist/bundle/chunk-4HLQ2JGK.js +0 -276
  339. package/dist/bundle/chunk-4N7PP76S.js +0 -6848
  340. package/dist/bundle/chunk-52Y4ETKU.js +0 -230
  341. package/dist/bundle/chunk-5HAUK3I4.js +0 -27160
  342. package/dist/bundle/chunk-5KYQ53EF.js +0 -357
  343. package/dist/bundle/chunk-5TU7Y5UW.js +0 -218
  344. package/dist/bundle/chunk-66ALX4ZI.js +0 -1068
  345. package/dist/bundle/chunk-676C2LE6.js +0 -229
  346. package/dist/bundle/chunk-6CWL5BKG.js +0 -3012
  347. package/dist/bundle/chunk-6QYZP4E2.js +0 -73
  348. package/dist/bundle/chunk-6VK332XS.js +0 -170
  349. package/dist/bundle/chunk-73MOMNLL.js +0 -94
  350. package/dist/bundle/chunk-7QPIUMUG.js +0 -198
  351. package/dist/bundle/chunk-7UVDPRFK.js +0 -259
  352. package/dist/bundle/chunk-A6EZK5RG.js +0 -142
  353. package/dist/bundle/chunk-ACI4YIEH.js +0 -331
  354. package/dist/bundle/chunk-AIKFOBDO.js +0 -1024
  355. package/dist/bundle/chunk-ASBDFXLS.js +0 -295
  356. package/dist/bundle/chunk-B32KZRQM.js +0 -2338
  357. package/dist/bundle/chunk-BBGJQMRI.js +0 -34
  358. package/dist/bundle/chunk-BDKVOU3I.js +0 -52
  359. package/dist/bundle/chunk-BP4FYANF.js +0 -335
  360. package/dist/bundle/chunk-D72URWJE.js +0 -532
  361. package/dist/bundle/chunk-DCYFT3FR.js +0 -161
  362. package/dist/bundle/chunk-DFDN6AUB.js +0 -21
  363. package/dist/bundle/chunk-DNCLQPOM.js +0 -7
  364. package/dist/bundle/chunk-DSZYABYL.js +0 -808
  365. package/dist/bundle/chunk-E745WZKY.js +0 -1199
  366. package/dist/bundle/chunk-EGTCQKHV.js +0 -340
  367. package/dist/bundle/chunk-EQG3PIH2.js +0 -108
  368. package/dist/bundle/chunk-ESN3W2MZ.js +0 -2624
  369. package/dist/bundle/chunk-FXBHOCJK.js +0 -24600
  370. package/dist/bundle/chunk-G46WJ7YO.js +0 -95
  371. package/dist/bundle/chunk-G6PETRMV.js +0 -64
  372. package/dist/bundle/chunk-GBHMT2IU.js +0 -755
  373. package/dist/bundle/chunk-GGMAIIVE.js +0 -38
  374. package/dist/bundle/chunk-GTKPMYK7.js +0 -72
  375. package/dist/bundle/chunk-GWGHH56B.js +0 -374
  376. package/dist/bundle/chunk-HC6VN5CO.js +0 -692
  377. package/dist/bundle/chunk-HP7A2ZOP.js +0 -185
  378. package/dist/bundle/chunk-HTQTIKWP.js +0 -928
  379. package/dist/bundle/chunk-HZENBDW2.js +0 -209
  380. package/dist/bundle/chunk-IANKXHSE.js +0 -46
  381. package/dist/bundle/chunk-ICPJT672.js +0 -228
  382. package/dist/bundle/chunk-JQ54DYAQ.js +0 -80
  383. package/dist/bundle/chunk-K5JGJIV2.js +0 -640
  384. package/dist/bundle/chunk-KJ6USQDZ.js +0 -616
  385. package/dist/bundle/chunk-KKFY23AK.js +0 -5150
  386. package/dist/bundle/chunk-KQPUVXKX.js +0 -84
  387. package/dist/bundle/chunk-KVJ3I7UL.js +0 -1007
  388. package/dist/bundle/chunk-KWU46LNK.js +0 -288
  389. package/dist/bundle/chunk-KXJ3JEDH.js +0 -2
  390. package/dist/bundle/chunk-L75SMSJR.js +0 -133
  391. package/dist/bundle/chunk-LAYYO4WD.js +0 -31
  392. package/dist/bundle/chunk-LEKKTJKK.js +0 -2336
  393. package/dist/bundle/chunk-M7H4MCAX.js +0 -388
  394. package/dist/bundle/chunk-MQLPZBMQ.js +0 -58
  395. package/dist/bundle/chunk-N3JLO63O.js +0 -13
  396. package/dist/bundle/chunk-N46F72AF.js +0 -410
  397. package/dist/bundle/chunk-NB7EOAUZ.js +0 -123
  398. package/dist/bundle/chunk-NEMX3UNN.js +0 -76
  399. package/dist/bundle/chunk-OBXQLFT5.js +0 -82
  400. package/dist/bundle/chunk-OGNO35A2.js +0 -262
  401. package/dist/bundle/chunk-OIPYBF43.js +0 -100
  402. package/dist/bundle/chunk-OO4TRVPB.js +0 -185
  403. package/dist/bundle/chunk-OQFQ77AY.js +0 -9352
  404. package/dist/bundle/chunk-PL5P7UKW.js +0 -25216
  405. package/dist/bundle/chunk-PMUPN6JW.js +0 -773
  406. package/dist/bundle/chunk-PSKTMMCO.js +0 -561
  407. package/dist/bundle/chunk-PWVJUIDQ.js +0 -106
  408. package/dist/bundle/chunk-Q7ICVP25.js +0 -18
  409. package/dist/bundle/chunk-QG6PILDO.js +0 -195
  410. package/dist/bundle/chunk-QPHBK63S.js +0 -25
  411. package/dist/bundle/chunk-QVSL5WJ7.js +0 -46524
  412. package/dist/bundle/chunk-QVYAV7F2.js +0 -58
  413. package/dist/bundle/chunk-R2B6PUVI.js +0 -206
  414. package/dist/bundle/chunk-RQOZBTNI.js +0 -86
  415. package/dist/bundle/chunk-T7IAWEBU.js +0 -362
  416. package/dist/bundle/chunk-TKNM22OH.js +0 -71
  417. package/dist/bundle/chunk-TKVBFJ5C.js +0 -37
  418. package/dist/bundle/chunk-TXDR6YSF.js +0 -23
  419. package/dist/bundle/chunk-TY7NDMFY.js +0 -46
  420. package/dist/bundle/chunk-UAWSINMC.js +0 -875
  421. package/dist/bundle/chunk-UKAAAOPC.js +0 -1251
  422. package/dist/bundle/chunk-UQCTXZEP.js +0 -214
  423. package/dist/bundle/chunk-UR5DBODY.js +0 -1345
  424. package/dist/bundle/chunk-V5EJSF2B.js +0 -12235
  425. package/dist/bundle/chunk-VB72LTSZ.js +0 -210
  426. package/dist/bundle/chunk-VB7FZOYX.js +0 -633
  427. package/dist/bundle/chunk-VS6WURLX.js +0 -217
  428. package/dist/bundle/chunk-VZ5PPYDG.js +0 -77
  429. package/dist/bundle/chunk-W5QHB53X.js +0 -3752
  430. package/dist/bundle/chunk-WMANRJR5.js +0 -555
  431. package/dist/bundle/chunk-WOPVBRPV.js +0 -29
  432. package/dist/bundle/chunk-XQ2WL3HB.js +0 -140
  433. package/dist/bundle/chunk-Y5E2WNWB.js +0 -35
  434. package/dist/bundle/chunk-Y6PVS55U.js +0 -800
  435. package/dist/bundle/chunk-YJXJJ2XP.js +0 -2333
  436. package/dist/bundle/chunk-YY7XKHDY.js +0 -79
  437. package/dist/bundle/chunk-ZED2CJW5.js +0 -353
  438. package/dist/bundle/chunk-ZOYOXWJB.js +0 -746
  439. package/dist/bundle/chunk-ZVVMGPBJ.js +0 -50
  440. package/dist/bundle/cli-U4O5XB7J.js +0 -1255
  441. package/dist/bundle/command-contract-FBTK6GQX.js +0 -45
  442. package/dist/bundle/command-server-entry-KKH6ZWJV.js +0 -175
  443. package/dist/bundle/config-FRJSIZNN.js +0 -118
  444. package/dist/bundle/decode-TPCNXEK4.js +0 -31
  445. package/dist/bundle/dispatch-FKMIPCPQ.js +0 -412
  446. package/dist/bundle/dist-7CLBCYZN.js +0 -321
  447. package/dist/bundle/dist-PAKDDIBT.js +0 -191
  448. package/dist/bundle/dist-XUFQCJXW.js +0 -7577
  449. package/dist/bundle/echarts-O3TNDAXJ.js +0 -42501
  450. package/dist/bundle/embed-WCJSFVSK.js +0 -38
  451. package/dist/bundle/embedder-TBBUPXBX.js +0 -111
  452. package/dist/bundle/failure-XTWBYI2A.js +0 -25
  453. package/dist/bundle/first-run-ELEMFW42.js +0 -29
  454. package/dist/bundle/first-screen-DIOBWMKP.js +0 -46
  455. package/dist/bundle/instructions-AMH5RWVJ.js +0 -11
  456. package/dist/bundle/mcp-5HFPWC3W.js +0 -167
  457. package/dist/bundle/meeting-combined-UXCF4SJ3.js +0 -26
  458. package/dist/bundle/meeting-model-3BZJ3EQP.js +0 -26
  459. package/dist/bundle/meeting-semantic-3HU7I2SJ.js +0 -23
  460. package/dist/bundle/meetings-XWMB6FOH.js +0 -332
  461. package/dist/bundle/node-EGMCBAO7.js +0 -176
  462. package/dist/bundle/node-KM3CUABH.js +0 -2340
  463. package/dist/bundle/node-TLZSIHIJ.js +0 -21
  464. package/dist/bundle/node-sqlite-IJBWENFX.js +0 -74
  465. package/dist/bundle/oauth-SZDDAP7A.js +0 -20
  466. package/dist/bundle/open-NS3TMKZX.js +0 -23
  467. package/dist/bundle/openai-4DN6WI3B.js +0 -28
  468. package/dist/bundle/process-SGHEN6MQ.js +0 -91
  469. package/dist/bundle/prompt-HJFMPFVC.js +0 -17
  470. package/dist/bundle/public-C2ZB2AGQ.js +0 -198
  471. package/dist/bundle/recognize-2SEI5PPM.js +0 -26
  472. package/dist/bundle/remote-2DMS74XE.js +0 -32
  473. package/dist/bundle/rerank-H6GCYVIA.js +0 -52
  474. package/dist/bundle/run-log-QU26SUZP.js +0 -145
  475. package/dist/bundle/serve-ODVRPFJO.js +0 -199
  476. package/dist/bundle/server-NBPF6IDZ.js +0 -95
  477. package/dist/bundle/server-PCLIO24L.js +0 -228
  478. package/dist/bundle/services-4QAPXBLO.js +0 -607
  479. package/dist/bundle/speech-MA6ZT3WE.js +0 -89
  480. package/dist/bundle/sqlite-runtime-PVMAUXRN.js +0 -20
  481. package/dist/bundle/state-QFMTYUME.js +0 -36
  482. package/dist/bundle/store-25OTAQC3.js +0 -187
  483. package/dist/bundle/store-F724QIKJ.js +0 -305
  484. package/dist/bundle/store-connection-OGPXANGB.js +0 -111
  485. package/dist/bundle/store-maintenance-command-2CM7LLNQ.js +0 -83
  486. package/dist/bundle/streaming-S22C4DG5.js +0 -18
  487. package/dist/bundle/surface-7PXHWCF6.js +0 -81
  488. package/dist/bundle/tokens-NLUHA2DW.js +0 -25
  489. package/dist/login.d.ts +0 -16
  490. package/dist/login.d.ts.map +0 -1
  491. package/dist/login.js +0 -98
  492. package/dist/login.js.map +0 -1
@@ -1,82 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- CliError
5
- } from "./chunk-IANKXHSE.js";
6
- import {
7
- __name
8
- } from "./chunk-ZVVMGPBJ.js";
9
-
10
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
- var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
- var MAX_SECRET_INPUT = 64 * 1024;
13
- var policies = /* @__PURE__ */ new WeakMap();
14
- var inputPolicy = /* @__PURE__ */ __name((input) => policies.get(input) ?? {}, "inputPolicy");
15
- var provideInputPolicy = /* @__PURE__ */ __name((input, policy) => {
16
- const previous = policies.get(input);
17
- policies.set(input, policy);
18
- return () => {
19
- if (previous)
20
- policies.set(input, previous);
21
- else
22
- policies.delete(input);
23
- };
24
- }, "provideInputPolicy");
25
- var bufferedInput = /* @__PURE__ */ __name((input, options = {}) => {
26
- const policy = inputPolicy(input);
27
- const maxBytes = options.maxBytes ?? policy.maxBytes ?? MAX_BUFFERED_INPUT;
28
- const signals = [options.signal, policy.signal].filter((one) => one !== void 0);
29
- const signal = signals.length ? AbortSignal.any(signals) : void 0;
30
- const state = input;
31
- if (state.readableEnded)
32
- return Promise.resolve(Buffer.alloc(0));
33
- if (state.destroyed)
34
- return Promise.reject(new CliError("validation_error", "input closed before EOF", { reason: "input.closed" }));
35
- return new Promise((resolve, reject) => {
36
- const chunks = [];
37
- let bytes = 0;
38
- const cleanup = /* @__PURE__ */ __name(() => {
39
- input.off("data", data).off("end", end).off("error", error).off("close", closed);
40
- signal?.removeEventListener("abort", aborted);
41
- input.pause();
42
- }, "cleanup");
43
- const error = /* @__PURE__ */ __name((cause) => {
44
- cleanup();
45
- reject(cause);
46
- }, "error");
47
- const aborted = /* @__PURE__ */ __name(() => error(new CliError("cancelled", "input cancelled", { retryable: false })), "aborted");
48
- const closed = /* @__PURE__ */ __name(() => error(new CliError("validation_error", "input closed before EOF", { reason: "input.closed" })), "closed");
49
- const end = /* @__PURE__ */ __name(() => {
50
- cleanup();
51
- resolve(Buffer.concat(chunks, bytes));
52
- }, "end");
53
- const data = /* @__PURE__ */ __name((chunk) => {
54
- const buffer = Buffer.from(chunk);
55
- bytes += buffer.length;
56
- if (bytes > maxBytes) {
57
- error(new CliError("validation_error", `buffered input exceeds ${maxBytes} bytes \u2014 use a smaller input or --max-input-bytes`, {
58
- reason: "input.too-large",
59
- max_bytes: maxBytes,
60
- retryable: false
61
- }));
62
- return;
63
- }
64
- chunks.push(buffer);
65
- }, "data");
66
- if (signal?.aborted) {
67
- aborted();
68
- return;
69
- }
70
- input.on("data", data).once("end", end).once("error", error).once("close", closed);
71
- signal?.addEventListener("abort", aborted, { once: true });
72
- input.resume();
73
- });
74
- }, "bufferedInput");
75
-
76
- export {
77
- MAX_BUFFERED_INPUT,
78
- MAX_SECRET_INPUT,
79
- inputPolicy,
80
- provideInputPolicy,
81
- bufferedInput
82
- };
@@ -1,262 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- checkCancelled
5
- } from "./chunk-434YFJAE.js";
6
- import {
7
- BASE_CONSTANTS,
8
- baseConstantsSchema,
9
- loadConstants
10
- } from "./chunk-6CWL5BKG.js";
11
- import {
12
- nonEmpty,
13
- object,
14
- optional,
15
- pipe,
16
- string,
17
- transform
18
- } from "./chunk-ESN3W2MZ.js";
19
- import {
20
- CliError
21
- } from "./chunk-IANKXHSE.js";
22
- import {
23
- __name
24
- } from "./chunk-ZVVMGPBJ.js";
25
-
26
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/constants/obscure.js
27
- import { createDecipheriv } from "node:crypto";
28
- var KEY = Buffer.from("d43012779aa2dded3e98092a3dbcf5d8980c564172f5ce0a5fd0574e5f740339", "hex");
29
- var reveal = /* @__PURE__ */ __name((obscured) => {
30
- const bytes = Buffer.from(obscured, "base64url");
31
- const decipher = createDecipheriv("aes-256-ctr", KEY, bytes.subarray(0, 16));
32
- return Buffer.concat([decipher.update(bytes.subarray(16)), decipher.final()]).toString("utf8");
33
- }, "reveal");
34
-
35
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/constants/index.js
36
- var CORE_CONSTANTS = new URL("../../constants.json", new URL("constants/index.js", import.meta.resolve("@wirecat/cli-core")).href);
37
- var constantsSchema = object({
38
- ...baseConstantsSchema.entries,
39
- google: object({
40
- app: object({
41
- client_id: pipe(string(), nonEmpty(), transform(reveal)),
42
- client_secret: optional(pipe(string(), transform(reveal)))
43
- })
44
- }),
45
- microsoft: object({ app: object({ client_id: pipe(string(), nonEmpty()) }) })
46
- });
47
- var loaded = /* @__PURE__ */ new Map();
48
- var constants = /* @__PURE__ */ __name((toolLayer, schema2) => {
49
- const key = toolLayer?.href ?? "";
50
- if (!loaded.has(key)) {
51
- const layers = toolLayer ? [BASE_CONSTANTS, CORE_CONSTANTS, toolLayer] : [BASE_CONSTANTS, CORE_CONSTANTS];
52
- loaded.set(key, loadConstants(layers, schema2 ?? constantsSchema));
53
- }
54
- return loaded.get(key);
55
- }, "constants");
56
- var oauthApp = /* @__PURE__ */ __name((options) => {
57
- const { env, prefix, provider } = options;
58
- const name = `${prefix}_${provider.toUpperCase()}_CLIENT`;
59
- const clientSecret = env[`${name}_SECRET`];
60
- const own = [
61
- [options.clientId, "flag"],
62
- [env[`${name}_ID`], "env"],
63
- [options.configClientId, "config"]
64
- ];
65
- const [clientId, source] = own.find(([id]) => id) ?? [];
66
- if (clientId && source)
67
- return app({ clientId, ...clientSecret ? { clientSecret } : {} }, source);
68
- if (clientSecret)
69
- throw new CliError("configuration_error", `${name}_SECRET is set without a client id; set ${name}_ID too, or unset it to use WireCat's app`, { reason: "sign-in.secret-without-id" });
70
- const wirecat = options.wirecat;
71
- if (!wirecat?.client_id)
72
- return void 0;
73
- return app({ clientId: wirecat.client_id, ...wirecat.client_secret ? { clientSecret: wirecat.client_secret } : {} }, "constants");
74
- }, "oauthApp");
75
- var app = /* @__PURE__ */ __name((client, source) => ({ client: { ...client, source }, source }), "app");
76
- var oauthClientReport = /* @__PURE__ */ __name((app2, reason) => app2?.source ? { client: app2.source === "constants" ? "wirecat" : "own", source: app2.source } : { client: null, source: null, ...reason ? { reason } : {} }, "oauthClientReport");
77
-
78
- // dist/login.js
79
- import { createHash, randomBytes } from "node:crypto";
80
- import { createServer } from "node:http";
81
- var REDIRECT = "https://wirecat.dev/zoom-callback";
82
- var login = /* @__PURE__ */ __name(async (options) => {
83
- checkCancelled(options.signal);
84
- const verifier = randomBytes(48).toString("base64url");
85
- const challenge = createHash("sha256").update(verifier).digest("base64url");
86
- const controller = new AbortController();
87
- let state = "";
88
- let accept = /* @__PURE__ */ __name(() => {
89
- }, "accept");
90
- let fail = /* @__PURE__ */ __name(() => {
91
- }, "fail");
92
- const codePromise = new Promise((resolve, reject) => {
93
- accept = resolve;
94
- fail = reject;
95
- });
96
- const onAbort = /* @__PURE__ */ __name(() => {
97
- try {
98
- checkCancelled(options.signal);
99
- } catch (error) {
100
- fail(error instanceof Error ? error : new CliError("cancelled", "command cancelled"));
101
- }
102
- }, "onAbort");
103
- options.signal?.addEventListener("abort", onAbort, { once: true });
104
- void codePromise.catch(() => {
105
- });
106
- const server = createServer((request, response) => {
107
- const query = new URL(request.url ?? "/", "http://127.0.0.1");
108
- if (query.pathname !== "/callback") {
109
- response.writeHead(404).end();
110
- return;
111
- }
112
- if (query.searchParams.get("state") !== state) {
113
- response.writeHead(400).end("state does not match");
114
- return;
115
- }
116
- const code = query.searchParams.get("code");
117
- response.end("zm: received, you can close this tab");
118
- if (code)
119
- accept(code);
120
- else
121
- fail(new CliError("authentication_error", "Zoom login was not approved"));
122
- });
123
- const timer = setTimeout(() => fail(new CliError("authentication_error", "Zoom login timed out")), options.timeoutMs ?? 3e5);
124
- try {
125
- await new Promise((resolve, reject) => {
126
- server.once("error", reject);
127
- server.listen(0, "127.0.0.1", resolve);
128
- });
129
- const address = server.address();
130
- if (!address || typeof address === "string")
131
- throw new CliError("configuration_error", "could not start the local login listener");
132
- state = `${address.port}.${randomBytes(24).toString("base64url")}`;
133
- const authorize = new URL("https://zoom.us/oauth/authorize");
134
- authorize.search = new URLSearchParams({
135
- response_type: "code",
136
- client_id: options.tokens.options.clientId,
137
- redirect_uri: REDIRECT,
138
- code_challenge: challenge,
139
- code_challenge_method: "S256",
140
- state
141
- }).toString();
142
- checkCancelled(options.signal);
143
- options.showUrl?.(authorize.toString());
144
- const pastePromise = options.readPaste?.(controller.signal).then((text) => {
145
- const query = new URLSearchParams(text.includes("?") ? text.slice(text.indexOf("?") + 1) : text);
146
- if (query.get("state") !== state || !query.get("code"))
147
- throw new CliError("authentication_error", "pasted login must contain the matching code and state");
148
- return query.get("code") ?? "";
149
- });
150
- void Promise.resolve().then(() => options.openBrowser(authorize.toString())).catch(() => {
151
- if (!options.readPaste)
152
- fail(new CliError("configuration_error", "could not open the browser; retry with --browser <program>"));
153
- });
154
- const code = await (pastePromise ? Promise.race([codePromise, pastePromise]) : codePromise);
155
- controller.abort();
156
- const tokens = await options.tokens.exchange({
157
- grant_type: "authorization_code",
158
- code,
159
- redirect_uri: REDIRECT,
160
- code_verifier: verifier
161
- });
162
- return { loggedIn: true, scopes: tokens.scopes, credentialStorage: options.tokens.storageOf() };
163
- } finally {
164
- options.signal?.removeEventListener("abort", onAbort);
165
- clearTimeout(timer);
166
- controller.abort();
167
- server.close();
168
- server.closeAllConnections();
169
- }
170
- }, "login");
171
-
172
- // dist/zoom-app.js
173
- var schema = object({
174
- ...constantsSchema.entries,
175
- zoom: object({ app: object({ client_id: string() }) })
176
- });
177
- var ZOOM_CONSTANTS = new URL("../constants.json", new URL("../zoom-app.js", import.meta.url).href);
178
- var NO_ZOOM_APP = "WireCat has no Zoom app yet; make your own (docs/zoom-app.md) and set zoom.client_id or ZM_ZOOM_CLIENT_ID";
179
- var SET_ZOOM_APP = "run zm config set zoom.client_id <Public Client ID> first, or set ZM_ZOOM_CLIENT_ID";
180
- var zoomApp = /* @__PURE__ */ __name((options) => oauthApp({
181
- provider: "zoom",
182
- prefix: "ZM",
183
- env: options.env,
184
- clientId: options.clientId,
185
- configClientId: options.configClientId ?? void 0,
186
- wirecat: constants(ZOOM_CONSTANTS, schema).zoom.app
187
- }), "zoomApp");
188
- var zoomClientId = /* @__PURE__ */ __name((config, env) => zoomApp({ env, configClientId: config?.clientId })?.client.clientId, "zoomClientId");
189
- var zoomClientReport = /* @__PURE__ */ __name((config, env) => oauthClientReport(zoomApp({ env, configClientId: config?.clientId }), NO_ZOOM_APP), "zoomClientReport");
190
- var checkedClientId = /* @__PURE__ */ __name((value) => {
191
- if (!value.trim() || /\s/.test(value))
192
- throw new CliError("validation_error", "client id must not contain whitespace");
193
- return value;
194
- }, "checkedClientId");
195
- var ZOOM_APP_BUILD_URL = "https://marketplace.zoom.us/develop/create";
196
- var ZOOM_APP_GUIDE_URL = "https://github.com/WireCatLabs/zoom-cli/blob/main/docs/zoom-app.md";
197
- var ZOOM_APP_SCOPES = [
198
- { scope: "meeting:read:list_meetings", required: true, use: "find your meetings and scheduled series" },
199
- { scope: "meeting:read:list_past_instances", required: true, use: "find each meeting that ran" },
200
- { scope: "cloud_recording:read:meeting_transcript", required: true, use: "read meeting transcripts" },
201
- { scope: "meeting:read:list_past_participants", required: true, use: "read who joined and when" },
202
- { scope: "meeting:read:summary", required: true, use: "read Zoom AI summaries" },
203
- { scope: "cloud_recording:read:list_user_recordings", required: false, use: "find your cloud recordings" },
204
- { scope: "cloud_recording:read:list_recording_files", required: false, use: "download recordings and meeting chat" },
205
- { scope: "user:read:user", required: false, use: "session status --check" },
206
- { scope: "meeting:read:meeting", required: false, use: "show one meeting, prepare a series" },
207
- { scope: "meeting:read:past_meeting", required: false, use: "meetings show reads a meeting that ran from Zoom" },
208
- { scope: "meeting:read:invitation", required: false, use: "show a meeting's invitation" },
209
- { scope: "meeting:write:meeting", required: false, use: "create a meeting" },
210
- { scope: "meeting:update:meeting", required: false, use: "change a meeting" },
211
- { scope: "meeting:delete:meeting", required: false, use: "cancel a meeting" },
212
- { scope: "team_chat:read:list_contacts", required: false, use: "contacts list" },
213
- { scope: "team_chat:read:contact", required: false, use: "contacts show" },
214
- { scope: "agentic_search:read:search", required: false, use: "zoom search" }
215
- ];
216
- var zoomAppSetup = /* @__PURE__ */ __name(() => ({
217
- marketplace_url: ZOOM_APP_BUILD_URL,
218
- guide_url: ZOOM_APP_GUIDE_URL,
219
- app_type: "General app",
220
- management: "User-managed",
221
- oauth: "Public Client OAuth",
222
- redirect_url: REDIRECT,
223
- allow_list: [REDIRECT],
224
- scopes: ZOOM_APP_SCOPES,
225
- config_key: "zoom.client_id"
226
- }), "zoomAppSetup");
227
- var zoomAppChecklist = /* @__PURE__ */ __name(() => {
228
- const scopes = /* @__PURE__ */ __name((required) => ZOOM_APP_SCOPES.filter((one) => one.required === required).map((one) => one.scope).join(", "), "scopes");
229
- return [
230
- `1. Open ${ZOOM_APP_BUILD_URL} and build a General app.`,
231
- "2. Choose User-managed. Under App Credentials, turn on Use Public Client OAuth and copy the Public Client ID.",
232
- `3. OAuth Redirect URL: ${REDIRECT}`,
233
- `4. OAuth Allow List: ${REDIRECT}`,
234
- `5. Add the scopes meetings sync needs: ${scopes(true)}`,
235
- ` Only for the features you use: ${scopes(false)}`,
236
- "6. Run zm config set zoom.client_id <Public Client ID>, then zm <profile> session start.",
237
- `The whole guide: ${ZOOM_APP_GUIDE_URL}`
238
- ].join("\n");
239
- }, "zoomAppChecklist");
240
- var CLIENT_ID_NEED = {
241
- field: "client_id",
242
- secret: false,
243
- prompt: "Public Client ID of your Zoom app",
244
- hint: `Build a General app (User-managed, Public Client OAuth) at ${ZOOM_APP_BUILD_URL}; zm app lists what to enter.`
245
- };
246
-
247
- export {
248
- login,
249
- ZOOM_CONSTANTS,
250
- NO_ZOOM_APP,
251
- SET_ZOOM_APP,
252
- zoomApp,
253
- zoomClientId,
254
- zoomClientReport,
255
- checkedClientId,
256
- ZOOM_APP_BUILD_URL,
257
- ZOOM_APP_GUIDE_URL,
258
- ZOOM_APP_SCOPES,
259
- zoomAppSetup,
260
- zoomAppChecklist,
261
- CLIENT_ID_NEED
262
- };
@@ -1,100 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- MAX_SECRET_INPUT,
5
- bufferedInput,
6
- inputPolicy
7
- } from "./chunk-OBXQLFT5.js";
8
- import {
9
- CliError
10
- } from "./chunk-IANKXHSE.js";
11
- import {
12
- __name
13
- } from "./chunk-ZVVMGPBJ.js";
14
-
15
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
- import { createInterface } from "node:readline";
17
- import { Writable } from "node:stream";
18
- var EMPTY_TRIES = 3;
19
- var pasteHint = /* @__PURE__ */ __name((platform = process.platform) => `Nothing arrived. To paste in a terminal, use ${platform === "darwin" ? "Cmd+V" : "Ctrl+Shift+V (or right-click \u2192 Paste)"}.`, "pasteHint");
20
- var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
21
- const policy = inputPolicy(input);
22
- const signals = [givenSignal, policy.signal].filter((one) => one !== void 0);
23
- const signal = signals.length ? AbortSignal.any(signals) : void 0;
24
- const cancelled = /* @__PURE__ */ __name(() => new CliError("cancelled", "cancelled \u2014 nothing was stored"), "cancelled");
25
- if (signal?.aborted)
26
- throw cancelled();
27
- if (input.isTTY && policy.noInput)
28
- throw new CliError("validation_error", "interactive input is disabled \u2014 provide the input through a pipe", {
29
- reason: "input.required"
30
- });
31
- if (!input.isTTY) {
32
- return (await bufferedInput(input, {
33
- maxBytes: Math.min(policy.maxBytes ?? MAX_SECRET_INPUT, MAX_SECRET_INPUT),
34
- ...signal ? { signal } : {}
35
- })).toString("utf8").trim();
36
- }
37
- let muted = false;
38
- const shim = new Writable({
39
- write(chunk, _encoding, done) {
40
- if (!muted)
41
- output.write(chunk);
42
- done();
43
- }
44
- });
45
- const reader = createInterface({ input, output: shim, terminal: true });
46
- const abort = /* @__PURE__ */ __name(() => reader.close(), "abort");
47
- let bytes = 0;
48
- let inputFailure;
49
- const data = /* @__PURE__ */ __name((chunk) => {
50
- bytes += Buffer.byteLength(chunk);
51
- if (bytes > Math.min(policy.maxBytes ?? MAX_SECRET_INPUT, MAX_SECRET_INPUT)) {
52
- inputFailure = new CliError("validation_error", "secret input exceeds its byte limit", {
53
- reason: "input.too-large",
54
- retryable: false
55
- });
56
- reader.close();
57
- }
58
- }, "data");
59
- const inputError = /* @__PURE__ */ __name((error) => {
60
- inputFailure = error;
61
- reader.close();
62
- }, "inputError");
63
- input.on("data", data).on("error", inputError);
64
- try {
65
- const answer = await new Promise((resolve, reject) => {
66
- const cancel = /* @__PURE__ */ __name(() => reject(inputFailure ?? cancelled()), "cancel");
67
- reader.once("SIGINT", cancel);
68
- reader.once("close", cancel);
69
- signal?.addEventListener("abort", abort, { once: true });
70
- const ask = /* @__PURE__ */ __name((tries) => {
71
- muted = false;
72
- reader.question(prompt, (line) => {
73
- if (echo || line.trim() || tries >= EMPTY_TRIES)
74
- return resolve(line);
75
- output.write(`
76
- ${pasteHint()}
77
- `);
78
- ask(tries + 1);
79
- });
80
- muted = !echo;
81
- }, "ask");
82
- ask(1);
83
- });
84
- if (!echo && !answer.trim())
85
- throw new CliError("validation_error", `nothing arrived after ${EMPTY_TRIES} tries. ${pasteHint()}`, {
86
- reason: "input.empty"
87
- });
88
- return answer.trim();
89
- } finally {
90
- input.off("data", data).off("error", inputError);
91
- signal?.removeEventListener("abort", abort);
92
- reader.close();
93
- output.write("\n");
94
- }
95
- }, "readSecret");
96
-
97
- export {
98
- pasteHint,
99
- readSecret
100
- };
@@ -1,185 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- isCommandServer
5
- } from "./chunk-N3JLO63O.js";
6
- import {
7
- stdinFieldOf
8
- } from "./chunk-Q7ICVP25.js";
9
- import {
10
- commandPathOf
11
- } from "./chunk-L75SMSJR.js";
12
- import {
13
- commandServerRequest,
14
- metaOf
15
- } from "./chunk-V5EJSF2B.js";
16
- import {
17
- errorObjectOf,
18
- renderError
19
- } from "./chunk-ESN3W2MZ.js";
20
- import {
21
- CliError
22
- } from "./chunk-IANKXHSE.js";
23
- import {
24
- __name
25
- } from "./chunk-ZVVMGPBJ.js";
26
-
27
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/command-server.js
28
- import { createInterface } from "node:readline";
29
- var COMMAND_SERVER_PROTOCOL = 1;
30
- var COMMAND_SERVER_IDLE_MS = 10 * 6e4;
31
- var COMMAND_SERVER_CONCURRENT = 8;
32
- var runsAlone = /* @__PURE__ */ __name((command) => commandPathOf(command)[0] === "store", "runsAlone");
33
- var enterCommandServer = /* @__PURE__ */ __name(async (command, cli) => {
34
- const request = commandServerRequest();
35
- if (!request)
36
- return;
37
- refuseInCommandServer(command, cli);
38
- if (runsAlone(command))
39
- await request.alone();
40
- }, "enterCommandServer");
41
- var refuseInCommandServer = /* @__PURE__ */ __name((command, cli) => {
42
- if (!commandServerRequest())
43
- return;
44
- const typed = [cli, ...commandPathOf(command)].join(" ");
45
- const { lifetime } = metaOf(command);
46
- if (lifetime)
47
- throw new CliError("validation_error", `\`${typed}\` ${lifetime === "persistent" ? "runs until it is stopped" : "waits on a person"}; the command server runs only commands that return \u2014 start it as a process of its own`);
48
- if (stdinFieldOf(command))
49
- throw new CliError("validation_error", `\`${typed}\` reads its input on stdin, which the command server does not pass on \u2014 start it as a process of its own`);
50
- }, "refuseInCommandServer");
51
- var refusal = /* @__PURE__ */ __name((cli, message) => `${renderError(errorObjectOf(new CliError("validation_error", message)), { cli, interactive: false })}
52
- `, "refusal");
53
- var requestOf = /* @__PURE__ */ __name((line, cli) => {
54
- let parsed;
55
- try {
56
- parsed = JSON.parse(line);
57
- } catch {
58
- return { id: null, error: "a request is one JSON object per line" };
59
- }
60
- const { id, argv } = parsed ?? {};
61
- const known = typeof id === "number" && Number.isFinite(id) ? id : null;
62
- if (known === null)
63
- return { id: null, error: 'a request needs a numeric "id"' };
64
- if (!Array.isArray(argv) || !argv.every((word) => typeof word === "string"))
65
- return { id: known, error: '"argv" is a list of strings' };
66
- if (isCommandServer(argv))
67
- return { id: known, error: `\`${cli} commands --serve\` cannot run inside itself` };
68
- return { id: known, argv };
69
- }, "requestOf");
70
- var serveCommands = /* @__PURE__ */ __name(async ({ input, write, run, cli, version, idleMs = COMMAND_SERVER_IDLE_MS, concurrent = COMMAND_SERVER_CONCURRENT, signal }) => {
71
- const send = /* @__PURE__ */ __name((value) => write(`${JSON.stringify(value)}
72
- `), "send");
73
- await send({ ready: true, protocol: COMMAND_SERVER_PROTOCOL, version, concurrent });
74
- const lines = createInterface({ input, crlfDelay: Number.POSITIVE_INFINITY });
75
- return new Promise((resolve) => {
76
- const waiting = [];
77
- let active = 0;
78
- let running = 0;
79
- let gated = false;
80
- let drained;
81
- let turns = Promise.resolve();
82
- let timer;
83
- let ending = false;
84
- let done = false;
85
- const finish = /* @__PURE__ */ __name(() => {
86
- if (done)
87
- return;
88
- done = true;
89
- clearTimeout(timer);
90
- lines.close();
91
- resolve(0);
92
- }, "finish");
93
- const settle = /* @__PURE__ */ __name(() => {
94
- if (running === 0 && drained) {
95
- const go = drained;
96
- drained = void 0;
97
- go();
98
- }
99
- pump();
100
- if (active > 0 || waiting.length > 0 || done)
101
- return;
102
- if (ending)
103
- finish();
104
- else {
105
- clearTimeout(timer);
106
- timer = setTimeout(finish, idleMs);
107
- }
108
- }, "settle");
109
- const start = /* @__PURE__ */ __name((line) => {
110
- active += 1;
111
- running += 1;
112
- let holdsPlace = true;
113
- let ended = false;
114
- let turn;
115
- let release;
116
- const alone = /* @__PURE__ */ __name(() => {
117
- if (turn)
118
- return turn;
119
- holdsPlace = false;
120
- running -= 1;
121
- turn = turns.then(() => new Promise((go) => {
122
- if (ended)
123
- return go();
124
- gated = true;
125
- drained = /* @__PURE__ */ __name(() => {
126
- if (ended)
127
- gated = false;
128
- else {
129
- holdsPlace = true;
130
- running += 1;
131
- }
132
- go();
133
- }, "drained");
134
- settle();
135
- }));
136
- turns = turn.then(() => ended && !holdsPlace ? void 0 : new Promise((free) => release = free));
137
- return turn;
138
- }, "alone");
139
- const answer = /* @__PURE__ */ __name(async () => {
140
- const request = requestOf(line, cli);
141
- if ("error" in request)
142
- return send({ id: request.id, code: 2, stdout: "", stderr: refusal(cli, request.error) });
143
- const answered = await run(request.argv, alone);
144
- return send({ id: request.id, ...answered });
145
- }, "answer");
146
- answer().catch(finish).finally(() => {
147
- ended = true;
148
- active -= 1;
149
- if (holdsPlace)
150
- running -= 1;
151
- if (release) {
152
- gated = false;
153
- release();
154
- }
155
- settle();
156
- });
157
- }, "start");
158
- const pump = /* @__PURE__ */ __name(() => {
159
- while (!done && !gated && running < concurrent && waiting.length > 0)
160
- start(waiting.shift());
161
- }, "pump");
162
- lines.on("line", (line) => {
163
- if (done || ending || line.trim() === "")
164
- return;
165
- clearTimeout(timer);
166
- waiting.push(line);
167
- pump();
168
- });
169
- const end = /* @__PURE__ */ __name(() => {
170
- ending = true;
171
- settle();
172
- }, "end");
173
- lines.on("close", end);
174
- if (signal?.aborted)
175
- end();
176
- signal?.addEventListener("abort", end, { once: true });
177
- settle();
178
- });
179
- }, "serveCommands");
180
-
181
- export {
182
- COMMAND_SERVER_CONCURRENT,
183
- enterCommandServer,
184
- serveCommands
185
- };