@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
@@ -0,0 +1,922 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ REDIRECT
5
+ } from "./chunk-AF2Z6VOG.js";
6
+ import {
7
+ __name
8
+ } from "./chunk-AEWYRB6F.js";
9
+
10
+ // dist/zoom-app.js
11
+ import { CliError } from "@wirecat/cli-base";
12
+ import { constants, constantsSchema, oauthApp, oauthClientReport } from "@wirecat/cli-core";
13
+
14
+ // node_modules/.pnpm/valibot@1.5.0_typescript@7.0.2/node_modules/valibot/dist/index.mjs
15
+ var store$4;
16
+ var DEFAULT_CONFIG = {
17
+ lang: void 0,
18
+ message: void 0,
19
+ abortEarly: void 0,
20
+ abortPipeEarly: void 0
21
+ };
22
+ // @__NO_SIDE_EFFECTS__
23
+ function getGlobalConfig(config$1) {
24
+ if (!config$1 && !store$4) return DEFAULT_CONFIG;
25
+ return {
26
+ lang: config$1?.lang ?? store$4?.lang,
27
+ message: config$1?.message,
28
+ abortEarly: config$1?.abortEarly ?? store$4?.abortEarly,
29
+ abortPipeEarly: config$1?.abortPipeEarly ?? store$4?.abortPipeEarly
30
+ };
31
+ }
32
+ __name(getGlobalConfig, "getGlobalConfig");
33
+ var store$3;
34
+ // @__NO_SIDE_EFFECTS__
35
+ function getGlobalMessage(lang) {
36
+ return store$3?.get(lang);
37
+ }
38
+ __name(getGlobalMessage, "getGlobalMessage");
39
+ var store$2;
40
+ // @__NO_SIDE_EFFECTS__
41
+ function getSchemaMessage(lang) {
42
+ return store$2?.get(lang);
43
+ }
44
+ __name(getSchemaMessage, "getSchemaMessage");
45
+ var store$1;
46
+ // @__NO_SIDE_EFFECTS__
47
+ function getSpecificMessage(reference, lang) {
48
+ return store$1?.get(reference)?.get(lang);
49
+ }
50
+ __name(getSpecificMessage, "getSpecificMessage");
51
+ // @__NO_SIDE_EFFECTS__
52
+ function _stringify(input) {
53
+ const type = typeof input;
54
+ if (type === "string") return `"${input}"`;
55
+ if (type === "number" || type === "bigint" || type === "boolean") return `${input}`;
56
+ if (type === "object" || type === "function") return (input && Object.getPrototypeOf(input)?.constructor?.name) ?? "null";
57
+ return type;
58
+ }
59
+ __name(_stringify, "_stringify");
60
+ function _addIssue(context, label, dataset, config$1, other) {
61
+ const input = other && "input" in other ? other.input : dataset.value;
62
+ const expected = other?.expected ?? context.expects ?? null;
63
+ const received = other?.received ?? /* @__PURE__ */ _stringify(input);
64
+ const issue = {
65
+ kind: context.kind,
66
+ type: context.type,
67
+ input,
68
+ expected,
69
+ received,
70
+ message: `Invalid ${label}: ${expected ? `Expected ${expected} but r` : "R"}eceived ${received}`,
71
+ requirement: context.requirement,
72
+ path: other?.path,
73
+ issues: other?.issues,
74
+ lang: config$1.lang,
75
+ abortEarly: config$1.abortEarly,
76
+ abortPipeEarly: config$1.abortPipeEarly
77
+ };
78
+ const isSchema = context.kind === "schema";
79
+ const message$1 = other?.message ?? context.message ?? /* @__PURE__ */ getSpecificMessage(context.reference, issue.lang) ?? (isSchema ? /* @__PURE__ */ getSchemaMessage(issue.lang) : null) ?? config$1.message ?? /* @__PURE__ */ getGlobalMessage(issue.lang);
80
+ if (message$1 !== void 0) issue.message = typeof message$1 === "function" ? message$1(issue) : message$1;
81
+ if (isSchema) dataset.typed = false;
82
+ if (dataset.issues) dataset.issues.push(issue);
83
+ else dataset.issues = [issue];
84
+ }
85
+ __name(_addIssue, "_addIssue");
86
+ // @__NO_SIDE_EFFECTS__
87
+ function _isSameValueZero(value1, value2) {
88
+ return value1 === value2 || Number.isNaN(value1) && Number.isNaN(value2);
89
+ }
90
+ __name(_isSameValueZero, "_isSameValueZero");
91
+ // @__NO_SIDE_EFFECTS__
92
+ function _isValidObjectKey(object$1, key) {
93
+ return Object.prototype.hasOwnProperty.call(object$1, key) && key !== "__proto__" && key !== "prototype" && key !== "constructor";
94
+ }
95
+ __name(_isValidObjectKey, "_isValidObjectKey");
96
+ // @__NO_SIDE_EFFECTS__
97
+ function _joinExpects(values$1, separator) {
98
+ const list = [...new Set(values$1)];
99
+ if (list.length > 1) return `(${list.join(` ${separator} `)})`;
100
+ return list[0] ?? "never";
101
+ }
102
+ __name(_joinExpects, "_joinExpects");
103
+ function _standardSchema(schema2) {
104
+ schema2["~standard"] = {
105
+ version: 1,
106
+ vendor: "valibot",
107
+ validate: /* @__PURE__ */ __name((value$1) => schema2["~run"]({ value: value$1 }, /* @__PURE__ */ getGlobalConfig()), "validate")
108
+ };
109
+ return schema2;
110
+ }
111
+ __name(_standardSchema, "_standardSchema");
112
+ var ValiError = class extends Error {
113
+ static {
114
+ __name(this, "ValiError");
115
+ }
116
+ /**
117
+ * Creates a Valibot error with useful information.
118
+ *
119
+ * @param issues The error issues.
120
+ */
121
+ constructor(issues) {
122
+ super(issues[0].message);
123
+ this.name = "ValiError";
124
+ this.issues = issues;
125
+ }
126
+ };
127
+ var EMOJI_REGEX = new RegExp("^(?:[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|(?![\\p{Emoji_Modifier_Base}\\u{1F1E6}-\\u{1F1FF}])\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|(?![\\p{Emoji_Modifier_Base}\\u{1F1E6}-\\u{1F1FF}])\\p{Emoji_Presentation}))*)+$", "u");
128
+ var ISO_TIMESTAMP_REGEX = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3])(?::[0-5]\d){2}(?:\.\d{1,9})?(?:Z| ?[+-](?:0\d|1\d|2[0-3])(?::?[0-5]\d)?)$/u;
129
+ // @__NO_SIDE_EFFECTS__
130
+ function check(requirement, message$1) {
131
+ return {
132
+ kind: "validation",
133
+ type: "check",
134
+ reference: check,
135
+ async: false,
136
+ expects: null,
137
+ requirement,
138
+ message: message$1,
139
+ "~run"(dataset, config$1) {
140
+ if (dataset.typed && !this.requirement(dataset.value)) _addIssue(this, "input", dataset, config$1);
141
+ return dataset;
142
+ }
143
+ };
144
+ }
145
+ __name(check, "check");
146
+ // @__NO_SIDE_EFFECTS__
147
+ function integer(message$1) {
148
+ return {
149
+ kind: "validation",
150
+ type: "integer",
151
+ reference: integer,
152
+ async: false,
153
+ expects: null,
154
+ requirement: Number.isInteger,
155
+ message: message$1,
156
+ "~run"(dataset, config$1) {
157
+ if (dataset.typed && !this.requirement(dataset.value)) _addIssue(this, "integer", dataset, config$1);
158
+ return dataset;
159
+ }
160
+ };
161
+ }
162
+ __name(integer, "integer");
163
+ // @__NO_SIDE_EFFECTS__
164
+ function isoTimestamp(message$1) {
165
+ return {
166
+ kind: "validation",
167
+ type: "iso_timestamp",
168
+ reference: isoTimestamp,
169
+ async: false,
170
+ expects: null,
171
+ requirement: ISO_TIMESTAMP_REGEX,
172
+ message: message$1,
173
+ "~run"(dataset, config$1) {
174
+ if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue(this, "timestamp", dataset, config$1);
175
+ return dataset;
176
+ }
177
+ };
178
+ }
179
+ __name(isoTimestamp, "isoTimestamp");
180
+ // @__NO_SIDE_EFFECTS__
181
+ function maxLength(requirement, message$1) {
182
+ return {
183
+ kind: "validation",
184
+ type: "max_length",
185
+ reference: maxLength,
186
+ async: false,
187
+ expects: `<=${requirement}`,
188
+ requirement,
189
+ message: message$1,
190
+ "~run"(dataset, config$1) {
191
+ if (dataset.typed && dataset.value.length > this.requirement) _addIssue(this, "length", dataset, config$1, { received: `${dataset.value.length}` });
192
+ return dataset;
193
+ }
194
+ };
195
+ }
196
+ __name(maxLength, "maxLength");
197
+ // @__NO_SIDE_EFFECTS__
198
+ function minLength(requirement, message$1) {
199
+ return {
200
+ kind: "validation",
201
+ type: "min_length",
202
+ reference: minLength,
203
+ async: false,
204
+ expects: `>=${requirement}`,
205
+ requirement,
206
+ message: message$1,
207
+ "~run"(dataset, config$1) {
208
+ if (dataset.typed && dataset.value.length < this.requirement) _addIssue(this, "length", dataset, config$1, { received: `${dataset.value.length}` });
209
+ return dataset;
210
+ }
211
+ };
212
+ }
213
+ __name(minLength, "minLength");
214
+ // @__NO_SIDE_EFFECTS__
215
+ function minValue(requirement, message$1) {
216
+ return {
217
+ kind: "validation",
218
+ type: "min_value",
219
+ reference: minValue,
220
+ async: false,
221
+ expects: `>=${requirement instanceof Date ? requirement.toJSON() : /* @__PURE__ */ _stringify(requirement)}`,
222
+ requirement,
223
+ message: message$1,
224
+ "~run"(dataset, config$1) {
225
+ if (dataset.typed && !(dataset.value >= this.requirement)) _addIssue(this, "value", dataset, config$1, { received: dataset.value instanceof Date ? dataset.value.toJSON() : /* @__PURE__ */ _stringify(dataset.value) });
226
+ return dataset;
227
+ }
228
+ };
229
+ }
230
+ __name(minValue, "minValue");
231
+ // @__NO_SIDE_EFFECTS__
232
+ function regex(requirement, message$1) {
233
+ return {
234
+ kind: "validation",
235
+ type: "regex",
236
+ reference: regex,
237
+ async: false,
238
+ expects: `${requirement}`,
239
+ requirement,
240
+ message: message$1,
241
+ "~run"(dataset, config$1) {
242
+ if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue(this, "format", dataset, config$1);
243
+ return dataset;
244
+ }
245
+ };
246
+ }
247
+ __name(regex, "regex");
248
+ // @__NO_SIDE_EFFECTS__
249
+ function getFallback(schema2, dataset, config$1) {
250
+ return typeof schema2.fallback === "function" ? schema2.fallback(dataset, config$1) : schema2.fallback;
251
+ }
252
+ __name(getFallback, "getFallback");
253
+ // @__NO_SIDE_EFFECTS__
254
+ function getDefault(schema2, dataset, config$1) {
255
+ return typeof schema2.default === "function" ? schema2.default(dataset, config$1) : schema2.default;
256
+ }
257
+ __name(getDefault, "getDefault");
258
+ // @__NO_SIDE_EFFECTS__
259
+ function array(item, message$1) {
260
+ return _standardSchema({
261
+ kind: "schema",
262
+ type: "array",
263
+ reference: array,
264
+ expects: "Array",
265
+ async: false,
266
+ item,
267
+ message: message$1,
268
+ "~run"(dataset, config$1) {
269
+ const input = dataset.value;
270
+ if (Array.isArray(input)) {
271
+ dataset.typed = true;
272
+ dataset.value = [];
273
+ for (let key = 0; key < input.length; key++) {
274
+ const value$1 = input[key];
275
+ const itemDataset = this.item["~run"]({ value: value$1 }, config$1);
276
+ if (itemDataset.issues) {
277
+ const pathItem = {
278
+ type: "array",
279
+ origin: "value",
280
+ input,
281
+ key,
282
+ value: value$1
283
+ };
284
+ for (const issue of itemDataset.issues) {
285
+ if (issue.path) issue.path.unshift(pathItem);
286
+ else issue.path = [pathItem];
287
+ dataset.issues?.push(issue);
288
+ }
289
+ if (!dataset.issues) dataset.issues = itemDataset.issues;
290
+ if (config$1.abortEarly) {
291
+ dataset.typed = false;
292
+ break;
293
+ }
294
+ }
295
+ if (!itemDataset.typed) dataset.typed = false;
296
+ dataset.value.push(itemDataset.value);
297
+ }
298
+ } else _addIssue(this, "type", dataset, config$1);
299
+ return dataset;
300
+ }
301
+ });
302
+ }
303
+ __name(array, "array");
304
+ // @__NO_SIDE_EFFECTS__
305
+ function boolean(message$1) {
306
+ return _standardSchema({
307
+ kind: "schema",
308
+ type: "boolean",
309
+ reference: boolean,
310
+ expects: "boolean",
311
+ async: false,
312
+ message: message$1,
313
+ "~run"(dataset, config$1) {
314
+ if (typeof dataset.value === "boolean") dataset.typed = true;
315
+ else _addIssue(this, "type", dataset, config$1);
316
+ return dataset;
317
+ }
318
+ });
319
+ }
320
+ __name(boolean, "boolean");
321
+ // @__NO_SIDE_EFFECTS__
322
+ function custom(check$1, message$1) {
323
+ return _standardSchema({
324
+ kind: "schema",
325
+ type: "custom",
326
+ reference: custom,
327
+ expects: "unknown",
328
+ async: false,
329
+ check: check$1,
330
+ message: message$1,
331
+ "~run"(dataset, config$1) {
332
+ if (this.check(dataset.value)) dataset.typed = true;
333
+ else _addIssue(this, "type", dataset, config$1);
334
+ return dataset;
335
+ }
336
+ });
337
+ }
338
+ __name(custom, "custom");
339
+ // @__NO_SIDE_EFFECTS__
340
+ function literal(literal_, message$1) {
341
+ return _standardSchema({
342
+ kind: "schema",
343
+ type: "literal",
344
+ reference: literal,
345
+ expects: /* @__PURE__ */ _stringify(literal_),
346
+ async: false,
347
+ literal: literal_,
348
+ message: message$1,
349
+ "~run"(dataset, config$1) {
350
+ if (/* @__PURE__ */ _isSameValueZero(dataset.value, this.literal)) dataset.typed = true;
351
+ else _addIssue(this, "type", dataset, config$1);
352
+ return dataset;
353
+ }
354
+ });
355
+ }
356
+ __name(literal, "literal");
357
+ // @__NO_SIDE_EFFECTS__
358
+ function looseObject(entries$1, message$1) {
359
+ return _standardSchema({
360
+ kind: "schema",
361
+ type: "loose_object",
362
+ reference: looseObject,
363
+ expects: "Object",
364
+ async: false,
365
+ entries: entries$1,
366
+ message: message$1,
367
+ "~run"(dataset, config$1) {
368
+ const input = dataset.value;
369
+ if (input && typeof input === "object") {
370
+ dataset.typed = true;
371
+ dataset.value = {};
372
+ for (const key in this.entries) {
373
+ const valueSchema = this.entries[key];
374
+ if (key in input || (valueSchema.type === "exact_optional" || valueSchema.type === "optional" || valueSchema.type === "nullish") && valueSchema.default !== void 0) {
375
+ const value$1 = key in input ? input[key] : /* @__PURE__ */ getDefault(valueSchema);
376
+ const valueDataset = valueSchema["~run"]({ value: value$1 }, config$1);
377
+ if (valueDataset.issues) {
378
+ const pathItem = {
379
+ type: "object",
380
+ origin: "value",
381
+ input,
382
+ key,
383
+ value: value$1
384
+ };
385
+ for (const issue of valueDataset.issues) {
386
+ if (issue.path) issue.path.unshift(pathItem);
387
+ else issue.path = [pathItem];
388
+ dataset.issues?.push(issue);
389
+ }
390
+ if (!dataset.issues) dataset.issues = valueDataset.issues;
391
+ if (config$1.abortEarly) {
392
+ dataset.typed = false;
393
+ break;
394
+ }
395
+ }
396
+ if (!valueDataset.typed) dataset.typed = false;
397
+ dataset.value[key] = valueDataset.value;
398
+ } else if (valueSchema.fallback !== void 0) dataset.value[key] = /* @__PURE__ */ getFallback(valueSchema);
399
+ else if (valueSchema.type !== "exact_optional" && valueSchema.type !== "optional" && valueSchema.type !== "nullish") {
400
+ _addIssue(this, "key", dataset, config$1, {
401
+ input: void 0,
402
+ expected: `"${key}"`,
403
+ path: [{
404
+ type: "object",
405
+ origin: "key",
406
+ input,
407
+ key,
408
+ value: input[key]
409
+ }]
410
+ });
411
+ if (config$1.abortEarly) break;
412
+ }
413
+ }
414
+ if (!dataset.issues || !config$1.abortEarly) {
415
+ for (const key in input) if (/* @__PURE__ */ _isValidObjectKey(input, key) && !Object.prototype.hasOwnProperty.call(this.entries, key)) dataset.value[key] = input[key];
416
+ }
417
+ } else _addIssue(this, "type", dataset, config$1);
418
+ return dataset;
419
+ }
420
+ });
421
+ }
422
+ __name(looseObject, "looseObject");
423
+ // @__NO_SIDE_EFFECTS__
424
+ function nullable(wrapped, default_) {
425
+ return _standardSchema({
426
+ kind: "schema",
427
+ type: "nullable",
428
+ reference: nullable,
429
+ expects: `(${wrapped.expects} | null)`,
430
+ async: false,
431
+ wrapped,
432
+ default: default_,
433
+ "~run"(dataset, config$1) {
434
+ if (dataset.value === null) {
435
+ if (this.default !== void 0) dataset.value = /* @__PURE__ */ getDefault(this, dataset, config$1);
436
+ if (dataset.value === null) {
437
+ dataset.typed = true;
438
+ return dataset;
439
+ }
440
+ }
441
+ return this.wrapped["~run"](dataset, config$1);
442
+ }
443
+ });
444
+ }
445
+ __name(nullable, "nullable");
446
+ // @__NO_SIDE_EFFECTS__
447
+ function number(message$1) {
448
+ return _standardSchema({
449
+ kind: "schema",
450
+ type: "number",
451
+ reference: number,
452
+ expects: "number",
453
+ async: false,
454
+ message: message$1,
455
+ "~run"(dataset, config$1) {
456
+ if (typeof dataset.value === "number" && !isNaN(dataset.value)) dataset.typed = true;
457
+ else _addIssue(this, "type", dataset, config$1);
458
+ return dataset;
459
+ }
460
+ });
461
+ }
462
+ __name(number, "number");
463
+ // @__NO_SIDE_EFFECTS__
464
+ function object(entries$1, message$1) {
465
+ return _standardSchema({
466
+ kind: "schema",
467
+ type: "object",
468
+ reference: object,
469
+ expects: "Object",
470
+ async: false,
471
+ entries: entries$1,
472
+ message: message$1,
473
+ "~run"(dataset, config$1) {
474
+ const input = dataset.value;
475
+ if (input && typeof input === "object") {
476
+ dataset.typed = true;
477
+ dataset.value = {};
478
+ for (const key in this.entries) {
479
+ const valueSchema = this.entries[key];
480
+ if (key in input || (valueSchema.type === "exact_optional" || valueSchema.type === "optional" || valueSchema.type === "nullish") && valueSchema.default !== void 0) {
481
+ const value$1 = key in input ? input[key] : /* @__PURE__ */ getDefault(valueSchema);
482
+ const valueDataset = valueSchema["~run"]({ value: value$1 }, config$1);
483
+ if (valueDataset.issues) {
484
+ const pathItem = {
485
+ type: "object",
486
+ origin: "value",
487
+ input,
488
+ key,
489
+ value: value$1
490
+ };
491
+ for (const issue of valueDataset.issues) {
492
+ if (issue.path) issue.path.unshift(pathItem);
493
+ else issue.path = [pathItem];
494
+ dataset.issues?.push(issue);
495
+ }
496
+ if (!dataset.issues) dataset.issues = valueDataset.issues;
497
+ if (config$1.abortEarly) {
498
+ dataset.typed = false;
499
+ break;
500
+ }
501
+ }
502
+ if (!valueDataset.typed) dataset.typed = false;
503
+ dataset.value[key] = valueDataset.value;
504
+ } else if (valueSchema.fallback !== void 0) dataset.value[key] = /* @__PURE__ */ getFallback(valueSchema);
505
+ else if (valueSchema.type !== "exact_optional" && valueSchema.type !== "optional" && valueSchema.type !== "nullish") {
506
+ _addIssue(this, "key", dataset, config$1, {
507
+ input: void 0,
508
+ expected: `"${key}"`,
509
+ path: [{
510
+ type: "object",
511
+ origin: "key",
512
+ input,
513
+ key,
514
+ value: input[key]
515
+ }]
516
+ });
517
+ if (config$1.abortEarly) break;
518
+ }
519
+ }
520
+ } else _addIssue(this, "type", dataset, config$1);
521
+ return dataset;
522
+ }
523
+ });
524
+ }
525
+ __name(object, "object");
526
+ // @__NO_SIDE_EFFECTS__
527
+ function optional(wrapped, default_) {
528
+ return _standardSchema({
529
+ kind: "schema",
530
+ type: "optional",
531
+ reference: optional,
532
+ expects: `(${wrapped.expects} | undefined)`,
533
+ async: false,
534
+ wrapped,
535
+ default: default_,
536
+ "~run"(dataset, config$1) {
537
+ if (dataset.value === void 0) {
538
+ if (this.default !== void 0) dataset.value = /* @__PURE__ */ getDefault(this, dataset, config$1);
539
+ if (dataset.value === void 0) {
540
+ dataset.typed = true;
541
+ return dataset;
542
+ }
543
+ }
544
+ return this.wrapped["~run"](dataset, config$1);
545
+ }
546
+ });
547
+ }
548
+ __name(optional, "optional");
549
+ // @__NO_SIDE_EFFECTS__
550
+ function picklist(options, message$1) {
551
+ return _standardSchema({
552
+ kind: "schema",
553
+ type: "picklist",
554
+ reference: picklist,
555
+ expects: /* @__PURE__ */ _joinExpects(options.map(_stringify), "|"),
556
+ async: false,
557
+ options,
558
+ message: message$1,
559
+ "~run"(dataset, config$1) {
560
+ if (this.options.includes(dataset.value)) dataset.typed = true;
561
+ else _addIssue(this, "type", dataset, config$1);
562
+ return dataset;
563
+ }
564
+ });
565
+ }
566
+ __name(picklist, "picklist");
567
+ // @__NO_SIDE_EFFECTS__
568
+ function record(key, value$1, message$1) {
569
+ return _standardSchema({
570
+ kind: "schema",
571
+ type: "record",
572
+ reference: record,
573
+ expects: "Object",
574
+ async: false,
575
+ key,
576
+ value: value$1,
577
+ message: message$1,
578
+ "~run"(dataset, config$1) {
579
+ const input = dataset.value;
580
+ if (input && typeof input === "object") {
581
+ dataset.typed = true;
582
+ dataset.value = {};
583
+ for (const entryKey in input) if (/* @__PURE__ */ _isValidObjectKey(input, entryKey)) {
584
+ const entryValue = input[entryKey];
585
+ const keyDataset = this.key["~run"]({ value: entryKey }, config$1);
586
+ if (keyDataset.issues) {
587
+ const pathItem = {
588
+ type: "object",
589
+ origin: "key",
590
+ input,
591
+ key: entryKey,
592
+ value: entryValue
593
+ };
594
+ for (const issue of keyDataset.issues) {
595
+ issue.path = [pathItem];
596
+ dataset.issues?.push(issue);
597
+ }
598
+ if (!dataset.issues) dataset.issues = keyDataset.issues;
599
+ if (config$1.abortEarly) {
600
+ dataset.typed = false;
601
+ break;
602
+ }
603
+ }
604
+ const valueDataset = this.value["~run"]({ value: entryValue }, config$1);
605
+ if (valueDataset.issues) {
606
+ const pathItem = {
607
+ type: "object",
608
+ origin: "value",
609
+ input,
610
+ key: entryKey,
611
+ value: entryValue
612
+ };
613
+ for (const issue of valueDataset.issues) {
614
+ if (issue.path) issue.path.unshift(pathItem);
615
+ else issue.path = [pathItem];
616
+ dataset.issues?.push(issue);
617
+ }
618
+ if (!dataset.issues) dataset.issues = valueDataset.issues;
619
+ if (config$1.abortEarly) {
620
+ dataset.typed = false;
621
+ break;
622
+ }
623
+ }
624
+ if (!keyDataset.typed || !valueDataset.typed) dataset.typed = false;
625
+ if (keyDataset.typed) dataset.value[keyDataset.value] = valueDataset.value;
626
+ }
627
+ } else _addIssue(this, "type", dataset, config$1);
628
+ return dataset;
629
+ }
630
+ });
631
+ }
632
+ __name(record, "record");
633
+ // @__NO_SIDE_EFFECTS__
634
+ function strictObject(entries$1, message$1) {
635
+ return _standardSchema({
636
+ kind: "schema",
637
+ type: "strict_object",
638
+ reference: strictObject,
639
+ expects: "Object",
640
+ async: false,
641
+ entries: entries$1,
642
+ message: message$1,
643
+ "~run"(dataset, config$1) {
644
+ const input = dataset.value;
645
+ if (input && typeof input === "object") {
646
+ dataset.typed = true;
647
+ dataset.value = {};
648
+ for (const key in this.entries) {
649
+ const valueSchema = this.entries[key];
650
+ if (key in input || (valueSchema.type === "exact_optional" || valueSchema.type === "optional" || valueSchema.type === "nullish") && valueSchema.default !== void 0) {
651
+ const value$1 = key in input ? input[key] : /* @__PURE__ */ getDefault(valueSchema);
652
+ const valueDataset = valueSchema["~run"]({ value: value$1 }, config$1);
653
+ if (valueDataset.issues) {
654
+ const pathItem = {
655
+ type: "object",
656
+ origin: "value",
657
+ input,
658
+ key,
659
+ value: value$1
660
+ };
661
+ for (const issue of valueDataset.issues) {
662
+ if (issue.path) issue.path.unshift(pathItem);
663
+ else issue.path = [pathItem];
664
+ dataset.issues?.push(issue);
665
+ }
666
+ if (!dataset.issues) dataset.issues = valueDataset.issues;
667
+ if (config$1.abortEarly) {
668
+ dataset.typed = false;
669
+ break;
670
+ }
671
+ }
672
+ if (!valueDataset.typed) dataset.typed = false;
673
+ dataset.value[key] = valueDataset.value;
674
+ } else if (valueSchema.fallback !== void 0) dataset.value[key] = /* @__PURE__ */ getFallback(valueSchema);
675
+ else if (valueSchema.type !== "exact_optional" && valueSchema.type !== "optional" && valueSchema.type !== "nullish") {
676
+ _addIssue(this, "key", dataset, config$1, {
677
+ input: void 0,
678
+ expected: `"${key}"`,
679
+ path: [{
680
+ type: "object",
681
+ origin: "key",
682
+ input,
683
+ key,
684
+ value: input[key]
685
+ }]
686
+ });
687
+ if (config$1.abortEarly) break;
688
+ }
689
+ }
690
+ if (!dataset.issues || !config$1.abortEarly) {
691
+ for (const key in input) if (!Object.prototype.hasOwnProperty.call(this.entries, key)) {
692
+ _addIssue(this, "key", dataset, config$1, {
693
+ input: key,
694
+ expected: "never",
695
+ path: [{
696
+ type: "object",
697
+ origin: "key",
698
+ input,
699
+ key,
700
+ value: input[key]
701
+ }]
702
+ });
703
+ break;
704
+ }
705
+ }
706
+ } else _addIssue(this, "type", dataset, config$1);
707
+ return dataset;
708
+ }
709
+ });
710
+ }
711
+ __name(strictObject, "strictObject");
712
+ // @__NO_SIDE_EFFECTS__
713
+ function string(message$1) {
714
+ return _standardSchema({
715
+ kind: "schema",
716
+ type: "string",
717
+ reference: string,
718
+ expects: "string",
719
+ async: false,
720
+ message: message$1,
721
+ "~run"(dataset, config$1) {
722
+ if (typeof dataset.value === "string") dataset.typed = true;
723
+ else _addIssue(this, "type", dataset, config$1);
724
+ return dataset;
725
+ }
726
+ });
727
+ }
728
+ __name(string, "string");
729
+ // @__NO_SIDE_EFFECTS__
730
+ function _subIssues(datasets) {
731
+ let issues;
732
+ if (datasets) for (const dataset of datasets) if (issues) for (const issue of dataset.issues) issues.push(issue);
733
+ else issues = dataset.issues;
734
+ return issues;
735
+ }
736
+ __name(_subIssues, "_subIssues");
737
+ // @__NO_SIDE_EFFECTS__
738
+ function union(options, message$1) {
739
+ return _standardSchema({
740
+ kind: "schema",
741
+ type: "union",
742
+ reference: union,
743
+ expects: /* @__PURE__ */ _joinExpects(options.map((option) => option.expects), "|"),
744
+ async: false,
745
+ options,
746
+ message: message$1,
747
+ "~run"(dataset, config$1) {
748
+ let validDataset;
749
+ let typedDatasets;
750
+ let untypedDatasets;
751
+ for (const schema2 of this.options) {
752
+ const optionDataset = schema2["~run"]({ value: dataset.value }, config$1);
753
+ if (optionDataset.typed) if (optionDataset.issues) if (typedDatasets) typedDatasets.push(optionDataset);
754
+ else typedDatasets = [optionDataset];
755
+ else {
756
+ validDataset = optionDataset;
757
+ break;
758
+ }
759
+ else if (untypedDatasets) untypedDatasets.push(optionDataset);
760
+ else untypedDatasets = [optionDataset];
761
+ }
762
+ if (validDataset) return validDataset;
763
+ if (typedDatasets) {
764
+ if (typedDatasets.length === 1) return typedDatasets[0];
765
+ _addIssue(this, "type", dataset, config$1, { issues: /* @__PURE__ */ _subIssues(typedDatasets) });
766
+ dataset.typed = true;
767
+ } else if (untypedDatasets?.length === 1) return untypedDatasets[0];
768
+ else _addIssue(this, "type", dataset, config$1, { issues: /* @__PURE__ */ _subIssues(untypedDatasets) });
769
+ return dataset;
770
+ }
771
+ });
772
+ }
773
+ __name(union, "union");
774
+ function parse(schema2, input, config$1) {
775
+ const dataset = schema2["~run"]({ value: input }, /* @__PURE__ */ getGlobalConfig(config$1));
776
+ if (dataset.issues) throw new ValiError(dataset.issues);
777
+ return dataset.value;
778
+ }
779
+ __name(parse, "parse");
780
+ // @__NO_SIDE_EFFECTS__
781
+ function pipe(...pipe$1) {
782
+ return _standardSchema({
783
+ ...pipe$1[0],
784
+ pipe: pipe$1,
785
+ "~run"(dataset, config$1) {
786
+ for (const item of pipe$1) if (item.kind !== "metadata") {
787
+ if (dataset.issues && (item.kind === "schema" || item.kind === "transformation")) {
788
+ dataset.typed = false;
789
+ break;
790
+ }
791
+ if (!dataset.issues || !config$1.abortEarly && !config$1.abortPipeEarly) dataset = item["~run"](dataset, config$1);
792
+ }
793
+ return dataset;
794
+ }
795
+ });
796
+ }
797
+ __name(pipe, "pipe");
798
+ // @__NO_SIDE_EFFECTS__
799
+ function safeParse(schema2, input, config$1) {
800
+ const dataset = schema2["~run"]({ value: input }, /* @__PURE__ */ getGlobalConfig(config$1));
801
+ return {
802
+ typed: dataset.typed,
803
+ success: !dataset.issues,
804
+ output: dataset.value,
805
+ issues: dataset.issues
806
+ };
807
+ }
808
+ __name(safeParse, "safeParse");
809
+
810
+ // dist/zoom-app.js
811
+ var schema = object({
812
+ ...constantsSchema.entries,
813
+ zoom: object({ app: object({ client_id: string() }) })
814
+ });
815
+ var ZOOM_CONSTANTS = new URL("../constants.json", new URL("../zoom-app.js", import.meta.url).href);
816
+ 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";
817
+ var SET_ZOOM_APP = "run zm config set zoom.client_id <Public Client ID> first, or set ZM_ZOOM_CLIENT_ID";
818
+ var zoomApp = /* @__PURE__ */ __name((options) => oauthApp({
819
+ provider: "zoom",
820
+ prefix: "ZM",
821
+ env: options.env,
822
+ clientId: options.clientId,
823
+ configClientId: options.configClientId ?? void 0,
824
+ wirecat: constants(ZOOM_CONSTANTS, schema).zoom.app
825
+ }), "zoomApp");
826
+ var zoomClientId = /* @__PURE__ */ __name((config, env) => zoomApp({ env, configClientId: config?.clientId })?.client.clientId, "zoomClientId");
827
+ var zoomClientReport = /* @__PURE__ */ __name((config, env) => oauthClientReport(zoomApp({ env, configClientId: config?.clientId }), NO_ZOOM_APP), "zoomClientReport");
828
+ var checkedClientId = /* @__PURE__ */ __name((value) => {
829
+ if (!value.trim() || /\s/.test(value))
830
+ throw new CliError("validation_error", "client id must not contain whitespace");
831
+ return value;
832
+ }, "checkedClientId");
833
+ var ZOOM_APP_BUILD_URL = "https://marketplace.zoom.us/develop/create";
834
+ var ZOOM_APP_GUIDE_URL = "https://github.com/WireCatLabs/zoom-cli/blob/main/docs/zoom-app.md";
835
+ var ZOOM_APP_SCOPES = [
836
+ { scope: "meeting:read:list_meetings", required: true, use: "find your meetings and scheduled series" },
837
+ { scope: "meeting:read:list_past_instances", required: true, use: "find each meeting that ran" },
838
+ { scope: "cloud_recording:read:meeting_transcript", required: true, use: "read meeting transcripts" },
839
+ { scope: "meeting:read:list_past_participants", required: true, use: "read who joined and when" },
840
+ { scope: "meeting:read:summary", required: true, use: "read Zoom AI summaries" },
841
+ { scope: "cloud_recording:read:list_user_recordings", required: false, use: "find your cloud recordings" },
842
+ { scope: "cloud_recording:read:list_recording_files", required: false, use: "download recordings and meeting chat" },
843
+ { scope: "user:read:user", required: false, use: "session status --check" },
844
+ { scope: "meeting:read:meeting", required: false, use: "show one meeting, prepare a series" },
845
+ { scope: "meeting:read:past_meeting", required: false, use: "meetings show reads a meeting that ran from Zoom" },
846
+ { scope: "meeting:read:invitation", required: false, use: "show a meeting's invitation" },
847
+ { scope: "meeting:write:meeting", required: false, use: "create a meeting" },
848
+ { scope: "meeting:update:meeting", required: false, use: "change a meeting" },
849
+ { scope: "meeting:delete:meeting", required: false, use: "cancel a meeting" },
850
+ { scope: "team_chat:read:list_contacts", required: false, use: "contacts list" },
851
+ { scope: "team_chat:read:contact", required: false, use: "contacts show" },
852
+ { scope: "agentic_search:read:search", required: false, use: "zoom search" }
853
+ ];
854
+ var zoomAppSetup = /* @__PURE__ */ __name(() => ({
855
+ marketplace_url: ZOOM_APP_BUILD_URL,
856
+ guide_url: ZOOM_APP_GUIDE_URL,
857
+ app_type: "General app",
858
+ management: "User-managed",
859
+ oauth: "Public Client OAuth",
860
+ redirect_url: REDIRECT,
861
+ allow_list: [REDIRECT],
862
+ scopes: ZOOM_APP_SCOPES,
863
+ config_key: "zoom.client_id"
864
+ }), "zoomAppSetup");
865
+ var zoomAppChecklist = /* @__PURE__ */ __name(() => {
866
+ const scopes = /* @__PURE__ */ __name((required) => ZOOM_APP_SCOPES.filter((one) => one.required === required).map((one) => one.scope).join(", "), "scopes");
867
+ return [
868
+ `1. Open ${ZOOM_APP_BUILD_URL} and build a General app.`,
869
+ "2. Choose User-managed. Under App Credentials, turn on Use Public Client OAuth and copy the Public Client ID.",
870
+ `3. OAuth Redirect URL: ${REDIRECT}`,
871
+ `4. OAuth Allow List: ${REDIRECT}`,
872
+ `5. Add the scopes meetings sync needs: ${scopes(true)}`,
873
+ ` Only for the features you use: ${scopes(false)}`,
874
+ "6. Run zm config set zoom.client_id <Public Client ID>, then zm <profile> session start.",
875
+ `The whole guide: ${ZOOM_APP_GUIDE_URL}`
876
+ ].join("\n");
877
+ }, "zoomAppChecklist");
878
+ var CLIENT_ID_NEED = {
879
+ field: "client_id",
880
+ secret: false,
881
+ prompt: "Public Client ID of your Zoom app",
882
+ hint: `Build a General app (User-managed, Public Client OAuth) at ${ZOOM_APP_BUILD_URL}; zm app lists what to enter.`
883
+ };
884
+
885
+ export {
886
+ check,
887
+ integer,
888
+ isoTimestamp,
889
+ maxLength,
890
+ minLength,
891
+ minValue,
892
+ regex,
893
+ array,
894
+ boolean,
895
+ custom,
896
+ literal,
897
+ looseObject,
898
+ nullable,
899
+ number,
900
+ optional,
901
+ picklist,
902
+ record,
903
+ strictObject,
904
+ string,
905
+ union,
906
+ parse,
907
+ pipe,
908
+ safeParse,
909
+ ZOOM_CONSTANTS,
910
+ NO_ZOOM_APP,
911
+ SET_ZOOM_APP,
912
+ zoomApp,
913
+ zoomClientId,
914
+ zoomClientReport,
915
+ checkedClientId,
916
+ ZOOM_APP_BUILD_URL,
917
+ ZOOM_APP_GUIDE_URL,
918
+ ZOOM_APP_SCOPES,
919
+ zoomAppSetup,
920
+ zoomAppChecklist,
921
+ CLIENT_ID_NEED
922
+ };