@wirecat/mail-cli 0.14.0 → 0.15.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 +49 -0
- package/README.md +5 -4
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-O7HQNZOF.js → all-profiles-PKXL5TKP.js} +10 -10
- package/dist/bundle/{anthropic-SNA6PTVO.js → anthropic-DFDNZU7C.js} +6 -6
- package/dist/bundle/{app-server-LBKMJMKN.js → app-server-WOZAOCKX.js} +47 -47
- package/dist/bundle/{bun-KF5QK2YN.js → bun-DKZAL6ML.js} +2 -2
- package/dist/bundle/{bun-sqlite-2DKMM2PT.js → bun-sqlite-2A7FS5GD.js} +5 -5
- package/dist/bundle/{chunk-KLLKDOO2.js → chunk-2A4Z3WOC.js} +476 -304
- package/dist/bundle/{chunk-VERSKGJV.js → chunk-2BHY4GFP.js} +2 -2
- package/dist/bundle/{chunk-P62Z3Q35.js → chunk-3MKCLPQV.js} +14 -14
- package/dist/bundle/{chunk-FTGCXIQA.js → chunk-4DGOI6JB.js} +47 -33
- package/dist/bundle/{chunk-BP3TZ4EY.js → chunk-4HVY3QPF.js} +1 -1
- package/dist/bundle/{chunk-NGZW2JPK.js → chunk-4TPNRJER.js} +7 -7
- package/dist/bundle/{chunk-W643XZIR.js → chunk-4XRIALMN.js} +2 -2
- package/dist/bundle/{chunk-B5XAETYU.js → chunk-4YECCESG.js} +2 -2
- package/dist/bundle/{chunk-IPKXRW6W.js → chunk-5C3L2QER.js} +26 -25
- package/dist/bundle/{chunk-V5ZID7KC.js → chunk-5W7D5H2R.js} +1 -1
- package/dist/bundle/{chunk-E7BTD4P6.js → chunk-6AYJDBHT.js} +6 -6
- package/dist/bundle/{chunk-I7EWIIBC.js → chunk-6Z7VBDFR.js} +2 -3
- package/dist/bundle/{chunk-P547HU26.js → chunk-73SQQXSU.js} +10 -10
- package/dist/bundle/{chunk-ER6PJAPK.js → chunk-A6O3WHBD.js} +3 -3
- package/dist/bundle/{chunk-MQK2UNG4.js → chunk-BIKMEGC7.js} +8 -8
- package/dist/bundle/{chunk-AOVOIXGR.js → chunk-BKF7XIJ5.js} +10 -10
- package/dist/bundle/{chunk-NVQUK2DH.js → chunk-BY5S3JEZ.js} +47 -47
- package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
- package/dist/bundle/{chunk-2F7D6YMB.js → chunk-EDJQDR5X.js} +4 -4
- package/dist/bundle/{chunk-3YGYB3LJ.js → chunk-ENZTLYTS.js} +23 -5
- package/dist/bundle/{chunk-UHHARH5X.js → chunk-FEWWBU2I.js} +147 -73
- package/dist/bundle/{chunk-IVDUR5Y4.js → chunk-G6RG2AZV.js} +15 -8
- package/dist/bundle/{chunk-DIP3ENSY.js → chunk-HGOYQUT7.js} +1 -1
- package/dist/bundle/{chunk-XRJIQC6P.js → chunk-IA6U76ZY.js} +2 -2
- package/dist/bundle/{chunk-7LDC275M.js → chunk-JQTIB4WJ.js} +7 -7
- package/dist/bundle/{chunk-M2YIJDBL.js → chunk-K4N5UG64.js} +6 -6
- package/dist/bundle/{chunk-2A4BAMNF.js → chunk-KJYCA6IC.js} +4 -4
- package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
- package/dist/bundle/{chunk-QZXHMQCM.js → chunk-LARQTWIL.js} +1 -1
- package/dist/bundle/{chunk-Q5EYTU3Q.js → chunk-LRBAQSU3.js} +3 -3
- package/dist/bundle/{chunk-UMWR5PKA.js → chunk-M5DF6QNT.js} +13 -13
- package/dist/bundle/{chunk-G53HRGTK.js → chunk-M5VHTDJZ.js} +17 -17
- package/dist/bundle/{chunk-RE5SEGSR.js → chunk-NDZK466U.js} +4 -4
- package/dist/bundle/{chunk-2KVR7FF3.js → chunk-NNLYS4IR.js} +9 -9
- package/dist/bundle/{chunk-WBJQEB6E.js → chunk-OJEIUOMW.js} +12 -12
- package/dist/bundle/{chunk-X5XIFNTI.js → chunk-OZVGHHFZ.js} +2 -2
- package/dist/bundle/{chunk-VA3JKERH.js → chunk-P4SV3VKP.js} +2 -2
- package/dist/bundle/{chunk-5C74F7XX.js → chunk-PI5P457W.js} +4 -4
- package/dist/bundle/{chunk-XPREXN3W.js → chunk-PXLVTHMH.js} +3 -3
- package/dist/bundle/{chunk-3EAAEF5U.js → chunk-QCNK3YUZ.js} +95 -36
- package/dist/bundle/{chunk-6EZ7XGRG.js → chunk-QJQV6KG2.js} +2 -2
- package/dist/bundle/{chunk-KQ5P5NLL.js → chunk-QSGT4ZH4.js} +1 -1
- package/dist/bundle/{chunk-OGK7LMYT.js → chunk-QTD3BVS5.js} +6 -6
- package/dist/bundle/{chunk-WVWNKZI4.js → chunk-R6UG66IM.js} +465 -280
- package/dist/bundle/{chunk-I62OTHDE.js → chunk-RBNL3DBQ.js} +3 -3
- package/dist/bundle/{chunk-7GSE57K3.js → chunk-RFDP45QO.js} +3 -3
- package/dist/bundle/{chunk-YG4OI3HJ.js → chunk-SPQY3PJX.js} +232 -180
- package/dist/bundle/{chunk-H7OQ4YZV.js → chunk-SRHKHE4C.js} +47 -28
- package/dist/bundle/{chunk-DPKHVBP3.js → chunk-U3VX3UUC.js} +5 -5
- package/dist/bundle/{chunk-6CZQJ5XR.js → chunk-VQQFOA4O.js} +8 -8
- package/dist/bundle/{chunk-UJEO3VWA.js → chunk-WIU733D2.js} +1 -1
- package/dist/bundle/{chunk-F5SZVO3A.js → chunk-WOV3ABQR.js} +4 -4
- package/dist/bundle/{chunk-KBFIKUCA.js → chunk-WTDYN3TQ.js} +28 -28
- package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
- package/dist/bundle/{chunk-QWRBAQZ7.js → chunk-XGNC5OJG.js} +1 -1
- package/dist/bundle/{chunk-MXG4L7NH.js → chunk-XKUAEYJV.js} +10 -10
- package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
- package/dist/bundle/{chunk-H2ZURG7Q.js → chunk-YRHXVXLQ.js} +2 -2
- package/dist/bundle/{chunk-ZCPUKUST.js → chunk-YWIU4HOT.js} +1 -1
- package/dist/bundle/command-contract-4E4NYRR7.js +34 -0
- package/dist/bundle/{decode-X7Y2VSYZ.js → decode-LX4FPSI7.js} +5 -5
- package/dist/bundle/{dispatch-OWNO2CMC.js → dispatch-3ILCYZ4Q.js} +8 -8
- package/dist/bundle/{dist-L7FNC74Q.js → dist-HQIZDYNQ.js} +14 -14
- package/dist/bundle/{echarts-5AB3LFVD.js → echarts-BGBPRGR5.js} +2 -2
- package/dist/bundle/{embed-VBS5LRCE.js → embed-ASAE3H5I.js} +6 -6
- package/dist/bundle/{embedder-VFSYBDKK.js → embedder-QYDZRKBX.js} +9 -9
- package/dist/bundle/{failure-E534GZDF.js → failure-UDL5QZRZ.js} +2 -2
- package/dist/bundle/{first-run-NO2ODH2W.js → first-run-EFNNGFCB.js} +11 -11
- package/dist/bundle/first-screen-XHM3TT6G.js +32 -0
- package/dist/bundle/{instructions-52W6ZQTU.js → instructions-6LPDSKAD.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
- package/dist/bundle/{node-TL2PBNKO.js → node-IB246NCQ.js} +2 -2
- package/dist/bundle/{node-sqlite-757HNQAD.js → node-sqlite-UROXM4VR.js} +6 -6
- package/dist/bundle/{oauth-VDRNJ7KN.js → oauth-VSCKHS4T.js} +7 -7
- package/dist/bundle/{open-NUWYOKPO.js → open-R4LVB63T.js} +5 -5
- package/dist/bundle/{openai-YLBFVK5X.js → openai-MKCEOFKL.js} +14 -14
- package/dist/bundle/{process-PWAGP6YY.js → process-SWPJGPQC.js} +1 -1
- package/dist/bundle/{program-PPUPVL7O.js → program-CJ2YDRUY.js} +11358 -10374
- package/dist/bundle/{prompt-M5U66RVJ.js → prompt-TWWJ5VAM.js} +5 -5
- package/dist/bundle/{recognize-DCMDZA2U.js → recognize-XMO5ETQU.js} +4 -4
- package/dist/bundle/{remote-4SHI5WJG.js → remote-N6VAWJWE.js} +7 -7
- package/dist/bundle/{rerank-DYMZMNPQ.js → rerank-XNAMC6FH.js} +7 -7
- package/dist/bundle/{serve-HO3WME4G.js → serve-IJ32WEBH.js} +9 -9
- package/dist/bundle/server-CRVR4L2E.js +64 -0
- package/dist/bundle/{server-R3TIPRZN.js → server-KEYSE5OL.js} +39 -39
- package/dist/bundle/{sqlite-runtime-DWRITUIH.js → sqlite-runtime-NFBRN7OF.js} +6 -6
- package/dist/bundle/{state-QOMUDOGF.js → state-7WPJEW2Z.js} +6 -6
- package/dist/bundle/{store-LHHMOE5V.js → store-KHVHOGQR.js} +21 -19
- package/dist/bundle/{store-RGO6IABA.js → store-PKQCNACC.js} +15 -15
- package/dist/bundle/store-maintenance-command-5MODJN6R.js +54 -0
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +149 -3
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/context.d.ts +2 -0
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +2 -2
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/import.d.ts +3 -0
- package/dist/commands/import.d.ts.map +1 -0
- package/dist/commands/import.js +92 -0
- package/dist/commands/import.js.map +1 -0
- package/dist/commands/read.d.ts.map +1 -1
- package/dist/commands/read.js +29 -3
- package/dist/commands/read.js.map +1 -1
- package/dist/commands/session-start.d.ts.map +1 -1
- package/dist/commands/session-start.js +9 -7
- package/dist/commands/session-start.js.map +1 -1
- package/dist/commands/stats.d.ts.map +1 -1
- package/dist/commands/stats.js +49 -2
- package/dist/commands/stats.js.map +1 -1
- package/dist/commands/sync.d.ts +2 -0
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +38 -4
- package/dist/commands/sync.js.map +1 -1
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +17 -0
- package/dist/config.js.map +1 -1
- package/dist/mail/doctor.d.ts +3 -2
- package/dist/mail/doctor.d.ts.map +1 -1
- package/dist/mail/doctor.js +14 -16
- package/dist/mail/doctor.js.map +1 -1
- package/dist/mail/domain-age.d.ts +29 -0
- package/dist/mail/domain-age.d.ts.map +1 -0
- package/dist/mail/domain-age.js +157 -0
- package/dist/mail/domain-age.js.map +1 -0
- package/dist/mail/mbox.d.ts +9 -0
- package/dist/mail/mbox.d.ts.map +1 -0
- package/dist/mail/mbox.js +230 -0
- package/dist/mail/mbox.js.map +1 -0
- package/dist/oauth.d.ts +13 -9
- package/dist/oauth.d.ts.map +1 -1
- package/dist/oauth.js +12 -25
- package/dist/oauth.js.map +1 -1
- package/dist/profile.d.ts +4 -1
- package/dist/profile.d.ts.map +1 -1
- package/dist/profile.js +6 -1
- package/dist/profile.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +10 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -1
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/mail-cli/SKILL.md +2 -0
- package/dist/bundle/command-contract-B3OGAIDB.js +0 -34
- package/dist/bundle/first-screen-7VJLGMJJ.js +0 -32
- package/dist/bundle/server-244FHPY4.js +0 -64
- package/dist/bundle/store-maintenance-command-LU2ZBDUY.js +0 -54
- /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
refuseLacking,
|
|
9
9
|
servicesFor,
|
|
10
10
|
throughWrapper
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-R6UG66IM.js";
|
|
12
12
|
import {
|
|
13
13
|
chatReferenceOf,
|
|
14
14
|
ensureAccount,
|
|
15
15
|
foldName,
|
|
16
16
|
isId,
|
|
17
17
|
pickPerson
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-73SQQXSU.js";
|
|
19
19
|
import {
|
|
20
20
|
LOG_ATTRIBUTES,
|
|
21
21
|
MESSENGER_CHANGE_REFUSAL,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
recalledAccount,
|
|
36
36
|
rememberAccount,
|
|
37
37
|
rootOf2 as rootOf
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-SPQY3PJX.js";
|
|
39
39
|
import {
|
|
40
40
|
AUTHORITY_KEY,
|
|
41
41
|
CEILING_KEY,
|
|
@@ -46,34 +46,34 @@ import {
|
|
|
46
46
|
levelFor,
|
|
47
47
|
readKeysForCommand,
|
|
48
48
|
skipFlagFor
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-JQTIB4WJ.js";
|
|
50
50
|
import {
|
|
51
51
|
isCliFailure,
|
|
52
52
|
providerErrorKey
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-NNLYS4IR.js";
|
|
54
54
|
import {
|
|
55
55
|
servingProfiles
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-LRBAQSU3.js";
|
|
57
57
|
import {
|
|
58
58
|
openStore
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-2A4Z3WOC.js";
|
|
60
60
|
import {
|
|
61
61
|
logRecordOf,
|
|
62
62
|
realSleep,
|
|
63
63
|
resolvePaths,
|
|
64
64
|
writeSecurely
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-QCNK3YUZ.js";
|
|
66
66
|
import {
|
|
67
67
|
CliError
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-EB2IULWB.js";
|
|
69
69
|
import {
|
|
70
70
|
__name
|
|
71
71
|
} from "./chunk-ZVVMGPBJ.js";
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
74
74
|
import { randomUUID } from "node:crypto";
|
|
75
75
|
|
|
76
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/flood.js
|
|
77
77
|
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
78
78
|
import { dirname, join } from "node:path";
|
|
79
79
|
var MOST_DEADLINES = 50;
|
|
@@ -157,11 +157,11 @@ var FloodMemory = class {
|
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
|
|
160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
161
161
|
import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
|
|
162
162
|
import { dirname as dirname3, join as join2 } from "node:path";
|
|
163
163
|
|
|
164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
|
|
165
165
|
import { closeSync, mkdirSync as mkdirSync2, openSync, statSync, unlinkSync } from "node:fs";
|
|
166
166
|
import { dirname as dirname2 } from "node:path";
|
|
167
167
|
var LOCK_WAIT_MS = 5e3;
|
|
@@ -228,7 +228,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
|
|
|
228
228
|
}
|
|
229
229
|
}, "lockTime");
|
|
230
230
|
|
|
231
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
231
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
232
232
|
var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
|
|
233
233
|
var SendJournal = class {
|
|
234
234
|
static {
|
|
@@ -305,7 +305,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
|
|
|
305
305
|
return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
|
|
306
306
|
}, "withSendId");
|
|
307
307
|
|
|
308
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/recipients.js
|
|
309
309
|
import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
|
|
310
310
|
import { join as join3 } from "node:path";
|
|
311
311
|
var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
|
|
@@ -417,7 +417,7 @@ var RecipientList = class {
|
|
|
417
417
|
}
|
|
418
418
|
};
|
|
419
419
|
|
|
420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
421
421
|
var HOUR_MS = 60 * 60 * 1e3;
|
|
422
422
|
var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
|
|
423
423
|
"attachments.extract",
|
|
@@ -610,7 +610,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
|
|
|
610
610
|
}), "guardFor");
|
|
611
611
|
var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
|
|
612
612
|
|
|
613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
614
614
|
import { openSync as openSync2 } from "node:fs";
|
|
615
615
|
import { createInterface } from "node:readline";
|
|
616
616
|
import { ReadStream } from "node:tty";
|
|
@@ -665,7 +665,7 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
665
665
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
666
666
|
}, "terminalAsker");
|
|
667
667
|
|
|
668
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
668
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/pace.js
|
|
669
669
|
import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
670
670
|
import { join as join4 } from "node:path";
|
|
671
671
|
var DEFAULT_PACE = { perMinute: 60, burst: 20 };
|
|
@@ -724,7 +724,7 @@ var Pacer = class {
|
|
|
724
724
|
}
|
|
725
725
|
};
|
|
726
726
|
|
|
727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
727
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
728
728
|
var HOUSEKEEPING = /* @__PURE__ */ new Set([
|
|
729
729
|
"help",
|
|
730
730
|
"guide",
|
|
@@ -739,10 +739,11 @@ var HOUSEKEEPING = /* @__PURE__ */ new Set([
|
|
|
739
739
|
"runs"
|
|
740
740
|
]);
|
|
741
741
|
var commandPathKey = /* @__PURE__ */ __name((path) => path[0] === void 0 || HOUSEKEEPING.has(path[0]) ? null : path.join("."), "commandPathKey");
|
|
742
|
-
var commandPermissions = /* @__PURE__ */ __name(({ keyOf = commandPathKey, extra = [], defaults = {} } = {}) => ({
|
|
742
|
+
var commandPermissions = /* @__PURE__ */ __name(({ keyOf = commandPathKey, extra = [], defaults = {}, alsoChecks } = {}) => ({
|
|
743
743
|
keyOf,
|
|
744
744
|
extra: [AUTHORITY_KEY, ...extra],
|
|
745
|
-
defaults: { ...DEFAULT_PERMISSIONS, ...defaults }
|
|
745
|
+
defaults: { ...DEFAULT_PERMISSIONS, ...defaults },
|
|
746
|
+
...alsoChecks ? { alsoChecks } : {}
|
|
746
747
|
}), "commandPermissions");
|
|
747
748
|
var pathOf = /* @__PURE__ */ __name((command) => {
|
|
748
749
|
const words = [];
|
|
@@ -803,7 +804,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
803
804
|
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
804
805
|
}, "refuseUnknownPermissionKeys");
|
|
805
806
|
|
|
806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
807
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
807
808
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
808
809
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
809
810
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -922,7 +923,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
922
923
|
});
|
|
923
924
|
}, "flooded");
|
|
924
925
|
|
|
925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
926
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
926
927
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
927
928
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
928
929
|
const write = currentOperation();
|
|
@@ -1021,7 +1022,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
1021
1022
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
1022
1023
|
}, "byPart");
|
|
1023
1024
|
|
|
1024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1025
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
1025
1026
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
1026
1027
|
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" }) => {
|
|
1027
1028
|
let warned = false;
|
|
@@ -1597,7 +1598,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
1597
1598
|
}
|
|
1598
1599
|
}, "keep");
|
|
1599
1600
|
|
|
1600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1601
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
1601
1602
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
1602
1603
|
let opened;
|
|
1603
1604
|
return {
|
|
@@ -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.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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.",
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PRAGMAS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HGOYQUT7.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EB2IULWB.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
14
14
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
15
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
16
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
31
31
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
32
|
}, "isSqliteWarning");
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
35
35
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
36
|
const database = await openFile(path);
|
|
37
37
|
try {
|
|
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
44
44
|
}, "openCache");
|
|
45
45
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
46
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
47
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-2A7FS5GD.js");
|
|
48
48
|
return await openWithBunSqlite(path);
|
|
49
49
|
}, "openUnderBun");
|
|
50
50
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
51
|
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
52
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-UROXM4VR.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
defineReasons
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-G6RG2AZV.js";
|
|
6
6
|
|
|
7
7
|
// dist/reasons.js
|
|
8
8
|
var ENTRIES = [
|
|
@@ -10,7 +10,6 @@ var ENTRIES = [
|
|
|
10
10
|
["mail.no-password", "authentication_error", "no app password is stored for this profile"],
|
|
11
11
|
["mail.oauth-refused", "authentication_error", "the mail server refused the OAuth token even after a refresh"],
|
|
12
12
|
["mail.smtp-auth-disabled", "authentication_error", "Microsoft refused the OAuth login for sending"],
|
|
13
|
-
["mail.oauth-no-client", "configuration_error", "no OAuth app is set up to sign in with"],
|
|
14
13
|
["mail.uidvalidity-changed", "invalid_response", "the folder's UIDVALIDITY changed during the run"],
|
|
15
14
|
["mail.not-returned", "not_found", "the server did not return the email"],
|
|
16
15
|
["mail.rules-file-invalid", "validation_error", "the rules file is not one rules export writes"],
|
|
@@ -28,7 +27,7 @@ var ENTRIES = [
|
|
|
28
27
|
var REASONS = defineReasons(ENTRIES.map(([reason, code, message]) => ({ reason, code, message, details: [] })));
|
|
29
28
|
|
|
30
29
|
// dist/version.js
|
|
31
|
-
var VERSION = "0.
|
|
30
|
+
var VERSION = "0.15.0";
|
|
32
31
|
|
|
33
32
|
// dist/identity.js
|
|
34
33
|
var PACKAGE = "@wirecat/mail-cli";
|
|
@@ -2,17 +2,17 @@ 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-JQTIB4WJ.js";
|
|
6
6
|
import {
|
|
7
7
|
looksLikeReference,
|
|
8
8
|
parseReference,
|
|
9
9
|
providerLabel,
|
|
10
10
|
providerNamed
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XKUAEYJV.js";
|
|
12
12
|
import {
|
|
13
13
|
resolvePaths,
|
|
14
14
|
writeSecurely
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QCNK3YUZ.js";
|
|
16
16
|
import {
|
|
17
17
|
array,
|
|
18
18
|
getDotPath,
|
|
@@ -31,17 +31,17 @@ import {
|
|
|
31
31
|
string,
|
|
32
32
|
transform,
|
|
33
33
|
unknown
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-G6RG2AZV.js";
|
|
35
35
|
import {
|
|
36
36
|
CliError,
|
|
37
37
|
singleLine,
|
|
38
38
|
visibleControls
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EB2IULWB.js";
|
|
40
40
|
import {
|
|
41
41
|
__name
|
|
42
42
|
} from "./chunk-ZVVMGPBJ.js";
|
|
43
43
|
|
|
44
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
44
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
|
|
45
45
|
var TAKES = {
|
|
46
46
|
chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
|
|
47
47
|
message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
|
|
@@ -101,7 +101,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
|
|
|
101
101
|
throw wrongAccount(reference, scope, profiles);
|
|
102
102
|
}, "ensureAccount");
|
|
103
103
|
|
|
104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
104
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/resolve.js
|
|
105
105
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
106
106
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase(), "foldName");
|
|
107
107
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -146,7 +146,7 @@ ${lines}`, { candidates });
|
|
|
146
146
|
}, "ambiguous");
|
|
147
147
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
148
148
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
150
150
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
151
151
|
var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
152
152
|
const { text, spans } = formatted;
|
|
@@ -206,7 +206,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
|
206
206
|
};
|
|
207
207
|
}, "visibleFormattedText");
|
|
208
208
|
|
|
209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
210
210
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
211
211
|
var LINK = /https?:\/\/\S+/i;
|
|
212
212
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -394,7 +394,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
394
394
|
}, "nextPoint");
|
|
395
395
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
396
396
|
|
|
397
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
397
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
398
398
|
import { existsSync, readFileSync } from "node:fs";
|
|
399
399
|
import { join } from "node:path";
|
|
400
400
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
readSharedSection,
|
|
5
5
|
writeSharedSection
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K4N5UG64.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EB2IULWB.js";
|
|
10
10
|
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.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
|
|
15
15
|
var PERMISSION_ANSWERS = ["readonly", "allow"];
|
|
16
16
|
var QUESTIONS = ["languages", "tools", "permissions"];
|
|
17
17
|
var SECTION = "setup";
|
|
@@ -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-EB2IULWB.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.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
11
11
|
var LANGUAGES = [
|
|
12
12
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
13
13
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -15,12 +15,12 @@ var LANGUAGES = [
|
|
|
15
15
|
];
|
|
16
16
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
19
19
|
var NORMALIZER_VERSION = 1;
|
|
20
20
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
21
21
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
24
24
|
var BaseStemmer = class {
|
|
25
25
|
static {
|
|
26
26
|
__name(this, "BaseStemmer");
|
|
@@ -395,7 +395,7 @@ var BaseStemmer = class {
|
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
399
399
|
var a_0 = [
|
|
400
400
|
["arsen", -1],
|
|
401
401
|
["commun", -1],
|
|
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1096
1096
|
stemWord = this.stem;
|
|
1097
1097
|
};
|
|
1098
1098
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1100
1100
|
var a_02 = [
|
|
1101
1101
|
["\u0432", 1],
|
|
1102
1102
|
["\u0438\u0432", 2, 1],
|
|
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1519
1519
|
stemWord = this.stem;
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1523
1523
|
var a_03 = [
|
|
1524
1524
|
["", 6],
|
|
1525
1525
|
["\xE1", 1, 1],
|
|
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2195
2195
|
stemWord = this.stem;
|
|
2196
2196
|
};
|
|
2197
2197
|
|
|
2198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2199
2199
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2200
2200
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2201
2201
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -2,26 +2,26 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
validateFormattedText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-73SQQXSU.js";
|
|
6
6
|
import {
|
|
7
7
|
inputPolicy
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YRHXVXLQ.js";
|
|
9
9
|
import {
|
|
10
10
|
indent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QCNK3YUZ.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EB2IULWB.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/checks.js
|
|
20
20
|
var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
|
|
21
21
|
var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
|
|
22
22
|
var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/markdown.js
|
|
25
25
|
var MARKERS = [
|
|
26
26
|
["**", "bold"],
|
|
27
27
|
["~~", "strike"],
|
|
@@ -67,7 +67,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
|
|
|
67
67
|
return end;
|
|
68
68
|
}, "closing");
|
|
69
69
|
|
|
70
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
70
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
|
|
71
71
|
var STYLES = [
|
|
72
72
|
["**", "bold"],
|
|
73
73
|
["__", "underline"],
|
|
@@ -227,7 +227,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
|
|
|
227
227
|
return validateFormattedText(result);
|
|
228
228
|
}, "parseMarkdownSpans");
|
|
229
229
|
|
|
230
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
230
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/polls.js
|
|
231
231
|
var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
|
|
232
232
|
const cast = votes.filter((vote) => vote.answers.length > 0);
|
|
233
233
|
const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
|
|
@@ -1876,7 +1876,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
|
|
|
1876
1876
|
var qrcode_default = qrcode;
|
|
1877
1877
|
var stringToBytes = qrcode.stringToBytes;
|
|
1878
1878
|
|
|
1879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/terminal/qr.js
|
|
1880
1880
|
var QUIET_ZONE = 4;
|
|
1881
1881
|
var BLACK_ON_WHITE = "\x1B[30;107m";
|
|
1882
1882
|
var RESET = "\x1B[0m";
|
|
@@ -1923,7 +1923,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
|
|
|
1923
1923
|
return lines.join("\n");
|
|
1924
1924
|
}, "plainQr");
|
|
1925
1925
|
|
|
1926
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1926
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
|
|
1927
1927
|
var MARGIN = 2;
|
|
1928
1928
|
var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
|
|
1929
1929
|
var PASTE_QR = "agents: paste the QR code above into the chat as a code block, exactly as printed; when a new one is printed, paste it and say the old one expired";
|