@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,86 +1,14 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- commandsCommand,
5
- formatSuggestions,
6
- meetingResultItem,
7
- runsCommand,
8
- suggest
9
- } from "./chunk-5HAUK3I4.js";
10
- import {
11
- checkedClientId
12
- } from "./chunk-OGNO35A2.js";
13
- import {
14
- sharedStoreCommand
15
- } from "./chunk-OQFQ77AY.js";
16
- import {
17
- LOCAL_READ,
18
- NO_EFFECTS,
19
- REMOTE_READ,
20
- annotate,
21
- answerEntity,
22
- changesAuthorityNow,
23
- checkConfigText,
24
- describeOptions,
25
- describeProgram,
26
- flatten,
27
- hasSharedContract,
28
- isLogin,
29
- isStoreChange,
30
- issueMessage,
31
- itemOf,
32
- listOf,
33
- metaNow,
34
- metaOf,
35
- overrideSharedContract,
36
- profileFree,
37
- renderAnswer,
38
- snakeKeys,
39
- takesProfile,
40
- usableProfileName,
41
- withSettingDefaults
42
- } from "./chunk-V5EJSF2B.js";
43
- import {
44
- readOnlyLockOf,
45
- readOnlyRefusal
46
- } from "./chunk-TKNM22OH.js";
47
- import {
48
- setupPermissionCeiling
49
- } from "./chunk-QVYAV7F2.js";
50
- import {
51
- CEILING_KEY,
52
- DEFAULT_PERMISSIONS,
53
- LEVELS,
54
- keyForCommand,
55
- levelFor
56
- } from "./chunk-KJ6USQDZ.js";
57
- import {
58
- KEEP_RUNS_FOR_DAYS,
59
- KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
60
- RUNS_SIZE_LIMIT_MB
61
- } from "./chunk-WMANRJR5.js";
62
- import {
63
- ZM
64
- } from "./chunk-2SWKQ7C4.js";
65
- import {
66
- MEETING_RESULT_ENTITIES
67
- } from "./chunk-KKFY23AK.js";
68
- import {
69
- createRenderer,
70
- projectFields,
71
- saveConfigFile
72
- } from "./chunk-6CWL5BKG.js";
73
3
  import {
74
4
  array,
75
5
  boolean,
76
6
  check,
7
+ checkedClientId,
77
8
  custom,
78
- exitCodeOfAnswer,
79
9
  integer,
80
- isoTimestamp,
81
10
  literal,
82
11
  maxLength,
83
- minLength,
84
12
  minValue,
85
13
  nullable,
86
14
  number,
@@ -94,18 +22,21 @@ import {
94
22
  strictObject,
95
23
  string,
96
24
  union
97
- } from "./chunk-ESN3W2MZ.js";
25
+ } from "./chunk-3YDF76DP.js";
98
26
  import {
99
- CliError
100
- } from "./chunk-IANKXHSE.js";
27
+ ZM
28
+ } from "./chunk-W4TDCCT3.js";
101
29
  import {
102
30
  __name
103
- } from "./chunk-ZVVMGPBJ.js";
31
+ } from "./chunk-AEWYRB6F.js";
104
32
 
105
33
  // dist/config.js
106
34
  import { existsSync, readFileSync, statSync } from "node:fs";
35
+ import { CliError as CliError5, saveConfigFile } from "@wirecat/cli-base";
36
+ import { issueMessage, KEEP_RUNS_FOR_DAYS, KEEP_SUCCESSFUL_RUNS_FOR_DAYS, LEVELS as LEVELS2, RUNS_SIZE_LIMIT_MB, withSettingDefaults } from "@wirecat/cli-core";
107
37
 
108
38
  // dist/config-issues.js
39
+ import { checkConfigText } from "@wirecat/cli-core";
109
40
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
110
41
  var SETTING_NAMES = {
111
42
  client_id: "zoom.client_id",
@@ -153,12 +84,12 @@ var inZmTerms = /* @__PURE__ */ __name((raw, issue) => {
153
84
  at
154
85
  };
155
86
  }, "inZmTerms");
