@wirecat/zoom-cli 0.81.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/answers.d.ts +56 -0
- package/dist/answers.d.ts.map +1 -1
- 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-3ASMN35R.js → all-profiles-RY2OMSDL.js} +12 -12
- package/dist/bundle/answer-policy-IFVXPPGW.js +131 -0
- package/dist/bundle/{anthropic-XXI53VNI.js → anthropic-36VPSF7B.js} +6 -6
- package/dist/bundle/{app-server-B7WLNZNQ.js → app-server-ZVJVUGB7.js} +79 -76
- package/dist/bundle/{bun-2FLR4IV4.js → bun-F4M4KCNA.js} +2 -2
- package/dist/bundle/{bun-sqlite-3NNHTOGM.js → bun-sqlite-IOPYIUA7.js} +7 -7
- package/dist/bundle/{chunk-L54I45OX.js → chunk-26TW5RZ6.js} +33 -317
- package/dist/bundle/{chunk-JK24A3RP.js → chunk-2DK5BBFF.js} +3 -3
- package/dist/bundle/{chunk-4VOCXLMJ.js → chunk-2IBKKVVZ.js} +6 -6
- package/dist/bundle/{chunk-WKNYNK7W.js → chunk-2S54TM4N.js} +4 -4
- package/dist/bundle/{chunk-WHXYPLUE.js → chunk-3AQHKXVR.js} +4 -4
- package/dist/bundle/{chunk-YISJJNXT.js → chunk-3CW2C7ZA.js} +3 -3
- package/dist/bundle/{chunk-77TJ3AJH.js → chunk-3KUEZK5Z.js} +3 -3
- package/dist/bundle/{chunk-NQGGTO3B.js → chunk-3PXUQFHX.js} +8 -8
- package/dist/bundle/{chunk-N5ROXGY4.js → chunk-3QN5KDFZ.js} +167 -167
- package/dist/bundle/{chunk-AWJQ6FAX.js → chunk-434YFJAE.js} +2 -2
- package/dist/bundle/{chunk-4BU3LRTB.js → chunk-575JMTDR.js} +19 -18
- package/dist/bundle/{chunk-NM5XMKWO.js → chunk-5B2LV4MS.js} +2 -1
- package/dist/bundle/{chunk-3M436OO2.js → chunk-5WL5RHOO.js} +7 -102
- package/dist/bundle/{chunk-PS7HQ5LQ.js → chunk-6C7ESL5N.js} +3 -3
- package/dist/bundle/{chunk-SRUAUMBL.js → chunk-6E4KLYNP.js} +12 -12
- package/dist/bundle/chunk-7JDXR75Q.js +465 -0
- package/dist/bundle/{chunk-L2ERFXB7.js → chunk-AK3H2C65.js} +40 -31
- package/dist/bundle/{chunk-OEQNP56V.js → chunk-AQ5RIOUE.js} +1 -1
- package/dist/bundle/{chunk-35FVYRH5.js → chunk-AQLUAQXJ.js} +37 -180
- package/dist/bundle/{chunk-EPASOAEI.js → chunk-ASTLGFTR.js} +284 -184
- package/dist/bundle/{chunk-YNWBRDBX.js → chunk-ATHBB7OU.js} +2 -2
- package/dist/bundle/{chunk-ZFRYFDZN.js → chunk-B2NM65RD.js} +14 -6
- package/dist/bundle/{chunk-VQTYJ6XH.js → chunk-B4KHDXJE.js} +3 -3
- package/dist/bundle/{chunk-G3DWMG7Y.js → chunk-BAFC7WNI.js} +4 -4
- package/dist/bundle/{chunk-2GNGR265.js → chunk-BBGJQMRI.js} +1 -1
- package/dist/bundle/{chunk-C4BBCSGK.js → chunk-BTLZYRIW.js} +6 -6
- package/dist/bundle/{chunk-T2BHIC37.js → chunk-BZDS2X6Y.js} +65 -65
- package/dist/bundle/{chunk-3UX4VJWD.js → chunk-C7JPYWYQ.js} +3 -4
- package/dist/bundle/{chunk-R4CXFYQN.js → chunk-CDQUW25G.js} +180 -38
- package/dist/bundle/{chunk-YJKXCINQ.js → chunk-CJWGJBHW.js} +274 -60
- package/dist/bundle/{chunk-F2J2FQUB.js → chunk-D7RCUODT.js} +9 -9
- package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-LGESUPKO.js → chunk-DQJECJUE.js} +25 -90
- package/dist/bundle/{chunk-MA4UJNUI.js → chunk-E4JQ3MCW.js} +12 -12
- package/dist/bundle/{chunk-GW2A2FJH.js → chunk-E4ODYLEK.js} +8 -8
- package/dist/bundle/{chunk-Q26UFIH4.js → chunk-EE45N67Q.js} +16 -3
- package/dist/bundle/{chunk-5SEBLX6B.js → chunk-EEEU4MKK.js} +12 -12
- package/dist/bundle/{chunk-YRDQ54G5.js → chunk-ESN3W2MZ.js} +24 -11
- package/dist/bundle/{chunk-M7OYEMLI.js → chunk-ETIZGA4P.js} +7 -7
- package/dist/bundle/{chunk-IVZACJ6X.js → chunk-F44QK6CK.js} +4 -4
- package/dist/bundle/{chunk-JKEMW6E4.js → chunk-FH2UFNH6.js} +2 -2
- package/dist/bundle/{chunk-XYQVVW4R.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-GDRFVBCB.js → chunk-G6CHEFAG.js} +2 -2
- package/dist/bundle/{chunk-2ELGSNX3.js → chunk-GHJD7PE6.js} +170 -170
- package/dist/bundle/{chunk-LECMHK2F.js → chunk-GZ7WBU5Y.js} +1 -1
- package/dist/bundle/{chunk-4ZXJ4AZW.js → chunk-H6A4NWYJ.js} +322 -45
- package/dist/bundle/{chunk-D26K6756.js → chunk-HKLRI2LB.js} +6 -6
- package/dist/bundle/{chunk-R6HP2XKD.js → chunk-HMD4FZYY.js} +5 -5
- package/dist/bundle/{chunk-2Z7UOXFC.js → chunk-HO4JGD4Q.js} +1 -1
- package/dist/bundle/chunk-HUAHLO6N.js +29 -0
- package/dist/bundle/{chunk-UHMJSSQO.js → chunk-IANKXHSE.js} +1 -1
- package/dist/bundle/{chunk-QFK52FG6.js → chunk-IQZXFWFI.js} +3 -3
- package/dist/bundle/{chunk-GPRJXJC7.js → chunk-ISQ23VKV.js} +22 -1
- package/dist/bundle/{chunk-ZLYICF6A.js → chunk-JEH33ZCD.js} +4 -4
- package/dist/bundle/{chunk-IDUKCXL7.js → chunk-JUNQYWQ2.js} +13 -9
- package/dist/bundle/{chunk-337ALCXQ.js → chunk-JUXMVQWJ.js} +312 -153
- package/dist/bundle/{chunk-5EWYDHBH.js → chunk-KHQDWYCG.js} +2 -2
- package/dist/bundle/{chunk-FMMYBVCH.js → chunk-KYRYD4CR.js} +1 -1
- package/dist/bundle/chunk-LBGT6W4R.js +377 -0
- package/dist/bundle/{chunk-UUVWAVKN.js → chunk-LN7HRYTH.js} +3 -3
- package/dist/bundle/{chunk-NS3JWBDR.js → chunk-MEB7HBTM.js} +6 -6
- package/dist/bundle/{chunk-K7CTCDYX.js → chunk-MEEFWYX3.js} +6 -6
- package/dist/bundle/{chunk-BQBC2WIG.js → chunk-MNOAMJ6H.js} +1 -1
- package/dist/bundle/{chunk-Y7XJA4EW.js → chunk-MYHPXJDG.js} +4 -4
- package/dist/bundle/{chunk-7JWVPJIP.js → chunk-NGI37RFW.js} +10 -10
- package/dist/bundle/{chunk-437DLSB3.js → chunk-NZMWD7Y3.js} +17227 -13055
- package/dist/bundle/chunk-O6IECJRM.js +54 -0
- package/dist/bundle/{chunk-LVCCZI5A.js → chunk-OBWL3BUV.js} +39 -39
- package/dist/bundle/{chunk-GCAJW4SR.js → chunk-OEEWVKJX.js} +1 -1
- package/dist/bundle/chunk-OGTN2KVG.js +147 -0
- package/dist/bundle/{chunk-B2WBWKYN.js → chunk-OQYZ3W4K.js} +12 -12
- package/dist/bundle/{chunk-IFM4G4MT.js → chunk-P3ZCTYGW.js} +4 -4
- package/dist/bundle/{chunk-VAW7QGJA.js → chunk-PVEBAHFU.js} +3 -3
- package/dist/bundle/{chunk-IYNICUCC.js → chunk-R2B6PUVI.js} +4 -4
- package/dist/bundle/{chunk-D7CDHBDX.js → chunk-R6IA5UQB.js} +1 -1
- package/dist/bundle/{chunk-T7QPZYRZ.js → chunk-RLOH7RDN.js} +7 -7
- package/dist/bundle/{chunk-V3ZTAAJ6.js → chunk-RQ4AXSCJ.js} +8 -8
- package/dist/bundle/{chunk-4BXLHSXY.js → chunk-RYGTCRFZ.js} +2 -2
- package/dist/bundle/{chunk-XWKUGAG6.js → chunk-S4PXWIE4.js} +85 -87
- package/dist/bundle/{chunk-ZMAPXIGC.js → chunk-SDZZYZLL.js} +2 -2
- package/dist/bundle/{chunk-ZNAX7GUV.js → chunk-SHQAYUK6.js} +8 -8
- package/dist/bundle/{chunk-YUDVRFXN.js → chunk-T3W4V4A6.js} +1 -1
- package/dist/bundle/{chunk-F5ZAN7OC.js → chunk-TCT5D2X2.js} +1 -1
- package/dist/bundle/{chunk-EEBSKMEA.js → chunk-TDWPOSPR.js} +12 -12
- package/dist/bundle/{chunk-WIX6BFRF.js → chunk-TER3N27H.js} +8 -8
- package/dist/bundle/{chunk-UMPUY77T.js → chunk-TMTNP7QN.js} +10 -10
- package/dist/bundle/{chunk-BZXHJKKI.js → chunk-TO5UEWXR.js} +2 -2
- package/dist/bundle/{chunk-HVXOA4FO.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-CFQQTDSA.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-YIIGF643.js → chunk-UAWSINMC.js} +10 -10
- package/dist/bundle/{chunk-RQFRXUI4.js → chunk-UBH7YF3C.js} +200 -112
- package/dist/bundle/{chunk-MBBR7QHI.js → chunk-UEAE3JUU.js} +2641 -1150
- package/dist/bundle/{chunk-2RFWRJFK.js → chunk-UHR363OD.js} +14 -10
- package/dist/bundle/{chunk-RRYHLP3A.js → chunk-UM52A76S.js} +6 -6
- package/dist/bundle/chunk-URP6BTHN.js +624 -0
- package/dist/bundle/{chunk-HHQROAJQ.js → chunk-UWQEAA6S.js} +1 -1
- package/dist/bundle/{chunk-DMJLJVD3.js → chunk-VR7QZGRU.js} +7 -7
- package/dist/bundle/{chunk-QNG27PGH.js → chunk-VRH5PBSL.js} +21 -17
- package/dist/bundle/chunk-VTLQTQKY.js +1756 -0
- package/dist/bundle/{chunk-NX3BLISW.js → chunk-VTYNLTDW.js} +6 -6
- package/dist/bundle/{chunk-HIFPHARA.js → chunk-WY7XG6TE.js} +4 -4
- package/dist/bundle/{chunk-IBYGNUO7.js → chunk-XEOZTA3H.js} +1 -1
- package/dist/bundle/{chunk-4FSH7K6N.js → chunk-XH23ML2V.js} +2 -2
- package/dist/bundle/{chunk-VXD65V67.js → chunk-XYF76A26.js} +2224 -2288
- package/dist/bundle/{chunk-J5EHZBO5.js → chunk-ZDYJAEVB.js} +19 -3
- package/dist/bundle/{chunk-FXZPAGHT.js → chunk-ZJ63HDBT.js} +2 -2
- package/dist/bundle/{chunk-N62P5FY4.js → chunk-ZT4ZPUIO.js} +12 -12
- package/dist/bundle/{cli-WTGAGSXV.js → cli-JK6PQSSN.js} +133 -116
- package/dist/bundle/command-contract-F3QNBKPX.js +46 -0
- package/dist/bundle/{command-server-entry-47CAYN3E.js → command-server-entry-DJLGN62J.js} +36 -35
- package/dist/bundle/config-TYYMV3HV.js +118 -0
- package/dist/bundle/{decode-2G7QS5IQ.js → decode-ZZICNNFF.js} +6 -6
- package/dist/bundle/{dispatch-ZAP3KBVJ.js → dispatch-FKMIPCPQ.js} +9 -9
- package/dist/bundle/{dist-WY6R3WH7.js → dist-NQPF25XI.js} +52 -49
- package/dist/bundle/{echarts-YRRVLEX3.js → echarts-QMAA7HH5.js} +2 -2
- package/dist/bundle/{embed-B5H3OW2O.js → embed-T64EUKUI.js} +7 -7
- package/dist/bundle/{embedder-3O73SP6Y.js → embedder-ZEKISZXI.js} +10 -10
- package/dist/bundle/{failure-EYGW7JMC.js → failure-XTWBYI2A.js} +3 -3
- package/dist/bundle/first-run-ZFNY4RRH.js +29 -0
- package/dist/bundle/first-screen-LPGCHRHZ.js +47 -0
- package/dist/bundle/{folders-4CGFWM6H.js → folders-ROKVKSCT.js} +5 -5
- package/dist/bundle/{instructions-AG7SRWTR.js → instructions-4H7UREH2.js} +1 -1
- package/dist/bundle/{main-DOGY6FJP.js → main-GCK3VYAA.js} +27 -37
- package/dist/bundle/{mcp-YGOAUNC3.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-7HDPOUPB.js +28 -0
- package/dist/bundle/meeting-model-MVUW7UPQ.js +26 -0
- package/dist/bundle/{meeting-semantic-FOEBWV3P.js → meeting-semantic-IF633WGX.js} +8 -8
- package/dist/bundle/{meetings-PVE4C2NF.js → meetings-RY2AAPHV.js} +7 -7
- package/dist/bundle/{node-GJQYN4FT.js → node-P3PUHKYH.js} +2 -2
- package/dist/bundle/{node-sqlite-MLRYKVCQ.js → node-sqlite-ASAZJNHE.js} +8 -8
- package/dist/bundle/{oauth-AC55C6SG.js → oauth-4U3OCK3W.js} +8 -8
- package/dist/bundle/oauth-AJARLPSY.js +46 -0
- package/dist/bundle/{open-3LGTYP6M.js → open-SEJRY2ZI.js} +6 -6
- package/dist/bundle/openai-FZDSC2AA.js +28 -0
- package/dist/bundle/{output-file-FXMTTLOI.js → output-file-RYIOIXMD.js} +6 -6
- package/dist/bundle/{process-MEKCZMX3.js → process-AFIXYXWL.js} +1 -1
- package/dist/bundle/{program-E5BSSIGY.js → program-OYLVYA4Z.js} +186 -247
- package/dist/bundle/{prompt-AIA6QSZK.js → prompt-BCRD64F4.js} +6 -6
- package/dist/bundle/public-SVJILCNI.js +206 -0
- package/dist/bundle/{recognize-M57VNTEV.js → recognize-25ITJWGX.js} +5 -5
- package/dist/bundle/{remote-3OTENZ7Z.js → remote-5FBAJX7O.js} +11 -11
- package/dist/bundle/{rerank-P5WHDFDU.js → rerank-2HGWWORY.js} +8 -8
- package/dist/bundle/run-log-7HRF4Y47.js +145 -0
- package/dist/bundle/{serve-BRLC2QVV.js → serve-RL35MSJD.js} +10 -10
- package/dist/bundle/{server-25NF7DMS.js → server-QUSBWACP.js} +71 -68
- package/dist/bundle/server-SCK2SRDK.js +96 -0
- package/dist/bundle/{services-MJE43OGD.js → services-BGRIQNDC.js} +66 -60
- package/dist/bundle/{speech-4AVCWTQH.js → speech-4W3ZMTFK.js} +25 -25
- package/dist/bundle/{sqlite-runtime-U4TQXWMC.js → sqlite-runtime-K3KLRZCV.js} +7 -7
- package/dist/bundle/{state-GNUGVMY7.js → state-GYL4C74G.js} +7 -7
- package/dist/bundle/{store-KBFZVQWF.js → store-27UQMNEO.js} +28 -26
- package/dist/bundle/{store-MHVBFUBB.js → store-NLYH5SQX.js} +64 -46
- package/dist/bundle/store-connection-CZILWRSR.js +112 -0
- package/dist/bundle/store-maintenance-command-Z3QLNSXJ.js +84 -0
- package/dist/bundle/{streaming-6F7AFEHD.js → streaming-73EKEGPF.js} +7 -7
- package/dist/bundle/surface-CV3C4RV2.js +82 -0
- package/dist/bundle/tokens-PY3S22LY.js +27 -0
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-YTGOZ2FS.js → zoom-app-4F4YY4OI.js} +11 -9
- 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 +3 -3
- package/skills/zoom-cli/references/setup.md +2 -2
- package/dist/bundle/agent-VYAJCJLE.js +0 -45
- package/dist/bundle/answer-policy-PTH4F2DW.js +0 -129
- package/dist/bundle/chunk-46EF6P2J.js +0 -72
- package/dist/bundle/chunk-4B335BCJ.js +0 -330
- package/dist/bundle/chunk-EWEQ7AXL.js +0 -719
- package/dist/bundle/chunk-FXCR4DGU.js +0 -37
- package/dist/bundle/chunk-KZ3B6HW5.js +0 -31
- package/dist/bundle/chunk-TI4WJOEX.js +0 -789
- package/dist/bundle/chunk-UPR2S5IE.js +0 -773
- package/dist/bundle/command-contract-3IKVWPDL.js +0 -45
- package/dist/bundle/config-ZOGOKGTU.js +0 -116
- package/dist/bundle/first-run-MPKMDEMA.js +0 -29
- package/dist/bundle/first-screen-AIAAC3KF.js +0 -45
- package/dist/bundle/meeting-combined-YKPKTKGA.js +0 -26
- package/dist/bundle/meeting-model-HTXSGHNM.js +0 -26
- package/dist/bundle/openai-E2MSLVIX.js +0 -28
- package/dist/bundle/run-log-EOQ4EQDS.js +0 -143
- package/dist/bundle/server-EW2RL2EL.js +0 -93
- package/dist/bundle/store-connection-SKRUAI4L.js +0 -109
- package/dist/bundle/store-maintenance-command-G6EXJSHJ.js +0 -81
- package/dist/bundle/surface-DWEWB5RG.js +0 -79
- package/dist/bundle/tokens-BB4MQBLH.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-7O7XM37N.js → chunk-7ECP5ZQR.js} +0 -0
|
@@ -2,85 +2,65 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
commandsCommand,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
runsCommand,
|
|
8
|
-
suggest
|
|
9
|
-
} from "./chunk-VXD65V67.js";
|
|
5
|
+
runsCommand
|
|
6
|
+
} from "./chunk-XYF76A26.js";
|
|
10
7
|
import {
|
|
11
8
|
checkedClientId
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5WL5RHOO.js";
|
|
13
10
|
import {
|
|
14
11
|
sharedStoreCommand
|
|
15
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UBH7YF3C.js";
|
|
16
13
|
import {
|
|
17
|
-
LOCAL_READ,
|
|
18
14
|
NO_EFFECTS,
|
|
19
|
-
REMOTE_READ,
|
|
20
15
|
annotate,
|
|
21
|
-
answerEntity,
|
|
22
16
|
changesAuthorityNow,
|
|
23
17
|
checkConfigText,
|
|
24
|
-
describeOptions,
|
|
25
18
|
describeProgram,
|
|
26
19
|
flatten,
|
|
27
20
|
hasSharedContract,
|
|
28
21
|
isLogin,
|
|
29
22
|
isStoreChange,
|
|
30
23
|
issueMessage,
|
|
31
|
-
itemOf,
|
|
32
|
-
listOf,
|
|
33
|
-
metaNow,
|
|
34
24
|
metaOf,
|
|
35
25
|
overrideSharedContract,
|
|
36
26
|
profileFree,
|
|
37
|
-
renderAnswer,
|
|
38
|
-
snakeKeys,
|
|
39
27
|
takesProfile,
|
|
40
28
|
usableProfileName,
|
|
41
29
|
withSettingDefaults
|
|
42
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ASTLGFTR.js";
|
|
43
31
|
import {
|
|
44
32
|
readOnlyLockOf,
|
|
45
33
|
readOnlyRefusal
|
|
46
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZJ63HDBT.js";
|
|
47
35
|
import {
|
|
48
36
|
setupPermissionCeiling
|
|
49
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-JEH33ZCD.js";
|
|
50
38
|
import {
|
|
51
39
|
CEILING_KEY,
|
|
52
40
|
DEFAULT_PERMISSIONS,
|
|
53
41
|
LEVELS,
|
|
54
42
|
keyForCommand,
|
|
55
43
|
levelFor
|
|
56
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-RQ4AXSCJ.js";
|
|
57
45
|
import {
|
|
58
46
|
KEEP_RUNS_FOR_DAYS,
|
|
59
47
|
KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
60
48
|
RUNS_SIZE_LIMIT_MB
|
|
61
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-HKLRI2LB.js";
|
|
62
50
|
import {
|
|
63
51
|
ZM
|
|
64
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-R6IA5UQB.js";
|
|
65
53
|
import {
|
|
66
|
-
MEETING_RESULT_ENTITIES
|
|
67
|
-
} from "./chunk-T2BHIC37.js";
|
|
68
|
-
import {
|
|
69
|
-
createRenderer,
|
|
70
|
-
projectFields,
|
|
71
54
|
saveConfigFile
|
|
72
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-3QN5KDFZ.js";
|
|
73
56
|
import {
|
|
74
57
|
array,
|
|
75
58
|
boolean,
|
|
76
59
|
check,
|
|
77
60
|
custom,
|
|
78
|
-
exitCodeOfAnswer,
|
|
79
61
|
integer,
|
|
80
|
-
isoTimestamp,
|
|
81
62
|
literal,
|
|
82
63
|
maxLength,
|
|
83
|
-
minLength,
|
|
84
64
|
minValue,
|
|
85
65
|
nullable,
|
|
86
66
|
number,
|
|
@@ -94,10 +74,10 @@ import {
|
|
|
94
74
|
strictObject,
|
|
95
75
|
string,
|
|
96
76
|
union
|
|
97
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-ESN3W2MZ.js";
|
|
98
78
|
import {
|
|
99
79
|
CliError
|
|
100
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-IANKXHSE.js";
|
|
101
81
|
import {
|
|
102
82
|
__name
|
|
103
83
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -153,12 +133,12 @@ var inZmTerms = /* @__PURE__ */ __name((raw, issue) => {
|
|
|
153
133
|
at
|
|
154
134
|
};
|
|
155
135
|
}, "inZmTerms");
|
|
156
|
-
var configIssues = /* @__PURE__ */ __name((
|
|
157
|
-
const checked = checkConfigText(
|
|
136
|
+
var configIssues = /* @__PURE__ */ __name((text, file, schema, permissionKeys2) => {
|
|
137
|
+
const checked = checkConfigText(text, { file, tool: "zm", schema });
|
|
158
138
|
const broken = checked.issues.find((issue) => issue.kind === "invalid_json");
|
|
159
139
|
if (broken)
|
|
160
140
|
return { issues: [{ ...broken, at: [] }], raw: null };
|
|
161
|
-
const raw = JSON.parse(
|
|
141
|
+
const raw = JSON.parse(text);
|
|
162
142
|
if (!isNode(raw))
|
|
163
143
|
return { issues: [fileIssue(file, "the file has to be an object, in braces")], raw: null };
|
|
164
144
|
const found = /* @__PURE__ */ new Map();
|
|
@@ -201,13 +181,13 @@ var usable = /* @__PURE__ */ __name((profile) => {
|
|
|
201
181
|
return profile;
|
|
202
182
|
}, "usable");
|
|
203
183
|
var chooseProfile = /* @__PURE__ */ __name(({ word, env, profiles }) => {
|
|
204
|
-
const
|
|
184
|
+
const lock = given(env.ZM_PROFILE_LOCK);
|
|
205
185
|
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 ??
|
|
186
|
+
if (lock !== void 0)
|
|
187
|
+
usable(lock);
|
|
188
|
+
if (named !== void 0 && lock !== void 0 && named !== lock)
|
|
189
|
+
throw new CliError("permission_error", `this process is locked to profile ${lock} (ZM_PROFILE_LOCK) \u2014 profile ${named} is refused`);
|
|
190
|
+
const profile = named ?? lock;
|
|
211
191
|
if (profile === void 0) {
|
|
212
192
|
const here = profiles();
|
|
213
193
|
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,12 +207,12 @@ var contextSourcesSchema = pipe(array(strictObject({ ...fields, profile: pipe(st
|
|
|
227
207
|
const ids = /* @__PURE__ */ new Set(), identities = /* @__PURE__ */ new Set(), counts = /* @__PURE__ */ new Map();
|
|
228
208
|
for (const entry of entries) {
|
|
229
209
|
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) ||
|
|
210
|
+
const count = (counts.get(entry.profile) ?? 0) + 1;
|
|
211
|
+
if (ids.has(id) || identities.has(key) || count > 8)
|
|
232
212
|
return false;
|
|
233
213
|
ids.add(id);
|
|
234
214
|
identities.add(key);
|
|
235
|
-
counts.set(entry.profile,
|
|
215
|
+
counts.set(entry.profile, count);
|
|
236
216
|
}
|
|
237
217
|
return true;
|
|
238
218
|
}));
|
|
@@ -255,247 +235,6 @@ var replaceContextSources = /* @__PURE__ */ __name((value, profile, existing = [
|
|
|
255
235
|
return all.output;
|
|
256
236
|
}, "replaceContextSources");
|
|
257
237
|
|
|
258
|
-
// dist/answer-entities.js
|
|
259
|
-
var text = string();
|
|
260
|
-
var identifier = pipe(text, minLength(1));
|
|
261
|
-
var nullableText = nullable(text);
|
|
262
|
-
var count = pipe(number(), integer(), minValue(0));
|
|
263
|
-
var flag = boolean();
|
|
264
|
-
var optionalCount = optional(count);
|
|
265
|
-
var scope = strictObject({ provider: text, account: text });
|
|
266
|
-
var asset = strictObject({
|
|
267
|
-
id: nullableText,
|
|
268
|
-
type: text,
|
|
269
|
-
format: nullableText,
|
|
270
|
-
size: nullable(count),
|
|
271
|
-
status: text,
|
|
272
|
-
available: flag,
|
|
273
|
-
started_at: nullableText,
|
|
274
|
-
ended_at: nullableText
|
|
275
|
-
});
|
|
276
|
-
var occurrence = strictObject({ id: text, uuid: text, title: nullableText, started_at: nullableText });
|
|
277
|
-
var recording = strictObject({ ...occurrence.entries, assets: array(asset) });
|
|
278
|
-
var archivedFile = strictObject({
|
|
279
|
-
id: text,
|
|
280
|
-
path: text,
|
|
281
|
-
size: count,
|
|
282
|
-
sha256: text,
|
|
283
|
-
remote_size: nullable(count),
|
|
284
|
-
type: text,
|
|
285
|
-
format: nullableText,
|
|
286
|
-
started_at: nullableText,
|
|
287
|
-
ended_at: nullableText
|
|
288
|
-
});
|
|
289
|
-
var archive = strictObject({
|
|
290
|
-
uuid: text,
|
|
291
|
-
manifest_path: text,
|
|
292
|
-
downloaded: array(archivedFile),
|
|
293
|
-
skipped: array(archivedFile),
|
|
294
|
-
unavailable: array(asset)
|
|
295
|
-
});
|
|
296
|
-
var manifest = strictObject({ version: literal(1), meeting: occurrence, files: array(archivedFile) });
|
|
297
|
-
var lock = strictObject({
|
|
298
|
-
name: text,
|
|
299
|
-
status: picklist(["active", "stale", "foreign", "unrecognized"]),
|
|
300
|
-
pid: nullable(count),
|
|
301
|
-
host: nullableText
|
|
302
|
-
});
|
|
303
|
-
var archiveReceipt = strictObject({
|
|
304
|
-
window: strictObject({ from: text, to: text }),
|
|
305
|
-
meeting: strictObject({ id: text, uuid: text, title: nullableText }),
|
|
306
|
-
archive,
|
|
307
|
-
availability: optional(literal("unknown")),
|
|
308
|
-
checkpoint_revision: optional(nullable(count))
|
|
309
|
-
});
|
|
310
|
-
var schedule = strictObject({
|
|
311
|
-
version: literal(1),
|
|
312
|
-
id: text,
|
|
313
|
-
name: text,
|
|
314
|
-
scope,
|
|
315
|
-
destination: text,
|
|
316
|
-
from: text,
|
|
317
|
-
daily_at: text,
|
|
318
|
-
time_zone: text,
|
|
319
|
-
lookback_days: count,
|
|
320
|
-
max_bytes: count,
|
|
321
|
-
created_at: pipe(text, isoTimestamp())
|
|
322
|
-
});
|
|
323
|
-
var job = strictObject({
|
|
324
|
-
version: literal(1),
|
|
325
|
-
schedule,
|
|
326
|
-
capture: strictObject({ profile: text, client_id: text, config_dir: text, runtime: text, cli_path: text }),
|
|
327
|
-
state: picklist(["pending", "enabled", "disabled"])
|
|
328
|
-
});
|
|
329
|
-
var scheduleReceipt = strictObject({
|
|
330
|
-
applied: flag,
|
|
331
|
-
backend: text,
|
|
332
|
-
job,
|
|
333
|
-
units: optional(strictObject({ service_name: text, timer_name: text, service: text, timer: text })),
|
|
334
|
-
timer_state: picklist(["not_checked", "verified_enabled", "verified_disabled"])
|
|
335
|
-
});
|
|
336
|
-
var cue = strictObject({ start_ms: count, end_ms: count, speaker: nullableText, text });
|
|
337
|
-
var archiveImport = strictObject({
|
|
338
|
-
uuid: text,
|
|
339
|
-
asset_ids: array(text),
|
|
340
|
-
status: picklist(["acknowledged", "unavailable"]),
|
|
341
|
-
meeting_id: optional(identifier),
|
|
342
|
-
created: optional(flag),
|
|
343
|
-
inserted_transcripts: optionalCount,
|
|
344
|
-
replayed_transcripts: optionalCount,
|
|
345
|
-
superseded_transcripts: optionalCount,
|
|
346
|
-
reason: optional(literal("missing_or_deleted"))
|
|
347
|
-
});
|
|
348
|
-
var searchHit = strictObject({
|
|
349
|
-
source: text,
|
|
350
|
-
id: nullableText,
|
|
351
|
-
title: nullableText,
|
|
352
|
-
time: nullableText,
|
|
353
|
-
text: nullableText,
|
|
354
|
-
url: nullableText,
|
|
355
|
-
people: array(text),
|
|
356
|
-
container_id: nullableText,
|
|
357
|
-
details: record(text, nullable(union([text, number(), flag])))
|
|
358
|
-
});
|
|
359
|
-
var zoomAppSetup = strictObject({
|
|
360
|
-
marketplace_url: identifier,
|
|
361
|
-
guide_url: identifier,
|
|
362
|
-
app_type: identifier,
|
|
363
|
-
management: identifier,
|
|
364
|
-
oauth: identifier,
|
|
365
|
-
redirect_url: identifier,
|
|
366
|
-
allow_list: array(identifier),
|
|
367
|
-
scopes: array(strictObject({ scope: identifier, required: flag, use: identifier })),
|
|
368
|
-
config_key: identifier
|
|
369
|
-
});
|
|
370
|
-
var ZOOM_ANSWER_ENTITIES = {
|
|
371
|
-
app: { name: "zoom_app_setup", schema: zoomAppSetup },
|
|
372
|
-
"recordings list": { name: "zoom_recording", schema: recording },
|
|
373
|
-
"recordings show": { name: "zoom_recording", schema: recording },
|
|
374
|
-
"recordings download": { name: "zoom_archive", schema: union([archive, archiveReceipt]) },
|
|
375
|
-
"recordings archive show": { name: "zoom_archive_manifest", schema: manifest },
|
|
376
|
-
"recordings archive check": {
|
|
377
|
-
name: "zoom_archive_check",
|
|
378
|
-
schema: strictObject({ manifest_path: text, id: text, path: text, valid: flag })
|
|
379
|
-
},
|
|
380
|
-
"recordings archive locks": { name: "zoom_archive_lock", schema: lock },
|
|
381
|
-
"recordings archive recover": {
|
|
382
|
-
name: "zoom_archive_recovery",
|
|
383
|
-
schema: strictObject({ locks: array(lock), removed: array(text) })
|
|
384
|
-
},
|
|
385
|
-
"recordings archive transcript": {
|
|
386
|
-
name: "zoom_archive_transcript",
|
|
387
|
-
schema: strictObject({ meeting: occurrence, asset: archivedFile, cues: array(cue) })
|
|
388
|
-
},
|
|
389
|
-
"recordings archive import": { name: "zoom_archive_import", schema: archiveImport },
|
|
390
|
-
"recordings schedule list": { name: "zoom_archive_job", schema: job },
|
|
391
|
-
"recordings schedule show": { name: "zoom_archive_job", schema: job },
|
|
392
|
-
"recordings schedule create": { name: "zoom_archive_schedule_change", schema: scheduleReceipt },
|
|
393
|
-
"recordings schedule disable": { name: "zoom_archive_schedule_change", schema: scheduleReceipt },
|
|
394
|
-
"recordings schedule run": { name: "zoom_archive_receipt", schema: archiveReceipt },
|
|
395
|
-
"zoom search": { name: "zoom_search_hit", schema: searchHit },
|
|
396
|
-
"meetings embeddings": { name: "meeting_embedding", schema: MEETING_RESULT_ENTITIES.meeting_embedding, shared: true },
|
|
397
|
-
"meetings sync": { name: "meeting_ingestion", schema: MEETING_RESULT_ENTITIES.meeting_ingestion, shared: true },
|
|
398
|
-
"meetings import": { name: "meeting_ingestion", schema: MEETING_RESULT_ENTITIES.meeting_ingestion, shared: true },
|
|
399
|
-
"meetings repair": {
|
|
400
|
-
name: "meeting_repair",
|
|
401
|
-
schema: MEETING_RESULT_ENTITIES.meeting_repair,
|
|
402
|
-
shared: true
|
|
403
|
-
},
|
|
404
|
-
watch: { name: "meeting_ingestion", schema: MEETING_RESULT_ENTITIES.meeting_ingestion, shared: true },
|
|
405
|
-
"meetings export": { name: "meeting_export", schema: MEETING_RESULT_ENTITIES.meeting_export, shared: true },
|
|
406
|
-
"meetings link": { name: "meeting_association", schema: MEETING_RESULT_ENTITIES.meeting_association, shared: true },
|
|
407
|
-
"meetings transcribe": {
|
|
408
|
-
name: "meeting_transcription",
|
|
409
|
-
schema: MEETING_RESULT_ENTITIES.meeting_transcription,
|
|
410
|
-
shared: true
|
|
411
|
-
}
|
|
412
|
-
};
|
|
413
|
-
var declareZoomAnswers = /* @__PURE__ */ __name((program) => {
|
|
414
|
-
const walk = /* @__PURE__ */ __name((command, path) => {
|
|
415
|
-
const entity = ZOOM_ANSWER_ENTITIES[path.join(" ")];
|
|
416
|
-
if (entity?.shared)
|
|
417
|
-
annotate(command, { output: { entity: entity.name } });
|
|
418
|
-
else if (entity)
|
|
419
|
-
answerEntity(command, entity.name, entity.schema);
|
|
420
|
-
for (const child of command.commands)
|
|
421
|
-
walk(child, [...path, child.name()]);
|
|
422
|
-
}, "walk");
|
|
423
|
-
walk(program, []);
|
|
424
|
-
}, "declareZoomAnswers");
|
|
425
|
-
var publicValue = /* @__PURE__ */ __name((value, key = "") => {
|
|
426
|
-
if (typeof value === "number" && key === "meeting_id")
|
|
427
|
-
return String(value);
|
|
428
|
-
if (typeof value === "number" && key === "created_at")
|
|
429
|
-
return new Date(value).toISOString();
|
|
430
|
-
if (Array.isArray(value))
|
|
431
|
-
return value.map((item) => publicValue(item));
|
|
432
|
-
if (value && typeof value === "object")
|
|
433
|
-
return Object.fromEntries(Object.entries(value).map(([name, item]) => [name, publicValue(item, name)]));
|
|
434
|
-
return value;
|
|
435
|
-
}, "publicValue");
|
|
436
|
-
var schemas = new Map(Object.values(ZOOM_ANSWER_ENTITIES).map(({ name, schema }) => [name, schema]));
|
|
437
|
-
var normalizeZoomAnswer = /* @__PURE__ */ __name((body, entity) => {
|
|
438
|
-
const schema = entity ? schemas.get(entity) : void 0;
|
|
439
|
-
if (!schema)
|
|
440
|
-
return body;
|
|
441
|
-
const checked = /* @__PURE__ */ __name((value) => {
|
|
442
|
-
if (entity && Object.hasOwn(MEETING_RESULT_ENTITIES, entity))
|
|
443
|
-
return meetingResultItem(entity, value);
|
|
444
|
-
const parsed = safeParse(schema, publicValue(value));
|
|
445
|
-
if (!parsed.success) {
|
|
446
|
-
const applied = value && typeof value === "object" && "applied" in value && value.applied === true;
|
|
447
|
-
throw new CliError(applied ? "outcome_unknown" : "invalid_response", `the command returned an invalid ${entity} answer`);
|
|
448
|
-
}
|
|
449
|
-
return parsed.output;
|
|
450
|
-
}, "checked");
|
|
451
|
-
return "item" in body ? { ...body, item: checked(body.item) } : { ...body, items: body.items.map(checked) };
|
|
452
|
-
}, "normalizeZoomAnswer");
|
|
453
|
-
|
|
454
|
-
// dist/answer-output.js
|
|
455
|
-
var UTC_TIME = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?Z/;
|
|
456
|
-
var record2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "record");
|
|
457
|
-
var only = /* @__PURE__ */ __name((value, keys) => Object.keys(value).every((key) => keys.includes(key)), "only");
|
|
458
|
-
var bodyOf = /* @__PURE__ */ __name((value) => {
|
|
459
|
-
const data = snakeKeys(value);
|
|
460
|
-
if (record2(data) && only(data, ["item", "items", "page", "next", "missing", "meta"])) {
|
|
461
|
-
if ("item" in data || Array.isArray(data.items) && record2(data.page))
|
|
462
|
-
return data;
|
|
463
|
-
}
|
|
464
|
-
if (record2(data) && Array.isArray(data.items) && only(data, ["items", "page", "limit", "has_more"]))
|
|
465
|
-
return listOf("list", {
|
|
466
|
-
items: data.items,
|
|
467
|
-
limit: Math.max(1, data.items.length),
|
|
468
|
-
has_more: data.has_more === true
|
|
469
|
-
});
|
|
470
|
-
return itemOf(data);
|
|
471
|
-
}, "bodyOf");
|
|
472
|
-
var renderBody = /* @__PURE__ */ __name((command, body, options) => {
|
|
473
|
-
const data = normalizeZoomAnswer(snakeKeys(body), metaOf(command).output?.entity);
|
|
474
|
-
const fields2 = options.fields;
|
|
475
|
-
const projected = fields2 ? projectFields(data, fields2) : data;
|
|
476
|
-
const meta = metaNow({ ...projected.meta, run_id: options.meta.run_id, duration_ms: options.meta.duration_ms });
|
|
477
|
-
const chunks = [];
|
|
478
|
-
const streams = {
|
|
479
|
-
data: /* @__PURE__ */ __name((text3) => chunks.push(`${text3}
|
|
480
|
-
`), "data"),
|
|
481
|
-
diagnostic: /* @__PURE__ */ __name((text3) => options.diagnostic(`${text3}
|
|
482
|
-
`), "diagnostic")
|
|
483
|
-
};
|
|
484
|
-
const renderer = createRenderer({ format: options.format, color: false, quiet: options.quiet, streams });
|
|
485
|
-
for (const warning of options.warnings ?? [])
|
|
486
|
-
renderer.warn(warning);
|
|
487
|
-
const exitCode = process.exitCode;
|
|
488
|
-
try {
|
|
489
|
-
renderAnswer(command, { renderer, format: options.format, streams }, { ...projected, meta });
|
|
490
|
-
} finally {
|
|
491
|
-
process.exitCode = exitCode;
|
|
492
|
-
}
|
|
493
|
-
const text2 = chunks.join("");
|
|
494
|
-
const label = options.format === "pretty" && UTC_TIME.test(text2) ? "times in UTC\n" : "";
|
|
495
|
-
return { text: text2 + label, exitCode: exitCodeOfAnswer(meta, metaOf(command).partial === true) };
|
|
496
|
-
}, "renderBody");
|
|
497
|
-
var wholeList = /* @__PURE__ */ __name((command, items) => listOf(command, { items, limit: Math.max(1, items.length), has_more: false }), "wholeList");
|
|
498
|
-
|
|
499
238
|
// dist/read-only.js
|
|
500
239
|
var pathOf2 = /* @__PURE__ */ __name((command) => {
|
|
501
240
|
const words = [];
|
|
@@ -527,34 +266,16 @@ var refusalOf = /* @__PURE__ */ __name((command) => {
|
|
|
527
266
|
return void 0;
|
|
528
267
|
}, "refusalOf");
|
|
529
268
|
var refuseChangeWhenReadOnly = /* @__PURE__ */ __name((command, env) => {
|
|
530
|
-
const
|
|
531
|
-
const refusal =
|
|
532
|
-
if (
|
|
533
|
-
throw readOnlyRefusal(
|
|
269
|
+
const lock = readOnlyLockOf(ZM, env);
|
|
270
|
+
const refusal = lock && refusalOf(command);
|
|
271
|
+
if (lock && refusal)
|
|
272
|
+
throw readOnlyRefusal(lock, refusal);
|
|
534
273
|
}, "refuseChangeWhenReadOnly");
|
|
535
274
|
|
|
536
275
|
// dist/commands.js
|
|
537
|
-
var addStandardCommandsDefinition = /* @__PURE__ */ __name((program
|
|
276
|
+
var addStandardCommandsDefinition = /* @__PURE__ */ __name((program) => {
|
|
538
277
|
program.addCommand(commandsCommand(ZM).copyInheritedSettings(program));
|
|
539
278
|
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
279
|
}, "addStandardCommandsDefinition");
|
|
559
280
|
var annotateMeetingCommands = /* @__PURE__ */ __name((program) => {
|
|
560
281
|
for (const item of flatten(describeProgram(program))) {
|
|
@@ -791,16 +512,16 @@ var configOf = /* @__PURE__ */ __name((file) => ({
|
|
|
791
512
|
...file.record_input === void 0 ? {} : { recordInput: file.record_input }
|
|
792
513
|
}), "configOf");
|
|
793
514
|
var inspectConfig = /* @__PURE__ */ __name((path, permissionKeys2) => {
|
|
794
|
-
let
|
|
515
|
+
let text;
|
|
795
516
|
try {
|
|
796
|
-
|
|
517
|
+
text = readFileSync(path, "utf8");
|
|
797
518
|
} catch {
|
|
798
519
|
if (!existsSync(path))
|
|
799
520
|
return { found: false, issues: [], raw: {}, config: configOf({}) };
|
|
800
521
|
const what = statSync(path, { throwIfNoEntry: false })?.isDirectory() ? "the path is a folder, not a file" : "the file could not be read";
|
|
801
522
|
return { found: true, issues: [fileIssue(path, what)], raw: null, config: configOf({}) };
|
|
802
523
|
}
|
|
803
|
-
const { issues, raw } = configIssues(
|
|
524
|
+
const { issues, raw } = configIssues(text, path, ConfigFile, permissionKeys2);
|
|
804
525
|
return {
|
|
805
526
|
found: true,
|
|
806
527
|
issues,
|
|
@@ -944,11 +665,6 @@ export {
|
|
|
944
665
|
profileAccountKey,
|
|
945
666
|
chooseProfile,
|
|
946
667
|
contextSourcesSchema,
|
|
947
|
-
ZOOM_ANSWER_ENTITIES,
|
|
948
|
-
declareZoomAnswers,
|
|
949
|
-
bodyOf,
|
|
950
|
-
renderBody,
|
|
951
|
-
wholeList,
|
|
952
668
|
annotateMeetingCommands,
|
|
953
669
|
markProfileFree,
|
|
954
670
|
zoomRunsCommand,
|
|
@@ -2,13 +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-
|
|
5
|
+
} from "./chunk-434YFJAE.js";
|
|
6
6
|
import {
|
|
7
7
|
createOutputBuffer
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3QN5KDFZ.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IANKXHSE.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
filesPresent,
|
|
5
5
|
sharedModelsDirectory
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BAFC7WNI.js";
|
|
7
7
|
import {
|
|
8
8
|
readSharedSection,
|
|
9
9
|
sharedConfigPath,
|
|
10
10
|
writeSharedSection
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SHQAYUK6.js";
|
|
12
12
|
import {
|
|
13
13
|
storePath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FH2UFNH6.js";
|
|
15
15
|
import {
|
|
16
16
|
array,
|
|
17
17
|
check,
|
|
@@ -32,15 +32,15 @@ import {
|
|
|
32
32
|
string,
|
|
33
33
|
trim,
|
|
34
34
|
url
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ESN3W2MZ.js";
|
|
36
36
|
import {
|
|
37
37
|
CliError
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-IANKXHSE.js";
|
|
39
39
|
import {
|
|
40
40
|
__name
|
|
41
41
|
} from "./chunk-ZVVMGPBJ.js";
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
43
|
+
// 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/embeddings/models.js
|
|
44
44
|
import { existsSync } from "node:fs";
|
|
45
45
|
import { join } from "node:path";
|
|
46
46
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
} from "./chunk-Y5E2WNWB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IANKXHSE.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// 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/speech/recognize.js
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// 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/speech/ogg-limit.js
|
|
17
17
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
18
18
|
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
19
19
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
|
70
70
|
throw invalid();
|
|
71
71
|
}, "checkOggDuration");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// 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/speech/recognize.js
|
|
74
74
|
var SAMPLE_RATE = 16e3;
|
|
75
75
|
var LEAD = SAMPLE_RATE / 2;
|
|
76
76
|
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EE45N67Q.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// 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/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// 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/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// 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/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
openOrdinaryFile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-S4PXWIE4.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IANKXHSE.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// 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/speech/wav.js
|
|
14
14
|
import { createHash } from "node:crypto";
|
|
15
15
|
import { basename, resolve } from "node:path";
|
|
16
16
|
var prepared = /* @__PURE__ */ new WeakMap();
|
|
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
hostFetch
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VTYNLTDW.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
isCliError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IANKXHSE.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// 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/models/endpoint.js
|
|
15
15
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
16
16
|
try {
|
|
17
17
|
const url = new URL(value);
|