@wirecat/zoom-cli 0.67.0 → 0.69.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/dist/answer-entities.d.ts +18 -0
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +12 -0
- package/dist/answer-entities.js.map +1 -1
- package/dist/answer-policy.d.ts.map +1 -1
- package/dist/answer-policy.js +2 -1
- package/dist/answer-policy.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-SEW2VL76.js → all-profiles-ZQWPCJEK.js} +12 -12
- package/dist/bundle/answer-policy-VBDYLUXI.js +104 -0
- package/dist/bundle/{anthropic-FSNASJML.js → anthropic-7FUQ2HYJ.js} +7 -7
- package/dist/bundle/{app-server-EVSRYJ3H.js → app-server-DNPE2EQB.js} +61 -58
- package/dist/bundle/{bun-DACL5SVO.js → bun-ZVQFCFCC.js} +2 -2
- package/dist/bundle/{bun-sqlite-HQ2KOXSI.js → bun-sqlite-EB2UMUPJ.js} +6 -6
- package/dist/bundle/{chunk-4ZR5DJ26.js → chunk-2SYWVIQJ.js} +3 -3
- package/dist/bundle/chunk-37B7A4RP.js +66 -0
- package/dist/bundle/{chunk-WHQ4ZCJI.js → chunk-3TPRYZUW.js} +214 -86
- package/dist/bundle/{chunk-L6CAUVMU.js → chunk-4APZQYCH.js} +5 -5
- package/dist/bundle/{chunk-ASCHAVNW.js → chunk-52DCABMU.js} +27 -27
- package/dist/bundle/{chunk-LM26DJOK.js → chunk-5GOE6PQK.js} +6 -6
- package/dist/bundle/{chunk-QX2MAT6I.js → chunk-5H6VTEEC.js} +3 -3
- package/dist/bundle/{chunk-V33VGWT3.js → chunk-5ZF6QVMC.js} +16 -6
- package/dist/bundle/{chunk-GP4NSYDU.js → chunk-5ZJXKASF.js} +254 -13
- package/dist/bundle/chunk-6AMMTXEA.js +12473 -0
- package/dist/bundle/{chunk-Q65SDEFN.js → chunk-6KMTQX3D.js} +2 -2
- package/dist/bundle/{chunk-TBRG2DPE.js → chunk-6N2D6JGX.js} +2 -2
- package/dist/bundle/{chunk-X67YD3QI.js → chunk-6TICX3MN.js} +2 -2
- package/dist/bundle/{chunk-4GCKDO2H.js → chunk-7AUP2WT3.js} +3 -3
- package/dist/bundle/{chunk-JVCHGI7W.js → chunk-B5D7NZI7.js} +1 -1
- package/dist/bundle/{chunk-AAZFLJSH.js → chunk-B6JMVB6R.js} +10 -10
- package/dist/bundle/{chunk-CRLBTNC4.js → chunk-BL36NSV5.js} +3 -3
- package/dist/bundle/{chunk-4UVT2QCO.js → chunk-BOAMDYLY.js} +4 -4
- package/dist/bundle/{chunk-VQTAU4DV.js → chunk-C6TEYKXV.js} +8 -8
- package/dist/bundle/{chunk-6AJDVJVZ.js → chunk-CKK6JOC4.js} +2 -2
- package/dist/bundle/{chunk-4U2555EQ.js → chunk-CUZHKYC2.js} +30 -28
- package/dist/bundle/{chunk-7LLUUXJB.js → chunk-DHD25JII.js} +1 -1
- package/dist/bundle/{chunk-RYKG6AEH.js → chunk-EPPSMCEV.js} +4 -2
- package/dist/bundle/chunk-F5DYBWH7.js +299 -0
- package/dist/bundle/{chunk-KIJLM5UL.js → chunk-FBLUKCIR.js} +1 -1
- package/dist/bundle/{chunk-WZ5XK74U.js → chunk-FEM2JQN2.js} +1 -1
- package/dist/bundle/{chunk-SSXCOUP3.js → chunk-G6IX2MD2.js} +500 -227
- package/dist/bundle/{chunk-OTMGAKUM.js → chunk-GR3QDHBU.js} +7 -7
- package/dist/bundle/{chunk-QEI55M2F.js → chunk-GXDOTUUO.js} +10 -10
- package/dist/bundle/chunk-H3MFBYTQ.js +261 -0
- package/dist/bundle/{chunk-DFUPETW7.js → chunk-HC56J5LB.js} +135 -76
- package/dist/bundle/{chunk-D6OXI2NV.js → chunk-HSI7YOYK.js} +229 -67
- package/dist/bundle/{chunk-FGTPREAZ.js → chunk-HW5QTRFF.js} +35 -35
- package/dist/bundle/{chunk-VNIBTNV4.js → chunk-IEC4E65G.js} +2 -2
- package/dist/bundle/{chunk-EUPZSR2G.js → chunk-IPBZKUC3.js} +4 -4
- package/dist/bundle/{chunk-EQ7XRRKV.js → chunk-JHFP3Z5S.js} +11 -11
- package/dist/bundle/{chunk-3GO3KME7.js → chunk-JX5JJZC3.js} +3 -3
- package/dist/bundle/{chunk-7HAIM7GV.js → chunk-JZ4YOAHA.js} +963 -622
- package/dist/bundle/{chunk-B3KWAULD.js → chunk-KAPJQGHE.js} +2 -2
- package/dist/bundle/{chunk-T6CZWSHF.js → chunk-KNE6VFHZ.js} +21 -21
- package/dist/bundle/{chunk-I7SOXH64.js → chunk-KX5MZVPX.js} +66 -39
- package/dist/bundle/chunk-L62EJDNZ.js +64 -0
- package/dist/bundle/{chunk-EPDRF66S.js → chunk-LDRQ5NAP.js} +22 -14
- package/dist/bundle/{chunk-7VU5UGRR.js → chunk-LEA4BGK7.js} +16 -16
- package/dist/bundle/{chunk-ZMPTO2WB.js → chunk-LQX74VKG.js} +1 -1
- package/dist/bundle/{chunk-LKJXTACE.js → chunk-MJMVIFSC.js} +7 -7
- package/dist/bundle/{chunk-KWRSC6O6.js → chunk-MNOVYS43.js} +18 -4
- package/dist/bundle/{chunk-M43MBWJX.js → chunk-MOTKS7XG.js} +20741 -14882
- package/dist/bundle/{chunk-MWEOVTIF.js → chunk-MSDCZ6GT.js} +4 -4
- package/dist/bundle/{chunk-SOZVC3SV.js → chunk-MVDPZRFE.js} +1 -1
- package/dist/bundle/{chunk-NTZDM5SJ.js → chunk-NRRI37NJ.js} +9 -9
- package/dist/bundle/{chunk-BKY4XVB4.js → chunk-O7L44JK2.js} +2632 -1870
- package/dist/bundle/{chunk-6IBM4Z3V.js → chunk-OE7EIP5L.js} +1 -1
- package/dist/bundle/{chunk-RAMPYIO2.js → chunk-OSBHEM2A.js} +11 -11
- package/dist/bundle/{chunk-KV4267S4.js → chunk-P3ASN72F.js} +1 -1
- package/dist/bundle/{chunk-DG4DWAU7.js → chunk-QLGG7S6F.js} +3 -3
- package/dist/bundle/{chunk-6UFWFKFH.js → chunk-QW5VPZEH.js} +2 -2
- package/dist/bundle/{chunk-C6UKW7JO.js → chunk-QXM7S3Y3.js} +6 -6
- package/dist/bundle/{chunk-ESFMHBHH.js → chunk-R2ULMWB4.js} +62 -53
- package/dist/bundle/{chunk-L6WUAGPN.js → chunk-R3JYPY3J.js} +3 -3
- package/dist/bundle/{chunk-2UW533HQ.js → chunk-RGJ7OWHU.js} +4 -4
- package/dist/bundle/{chunk-7K5TDTZY.js → chunk-RPQ3JOD3.js} +7 -7
- package/dist/bundle/{chunk-L643D4RJ.js → chunk-S2EAGDS7.js} +12 -12
- package/dist/bundle/{chunk-4KDZ22RA.js → chunk-SQT47CFW.js} +1 -1
- package/dist/bundle/{chunk-CLEZE65P.js → chunk-SZ3Z4ZNO.js} +1 -1
- package/dist/bundle/chunk-T5X4LGXE.js +380 -0
- package/dist/bundle/{chunk-SMVO5R3T.js → chunk-TFFEFEG2.js} +39 -26
- package/dist/bundle/{chunk-LFQ73UFK.js → chunk-TKXLWFM2.js} +3 -3
- package/dist/bundle/{chunk-SCFFCIIP.js → chunk-TN77LX6W.js} +2 -2
- package/dist/bundle/{chunk-VFIEYRYD.js → chunk-TWIC6JJG.js} +8 -8
- package/dist/bundle/{chunk-FXQPK742.js → chunk-UEZ6URJR.js} +29 -15
- package/dist/bundle/{chunk-OZEYFJX2.js → chunk-V4MM6GST.js} +1 -1
- package/dist/bundle/chunk-V74QFMSL.js +31 -0
- package/dist/bundle/{chunk-YPF6OS37.js → chunk-VW6BF6M7.js} +1 -1
- package/dist/bundle/{chunk-6TZF2JP7.js → chunk-WY4NYPPS.js} +13 -13
- package/dist/bundle/{chunk-B5Z4XPVS.js → chunk-XITUFTON.js} +2 -2
- package/dist/bundle/{chunk-FWU3ZYHE.js → chunk-XJBYGMZ4.js} +776 -134
- package/dist/bundle/{chunk-KANH7GBB.js → chunk-XRZDYWF6.js} +2 -2
- package/dist/bundle/{chunk-ZRMZBMOF.js → chunk-Z6TTGTMU.js} +156 -9
- package/dist/bundle/{chunk-IFDO3YPJ.js → chunk-ZRHMB3LQ.js} +1 -1
- package/dist/bundle/{cli-YUATSOLA.js → cli-P3BZUE6S.js} +106 -64
- package/dist/bundle/command-contract-TOLB32NJ.js +41 -0
- package/dist/bundle/config-4KLLIADY.js +90 -0
- package/dist/bundle/{decode-IL44LNC3.js → decode-QWOQXM7M.js} +6 -6
- package/dist/bundle/{dispatch-3BGIXSJR.js → dispatch-5MGDLOK4.js} +9 -9
- package/dist/bundle/{dist-3W27UQ2S.js → dist-OUE4MF37.js} +108 -28
- package/dist/bundle/{echarts-CO4D26JF.js → echarts-65IMPY43.js} +2 -2
- package/dist/bundle/{embed-XH2X4DFM.js → embed-4IULBCKL.js} +7 -7
- package/dist/bundle/{embedder-WTFWDXBJ.js → embedder-JW4W6IZI.js} +10 -10
- package/dist/bundle/{failure-HTIS3NLS.js → failure-CR64C4XA.js} +3 -3
- package/dist/bundle/{first-run-5RBH7FDO.js → first-run-CH6C674R.js} +12 -12
- package/dist/bundle/first-screen-OCAW5ZN6.js +39 -0
- package/dist/bundle/{folders-F4DNQPIY.js → folders-VU4IN35Y.js} +5 -5
- package/dist/bundle/{instructions-EPPBL6TT.js → instructions-G5QIH2TM.js} +1 -1
- package/dist/bundle/{main-LVQTCDZS.js → main-O4ZJIEWP.js} +21 -23
- package/dist/bundle/{mcp-PPVOM4SE.js → mcp-M4QN2E7R.js} +2 -2
- package/dist/bundle/{meetings-BMELXRTR.js → meetings-77CCAVYD.js} +13 -7
- package/dist/bundle/{node-CQVMWVIG.js → node-E6VQHU4Y.js} +2 -2
- package/dist/bundle/{node-sqlite-QQEX7LZT.js → node-sqlite-RJZ4PGLD.js} +7 -7
- package/dist/bundle/{oauth-AYGX7CQS.js → oauth-F4JKNRW4.js} +8 -8
- package/dist/bundle/{open-MIL2TOT6.js → open-NYOGMIAA.js} +6 -6
- package/dist/bundle/openai-5U6EQTFQ.js +25 -0
- package/dist/bundle/{output-file-4XADZPYH.js → output-file-6COFGPUL.js} +6 -6
- package/dist/bundle/{process-NJVQK6GB.js → process-OBWUKBMX.js} +1 -1
- package/dist/bundle/{program-WUYRS6H7.js → program-MU7DEJTO.js} +115 -187
- package/dist/bundle/{prompt-J4QPFLEA.js → prompt-2QWQTHWT.js} +6 -6
- package/dist/bundle/{recognize-OLJZVNWW.js → recognize-SNUNTUC3.js} +5 -5
- package/dist/bundle/{remote-JPUXNYLV.js → remote-2CTCIQGF.js} +8 -8
- package/dist/bundle/{rerank-XVV3X5TT.js → rerank-XDA7NJNH.js} +8 -8
- package/dist/bundle/{run-log-DJXBEVS5.js → run-log-NSG3DJVX.js} +59 -59
- package/dist/bundle/{serve-NYYUO3MR.js → serve-TWQFHOV2.js} +10 -10
- package/dist/bundle/{server-4Z5E4YTT.js → server-RIQ6HMH2.js} +47 -47
- package/dist/bundle/server-XO6XQQTJ.js +72 -0
- package/dist/bundle/{services-EKWM76HP.js → services-NKZQJQIV.js} +49 -33
- package/dist/bundle/{speech-WFJ44ACJ.js → speech-ZOB76SXA.js} +14 -14
- package/dist/bundle/{state-VIRCT4VW.js → state-7YYEIXQ5.js} +7 -7
- package/dist/bundle/{store-ZTDZ6UY5.js → store-E6RTSSNR.js} +29 -18
- package/dist/bundle/{store-2Q4GEZJS.js → store-OX4HRBLO.js} +80 -29
- package/dist/bundle/store-connection-55QPNUDS.js +83 -0
- package/dist/bundle/store-maintenance-command-Q5MSU6OK.js +62 -0
- package/dist/bundle/{streaming-7BPKIGAS.js → streaming-O53PIORL.js} +7 -7
- package/dist/bundle/{tokens-CQHMMKNX.js → tokens-QKNEP2GJ.js} +7 -7
- package/dist/bundle/zm.js +9 -10
- package/dist/bundle/zoom-app-TSI2MGVK.js +41 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +1 -0
- package/dist/commands.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -3
- package/dist/config.js.map +1 -1
- package/dist/identity.d.ts +1 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +11 -0
- package/dist/identity.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +7 -2
- package/dist/program-bindings.js.map +1 -1
- package/dist/setup-commands.d.ts +6 -0
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +24 -9
- package/dist/setup-commands.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zoom-app.d.ts +32 -0
- package/dist/zoom-app.d.ts.map +1 -1
- package/dist/zoom-app.js +61 -0
- package/dist/zoom-app.js.map +1 -1
- package/package.json +3 -3
- package/dist/bundle/answer-policy-5OYUL6UF.js +0 -103
- package/dist/bundle/chunk-3ZIHUSMM.js +0 -22
- package/dist/bundle/chunk-54RTMQL6.js +0 -132
- package/dist/bundle/chunk-6VFORXL3.js +0 -101
- package/dist/bundle/chunk-D4KBD63W.js +0 -19
- package/dist/bundle/chunk-J3ZBEWQY.js +0 -880
- package/dist/bundle/chunk-SXFODCYK.js +0 -9
- package/dist/bundle/chunk-YRNZT4GQ.js +0 -176
- package/dist/bundle/chunk-Z3WXI4DK.js +0 -31
- package/dist/bundle/command-contract-UWHY55UE.js +0 -41
- package/dist/bundle/config-TGF6E6ZD.js +0 -89
- package/dist/bundle/first-screen-PGFIXJAX.js +0 -39
- package/dist/bundle/openai-7QZZXQW5.js +0 -25
- package/dist/bundle/server-VW5UVCH7.js +0 -72
- package/dist/bundle/store-connection-FKVVQLEF.js +0 -83
- package/dist/bundle/store-maintenance-command-AU73UVUQ.js +0 -62
- package/dist/bundle/zoom-app-OEKFMJS6.js +0 -25
- /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-VOXIGICJ.js} +0 -0
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import "./chunk-BKY4XVB4.js";
|
|
4
|
-
import "./chunk-RAMPYIO2.js";
|
|
5
|
-
import "./chunk-JVCHGI7W.js";
|
|
6
|
-
import "./chunk-7LLUUXJB.js";
|
|
7
|
-
import "./chunk-L643D4RJ.js";
|
|
8
|
-
import "./chunk-QEI55M2F.js";
|
|
9
|
-
import "./chunk-4KDZ22RA.js";
|
|
10
|
-
import "./chunk-I7SOXH64.js";
|
|
11
|
-
import "./chunk-7VU5UGRR.js";
|
|
12
|
-
import {
|
|
13
|
-
failureContext
|
|
14
|
-
} from "./chunk-ZRMZBMOF.js";
|
|
15
|
-
import "./chunk-MWEOVTIF.js";
|
|
16
|
-
import "./chunk-FWU3ZYHE.js";
|
|
17
|
-
import "./chunk-B5Z4XPVS.js";
|
|
18
|
-
import "./chunk-ESFMHBHH.js";
|
|
19
|
-
import "./chunk-SMVO5R3T.js";
|
|
20
|
-
import "./chunk-LFQ73UFK.js";
|
|
21
|
-
import "./chunk-7HAIM7GV.js";
|
|
22
|
-
import "./chunk-6TZF2JP7.js";
|
|
23
|
-
import "./chunk-4UVT2QCO.js";
|
|
24
|
-
import "./chunk-YPF6OS37.js";
|
|
25
|
-
import "./chunk-GP4NSYDU.js";
|
|
26
|
-
import "./chunk-D6OXI2NV.js";
|
|
27
|
-
import "./chunk-VQTAU4DV.js";
|
|
28
|
-
import "./chunk-HTQTIKWP.js";
|
|
29
|
-
import "./chunk-L6CAUVMU.js";
|
|
30
|
-
import {
|
|
31
|
-
judgedEffects,
|
|
32
|
-
judgedTargets
|
|
33
|
-
} from "./chunk-SSXCOUP3.js";
|
|
34
|
-
import "./chunk-SCFFCIIP.js";
|
|
35
|
-
import "./chunk-LKJXTACE.js";
|
|
36
|
-
import "./chunk-EUPZSR2G.js";
|
|
37
|
-
import "./chunk-7K5TDTZY.js";
|
|
38
|
-
import "./chunk-SOZVC3SV.js";
|
|
39
|
-
import "./chunk-4U2555EQ.js";
|
|
40
|
-
import "./chunk-3ZIHUSMM.js";
|
|
41
|
-
import "./chunk-VNIBTNV4.js";
|
|
42
|
-
import "./chunk-54RTMQL6.js";
|
|
43
|
-
import "./chunk-M43MBWJX.js";
|
|
44
|
-
import "./chunk-VFIEYRYD.js";
|
|
45
|
-
import "./chunk-J3ZBEWQY.js";
|
|
46
|
-
import "./chunk-YRNZT4GQ.js";
|
|
47
|
-
import "./chunk-OTMGAKUM.js";
|
|
48
|
-
import "./chunk-Z3WXI4DK.js";
|
|
49
|
-
import "./chunk-OZEYFJX2.js";
|
|
50
|
-
import "./chunk-DG4DWAU7.js";
|
|
51
|
-
import "./chunk-TBRG2DPE.js";
|
|
52
|
-
import "./chunk-4ZR5DJ26.js";
|
|
53
|
-
import "./chunk-6UFWFKFH.js";
|
|
54
|
-
import "./chunk-3GO3KME7.js";
|
|
55
|
-
import "./chunk-LM26DJOK.js";
|
|
56
|
-
import "./chunk-EPDRF66S.js";
|
|
57
|
-
import "./chunk-6AJDVJVZ.js";
|
|
58
|
-
import {
|
|
59
|
-
VERSION
|
|
60
|
-
} from "./chunk-SXFODCYK.js";
|
|
61
|
-
import "./chunk-KV4267S4.js";
|
|
62
|
-
import "./chunk-D72URWJE.js";
|
|
63
|
-
import "./chunk-C6UKW7JO.js";
|
|
64
|
-
import "./chunk-RYKG6AEH.js";
|
|
65
|
-
import "./chunk-DFUPETW7.js";
|
|
66
|
-
import "./chunk-AAZFLJSH.js";
|
|
67
|
-
import "./chunk-LU3WKZBA.js";
|
|
68
|
-
import "./chunk-T6CZWSHF.js";
|
|
69
|
-
import {
|
|
70
|
-
errorObjectOf,
|
|
71
|
-
errorRecordOf,
|
|
72
|
-
exitCodeOfError,
|
|
73
|
-
renderError
|
|
74
|
-
} from "./chunk-NTZDM5SJ.js";
|
|
75
|
-
import "./chunk-Y5E2WNWB.js";
|
|
76
|
-
import "./chunk-WZ5XK74U.js";
|
|
77
|
-
import "./chunk-6IBM4Z3V.js";
|
|
78
|
-
import "./chunk-ZMPTO2WB.js";
|
|
79
|
-
import {
|
|
80
|
-
__name
|
|
81
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
82
|
-
|
|
83
|
-
// dist/answer-policy.js
|
|
84
|
-
var hostFailureContext = /* @__PURE__ */ __name((registry, effects) => ({
|
|
85
|
-
...failureContext(),
|
|
86
|
-
...effects ? { effects: judgedEffects(effects) } : {},
|
|
87
|
-
...registry ? { targets: judgedTargets(registry) } : {}
|
|
88
|
-
}), "hostFailureContext");
|
|
89
|
-
var reportFailure = /* @__PURE__ */ __name((failure, args, deps, command = "zm", context = hostFailureContext()) => {
|
|
90
|
-
const end = args.indexOf("--");
|
|
91
|
-
const flags = args.slice(0, end < 0 ? void 0 : end);
|
|
92
|
-
const machine = flags.some((word) => word === "--json" || word === "--jsonl");
|
|
93
|
-
const object = errorObjectOf(failure, context);
|
|
94
|
-
const record = flags.includes("--debug") ? errorRecordOf(failure, object, { command, service: "zm", version: VERSION }) : void 0;
|
|
95
|
-
const interactive = deps.outputIsTTY === true && !machine;
|
|
96
|
-
deps.diagnostic(`${renderError(object, { cli: "zm", interactive, ...record ? { record } : {} })}
|
|
97
|
-
`);
|
|
98
|
-
return exitCodeOfError(object);
|
|
99
|
-
}, "reportFailure");
|
|
100
|
-
export {
|
|
101
|
-
hostFailureContext,
|
|
102
|
-
reportFailure
|
|
103
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
errorCodes
|
|
5
|
-
} from "./chunk-WZ5XK74U.js";
|
|
6
|
-
import {
|
|
7
|
-
__name
|
|
8
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
9
|
-
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
11
|
-
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
12
|
-
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
13
|
-
const { code, exitCode } = value ?? {};
|
|
14
|
-
return value instanceof Error && typeof code === "string" && code.startsWith("commander.") && typeof exitCode === "number";
|
|
15
|
-
}, "isCommanderFailure");
|
|
16
|
-
var failureKey = /* @__PURE__ */ __name((error) => isCliFailure(error) ? error.code : error instanceof Error ? error.name : "error", "failureKey");
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
isCliFailure,
|
|
20
|
-
isCommanderFailure,
|
|
21
|
-
failureKey
|
|
22
|
-
};
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
array,
|
|
5
|
-
boolean,
|
|
6
|
-
integer,
|
|
7
|
-
isoTime,
|
|
8
|
-
isoTimestamp,
|
|
9
|
-
minLength,
|
|
10
|
-
minValue,
|
|
11
|
-
nullable,
|
|
12
|
-
number,
|
|
13
|
-
optional,
|
|
14
|
-
picklist,
|
|
15
|
-
pipe,
|
|
16
|
-
record,
|
|
17
|
-
reference,
|
|
18
|
-
strictObject,
|
|
19
|
-
string,
|
|
20
|
-
unknown
|
|
21
|
-
} from "./chunk-NTZDM5SJ.js";
|
|
22
|
-
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
24
|
-
var text = string();
|
|
25
|
-
var id = pipe(string(), minLength(1));
|
|
26
|
-
var time = isoTime;
|
|
27
|
-
var zonedTime = pipe(string(), isoTimestamp("an ISO 8601 time with a zone"));
|
|
28
|
-
var count = pipe(number(), integer(), minValue(0));
|
|
29
|
-
var untrusted = optional(array(text));
|
|
30
|
-
var providerMetadata = optional(record(string(), unknown()));
|
|
31
|
-
var evidenceSource = strictObject({
|
|
32
|
-
ref: nullable(reference),
|
|
33
|
-
kind: text,
|
|
34
|
-
title: nullable(text),
|
|
35
|
-
sender: nullable(text),
|
|
36
|
-
at: nullable(time),
|
|
37
|
-
excerpt: nullable(text),
|
|
38
|
-
tool: nullable(text),
|
|
39
|
-
missing: boolean()
|
|
40
|
-
});
|
|
41
|
-
var author = strictObject({
|
|
42
|
-
type: picklist(["person", "bot"]),
|
|
43
|
-
id,
|
|
44
|
-
name: nullable(text)
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
48
|
-
var organization = strictObject({
|
|
49
|
-
id,
|
|
50
|
-
ref: reference,
|
|
51
|
-
kind: picklist(["company", "team", "family", "community"]),
|
|
52
|
-
name: text,
|
|
53
|
-
scope: picklist(["personal", "work"]),
|
|
54
|
-
created_at: time
|
|
55
|
-
});
|
|
56
|
-
var project = strictObject({
|
|
57
|
-
id,
|
|
58
|
-
ref: reference,
|
|
59
|
-
key: text,
|
|
60
|
-
name: text,
|
|
61
|
-
kind: picklist(["project", "inbox"]),
|
|
62
|
-
type: picklist(["work", "client", "personal", "oss", "other"]),
|
|
63
|
-
organization_id: nullable(id),
|
|
64
|
-
scope: picklist(["personal", "work"]),
|
|
65
|
-
created_at: time
|
|
66
|
-
});
|
|
67
|
-
var reminder = strictObject({
|
|
68
|
-
id,
|
|
69
|
-
task: text,
|
|
70
|
-
due_at: time,
|
|
71
|
-
timezone: text,
|
|
72
|
-
state: picklist(["pending", "leased", "delivered", "cancelled"]),
|
|
73
|
-
revision: number(),
|
|
74
|
-
receipt: nullable(text)
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
78
|
-
var link = {
|
|
79
|
-
target_text: nullable(text),
|
|
80
|
-
kind: text,
|
|
81
|
-
anchor: nullable(text)
|
|
82
|
-
};
|
|
83
|
-
var note = strictObject({
|
|
84
|
-
ref: reference,
|
|
85
|
-
kind: optional(picklist(["note", "document"])),
|
|
86
|
-
provider: optional(text),
|
|
87
|
-
account: optional(text),
|
|
88
|
-
url: optional(text),
|
|
89
|
-
id,
|
|
90
|
-
source: picklist(["file", "internal"]),
|
|
91
|
-
folder_id: nullable(id),
|
|
92
|
-
path: nullable(text),
|
|
93
|
-
title: nullable(text),
|
|
94
|
-
text,
|
|
95
|
-
/** Raises on every edit; `notes edit --revision` takes it, so an edit made meanwhile is refused, not lost. */
|
|
96
|
-
revision: count,
|
|
97
|
-
/** A file's front matter as parsed, keys as the file writes them; null for a note without it. */
|
|
98
|
-
front_matter: nullable(record(string(), unknown())),
|
|
99
|
-
/** The hash of a file's bytes when last imported; null for a note written here. */
|
|
100
|
-
content_hash: nullable(text),
|
|
101
|
-
/** The file the note was exported to, where that is known; null otherwise. */
|
|
102
|
-
export_path: nullable(text),
|
|
103
|
-
created_at: time,
|
|
104
|
-
/** When the store's copy last changed. */
|
|
105
|
-
updated_at: time,
|
|
106
|
-
deleted_at: optional(nullable(time)),
|
|
107
|
-
tags: optional(array(text)),
|
|
108
|
-
/** The first line holding a word of a search. */
|
|
109
|
-
excerpt: optional(text),
|
|
110
|
-
/** Which halves of a search found it. */
|
|
111
|
-
found_by: optional(array(picklist(["title", "words", "meaning"]))),
|
|
112
|
-
/** What the note links to; `to` is null while the name written matches nothing stored. */
|
|
113
|
-
links: optional(array(strictObject({ to: nullable(reference), ...link }))),
|
|
114
|
-
/** The notes and messages that link to it. */
|
|
115
|
-
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
116
|
-
});
|
|
117
|
-
|
|
118
|
-
export {
|
|
119
|
-
text,
|
|
120
|
-
id,
|
|
121
|
-
time,
|
|
122
|
-
zonedTime,
|
|
123
|
-
count,
|
|
124
|
-
untrusted,
|
|
125
|
-
providerMetadata,
|
|
126
|
-
evidenceSource,
|
|
127
|
-
author,
|
|
128
|
-
organization,
|
|
129
|
-
project,
|
|
130
|
-
reminder,
|
|
131
|
-
note
|
|
132
|
-
};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
BASE_CONSTANTS,
|
|
5
|
-
baseConstantsSchema,
|
|
6
|
-
loadConstants
|
|
7
|
-
} from "./chunk-T6CZWSHF.js";
|
|
8
|
-
import {
|
|
9
|
-
nonEmpty,
|
|
10
|
-
object,
|
|
11
|
-
optional,
|
|
12
|
-
pipe,
|
|
13
|
-
string,
|
|
14
|
-
transform
|
|
15
|
-
} from "./chunk-NTZDM5SJ.js";
|
|
16
|
-
import {
|
|
17
|
-
CliError
|
|
18
|
-
} from "./chunk-WZ5XK74U.js";
|
|
19
|
-
import {
|
|
20
|
-
__name
|
|
21
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
22
|
-
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/constants/obscure.js
|
|
24
|
-
import { createDecipheriv } from "node:crypto";
|
|
25
|
-
var KEY = Buffer.from("d43012779aa2dded3e98092a3dbcf5d8980c564172f5ce0a5fd0574e5f740339", "hex");
|
|
26
|
-
var reveal = /* @__PURE__ */ __name((obscured) => {
|
|
27
|
-
const bytes = Buffer.from(obscured, "base64url");
|
|
28
|
-
const decipher = createDecipheriv("aes-256-ctr", KEY, bytes.subarray(0, 16));
|
|
29
|
-
return Buffer.concat([decipher.update(bytes.subarray(16)), decipher.final()]).toString("utf8");
|
|
30
|
-
}, "reveal");
|
|
31
|
-
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/constants/index.js
|
|
33
|
-
var CORE_CONSTANTS = new URL("../../constants.json", new URL("constants/index.js", import.meta.resolve("@wirecat/cli-core")).href);
|
|
34
|
-
var constantsSchema = object({
|
|
35
|
-
...baseConstantsSchema.entries,
|
|
36
|
-
google: object({
|
|
37
|
-
app: object({
|
|
38
|
-
client_id: pipe(string(), nonEmpty(), transform(reveal)),
|
|
39
|
-
client_secret: optional(pipe(string(), transform(reveal)))
|
|
40
|
-
})
|
|
41
|
-
}),
|
|
42
|
-
microsoft: object({ app: object({ client_id: pipe(string(), nonEmpty()) }) })
|
|
43
|
-
});
|
|
44
|
-
var loaded = /* @__PURE__ */ new Map();
|
|
45
|
-
var constants = /* @__PURE__ */ __name((toolLayer, schema2) => {
|
|
46
|
-
const key = toolLayer?.href ?? "";
|
|
47
|
-
if (!loaded.has(key)) {
|
|
48
|
-
const layers = toolLayer ? [BASE_CONSTANTS, CORE_CONSTANTS, toolLayer] : [BASE_CONSTANTS, CORE_CONSTANTS];
|
|
49
|
-
loaded.set(key, loadConstants(layers, schema2 ?? constantsSchema));
|
|
50
|
-
}
|
|
51
|
-
return loaded.get(key);
|
|
52
|
-
}, "constants");
|
|
53
|
-
var oauthApp = /* @__PURE__ */ __name((options) => {
|
|
54
|
-
const { env, prefix, provider } = options;
|
|
55
|
-
const name = `${prefix}_${provider.toUpperCase()}_CLIENT`;
|
|
56
|
-
const clientSecret = env[`${name}_SECRET`];
|
|
57
|
-
const own = [
|
|
58
|
-
[options.clientId, "flag"],
|
|
59
|
-
[env[`${name}_ID`], "env"],
|
|
60
|
-
[options.configClientId, "config"]
|
|
61
|
-
];
|
|
62
|
-
const [clientId, source] = own.find(([id]) => id) ?? [];
|
|
63
|
-
if (clientId && source)
|
|
64
|
-
return app({ clientId, ...clientSecret ? { clientSecret } : {} }, source);
|
|
65
|
-
if (clientSecret)
|
|
66
|
-
throw new CliError("configuration_error", `${name}_SECRET is set without a client id; set ${name}_ID too, or unset it to use WireCat's app`, { reason: "sign-in.secret-without-id" });
|
|
67
|
-
const wirecat = options.wirecat;
|
|
68
|
-
if (!wirecat?.client_id)
|
|
69
|
-
return void 0;
|
|
70
|
-
return app({ clientId: wirecat.client_id, ...wirecat.client_secret ? { clientSecret: wirecat.client_secret } : {} }, "constants");
|
|
71
|
-
}, "oauthApp");
|
|
72
|
-
var app = /* @__PURE__ */ __name((client, source) => ({ client: { ...client, source }, source }), "app");
|
|
73
|
-
var oauthClientReport = /* @__PURE__ */ __name((app2, reason) => app2?.source ? { client: app2.source === "constants" ? "wirecat" : "own", source: app2.source } : { client: null, source: null, ...reason ? { reason } : {} }, "oauthClientReport");
|
|
74
|
-
|
|
75
|
-
// dist/zoom-app.js
|
|
76
|
-
var schema = object({
|
|
77
|
-
...constantsSchema.entries,
|
|
78
|
-
zoom: object({ app: object({ client_id: string() }) })
|
|
79
|
-
});
|
|
80
|
-
var ZOOM_CONSTANTS = new URL("../constants.json", new URL("../zoom-app.js", import.meta.url).href);
|
|
81
|
-
var NO_ZOOM_APP = "WireCat has no Zoom app yet; make your own (docs/zoom-app.md) and set zoom.client_id or ZM_ZOOM_CLIENT_ID";
|
|
82
|
-
var SET_ZOOM_APP = "run zm config set zoom.client_id <Public Client ID> first, or set ZM_ZOOM_CLIENT_ID";
|
|
83
|
-
var zoomApp = /* @__PURE__ */ __name((options) => oauthApp({
|
|
84
|
-
provider: "zoom",
|
|
85
|
-
prefix: "ZM",
|
|
86
|
-
env: options.env,
|
|
87
|
-
clientId: options.clientId,
|
|
88
|
-
configClientId: options.configClientId ?? void 0,
|
|
89
|
-
wirecat: constants(ZOOM_CONSTANTS, schema).zoom.app
|
|
90
|
-
}), "zoomApp");
|
|
91
|
-
var zoomClientId = /* @__PURE__ */ __name((config, env) => zoomApp({ env, configClientId: config?.clientId })?.client.clientId, "zoomClientId");
|
|
92
|
-
var zoomClientReport = /* @__PURE__ */ __name((config, env) => oauthClientReport(zoomApp({ env, configClientId: config?.clientId }), NO_ZOOM_APP), "zoomClientReport");
|
|
93
|
-
|
|
94
|
-
export {
|
|
95
|
-
ZOOM_CONSTANTS,
|
|
96
|
-
NO_ZOOM_APP,
|
|
97
|
-
SET_ZOOM_APP,
|
|
98
|
-
zoomApp,
|
|
99
|
-
zoomClientId,
|
|
100
|
-
zoomClientReport
|
|
101
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
VERSION
|
|
5
|
-
} from "./chunk-SXFODCYK.js";
|
|
6
|
-
|
|
7
|
-
// dist/identity.js
|
|
8
|
-
var ZM = {
|
|
9
|
-
command: "zm",
|
|
10
|
-
appName: "zoom-cli",
|
|
11
|
-
envPrefix: "ZM",
|
|
12
|
-
description: "Zoom meeting transcripts and summaries",
|
|
13
|
-
version: VERSION,
|
|
14
|
-
messenger: false
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export {
|
|
18
|
-
ZM
|
|
19
|
-
};
|