156
- var configIssues = /* @__PURE__ */ __name((text2, file, schema, permissionKeys2) => {
157
- const checked = checkConfigText(text2, { file, tool: "zm", schema });
87
+ var configIssues = /* @__PURE__ */ __name((text, file, schema, permissionKeys2) => {
88
+ const checked = checkConfigText(text, { file, tool: "zm", schema });
158
89
  const broken = checked.issues.find((issue) => issue.kind === "invalid_json");
159
90
  if (broken)
160
91
  return { issues: [{ ...broken, at: [] }], raw: null };
161
- const raw = JSON.parse(text2);
92
+ const raw = JSON.parse(text);
162
93
  if (!isNode(raw))
163
94
  return { issues: [fileIssue(file, "the file has to be an object, in braces")], raw: null };
164
95
  const found = /* @__PURE__ */ new Map();
@@ -190,7 +121,12 @@ var removeAt = /* @__PURE__ */ __name((raw, at) => {
190
121
  }, "removeAt");
191
122
  var publicIssue = /* @__PURE__ */ __name(({ at: _, ...issue }) => issue, "publicIssue");
192
123
 
124
+ // dist/context-sources.js
125
+ import { CliError as CliError2 } from "@wirecat/cli-base";
126
+
193
127
  // dist/profile.js
128
+ import { CliError } from "@wirecat/cli-base";
129
+ import { usableProfileName } from "@wirecat/cli-core";
194
130
  var profilePattern = /^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/;
195
131
  var profileAccountKey = /* @__PURE__ */ __name((profile) => `zm-profile:${profile}`, "profileAccountKey");
196
132
  var given = /* @__PURE__ */ __name((value) => value?.trim() ? value.trim() : void 0, "given");
@@ -201,13 +137,13 @@ var usable = /* @__PURE__ */ __name((profile) => {
201
137
  return profile;
202
138
  }, "usable");
203
139
  var chooseProfile = /* @__PURE__ */ __name(({ word, env, profiles }) => {
204
- const lock2 = given(env.ZM_PROFILE_LOCK);
140
+ const lock = given(env.ZM_PROFILE_LOCK);
205
141
  const named = word !== void 0 ? word : given(env.ZM_PROFILE);
206
- if (lock2 !== void 0)
207
- usable(lock2);
208
- if (named !== void 0 && lock2 !== void 0 && named !== lock2)
209
- throw new CliError("permission_error", `this process is locked to profile ${lock2} (ZM_PROFILE_LOCK) \u2014 profile ${named} is refused`);
210
- const profile = named ?? lock2;
142
+ if (lock !== void 0)
143
+ usable(lock);
144
+ if (named !== void 0 && lock !== void 0 && named !== lock)
145
+ throw new CliError("permission_error", `this process is locked to profile ${lock} (ZM_PROFILE_LOCK) \u2014 profile ${named} is refused`);
146
+ const profile = named ?? lock;
211
147
  if (profile === void 0) {
212
148
  const here = profiles();
213
149
  throw new CliError("validation_error", here.length === 0 ? "name a profile: there is none on this computer yet \u2014 create one with `zm personal session start` (any name in place of personal)" : `name a profile: \`zm <profile> \u2026\` \u2014 profiles here: ${here.join(", ")} (or set ZM_PROFILE)`, { profiles: [...here] });
@@ -227,276 +163,46 @@ var contextSourcesSchema = pipe(array(strictObject({ ...fields, profile: pipe(st
227
163
  const ids = /* @__PURE__ */ new Set(), identities = /* @__PURE__ */ new Set(), counts = /* @__PURE__ */ new Map();
228
164
  for (const entry of entries) {
229
165
  const id = JSON.stringify([entry.profile, entry.id]), key = JSON.stringify([entry.profile, entry.kind, entry.provider, entry.account]);
230
- const count2 = (counts.get(entry.profile) ?? 0) + 1;
231
- if (ids.has(id) || identities.has(key) || count2 > 8)
166
+ const count = (counts.get(entry.profile) ?? 0) + 1;
167
+ if (ids.has(id) || identities.has(key) || count > 8)
232
168
  return false;
233
169
  ids.add(id);
234
170
  identities.add(key);
235
- counts.set(entry.profile, count2);
171
+ counts.set(entry.profile, count);
236
172
  }
237
173
  return true;
238
174
  }));
239
175
  var replaceContextSources = /* @__PURE__ */ __name((value, profile, existing = []) => {
240
176
  if (!profile)
241
- throw new CliError("configuration_error", "name a profile: `zm <profile> config set context.sources \u2026`");
177
+ throw new CliError2("configuration_error", "name a profile: `zm <profile> config set context.sources \u2026`");
242
178
  let input;
243
179
  try {
244
180
  input = JSON.parse(value);
245
181
  } catch {
246
- throw new CliError("validation_error", "context.sources must be a JSON array");
182
+ throw new CliError2("validation_error", "context.sources must be a JSON array");
247
183
  }
248
184
  const parsed = safeParse(selected, input);
249
185
  if (!parsed.success)
250
- throw new CliError("validation_error", "context.sources needs at most eight unique source IDs with kind/provider/account; unknown fields are refused");
186
+ throw new CliError2("validation_error", "context.sources needs at most eight unique source IDs with kind/provider/account; unknown fields are refused");
251
187
  const combined = [...existing.filter((s) => s.profile !== profile), ...parsed.output.map((s) => ({ ...s, profile }))];
252
188
  const all = safeParse(contextSourcesSchema, combined);
253
189
  if (!all.success)
254
- throw new CliError("validation_error", "context.sources contains duplicate IDs/identities or exceeds its profile limits");
190
+ throw new CliError2("validation_error", "context.sources contains duplicate IDs/identities or exceeds its profile limits");
255
191
  return all.output;
256
192
  }, "replaceContextSources");
257
193
 
258
- // dist/answer-entities.js
259
- var text = string();
260
- var identifier = pipe(text, minLength(1));
261
- var nullableText = nullable(text);
262
- var count = pipe(number(), integer(), minValue(0));
263
- var flag = boolean();
264
- var optionalCount = optional(count);
265
- var scope = strictObject({ provider: text, account: text });
266
- var asset = strictObject({
267
- id: nullableText,
268
- type: text,
269
- format: nullableText,
270
- size: nullable(count),
271
- status: text,
272
- available: flag,
273
- started_at: nullableText,
274
- ended_at: nullableText
275
- });
276
- var occurrence = strictObject({ id: text, uuid: text, title: nullableText, started_at: nullableText });
277
- var recording = strictObject({ ...occurrence.entries, assets: array(asset) });
278
- var archivedFile = strictObject({
279
- id: text,
280
- path: text,
281
- size: count,
282
- sha256: text,
283
- remote_size: nullable(count),
284
- type: text,
285
- format: nullableText,
286
- started_at: nullableText,
287
- ended_at: nullableText
288
- });
289
- var archive = strictObject({
290
- uuid: text,
291
- manifest_path: text,
292
- downloaded: array(archivedFile),
293
- skipped: array(archivedFile),
294
- unavailable: array(asset)
295
- });
296
- var manifest = strictObject({ version: literal(1), meeting: occurrence, files: array(archivedFile) });
297
- var lock = strictObject({
298
- name: text,
299
- status: picklist(["active", "stale", "foreign", "unrecognized"]),
300
- pid: nullable(count),
301
- host: nullableText
302
- });
303
- var archiveReceipt = strictObject({
304
- window: strictObject({ from: text, to: text }),
305
- meeting: strictObject({ id: text, uuid: text, title: nullableText }),
306
- archive,
307
- availability: optional(literal("unknown")),
308
- checkpoint_revision: optional(nullable(count))
309
- });
310
- var schedule = strictObject({
311
- version: literal(1),
312
- id: text,
313
- name: text,
314
- scope,
315
- destination: text,
316
- from: text,
317
- daily_at: text,
318
- time_zone: text,
319
- lookback_days: count,
320
- max_bytes: count,
321
- created_at: pipe(text, isoTimestamp())
322
- });
323
- var job = strictObject({
324
- version: literal(1),
325
- schedule,
326
- capture: strictObject({ profile: text, client_id: text, config_dir: text, runtime: text, cli_path: text }),
327
- state: picklist(["pending", "enabled", "disabled"])
328
- });
329
- var scheduleReceipt = strictObject({
330
- applied: flag,
331
- backend: text,
332
- job,
333
- units: optional(strictObject({ service_name: text, timer_name: text, service: text, timer: text })),
334
- timer_state: picklist(["not_checked", "verified_enabled", "verified_disabled"])
335
- });
336
- var cue = strictObject({ start_ms: count, end_ms: count, speaker: nullableText, text });
337
- var archiveImport = strictObject({
338
- uuid: text,
339
- asset_ids: array(text),
340
- status: picklist(["acknowledged", "unavailable"]),
341
- meeting_id: optional(identifier),
342
- created: optional(flag),
343
- inserted_transcripts: optionalCount,
344
- replayed_transcripts: optionalCount,
345
- superseded_transcripts: optionalCount,
346
- reason: optional(literal("missing_or_deleted"))
347
- });
348
- var searchHit = strictObject({
349
- source: text,
350
- id: nullableText,
351
- title: nullableText,
352
- time: nullableText,
353
- text: nullableText,
354
- url: nullableText,
355
- people: array(text),
356
- container_id: nullableText,
357
- details: record(text, nullable(union([text, number(), flag])))
358
- });
359
- var zoomAppSetup = strictObject({
360
- marketplace_url: identifier,
361
- guide_url: identifier,
362
- app_type: identifier,
363
- management: identifier,
364
- oauth: identifier,
365
- redirect_url: identifier,
366
- allow_list: array(identifier),
367
- scopes: array(strictObject({ scope: identifier, required: flag, use: identifier })),
368
- config_key: identifier
369
- });
370
- var ZOOM_ANSWER_ENTITIES = {
371
- app: { name: "zoom_app_setup", schema: zoomAppSetup },
372
- "recordings list": { name: "zoom_recording", schema: recording },
373
- "recordings show": { name: "zoom_recording", schema: recording },
374
- "recordings download": { name: "zoom_archive", schema: union([archive, archiveReceipt]) },
375
- "recordings archive show": { name: "zoom_archive_manifest", schema: manifest },
376
- "recordings archive check": {
377
- name: "zoom_archive_check",
378
- schema: strictObject({ manifest_path: text, id: text, path: text, valid: flag })
379
- },
380
- "recordings archive locks": { name: "zoom_archive_lock", schema: lock },
381
- "recordings archive recover": {
382
- name: "zoom_archive_recovery",
383
- schema: strictObject({ locks: array(lock), removed: array(text) })
384
- },
385
- "recordings archive transcript": {
386
- name: "zoom_archive_transcript",
387
- schema: strictObject({ meeting: occurrence, asset: archivedFile, cues: array(cue) })
388
- },
389
- "recordings archive import": { name: "zoom_archive_import", schema: archiveImport },
390
- "recordings schedule list": { name: "zoom_archive_job", schema: job },
391
- "recordings schedule show": { name: "zoom_archive_job", schema: job },
392
- "recordings schedule create": { name: "zoom_archive_schedule_change", schema: scheduleReceipt },
393
- "recordings schedule disable": { name: "zoom_archive_schedule_change", schema: scheduleReceipt },
394
- "recordings schedule run": { name: "zoom_archive_receipt", schema: archiveReceipt },
395
- "zoom search": { name: "zoom_search_hit", schema: searchHit },
396
- "meetings embeddings": { name: "meeting_embedding", schema: MEETING_RESULT_ENTITIES.meeting_embedding, shared: true },
397
- "meetings sync": { name: "meeting_ingestion", schema: MEETING_RESULT_ENTITIES.meeting_ingestion, shared: true },
398
- "meetings import": { name: "meeting_ingestion", schema: MEETING_RESULT_ENTITIES.meeting_ingestion, shared: true },
399
- "meetings repair": {
400
- name: "meeting_repair",
401
- schema: MEETING_RESULT_ENTITIES.meeting_repair,
402
- shared: true
403
- },
404
- watch: { name: "meeting_ingestion", schema: MEETING_RESULT_ENTITIES.meeting_ingestion, shared: true },
405
- "meetings export": { name: "meeting_export", schema: MEETING_RESULT_ENTITIES.meeting_export, shared: true },
406
- "meetings link": { name: "meeting_association", schema: MEETING_RESULT_ENTITIES.meeting_association, shared: true },
407
- "meetings transcribe": {
408
- name: "meeting_transcription",
409
- schema: MEETING_RESULT_ENTITIES.meeting_transcription,
410
- shared: true
411
- }
412
- };
413
- var declareZoomAnswers = /* @__PURE__ */ __name((program) => {
414
- const walk = /* @__PURE__ */ __name((command, path) => {
415
- const entity = ZOOM_ANSWER_ENTITIES[path.join(" ")];
416
- if (entity?.shared)
417
- annotate(command, { output: { entity: entity.name } });
418
- else if (entity)
419
- answerEntity(command, entity.name, entity.schema);
420
- for (const child of command.commands)
421
- walk(child, [...path, child.name()]);
422
- }, "walk");
423
- walk(program, []);
424
- }, "declareZoomAnswers");
425
- var publicValue = /* @__PURE__ */ __name((value, key = "") => {
426
- if (typeof value === "number" && key === "meeting_id")
427
- return String(value);
428
- if (typeof value === "number" && key === "created_at")
429
- return new Date(value).toISOString();
430
- if (Array.isArray(value))
431
- return value.map((item) => publicValue(item));
432
- if (value && typeof value === "object")
433
- return Object.fromEntries(Object.entries(value).map(([name, item]) => [name, publicValue(item, name)]));
434
- return value;
435
- }, "publicValue");
436
- var schemas = new Map(Object.values(ZOOM_ANSWER_ENTITIES).map(({ name, schema }) => [name, schema]));
437
- var normalizeZoomAnswer = /* @__PURE__ */ __name((body, entity) => {
438
- const schema = entity ? schemas.get(entity) : void 0;
439
- if (!schema)
440
- return body;
441
- const checked = /* @__PURE__ */ __name((value) => {
442
- if (entity && Object.hasOwn(MEETING_RESULT_ENTITIES, entity))
443
- return meetingResultItem(entity, value);
444
- const parsed = safeParse(schema, publicValue(value));
445
- if (!parsed.success) {
446
- const applied = value && typeof value === "object" && "applied" in value && value.applied === true;
447
- throw new CliError(applied ? "outcome_unknown" : "invalid_response", `the command returned an invalid ${entity} answer`);
448
- }
449
- return parsed.output;
450
- }, "checked");
451
- return "item" in body ? { ...body, item: checked(body.item) } : { ...body, items: body.items.map(checked) };
452
- }, "normalizeZoomAnswer");
194
+ // dist/permissions.js
195
+ import { CliError as CliError4 } from "@wirecat/cli-base";
196
+ import { CEILING_KEY, keyForCommand, LEVELS, levelFor, readOnlyLockOf as readOnlyLockOf2, DEFAULT_PERMISSIONS as SHARED_DEFAULT_PERMISSIONS, setupPermissionCeiling } from "@wirecat/cli-core";
453
197
 
454
- // dist/answer-output.js
455
- var UTC_TIME = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?Z/;
456
- var record2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "record");
457
- var only = /* @__PURE__ */ __name((value, keys) => Object.keys(value).every((key) => keys.includes(key)), "only");
458
- var bodyOf = /* @__PURE__ */ __name((value) => {
459
- const data = snakeKeys(value);
460
- if (record2(data) && only(data, ["item", "items", "page", "next", "missing", "meta"])) {
461
- if ("item" in data || Array.isArray(data.items) && record2(data.page))
462
- return data;
463
- }
464
- if (record2(data) && Array.isArray(data.items) && only(data, ["items", "page", "limit", "has_more"]))
465
- return listOf("list", {
466
- items: data.items,
467
- limit: Math.max(1, data.items.length),
468
- has_more: data.has_more === true
469
- });
470
- return itemOf(data);
471
- }, "bodyOf");
472
- var renderBody = /* @__PURE__ */ __name((command, body, options) => {
473
- const data = normalizeZoomAnswer(snakeKeys(body), metaOf(command).output?.entity);
474
- const fields2 = options.fields;
475
- const projected = fields2 ? projectFields(data, fields2) : data;
476
- const meta = metaNow({ ...projected.meta, run_id: options.meta.run_id, duration_ms: options.meta.duration_ms });
477
- const chunks = [];
478
- const streams = {
479
- data: /* @__PURE__ */ __name((text3) => chunks.push(`${text3}
480
- `), "data"),
481
- diagnostic: /* @__PURE__ */ __name((text3) => options.diagnostic(`${text3}
482
- `), "diagnostic")
483
- };
484
- const renderer = createRenderer({ format: options.format, color: false, quiet: options.quiet, streams });
485
- for (const warning of options.warnings ?? [])
486
- renderer.warn(warning);
487
- const exitCode = process.exitCode;
488
- try {
489
- renderAnswer(command, { renderer, format: options.format, streams }, { ...projected, meta });
490
- } finally {
491
- process.exitCode = exitCode;
492
- }
493
- const text2 = chunks.join("");
494
- const label = options.format === "pretty" && UTC_TIME.test(text2) ? "times in UTC\n" : "";
495
- return { text: text2 + label, exitCode: exitCodeOfAnswer(meta, metaOf(command).partial === true) };
496
- }, "renderBody");
497
- var wholeList = /* @__PURE__ */ __name((command, items) => listOf(command, { items, limit: Math.max(1, items.length), has_more: false }), "wholeList");
198
+ // dist/commands.js
199
+ import { CliError as CliError3 } from "@wirecat/cli-base";
200
+ import { annotate, describeProgram, flatten, metaOf as metaOf2 } from "@wirecat/cli-base/commands";
201
+ import { commandsCommand, hasSharedContract, NO_EFFECTS, overrideSharedContract, profileFree, runsCommand, sharedStoreCommand, takesProfile } from "@wirecat/cli-core";
498
202
 
499
203
  // dist/read-only.js
204
+ import { metaOf } from "@wirecat/cli-base/commands";
205
+ import { changesAuthorityNow, isLogin, isStoreChange, readOnlyLockOf, readOnlyRefusal } from "@wirecat/cli-core";
500
206
  var pathOf2 = /* @__PURE__ */ __name((command) => {
501
207
  const words = [];
502
208
  for (let at = command; at?.parent; at = at.parent)
@@ -527,34 +233,16 @@ var refusalOf = /* @__PURE__ */ __name((command) => {
527
233
  return void 0;
528
234
  }, "refusalOf");
529
235
  var refuseChangeWhenReadOnly = /* @__PURE__ */ __name((command, env) => {
530
- const lock2 = readOnlyLockOf(ZM, env);
531
- const refusal = lock2 && refusalOf(command);
532
- if (lock2 && refusal)
533
- throw readOnlyRefusal(lock2, refusal);
236
+ const lock = readOnlyLockOf(ZM, env);
237
+ const refusal = lock && refusalOf(command);
238
+ if (lock && refusal)
239
+ throw readOnlyRefusal(lock, refusal);
534
240
  }, "refuseChangeWhenReadOnly");
535
241
 
536
242
  // dist/commands.js
537
- var addStandardCommandsDefinition = /* @__PURE__ */ __name((program, deps) => {
243
+ var addStandardCommandsDefinition = /* @__PURE__ */ __name((program) => {
538
244
  program.addCommand(commandsCommand(ZM).copyInheritedSettings(program));
539
245
  program.addCommand(sharedStoreCommand().copyInheritedSettings(program));
540
- annotate(program.command("complete").description("answer shell completion requests").argument("[words...]", "shell words ending in the partial word").action((words) => {
541
- const suggestions = suggest({
542
- commands: describeProgram(program),
543
- globalOptions: describeOptions(program),
544
- words
545
- });
546
- if (program.opts().json || program.opts().jsonl)
547
- deps.output(wholeList("complete", suggestions));
548
- else
549
- deps.raw(`${formatSuggestions(suggestions)}
550
- `);
551
- }), { effects: NO_EFFECTS, examples: ["zm complete -- meetings s"] });
552
- const session = annotate(program.command("session"), { effects: NO_EFFECTS }).description("the saved Zoom login, separate from local data profiles");
553
- annotate(session.command("status").description("show cached login state; remote verification is explicit").option("--check", "verify the session with Zoom").action(async (options) => deps.output(itemOf(await deps.sessionStatus(options.check === true)))), {
554
- effects: REMOTE_READ,
555
- examples: ["zm personal session status --json", "zm personal session status --check --dry-run --json"]
556
- });
557
- annotate(profileFree(session.command("list").description("list the profiles on this computer and the state of each one's saved Zoom login").action(async () => deps.output(wholeList("session list", await deps.sessionList())))), { effects: LOCAL_READ, examples: ["zm session list --json"] });
558
246
  }, "addStandardCommandsDefinition");
559
247
  var annotateMeetingCommands = /* @__PURE__ */ __name((program) => {
560
248
  for (const item of flatten(describeProgram(program))) {
@@ -567,8 +255,8 @@ var annotateMeetingCommands = /* @__PURE__ */ __name((program) => {
567
255
  if (command.commands.length)
568
256
  continue;
569
257
  const path = item.path.join(" ");
570
- if (!metaOf(command).effects)
571
- throw new CliError("configuration_error", `command effects are missing: ${path}`);
258
+ if (!metaOf2(command).effects)
259
+ throw new CliError3("configuration_error", `command effects are missing: ${path}`);
572
260
  const examples = item.examples?.map((example) => PROFILE_FREE.has(item.path[0] ?? "") || !takesProfile(command) ? example : example.replace(`zm ${path}`, `zm personal ${path}`)) ?? [exampleFor(path)];
573
261
  if (JSON.stringify(examples) === JSON.stringify(item.examples))
574
262
  continue;
@@ -632,14 +320,14 @@ var exampleFor = /* @__PURE__ */ __name((path) => {
632
320
  var addStandardCommands = addStandardCommandsDefinition;
633
321
 
634
322
  // dist/permissions.js
635
- var DEFAULT_PERMISSIONS2 = DEFAULT_PERMISSIONS;
323
+ var DEFAULT_PERMISSIONS = SHARED_DEFAULT_PERMISSIONS;
636
324
  var discoveryLevels = /* @__PURE__ */ __name((own, env) => {
637
325
  const ceiling = setupPermissionCeiling(env);
638
326
  return {
639
- ...DEFAULT_PERMISSIONS2,
327
+ ...DEFAULT_PERMISSIONS,
640
328
  ...own,
641
329
  ...ceiling ? { [CEILING_KEY]: ceiling } : {},
642
- ...readOnlyLockOf(ZM, env) ? { [CEILING_KEY]: "readonly" } : {}
330
+ ...readOnlyLockOf2(ZM, env) ? { [CEILING_KEY]: "readonly" } : {}
643
331
  };
644
332
  }, "discoveryLevels");
645
333
  var HOUSEKEEPING = /* @__PURE__ */ new Set([...PROFILE_FREE, "session", "account", "mcp"]);
@@ -671,21 +359,21 @@ var parsePermissions = /* @__PURE__ */ __name((value, known) => {
671
359
  try {
672
360
  parsed = JSON.parse(value);
673
361
  } catch {
674
- throw new CliError("validation_error", 'permissions must be a JSON object: {"meetings.create": "allow"}');
362
+ throw new CliError4("validation_error", 'permissions must be a JSON object: {"meetings.create": "allow"}');
675
363
  }
676
364
  if (!parsed || typeof parsed !== "object" || Array.isArray(parsed))
677
- throw new CliError("validation_error", 'permissions must be a JSON object: {"meetings.create": "allow"}');
365
+ throw new CliError4("validation_error", 'permissions must be a JSON object: {"meetings.create": "allow"}');
678
366
  for (const [key, level] of Object.entries(parsed)) {
679
367
  if (!known.has(key))
680
- throw new CliError("validation_error", `no command is called ${key}; a key is a command path, dotted`, {
368
+ throw new CliError4("validation_error", `no command is called ${key}; a key is a command path, dotted`, {
681
369
  keys: [...known].sort()
682
370
  });
683
371
  if (!LEVELS.includes(level))
684
- throw new CliError("validation_error", `${key}: a level is one of ${LEVELS.join(", ")}`);
372
+ throw new CliError4("validation_error", `${key}: a level is one of ${LEVELS.join(", ")}`);
685
373
  }
686
374
  return parsed;
687
375
  }, "parsePermissions");
688
- var refuse = /* @__PURE__ */ __name((key, level, profile, what) => new CliError("permission_error", `${what}: ${key} is ${level} for profile ${profile} \u2014 \`zm ${profile} config set permissions \u2026\` changes it`, { key, level }), "refuse");
376
+ var refuse = /* @__PURE__ */ __name((key, level, profile, what) => new CliError4("permission_error", `${what}: ${key} is ${level} for profile ${profile} \u2014 \`zm ${profile} config set permissions \u2026\` changes it`, { key, level }), "refuse");
689
377
  var checkPermission = /* @__PURE__ */ __name((command, context) => {
690
378
  const key = permissionKeyOf(command);
691
379
  if (!key)
@@ -694,21 +382,21 @@ var checkPermission = /* @__PURE__ */ __name((command, context) => {
694
382
  const profile = named ?? "<profile>";
695
383
  const own = named === void 0 ? {} : context.config().permissions[named] ?? {};
696
384
  const levels = context.ceiling ? { ...own, [CEILING_KEY]: context.ceiling } : own;
697
- const { level, key: by } = levelFor(levels, key, DEFAULT_PERMISSIONS2);
385
+ const { level, key: by } = levelFor(levels, key, DEFAULT_PERMISSIONS);
698
386
  const at = by ?? key;
699
387
  if (level === "deny")
700
388
  throw refuse(at, level, profile, "refused");
701
389
  const changes = refusalOf(command);
702
390
  if (level === "readonly" && changes && by === CEILING_KEY)
703
- throw new CliError("permission_error", `refused to ${changes}: the WireCat setup answer keeps every tool read-only \u2014 \`tg setup\`, \`max setup\` or \`wa setup\` at a terminal changes it`, { key, level });
391
+ throw new CliError4("permission_error", `refused to ${changes}: the WireCat setup answer keeps every tool read-only \u2014 \`tg setup\`, \`max setup\` or \`wa setup\` at a terminal changes it`, { key, level });
704
392
  if (level === "readonly" && changes)
705
393
  throw refuse(at, level, profile, `refused to ${changes}`);
706
394
  }, "checkPermission");
707
395
  var askOwner = /* @__PURE__ */ __name(async (command, at, profile, confirm) => {
708
396
  if (!confirm)
709
- throw new CliError("confirmation_required", `${at} asks first for profile ${profile}: add --yes to apply, or --dry-run to preview`, { key: at });
397
+ throw new CliError4("confirmation_required", `${at} asks first for profile ${profile}: add --yes to apply, or --dry-run to preview`, { key: at });
710
398
  if (!await confirm(`zm: ${pathOf3(command).join(" ")} changes Zoom for profile ${profile}. Apply?`))
711
- throw new CliError("cancelled", "not applied");
399
+ throw new CliError4("cancelled", "not applied");
712
400
  }, "askOwner");
713
401
  var askBeforeWrite = /* @__PURE__ */ __name(async (command, context) => {
714
402
  const key = permissionKeyOf(command);
@@ -716,7 +404,7 @@ var askBeforeWrite = /* @__PURE__ */ __name(async (command, context) => {
716
404
  return;
717
405
  const named = context.profile();
718
406
  const own = named === void 0 ? {} : context.config().permissions[named] ?? {};
719
- const { level, key: by } = levelFor(own, key, DEFAULT_PERMISSIONS2);
407
+ const { level, key: by } = levelFor(own, key, DEFAULT_PERMISSIONS);
720
408
  if (level !== "ask" || command.optsWithGlobals().yes)
721
409
  return;
722
410
  await askOwner(command, by ?? key, named ?? "<profile>", context.confirm);
@@ -729,7 +417,7 @@ var guardCommand = /* @__PURE__ */ __name((command, env, context, confirm) => {
729
417
 
730
418
  // dist/config.js
731
419
  var ProfileEntry = strictObject({
732
- permissions: optional(record(pipe(string(), regex(/^[a-z][a-z.-]*$/)), picklist(LEVELS)))
420
+ permissions: optional(record(pipe(string(), regex(/^[a-z][a-z.-]*$/)), picklist(LEVELS2)))
733
421
  });
734
422
  var ConfigFile = strictObject({
735
423
  client_id: optional(nullable(pipe(string(), check((id) => id.trim() !== "" && !/\s/.test(id), "has to be a Zoom client ID, without spaces")))),
@@ -791,16 +479,16 @@ var configOf = /* @__PURE__ */ __name((file) => ({
791
479
  ...file.record_input === void 0 ? {} : { recordInput: file.record_input }
792
480
  }), "configOf");
793
481
  var inspectConfig = /* @__PURE__ */ __name((path, permissionKeys2) => {
794
- let text2;
482
+ let text;
795
483
  try {
796
- text2 = readFileSync(path, "utf8");
484
+ text = readFileSync(path, "utf8");
797
485
  } catch {
798
486
  if (!existsSync(path))
799
487
  return { found: false, issues: [], raw: {}, config: configOf({}) };
800
488
  const what = statSync(path, { throwIfNoEntry: false })?.isDirectory() ? "the path is a folder, not a file" : "the file could not be read";
801
489
  return { found: true, issues: [fileIssue(path, what)], raw: null, config: configOf({}) };
802
490
  }
803
- const { issues, raw } = configIssues(text2, path, ConfigFile, permissionKeys2);
491
+ const { issues, raw } = configIssues(text, path, ConfigFile, permissionKeys2);
804
492
  return {
805
493
  found: true,
806
494
  issues,
@@ -811,13 +499,13 @@ var inspectConfig = /* @__PURE__ */ __name((path, permissionKeys2) => {
811
499
  var readConfig = /* @__PURE__ */ __name((path, permissionKeys2) => {
812
500
  const { issues, config } = inspectConfig(path, permissionKeys2);
813
501
  if (issues.length > 0)
814
- throw new CliError("configuration_error", issueMessage(issues.map(publicIssue), DOCTOR));
502
+ throw new CliError5("configuration_error", issueMessage(issues.map(publicIssue), DOCTOR));
815
503
  return config;
816
504
  }, "readConfig");
817
505
  var changeFile = /* @__PURE__ */ __name((path, permissionKeys2, change) => {
818
506
  const inspection = inspectConfig(path, permissionKeys2);
819
507
  if (!inspection.raw)
820
- throw new CliError("configuration_error", issueMessage(inspection.issues.map(publicIssue), DOCTOR));
508
+ throw new CliError5("configuration_error", issueMessage(inspection.issues.map(publicIssue), DOCTOR));
821
509
  const raw = structuredClone(inspection.raw);
822
510
  const removed = change(raw, inspection);
823
511
  saveConfigFile(path, withSettingDefaults(raw, ZOOM_SETTINGS.filter(({ key }) => key !== removed)).config);
@@ -828,7 +516,7 @@ var migrateConfig = /* @__PURE__ */ __name((path) => {
828
516
  if (!inspection.found)
829
517
  return [];
830
518
  if (!inspection.raw)
831
- throw new CliError("configuration_error", issueMessage(inspection.issues.map(publicIssue), DOCTOR));
519
+ throw new CliError5("configuration_error", issueMessage(inspection.issues.map(publicIssue), DOCTOR));
832
520
  const { config, added } = withSettingDefaults(inspection.raw, ZOOM_SETTINGS);
833
521
  if (added.length > 0)
834
522
  saveConfigFile(path, config);
@@ -848,14 +536,14 @@ var setConfig = /* @__PURE__ */ __name((path, key, value, profile, permissionKey
848
536
  case "permissions": {
849
537
  const name = profile?.();
850
538
  if (!name)
851
- throw new CliError("validation_error", "name a profile: `zm <profile> config set permissions \u2026`");
539
+ throw new CliError5("validation_error", "name a profile: `zm <profile> config set permissions \u2026`");
852
540
  profileEntry(raw, name).permissions = parsePermissions(value, permissionKeys2 ?? /* @__PURE__ */ new Set());
853
541
  return;
854
542
  }
855
543
  case "context.sources": {
856
544
  const broken = issues.find((issue) => issue.at[0] === "context_sources");
857
545
  if (broken)
858
- throw new CliError("configuration_error", issueMessage([publicIssue(broken)], DOCTOR));
546
+ throw new CliError5("configuration_error", issueMessage([publicIssue(broken)], DOCTOR));
859
547
  raw.context_sources = replaceContextSources(value, profile?.() ?? null, config.contextSources);
860
548
  return;
861
549
  }
@@ -864,49 +552,49 @@ var setConfig = /* @__PURE__ */ __name((path, key, value, profile, permissionKey
864
552
  return;
865
553
  case "source":
866
554
  if (value !== "api" && value !== "files")
867
- throw new CliError("validation_error", "source must be api or files");
555
+ throw new CliError5("validation_error", "source must be api or files");
868
556
  raw.source = value;
869
557
  return;
870
558
  case "files.folder":
871
559
  if (!value.trim())
872
- throw new CliError("validation_error", "folder must not be empty");
560
+ throw new CliError5("validation_error", "folder must not be empty");
873
561
  raw.files_folder = value;
874
562
  return;
875
563
  case "files.timezone":
876
564
  try {
877
565
  new Intl.DateTimeFormat("en", { timeZone: value });
878
566
  } catch {
879
- throw new CliError("validation_error", "expected an IANA time zone");
567
+ throw new CliError5("validation_error", "expected an IANA time zone");
880
568
  }
881
569
  raw.files_timezone = value;
882
570
  return;
883
571
  case "record":
884
572
  if (value !== "true" && value !== "false")
885
- throw new CliError("validation_error", "record must be true or false");
573
+ throw new CliError5("validation_error", "record must be true or false");
886
574
  raw.record = value === "true";
887
575
  return;
888
576
  case "keep_runs_for_days":
889
577
  if (!/^[1-9]\d{0,4}$/.test(value))
890
- throw new CliError("validation_error", "keep_runs_for_days must be a whole number of days, 1 or more");
578
+ throw new CliError5("validation_error", "keep_runs_for_days must be a whole number of days, 1 or more");
891
579
  raw.keep_runs_for_days = Number(value);
892
580
  return;
893
581
  case "record_input":
894
582
  if (value !== "true" && value !== "false" && value !== "failed")
895
- throw new CliError("validation_error", "record_input must be true, false or failed");
583
+ throw new CliError5("validation_error", "record_input must be true, false or failed");
896
584
  raw.record_input = value === "failed" ? value : value === "true";
897
585
  return;
898
586
  case "keep_successful_runs_for_days":
899
587
  if (!/^[1-9]\d{0,4}$/.test(value))
900
- throw new CliError("validation_error", "keep_successful_runs_for_days must be a whole number of days, 1 or more");
588
+ throw new CliError5("validation_error", "keep_successful_runs_for_days must be a whole number of days, 1 or more");
901
589
  raw.keep_successful_runs_for_days = Number(value);
902
590
  return;
903
591
  case "runs_size_limit_mb":
904
592
  if (!/^[1-9]\d{0,5}$/.test(value))
905
- throw new CliError("validation_error", "runs_size_limit_mb must be a whole number of megabytes, 1 or more");
593
+ throw new CliError5("validation_error", "runs_size_limit_mb must be a whole number of megabytes, 1 or more");
906
594
  raw.runs_size_limit_mb = Number(value);
907
595
  return;
908
596
  default:
909
- throw new CliError("validation_error", "unknown config key");
597
+ throw new CliError5("validation_error", "unknown config key");
910
598
  }
911
599
  }), "setConfig");
912
600
  var unsetConfig = /* @__PURE__ */ __name((path, key, profile, permissionKeys2) => changeFile(path, permissionKeys2, (raw, { issues }) => {
@@ -926,9 +614,9 @@ var unsetConfig = /* @__PURE__ */ __name((path, key, profile, permissionKeys2) =
926
614
  }), "unsetConfig");
927
615
  var profileSettingAt = /* @__PURE__ */ __name((key, profile) => {
928
616
  if (key !== "permissions" && !key.startsWith("permissions."))
929
- throw new CliError("validation_error", "unknown config key");
617
+ throw new CliError5("validation_error", "unknown config key");
930
618
  if (!profile)
931
- throw new CliError("validation_error", `name a profile: \`zm <profile> config unset ${key}\``);
619
+ throw new CliError5("validation_error", `name a profile: \`zm <profile> config unset ${key}\``);
932
620
  return key === "permissions" ? ["profiles", profile, "permissions"] : ["profiles", profile, "permissions", key.slice("permissions.".length)];
933
621
  }, "profileSettingAt");
934
622
  var addProfile = /* @__PURE__ */ __name((path, profile) => {
@@ -944,16 +632,11 @@ export {
944
632
  profileAccountKey,
945
633
  chooseProfile,
946
634
  contextSourcesSchema,
947
- ZOOM_ANSWER_ENTITIES,
948
- declareZoomAnswers,
949
- bodyOf,
950
- renderBody,
951
- wholeList,
952
635
  annotateMeetingCommands,
953
636
  markProfileFree,
954
637
  zoomRunsCommand,
955
638
  addStandardCommands,
956
- DEFAULT_PERMISSIONS2 as DEFAULT_PERMISSIONS,
639
+ DEFAULT_PERMISSIONS,
957
640
  discoveryLevels,
958
641
  permissionKeyForPath,
959
642
  permissionKeys,