@wirecat/zoom-cli 0.81.0 → 0.82.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/answers.d.ts +56 -0
- package/dist/answers.d.ts.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/agent-F4TRJWWS.js +46 -0
- package/dist/bundle/{all-profiles-3ASMN35R.js → all-profiles-RULEKTDQ.js} +12 -12
- package/dist/bundle/answer-policy-6XC57AEZ.js +131 -0
- package/dist/bundle/{anthropic-XXI53VNI.js → anthropic-4NAQBZFL.js} +6 -6
- package/dist/bundle/{app-server-B7WLNZNQ.js → app-server-VLR42U5L.js} +78 -76
- package/dist/bundle/{bun-2FLR4IV4.js → bun-OPDGMZZQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-3NNHTOGM.js → bun-sqlite-HC6X4AOX.js} +7 -7
- package/dist/bundle/{chunk-JKEMW6E4.js → chunk-274SLQNW.js} +2 -2
- package/dist/bundle/{chunk-IFM4G4MT.js → chunk-2CI2OEZQ.js} +4 -4
- package/dist/bundle/{chunk-4B335BCJ.js → chunk-2DBF2IIC.js} +5 -5
- package/dist/bundle/{chunk-437DLSB3.js → chunk-2GP573Q4.js} +14997 -11784
- package/dist/bundle/{chunk-2Z7UOXFC.js → chunk-2JHVQMVC.js} +1 -1
- package/dist/bundle/{chunk-D7CDHBDX.js → chunk-2SWKQ7C4.js} +1 -1
- package/dist/bundle/{chunk-GCAJW4SR.js → chunk-2XBDILVW.js} +1 -1
- package/dist/bundle/{chunk-XYQVVW4R.js → chunk-3HC5F3P7.js} +1 -1
- package/dist/bundle/{chunk-YUDVRFXN.js → chunk-3YM4B2GT.js} +1 -1
- package/dist/bundle/{chunk-AWJQ6FAX.js → chunk-434YFJAE.js} +2 -2
- package/dist/bundle/{chunk-G3DWMG7Y.js → chunk-4HLQ2JGK.js} +4 -4
- package/dist/bundle/{chunk-F5ZAN7OC.js → chunk-4N7PP76S.js} +1 -1
- package/dist/bundle/{chunk-WKNYNK7W.js → chunk-52Y4ETKU.js} +4 -4
- package/dist/bundle/{chunk-VXD65V67.js → chunk-5HAUK3I4.js} +1546 -2006
- package/dist/bundle/{chunk-2RFWRJFK.js → chunk-5KYQ53EF.js} +13 -9
- package/dist/bundle/{chunk-N62P5FY4.js → chunk-5TU7Y5UW.js} +12 -12
- package/dist/bundle/{chunk-2ELGSNX3.js → chunk-66ALX4ZI.js} +168 -168
- package/dist/bundle/{chunk-SRUAUMBL.js → chunk-676C2LE6.js} +12 -12
- package/dist/bundle/{chunk-N5ROXGY4.js → chunk-6CWL5BKG.js} +21 -21
- package/dist/bundle/{chunk-77TJ3AJH.js → chunk-6QYZP4E2.js} +3 -3
- package/dist/bundle/{chunk-QFK52FG6.js → chunk-6VK332XS.js} +3 -3
- package/dist/bundle/{chunk-BQBC2WIG.js → chunk-73MOMNLL.js} +1 -1
- package/dist/bundle/{chunk-EEBSKMEA.js → chunk-7QPIUMUG.js} +12 -12
- package/dist/bundle/{chunk-RRYHLP3A.js → chunk-7UVDPRFK.js} +6 -6
- package/dist/bundle/{chunk-Y7XJA4EW.js → chunk-A6EZK5RG.js} +4 -4
- package/dist/bundle/{chunk-IBYGNUO7.js → chunk-AC6VJNMJ.js} +1 -1
- package/dist/bundle/{chunk-NX3BLISW.js → chunk-ACI4YIEH.js} +6 -6
- package/dist/bundle/{chunk-YJKXCINQ.js → chunk-AIKFOBDO.js} +254 -60
- package/dist/bundle/{chunk-PS7HQ5LQ.js → chunk-ASBDFXLS.js} +3 -3
- package/dist/bundle/{chunk-MA4UJNUI.js → chunk-B32KZRQM.js} +12 -12
- package/dist/bundle/{chunk-2GNGR265.js → chunk-BBGJQMRI.js} +1 -1
- package/dist/bundle/{chunk-IVZACJ6X.js → chunk-BDKVOU3I.js} +4 -4
- package/dist/bundle/{chunk-4VOCXLMJ.js → chunk-BP4FYANF.js} +6 -6
- package/dist/bundle/{chunk-WHXYPLUE.js → chunk-DCYFT3FR.js} +4 -4
- package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-TI4WJOEX.js → chunk-DSZYABYL.js} +38 -19
- package/dist/bundle/{chunk-ZNAX7GUV.js → chunk-E745WZKY.js} +8 -8
- package/dist/bundle/{chunk-M7OYEMLI.js → chunk-EGTCQKHV.js} +7 -7
- package/dist/bundle/{chunk-GDRFVBCB.js → chunk-EQG3PIH2.js} +2 -2
- package/dist/bundle/{chunk-YRDQ54G5.js → chunk-ESN3W2MZ.js} +24 -11
- package/dist/bundle/{chunk-NS3JWBDR.js → chunk-G46WJ7YO.js} +6 -6
- package/dist/bundle/{chunk-VQTYJ6XH.js → chunk-G6PETRMV.js} +3 -3
- package/dist/bundle/{chunk-QNG27PGH.js → chunk-GBHMT2IU.js} +21 -17
- package/dist/bundle/{chunk-FMMYBVCH.js → chunk-GGMAIIVE.js} +1 -1
- package/dist/bundle/{chunk-ZFRYFDZN.js → chunk-GTKPMYK7.js} +2 -2
- package/dist/bundle/{chunk-B2WBWKYN.js → chunk-GWGHH56B.js} +12 -12
- package/dist/bundle/{chunk-7JWVPJIP.js → chunk-HC6VN5CO.js} +10 -10
- package/dist/bundle/{chunk-F2J2FQUB.js → chunk-HP7A2ZOP.js} +9 -9
- package/dist/bundle/{chunk-GW2A2FJH.js → chunk-HZENBDW2.js} +8 -8
- package/dist/bundle/{chunk-UHMJSSQO.js → chunk-IANKXHSE.js} +1 -1
- package/dist/bundle/{chunk-IDUKCXL7.js → chunk-ICPJT672.js} +13 -9
- package/dist/bundle/{chunk-UUVWAVKN.js → chunk-JQ54DYAQ.js} +3 -3
- package/dist/bundle/{chunk-337ALCXQ.js → chunk-K5JGJIV2.js} +8 -8
- package/dist/bundle/{chunk-V3ZTAAJ6.js → chunk-KJ6USQDZ.js} +8 -8
- package/dist/bundle/{chunk-T2BHIC37.js → chunk-KKFY23AK.js} +65 -65
- package/dist/bundle/{chunk-J5EHZBO5.js → chunk-KQPUVXKX.js} +19 -3
- package/dist/bundle/{chunk-C4BBCSGK.js → chunk-KVJ3I7UL.js} +6 -6
- package/dist/bundle/{chunk-BZXHJKKI.js → chunk-KWU46LNK.js} +2 -2
- package/dist/bundle/chunk-KXJ3JEDH.js +2 -0
- package/dist/bundle/{chunk-R6HP2XKD.js → chunk-L75SMSJR.js} +5 -5
- package/dist/bundle/{chunk-KZ3B6HW5.js → chunk-LAYYO4WD.js} +3 -3
- package/dist/bundle/{chunk-LGESUPKO.js → chunk-LEKKTJKK.js} +40 -26
- package/dist/bundle/{chunk-K7CTCDYX.js → chunk-M7H4MCAX.js} +6 -6
- package/dist/bundle/{chunk-L54I45OX.js → chunk-MAJJ4PG3.js} +13 -13
- package/dist/bundle/{chunk-ZMAPXIGC.js → chunk-MQLPZBMQ.js} +2 -2
- package/dist/bundle/{chunk-HHQROAJQ.js → chunk-N3JLO63O.js} +1 -1
- package/dist/bundle/{chunk-XWKUGAG6.js → chunk-N46F72AF.js} +14 -14
- package/dist/bundle/{chunk-GPRJXJC7.js → chunk-NB7EOAUZ.js} +22 -1
- package/dist/bundle/{chunk-HIFPHARA.js → chunk-NEMX3UNN.js} +4 -4
- package/dist/bundle/{chunk-5EWYDHBH.js → chunk-OBXQLFT5.js} +2 -2
- package/dist/bundle/{chunk-3M436OO2.js → chunk-OGNO35A2.js} +6 -6
- package/dist/bundle/{chunk-VAW7QGJA.js → chunk-OIPYBF43.js} +3 -3
- package/dist/bundle/{chunk-DMJLJVD3.js → chunk-OO4TRVPB.js} +7 -7
- package/dist/bundle/{chunk-RQFRXUI4.js → chunk-OQFQ77AY.js} +198 -112
- package/dist/bundle/{chunk-UPR2S5IE.js → chunk-PMUPN6JW.js} +8 -8
- package/dist/bundle/{chunk-4BU3LRTB.js → chunk-PSKTMMCO.js} +17 -17
- package/dist/bundle/{chunk-YNWBRDBX.js → chunk-PWVJUIDQ.js} +2 -2
- package/dist/bundle/{chunk-LECMHK2F.js → chunk-Q7ICVP25.js} +1 -1
- package/dist/bundle/{chunk-4FSH7K6N.js → chunk-QG6PILDO.js} +2 -2
- package/dist/bundle/{chunk-NM5XMKWO.js → chunk-QPHBK63S.js} +1 -1
- package/dist/bundle/{chunk-MBBR7QHI.js → chunk-QVSL5WJ7.js} +2501 -1062
- package/dist/bundle/{chunk-ZLYICF6A.js → chunk-QVYAV7F2.js} +4 -4
- package/dist/bundle/{chunk-IYNICUCC.js → chunk-R2B6PUVI.js} +4 -4
- package/dist/bundle/{chunk-Q26UFIH4.js → chunk-RQOZBTNI.js} +16 -3
- package/dist/bundle/{chunk-T7QPZYRZ.js → chunk-T7IAWEBU.js} +7 -7
- package/dist/bundle/{chunk-FXZPAGHT.js → chunk-TKNM22OH.js} +2 -2
- package/dist/bundle/{chunk-FXCR4DGU.js → chunk-TKVBFJ5C.js} +1 -1
- 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-35FVYRH5.js → chunk-UKAAAOPC.js} +28 -179
- package/dist/bundle/{chunk-4ZXJ4AZW.js → chunk-UL2PXLKT.js} +26 -26
- package/dist/bundle/{chunk-UMPUY77T.js → chunk-UQCTXZEP.js} +10 -10
- package/dist/bundle/{chunk-L2ERFXB7.js → chunk-UR5DBODY.js} +35 -30
- package/dist/bundle/{chunk-EPASOAEI.js → chunk-V5EJSF2B.js} +230 -165
- package/dist/bundle/{chunk-5SEBLX6B.js → chunk-VB72LTSZ.js} +12 -12
- package/dist/bundle/{chunk-OEQNP56V.js → chunk-VB7FZOYX.js} +1 -1
- package/dist/bundle/{chunk-YISJJNXT.js → chunk-VS6WURLX.js} +3 -3
- package/dist/bundle/{chunk-3UX4VJWD.js → chunk-VZ5PPYDG.js} +3 -4
- package/dist/bundle/{chunk-R4CXFYQN.js → chunk-W5QHB53X.js} +180 -38
- package/dist/bundle/{chunk-D26K6756.js → chunk-WMANRJR5.js} +6 -6
- package/dist/bundle/chunk-WOPVBRPV.js +29 -0
- package/dist/bundle/{chunk-4BXLHSXY.js → chunk-XQ2WL3HB.js} +2 -2
- package/dist/bundle/{chunk-JK24A3RP.js → chunk-XQQVMECZ.js} +3 -3
- package/dist/bundle/{chunk-LVCCZI5A.js → chunk-Y6PVS55U.js} +38 -38
- package/dist/bundle/{chunk-NQGGTO3B.js → chunk-YJXJJ2XP.js} +8 -8
- package/dist/bundle/{chunk-46EF6P2J.js → chunk-YY7XKHDY.js} +10 -3
- package/dist/bundle/{chunk-WIX6BFRF.js → chunk-ZED2CJW5.js} +8 -8
- package/dist/bundle/chunk-ZOYOXWJB.js +746 -0
- package/dist/bundle/{cli-WTGAGSXV.js → cli-U4O5XB7J.js} +118 -116
- package/dist/bundle/command-contract-FBTK6GQX.js +45 -0
- package/dist/bundle/{command-server-entry-47CAYN3E.js → command-server-entry-KKH6ZWJV.js} +35 -35
- package/dist/bundle/config-FRJSIZNN.js +118 -0
- package/dist/bundle/{decode-2G7QS5IQ.js → decode-TPCNXEK4.js} +6 -6
- package/dist/bundle/{dispatch-ZAP3KBVJ.js → dispatch-FKMIPCPQ.js} +9 -9
- package/dist/bundle/{dist-WY6R3WH7.js → dist-7CLBCYZN.js} +23 -21
- package/dist/bundle/{echarts-YRRVLEX3.js → echarts-O3TNDAXJ.js} +2 -2
- package/dist/bundle/{embed-B5H3OW2O.js → embed-WCJSFVSK.js} +7 -7
- package/dist/bundle/{embedder-3O73SP6Y.js → embedder-TBBUPXBX.js} +10 -10
- package/dist/bundle/{failure-EYGW7JMC.js → failure-XTWBYI2A.js} +3 -3
- package/dist/bundle/first-run-ELEMFW42.js +29 -0
- package/dist/bundle/first-screen-DIOBWMKP.js +46 -0
- package/dist/bundle/{folders-4CGFWM6H.js → folders-LXOL4N4S.js} +5 -5
- package/dist/bundle/{instructions-AG7SRWTR.js → instructions-AMH5RWVJ.js} +1 -1
- package/dist/bundle/{main-DOGY6FJP.js → main-YAA7WQ23.js} +24 -24
- package/dist/bundle/{mcp-YGOAUNC3.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-UXCF4SJ3.js +26 -0
- package/dist/bundle/meeting-model-3BZJ3EQP.js +26 -0
- package/dist/bundle/{meeting-semantic-FOEBWV3P.js → meeting-semantic-3HU7I2SJ.js} +8 -8
- package/dist/bundle/{meetings-PVE4C2NF.js → meetings-XWMB6FOH.js} +7 -7
- package/dist/bundle/{node-GJQYN4FT.js → node-EGMCBAO7.js} +2 -2
- package/dist/bundle/{node-sqlite-MLRYKVCQ.js → node-sqlite-IJBWENFX.js} +8 -8
- package/dist/bundle/{oauth-AC55C6SG.js → oauth-SZDDAP7A.js} +8 -8
- package/dist/bundle/{open-3LGTYP6M.js → open-NS3TMKZX.js} +6 -6
- package/dist/bundle/openai-4DN6WI3B.js +28 -0
- package/dist/bundle/{output-file-FXMTTLOI.js → output-file-2UB5JP3R.js} +6 -6
- package/dist/bundle/{process-MEKCZMX3.js → process-SGHEN6MQ.js} +1 -1
- package/dist/bundle/{program-E5BSSIGY.js → program-GVCGZP27.js} +105 -104
- package/dist/bundle/{prompt-AIA6QSZK.js → prompt-HJFMPFVC.js} +6 -6
- package/dist/bundle/public-C2ZB2AGQ.js +198 -0
- package/dist/bundle/{recognize-M57VNTEV.js → recognize-2SEI5PPM.js} +5 -5
- package/dist/bundle/{remote-3OTENZ7Z.js → remote-2DMS74XE.js} +11 -11
- package/dist/bundle/{rerank-P5WHDFDU.js → rerank-H6GCYVIA.js} +8 -8
- package/dist/bundle/run-log-QU26SUZP.js +145 -0
- package/dist/bundle/{serve-BRLC2QVV.js → serve-ODVRPFJO.js} +10 -10
- package/dist/bundle/server-NBPF6IDZ.js +95 -0
- package/dist/bundle/{server-25NF7DMS.js → server-PCLIO24L.js} +70 -68
- package/dist/bundle/{services-MJE43OGD.js → services-4QAPXBLO.js} +60 -56
- package/dist/bundle/{speech-4AVCWTQH.js → speech-MA6ZT3WE.js} +25 -25
- package/dist/bundle/{sqlite-runtime-U4TQXWMC.js → sqlite-runtime-PVMAUXRN.js} +7 -7
- package/dist/bundle/{state-GNUGVMY7.js → state-QFMTYUME.js} +7 -7
- package/dist/bundle/{store-KBFZVQWF.js → store-25OTAQC3.js} +25 -25
- package/dist/bundle/{store-MHVBFUBB.js → store-F724QIKJ.js} +34 -27
- package/dist/bundle/store-connection-OGPXANGB.js +111 -0
- package/dist/bundle/store-maintenance-command-2CM7LLNQ.js +83 -0
- package/dist/bundle/{streaming-6F7AFEHD.js → streaming-S22C4DG5.js} +7 -7
- package/dist/bundle/surface-7PXHWCF6.js +81 -0
- package/dist/bundle/{tokens-BB4MQBLH.js → tokens-NLUHA2DW.js} +11 -11
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-YTGOZ2FS.js → zoom-app-YWFB367P.js} +8 -8
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/agent-VYAJCJLE.js +0 -45
- package/dist/bundle/answer-policy-PTH4F2DW.js +0 -129
- package/dist/bundle/chunk-EWEQ7AXL.js +0 -719
- 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
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
withTimeLimit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QPHBK63S.js";
|
|
6
6
|
import {
|
|
7
7
|
EmptyAnswer,
|
|
8
8
|
checkedOptions,
|
|
@@ -10,25 +10,25 @@ import {
|
|
|
10
10
|
range,
|
|
11
11
|
systemFor,
|
|
12
12
|
validateImages
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NEMX3UNN.js";
|
|
14
14
|
import {
|
|
15
15
|
refuseOffComputer
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HP7A2ZOP.js";
|
|
17
17
|
import {
|
|
18
18
|
envName
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TKNM22OH.js";
|
|
20
20
|
import {
|
|
21
21
|
PLAIN_HTTP_REFUSED,
|
|
22
22
|
endpoint,
|
|
23
23
|
endpointFetch,
|
|
24
24
|
modelAddressAllowed,
|
|
25
25
|
onThisComputer
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6QYZP4E2.js";
|
|
27
27
|
import {
|
|
28
28
|
Credentials,
|
|
29
29
|
pathsAreOverridden,
|
|
30
30
|
resolvePaths
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-6CWL5BKG.js";
|
|
32
32
|
import {
|
|
33
33
|
array,
|
|
34
34
|
integer,
|
|
@@ -39,15 +39,15 @@ import {
|
|
|
39
39
|
strictObject,
|
|
40
40
|
string,
|
|
41
41
|
union
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ESN3W2MZ.js";
|
|
43
43
|
import {
|
|
44
44
|
CliError
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-IANKXHSE.js";
|
|
46
46
|
import {
|
|
47
47
|
__name
|
|
48
48
|
} from "./chunk-ZVVMGPBJ.js";
|
|
49
49
|
|
|
50
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
50
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/models/openai.js
|
|
51
51
|
var options = strictObject({
|
|
52
52
|
temperature: range(0, 2),
|
|
53
53
|
top_p: range(0, 1),
|
|
@@ -114,7 +114,7 @@ var openai = {
|
|
|
114
114
|
}), "complete")
|
|
115
115
|
};
|
|
116
116
|
|
|
117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
117
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/models/index.js
|
|
118
118
|
var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
119
119
|
complete: /* @__PURE__ */ __name(async (request) => {
|
|
120
120
|
if (deps.signal?.aborted)
|
|
@@ -129,7 +129,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
129
129
|
if (!adapter && target.provider === "openai")
|
|
130
130
|
adapter = openai;
|
|
131
131
|
if (!adapter && target.provider === "anthropic")
|
|
132
|
-
adapter = (await import("./anthropic-
|
|
132
|
+
adapter = (await import("./anthropic-4NAQBZFL.js")).anthropic;
|
|
133
133
|
if (!adapter)
|
|
134
134
|
throw new CliError("validation_error", `no model adapter for ${target.provider}`);
|
|
135
135
|
if (request.images !== void 0 && adapter.images !== true)
|
|
@@ -189,7 +189,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
189
189
|
}, "complete")
|
|
190
190
|
}), "modelGateway");
|
|
191
191
|
|
|
192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
192
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
|
|
193
193
|
var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
|
|
194
194
|
const host = new URL(baseUrl).host;
|
|
195
195
|
return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
string,
|
|
20
20
|
text,
|
|
21
21
|
unknown
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ESN3W2MZ.js";
|
|
23
23
|
import {
|
|
24
24
|
CliError,
|
|
25
25
|
isCliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IANKXHSE.js";
|
|
27
27
|
import {
|
|
28
28
|
visibleControls
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BBGJQMRI.js";
|
|
30
30
|
import {
|
|
31
31
|
__commonJS,
|
|
32
32
|
__name,
|
|
@@ -1899,7 +1899,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1899
1899
|
}
|
|
1900
1900
|
});
|
|
1901
1901
|
|
|
1902
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1902
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
|
|
1903
1903
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
1904
1904
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
1905
1905
|
if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
|
|
@@ -1964,7 +1964,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
1964
1964
|
return project(value, fields);
|
|
1965
1965
|
}, "projectFields");
|
|
1966
1966
|
|
|
1967
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1967
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
|
|
1968
1968
|
var BATCH_LIMITS = Object.freeze({
|
|
1969
1969
|
requests: 32,
|
|
1970
1970
|
input_bytes: 262144,
|
|
@@ -2111,7 +2111,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2111
2111
|
};
|
|
2112
2112
|
}, "runBatch");
|
|
2113
2113
|
|
|
2114
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2114
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
|
|
2115
2115
|
import { randomBytes } from "node:crypto";
|
|
2116
2116
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2117
2117
|
import { dirname, join } from "node:path";
|
|
@@ -2155,7 +2155,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2155
2155
|
`, 384);
|
|
2156
2156
|
}, "saveConfigFile");
|
|
2157
2157
|
|
|
2158
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2158
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
|
|
2159
2159
|
import { createRequire } from "node:module";
|
|
2160
2160
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
2161
2161
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -2181,7 +2181,7 @@ var systemKeyring = {
|
|
|
2181
2181
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
2182
2182
|
};
|
|
2183
2183
|
|
|
2184
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2184
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
|
|
2185
2185
|
import { realpathSync } from "node:fs";
|
|
2186
2186
|
import { homedir, userInfo } from "node:os";
|
|
2187
2187
|
import { join as join2, posix, win32 } from "node:path";
|
|
@@ -2255,7 +2255,7 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
2255
2255
|
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
2256
2256
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join2(configDir, fileName), "configFilePath");
|
|
2257
2257
|
|
|
2258
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2258
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2259
2259
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2260
2260
|
import { join as join3, resolve } from "node:path";
|
|
2261
2261
|
var keyringService = /* @__PURE__ */ __name((service, _configDir, _isolated) => service, "keyringService");
|
|
@@ -2402,10 +2402,10 @@ var Credentials = class {
|
|
|
2402
2402
|
}
|
|
2403
2403
|
};
|
|
2404
2404
|
|
|
2405
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2405
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2406
2406
|
import { appendFileSync } from "node:fs";
|
|
2407
2407
|
|
|
2408
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2408
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
|
|
2409
2409
|
var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
2410
2410
|
var logRecordSchema = strictObject({
|
|
2411
2411
|
time: isoTime,
|
|
@@ -2483,7 +2483,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
|
|
|
2483
2483
|
return traceId;
|
|
2484
2484
|
}, "traceIdOf");
|
|
2485
2485
|
|
|
2486
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2486
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2487
2487
|
var REDACTED_FIELDS = [
|
|
2488
2488
|
"authorization",
|
|
2489
2489
|
"Authorization",
|
|
@@ -2577,7 +2577,7 @@ var silent = {
|
|
|
2577
2577
|
}, "error")
|
|
2578
2578
|
};
|
|
2579
2579
|
|
|
2580
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2580
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/output-buffer.js
|
|
2581
2581
|
var createOutputBuffer = /* @__PURE__ */ __name(({ maxOutputBytes = 4 * 1024 * 1024, fields, format } = {}) => {
|
|
2582
2582
|
if (!Number.isSafeInteger(maxOutputBytes) || maxOutputBytes < 0)
|
|
2583
2583
|
throw new CliError("validation_error", "maxOutputBytes must be a nonnegative whole byte count");
|
|
@@ -2638,7 +2638,7 @@ var createOutputBuffer = /* @__PURE__ */ __name(({ maxOutputBytes = 4 * 1024 * 1
|
|
|
2638
2638
|
};
|
|
2639
2639
|
}, "createOutputBuffer");
|
|
2640
2640
|
|
|
2641
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2641
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
|
|
2642
2642
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
2643
2643
|
if (signal?.aborted)
|
|
2644
2644
|
return Promise.reject(signal.reason);
|
|
@@ -2666,7 +2666,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
2666
2666
|
});
|
|
2667
2667
|
}, "waitForDrain");
|
|
2668
2668
|
|
|
2669
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2669
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
|
|
2670
2670
|
var processStreams = {
|
|
2671
2671
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
2672
2672
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -2695,7 +2695,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
2695
2695
|
};
|
|
2696
2696
|
}, "captureStreams");
|
|
2697
2697
|
|
|
2698
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2698
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
|
|
2699
2699
|
var DEFAULT_RETRY = {
|
|
2700
2700
|
retries: 1,
|
|
2701
2701
|
baseDelayMs: 250,
|
|
@@ -2707,7 +2707,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
2707
2707
|
return Math.round(random() * ceiling);
|
|
2708
2708
|
}, "backoffMs");
|
|
2709
2709
|
|
|
2710
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2710
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
|
|
2711
2711
|
import { fileURLToPath } from "node:url";
|
|
2712
2712
|
var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
2713
2713
|
var baseConstantsSchema = object({});
|
|
@@ -2762,7 +2762,7 @@ var loadConstants = /* @__PURE__ */ __name((layers, schema) => {
|
|
|
2762
2762
|
return deepFreeze(result.output);
|
|
2763
2763
|
}, "loadConstants");
|
|
2764
2764
|
|
|
2765
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2765
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
|
|
2766
2766
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2767
2767
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2768
2768
|
if (signal?.aborted) {
|
|
@@ -2777,7 +2777,7 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2777
2777
|
}), "realSleep");
|
|
2778
2778
|
var wallClock = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "wallClock");
|
|
2779
2779
|
|
|
2780
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2780
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/deadline.js
|
|
2781
2781
|
var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSleep } = {}) => {
|
|
2782
2782
|
if (timeoutMs !== void 0 && (!Number.isSafeInteger(timeoutMs) || timeoutMs < 0 || timeoutMs > 2147483647))
|
|
2783
2783
|
throw new CliError("validation_error", "timeoutMs must be an integer from zero through 2147483647");
|
|
@@ -2861,7 +2861,7 @@ var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSl
|
|
|
2861
2861
|
};
|
|
2862
2862
|
}, "createDeadline");
|
|
2863
2863
|
|
|
2864
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2864
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
|
|
2865
2865
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2866
2866
|
import { styleText } from "node:util";
|
|
2867
2867
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2936,7 +2936,7 @@ var BORDERLESS = {
|
|
|
2936
2936
|
middle: ""
|
|
2937
2937
|
};
|
|
2938
2938
|
|
|
2939
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2939
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
|
|
2940
2940
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2941
2941
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2942
2942
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -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-ACI4YIEH.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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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);
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
formatMeetingReference
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KKFY23AK.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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
|
|
14
14
|
var positive = /* @__PURE__ */ __name((value, name, max) => {
|
|
15
15
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
16
16
|
throw new CliError("validation_error", `Invalid ${name}`);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
8
8
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
9
9
|
"authorization",
|
|
10
10
|
"cookie",
|
|
@@ -2,28 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
isCommandServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-N3JLO63O.js";
|
|
6
6
|
import {
|
|
7
7
|
envName,
|
|
8
8
|
readOnlyLockOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TKNM22OH.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureSqlite
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PWVJUIDQ.js";
|
|
13
13
|
import {
|
|
14
14
|
catchCrashes
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ESN3W2MZ.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IANKXHSE.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
24
24
|
import { spawn } from "node:child_process";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
|
|
27
27
|
import { appendFileSync } from "node:fs";
|
|
28
28
|
var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
|
|
29
29
|
const words = [];
|
|
@@ -47,7 +47,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
|
|
|
47
47
|
`);
|
|
48
48
|
}, "logVersion");
|
|
49
49
|
|
|
50
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
50
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
51
51
|
var processIo = /* @__PURE__ */ __name(() => ({
|
|
52
52
|
argv: process.argv,
|
|
53
53
|
env: process.env,
|
|
@@ -67,7 +67,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
67
67
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-V"))
|
|
68
68
|
return printVersion(entry.app, io);
|
|
69
69
|
if (isCommandServer(args)) {
|
|
70
|
-
const { serveEntry } = await import("./command-server-entry-
|
|
70
|
+
const { serveEntry } = await import("./command-server-entry-KKH6ZWJV.js");
|
|
71
71
|
return serveEntry(entry, io, { firstRunAt, commanderExit });
|
|
72
72
|
}
|
|
73
73
|
const tty = io.stdout.isTTY === true;
|
|
@@ -105,7 +105,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
105
105
|
ask: /* @__PURE__ */ __name(async (question, command) => {
|
|
106
106
|
if (headless(command) || io.stdin.isTTY !== true)
|
|
107
107
|
return false;
|
|
108
|
-
const { readSecret } = await import("./prompt-
|
|
108
|
+
const { readSecret } = await import("./prompt-HJFMPFVC.js");
|
|
109
109
|
const answer = await readSecret(`${question} [y/N] `, {
|
|
110
110
|
input: io.stdin,
|
|
111
111
|
output: io.stderr,
|
|
@@ -148,8 +148,8 @@ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command)
|
|
|
148
148
|
if (command.optsWithGlobals().dryRun === true)
|
|
149
149
|
return;
|
|
150
150
|
const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
|
|
151
|
-
import("./first-run-
|
|
152
|
-
import("./command-contract-
|
|
151
|
+
import("./first-run-ELEMFW42.js"),
|
|
152
|
+
import("./command-contract-FBTK6GQX.js")
|
|
153
153
|
]);
|
|
154
154
|
await setupAtStart({
|
|
155
155
|
command: entry.app.command,
|
|
@@ -5,27 +5,27 @@ import {
|
|
|
5
5
|
openRemote,
|
|
6
6
|
remoteKey,
|
|
7
7
|
remoteModel
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HP7A2ZOP.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextModelInstalled,
|
|
11
11
|
openEmbedder,
|
|
12
12
|
textModelsDirectory
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KVJ3I7UL.js";
|
|
14
14
|
import {
|
|
15
15
|
textModel,
|
|
16
16
|
vectorModelKey
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BP4FYANF.js";
|
|
18
18
|
import {
|
|
19
19
|
endpointFetch
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6QYZP4E2.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IANKXHSE.js";
|
|
24
24
|
import {
|
|
25
25
|
__name
|
|
26
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
|
|
29
29
|
var integer = /* @__PURE__ */ __name((value, name, max) => {
|
|
30
30
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
31
31
|
throw new CliError("validation_error", `Invalid ${name}`);
|
|
@@ -3,26 +3,26 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executableEnvironment,
|
|
5
5
|
executableOnPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TY7NDMFY.js";
|
|
7
7
|
import {
|
|
8
8
|
require_cross_spawn
|
|
9
9
|
} from "./chunk-D72URWJE.js";
|
|
10
10
|
import {
|
|
11
11
|
loadConfigFile,
|
|
12
12
|
saveConfigFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6CWL5BKG.js";
|
|
14
14
|
import {
|
|
15
15
|
number,
|
|
16
16
|
object,
|
|
17
17
|
optional,
|
|
18
18
|
string
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ESN3W2MZ.js";
|
|
20
20
|
import {
|
|
21
21
|
__name,
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
|
|
26
26
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
27
27
|
import { existsSync } from "node:fs";
|
|
28
28
|
var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
backoffMs,
|
|
6
6
|
realSleep,
|
|
7
7
|
wallClock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6CWL5BKG.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
isCliError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IANKXHSE.js";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/hosts.js
|
|
18
18
|
var LABEL = "[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?";
|
|
19
19
|
var HOST_PATTERN = new RegExp(`^(?:${LABEL}(?:\\.${LABEL})*|\\*\\.${LABEL}(?:\\.${LABEL})+)$`);
|
|
20
20
|
var hostProblems = /* @__PURE__ */ __name((hosts) => [
|
|
@@ -26,7 +26,7 @@ var hostCovered = /* @__PURE__ */ __name((hostname, hosts) => {
|
|
|
26
26
|
return hosts.some((host) => host.startsWith("*.") ? name.endsWith(host.slice(1)) : name === host);
|
|
27
27
|
}, "hostCovered");
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/fetch.js
|
|
30
30
|
var HOST_FETCH_TIMEOUT_MS = 3e4;
|
|
31
31
|
var REDIRECTS = 5;
|
|
32
32
|
var REDIRECT_STATUSES = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
|
|
@@ -144,7 +144,7 @@ var hostFetch = /* @__PURE__ */ __name((options) => {
|
|
|
144
144
|
};
|
|
145
145
|
}, "hostFetch");
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/body.js
|
|
148
148
|
var interrupted = /* @__PURE__ */ __name((signal) => isCliError(signal.reason) ? signal.reason : new CliError(signal.reason instanceof Error && signal.reason.name === "TimeoutError" ? "timeout" : "cancelled", "HTTP response read was interrupted"), "interrupted");
|
|
149
149
|
var checked2 = /* @__PURE__ */ __name((signal) => {
|
|
150
150
|
if (signal?.aborted)
|
|
@@ -229,7 +229,7 @@ var readJsonResponse = /* @__PURE__ */ __name(async (response, options) => {
|
|
|
229
229
|
}
|
|
230
230
|
}, "readJsonResponse");
|
|
231
231
|
|
|
232
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
232
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
|
|
233
233
|
var parseRetryAfter = /* @__PURE__ */ __name((header, now) => {
|
|
234
234
|
if (!header)
|
|
235
235
|
return void 0;
|