@wirecat/zoom-cli 0.76.0 → 0.78.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 +12 -11
- package/contracts/wirecat.json +53 -105
- package/dist/answer-entities.d.ts +1 -141
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +0 -31
- package/dist/answer-entities.js.map +1 -1
- package/dist/api.d.ts +18 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +179 -54
- package/dist/api.js.map +1 -1
- package/dist/archive-commands.d.ts +0 -3
- package/dist/archive-commands.d.ts.map +1 -1
- package/dist/archive-commands.js +1 -54
- package/dist/archive-commands.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-AAMFP7IN.js → all-profiles-7JN3N3E6.js} +11 -11
- package/dist/bundle/answer-policy-G2BNMPEX.js +122 -0
- package/dist/bundle/{anthropic-6KIS53QB.js → anthropic-U6O7UYGZ.js} +6 -6
- package/dist/bundle/{app-server-6QYNNYEU.js → app-server-G7BTC6CE.js} +78 -68
- package/dist/bundle/{bun-QVVCH4MJ.js → bun-VLROVUFK.js} +2 -2
- package/dist/bundle/{bun-sqlite-Y2ZFMNQ3.js → bun-sqlite-C5JLANDE.js} +7 -7
- package/dist/bundle/{chunk-25GMFXPF.js → chunk-2AWWMROP.js} +3244 -3674
- package/dist/bundle/{chunk-YESHGC3M.js → chunk-2LMD3JUD.js} +2 -2
- package/dist/bundle/{chunk-LGBLYFKI.js → chunk-2O66KMOR.js} +6 -2
- package/dist/bundle/{chunk-JADBHKBP.js → chunk-2USGT7LE.js} +1 -1
- package/dist/bundle/{chunk-M7WYBGQT.js → chunk-3A3B3JX4.js} +8 -8
- package/dist/bundle/{chunk-RJK5ADMH.js → chunk-3NZJKY7A.js} +103 -42
- package/dist/bundle/chunk-3QWYRZME.js +773 -0
- package/dist/bundle/{chunk-D2TGXSHQ.js → chunk-4QCLPSJ7.js} +5 -5
- package/dist/bundle/{chunk-XC4V6YCS.js → chunk-4XPVRZXE.js} +1 -1
- package/dist/bundle/{chunk-EZJSAYWZ.js → chunk-532FNLON.js} +31 -87
- package/dist/bundle/{chunk-QLUU3BV2.js → chunk-53TV72JG.js} +6 -6
- package/dist/bundle/{chunk-VJANMYEC.js → chunk-5DLK4OXF.js} +3 -3
- package/dist/bundle/chunk-5SM2IOAS.js +389 -0
- package/dist/bundle/{chunk-65VRWNDP.js → chunk-6MFEWAK4.js} +4 -4
- package/dist/bundle/{chunk-IUSY4ZJK.js → chunk-6NTNAEZF.js} +2379 -2114
- package/dist/bundle/{chunk-DQHS336B.js → chunk-7AMKSXMB.js} +7 -6
- package/dist/bundle/{chunk-IXPBSDKB.js → chunk-7EVB4UV7.js} +4 -4
- package/dist/bundle/chunk-7HEZQCHL.js +555 -0
- package/dist/bundle/{chunk-TYAFL66K.js → chunk-7IIQU5RA.js} +15 -31
- package/dist/bundle/{chunk-TK77DCE5.js → chunk-7K5O2VWO.js} +1 -1
- package/dist/bundle/{chunk-VG63EXRC.js → chunk-AEVSVVTP.js} +2 -2
- package/dist/bundle/chunk-B4V4DRVO.js +229 -0
- package/dist/bundle/{chunk-2HKUQ7DR.js → chunk-B6TUEQ4O.js} +3 -3
- package/dist/bundle/chunk-BAHXR4PA.js +259 -0
- package/dist/bundle/{chunk-ZFYNJERV.js → chunk-BGO7IEHY.js} +6 -6
- package/dist/bundle/{chunk-PFLJJQWW.js → chunk-BIUHLXL2.js} +54 -55
- package/dist/bundle/{chunk-5T7TBK5Y.js → chunk-C26V2XNV.js} +1 -1
- package/dist/bundle/chunk-C56OYYFG.js +170 -0
- package/dist/bundle/{chunk-MDTEAKA5.js → chunk-DLJPN47R.js} +8 -6
- package/dist/bundle/{chunk-FBVJGJDM.js → chunk-EV7QCFQR.js} +27 -574
- package/dist/bundle/{chunk-ORM73DZO.js → chunk-F2KZNAFF.js} +2 -2
- package/dist/bundle/{chunk-QY6GE7CL.js → chunk-F7IDYQLM.js} +2 -2
- package/dist/bundle/{chunk-WNXC42IU.js → chunk-FCGRXUAU.js} +9 -9
- package/dist/bundle/{chunk-ELW3LMJZ.js → chunk-FHOQWPQ6.js} +397 -157
- package/dist/bundle/{chunk-NQ356ERO.js → chunk-FMMCGQNT.js} +77 -10
- package/dist/bundle/{chunk-K3K3WKDB.js → chunk-FNLXFQN6.js} +1 -1
- package/dist/bundle/{chunk-YGKM2ZWF.js → chunk-FURKMNC2.js} +3 -3
- package/dist/bundle/{chunk-XRH2NKW4.js → chunk-FXHZHQKU.js} +6 -6
- package/dist/bundle/{chunk-GZYICXO4.js → chunk-GQ6EJDMV.js} +1 -1
- package/dist/bundle/{chunk-VABYJQYE.js → chunk-H34KEXTN.js} +24 -22
- package/dist/bundle/{chunk-HWYSJ4SL.js → chunk-H74NENWA.js} +3 -3
- package/dist/bundle/{chunk-Y2BGABXP.js → chunk-H7SRM26V.js} +3 -3
- package/dist/bundle/{chunk-VRA4RVQU.js → chunk-HGBZBQAE.js} +3 -3
- package/dist/bundle/{chunk-EZXW3ZCR.js → chunk-HI4QICF7.js} +12 -12
- package/dist/bundle/{chunk-LEVOI6Z3.js → chunk-HOJOVUO6.js} +14 -13
- package/dist/bundle/{chunk-XWQKRKMT.js → chunk-HUSIS3XO.js} +71 -252
- package/dist/bundle/chunk-IBINGDYF.js +335 -0
- package/dist/bundle/{chunk-55SWKR6Y.js → chunk-INJK7FNM.js} +337 -597
- package/dist/bundle/{chunk-CXHUOPN5.js → chunk-JOIAE3NO.js} +7 -7
- package/dist/bundle/{chunk-OFODCJ2A.js → chunk-KBTINKQF.js} +3 -3
- package/dist/bundle/{chunk-VCFSUGPE.js → chunk-KEAKNNXU.js} +4 -4
- package/dist/bundle/{chunk-XHVFX74L.js → chunk-LBTANUUH.js} +2 -2
- package/dist/bundle/chunk-LBV4673S.js +72 -0
- package/dist/bundle/chunk-LERF2FIK.js +295 -0
- package/dist/bundle/{chunk-UYZDH5LK.js → chunk-LX532BXO.js} +1 -1
- package/dist/bundle/{chunk-IVFNHIU4.js → chunk-M2M3U4UU.js} +81 -5
- package/dist/bundle/{chunk-JWMOHEDL.js → chunk-M5R2DURM.js} +10 -10
- package/dist/bundle/{chunk-4ERYXY4Y.js → chunk-MJMHUU3J.js} +1 -1
- package/dist/bundle/{chunk-GYTAHH5Y.js → chunk-MSMFYW6N.js} +2 -2
- package/dist/bundle/{chunk-X73YEFQE.js → chunk-MVLLWSV7.js} +20 -118
- package/dist/bundle/{chunk-RXUVXAMM.js → chunk-NO2LIHWA.js} +1 -1
- package/dist/bundle/{chunk-Y4WEAWU7.js → chunk-NS5XSCHC.js} +1 -1
- package/dist/bundle/{chunk-ZETM63M6.js → chunk-OAE6XR7E.js} +9 -60
- package/dist/bundle/{chunk-CS62FET6.js → chunk-OAYAGQ7C.js} +22 -22
- package/dist/bundle/{chunk-T2QVWRJF.js → chunk-OI4563JI.js} +39 -67
- package/dist/bundle/{chunk-WKT5RPSY.js → chunk-OOLNK3Y5.js} +8 -8
- package/dist/bundle/{chunk-EBIK5Q73.js → chunk-ORSTSBWU.js} +1 -1
- package/dist/bundle/{chunk-GB5LI5RM.js → chunk-P5QO7Y3H.js} +6 -6
- package/dist/bundle/{chunk-3D5PETD2.js → chunk-PJMQE4PW.js} +29 -9
- package/dist/bundle/{chunk-KEFDP6NL.js → chunk-Q4AKIAIA.js} +12 -12
- package/dist/bundle/{chunk-CPOFLYPU.js → chunk-Q4CNLEAY.js} +29 -29
- package/dist/bundle/{chunk-UAV74EY4.js → chunk-RJIJR6KH.js} +1 -1
- package/dist/bundle/{chunk-GPIQY4YB.js → chunk-TEFHNXXX.js} +14 -14
- package/dist/bundle/{chunk-FMJ4QSSU.js → chunk-TFDD4Q5Z.js} +10 -10
- package/dist/bundle/{chunk-HUHH25AG.js → chunk-TXDCIM5D.js} +3017 -1599
- package/dist/bundle/{chunk-FGRFIXG2.js → chunk-U2Z35B3W.js} +2 -2
- package/dist/bundle/{chunk-WZJ7ZYR4.js → chunk-UHBQM54J.js} +4 -4
- package/dist/bundle/{chunk-6VCQ4CTK.js → chunk-UIBKGH5P.js} +1 -1
- package/dist/bundle/{chunk-5EII5RIL.js → chunk-UKYO3HNO.js} +1 -1
- package/dist/bundle/{chunk-7RORMNKP.js → chunk-V53TIJLY.js} +2 -2
- package/dist/bundle/{chunk-OOYIPK4F.js → chunk-VMA7SILL.js} +1 -1
- package/dist/bundle/chunk-VW36ZSAE.js +88 -0
- package/dist/bundle/chunk-WEAMGNST.js +31 -0
- package/dist/bundle/{chunk-EPPE6ZTS.js → chunk-WJTXO2EI.js} +1 -1
- package/dist/bundle/{chunk-4JPOELCT.js → chunk-WOYPWXZK.js} +4 -4
- package/dist/bundle/{chunk-OINDAHXC.js → chunk-XCOGI4JE.js} +4 -4
- package/dist/bundle/{chunk-CE5Y7PQU.js → chunk-XOG7B7K5.js} +4 -4
- package/dist/bundle/chunk-XSF5OBVZ.js +224 -0
- package/dist/bundle/{chunk-B7ZREOBD.js → chunk-XXD4YPHQ.js} +12 -12
- package/dist/bundle/{chunk-35AH33VJ.js → chunk-YAPDU3SV.js} +1 -1
- package/dist/bundle/{chunk-R47GYLNN.js → chunk-YHQ3TEGB.js} +29 -27
- package/dist/bundle/{chunk-LOEK6IFQ.js → chunk-YLNUKNGD.js} +87 -35
- package/dist/bundle/{chunk-6SXCGS3A.js → chunk-YNYQGZUW.js} +7 -7
- package/dist/bundle/{chunk-OWZETMRE.js → chunk-YZKVCTZI.js} +8 -8
- package/dist/bundle/{chunk-UG2QDGAH.js → chunk-ZCVO6GAT.js} +1 -1
- package/dist/bundle/{chunk-YEBWRWE3.js → chunk-ZDZASHSQ.js} +17 -17
- package/dist/bundle/chunk-ZZJ5IWNT.js +101 -0
- package/dist/bundle/{cli-FHMLYHUZ.js → cli-YALONJ4V.js} +135 -84
- package/dist/bundle/command-contract-DMR5EOIN.js +45 -0
- package/dist/bundle/{command-server-entry-YEZM52R5.js → command-server-entry-W4XTBUZE.js} +35 -31
- package/dist/bundle/config-4TLDRXRL.js +109 -0
- package/dist/bundle/{decode-SIYRMJOK.js → decode-IFQHVCFX.js} +16 -8
- package/dist/bundle/{dispatch-SMER3WDX.js → dispatch-GOJB4TDK.js} +9 -9
- package/dist/bundle/{dist-BSJETSFE.js → dist-H7XFUMRX.js} +25 -22
- package/dist/bundle/{echarts-UZJ6AREV.js → echarts-HPUHPJCO.js} +2 -2
- package/dist/bundle/{embed-A7DSHVI7.js → embed-ESU3WZYW.js} +7 -7
- package/dist/bundle/{embedder-WQBR4UGS.js → embedder-BV6O76B3.js} +10 -10
- package/dist/bundle/{failure-73UQXQTW.js → failure-SWVCYFQX.js} +3 -3
- package/dist/bundle/first-run-OEJGAQAE.js +29 -0
- package/dist/bundle/first-screen-QLM4IABL.js +45 -0
- package/dist/bundle/{folders-BH4SV6SI.js → folders-VQGKBM3P.js} +5 -5
- package/dist/bundle/{instructions-SDDUBGH4.js → instructions-UUX57I3V.js} +1 -1
- package/dist/bundle/{main-KL4FN5F3.js → main-UIKADOFB.js} +24 -24
- package/dist/bundle/{mcp-GN4FTJX5.js → mcp-VMS6PBCU.js} +2 -2
- package/dist/bundle/meeting-combined-SKJISCC7.js +26 -0
- package/dist/bundle/meeting-model-YG3Z5KCB.js +26 -0
- package/dist/bundle/meeting-semantic-F6GUICB7.js +23 -0
- package/dist/bundle/{meetings-URPXBHV7.js → meetings-KIBUPLPW.js} +37 -7
- package/dist/bundle/{node-ELCNUOCE.js → node-AM3JCAWB.js} +2 -2
- package/dist/bundle/{node-sqlite-QLSNHZBM.js → node-sqlite-VM6VS3RU.js} +8 -8
- package/dist/bundle/{oauth-LZ64S7Y3.js → oauth-AX5Z32H6.js} +8 -8
- package/dist/bundle/{open-WB4HUPQT.js → open-SSGOOOZG.js} +6 -6
- package/dist/bundle/openai-YIP73X2B.js +28 -0
- package/dist/bundle/{output-file-AHPQA5LR.js → output-file-FR226A64.js} +6 -6
- package/dist/bundle/{process-67DAKAAQ.js → process-5ZEK2VFY.js} +1 -1
- package/dist/bundle/{program-CIMACIBE.js → program-ROJAJHCB.js} +424 -251
- package/dist/bundle/{prompt-GG53UBDJ.js → prompt-6Y7A4453.js} +6 -6
- package/dist/bundle/{recognize-CFJ3CAEH.js → recognize-R5W25WKH.js} +5 -5
- package/dist/bundle/{remote-BLEM7C3Q.js → remote-PA4FQUZK.js} +11 -11
- package/dist/bundle/{rerank-ERN6PC66.js → rerank-CYX3UFTM.js} +8 -8
- package/dist/bundle/run-log-FHERL3H6.js +136 -0
- package/dist/bundle/{serve-FJPPTJXH.js → serve-MM5QEZJW.js} +15 -15
- package/dist/bundle/{server-FLUSDUGM.js → server-JQQAH7E5.js} +64 -54
- package/dist/bundle/server-W2BBONCQ.js +85 -0
- package/dist/bundle/{services-LXC6DVUQ.js → services-Y2DOQONM.js} +85 -54
- package/dist/bundle/{speech-WFEZTKXA.js → speech-O6WLX34V.js} +34 -18
- package/dist/bundle/{sqlite-runtime-KN33VSP7.js → sqlite-runtime-LQTBZMFH.js} +7 -7
- package/dist/bundle/{state-TXS4ZHIT.js → state-AIDPZLVH.js} +7 -7
- package/dist/bundle/{store-ZUREZYZB.js → store-BA4FQS5V.js} +26 -20
- package/dist/bundle/{store-MUOXLVL4.js → store-UNDS2TBG.js} +30 -22
- package/dist/bundle/store-connection-ADBJ36T4.js +102 -0
- package/dist/bundle/store-maintenance-command-IB6ML4UI.js +77 -0
- package/dist/bundle/{streaming-ZSCHRC5S.js → streaming-UFHT5MR2.js} +7 -7
- package/dist/bundle/{tokens-YVDOY4EV.js → tokens-Z32UKGQB.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-O6GIMB7Y.js → zoom-app-6U46XBTG.js} +8 -8
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +3 -0
- package/dist/commands.js.map +1 -1
- package/dist/first-screen.d.ts.map +1 -1
- package/dist/first-screen.js +3 -5
- package/dist/first-screen.js.map +1 -1
- package/dist/meeting-integration-commands.d.ts.map +1 -1
- package/dist/meeting-integration-commands.js +46 -28
- package/dist/meeting-integration-commands.js.map +1 -1
- package/dist/meeting-source.d.ts.map +1 -1
- package/dist/meeting-source.js +15 -1
- package/dist/meeting-source.js.map +1 -1
- package/dist/permissions.d.ts +8 -4
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +25 -24
- package/dist/permissions.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +8 -5
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +2 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js.map +1 -1
- package/dist/remote-meetings.d.ts +38 -8
- package/dist/remote-meetings.d.ts.map +1 -1
- package/dist/remote-meetings.js +52 -29
- package/dist/remote-meetings.js.map +1 -1
- package/dist/run.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zoom-app.d.ts.map +1 -1
- package/dist/zoom-app.js +1 -0
- package/dist/zoom-app.js.map +1 -1
- package/package.json +5 -4
- package/skills/zoom-cli/SKILL.md +88 -236
- package/skills/zoom-cli/references/archive.md +59 -0
- package/skills/zoom-cli/references/people-and-projects.md +51 -0
- package/skills/zoom-cli/references/prepare.md +78 -0
- package/skills/zoom-cli/references/search.md +71 -0
- package/skills/zoom-cli/references/setup.md +31 -0
- package/skills/zoom-cli/references/zoom-live.md +27 -0
- package/dist/bundle/answer-policy-ETAELI4A.js +0 -110
- package/dist/bundle/chunk-64N7MY3I.js +0 -161
- package/dist/bundle/command-contract-HUZ4I23S.js +0 -41
- package/dist/bundle/config-KVTWN7QZ.js +0 -97
- package/dist/bundle/first-run-SY6XSUZ3.js +0 -29
- package/dist/bundle/first-screen-ZDMODGWS.js +0 -39
- package/dist/bundle/openai-KN6JE4QU.js +0 -28
- package/dist/bundle/run-log-S67YPJF6.js +0 -124
- package/dist/bundle/server-UNJY3TSJ.js +0 -74
- package/dist/bundle/store-connection-NRNEBUPU.js +0 -90
- package/dist/bundle/store-maintenance-command-OBOPYFZ5.js +0 -65
- /package/dist/bundle/{chunk-BDCC2J2Z.js → chunk-SHTHNBHG.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
|
LEVELS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YZKVCTZI.js";
|
|
6
6
|
import {
|
|
7
7
|
WORD_BODY,
|
|
8
8
|
e164Of
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-532FNLON.js";
|
|
10
10
|
import {
|
|
11
11
|
resolvePaths,
|
|
12
12
|
writeSecurely
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OAYAGQ7C.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-PJMQE4PW.js";
|
|
33
33
|
import {
|
|
34
34
|
CliError
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FNLXFQN6.js";
|
|
36
36
|
import {
|
|
37
37
|
visibleControls
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-WJTXO2EI.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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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,7 +519,7 @@ 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.
|
|
522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
523
523
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
524
524
|
import { join } from "node:path";
|
|
525
525
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
@@ -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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/messenger/private-files.js
|
|
8
8
|
import { existsSync, statSync } from "node:fs";
|
|
9
9
|
var shellQuoted = /* @__PURE__ */ __name((path) => `'${path.replaceAll("'", `'\\''`)}'`, "shellQuoted");
|
|
10
10
|
var privateFiles = /* @__PURE__ */ __name(({ files, dirs }, platform = process.platform) => {
|
|
@@ -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-FNLXFQN6.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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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();
|
|
@@ -2,13 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
refuseLacking
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HI4QICF7.js";
|
|
6
6
|
import {
|
|
7
7
|
servingProfiles
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-B6TUEQ4O.js";
|
|
9
9
|
import {
|
|
10
|
+
DEFAULT_PACE,
|
|
10
11
|
FloodMemory,
|
|
11
12
|
OFFLINE,
|
|
13
|
+
Pacer,
|
|
12
14
|
RecipientList,
|
|
13
15
|
capability,
|
|
14
16
|
ceilingRefusal,
|
|
@@ -16,12 +18,13 @@ import {
|
|
|
16
18
|
floodPathFor,
|
|
17
19
|
guardFor,
|
|
18
20
|
holdEnd,
|
|
21
|
+
pacePathFor,
|
|
19
22
|
profilesOnAccount,
|
|
20
23
|
recipientsPathFor,
|
|
21
24
|
servicesFor,
|
|
22
25
|
throughWrapper,
|
|
23
|
-
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
waitForTurn
|
|
27
|
+
} from "./chunk-2AWWMROP.js";
|
|
25
28
|
import {
|
|
26
29
|
asFirstWord,
|
|
27
30
|
baseContext,
|
|
@@ -35,10 +38,10 @@ import {
|
|
|
35
38
|
recalledAccount,
|
|
36
39
|
rememberAccount,
|
|
37
40
|
rootOf2 as rootOf
|
|
38
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-INJK7FNM.js";
|
|
39
42
|
import {
|
|
40
43
|
providerErrorKey
|
|
41
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-JOIAE3NO.js";
|
|
42
45
|
import {
|
|
43
46
|
AUTHORITY_KEY,
|
|
44
47
|
CEILING_KEY,
|
|
@@ -50,31 +53,28 @@ import {
|
|
|
50
53
|
levelFor,
|
|
51
54
|
readKeysForCommand,
|
|
52
55
|
skipFlagFor
|
|
53
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-YZKVCTZI.js";
|
|
54
57
|
import {
|
|
55
58
|
openStore
|
|
56
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-6NTNAEZF.js";
|
|
57
60
|
import {
|
|
58
61
|
chatReferenceOf,
|
|
59
62
|
ensureAccount,
|
|
60
63
|
foldName,
|
|
61
64
|
isId,
|
|
62
65
|
pickPerson
|
|
63
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-532FNLON.js";
|
|
64
67
|
import {
|
|
65
68
|
isCliFailure
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import {
|
|
68
|
-
resolvePaths
|
|
69
|
-
} from "./chunk-CS62FET6.js";
|
|
69
|
+
} from "./chunk-AEVSVVTP.js";
|
|
70
70
|
import {
|
|
71
71
|
CliError
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-FNLXFQN6.js";
|
|
73
73
|
import {
|
|
74
74
|
__name
|
|
75
75
|
} from "./chunk-ZVVMGPBJ.js";
|
|
76
76
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
77
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
78
78
|
import { openSync } from "node:fs";
|
|
79
79
|
import { createInterface } from "node:readline";
|
|
80
80
|
import { ReadStream } from "node:tty";
|
|
@@ -129,7 +129,7 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
129
129
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
130
130
|
}, "terminalAsker");
|
|
131
131
|
|
|
132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
133
133
|
var HOUSEKEEPING = /* @__PURE__ */ new Set([
|
|
134
134
|
"help",
|
|
135
135
|
"guide",
|
|
@@ -209,7 +209,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
209
209
|
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
210
210
|
}, "refuseUnknownPermissionKeys");
|
|
211
211
|
|
|
212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
213
213
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
214
214
|
var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
|
|
215
215
|
let warned = false;
|
|
@@ -785,102 +785,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
785
785
|
}
|
|
786
786
|
}, "keep");
|
|
787
787
|
|
|
788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
789
|
-
import { readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
790
|
-
import { join } from "node:path";
|
|
791
|
-
var DEFAULT_PACE = { perMinute: 60, burst: 20 };
|
|
792
|
-
var pacePathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "pace", `${profile}.json`), "pacePathFor");
|
|
793
|
-
var Pacer = class {
|
|
794
|
-
static {
|
|
795
|
-
__name(this, "Pacer");
|
|
796
|
-
}
|
|
797
|
-
path;
|
|
798
|
-
rate;
|
|
799
|
-
now;
|
|
800
|
-
constructor(path, rate, now = Date.now) {
|
|
801
|
-
this.path = path;
|
|
802
|
-
this.rate = rate;
|
|
803
|
-
this.now = now;
|
|
804
|
-
}
|
|
805
|
-
get interval() {
|
|
806
|
-
return this.rate.perMinute > 0 ? 6e4 / this.rate.perMinute : 0;
|
|
807
|
-
}
|
|
808
|
-
/** When this call may go; reserved at once, so the next caller in any process lines up behind it. */
|
|
809
|
-
async reserve() {
|
|
810
|
-
if (this.interval === 0)
|
|
811
|
-
return this.now();
|
|
812
|
-
return withFileLockAsync(this.path, "the request pace", () => {
|
|
813
|
-
const now = this.now();
|
|
814
|
-
const tat = Math.max(this.read(now), now);
|
|
815
|
-
this.write(tat + this.interval, now);
|
|
816
|
-
return Math.max(now, tat - this.rate.burst * this.interval);
|
|
817
|
-
});
|
|
818
|
-
}
|
|
819
|
-
/** The messenger asked every caller to wait: nothing goes before `now + waitMs`, in any process. */
|
|
820
|
-
async holdFor(waitMs) {
|
|
821
|
-
if (this.interval === 0)
|
|
822
|
-
return;
|
|
823
|
-
await withFileLockAsync(this.path, "the request pace", () => {
|
|
824
|
-
const now = this.now();
|
|
825
|
-
const hold = now + waitMs + this.rate.burst * this.interval;
|
|
826
|
-
this.write(Math.max(this.read(now), hold), now);
|
|
827
|
-
});
|
|
828
|
-
}
|
|
829
|
-
/** The owner's `flood clear`: every process may go again at once. */
|
|
830
|
-
async reset() {
|
|
831
|
-
await withFileLockAsync(this.path, "the request pace", () => this.write(0, this.now()));
|
|
832
|
-
}
|
|
833
|
-
read(now) {
|
|
834
|
-
try {
|
|
835
|
-
const file = JSON.parse(readFileSync(this.path, "utf8"));
|
|
836
|
-
const tat = Number(file.tat);
|
|
837
|
-
if (!Number.isFinite(tat))
|
|
838
|
-
return 0;
|
|
839
|
-
const at = Number(file.at);
|
|
840
|
-
return Number.isFinite(at) && at > now ? now + Math.max(0, tat - at) : tat;
|
|
841
|
-
} catch {
|
|
842
|
-
return 0;
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
write(tat, at) {
|
|
846
|
-
const temporary = `${this.path}.${process.pid}.tmp`;
|
|
847
|
-
writeFileSync(temporary, JSON.stringify({ tat, at }), { mode: 384 });
|
|
848
|
-
renameSync(temporary, this.path);
|
|
849
|
-
}
|
|
850
|
-
};
|
|
851
|
-
var ANNOUNCE_WAIT_MS = 5e3;
|
|
852
|
-
var LONGEST_PACE_WAIT_MS = 5 * 6e4;
|
|
853
|
-
var waitForTurn = /* @__PURE__ */ __name(async (pacer, options) => {
|
|
854
|
-
const { name, operation, warn } = options;
|
|
855
|
-
const now = options.now ?? Date.now;
|
|
856
|
-
let at = now();
|
|
857
|
-
try {
|
|
858
|
-
at = await pacer.reserve();
|
|
859
|
-
} catch (error) {
|
|
860
|
-
warn?.(`could not remember ${name}'s wait (${error instanceof Error ? error.message : String(error)})`, {
|
|
861
|
-
event: "warning",
|
|
862
|
-
code: "wait_not_remembered",
|
|
863
|
-
operation
|
|
864
|
-
});
|
|
865
|
-
}
|
|
866
|
-
const waitMs = at - now();
|
|
867
|
-
if (waitMs <= 0)
|
|
868
|
-
return;
|
|
869
|
-
if (waitMs > (options.longestWaitMs ?? LONGEST_PACE_WAIT_MS))
|
|
870
|
-
throw new CliError("rate_limited", `this profile's next request to ${name} has to wait ${Math.ceil(waitMs / 1e3)} s more \u2014 nothing was sent to ${name}`, { retry_after_ms: waitMs, retry_at: new Date(at).toISOString(), remembered: true });
|
|
871
|
-
if (waitMs >= ANNOUNCE_WAIT_MS) {
|
|
872
|
-
const seconds = Math.ceil(waitMs / 1e3);
|
|
873
|
-
warn?.(`waiting ${seconds} s to keep this profile's pace with ${name}`, {
|
|
874
|
-
event: "warning",
|
|
875
|
-
code: "pace_wait",
|
|
876
|
-
operation,
|
|
877
|
-
counts: { seconds }
|
|
878
|
-
});
|
|
879
|
-
}
|
|
880
|
-
await (options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms))))(waitMs);
|
|
881
|
-
}, "waitForTurn");
|
|
882
|
-
|
|
883
|
-
// 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/messenger/flooded.js
|
|
788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
884
789
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
885
790
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
886
791
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -977,7 +882,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
977
882
|
});
|
|
978
883
|
}, "flooded");
|
|
979
884
|
|
|
980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
885
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
981
886
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
982
887
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
983
888
|
const write = currentOperation();
|
|
@@ -1076,7 +981,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
1076
981
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
1077
982
|
}, "byPart");
|
|
1078
983
|
|
|
1079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
984
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
1080
985
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
1081
986
|
let opened;
|
|
1082
987
|
return {
|
|
@@ -1479,9 +1384,6 @@ var messengerContext = /* @__PURE__ */ __name((command, messenger, resolving = {
|
|
|
1479
1384
|
export {
|
|
1480
1385
|
answerOf,
|
|
1481
1386
|
terminalAsker,
|
|
1482
|
-
DEFAULT_PACE,
|
|
1483
|
-
pacePathFor,
|
|
1484
|
-
Pacer,
|
|
1485
1387
|
commandPathKey,
|
|
1486
1388
|
commandPermissions,
|
|
1487
1389
|
knownPermissionKeys,
|
|
@@ -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.106.0_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
8
|
import { existsSync } from "node:fs";
|
|
9
9
|
import { win32 } from "node:path";
|
|
10
10
|
var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
|
|
@@ -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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
|
|
8
8
|
var COMMAND_SERVER_ARGV = ["commands", "--serve"];
|
|
9
9
|
var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
|
|
10
10
|
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
WIRECAT_TOOLS
|
|
5
|
+
} from "./chunk-VW36ZSAE.js";
|
|
3
6
|
import {
|
|
4
7
|
wrapAnsi
|
|
5
8
|
} from "./chunk-HTQTIKWP.js";
|
|
6
9
|
import {
|
|
7
10
|
commandPathOf,
|
|
8
11
|
outputOf
|
|
9
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4QCLPSJ7.js";
|
|
10
13
|
import {
|
|
11
14
|
Command,
|
|
12
15
|
Help,
|
|
@@ -17,18 +20,18 @@ import {
|
|
|
17
20
|
environmentOf,
|
|
18
21
|
metaOf,
|
|
19
22
|
takesProfile
|
|
20
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-INJK7FNM.js";
|
|
21
24
|
import {
|
|
22
25
|
writes
|
|
23
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PJMQE4PW.js";
|
|
24
27
|
import {
|
|
25
28
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FNLXFQN6.js";
|
|
27
30
|
import {
|
|
28
31
|
__name
|
|
29
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
33
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
32
35
|
var ARGUMENT_KINDS = {
|
|
33
36
|
chat: "chat",
|
|
34
37
|
chats: "chat",
|
|
@@ -250,60 +253,7 @@ var exampleReport = /* @__PURE__ */ __name((program) => {
|
|
|
250
253
|
return { written, generated, text };
|
|
251
254
|
}, "exampleReport");
|
|
252
255
|
|
|
253
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
254
|
-
var WIRECAT_TOOLS = [
|
|
255
|
-
{
|
|
256
|
-
command: "tg",
|
|
257
|
-
package: "@wirecat/tg-cli",
|
|
258
|
-
does: "Telegram in the same local store: search, review and tasks offline"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
command: "max",
|
|
262
|
-
package: "@wirecat/max-cli",
|
|
263
|
-
does: "MAX in the same local store: search, review and tasks offline"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
command: "wa",
|
|
267
|
-
package: "@wirecat/whatsapp-cli",
|
|
268
|
-
does: "WhatsApp in the same local store: search, review and tasks offline"
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
command: "zm",
|
|
272
|
-
package: "@wirecat/zoom-cli",
|
|
273
|
-
does: "Zoom meetings: transcripts and summaries, searchable with your other WireCat data"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
command: "drive",
|
|
277
|
-
package: "@wirecat/drive-cli",
|
|
278
|
-
does: "Google Drive and Docs as local text, searchable with your other WireCat data"
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
command: "gcal",
|
|
282
|
-
package: "@wirecat/gcal-cli",
|
|
283
|
-
does: "Google Calendar events, searchable with your other WireCat data"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
command: "memo",
|
|
287
|
-
package: "@wirecat/cli-memo",
|
|
288
|
-
shown: "memo context <person>",
|
|
289
|
-
does: "one person across messengers, mail, notes and meetings"
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
command: "mail",
|
|
293
|
-
package: "@wirecat/mail-cli",
|
|
294
|
-
does: "IMAP mail in the same local store: search your mailbox offline, next to your other WireCat data"
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
command: "b24",
|
|
298
|
-
package: "@wirecat/bitrix24-cli",
|
|
299
|
-
does: "Bitrix24 CRM: deals, leads and pipelines, searchable with your other WireCat data"
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
command: "pbx",
|
|
303
|
-
package: "@wirecat/asterisk-cli",
|
|
304
|
-
does: "Asterisk PBX calls and recordings, searchable with your other WireCat data"
|
|
305
|
-
}
|
|
306
|
-
];
|
|
256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
307
257
|
var WIDTH = 100;
|
|
308
258
|
var widest = /* @__PURE__ */ __name((texts) => texts.reduce((most, text) => Math.max(most, text.length), 0), "widest");
|
|
309
259
|
var block = /* @__PURE__ */ __name((title, rows, column) => rows.length === 0 ? [] : ["", `${title}:`, ...rows.map(([left, right]) => ` ${left.padEnd(column)}${right}`)], "block");
|
|
@@ -398,7 +348,6 @@ export {
|
|
|
398
348
|
commandHelpText,
|
|
399
349
|
commandHelpMarkdown,
|
|
400
350
|
exampleReport,
|
|
401
|
-
WIRECAT_TOOLS,
|
|
402
351
|
firstScreen,
|
|
403
352
|
installHelp
|
|
404
353
|
};
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
string,
|
|
20
20
|
text,
|
|
21
21
|
unknown
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PJMQE4PW.js";
|
|
23
23
|
import {
|
|
24
24
|
CliError,
|
|
25
25
|
isCliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FNLXFQN6.js";
|
|
27
27
|
import {
|
|
28
28
|
visibleControls
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WJTXO2EI.js";
|
|
30
30
|
import {
|
|
31
31
|
__commonJS,
|
|
32
32
|
__name,
|
|
@@ -1899,7 +1899,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1899
1899
|
}
|
|
1900
1900
|
});
|
|
1901
1901
|
|
|
1902
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1902
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
|
|
1903
1903
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
1904
1904
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
1905
1905
|
if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
|
|
@@ -1911,7 +1911,7 @@ var fieldsOf = /* @__PURE__ */ __name((value) => {
|
|
|
1911
1911
|
return [...new Set(paths)];
|
|
1912
1912
|
}, "fieldsOf");
|
|
1913
1913
|
var object2 = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object" && !Array.isArray(value), "object");
|
|
1914
|
-
var retained = /* @__PURE__ */ new Set(["operation_id", "page", "next", "missing", "meta", "coverage"]);
|
|
1914
|
+
var retained = /* @__PURE__ */ new Set(["operation_id", "page", "next", "missing", "meta", "coverage", "untrusted"]);
|
|
1915
1915
|
var itemPaths = /* @__PURE__ */ __name((paths) => paths.map((path) => path.startsWith("items.") ? path.slice(6) : path), "itemPaths");
|
|
1916
1916
|
var onePaths = /* @__PURE__ */ __name((paths) => paths.map((path) => path.startsWith("item.") ? path.slice(5) : path), "onePaths");
|
|
1917
1917
|
var select = /* @__PURE__ */ __name((value, paths) => {
|
|
@@ -1964,7 +1964,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
1964
1964
|
return project(value, fields);
|
|
1965
1965
|
}, "projectFields");
|
|
1966
1966
|
|
|
1967
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1967
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
|
|
1968
1968
|
var BATCH_LIMITS = Object.freeze({
|
|
1969
1969
|
requests: 32,
|
|
1970
1970
|
input_bytes: 262144,
|
|
@@ -2111,7 +2111,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2111
2111
|
};
|
|
2112
2112
|
}, "runBatch");
|
|
2113
2113
|
|
|
2114
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2114
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
|
|
2115
2115
|
import { randomBytes } from "node:crypto";
|
|
2116
2116
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2117
2117
|
import { dirname, join } from "node:path";
|
|
@@ -2155,7 +2155,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2155
2155
|
`, 384);
|
|
2156
2156
|
}, "saveConfigFile");
|
|
2157
2157
|
|
|
2158
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2158
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
|
|
2159
2159
|
import { createRequire } from "node:module";
|
|
2160
2160
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
2161
2161
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -2181,7 +2181,7 @@ var systemKeyring = {
|
|
|
2181
2181
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
2182
2182
|
};
|
|
2183
2183
|
|
|
2184
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2184
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
|
|
2185
2185
|
import { realpathSync } from "node:fs";
|
|
2186
2186
|
import { homedir, userInfo } from "node:os";
|
|
2187
2187
|
import { join as join2, posix, win32 } from "node:path";
|
|
@@ -2255,7 +2255,7 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
2255
2255
|
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
2256
2256
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join2(configDir, fileName), "configFilePath");
|
|
2257
2257
|
|
|
2258
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2258
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2259
2259
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2260
2260
|
import { join as join3, resolve } from "node:path";
|
|
2261
2261
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
@@ -2392,10 +2392,10 @@ var Credentials = class {
|
|
|
2392
2392
|
}
|
|
2393
2393
|
};
|
|
2394
2394
|
|
|
2395
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2395
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2396
2396
|
import { appendFileSync } from "node:fs";
|
|
2397
2397
|
|
|
2398
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2398
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
|
|
2399
2399
|
var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
2400
2400
|
var logRecordSchema = strictObject({
|
|
2401
2401
|
time: isoTime,
|
|
@@ -2473,7 +2473,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
|
|
|
2473
2473
|
return traceId;
|
|
2474
2474
|
}, "traceIdOf");
|
|
2475
2475
|
|
|
2476
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2476
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2477
2477
|
var REDACTED_FIELDS = [
|
|
2478
2478
|
"authorization",
|
|
2479
2479
|
"Authorization",
|
|
@@ -2567,7 +2567,7 @@ var silent = {
|
|
|
2567
2567
|
}, "error")
|
|
2568
2568
|
};
|
|
2569
2569
|
|
|
2570
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2570
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/output-buffer.js
|
|
2571
2571
|
var createOutputBuffer = /* @__PURE__ */ __name(({ maxOutputBytes = 4 * 1024 * 1024, fields, format } = {}) => {
|
|
2572
2572
|
if (!Number.isSafeInteger(maxOutputBytes) || maxOutputBytes < 0)
|
|
2573
2573
|
throw new CliError("validation_error", "maxOutputBytes must be a nonnegative whole byte count");
|
|
@@ -2628,7 +2628,7 @@ var createOutputBuffer = /* @__PURE__ */ __name(({ maxOutputBytes = 4 * 1024 * 1
|
|
|
2628
2628
|
};
|
|
2629
2629
|
}, "createOutputBuffer");
|
|
2630
2630
|
|
|
2631
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2631
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
|
|
2632
2632
|
var DEFAULT_RETRY = {
|
|
2633
2633
|
retries: 1,
|
|
2634
2634
|
baseDelayMs: 250,
|
|
@@ -2640,7 +2640,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
2640
2640
|
return Math.round(random() * ceiling);
|
|
2641
2641
|
}, "backoffMs");
|
|
2642
2642
|
|
|
2643
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2643
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
|
|
2644
2644
|
import { fileURLToPath } from "node:url";
|
|
2645
2645
|
var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
2646
2646
|
var baseConstantsSchema = object({});
|
|
@@ -2695,7 +2695,7 @@ var loadConstants = /* @__PURE__ */ __name((layers, schema) => {
|
|
|
2695
2695
|
return deepFreeze(result.output);
|
|
2696
2696
|
}, "loadConstants");
|
|
2697
2697
|
|
|
2698
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2698
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
|
|
2699
2699
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2700
2700
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2701
2701
|
if (signal?.aborted) {
|
|
@@ -2710,7 +2710,7 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2710
2710
|
}), "realSleep");
|
|
2711
2711
|
var wallClock = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "wallClock");
|
|
2712
2712
|
|
|
2713
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2713
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/deadline.js
|
|
2714
2714
|
var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSleep } = {}) => {
|
|
2715
2715
|
if (timeoutMs !== void 0 && (!Number.isSafeInteger(timeoutMs) || timeoutMs < 0 || timeoutMs > 2147483647))
|
|
2716
2716
|
throw new CliError("validation_error", "timeoutMs must be an integer from zero through 2147483647");
|
|
@@ -2794,7 +2794,7 @@ var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSl
|
|
|
2794
2794
|
};
|
|
2795
2795
|
}, "createDeadline");
|
|
2796
2796
|
|
|
2797
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2797
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
|
|
2798
2798
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2799
2799
|
import { styleText } from "node:util";
|
|
2800
2800
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2869,7 +2869,7 @@ var BORDERLESS = {
|
|
|
2869
2869
|
middle: ""
|
|
2870
2870
|
};
|
|
2871
2871
|
|
|
2872
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2872
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
|
|
2873
2873
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
2874
2874
|
if (signal?.aborted)
|
|
2875
2875
|
return Promise.reject(signal.reason);
|
|
@@ -2897,7 +2897,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
2897
2897
|
});
|
|
2898
2898
|
}, "waitForDrain");
|
|
2899
2899
|
|
|
2900
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2900
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
|
|
2901
2901
|
var processStreams = {
|
|
2902
2902
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
2903
2903
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -2926,7 +2926,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
2926
2926
|
};
|
|
2927
2927
|
}, "captureStreams");
|
|
2928
2928
|
|
|
2929
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2929
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
|
|
2930
2930
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2931
2931
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2932
2932
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|