@wirecat/zoom-cli 0.59.1 → 0.60.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-RS5IWIGR.js → all-profiles-7OZPJY76.js} +5 -5
- package/dist/bundle/{answer-policy-7BYG6XWZ.js → answer-policy-PVWMA2QC.js} +50 -50
- package/dist/bundle/{anthropic-5QHQR4WF.js → anthropic-TT2XV74T.js} +3 -3
- package/dist/bundle/{app-server-7LANSZGE.js → app-server-POMYD6QV.js} +45 -45
- package/dist/bundle/{bun-O6RL6LRQ.js → bun-JVDJVDHL.js} +2 -2
- package/dist/bundle/{bun-sqlite-PEJM6CS4.js → bun-sqlite-BBOPAQVG.js} +2 -2
- package/dist/bundle/{chunk-ZHXIXDH5.js → chunk-22UBF6U6.js} +4 -4
- package/dist/bundle/{chunk-L2UIJDWB.js → chunk-2EVRKK75.js} +1 -1
- package/dist/bundle/{chunk-YSHSCBPM.js → chunk-2TV7UTHK.js} +7 -7
- package/dist/bundle/{chunk-XFCSPOLZ.js → chunk-3P4LUGXI.js} +1 -1
- package/dist/bundle/{chunk-QFGBMS67.js → chunk-3UMXCNDI.js} +13 -6
- package/dist/bundle/{chunk-JUS4H7Z5.js → chunk-4FTPE5SB.js} +23 -23
- package/dist/bundle/{chunk-4AURKUDZ.js → chunk-4HZRZDMC.js} +3 -3
- package/dist/bundle/{chunk-RXDIG23Z.js → chunk-4MC4Z45G.js} +5 -5
- package/dist/bundle/{chunk-PKTFZAXG.js → chunk-57LT4A2E.js} +1 -1
- package/dist/bundle/{chunk-T6AAM7UT.js → chunk-72A7CIPL.js} +18 -15
- package/dist/bundle/{chunk-6FL25KC5.js → chunk-7PQY4ISY.js} +3 -3
- package/dist/bundle/{chunk-URO44C5T.js → chunk-7T3BUWJK.js} +156 -144
- package/dist/bundle/{chunk-BXZ6WSVF.js → chunk-AJA5ZAV6.js} +3 -3
- package/dist/bundle/{chunk-MBT7GP7K.js → chunk-D6L35XQS.js} +8 -8
- package/dist/bundle/{chunk-K76WFW4I.js → chunk-DAQXO6SM.js} +3 -3
- package/dist/bundle/{chunk-SIA7HJE2.js → chunk-DKIIKMSE.js} +54 -47
- package/dist/bundle/{chunk-XT7XVPEM.js → chunk-DN7VHENQ.js} +9 -9
- package/dist/bundle/{chunk-KVHRHBLY.js → chunk-E3AMUYNB.js} +4 -4
- package/dist/bundle/{chunk-CVIKKIGE.js → chunk-EF2RCQ3L.js} +1 -1
- package/dist/bundle/{chunk-OBZWUNO4.js → chunk-EH6G2LEU.js} +8 -8
- package/dist/bundle/{chunk-A6323R5P.js → chunk-EOZWDEJL.js} +1 -1
- package/dist/bundle/{chunk-UKR7KH3H.js → chunk-EROQ5SC7.js} +2 -2
- package/dist/bundle/{chunk-NDXAZB5Z.js → chunk-EXFAA4N3.js} +5 -5
- package/dist/bundle/{chunk-MNUTWGSA.js → chunk-G3MXAGF2.js} +30 -30
- package/dist/bundle/{chunk-3SCTDFNO.js → chunk-GNRYFESK.js} +15 -15
- package/dist/bundle/{chunk-PACC5N6T.js → chunk-GXACHTB2.js} +8 -1
- package/dist/bundle/{chunk-4NGLRHWO.js → chunk-HBYE4EP2.js} +1 -1
- package/dist/bundle/{chunk-NW7IMGRR.js → chunk-HIAO4MPA.js} +1 -1
- package/dist/bundle/{chunk-7D2CD3E3.js → chunk-HWZXQLR5.js} +4 -4
- package/dist/bundle/{chunk-QCFHL4ES.js → chunk-I45V6AFG.js} +1 -1
- package/dist/bundle/{chunk-DXZTLB24.js → chunk-IFXPNXAH.js} +3 -3
- package/dist/bundle/{chunk-NOKFJJPA.js → chunk-J3N2LL37.js} +5 -5
- package/dist/bundle/{chunk-KDYPY6IL.js → chunk-J5ZVGKSZ.js} +1 -1
- package/dist/bundle/{chunk-MMT46EN4.js → chunk-JBGYI5BY.js} +1 -1
- package/dist/bundle/{chunk-B32SF7J3.js → chunk-KUBCUE6T.js} +1 -1
- package/dist/bundle/{chunk-G27MRA24.js → chunk-KUBWRI5E.js} +1 -1
- package/dist/bundle/{chunk-7H3ZRDLW.js → chunk-KVPYI52N.js} +2 -2
- package/dist/bundle/{chunk-27P22POE.js → chunk-LKV3NRCJ.js} +29 -25
- package/dist/bundle/{recognize-EMHQX4XF.js → chunk-LYZNVNJA.js} +6 -5
- package/dist/bundle/{chunk-IYAGQXED.js → chunk-LZBWU2IA.js} +7 -7
- package/dist/bundle/{chunk-ZC5UXEIH.js → chunk-M5WLBRL7.js} +10 -10
- package/dist/bundle/{chunk-BAQLQIMI.js → chunk-MGYFSXI5.js} +30 -26
- package/dist/bundle/{chunk-PF25S7L4.js → chunk-NKFRV2LB.js} +1 -1
- package/dist/bundle/{chunk-PNBEREOU.js → chunk-ODFIV4OS.js} +1904 -1527
- package/dist/bundle/{chunk-YIFIY7ZE.js → chunk-PU4FKK5T.js} +1 -1
- package/dist/bundle/{chunk-UXM7I35J.js → chunk-PUOBYJFI.js} +4 -4
- package/dist/bundle/{chunk-VOAVOK4I.js → chunk-Q4NDCDFG.js} +55 -16
- package/dist/bundle/{chunk-UYJUTZTT.js → chunk-QJCVOVNR.js} +2 -2
- package/dist/bundle/{chunk-5DVW77VC.js → chunk-RH5YXXAB.js} +30 -30
- package/dist/bundle/{chunk-L3VS3H34.js → chunk-RNX73QCL.js} +5 -5
- package/dist/bundle/{chunk-YJRMMZI5.js → chunk-RSLXLUTS.js} +9 -9
- package/dist/bundle/{chunk-CTGI4ES2.js → chunk-SG3WSP7Y.js} +5 -5
- package/dist/bundle/{chunk-U6QW67SU.js → chunk-SK3K2VHF.js} +371 -314
- package/dist/bundle/{chunk-2EYP23NY.js → chunk-SKENSSY2.js} +9 -9
- package/dist/bundle/{chunk-VSUY7PDW.js → chunk-TAQKNWCD.js} +6 -3
- package/dist/bundle/{chunk-EUQ7XFPK.js → chunk-TB72GE55.js} +1 -1
- package/dist/bundle/{chunk-PP3JGQQE.js → chunk-UOL4ILXT.js} +108 -52
- package/dist/bundle/{chunk-ZTOAAYFV.js → chunk-V2QOLHPM.js} +2 -2
- package/dist/bundle/{chunk-AIXLOMH4.js → chunk-W5EUHV3J.js} +1 -1
- package/dist/bundle/{chunk-SL3SXQZ5.js → chunk-WVXAQVLG.js} +5 -5
- package/dist/bundle/{chunk-3SERIWJD.js → chunk-XAF2LHZG.js} +7853 -7815
- package/dist/bundle/{chunk-DXKVEOSS.js → chunk-XLJV3ZOH.js} +1 -1
- package/dist/bundle/{chunk-MIGIKHER.js → chunk-XMCVB4Q4.js} +3 -3
- package/dist/bundle/{chunk-N7GAQ27N.js → chunk-YSZQ5SZK.js} +2 -2
- package/dist/bundle/{chunk-7Z4ANTAK.js → chunk-YZZ6NBXC.js} +27 -19
- package/dist/bundle/{chunk-DDYR6DYL.js → chunk-ZK7Y5K63.js} +1 -1
- package/dist/bundle/{cli-IQTASP44.js → cli-WIMAOCXF.js} +51 -51
- package/dist/bundle/command-contract-J7PDZQMC.js +38 -0
- package/dist/bundle/config-G62PBNZF.js +79 -0
- package/dist/bundle/decode-UBPIHVNG.js +158 -0
- package/dist/bundle/{dist-WT73DF46.js → dist-YYDTME5J.js} +11 -11
- package/dist/bundle/{echarts-LD3AI55P.js → echarts-4OQHS575.js} +2 -2
- package/dist/bundle/{embed-XEMH4LNX.js → embed-7JHEPBFD.js} +3 -3
- package/dist/bundle/{embedder-ZCYKSKAE.js → embedder-HTRPWR6T.js} +6 -6
- package/dist/bundle/{first-run-LGYDLIUM.js → first-run-I52ADRJ2.js} +5 -5
- package/dist/bundle/first-screen-XNCFWOLC.js +36 -0
- package/dist/bundle/{instructions-RZMSW3OC.js → instructions-3QZBKKPF.js} +1 -1
- package/dist/bundle/{main-LDCSYBV3.js → main-64VVZ5QG.js} +11 -11
- package/dist/bundle/mcp-5SJXWEJW.js +92 -0
- package/dist/bundle/{mcp-M7MW5EGT.js → mcp-ZMIPDB4R.js} +59 -59
- package/dist/bundle/{meetings-XPBHVZAU.js → meetings-RD3NU6NN.js} +5 -1
- package/dist/bundle/{node-ZRLYQL7J.js → node-R2BLYUSB.js} +2 -2
- package/dist/bundle/node-sqlite-DGEEDBXV.js +61 -0
- package/dist/bundle/{oauth-UHVRGKZU.js → oauth-NRZMCFH3.js} +4 -4
- package/dist/bundle/{open-J4FCAUAJ.js → open-SUGCOCAU.js} +1 -1
- package/dist/bundle/{process-LL77573L.js → process-IX5YWGDP.js} +1 -1
- package/dist/bundle/{program-4S5BJVSW.js → program-WGNTV7NS.js} +61 -61
- package/dist/bundle/{prompt-LUUMQTMY.js → prompt-NICXDWN3.js} +2 -2
- package/dist/bundle/recognize-6DAHO6X6.js +21 -0
- package/dist/bundle/{remote-ZXS6D7VB.js → remote-JZ3TXP6I.js} +4 -4
- package/dist/bundle/{rerank-WP7RKZNB.js → rerank-YSXWCAGZ.js} +4 -4
- package/dist/bundle/{run-log-GS2L66G6.js → run-log-APHZZWC7.js} +48 -48
- package/dist/bundle/{serve-L6KLLXK2.js → serve-7VWL475U.js} +6 -6
- package/dist/bundle/server-7LABFAA5.js +53 -0
- package/dist/bundle/server-VFXB5WRG.js +66 -0
- package/dist/bundle/{services-SPOEWVK3.js → services-D64U72OE.js} +21 -21
- package/dist/bundle/{speech-6OBAKMND.js → speech-QLCQAT4O.js} +3 -3
- package/dist/bundle/{state-HN5EJKXQ.js → state-KAD3R27T.js} +3 -3
- package/dist/bundle/{store-ZP2URKET.js → store-2BHHS77S.js} +12 -12
- package/dist/bundle/{store-LEU3M6IN.js → store-7UNPRLZ3.js} +10 -10
- package/dist/bundle/store-connection-QTMLZ7LR.js +76 -0
- package/dist/bundle/store-maintenance-command-ND6PQCVZ.js +54 -0
- package/dist/bundle/zm.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/zoom-cli/SKILL.md +1 -0
- package/dist/bundle/command-contract-WHZPF7NA.js +0 -38
- package/dist/bundle/config-AXMQ2PXT.js +0 -79
- package/dist/bundle/first-screen-LYQKPNF4.js +0 -36
- package/dist/bundle/mcp-VISEXTVC.js +0 -92
- package/dist/bundle/node-sqlite-BBEDYBWO.js +0 -45
- package/dist/bundle/server-NOFYENP5.js +0 -53
- package/dist/bundle/server-P5TXAPBY.js +0 -66
- package/dist/bundle/store-connection-3UZBORXK.js +0 -76
- package/dist/bundle/store-maintenance-command-PSCHEHHY.js +0 -54
- /package/dist/bundle/{chunk-Q2Z3VCM4.js → chunk-YLBNPI7H.js} +0 -0
|
@@ -2,17 +2,17 @@ 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-Q4NDCDFG.js";
|
|
6
6
|
import {
|
|
7
7
|
servingProfiles
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QJCVOVNR.js";
|
|
9
9
|
import {
|
|
10
10
|
OFFLINE,
|
|
11
11
|
capability,
|
|
12
12
|
chatIdIn,
|
|
13
13
|
servicesFor,
|
|
14
14
|
throughWrapper
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XAF2LHZG.js";
|
|
16
16
|
import {
|
|
17
17
|
asFirstWord,
|
|
18
18
|
baseContext,
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
recalledAccount,
|
|
24
24
|
rememberAccount,
|
|
25
25
|
rootOf2 as rootOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-G3MXAGF2.js";
|
|
27
27
|
import {
|
|
28
28
|
MESSENGER_CHANGE_REFUSAL,
|
|
29
29
|
readOnlyRefusal
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3P4LUGXI.js";
|
|
31
31
|
import {
|
|
32
32
|
providerErrorKey
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-LZBWU2IA.js";
|
|
34
34
|
import {
|
|
35
35
|
LOG_ATTRIBUTES,
|
|
36
36
|
codeOf,
|
|
@@ -38,15 +38,15 @@ import {
|
|
|
38
38
|
currentRun,
|
|
39
39
|
fromLogAttributes,
|
|
40
40
|
logAttributes
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YZZ6NBXC.js";
|
|
42
42
|
import {
|
|
43
43
|
isCliFailure
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-EOZWDEJL.js";
|
|
45
45
|
import {
|
|
46
46
|
foldName,
|
|
47
47
|
isId,
|
|
48
48
|
pickPerson
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-RNX73QCL.js";
|
|
50
50
|
import {
|
|
51
51
|
AUTHORITY_KEY,
|
|
52
52
|
CEILING_KEY,
|
|
@@ -57,10 +57,10 @@ import {
|
|
|
57
57
|
levelFor,
|
|
58
58
|
readKeysForCommand,
|
|
59
59
|
skipFlagFor
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-NKFRV2LB.js";
|
|
61
61
|
import {
|
|
62
62
|
openStore
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-ODFIV4OS.js";
|
|
64
64
|
import {
|
|
65
65
|
CliError,
|
|
66
66
|
logRecordOf,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
__name
|
|
73
73
|
} from "./chunk-ZVVMGPBJ.js";
|
|
74
74
|
|
|
75
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
75
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
76
76
|
import { openSync } from "node:fs";
|
|
77
77
|
import { createInterface } from "node:readline";
|
|
78
78
|
import { ReadStream } from "node:tty";
|
|
@@ -127,10 +127,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
127
127
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
128
128
|
}, "terminalAsker");
|
|
129
129
|
|
|
130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
130
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
131
131
|
import { randomUUID } from "node:crypto";
|
|
132
132
|
|
|
133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/sends/flood.js
|
|
134
134
|
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
135
135
|
import { dirname, join } from "node:path";
|
|
136
136
|
var MOST_DEADLINES = 50;
|
|
@@ -214,11 +214,11 @@ var FloodMemory = class {
|
|
|
214
214
|
}
|
|
215
215
|
};
|
|
216
216
|
|
|
217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
218
218
|
import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
|
|
219
219
|
import { dirname as dirname3, join as join2 } from "node:path";
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
|
|
222
222
|
import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
|
|
223
223
|
import { dirname as dirname2 } from "node:path";
|
|
224
224
|
var LOCK_WAIT_MS = 5e3;
|
|
@@ -285,7 +285,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
|
|
|
285
285
|
}
|
|
286
286
|
}, "lockTime");
|
|
287
287
|
|
|
288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
289
289
|
var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
|
|
290
290
|
var SendJournal = class {
|
|
291
291
|
static {
|
|
@@ -362,7 +362,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
|
|
|
362
362
|
return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
|
|
363
363
|
}, "withSendId");
|
|
364
364
|
|
|
365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/sends/recipients.js
|
|
366
366
|
import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
|
|
367
367
|
import { join as join3 } from "node:path";
|
|
368
368
|
var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
|
|
@@ -474,7 +474,7 @@ var RecipientList = class {
|
|
|
474
474
|
}
|
|
475
475
|
};
|
|
476
476
|
|
|
477
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
478
478
|
var HOUR_MS = 60 * 60 * 1e3;
|
|
479
479
|
var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
|
|
480
480
|
"attachments.extract",
|
|
@@ -667,7 +667,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
|
|
|
667
667
|
}), "guardFor");
|
|
668
668
|
var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
|
|
669
669
|
|
|
670
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
671
671
|
var HOUSEKEEPING = /* @__PURE__ */ new Set([
|
|
672
672
|
"help",
|
|
673
673
|
"guide",
|
|
@@ -746,7 +746,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
746
746
|
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
747
747
|
}, "refuseUnknownPermissionKeys");
|
|
748
748
|
|
|
749
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
749
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
750
750
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
751
751
|
var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false }) => {
|
|
752
752
|
let warned = false;
|
|
@@ -1238,7 +1238,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
1238
1238
|
}
|
|
1239
1239
|
}, "keep");
|
|
1240
1240
|
|
|
1241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/sends/pace.js
|
|
1242
1242
|
import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
1243
1243
|
import { join as join4 } from "node:path";
|
|
1244
1244
|
var DEFAULT_PACE = { perMinute: 60, burst: 20 };
|
|
@@ -1297,7 +1297,7 @@ var Pacer = class {
|
|
|
1297
1297
|
}
|
|
1298
1298
|
};
|
|
1299
1299
|
|
|
1300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
1301
1301
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
1302
1302
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
1303
1303
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -1416,7 +1416,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
1416
1416
|
});
|
|
1417
1417
|
}, "flooded");
|
|
1418
1418
|
|
|
1419
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1419
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
1420
1420
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
1421
1421
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
1422
1422
|
const write = currentOperation();
|
|
@@ -1515,7 +1515,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
1515
1515
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
1516
1516
|
}, "byPart");
|
|
1517
1517
|
|
|
1518
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1518
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
1519
1519
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
1520
1520
|
let opened;
|
|
1521
1521
|
return {
|
|
@@ -1578,7 +1578,11 @@ var storedMessages = /* @__PURE__ */ __name((provider, store, account) => {
|
|
|
1578
1578
|
pollVotes: /* @__PURE__ */ __name(async (chatId, messageId) => {
|
|
1579
1579
|
const owner = key();
|
|
1580
1580
|
return owner ? (await store()).messages.pollVotes(owner, chatId, messageId) : [];
|
|
1581
|
-
}, "pollVotes")
|
|
1581
|
+
}, "pollVotes"),
|
|
1582
|
+
reactors: /* @__PURE__ */ __name(async (chatId, messageId) => {
|
|
1583
|
+
const owner = key();
|
|
1584
|
+
return owner ? (await store()).messages.reactors(owner, chatId, messageId) : [];
|
|
1585
|
+
}, "reactors")
|
|
1582
1586
|
};
|
|
1583
1587
|
}, "storedMessages");
|
|
1584
1588
|
var connectFor = /* @__PURE__ */ __name((command, messenger, base, options = {}) => {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/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");
|