@wirecat/zoom-cli 0.75.0 → 0.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-WFLKFKJC.js → all-profiles-AAMFP7IN.js} +11 -11
- package/dist/bundle/answer-policy-ETAELI4A.js +110 -0
- package/dist/bundle/{anthropic-H45W4P22.js → anthropic-6KIS53QB.js} +6 -6
- package/dist/bundle/{app-server-I4FPLBIX.js → app-server-6QYNNYEU.js} +57 -57
- package/dist/bundle/{bun-V5QLYBZU.js → bun-QVVCH4MJ.js} +2 -2
- package/dist/bundle/{bun-sqlite-X2YZPHDS.js → bun-sqlite-Y2ZFMNQ3.js} +7 -7
- package/dist/bundle/{chunk-P4ZQQLZF.js → chunk-25GMFXPF.js} +707 -698
- package/dist/bundle/{chunk-PX4IMYVB.js → chunk-2HKUQ7DR.js} +3 -3
- package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-35AH33VJ.js} +1 -1
- package/dist/bundle/{chunk-4RJL32PF.js → chunk-3D5PETD2.js} +26 -9
- package/dist/bundle/{chunk-C5WQ57AB.js → chunk-4ERYXY4Y.js} +1 -1
- package/dist/bundle/{chunk-HKPNQL52.js → chunk-4JPOELCT.js} +4 -4
- package/dist/bundle/{chunk-QBKKTTA3.js → chunk-55SWKR6Y.js} +181 -158
- package/dist/bundle/{chunk-2PYZTRRC.js → chunk-5EII5RIL.js} +1 -1
- package/dist/bundle/{chunk-F6RB5FHZ.js → chunk-5T7TBK5Y.js} +1 -1
- package/dist/bundle/{chunk-NU4FSSMN.js → chunk-64N7MY3I.js} +3 -3
- package/dist/bundle/{chunk-532H3KT3.js → chunk-65VRWNDP.js} +4 -4
- package/dist/bundle/{chunk-T25PR26L.js → chunk-6SXCGS3A.js} +7 -7
- package/dist/bundle/{chunk-CAQ5GW3A.js → chunk-6VCQ4CTK.js} +1 -1
- package/dist/bundle/{chunk-MNVT7EJS.js → chunk-7RORMNKP.js} +2 -2
- package/dist/bundle/{chunk-IDGWBKMH.js → chunk-B7ZREOBD.js} +12 -12
- package/dist/bundle/{chunk-LRCSDAYK.js → chunk-CE5Y7PQU.js} +4 -4
- package/dist/bundle/{chunk-IW245Q5B.js → chunk-CPOFLYPU.js} +33 -29
- package/dist/bundle/{chunk-HNWDEDMU.js → chunk-CS62FET6.js} +21 -21
- package/dist/bundle/{chunk-DUPFAY35.js → chunk-CXHUOPN5.js} +7 -7
- package/dist/bundle/{chunk-DQBLDZ7M.js → chunk-D2TGXSHQ.js} +5 -5
- package/dist/bundle/{chunk-ELD5AC7Q.js → chunk-DQHS336B.js} +6 -6
- package/dist/bundle/{chunk-VUPWDCYV.js → chunk-EBIK5Q73.js} +1 -1
- package/dist/bundle/{chunk-3YRPDNWK.js → chunk-ELW3LMJZ.js} +803 -359
- package/dist/bundle/{chunk-HCZYJMBP.js → chunk-EPPE6ZTS.js} +1 -1
- package/dist/bundle/{chunk-K5E5MB4C.js → chunk-EZJSAYWZ.js} +21 -21
- package/dist/bundle/{chunk-7ZVWV33Z.js → chunk-EZXW3ZCR.js} +35 -13
- package/dist/bundle/{chunk-IO3BQ6JU.js → chunk-FBVJGJDM.js} +29 -28
- package/dist/bundle/{chunk-ZMHZ6CQS.js → chunk-FGRFIXG2.js} +2 -2
- package/dist/bundle/{chunk-3HTJBGNP.js → chunk-FMJ4QSSU.js} +21 -16
- package/dist/bundle/{chunk-NE4GYKQA.js → chunk-GB5LI5RM.js} +6 -6
- package/dist/bundle/{chunk-W2AC2RAG.js → chunk-GPIQY4YB.js} +14 -14
- package/dist/bundle/{chunk-2Q4CB4EI.js → chunk-GYTAHH5Y.js} +2 -2
- package/dist/bundle/{chunk-SEJBS7SI.js → chunk-GZYICXO4.js} +1 -1
- package/dist/bundle/{chunk-GPVSGZ4R.js → chunk-HUHH25AG.js} +434 -410
- package/dist/bundle/{chunk-X2FILY5F.js → chunk-HWYSJ4SL.js} +3 -3
- package/dist/bundle/{chunk-XCJGDPMN.js → chunk-IUSY4ZJK.js} +6109 -5958
- package/dist/bundle/{chunk-RBYVQE3S.js → chunk-IVFNHIU4.js} +5 -5
- package/dist/bundle/{chunk-V3UK6E5B.js → chunk-IXPBSDKB.js} +4 -4
- package/dist/bundle/{chunk-3URYKAJP.js → chunk-JADBHKBP.js} +1 -1
- package/dist/bundle/{chunk-WUWF4EXZ.js → chunk-JWMOHEDL.js} +22 -12
- package/dist/bundle/{chunk-EA2OB75T.js → chunk-K3K3WKDB.js} +1 -1
- package/dist/bundle/{chunk-F7K2V6OA.js → chunk-KEFDP6NL.js} +12 -12
- package/dist/bundle/{chunk-NQQVNLO6.js → chunk-LEVOI6Z3.js} +12 -12
- package/dist/bundle/{chunk-VLK3X53X.js → chunk-LGBLYFKI.js} +2 -2
- package/dist/bundle/{chunk-AVCYD4WQ.js → chunk-LOEK6IFQ.js} +44 -36
- package/dist/bundle/{chunk-PCJRHC5Y.js → chunk-M7WYBGQT.js} +8 -8
- package/dist/bundle/{chunk-JDTZCZ5K.js → chunk-MDTEAKA5.js} +5 -5
- package/dist/bundle/{chunk-GU4FVTJV.js → chunk-NQ356ERO.js} +3 -4
- package/dist/bundle/{chunk-T4FMXDDV.js → chunk-OFODCJ2A.js} +3 -3
- package/dist/bundle/{chunk-FBYGBR4Q.js → chunk-OINDAHXC.js} +4 -4
- package/dist/bundle/{chunk-OUM4ZO53.js → chunk-OOYIPK4F.js} +1 -1
- package/dist/bundle/{chunk-NL6AZ6S2.js → chunk-ORM73DZO.js} +2 -2
- package/dist/bundle/{chunk-P6MQ6FS4.js → chunk-OWZETMRE.js} +8 -8
- package/dist/bundle/{chunk-VPSQZ2YR.js → chunk-PFLJJQWW.js} +33 -33
- package/dist/bundle/{chunk-TSHUBGN4.js → chunk-QLUU3BV2.js} +2 -2
- package/dist/bundle/{chunk-ZBYKCVSV.js → chunk-QY6GE7CL.js} +2 -2
- package/dist/bundle/{chunk-QEO3XTIE.js → chunk-R47GYLNN.js} +29 -32
- package/dist/bundle/{chunk-EOZAJGB4.js → chunk-RJK5ADMH.js} +16 -16
- package/dist/bundle/{chunk-FIVFP53N.js → chunk-RXUVXAMM.js} +1 -1
- package/dist/bundle/{chunk-BY2YPKZZ.js → chunk-T2QVWRJF.js} +13 -13
- package/dist/bundle/{chunk-4YNUQGDP.js → chunk-TK77DCE5.js} +1 -1
- package/dist/bundle/{chunk-IMDTC4MD.js → chunk-TYAFL66K.js} +21 -18
- package/dist/bundle/{chunk-MHXZ62CU.js → chunk-UAV74EY4.js} +1 -1
- package/dist/bundle/{chunk-WQOGHND4.js → chunk-UG2QDGAH.js} +1 -1
- package/dist/bundle/{chunk-6XNTELM5.js → chunk-UYZDH5LK.js} +1 -1
- package/dist/bundle/{chunk-B6Q53CVA.js → chunk-VABYJQYE.js} +10 -10
- package/dist/bundle/{chunk-IJCUAKR5.js → chunk-VCFSUGPE.js} +4 -4
- package/dist/bundle/{chunk-3YKAFLXY.js → chunk-VG63EXRC.js} +2 -2
- package/dist/bundle/{chunk-RABCFGT3.js → chunk-VJANMYEC.js} +3 -3
- package/dist/bundle/{chunk-ZVVRRMLW.js → chunk-VRA4RVQU.js} +3 -3
- package/dist/bundle/{chunk-L5UILROP.js → chunk-WKT5RPSY.js} +8 -8
- package/dist/bundle/{chunk-JTYWSXJG.js → chunk-WNXC42IU.js} +9 -9
- package/dist/bundle/{chunk-FT7X74RT.js → chunk-WZJ7ZYR4.js} +4 -4
- package/dist/bundle/{chunk-PPM7UTCT.js → chunk-X73YEFQE.js} +18 -18
- package/dist/bundle/{chunk-Y5J5CAG2.js → chunk-XC4V6YCS.js} +1 -1
- package/dist/bundle/{chunk-A3Q3PG54.js → chunk-XHVFX74L.js} +2 -2
- package/dist/bundle/{chunk-NQLL4KRN.js → chunk-XRH2NKW4.js} +6 -6
- package/dist/bundle/{chunk-3U3W6YY5.js → chunk-XWQKRKMT.js} +58 -58
- package/dist/bundle/{chunk-RKI4BGWG.js → chunk-Y2BGABXP.js} +3 -3
- package/dist/bundle/{chunk-XUHQ7DVT.js → chunk-Y4WEAWU7.js} +1 -1
- package/dist/bundle/{chunk-4XDWV6VJ.js → chunk-YEBWRWE3.js} +17 -17
- package/dist/bundle/{chunk-4J5GJJ2I.js → chunk-YESHGC3M.js} +2 -2
- package/dist/bundle/{chunk-SR5X7YKB.js → chunk-YGKM2ZWF.js} +3 -3
- package/dist/bundle/{chunk-QXQUANWE.js → chunk-ZETM63M6.js} +6 -6
- package/dist/bundle/{chunk-MAE5UGRQ.js → chunk-ZFYNJERV.js} +6 -6
- package/dist/bundle/{cli-NPRYCWFH.js → cli-FHMLYHUZ.js} +69 -65
- package/dist/bundle/command-contract-HUZ4I23S.js +41 -0
- package/dist/bundle/{command-server-entry-BV4SUPUI.js → command-server-entry-YEZM52R5.js} +31 -31
- package/dist/bundle/config-KVTWN7QZ.js +97 -0
- package/dist/bundle/{decode-PRMKCHHC.js → decode-SIYRMJOK.js} +6 -6
- package/dist/bundle/{dispatch-EU67WGME.js → dispatch-SMER3WDX.js} +9 -9
- package/dist/bundle/{dist-HGLDGKUW.js → dist-BSJETSFE.js} +19 -19
- package/dist/bundle/{echarts-QIXLXS3G.js → echarts-UZJ6AREV.js} +2 -2
- package/dist/bundle/{embed-OZN2BIJY.js → embed-A7DSHVI7.js} +7 -7
- package/dist/bundle/{embedder-RBDHO6Z6.js → embedder-WQBR4UGS.js} +10 -10
- package/dist/bundle/{failure-CTJLEB2R.js → failure-73UQXQTW.js} +3 -3
- package/dist/bundle/first-run-SY6XSUZ3.js +29 -0
- package/dist/bundle/first-screen-ZDMODGWS.js +39 -0
- package/dist/bundle/{folders-MSBTAPAG.js → folders-BH4SV6SI.js} +5 -5
- package/dist/bundle/{instructions-MD2RZT5Z.js → instructions-SDDUBGH4.js} +1 -1
- package/dist/bundle/{main-FPMCCRIQ.js → main-KL4FN5F3.js} +24 -24
- package/dist/bundle/{mcp-TDKGDB4V.js → mcp-GN4FTJX5.js} +2 -2
- package/dist/bundle/{meetings-WYCVHAIP.js → meetings-URPXBHV7.js} +25 -7
- package/dist/bundle/{node-IEVT2FSJ.js → node-ELCNUOCE.js} +2 -2
- package/dist/bundle/{node-sqlite-O4C6IWSM.js → node-sqlite-QLSNHZBM.js} +8 -8
- package/dist/bundle/{oauth-6VXOUXSE.js → oauth-LZ64S7Y3.js} +8 -8
- package/dist/bundle/{open-AMUIWV3Y.js → open-WB4HUPQT.js} +6 -6
- package/dist/bundle/openai-KN6JE4QU.js +28 -0
- package/dist/bundle/{output-file-VDOCYH2G.js → output-file-AHPQA5LR.js} +6 -6
- package/dist/bundle/{process-6Q23D3TO.js → process-67DAKAAQ.js} +1 -1
- package/dist/bundle/{program-CF2NKA2A.js → program-CIMACIBE.js} +87 -81
- package/dist/bundle/{prompt-N3UZE4ZR.js → prompt-GG53UBDJ.js} +6 -6
- package/dist/bundle/{recognize-I5F3K3CZ.js → recognize-CFJ3CAEH.js} +5 -5
- package/dist/bundle/{remote-CJF5KMMY.js → remote-BLEM7C3Q.js} +11 -11
- package/dist/bundle/{rerank-6WLY6MKY.js → rerank-ERN6PC66.js} +8 -8
- package/dist/bundle/run-log-S67YPJF6.js +124 -0
- package/dist/bundle/{serve-FOQJ3WMX.js → serve-FJPPTJXH.js} +10 -10
- package/dist/bundle/{server-OEEGRSQD.js → server-FLUSDUGM.js} +49 -49
- package/dist/bundle/server-UNJY3TSJ.js +74 -0
- package/dist/bundle/{services-Q6SFESMS.js → services-LXC6DVUQ.js} +43 -41
- package/dist/bundle/{speech-PBVEIG4N.js → speech-WFEZTKXA.js} +17 -17
- package/dist/bundle/{sqlite-runtime-IWR65V6I.js → sqlite-runtime-KN33VSP7.js} +7 -7
- package/dist/bundle/{state-G54C2N6U.js → state-TXS4ZHIT.js} +7 -7
- package/dist/bundle/{store-7EWMPTTW.js → store-MUOXLVL4.js} +22 -22
- package/dist/bundle/{store-D5OLXIFW.js → store-ZUREZYZB.js} +20 -20
- package/dist/bundle/store-connection-NRNEBUPU.js +90 -0
- package/dist/bundle/store-maintenance-command-OBOPYFZ5.js +65 -0
- package/dist/bundle/{streaming-PQEXKTE5.js → streaming-ZSCHRC5S.js} +7 -7
- package/dist/bundle/{tokens-J7TFHLEG.js → tokens-YVDOY4EV.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-SULPMVN4.js → zoom-app-O6GIMB7Y.js} +8 -8
- package/dist/meeting-search-commands.d.ts.map +1 -1
- package/dist/meeting-search-commands.js +6 -5
- package/dist/meeting-search-commands.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +2 -1
- package/dist/program-bindings.js.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +3 -1
- package/dist/run.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/answer-policy-XCKC2LLN.js +0 -110
- package/dist/bundle/command-contract-OJYRKQHR.js +0 -41
- package/dist/bundle/config-UMEV24OE.js +0 -97
- package/dist/bundle/first-run-HNCD7U3B.js +0 -29
- package/dist/bundle/first-screen-374BBMO6.js +0 -39
- package/dist/bundle/openai-MEDN6FSK.js +0 -28
- package/dist/bundle/run-log-FKF4ZX4M.js +0 -124
- package/dist/bundle/server-BAGY5HEZ.js +0 -74
- package/dist/bundle/store-connection-34747SCC.js +0 -90
- package/dist/bundle/store-maintenance-command-QBO67F7Z.js +0 -65
- /package/dist/bundle/{chunk-XWBPP2HX.js → chunk-BDCC2J2Z.js} +0 -0
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
modelsDirectory,
|
|
8
8
|
speechModel,
|
|
9
9
|
vadPath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OINDAHXC.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-K3K3WKDB.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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/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-CFJ3CAEH.js");
|
|
54
54
|
const engine = (options.open ?? openRecognizer)(model, modelPath(directory, model), vadPath(directory));
|
|
55
55
|
try {
|
|
56
56
|
if (!engine.pieces)
|
|
@@ -81,7 +81,7 @@ var openLocalSpeechRecognizer = /* @__PURE__ */ __name(async (id, input = {}) =>
|
|
|
81
81
|
cancelled(options.signal);
|
|
82
82
|
if (!isInstalled(model, directory))
|
|
83
83
|
throw notInstalled(description.model);
|
|
84
|
-
const { openRecognizer, toModelRate } = await import("./recognize-
|
|
84
|
+
const { openRecognizer, toModelRate } = await import("./recognize-CFJ3CAEH.js");
|
|
85
85
|
cancelled(options.signal);
|
|
86
86
|
const engine = (options.open ?? openRecognizer)(model, modelPath(directory, model), vadPath(directory));
|
|
87
87
|
let closing = false;
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2HKUQ7DR.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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
|
|
8
8
|
var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
|
|
9
9
|
var kindsByConstructor = /* @__PURE__ */ new WeakMap();
|
|
10
10
|
function collectKinds(ctor) {
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
LEVELS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OWZETMRE.js";
|
|
6
6
|
import {
|
|
7
7
|
WORD_BODY,
|
|
8
8
|
e164Of
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EZJSAYWZ.js";
|
|
10
10
|
import {
|
|
11
11
|
resolvePaths,
|
|
12
12
|
writeSecurely
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CS62FET6.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
16
16
|
getDotPath,
|
|
@@ -29,18 +29,18 @@ import {
|
|
|
29
29
|
string,
|
|
30
30
|
transform,
|
|
31
31
|
unknown
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3D5PETD2.js";
|
|
33
33
|
import {
|
|
34
34
|
CliError
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-K3K3WKDB.js";
|
|
36
36
|
import {
|
|
37
37
|
visibleControls
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-EPPE6ZTS.js";
|
|
39
39
|
import {
|
|
40
40
|
__name
|
|
41
41
|
} from "./chunk-ZVVMGPBJ.js";
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
43
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/vcard.js
|
|
44
44
|
import { createHash } from "node:crypto";
|
|
45
45
|
var MAX_ID = 512;
|
|
46
46
|
var AS_WORD = new RegExp(`^${WORD_BODY}$`);
|
|
@@ -271,7 +271,7 @@ var envelopeOfVcard = /* @__PURE__ */ __name((text, { provider, account, batchId
|
|
|
271
271
|
};
|
|
272
272
|
}, "envelopeOfVcard");
|
|
273
273
|
|
|
274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
275
275
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
276
276
|
var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
277
277
|
const { text, spans } = formatted;
|
|
@@ -331,7 +331,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
|
331
331
|
};
|
|
332
332
|
}, "visibleFormattedText");
|
|
333
333
|
|
|
334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
335
335
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
336
336
|
var LINK = /https?:\/\/\S+/i;
|
|
337
337
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -519,8 +519,8 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
519
519
|
}, "nextPoint");
|
|
520
520
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
521
521
|
|
|
522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
523
|
-
import { existsSync, readFileSync } from "node:fs";
|
|
522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
523
|
+
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
524
524
|
import { join } from "node:path";
|
|
525
525
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
526
526
|
var OLD_LEVELS = { forbid: "deny", flag: "ask", confirm: "ask", allow: "allow" };
|
|
@@ -588,7 +588,16 @@ var KEYS = {
|
|
|
588
588
|
"consent.remove": { help: LEVELS.join("|"), parse: String }
|
|
589
589
|
};
|
|
590
590
|
var RULE_KEYS = Object.keys(KEYS);
|
|
591
|
-
var
|
|
591
|
+
var stateFolder = /* @__PURE__ */ __name((app, env, folder) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, folder), "stateFolder");
|
|
592
|
+
var profilesFolder = /* @__PURE__ */ __name((app, env) => stateFolder(app, env, "profiles"), "profilesFolder");
|
|
593
|
+
var moderationPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join(profilesFolder(app, env), `${profile}.moderation.json`), "moderationPathFor");
|
|
594
|
+
var namesIn = /* @__PURE__ */ __name((folder, suffix) => existsSync(folder) ? readdirSync(folder).filter((name) => name.endsWith(suffix)).map((name) => name.slice(0, -suffix.length)) : [], "namesIn");
|
|
595
|
+
var moderationProfiles = /* @__PURE__ */ __name((app, env = process.env) => [
|
|
596
|
+
.../* @__PURE__ */ new Set([
|
|
597
|
+
...namesIn(stateFolder(app, env, "accounts"), ".json"),
|
|
598
|
+
...namesIn(profilesFolder(app, env), ".moderation.json")
|
|
599
|
+
])
|
|
600
|
+
].sort(), "moderationProfiles");
|
|
592
601
|
var ModerationRules = class {
|
|
593
602
|
static {
|
|
594
603
|
__name(this, "ModerationRules");
|
|
@@ -678,5 +687,6 @@ export {
|
|
|
678
687
|
defaultRules,
|
|
679
688
|
RULE_KEYS,
|
|
680
689
|
moderationPathFor,
|
|
690
|
+
moderationProfiles,
|
|
681
691
|
ModerationRules
|
|
682
692
|
};
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
8
|
var errorCodes = [
|
|
9
9
|
"validation_error",
|
|
10
10
|
"configuration_error",
|
|
@@ -2,28 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
isCommandServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Y4WEAWU7.js";
|
|
6
6
|
import {
|
|
7
7
|
envName,
|
|
8
8
|
readOnlyLockOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QY6GE7CL.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureSqlite
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7RORMNKP.js";
|
|
13
13
|
import {
|
|
14
14
|
catchCrashes
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3D5PETD2.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-K3K3WKDB.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
24
24
|
import { spawn } from "node:child_process";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
|
|
27
27
|
import { appendFileSync } from "node:fs";
|
|
28
28
|
var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
|
|
29
29
|
const words = [];
|
|
@@ -47,7 +47,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
|
|
|
47
47
|
`);
|
|
48
48
|
}, "logVersion");
|
|
49
49
|
|
|
50
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
50
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
51
51
|
var processIo = /* @__PURE__ */ __name(() => ({
|
|
52
52
|
argv: process.argv,
|
|
53
53
|
env: process.env,
|
|
@@ -67,7 +67,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
67
67
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-V"))
|
|
68
68
|
return printVersion(entry.app, io);
|
|
69
69
|
if (isCommandServer(args)) {
|
|
70
|
-
const { serveEntry } = await import("./command-server-entry-
|
|
70
|
+
const { serveEntry } = await import("./command-server-entry-YEZM52R5.js");
|
|
71
71
|
return serveEntry(entry, io, { firstRunAt, commanderExit });
|
|
72
72
|
}
|
|
73
73
|
const tty = io.stdout.isTTY === true;
|
|
@@ -105,7 +105,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
105
105
|
ask: /* @__PURE__ */ __name(async (question, command) => {
|
|
106
106
|
if (headless(command) || io.stdin.isTTY !== true)
|
|
107
107
|
return false;
|
|
108
|
-
const { readSecret } = await import("./prompt-
|
|
108
|
+
const { readSecret } = await import("./prompt-GG53UBDJ.js");
|
|
109
109
|
const answer = await readSecret(`${question} [y/N] `, {
|
|
110
110
|
input: io.stdin,
|
|
111
111
|
output: io.stderr,
|
|
@@ -148,8 +148,8 @@ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command)
|
|
|
148
148
|
if (command.optsWithGlobals().dryRun === true)
|
|
149
149
|
return;
|
|
150
150
|
const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
|
|
151
|
-
import("./first-run-
|
|
152
|
-
import("./command-contract-
|
|
151
|
+
import("./first-run-SY6XSUZ3.js"),
|
|
152
|
+
import("./command-contract-HUZ4I23S.js")
|
|
153
153
|
]);
|
|
154
154
|
await setupAtStart({
|
|
155
155
|
command: entry.app.command,
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
updateCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WZJ7ZYR4.js";
|
|
6
6
|
import {
|
|
7
7
|
QUESTIONS,
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4JPOELCT.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-M7WYBGQT.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WKT5RPSY.js";
|
|
19
19
|
import {
|
|
20
20
|
installerOf
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-35AH33VJ.js";
|
|
22
22
|
import {
|
|
23
23
|
storePath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-XHVFX74L.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/first-run.js
|
|
30
30
|
import { spawnSync } from "node:child_process";
|
|
31
31
|
import { accessSync, constants, realpathSync } from "node:fs";
|
|
32
32
|
import { delimiter, join } from "node:path";
|
|
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
84
84
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
85
|
}, "suggested");
|
|
86
86
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-
|
|
87
|
+
const { openStore } = await import("./store-ZUREZYZB.js");
|
|
88
88
|
const store = await openStore({ env });
|
|
89
89
|
let rebuild = false;
|
|
90
90
|
try {
|
|
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
113
113
|
if (!rebuild)
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
|
-
import("./open-
|
|
117
|
-
import("./store-maintenance-command-
|
|
116
|
+
import("./open-WB4HUPQT.js"),
|
|
117
|
+
import("./store-maintenance-command-OBOPYFZ5.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
126
126
|
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
127
127
|
const { command, env, io } = run;
|
|
128
128
|
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
129
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-
|
|
129
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-ZDMODGWS.js");
|
|
130
130
|
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
131
131
|
const missing = others.filter((tool) => !installed(tool.command));
|
|
132
132
|
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
199
199
|
contentLanguages: start.contentLanguages,
|
|
200
200
|
all: start.path[0] === "setup",
|
|
201
201
|
io: {
|
|
202
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
202
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-GG53UBDJ.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
203
203
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
204
204
|
`), "say")
|
|
205
205
|
}
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
parseReference
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TYAFL66K.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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/links.js
|
|
11
11
|
var LINK_VERSION = "v1";
|
|
12
12
|
var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
|
|
13
13
|
var APP_PREFIX = "wirecat://open";
|
|
@@ -6,23 +6,23 @@ import {
|
|
|
6
6
|
agentArguments,
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RJK5ADMH.js";
|
|
10
10
|
import {
|
|
11
11
|
callerOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VRA4RVQU.js";
|
|
13
13
|
import {
|
|
14
14
|
lentConnection,
|
|
15
15
|
refuseLacking
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EZXW3ZCR.js";
|
|
17
17
|
import {
|
|
18
18
|
failureContext
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NQ356ERO.js";
|
|
20
20
|
import {
|
|
21
21
|
QUERY_ARGUMENT,
|
|
22
22
|
onlineDeps,
|
|
23
23
|
servicesFor,
|
|
24
24
|
storeModeDeps
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-25GMFXPF.js";
|
|
26
26
|
import {
|
|
27
27
|
DEFAULT_OUTPUT_BYTES,
|
|
28
28
|
ENTITIES,
|
|
@@ -37,13 +37,13 @@ import {
|
|
|
37
37
|
refuseStoreChange,
|
|
38
38
|
sealed,
|
|
39
39
|
startRecording
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-55SWKR6Y.js";
|
|
41
41
|
import {
|
|
42
42
|
currentCaller,
|
|
43
43
|
keepsSuccess,
|
|
44
44
|
runContextOf,
|
|
45
45
|
withCaller
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-CXHUOPN5.js";
|
|
47
47
|
import {
|
|
48
48
|
authorityAllowed,
|
|
49
49
|
botApiAllowed,
|
|
@@ -51,26 +51,26 @@ import {
|
|
|
51
51
|
keyForCommand,
|
|
52
52
|
levelFor,
|
|
53
53
|
readKeysForCommand
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-OWZETMRE.js";
|
|
55
55
|
import {
|
|
56
56
|
MAX_BUFFERED_INPUT
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-GYTAHH5Y.js";
|
|
58
58
|
import {
|
|
59
59
|
enclosingTraceId,
|
|
60
60
|
inRun,
|
|
61
61
|
newRunId,
|
|
62
62
|
traceOf
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-FBVJGJDM.js";
|
|
64
64
|
import {
|
|
65
65
|
storeDamaged
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-VG63EXRC.js";
|
|
67
67
|
import {
|
|
68
68
|
queryDescription
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-FMJ4QSSU.js";
|
|
70
70
|
import {
|
|
71
71
|
captureStreams,
|
|
72
72
|
traceIdOf
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-CS62FET6.js";
|
|
74
74
|
import {
|
|
75
75
|
COMPACT_FLAG,
|
|
76
76
|
SNAKE_CASE,
|
|
@@ -109,19 +109,19 @@ import {
|
|
|
109
109
|
unknown,
|
|
110
110
|
word,
|
|
111
111
|
writes
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-3D5PETD2.js";
|
|
113
113
|
import {
|
|
114
114
|
CliError,
|
|
115
115
|
errorCodes
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-K3K3WKDB.js";
|
|
117
117
|
import {
|
|
118
118
|
__name
|
|
119
119
|
} from "./chunk-ZVVMGPBJ.js";
|
|
120
120
|
|
|
121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
121
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
122
122
|
import { Readable } from "node:stream";
|
|
123
123
|
|
|
124
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
124
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
|
|
125
125
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
126
126
|
var lintRuleSchema = strictObject({
|
|
127
127
|
id: word,
|
|
@@ -267,7 +267,7 @@ var overrideSchema = strictObject({
|
|
|
267
267
|
});
|
|
268
268
|
var overridesSchema = array(overrideSchema);
|
|
269
269
|
|
|
270
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
270
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
|
|
271
271
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
272
272
|
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");
|
|
273
273
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -396,11 +396,12 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
396
396
|
covers: ["commands", "upgrade", "notes", "meetings"],
|
|
397
397
|
differences: FAMILY_SINCE_0_98
|
|
398
398
|
},
|
|
399
|
-
// bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's meetings take call
|
|
400
|
-
// zoom-cli's:
|
|
399
|
+
// bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's and asterisk-cli's meetings take call
|
|
400
|
+
// recordings, not zoom-cli's: they are compared on the root commands every CLI shares, the way gcal and mail are.
|
|
401
|
+
// notion-cli joins here until its documents commands ship; then it moves next to drive.
|
|
401
402
|
{
|
|
402
403
|
name: "shared-roots",
|
|
403
|
-
members: ["tg", "max", "memo", "drive", "zm", "wa", "b24", "beeline"],
|
|
404
|
+
members: ["tg", "max", "memo", "drive", "zm", "wa", "b24", "beeline", "pbx", "notion"],
|
|
404
405
|
covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
|
|
405
406
|
differences: [...MEMO_HAS_NO_PROFILES, MEMO_DOCTOR_DEEP]
|
|
406
407
|
}
|
|
@@ -416,7 +417,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
416
417
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
417
418
|
]);
|
|
418
419
|
|
|
419
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
420
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
|
|
420
421
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
421
422
|
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");
|
|
422
423
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -432,7 +433,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
432
433
|
}
|
|
433
434
|
]);
|
|
434
435
|
|
|
435
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
436
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
|
|
436
437
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
437
438
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
438
439
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -454,7 +455,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
454
455
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
455
456
|
]);
|
|
456
457
|
|
|
457
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
458
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
|
|
458
459
|
var ACCOUNT_FLAGS = [
|
|
459
460
|
{
|
|
460
461
|
name: "--client-id",
|
|
@@ -491,7 +492,7 @@ var ACCOUNT_FLAGS = [
|
|
|
491
492
|
{ name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
|
|
492
493
|
];
|
|
493
494
|
|
|
494
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
495
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
|
|
495
496
|
var CALENDAR_FLAGS = [
|
|
496
497
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
497
498
|
{
|
|
@@ -516,6 +517,13 @@ var CALENDAR_FLAGS = [
|
|
|
516
517
|
type: "string",
|
|
517
518
|
meaning: "a person invited to the event, by email address; repeat it for more"
|
|
518
519
|
},
|
|
520
|
+
{
|
|
521
|
+
name: "--setting",
|
|
522
|
+
value: "<name=value>",
|
|
523
|
+
role: "value",
|
|
524
|
+
type: "string",
|
|
525
|
+
meaning: "one of the service's own settings, such as a meeting's waiting room; repeat it for more"
|
|
526
|
+
},
|
|
519
527
|
{
|
|
520
528
|
name: "--id",
|
|
521
529
|
value: "<id>",
|
|
@@ -565,7 +573,7 @@ var CALENDAR_FLAGS = [
|
|
|
565
573
|
}
|
|
566
574
|
];
|
|
567
575
|
|
|
568
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
576
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
|
|
569
577
|
var CRM_FLAGS = [
|
|
570
578
|
{
|
|
571
579
|
name: "--pipeline",
|
|
@@ -715,7 +723,7 @@ var CRM_FLAGS = [
|
|
|
715
723
|
}
|
|
716
724
|
];
|
|
717
725
|
|
|
718
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
726
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
|
|
719
727
|
var HOW_FLAGS = [
|
|
720
728
|
{
|
|
721
729
|
name: "--limit",
|
|
@@ -1712,7 +1720,7 @@ var HOW_FLAGS = [
|
|
|
1712
1720
|
}
|
|
1713
1721
|
];
|
|
1714
1722
|
|
|
1715
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1723
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
|
|
1716
1724
|
var KNOWLEDGE_FLAGS = [
|
|
1717
1725
|
{
|
|
1718
1726
|
name: "--accept-terms",
|
|
@@ -1750,7 +1758,7 @@ var KNOWLEDGE_FLAGS = [
|
|
|
1750
1758
|
}
|
|
1751
1759
|
];
|
|
1752
1760
|
|
|
1753
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1761
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
|
|
1754
1762
|
var MAIL_FLAGS = [
|
|
1755
1763
|
{
|
|
1756
1764
|
name: "--cc",
|
|
@@ -1780,7 +1788,7 @@ var MAIL_FLAGS = [
|
|
|
1780
1788
|
}
|
|
1781
1789
|
];
|
|
1782
1790
|
|
|
1783
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1791
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
|
|
1784
1792
|
var PRIVACY_FLAGS = [
|
|
1785
1793
|
{
|
|
1786
1794
|
name: "--about-text",
|
|
@@ -1841,7 +1849,7 @@ var PRIVACY_FLAGS = [
|
|
|
1841
1849
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1842
1850
|
];
|
|
1843
1851
|
|
|
1844
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1852
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
|
|
1845
1853
|
var SCHEDULE_FLAGS = [
|
|
1846
1854
|
{
|
|
1847
1855
|
name: "--locale",
|
|
@@ -1874,7 +1882,7 @@ var SCHEDULE_FLAGS = [
|
|
|
1874
1882
|
}
|
|
1875
1883
|
];
|
|
1876
1884
|
|
|
1877
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1885
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
|
|
1878
1886
|
var WHAT_FLAGS = [
|
|
1879
1887
|
{
|
|
1880
1888
|
name: "--analysis-provider",
|
|
@@ -2871,7 +2879,7 @@ var WHAT_FLAGS = [
|
|
|
2871
2879
|
}
|
|
2872
2880
|
];
|
|
2873
2881
|
|
|
2874
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2882
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_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
|
|
2875
2883
|
var FLAG_TYPES = [
|
|
2876
2884
|
"switch",
|
|
2877
2885
|
"count",
|
|
@@ -3290,7 +3298,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
3290
3298
|
]
|
|
3291
3299
|
});
|
|
3292
3300
|
|
|
3293
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3294
3302
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3295
3303
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3296
3304
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3517,7 +3525,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3517
3525
|
}
|
|
3518
3526
|
}, "runCommandForAgent");
|
|
3519
3527
|
|
|
3520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3521
3529
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3522
3530
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3523
3531
|
var message = pipe(
|
|
@@ -3776,7 +3784,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3776
3784
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
3777
3785
|
}, "failed");
|
|
3778
3786
|
|
|
3779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3780
3788
|
import { randomUUID } from "node:crypto";
|
|
3781
3789
|
var MATCHES = 8;
|
|
3782
3790
|
var ANSWER = answerSchema();
|