@wirecat/zoom-cli 0.66.0 → 0.68.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/README.md +2 -1
- package/constants.json +7 -0
- package/dist/answer-entities.d.ts +18 -0
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +12 -0
- package/dist/answer-entities.js.map +1 -1
- package/dist/answer-policy.d.ts.map +1 -1
- package/dist/answer-policy.js +2 -1
- package/dist/answer-policy.js.map +1 -1
- package/dist/answers.d.ts +4 -4
- package/dist/bin/main.js +3 -2
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-D5CFH2OK.js → all-profiles-R66UM3HM.js} +12 -11
- package/dist/bundle/answer-policy-UCGUO53A.js +104 -0
- package/dist/bundle/{anthropic-K2E2JS4S.js → anthropic-4ZI2BPLG.js} +7 -7
- package/dist/bundle/{app-server-TVXDG6HZ.js → app-server-64O5IQI5.js} +61 -57
- package/dist/bundle/{bun-O4WHGL2F.js → bun-HUHQD76Z.js} +2 -2
- package/dist/bundle/{bun-sqlite-HGBEHQI3.js → bun-sqlite-VOVHPTIF.js} +6 -6
- package/dist/bundle/{chunk-N6JMJN5A.js → chunk-2OSBCYJT.js} +39 -26
- package/dist/bundle/{chunk-7JMBEPW2.js → chunk-2T6XHWDX.js} +2 -2
- package/dist/bundle/chunk-32FPA7P2.js +35 -0
- package/dist/bundle/{chunk-NO24PJNW.js → chunk-355PHJYX.js} +1 -1
- package/dist/bundle/{chunk-NMQUCHTX.js → chunk-3BRV2YU2.js} +3 -3
- package/dist/bundle/{chunk-GNGBG5BT.js → chunk-474WF55M.js} +95 -48
- package/dist/bundle/{chunk-O5FKJV3T.js → chunk-4TLPOY22.js} +12 -12
- package/dist/bundle/{chunk-CR4CXOLX.js → chunk-4YFJYSSK.js} +205 -59
- package/dist/bundle/chunk-5JAYUG3X.js +261 -0
- package/dist/bundle/{chunk-5HPALDUO.js → chunk-65T3PU75.js} +3 -2
- package/dist/bundle/{chunk-QAPU2JNO.js → chunk-6CJ7NHIP.js} +13 -13
- package/dist/bundle/{chunk-LN2S3RA3.js → chunk-6T3P226D.js} +4 -4
- package/dist/bundle/{chunk-P3XVLHIQ.js → chunk-6TJ62LZQ.js} +22 -14
- package/dist/bundle/{chunk-FWFFQV4D.js → chunk-6XO7RTJY.js} +129 -9
- package/dist/bundle/{chunk-K5CIN4JP.js → chunk-77I67HWF.js} +8 -8
- package/dist/bundle/{chunk-3B7L2UX4.js → chunk-77KFLU5F.js} +3 -3
- package/dist/bundle/{chunk-2YLNUZ3T.js → chunk-7AUP2WT3.js} +3 -3
- package/dist/bundle/{chunk-7PF56S6U.js → chunk-7DUYFITC.js} +25 -23
- package/dist/bundle/{chunk-ZKTXUDSR.js → chunk-7QNJICKZ.js} +30 -26
- package/dist/bundle/{chunk-XWDSEJWP.js → chunk-A63ZFOQJ.js} +18 -4
- package/dist/bundle/{chunk-A2SCXNA7.js → chunk-AJ7CMUGD.js} +1396 -326
- package/dist/bundle/{chunk-Z6U3MEGJ.js → chunk-AVEIQMHZ.js} +4 -2
- package/dist/bundle/chunk-AYEVBAGO.js +178 -0
- package/dist/bundle/{chunk-SU4WPBQE.js → chunk-B6JMVB6R.js} +22 -23
- package/dist/bundle/{chunk-YLEQN6PB.js → chunk-BL36NSV5.js} +3 -3
- package/dist/bundle/{chunk-RMKHYUHK.js → chunk-BOAMDYLY.js} +4 -4
- package/dist/bundle/chunk-BSM43OMN.js +31 -0
- package/dist/bundle/{chunk-67RNZGAG.js → chunk-DGNPJGD3.js} +16 -10
- package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-DVA6MQWK.js} +1 -1
- package/dist/bundle/{chunk-AU4JHT3R.js → chunk-DWSUSWAX.js} +98 -13
- package/dist/bundle/{chunk-H5ZVZAOD.js → chunk-EH5QGQFR.js} +3 -3
- package/dist/bundle/chunk-EJDV5IIF.js +93 -0
- package/dist/bundle/{chunk-3WTKZ2ZS.js → chunk-EWIBLDQQ.js} +8 -8
- package/dist/bundle/{chunk-GHAPWKG2.js → chunk-EZRPSZJS.js} +3 -3
- package/dist/bundle/{chunk-QJHRYUMJ.js → chunk-FBLUKCIR.js} +1 -1
- package/dist/bundle/{chunk-S6S3KVJI.js → chunk-FEM2JQN2.js} +2 -1
- package/dist/bundle/{chunk-P2G4KGTR.js → chunk-FMQS7HCC.js} +12 -12
- package/dist/bundle/{chunk-ZNFPDTQM.js → chunk-FNQASORM.js} +2 -2
- package/dist/bundle/{chunk-GKXFL35E.js → chunk-GOXDBCDM.js} +728 -130
- package/dist/bundle/{chunk-U3ZUT557.js → chunk-HXOAPH47.js} +1 -1
- package/dist/bundle/{chunk-QV5ZGRK3.js → chunk-JO4YADNV.js} +7 -7
- package/dist/bundle/{chunk-5A26IBAR.js → chunk-JRCYFCPL.js} +30 -28
- package/dist/bundle/{chunk-ZTL7ANSG.js → chunk-K67V24AT.js} +5 -5
- package/dist/bundle/{chunk-BXSAROQP.js → chunk-KAPJQGHE.js} +2 -2
- package/dist/bundle/{chunk-TFDVFD4N.js → chunk-KNE6VFHZ.js} +97 -38
- package/dist/bundle/{chunk-AZ7ICKIA.js → chunk-KUB2U5NT.js} +6 -6
- package/dist/bundle/{chunk-GI6QVSCW.js → chunk-L4WVLRXM.js} +4 -4
- package/dist/bundle/{chunk-756RS4PH.js → chunk-LBOSTBAY.js} +2541 -1355
- package/dist/bundle/{chunk-62GOOZO3.js → chunk-LV7QRR5S.js} +6 -6
- package/dist/bundle/{chunk-J4EZL6HY.js → chunk-LYWUG43B.js} +33 -33
- package/dist/bundle/{chunk-N67BLTBV.js → chunk-NRRI37NJ.js} +28 -9
- package/dist/bundle/{chunk-N5JRRBEG.js → chunk-NUJMJQXV.js} +281 -10
- package/dist/bundle/{chunk-UYV2JGLQ.js → chunk-OE7EIP5L.js} +1 -1
- package/dist/bundle/{chunk-U4RVOSX3.js → chunk-P2TISY3R.js} +1 -1
- package/dist/bundle/{chunk-ILHTNOIV.js → chunk-P3ASN72F.js} +1 -1
- package/dist/bundle/{chunk-UOIXBEFR.js → chunk-PIHBD3YS.js} +16 -6
- package/dist/bundle/{chunk-BLT3LR3U.js → chunk-PUTGTW6W.js} +4 -2
- package/dist/bundle/{chunk-TUEEXECZ.js → chunk-QXTREL2M.js} +3 -3
- package/dist/bundle/{chunk-2VPHQFO5.js → chunk-R7LFGEDE.js} +2 -2
- package/dist/bundle/{chunk-IDWHJ35K.js → chunk-RGJ7OWHU.js} +4 -4
- package/dist/bundle/{chunk-3Y2F65AY.js → chunk-RP3U3J53.js} +10 -89
- package/dist/bundle/{chunk-JX3V35A5.js → chunk-RRYUD2EF.js} +3 -3
- package/dist/bundle/{chunk-XFUID5NY.js → chunk-SRP6SFFD.js} +2 -2
- package/dist/bundle/{chunk-7SQJCKR6.js → chunk-SSPSNSC5.js} +1 -1
- package/dist/bundle/{chunk-Q47C3QZW.js → chunk-TDGZMC6K.js} +510 -318
- package/dist/bundle/{chunk-EXXM4RNI.js → chunk-TN3FH2GQ.js} +11 -11
- package/dist/bundle/chunk-TUNQ6NE2.js +64 -0
- package/dist/bundle/{chunk-CAW6IMFZ.js → chunk-TZUKDM72.js} +72 -20
- package/dist/bundle/{chunk-S4GDDO5S.js → chunk-UDJTRFRV.js} +1 -1
- package/dist/bundle/{chunk-5GD2XZ6X.js → chunk-US5C3WAY.js} +63 -53
- package/dist/bundle/{chunk-7KCTPGOF.js → chunk-UU5PLDRA.js} +2 -2
- package/dist/bundle/{chunk-6TIKPRVQ.js → chunk-VLD7Y4SY.js} +7 -7
- package/dist/bundle/{chunk-PQLBPYJR.js → chunk-VW6BF6M7.js} +1 -1
- package/dist/bundle/chunk-W42BJ65M.js +37 -0
- package/dist/bundle/{chunk-KDKFGQWG.js → chunk-Y5LP5SHV.js} +15 -12
- package/dist/bundle/{chunk-TMVKZMDO.js → chunk-YJY3W2ZT.js} +232 -88
- package/dist/bundle/{chunk-6GSJLNP4.js → chunk-YOAEZSDG.js} +2 -2
- package/dist/bundle/{chunk-IKQ73INC.js → chunk-YQRNFG2E.js} +15849 -1674
- package/dist/bundle/{chunk-RO44LANT.js → chunk-YTF2WPV4.js} +1880 -778
- package/dist/bundle/{chunk-CZ4KLUJG.js → chunk-ZRD3NDOX.js} +2 -2
- package/dist/bundle/{cli-HWQIL2AC.js → cli-VQJ7ZRYR.js} +124 -69
- package/dist/bundle/command-contract-JPUWWYIV.js +41 -0
- package/dist/bundle/config-YGLLR77A.js +90 -0
- package/dist/bundle/{decode-XPAPPUGE.js → decode-L3ENO2XH.js} +6 -6
- package/dist/bundle/{dispatch-AKVJGP2S.js → dispatch-5MGDLOK4.js} +9 -9
- package/dist/bundle/{dist-LDIUQBM7.js → dist-WQLS7U23.js} +66 -17
- package/dist/bundle/{echarts-FMACRZQC.js → echarts-5LLJ6JXC.js} +2 -2
- package/dist/bundle/{embed-LK45GRQ7.js → embed-37MYTCU7.js} +7 -7
- package/dist/bundle/{embedder-QPBC5XBY.js → embedder-GNGHVJAO.js} +10 -10
- package/dist/bundle/{failure-7OULAOWQ.js → failure-CR64C4XA.js} +3 -3
- package/dist/bundle/{first-run-J5FG773Q.js → first-run-NR5JKYP3.js} +12 -12
- package/dist/bundle/first-screen-RCR7ATO2.js +39 -0
- package/dist/bundle/{folders-RHPUVMDI.js → folders-VU4IN35Y.js} +5 -5
- package/dist/bundle/{instructions-E5FXYCWF.js → instructions-P72XX4AK.js} +1 -1
- package/dist/bundle/{main-FJHE5YHU.js → main-QYFCYSTW.js} +23 -24
- package/dist/bundle/{mcp-MNI62HHE.js → mcp-M4QN2E7R.js} +2 -2
- package/dist/bundle/{meetings-MYIDGYGW.js → meetings-66UQINKI.js} +37 -7
- package/dist/bundle/{node-4SNKUPXT.js → node-ZB4RNICS.js} +2 -2
- package/dist/bundle/{node-sqlite-SYZUTVPC.js → node-sqlite-XPRKBDF3.js} +7 -7
- package/dist/bundle/{oauth-QPS5VTN6.js → oauth-WJRDUU5J.js} +8 -8
- package/dist/bundle/{open-OVCASRSJ.js → open-S2YSIEOW.js} +6 -6
- package/dist/bundle/openai-CRNZFNZD.js +25 -0
- package/dist/bundle/{output-file-K5JEL33Z.js → output-file-6COFGPUL.js} +6 -6
- package/dist/bundle/{process-HQZOTT6U.js → process-XNN4WG6N.js} +1 -1
- package/dist/bundle/{program-A546WC4F.js → program-BRPJKRCX.js} +181 -205
- package/dist/bundle/{prompt-CYBKP7S5.js → prompt-7RQOL25I.js} +6 -6
- package/dist/bundle/{recognize-3H3YDCFI.js → recognize-N5WADGQB.js} +5 -5
- package/dist/bundle/{remote-VAYVTJBS.js → remote-WHYV35IF.js} +8 -8
- package/dist/bundle/{rerank-XA4GA5PS.js → rerank-FBMZVWSH.js} +8 -8
- package/dist/bundle/{run-log-XAFHMI3F.js → run-log-TOCHREH2.js} +59 -57
- package/dist/bundle/{serve-KGHEDUHB.js → serve-4BABX4WS.js} +10 -10
- package/dist/bundle/{server-ZYTSMDTP.js → server-CDVI6LOB.js} +47 -46
- package/dist/bundle/server-XOFQKFVO.js +72 -0
- package/dist/bundle/{services-ZHMZC2OQ.js → services-PIY33I7R.js} +59 -32
- package/dist/bundle/{speech-7CJEFKM3.js → speech-LS5Q4FL2.js} +14 -14
- package/dist/bundle/{state-U6KSYVOH.js → state-YUX5R2R7.js} +7 -7
- package/dist/bundle/{store-DJE3LAEG.js → store-BD7HAXAA.js} +22 -17
- package/dist/bundle/{store-WS4CQGYU.js → store-ERMGBF2B.js} +59 -30
- package/dist/bundle/store-connection-JBR6CMTJ.js +83 -0
- package/dist/bundle/store-maintenance-command-I5DUSO2C.js +62 -0
- package/dist/bundle/{streaming-QMHH7L6N.js → streaming-O53PIORL.js} +7 -7
- package/dist/bundle/{tokens-PWQ56OXO.js → tokens-QKNEP2GJ.js} +7 -7
- package/dist/bundle/zm.js +9 -10
- package/dist/bundle/zoom-app-XJXZ4ZBX.js +41 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +1 -0
- package/dist/commands.js.map +1 -1
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +48 -10
- package/dist/config.js.map +1 -1
- package/dist/identity.d.ts +1 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +11 -0
- package/dist/identity.js.map +1 -1
- package/dist/meeting-source.d.ts.map +1 -1
- package/dist/meeting-source.js +2 -1
- package/dist/meeting-source.js.map +1 -1
- package/dist/meeting-stats-commands.d.ts +4 -2
- package/dist/meeting-stats-commands.d.ts.map +1 -1
- package/dist/meeting-stats-commands.js +27 -2
- package/dist/meeting-stats-commands.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +10 -4
- package/dist/program-bindings.js.map +1 -1
- package/dist/recording-schedule-setup.d.ts.map +1 -1
- package/dist/recording-schedule-setup.js +5 -5
- package/dist/recording-schedule-setup.js.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +2 -6
- package/dist/run.js.map +1 -1
- package/dist/setup-commands.d.ts +7 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +45 -8
- package/dist/setup-commands.js.map +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +6 -0
- package/dist/store-commands.js.map +1 -1
- package/dist/store-connection.d.ts +2 -1
- package/dist/store-connection.d.ts.map +1 -1
- package/dist/store-connection.js +4 -0
- package/dist/store-connection.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/watch-service.d.ts +1 -1
- package/dist/watch-service.d.ts.map +1 -1
- package/dist/watch-service.js +5 -3
- package/dist/watch-service.js.map +1 -1
- package/dist/zoom-app.d.ts +49 -0
- package/dist/zoom-app.d.ts.map +1 -0
- package/dist/zoom-app.js +83 -0
- package/dist/zoom-app.js.map +1 -0
- package/package.json +4 -3
- package/skills/zoom-cli/SKILL.md +4 -1
- package/dist/bundle/answer-policy-YAYMKRRD.js +0 -101
- package/dist/bundle/chunk-2T5BOLBS.js +0 -132
- package/dist/bundle/chunk-HKQWV3KT.js +0 -31
- package/dist/bundle/chunk-L7IK4FOA.js +0 -18
- package/dist/bundle/chunk-P2SYZNM4.js +0 -19
- package/dist/bundle/chunk-TN7K66PU.js +0 -9
- package/dist/bundle/command-contract-CQFJXWX6.js +0 -40
- package/dist/bundle/config-R2Y6ZVQS.js +0 -83
- package/dist/bundle/first-screen-MULOBUHN.js +0 -38
- package/dist/bundle/openai-VEVT7D7L.js +0 -25
- package/dist/bundle/server-IDNSJXF3.js +0 -71
- package/dist/bundle/store-connection-T5WGOOPH.js +0 -81
- package/dist/bundle/store-maintenance-command-5CBQCEQQ.js +0 -61
- /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-VOXIGICJ.js} +0 -0
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PRAGMAS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PUTGTW6W.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FEM2JQN2.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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
14
14
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
15
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
16
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
31
31
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
32
|
}, "isSqliteWarning");
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
35
35
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
36
|
const database = await openFile(path);
|
|
37
37
|
try {
|
|
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
44
44
|
}, "openCache");
|
|
45
45
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
46
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
47
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-VOVHPTIF.js");
|
|
48
48
|
return await openWithBunSqlite(path);
|
|
49
49
|
}, "openUnderBun");
|
|
50
50
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
51
|
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
52
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-XPRKBDF3.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
registerPrompts,
|
|
14
14
|
stdinFieldOf,
|
|
15
15
|
syncsFirst
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-474WF55M.js";
|
|
17
17
|
import {
|
|
18
18
|
answeredWire
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HXOAPH47.js";
|
|
20
20
|
import {
|
|
21
21
|
BinaryResource,
|
|
22
22
|
Picture,
|
|
@@ -37,45 +37,45 @@ import {
|
|
|
37
37
|
tool,
|
|
38
38
|
toolKey,
|
|
39
39
|
toolsFromCommands
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-YJY3W2ZT.js";
|
|
41
41
|
import {
|
|
42
42
|
agentJson,
|
|
43
43
|
skillResource
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-7DUYFITC.js";
|
|
45
45
|
import {
|
|
46
46
|
StdioServerTransport,
|
|
47
47
|
callerOf,
|
|
48
48
|
callingAgent,
|
|
49
49
|
serveStdio
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-UU5PLDRA.js";
|
|
51
51
|
import {
|
|
52
52
|
instructions
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-UDJTRFRV.js";
|
|
54
54
|
import {
|
|
55
55
|
McpServer,
|
|
56
56
|
ResourceTemplate
|
|
57
57
|
} from "./chunk-5D4AEUVA.js";
|
|
58
58
|
import {
|
|
59
59
|
mcpHttpMarker
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-6T3P226D.js";
|
|
61
61
|
import {
|
|
62
62
|
connectedFor,
|
|
63
63
|
guardFor
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-US5C3WAY.js";
|
|
65
65
|
import {
|
|
66
66
|
lackedNeed,
|
|
67
67
|
wholeList
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-2OSBCYJT.js";
|
|
69
69
|
import {
|
|
70
70
|
capability,
|
|
71
71
|
dateWindow,
|
|
72
72
|
imageSize,
|
|
73
73
|
servicesFor,
|
|
74
74
|
storedDeps
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-YTF2WPV4.js";
|
|
76
76
|
import {
|
|
77
77
|
findCommand
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-K67V24AT.js";
|
|
79
79
|
import {
|
|
80
80
|
DEFAULT_OUTPUT_BYTES,
|
|
81
81
|
changesAuthorityAt,
|
|
@@ -88,33 +88,33 @@ import {
|
|
|
88
88
|
rootOf2 as rootOf,
|
|
89
89
|
sealed,
|
|
90
90
|
snakeKeys
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-AJ7CMUGD.js";
|
|
92
92
|
import {
|
|
93
93
|
readOnlyLockOf
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-AVEIQMHZ.js";
|
|
95
95
|
import {
|
|
96
96
|
withCaller
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-RP3U3J53.js";
|
|
98
98
|
import {
|
|
99
99
|
typedCommand
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-JRCYFCPL.js";
|
|
101
101
|
import {
|
|
102
102
|
isCliFailure
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-YOAEZSDG.js";
|
|
104
104
|
import {
|
|
105
105
|
levelFor,
|
|
106
106
|
readKeysForCommand
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-65T3PU75.js";
|
|
108
108
|
import {
|
|
109
109
|
openStore,
|
|
110
110
|
pdfPreviewLimits
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-YQRNFG2E.js";
|
|
112
112
|
import {
|
|
113
113
|
warmEmbedders
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-KUB2U5NT.js";
|
|
115
115
|
import {
|
|
116
116
|
timezoneOf
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-B6JMVB6R.js";
|
|
118
118
|
import {
|
|
119
119
|
description,
|
|
120
120
|
integer,
|
|
@@ -130,21 +130,21 @@ import {
|
|
|
130
130
|
regex,
|
|
131
131
|
strictObject,
|
|
132
132
|
string
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-NRRI37NJ.js";
|
|
134
134
|
import {
|
|
135
135
|
CliError
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-FEM2JQN2.js";
|
|
137
137
|
import {
|
|
138
138
|
visibleControls
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-OE7EIP5L.js";
|
|
140
140
|
import {
|
|
141
141
|
__name
|
|
142
142
|
} from "./chunk-ZVVMGPBJ.js";
|
|
143
143
|
|
|
144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
145
145
|
import { randomUUID } from "node:crypto";
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
148
148
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
149
149
|
let held;
|
|
150
150
|
return {
|
|
@@ -163,7 +163,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
163
163
|
};
|
|
164
164
|
}, "agentLog");
|
|
165
165
|
|
|
166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
166
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
167
167
|
var LISTED = 100;
|
|
168
168
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
169
169
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -201,7 +201,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
201
201
|
});
|
|
202
202
|
}, "registerResources");
|
|
203
203
|
|
|
204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
205
205
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
206
206
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
207
207
|
var MessengerSession = class {
|
|
@@ -276,7 +276,7 @@ var MessengerSession = class {
|
|
|
276
276
|
}
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
280
280
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
281
281
|
const _command = messenger.app.command;
|
|
282
282
|
return {
|
|
@@ -330,7 +330,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
330
330
|
};
|
|
331
331
|
}, "attachmentsTools");
|
|
332
332
|
|
|
333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
334
334
|
var PHOTO_LIMIT = 512 * 1024;
|
|
335
335
|
var IMAGE_TYPES = [
|
|
336
336
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -384,7 +384,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
384
384
|
return new Uint8Array(Buffer.concat(chunks));
|
|
385
385
|
}, "readUpTo");
|
|
386
386
|
|
|
387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
388
388
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
389
389
|
stats_charts: tool({
|
|
390
390
|
title: "A chart from a chat's statistics",
|
|
@@ -421,14 +421,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
421
421
|
})
|
|
422
422
|
}), "statsTools");
|
|
423
423
|
|
|
424
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
424
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
425
425
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
426
426
|
...messagesPhotoTools(messenger),
|
|
427
427
|
...attachmentsTools(messenger),
|
|
428
428
|
...statsTools(messenger)
|
|
429
429
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
430
430
|
|
|
431
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
431
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
432
432
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
433
433
|
"streams",
|
|
434
434
|
"stdin",
|
|
@@ -752,7 +752,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
752
752
|
}, "serveOverStdio");
|
|
753
753
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
754
754
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
755
|
-
const { serveOverHttp } = await import("./serve-
|
|
755
|
+
const { serveOverHttp } = await import("./serve-4BABX4WS.js");
|
|
756
756
|
const appName = messenger.app.command;
|
|
757
757
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
758
758
|
const listening = await serveOverHttp(build, {
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
errorCodes,
|
|
5
5
|
isCliError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FEM2JQN2.js";
|
|
7
7
|
import {
|
|
8
8
|
visibleControls
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OE7EIP5L.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
|
|
15
15
|
var EXIT_CODES = {
|
|
16
16
|
validation_error: 2,
|
|
17
17
|
configuration_error: 3,
|
|
@@ -26,6 +26,7 @@ var EXIT_CODES = {
|
|
|
26
26
|
provider_unavailable: 12,
|
|
27
27
|
invalid_response: 13,
|
|
28
28
|
outcome_unknown: 14,
|
|
29
|
+
conflict: 15,
|
|
29
30
|
cancelled: 130
|
|
30
31
|
};
|
|
31
32
|
var exitCodeFor = /* @__PURE__ */ __name((code) => EXIT_CODES[code], "exitCodeFor");
|
|
@@ -1265,7 +1266,7 @@ function unwrap(schema) {
|
|
|
1265
1266
|
}
|
|
1266
1267
|
__name(unwrap, "unwrap");
|
|
1267
1268
|
|
|
1268
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1269
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
|
|
1269
1270
|
var EFFECT_LEVELS = ["none", "read", "write"];
|
|
1270
1271
|
var effectsSchema = strictObject({
|
|
1271
1272
|
remote: picklist(EFFECT_LEVELS),
|
|
@@ -1902,7 +1903,7 @@ function toStandardJsonSchema(schema) {
|
|
|
1902
1903
|
}
|
|
1903
1904
|
__name(toStandardJsonSchema, "toStandardJsonSchema");
|
|
1904
1905
|
|
|
1905
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1906
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
|
|
1906
1907
|
var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
|
|
1907
1908
|
var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
|
|
1908
1909
|
var text = pipe(string(), regex(/\S/, "must not be empty"));
|
|
@@ -1944,7 +1945,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
|
|
|
1944
1945
|
return String(value);
|
|
1945
1946
|
}), "fill");
|
|
1946
1947
|
|
|
1947
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1948
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
|
|
1948
1949
|
var MAX_NEXT_STEPS = 2;
|
|
1949
1950
|
var COMPACT_FLAG = "--compact";
|
|
1950
1951
|
var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
|
|
@@ -2020,6 +2021,17 @@ var metaSchema = strictObject({
|
|
|
2020
2021
|
now_local: optional(localTime),
|
|
2021
2022
|
window: optional(strictObject({ since: optional(isoTime), until: optional(isoTime) }))
|
|
2022
2023
|
});
|
|
2024
|
+
var offsetOf = /* @__PURE__ */ __name((at, zone) => {
|
|
2025
|
+
const name = new Intl.DateTimeFormat("en-US", { timeZone: zone, timeZoneName: "longOffset" }).formatToParts(at).find((part) => part.type === "timeZoneName")?.value ?? "GMT";
|
|
2026
|
+
return name === "GMT" ? "+00:00" : name.slice(3);
|
|
2027
|
+
}, "offsetOf");
|
|
2028
|
+
var clockMeta = /* @__PURE__ */ __name((at, zone) => {
|
|
2029
|
+
const offset = offsetOf(at, zone);
|
|
2030
|
+
const sign = offset.startsWith("-") ? -1 : 1;
|
|
2031
|
+
const [hours = 0, minutes = 0] = offset.slice(1).split(":").map(Number);
|
|
2032
|
+
const wall = new Date(at + sign * (hours * 60 + minutes) * 6e4).toISOString().slice(0, -1);
|
|
2033
|
+
return { now: new Date(at).toISOString(), now_local: `${wall}${offset}`, timezone: zone };
|
|
2034
|
+
}, "clockMeta");
|
|
2023
2035
|
var nextSteps = optional(pipe(array(nextStepSchema), maxLength(MAX_NEXT_STEPS)));
|
|
2024
2036
|
var listEnvelopeSchema = /* @__PURE__ */ __name((item) => strictObject({
|
|
2025
2037
|
items: array(item),
|
|
@@ -2045,7 +2057,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
|
|
|
2045
2057
|
JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
|
|
2046
2058
|
].join("\n"), "jsonlOf");
|
|
2047
2059
|
|
|
2048
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2060
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
|
|
2049
2061
|
var CRASH_CODE = "internal_error";
|
|
2050
2062
|
var CRASH_REASON = "command.crashed";
|
|
2051
2063
|
var errorObjectSchema = strictObject({
|
|
@@ -2128,11 +2140,17 @@ var BASE_REASONS = defineReasons([
|
|
|
2128
2140
|
details: []
|
|
2129
2141
|
},
|
|
2130
2142
|
{ reason: "outcome.unknown", code: "outcome_unknown", message: "it is not known whether it worked", details: [] },
|
|
2143
|
+
{
|
|
2144
|
+
reason: "write.conflict",
|
|
2145
|
+
code: "conflict",
|
|
2146
|
+
message: "it changed since it was read; read it again",
|
|
2147
|
+
details: []
|
|
2148
|
+
},
|
|
2131
2149
|
{ reason: "command.cancelled", code: "cancelled", message: "the command was cancelled", details: [] },
|
|
2132
2150
|
{ reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
|
|
2133
2151
|
]);
|
|
2134
2152
|
|
|
2135
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2153
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
|
|
2136
2154
|
var SAME_COMMAND = "*";
|
|
2137
2155
|
var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
|
|
2138
2156
|
var stepSchema = union([
|
|
@@ -2211,7 +2229,7 @@ var STEPS = defineSteps([
|
|
|
2211
2229
|
}
|
|
2212
2230
|
]);
|
|
2213
2231
|
|
|
2214
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2232
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
|
|
2215
2233
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
2216
2234
|
if (isCliError(failure))
|
|
2217
2235
|
return failure;
|
|
@@ -2423,6 +2441,7 @@ export {
|
|
|
2423
2441
|
isoTime,
|
|
2424
2442
|
reference,
|
|
2425
2443
|
pageSchema,
|
|
2444
|
+
clockMeta,
|
|
2426
2445
|
listEnvelopeSchema,
|
|
2427
2446
|
itemEnvelopeSchema,
|
|
2428
2447
|
jsonlOf,
|