@wirecat/mail-cli 0.32.0 → 0.33.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/CHANGELOG.md +15 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-OTCWJSJS.js → all-profiles-W3CGXEEJ.js} +10 -10
- package/dist/bundle/{anthropic-GUXHDK32.js → anthropic-UMDO5AKP.js} +5 -5
- package/dist/bundle/{app-server-GX7DOE4O.js → app-server-4SICQ5RP.js} +50 -50
- package/dist/bundle/{bun-V5QLYBZU.js → bun-QVVCH4MJ.js} +2 -2
- package/dist/bundle/{bun-sqlite-AXD5CCO3.js → bun-sqlite-CHD4AIUK.js} +6 -6
- package/dist/bundle/{chunk-KLGZX6QT.js → chunk-2BFXHCZW.js} +2 -2
- package/dist/bundle/{chunk-AJY2IT25.js → chunk-2L6D54BR.js} +8 -8
- package/dist/bundle/{chunk-RNBG75HW.js → chunk-2P44S7XK.js} +26 -29
- package/dist/bundle/{chunk-Z6OKVD3R.js → chunk-2X344EUT.js} +8 -8
- package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-35AH33VJ.js} +1 -1
- package/dist/bundle/{chunk-2IYAZRTC.js → chunk-47YNANPZ.js} +2 -2
- package/dist/bundle/{chunk-7C6FGWDH.js → chunk-6IS4BEN4.js} +4 -4
- package/dist/bundle/{chunk-CAQ5GW3A.js → chunk-6VCQ4CTK.js} +1 -1
- package/dist/bundle/{chunk-HUWQ7LXZ.js → chunk-74BYHR44.js} +584 -588
- package/dist/bundle/{chunk-U346WBJ5.js → chunk-7OYZU5SP.js} +4 -4
- package/dist/bundle/{chunk-SWXKS7JK.js → chunk-AEKWEYIG.js} +17 -17
- package/dist/bundle/{chunk-JRGPPS6H.js → chunk-BF73DBAA.js} +13 -13
- package/dist/bundle/{chunk-7KCBPAQS.js → chunk-BI5P7JWM.js} +2 -2
- package/dist/bundle/{chunk-7MEVD5PI.js → chunk-BRRHYXUP.js} +19 -19
- package/dist/bundle/{chunk-PALY5PGE.js → chunk-BZY5W35X.js} +7 -7
- package/dist/bundle/{chunk-ZAD7K4TI.js → chunk-CHNNKHLL.js} +7468 -7317
- package/dist/bundle/{chunk-GPOTPA3S.js → chunk-CIG4UVP6.js} +12 -12
- package/dist/bundle/{chunk-7GW4D3OW.js → chunk-CZ6ZXDSO.js} +43 -35
- package/dist/bundle/{chunk-ANYADN3S.js → chunk-DI74RP6R.js} +18 -18
- package/dist/bundle/{chunk-IX3GUNGV.js → chunk-EW3JFV7J.js} +4 -4
- package/dist/bundle/{chunk-TWHIZJAZ.js → chunk-FSMCXQH2.js} +2 -2
- package/dist/bundle/{chunk-SEJBS7SI.js → chunk-GZYICXO4.js} +1 -1
- package/dist/bundle/{chunk-WNGMI6AZ.js → chunk-H46MANPR.js} +3 -3
- package/dist/bundle/{chunk-QHXOXYAT.js → chunk-HFFHL7SV.js} +55 -55
- package/dist/bundle/{chunk-GSXCMQWV.js → chunk-I3UAD4EI.js} +30 -30
- package/dist/bundle/{chunk-IBCGCYRU.js → chunk-IBIFX2LK.js} +2 -2
- package/dist/bundle/{chunk-FA3B2DHZ.js → chunk-IPSLQX64.js} +2 -2
- package/dist/bundle/{chunk-3URYKAJP.js → chunk-JADBHKBP.js} +1 -1
- package/dist/bundle/{chunk-GDDCKTBR.js → chunk-JCQ47WR4.js} +5 -5
- package/dist/bundle/{chunk-JUS4Y4BW.js → chunk-JUYUWMTG.js} +4 -4
- package/dist/bundle/{chunk-TDTCCHAI.js → chunk-KLLT572M.js} +3 -3
- package/dist/bundle/{chunk-O7OP5NQO.js → chunk-L3MKFI3Y.js} +2 -2
- package/dist/bundle/{chunk-T577U52I.js → chunk-LACMDMDI.js} +9 -9
- package/dist/bundle/{chunk-CD3TAITM.js → chunk-LB5FTCPZ.js} +3 -4
- package/dist/bundle/{chunk-6TRKNME5.js → chunk-LFBD6RTX.js} +2 -2
- package/dist/bundle/{chunk-PCMQYGEM.js → chunk-LKGJMM6W.js} +6 -6
- package/dist/bundle/{chunk-SDAYOJLL.js → chunk-LXAX6AZU.js} +6 -6
- package/dist/bundle/{chunk-6SJ7HHAE.js → chunk-LXUHYDNE.js} +1 -1
- package/dist/bundle/{chunk-MT2WDBG2.js → chunk-MJ7DUSHT.js} +14 -14
- package/dist/bundle/{chunk-U57QRUP7.js → chunk-MNJ3BMPZ.js} +3 -3
- package/dist/bundle/{chunk-HFA6AZWA.js → chunk-MT7T5N2N.js} +4 -4
- package/dist/bundle/{chunk-MVMNZ3Q3.js → chunk-OFMYFFEF.js} +461 -402
- package/dist/bundle/{chunk-OUM4ZO53.js → chunk-OOYIPK4F.js} +1 -1
- package/dist/bundle/{chunk-MENP3FF5.js → chunk-OWAJN74H.js} +15 -15
- package/dist/bundle/{chunk-SZZJOSIS.js → chunk-QN423PC6.js} +3 -3
- package/dist/bundle/{chunk-KLFF54AF.js → chunk-QO7BK4WD.js} +8 -8
- package/dist/bundle/{chunk-2UMEZY6D.js → chunk-RENCSP47.js} +3 -3
- package/dist/bundle/{chunk-FIVFP53N.js → chunk-RXUVXAMM.js} +1 -1
- package/dist/bundle/{chunk-IVD3JTN5.js → chunk-S6CHYNFE.js} +2 -2
- package/dist/bundle/{chunk-ZDP6A2VL.js → chunk-SDWYOYGN.js} +4 -4
- package/dist/bundle/{chunk-PCWAZVAD.js → chunk-SW7YGW3T.js} +7 -7
- package/dist/bundle/{chunk-MSK7RNOM.js → chunk-SYUIAMVA.js} +178 -154
- package/dist/bundle/{chunk-XXXVVNGI.js → chunk-TBZLGT7R.js} +17 -17
- package/dist/bundle/{chunk-4YNUQGDP.js → chunk-TK77DCE5.js} +1 -1
- 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-ECZSYLSL.js → chunk-UWF3SSRL.js} +25 -8
- package/dist/bundle/{chunk-LVFI3TCG.js → chunk-UX76GMQM.js} +6 -6
- package/dist/bundle/{chunk-6XNTELM5.js → chunk-UYZDH5LK.js} +1 -1
- package/dist/bundle/{chunk-NMN5JUYL.js → chunk-XN5KH24X.js} +5 -5
- package/dist/bundle/{chunk-U7RLFLTM.js → chunk-XQXYAOBV.js} +30 -29
- package/dist/bundle/{chunk-LVJWN2PR.js → chunk-Y2P2LC5R.js} +21 -11
- package/dist/bundle/command-contract-NRNQAFFE.js +36 -0
- package/dist/bundle/{command-server-entry-BVXOPKXH.js → command-server-entry-G2ZHCN5J.js} +25 -25
- package/dist/bundle/{decode-STN3EHT7.js → decode-U6V6D6XH.js} +5 -5
- package/dist/bundle/{dispatch-DSVN7MNG.js → dispatch-RHIK22OA.js} +8 -8
- package/dist/bundle/{dist-B2JWWTNN.js → dist-X5G2IMYG.js} +15 -15
- package/dist/bundle/{echarts-QIXLXS3G.js → echarts-UZJ6AREV.js} +2 -2
- package/dist/bundle/{embed-4NC4ELYP.js → embed-FEXLUH3T.js} +6 -6
- package/dist/bundle/{embedder-HBRDIFQC.js → embedder-NHQARKFJ.js} +9 -9
- package/dist/bundle/{failure-COTPFUP4.js → failure-7DIA4OET.js} +2 -2
- package/dist/bundle/{first-run-6QF67AAZ.js → first-run-PS5NR2QG.js} +12 -12
- package/dist/bundle/first-screen-C2WTLOG2.js +34 -0
- package/dist/bundle/{instructions-MD2RZT5Z.js → instructions-SDDUBGH4.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-TDKGDB4V.js → mcp-GN4FTJX5.js} +2 -2
- package/dist/bundle/{node-IEVT2FSJ.js → node-ELCNUOCE.js} +2 -2
- package/dist/bundle/{node-sqlite-EOTTDMOG.js → node-sqlite-2E5MKZMH.js} +7 -7
- package/dist/bundle/{oauth-A5BEFGCI.js → oauth-JGPEIY3M.js} +7 -7
- package/dist/bundle/{open-HWN2EZYG.js → open-6DEMCZAB.js} +5 -5
- package/dist/bundle/{openai-PJKJ4CIU.js → openai-IVKDU5AH.js} +15 -15
- package/dist/bundle/{process-6Q23D3TO.js → process-67DAKAAQ.js} +1 -1
- package/dist/bundle/{program-WR43NPAV.js → program-ESJDQMAJ.js} +461 -466
- package/dist/bundle/{prompt-E7Q2662O.js → prompt-ZBWOT5KG.js} +5 -5
- package/dist/bundle/{recognize-4F4PIL4B.js → recognize-UUBH2DOH.js} +4 -4
- package/dist/bundle/{remote-RGJXO7XK.js → remote-UYTNWNOB.js} +9 -9
- package/dist/bundle/{rerank-EDY7PHMG.js → rerank-X2633CQN.js} +7 -7
- package/dist/bundle/{serve-Q4XF6ID2.js → serve-CP7Q4OVW.js} +9 -9
- package/dist/bundle/{server-5I72DSDF.js → server-I7MXRSAG.js} +42 -42
- package/dist/bundle/server-QGTMJ7SF.js +67 -0
- package/dist/bundle/{sqlite-runtime-PU3Z2H7C.js → sqlite-runtime-BX55LI5G.js} +6 -6
- package/dist/bundle/{state-CWSXJBU2.js → state-LLNJQXFH.js} +6 -6
- package/dist/bundle/{store-KQPKS3PX.js → store-K4KU5N75.js} +19 -19
- package/dist/bundle/{store-ZAMKKM2A.js → store-N27XI3VV.js} +17 -17
- package/dist/bundle/store-maintenance-command-VPAFQCNA.js +58 -0
- package/dist/commands/messages.js +1 -1
- package/dist/commands/messages.js.map +1 -1
- package/dist/mail/cleanup.d.ts.map +1 -1
- package/dist/mail/cleanup.js +4 -3
- package/dist/mail/cleanup.js.map +1 -1
- package/dist/mail/rules/apply.js +1 -1
- package/dist/mail/rules/apply.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/command-contract-DZ6XRIOI.js +0 -36
- package/dist/bundle/first-screen-LXSZMK2P.js +0 -34
- package/dist/bundle/server-2Y5NSP2U.js +0 -67
- package/dist/bundle/store-maintenance-command-PMTTDR6J.js +0 -58
- /package/dist/bundle/{chunk-XWBPP2HX.js → chunk-BDCC2J2Z.js} +0 -0
|
@@ -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-6IS4BEN4.js";
|
|
6
6
|
import {
|
|
7
7
|
QUESTIONS,
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MNJ3BMPZ.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QO7BK4WD.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BZY5W35X.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-IPSLQX64.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-N27XI3VV.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-6DEMCZAB.js"),
|
|
117
|
+
import("./store-maintenance-command-VPAFQCNA.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-C2WTLOG2.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-ZBWOT5KG.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
203
203
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
204
204
|
`), "say")
|
|
205
205
|
}
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
agentArguments,
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OWAJN74H.js";
|
|
10
10
|
import {
|
|
11
11
|
failureContext
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LB5FTCPZ.js";
|
|
13
13
|
import {
|
|
14
14
|
callerOf
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KLLT572M.js";
|
|
16
16
|
import {
|
|
17
17
|
QUERY_ARGUMENT,
|
|
18
18
|
lentConnection,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
refuseLacking,
|
|
21
21
|
servicesFor,
|
|
22
22
|
storeModeDeps
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-74BYHR44.js";
|
|
24
24
|
import {
|
|
25
25
|
MAX_BUFFERED_INPUT
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-S6CHYNFE.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_OUTPUT_BYTES,
|
|
29
29
|
ENTITIES,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
refuseStoreChange,
|
|
39
39
|
sealed,
|
|
40
40
|
startRecording
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-SYUIAMVA.js";
|
|
42
42
|
import {
|
|
43
43
|
authorityAllowed,
|
|
44
44
|
botApiAllowed,
|
|
@@ -46,29 +46,29 @@ import {
|
|
|
46
46
|
keyForCommand,
|
|
47
47
|
levelFor,
|
|
48
48
|
readKeysForCommand
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-SW7YGW3T.js";
|
|
50
50
|
import {
|
|
51
51
|
currentCaller,
|
|
52
52
|
keepsSuccess,
|
|
53
53
|
runContextOf,
|
|
54
54
|
withCaller
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-2X344EUT.js";
|
|
56
56
|
import {
|
|
57
57
|
enclosingTraceId,
|
|
58
58
|
inRun,
|
|
59
59
|
newRunId,
|
|
60
60
|
traceOf
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-XQXYAOBV.js";
|
|
62
62
|
import {
|
|
63
63
|
queryDescription
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-OFMYFFEF.js";
|
|
65
65
|
import {
|
|
66
66
|
storeDamaged
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-L3MKFI3Y.js";
|
|
68
68
|
import {
|
|
69
69
|
captureStreams,
|
|
70
70
|
traceIdOf
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-BRRHYXUP.js";
|
|
72
72
|
import {
|
|
73
73
|
COMPACT_FLAG,
|
|
74
74
|
SNAKE_CASE,
|
|
@@ -107,19 +107,19 @@ import {
|
|
|
107
107
|
unknown,
|
|
108
108
|
word,
|
|
109
109
|
writes
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-UWF3SSRL.js";
|
|
111
111
|
import {
|
|
112
112
|
CliError,
|
|
113
113
|
errorCodes
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-BI5P7JWM.js";
|
|
115
115
|
import {
|
|
116
116
|
__name
|
|
117
117
|
} from "./chunk-ZVVMGPBJ.js";
|
|
118
118
|
|
|
119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
119
|
+
// 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
|
|
120
120
|
import { Readable } from "node:stream";
|
|
121
121
|
|
|
122
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
122
|
+
// 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
|
|
123
123
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
124
124
|
var lintRuleSchema = strictObject({
|
|
125
125
|
id: word,
|
|
@@ -265,7 +265,7 @@ var overrideSchema = strictObject({
|
|
|
265
265
|
});
|
|
266
266
|
var overridesSchema = array(overrideSchema);
|
|
267
267
|
|
|
268
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
268
|
+
// 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
|
|
269
269
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
270
270
|
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");
|
|
271
271
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -394,11 +394,12 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
394
394
|
covers: ["commands", "upgrade", "notes", "meetings"],
|
|
395
395
|
differences: FAMILY_SINCE_0_98
|
|
396
396
|
},
|
|
397
|
-
// bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's meetings take call
|
|
398
|
-
// zoom-cli's:
|
|
397
|
+
// bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's and asterisk-cli's meetings take call
|
|
398
|
+
// recordings, not zoom-cli's: they are compared on the root commands every CLI shares, the way gcal and mail are.
|
|
399
|
+
// notion-cli joins here until its documents commands ship; then it moves next to drive.
|
|
399
400
|
{
|
|
400
401
|
name: "shared-roots",
|
|
401
|
-
members: ["tg", "max", "memo", "drive", "zm", "wa", "b24", "beeline"],
|
|
402
|
+
members: ["tg", "max", "memo", "drive", "zm", "wa", "b24", "beeline", "pbx", "notion"],
|
|
402
403
|
covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
|
|
403
404
|
differences: [...MEMO_HAS_NO_PROFILES, MEMO_DOCTOR_DEEP]
|
|
404
405
|
}
|
|
@@ -414,7 +415,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
414
415
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
415
416
|
]);
|
|
416
417
|
|
|
417
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
418
|
+
// 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
|
|
418
419
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
419
420
|
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");
|
|
420
421
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -430,7 +431,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
430
431
|
}
|
|
431
432
|
]);
|
|
432
433
|
|
|
433
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
434
|
+
// 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
|
|
434
435
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
435
436
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
436
437
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -452,7 +453,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
452
453
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
453
454
|
]);
|
|
454
455
|
|
|
455
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
456
|
+
// 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
|
|
456
457
|
var ACCOUNT_FLAGS = [
|
|
457
458
|
{
|
|
458
459
|
name: "--client-id",
|
|
@@ -489,7 +490,7 @@ var ACCOUNT_FLAGS = [
|
|
|
489
490
|
{ name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
|
|
490
491
|
];
|
|
491
492
|
|
|
492
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
493
|
+
// 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
|
|
493
494
|
var CALENDAR_FLAGS = [
|
|
494
495
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
495
496
|
{
|
|
@@ -514,6 +515,13 @@ var CALENDAR_FLAGS = [
|
|
|
514
515
|
type: "string",
|
|
515
516
|
meaning: "a person invited to the event, by email address; repeat it for more"
|
|
516
517
|
},
|
|
518
|
+
{
|
|
519
|
+
name: "--setting",
|
|
520
|
+
value: "<name=value>",
|
|
521
|
+
role: "value",
|
|
522
|
+
type: "string",
|
|
523
|
+
meaning: "one of the service's own settings, such as a meeting's waiting room; repeat it for more"
|
|
524
|
+
},
|
|
517
525
|
{
|
|
518
526
|
name: "--id",
|
|
519
527
|
value: "<id>",
|
|
@@ -563,7 +571,7 @@ var CALENDAR_FLAGS = [
|
|
|
563
571
|
}
|
|
564
572
|
];
|
|
565
573
|
|
|
566
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
574
|
+
// 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
|
|
567
575
|
var CRM_FLAGS = [
|
|
568
576
|
{
|
|
569
577
|
name: "--pipeline",
|
|
@@ -713,7 +721,7 @@ var CRM_FLAGS = [
|
|
|
713
721
|
}
|
|
714
722
|
];
|
|
715
723
|
|
|
716
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
724
|
+
// 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
|
|
717
725
|
var HOW_FLAGS = [
|
|
718
726
|
{
|
|
719
727
|
name: "--limit",
|
|
@@ -1710,7 +1718,7 @@ var HOW_FLAGS = [
|
|
|
1710
1718
|
}
|
|
1711
1719
|
];
|
|
1712
1720
|
|
|
1713
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1721
|
+
// 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
|
|
1714
1722
|
var KNOWLEDGE_FLAGS = [
|
|
1715
1723
|
{
|
|
1716
1724
|
name: "--accept-terms",
|
|
@@ -1748,7 +1756,7 @@ var KNOWLEDGE_FLAGS = [
|
|
|
1748
1756
|
}
|
|
1749
1757
|
];
|
|
1750
1758
|
|
|
1751
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1759
|
+
// 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
|
|
1752
1760
|
var MAIL_FLAGS = [
|
|
1753
1761
|
{
|
|
1754
1762
|
name: "--cc",
|
|
@@ -1778,7 +1786,7 @@ var MAIL_FLAGS = [
|
|
|
1778
1786
|
}
|
|
1779
1787
|
];
|
|
1780
1788
|
|
|
1781
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1789
|
+
// 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
|
|
1782
1790
|
var PRIVACY_FLAGS = [
|
|
1783
1791
|
{
|
|
1784
1792
|
name: "--about-text",
|
|
@@ -1839,7 +1847,7 @@ var PRIVACY_FLAGS = [
|
|
|
1839
1847
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1840
1848
|
];
|
|
1841
1849
|
|
|
1842
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1850
|
+
// 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
|
|
1843
1851
|
var SCHEDULE_FLAGS = [
|
|
1844
1852
|
{
|
|
1845
1853
|
name: "--locale",
|
|
@@ -1872,7 +1880,7 @@ var SCHEDULE_FLAGS = [
|
|
|
1872
1880
|
}
|
|
1873
1881
|
];
|
|
1874
1882
|
|
|
1875
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1883
|
+
// 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
|
|
1876
1884
|
var WHAT_FLAGS = [
|
|
1877
1885
|
{
|
|
1878
1886
|
name: "--analysis-provider",
|
|
@@ -2869,7 +2877,7 @@ var WHAT_FLAGS = [
|
|
|
2869
2877
|
}
|
|
2870
2878
|
];
|
|
2871
2879
|
|
|
2872
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2880
|
+
// 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
|
|
2873
2881
|
var FLAG_TYPES = [
|
|
2874
2882
|
"switch",
|
|
2875
2883
|
"count",
|
|
@@ -3288,7 +3296,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
3288
3296
|
]
|
|
3289
3297
|
});
|
|
3290
3298
|
|
|
3291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3299
|
+
// 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
|
|
3292
3300
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3293
3301
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3294
3302
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3515,7 +3523,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3515
3523
|
}
|
|
3516
3524
|
}, "runCommandForAgent");
|
|
3517
3525
|
|
|
3518
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3526
|
+
// 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
|
|
3519
3527
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3520
3528
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3521
3529
|
var message = pipe(
|
|
@@ -3774,7 +3782,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3774
3782
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
3775
3783
|
}, "failed");
|
|
3776
3784
|
|
|
3777
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3785
|
+
// 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
|
|
3778
3786
|
import { randomUUID } from "node:crypto";
|
|
3779
3787
|
var MATCHES = 8;
|
|
3780
3788
|
var ANSWER = answerSchema();
|
|
@@ -20,20 +20,20 @@ import {
|
|
|
20
20
|
providerLabel,
|
|
21
21
|
providerNamed,
|
|
22
22
|
queryError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OFMYFFEF.js";
|
|
24
24
|
import {
|
|
25
25
|
fold
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TK77DCE5.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError,
|
|
29
29
|
isCliError,
|
|
30
30
|
singleLine
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-BI5P7JWM.js";
|
|
32
32
|
import {
|
|
33
33
|
__name
|
|
34
34
|
} from "./chunk-ZVVMGPBJ.js";
|
|
35
35
|
|
|
36
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36
|
+
// 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/phone-plans.generated.js
|
|
37
37
|
var PHONE_PLANS = [
|
|
38
38
|
{
|
|
39
39
|
country: "us",
|
|
@@ -413,7 +413,7 @@ var PHONE_PLANS = [
|
|
|
413
413
|
}
|
|
414
414
|
];
|
|
415
415
|
|
|
416
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
416
|
+
// 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/phones.js
|
|
417
417
|
var PHONE_COUNTRIES = PHONE_PLANS.map((plan) => plan.country);
|
|
418
418
|
var DEFAULT_PHONE_COUNTRIES = ["ru"];
|
|
419
419
|
var parsePhoneCountries = /* @__PURE__ */ __name((value) => {
|
|
@@ -488,7 +488,7 @@ var storedPhone = /* @__PURE__ */ __name((raw, provider) => {
|
|
|
488
488
|
return found ? `+${found[1]}` : void 0;
|
|
489
489
|
}, "storedPhone");
|
|
490
490
|
|
|
491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
491
|
+
// 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/record-fields.js
|
|
492
492
|
var DECIMAL_PATTERN = "^[0-9]{1,16}(\\.[0-9]{1,6})?$";
|
|
493
493
|
var SIGNED_DECIMAL = "^-?[0-9]{1,16}(\\.[0-9]{1,6})?$";
|
|
494
494
|
var DAY = "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
|
|
@@ -538,7 +538,7 @@ var arrayOf = /* @__PURE__ */ __name((item, maxItems, description) => ({
|
|
|
538
538
|
}), "arrayOf");
|
|
539
539
|
var isObject = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isObject");
|
|
540
540
|
|
|
541
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
541
|
+
// 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/record-types.js
|
|
542
542
|
var kept = /* @__PURE__ */ __name((description) => ({ description }), "kept");
|
|
543
543
|
var PARTY = ["person", "organization"];
|
|
544
544
|
var ORGANIZATION = ["organization"];
|
|
@@ -933,7 +933,7 @@ var hasV1Roles = /* @__PURE__ */ __name((type) => rolesOf(type).some(([, role])
|
|
|
933
933
|
var IDENTITY_TYPES = RECORD_ENTITY_TYPES.filter((type) => RECORD_TYPES[type].review === "identity");
|
|
934
934
|
var article = /* @__PURE__ */ __name((word) => /^[aeiou]/.test(word) ? "an" : "a", "article");
|
|
935
935
|
|
|
936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
936
|
+
// 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/ref-arguments.js
|
|
937
937
|
var TAKES = {
|
|
938
938
|
chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
|
|
939
939
|
message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
|
|
@@ -993,7 +993,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
|
|
|
993
993
|
throw wrongAccount(reference, scope, profiles);
|
|
994
994
|
}, "ensureAccount");
|
|
995
995
|
|
|
996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
996
|
+
// 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/search/lucene/types.js
|
|
997
997
|
var QUERY_VERSION = 1;
|
|
998
998
|
var QUERY_LIMITS2 = {
|
|
999
999
|
...QUERY_LIMITS,
|
|
@@ -1038,7 +1038,7 @@ function tooWideTerm([term], budget) {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
__name(tooWideTerm, "tooWideTerm");
|
|
1040
1040
|
|
|
1041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1041
|
+
// 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/search/lucene/automaton.js
|
|
1042
1042
|
var any = { kind: "char", ranges: [[0, 1114111]], negate: false };
|
|
1043
1043
|
var literal = /* @__PURE__ */ __name((c) => ({
|
|
1044
1044
|
kind: "char",
|
|
@@ -1438,7 +1438,7 @@ var foldRegex = /* @__PURE__ */ __name((pattern, span) => {
|
|
|
1438
1438
|
return out;
|
|
1439
1439
|
}, "foldRegex");
|
|
1440
1440
|
|
|
1441
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1441
|
+
// 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/search/trigrams.js
|
|
1442
1442
|
var trigrams = /* @__PURE__ */ __name((term) => {
|
|
1443
1443
|
const padded = ` ${term} `;
|
|
1444
1444
|
const pieces = /* @__PURE__ */ new Set();
|
|
@@ -1447,7 +1447,7 @@ var trigrams = /* @__PURE__ */ __name((term) => {
|
|
|
1447
1447
|
return [...pieces];
|
|
1448
1448
|
}, "trigrams");
|
|
1449
1449
|
|
|
1450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1450
|
+
// 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/resolve.js
|
|
1451
1451
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
1452
1452
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase().replaceAll("\u0451", "\u0435"), "foldName");
|
|
1453
1453
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -1518,7 +1518,7 @@ ${lines}`, { candidates });
|
|
|
1518
1518
|
}, "ambiguous");
|
|
1519
1519
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
1520
1520
|
|
|
1521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1521
|
+
// 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/addresses.js
|
|
1522
1522
|
var EMAIL_ADDRESS = /^[^\s@]+@[^\s@]+\.[^\s@]+$/u;
|
|
1523
1523
|
var isEmailAddress = /* @__PURE__ */ __name((value) => EMAIL_ADDRESS.test(value), "isEmailAddress");
|
|
1524
1524
|
var ROLE_ADDRESS_WORDS = {
|
|
@@ -1580,7 +1580,7 @@ var PERSON_LIKE = /* @__PURE__ */ new Set(["hr"]);
|
|
|
1580
1580
|
var isPersonLikeRoleAddress = /* @__PURE__ */ __name((address) => PERSON_LIKE.has(localWord(address)), "isPersonLikeRoleAddress");
|
|
1581
1581
|
var isNoReplyAddress = /* @__PURE__ */ __name((address) => NO_REPLY.has(localWord(address)), "isNoReplyAddress");
|
|
1582
1582
|
|
|
1583
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1583
|
+
// 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/display-names.js
|
|
1584
1584
|
var QUOTES = [
|
|
1585
1585
|
['"', '"'],
|
|
1586
1586
|
["'", "'"],
|
|
@@ -1638,7 +1638,7 @@ var nameKey = /* @__PURE__ */ __name((name) => {
|
|
|
1638
1638
|
}, "nameKey");
|
|
1639
1639
|
var isReadable = /* @__PURE__ */ __name((shown) => shown !== null && READABLE.test(shown), "isReadable");
|
|
1640
1640
|
|
|
1641
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1641
|
+
// 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/counters.js
|
|
1642
1642
|
var COUNTER_FIELDS = ["views", "reactions", "comments"];
|
|
1643
1643
|
var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
|
|
1644
1644
|
var counterValue = /* @__PURE__ */ __name((message, field) => {
|
|
@@ -1675,7 +1675,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
|
|
|
1675
1675
|
return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
|
|
1676
1676
|
}, "counterFreshness");
|
|
1677
1677
|
|
|
1678
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1678
|
+
// 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/rankings-options.js
|
|
1679
1679
|
var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
|
|
1680
1680
|
var AUTHOR_MEASURES = [
|
|
1681
1681
|
"messages",
|
|
@@ -1815,7 +1815,7 @@ var withoutUrls = /* @__PURE__ */ __name((text2) => text2.replace(/\S+/gu, (toke
|
|
|
1815
1815
|
var rankingWords = /* @__PURE__ */ __name((text2) => withoutUrls(text2).match(/[\p{L}\p{N}]+/gu)?.length ?? 0, "rankingWords");
|
|
1816
1816
|
var rankingQuestion = /* @__PURE__ */ __name((text2) => withoutUrls(text2).includes("?"), "rankingQuestion");
|
|
1817
1817
|
|
|
1818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1818
|
+
// 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/records.js
|
|
1819
1819
|
import { createHash } from "node:crypto";
|
|
1820
1820
|
var RECORDS_SCHEMA_VERSION = 1;
|
|
1821
1821
|
var RECORD_OPERATIONS = ["upsert", "delete"];
|
|
@@ -1987,7 +1987,7 @@ var fieldReferences = /* @__PURE__ */ __name((record, options = {}) => {
|
|
|
1987
1987
|
return found;
|
|
1988
1988
|
}, "fieldReferences");
|
|
1989
1989
|
|
|
1990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1990
|
+
// 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/relation-role-labels.js
|
|
1991
1991
|
var label = /* @__PURE__ */ __name((en, ru, es) => ({ en, ru, es }), "label");
|
|
1992
1992
|
var ROLE_LABELS = {
|
|
1993
1993
|
organization: {
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
singleLine
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BI5P7JWM.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
10
|
+
// 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/wcat/names.js
|
|
11
11
|
var FIRST_PARTY_TOOLS = [
|
|
12
12
|
{ name: "tg", package: "@wirecat/tg-cli" },
|
|
13
13
|
{ name: "max", package: "@wirecat/max-cli" },
|
|
@@ -31,7 +31,7 @@ var DESCRIBE_FLAG = "--wcat-describe";
|
|
|
31
31
|
var DESCRIBE_MAX_BYTES = 64 * 1024;
|
|
32
32
|
var DISPATCH_FLAG = "--wcat-dispatch";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
34
|
+
// 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/wcat/describe.js
|
|
35
35
|
var DESCRIBE_FORMAT = 1;
|
|
36
36
|
var DESCRIBE_MANIFEST_FORMAT = 2;
|
|
37
37
|
var describeAnswer = /* @__PURE__ */ __name((tool, manifest) => {
|
|
@@ -74,7 +74,7 @@ var parseDescribe = /* @__PURE__ */ __name((text) => {
|
|
|
74
74
|
};
|
|
75
75
|
}, "parseDescribe");
|
|
76
76
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
77
|
+
// 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/wcat/shim.js
|
|
78
78
|
import { lstatSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
79
79
|
import { join } from "node:path";
|
|
80
80
|
var SHIM_FORMAT = 2;
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CAPABILITY_STATEMENTS,
|
|
5
5
|
storeCapable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LXAX6AZU.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// 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/sqlite-runtime.js
|
|
15
15
|
import { spawn, spawnSync } from "node:child_process";
|
|
16
16
|
import { readFileSync } from "node:fs";
|
|
17
17
|
import { dirname } from "node:path";
|
|
@@ -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/mcp/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XQXYAOBV.js";
|
|
9
9
|
import {
|
|
10
10
|
array,
|
|
11
11
|
nullable,
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
strictObject,
|
|
17
17
|
string,
|
|
18
18
|
unknown
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UWF3SSRL.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// 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/entities/note.js
|
|
22
22
|
var link = {
|
|
23
23
|
target_text: nullable(text),
|
|
24
24
|
kind: text,
|