@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.
- package/README.md +12 -12
- package/contracts/wirecat.json +88 -55
- package/dist/account-removal.d.ts +1 -1
- package/dist/account-removal.d.ts.map +1 -1
- package/dist/account-removal.js +1 -1
- package/dist/account-removal.js.map +1 -1
- package/dist/agent-skill.js +1 -1
- package/dist/agent-skill.js.map +1 -1
- package/dist/answer-entities.d.ts +1 -1
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +1 -1
- package/dist/answer-entities.js.map +1 -1
- package/dist/answer-output.d.ts +2 -2
- package/dist/answer-output.d.ts.map +1 -1
- package/dist/answer-output.js +1 -1
- package/dist/answer-output.js.map +1 -1
- package/dist/answer-policy.d.ts.map +1 -1
- package/dist/answer-policy.js +1 -2
- package/dist/answer-policy.js.map +1 -1
- package/dist/answers.js +1 -1
- package/dist/answers.js.map +1 -1
- package/dist/api.d.ts +2 -2
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +2 -2
- package/dist/api.js.map +1 -1
- package/dist/archive-commands.d.ts +1 -1
- package/dist/archive-commands.d.ts.map +1 -1
- package/dist/archive-commands.js +1 -2
- package/dist/archive-commands.js.map +1 -1
- package/dist/archive-import.d.ts +1 -1
- package/dist/archive-import.d.ts.map +1 -1
- package/dist/archive-import.js +1 -1
- package/dist/archive-import.js.map +1 -1
- package/dist/archive-transcripts.d.ts +1 -1
- package/dist/archive-transcripts.d.ts.map +1 -1
- package/dist/archive-transcripts.js +1 -2
- package/dist/archive-transcripts.js.map +1 -1
- package/dist/bin/main.js +4 -17
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +11 -11
- package/dist/bundle/answer-policy-OQQWAUHH.js +33 -0
- package/dist/bundle/chunk-3YDF76DP.js +922 -0
- package/dist/bundle/chunk-AEWYRB6F.js +8 -0
- package/dist/bundle/chunk-AF2Z6VOG.js +137 -0
- package/dist/bundle/{chunk-MAJJ4PG3.js → chunk-DAYBU7WR.js} +79 -396
- package/dist/bundle/{chunk-XQQVMECZ.js → chunk-JD63PEI3.js} +3 -8
- package/dist/bundle/{chunk-UL2PXLKT.js → chunk-L5ZYKXAY.js} +392 -129
- package/dist/bundle/{chunk-2SWKQ7C4.js → chunk-W4TDCCT3.js} +8 -2
- package/dist/bundle/{chunk-AC6VJNMJ.js → chunk-W6YFWJDR.js} +2 -5
- package/dist/bundle/{chunk-434YFJAE.js → chunk-WSGD5Q6L.js} +3 -9
- package/dist/bundle/config-MP5YLHEY.js +29 -0
- package/dist/bundle/{folders-LXOL4N4S.js → folders-B2GKJOC2.js} +2 -7
- package/dist/bundle/{main-YAA7WQ23.js → main-YZPLPXB7.js} +21 -53
- package/dist/bundle/{output-file-2UB5JP3R.js → output-file-PKA7MJEP.js} +3 -11
- package/dist/bundle/{program-GVCGZP27.js → program-7JY6XJ6K.js} +714 -935
- package/dist/bundle/run-log-ML7ZCWXD.js +54 -0
- package/dist/bundle/store-connection-LQGKS3DN.js +21 -0
- package/dist/bundle/streaming-PRGWGNHY.js +12 -0
- package/dist/bundle/tokens-57RJVBK6.js +18 -0
- package/dist/bundle/zm.js +4 -161
- package/dist/bundle/{zoom-app-YWFB367P.js → zoom-app-EYJST6GF.js} +4 -10
- package/dist/chat-file.d.ts +1 -1
- package/dist/chat-file.d.ts.map +1 -1
- package/dist/commands.d.ts +1 -8
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +3 -33
- package/dist/commands.js.map +1 -1
- package/dist/config-issues.d.ts +1 -1
- package/dist/config-issues.d.ts.map +1 -1
- package/dist/config-issues.js +1 -1
- package/dist/config-issues.js.map +1 -1
- package/dist/config.d.ts +1 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -2
- package/dist/config.js.map +1 -1
- package/dist/contacts-commands.d.ts +1 -1
- package/dist/contacts-commands.d.ts.map +1 -1
- package/dist/contacts-commands.js +1 -1
- package/dist/contacts-commands.js.map +1 -1
- package/dist/contract-overrides.js +1 -1
- package/dist/contract-overrides.js.map +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/execution.d.ts +1 -1
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +1 -1
- package/dist/execution.js.map +1 -1
- package/dist/files.d.ts +2 -2
- package/dist/files.d.ts.map +1 -1
- package/dist/files.js +1 -1
- package/dist/files.js.map +1 -1
- package/dist/first-screen.js +1 -1
- package/dist/first-screen.js.map +1 -1
- package/dist/identity.d.ts +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +6 -0
- package/dist/identity.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/ingestion-search-commands.d.ts +1 -1
- package/dist/ingestion-search-commands.d.ts.map +1 -1
- package/dist/ingestion-search-commands.js +1 -1
- package/dist/ingestion-search-commands.js.map +1 -1
- package/dist/local-transcription-commands.d.ts +1 -1
- package/dist/local-transcription-commands.d.ts.map +1 -1
- package/dist/local-transcription-commands.js +1 -2
- package/dist/local-transcription-commands.js.map +1 -1
- package/dist/local-transcription.d.ts +1 -2
- package/dist/local-transcription.d.ts.map +1 -1
- package/dist/local-transcription.js +3 -3
- package/dist/local-transcription.js.map +1 -1
- package/dist/meeting-commands.d.ts +1 -1
- package/dist/meeting-commands.d.ts.map +1 -1
- package/dist/meeting-commands.js +1 -2
- package/dist/meeting-commands.js.map +1 -1
- package/dist/meeting-communications-binding.d.ts +1 -2
- package/dist/meeting-communications-binding.d.ts.map +1 -1
- package/dist/meeting-communications-binding.js.map +1 -1
- package/dist/meeting-context-commands.d.ts +1 -1
- package/dist/meeting-context-commands.d.ts.map +1 -1
- package/dist/meeting-context-commands.js +1 -1
- package/dist/meeting-context-commands.js.map +1 -1
- package/dist/meeting-context.d.ts +2 -4
- package/dist/meeting-context.d.ts.map +1 -1
- package/dist/meeting-context.js +1 -1
- package/dist/meeting-context.js.map +1 -1
- package/dist/meeting-integration-commands.d.ts +1 -1
- package/dist/meeting-integration-commands.d.ts.map +1 -1
- package/dist/meeting-integration-commands.js +1 -2
- package/dist/meeting-integration-commands.js.map +1 -1
- package/dist/meeting-integration.d.ts +1 -1
- package/dist/meeting-integration.d.ts.map +1 -1
- package/dist/meeting-integration.js +1 -1
- package/dist/meeting-integration.js.map +1 -1
- package/dist/meeting-inventory.d.ts +1 -1
- package/dist/meeting-inventory.d.ts.map +1 -1
- package/dist/meeting-inventory.js +1 -1
- package/dist/meeting-inventory.js.map +1 -1
- package/dist/meeting-preparation.d.ts +1 -2
- package/dist/meeting-preparation.d.ts.map +1 -1
- package/dist/meeting-preparation.js +1 -1
- package/dist/meeting-preparation.js.map +1 -1
- package/dist/meeting-project-candidates.d.ts +1 -1
- package/dist/meeting-project-candidates.d.ts.map +1 -1
- package/dist/meeting-project-evidence-commands.d.ts +1 -1
- package/dist/meeting-project-evidence-commands.d.ts.map +1 -1
- package/dist/meeting-project-evidence-commands.js +1 -2
- package/dist/meeting-project-evidence-commands.js.map +1 -1
- package/dist/meeting-read-command-bindings.js +1 -1
- package/dist/meeting-read-command-bindings.js.map +1 -1
- package/dist/meeting-review-commands.d.ts +1 -3
- package/dist/meeting-review-commands.d.ts.map +1 -1
- package/dist/meeting-review-commands.js +1 -2
- package/dist/meeting-review-commands.js.map +1 -1
- package/dist/meeting-search-commands.d.ts +2 -3
- package/dist/meeting-search-commands.d.ts.map +1 -1
- package/dist/meeting-search-commands.js +2 -4
- package/dist/meeting-search-commands.js.map +1 -1
- package/dist/meeting-searches-commands.d.ts +1 -2
- package/dist/meeting-searches-commands.d.ts.map +1 -1
- package/dist/meeting-searches-commands.js +1 -2
- package/dist/meeting-searches-commands.js.map +1 -1
- package/dist/meeting-selection-options.d.ts +1 -1
- package/dist/meeting-selection-options.d.ts.map +1 -1
- package/dist/meeting-selection-options.js +1 -2
- package/dist/meeting-selection-options.js.map +1 -1
- package/dist/meeting-semantic-commands.d.ts +1 -2
- package/dist/meeting-semantic-commands.d.ts.map +1 -1
- package/dist/meeting-semantic-commands.js +1 -1
- package/dist/meeting-semantic-commands.js.map +1 -1
- package/dist/meeting-semantic.d.ts +2 -2
- package/dist/meeting-semantic.d.ts.map +1 -1
- package/dist/meeting-semantic.js +1 -1
- package/dist/meeting-semantic.js.map +1 -1
- package/dist/meeting-source.d.ts +1 -1
- package/dist/meeting-source.d.ts.map +1 -1
- package/dist/meeting-stats-commands.d.ts +1 -3
- package/dist/meeting-stats-commands.d.ts.map +1 -1
- package/dist/meeting-stats-commands.js +1 -2
- package/dist/meeting-stats-commands.js.map +1 -1
- package/dist/models-commands.d.ts +1 -1
- package/dist/models-commands.d.ts.map +1 -1
- package/dist/models-commands.js +1 -1
- package/dist/models-commands.js.map +1 -1
- package/dist/occurrence-schedule.d.ts +1 -1
- package/dist/occurrence-schedule.d.ts.map +1 -1
- package/dist/permissions.d.ts +1 -1
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +1 -2
- package/dist/permissions.js.map +1 -1
- package/dist/profile.js +1 -1
- package/dist/profile.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +3 -13
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +4 -7
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/progress-commands.d.ts +1 -1
- package/dist/progress-commands.d.ts.map +1 -1
- package/dist/progress-commands.js +1 -2
- package/dist/progress-commands.js.map +1 -1
- package/dist/read-only.js +1 -1
- package/dist/read-only.js.map +1 -1
- package/dist/recording-archive.d.ts.map +1 -1
- package/dist/recording-archive.js +1 -2
- package/dist/recording-archive.js.map +1 -1
- package/dist/recording-manifest.js +1 -1
- package/dist/recording-manifest.js.map +1 -1
- package/dist/recording-partial-store.d.ts +2 -3
- package/dist/recording-partial-store.d.ts.map +1 -1
- package/dist/recording-partial-store.js +1 -1
- package/dist/recording-partial-store.js.map +1 -1
- package/dist/recording-promotion-store.d.ts +1 -2
- package/dist/recording-promotion-store.d.ts.map +1 -1
- package/dist/recording-promotion-store.js +1 -2
- package/dist/recording-promotion-store.js.map +1 -1
- package/dist/recording-schedule-commands.d.ts +1 -1
- package/dist/recording-schedule-commands.d.ts.map +1 -1
- package/dist/recording-schedule-commands.js +1 -1
- package/dist/recording-schedule-commands.js.map +1 -1
- package/dist/recording-schedule-store.js +1 -1
- package/dist/recording-schedule-store.js.map +1 -1
- package/dist/recording-schedule-systemd.js +1 -1
- package/dist/recording-schedule-systemd.js.map +1 -1
- package/dist/recording-schedule.d.ts +1 -1
- package/dist/recording-schedule.d.ts.map +1 -1
- package/dist/recording-schedule.js +1 -1
- package/dist/recording-schedule.js.map +1 -1
- package/dist/recording-sync-store.d.ts +1 -1
- package/dist/recording-sync-store.d.ts.map +1 -1
- package/dist/recording-sync-store.js +1 -2
- package/dist/recording-sync-store.js.map +1 -1
- package/dist/recording-sync.d.ts +1 -1
- package/dist/recording-sync.d.ts.map +1 -1
- package/dist/recording-sync.js +1 -1
- package/dist/recording-sync.js.map +1 -1
- package/dist/recording-writer-lease.d.ts +1 -1
- package/dist/recording-writer-lease.d.ts.map +1 -1
- package/dist/recording-writer-lease.js +1 -1
- package/dist/recording-writer-lease.js.map +1 -1
- package/dist/recordings.d.ts +1 -1
- package/dist/recordings.d.ts.map +1 -1
- package/dist/recordings.js.map +1 -1
- package/dist/remote-meetings.d.ts +19 -19
- package/dist/remote-meetings.d.ts.map +1 -1
- package/dist/remote-meetings.js +1 -1
- package/dist/remote-meetings.js.map +1 -1
- package/dist/request-events.d.ts +1 -1
- package/dist/request-events.d.ts.map +1 -1
- package/dist/request-events.js +1 -1
- package/dist/request-events.js.map +1 -1
- package/dist/run-log.d.ts +1 -1
- package/dist/run-log.d.ts.map +1 -1
- package/dist/run-log.js +1 -1
- package/dist/run-log.js.map +1 -1
- package/dist/run.d.ts +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +6 -2
- package/dist/run.js.map +1 -1
- package/dist/series-inventory.d.ts +2 -2
- package/dist/series-inventory.js +1 -1
- package/dist/series-inventory.js.map +1 -1
- package/dist/setup-commands.d.ts +6 -15
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +7 -142
- package/dist/setup-commands.js.map +1 -1
- package/dist/store-commands.d.ts +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +1 -2
- package/dist/store-commands.js.map +1 -1
- package/dist/store-connection.d.ts +1 -3
- package/dist/store-connection.d.ts.map +1 -1
- package/dist/store-connection.js +14 -14
- package/dist/store-connection.js.map +1 -1
- package/dist/sync-progress.d.ts +4 -4
- package/dist/sync-progress.d.ts.map +1 -1
- package/dist/sync-progress.js +1 -1
- package/dist/sync-progress.js.map +1 -1
- package/dist/tokens.d.ts +20 -44
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +95 -308
- package/dist/tokens.js.map +1 -1
- package/dist/unified-search.d.ts +1 -1
- package/dist/unified-search.d.ts.map +1 -1
- package/dist/upcoming-meetings.d.ts +2 -2
- package/dist/upcoming-meetings.js +1 -1
- package/dist/upcoming-meetings.js.map +1 -1
- package/dist/upgrade.d.ts.map +1 -1
- package/dist/upgrade.js +1 -2
- package/dist/upgrade.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/watch-commands.d.ts +1 -2
- package/dist/watch-commands.d.ts.map +1 -1
- package/dist/watch-commands.js +1 -2
- package/dist/watch-commands.js.map +1 -1
- package/dist/watch-service.d.ts +1 -1
- package/dist/watch-service.d.ts.map +1 -1
- package/dist/watch-service.js +1 -1
- package/dist/watch-service.js.map +1 -1
- package/dist/zoom-app.d.ts +2 -2
- package/dist/zoom-app.d.ts.map +1 -1
- package/dist/zoom-app.js +2 -2
- package/dist/zoom-app.js.map +1 -1
- package/dist/zoom-search-commands.d.ts +1 -1
- package/dist/zoom-search-commands.d.ts.map +1 -1
- package/dist/zoom-search-commands.js +1 -1
- package/dist/zoom-search-commands.js.map +1 -1
- package/dist/zoom-session.d.ts +6 -0
- package/dist/zoom-session.d.ts.map +1 -0
- package/dist/zoom-session.js +72 -0
- package/dist/zoom-session.js.map +1 -0
- package/package.json +3 -3
- package/scenarios/person-in-meetings.md +1 -1
- package/skills/zoom-cli/SKILL.md +1 -1
- package/skills/zoom-cli/references/people-and-projects.md +5 -5
- package/skills/zoom-cli/references/prepare.md +2 -2
- package/skills/zoom-cli/references/setup.md +2 -2
- package/dist/bundle/agent-F4TRJWWS.js +0 -46
- package/dist/bundle/all-profiles-RULEKTDQ.js +0 -321
- package/dist/bundle/answer-policy-6XC57AEZ.js +0 -131
- package/dist/bundle/anthropic-4NAQBZFL.js +0 -91
- package/dist/bundle/app-server-VLR42U5L.js +0 -266
- package/dist/bundle/bun-OPDGMZZQ.js +0 -169
- package/dist/bundle/bun-sqlite-HC6X4AOX.js +0 -76
- package/dist/bundle/chunk-274SLQNW.js +0 -54
- package/dist/bundle/chunk-2CI2OEZQ.js +0 -101
- package/dist/bundle/chunk-2DBF2IIC.js +0 -330
- package/dist/bundle/chunk-2GP573Q4.js +0 -67190
- package/dist/bundle/chunk-2JHVQMVC.js +0 -16
- package/dist/bundle/chunk-2XBDILVW.js +0 -53
- package/dist/bundle/chunk-3HC5F3P7.js +0 -24
- package/dist/bundle/chunk-3YM4B2GT.js +0 -63
- package/dist/bundle/chunk-4HLQ2JGK.js +0 -276
- package/dist/bundle/chunk-4N7PP76S.js +0 -6848
- package/dist/bundle/chunk-52Y4ETKU.js +0 -230
- package/dist/bundle/chunk-5HAUK3I4.js +0 -27160
- package/dist/bundle/chunk-5KYQ53EF.js +0 -357
- package/dist/bundle/chunk-5TU7Y5UW.js +0 -218
- package/dist/bundle/chunk-66ALX4ZI.js +0 -1068
- package/dist/bundle/chunk-676C2LE6.js +0 -229
- package/dist/bundle/chunk-6CWL5BKG.js +0 -3012
- package/dist/bundle/chunk-6QYZP4E2.js +0 -73
- package/dist/bundle/chunk-6VK332XS.js +0 -170
- package/dist/bundle/chunk-73MOMNLL.js +0 -94
- package/dist/bundle/chunk-7QPIUMUG.js +0 -198
- package/dist/bundle/chunk-7UVDPRFK.js +0 -259
- package/dist/bundle/chunk-A6EZK5RG.js +0 -142
- package/dist/bundle/chunk-ACI4YIEH.js +0 -331
- package/dist/bundle/chunk-AIKFOBDO.js +0 -1024
- package/dist/bundle/chunk-ASBDFXLS.js +0 -295
- package/dist/bundle/chunk-B32KZRQM.js +0 -2338
- package/dist/bundle/chunk-BBGJQMRI.js +0 -34
- package/dist/bundle/chunk-BDKVOU3I.js +0 -52
- package/dist/bundle/chunk-BP4FYANF.js +0 -335
- package/dist/bundle/chunk-D72URWJE.js +0 -532
- package/dist/bundle/chunk-DCYFT3FR.js +0 -161
- package/dist/bundle/chunk-DFDN6AUB.js +0 -21
- package/dist/bundle/chunk-DNCLQPOM.js +0 -7
- package/dist/bundle/chunk-DSZYABYL.js +0 -808
- package/dist/bundle/chunk-E745WZKY.js +0 -1199
- package/dist/bundle/chunk-EGTCQKHV.js +0 -340
- package/dist/bundle/chunk-EQG3PIH2.js +0 -108
- package/dist/bundle/chunk-ESN3W2MZ.js +0 -2624
- package/dist/bundle/chunk-FXBHOCJK.js +0 -24600
- package/dist/bundle/chunk-G46WJ7YO.js +0 -95
- package/dist/bundle/chunk-G6PETRMV.js +0 -64
- package/dist/bundle/chunk-GBHMT2IU.js +0 -755
- package/dist/bundle/chunk-GGMAIIVE.js +0 -38
- package/dist/bundle/chunk-GTKPMYK7.js +0 -72
- package/dist/bundle/chunk-GWGHH56B.js +0 -374
- package/dist/bundle/chunk-HC6VN5CO.js +0 -692
- package/dist/bundle/chunk-HP7A2ZOP.js +0 -185
- package/dist/bundle/chunk-HTQTIKWP.js +0 -928
- package/dist/bundle/chunk-HZENBDW2.js +0 -209
- package/dist/bundle/chunk-IANKXHSE.js +0 -46
- package/dist/bundle/chunk-ICPJT672.js +0 -228
- package/dist/bundle/chunk-JQ54DYAQ.js +0 -80
- package/dist/bundle/chunk-K5JGJIV2.js +0 -640
- package/dist/bundle/chunk-KJ6USQDZ.js +0 -616
- package/dist/bundle/chunk-KKFY23AK.js +0 -5150
- package/dist/bundle/chunk-KQPUVXKX.js +0 -84
- package/dist/bundle/chunk-KVJ3I7UL.js +0 -1007
- package/dist/bundle/chunk-KWU46LNK.js +0 -288
- package/dist/bundle/chunk-KXJ3JEDH.js +0 -2
- package/dist/bundle/chunk-L75SMSJR.js +0 -133
- package/dist/bundle/chunk-LAYYO4WD.js +0 -31
- package/dist/bundle/chunk-LEKKTJKK.js +0 -2336
- package/dist/bundle/chunk-M7H4MCAX.js +0 -388
- package/dist/bundle/chunk-MQLPZBMQ.js +0 -58
- package/dist/bundle/chunk-N3JLO63O.js +0 -13
- package/dist/bundle/chunk-N46F72AF.js +0 -410
- package/dist/bundle/chunk-NB7EOAUZ.js +0 -123
- package/dist/bundle/chunk-NEMX3UNN.js +0 -76
- package/dist/bundle/chunk-OBXQLFT5.js +0 -82
- package/dist/bundle/chunk-OGNO35A2.js +0 -262
- package/dist/bundle/chunk-OIPYBF43.js +0 -100
- package/dist/bundle/chunk-OO4TRVPB.js +0 -185
- package/dist/bundle/chunk-OQFQ77AY.js +0 -9352
- package/dist/bundle/chunk-PL5P7UKW.js +0 -25216
- package/dist/bundle/chunk-PMUPN6JW.js +0 -773
- package/dist/bundle/chunk-PSKTMMCO.js +0 -561
- package/dist/bundle/chunk-PWVJUIDQ.js +0 -106
- package/dist/bundle/chunk-Q7ICVP25.js +0 -18
- package/dist/bundle/chunk-QG6PILDO.js +0 -195
- package/dist/bundle/chunk-QPHBK63S.js +0 -25
- package/dist/bundle/chunk-QVSL5WJ7.js +0 -46524
- package/dist/bundle/chunk-QVYAV7F2.js +0 -58
- package/dist/bundle/chunk-R2B6PUVI.js +0 -206
- package/dist/bundle/chunk-RQOZBTNI.js +0 -86
- package/dist/bundle/chunk-T7IAWEBU.js +0 -362
- package/dist/bundle/chunk-TKNM22OH.js +0 -71
- package/dist/bundle/chunk-TKVBFJ5C.js +0 -37
- package/dist/bundle/chunk-TXDR6YSF.js +0 -23
- package/dist/bundle/chunk-TY7NDMFY.js +0 -46
- package/dist/bundle/chunk-UAWSINMC.js +0 -875
- package/dist/bundle/chunk-UKAAAOPC.js +0 -1251
- package/dist/bundle/chunk-UQCTXZEP.js +0 -214
- package/dist/bundle/chunk-UR5DBODY.js +0 -1345
- package/dist/bundle/chunk-V5EJSF2B.js +0 -12235
- package/dist/bundle/chunk-VB72LTSZ.js +0 -210
- package/dist/bundle/chunk-VB7FZOYX.js +0 -633
- package/dist/bundle/chunk-VS6WURLX.js +0 -217
- package/dist/bundle/chunk-VZ5PPYDG.js +0 -77
- package/dist/bundle/chunk-W5QHB53X.js +0 -3752
- package/dist/bundle/chunk-WMANRJR5.js +0 -555
- package/dist/bundle/chunk-WOPVBRPV.js +0 -29
- package/dist/bundle/chunk-XQ2WL3HB.js +0 -140
- package/dist/bundle/chunk-Y5E2WNWB.js +0 -35
- package/dist/bundle/chunk-Y6PVS55U.js +0 -800
- package/dist/bundle/chunk-YJXJJ2XP.js +0 -2333
- package/dist/bundle/chunk-YY7XKHDY.js +0 -79
- package/dist/bundle/chunk-ZED2CJW5.js +0 -353
- package/dist/bundle/chunk-ZOYOXWJB.js +0 -746
- package/dist/bundle/chunk-ZVVMGPBJ.js +0 -50
- package/dist/bundle/cli-U4O5XB7J.js +0 -1255
- package/dist/bundle/command-contract-FBTK6GQX.js +0 -45
- package/dist/bundle/command-server-entry-KKH6ZWJV.js +0 -175
- package/dist/bundle/config-FRJSIZNN.js +0 -118
- package/dist/bundle/decode-TPCNXEK4.js +0 -31
- package/dist/bundle/dispatch-FKMIPCPQ.js +0 -412
- package/dist/bundle/dist-7CLBCYZN.js +0 -321
- package/dist/bundle/dist-PAKDDIBT.js +0 -191
- package/dist/bundle/dist-XUFQCJXW.js +0 -7577
- package/dist/bundle/echarts-O3TNDAXJ.js +0 -42501
- package/dist/bundle/embed-WCJSFVSK.js +0 -38
- package/dist/bundle/embedder-TBBUPXBX.js +0 -111
- package/dist/bundle/failure-XTWBYI2A.js +0 -25
- package/dist/bundle/first-run-ELEMFW42.js +0 -29
- package/dist/bundle/first-screen-DIOBWMKP.js +0 -46
- package/dist/bundle/instructions-AMH5RWVJ.js +0 -11
- package/dist/bundle/mcp-5HFPWC3W.js +0 -167
- package/dist/bundle/meeting-combined-UXCF4SJ3.js +0 -26
- package/dist/bundle/meeting-model-3BZJ3EQP.js +0 -26
- package/dist/bundle/meeting-semantic-3HU7I2SJ.js +0 -23
- package/dist/bundle/meetings-XWMB6FOH.js +0 -332
- package/dist/bundle/node-EGMCBAO7.js +0 -176
- package/dist/bundle/node-KM3CUABH.js +0 -2340
- package/dist/bundle/node-TLZSIHIJ.js +0 -21
- package/dist/bundle/node-sqlite-IJBWENFX.js +0 -74
- package/dist/bundle/oauth-SZDDAP7A.js +0 -20
- package/dist/bundle/open-NS3TMKZX.js +0 -23
- package/dist/bundle/openai-4DN6WI3B.js +0 -28
- package/dist/bundle/process-SGHEN6MQ.js +0 -91
- package/dist/bundle/prompt-HJFMPFVC.js +0 -17
- package/dist/bundle/public-C2ZB2AGQ.js +0 -198
- package/dist/bundle/recognize-2SEI5PPM.js +0 -26
- package/dist/bundle/remote-2DMS74XE.js +0 -32
- package/dist/bundle/rerank-H6GCYVIA.js +0 -52
- package/dist/bundle/run-log-QU26SUZP.js +0 -145
- package/dist/bundle/serve-ODVRPFJO.js +0 -199
- package/dist/bundle/server-NBPF6IDZ.js +0 -95
- package/dist/bundle/server-PCLIO24L.js +0 -228
- package/dist/bundle/services-4QAPXBLO.js +0 -607
- package/dist/bundle/speech-MA6ZT3WE.js +0 -89
- package/dist/bundle/sqlite-runtime-PVMAUXRN.js +0 -20
- package/dist/bundle/state-QFMTYUME.js +0 -36
- package/dist/bundle/store-25OTAQC3.js +0 -187
- package/dist/bundle/store-F724QIKJ.js +0 -305
- package/dist/bundle/store-connection-OGPXANGB.js +0 -111
- package/dist/bundle/store-maintenance-command-2CM7LLNQ.js +0 -83
- package/dist/bundle/streaming-S22C4DG5.js +0 -18
- package/dist/bundle/surface-7PXHWCF6.js +0 -81
- package/dist/bundle/tokens-NLUHA2DW.js +0 -25
- package/dist/login.d.ts +0 -16
- package/dist/login.d.ts.map +0 -1
- package/dist/login.js +0 -98
- 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-
|
|
25
|
+
} from "./chunk-3YDF76DP.js";
|
|
98
26
|
import {
|
|
99
|
-
|
|
100
|
-
} from "./chunk-
|
|
27
|
+
ZM
|
|
28
|
+
} from "./chunk-W4TDCCT3.js";
|
|
101
29
|
import {
|
|
102
30
|
__name
|
|
103
|
-
} from "./chunk-
|
|
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((
|
|
157
|
-
const checked = checkConfigText(
|
|
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(
|
|
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
|
|
140
|
+
const lock = given(env.ZM_PROFILE_LOCK);
|
|
205
141
|
const named = word !== void 0 ? word : given(env.ZM_PROFILE);
|
|
206
|
-
if (
|
|
207
|
-
usable(
|
|
208
|
-
if (named !== void 0 &&
|
|
209
|
-
throw new CliError("permission_error", `this process is locked to profile ${
|
|
210
|
-
const profile = named ??
|
|
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
|
|
231
|
-
if (ids.has(id) || identities.has(key) ||
|
|
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,
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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/
|
|
259
|
-
|
|
260
|
-
|
|
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/
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
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
|
|
531
|
-
const refusal =
|
|
532
|
-
if (
|
|
533
|
-
throw readOnlyRefusal(
|
|
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
|
|
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 (!
|
|
571
|
-
throw new
|
|
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
|
|
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
|
-
...
|
|
327
|
+
...DEFAULT_PERMISSIONS,
|
|
640
328
|
...own,
|
|
641
329
|
...ceiling ? { [CEILING_KEY]: ceiling } : {},
|
|
642
|
-
...
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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,
|
|
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
|
|
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
|
|
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
|
|
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,
|
|
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(
|
|
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
|
|
482
|
+
let text;
|
|
795
483
|
try {
|
|
796
|
-
|
|
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(
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
617
|
+
throw new CliError5("validation_error", "unknown config key");
|
|
930
618
|
if (!profile)
|
|
931
|
-
throw new
|
|
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
|
-
|
|
639
|
+
DEFAULT_PERMISSIONS,
|
|
957
640
|
discoveryLevels,
|
|
958
641
|
permissionKeyForPath,
|
|
959
642
|
permissionKeys,
|