@wirecat/zoom-cli 0.67.0 → 0.68.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-R66UM3HM.js} +12 -12
- package/dist/bundle/answer-policy-UCGUO53A.js +104 -0
- package/dist/bundle/{anthropic-FSNASJML.js → anthropic-4ZI2BPLG.js} +7 -7
- package/dist/bundle/{app-server-EVSRYJ3H.js → app-server-64O5IQI5.js} +61 -58
- package/dist/bundle/{bun-DACL5SVO.js → bun-HUHQD76Z.js} +2 -2
- package/dist/bundle/{bun-sqlite-HQ2KOXSI.js → bun-sqlite-VOVHPTIF.js} +6 -6
- package/dist/bundle/{chunk-SMVO5R3T.js → chunk-2OSBCYJT.js} +39 -26
- package/dist/bundle/{chunk-TBRG2DPE.js → chunk-2T6XHWDX.js} +2 -2
- package/dist/bundle/{chunk-6AJDVJVZ.js → chunk-32FPA7P2.js} +2 -2
- package/dist/bundle/{chunk-7LLUUXJB.js → chunk-355PHJYX.js} +1 -1
- package/dist/bundle/{chunk-3GO3KME7.js → chunk-3BRV2YU2.js} +3 -3
- package/dist/bundle/{chunk-I7SOXH64.js → chunk-474WF55M.js} +53 -39
- package/dist/bundle/{chunk-L643D4RJ.js → chunk-4TLPOY22.js} +12 -12
- package/dist/bundle/{chunk-D6OXI2NV.js → chunk-4YFJYSSK.js} +205 -59
- package/dist/bundle/chunk-5JAYUG3X.js +261 -0
- package/dist/bundle/{chunk-VNIBTNV4.js → chunk-65T3PU75.js} +2 -2
- package/dist/bundle/{chunk-6TZF2JP7.js → chunk-6CJ7NHIP.js} +13 -13
- package/dist/bundle/{chunk-MWEOVTIF.js → chunk-6T3P226D.js} +4 -4
- package/dist/bundle/{chunk-EPDRF66S.js → chunk-6TJ62LZQ.js} +22 -14
- package/dist/bundle/{chunk-ZRMZBMOF.js → chunk-6XO7RTJY.js} +66 -6
- package/dist/bundle/{chunk-VFIEYRYD.js → chunk-77I67HWF.js} +8 -8
- package/dist/bundle/{chunk-QX2MAT6I.js → chunk-77KFLU5F.js} +3 -3
- package/dist/bundle/{chunk-4GCKDO2H.js → chunk-7AUP2WT3.js} +3 -3
- package/dist/bundle/{chunk-7VU5UGRR.js → chunk-7DUYFITC.js} +16 -16
- package/dist/bundle/{chunk-ASCHAVNW.js → chunk-7QNJICKZ.js} +27 -27
- package/dist/bundle/{chunk-KWRSC6O6.js → chunk-A63ZFOQJ.js} +18 -4
- package/dist/bundle/{chunk-SSXCOUP3.js → chunk-AJ7CMUGD.js} +464 -220
- package/dist/bundle/{chunk-SCFFCIIP.js → chunk-AVEIQMHZ.js} +2 -2
- package/dist/bundle/chunk-AYEVBAGO.js +178 -0
- 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-BSM43OMN.js +31 -0
- package/dist/bundle/{chunk-QEI55M2F.js → chunk-DGNPJGD3.js} +16 -10
- package/dist/bundle/{chunk-SOZVC3SV.js → chunk-DVA6MQWK.js} +1 -1
- package/dist/bundle/{chunk-YRNZT4GQ.js → chunk-DWSUSWAX.js} +98 -13
- package/dist/bundle/{chunk-LFQ73UFK.js → chunk-EH5QGQFR.js} +3 -3
- package/dist/bundle/{chunk-OZEYFJX2.js → chunk-EJDV5IIF.js} +1 -1
- package/dist/bundle/{chunk-VQTAU4DV.js → chunk-EWIBLDQQ.js} +8 -8
- package/dist/bundle/{chunk-4ZR5DJ26.js → chunk-EZRPSZJS.js} +3 -3
- 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-GP4NSYDU.js → chunk-FMQS7HCC.js} +12 -12
- package/dist/bundle/{chunk-B5Z4XPVS.js → chunk-FNQASORM.js} +2 -2
- package/dist/bundle/{chunk-FWU3ZYHE.js → chunk-GOXDBCDM.js} +728 -130
- package/dist/bundle/{chunk-CLEZE65P.js → chunk-HXOAPH47.js} +1 -1
- package/dist/bundle/{chunk-7K5TDTZY.js → chunk-JO4YADNV.js} +7 -7
- package/dist/bundle/{chunk-4U2555EQ.js → chunk-JRCYFCPL.js} +30 -28
- package/dist/bundle/{chunk-L6CAUVMU.js → chunk-K67V24AT.js} +5 -5
- 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-LM26DJOK.js → chunk-KUB2U5NT.js} +6 -6
- package/dist/bundle/{chunk-EUPZSR2G.js → chunk-L4WVLRXM.js} +4 -4
- package/dist/bundle/{chunk-BKY4XVB4.js → chunk-LBOSTBAY.js} +1248 -617
- package/dist/bundle/{chunk-C6UKW7JO.js → chunk-LV7QRR5S.js} +6 -6
- package/dist/bundle/{chunk-FGTPREAZ.js → chunk-LYWUG43B.js} +33 -33
- package/dist/bundle/{chunk-NTZDM5SJ.js → chunk-NRRI37NJ.js} +9 -9
- package/dist/bundle/{chunk-J3ZBEWQY.js → chunk-NUJMJQXV.js} +54 -147
- package/dist/bundle/{chunk-6IBM4Z3V.js → chunk-OE7EIP5L.js} +1 -1
- package/dist/bundle/{chunk-ZMPTO2WB.js → chunk-P2TISY3R.js} +1 -1
- package/dist/bundle/{chunk-KV4267S4.js → chunk-P3ASN72F.js} +1 -1
- package/dist/bundle/{chunk-V33VGWT3.js → chunk-PIHBD3YS.js} +16 -6
- package/dist/bundle/{chunk-RYKG6AEH.js → chunk-PUTGTW6W.js} +4 -2
- package/dist/bundle/{chunk-L6WUAGPN.js → chunk-QXTREL2M.js} +3 -3
- package/dist/bundle/{chunk-X67YD3QI.js → chunk-R7LFGEDE.js} +2 -2
- package/dist/bundle/{chunk-2UW533HQ.js → chunk-RGJ7OWHU.js} +4 -4
- package/dist/bundle/{chunk-LKJXTACE.js → chunk-RP3U3J53.js} +7 -7
- package/dist/bundle/{chunk-DG4DWAU7.js → chunk-RRYUD2EF.js} +3 -3
- package/dist/bundle/{chunk-Q65SDEFN.js → chunk-SRP6SFFD.js} +2 -2
- package/dist/bundle/{chunk-4KDZ22RA.js → chunk-SSPSNSC5.js} +1 -1
- package/dist/bundle/{chunk-DFUPETW7.js → chunk-TDGZMC6K.js} +130 -75
- package/dist/bundle/{chunk-EQ7XRRKV.js → chunk-TN3FH2GQ.js} +11 -11
- package/dist/bundle/chunk-TUNQ6NE2.js +64 -0
- package/dist/bundle/{chunk-FXQPK742.js → chunk-TZUKDM72.js} +29 -15
- package/dist/bundle/{chunk-IFDO3YPJ.js → chunk-UDJTRFRV.js} +1 -1
- package/dist/bundle/{chunk-ESFMHBHH.js → chunk-US5C3WAY.js} +60 -51
- package/dist/bundle/{chunk-KANH7GBB.js → chunk-UU5PLDRA.js} +2 -2
- package/dist/bundle/{chunk-OTMGAKUM.js → chunk-VLD7Y4SY.js} +7 -7
- package/dist/bundle/{chunk-YPF6OS37.js → chunk-VW6BF6M7.js} +1 -1
- package/dist/bundle/{chunk-JVCHGI7W.js → chunk-W42BJ65M.js} +1 -1
- package/dist/bundle/{chunk-RAMPYIO2.js → chunk-Y5LP5SHV.js} +11 -11
- package/dist/bundle/{chunk-WHQ4ZCJI.js → chunk-YJY3W2ZT.js} +210 -85
- package/dist/bundle/{chunk-3ZIHUSMM.js → chunk-YOAEZSDG.js} +2 -2
- package/dist/bundle/{chunk-M43MBWJX.js → chunk-YQRNFG2E.js} +13471 -1289
- package/dist/bundle/{chunk-7HAIM7GV.js → chunk-YTF2WPV4.js} +601 -443
- package/dist/bundle/{chunk-6UFWFKFH.js → chunk-ZRD3NDOX.js} +2 -2
- package/dist/bundle/{cli-YUATSOLA.js → cli-VQJ7ZRYR.js} +89 -61
- package/dist/bundle/command-contract-JPUWWYIV.js +41 -0
- package/dist/bundle/config-YGLLR77A.js +90 -0
- package/dist/bundle/{decode-IL44LNC3.js → decode-L3ENO2XH.js} +6 -6
- package/dist/bundle/{dispatch-3BGIXSJR.js → dispatch-5MGDLOK4.js} +9 -9
- package/dist/bundle/{dist-3W27UQ2S.js → dist-WQLS7U23.js} +47 -27
- package/dist/bundle/{echarts-CO4D26JF.js → echarts-5LLJ6JXC.js} +2 -2
- package/dist/bundle/{embed-XH2X4DFM.js → embed-37MYTCU7.js} +7 -7
- package/dist/bundle/{embedder-WTFWDXBJ.js → embedder-GNGHVJAO.js} +10 -10
- package/dist/bundle/{failure-HTIS3NLS.js → failure-CR64C4XA.js} +3 -3
- package/dist/bundle/{first-run-5RBH7FDO.js → first-run-NR5JKYP3.js} +12 -12
- package/dist/bundle/first-screen-RCR7ATO2.js +39 -0
- package/dist/bundle/{folders-F4DNQPIY.js → folders-VU4IN35Y.js} +5 -5
- package/dist/bundle/{instructions-EPPBL6TT.js → instructions-P72XX4AK.js} +1 -1
- package/dist/bundle/{main-LVQTCDZS.js → main-QYFCYSTW.js} +21 -23
- package/dist/bundle/{mcp-PPVOM4SE.js → mcp-M4QN2E7R.js} +2 -2
- package/dist/bundle/{meetings-BMELXRTR.js → meetings-66UQINKI.js} +13 -7
- package/dist/bundle/{node-CQVMWVIG.js → node-ZB4RNICS.js} +2 -2
- package/dist/bundle/{node-sqlite-QQEX7LZT.js → node-sqlite-XPRKBDF3.js} +7 -7
- package/dist/bundle/{oauth-AYGX7CQS.js → oauth-WJRDUU5J.js} +8 -8
- package/dist/bundle/{open-MIL2TOT6.js → open-S2YSIEOW.js} +6 -6
- package/dist/bundle/openai-CRNZFNZD.js +25 -0
- package/dist/bundle/{output-file-4XADZPYH.js → output-file-6COFGPUL.js} +6 -6
- package/dist/bundle/{process-NJVQK6GB.js → process-XNN4WG6N.js} +1 -1
- package/dist/bundle/{program-WUYRS6H7.js → program-BRPJKRCX.js} +115 -187
- package/dist/bundle/{prompt-J4QPFLEA.js → prompt-7RQOL25I.js} +6 -6
- package/dist/bundle/{recognize-OLJZVNWW.js → recognize-N5WADGQB.js} +5 -5
- package/dist/bundle/{remote-JPUXNYLV.js → remote-WHYV35IF.js} +8 -8
- package/dist/bundle/{rerank-XVV3X5TT.js → rerank-FBMZVWSH.js} +8 -8
- package/dist/bundle/{run-log-DJXBEVS5.js → run-log-TOCHREH2.js} +59 -59
- package/dist/bundle/{serve-NYYUO3MR.js → serve-4BABX4WS.js} +10 -10
- package/dist/bundle/{server-4Z5E4YTT.js → server-CDVI6LOB.js} +47 -47
- package/dist/bundle/server-XOFQKFVO.js +72 -0
- package/dist/bundle/{services-EKWM76HP.js → services-PIY33I7R.js} +43 -33
- package/dist/bundle/{speech-WFJ44ACJ.js → speech-LS5Q4FL2.js} +14 -14
- package/dist/bundle/{state-VIRCT4VW.js → state-YUX5R2R7.js} +7 -7
- package/dist/bundle/{store-ZTDZ6UY5.js → store-BD7HAXAA.js} +20 -18
- package/dist/bundle/{store-2Q4GEZJS.js → store-ERMGBF2B.js} +49 -29
- package/dist/bundle/store-connection-JBR6CMTJ.js +83 -0
- package/dist/bundle/store-maintenance-command-I5DUSO2C.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-XJXZ4ZBX.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-54RTMQL6.js +0 -132
- package/dist/bundle/chunk-6VFORXL3.js +0 -101
- package/dist/bundle/chunk-D4KBD63W.js +0 -19
- package/dist/bundle/chunk-SXFODCYK.js +0 -9
- 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
|
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkCancelled
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-KAPJQGHE.js";
|
|
6
|
+
import "./chunk-B6JMVB6R.js";
|
|
7
|
+
import "./chunk-KNE6VFHZ.js";
|
|
8
|
+
import "./chunk-NRRI37NJ.js";
|
|
9
9
|
import "./chunk-Y5E2WNWB.js";
|
|
10
10
|
import {
|
|
11
11
|
CliError,
|
|
12
12
|
isCliError
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-FEM2JQN2.js";
|
|
14
|
+
import "./chunk-OE7EIP5L.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-ZVVMGPBJ.js";
|
|
7
7
|
|
|
8
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/embeddings/process.js
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
validateTaskKind,
|
|
22
22
|
validateTaskProposal,
|
|
23
23
|
validateUnifiedSearch
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-7QNJICKZ.js";
|
|
25
25
|
import {
|
|
26
26
|
emitReceipt
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7AUP2WT3.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_PERMISSIONS,
|
|
30
30
|
ZOOM_ANSWER_ENTITIES,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
unsetConfig,
|
|
53
53
|
wholeList,
|
|
54
54
|
zoomRunsCommand
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-TZUKDM72.js";
|
|
56
56
|
import {
|
|
57
57
|
MEMO_SCENARIOS,
|
|
58
58
|
SEARCHES_QUERY,
|
|
@@ -77,21 +77,26 @@ import {
|
|
|
77
77
|
signInSteps,
|
|
78
78
|
skillCommand as skillCommand2,
|
|
79
79
|
upgradeCommand
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import {
|
|
83
|
-
zmPaths
|
|
84
|
-
} from "./chunk-KIJLM5UL.js";
|
|
80
|
+
} from "./chunk-LBOSTBAY.js";
|
|
81
|
+
import "./chunk-Y5LP5SHV.js";
|
|
85
82
|
import {
|
|
83
|
+
CLIENT_ID_NEED,
|
|
86
84
|
SET_ZOOM_APP,
|
|
85
|
+
checkedClientId,
|
|
86
|
+
login,
|
|
87
87
|
zoomApp,
|
|
88
|
+
zoomAppChecklist,
|
|
89
|
+
zoomAppSetup,
|
|
88
90
|
zoomClientId,
|
|
89
91
|
zoomClientReport
|
|
90
|
-
} from "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
+
} from "./chunk-5JAYUG3X.js";
|
|
93
|
+
import "./chunk-W42BJ65M.js";
|
|
94
|
+
import {
|
|
95
|
+
zmPaths
|
|
96
|
+
} from "./chunk-FBLUKCIR.js";
|
|
92
97
|
import {
|
|
93
98
|
TokenManager
|
|
94
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-BL36NSV5.js";
|
|
95
100
|
import {
|
|
96
101
|
ZoneAssumptions,
|
|
97
102
|
cancellableStore,
|
|
@@ -102,34 +107,34 @@ import {
|
|
|
102
107
|
withIssue,
|
|
103
108
|
zoomInstant,
|
|
104
109
|
zoomTime
|
|
105
|
-
} from "./chunk-
|
|
106
|
-
import "./chunk-
|
|
107
|
-
import "./chunk-
|
|
108
|
-
import "./chunk-
|
|
110
|
+
} from "./chunk-KAPJQGHE.js";
|
|
111
|
+
import "./chunk-PIHBD3YS.js";
|
|
112
|
+
import "./chunk-355PHJYX.js";
|
|
113
|
+
import "./chunk-QXTREL2M.js";
|
|
109
114
|
import {
|
|
110
115
|
providerWaitMs,
|
|
111
116
|
readJsonResponse,
|
|
112
117
|
retryableStatus,
|
|
113
118
|
statusToCode
|
|
114
|
-
} from "./chunk-
|
|
115
|
-
import "./chunk-
|
|
116
|
-
import "./chunk-
|
|
117
|
-
import "./chunk-
|
|
118
|
-
import "./chunk-
|
|
119
|
-
import "./chunk-
|
|
119
|
+
} from "./chunk-TN3FH2GQ.js";
|
|
120
|
+
import "./chunk-77KFLU5F.js";
|
|
121
|
+
import "./chunk-A63ZFOQJ.js";
|
|
122
|
+
import "./chunk-4TLPOY22.js";
|
|
123
|
+
import "./chunk-DGNPJGD3.js";
|
|
124
|
+
import "./chunk-SSPSNSC5.js";
|
|
120
125
|
import {
|
|
121
126
|
allAnswer
|
|
122
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-474WF55M.js";
|
|
123
128
|
import {
|
|
124
129
|
skillCommand
|
|
125
|
-
} from "./chunk-
|
|
126
|
-
import "./chunk-
|
|
127
|
-
import "./chunk-
|
|
128
|
-
import "./chunk-
|
|
129
|
-
import "./chunk-
|
|
130
|
+
} from "./chunk-7DUYFITC.js";
|
|
131
|
+
import "./chunk-6XO7RTJY.js";
|
|
132
|
+
import "./chunk-6T3P226D.js";
|
|
133
|
+
import "./chunk-GOXDBCDM.js";
|
|
134
|
+
import "./chunk-FNQASORM.js";
|
|
130
135
|
import {
|
|
131
136
|
commandPermissions
|
|
132
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-US5C3WAY.js";
|
|
133
138
|
import {
|
|
134
139
|
addMeetingCommands,
|
|
135
140
|
addMeetingPassageCommand,
|
|
@@ -141,34 +146,34 @@ import {
|
|
|
141
146
|
typedQuery,
|
|
142
147
|
unfilteredQuery,
|
|
143
148
|
withQuery
|
|
144
|
-
} from "./chunk-
|
|
145
|
-
import "./chunk-
|
|
149
|
+
} from "./chunk-2OSBCYJT.js";
|
|
150
|
+
import "./chunk-EH5QGQFR.js";
|
|
146
151
|
import {
|
|
147
152
|
NativeRecordingPartialStore,
|
|
148
153
|
NativeRecordingPublication,
|
|
149
154
|
dateWindow,
|
|
150
155
|
savedSearchItem,
|
|
151
156
|
validateMeetingPreparationRequest
|
|
152
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-YTF2WPV4.js";
|
|
153
158
|
import {
|
|
154
159
|
nativeWriterLeaseStore,
|
|
155
160
|
openOrdinaryFile,
|
|
156
161
|
syncDirectory,
|
|
157
162
|
writeFileAtomic
|
|
158
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-6CJ7NHIP.js";
|
|
159
164
|
import {
|
|
160
165
|
latestVersion,
|
|
161
166
|
runUpdate,
|
|
162
167
|
updateNotice
|
|
163
|
-
} from "./chunk-
|
|
164
|
-
import "./chunk-
|
|
165
|
-
import "./chunk-
|
|
166
|
-
import "./chunk-
|
|
168
|
+
} from "./chunk-BOAMDYLY.js";
|
|
169
|
+
import "./chunk-VW6BF6M7.js";
|
|
170
|
+
import "./chunk-FMQS7HCC.js";
|
|
171
|
+
import "./chunk-4YFJYSSK.js";
|
|
167
172
|
import {
|
|
168
173
|
inSection
|
|
169
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-EWIBLDQQ.js";
|
|
170
175
|
import "./chunk-HTQTIKWP.js";
|
|
171
|
-
import "./chunk-
|
|
176
|
+
import "./chunk-K67V24AT.js";
|
|
172
177
|
import {
|
|
173
178
|
Argument,
|
|
174
179
|
CommanderError,
|
|
@@ -195,58 +200,59 @@ import {
|
|
|
195
200
|
progressOf,
|
|
196
201
|
readCheckpoint,
|
|
197
202
|
refuseCommandName,
|
|
203
|
+
runBudgetOf,
|
|
198
204
|
saveCheckpoint,
|
|
199
205
|
settingRows,
|
|
200
|
-
snakeKeys
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
import "./chunk-
|
|
204
|
-
import "./chunk-
|
|
205
|
-
import "./chunk-
|
|
206
|
-
import "./chunk-
|
|
206
|
+
snakeKeys,
|
|
207
|
+
writesNewFileOnlyWith
|
|
208
|
+
} from "./chunk-AJ7CMUGD.js";
|
|
209
|
+
import "./chunk-AVEIQMHZ.js";
|
|
210
|
+
import "./chunk-RP3U3J53.js";
|
|
211
|
+
import "./chunk-L4WVLRXM.js";
|
|
212
|
+
import "./chunk-JO4YADNV.js";
|
|
213
|
+
import "./chunk-DVA6MQWK.js";
|
|
207
214
|
import {
|
|
208
215
|
currentAttempt,
|
|
209
216
|
withAttempt
|
|
210
|
-
} from "./chunk-
|
|
211
|
-
import "./chunk-
|
|
217
|
+
} from "./chunk-JRCYFCPL.js";
|
|
218
|
+
import "./chunk-YOAEZSDG.js";
|
|
212
219
|
import {
|
|
213
220
|
COMMAND_PATH_KEY,
|
|
214
221
|
assertOverridesTighten,
|
|
215
222
|
permissionOverrides
|
|
216
|
-
} from "./chunk-
|
|
217
|
-
import "./chunk-
|
|
218
|
-
import "./chunk-
|
|
219
|
-
import "./chunk-
|
|
223
|
+
} from "./chunk-65T3PU75.js";
|
|
224
|
+
import "./chunk-TUNQ6NE2.js";
|
|
225
|
+
import "./chunk-YQRNFG2E.js";
|
|
226
|
+
import "./chunk-77I67HWF.js";
|
|
220
227
|
import {
|
|
221
228
|
formatReference,
|
|
222
229
|
isFolderProvider
|
|
223
|
-
} from "./chunk-
|
|
224
|
-
import "./chunk-
|
|
225
|
-
import "./chunk-
|
|
226
|
-
import "./chunk-
|
|
227
|
-
import "./chunk-
|
|
228
|
-
import "./chunk-
|
|
229
|
-
import "./chunk-
|
|
230
|
-
import "./chunk-
|
|
231
|
-
import "./chunk-
|
|
232
|
-
import "./chunk-
|
|
233
|
-
import "./chunk-
|
|
230
|
+
} from "./chunk-NUJMJQXV.js";
|
|
231
|
+
import "./chunk-DWSUSWAX.js";
|
|
232
|
+
import "./chunk-VLD7Y4SY.js";
|
|
233
|
+
import "./chunk-AYEVBAGO.js";
|
|
234
|
+
import "./chunk-EJDV5IIF.js";
|
|
235
|
+
import "./chunk-RRYUD2EF.js";
|
|
236
|
+
import "./chunk-2T6XHWDX.js";
|
|
237
|
+
import "./chunk-EZRPSZJS.js";
|
|
238
|
+
import "./chunk-ZRD3NDOX.js";
|
|
239
|
+
import "./chunk-3BRV2YU2.js";
|
|
240
|
+
import "./chunk-KUB2U5NT.js";
|
|
234
241
|
import {
|
|
235
242
|
speechModel
|
|
236
|
-
} from "./chunk-
|
|
237
|
-
import "./chunk-
|
|
243
|
+
} from "./chunk-6TJ62LZQ.js";
|
|
244
|
+
import "./chunk-32FPA7P2.js";
|
|
238
245
|
import {
|
|
246
|
+
CLIENT_ID_MISSING,
|
|
247
|
+
VERSION,
|
|
239
248
|
ZM
|
|
240
|
-
} from "./chunk-
|
|
241
|
-
import {
|
|
242
|
-
VERSION
|
|
243
|
-
} from "./chunk-SXFODCYK.js";
|
|
249
|
+
} from "./chunk-BSM43OMN.js";
|
|
244
250
|
import {
|
|
245
251
|
installerOf
|
|
246
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-P3ASN72F.js";
|
|
247
253
|
import "./chunk-D72URWJE.js";
|
|
248
|
-
import "./chunk-
|
|
249
|
-
import "./chunk-
|
|
254
|
+
import "./chunk-LV7QRR5S.js";
|
|
255
|
+
import "./chunk-PUTGTW6W.js";
|
|
250
256
|
import {
|
|
251
257
|
MEETING_COUNTS_GROUPINGS,
|
|
252
258
|
RecordingSyncError,
|
|
@@ -276,14 +282,14 @@ import {
|
|
|
276
282
|
validateMeetingChange,
|
|
277
283
|
validateMeetingContextChange,
|
|
278
284
|
watchMeetingIngestion
|
|
279
|
-
} from "./chunk-
|
|
285
|
+
} from "./chunk-TDGZMC6K.js";
|
|
280
286
|
import {
|
|
281
287
|
dateRange,
|
|
282
288
|
defineQuery,
|
|
283
289
|
queryFieldsOf,
|
|
284
290
|
timezoneOf
|
|
285
|
-
} from "./chunk-
|
|
286
|
-
import "./chunk-
|
|
291
|
+
} from "./chunk-B6JMVB6R.js";
|
|
292
|
+
import "./chunk-VOXIGICJ.js";
|
|
287
293
|
import {
|
|
288
294
|
createDeadline,
|
|
289
295
|
createOutputBuffer,
|
|
@@ -291,7 +297,7 @@ import {
|
|
|
291
297
|
fieldsOf,
|
|
292
298
|
projectFields,
|
|
293
299
|
realSleep
|
|
294
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-KNE6VFHZ.js";
|
|
295
301
|
import {
|
|
296
302
|
array,
|
|
297
303
|
boolean,
|
|
@@ -304,14 +310,14 @@ import {
|
|
|
304
310
|
safeParse,
|
|
305
311
|
string,
|
|
306
312
|
transform
|
|
307
|
-
} from "./chunk-
|
|
313
|
+
} from "./chunk-NRRI37NJ.js";
|
|
308
314
|
import "./chunk-Y5E2WNWB.js";
|
|
309
315
|
import {
|
|
310
316
|
CliError,
|
|
311
317
|
isCliError
|
|
312
|
-
} from "./chunk-
|
|
313
|
-
import "./chunk-
|
|
314
|
-
import "./chunk-
|
|
318
|
+
} from "./chunk-FEM2JQN2.js";
|
|
319
|
+
import "./chunk-OE7EIP5L.js";
|
|
320
|
+
import "./chunk-P2TISY3R.js";
|
|
315
321
|
import {
|
|
316
322
|
__name
|
|
317
323
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -857,7 +863,7 @@ var acquireArchiveWriter = /* @__PURE__ */ __name((destination, signal) => opera
|
|
|
857
863
|
}, signal), "acquireArchiveWriter");
|
|
858
864
|
|
|
859
865
|
// dist/remote-http.js
|
|
860
|
-
import { setTimeout
|
|
866
|
+
import { setTimeout } from "node:timers/promises";
|
|
861
867
|
var operationSignal = /* @__PURE__ */ __name((signal) => signal ?? AbortSignal.timeout(36e5), "operationSignal");
|
|
862
868
|
var downloadTarget = /* @__PURE__ */ __name((input, what, base) => {
|
|
863
869
|
let target;
|
|
@@ -892,7 +898,7 @@ var ZoomRemote = class {
|
|
|
892
898
|
return null;
|
|
893
899
|
checkCancelled(signal);
|
|
894
900
|
const waited = Math.max(0, delay);
|
|
895
|
-
await (this.options.sleep ?? ((ms, abort) =>
|
|
901
|
+
await (this.options.sleep ?? ((ms, abort) => setTimeout(ms, void 0, { signal: abort })))(waited, signal);
|
|
896
902
|
return waited;
|
|
897
903
|
}
|
|
898
904
|
async get(target, accessToken, signal, retry = true) {
|
|
@@ -1739,7 +1745,7 @@ var searchArchiveTranscripts = /* @__PURE__ */ __name(async (destination, query,
|
|
|
1739
1745
|
return { items: matches, page: 1, limit, hasMore: false };
|
|
1740
1746
|
}, "searchArchiveTranscripts");
|
|
1741
1747
|
|
|
1742
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1748
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
|
|
1743
1749
|
var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
|
|
1744
1750
|
var INTEGER = /^-?\d+$/;
|
|
1745
1751
|
var INT64_MIN = -(2n ** 63n);
|
|
@@ -3731,100 +3737,6 @@ var observedFetch = /* @__PURE__ */ __name((fetcher, sink) => async (input, init
|
|
|
3731
3737
|
}
|
|
3732
3738
|
}, "observedFetch");
|
|
3733
3739
|
|
|
3734
|
-
// dist/login.js
|
|
3735
|
-
import { createHash as createHash5, randomBytes } from "node:crypto";
|
|
3736
|
-
import { createServer } from "node:http";
|
|
3737
|
-
var REDIRECT = "https://wirecat.dev/zoom-callback";
|
|
3738
|
-
var login = /* @__PURE__ */ __name(async (options) => {
|
|
3739
|
-
checkCancelled(options.signal);
|
|
3740
|
-
const verifier = randomBytes(48).toString("base64url");
|
|
3741
|
-
const challenge = createHash5("sha256").update(verifier).digest("base64url");
|
|
3742
|
-
const controller = new AbortController();
|
|
3743
|
-
let state = "";
|
|
3744
|
-
let accept = /* @__PURE__ */ __name(() => {
|
|
3745
|
-
}, "accept");
|
|
3746
|
-
let fail = /* @__PURE__ */ __name(() => {
|
|
3747
|
-
}, "fail");
|
|
3748
|
-
const codePromise = new Promise((resolve3, reject) => {
|
|
3749
|
-
accept = resolve3;
|
|
3750
|
-
fail = reject;
|
|
3751
|
-
});
|
|
3752
|
-
const onAbort = /* @__PURE__ */ __name(() => {
|
|
3753
|
-
try {
|
|
3754
|
-
checkCancelled(options.signal);
|
|
3755
|
-
} catch (error) {
|
|
3756
|
-
fail(error instanceof Error ? error : new CliError("cancelled", "command cancelled"));
|
|
3757
|
-
}
|
|
3758
|
-
}, "onAbort");
|
|
3759
|
-
options.signal?.addEventListener("abort", onAbort, { once: true });
|
|
3760
|
-
void codePromise.catch(() => {
|
|
3761
|
-
});
|
|
3762
|
-
const server = createServer((request, response) => {
|
|
3763
|
-
const query = new URL(request.url ?? "/", "http://127.0.0.1");
|
|
3764
|
-
if (query.pathname !== "/callback") {
|
|
3765
|
-
response.writeHead(404).end();
|
|
3766
|
-
return;
|
|
3767
|
-
}
|
|
3768
|
-
if (query.searchParams.get("state") !== state) {
|
|
3769
|
-
response.writeHead(400).end("state does not match");
|
|
3770
|
-
return;
|
|
3771
|
-
}
|
|
3772
|
-
const code2 = query.searchParams.get("code");
|
|
3773
|
-
response.end("zm: received, you can close this tab");
|
|
3774
|
-
if (code2)
|
|
3775
|
-
accept(code2);
|
|
3776
|
-
else
|
|
3777
|
-
fail(new CliError("authentication_error", "Zoom login was not approved"));
|
|
3778
|
-
});
|
|
3779
|
-
const timer = setTimeout(() => fail(new CliError("authentication_error", "Zoom login timed out")), options.timeoutMs ?? 3e5);
|
|
3780
|
-
try {
|
|
3781
|
-
await new Promise((resolve3, reject) => {
|
|
3782
|
-
server.once("error", reject);
|
|
3783
|
-
server.listen(0, "127.0.0.1", resolve3);
|
|
3784
|
-
});
|
|
3785
|
-
const address = server.address();
|
|
3786
|
-
if (!address || typeof address === "string")
|
|
3787
|
-
throw new CliError("configuration_error", "could not start the local login listener");
|
|
3788
|
-
state = `${address.port}.${randomBytes(24).toString("base64url")}`;
|
|
3789
|
-
const authorize = new URL("https://zoom.us/oauth/authorize");
|
|
3790
|
-
authorize.search = new URLSearchParams({
|
|
3791
|
-
response_type: "code",
|
|
3792
|
-
client_id: options.tokens.options.clientId,
|
|
3793
|
-
redirect_uri: REDIRECT,
|
|
3794
|
-
code_challenge: challenge,
|
|
3795
|
-
code_challenge_method: "S256",
|
|
3796
|
-
state
|
|
3797
|
-
}).toString();
|
|
3798
|
-
checkCancelled(options.signal);
|
|
3799
|
-
options.showUrl?.(authorize.toString());
|
|
3800
|
-
const pastePromise = options.readPaste?.(controller.signal).then((text2) => {
|
|
3801
|
-
const query = new URLSearchParams(text2.includes("?") ? text2.slice(text2.indexOf("?") + 1) : text2);
|
|
3802
|
-
if (query.get("state") !== state || !query.get("code"))
|
|
3803
|
-
throw new CliError("authentication_error", "pasted login must contain the matching code and state");
|
|
3804
|
-
return query.get("code") ?? "";
|
|
3805
|
-
});
|
|
3806
|
-
void Promise.resolve().then(() => options.openBrowser(authorize.toString())).catch(() => {
|
|
3807
|
-
if (!options.readPaste)
|
|
3808
|
-
fail(new CliError("configuration_error", "could not open the browser; retry with --browser <program>"));
|
|
3809
|
-
});
|
|
3810
|
-
const code2 = await (pastePromise ? Promise.race([codePromise, pastePromise]) : codePromise);
|
|
3811
|
-
controller.abort();
|
|
3812
|
-
const tokens = await options.tokens.exchange({
|
|
3813
|
-
grant_type: "authorization_code",
|
|
3814
|
-
code: code2,
|
|
3815
|
-
redirect_uri: REDIRECT,
|
|
3816
|
-
code_verifier: verifier
|
|
3817
|
-
});
|
|
3818
|
-
return { loggedIn: true, scopes: tokens.scopes, credentialStorage: options.tokens.storageOf() };
|
|
3819
|
-
} finally {
|
|
3820
|
-
options.signal?.removeEventListener("abort", onAbort);
|
|
3821
|
-
clearTimeout(timer);
|
|
3822
|
-
controller.abort();
|
|
3823
|
-
server.close();
|
|
3824
|
-
server.closeAllConnections();
|
|
3825
|
-
}
|
|
3826
|
-
}, "login");
|
|
3827
|
-
|
|
3828
3740
|
// dist/models-commands.js
|
|
3829
3741
|
var addModelsCommands = /* @__PURE__ */ __name((program, deps) => {
|
|
3830
3742
|
program.addCommand(modelCatalogueCommand({ command: "zm", appName: "zoom-cli", envPrefix: "ZM", description: "Zoom meetings", version: "" }, {
|
|
@@ -3839,7 +3751,7 @@ var addModelsCommands = /* @__PURE__ */ __name((program, deps) => {
|
|
|
3839
3751
|
// dist/upgrade.js
|
|
3840
3752
|
import { join as join11 } from "node:path";
|
|
3841
3753
|
|
|
3842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/update/index.js
|
|
3843
3755
|
import { realpathSync } from "node:fs";
|
|
3844
3756
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
3845
3757
|
var QUIET_WORDS = [
|
|
@@ -3957,6 +3869,15 @@ var addConfigCommands = /* @__PURE__ */ __name((program, { configPath, output, w
|
|
|
3957
3869
|
warn(added.length > 0 ? `added ${added.join(", ")} to ${configPath}` : `${configPath} already has every setting`);
|
|
3958
3870
|
});
|
|
3959
3871
|
}, "addConfigCommands");
|
|
3872
|
+
var addAppCommand = /* @__PURE__ */ __name((program, { output, buffer, pretty }) => {
|
|
3873
|
+
annotate(program.command("app"), { effects: NO_EFFECTS, examples: ["zm app", "zm app --json"] }).description("what to enter when you make the Zoom app zm signs in with").action(() => {
|
|
3874
|
+
if (pretty())
|
|
3875
|
+
buffer(`${zoomAppChecklist()}
|
|
3876
|
+
`);
|
|
3877
|
+
else
|
|
3878
|
+
output(itemOf(zoomAppSetup()));
|
|
3879
|
+
});
|
|
3880
|
+
}, "addAppCommand");
|
|
3960
3881
|
var PASTE_PROMPT = "If the browser does not come back by itself, the address it ended on (code=\u2026&state=\u2026)";
|
|
3961
3882
|
var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
|
|
3962
3883
|
const { deps, getConfig, output, buffer, api, profile, tokens, fetch: fetch2, signal } = context;
|
|
@@ -4002,15 +3923,15 @@ var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
|
|
|
4002
3923
|
const config = getConfig();
|
|
4003
3924
|
const selected = profile();
|
|
4004
3925
|
refuseCommandName(selected, commandWords(program), "zm");
|
|
4005
|
-
if (opts.clientId !== void 0
|
|
4006
|
-
|
|
4007
|
-
const
|
|
3926
|
+
if (opts.clientId !== void 0)
|
|
3927
|
+
checkedClientId(opts.clientId);
|
|
3928
|
+
const known = zoomApp({
|
|
4008
3929
|
env: deps.env ?? process.env,
|
|
4009
3930
|
configClientId: config.clientId,
|
|
4010
3931
|
clientId: opts.clientId
|
|
4011
3932
|
})?.client.clientId;
|
|
4012
|
-
if (!
|
|
4013
|
-
throw new CliError("configuration_error", SET_ZOOM_APP);
|
|
3933
|
+
if (!known && opts.answerStdin !== true)
|
|
3934
|
+
throw new CliError("configuration_error", SET_ZOOM_APP, { reason: CLIENT_ID_MISSING });
|
|
4014
3935
|
const globals = program.opts();
|
|
4015
3936
|
if (globals.offline)
|
|
4016
3937
|
throw new CliError("configuration_error", "login requires network access; remove --offline");
|
|
@@ -4025,8 +3946,10 @@ var addSessionCommands = /* @__PURE__ */ __name((program, context) => {
|
|
|
4025
3946
|
answers: opts.answerStdin === true,
|
|
4026
3947
|
...deps.stdin ? { input: deps.stdin } : {}
|
|
4027
3948
|
});
|
|
3949
|
+
const clientId = known ?? checkedClientId(await steps.ask(CLIENT_ID_NEED, signal()));
|
|
3950
|
+
const chosen = opts.clientId ?? (known ? void 0 : clientId);
|
|
4028
3951
|
const done = await login({
|
|
4029
|
-
tokens: (
|
|
3952
|
+
tokens: (chosen ? new TokenManager({ ...tokens().options, clientId, account: `${clientId}:${selected}` }) : tokens()).storedIn(storage),
|
|
4030
3953
|
signal: signal(),
|
|
4031
3954
|
openBrowser: /* @__PURE__ */ __name((url) => deps.openBrowser(url, opts.browser), "openBrowser"),
|
|
4032
3955
|
readPaste: steps.answers ? (stop) => steps.ask({ field: "redirect", secret: true, prompt: PASTE_PROMPT }, stop).catch((error) => stop.aborted ? new Promise(() => {
|
|
@@ -4038,8 +3961,8 @@ ${url}
|
|
|
4038
3961
|
`)
|
|
4039
3962
|
), "showUrl")
|
|
4040
3963
|
});
|
|
4041
|
-
if (
|
|
4042
|
-
setConfig(deps.configPath, "zoom.client_id",
|
|
3964
|
+
if (chosen)
|
|
3965
|
+
setConfig(deps.configPath, "zoom.client_id", chosen);
|
|
4043
3966
|
addProfile(deps.configPath, selected);
|
|
4044
3967
|
output(itemOf({ ...done, profile: selected }));
|
|
4045
3968
|
});
|
|
@@ -4047,7 +3970,7 @@ ${url}
|
|
|
4047
3970
|
}, "addSessionCommands");
|
|
4048
3971
|
|
|
4049
3972
|
// dist/archive-import.js
|
|
4050
|
-
import { createHash as
|
|
3973
|
+
import { createHash as createHash5 } from "node:crypto";
|
|
4051
3974
|
var plans = /* @__PURE__ */ new WeakMap();
|
|
4052
3975
|
var preflightArchiveImport = /* @__PURE__ */ __name(async (destination, options = {}) => {
|
|
4053
3976
|
const maximum = options.maxTotalBytes === void 0 ? 64 * 1024 ** 2 : options.maxTotalBytes;
|
|
@@ -4077,7 +4000,7 @@ var preflightArchiveImport = /* @__PURE__ */ __name(async (destination, options
|
|
|
4077
4000
|
};
|
|
4078
4001
|
group.assetIds.push(asset.id);
|
|
4079
4002
|
group.transcripts.push({
|
|
4080
|
-
source: `zoom-archive:vtt:${
|
|
4003
|
+
source: `zoom-archive:vtt:${createHash5("sha256").update(asset.id).digest("hex")}`,
|
|
4081
4004
|
contentHash: asset.sha256,
|
|
4082
4005
|
format: "vtt",
|
|
4083
4006
|
language: transcriptLanguage(cues.map((cue) => cue.text)),
|
|
@@ -5559,6 +5482,7 @@ ${PROFILE_HELP}`);
|
|
|
5559
5482
|
output(wholeList("list", items));
|
|
5560
5483
|
}, "outputItems");
|
|
5561
5484
|
addConfigCommands(program, { configPath: deps.configPath, output, warn: deps.diagnostic, named });
|
|
5485
|
+
addAppCommand(program, { output, buffer, pretty: /* @__PURE__ */ __name(() => formatOf() === "pretty" && !environmentOf(program).agent, "pretty") });
|
|
5562
5486
|
const fetchApi = /* @__PURE__ */ __name(() => fetchWithSignal(deps.fetch), "fetchApi");
|
|
5563
5487
|
const configured2 = configuredMeetingSource({ deps, getConfig, tokens, fetch: fetchApi, zones });
|
|
5564
5488
|
const source = configured2.source;
|
|
@@ -5577,6 +5501,10 @@ ${PROFILE_HELP}`);
|
|
|
5577
5501
|
}, "readFiles"),
|
|
5578
5502
|
now: deps.now,
|
|
5579
5503
|
write: /* @__PURE__ */ __name((value) => output(bodyOf(value)), "write"),
|
|
5504
|
+
// inCommandRun would open a second run beside zm's own commandRuns, so a sync would be kept twice.
|
|
5505
|
+
inRun: /* @__PURE__ */ __name((_command, body) => body(), "inRun"),
|
|
5506
|
+
budgetOf: runBudgetOf,
|
|
5507
|
+
newFileOutput: writesNewFileOnlyWith,
|
|
5580
5508
|
writeFile: deps.writeFile ? async (path, content) => {
|
|
5581
5509
|
checkCancelled(signal());
|
|
5582
5510
|
await deps.writeFile?.(path, content, { signal: signal() });
|
|
@@ -2,13 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
readSecret
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-RRYUD2EF.js";
|
|
6
|
+
import "./chunk-2T6XHWDX.js";
|
|
7
|
+
import "./chunk-KNE6VFHZ.js";
|
|
8
|
+
import "./chunk-NRRI37NJ.js";
|
|
9
9
|
import "./chunk-Y5E2WNWB.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-FEM2JQN2.js";
|
|
11
|
+
import "./chunk-OE7EIP5L.js";
|
|
12
12
|
import "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
export {
|
|
14
14
|
readSecret
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
openRecognizer,
|
|
9
9
|
openSpeechCutter,
|
|
10
10
|
toModelRate
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-A63ZFOQJ.js";
|
|
12
|
+
import "./chunk-KNE6VFHZ.js";
|
|
13
|
+
import "./chunk-NRRI37NJ.js";
|
|
14
14
|
import "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-FEM2JQN2.js";
|
|
16
|
+
import "./chunk-OE7EIP5L.js";
|
|
17
17
|
import "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
export {
|
|
19
19
|
SAMPLE_RATE,
|
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
openRemote,
|
|
9
9
|
remoteKey,
|
|
10
10
|
remoteModel
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-3BRV2YU2.js";
|
|
12
|
+
import "./chunk-KUB2U5NT.js";
|
|
13
|
+
import "./chunk-6TJ62LZQ.js";
|
|
14
|
+
import "./chunk-32FPA7P2.js";
|
|
15
|
+
import "./chunk-KNE6VFHZ.js";
|
|
16
|
+
import "./chunk-NRRI37NJ.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-FEM2JQN2.js";
|
|
19
|
+
import "./chunk-OE7EIP5L.js";
|
|
20
20
|
import "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
export {
|
|
22
22
|
DEFAULT_OPENAI_MODEL,
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
defaultThreads,
|
|
5
5
|
loadModel,
|
|
6
6
|
truncated
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-KUB2U5NT.js";
|
|
8
|
+
import "./chunk-6TJ62LZQ.js";
|
|
9
|
+
import "./chunk-32FPA7P2.js";
|
|
10
|
+
import "./chunk-KNE6VFHZ.js";
|
|
11
|
+
import "./chunk-NRRI37NJ.js";
|
|
12
12
|
import "./chunk-Y5E2WNWB.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-FEM2JQN2.js";
|
|
14
|
+
import "./chunk-OE7EIP5L.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
|
|
20
20
|
var openReranker = /* @__PURE__ */ __name(async (model, directory, { threads = defaultThreads() } = {}) => {
|
|
21
21
|
const { ort, tokenizer, session } = await loadModel(model, directory, threads);
|
|
22
22
|
const typeIds = session.inputNames.includes("token_type_ids");
|