@wirecat/zoom-cli 0.74.0 → 0.75.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/contracts/wirecat.json +5 -4
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-SDOAABLC.js → all-profiles-WFLKFKJC.js} +19 -29
- package/dist/bundle/{answer-policy-RHS74QYY.js → answer-policy-XCKC2LLN.js} +57 -57
- package/dist/bundle/{anthropic-HCVY2PIN.js → anthropic-H45W4P22.js} +2 -2
- package/dist/bundle/{app-server-V64VS6KN.js → app-server-I4FPLBIX.js} +49 -64
- package/dist/bundle/{bun-EBQHHLKR.js → bun-V5QLYBZU.js} +2 -2
- package/dist/bundle/{bun-sqlite-PVMXO2JB.js → bun-sqlite-X2YZPHDS.js} +3 -3
- package/dist/bundle/{chunk-OP6HK2QL.js → chunk-2Q4CB4EI.js} +1 -1
- package/dist/bundle/{chunk-P53CLAXD.js → chunk-3U3W6YY5.js} +59 -56
- package/dist/bundle/{chunk-XGEPAJBY.js → chunk-3URYKAJP.js} +1 -1
- package/dist/bundle/{chunk-TMCXUWTY.js → chunk-3YKAFLXY.js} +1 -1
- package/dist/bundle/{chunk-NKBMLSWK.js → chunk-3YRPDNWK.js} +544 -142
- package/dist/bundle/{chunk-SY4MIIWF.js → chunk-4J5GJJ2I.js} +1 -1
- package/dist/bundle/{chunk-F6PUM6ZK.js → chunk-4XDWV6VJ.js} +16 -16
- package/dist/bundle/{chunk-SPWKGRTO.js → chunk-4YNUQGDP.js} +1 -1
- package/dist/bundle/{chunk-DXZN3DU6.js → chunk-532H3KT3.js} +2 -2
- package/dist/bundle/{chunk-YNI57LTZ.js → chunk-6XNTELM5.js} +1 -1
- package/dist/bundle/{chunk-2PNG76LV.js → chunk-7ZVWV33Z.js} +9 -9
- package/dist/bundle/{chunk-LZ4AVHBS.js → chunk-A3Q3PG54.js} +1 -1
- package/dist/bundle/{chunk-SKDQNYKA.js → chunk-AVCYD4WQ.js} +19 -18
- package/dist/bundle/{chunk-YFLTHGB3.js → chunk-B6Q53CVA.js} +7 -7
- package/dist/bundle/{chunk-RRW54FK6.js → chunk-BY2YPKZZ.js} +10 -10
- package/dist/bundle/{chunk-QLKCKTM4.js → chunk-C5WQ57AB.js} +1 -1
- package/dist/bundle/{chunk-FL2TKSZY.js → chunk-CAQ5GW3A.js} +1 -1
- package/dist/bundle/{chunk-IZUOL4Q6.js → chunk-DQBLDZ7M.js} +3 -3
- package/dist/bundle/{chunk-WYV5IITK.js → chunk-DUPFAY35.js} +6 -6
- package/dist/bundle/{chunk-ZYMTS3CI.js → chunk-ELD5AC7Q.js} +2 -2
- package/dist/bundle/{chunk-LUBG5GKK.js → chunk-EOZAJGB4.js} +11 -12
- package/dist/bundle/{chunk-OPUGV7VW.js → chunk-F6RB5FHZ.js} +1 -1
- package/dist/bundle/{chunk-LQR4V5EY.js → chunk-F7K2V6OA.js} +10 -10
- package/dist/bundle/{chunk-6GPBDVQ2.js → chunk-FBYGBR4Q.js} +3 -3
- package/dist/bundle/{chunk-R4J4DLJV.js → chunk-GPVSGZ4R.js} +728 -544
- package/dist/bundle/{chunk-PKM2UKAZ.js → chunk-GU4FVTJV.js} +13 -1
- package/dist/bundle/{chunk-XFT3YIHU.js → chunk-HKPNQL52.js} +3 -3
- package/dist/bundle/{chunk-N7KCNMKL.js → chunk-IDGWBKMH.js} +10 -10
- package/dist/bundle/{chunk-7R4UU65O.js → chunk-IMDTC4MD.js} +34 -20
- package/dist/bundle/{chunk-UW3BB2XW.js → chunk-IO3BQ6JU.js} +22 -22
- package/dist/bundle/{chunk-LHPYSVGP.js → chunk-IW245Q5B.js} +22 -22
- package/dist/bundle/{chunk-DSRG5NRF.js → chunk-JDTZCZ5K.js} +2 -2
- package/dist/bundle/{chunk-GPGIU3OG.js → chunk-JTYWSXJG.js} +7 -7
- package/dist/bundle/{chunk-TKPIDOW5.js → chunk-K5E5MB4C.js} +18 -18
- package/dist/bundle/{chunk-HGUYJUNO.js → chunk-L5UILROP.js} +5 -5
- package/dist/bundle/{chunk-QSWR7VDA.js → chunk-LRCSDAYK.js} +3 -3
- package/dist/bundle/{chunk-HZUUVNWC.js → chunk-MHXZ62CU.js} +1 -1
- package/dist/bundle/{chunk-Y4KWWPIO.js → chunk-MNVT7EJS.js} +2 -2
- package/dist/bundle/{chunk-7W23N2YW.js → chunk-NE4GYKQA.js} +5 -5
- package/dist/bundle/{chunk-5R6EBM5Z.js → chunk-NL6AZ6S2.js} +1 -1
- package/dist/bundle/{chunk-AFUHT7F7.js → chunk-NQLL4KRN.js} +5 -5
- package/dist/bundle/{chunk-5KDBLEUF.js → chunk-NQQVNLO6.js} +10 -10
- package/dist/bundle/{chunk-6EMOZGSN.js → chunk-NU4FSSMN.js} +2 -2
- package/dist/bundle/{chunk-NV2REPY6.js → chunk-OUM4ZO53.js} +1 -1
- package/dist/bundle/{chunk-3ROL6MBJ.js → chunk-P4ZQQLZF.js} +569 -401
- package/dist/bundle/{chunk-R35YGFKQ.js → chunk-P6MQ6FS4.js} +30 -5
- package/dist/bundle/{chunk-4ELLWJT4.js → chunk-PCJRHC5Y.js} +7 -7
- package/dist/bundle/{chunk-I2D4ZZOD.js → chunk-PPM7UTCT.js} +19 -16
- package/dist/bundle/{chunk-APLV37JA.js → chunk-PX4IMYVB.js} +2 -2
- package/dist/bundle/{chunk-TN2YUZBF.js → chunk-QBKKTTA3.js} +155 -149
- package/dist/bundle/{chunk-RQJ2RXFO.js → chunk-QEO3XTIE.js} +35 -25
- package/dist/bundle/{chunk-YM6ZATEK.js → chunk-QXQUANWE.js} +4 -4
- package/dist/bundle/{chunk-XCC7R47Z.js → chunk-RABCFGT3.js} +2 -2
- package/dist/bundle/{chunk-UGLNVUFX.js → chunk-RBYVQE3S.js} +4 -4
- package/dist/bundle/{chunk-RJJ4OYNH.js → chunk-RKI4BGWG.js} +2 -2
- package/dist/bundle/{chunk-LN2LWPN2.js → chunk-SEJBS7SI.js} +1 -1
- package/dist/bundle/{chunk-IS6FUZCP.js → chunk-SR5X7YKB.js} +1 -1
- package/dist/bundle/{chunk-4EZKR6Q4.js → chunk-T25PR26L.js} +5 -5
- package/dist/bundle/{chunk-FY2X6U6O.js → chunk-T4FMXDDV.js} +2 -2
- package/dist/bundle/{chunk-UVWNUY3W.js → chunk-TSHUBGN4.js} +2 -2
- package/dist/bundle/{chunk-BKMC4ETU.js → chunk-V3UK6E5B.js} +4 -4
- package/dist/bundle/{chunk-QAGSAOYS.js → chunk-VLK3X53X.js} +2 -2
- package/dist/bundle/{chunk-PMHMKZEJ.js → chunk-VPSQZ2YR.js} +42 -50
- package/dist/bundle/{chunk-WRRGO246.js → chunk-VUPWDCYV.js} +1 -1
- package/dist/bundle/{chunk-TLNZUPGU.js → chunk-W2AC2RAG.js} +13 -13
- package/dist/bundle/{chunk-BOGGQOVO.js → chunk-WQOGHND4.js} +1 -1
- package/dist/bundle/{chunk-KBRIMLVN.js → chunk-WUWF4EXZ.js} +6 -6
- package/dist/bundle/{chunk-UXSTXFZQ.js → chunk-XCJGDPMN.js} +383 -367
- package/dist/bundle/{chunk-KYL5FYOW.js → chunk-XUHQ7DVT.js} +1 -1
- package/dist/bundle/{chunk-7NE3LB7A.js → chunk-Y5J5CAG2.js} +1 -1
- package/dist/bundle/{chunk-3TYNBHBK.js → chunk-ZBYKCVSV.js} +1 -1
- package/dist/bundle/{chunk-KCPRTZBZ.js → chunk-ZVVRRMLW.js} +98 -6
- package/dist/bundle/{cli-5ALOQCAC.js → cli-NPRYCWFH.js} +64 -56
- package/dist/bundle/{command-contract-WO5QJVLZ.js → command-contract-OJYRKQHR.js} +17 -17
- package/dist/bundle/{command-server-entry-ICOMIJIH.js → command-server-entry-BV4SUPUI.js} +24 -24
- package/dist/bundle/config-UMEV24OE.js +97 -0
- package/dist/bundle/{decode-7LFOROWF.js → decode-PRMKCHHC.js} +2 -2
- package/dist/bundle/{dist-KJOOYNCP.js → dist-HGLDGKUW.js} +18 -14
- package/dist/bundle/{echarts-EJXBKCJT.js → echarts-QIXLXS3G.js} +2 -2
- package/dist/bundle/{embed-TOZCKRRO.js → embed-OZN2BIJY.js} +3 -3
- package/dist/bundle/{embedder-QKEKUCS5.js → embedder-RBDHO6Z6.js} +6 -6
- package/dist/bundle/{first-run-S7CQVGK6.js → first-run-HNCD7U3B.js} +6 -6
- package/dist/bundle/first-screen-374BBMO6.js +39 -0
- package/dist/bundle/{instructions-Z7GVGWXS.js → instructions-MD2RZT5Z.js} +1 -1
- package/dist/bundle/{main-RL3GC4OX.js → main-FPMCCRIQ.js} +15 -15
- package/dist/bundle/{meetings-JCMLE5AO.js → meetings-WYCVHAIP.js} +17 -1
- package/dist/bundle/{node-L2PVEW3N.js → node-IEVT2FSJ.js} +2 -2
- package/dist/bundle/{node-sqlite-4YW3W4XI.js → node-sqlite-O4C6IWSM.js} +4 -4
- package/dist/bundle/{oauth-NNHWAT6A.js → oauth-6VXOUXSE.js} +4 -4
- package/dist/bundle/{open-PF2JHJIY.js → open-AMUIWV3Y.js} +2 -2
- package/dist/bundle/{openai-C72ADYMD.js → openai-MEDN6FSK.js} +10 -10
- package/dist/bundle/{process-MNZTQ2DA.js → process-6Q23D3TO.js} +1 -1
- package/dist/bundle/{program-FOCBZZZS.js → program-CF2NKA2A.js} +70 -69
- package/dist/bundle/{prompt-RBSUKMV7.js → prompt-N3UZE4ZR.js} +2 -2
- package/dist/bundle/{recognize-RM6TQKK3.js → recognize-I5F3K3CZ.js} +1 -1
- package/dist/bundle/{remote-UKHTU3YR.js → remote-CJF5KMMY.js} +6 -6
- package/dist/bundle/{rerank-3LBRVESU.js → rerank-6WLY6MKY.js} +4 -4
- package/dist/bundle/{run-log-UXINNGKA.js → run-log-FKF4ZX4M.js} +55 -55
- package/dist/bundle/{serve-OOZFTW3W.js → serve-FOQJ3WMX.js} +6 -6
- package/dist/bundle/server-BAGY5HEZ.js +74 -0
- package/dist/bundle/{server-YNQPNIJD.js → server-OEEGRSQD.js} +47 -45
- package/dist/bundle/{services-SLEOMN4B.js → services-Q6SFESMS.js} +31 -31
- package/dist/bundle/{speech-FZZ6QVGU.js → speech-PBVEIG4N.js} +12 -12
- package/dist/bundle/{sqlite-runtime-WUR4PWYB.js → sqlite-runtime-IWR65V6I.js} +3 -3
- package/dist/bundle/{state-ET36L4TY.js → state-G54C2N6U.js} +3 -3
- package/dist/bundle/{store-SQB2DOVJ.js → store-7EWMPTTW.js} +16 -16
- package/dist/bundle/{store-DI6OUBXA.js → store-D5OLXIFW.js} +14 -14
- package/dist/bundle/store-connection-34747SCC.js +90 -0
- package/dist/bundle/store-maintenance-command-QBO67F7Z.js +65 -0
- package/dist/bundle/{tokens-SUHRRQ25.js → tokens-J7TFHLEG.js} +4 -4
- package/dist/bundle/zm.js +2 -2
- package/dist/bundle/{zoom-app-GE4SSHOP.js → zoom-app-SULPMVN4.js} +2 -2
- package/dist/recording-schedule-commands.d.ts.map +1 -1
- package/dist/recording-schedule-commands.js +2 -2
- package/dist/recording-schedule-commands.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/chunk-IJONJTST.js +0 -76
- package/dist/bundle/config-YQA5TJ7Y.js +0 -97
- package/dist/bundle/first-screen-6GW6FD6S.js +0 -39
- package/dist/bundle/server-DM5ZPFZB.js +0 -75
- package/dist/bundle/store-connection-M6LVRAZ5.js +0 -90
- package/dist/bundle/store-maintenance-command-B66KWG6K.js +0 -65
package/contracts/wirecat.json
CHANGED
|
@@ -229,9 +229,9 @@
|
|
|
229
229
|
"meetings",
|
|
230
230
|
"list"
|
|
231
231
|
],
|
|
232
|
-
"summary": "
|
|
232
|
+
"summary": "meetings, newest first: the service's and the stored ones, kept in the store",
|
|
233
233
|
"effects": {
|
|
234
|
-
"remote": "
|
|
234
|
+
"remote": "read",
|
|
235
235
|
"local": "read"
|
|
236
236
|
},
|
|
237
237
|
"permission": "meetings.list",
|
|
@@ -242,9 +242,9 @@
|
|
|
242
242
|
"meetings",
|
|
243
243
|
"show"
|
|
244
244
|
],
|
|
245
|
-
"summary": "show a
|
|
245
|
+
"summary": "show a meeting, read again from the service with its people, transcript and…",
|
|
246
246
|
"effects": {
|
|
247
|
-
"remote": "
|
|
247
|
+
"remote": "read",
|
|
248
248
|
"local": "read"
|
|
249
249
|
},
|
|
250
250
|
"permission": "meetings.show",
|
|
@@ -1246,6 +1246,7 @@
|
|
|
1246
1246
|
"meeting": {
|
|
1247
1247
|
"fields": [
|
|
1248
1248
|
"id",
|
|
1249
|
+
"provider_id",
|
|
1249
1250
|
"title",
|
|
1250
1251
|
"started_at",
|
|
1251
1252
|
"ended_at",
|
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.75.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/all-profiles-
|
|
31
|
+
const chunks = ["../bundle/all-profiles-WFLKFKJC.js","../bundle/answer-policy-XCKC2LLN.js","../bundle/anthropic-H45W4P22.js","../bundle/app-server-I4FPLBIX.js","../bundle/bun-V5QLYBZU.js","../bundle/bun-sqlite-X2YZPHDS.js","../bundle/cli-NPRYCWFH.js","../bundle/command-contract-OJYRKQHR.js","../bundle/command-server-entry-BV4SUPUI.js","../bundle/config-UMEV24OE.js","../bundle/decode-PRMKCHHC.js","../bundle/dispatch-EU67WGME.js","../bundle/dist-HGLDGKUW.js","../bundle/dist-XUFQCJXW.js","../bundle/echarts-QIXLXS3G.js","../bundle/embed-OZN2BIJY.js","../bundle/embedder-RBDHO6Z6.js","../bundle/failure-CTJLEB2R.js","../bundle/first-run-HNCD7U3B.js","../bundle/first-screen-374BBMO6.js","../bundle/folders-MSBTAPAG.js","../bundle/instructions-MD2RZT5Z.js","../bundle/main-FPMCCRIQ.js","../bundle/mcp-TDKGDB4V.js","../bundle/meetings-WYCVHAIP.js","../bundle/node-IEVT2FSJ.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-O4C6IWSM.js","../bundle/oauth-6VXOUXSE.js","../bundle/open-AMUIWV3Y.js","../bundle/openai-MEDN6FSK.js","../bundle/output-file-VDOCYH2G.js","../bundle/process-6Q23D3TO.js","../bundle/program-CF2NKA2A.js","../bundle/prompt-N3UZE4ZR.js","../bundle/recognize-I5F3K3CZ.js","../bundle/remote-CJF5KMMY.js","../bundle/rerank-6WLY6MKY.js","../bundle/run-log-FKF4ZX4M.js","../bundle/serve-FOQJ3WMX.js","../bundle/server-BAGY5HEZ.js","../bundle/server-OEEGRSQD.js","../bundle/services-Q6SFESMS.js","../bundle/speech-PBVEIG4N.js","../bundle/sqlite-runtime-IWR65V6I.js","../bundle/state-G54C2N6U.js","../bundle/store-7EWMPTTW.js","../bundle/store-D5OLXIFW.js","../bundle/store-connection-34747SCC.js","../bundle/store-maintenance-command-QBO67F7Z.js","../bundle/streaming-PQEXKTE5.js","../bundle/tokens-J7TFHLEG.js","../bundle/zoom-app-SULPMVN4.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -1,32 +1,35 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
answeredWire
|
|
5
|
-
} from "./chunk-IJONJTST.js";
|
|
6
3
|
import {
|
|
7
4
|
CALLER_META_KEY,
|
|
8
5
|
PROXY_CLIENT_NAME,
|
|
9
6
|
StdioServerTransport,
|
|
7
|
+
answeredWire,
|
|
10
8
|
callerOf,
|
|
11
9
|
serveStdio
|
|
12
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZVVRRMLW.js";
|
|
13
11
|
import {
|
|
14
12
|
McpServer
|
|
15
13
|
} from "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-DUPFAY35.js";
|
|
15
|
+
import "./chunk-3YKAFLXY.js";
|
|
16
|
+
import "./chunk-VUPWDCYV.js";
|
|
19
17
|
import "./chunk-XWBPP2HX.js";
|
|
20
18
|
import "./chunk-HNWDEDMU.js";
|
|
21
|
-
import
|
|
19
|
+
import {
|
|
20
|
+
errorObjectOf,
|
|
21
|
+
mcpErrorResult
|
|
22
|
+
} from "./chunk-4RJL32PF.js";
|
|
22
23
|
import "./chunk-Y5E2WNWB.js";
|
|
23
|
-
import
|
|
24
|
+
import {
|
|
25
|
+
CliError
|
|
26
|
+
} from "./chunk-EA2OB75T.js";
|
|
24
27
|
import "./chunk-HCZYJMBP.js";
|
|
25
28
|
import {
|
|
26
29
|
__name
|
|
27
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
31
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
30
33
|
import { spawn } from "node:child_process";
|
|
31
34
|
import { randomUUID } from "node:crypto";
|
|
32
35
|
var PROTOCOL = "2025-06-18";
|
|
@@ -182,10 +185,7 @@ var withProfile = /* @__PURE__ */ __name((tool, profiles, name, signedIn = () =>
|
|
|
182
185
|
}
|
|
183
186
|
};
|
|
184
187
|
}, "withProfile");
|
|
185
|
-
var refusal = /* @__PURE__ */ __name((text) => ({
|
|
186
|
-
isError: true,
|
|
187
|
-
content: [{ type: "text", text }]
|
|
188
|
-
}), "refusal");
|
|
188
|
+
var refusal = /* @__PURE__ */ __name((code, text, details) => mcpErrorResult(errorObjectOf(new CliError(code, text, details), { effects: { remote: "none", local: "none" } })), "refusal");
|
|
189
189
|
var allProfilesServer = /* @__PURE__ */ __name((options) => {
|
|
190
190
|
const children = pool(options);
|
|
191
191
|
let listed;
|
|
@@ -212,9 +212,9 @@ var allProfilesServer = /* @__PURE__ */ __name((options) => {
|
|
|
212
212
|
const { name, arguments: given = {}, _meta } = request.params;
|
|
213
213
|
const { profile, ...rest } = given;
|
|
214
214
|
if (typeof profile !== "string" || !profiles.includes(profile))
|
|
215
|
-
return refusal(`${name} needs "profile", one of: ${profiles.join(", ")}. If the owner did not say which account, ask.`);
|
|
215
|
+
return refusal("validation_error", `${name} needs "profile", one of: ${profiles.join(", ")}. If the owner did not say which account, ask.`);
|
|
216
216
|
if (!signedIn(profile))
|
|
217
|
-
return refusal(options.signIn?.(profile) ?? `profile ${profile} is not signed in.`);
|
|
217
|
+
return refusal("authentication_error", options.signIn?.(profile) ?? `profile ${profile} is not signed in.`);
|
|
218
218
|
try {
|
|
219
219
|
return await children.use(profile, (child) => (
|
|
220
220
|
// Children are shared by every session, so each call names its own caller.
|
|
@@ -225,7 +225,7 @@ var allProfilesServer = /* @__PURE__ */ __name((options) => {
|
|
|
225
225
|
})
|
|
226
226
|
));
|
|
227
227
|
} catch (error) {
|
|
228
|
-
return refusal(`profile ${profile}: ${error instanceof Error ? error.message : String(error)}`);
|
|
228
|
+
return refusal("outcome_unknown", `profile ${profile}: ${error instanceof Error ? error.message : String(error)}`);
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
return server;
|
|
@@ -240,18 +240,8 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
240
240
|
transport: new StdioServerTransport(wire.input, wire.output),
|
|
241
241
|
onerror: /* @__PURE__ */ __name((error) => options.note?.(`mcp: ${error.message}`), "onerror")
|
|
242
242
|
});
|
|
243
|
-
|
|
244
|
-
wire.ended.then(() => resolve("input"));
|
|
245
|
-
if (own)
|
|
246
|
-
io.signal?.addEventListener("abort", () => resolve("stopped"), { once: true });
|
|
247
|
-
else {
|
|
248
|
-
process.once("SIGINT", () => resolve("stopped"));
|
|
249
|
-
process.once("SIGTERM", () => resolve("stopped"));
|
|
250
|
-
}
|
|
251
|
-
});
|
|
243
|
+
await wire.finished(own ? io.signal : void 0);
|
|
252
244
|
try {
|
|
253
|
-
if (ended === "input")
|
|
254
|
-
await wire.answered();
|
|
255
245
|
wire.release();
|
|
256
246
|
await handle.close();
|
|
257
247
|
} finally {
|
|
@@ -260,7 +250,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
260
250
|
}, "serveAllProfilesOverStdio");
|
|
261
251
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
262
252
|
const { build, close } = allProfilesServer(options);
|
|
263
|
-
const { serveOverHttp } = await import("./serve-
|
|
253
|
+
const { serveOverHttp } = await import("./serve-FOQJ3WMX.js");
|
|
264
254
|
const listening = await serveOverHttp(build, {
|
|
265
255
|
...http,
|
|
266
256
|
appName: options.command,
|
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-GPVSGZ4R.js";
|
|
4
|
+
import "./chunk-F7K2V6OA.js";
|
|
5
|
+
import "./chunk-C5WQ57AB.js";
|
|
6
|
+
import "./chunk-6XNTELM5.js";
|
|
7
|
+
import "./chunk-QEO3XTIE.js";
|
|
8
|
+
import "./chunk-SEJBS7SI.js";
|
|
9
|
+
import "./chunk-EOZAJGB4.js";
|
|
10
|
+
import "./chunk-3U3W6YY5.js";
|
|
11
|
+
import "./chunk-PPM7UTCT.js";
|
|
12
|
+
import "./chunk-7ZVWV33Z.js";
|
|
13
|
+
import "./chunk-QXQUANWE.js";
|
|
14
|
+
import "./chunk-NQQVNLO6.js";
|
|
15
|
+
import "./chunk-IDGWBKMH.js";
|
|
16
|
+
import "./chunk-VLK3X53X.js";
|
|
17
17
|
import {
|
|
18
18
|
failureContext
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-GU4FVTJV.js";
|
|
20
|
+
import "./chunk-NL6AZ6S2.js";
|
|
21
21
|
import "./chunk-HTQTIKWP.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-V3UK6E5B.js";
|
|
23
|
+
import "./chunk-PX4IMYVB.js";
|
|
24
|
+
import "./chunk-P4ZQQLZF.js";
|
|
25
|
+
import "./chunk-Y5J5CAG2.js";
|
|
26
|
+
import "./chunk-W2AC2RAG.js";
|
|
27
27
|
import "./chunk-FT7X74RT.js";
|
|
28
28
|
import "./chunk-FIVFP53N.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-WUWF4EXZ.js";
|
|
30
|
+
import "./chunk-532H3KT3.js";
|
|
31
|
+
import "./chunk-JTYWSXJG.js";
|
|
32
|
+
import "./chunk-4XDWV6VJ.js";
|
|
33
|
+
import "./chunk-NE4GYKQA.js";
|
|
34
|
+
import "./chunk-T25PR26L.js";
|
|
35
|
+
import "./chunk-XUHQ7DVT.js";
|
|
36
|
+
import "./chunk-MHXZ62CU.js";
|
|
37
|
+
import "./chunk-DQBLDZ7M.js";
|
|
38
38
|
import {
|
|
39
39
|
judgedEffects,
|
|
40
40
|
judgedTargets
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-QBKKTTA3.js";
|
|
42
|
+
import "./chunk-ZBYKCVSV.js";
|
|
43
|
+
import "./chunk-DUPFAY35.js";
|
|
44
|
+
import "./chunk-HKPNQL52.js";
|
|
45
|
+
import "./chunk-P6MQ6FS4.js";
|
|
46
|
+
import "./chunk-WQOGHND4.js";
|
|
47
|
+
import "./chunk-SR5X7YKB.js";
|
|
48
48
|
import "./chunk-MAE5UGRQ.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-RKI4BGWG.js";
|
|
50
|
+
import "./chunk-FBYGBR4Q.js";
|
|
51
|
+
import "./chunk-T4FMXDDV.js";
|
|
52
|
+
import "./chunk-2Q4CB4EI.js";
|
|
53
|
+
import "./chunk-XCJGDPMN.js";
|
|
54
|
+
import "./chunk-PCJRHC5Y.js";
|
|
55
|
+
import "./chunk-K5E5MB4C.js";
|
|
56
|
+
import "./chunk-4YNUQGDP.js";
|
|
57
|
+
import "./chunk-IO3BQ6JU.js";
|
|
58
|
+
import "./chunk-3YKAFLXY.js";
|
|
59
|
+
import "./chunk-IMDTC4MD.js";
|
|
60
|
+
import "./chunk-VUPWDCYV.js";
|
|
61
|
+
import "./chunk-L5UILROP.js";
|
|
62
|
+
import "./chunk-3URYKAJP.js";
|
|
63
63
|
import {
|
|
64
64
|
VERSION,
|
|
65
65
|
ZM
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-F6RB5FHZ.js";
|
|
67
67
|
import "./chunk-M4OP5ASJ.js";
|
|
68
68
|
import "./chunk-D72URWJE.js";
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-A3Q3PG54.js";
|
|
70
|
+
import "./chunk-MNVT7EJS.js";
|
|
71
|
+
import "./chunk-NQLL4KRN.js";
|
|
72
|
+
import "./chunk-OUM4ZO53.js";
|
|
73
|
+
import "./chunk-3YRPDNWK.js";
|
|
74
74
|
import "./chunk-3HTJBGNP.js";
|
|
75
75
|
import "./chunk-XWBPP2HX.js";
|
|
76
76
|
import "./chunk-HNWDEDMU.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
checkedOptions,
|
|
6
6
|
messagesFor,
|
|
7
7
|
systemFor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-532H3KT3.js";
|
|
9
9
|
import {
|
|
10
10
|
Anthropic
|
|
11
11
|
} from "./chunk-FXBHOCJK.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
__name
|
|
28
28
|
} from "./chunk-ZVVMGPBJ.js";
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
31
31
|
var options = strictObject({
|
|
32
32
|
stop_sequences: optional(array(string())),
|
|
33
33
|
thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
|
|
@@ -3,53 +3,51 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VPSQZ2YR.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
answeredWire
|
|
12
|
-
} from "./chunk-IJONJTST.js";
|
|
9
|
+
} from "./chunk-QEO3XTIE.js";
|
|
13
10
|
import {
|
|
14
11
|
answered,
|
|
15
12
|
failed,
|
|
16
13
|
registerCommands,
|
|
17
14
|
runCommandForAgent,
|
|
18
15
|
toolsFromCommands
|
|
19
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AVCYD4WQ.js";
|
|
20
17
|
import {
|
|
21
18
|
agentJson,
|
|
22
19
|
skillResource
|
|
23
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EOZAJGB4.js";
|
|
24
21
|
import {
|
|
25
22
|
StdioServerTransport,
|
|
23
|
+
answeredWire,
|
|
26
24
|
serveStdio
|
|
27
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZVVRRMLW.js";
|
|
28
26
|
import {
|
|
29
27
|
McpServer
|
|
30
28
|
} from "./chunk-5D4AEUVA.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-PPM7UTCT.js";
|
|
30
|
+
import "./chunk-7ZVWV33Z.js";
|
|
31
|
+
import "./chunk-GU4FVTJV.js";
|
|
34
32
|
import {
|
|
35
33
|
mcpHttpMarker
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-V3UK6E5B.js";
|
|
35
|
+
import "./chunk-PX4IMYVB.js";
|
|
38
36
|
import {
|
|
39
37
|
appInstructions
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-CAQ5GW3A.js";
|
|
39
|
+
import "./chunk-P4ZQQLZF.js";
|
|
40
|
+
import "./chunk-Y5J5CAG2.js";
|
|
41
|
+
import "./chunk-W2AC2RAG.js";
|
|
44
42
|
import "./chunk-FT7X74RT.js";
|
|
45
43
|
import "./chunk-FIVFP53N.js";
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-WUWF4EXZ.js";
|
|
45
|
+
import "./chunk-532H3KT3.js";
|
|
46
|
+
import "./chunk-JTYWSXJG.js";
|
|
47
|
+
import "./chunk-4XDWV6VJ.js";
|
|
48
|
+
import "./chunk-NE4GYKQA.js";
|
|
49
|
+
import "./chunk-MHXZ62CU.js";
|
|
50
|
+
import "./chunk-DQBLDZ7M.js";
|
|
53
51
|
import {
|
|
54
52
|
DEFAULT_OUTPUT_BYTES,
|
|
55
53
|
changesAuthorityAt,
|
|
@@ -59,35 +57,35 @@ import {
|
|
|
59
57
|
judgedTargets,
|
|
60
58
|
readsOverMcpAt,
|
|
61
59
|
rootOf2 as rootOf
|
|
62
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-QBKKTTA3.js";
|
|
63
61
|
import {
|
|
64
62
|
readOnlyLockOf
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
63
|
+
} from "./chunk-ZBYKCVSV.js";
|
|
64
|
+
import "./chunk-DUPFAY35.js";
|
|
65
|
+
import "./chunk-HKPNQL52.js";
|
|
66
|
+
import "./chunk-P6MQ6FS4.js";
|
|
67
|
+
import "./chunk-WQOGHND4.js";
|
|
68
|
+
import "./chunk-SR5X7YKB.js";
|
|
71
69
|
import "./chunk-MAE5UGRQ.js";
|
|
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-
|
|
70
|
+
import "./chunk-RKI4BGWG.js";
|
|
71
|
+
import "./chunk-FBYGBR4Q.js";
|
|
72
|
+
import "./chunk-2Q4CB4EI.js";
|
|
73
|
+
import "./chunk-XCJGDPMN.js";
|
|
74
|
+
import "./chunk-PCJRHC5Y.js";
|
|
75
|
+
import "./chunk-K5E5MB4C.js";
|
|
76
|
+
import "./chunk-4YNUQGDP.js";
|
|
77
|
+
import "./chunk-IO3BQ6JU.js";
|
|
78
|
+
import "./chunk-3YKAFLXY.js";
|
|
79
|
+
import "./chunk-IMDTC4MD.js";
|
|
80
|
+
import "./chunk-VUPWDCYV.js";
|
|
81
|
+
import "./chunk-L5UILROP.js";
|
|
82
|
+
import "./chunk-3URYKAJP.js";
|
|
85
83
|
import "./chunk-M4OP5ASJ.js";
|
|
86
84
|
import "./chunk-D72URWJE.js";
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-A3Q3PG54.js";
|
|
86
|
+
import "./chunk-NQLL4KRN.js";
|
|
87
|
+
import "./chunk-OUM4ZO53.js";
|
|
88
|
+
import "./chunk-3YRPDNWK.js";
|
|
91
89
|
import "./chunk-3HTJBGNP.js";
|
|
92
90
|
import "./chunk-XWBPP2HX.js";
|
|
93
91
|
import "./chunk-HNWDEDMU.js";
|
|
@@ -103,7 +101,7 @@ import {
|
|
|
103
101
|
__name
|
|
104
102
|
} from "./chunk-ZVVMGPBJ.js";
|
|
105
103
|
|
|
106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
104
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
107
105
|
var EXCLUDED = [["mcp"]];
|
|
108
106
|
var aliasesOf = /* @__PURE__ */ __name((root, path) => {
|
|
109
107
|
let at = root;
|
|
@@ -213,27 +211,14 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
213
211
|
transport: new StdioServerTransport(wire.input, wire.output),
|
|
214
212
|
onerror: /* @__PURE__ */ __name((error) => context.renderer.note(`mcp: ${error.message}`), "onerror")
|
|
215
213
|
});
|
|
216
|
-
|
|
217
|
-
wire.ended.then(() => resolve("input"));
|
|
218
|
-
if (own) {
|
|
219
|
-
if (signal?.aborted)
|
|
220
|
-
resolve("stopped");
|
|
221
|
-
else
|
|
222
|
-
signal?.addEventListener("abort", () => resolve("stopped"), { once: true });
|
|
223
|
-
} else {
|
|
224
|
-
process.once("SIGINT", () => resolve("stopped"));
|
|
225
|
-
process.once("SIGTERM", () => resolve("stopped"));
|
|
226
|
-
}
|
|
227
|
-
});
|
|
228
|
-
if (ended === "input")
|
|
229
|
-
await wire.answered();
|
|
214
|
+
await wire.finished(own ? signal : void 0);
|
|
230
215
|
wire.release();
|
|
231
216
|
await handle.close();
|
|
232
217
|
}, "serveAppOverStdio");
|
|
233
218
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
234
219
|
const { app } = options;
|
|
235
220
|
const { build } = createAppServer(command, context, options);
|
|
236
|
-
const { serveOverHttp } = await import("./serve-
|
|
221
|
+
const { serveOverHttp } = await import("./serve-FOQJ3WMX.js");
|
|
237
222
|
const listening = await serveOverHttp(build, {
|
|
238
223
|
...http,
|
|
239
224
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3URYKAJP.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.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/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,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4J5GJJ2I.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-A3Q3PG54.js";
|
|
10
10
|
import "./chunk-HNWDEDMU.js";
|
|
11
11
|
import "./chunk-4RJL32PF.js";
|
|
12
12
|
import {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
22
22
|
var customised = false;
|
|
23
23
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
24
24
|
try {
|
|
@@ -7,7 +7,7 @@ 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.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/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();
|