@wirecat/zoom-cli 0.61.0 → 0.62.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-D46SGQ35.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-VARX3SBT.js → chunk-4UUQEQ5D.js} +1 -1
- 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-XX2PDQ54.js → chunk-73BAQ7PH.js} +24 -24
- 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-SVBM6F4Z.js → chunk-JYVFFUIX.js} +1 -1
- 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-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-O3WVOAT7.js → chunk-M7YNOK4D.js} +10 -10
- 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-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-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-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-UW6W34I2.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-IYCD6MBH.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-UYK4AD2W.js} +69 -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-PWLUMCP7.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/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
package/dist/bin/zm.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.
|
|
12
|
+
process.stdout.write("0.62.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -29,7 +29,7 @@ if (
|
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
31
|
const running = import("../bundle/zm.js")
|
|
32
|
-
const chunks = ["../bundle/all-profiles-
|
|
32
|
+
const chunks = ["../bundle/all-profiles-CGGNBINU.js","../bundle/answer-policy-D46SGQ35.js","../bundle/anthropic-KVWPIHFG.js","../bundle/app-server-NKKFBTQN.js","../bundle/bun-XRO6XJHQ.js","../bundle/bun-sqlite-FWNCLOAR.js","../bundle/cli-AHPIESAC.js","../bundle/command-contract-HVLI3OKU.js","../bundle/config-UW6W34I2.js","../bundle/decode-ZU7WLMMV.js","../bundle/dist-LTS7VI3S.js","../bundle/dist-XUFQCJXW.js","../bundle/echarts-YNGCOYHW.js","../bundle/embed-VWWOW7PP.js","../bundle/embedder-T5GJC7M2.js","../bundle/first-run-PX3SHPUU.js","../bundle/first-screen-RAPEZG57.js","../bundle/folders-VXMDFC2D.js","../bundle/instructions-GJHHFV64.js","../bundle/main-IYCD6MBH.js","../bundle/mcp-EMNFFY4N.js","../bundle/meetings-GHYNIOHG.js","../bundle/node-GFOH6FKP.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-QXKSPHTP.js","../bundle/oauth-A6I2OMDD.js","../bundle/open-TQKCU447.js","../bundle/openai-XE3BJXOI.js","../bundle/output-file-FQNFCUKE.js","../bundle/process-XVDX4SPD.js","../bundle/program-UYK4AD2W.js","../bundle/prompt-ISYG5RWM.js","../bundle/recognize-KENPECLZ.js","../bundle/remote-ZP5XTDCC.js","../bundle/rerank-SG653RHT.js","../bundle/run-log-HYKGQ42E.js","../bundle/serve-6UJCZD7Z.js","../bundle/server-AXE37E6Q.js","../bundle/server-ZAYEDPFR.js","../bundle/services-KMH7XZPY.js","../bundle/speech-LINBLG5E.js","../bundle/state-4RKZNHE7.js","../bundle/store-253N7NUC.js","../bundle/store-JTBHRQZK.js","../bundle/store-connection-PWLUMCP7.js","../bundle/store-maintenance-command-XRNECVDU.js","../bundle/streaming-YW64OKKQ.js","../bundle/tokens-DPBC2P3I.js"]
|
|
33
33
|
// After the server answers its first request, so it starts no later.
|
|
34
34
|
if (serves) setTimeout(() => void Promise.allSettled(chunks.map((chunk) => import(chunk))), 2000).unref()
|
|
35
35
|
await running
|
|
@@ -2,27 +2,27 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JBBZCTTF.js";
|
|
6
6
|
import {
|
|
7
7
|
CALLER_META_KEY,
|
|
8
8
|
PROXY_CLIENT_NAME,
|
|
9
9
|
StdioServerTransport,
|
|
10
10
|
callerOf,
|
|
11
11
|
serveStdio
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BNTAQADF.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-NQCFUYC2.js";
|
|
17
|
+
import "./chunk-7LQLJ7LW.js";
|
|
18
|
+
import "./chunk-NPGVOZVK.js";
|
|
19
|
+
import "./chunk-SB47UAW2.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
21
|
import {
|
|
22
22
|
__name
|
|
23
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25
|
+
// 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/all-profiles.js
|
|
26
26
|
import { spawn } from "node:child_process";
|
|
27
27
|
import { randomUUID } from "node:crypto";
|
|
28
28
|
var PROTOCOL = "2025-06-18";
|
|
@@ -256,7 +256,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
256
256
|
}, "serveAllProfilesOverStdio");
|
|
257
257
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
258
258
|
const { build, close } = allProfilesServer(options);
|
|
259
|
-
const { serveOverHttp } = await import("./serve-
|
|
259
|
+
const { serveOverHttp } = await import("./serve-6UJCZD7Z.js");
|
|
260
260
|
const listening = await serveOverHttp(build, {
|
|
261
261
|
...http,
|
|
262
262
|
appName: options.command,
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
VERSION
|
|
5
|
+
} from "./chunk-JYVFFUIX.js";
|
|
6
|
+
import "./chunk-TZE6WXID.js";
|
|
7
|
+
import "./chunk-2DPMYUWQ.js";
|
|
8
|
+
import "./chunk-2LLNPNMB.js";
|
|
9
|
+
import "./chunk-FDCGTODC.js";
|
|
10
|
+
import "./chunk-LXYC75D3.js";
|
|
11
|
+
import "./chunk-SPJJCD2A.js";
|
|
12
|
+
import "./chunk-UD4FKICZ.js";
|
|
13
|
+
import "./chunk-M2WQWF3I.js";
|
|
14
|
+
import "./chunk-6URISMGR.js";
|
|
15
|
+
import "./chunk-ECXRRW7J.js";
|
|
16
|
+
import "./chunk-GOESXUJQ.js";
|
|
17
|
+
import "./chunk-5NLFQ644.js";
|
|
18
|
+
import "./chunk-CXPHUOJR.js";
|
|
19
|
+
import "./chunk-FAOLCUKV.js";
|
|
20
|
+
import "./chunk-SEH7DBAM.js";
|
|
21
|
+
import "./chunk-JDJDVYGS.js";
|
|
22
|
+
import "./chunk-2T7MUSDB.js";
|
|
23
|
+
import {
|
|
24
|
+
judgedEffects,
|
|
25
|
+
judgedTargets
|
|
26
|
+
} from "./chunk-IOUPXUFH.js";
|
|
27
|
+
import "./chunk-Q4ZE2LXE.js";
|
|
28
|
+
import "./chunk-KM7Q67Z3.js";
|
|
29
|
+
import "./chunk-NQCFUYC2.js";
|
|
30
|
+
import "./chunk-4OQVRDTG.js";
|
|
31
|
+
import "./chunk-7LQLJ7LW.js";
|
|
32
|
+
import "./chunk-RWG44LQD.js";
|
|
33
|
+
import "./chunk-6SPWQCJF.js";
|
|
34
|
+
import "./chunk-7CNRZSAV.js";
|
|
35
|
+
import "./chunk-UIPT6IAU.js";
|
|
36
|
+
import "./chunk-DIXC56OU.js";
|
|
37
|
+
import "./chunk-72S5TXFN.js";
|
|
38
|
+
import {
|
|
39
|
+
failureContext
|
|
40
|
+
} from "./chunk-M6FCCVYZ.js";
|
|
41
|
+
import "./chunk-YJN4XYNA.js";
|
|
42
|
+
import "./chunk-3YBDRVOG.js";
|
|
43
|
+
import "./chunk-HTQTIKWP.js";
|
|
44
|
+
import "./chunk-AMIIU3UZ.js";
|
|
45
|
+
import "./chunk-HIZQYFY3.js";
|
|
46
|
+
import "./chunk-MLNC5N7H.js";
|
|
47
|
+
import "./chunk-6SK5SHCR.js";
|
|
48
|
+
import "./chunk-XAXXEZZ5.js";
|
|
49
|
+
import "./chunk-2NAM2XQG.js";
|
|
50
|
+
import "./chunk-KMQUZ4YM.js";
|
|
51
|
+
import "./chunk-EJFSS65P.js";
|
|
52
|
+
import "./chunk-BPMKLWHV.js";
|
|
53
|
+
import "./chunk-TILW3EJY.js";
|
|
54
|
+
import "./chunk-QUWMFBMS.js";
|
|
55
|
+
import "./chunk-IR73ZZY6.js";
|
|
56
|
+
import "./chunk-5LMQTEU5.js";
|
|
57
|
+
import "./chunk-MIUPH3WA.js";
|
|
58
|
+
import "./chunk-YBMOFCY5.js";
|
|
59
|
+
import "./chunk-EG7HC4EC.js";
|
|
60
|
+
import "./chunk-IK2OSV5C.js";
|
|
61
|
+
import "./chunk-4OTXE6CF.js";
|
|
62
|
+
import "./chunk-D6FTCPXA.js";
|
|
63
|
+
import "./chunk-NPGVOZVK.js";
|
|
64
|
+
import {
|
|
65
|
+
errorObjectOf,
|
|
66
|
+
errorRecordOf,
|
|
67
|
+
exitCodeOfError,
|
|
68
|
+
renderError
|
|
69
|
+
} from "./chunk-SB47UAW2.js";
|
|
70
|
+
import "./chunk-Y5E2WNWB.js";
|
|
71
|
+
import "./chunk-EOEDICIE.js";
|
|
72
|
+
import {
|
|
73
|
+
__name
|
|
74
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
75
|
+
|
|
76
|
+
// dist/answer-policy.js
|
|
77
|
+
var hostFailureContext = /* @__PURE__ */ __name((registry, effects) => ({
|
|
78
|
+
...failureContext(),
|
|
79
|
+
...effects ? { effects: judgedEffects(effects) } : {},
|
|
80
|
+
...registry ? { targets: judgedTargets(registry) } : {}
|
|
81
|
+
}), "hostFailureContext");
|
|
82
|
+
var reportFailure = /* @__PURE__ */ __name((failure, args, deps, command = "zm", context = hostFailureContext()) => {
|
|
83
|
+
const end = args.indexOf("--");
|
|
84
|
+
const flags = args.slice(0, end < 0 ? void 0 : end);
|
|
85
|
+
const machine = flags.some((word) => word === "--json" || word === "--jsonl");
|
|
86
|
+
const object = errorObjectOf(failure, context);
|
|
87
|
+
const record = flags.includes("--debug") ? errorRecordOf(failure, object, { command, service: "zm", version: VERSION }) : void 0;
|
|
88
|
+
const interactive = deps.outputIsTTY === true && !machine;
|
|
89
|
+
deps.diagnostic(`${renderError(object, { cli: "zm", interactive, ...record ? { record } : {} })}
|
|
90
|
+
`);
|
|
91
|
+
return exitCodeOfError(object);
|
|
92
|
+
}, "reportFailure");
|
|
93
|
+
export {
|
|
94
|
+
hostFailureContext,
|
|
95
|
+
reportFailure
|
|
96
|
+
};
|
|
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkedOptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XAXXEZZ5.js";
|
|
6
6
|
import {
|
|
7
7
|
messagesFor,
|
|
8
8
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2NAM2XQG.js";
|
|
10
10
|
import {
|
|
11
11
|
Anthropic
|
|
12
12
|
} from "./chunk-ADLS6FVG.js";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
optional,
|
|
16
16
|
strictObject,
|
|
17
17
|
string
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SB47UAW2.js";
|
|
19
19
|
import "./chunk-Y5E2WNWB.js";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
22
|
} from "./chunk-ZVVMGPBJ.js";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// 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/models/anthropic.js
|
|
25
25
|
var options = strictObject({
|
|
26
26
|
stop_sequences: optional(array(string()))
|
|
27
27
|
});
|
|
@@ -3,45 +3,45 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YF2PT5KA.js";
|
|
7
7
|
import {
|
|
8
8
|
answered,
|
|
9
9
|
failed,
|
|
10
10
|
registerCommands,
|
|
11
11
|
runCommandForAgent,
|
|
12
12
|
toolsFromCommands
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5MYLM6SU.js";
|
|
14
14
|
import {
|
|
15
15
|
mcpUrlOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LXYC75D3.js";
|
|
17
17
|
import {
|
|
18
18
|
agentJson,
|
|
19
19
|
skillResource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SPJJCD2A.js";
|
|
21
21
|
import {
|
|
22
22
|
appInstructions
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TQFCPUIM.js";
|
|
24
24
|
import {
|
|
25
25
|
mcpHttpMarker
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UD4FKICZ.js";
|
|
27
27
|
import {
|
|
28
28
|
answeredWire
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-JBBZCTTF.js";
|
|
30
30
|
import {
|
|
31
31
|
StdioServerTransport,
|
|
32
32
|
serveStdio
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-BNTAQADF.js";
|
|
34
34
|
import {
|
|
35
35
|
McpServer
|
|
36
36
|
} from "./chunk-5D4AEUVA.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-6URISMGR.js";
|
|
38
|
+
import "./chunk-ECXRRW7J.js";
|
|
39
|
+
import "./chunk-GOESXUJQ.js";
|
|
40
|
+
import "./chunk-5NLFQ644.js";
|
|
41
|
+
import "./chunk-CXPHUOJR.js";
|
|
42
|
+
import "./chunk-FAOLCUKV.js";
|
|
43
|
+
import "./chunk-JDJDVYGS.js";
|
|
44
|
+
import "./chunk-2T7MUSDB.js";
|
|
45
45
|
import {
|
|
46
46
|
DEFAULT_OUTPUT_BYTES,
|
|
47
47
|
changesAuthorityAt,
|
|
@@ -50,49 +50,49 @@ import {
|
|
|
50
50
|
fetchesOnlyAt,
|
|
51
51
|
judgedTargets,
|
|
52
52
|
rootOf2 as rootOf
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-IOUPXUFH.js";
|
|
54
54
|
import {
|
|
55
55
|
readOnlyLockOf
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-Q4ZE2LXE.js";
|
|
57
|
+
import "./chunk-KM7Q67Z3.js";
|
|
58
|
+
import "./chunk-NQCFUYC2.js";
|
|
59
|
+
import "./chunk-4OQVRDTG.js";
|
|
60
|
+
import "./chunk-7LQLJ7LW.js";
|
|
61
|
+
import "./chunk-RWG44LQD.js";
|
|
62
|
+
import "./chunk-7CNRZSAV.js";
|
|
63
|
+
import "./chunk-UIPT6IAU.js";
|
|
64
|
+
import "./chunk-DIXC56OU.js";
|
|
65
|
+
import "./chunk-M6FCCVYZ.js";
|
|
66
|
+
import "./chunk-3YBDRVOG.js";
|
|
67
|
+
import "./chunk-AMIIU3UZ.js";
|
|
68
|
+
import "./chunk-HIZQYFY3.js";
|
|
69
|
+
import "./chunk-6SK5SHCR.js";
|
|
70
|
+
import "./chunk-2NAM2XQG.js";
|
|
71
|
+
import "./chunk-KMQUZ4YM.js";
|
|
72
|
+
import "./chunk-EJFSS65P.js";
|
|
73
|
+
import "./chunk-BPMKLWHV.js";
|
|
74
|
+
import "./chunk-TILW3EJY.js";
|
|
75
|
+
import "./chunk-QUWMFBMS.js";
|
|
76
|
+
import "./chunk-IR73ZZY6.js";
|
|
77
|
+
import "./chunk-5LMQTEU5.js";
|
|
78
|
+
import "./chunk-MIUPH3WA.js";
|
|
79
|
+
import "./chunk-YBMOFCY5.js";
|
|
80
|
+
import "./chunk-EG7HC4EC.js";
|
|
81
|
+
import "./chunk-IK2OSV5C.js";
|
|
82
|
+
import "./chunk-4OTXE6CF.js";
|
|
83
|
+
import "./chunk-D6FTCPXA.js";
|
|
84
|
+
import "./chunk-NPGVOZVK.js";
|
|
85
85
|
import {
|
|
86
86
|
CliError,
|
|
87
87
|
mcpErrorResult
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-SB47UAW2.js";
|
|
89
89
|
import "./chunk-Y5E2WNWB.js";
|
|
90
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-EOEDICIE.js";
|
|
91
91
|
import {
|
|
92
92
|
__name
|
|
93
93
|
} from "./chunk-ZVVMGPBJ.js";
|
|
94
94
|
|
|
95
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
95
|
+
// 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/app-server.js
|
|
96
96
|
var EXCLUDED = [["mcp"]];
|
|
97
97
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
98
98
|
const { app } = options;
|
|
@@ -207,7 +207,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
207
207
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
208
208
|
const { app } = options;
|
|
209
209
|
const { build } = createAppServer(command, context, options);
|
|
210
|
-
const { serveOverHttp } = await import("./serve-
|
|
210
|
+
const { serveOverHttp } = await import("./serve-6UJCZD7Z.js");
|
|
211
211
|
const listening = await serveOverHttp(build, {
|
|
212
212
|
...http,
|
|
213
213
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EOEDICIE.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// 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/sqlite/drizzle/bun.js
|
|
27
27
|
import { Database } from "bun:sqlite";
|
|
28
28
|
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,8 +3,8 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-6R3GMSLR.js";
|
|
7
|
+
import "./chunk-SB47UAW2.js";
|
|
8
8
|
import {
|
|
9
9
|
importFrom
|
|
10
10
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -12,7 +12,7 @@ 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/store/drivers/bun-sqlite.js
|
|
16
16
|
var customised = false;
|
|
17
17
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
18
18
|
try {
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
envName,
|
|
5
5
|
readOnlyLockOf
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Q4ZE2LXE.js";
|
|
7
7
|
import {
|
|
8
8
|
CAPABILITY_STATEMENTS,
|
|
9
9
|
storeCapable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IK2OSV5C.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError,
|
|
13
13
|
catchCrashes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SB47UAW2.js";
|
|
15
15
|
import {
|
|
16
16
|
importFrom
|
|
17
17
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
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/cli/entry.js
|
|
23
23
|
import { spawn as spawn2 } from "node:child_process";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25
|
+
// 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/sqlite-runtime.js
|
|
26
26
|
import { spawn, spawnSync } from "node:child_process";
|
|
27
27
|
import { readFileSync } from "node:fs";
|
|
28
28
|
import { dirname } from "node:path";
|
|
@@ -110,7 +110,7 @@ var relay = /* @__PURE__ */ __name((child, host = process) => new Promise(() =>
|
|
|
110
110
|
});
|
|
111
111
|
}), "relay");
|
|
112
112
|
|
|
113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
113
|
+
// 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/argv-log.js
|
|
114
114
|
import { appendFileSync } from "node:fs";
|
|
115
115
|
var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
|
|
116
116
|
const words = [];
|
|
@@ -134,7 +134,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
|
|
|
134
134
|
`);
|
|
135
135
|
}, "logVersion");
|
|
136
136
|
|
|
137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
137
|
+
// 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/entry.js
|
|
138
138
|
var processIo = /* @__PURE__ */ __name(() => ({
|
|
139
139
|
argv: process.argv,
|
|
140
140
|
env: process.env,
|
|
@@ -188,8 +188,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
188
188
|
if (command.optsWithGlobals().dryRun === true)
|
|
189
189
|
return;
|
|
190
190
|
const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
|
|
191
|
-
import("./first-run-
|
|
192
|
-
import("./command-contract-
|
|
191
|
+
import("./first-run-PX3SHPUU.js"),
|
|
192
|
+
import("./command-contract-HVLI3OKU.js")
|
|
193
193
|
]);
|
|
194
194
|
await setupAtStart({
|
|
195
195
|
command: entry.app.command,
|
|
@@ -204,7 +204,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
204
204
|
ask: /* @__PURE__ */ __name(async (question, command) => {
|
|
205
205
|
if (headless(command) || io.stdin.isTTY !== true)
|
|
206
206
|
return false;
|
|
207
|
-
const { readSecret } = await import("./prompt-
|
|
207
|
+
const { readSecret } = await import("./prompt-ISYG5RWM.js");
|
|
208
208
|
const answer = await readSecret(`${question} [y/N] `, {
|
|
209
209
|
input: io.stdin,
|
|
210
210
|
output: io.stderr,
|
|
@@ -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@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/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -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/models/types.js
|
|
11
11
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
12
12
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
13
13
|
if (images === void 0)
|