@wirecat/zoom-cli 0.83.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 +10 -10
- package/contracts/wirecat.json +34 -1
- 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 +1 -1
- 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 +3 -3
- 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-OGTN2KVG.js → chunk-AF2Z6VOG.js} +4 -14
- package/dist/bundle/{chunk-26TW5RZ6.js → chunk-DAYBU7WR.js} +61 -94
- package/dist/bundle/{chunk-2DK5BBFF.js → chunk-JD63PEI3.js} +3 -8
- package/dist/bundle/{chunk-H6A4NWYJ.js → chunk-L5ZYKXAY.js} +114 -128
- package/dist/bundle/{chunk-R6IA5UQB.js → chunk-W4TDCCT3.js} +8 -2
- package/dist/bundle/{chunk-XEOZTA3H.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-ROKVKSCT.js → folders-B2GKJOC2.js} +2 -7
- package/dist/bundle/{main-GCK3VYAA.js → main-YZPLPXB7.js} +19 -41
- package/dist/bundle/{output-file-RYIOIXMD.js → output-file-PKA7MJEP.js} +3 -11
- package/dist/bundle/{program-OYLVYA4Z.js → program-7JY6XJ6K.js} +642 -801
- 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-4F4YY4OI.js → zoom-app-EYJST6GF.js} +5 -13
- package/dist/chat-file.d.ts +1 -1
- package/dist/chat-file.d.ts.map +1 -1
- package/dist/commands.js +1 -1
- 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/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.js +1 -1
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +1 -2
- 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 +1 -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 +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +1 -1
- 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 +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/zoom-session.d.ts.map +1 -1
- package/dist/zoom-session.js +1 -1
- package/dist/zoom-session.js.map +1 -1
- 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/dist/bundle/agent-3HDWEZ5M.js +0 -47
- package/dist/bundle/all-profiles-RY2OMSDL.js +0 -321
- package/dist/bundle/answer-policy-IFVXPPGW.js +0 -131
- package/dist/bundle/anthropic-36VPSF7B.js +0 -91
- package/dist/bundle/app-server-ZVJVUGB7.js +0 -267
- package/dist/bundle/bun-F4M4KCNA.js +0 -169
- package/dist/bundle/bun-sqlite-IOPYIUA7.js +0 -76
- package/dist/bundle/chunk-2IBKKVVZ.js +0 -335
- package/dist/bundle/chunk-2S54TM4N.js +0 -230
- package/dist/bundle/chunk-3AQHKXVR.js +0 -161
- package/dist/bundle/chunk-3CW2C7ZA.js +0 -217
- package/dist/bundle/chunk-3KUEZK5Z.js +0 -73
- package/dist/bundle/chunk-3PXUQFHX.js +0 -2333
- package/dist/bundle/chunk-3QN5KDFZ.js +0 -3012
- package/dist/bundle/chunk-575JMTDR.js +0 -562
- package/dist/bundle/chunk-5B2LV4MS.js +0 -26
- package/dist/bundle/chunk-5WL5RHOO.js +0 -167
- package/dist/bundle/chunk-6C7ESL5N.js +0 -295
- package/dist/bundle/chunk-6E4KLYNP.js +0 -229
- package/dist/bundle/chunk-7JDXR75Q.js +0 -465
- package/dist/bundle/chunk-AK3H2C65.js +0 -1349
- package/dist/bundle/chunk-AQ5RIOUE.js +0 -633
- package/dist/bundle/chunk-AQLUAQXJ.js +0 -1259
- package/dist/bundle/chunk-ASTLGFTR.js +0 -12270
- package/dist/bundle/chunk-ATHBB7OU.js +0 -106
- package/dist/bundle/chunk-B2NM65RD.js +0 -80
- package/dist/bundle/chunk-B4KHDXJE.js +0 -64
- package/dist/bundle/chunk-BAFC7WNI.js +0 -276
- package/dist/bundle/chunk-BBGJQMRI.js +0 -34
- package/dist/bundle/chunk-BTLZYRIW.js +0 -1007
- package/dist/bundle/chunk-BZDS2X6Y.js +0 -5150
- package/dist/bundle/chunk-C7JPYWYQ.js +0 -77
- package/dist/bundle/chunk-CDQUW25G.js +0 -3752
- package/dist/bundle/chunk-CJWGJBHW.js +0 -1044
- package/dist/bundle/chunk-D72URWJE.js +0 -532
- package/dist/bundle/chunk-D7RCUODT.js +0 -185
- package/dist/bundle/chunk-DFDN6AUB.js +0 -21
- package/dist/bundle/chunk-DNCLQPOM.js +0 -7
- package/dist/bundle/chunk-DQJECJUE.js +0 -2257
- package/dist/bundle/chunk-E4JQ3MCW.js +0 -2338
- package/dist/bundle/chunk-E4ODYLEK.js +0 -209
- package/dist/bundle/chunk-EE45N67Q.js +0 -86
- package/dist/bundle/chunk-EEEU4MKK.js +0 -210
- package/dist/bundle/chunk-ESN3W2MZ.js +0 -2624
- package/dist/bundle/chunk-ETIZGA4P.js +0 -340
- package/dist/bundle/chunk-F44QK6CK.js +0 -52
- package/dist/bundle/chunk-FH2UFNH6.js +0 -54
- package/dist/bundle/chunk-FTH6WGYO.js +0 -24
- package/dist/bundle/chunk-FWACRG4X.js +0 -160
- package/dist/bundle/chunk-FXBHOCJK.js +0 -24600
- package/dist/bundle/chunk-G5SZL7G2.js +0 -150
- package/dist/bundle/chunk-G6CHEFAG.js +0 -108
- package/dist/bundle/chunk-GHJD7PE6.js +0 -1068
- package/dist/bundle/chunk-GZ7WBU5Y.js +0 -18
- package/dist/bundle/chunk-HKLRI2LB.js +0 -555
- package/dist/bundle/chunk-HMD4FZYY.js +0 -133
- package/dist/bundle/chunk-HO4JGD4Q.js +0 -16
- package/dist/bundle/chunk-HTQTIKWP.js +0 -928
- package/dist/bundle/chunk-HUAHLO6N.js +0 -29
- package/dist/bundle/chunk-IANKXHSE.js +0 -46
- package/dist/bundle/chunk-IQZXFWFI.js +0 -170
- package/dist/bundle/chunk-ISQ23VKV.js +0 -123
- package/dist/bundle/chunk-JEH33ZCD.js +0 -58
- package/dist/bundle/chunk-JUNQYWQ2.js +0 -228
- package/dist/bundle/chunk-JUXMVQWJ.js +0 -799
- package/dist/bundle/chunk-KHQDWYCG.js +0 -82
- package/dist/bundle/chunk-KYRYD4CR.js +0 -38
- package/dist/bundle/chunk-LBGT6W4R.js +0 -377
- package/dist/bundle/chunk-LN7HRYTH.js +0 -80
- package/dist/bundle/chunk-MEB7HBTM.js +0 -95
- package/dist/bundle/chunk-MEEFWYX3.js +0 -388
- package/dist/bundle/chunk-MNOAMJ6H.js +0 -94
- package/dist/bundle/chunk-MYHPXJDG.js +0 -142
- package/dist/bundle/chunk-NGI37RFW.js +0 -692
- package/dist/bundle/chunk-NZMWD7Y3.js +0 -68149
- package/dist/bundle/chunk-O6IECJRM.js +0 -54
- package/dist/bundle/chunk-OBWL3BUV.js +0 -800
- package/dist/bundle/chunk-OEEWVKJX.js +0 -53
- package/dist/bundle/chunk-OQYZ3W4K.js +0 -374
- package/dist/bundle/chunk-P3ZCTYGW.js +0 -101
- package/dist/bundle/chunk-PL5P7UKW.js +0 -25216
- package/dist/bundle/chunk-PVEBAHFU.js +0 -100
- package/dist/bundle/chunk-R2B6PUVI.js +0 -206
- package/dist/bundle/chunk-RLOH7RDN.js +0 -362
- package/dist/bundle/chunk-RQ4AXSCJ.js +0 -616
- package/dist/bundle/chunk-RYGTCRFZ.js +0 -140
- package/dist/bundle/chunk-S4PXWIE4.js +0 -408
- package/dist/bundle/chunk-SDZZYZLL.js +0 -58
- package/dist/bundle/chunk-SHQAYUK6.js +0 -1199
- package/dist/bundle/chunk-T3W4V4A6.js +0 -63
- package/dist/bundle/chunk-TCT5D2X2.js +0 -6848
- package/dist/bundle/chunk-TDWPOSPR.js +0 -198
- package/dist/bundle/chunk-TER3N27H.js +0 -353
- package/dist/bundle/chunk-TMTNP7QN.js +0 -214
- package/dist/bundle/chunk-TO5UEWXR.js +0 -288
- 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-UBH7YF3C.js +0 -9354
- package/dist/bundle/chunk-UEAE3JUU.js +0 -46576
- package/dist/bundle/chunk-UHR363OD.js +0 -357
- package/dist/bundle/chunk-UM52A76S.js +0 -259
- package/dist/bundle/chunk-URP6BTHN.js +0 -624
- package/dist/bundle/chunk-UWQEAA6S.js +0 -13
- package/dist/bundle/chunk-VR7QZGRU.js +0 -185
- package/dist/bundle/chunk-VRH5PBSL.js +0 -755
- package/dist/bundle/chunk-VTLQTQKY.js +0 -1756
- package/dist/bundle/chunk-VTYNLTDW.js +0 -331
- package/dist/bundle/chunk-WY7XG6TE.js +0 -76
- package/dist/bundle/chunk-XH23ML2V.js +0 -195
- package/dist/bundle/chunk-XYF76A26.js +0 -27556
- package/dist/bundle/chunk-Y5E2WNWB.js +0 -35
- package/dist/bundle/chunk-ZDYJAEVB.js +0 -84
- package/dist/bundle/chunk-ZJ63HDBT.js +0 -71
- package/dist/bundle/chunk-ZT4ZPUIO.js +0 -218
- package/dist/bundle/chunk-ZVVMGPBJ.js +0 -50
- package/dist/bundle/cli-JK6PQSSN.js +0 -1270
- package/dist/bundle/command-contract-F3QNBKPX.js +0 -46
- package/dist/bundle/command-server-entry-DJLGN62J.js +0 -176
- package/dist/bundle/config-TYYMV3HV.js +0 -118
- package/dist/bundle/decode-ZZICNNFF.js +0 -31
- package/dist/bundle/dispatch-FKMIPCPQ.js +0 -412
- package/dist/bundle/dist-NQPF25XI.js +0 -322
- package/dist/bundle/dist-PAKDDIBT.js +0 -191
- package/dist/bundle/dist-XUFQCJXW.js +0 -7577
- package/dist/bundle/echarts-QMAA7HH5.js +0 -42501
- package/dist/bundle/embed-T64EUKUI.js +0 -38
- package/dist/bundle/embedder-ZEKISZXI.js +0 -111
- package/dist/bundle/failure-XTWBYI2A.js +0 -25
- package/dist/bundle/first-run-ZFNY4RRH.js +0 -29
- package/dist/bundle/first-screen-LPGCHRHZ.js +0 -47
- package/dist/bundle/instructions-4H7UREH2.js +0 -11
- package/dist/bundle/mcp-5HFPWC3W.js +0 -167
- package/dist/bundle/meeting-combined-7HDPOUPB.js +0 -28
- package/dist/bundle/meeting-model-MVUW7UPQ.js +0 -26
- package/dist/bundle/meeting-semantic-IF633WGX.js +0 -23
- package/dist/bundle/meetings-RY2AAPHV.js +0 -332
- package/dist/bundle/node-KM3CUABH.js +0 -2340
- package/dist/bundle/node-P3PUHKYH.js +0 -176
- package/dist/bundle/node-TLZSIHIJ.js +0 -21
- package/dist/bundle/node-sqlite-ASAZJNHE.js +0 -74
- package/dist/bundle/oauth-4U3OCK3W.js +0 -20
- package/dist/bundle/oauth-AJARLPSY.js +0 -46
- package/dist/bundle/open-SEJRY2ZI.js +0 -23
- package/dist/bundle/openai-FZDSC2AA.js +0 -28
- package/dist/bundle/process-AFIXYXWL.js +0 -91
- package/dist/bundle/prompt-BCRD64F4.js +0 -17
- package/dist/bundle/public-SVJILCNI.js +0 -206
- package/dist/bundle/recognize-25ITJWGX.js +0 -26
- package/dist/bundle/remote-5FBAJX7O.js +0 -32
- package/dist/bundle/rerank-2HGWWORY.js +0 -52
- package/dist/bundle/run-log-7HRF4Y47.js +0 -145
- package/dist/bundle/serve-RL35MSJD.js +0 -199
- package/dist/bundle/server-QUSBWACP.js +0 -229
- package/dist/bundle/server-SCK2SRDK.js +0 -96
- package/dist/bundle/services-BGRIQNDC.js +0 -609
- package/dist/bundle/speech-4W3ZMTFK.js +0 -89
- package/dist/bundle/sqlite-runtime-K3KLRZCV.js +0 -20
- package/dist/bundle/state-GYL4C74G.js +0 -36
- package/dist/bundle/store-27UQMNEO.js +0 -189
- package/dist/bundle/store-NLYH5SQX.js +0 -316
- package/dist/bundle/store-connection-CZILWRSR.js +0 -112
- package/dist/bundle/store-maintenance-command-Z3QLNSXJ.js +0 -84
- package/dist/bundle/streaming-73EKEGPF.js +0 -18
- package/dist/bundle/surface-CV3C4RV2.js +0 -82
- package/dist/bundle/tokens-PY3S22LY.js +0 -27
- /package/dist/bundle/{chunk-7ECP5ZQR.js → chunk-7O7XM37N.js} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
5
|
+
|
|
6
|
+
export {
|
|
7
|
+
__name
|
|
8
|
+
};
|
|
@@ -1,25 +1,15 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
credentialStorage,
|
|
5
|
-
oauthAccount,
|
|
6
|
-
tokenKeeper,
|
|
7
|
-
zoomTokenCodec
|
|
8
|
-
} from "./chunk-JUXMVQWJ.js";
|
|
9
3
|
import {
|
|
10
4
|
ZM
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import {
|
|
13
|
-
resolvePaths
|
|
14
|
-
} from "./chunk-3QN5KDFZ.js";
|
|
15
|
-
import {
|
|
16
|
-
CliError
|
|
17
|
-
} from "./chunk-IANKXHSE.js";
|
|
5
|
+
} from "./chunk-W4TDCCT3.js";
|
|
18
6
|
import {
|
|
19
7
|
__name
|
|
20
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AEWYRB6F.js";
|
|
21
9
|
|
|
22
10
|
// dist/tokens.js
|
|
11
|
+
import { CliError, resolvePaths } from "@wirecat/cli-base";
|
|
12
|
+
import { credentialStorage, oauthAccount, tokenKeeper, zoomTokenCodec } from "@wirecat/cli-core";
|
|
23
13
|
var REDIRECT = "https://wirecat.dev/zoom-callback";
|
|
24
14
|
var ZOOM_CODEC = { ...zoomTokenCodec, rotating: true };
|
|
25
15
|
var zoomProvider = /* @__PURE__ */ __name((clientId) => ({
|
|
@@ -1,62 +1,10 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
commandsCommand,
|
|
5
|
-
runsCommand
|
|
6
|
-
} from "./chunk-XYF76A26.js";
|
|
7
|
-
import {
|
|
8
|
-
checkedClientId
|
|
9
|
-
} from "./chunk-5WL5RHOO.js";
|
|
10
|
-
import {
|
|
11
|
-
sharedStoreCommand
|
|
12
|
-
} from "./chunk-UBH7YF3C.js";
|
|
13
|
-
import {
|
|
14
|
-
NO_EFFECTS,
|
|
15
|
-
annotate,
|
|
16
|
-
changesAuthorityNow,
|
|
17
|
-
checkConfigText,
|
|
18
|
-
describeProgram,
|
|
19
|
-
flatten,
|
|
20
|
-
hasSharedContract,
|
|
21
|
-
isLogin,
|
|
22
|
-
isStoreChange,
|
|
23
|
-
issueMessage,
|
|
24
|
-
metaOf,
|
|
25
|
-
overrideSharedContract,
|
|
26
|
-
profileFree,
|
|
27
|
-
takesProfile,
|
|
28
|
-
usableProfileName,
|
|
29
|
-
withSettingDefaults
|
|
30
|
-
} from "./chunk-ASTLGFTR.js";
|
|
31
|
-
import {
|
|
32
|
-
readOnlyLockOf,
|
|
33
|
-
readOnlyRefusal
|
|
34
|
-
} from "./chunk-ZJ63HDBT.js";
|
|
35
|
-
import {
|
|
36
|
-
setupPermissionCeiling
|
|
37
|
-
} from "./chunk-JEH33ZCD.js";
|
|
38
|
-
import {
|
|
39
|
-
CEILING_KEY,
|
|
40
|
-
DEFAULT_PERMISSIONS,
|
|
41
|
-
LEVELS,
|
|
42
|
-
keyForCommand,
|
|
43
|
-
levelFor
|
|
44
|
-
} from "./chunk-RQ4AXSCJ.js";
|
|
45
|
-
import {
|
|
46
|
-
KEEP_RUNS_FOR_DAYS,
|
|
47
|
-
KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
48
|
-
RUNS_SIZE_LIMIT_MB
|
|
49
|
-
} from "./chunk-HKLRI2LB.js";
|
|
50
|
-
import {
|
|
51
|
-
ZM
|
|
52
|
-
} from "./chunk-R6IA5UQB.js";
|
|
53
|
-
import {
|
|
54
|
-
saveConfigFile
|
|
55
|
-
} from "./chunk-3QN5KDFZ.js";
|
|
56
3
|
import {
|
|
57
4
|
array,
|
|
58
5
|
boolean,
|
|
59
6
|
check,
|
|
7
|
+
checkedClientId,
|
|
60
8
|
custom,
|
|
61
9
|
integer,
|
|
62
10
|
literal,
|
|
@@ -74,18 +22,21 @@ import {
|
|
|
74
22
|
strictObject,
|
|
75
23
|
string,
|
|
76
24
|
union
|
|
77
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3YDF76DP.js";
|
|
78
26
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./chunk-
|
|
27
|
+
ZM
|
|
28
|
+
} from "./chunk-W4TDCCT3.js";
|
|
81
29
|
import {
|
|
82
30
|
__name
|
|
83
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-AEWYRB6F.js";
|
|
84
32
|
|
|
85
33
|
// dist/config.js
|
|
86
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";
|
|
87
37
|
|
|
88
38
|
// dist/config-issues.js
|
|
39
|
+
import { checkConfigText } from "@wirecat/cli-core";
|
|
89
40
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
90
41
|
var SETTING_NAMES = {
|
|
91
42
|
client_id: "zoom.client_id",
|
|
@@ -170,7 +121,12 @@ var removeAt = /* @__PURE__ */ __name((raw, at) => {
|
|
|
170
121
|
}, "removeAt");
|
|
171
122
|
var publicIssue = /* @__PURE__ */ __name(({ at: _, ...issue }) => issue, "publicIssue");
|
|
172
123
|
|
|
124
|
+
// dist/context-sources.js
|
|
125
|
+
import { CliError as CliError2 } from "@wirecat/cli-base";
|
|
126
|
+
|
|
173
127
|
// dist/profile.js
|
|
128
|
+
import { CliError } from "@wirecat/cli-base";
|
|
129
|
+
import { usableProfileName } from "@wirecat/cli-core";
|
|
174
130
|
var profilePattern = /^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/;
|
|
175
131
|
var profileAccountKey = /* @__PURE__ */ __name((profile) => `zm-profile:${profile}`, "profileAccountKey");
|
|
176
132
|
var given = /* @__PURE__ */ __name((value) => value?.trim() ? value.trim() : void 0, "given");
|
|
@@ -218,24 +174,35 @@ var contextSourcesSchema = pipe(array(strictObject({ ...fields, profile: pipe(st
|
|
|
218
174
|
}));
|
|
219
175
|
var replaceContextSources = /* @__PURE__ */ __name((value, profile, existing = []) => {
|
|
220
176
|
if (!profile)
|
|
221
|
-
throw new
|
|
177
|
+
throw new CliError2("configuration_error", "name a profile: `zm <profile> config set context.sources \u2026`");
|
|
222
178
|
let input;
|
|
223
179
|
try {
|
|
224
180
|
input = JSON.parse(value);
|
|
225
181
|
} catch {
|
|
226
|
-
throw new
|
|
182
|
+
throw new CliError2("validation_error", "context.sources must be a JSON array");
|
|
227
183
|
}
|
|
228
184
|
const parsed = safeParse(selected, input);
|
|
229
185
|
if (!parsed.success)
|
|
230
|
-
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");
|
|
231
187
|
const combined = [...existing.filter((s) => s.profile !== profile), ...parsed.output.map((s) => ({ ...s, profile }))];
|
|
232
188
|
const all = safeParse(contextSourcesSchema, combined);
|
|
233
189
|
if (!all.success)
|
|
234
|
-
throw new
|
|
190
|
+
throw new CliError2("validation_error", "context.sources contains duplicate IDs/identities or exceeds its profile limits");
|
|
235
191
|
return all.output;
|
|
236
192
|
}, "replaceContextSources");
|
|
237
193
|
|
|
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";
|
|
197
|
+
|
|
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";
|
|
202
|
+
|
|
238
203
|
// dist/read-only.js
|
|
204
|
+
import { metaOf } from "@wirecat/cli-base/commands";
|
|
205
|
+
import { changesAuthorityNow, isLogin, isStoreChange, readOnlyLockOf, readOnlyRefusal } from "@wirecat/cli-core";
|
|
239
206
|
var pathOf2 = /* @__PURE__ */ __name((command) => {
|
|
240
207
|
const words = [];
|
|
241
208
|
for (let at = command; at?.parent; at = at.parent)
|
|
@@ -288,8 +255,8 @@ var annotateMeetingCommands = /* @__PURE__ */ __name((program) => {
|
|
|
288
255
|
if (command.commands.length)
|
|
289
256
|
continue;
|
|
290
257
|
const path = item.path.join(" ");
|
|
291
|
-
if (!
|
|
292
|
-
throw new
|
|
258
|
+
if (!metaOf2(command).effects)
|
|
259
|
+
throw new CliError3("configuration_error", `command effects are missing: ${path}`);
|
|
293
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)];
|
|
294
261
|
if (JSON.stringify(examples) === JSON.stringify(item.examples))
|
|
295
262
|
continue;
|
|
@@ -353,14 +320,14 @@ var exampleFor = /* @__PURE__ */ __name((path) => {
|
|
|
353
320
|
var addStandardCommands = addStandardCommandsDefinition;
|
|
354
321
|
|
|
355
322
|
// dist/permissions.js
|
|
356
|
-
var
|
|
323
|
+
var DEFAULT_PERMISSIONS = SHARED_DEFAULT_PERMISSIONS;
|
|
357
324
|
var discoveryLevels = /* @__PURE__ */ __name((own, env) => {
|
|
358
325
|
const ceiling = setupPermissionCeiling(env);
|
|
359
326
|
return {
|
|
360
|
-
...
|
|
327
|
+
...DEFAULT_PERMISSIONS,
|
|
361
328
|
...own,
|
|
362
329
|
...ceiling ? { [CEILING_KEY]: ceiling } : {},
|
|
363
|
-
...
|
|
330
|
+
...readOnlyLockOf2(ZM, env) ? { [CEILING_KEY]: "readonly" } : {}
|
|
364
331
|
};
|
|
365
332
|
}, "discoveryLevels");
|
|
366
333
|
var HOUSEKEEPING = /* @__PURE__ */ new Set([...PROFILE_FREE, "session", "account", "mcp"]);
|
|
@@ -392,21 +359,21 @@ var parsePermissions = /* @__PURE__ */ __name((value, known) => {
|
|
|
392
359
|
try {
|
|
393
360
|
parsed = JSON.parse(value);
|
|
394
361
|
} catch {
|
|
395
|
-
throw new
|
|
362
|
+
throw new CliError4("validation_error", 'permissions must be a JSON object: {"meetings.create": "allow"}');
|
|
396
363
|
}
|
|
397
364
|
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed))
|
|
398
|
-
throw new
|
|
365
|
+
throw new CliError4("validation_error", 'permissions must be a JSON object: {"meetings.create": "allow"}');
|
|
399
366
|
for (const [key, level] of Object.entries(parsed)) {
|
|
400
367
|
if (!known.has(key))
|
|
401
|
-
throw new
|
|
368
|
+
throw new CliError4("validation_error", `no command is called ${key}; a key is a command path, dotted`, {
|
|
402
369
|
keys: [...known].sort()
|
|
403
370
|
});
|
|
404
371
|
if (!LEVELS.includes(level))
|
|
405
|
-
throw new
|
|
372
|
+
throw new CliError4("validation_error", `${key}: a level is one of ${LEVELS.join(", ")}`);
|
|
406
373
|
}
|
|
407
374
|
return parsed;
|
|
408
375
|
}, "parsePermissions");
|
|
409
|
-
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");
|
|
410
377
|
var checkPermission = /* @__PURE__ */ __name((command, context) => {
|
|
411
378
|
const key = permissionKeyOf(command);
|
|
412
379
|
if (!key)
|
|
@@ -415,21 +382,21 @@ var checkPermission = /* @__PURE__ */ __name((command, context) => {
|
|
|
415
382
|
const profile = named ?? "<profile>";
|
|
416
383
|
const own = named === void 0 ? {} : context.config().permissions[named] ?? {};
|
|
417
384
|
const levels = context.ceiling ? { ...own, [CEILING_KEY]: context.ceiling } : own;
|
|
418
|
-
const { level, key: by } = levelFor(levels, key,
|
|
385
|
+
const { level, key: by } = levelFor(levels, key, DEFAULT_PERMISSIONS);
|
|
419
386
|
const at = by ?? key;
|
|
420
387
|
if (level === "deny")
|
|
421
388
|
throw refuse(at, level, profile, "refused");
|
|
422
389
|
const changes = refusalOf(command);
|
|
423
390
|
if (level === "readonly" && changes && by === CEILING_KEY)
|
|
424
|
-
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 });
|
|
425
392
|
if (level === "readonly" && changes)
|
|
426
393
|
throw refuse(at, level, profile, `refused to ${changes}`);
|
|
427
394
|
}, "checkPermission");
|
|
428
395
|
var askOwner = /* @__PURE__ */ __name(async (command, at, profile, confirm) => {
|
|
429
396
|
if (!confirm)
|
|
430
|
-
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 });
|
|
431
398
|
if (!await confirm(`zm: ${pathOf3(command).join(" ")} changes Zoom for profile ${profile}. Apply?`))
|
|
432
|
-
throw new
|
|
399
|
+
throw new CliError4("cancelled", "not applied");
|
|
433
400
|
}, "askOwner");
|
|
434
401
|
var askBeforeWrite = /* @__PURE__ */ __name(async (command, context) => {
|
|
435
402
|
const key = permissionKeyOf(command);
|
|
@@ -437,7 +404,7 @@ var askBeforeWrite = /* @__PURE__ */ __name(async (command, context) => {
|
|
|
437
404
|
return;
|
|
438
405
|
const named = context.profile();
|
|
439
406
|
const own = named === void 0 ? {} : context.config().permissions[named] ?? {};
|
|
440
|
-
const { level, key: by } = levelFor(own, key,
|
|
407
|
+
const { level, key: by } = levelFor(own, key, DEFAULT_PERMISSIONS);
|
|
441
408
|
if (level !== "ask" || command.optsWithGlobals().yes)
|
|
442
409
|
return;
|
|
443
410
|
await askOwner(command, by ?? key, named ?? "<profile>", context.confirm);
|
|
@@ -450,7 +417,7 @@ var guardCommand = /* @__PURE__ */ __name((command, env, context, confirm) => {
|
|
|
450
417
|
|
|
451
418
|
// dist/config.js
|
|
452
419
|
var ProfileEntry = strictObject({
|
|
453
|
-
permissions: optional(record(pipe(string(), regex(/^[a-z][a-z.-]*$/)), picklist(
|
|
420
|
+
permissions: optional(record(pipe(string(), regex(/^[a-z][a-z.-]*$/)), picklist(LEVELS2)))
|
|
454
421
|
});
|
|
455
422
|
var ConfigFile = strictObject({
|
|
456
423
|
client_id: optional(nullable(pipe(string(), check((id) => id.trim() !== "" && !/\s/.test(id), "has to be a Zoom client ID, without spaces")))),
|
|
@@ -532,13 +499,13 @@ var inspectConfig = /* @__PURE__ */ __name((path, permissionKeys2) => {
|
|
|
532
499
|
var readConfig = /* @__PURE__ */ __name((path, permissionKeys2) => {
|
|
533
500
|
const { issues, config } = inspectConfig(path, permissionKeys2);
|
|
534
501
|
if (issues.length > 0)
|
|
535
|
-
throw new
|
|
502
|
+
throw new CliError5("configuration_error", issueMessage(issues.map(publicIssue), DOCTOR));
|
|
536
503
|
return config;
|
|
537
504
|
}, "readConfig");
|
|
538
505
|
var changeFile = /* @__PURE__ */ __name((path, permissionKeys2, change) => {
|
|
539
506
|
const inspection = inspectConfig(path, permissionKeys2);
|
|
540
507
|
if (!inspection.raw)
|
|
541
|
-
throw new
|
|
508
|
+
throw new CliError5("configuration_error", issueMessage(inspection.issues.map(publicIssue), DOCTOR));
|
|
542
509
|
const raw = structuredClone(inspection.raw);
|
|
543
510
|
const removed = change(raw, inspection);
|
|
544
511
|
saveConfigFile(path, withSettingDefaults(raw, ZOOM_SETTINGS.filter(({ key }) => key !== removed)).config);
|
|
@@ -549,7 +516,7 @@ var migrateConfig = /* @__PURE__ */ __name((path) => {
|
|
|
549
516
|
if (!inspection.found)
|
|
550
517
|
return [];
|
|
551
518
|
if (!inspection.raw)
|
|
552
|
-
throw new
|
|
519
|
+
throw new CliError5("configuration_error", issueMessage(inspection.issues.map(publicIssue), DOCTOR));
|
|
553
520
|
const { config, added } = withSettingDefaults(inspection.raw, ZOOM_SETTINGS);
|
|
554
521
|
if (added.length > 0)
|
|
555
522
|
saveConfigFile(path, config);
|
|
@@ -569,14 +536,14 @@ var setConfig = /* @__PURE__ */ __name((path, key, value, profile, permissionKey
|
|
|
569
536
|
case "permissions": {
|
|
570
537
|
const name = profile?.();
|
|
571
538
|
if (!name)
|
|
572
|
-
throw new
|
|
539
|
+
throw new CliError5("validation_error", "name a profile: `zm <profile> config set permissions \u2026`");
|
|
573
540
|
profileEntry(raw, name).permissions = parsePermissions(value, permissionKeys2 ?? /* @__PURE__ */ new Set());
|
|
574
541
|
return;
|
|
575
542
|
}
|
|
576
543
|
case "context.sources": {
|
|
577
544
|
const broken = issues.find((issue) => issue.at[0] === "context_sources");
|
|
578
545
|
if (broken)
|
|
579
|
-
throw new
|
|
546
|
+
throw new CliError5("configuration_error", issueMessage([publicIssue(broken)], DOCTOR));
|
|
580
547
|
raw.context_sources = replaceContextSources(value, profile?.() ?? null, config.contextSources);
|
|
581
548
|
return;
|
|
582
549
|
}
|
|
@@ -585,49 +552,49 @@ var setConfig = /* @__PURE__ */ __name((path, key, value, profile, permissionKey
|
|
|
585
552
|
return;
|
|
586
553
|
case "source":
|
|
587
554
|
if (value !== "api" && value !== "files")
|
|
588
|
-
throw new
|
|
555
|
+
throw new CliError5("validation_error", "source must be api or files");
|
|
589
556
|
raw.source = value;
|
|
590
557
|
return;
|
|
591
558
|
case "files.folder":
|
|
592
559
|
if (!value.trim())
|
|
593
|
-
throw new
|
|
560
|
+
throw new CliError5("validation_error", "folder must not be empty");
|
|
594
561
|
raw.files_folder = value;
|
|
595
562
|
return;
|
|
596
563
|
case "files.timezone":
|
|
597
564
|
try {
|
|
598
565
|
new Intl.DateTimeFormat("en", { timeZone: value });
|
|
599
566
|
} catch {
|
|
600
|
-
throw new
|
|
567
|
+
throw new CliError5("validation_error", "expected an IANA time zone");
|
|
601
568
|
}
|
|
602
569
|
raw.files_timezone = value;
|
|
603
570
|
return;
|
|
604
571
|
case "record":
|
|
605
572
|
if (value !== "true" && value !== "false")
|
|
606
|
-
throw new
|
|
573
|
+
throw new CliError5("validation_error", "record must be true or false");
|
|
607
574
|
raw.record = value === "true";
|
|
608
575
|
return;
|
|
609
576
|
case "keep_runs_for_days":
|
|
610
577
|
if (!/^[1-9]\d{0,4}$/.test(value))
|
|
611
|
-
throw new
|
|
578
|
+
throw new CliError5("validation_error", "keep_runs_for_days must be a whole number of days, 1 or more");
|
|
612
579
|
raw.keep_runs_for_days = Number(value);
|
|
613
580
|
return;
|
|
614
581
|
case "record_input":
|
|
615
582
|
if (value !== "true" && value !== "false" && value !== "failed")
|
|
616
|
-
throw new
|
|
583
|
+
throw new CliError5("validation_error", "record_input must be true, false or failed");
|
|
617
584
|
raw.record_input = value === "failed" ? value : value === "true";
|
|
618
585
|
return;
|
|
619
586
|
case "keep_successful_runs_for_days":
|
|
620
587
|
if (!/^[1-9]\d{0,4}$/.test(value))
|
|
621
|
-
throw new
|
|
588
|
+
throw new CliError5("validation_error", "keep_successful_runs_for_days must be a whole number of days, 1 or more");
|
|
622
589
|
raw.keep_successful_runs_for_days = Number(value);
|
|
623
590
|
return;
|
|
624
591
|
case "runs_size_limit_mb":
|
|
625
592
|
if (!/^[1-9]\d{0,5}$/.test(value))
|
|
626
|
-
throw new
|
|
593
|
+
throw new CliError5("validation_error", "runs_size_limit_mb must be a whole number of megabytes, 1 or more");
|
|
627
594
|
raw.runs_size_limit_mb = Number(value);
|
|
628
595
|
return;
|
|
629
596
|
default:
|
|
630
|
-
throw new
|
|
597
|
+
throw new CliError5("validation_error", "unknown config key");
|
|
631
598
|
}
|
|
632
599
|
}), "setConfig");
|
|
633
600
|
var unsetConfig = /* @__PURE__ */ __name((path, key, profile, permissionKeys2) => changeFile(path, permissionKeys2, (raw, { issues }) => {
|
|
@@ -647,9 +614,9 @@ var unsetConfig = /* @__PURE__ */ __name((path, key, profile, permissionKeys2) =
|
|
|
647
614
|
}), "unsetConfig");
|
|
648
615
|
var profileSettingAt = /* @__PURE__ */ __name((key, profile) => {
|
|
649
616
|
if (key !== "permissions" && !key.startsWith("permissions."))
|
|
650
|
-
throw new
|
|
617
|
+
throw new CliError5("validation_error", "unknown config key");
|
|
651
618
|
if (!profile)
|
|
652
|
-
throw new
|
|
619
|
+
throw new CliError5("validation_error", `name a profile: \`zm <profile> config unset ${key}\``);
|
|
653
620
|
return key === "permissions" ? ["profiles", profile, "permissions"] : ["profiles", profile, "permissions", key.slice("permissions.".length)];
|
|
654
621
|
}, "profileSettingAt");
|
|
655
622
|
var addProfile = /* @__PURE__ */ __name((path, profile) => {
|
|
@@ -669,7 +636,7 @@ export {
|
|
|
669
636
|
markProfileFree,
|
|
670
637
|
zoomRunsCommand,
|
|
671
638
|
addStandardCommands,
|
|
672
|
-
|
|
639
|
+
DEFAULT_PERMISSIONS,
|
|
673
640
|
discoveryLevels,
|
|
674
641
|
permissionKeyForPath,
|
|
675
642
|
permissionKeys,
|
|
@@ -2,18 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkCancelled
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import {
|
|
7
|
-
createOutputBuffer
|
|
8
|
-
} from "./chunk-3QN5KDFZ.js";
|
|
9
|
-
import {
|
|
10
|
-
CliError
|
|
11
|
-
} from "./chunk-IANKXHSE.js";
|
|
5
|
+
} from "./chunk-WSGD5Q6L.js";
|
|
12
6
|
import {
|
|
13
7
|
__name
|
|
14
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AEWYRB6F.js";
|
|
15
9
|
|
|
16
10
|
// dist/streaming.js
|
|
11
|
+
import { CliError, createOutputBuffer } from "@wirecat/cli-base";
|
|
17
12
|
var writeStream = /* @__PURE__ */ __name((stream, text, signal) => {
|
|
18
13
|
checkCancelled(signal);
|
|
19
14
|
return new Promise((resolve, reject) => {
|