@wirecat/zoom-cli 0.65.0 → 0.67.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/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/bin/zm.js.map +1 -1
- package/dist/bundle/{all-profiles-SKMLZJSY.js → all-profiles-SEW2VL76.js} +12 -8
- package/dist/bundle/answer-policy-5OYUL6UF.js +103 -0
- package/dist/bundle/{anthropic-TVHK7CY2.js → anthropic-FSNASJML.js} +7 -4
- package/dist/bundle/{app-server-44ASFH47.js → app-server-EVSRYJ3H.js} +66 -59
- package/dist/bundle/{bun-O4WHGL2F.js → bun-DACL5SVO.js} +2 -2
- package/dist/bundle/{bun-sqlite-NS32GMM4.js → bun-sqlite-HQ2KOXSI.js} +6 -3
- package/dist/bundle/chunk-2UW533HQ.js +166 -0
- package/dist/bundle/{chunk-FYJL276J.js → chunk-3GO3KME7.js} +3 -3
- package/dist/bundle/{chunk-Z5424QL6.js → chunk-3ZIHUSMM.js} +2 -2
- package/dist/bundle/{chunk-MRWIXUYT.js → chunk-4GCKDO2H.js} +5 -3
- package/dist/bundle/{chunk-7SQJCKR6.js → chunk-4KDZ22RA.js} +1 -1
- package/dist/bundle/{chunk-25IDWPEN.js → chunk-4U2555EQ.js} +35 -31
- package/dist/bundle/{chunk-UKU6MYUI.js → chunk-4UVT2QCO.js} +9 -20
- package/dist/bundle/{chunk-ZOGYTDHG.js → chunk-4ZR5DJ26.js} +5 -3
- package/dist/bundle/{chunk-CVCRQW3A.js → chunk-54RTMQL6.js} +4 -4
- package/dist/bundle/chunk-6AJDVJVZ.js +35 -0
- package/dist/bundle/chunk-6IBM4Z3V.js +34 -0
- package/dist/bundle/{chunk-CNEE6TPE.js → chunk-6TZF2JP7.js} +13 -13
- package/dist/bundle/{chunk-QLCYAQ66.js → chunk-6UFWFKFH.js} +2 -2
- package/dist/bundle/chunk-6VFORXL3.js +101 -0
- package/dist/bundle/{chunk-M6IDHQ7N.js → chunk-7HAIM7GV.js} +1633 -683
- package/dist/bundle/{chunk-FYM27FCG.js → chunk-7K5TDTZY.js} +13 -7
- package/dist/bundle/{chunk-NO24PJNW.js → chunk-7LLUUXJB.js} +1 -1
- package/dist/bundle/{chunk-VJTGYBJJ.js → chunk-7VU5UGRR.js} +37 -29
- package/dist/bundle/{chunk-ZH743WNV.js → chunk-AAZFLJSH.js} +25 -24
- package/dist/bundle/{chunk-DYJXAY7Q.js → chunk-ASCHAVNW.js} +35 -27
- package/dist/bundle/{chunk-EA63UGWE.js → chunk-B3KWAULD.js} +2 -2
- package/dist/bundle/{chunk-H7762LDA.js → chunk-B5Z4XPVS.js} +2 -2
- package/dist/bundle/{chunk-UPJXN2CO.js → chunk-BKY4XVB4.js} +1787 -1224
- package/dist/bundle/{chunk-QI7BZS2G.js → chunk-C6UKW7JO.js} +6 -6
- package/dist/bundle/{chunk-U3ZUT557.js → chunk-CLEZE65P.js} +1 -1
- package/dist/bundle/{chunk-37PHGASE.js → chunk-CRLBTNC4.js} +5 -3
- package/dist/bundle/{chunk-VH4F2EK4.js → chunk-D4KBD63W.js} +1 -1
- package/dist/bundle/{chunk-DNCKH7CO.js → chunk-D6OXI2NV.js} +17 -17
- package/dist/bundle/{chunk-LPUFOWL3.js → chunk-D72URWJE.js} +1 -39
- package/dist/bundle/{chunk-GMTXCFI7.js → chunk-DFUPETW7.js} +449 -308
- package/dist/bundle/{chunk-VW2SW7ME.js → chunk-DG4DWAU7.js} +3 -3
- package/dist/bundle/{chunk-U5ASRBBF.js → chunk-EPDRF66S.js} +4 -4
- package/dist/bundle/{chunk-BNXH73OU.js → chunk-EQ7XRRKV.js} +14 -12
- package/dist/bundle/{chunk-5NGOP4EZ.js → chunk-ESFMHBHH.js} +38 -35
- package/dist/bundle/{chunk-GEX4V5TM.js → chunk-EUPZSR2G.js} +4 -4
- package/dist/bundle/{chunk-KZE3G4ZT.js → chunk-FGTPREAZ.js} +58 -54
- package/dist/bundle/{chunk-MH7AWCB4.js → chunk-FWU3ZYHE.js} +68 -64
- package/dist/bundle/{chunk-MPKKIL3U.js → chunk-FXQPK742.js} +63 -21
- package/dist/bundle/{chunk-PV3UDPCI.js → chunk-GP4NSYDU.js} +20 -14
- package/dist/bundle/{chunk-ZFNM3FNI.js → chunk-I7SOXH64.js} +75 -38
- package/dist/bundle/{chunk-S4GDDO5S.js → chunk-IFDO3YPJ.js} +1 -1
- package/dist/bundle/{chunk-LOL6JYYN.js → chunk-J3ZBEWQY.js} +375 -9
- package/dist/bundle/chunk-JVCHGI7W.js +37 -0
- package/dist/bundle/{chunk-MZ6U6HNJ.js → chunk-KANH7GBB.js} +2 -2
- package/dist/bundle/{chunk-3CZIWGZ6.js → chunk-KIJLM5UL.js} +1 -1
- package/dist/bundle/chunk-KV4267S4.js +23 -0
- package/dist/bundle/{chunk-266WOOB3.js → chunk-KWRSC6O6.js} +6 -6
- package/dist/bundle/{chunk-C6BG57FA.js → chunk-L643D4RJ.js} +14 -12
- package/dist/bundle/{chunk-IPTI3Y2E.js → chunk-L6CAUVMU.js} +7 -5
- package/dist/bundle/{chunk-MIB5X2XW.js → chunk-L6WUAGPN.js} +5 -5
- package/dist/bundle/{chunk-BWRBALXG.js → chunk-LFQ73UFK.js} +3 -3
- package/dist/bundle/{chunk-GBZF4IIP.js → chunk-LKJXTACE.js} +10 -89
- package/dist/bundle/{chunk-T3KICUOK.js → chunk-LM26DJOK.js} +8 -8
- package/dist/bundle/{chunk-GXCNCMUY.js → chunk-M43MBWJX.js} +3260 -1263
- package/dist/bundle/{chunk-TC7PD3LH.js → chunk-MWEOVTIF.js} +4 -4
- package/dist/bundle/chunk-NTZDM5SJ.js +2462 -0
- package/dist/bundle/{chunk-ERPRAYA7.js → chunk-OTMGAKUM.js} +11 -7
- package/dist/bundle/chunk-OZEYFJX2.js +93 -0
- package/dist/bundle/{chunk-NJSIHMAE.js → chunk-Q65SDEFN.js} +4 -4
- package/dist/bundle/{chunk-UMHJZWZU.js → chunk-QEI55M2F.js} +12 -10
- package/dist/bundle/{chunk-SQWRZZOQ.js → chunk-QX2MAT6I.js} +3 -3
- package/dist/bundle/{chunk-ZXGRK44F.js → chunk-RAMPYIO2.js} +17 -12
- package/dist/bundle/{chunk-BLT3LR3U.js → chunk-RYKG6AEH.js} +1 -1
- package/dist/bundle/{chunk-WLSF3GCC.js → chunk-SCFFCIIP.js} +4 -2
- package/dist/bundle/{chunk-2H5SXK7K.js → chunk-SMVO5R3T.js} +21 -19
- package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-SOZVC3SV.js} +1 -1
- package/dist/bundle/{chunk-6CS7ETBK.js → chunk-SSXCOUP3.js} +1114 -282
- package/dist/bundle/{chunk-R5BAF5XE.js → chunk-SXFODCYK.js} +1 -1
- package/dist/bundle/{chunk-JF7ZEUXU.js → chunk-T6CZWSHF.js} +136 -2540
- package/dist/bundle/{chunk-KYLS5QGC.js → chunk-TBRG2DPE.js} +2 -2
- package/dist/bundle/{chunk-K6ATTKQR.js → chunk-V33VGWT3.js} +5 -5
- package/dist/bundle/{chunk-RZLNHNSS.js → chunk-VFIEYRYD.js} +8 -8
- package/dist/bundle/{chunk-OXUHTKO2.js → chunk-VNIBTNV4.js} +3 -2
- package/dist/bundle/{chunk-ZREFYKUB.js → chunk-VQTAU4DV.js} +13 -11
- package/dist/bundle/{chunk-NNNEVWFF.js → chunk-WHQ4ZCJI.js} +57 -34
- package/dist/bundle/chunk-WZ5XK74U.js +46 -0
- package/dist/bundle/{chunk-XJQB47IL.js → chunk-X67YD3QI.js} +6 -6
- package/dist/bundle/chunk-YPF6OS37.js +46 -0
- package/dist/bundle/{chunk-AMMD6YCJ.js → chunk-YRNZT4GQ.js} +7 -7
- package/dist/bundle/{chunk-TUIEDVI6.js → chunk-Z3WXI4DK.js} +5 -3
- package/dist/bundle/{chunk-U4RVOSX3.js → chunk-ZMPTO2WB.js} +1 -1
- package/dist/bundle/{chunk-24F7JBLY.js → chunk-ZRMZBMOF.js} +69 -9
- package/dist/bundle/{cli-FDO6CP6R.js → cli-YUATSOLA.js} +113 -81
- package/dist/bundle/command-contract-UWHY55UE.js +41 -0
- package/dist/bundle/config-TGF6E6ZD.js +89 -0
- package/dist/bundle/{decode-7SZI3TGZ.js → decode-IL44LNC3.js} +6 -3
- package/dist/bundle/dispatch-3BGIXSJR.js +412 -0
- package/dist/bundle/{dist-5GWUXW27.js → dist-3W27UQ2S.js} +48 -16
- package/dist/bundle/{echarts-FMACRZQC.js → echarts-CO4D26JF.js} +2 -2
- package/dist/bundle/{embed-24YSXHLP.js → embed-XH2X4DFM.js} +7 -4
- package/dist/bundle/{embedder-MEXN2TFB.js → embedder-WTFWDXBJ.js} +12 -9
- package/dist/bundle/failure-HTIS3NLS.js +25 -0
- package/dist/bundle/first-run-5RBH7FDO.js +28 -0
- package/dist/bundle/first-screen-PGFIXJAX.js +39 -0
- package/dist/bundle/{folders-DBAAMU26.js → folders-F4DNQPIY.js} +5 -2
- package/dist/bundle/{instructions-E5FXYCWF.js → instructions-EPPBL6TT.js} +1 -1
- package/dist/bundle/{main-EIUCXXDW.js → main-LVQTCDZS.js} +31 -25
- package/dist/bundle/{mcp-FUSDPAOL.js → mcp-PPVOM4SE.js} +5 -3
- package/dist/bundle/{meetings-JDTRGXZJ.js → meetings-BMELXRTR.js} +31 -4
- package/dist/bundle/{node-4SNKUPXT.js → node-CQVMWVIG.js} +2 -2
- package/dist/bundle/{node-sqlite-O4BAODFR.js → node-sqlite-QQEX7LZT.js} +7 -4
- package/dist/bundle/{oauth-3YLHXGUW.js → oauth-AYGX7CQS.js} +8 -5
- package/dist/bundle/{open-QGRMSNM2.js → open-MIL2TOT6.js} +6 -3
- package/dist/bundle/openai-7QZZXQW5.js +25 -0
- package/dist/bundle/{output-file-J26UQKRA.js → output-file-4XADZPYH.js} +7 -4
- package/dist/bundle/{process-HQZOTT6U.js → process-NJVQK6GB.js} +1 -1
- package/dist/bundle/{program-47DT7SHE.js → program-WUYRS6H7.js} +191 -135
- package/dist/bundle/{prompt-IUD7HCDC.js → prompt-J4QPFLEA.js} +6 -3
- package/dist/bundle/{recognize-DMJJHHXF.js → recognize-OLJZVNWW.js} +5 -2
- package/dist/bundle/{remote-5WFSOVVB.js → remote-JPUXNYLV.js} +8 -5
- package/dist/bundle/{rerank-UKQ65ECH.js → rerank-XVV3X5TT.js} +8 -5
- package/dist/bundle/run-log-DJXBEVS5.js +118 -0
- package/dist/bundle/{serve-WAOSED3I.js → serve-NYYUO3MR.js} +16 -13
- package/dist/bundle/{server-NWZFNXC5.js → server-4Z5E4YTT.js} +48 -42
- package/dist/bundle/server-VW5UVCH7.js +72 -0
- package/dist/bundle/{services-VPANRE72.js → services-EKWM76HP.js} +50 -28
- package/dist/bundle/{speech-O6UNUDRW.js → speech-WFJ44ACJ.js} +14 -11
- package/dist/bundle/{state-BNE7I65A.js → state-VIRCT4VW.js} +7 -4
- package/dist/bundle/{store-4IIVSCJ4.js → store-2Q4GEZJS.js} +30 -18
- package/dist/bundle/{store-QQH4FJXJ.js → store-ZTDZ6UY5.js} +20 -14
- package/dist/bundle/store-connection-FKVVQLEF.js +83 -0
- package/dist/bundle/store-maintenance-command-AU73UVUQ.js +62 -0
- package/dist/bundle/{streaming-S4EZB6P2.js → streaming-7BPKIGAS.js} +7 -4
- package/dist/bundle/{tokens-VCXIH7WZ.js → tokens-CQHMMKNX.js} +7 -4
- package/dist/bundle/zm.js +150 -1
- package/dist/bundle/zoom-app-OEKFMJS6.js +25 -0
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +46 -7
- package/dist/config.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 +3 -2
- 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 +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +30 -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 +17 -0
- package/dist/zoom-app.d.ts.map +1 -0
- package/dist/zoom-app.js +22 -0
- package/dist/zoom-app.js.map +1 -0
- package/package.json +6 -4
- package/skills/zoom-cli/SKILL.md +4 -1
- package/dist/bundle/answer-policy-BHDNSJWX.js +0 -96
- package/dist/bundle/chunk-A6OA2EH2.js +0 -18
- package/dist/bundle/command-contract-O4FDXM4U.js +0 -37
- package/dist/bundle/config-UBHKZG3J.js +0 -78
- package/dist/bundle/first-run-OCVEJH63.js +0 -23
- package/dist/bundle/first-screen-KJIU25MH.js +0 -35
- package/dist/bundle/openai-7PSCSTH7.js +0 -22
- package/dist/bundle/run-log-UGYL6NW2.js +0 -111
- package/dist/bundle/server-HAXN772R.js +0 -66
- package/dist/bundle/store-connection-PPEQK2K3.js +0 -76
- package/dist/bundle/store-maintenance-command-JZXCT6NY.js +0 -56
- /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
|
@@ -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-WZ5XK74U.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.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/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();
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
modelsDirectory,
|
|
8
8
|
speechModel,
|
|
9
9
|
vadPath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EPDRF66S.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WZ5XK74U.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/speech/local.js
|
|
19
19
|
import { createHash } from "node:crypto";
|
|
20
20
|
import { isAbsolute } from "node:path";
|
|
21
21
|
import { setImmediate } from "node:timers/promises";
|
|
@@ -50,7 +50,7 @@ var recognizeLocalPieces = /* @__PURE__ */ __name(async (id, audio, options = {}
|
|
|
50
50
|
const directory = options.directory ?? modelsDirectory(options.env);
|
|
51
51
|
if (!isInstalled(model, directory))
|
|
52
52
|
throw notInstalled(model.id);
|
|
53
|
-
const { openRecognizer, toModelRate } = await import("./recognize-
|
|
53
|
+
const { openRecognizer, toModelRate } = await import("./recognize-OLJZVNWW.js");
|
|
54
54
|
const engine = (options.open ?? openRecognizer)(model, modelPath(directory, model), vadPath(directory));
|
|
55
55
|
try {
|
|
56
56
|
if (!engine.pieces)
|
|
@@ -71,7 +71,7 @@ var openLocalSpeechRecognizer = /* @__PURE__ */ __name(async (id, input = {}) =>
|
|
|
71
71
|
cancelled(options.signal);
|
|
72
72
|
if (!isInstalled(model, directory))
|
|
73
73
|
throw notInstalled(description.model);
|
|
74
|
-
const { openRecognizer, toModelRate } = await import("./recognize-
|
|
74
|
+
const { openRecognizer, toModelRate } = await import("./recognize-OLJZVNWW.js");
|
|
75
75
|
cancelled(options.signal);
|
|
76
76
|
const engine = (options.open ?? openRecognizer)(model, modelPath(directory, model), vadPath(directory));
|
|
77
77
|
let closing = false;
|
|
@@ -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-WZ5XK74U.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.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
11
11
|
var LANGUAGES = [
|
|
12
12
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
13
13
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -15,12 +15,12 @@ var LANGUAGES = [
|
|
|
15
15
|
];
|
|
16
16
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
19
19
|
var NORMALIZER_VERSION = 1;
|
|
20
20
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
21
21
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
24
24
|
var BaseStemmer = class {
|
|
25
25
|
static {
|
|
26
26
|
__name(this, "BaseStemmer");
|
|
@@ -395,7 +395,7 @@ var BaseStemmer = class {
|
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
399
399
|
var a_0 = [
|
|
400
400
|
["arsen", -1],
|
|
401
401
|
["commun", -1],
|
|
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1096
1096
|
stemWord = this.stem;
|
|
1097
1097
|
};
|
|
1098
1098
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1100
1100
|
var a_02 = [
|
|
1101
1101
|
["\u0432", 1],
|
|
1102
1102
|
["\u0438\u0432", 2, 1],
|
|
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1519
1519
|
stemWord = this.stem;
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1523
1523
|
var a_03 = [
|
|
1524
1524
|
["", 6],
|
|
1525
1525
|
["\xE1", 1, 1],
|
|
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2195
2195
|
stemWord = this.stem;
|
|
2196
2196
|
};
|
|
2197
2197
|
|
|
2198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2199
2199
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2200
2200
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2201
2201
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -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-WZ5XK74U.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.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
11
11
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
12
12
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
13
13
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -253,6 +253,7 @@ var NAMED_WRITE_KEYS = [
|
|
|
253
253
|
"mentions.reject",
|
|
254
254
|
"tags.add",
|
|
255
255
|
"tags.remove",
|
|
256
|
+
"tasks.acknowledge",
|
|
256
257
|
"tasks.add",
|
|
257
258
|
"tasks.claim",
|
|
258
259
|
"tasks.close",
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
wrapAnsi
|
|
5
|
+
} from "./chunk-HTQTIKWP.js";
|
|
3
6
|
import {
|
|
4
7
|
commandPathOf,
|
|
5
8
|
findCommand,
|
|
6
9
|
outputOf
|
|
7
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-L6CAUVMU.js";
|
|
8
11
|
import {
|
|
9
12
|
Command,
|
|
10
13
|
Help,
|
|
@@ -15,19 +18,18 @@ import {
|
|
|
15
18
|
environmentOf,
|
|
16
19
|
metaOf,
|
|
17
20
|
takesProfile
|
|
18
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SSXCOUP3.js";
|
|
19
22
|
import {
|
|
20
|
-
wrapAnsi
|
|
21
|
-
} from "./chunk-HTQTIKWP.js";
|
|
22
|
-
import {
|
|
23
|
-
CliError,
|
|
24
23
|
writes
|
|
25
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NTZDM5SJ.js";
|
|
25
|
+
import {
|
|
26
|
+
CliError
|
|
27
|
+
} from "./chunk-WZ5XK74U.js";
|
|
26
28
|
import {
|
|
27
29
|
__name
|
|
28
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
29
31
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
31
33
|
var SECTIONS = {
|
|
32
34
|
read: "Read",
|
|
33
35
|
write: "Write",
|
|
@@ -92,7 +94,7 @@ var CORE_SECTIONS = {
|
|
|
92
94
|
upgrade: "setup"
|
|
93
95
|
};
|
|
94
96
|
|
|
95
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
97
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
96
98
|
var DESCRIPTION = 90;
|
|
97
99
|
var COLUMN = 52;
|
|
98
100
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -131,7 +133,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
131
133
|
`;
|
|
132
134
|
}, "commandsText");
|
|
133
135
|
|
|
134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
135
137
|
var ARGUMENT_KINDS = {
|
|
136
138
|
chat: "chat",
|
|
137
139
|
chats: "chat",
|
|
@@ -352,7 +354,7 @@ var exampleReport = /* @__PURE__ */ __name((program) => {
|
|
|
352
354
|
return { written, generated, text };
|
|
353
355
|
}, "exampleReport");
|
|
354
356
|
|
|
355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
356
358
|
var WIRECAT_TOOLS = [
|
|
357
359
|
{
|
|
358
360
|
command: "tg",
|
|
@@ -6,20 +6,23 @@ import {
|
|
|
6
6
|
agentArguments,
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7VU5UGRR.js";
|
|
10
10
|
import {
|
|
11
11
|
callerOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KANH7GBB.js";
|
|
13
|
+
import {
|
|
14
|
+
failureContext
|
|
15
|
+
} from "./chunk-ZRMZBMOF.js";
|
|
13
16
|
import {
|
|
14
17
|
QUERY_ARGUMENT,
|
|
15
18
|
lentConnection,
|
|
16
19
|
refuseLacking
|
|
17
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SMVO5R3T.js";
|
|
18
21
|
import {
|
|
19
22
|
onlineDeps,
|
|
20
23
|
servicesFor,
|
|
21
24
|
storeModeDeps
|
|
22
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-7HAIM7GV.js";
|
|
23
26
|
import {
|
|
24
27
|
DEFAULT_OUTPUT_BYTES,
|
|
25
28
|
ENTITIES,
|
|
@@ -34,45 +37,43 @@ import {
|
|
|
34
37
|
refuseStoreChange,
|
|
35
38
|
sealed,
|
|
36
39
|
startRecording
|
|
37
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-SSXCOUP3.js";
|
|
38
41
|
import {
|
|
39
42
|
currentCaller,
|
|
40
43
|
keepsSuccess,
|
|
41
44
|
runContextOf,
|
|
42
45
|
withCaller
|
|
43
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-LKJXTACE.js";
|
|
44
47
|
import {
|
|
45
48
|
enclosingTraceId,
|
|
46
49
|
inRun,
|
|
47
50
|
newRunId,
|
|
48
51
|
traceOf
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import {
|
|
51
|
-
failureContext
|
|
52
|
-
} from "./chunk-24F7JBLY.js";
|
|
52
|
+
} from "./chunk-4U2555EQ.js";
|
|
53
53
|
import {
|
|
54
54
|
authorityAllowed,
|
|
55
55
|
botApiAllowed,
|
|
56
56
|
keyForCommand,
|
|
57
57
|
levelFor,
|
|
58
58
|
readKeysForCommand
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-VNIBTNV4.js";
|
|
60
60
|
import {
|
|
61
61
|
MAX_BUFFERED_INPUT
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-TBRG2DPE.js";
|
|
63
63
|
import {
|
|
64
64
|
queryDescription
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-AAZFLJSH.js";
|
|
66
|
+
import {
|
|
67
|
+
captureStreams,
|
|
68
|
+
traceIdOf
|
|
69
|
+
} from "./chunk-T6CZWSHF.js";
|
|
66
70
|
import {
|
|
67
71
|
COMPACT_FLAG,
|
|
68
|
-
CliError,
|
|
69
72
|
SNAKE_CASE,
|
|
70
73
|
array,
|
|
71
74
|
boolean,
|
|
72
|
-
captureStreams,
|
|
73
75
|
description,
|
|
74
76
|
duplicates,
|
|
75
|
-
errorCodes,
|
|
76
77
|
errorObjectOf,
|
|
77
78
|
integer,
|
|
78
79
|
isoDate,
|
|
@@ -100,20 +101,23 @@ import {
|
|
|
100
101
|
text,
|
|
101
102
|
toJsonSchema,
|
|
102
103
|
toStandardJsonSchema,
|
|
103
|
-
traceIdOf,
|
|
104
104
|
union,
|
|
105
105
|
unknown,
|
|
106
106
|
word,
|
|
107
107
|
writes
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-NTZDM5SJ.js";
|
|
109
|
+
import {
|
|
110
|
+
CliError,
|
|
111
|
+
errorCodes
|
|
112
|
+
} from "./chunk-WZ5XK74U.js";
|
|
109
113
|
import {
|
|
110
114
|
__name
|
|
111
115
|
} from "./chunk-ZVVMGPBJ.js";
|
|
112
116
|
|
|
113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
117
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
114
118
|
import { Readable } from "node:stream";
|
|
115
119
|
|
|
116
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
120
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
117
121
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
118
122
|
var lintRuleSchema = strictObject({
|
|
119
123
|
id: word,
|
|
@@ -231,16 +235,17 @@ var LINT_RULES = defineLintRules([
|
|
|
231
235
|
}
|
|
232
236
|
]);
|
|
233
237
|
var baselineSchema = array(text);
|
|
234
|
-
var
|
|
238
|
+
var overrideSchema = strictObject({
|
|
235
239
|
rule: word,
|
|
236
240
|
target: text,
|
|
237
241
|
reason: pipe(text, minLength(10, "say why, in a sentence")),
|
|
238
242
|
/** A GitHub handle or a team, `@octocat`. */
|
|
239
243
|
owner: pipe(string(), regex(/^@[\w.-]+(\/[\w.-]+)?$/, "a GitHub handle or team, such as @octocat")),
|
|
240
244
|
review_after: pipe(string(), isoDate("a date, YYYY-MM-DD"))
|
|
241
|
-
})
|
|
245
|
+
});
|
|
246
|
+
var overridesSchema = array(overrideSchema);
|
|
242
247
|
|
|
243
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
248
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
|
|
244
249
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
245
250
|
var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
|
|
246
251
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -349,7 +354,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
349
354
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
350
355
|
]);
|
|
351
356
|
|
|
352
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
357
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
|
|
353
358
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
354
359
|
var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
|
|
355
360
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -365,7 +370,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
365
370
|
}
|
|
366
371
|
]);
|
|
367
372
|
|
|
368
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
373
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
|
|
369
374
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
370
375
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
371
376
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -387,7 +392,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
387
392
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
388
393
|
]);
|
|
389
394
|
|
|
390
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
395
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
|
|
391
396
|
var CALENDAR_FLAGS = [
|
|
392
397
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
393
398
|
{
|
|
@@ -461,7 +466,7 @@ var CALENDAR_FLAGS = [
|
|
|
461
466
|
}
|
|
462
467
|
];
|
|
463
468
|
|
|
464
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
469
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
|
|
465
470
|
var HOW_FLAGS = [
|
|
466
471
|
{
|
|
467
472
|
name: "--limit",
|
|
@@ -1455,7 +1460,7 @@ var HOW_FLAGS = [
|
|
|
1455
1460
|
}
|
|
1456
1461
|
];
|
|
1457
1462
|
|
|
1458
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1463
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
|
|
1459
1464
|
var MAIL_FLAGS = [
|
|
1460
1465
|
{
|
|
1461
1466
|
name: "--cc",
|
|
@@ -1476,10 +1481,16 @@ var MAIL_FLAGS = [
|
|
|
1476
1481
|
role: "value",
|
|
1477
1482
|
type: "switch",
|
|
1478
1483
|
meaning: "with --reply-to, an e-mail reply also goes to everyone the message went to"
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
name: "--trimmed",
|
|
1487
|
+
role: "output",
|
|
1488
|
+
type: "switch",
|
|
1489
|
+
meaning: "each e-mail's own text, without the quoted earlier mail and the signature; refused with --full"
|
|
1479
1490
|
}
|
|
1480
1491
|
];
|
|
1481
1492
|
|
|
1482
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1493
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
|
|
1483
1494
|
var WHAT_FLAGS = [
|
|
1484
1495
|
{
|
|
1485
1496
|
name: "--analysis-provider",
|
|
@@ -2477,7 +2488,7 @@ var WHAT_FLAGS = [
|
|
|
2477
2488
|
}
|
|
2478
2489
|
];
|
|
2479
2490
|
|
|
2480
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2491
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
|
|
2481
2492
|
var FLAG_TYPES = [
|
|
2482
2493
|
"switch",
|
|
2483
2494
|
"count",
|
|
@@ -2661,6 +2672,10 @@ var verbs = [
|
|
|
2661
2672
|
["move", "move a thing to another place in the source: a file to a folder, an event to a calendar"],
|
|
2662
2673
|
["copy", "copy a file in the source"],
|
|
2663
2674
|
["run", "run a saved job once, now, as its timer would"],
|
|
2675
|
+
["exec", "what a timer itself starts: one saved schedule, from its file; a person uses run"],
|
|
2676
|
+
// schedule's creators are named for what the timer starts; the owner kept these names over `create --kind`.
|
|
2677
|
+
["agent", "save a timer that starts an agent with a prompt, read-only; a verb under schedule, never a resource"],
|
|
2678
|
+
["command", "save a timer that runs one of this tool's own commands; a verb under schedule"],
|
|
2664
2679
|
["claim", "take a thing for a while so no other agent works it at once; the claim lapses by itself"],
|
|
2665
2680
|
["release", "give back what claim took, before it lapses"],
|
|
2666
2681
|
["merge", "fold a duplicate into the thing that stays; nothing is deleted"],
|
|
@@ -2731,6 +2746,10 @@ var collections = [
|
|
|
2731
2746
|
["recordings", "the files a provider recorded of a meeting"],
|
|
2732
2747
|
["jobs", "work this tool runs in the background or on a timer"],
|
|
2733
2748
|
["actions", "what an agent proposes to do; the owner confirms or rejects each"],
|
|
2749
|
+
[
|
|
2750
|
+
"findings",
|
|
2751
|
+
"what an agent read in stored mail, staged in batches with citations; nothing is recorded until the owner confirms. What it proposes to do is actions"
|
|
2752
|
+
],
|
|
2734
2753
|
["agents", "the agents whose actions are recorded in the shared store"],
|
|
2735
2754
|
["reminders", "scheduled notices about stored work, claimed and acknowledged with delivery receipts"],
|
|
2736
2755
|
["key-documents", "selected source documents that a project keeps as its starting references"],
|
|
@@ -2772,7 +2791,11 @@ var singulars = [
|
|
|
2772
2791
|
["api", "the source's own API, one command per operation"],
|
|
2773
2792
|
["privacy", "who may find, see, call or add the account"],
|
|
2774
2793
|
["metadata", "a profile's cached source attributes"],
|
|
2775
|
-
["auth", "the credentials a bot profile uses: its token and the secrets beside it"]
|
|
2794
|
+
["auth", "the credentials a bot profile uses: its token and the secrets beside it"],
|
|
2795
|
+
[
|
|
2796
|
+
"schedule",
|
|
2797
|
+
"a profile's timers the owner saved, each running a command of this tool or an agent; the tool's own background work is jobs"
|
|
2798
|
+
]
|
|
2776
2799
|
];
|
|
2777
2800
|
var views = [
|
|
2778
2801
|
["tree", "the parent and child hierarchy of stored sources"],
|
|
@@ -2838,7 +2861,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
2838
2861
|
flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
|
|
2839
2862
|
});
|
|
2840
2863
|
|
|
2841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
2842
2865
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
2843
2866
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
2844
2867
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3061,7 +3084,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3061
3084
|
}
|
|
3062
3085
|
}, "runCommandForAgent");
|
|
3063
3086
|
|
|
3064
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3065
3088
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3066
3089
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3067
3090
|
var message = pipe(
|
|
@@ -3320,7 +3343,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3320
3343
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
|
|
3321
3344
|
}, "failed");
|
|
3322
3345
|
|
|
3323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3324
3347
|
import { randomUUID } from "node:crypto";
|
|
3325
3348
|
var MATCHES = 8;
|
|
3326
3349
|
var ANSWER = answerSchema();
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
__name
|
|
5
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
6
|
+
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
|
|
8
|
+
var errorCodes = [
|
|
9
|
+
"validation_error",
|
|
10
|
+
"configuration_error",
|
|
11
|
+
"authentication_error",
|
|
12
|
+
"permission_error",
|
|
13
|
+
"not_found",
|
|
14
|
+
"confirmation_required",
|
|
15
|
+
"rate_limited",
|
|
16
|
+
"timeout",
|
|
17
|
+
"network_error",
|
|
18
|
+
"provider_error",
|
|
19
|
+
"provider_unavailable",
|
|
20
|
+
"invalid_response",
|
|
21
|
+
"outcome_unknown",
|
|
22
|
+
"conflict",
|
|
23
|
+
"cancelled"
|
|
24
|
+
];
|
|
25
|
+
var BRAND = /* @__PURE__ */ Symbol.for("@wirecat/cli-base/CliError");
|
|
26
|
+
var CliError = class extends Error {
|
|
27
|
+
static {
|
|
28
|
+
__name(this, "CliError");
|
|
29
|
+
}
|
|
30
|
+
code;
|
|
31
|
+
details;
|
|
32
|
+
constructor(code, message, details = {}) {
|
|
33
|
+
super(message);
|
|
34
|
+
this.name = "CliError";
|
|
35
|
+
this.code = code;
|
|
36
|
+
this.details = details;
|
|
37
|
+
Object.defineProperty(this, BRAND, { value: true });
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
var isCliError = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && value[BRAND] === true, "isCliError");
|
|
41
|
+
|
|
42
|
+
export {
|
|
43
|
+
errorCodes,
|
|
44
|
+
CliError,
|
|
45
|
+
isCliError
|
|
46
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
ACCESS_SECONDS,
|
|
5
|
-
REFRESH_SECONDS,
|
|
6
|
-
readStored
|
|
7
|
-
} from "./chunk-TC7PD3LH.js";
|
|
8
3
|
import {
|
|
9
4
|
OAuthError,
|
|
10
5
|
OAuthErrorCode
|
|
11
6
|
} from "./chunk-5D4AEUVA.js";
|
|
7
|
+
import {
|
|
8
|
+
ACCESS_SECONDS,
|
|
9
|
+
REFRESH_SECONDS,
|
|
10
|
+
readStored
|
|
11
|
+
} from "./chunk-MWEOVTIF.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
__name
|
|
5
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
6
|
+
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
|
|
8
|
+
import { existsSync } from "node:fs";
|
|
9
|
+
import { win32 } from "node:path";
|
|
10
|
+
var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
|
|
11
|
+
var executableOnPath = /* @__PURE__ */ __name((command, env, platform = process.platform, exists = existsSync) => {
|
|
12
|
+
if (platform !== "win32" || win32.isAbsolute(command))
|
|
13
|
+
return command;
|
|
14
|
+
if (/[\\/]/.test(command))
|
|
15
|
+
return command;
|
|
16
|
+
const extensions = win32.extname(command) ? [""] : (variable(env, "PATHEXT") ?? ".EXE;.COM;.CMD;.BAT").split(";").filter((ext) => /^\.[a-z0-9]+$/i.test(ext));
|
|
17
|
+
for (const entry of (variable(env, "PATH") ?? "").split(";")) {
|
|
18
|
+
const directory = entry.replace(/^"(.*)"$/, "$1");
|
|
19
|
+
for (const extension of extensions) {
|
|
20
|
+
const candidate = win32.join(directory, command + extension);
|
|
21
|
+
if (exists(candidate))
|
|
22
|
+
return candidate;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return command;
|
|
26
|
+
}, "executableOnPath");
|
|
27
|
+
var executableEnvironment = /* @__PURE__ */ __name((env, platform = process.platform) => {
|
|
28
|
+
if (platform !== "win32")
|
|
29
|
+
return env;
|
|
30
|
+
const configured = variable(env, "COMSPEC");
|
|
31
|
+
const system = variable(env, "SYSTEMROOT");
|
|
32
|
+
const shell = configured ? configured : system && win32.isAbsolute(system) ? win32.join(system, "System32", "cmd.exe") : void 0;
|
|
33
|
+
if (!shell)
|
|
34
|
+
return env;
|
|
35
|
+
const result = { ...env };
|
|
36
|
+
for (const key of Object.keys(result))
|
|
37
|
+
if (key.toUpperCase() === "COMSPEC")
|
|
38
|
+
delete result[key];
|
|
39
|
+
result.comspec = shell;
|
|
40
|
+
return result;
|
|
41
|
+
}, "executableEnvironment");
|
|
42
|
+
|
|
43
|
+
export {
|
|
44
|
+
executableOnPath,
|
|
45
|
+
executableEnvironment
|
|
46
|
+
};
|