@wirecat/zoom-cli 0.61.0 → 0.63.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/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-HZLIU6RZ.js → all-profiles-CGGNBINU.js} +8 -8
- package/dist/bundle/answer-policy-V2KDPLDO.js +96 -0
- package/dist/bundle/{anthropic-O2YYPCVK.js → anthropic-KVWPIHFG.js} +4 -4
- package/dist/bundle/{app-server-YYCANTUE.js → app-server-NKKFBTQN.js} +50 -50
- package/dist/bundle/{bun-UEFRULAT.js → bun-XRO6XJHQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-VVYKOY7S.js → bun-sqlite-FWNCLOAR.js} +3 -3
- package/dist/bundle/{chunk-IKZFR645.js → chunk-2DPMYUWQ.js} +10 -10
- package/dist/bundle/{chunk-LX6DO44O.js → chunk-2LLNPNMB.js} +1 -1
- package/dist/bundle/{chunk-P2NRA7E5.js → chunk-2NAM2XQG.js} +2 -2
- package/dist/bundle/{chunk-KXYURHVE.js → chunk-2T7MUSDB.js} +95 -95
- package/dist/bundle/{chunk-S726LZCH.js → chunk-3YBDRVOG.js} +6 -6
- package/dist/bundle/{chunk-4XI4PDEH.js → chunk-4OQVRDTG.js} +20 -20
- package/dist/bundle/{chunk-RSXLI5GP.js → chunk-4OTXE6CF.js} +52 -52
- package/dist/bundle/{chunk-UYAKSUT5.js → chunk-5LMQTEU5.js} +5 -5
- package/dist/bundle/{chunk-BNUNZTOU.js → chunk-5MYLM6SU.js} +44 -26
- package/dist/bundle/{chunk-YESOQEOB.js → chunk-5NLFQ644.js} +543 -288
- package/dist/bundle/{chunk-5NRBNGR3.js → chunk-6R3GMSLR.js} +2 -2
- package/dist/bundle/{chunk-MTAVA2LS.js → chunk-6SK5SHCR.js} +2 -2
- package/dist/bundle/{chunk-H5EAHMQN.js → chunk-6SPWQCJF.js} +11 -11
- package/dist/bundle/{chunk-E4T7IJJO.js → chunk-6URISMGR.js} +26 -26
- package/dist/bundle/{chunk-XZ4OVTA5.js → chunk-72S5TXFN.js} +9 -9
- package/dist/bundle/{chunk-F32GKBMF.js → chunk-7AY3ADNV.js} +5 -5
- package/dist/bundle/{chunk-COU66X3X.js → chunk-7CNRZSAV.js} +4 -4
- package/dist/bundle/{chunk-77GJITSU.js → chunk-7LQLJ7LW.js} +2 -2
- package/dist/bundle/{chunk-KGZHRJ7H.js → chunk-AMIIU3UZ.js} +4 -4
- package/dist/bundle/{chunk-HTGBUE2U.js → chunk-BJPFWPKH.js} +2 -2
- package/dist/bundle/{chunk-2M2U43IF.js → chunk-BNTAQADF.js} +2 -2
- package/dist/bundle/{chunk-PCUPOGKR.js → chunk-BPMKLWHV.js} +4 -4
- package/dist/bundle/{chunk-JKWYXBGK.js → chunk-CXPHUOJR.js} +12 -12
- package/dist/bundle/{chunk-NVN4O5IC.js → chunk-D6FTCPXA.js} +9 -9
- package/dist/bundle/{chunk-KZGHGU2M.js → chunk-DIXC56OU.js} +4 -4
- package/dist/bundle/{chunk-TD4Y5LXG.js → chunk-ECXRRW7J.js} +18 -18
- package/dist/bundle/{chunk-M3EVVGR6.js → chunk-EG7HC4EC.js} +2 -2
- package/dist/bundle/{chunk-B45MFBBF.js → chunk-EJFSS65P.js} +6 -6
- package/dist/bundle/{chunk-FQ54A7GI.js → chunk-EOEDICIE.js} +1 -1
- package/dist/bundle/{chunk-7ATLKYBN.js → chunk-FAOLCUKV.js} +17 -17
- package/dist/bundle/{chunk-KPZIQKOF.js → chunk-FDCGTODC.js} +1 -1
- package/dist/bundle/{chunk-OU46OTTE.js → chunk-GOESXUJQ.js} +3 -3
- package/dist/bundle/{chunk-CUSGSXSR.js → chunk-HIZQYFY3.js} +3 -3
- package/dist/bundle/{chunk-MBMDF5EL.js → chunk-IK2OSV5C.js} +6 -6
- package/dist/bundle/{chunk-6SLGIPLT.js → chunk-IOCS5FXW.js} +2 -2
- package/dist/bundle/{chunk-AOSIU5T6.js → chunk-IOUPXUFH.js} +37 -36
- package/dist/bundle/{chunk-KZV5GU7G.js → chunk-IR73ZZY6.js} +8 -8
- package/dist/bundle/{chunk-FBJC7OCI.js → chunk-JBBZCTTF.js} +1 -1
- package/dist/bundle/{chunk-QHT2LZRW.js → chunk-JDJDVYGS.js} +6 -6
- package/dist/bundle/{chunk-4XPIOW5L.js → chunk-KM7Q67Z3.js} +1 -1
- package/dist/bundle/{chunk-U4Y2QQ2D.js → chunk-KMQUZ4YM.js} +3 -3
- package/dist/bundle/{chunk-XX2PDQ54.js → chunk-LTE6WH22.js} +24 -24
- package/dist/bundle/{chunk-CMG54Q4X.js → chunk-LXYC75D3.js} +25 -25
- package/dist/bundle/{chunk-E4QPLXZT.js → chunk-M2WQWF3I.js} +47 -47
- package/dist/bundle/{chunk-T7IQMYPW.js → chunk-M6FCCVYZ.js} +4 -3
- package/dist/bundle/{chunk-HF233RN4.js → chunk-MI3JK6MW.js} +10 -10
- package/dist/bundle/{chunk-FXY45HU7.js → chunk-MIUPH3WA.js} +6 -6
- package/dist/bundle/{chunk-7DMMNCY2.js → chunk-MLNC5N7H.js} +3 -3
- package/dist/bundle/{chunk-OLZE27RS.js → chunk-N3KQ7XND.js} +2 -2
- package/dist/bundle/{chunk-XOJGXWTK.js → chunk-NQCFUYC2.js} +8 -8
- package/dist/bundle/{chunk-VARX3SBT.js → chunk-NVC4VQ2B.js} +1 -1
- package/dist/bundle/{chunk-6LHTWR3X.js → chunk-Q4ZE2LXE.js} +2 -2
- package/dist/bundle/{chunk-67WW33JB.js → chunk-QLQ7VVLK.js} +4 -4
- package/dist/bundle/{chunk-6RV7KXDF.js → chunk-QUWMFBMS.js} +6 -6
- package/dist/bundle/{chunk-SVBM6F4Z.js → chunk-RUJBN7ZP.js} +1 -1
- package/dist/bundle/{chunk-WVYSOV3C.js → chunk-RWG44LQD.js} +4 -4
- package/dist/bundle/{chunk-L7VIPVHL.js → chunk-SB47UAW2.js} +49 -39
- package/dist/bundle/{chunk-LXOSBFWW.js → chunk-SEH7DBAM.js} +7 -7
- package/dist/bundle/{chunk-O3WVOAT7.js → chunk-SLBMXXOW.js} +10 -10
- package/dist/bundle/{chunk-FAOVUALC.js → chunk-SPJJCD2A.js} +13 -13
- package/dist/bundle/{chunk-UPWHCUVA.js → chunk-TILW3EJY.js} +334 -293
- package/dist/bundle/{chunk-LPJ3S6GE.js → chunk-TQFCPUIM.js} +1 -1
- package/dist/bundle/{chunk-BPQNTYLN.js → chunk-TZE6WXID.js} +565 -297
- package/dist/bundle/{chunk-OMUX4LSS.js → chunk-UD4FKICZ.js} +4 -4
- package/dist/bundle/{chunk-DLAFGSTN.js → chunk-UIPT6IAU.js} +1 -1
- package/dist/bundle/{chunk-35X6G276.js → chunk-URJZK4GX.js} +1 -1
- package/dist/bundle/{chunk-RGOBGHWE.js → chunk-VFJ3MOIR.js} +3 -3
- package/dist/bundle/{chunk-GNHPYQMM.js → chunk-XAXXEZZ5.js} +2 -2
- package/dist/bundle/{chunk-OVVDOVLN.js → chunk-YBMOFCY5.js} +2 -2
- package/dist/bundle/{chunk-3TGR4RDD.js → chunk-YF2PT5KA.js} +31 -31
- package/dist/bundle/{chunk-ABCHE4YP.js → chunk-YFIUXE25.js} +3 -3
- package/dist/bundle/{chunk-MVRCLMQL.js → chunk-YI6ZNDPC.js} +22 -12
- package/dist/bundle/{chunk-B3PTSX5D.js → chunk-YJN4XYNA.js} +2 -2
- package/dist/bundle/{cli-O4LAGYXI.js → cli-AHPIESAC.js} +63 -53
- package/dist/bundle/command-contract-HVLI3OKU.js +38 -0
- package/dist/bundle/config-3SFEGYZO.js +78 -0
- package/dist/bundle/{decode-WRMZJJCR.js → decode-ZU7WLMMV.js} +3 -3
- package/dist/bundle/{dist-SQK4GIJT.js → dist-LTS7VI3S.js} +14 -14
- package/dist/bundle/{echarts-3DOOJSQR.js → echarts-YNGCOYHW.js} +2 -2
- package/dist/bundle/{embed-OYRHTMFI.js → embed-VWWOW7PP.js} +4 -4
- package/dist/bundle/{embedder-ZAYCL22W.js → embedder-T5GJC7M2.js} +7 -7
- package/dist/bundle/{first-run-QXSPIXOQ.js → first-run-PX3SHPUU.js} +8 -8
- package/dist/bundle/first-screen-RAPEZG57.js +36 -0
- package/dist/bundle/{folders-EXQLKXVK.js → folders-VXMDFC2D.js} +2 -2
- package/dist/bundle/{instructions-GFEOB7XJ.js → instructions-GJHHFV64.js} +1 -1
- package/dist/bundle/{main-RADF3CRI.js → main-APVJXUJE.js} +16 -16
- package/dist/bundle/{mcp-WSGVVZWI.js → mcp-EMNFFY4N.js} +2 -2
- package/dist/bundle/{meetings-6BIIT42H.js → meetings-GHYNIOHG.js} +4 -4
- package/dist/bundle/{node-A3B2YRQI.js → node-GFOH6FKP.js} +2 -2
- package/dist/bundle/{node-sqlite-XRP5FUDY.js → node-sqlite-QXKSPHTP.js} +3 -3
- package/dist/bundle/{oauth-YICY4AN4.js → oauth-A6I2OMDD.js} +5 -5
- package/dist/bundle/{open-4CNKSQRB.js → open-TQKCU447.js} +2 -2
- package/dist/bundle/{openai-YYRO3X7I.js → openai-XE3BJXOI.js} +9 -9
- package/dist/bundle/{output-file-7BXYV6OL.js → output-file-FQNFCUKE.js} +3 -3
- package/dist/bundle/{process-A45QXKID.js → process-XVDX4SPD.js} +1 -1
- package/dist/bundle/{program-DTP7BRTW.js → program-QRKEXYDG.js} +70 -69
- package/dist/bundle/{prompt-5LMKO7SE.js → prompt-ISYG5RWM.js} +3 -3
- package/dist/bundle/{recognize-MB6WRGUD.js → recognize-KENPECLZ.js} +2 -2
- package/dist/bundle/{remote-PD7WMTTS.js → remote-ZP5XTDCC.js} +5 -5
- package/dist/bundle/{rerank-7E6GQ5Y6.js → rerank-SG653RHT.js} +5 -5
- package/dist/bundle/{run-log-TCFK4LEC.js → run-log-HYKGQ42E.js} +53 -53
- package/dist/bundle/{serve-JBT2BWHK.js → serve-6UJCZD7Z.js} +7 -7
- package/dist/bundle/server-AXE37E6Q.js +66 -0
- package/dist/bundle/{server-H2UPGGBI.js → server-ZAYEDPFR.js} +42 -42
- package/dist/bundle/{services-SJOTKL5V.js → services-KMH7XZPY.js} +31 -27
- package/dist/bundle/{speech-4SL25GSC.js → speech-LINBLG5E.js} +11 -11
- package/dist/bundle/{state-FVMTDZ6B.js → state-4RKZNHE7.js} +4 -4
- package/dist/bundle/{store-TI77SCNL.js → store-253N7NUC.js} +15 -15
- package/dist/bundle/{store-DNPKBUVO.js → store-JTBHRQZK.js} +13 -13
- package/dist/bundle/store-connection-ID2ETC7F.js +76 -0
- package/dist/bundle/store-maintenance-command-XRNECVDU.js +55 -0
- package/dist/bundle/{streaming-UHAHGPH5.js → streaming-YW64OKKQ.js} +4 -4
- package/dist/bundle/{tokens-Y2MX6JBL.js → tokens-DPBC2P3I.js} +4 -4
- package/dist/bundle/zm.js +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +1 -0
- package/dist/run.js.map +1 -1
- package/dist/tokens.d.ts +6 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +21 -10
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/answer-policy-GRODO2DY.js +0 -96
- package/dist/bundle/command-contract-67QKBY6M.js +0 -38
- package/dist/bundle/config-ABURZDD2.js +0 -78
- package/dist/bundle/first-screen-MD6HWIJW.js +0 -36
- package/dist/bundle/server-CFIKEPLG.js +0 -66
- package/dist/bundle/store-connection-GIFWWMNO.js +0 -76
- package/dist/bundle/store-maintenance-command-WBKGF2CZ.js +0 -55
- /package/dist/bundle/{chunk-62EDJKGP.js → chunk-NPGVOZVK.js} +0 -0
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SB47UAW2.js";
|
|
6
6
|
import {
|
|
7
7
|
importFrom
|
|
8
8
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -10,7 +10,7 @@ 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@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SB47UAW2.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
|
|
11
11
|
var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
|
|
12
12
|
var MAX_SECRET_INPUT = 64 * 1024;
|
|
13
13
|
var policies = /* @__PURE__ */ new WeakMap();
|
|
@@ -3,28 +3,28 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
installerOf,
|
|
5
5
|
updateCommand
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7CNRZSAV.js";
|
|
7
7
|
import {
|
|
8
8
|
QUESTIONS,
|
|
9
9
|
readSetupAnswers,
|
|
10
10
|
unanswered,
|
|
11
11
|
writeSetupAnswers
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DIXC56OU.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_STEMMERS,
|
|
15
15
|
LANGUAGES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IR73ZZY6.js";
|
|
17
17
|
import {
|
|
18
18
|
sharedConfigPath
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5LMQTEU5.js";
|
|
20
20
|
import {
|
|
21
21
|
storePath
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EG7HC4EC.js";
|
|
23
23
|
import {
|
|
24
24
|
__name
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/first-run.js
|
|
28
28
|
import { spawnSync } from "node:child_process";
|
|
29
29
|
import { accessSync, constants, realpathSync } from "node:fs";
|
|
30
30
|
import { delimiter, join } from "node:path";
|
|
@@ -82,7 +82,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
82
82
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
83
83
|
}, "suggested");
|
|
84
84
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
85
|
-
const { openStore } = await import("./store-
|
|
85
|
+
const { openStore } = await import("./store-JTBHRQZK.js");
|
|
86
86
|
const store = await openStore({ env });
|
|
87
87
|
let rebuild = false;
|
|
88
88
|
try {
|
|
@@ -111,8 +111,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
111
111
|
if (!rebuild)
|
|
112
112
|
return;
|
|
113
113
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
114
|
-
import("./open-
|
|
115
|
-
import("./store-maintenance-command-
|
|
114
|
+
import("./open-TQKCU447.js"),
|
|
115
|
+
import("./store-maintenance-command-XRNECVDU.js")
|
|
116
116
|
]);
|
|
117
117
|
const database = await openCache(storePath(env));
|
|
118
118
|
try {
|
|
@@ -124,7 +124,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
124
124
|
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
125
125
|
const { command, env, io } = run;
|
|
126
126
|
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
127
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-
|
|
127
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-RAPEZG57.js");
|
|
128
128
|
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
129
129
|
const missing = others.filter((tool) => !installed(tool.command));
|
|
130
130
|
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
@@ -197,7 +197,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
197
197
|
contentLanguages: start.contentLanguages,
|
|
198
198
|
all: start.path[0] === "setup",
|
|
199
199
|
io: {
|
|
200
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
200
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-ISYG5RWM.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
201
201
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
202
202
|
`), "say")
|
|
203
203
|
}
|
|
@@ -2,17 +2,17 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
refuseLacking
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ECXRRW7J.js";
|
|
6
6
|
import {
|
|
7
7
|
servingProfiles
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GOESXUJQ.js";
|
|
9
9
|
import {
|
|
10
10
|
OFFLINE,
|
|
11
11
|
capability,
|
|
12
12
|
chatIdIn,
|
|
13
13
|
servicesFor,
|
|
14
14
|
throughWrapper
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5NLFQ644.js";
|
|
16
16
|
import {
|
|
17
17
|
asFirstWord,
|
|
18
18
|
baseContext,
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
recalledAccount,
|
|
24
24
|
rememberAccount,
|
|
25
25
|
rootOf2 as rootOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IOUPXUFH.js";
|
|
27
27
|
import {
|
|
28
28
|
MESSENGER_CHANGE_REFUSAL,
|
|
29
29
|
readOnlyRefusal
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-Q4ZE2LXE.js";
|
|
31
31
|
import {
|
|
32
32
|
providerErrorKey
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-NQCFUYC2.js";
|
|
34
34
|
import {
|
|
35
35
|
LOG_ATTRIBUTES,
|
|
36
36
|
codeOf,
|
|
@@ -38,15 +38,15 @@ import {
|
|
|
38
38
|
currentRun,
|
|
39
39
|
fromLogAttributes,
|
|
40
40
|
logAttributes
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-4OQVRDTG.js";
|
|
42
42
|
import {
|
|
43
43
|
isCliFailure
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-7LQLJ7LW.js";
|
|
45
45
|
import {
|
|
46
46
|
foldName,
|
|
47
47
|
isId,
|
|
48
48
|
pickPerson
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-3YBDRVOG.js";
|
|
50
50
|
import {
|
|
51
51
|
AUTHORITY_KEY,
|
|
52
52
|
CEILING_KEY,
|
|
@@ -57,22 +57,22 @@ import {
|
|
|
57
57
|
levelFor,
|
|
58
58
|
readKeysForCommand,
|
|
59
59
|
skipFlagFor
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-HIZQYFY3.js";
|
|
61
61
|
import {
|
|
62
62
|
openStore
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-TILW3EJY.js";
|
|
64
64
|
import {
|
|
65
65
|
CliError,
|
|
66
66
|
logRecordOf,
|
|
67
67
|
realSleep,
|
|
68
68
|
resolvePaths,
|
|
69
69
|
writeSecurely
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-SB47UAW2.js";
|
|
71
71
|
import {
|
|
72
72
|
__name
|
|
73
73
|
} from "./chunk-ZVVMGPBJ.js";
|
|
74
74
|
|
|
75
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
75
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
76
76
|
import { openSync } from "node:fs";
|
|
77
77
|
import { createInterface } from "node:readline";
|
|
78
78
|
import { ReadStream } from "node:tty";
|
|
@@ -127,10 +127,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
127
127
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
128
128
|
}, "terminalAsker");
|
|
129
129
|
|
|
130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
130
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
131
131
|
import { randomUUID } from "node:crypto";
|
|
132
132
|
|
|
133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/flood.js
|
|
134
134
|
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
135
135
|
import { dirname, join } from "node:path";
|
|
136
136
|
var MOST_DEADLINES = 50;
|
|
@@ -214,11 +214,11 @@ var FloodMemory = class {
|
|
|
214
214
|
}
|
|
215
215
|
};
|
|
216
216
|
|
|
217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
218
218
|
import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
|
|
219
219
|
import { dirname as dirname3, join as join2 } from "node:path";
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
|
|
222
222
|
import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
|
|
223
223
|
import { dirname as dirname2 } from "node:path";
|
|
224
224
|
var LOCK_WAIT_MS = 5e3;
|
|
@@ -285,7 +285,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
|
|
|
285
285
|
}
|
|
286
286
|
}, "lockTime");
|
|
287
287
|
|
|
288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
289
289
|
var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
|
|
290
290
|
var SendJournal = class {
|
|
291
291
|
static {
|
|
@@ -362,7 +362,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
|
|
|
362
362
|
return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
|
|
363
363
|
}, "withSendId");
|
|
364
364
|
|
|
365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/recipients.js
|
|
366
366
|
import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
|
|
367
367
|
import { join as join3 } from "node:path";
|
|
368
368
|
var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
|
|
@@ -474,7 +474,7 @@ var RecipientList = class {
|
|
|
474
474
|
}
|
|
475
475
|
};
|
|
476
476
|
|
|
477
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
478
478
|
var HOUR_MS = 60 * 60 * 1e3;
|
|
479
479
|
var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
|
|
480
480
|
"attachments.extract",
|
|
@@ -667,7 +667,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
|
|
|
667
667
|
}), "guardFor");
|
|
668
668
|
var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
|
|
669
669
|
|
|
670
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
671
671
|
var HOUSEKEEPING = /* @__PURE__ */ new Set([
|
|
672
672
|
"help",
|
|
673
673
|
"guide",
|
|
@@ -746,7 +746,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
746
746
|
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
747
747
|
}, "refuseUnknownPermissionKeys");
|
|
748
748
|
|
|
749
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
749
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
750
750
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
751
751
|
var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false }) => {
|
|
752
752
|
let warned = false;
|
|
@@ -1238,7 +1238,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
1238
1238
|
}
|
|
1239
1239
|
}, "keep");
|
|
1240
1240
|
|
|
1241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/pace.js
|
|
1242
1242
|
import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
1243
1243
|
import { join as join4 } from "node:path";
|
|
1244
1244
|
var DEFAULT_PACE = { perMinute: 60, burst: 20 };
|
|
@@ -1297,7 +1297,7 @@ var Pacer = class {
|
|
|
1297
1297
|
}
|
|
1298
1298
|
};
|
|
1299
1299
|
|
|
1300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
1301
1301
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
1302
1302
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
1303
1303
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -1416,7 +1416,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
1416
1416
|
});
|
|
1417
1417
|
}, "flooded");
|
|
1418
1418
|
|
|
1419
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1419
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
1420
1420
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
1421
1421
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
1422
1422
|
const write = currentOperation();
|
|
@@ -1515,7 +1515,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
1515
1515
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
1516
1516
|
}, "byPart");
|
|
1517
1517
|
|
|
1518
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1518
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
1519
1519
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
1520
1520
|
let opened;
|
|
1521
1521
|
return {
|
|
@@ -2,24 +2,24 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
validateFormattedText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3YBDRVOG.js";
|
|
6
6
|
import {
|
|
7
7
|
inputPolicy
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6SK5SHCR.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
indent
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SB47UAW2.js";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/domain/checks.js
|
|
18
18
|
var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
|
|
19
19
|
var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
|
|
20
20
|
var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/domain/markdown.js
|
|
23
23
|
var MARKERS = [
|
|
24
24
|
["**", "bold"],
|
|
25
25
|
["~~", "strike"],
|
|
@@ -65,7 +65,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
|
|
|
65
65
|
return end;
|
|
66
66
|
}, "closing");
|
|
67
67
|
|
|
68
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
68
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
|
|
69
69
|
var STYLES = [
|
|
70
70
|
["**", "bold"],
|
|
71
71
|
["__", "underline"],
|
|
@@ -225,7 +225,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
|
|
|
225
225
|
return validateFormattedText(result);
|
|
226
226
|
}, "parseMarkdownSpans");
|
|
227
227
|
|
|
228
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
228
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/domain/polls.js
|
|
229
229
|
var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
|
|
230
230
|
const cast = votes.filter((vote) => vote.answers.length > 0);
|
|
231
231
|
const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
|
|
@@ -1874,7 +1874,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
|
|
|
1874
1874
|
var qrcode_default = qrcode;
|
|
1875
1875
|
var stringToBytes = qrcode.stringToBytes;
|
|
1876
1876
|
|
|
1877
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1877
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/terminal/qr.js
|
|
1878
1878
|
var QUIET_ZONE = 4;
|
|
1879
1879
|
var BLACK_ON_WHITE = "\x1B[30;107m";
|
|
1880
1880
|
var RESET = "\x1B[0m";
|
|
@@ -1921,7 +1921,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
|
|
|
1921
1921
|
return lines.join("\n");
|
|
1922
1922
|
}, "plainQr");
|
|
1923
1923
|
|
|
1924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
|
|
1925
1925
|
var MARGIN = 2;
|
|
1926
1926
|
var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
|
|
1927
1927
|
var PASTE_QR = "agents: paste the QR code above into the chat as a code block, exactly as printed; when a new one is printed, paste it and say the old one expired";
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
modelsDirectory,
|
|
8
8
|
speechModel,
|
|
9
9
|
vadPath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BPMKLWHV.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SB47UAW2.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/speech/local.js
|
|
19
19
|
import { createHash } from "node:crypto";
|
|
20
20
|
import { isAbsolute } from "node:path";
|
|
21
21
|
import { setImmediate } from "node:timers/promises";
|
|
@@ -43,7 +43,7 @@ var recognizeLocalPieces = /* @__PURE__ */ __name(async (id, audio, options = {}
|
|
|
43
43
|
const directory = options.directory ?? modelsDirectory(options.env);
|
|
44
44
|
if (!isInstalled(model, directory))
|
|
45
45
|
throw notInstalled(model.id);
|
|
46
|
-
const { openRecognizer, toModelRate } = await import("./recognize-
|
|
46
|
+
const { openRecognizer, toModelRate } = await import("./recognize-KENPECLZ.js");
|
|
47
47
|
const engine = (options.open ?? openRecognizer)(model, modelPath(directory, model), vadPath(directory));
|
|
48
48
|
try {
|
|
49
49
|
if (!engine.pieces)
|
|
@@ -64,7 +64,7 @@ var openLocalSpeechRecognizer = /* @__PURE__ */ __name(async (id, input = {}) =>
|
|
|
64
64
|
cancelled(options.signal);
|
|
65
65
|
if (!isInstalled(model, directory))
|
|
66
66
|
throw notInstalled(description.model);
|
|
67
|
-
const { openRecognizer, toModelRate } = await import("./recognize-
|
|
67
|
+
const { openRecognizer, toModelRate } = await import("./recognize-KENPECLZ.js");
|
|
68
68
|
cancelled(options.signal);
|
|
69
69
|
const engine = (options.open ?? openRecognizer)(model, modelPath(directory, model), vadPath(directory));
|
|
70
70
|
let closing = false;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
executableEnvironment,
|
|
5
5
|
executableOnPath,
|
|
6
6
|
require_cross_spawn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UIPT6IAU.js";
|
|
8
8
|
import {
|
|
9
9
|
loadConfigFile,
|
|
10
10
|
number,
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
optional,
|
|
13
13
|
saveConfigFile,
|
|
14
14
|
string
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SB47UAW2.js";
|
|
16
16
|
import {
|
|
17
17
|
__name,
|
|
18
18
|
__toESM
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
|
|
22
22
|
var installerOf = /* @__PURE__ */ __name((scriptPath) => {
|
|
23
23
|
const path = scriptPath.replaceAll("\\", "/");
|
|
24
24
|
if (path.includes("/_npx/"))
|
|
@@ -32,7 +32,7 @@ var installerOf = /* @__PURE__ */ __name((scriptPath) => {
|
|
|
32
32
|
return path.includes("/dist/") ? "checkout" : "unknown";
|
|
33
33
|
}, "installerOf");
|
|
34
34
|
|
|
35
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
35
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_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
|
|
36
36
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
37
37
|
import { existsSync } from "node:fs";
|
|
38
38
|
var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
errorCodes
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SB47UAW2.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
11
11
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
12
12
|
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
13
13
|
const { code, exitCode } = value ?? {};
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
processStreams,
|
|
8
8
|
projectFields,
|
|
9
9
|
singleLine
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SB47UAW2.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
16
16
|
var named = /* @__PURE__ */ __name((work) => {
|
|
17
17
|
try {
|
|
18
18
|
return work();
|
|
@@ -39,7 +39,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
39
39
|
return projectFields(value, fields);
|
|
40
40
|
}), "projectFields");
|
|
41
41
|
|
|
42
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
43
43
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
44
44
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
45
45
|
var isHit = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && typeof value.locator === "string" && typeof value.text === "string", "isHit");
|
|
@@ -69,7 +69,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
69
69
|
return value;
|
|
70
70
|
}, "atDetail");
|
|
71
71
|
|
|
72
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
72
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/output.js
|
|
73
73
|
var resolveOutput = /* @__PURE__ */ __name(({ json, jsonl, quiet, streams = processStreams, tty, color, fields, hitDetail, env = process.env, capture } = {}) => {
|
|
74
74
|
const interactive = tty ?? process.stdout.isTTY === true;
|
|
75
75
|
const format = jsonl ? "jsonl" : json || !interactive ? "json" : "pretty";
|
|
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkCancelled
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IOCS5FXW.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
createOutputBuffer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SB47UAW2.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
agentOf,
|
|
30
30
|
clientHash
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-NQCFUYC2.js";
|
|
32
32
|
import {
|
|
33
33
|
__name
|
|
34
34
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -540,7 +540,7 @@ function toError(value) {
|
|
|
540
540
|
}
|
|
541
541
|
__name(toError, "toError");
|
|
542
542
|
|
|
543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
544
544
|
var CALLER_META_KEY = "wirecat.dev/caller";
|
|
545
545
|
var PROXY_CLIENT_NAME = "all-profiles";
|
|
546
546
|
var NAME = /^[\w .@()/+-]{1,64}$/;
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EG7HC4EC.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SB47UAW2.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@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -135,7 +135,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
135
135
|
return model;
|
|
136
136
|
}, "speechModel");
|
|
137
137
|
|
|
138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
139
139
|
import { createHash, randomUUID } from "node:crypto";
|
|
140
140
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
141
141
|
import { rename, rm } from "node:fs/promises";
|