@wirecat/zoom-cli 0.71.0 → 0.72.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/{all-profiles-O4YNVPZX.js → all-profiles-XFIPF4GF.js} +12 -12
- package/dist/bundle/answer-policy-AT6CDEE5.js +110 -0
- package/dist/bundle/{anthropic-7GGRX3RX.js → anthropic-SSUBR3BC.js} +18 -11
- package/dist/bundle/{app-server-CPMKM3HI.js → app-server-7DJHHF2F.js} +68 -56
- package/dist/bundle/{bun-POHZKEPV.js → bun-6HBYWQIX.js} +2 -2
- package/dist/bundle/{bun-sqlite-PGYMBPEL.js → bun-sqlite-4L3Q55NB.js} +10 -6
- package/dist/bundle/{chunk-Q2SUFGSH.js → chunk-23J2ANZ7.js} +2 -2
- package/dist/bundle/{chunk-FSHCAWZS.js → chunk-24OFZNRC.js} +13119 -10386
- package/dist/bundle/{chunk-LE7MDAQG.js → chunk-2MIBRVSV.js} +2 -2
- package/dist/bundle/{chunk-DIQLXAAZ.js → chunk-37NF5CBJ.js} +4 -4
- package/dist/bundle/chunk-3KRTEX5M.js +53 -0
- package/dist/bundle/{chunk-IED3NS7G.js → chunk-4SY67IUA.js} +30 -30
- package/dist/bundle/{chunk-CKPCVEXU.js → chunk-4XQWF3U2.js} +6 -6
- package/dist/bundle/{chunk-CT4WVR4N.js → chunk-4YIGXTBP.js} +3 -3
- package/dist/bundle/{chunk-YPO2U2YB.js → chunk-5AELTC52.js} +388 -143
- package/dist/bundle/{chunk-USQ23X5V.js → chunk-5MGICK47.js} +750 -734
- package/dist/bundle/{chunk-DK6ICIGL.js → chunk-5X4IY5JH.js} +2025 -1302
- package/dist/bundle/{chunk-EOSVN2ER.js → chunk-63QXCE5Z.js} +242 -242
- package/dist/bundle/{chunk-OE7EIP5L.js → chunk-6DCLZLGX.js} +1 -1
- package/dist/bundle/chunk-7GLJSJ7M.js +16 -0
- package/dist/bundle/{chunk-X3ZDN3U7.js → chunk-7IFO43Q5.js} +2 -2
- package/dist/bundle/{chunk-YD2RYVMK.js → chunk-7JYMGXLI.js} +41 -39
- package/dist/bundle/{chunk-DSVZEXYJ.js → chunk-7OD3522V.js} +3541 -3346
- package/dist/bundle/{chunk-2FV5JUQU.js → chunk-7S4D5SM2.js} +41 -35
- package/dist/bundle/{chunk-VRH7VRTK.js → chunk-7SUWPMZG.js} +10 -15
- package/dist/bundle/{chunk-4QPQ7MDA.js → chunk-ADKMBXY4.js} +1 -1
- package/dist/bundle/{chunk-MRI6QMZ3.js → chunk-B3SILJBU.js} +18 -18
- package/dist/bundle/{chunk-7ROXXRGG.js → chunk-CANRIRNZ.js} +6678 -5185
- package/dist/bundle/{chunk-DRBQDCDU.js → chunk-CW46FWKW.js} +38 -123
- package/dist/bundle/{chunk-GXF5HFFP.js → chunk-D24OQAHM.js} +4 -4
- package/dist/bundle/{chunk-ZBKWRYRS.js → chunk-D5EUMWD5.js} +3 -3
- package/dist/bundle/{chunk-QVSLSWAL.js → chunk-DEPXZJ2V.js} +21 -150
- package/dist/bundle/{chunk-TM4JSVGQ.js → chunk-DOCVEKP2.js} +39 -44
- package/dist/bundle/{chunk-BBTQIVFP.js → chunk-EFF2XBHP.js} +2 -2
- package/dist/bundle/{chunk-XRFHQGOD.js → chunk-EG25AY4L.js} +1 -1
- package/dist/bundle/{chunk-FEM2JQN2.js → chunk-ELJUBPY4.js} +1 -1
- package/dist/bundle/{chunk-2U6SER67.js → chunk-ERJYJ36F.js} +2 -2
- package/dist/bundle/chunk-FSCPQQS5.js +244 -0
- package/dist/bundle/{chunk-P3XC6EDU.js → chunk-H53WFZBN.js} +11 -130
- package/dist/bundle/{chunk-RN4EHCC5.js → chunk-I7CUMZD6.js} +3 -3
- package/dist/bundle/{chunk-ALIT5QFT.js → chunk-IACWKZWS.js} +1 -1
- package/dist/bundle/{chunk-MW4EGDDV.js → chunk-IFBIXU6C.js} +2 -2
- package/dist/bundle/{chunk-5K7OGPGA.js → chunk-IU4DUUB3.js} +7 -7
- package/dist/bundle/{chunk-INVTDIF6.js → chunk-IXO4SCKE.js} +1 -1
- package/dist/bundle/{chunk-OHWMIUCT.js → chunk-JAEPK457.js} +244 -245
- package/dist/bundle/{chunk-HB6XJQ3Y.js → chunk-JFPUYQSP.js} +5 -5
- package/dist/bundle/{chunk-IAV5BG3I.js → chunk-JG4MNYG2.js} +1 -1
- package/dist/bundle/{chunk-ZBFL5JPT.js → chunk-JRCH4YZP.js} +16 -10
- package/dist/bundle/{chunk-M76MXMLY.js → chunk-JZ4XNNL7.js} +1 -1
- package/dist/bundle/chunk-K6HR6HCO.js +32 -0
- package/dist/bundle/{chunk-DHWBSXG3.js → chunk-KFZL67JP.js} +323 -55
- package/dist/bundle/{chunk-X4GWR6GO.js → chunk-KPIQXFNB.js} +375 -10
- package/dist/bundle/{chunk-OWEBWDHV.js → chunk-KWURWGGB.js} +80 -5
- package/dist/bundle/{chunk-Q5PI72CR.js → chunk-LA6QUVGQ.js} +3 -2
- package/dist/bundle/{chunk-5J4AMBMM.js → chunk-LLUNHAZ7.js} +4 -4
- package/dist/bundle/{chunk-2RUAMDVV.js → chunk-LTWJM3ED.js} +17 -17
- package/dist/bundle/{chunk-2U27KIKU.js → chunk-M3DMXDX6.js} +6 -6
- package/dist/bundle/{chunk-VW6BF6M7.js → chunk-MCPOZNWG.js} +1 -1
- package/dist/bundle/{chunk-CRFOGYDG.js → chunk-MSQHSW4C.js} +2 -2
- package/dist/bundle/chunk-N4QNYWWG.js +71 -0
- package/dist/bundle/chunk-NMZQTYKJ.js +18 -0
- package/dist/bundle/{chunk-2KESWII5.js → chunk-OHCLQJOV.js} +3 -3
- package/dist/bundle/{chunk-4QUFFB2U.js → chunk-OP5PGE2N.js} +4 -4
- package/dist/bundle/{chunk-Q3XLZIY3.js → chunk-OY6N2ABP.js} +29 -23
- package/dist/bundle/chunk-PJWSGXOB.js +185 -0
- package/dist/bundle/{chunk-633QXP57.js → chunk-QA6KIL7Q.js} +10 -8
- package/dist/bundle/{chunk-N2FNMION.js → chunk-QQUY4MZY.js} +1 -1
- package/dist/bundle/{chunk-X277FBTF.js → chunk-QW7YTRV2.js} +3 -3
- package/dist/bundle/chunk-RJTGENHZ.js +109 -0
- package/dist/bundle/{chunk-ULDXZ6LH.js → chunk-RLCVPECY.js} +63 -63
- package/dist/bundle/{chunk-BGTEVIW4.js → chunk-RN5SU2RN.js} +6 -6
- package/dist/bundle/{chunk-P3ASN72F.js → chunk-RX5CJ55S.js} +1 -1
- package/dist/bundle/{chunk-7QC4M4HS.js → chunk-RZUJMAMK.js} +4 -4
- package/dist/bundle/{chunk-OORMSM6O.js → chunk-S7SXSHRC.js} +21 -21
- package/dist/bundle/{chunk-GGS6D4W4.js → chunk-SXZGCD6E.js} +3 -3
- package/dist/bundle/{chunk-64ZHF6PJ.js → chunk-T27IMG6X.js} +3 -1
- package/dist/bundle/{chunk-VJXHIUFP.js → chunk-TF2WKPNW.js} +15 -15
- package/dist/bundle/{chunk-QTHIU7CO.js → chunk-U32VL3MA.js} +1 -1
- package/dist/bundle/{chunk-RQG5VOGH.js → chunk-U3NJBGLA.js} +3 -3
- package/dist/bundle/{chunk-WOIHSQAL.js → chunk-UVZLK3M4.js} +33 -9
- package/dist/bundle/{chunk-XI3VIQKW.js → chunk-VIV64MQM.js} +560 -537
- package/dist/bundle/{chunk-CFQF6IGY.js → chunk-W3YTVEWV.js} +69 -6
- package/dist/bundle/{chunk-54YDWBYG.js → chunk-WLVG4RBZ.js} +1 -1
- package/dist/bundle/{chunk-77TCCHMP.js → chunk-WOAYHCM2.js} +1 -1
- package/dist/bundle/{chunk-5LJTU4LY.js → chunk-WXTYYWZI.js} +13 -13
- package/dist/bundle/{chunk-MEED7YFG.js → chunk-WZGKHTA4.js} +2 -2
- package/dist/bundle/{chunk-I4DFFR7F.js → chunk-X2MP634F.js} +14 -5
- package/dist/bundle/{chunk-RGJ7OWHU.js → chunk-XPWZSW6Y.js} +61 -21
- package/dist/bundle/{chunk-SELXER2Q.js → chunk-YVVJ6Y5C.js} +7 -7
- package/dist/bundle/{chunk-4LAQDZXU.js → chunk-ZHA56THL.js} +790 -70
- package/dist/bundle/{chunk-ZVI6TFQR.js → chunk-ZVFYGTGJ.js} +17 -17
- package/dist/bundle/{chunk-GL3MYFMX.js → chunk-ZW5KHKMA.js} +5 -5
- package/dist/bundle/{cli-KHMEUXNG.js → cli-IYYI7GAM.js} +158 -96
- package/dist/bundle/command-contract-TX7NSUBM.js +42 -0
- package/dist/bundle/command-server-entry-FXX4LJWF.js +171 -0
- package/dist/bundle/config-YKNM33J7.js +96 -0
- package/dist/bundle/{decode-7RP4HSVE.js → decode-SRGOOGBW.js} +6 -6
- package/dist/bundle/{dispatch-IZCAK47P.js → dispatch-OUHRPFUL.js} +11 -11
- package/dist/bundle/{dist-BFT2SUBV.js → dist-UZLNLAIO.js} +52 -31
- package/dist/bundle/{echarts-T2BSQ2YV.js → echarts-7CM2MCMW.js} +2 -2
- package/dist/bundle/{embed-BAS6YPDT.js → embed-VEE56BOB.js} +7 -7
- package/dist/bundle/{embedder-5XD5FCAO.js → embedder-SZFYR543.js} +10 -10
- package/dist/bundle/{failure-R2OIHCE5.js → failure-MZBNM7M5.js} +3 -3
- package/dist/bundle/first-run-KWC7RKF2.js +29 -0
- package/dist/bundle/first-screen-DWKMNSEI.js +40 -0
- package/dist/bundle/{folders-ZXTOFY4T.js → folders-UQXRSDJJ.js} +5 -5
- package/dist/bundle/{instructions-XZPROPKY.js → instructions-R7OHVAWH.js} +1 -1
- package/dist/bundle/{main-TZXKGL3L.js → main-EFUN2O3K.js} +21 -20
- package/dist/bundle/{mcp-M4QN2E7R.js → mcp-7KQUJNFN.js} +2 -2
- package/dist/bundle/{meetings-JB2ISPND.js → meetings-5I2BDNTA.js} +7 -7
- package/dist/bundle/{node-A3B3MJWX.js → node-3N2JGZ7V.js} +2 -2
- package/dist/bundle/{node-sqlite-QVWDLGDX.js → node-sqlite-2UVEE2WM.js} +11 -7
- package/dist/bundle/{oauth-YA6IYV4O.js → oauth-AYGD7UU3.js} +8 -8
- package/dist/bundle/{open-SY7TXJBS.js → open-3GUVDLGD.js} +6 -6
- package/dist/bundle/openai-NHCDLWWY.js +28 -0
- package/dist/bundle/{output-file-YGQYZCBJ.js → output-file-72JFXVHQ.js} +6 -6
- package/dist/bundle/{process-6HNBTJIY.js → process-YAHHUFR5.js} +1 -1
- package/dist/bundle/{program-77BUCJ4H.js → program-OSZROCTK.js} +97 -91
- package/dist/bundle/{prompt-YDG73YDS.js → prompt-HMCW4XQJ.js} +6 -6
- package/dist/bundle/{recognize-ECXDGTB7.js → recognize-VF5CA7EM.js} +5 -5
- package/dist/bundle/{remote-K4JHGBVJ.js → remote-5C6VTPR2.js} +10 -8
- package/dist/bundle/{rerank-IU2YYD4T.js → rerank-ER7NEDOI.js} +8 -8
- package/dist/bundle/run-log-JKTLKXSK.js +124 -0
- package/dist/bundle/{serve-3XWIF3HI.js → serve-QJWXJOM7.js} +10 -10
- package/dist/bundle/{server-56VYOHWP.js → server-KCIK3Y2P.js} +50 -48
- package/dist/bundle/server-LLGFDLLJ.js +75 -0
- package/dist/bundle/{services-X7IPEGQ5.js → services-LQMYJQG3.js} +62 -45
- package/dist/bundle/{speech-E2OBQWYA.js → speech-74GJQNQH.js} +20 -17
- package/dist/bundle/{state-4GMJYK4H.js → state-4XDGCHDF.js} +7 -7
- package/dist/bundle/{store-LA4TV4DM.js → store-5Y5HK2L2.js} +22 -19
- package/dist/bundle/{store-KPI7GB5Y.js → store-Y56AHJ2Y.js} +42 -27
- package/dist/bundle/store-connection-4WI32AYU.js +89 -0
- package/dist/bundle/store-maintenance-command-PCXO5AH4.js +65 -0
- package/dist/bundle/{streaming-EJ3NM2C2.js → streaming-E5CR6HSR.js} +7 -7
- package/dist/bundle/{tokens-BE6CJMR5.js → tokens-E2QNVC4F.js} +7 -7
- package/dist/bundle/zm.js +34 -10
- package/dist/bundle/{zoom-app-QEJBTIJ4.js → zoom-app-NVL7HEAX.js} +8 -8
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/answer-policy-PPSPMCLH.js +0 -104
- package/dist/bundle/chunk-KMV7GZB6.js +0 -35
- package/dist/bundle/chunk-UG447QY2.js +0 -27
- package/dist/bundle/command-contract-4K6XXZYE.js +0 -41
- package/dist/bundle/config-EEDB632I.js +0 -90
- package/dist/bundle/first-run-23WWZ2PW.js +0 -28
- package/dist/bundle/first-screen-6HFUYVFR.js +0 -39
- package/dist/bundle/openai-2AU24NRN.js +0 -25
- package/dist/bundle/run-log-LFEXNZ74.js +0 -118
- package/dist/bundle/server-YSTMUZ22.js +0 -72
- package/dist/bundle/store-connection-AZTIF6IH.js +0 -83
- package/dist/bundle/store-maintenance-command-LR572PS4.js +0 -61
- /package/dist/bundle/{chunk-VOXIGICJ.js → chunk-YVNHQFLC.js} +0 -0
|
@@ -11,12 +11,11 @@ import {
|
|
|
11
11
|
mcpUrlOf,
|
|
12
12
|
refuseWriteBeforeConnecting,
|
|
13
13
|
registerPrompts,
|
|
14
|
-
stdinFieldOf,
|
|
15
14
|
syncsFirst
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DOCVEKP2.js";
|
|
17
16
|
import {
|
|
18
17
|
answeredWire
|
|
19
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QQUY4MZY.js";
|
|
20
19
|
import {
|
|
21
20
|
BinaryResource,
|
|
22
21
|
Picture,
|
|
@@ -37,34 +36,34 @@ import {
|
|
|
37
36
|
tool,
|
|
38
37
|
toolKey,
|
|
39
38
|
toolsFromCommands
|
|
40
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-KFZL67JP.js";
|
|
41
40
|
import {
|
|
42
41
|
agentJson,
|
|
43
42
|
skillResource
|
|
44
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-B3SILJBU.js";
|
|
45
44
|
import {
|
|
46
45
|
StdioServerTransport,
|
|
47
46
|
callerOf,
|
|
48
47
|
callingAgent,
|
|
49
48
|
serveStdio
|
|
50
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-2MIBRVSV.js";
|
|
51
50
|
import {
|
|
52
51
|
instructions
|
|
53
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-WOAYHCM2.js";
|
|
54
53
|
import {
|
|
55
54
|
McpServer,
|
|
56
55
|
ResourceTemplate
|
|
57
56
|
} from "./chunk-5D4AEUVA.js";
|
|
58
57
|
import {
|
|
59
58
|
mcpHttpMarker
|
|
60
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-LLUNHAZ7.js";
|
|
61
60
|
import {
|
|
62
61
|
connectedFor
|
|
63
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-7S4D5SM2.js";
|
|
64
63
|
import {
|
|
65
64
|
lackedNeed,
|
|
66
65
|
wholeList
|
|
67
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-OY6N2ABP.js";
|
|
68
67
|
import {
|
|
69
68
|
capability,
|
|
70
69
|
dateWindow,
|
|
@@ -72,10 +71,20 @@ import {
|
|
|
72
71
|
imageSize,
|
|
73
72
|
servicesFor,
|
|
74
73
|
storedDeps
|
|
75
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-5X4IY5JH.js";
|
|
75
|
+
import {
|
|
76
|
+
warmEmbedders
|
|
77
|
+
} from "./chunk-4XQWF3U2.js";
|
|
78
|
+
import {
|
|
79
|
+
stdinFieldOf
|
|
80
|
+
} from "./chunk-NMZQTYKJ.js";
|
|
81
|
+
import {
|
|
82
|
+
openStore,
|
|
83
|
+
pdfPreviewLimits
|
|
84
|
+
} from "./chunk-24OFZNRC.js";
|
|
76
85
|
import {
|
|
77
86
|
findCommand
|
|
78
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-ZW5KHKMA.js";
|
|
79
88
|
import {
|
|
80
89
|
DEFAULT_OUTPUT_BYTES,
|
|
81
90
|
changesAuthorityAt,
|
|
@@ -88,33 +97,26 @@ import {
|
|
|
88
97
|
rootOf2 as rootOf,
|
|
89
98
|
sealed,
|
|
90
99
|
snakeKeys
|
|
91
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-7OD3522V.js";
|
|
92
101
|
import {
|
|
93
102
|
withCaller
|
|
94
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-QA6KIL7Q.js";
|
|
95
104
|
import {
|
|
96
105
|
readOnlyLockOf
|
|
97
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-N4QNYWWG.js";
|
|
98
107
|
import {
|
|
99
108
|
levelFor,
|
|
100
109
|
readKeysForCommand
|
|
101
|
-
} from "./chunk-
|
|
102
|
-
import {
|
|
103
|
-
openStore,
|
|
104
|
-
pdfPreviewLimits
|
|
105
|
-
} from "./chunk-FSHCAWZS.js";
|
|
110
|
+
} from "./chunk-LA6QUVGQ.js";
|
|
106
111
|
import {
|
|
107
112
|
typedCommand
|
|
108
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-5MGICK47.js";
|
|
109
114
|
import {
|
|
110
115
|
isCliFailure
|
|
111
|
-
} from "./chunk-
|
|
112
|
-
import {
|
|
113
|
-
warmEmbedders
|
|
114
|
-
} from "./chunk-CKPCVEXU.js";
|
|
116
|
+
} from "./chunk-WZGKHTA4.js";
|
|
115
117
|
import {
|
|
116
118
|
timezoneOf
|
|
117
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-63QXCE5Z.js";
|
|
118
120
|
import {
|
|
119
121
|
description,
|
|
120
122
|
integer,
|
|
@@ -130,21 +132,21 @@ import {
|
|
|
130
132
|
regex,
|
|
131
133
|
strictObject,
|
|
132
134
|
string
|
|
133
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-UVZLK3M4.js";
|
|
134
136
|
import {
|
|
135
137
|
CliError
|
|
136
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-ELJUBPY4.js";
|
|
137
139
|
import {
|
|
138
140
|
visibleControls
|
|
139
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-6DCLZLGX.js";
|
|
140
142
|
import {
|
|
141
143
|
__name
|
|
142
144
|
} from "./chunk-ZVVMGPBJ.js";
|
|
143
145
|
|
|
144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
146
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
145
147
|
import { randomUUID } from "node:crypto";
|
|
146
148
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
148
150
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
149
151
|
let held;
|
|
150
152
|
return {
|
|
@@ -163,7 +165,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
163
165
|
};
|
|
164
166
|
}, "agentLog");
|
|
165
167
|
|
|
166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
168
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
167
169
|
var LISTED = 100;
|
|
168
170
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
169
171
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -201,7 +203,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
201
203
|
});
|
|
202
204
|
}, "registerResources");
|
|
203
205
|
|
|
204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
206
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
205
207
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
206
208
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
207
209
|
var MessengerSession = class {
|
|
@@ -276,7 +278,7 @@ var MessengerSession = class {
|
|
|
276
278
|
}
|
|
277
279
|
};
|
|
278
280
|
|
|
279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
280
282
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
281
283
|
const _command = messenger.app.command;
|
|
282
284
|
return {
|
|
@@ -330,7 +332,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
330
332
|
};
|
|
331
333
|
}, "attachmentsTools");
|
|
332
334
|
|
|
333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
334
336
|
var PHOTO_LIMIT = 512 * 1024;
|
|
335
337
|
var IMAGE_TYPES = [
|
|
336
338
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -384,7 +386,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
384
386
|
return new Uint8Array(Buffer.concat(chunks));
|
|
385
387
|
}, "readUpTo");
|
|
386
388
|
|
|
387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
388
390
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
389
391
|
stats_charts: tool({
|
|
390
392
|
title: "A chart from a chat's statistics",
|
|
@@ -421,14 +423,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
421
423
|
})
|
|
422
424
|
}), "statsTools");
|
|
423
425
|
|
|
424
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
425
427
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
426
428
|
...messagesPhotoTools(messenger),
|
|
427
429
|
...attachmentsTools(messenger),
|
|
428
430
|
...statsTools(messenger)
|
|
429
431
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
430
432
|
|
|
431
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
433
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
432
434
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
433
435
|
"streams",
|
|
434
436
|
"stdin",
|
|
@@ -752,7 +754,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
752
754
|
}, "serveOverStdio");
|
|
753
755
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
754
756
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
755
|
-
const { serveOverHttp } = await import("./serve-
|
|
757
|
+
const { serveOverHttp } = await import("./serve-QJWXJOM7.js");
|
|
756
758
|
const appName = messenger.app.command;
|
|
757
759
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
758
760
|
const listening = await serveOverHttp(build, {
|