@wirecat/zoom-cli 0.82.0 → 0.83.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 +2 -2
- package/contracts/wirecat.json +54 -54
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +1 -1
- package/dist/api.js.map +1 -1
- package/dist/bin/main.js +2 -15
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/agent-3HDWEZ5M.js +47 -0
- package/dist/bundle/{all-profiles-RULEKTDQ.js → all-profiles-RY2OMSDL.js} +8 -8
- package/dist/bundle/answer-policy-IFVXPPGW.js +131 -0
- package/dist/bundle/{anthropic-4NAQBZFL.js → anthropic-36VPSF7B.js} +3 -3
- package/dist/bundle/{app-server-VLR42U5L.js → app-server-ZVJVUGB7.js} +72 -71
- package/dist/bundle/{bun-OPDGMZZQ.js → bun-F4M4KCNA.js} +2 -2
- package/dist/bundle/{bun-sqlite-HC6X4AOX.js → bun-sqlite-IOPYIUA7.js} +4 -4
- package/dist/bundle/{chunk-MAJJ4PG3.js → chunk-26TW5RZ6.js} +31 -315
- package/dist/bundle/{chunk-XQQVMECZ.js → chunk-2DK5BBFF.js} +1 -1
- package/dist/bundle/{chunk-BP4FYANF.js → chunk-2IBKKVVZ.js} +4 -4
- package/dist/bundle/{chunk-52Y4ETKU.js → chunk-2S54TM4N.js} +3 -3
- package/dist/bundle/{chunk-DCYFT3FR.js → chunk-3AQHKXVR.js} +4 -4
- package/dist/bundle/{chunk-VS6WURLX.js → chunk-3CW2C7ZA.js} +2 -2
- package/dist/bundle/{chunk-6QYZP4E2.js → chunk-3KUEZK5Z.js} +2 -2
- package/dist/bundle/{chunk-YJXJJ2XP.js → chunk-3PXUQFHX.js} +7 -7
- package/dist/bundle/{chunk-PSKTMMCO.js → chunk-575JMTDR.js} +17 -16
- package/dist/bundle/{chunk-QPHBK63S.js → chunk-5B2LV4MS.js} +2 -1
- package/dist/bundle/{chunk-OGNO35A2.js → chunk-5WL5RHOO.js} +5 -100
- package/dist/bundle/{chunk-ASBDFXLS.js → chunk-6C7ESL5N.js} +2 -2
- package/dist/bundle/{chunk-676C2LE6.js → chunk-6E4KLYNP.js} +10 -10
- package/dist/bundle/chunk-7JDXR75Q.js +465 -0
- package/dist/bundle/{chunk-UR5DBODY.js → chunk-AK3H2C65.js} +30 -26
- package/dist/bundle/{chunk-VB7FZOYX.js → chunk-AQ5RIOUE.js} +1 -1
- package/dist/bundle/{chunk-UKAAAOPC.js → chunk-AQLUAQXJ.js} +23 -15
- package/dist/bundle/{chunk-V5EJSF2B.js → chunk-ASTLGFTR.js} +205 -170
- package/dist/bundle/{chunk-PWVJUIDQ.js → chunk-ATHBB7OU.js} +2 -2
- package/dist/bundle/{chunk-GTKPMYK7.js → chunk-B2NM65RD.js} +13 -5
- package/dist/bundle/{chunk-G6PETRMV.js → chunk-B4KHDXJE.js} +2 -2
- package/dist/bundle/{chunk-4HLQ2JGK.js → chunk-BAFC7WNI.js} +3 -3
- package/dist/bundle/{chunk-KVJ3I7UL.js → chunk-BTLZYRIW.js} +5 -5
- package/dist/bundle/{chunk-KKFY23AK.js → chunk-BZDS2X6Y.js} +61 -61
- package/dist/bundle/{chunk-VZ5PPYDG.js → chunk-C7JPYWYQ.js} +1 -1
- package/dist/bundle/{chunk-W5QHB53X.js → chunk-CDQUW25G.js} +10 -10
- package/dist/bundle/{chunk-AIKFOBDO.js → chunk-CJWGJBHW.js} +28 -8
- package/dist/bundle/{chunk-HP7A2ZOP.js → chunk-D7RCUODT.js} +7 -7
- package/dist/bundle/{chunk-LEKKTJKK.js → chunk-DQJECJUE.js} +23 -102
- package/dist/bundle/{chunk-B32KZRQM.js → chunk-E4JQ3MCW.js} +11 -11
- package/dist/bundle/{chunk-HZENBDW2.js → chunk-E4ODYLEK.js} +6 -6
- package/dist/bundle/{chunk-RQOZBTNI.js → chunk-EE45N67Q.js} +3 -3
- package/dist/bundle/{chunk-VB72LTSZ.js → chunk-EEEU4MKK.js} +11 -11
- package/dist/bundle/{chunk-EGTCQKHV.js → chunk-ETIZGA4P.js} +5 -5
- package/dist/bundle/{chunk-BDKVOU3I.js → chunk-F44QK6CK.js} +3 -3
- package/dist/bundle/{chunk-274SLQNW.js → chunk-FH2UFNH6.js} +2 -2
- package/dist/bundle/{chunk-3HC5F3P7.js → chunk-FTH6WGYO.js} +1 -1
- package/dist/bundle/chunk-FWACRG4X.js +160 -0
- package/dist/bundle/chunk-G5SZL7G2.js +150 -0
- package/dist/bundle/{chunk-EQG3PIH2.js → chunk-G6CHEFAG.js} +2 -2
- package/dist/bundle/{chunk-66ALX4ZI.js → chunk-GHJD7PE6.js} +18 -18
- package/dist/bundle/{chunk-Q7ICVP25.js → chunk-GZ7WBU5Y.js} +1 -1
- package/dist/bundle/{chunk-UL2PXLKT.js → chunk-H6A4NWYJ.js} +320 -43
- package/dist/bundle/{chunk-WMANRJR5.js → chunk-HKLRI2LB.js} +6 -6
- package/dist/bundle/{chunk-L75SMSJR.js → chunk-HMD4FZYY.js} +3 -3
- package/dist/bundle/{chunk-2JHVQMVC.js → chunk-HO4JGD4Q.js} +1 -1
- package/dist/bundle/{chunk-WOPVBRPV.js → chunk-HUAHLO6N.js} +1 -1
- package/dist/bundle/{chunk-6VK332XS.js → chunk-IQZXFWFI.js} +2 -2
- package/dist/bundle/{chunk-NB7EOAUZ.js → chunk-ISQ23VKV.js} +1 -1
- package/dist/bundle/{chunk-QVYAV7F2.js → chunk-JEH33ZCD.js} +3 -3
- package/dist/bundle/{chunk-ICPJT672.js → chunk-JUNQYWQ2.js} +6 -6
- package/dist/bundle/{chunk-K5JGJIV2.js → chunk-JUXMVQWJ.js} +311 -152
- package/dist/bundle/{chunk-OBXQLFT5.js → chunk-KHQDWYCG.js} +1 -1
- package/dist/bundle/{chunk-GGMAIIVE.js → chunk-KYRYD4CR.js} +1 -1
- package/dist/bundle/chunk-LBGT6W4R.js +377 -0
- package/dist/bundle/{chunk-JQ54DYAQ.js → chunk-LN7HRYTH.js} +1 -1
- package/dist/bundle/{chunk-G46WJ7YO.js → chunk-MEB7HBTM.js} +5 -5
- package/dist/bundle/{chunk-M7H4MCAX.js → chunk-MEEFWYX3.js} +3 -3
- package/dist/bundle/{chunk-73MOMNLL.js → chunk-MNOAMJ6H.js} +1 -1
- package/dist/bundle/{chunk-A6EZK5RG.js → chunk-MYHPXJDG.js} +1 -1
- package/dist/bundle/{chunk-HC6VN5CO.js → chunk-NGI37RFW.js} +7 -7
- package/dist/bundle/{chunk-2GP573Q4.js → chunk-NZMWD7Y3.js} +3656 -2697
- package/dist/bundle/chunk-O6IECJRM.js +54 -0
- package/dist/bundle/{chunk-Y6PVS55U.js → chunk-OBWL3BUV.js} +35 -35
- package/dist/bundle/{chunk-2XBDILVW.js → chunk-OEEWVKJX.js} +1 -1
- package/dist/bundle/chunk-OGTN2KVG.js +147 -0
- package/dist/bundle/{chunk-GWGHH56B.js → chunk-OQYZ3W4K.js} +10 -10
- package/dist/bundle/{chunk-2CI2OEZQ.js → chunk-P3ZCTYGW.js} +2 -2
- package/dist/bundle/{chunk-OIPYBF43.js → chunk-PVEBAHFU.js} +2 -2
- package/dist/bundle/{chunk-2SWKQ7C4.js → chunk-R6IA5UQB.js} +1 -1
- package/dist/bundle/{chunk-T7IAWEBU.js → chunk-RLOH7RDN.js} +7 -7
- package/dist/bundle/{chunk-KJ6USQDZ.js → chunk-RQ4AXSCJ.js} +5 -5
- package/dist/bundle/{chunk-XQ2WL3HB.js → chunk-RYGTCRFZ.js} +2 -2
- package/dist/bundle/{chunk-N46F72AF.js → chunk-S4PXWIE4.js} +84 -86
- package/dist/bundle/{chunk-MQLPZBMQ.js → chunk-SDZZYZLL.js} +1 -1
- package/dist/bundle/{chunk-E745WZKY.js → chunk-SHQAYUK6.js} +6 -6
- package/dist/bundle/{chunk-3YM4B2GT.js → chunk-T3W4V4A6.js} +1 -1
- package/dist/bundle/{chunk-4N7PP76S.js → chunk-TCT5D2X2.js} +1 -1
- package/dist/bundle/{chunk-7QPIUMUG.js → chunk-TDWPOSPR.js} +10 -10
- package/dist/bundle/{chunk-ZED2CJW5.js → chunk-TER3N27H.js} +6 -6
- package/dist/bundle/{chunk-UQCTXZEP.js → chunk-TMTNP7QN.js} +9 -9
- package/dist/bundle/{chunk-KWU46LNK.js → chunk-TO5UEWXR.js} +2 -2
- package/dist/bundle/{chunk-OQFQ77AY.js → chunk-UBH7YF3C.js} +61 -59
- package/dist/bundle/{chunk-QVSL5WJ7.js → chunk-UEAE3JUU.js} +488 -436
- package/dist/bundle/{chunk-5KYQ53EF.js → chunk-UHR363OD.js} +7 -7
- package/dist/bundle/{chunk-7UVDPRFK.js → chunk-UM52A76S.js} +5 -5
- package/dist/bundle/{chunk-ZOYOXWJB.js → chunk-URP6BTHN.js} +34 -156
- package/dist/bundle/{chunk-N3JLO63O.js → chunk-UWQEAA6S.js} +1 -1
- package/dist/bundle/{chunk-OO4TRVPB.js → chunk-VR7QZGRU.js} +5 -5
- package/dist/bundle/{chunk-GBHMT2IU.js → chunk-VRH5PBSL.js} +13 -13
- package/dist/bundle/chunk-VTLQTQKY.js +1756 -0
- package/dist/bundle/{chunk-ACI4YIEH.js → chunk-VTYNLTDW.js} +1 -1
- package/dist/bundle/{chunk-NEMX3UNN.js → chunk-WY7XG6TE.js} +2 -2
- package/dist/bundle/{chunk-AC6VJNMJ.js → chunk-XEOZTA3H.js} +1 -1
- package/dist/bundle/{chunk-QG6PILDO.js → chunk-XH23ML2V.js} +1 -1
- package/dist/bundle/{chunk-5HAUK3I4.js → chunk-XYF76A26.js} +1179 -783
- package/dist/bundle/{chunk-KQPUVXKX.js → chunk-ZDYJAEVB.js} +2 -2
- package/dist/bundle/{chunk-TKNM22OH.js → chunk-ZJ63HDBT.js} +1 -1
- package/dist/bundle/{chunk-5TU7Y5UW.js → chunk-ZT4ZPUIO.js} +11 -11
- package/dist/bundle/{cli-U4O5XB7J.js → cli-JK6PQSSN.js} +94 -79
- package/dist/bundle/command-contract-F3QNBKPX.js +46 -0
- package/dist/bundle/{command-server-entry-KKH6ZWJV.js → command-server-entry-DJLGN62J.js} +31 -30
- package/dist/bundle/config-TYYMV3HV.js +118 -0
- package/dist/bundle/{decode-TPCNXEK4.js → decode-ZZICNNFF.js} +3 -3
- package/dist/bundle/{dist-7CLBCYZN.js → dist-NQPF25XI.js} +47 -46
- package/dist/bundle/{echarts-O3TNDAXJ.js → echarts-QMAA7HH5.js} +2 -2
- package/dist/bundle/{embed-WCJSFVSK.js → embed-T64EUKUI.js} +4 -4
- package/dist/bundle/{embedder-TBBUPXBX.js → embedder-ZEKISZXI.js} +7 -7
- package/dist/bundle/{first-run-ELEMFW42.js → first-run-ZFNY4RRH.js} +8 -8
- package/dist/bundle/first-screen-LPGCHRHZ.js +47 -0
- package/dist/bundle/{folders-LXOL4N4S.js → folders-ROKVKSCT.js} +2 -2
- package/dist/bundle/{instructions-AMH5RWVJ.js → instructions-4H7UREH2.js} +1 -1
- package/dist/bundle/{main-YAA7WQ23.js → main-GCK3VYAA.js} +24 -34
- package/dist/bundle/meeting-combined-7HDPOUPB.js +28 -0
- package/dist/bundle/{meeting-model-3BZJ3EQP.js → meeting-model-MVUW7UPQ.js} +10 -10
- package/dist/bundle/{meeting-semantic-3HU7I2SJ.js → meeting-semantic-IF633WGX.js} +3 -3
- package/dist/bundle/{meetings-XWMB6FOH.js → meetings-RY2AAPHV.js} +2 -2
- package/dist/bundle/{node-EGMCBAO7.js → node-P3PUHKYH.js} +2 -2
- package/dist/bundle/{node-sqlite-IJBWENFX.js → node-sqlite-ASAZJNHE.js} +5 -5
- package/dist/bundle/{oauth-SZDDAP7A.js → oauth-4U3OCK3W.js} +5 -5
- package/dist/bundle/oauth-AJARLPSY.js +46 -0
- package/dist/bundle/{open-NS3TMKZX.js → open-SEJRY2ZI.js} +3 -3
- package/dist/bundle/{openai-4DN6WI3B.js → openai-FZDSC2AA.js} +12 -12
- package/dist/bundle/{output-file-2UB5JP3R.js → output-file-RYIOIXMD.js} +1 -1
- package/dist/bundle/{process-SGHEN6MQ.js → process-AFIXYXWL.js} +1 -1
- package/dist/bundle/{program-GVCGZP27.js → program-OYLVYA4Z.js} +174 -236
- package/dist/bundle/{prompt-HJFMPFVC.js → prompt-BCRD64F4.js} +3 -3
- package/dist/bundle/{public-C2ZB2AGQ.js → public-SVJILCNI.js} +43 -35
- package/dist/bundle/{recognize-2SEI5PPM.js → recognize-25ITJWGX.js} +2 -2
- package/dist/bundle/{remote-2DMS74XE.js → remote-5FBAJX7O.js} +8 -8
- package/dist/bundle/{rerank-H6GCYVIA.js → rerank-2HGWWORY.js} +5 -5
- package/dist/bundle/run-log-7HRF4Y47.js +145 -0
- package/dist/bundle/{serve-ODVRPFJO.js → serve-RL35MSJD.js} +7 -7
- package/dist/bundle/{server-PCLIO24L.js → server-QUSBWACP.js} +64 -63
- package/dist/bundle/server-SCK2SRDK.js +96 -0
- package/dist/bundle/{services-4QAPXBLO.js → services-BGRIQNDC.js} +55 -53
- package/dist/bundle/{speech-MA6ZT3WE.js → speech-4W3ZMTFK.js} +21 -21
- package/dist/bundle/{sqlite-runtime-PVMAUXRN.js → sqlite-runtime-K3KLRZCV.js} +4 -4
- package/dist/bundle/{state-QFMTYUME.js → state-GYL4C74G.js} +4 -4
- package/dist/bundle/{store-25OTAQC3.js → store-27UQMNEO.js} +23 -21
- package/dist/bundle/{store-F724QIKJ.js → store-NLYH5SQX.js} +54 -43
- package/dist/bundle/store-connection-CZILWRSR.js +112 -0
- package/dist/bundle/store-maintenance-command-Z3QLNSXJ.js +84 -0
- package/dist/bundle/{streaming-S22C4DG5.js → streaming-73EKEGPF.js} +2 -2
- package/dist/bundle/surface-CV3C4RV2.js +82 -0
- package/dist/bundle/tokens-PY3S22LY.js +27 -0
- package/dist/bundle/zm.js +2 -2
- package/dist/bundle/{zoom-app-YWFB367P.js → zoom-app-4F4YY4OI.js} +8 -6
- 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/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/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +2 -12
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +3 -5
- package/dist/program.d.ts.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +6 -1
- package/dist/run.js.map +1 -1
- package/dist/setup-commands.d.ts +5 -14
- 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/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/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zoom-app.js +1 -1
- package/dist/zoom-app.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 +2 -2
- package/skills/zoom-cli/references/setup.md +2 -2
- package/dist/bundle/agent-F4TRJWWS.js +0 -46
- package/dist/bundle/answer-policy-6XC57AEZ.js +0 -131
- package/dist/bundle/chunk-2DBF2IIC.js +0 -330
- package/dist/bundle/chunk-DSZYABYL.js +0 -808
- package/dist/bundle/chunk-KXJ3JEDH.js +0 -2
- package/dist/bundle/chunk-LAYYO4WD.js +0 -31
- package/dist/bundle/chunk-PMUPN6JW.js +0 -773
- package/dist/bundle/chunk-TKVBFJ5C.js +0 -37
- package/dist/bundle/chunk-YY7XKHDY.js +0 -79
- package/dist/bundle/command-contract-FBTK6GQX.js +0 -45
- package/dist/bundle/config-FRJSIZNN.js +0 -118
- package/dist/bundle/first-screen-DIOBWMKP.js +0 -46
- package/dist/bundle/meeting-combined-UXCF4SJ3.js +0 -26
- package/dist/bundle/run-log-QU26SUZP.js +0 -145
- package/dist/bundle/server-NBPF6IDZ.js +0 -95
- package/dist/bundle/store-connection-OGPXANGB.js +0 -111
- package/dist/bundle/store-maintenance-command-2CM7LLNQ.js +0 -83
- 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
- package/dist/bundle/{chunk-6CWL5BKG.js → chunk-3QN5KDFZ.js} +147 -147
- /package/dist/bundle/{chunk-7O7XM37N.js → chunk-7ECP5ZQR.js} +0 -0
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import "./chunk-EEEU4MKK.js";
|
|
3
4
|
import {
|
|
5
|
+
ZOOM_ANSWER_ENTITIES,
|
|
4
6
|
addMeetingEmbeddingCommand,
|
|
5
7
|
addMeetingSearchCommands,
|
|
8
|
+
bodyOf,
|
|
6
9
|
bytes,
|
|
7
10
|
commandDeadline,
|
|
8
11
|
compactLocalTranscriptionReceipt,
|
|
9
12
|
connectSelectedProfile,
|
|
13
|
+
declareZoomAnswers,
|
|
10
14
|
duration,
|
|
11
15
|
integrationReference,
|
|
12
16
|
meetingSearchDefinition,
|
|
17
|
+
renderBody,
|
|
13
18
|
runUnifiedSearch,
|
|
14
19
|
runsLong,
|
|
15
20
|
sharedExecution,
|
|
@@ -20,23 +25,23 @@ import {
|
|
|
20
25
|
validatePersonContext,
|
|
21
26
|
validateTaskKind,
|
|
22
27
|
validateTaskProposal,
|
|
23
|
-
validateUnifiedSearch
|
|
24
|
-
|
|
28
|
+
validateUnifiedSearch,
|
|
29
|
+
wholeList
|
|
30
|
+
} from "./chunk-H6A4NWYJ.js";
|
|
25
31
|
import {
|
|
26
32
|
emitReceipt
|
|
27
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-2DK5BBFF.js";
|
|
34
|
+
import "./chunk-TMTNP7QN.js";
|
|
35
|
+
import "./chunk-3CW2C7ZA.js";
|
|
28
36
|
import {
|
|
29
37
|
DEFAULT_PERMISSIONS,
|
|
30
|
-
ZOOM_ANSWER_ENTITIES,
|
|
31
38
|
ZOOM_SETTINGS,
|
|
32
39
|
addProfile,
|
|
33
40
|
addStandardCommands,
|
|
34
41
|
annotateMeetingCommands,
|
|
35
42
|
askBeforeWrite,
|
|
36
|
-
bodyOf,
|
|
37
43
|
chooseProfile,
|
|
38
44
|
contextSourcesSchema,
|
|
39
|
-
declareZoomAnswers,
|
|
40
45
|
discoveryLevels,
|
|
41
46
|
filesZone,
|
|
42
47
|
guardCommand,
|
|
@@ -48,12 +53,10 @@ import {
|
|
|
48
53
|
profileAccountKey,
|
|
49
54
|
publicIssue,
|
|
50
55
|
readConfig,
|
|
51
|
-
renderBody,
|
|
52
56
|
setConfig,
|
|
53
57
|
unsetConfig,
|
|
54
|
-
wholeList,
|
|
55
58
|
zoomRunsCommand
|
|
56
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-26TW5RZ6.js";
|
|
57
60
|
import {
|
|
58
61
|
MEMO_SCENARIOS,
|
|
59
62
|
SEARCHES_QUERY,
|
|
@@ -63,7 +66,7 @@ import {
|
|
|
63
66
|
addMeetingPreparationCommand,
|
|
64
67
|
addMeetingProjectCandidatesCommand,
|
|
65
68
|
addMeetingSeriesInventoryCommand,
|
|
66
|
-
|
|
69
|
+
appCompleteCommand,
|
|
67
70
|
appDoctorCommand,
|
|
68
71
|
appMcpCommand,
|
|
69
72
|
createProgram,
|
|
@@ -74,31 +77,32 @@ import {
|
|
|
74
77
|
meetingEvidenceItem,
|
|
75
78
|
meetingPersonContextItem,
|
|
76
79
|
modelCatalogueCommand,
|
|
80
|
+
oauthSessionCommand,
|
|
77
81
|
passageForRun,
|
|
78
82
|
run,
|
|
79
83
|
sharedCommandTemplate,
|
|
80
|
-
signInSteps,
|
|
81
84
|
skillCommand as skillCommand2,
|
|
82
85
|
upgradeCommand
|
|
83
|
-
} from "./chunk-
|
|
84
|
-
import "./chunk-
|
|
86
|
+
} from "./chunk-XYF76A26.js";
|
|
87
|
+
import "./chunk-TDWPOSPR.js";
|
|
85
88
|
import {
|
|
86
89
|
CLIENT_ID_NEED,
|
|
87
90
|
SET_ZOOM_APP,
|
|
88
91
|
checkedClientId,
|
|
89
|
-
login,
|
|
90
92
|
zoomApp,
|
|
91
93
|
zoomAppChecklist,
|
|
92
94
|
zoomAppSetup,
|
|
93
95
|
zoomClientId,
|
|
94
96
|
zoomClientReport
|
|
95
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-5WL5RHOO.js";
|
|
96
98
|
import {
|
|
97
|
-
TokenManager
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
TokenManager,
|
|
100
|
+
ZOOM_CODEC,
|
|
101
|
+
legacyAccountsOf,
|
|
102
|
+
zoomProvider
|
|
103
|
+
} from "./chunk-OGTN2KVG.js";
|
|
104
|
+
import "./chunk-O6IECJRM.js";
|
|
105
|
+
import "./chunk-JUXMVQWJ.js";
|
|
102
106
|
import {
|
|
103
107
|
ZoneAssumptions,
|
|
104
108
|
cancellableStore,
|
|
@@ -110,31 +114,28 @@ import {
|
|
|
110
114
|
zoomInstant,
|
|
111
115
|
zoomTime
|
|
112
116
|
} from "./chunk-434YFJAE.js";
|
|
113
|
-
import "./chunk-VB72LTSZ.js";
|
|
114
|
-
import "./chunk-UQCTXZEP.js";
|
|
115
|
-
import "./chunk-VS6WURLX.js";
|
|
116
117
|
import {
|
|
117
118
|
allAnswer
|
|
118
|
-
} from "./chunk-
|
|
119
|
-
import "./chunk-
|
|
119
|
+
} from "./chunk-AK3H2C65.js";
|
|
120
|
+
import "./chunk-FTH6WGYO.js";
|
|
120
121
|
import {
|
|
121
122
|
skillCommand
|
|
122
|
-
} from "./chunk-
|
|
123
|
-
import "./chunk-
|
|
124
|
-
import "./chunk-
|
|
125
|
-
import "./chunk-
|
|
126
|
-
import "./chunk-
|
|
127
|
-
import "./chunk-
|
|
128
|
-
import "./chunk-
|
|
129
|
-
import "./chunk-
|
|
130
|
-
import "./chunk-
|
|
131
|
-
import "./chunk-
|
|
123
|
+
} from "./chunk-MEEFWYX3.js";
|
|
124
|
+
import "./chunk-6C7ESL5N.js";
|
|
125
|
+
import "./chunk-2S54TM4N.js";
|
|
126
|
+
import "./chunk-F44QK6CK.js";
|
|
127
|
+
import "./chunk-E4ODYLEK.js";
|
|
128
|
+
import "./chunk-C7JPYWYQ.js";
|
|
129
|
+
import "./chunk-3AQHKXVR.js";
|
|
130
|
+
import "./chunk-UBH7YF3C.js";
|
|
131
|
+
import "./chunk-JUNQYWQ2.js";
|
|
132
|
+
import "./chunk-AQLUAQXJ.js";
|
|
132
133
|
import {
|
|
133
134
|
pagingOf
|
|
134
|
-
} from "./chunk-
|
|
135
|
-
import "./chunk-
|
|
136
|
-
import "./chunk-
|
|
137
|
-
import "./chunk-
|
|
135
|
+
} from "./chunk-TER3N27H.js";
|
|
136
|
+
import "./chunk-ETIZGA4P.js";
|
|
137
|
+
import "./chunk-ZDYJAEVB.js";
|
|
138
|
+
import "./chunk-EE45N67Q.js";
|
|
138
139
|
import {
|
|
139
140
|
NativeRecordingPartialStore,
|
|
140
141
|
NativeRecordingPublication,
|
|
@@ -145,15 +146,15 @@ import {
|
|
|
145
146
|
runSettings,
|
|
146
147
|
savedSearchItem,
|
|
147
148
|
validateMeetingPreparationRequest
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import "./chunk-
|
|
150
|
-
import "./chunk-
|
|
149
|
+
} from "./chunk-UEAE3JUU.js";
|
|
150
|
+
import "./chunk-6E4KLYNP.js";
|
|
151
|
+
import "./chunk-5B2LV4MS.js";
|
|
151
152
|
import {
|
|
152
153
|
nativeWriterLeaseStore,
|
|
153
154
|
openOrdinaryFile,
|
|
154
155
|
syncDirectory,
|
|
155
156
|
writeFileAtomic
|
|
156
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-S4PXWIE4.js";
|
|
157
158
|
import {
|
|
158
159
|
addMeetingCommands,
|
|
159
160
|
addMeetingPassageCommand,
|
|
@@ -166,39 +167,40 @@ import {
|
|
|
166
167
|
typedQuery,
|
|
167
168
|
unfilteredQuery,
|
|
168
169
|
withQuery
|
|
169
|
-
} from "./chunk-
|
|
170
|
-
import "./chunk-
|
|
171
|
-
import "./chunk-
|
|
172
|
-
import "./chunk-
|
|
173
|
-
import "./chunk-
|
|
174
|
-
import "./chunk-
|
|
175
|
-
import "./chunk-
|
|
170
|
+
} from "./chunk-VRH5PBSL.js";
|
|
171
|
+
import "./chunk-OQYZ3W4K.js";
|
|
172
|
+
import "./chunk-IQZXFWFI.js";
|
|
173
|
+
import "./chunk-UHR363OD.js";
|
|
174
|
+
import "./chunk-ISQ23VKV.js";
|
|
175
|
+
import "./chunk-HUAHLO6N.js";
|
|
176
|
+
import "./chunk-ZT4ZPUIO.js";
|
|
176
177
|
import {
|
|
177
178
|
latestVersion,
|
|
178
179
|
runUpdate,
|
|
179
180
|
updateNotice
|
|
180
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-MYHPXJDG.js";
|
|
181
182
|
import "./chunk-TY7NDMFY.js";
|
|
182
183
|
import {
|
|
184
|
+
legacyLoginService,
|
|
183
185
|
sameConfigFolder,
|
|
184
186
|
zmPaths
|
|
185
|
-
} from "./chunk-
|
|
186
|
-
import "./chunk-
|
|
187
|
-
import "./chunk-
|
|
188
|
-
import "./chunk-
|
|
189
|
-
import "./chunk-
|
|
190
|
-
import "./chunk-
|
|
187
|
+
} from "./chunk-XEOZTA3H.js";
|
|
188
|
+
import "./chunk-E4JQ3MCW.js";
|
|
189
|
+
import "./chunk-RYGTCRFZ.js";
|
|
190
|
+
import "./chunk-CJWGJBHW.js";
|
|
191
|
+
import "./chunk-XH23ML2V.js";
|
|
192
|
+
import "./chunk-NGI37RFW.js";
|
|
191
193
|
import "./chunk-HTQTIKWP.js";
|
|
192
|
-
import "./chunk-
|
|
193
|
-
import "./chunk-
|
|
194
|
-
import "./chunk-
|
|
195
|
-
import "./chunk-
|
|
196
|
-
import "./chunk-
|
|
197
|
-
import "./chunk-
|
|
198
|
-
import "./chunk-
|
|
199
|
-
import "./chunk-
|
|
200
|
-
import "./chunk-
|
|
201
|
-
import "./chunk-
|
|
194
|
+
import "./chunk-WY7XG6TE.js";
|
|
195
|
+
import "./chunk-7ECP5ZQR.js";
|
|
196
|
+
import "./chunk-GHJD7PE6.js";
|
|
197
|
+
import "./chunk-UM52A76S.js";
|
|
198
|
+
import "./chunk-D7RCUODT.js";
|
|
199
|
+
import "./chunk-BTLZYRIW.js";
|
|
200
|
+
import "./chunk-VR7QZGRU.js";
|
|
201
|
+
import "./chunk-UWQEAA6S.js";
|
|
202
|
+
import "./chunk-GZ7WBU5Y.js";
|
|
203
|
+
import "./chunk-HMD4FZYY.js";
|
|
202
204
|
import {
|
|
203
205
|
Argument,
|
|
204
206
|
CommanderError,
|
|
@@ -210,10 +212,8 @@ import {
|
|
|
210
212
|
NO_EFFECTS,
|
|
211
213
|
Option,
|
|
212
214
|
REMOTE_READ,
|
|
213
|
-
REMOTE_WRITE,
|
|
214
215
|
annotate,
|
|
215
216
|
checkpointPath,
|
|
216
|
-
commandWords,
|
|
217
217
|
customizeSharedCommand,
|
|
218
218
|
environmentOf,
|
|
219
219
|
grantsAuthority,
|
|
@@ -221,31 +221,29 @@ import {
|
|
|
221
221
|
itemAnswer,
|
|
222
222
|
itemOf,
|
|
223
223
|
listOf,
|
|
224
|
-
logsInOrOut,
|
|
225
224
|
overrideSharedContract,
|
|
226
225
|
progressOf,
|
|
227
226
|
readCheckpoint,
|
|
228
|
-
refuseCommandName,
|
|
229
227
|
runBudgetOf,
|
|
230
228
|
saveCheckpoint,
|
|
231
229
|
settingRows,
|
|
232
230
|
snakeKeys,
|
|
233
231
|
writesNewFileOnlyWith,
|
|
234
232
|
writesOwnerFiles
|
|
235
|
-
} from "./chunk-
|
|
236
|
-
import "./chunk-
|
|
237
|
-
import "./chunk-
|
|
238
|
-
import "./chunk-
|
|
239
|
-
import "./chunk-
|
|
240
|
-
import "./chunk-
|
|
233
|
+
} from "./chunk-ASTLGFTR.js";
|
|
234
|
+
import "./chunk-P3ZCTYGW.js";
|
|
235
|
+
import "./chunk-ZJ63HDBT.js";
|
|
236
|
+
import "./chunk-RLOH7RDN.js";
|
|
237
|
+
import "./chunk-T3W4V4A6.js";
|
|
238
|
+
import "./chunk-JEH33ZCD.js";
|
|
241
239
|
import {
|
|
242
240
|
COMMAND_PATH_KEY,
|
|
243
241
|
assertOverridesTighten,
|
|
244
242
|
permissionOverrides
|
|
245
|
-
} from "./chunk-
|
|
246
|
-
import "./chunk-
|
|
247
|
-
import "./chunk-
|
|
248
|
-
import "./chunk-
|
|
243
|
+
} from "./chunk-RQ4AXSCJ.js";
|
|
244
|
+
import "./chunk-B4KHDXJE.js";
|
|
245
|
+
import "./chunk-2IBKKVVZ.js";
|
|
246
|
+
import "./chunk-3KUEZK5Z.js";
|
|
249
247
|
import {
|
|
250
248
|
hostFetch,
|
|
251
249
|
providerWaitMs,
|
|
@@ -253,46 +251,47 @@ import {
|
|
|
253
251
|
retryableStatus,
|
|
254
252
|
retrying,
|
|
255
253
|
statusToCode
|
|
256
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-VTYNLTDW.js";
|
|
257
255
|
import {
|
|
258
256
|
speechModel
|
|
259
|
-
} from "./chunk-
|
|
260
|
-
import "./chunk-
|
|
261
|
-
import "./chunk-
|
|
262
|
-
import "./chunk-
|
|
263
|
-
import "./chunk-
|
|
264
|
-
import "./chunk-
|
|
265
|
-
import "./chunk-
|
|
266
|
-
import "./chunk-
|
|
267
|
-
import "./chunk-
|
|
268
|
-
import "./chunk-
|
|
269
|
-
import "./chunk-
|
|
257
|
+
} from "./chunk-BAFC7WNI.js";
|
|
258
|
+
import "./chunk-PVEBAHFU.js";
|
|
259
|
+
import "./chunk-KHQDWYCG.js";
|
|
260
|
+
import "./chunk-NZMWD7Y3.js";
|
|
261
|
+
import "./chunk-LN7HRYTH.js";
|
|
262
|
+
import "./chunk-VTLQTQKY.js";
|
|
263
|
+
import "./chunk-3PXUQFHX.js";
|
|
264
|
+
import "./chunk-DQJECJUE.js";
|
|
265
|
+
import "./chunk-FWACRG4X.js";
|
|
266
|
+
import "./chunk-HO4JGD4Q.js";
|
|
267
|
+
import "./chunk-URP6BTHN.js";
|
|
270
268
|
import {
|
|
271
269
|
currentAttempt,
|
|
272
270
|
withAttempt
|
|
273
|
-
} from "./chunk-
|
|
274
|
-
import "./chunk-
|
|
271
|
+
} from "./chunk-HKLRI2LB.js";
|
|
272
|
+
import "./chunk-B2NM65RD.js";
|
|
273
|
+
import "./chunk-G5SZL7G2.js";
|
|
274
|
+
import "./chunk-LBGT6W4R.js";
|
|
275
|
+
import "./chunk-MNOAMJ6H.js";
|
|
275
276
|
import {
|
|
276
277
|
formatReference,
|
|
277
278
|
isFolderProvider
|
|
278
|
-
} from "./chunk-
|
|
279
|
-
import "./chunk-
|
|
280
|
-
import "./chunk-
|
|
281
|
-
import "./chunk-E745WZKY.js";
|
|
282
|
-
import "./chunk-4N7PP76S.js";
|
|
279
|
+
} from "./chunk-7JDXR75Q.js";
|
|
280
|
+
import "./chunk-SHQAYUK6.js";
|
|
281
|
+
import "./chunk-TCT5D2X2.js";
|
|
283
282
|
import {
|
|
284
283
|
CLIENT_ID_MISSING,
|
|
285
284
|
VERSION,
|
|
286
285
|
ZM
|
|
287
|
-
} from "./chunk-
|
|
286
|
+
} from "./chunk-R6IA5UQB.js";
|
|
288
287
|
import {
|
|
289
288
|
installerOf
|
|
290
289
|
} from "./chunk-TXDR6YSF.js";
|
|
291
290
|
import "./chunk-D72URWJE.js";
|
|
292
|
-
import "./chunk-
|
|
293
|
-
import "./chunk-
|
|
294
|
-
import "./chunk-
|
|
295
|
-
import "./chunk-
|
|
291
|
+
import "./chunk-FH2UFNH6.js";
|
|
292
|
+
import "./chunk-ATHBB7OU.js";
|
|
293
|
+
import "./chunk-MEB7HBTM.js";
|
|
294
|
+
import "./chunk-KYRYD4CR.js";
|
|
296
295
|
import {
|
|
297
296
|
MEETING_COUNTS_GROUPINGS,
|
|
298
297
|
RecordingSyncError,
|
|
@@ -323,7 +322,7 @@ import {
|
|
|
323
322
|
validateMeetingChange,
|
|
324
323
|
validateMeetingContextChange,
|
|
325
324
|
watchMeetingIngestion
|
|
326
|
-
} from "./chunk-
|
|
325
|
+
} from "./chunk-BZDS2X6Y.js";
|
|
327
326
|
import {
|
|
328
327
|
dateRange,
|
|
329
328
|
defineQuery,
|
|
@@ -338,7 +337,7 @@ import {
|
|
|
338
337
|
fieldsOf,
|
|
339
338
|
projectFields,
|
|
340
339
|
realSleep
|
|
341
|
-
} from "./chunk-
|
|
340
|
+
} from "./chunk-3QN5KDFZ.js";
|
|
342
341
|
import {
|
|
343
342
|
array,
|
|
344
343
|
boolean,
|
|
@@ -1928,7 +1927,7 @@ ${raw}`;
|
|
|
1928
1927
|
}, "parseZoomChat");
|
|
1929
1928
|
|
|
1930
1929
|
// dist/api.js
|
|
1931
|
-
var TRANSCRIPT_MAX_BYTES =
|
|
1930
|
+
var TRANSCRIPT_MAX_BYTES = 100 * 1024 * 1024;
|
|
1932
1931
|
var json = /* @__PURE__ */ __name((value) => {
|
|
1933
1932
|
if (value === null || typeof value === "boolean" || typeof value === "string")
|
|
1934
1933
|
return value;
|
|
@@ -3928,7 +3927,7 @@ var addModelsCommands = /* @__PURE__ */ __name((program, deps) => {
|
|
|
3928
3927
|
// dist/upgrade.js
|
|
3929
3928
|
import { join as join12 } from "node:path";
|
|
3930
3929
|
|
|
3931
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
3930
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/update/index.js
|
|
3932
3931
|
import { realpathSync } from "node:fs";
|
|
3933
3932
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
3934
3933
|
var npmRegistry = /* @__PURE__ */ __name(() => hostFetch({ hosts: ["registry.npmjs.org"] }), "npmRegistry");
|
|
@@ -4056,125 +4055,12 @@ var addAppCommand = /* @__PURE__ */ __name((program, { output, buffer, pretty })
|
|
|
4056
4055
|
output(itemOf(zoomAppSetup()));
|
|
4057
4056
|
});
|
|
4058
4057
|
}, "addAppCommand");
|
|
4059
|
-
var
|
|
4060
|
-
|
|
4061
|
-
const saved = manager.load();
|
|
4062
|
-
return {
|
|
4063
|
-
state: saved ? saved.expiresAt > now ? "saved" : "expired" : "missing",
|
|
4064
|
-
...saved ? { expiresAt: saved.expiresAt, scopes: saved.scopes } : {}
|
|
4065
|
-
};
|
|
4066
|
-
}, "savedLogin");
|
|
4067
|
-
var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
|
|
4068
|
-
const { deps, getConfig, output, buffer, api, profile, tokens, fetch, signal } = context;
|
|
4069
|
-
addStandardCommands(program, {
|
|
4070
|
-
output,
|
|
4071
|
-
raw: buffer,
|
|
4072
|
-
sessionStatus: /* @__PURE__ */ __name(async (check) => {
|
|
4073
|
-
const config = getConfig();
|
|
4074
|
-
const selected = profile();
|
|
4075
|
-
if (!zoomClientId(config, deps.env ?? process.env))
|
|
4076
|
-
return { configured: false, state: "not_configured", profile: selected, verified: false };
|
|
4077
|
-
if (check) {
|
|
4078
|
-
if (program.opts().offline)
|
|
4079
|
-
throw new CliError("configuration_error", "session verification requires network access; remove --offline");
|
|
4080
|
-
api();
|
|
4081
|
-
return {
|
|
4082
|
-
configured: true,
|
|
4083
|
-
state: "verified",
|
|
4084
|
-
profile: selected,
|
|
4085
|
-
verified: true,
|
|
4086
|
-
zoomUser: await (deps.checkSession ? deps.checkSession({ signal: signal() }) : getZoomProfile(tokens(), fetch(), { signal: signal() }))
|
|
4087
|
-
};
|
|
4088
|
-
}
|
|
4089
|
-
return {
|
|
4090
|
-
configured: true,
|
|
4091
|
-
profile: selected,
|
|
4092
|
-
verified: false,
|
|
4093
|
-
...savedLogin(tokens(), deps.now?.() ?? Date.now())
|
|
4094
|
-
};
|
|
4095
|
-
}, "sessionStatus"),
|
|
4096
|
-
sessionList: /* @__PURE__ */ __name(async () => {
|
|
4097
|
-
const config = getConfig();
|
|
4098
|
-
const configured2 = zoomClientId(config, deps.env ?? process.env) !== void 0;
|
|
4099
|
-
return config.profiles.map((name) => {
|
|
4100
|
-
let login2;
|
|
4101
|
-
try {
|
|
4102
|
-
login2 = savedLogin(deps.tokens.forProfile(name), deps.now?.() ?? Date.now());
|
|
4103
|
-
} catch (error) {
|
|
4104
|
-
if (isCliError(error) && error.code === "configuration_error")
|
|
4105
|
-
return { profile: name, signed_in: null, state: "unknown" };
|
|
4106
|
-
throw error;
|
|
4107
|
-
}
|
|
4108
|
-
return {
|
|
4109
|
-
profile: name,
|
|
4110
|
-
signed_in: login2.state !== "missing",
|
|
4111
|
-
...configured2 ? login2 : { state: "not_configured" }
|
|
4112
|
-
};
|
|
4113
|
-
});
|
|
4114
|
-
}, "sessionList")
|
|
4115
|
-
});
|
|
4058
|
+
var addSharedCommands = /* @__PURE__ */ __name((program, { deps, buffer, output }) => {
|
|
4059
|
+
addStandardCommands(program);
|
|
4116
4060
|
addUpgradeCommand(program, { data: buffer, diagnostic: deps.diagnostic });
|
|
4117
4061
|
addModelsCommands(program, { env: /* @__PURE__ */ __name(() => deps.env ?? process.env, "env"), output, diagnostic: deps.diagnostic });
|
|
4118
|
-
const session = program.commands.find((command) => command.name() === "session");
|
|
4119
|
-
if (!session)
|
|
4120
|
-
throw new CliError("configuration_error", "session command group is unavailable");
|
|
4121
|
-
const start = session.command("start").description("log in to Zoom through your browser").option("--browser <program>", "browser program").option("--client-id <id>", "the Public Client ID of your Zoom app; saved as zoom.client_id once you sign in").option("--credential-storage <storage>", "where the login is kept: keyring (the default, which falls back to a private file by itself when no keyring works), or file, not recommended", "keyring").addOption(answerStdinOption()).action(async (opts) => {
|
|
4122
|
-
if (opts.credentialStorage !== "keyring" && opts.credentialStorage !== "file")
|
|
4123
|
-
throw new CliError("validation_error", "--credential-storage takes keyring or file");
|
|
4124
|
-
const storage = opts.credentialStorage;
|
|
4125
|
-
const config = getConfig();
|
|
4126
|
-
const selected = profile();
|
|
4127
|
-
refuseCommandName(selected, commandWords(program), "zm");
|
|
4128
|
-
if (opts.clientId !== void 0)
|
|
4129
|
-
checkedClientId(opts.clientId);
|
|
4130
|
-
const known = zoomApp({
|
|
4131
|
-
env: deps.env ?? process.env,
|
|
4132
|
-
configClientId: config.clientId,
|
|
4133
|
-
clientId: opts.clientId
|
|
4134
|
-
})?.client.clientId;
|
|
4135
|
-
if (!known && opts.answerStdin !== true)
|
|
4136
|
-
throw new CliError("configuration_error", SET_ZOOM_APP, { reason: CLIENT_ID_MISSING });
|
|
4137
|
-
const globals = program.opts();
|
|
4138
|
-
if (globals.offline)
|
|
4139
|
-
throw new CliError("configuration_error", "login requires network access; remove --offline");
|
|
4140
|
-
if (globals.input === false)
|
|
4141
|
-
throw new CliError("configuration_error", "login requires browser approval; remove --no-input");
|
|
4142
|
-
if (deps.env?.CI)
|
|
4143
|
-
throw new CliError("configuration_error", `login requires browser approval; run zm ${selected} session start yourself`);
|
|
4144
|
-
const steps = signInSteps({
|
|
4145
|
-
diagnostic: /* @__PURE__ */ __name((line) => deps.diagnostic(`${line}
|
|
4146
|
-
`), "diagnostic"),
|
|
4147
|
-
json: globals.json === true || globals.jsonl === true,
|
|
4148
|
-
answers: opts.answerStdin === true,
|
|
4149
|
-
...deps.stdin ? { input: deps.stdin } : {}
|
|
4150
|
-
});
|
|
4151
|
-
const clientId = known ?? checkedClientId(await steps.ask(CLIENT_ID_NEED, signal()));
|
|
4152
|
-
const chosen = opts.clientId ?? (known ? void 0 : clientId);
|
|
4153
|
-
const done = await login({
|
|
4154
|
-
tokens: (chosen ? new TokenManager({ ...tokens().options, clientId }) : tokens()).storedIn(storage),
|
|
4155
|
-
signal: signal(),
|
|
4156
|
-
openBrowser: /* @__PURE__ */ __name((url) => deps.openBrowser(url, opts.browser), "openBrowser"),
|
|
4157
|
-
readPaste: steps.answers ? (stop) => steps.ask({ field: "redirect", secret: true, prompt: PASTE_PROMPT }, stop).catch((error) => stop.aborted ? new Promise(() => {
|
|
4158
|
-
}) : Promise.reject(error)) : deps.readPaste,
|
|
4159
|
-
showUrl: /* @__PURE__ */ __name((url) => steps.answers ? steps.openUrl(url, "Approve access to Zoom in the browser") : (
|
|
4160
|
-
// Without a terminal this line is all an agent can pass on, so --quiet keeps it.
|
|
4161
|
-
deps.diagnostic(`Open this URL to approve Zoom login:
|
|
4162
|
-
${url}
|
|
4163
|
-
`)
|
|
4164
|
-
), "showUrl")
|
|
4165
|
-
});
|
|
4166
|
-
if (chosen)
|
|
4167
|
-
setConfig(deps.configPath, "zoom.client_id", chosen);
|
|
4168
|
-
addProfile(deps.configPath, selected);
|
|
4169
|
-
output(itemOf({ ...done, profile: selected }));
|
|
4170
|
-
});
|
|
4171
|
-
logsInOrOut(annotate(start, { effects: REMOTE_WRITE, lifetime: "interactive" }));
|
|
4172
|
-
logsInOrOut(annotate(session.command("end").description("delete this profile's saved Zoom login; the stored meetings stay").action(() => {
|
|
4173
|
-
const selected = profile();
|
|
4174
|
-
output(itemOf({ profile: selected, ended: tokens().remove(), meetings: "retained" }));
|
|
4175
|
-
}), { effects: LOCAL_WRITE, mcp: false, examples: ["zm personal session end"] }));
|
|
4176
4062
|
annotate(program.command("account"), { effects: NO_EFFECTS }).description("the profile's login and data on this computer").addCommand(zoomAccountRemoveCommand(deps));
|
|
4177
|
-
}, "
|
|
4063
|
+
}, "addSharedCommands");
|
|
4178
4064
|
|
|
4179
4065
|
// dist/archive-import.js
|
|
4180
4066
|
import { createHash as createHash5 } from "node:crypto";
|
|
@@ -5740,17 +5626,7 @@ ${PROFILE_HELP}`);
|
|
|
5740
5626
|
const before = new Set(program.commands);
|
|
5741
5627
|
addZoomMeetingCommands(program, meetingCommands);
|
|
5742
5628
|
const storeCommands = storeLeaves(program, before, meetingCommands.management);
|
|
5743
|
-
|
|
5744
|
-
deps,
|
|
5745
|
-
getConfig,
|
|
5746
|
-
output,
|
|
5747
|
-
buffer,
|
|
5748
|
-
api,
|
|
5749
|
-
profile,
|
|
5750
|
-
tokens,
|
|
5751
|
-
fetch: /* @__PURE__ */ __name(() => fetchWithSignal(deps.fetch), "fetch"),
|
|
5752
|
-
signal
|
|
5753
|
-
});
|
|
5629
|
+
addSharedCommands(program, { deps, buffer, output });
|
|
5754
5630
|
const watch = createWatchService({
|
|
5755
5631
|
deps,
|
|
5756
5632
|
getConfig,
|
|
@@ -5911,6 +5787,64 @@ ${PROFILE_HELP}`);
|
|
|
5911
5787
|
});
|
|
5912
5788
|
}, "bindZoomProgram");
|
|
5913
5789
|
|
|
5790
|
+
// dist/zoom-session.js
|
|
5791
|
+
var configuredClient = /* @__PURE__ */ __name((configPath, env) => {
|
|
5792
|
+
try {
|
|
5793
|
+
return zoomClientId(readConfig(configPath), env);
|
|
5794
|
+
} catch {
|
|
5795
|
+
return void 0;
|
|
5796
|
+
}
|
|
5797
|
+
}, "configuredClient");
|
|
5798
|
+
var zoomSessionCommand = /* @__PURE__ */ __name((deps, resolveSettings) => oauthSessionCommand({
|
|
5799
|
+
app: ZM,
|
|
5800
|
+
// Every session command but `list` acts for one profile, so none runs for a profile nobody named.
|
|
5801
|
+
resolveSettings: /* @__PURE__ */ __name((flags, options) => resolveSettings(flags, { ...options, needsProfile: options?.needsProfile ?? true }), "resolveSettings"),
|
|
5802
|
+
providerId: "zoom",
|
|
5803
|
+
service: "Zoom",
|
|
5804
|
+
codec: ZOOM_CODEC,
|
|
5805
|
+
legacyAccounts: /* @__PURE__ */ __name((env, profile) => legacyAccountsOf(legacyLoginService({ env }), configuredClient(deps.configPath, env), profile), "legacyAccounts"),
|
|
5806
|
+
startOptions: [
|
|
5807
|
+
new Option("--client-id <id>", "the Public Client ID of your Zoom app; saved as zoom.client_id once you sign in")
|
|
5808
|
+
],
|
|
5809
|
+
preset: /* @__PURE__ */ __name(async (command, steps) => {
|
|
5810
|
+
const env = environmentOf(command).env ?? process.env;
|
|
5811
|
+
const given = command.opts().clientId;
|
|
5812
|
+
if (given !== void 0)
|
|
5813
|
+
checkedClientId(given);
|
|
5814
|
+
const configClientId = readConfig(deps.configPath).clientId;
|
|
5815
|
+
let client = zoomApp({ env, configClientId, clientId: given })?.client;
|
|
5816
|
+
if (!client && command.name() !== "end") {
|
|
5817
|
+
if (command.name() !== "start" || !steps?.answers)
|
|
5818
|
+
throw new CliError("configuration_error", SET_ZOOM_APP, { reason: CLIENT_ID_MISSING });
|
|
5819
|
+
const answered = checkedClientId(await steps.ask(CLIENT_ID_NEED));
|
|
5820
|
+
client = zoomApp({ env, configClientId, clientId: answered })?.client;
|
|
5821
|
+
}
|
|
5822
|
+
const provider = zoomProvider(client?.clientId ?? "");
|
|
5823
|
+
return { provider: client ? { ...provider, client } : provider, scopes: [], rotating: true };
|
|
5824
|
+
}, "preset"),
|
|
5825
|
+
verify: /* @__PURE__ */ __name(async (command, accessToken, events) => {
|
|
5826
|
+
const token = { accessToken, refreshToken: "", expiresAt: 0, scopes: ["user:read:user"] };
|
|
5827
|
+
try {
|
|
5828
|
+
const signal = environmentOf(command).signal;
|
|
5829
|
+
const user = await getZoomProfile({ tokens: /* @__PURE__ */ __name(async () => token, "tokens") }, observedFetch(deps.fetch, events), signal ? { signal } : {});
|
|
5830
|
+
return { id: user.id, account: { user_id: user.id, email: user.email, display_name: user.displayName } };
|
|
5831
|
+
} catch (error) {
|
|
5832
|
+
const scopeless = isCliError(error) && ["authentication_error", "permission_error"].includes(error.code);
|
|
5833
|
+
if (command.name() === "start" && scopeless)
|
|
5834
|
+
return { id: "", account: {} };
|
|
5835
|
+
throw error;
|
|
5836
|
+
}
|
|
5837
|
+
}, "verify"),
|
|
5838
|
+
claim: /* @__PURE__ */ __name(() => {
|
|
5839
|
+
}, "claim"),
|
|
5840
|
+
afterSignIn: /* @__PURE__ */ __name((_command, { client, profile }) => {
|
|
5841
|
+
if (client.source === "flag")
|
|
5842
|
+
setConfig(deps.configPath, "zoom.client_id", client.clientId);
|
|
5843
|
+
addProfile(deps.configPath, profile);
|
|
5844
|
+
}, "afterSignIn"),
|
|
5845
|
+
profiles: /* @__PURE__ */ __name(() => readConfig(deps.configPath).profiles, "profiles")
|
|
5846
|
+
}), "zoomSessionCommand");
|
|
5847
|
+
|
|
5914
5848
|
// dist/run.js
|
|
5915
5849
|
var configured = /* @__PURE__ */ __name((path) => {
|
|
5916
5850
|
try {
|
|
@@ -5971,6 +5905,8 @@ var zoomDefinition = /* @__PURE__ */ __name((deps, onFailure) => {
|
|
|
5971
5905
|
app: ZM,
|
|
5972
5906
|
commands: /* @__PURE__ */ __name(() => [
|
|
5973
5907
|
zoomRunsCommand(),
|
|
5908
|
+
zoomSessionCommand(deps, shared.resolveSettings),
|
|
5909
|
+
appCompleteCommand(ZM, { configuredProfiles: /* @__PURE__ */ __name(() => configured(deps.configPath)?.profiles ?? [], "configuredProfiles") }),
|
|
5974
5910
|
appDoctorCommand(ZM, shared, {
|
|
5975
5911
|
packageName: "@wirecat/zoom-cli",
|
|
5976
5912
|
oauthClient: /* @__PURE__ */ __name(() => zoomClientReport(configured(deps.configPath), deps.env ?? process.env), "oauthClient")
|
|
@@ -6011,6 +5947,8 @@ var runCommand = /* @__PURE__ */ __name(async (args, deps, onFailure) => run(arg
|
|
|
6011
5947
|
...deps.stdin ? { stdin: deps.stdin } : {},
|
|
6012
5948
|
...deps.stdout ? { stdout: deps.stdout } : {},
|
|
6013
5949
|
keyring: deps.tokens.options.keyring,
|
|
5950
|
+
openBrowser: /* @__PURE__ */ __name((url, command) => deps.openBrowser(url, void 0, command), "openBrowser"),
|
|
5951
|
+
...deps.signInFetch ? { fetch: deps.signInFetch } : {},
|
|
6014
5952
|
...deps.confirm ? { answer: /* @__PURE__ */ __name(async (question) => await deps.confirm?.(question) ? "yes" : "no", "answer") } : {}
|
|
6015
5953
|
}), "runCommand");
|
|
6016
5954
|
|
|
@@ -3,9 +3,9 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
pasteHint,
|
|
5
5
|
readSecret
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-PVEBAHFU.js";
|
|
7
|
+
import "./chunk-KHQDWYCG.js";
|
|
8
|
+
import "./chunk-3QN5KDFZ.js";
|
|
9
9
|
import "./chunk-ESN3W2MZ.js";
|
|
10
10
|
import "./chunk-Y5E2WNWB.js";
|
|
11
11
|
import "./chunk-IANKXHSE.js";
|