@wirecat/cli-memo 0.131.55 → 0.131.56
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/memo.js +2 -2
- package/dist/bundle/{all-profiles-PJR2VHDP.js → all-profiles-XWRUFNP2.js} +7 -7
- package/dist/bundle/{anthropic-ZUDIWREK.js → anthropic-266QJJGV.js} +5 -5
- package/dist/bundle/{app-server-EYNQ4L2V.js → app-server-CS3FQXPR.js} +38 -38
- package/dist/bundle/auto-XHUADK6H.js +86 -0
- package/dist/bundle/{bun-W2ZP6I6Z.js → bun-22MM6T54.js} +2 -2
- package/dist/bundle/{bun-sqlite-T2CTJ6AR.js → bun-sqlite-V73FFF2C.js} +4 -4
- package/dist/bundle/{chunk-LWWJW5V7.js → chunk-2BVVXH5V.js} +6 -6
- package/dist/bundle/{chunk-MGDBKE7E.js → chunk-2CF2R7SA.js} +7 -7
- package/dist/bundle/{chunk-VQTU4ILC.js → chunk-2LPPNYOZ.js} +1 -1
- package/dist/bundle/{chunk-T5WGWLY2.js → chunk-2Q3O33AD.js} +11 -11
- package/dist/bundle/{chunk-6NJ5OI2S.js → chunk-3BWYMNWP.js} +1 -1
- package/dist/bundle/{chunk-2NVP4FZH.js → chunk-3N7LEJRT.js} +2 -2
- package/dist/bundle/{chunk-4335SGVD.js → chunk-4XKHXETB.js} +7007 -2683
- package/dist/bundle/{chunk-7ZO2LAFF.js → chunk-5FYDQEM7.js} +5 -5
- package/dist/bundle/{chunk-KK2ATSEC.js → chunk-5LFQPARU.js} +7 -7
- package/dist/bundle/{chunk-DIFRVXKQ.js → chunk-62DGJ757.js} +1124 -435
- package/dist/bundle/{chunk-IVDBHH3N.js → chunk-6FABO4WB.js} +1 -1
- package/dist/bundle/{chunk-OSPAMIIY.js → chunk-72ZEEKOJ.js} +3 -3
- package/dist/bundle/{chunk-MZMJALJT.js → chunk-ASWLM74P.js} +2 -2
- package/dist/bundle/{chunk-5UM2OEOR.js → chunk-ATEHG5O6.js} +2 -2
- package/dist/bundle/{chunk-JBQP2M7J.js → chunk-BLCYVRW3.js} +8 -8
- package/dist/bundle/{chunk-MMWIVZ7F.js → chunk-CKNH2HT6.js} +2 -2
- package/dist/bundle/{chunk-PSJB456T.js → chunk-CQPMBTB6.js} +1 -1
- package/dist/bundle/{chunk-O7CBAY6J.js → chunk-DQWHLOKG.js} +4 -4
- package/dist/bundle/{chunk-MU4MPJCU.js → chunk-DUBGCFRO.js} +3 -3
- package/dist/bundle/{chunk-WLKDS65F.js → chunk-EMNQPMZO.js} +1 -1
- package/dist/bundle/{chunk-LCE5LBZC.js → chunk-EQQIUVLP.js} +4 -4
- package/dist/bundle/{chunk-4VQ7FPNW.js → chunk-EUE76Q4D.js} +3 -3
- package/dist/bundle/{chunk-JGY2PJ3N.js → chunk-F5DOQOCK.js} +12 -12
- package/dist/bundle/{chunk-DDD3CXHR.js → chunk-FCWUSKUI.js} +31 -24
- package/dist/bundle/{chunk-OKERVM3M.js → chunk-FG7ZGEZ6.js} +4 -4
- package/dist/bundle/{chunk-26QKDK5P.js → chunk-FU3XDL34.js} +5 -5
- package/dist/bundle/{chunk-KTVYCPJW.js → chunk-HVHUHYNF.js} +1 -1
- package/dist/bundle/{chunk-WYZDNDQ5.js → chunk-IF3RIN4C.js} +734 -491
- package/dist/bundle/{chunk-P3MKPY7D.js → chunk-IFUB2B2A.js} +74 -15
- package/dist/bundle/{chunk-ACSHPLHQ.js → chunk-IX5KCS2V.js} +7 -7
- package/dist/bundle/{chunk-P5UTNYA7.js → chunk-IY7GB2SJ.js} +2 -2
- package/dist/bundle/{chunk-YHHR7NQ3.js → chunk-KKBA3FAY.js} +33 -33
- package/dist/bundle/{chunk-IR45YH4T.js → chunk-KO24NP3R.js} +5 -5
- package/dist/bundle/{chunk-MV5W4FLV.js → chunk-N2TGYTKE.js} +1 -1
- package/dist/bundle/{chunk-UBZN4EWJ.js → chunk-NDCURVJS.js} +5 -5
- package/dist/bundle/{chunk-VPCNLTME.js → chunk-NEWKSMXP.js} +2 -2
- package/dist/bundle/{chunk-AYY5CYJJ.js → chunk-ONJNZ2RJ.js} +1 -1
- package/dist/bundle/{chunk-RSBROHX4.js → chunk-OROO3KYQ.js} +2 -2
- package/dist/bundle/{chunk-PHP3T567.js → chunk-PBVG3KJR.js} +3 -3
- package/dist/bundle/{chunk-BEO6VJ2E.js → chunk-PWUR2XTO.js} +106 -96
- package/dist/bundle/{chunk-B5VQSSL2.js → chunk-QWZPIELU.js} +14 -14
- package/dist/bundle/{chunk-64JCY7XJ.js → chunk-RCGFSWZE.js} +44 -0
- package/dist/bundle/{chunk-BC7N6IQ6.js → chunk-RJWL3NEL.js} +1 -1
- package/dist/bundle/{chunk-GESLAB4N.js → chunk-RTROEIYE.js} +2 -2
- package/dist/bundle/{chunk-JB43Q2QL.js → chunk-RYDNM3K2.js} +1 -1
- package/dist/bundle/{chunk-AF2ZDP3M.js → chunk-TB4IRRAC.js} +1 -1
- package/dist/bundle/{chunk-BSA22I76.js → chunk-UCTUYZER.js} +5 -5
- package/dist/bundle/{chunk-CADGAURO.js → chunk-USZH2ELR.js} +29 -29
- package/dist/bundle/{chunk-SR3ZNX24.js → chunk-V4BKQWDS.js} +132 -114
- package/dist/bundle/{chunk-RX6JTLKD.js → chunk-VEDOHZEU.js} +7 -7
- package/dist/bundle/{chunk-VXZ7FWKU.js → chunk-VQKSJO45.js} +3 -3
- package/dist/bundle/{chunk-FUINFNUC.js → chunk-XEQPZBIH.js} +1 -1
- package/dist/bundle/{chunk-MFVZXEQN.js → chunk-XIS7K5HT.js} +22 -22
- package/dist/bundle/{chunk-643B3X4D.js → chunk-XLYMVYMU.js} +2 -2
- package/dist/bundle/{chunk-IRFHHNSX.js → chunk-XN5POYJL.js} +319 -182
- package/dist/bundle/{chunk-3MWNNJII.js → chunk-Y6PP45D4.js} +9 -9
- package/dist/bundle/{chunk-34GJQ4ZR.js → chunk-YTAQKOAW.js} +1 -1
- package/dist/bundle/{chunk-VBYV6XQI.js → chunk-Z6RSOFHK.js} +2 -2
- package/dist/bundle/{chunk-XD52BEML.js → chunk-ZA6ZKUGT.js} +5 -5
- package/dist/bundle/{chunk-ZTM4UUCP.js → chunk-ZGSAA2H5.js} +10 -10
- package/dist/bundle/{command-contract-EWPKHGAZ.js → command-contract-RST6OGMR.js} +13 -13
- package/dist/bundle/{decode-UWT3Y66W.js → decode-JHVAOF3N.js} +4 -4
- package/dist/bundle/{dispatch-W4ZVXTJT.js → dispatch-CRYB6Q2V.js} +1 -1
- package/dist/bundle/{echarts-7VGTR45R.js → echarts-KCOXA225.js} +2 -2
- package/dist/bundle/{embed-CM2QSTNK.js → embed-4NYYOVNS.js} +5 -5
- package/dist/bundle/{embedder-CDCAMVV7.js → embedder-SHPWEDIQ.js} +8 -8
- package/dist/bundle/{entry-WHEWBNJL.js → entry-4WKYFX5K.js} +6 -6
- package/dist/bundle/failure-BBE2DUGO.js +66 -0
- package/dist/bundle/{failure-GQHAQVGH.js → failure-ZMQJF3RO.js} +1 -1
- package/dist/bundle/{first-run-ZBIQO5RZ.js → first-run-2JHWQLHM.js} +8 -8
- package/dist/bundle/first-screen-AVSHZ6KK.js +30 -0
- package/dist/bundle/{instructions-LYKSTUGQ.js → instructions-ER3ONEOR.js} +1 -1
- package/dist/bundle/mcp-VBBKPKEG.js +90 -0
- package/dist/bundle/memo.js +9 -9
- package/dist/bundle/{node-LFRTSZBZ.js → node-DBZKVPDA.js} +2 -2
- package/dist/bundle/{node-sqlite-Y47T5FTT.js → node-sqlite-UZVU7EXS.js} +5 -5
- package/dist/bundle/{oauth-YM5C6VS3.js → oauth-VEFHKRWG.js} +6 -6
- package/dist/bundle/{open-WPA4DW5G.js → open-XNRAMLOK.js} +4 -4
- package/dist/bundle/{openai-RCPT23DA.js → openai-4XIX5RN2.js} +9 -9
- package/dist/bundle/{process-P2X2KFMR.js → process-EIGF77RB.js} +1 -1
- package/dist/bundle/{program-W35YGVVL.js → program-RWAKY3P6.js} +69 -59
- package/dist/bundle/{prompt-65WPTVYC.js → prompt-V7RFTWTA.js} +4 -4
- package/dist/bundle/{recognize-MEFMK7HT.js → recognize-7PWWI67V.js} +3 -3
- package/dist/bundle/{remote-4XIR3ZYK.js → remote-NOKKQ2U5.js} +6 -6
- package/dist/bundle/{rerank-YRLAXFFL.js → rerank-X7UWX2ZF.js} +6 -6
- package/dist/bundle/{serve-6SPZH6CY.js → serve-Z6YCLXXP.js} +8 -8
- package/dist/bundle/server-GWH7J45V.js +48 -0
- package/dist/bundle/{server-7VLGYAOI.js → server-PIJV3LG4.js} +53 -53
- package/dist/bundle/server-WDE4WIHG.js +61 -0
- package/dist/bundle/{state-G34NVZ7F.js → state-K5D3BMKT.js} +5 -5
- package/dist/bundle/{store-6U4SYK4Q.js → store-6SZBCSUF.js} +21 -11
- package/dist/bundle/store-maintenance-command-Q2ABF4CG.js +48 -0
- package/dist/bundle/update-EKDVFRAG.js +69 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +4 -0
- package/dist/examples.js.map +1 -1
- package/dist/search/answers.d.ts.map +1 -1
- package/dist/search/answers.js +8 -0
- package/dist/search/answers.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/auto-K7FXWNR2.js +0 -86
- package/dist/bundle/failure-PFBL75CT.js +0 -66
- package/dist/bundle/first-screen-CUAY5N6E.js +0 -30
- package/dist/bundle/mcp-I72UY3QP.js +0 -90
- package/dist/bundle/server-FB75UHSF.js +0 -48
- package/dist/bundle/server-IELXA6S2.js +0 -61
- package/dist/bundle/store-maintenance-command-ONVPBZLT.js +0 -48
- package/dist/bundle/update-WJ2N47FV.js +0 -69
- /package/dist/bundle/{chunk-2H36DXV7.js → chunk-SO2HNIPX.js} +0 -0
|
@@ -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.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/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.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/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.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/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.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/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.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/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.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/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.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/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"];
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XN5POYJL.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RCGFSWZE.js";
|
|
14
14
|
import {
|
|
15
15
|
CliError
|
|
16
16
|
} from "./chunk-4ZW6ZJ2V.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
22
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
23
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
24
24
|
const entity = answerEntitySchema(command);
|
|
@@ -10,7 +10,7 @@ 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.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
refuseLacking,
|
|
14
14
|
servicesFor,
|
|
15
15
|
throughWrapper
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IF3RIN4C.js";
|
|
17
17
|
import {
|
|
18
18
|
CEILING_KEY,
|
|
19
19
|
LOG_ATTRIBUTES,
|
|
@@ -38,29 +38,29 @@ import {
|
|
|
38
38
|
rememberAccount,
|
|
39
39
|
rootOf2 as rootOf,
|
|
40
40
|
skipFlagFor
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-XN5POYJL.js";
|
|
42
42
|
import {
|
|
43
43
|
providerErrorKey
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-2CF2R7SA.js";
|
|
45
45
|
import {
|
|
46
46
|
MESSENGER_CHANGE_REFUSAL,
|
|
47
47
|
readOnlyRefusal
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-3BWYMNWP.js";
|
|
49
49
|
import {
|
|
50
50
|
servingProfiles
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-DUBGCFRO.js";
|
|
52
52
|
import {
|
|
53
53
|
openStore
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-4XKHXETB.js";
|
|
55
55
|
import {
|
|
56
56
|
isCliFailure
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-IY7GB2SJ.js";
|
|
58
58
|
import {
|
|
59
59
|
logRecordOf,
|
|
60
60
|
realSleep,
|
|
61
61
|
resolvePaths,
|
|
62
62
|
writeSecurely
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-EMNQPMZO.js";
|
|
64
64
|
import {
|
|
65
65
|
CliError
|
|
66
66
|
} from "./chunk-4ZW6ZJ2V.js";
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
__name
|
|
69
69
|
} from "./chunk-ZVVMGPBJ.js";
|
|
70
70
|
|
|
71
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
71
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
72
72
|
import { openSync } from "node:fs";
|
|
73
73
|
import { createInterface } from "node:readline";
|
|
74
74
|
import { ReadStream } from "node:tty";
|
|
@@ -123,10 +123,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
123
123
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
124
124
|
}, "terminalAsker");
|
|
125
125
|
|
|
126
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
126
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
127
127
|
import { randomUUID } from "node:crypto";
|
|
128
128
|
|
|
129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/sends/flood.js
|
|
130
130
|
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
131
131
|
import { dirname, join } from "node:path";
|
|
132
132
|
var MOST_DEADLINES = 50;
|
|
@@ -210,11 +210,11 @@ var FloodMemory = class {
|
|
|
210
210
|
}
|
|
211
211
|
};
|
|
212
212
|
|
|
213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
214
214
|
import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
|
|
215
215
|
import { dirname as dirname3, join as join2 } from "node:path";
|
|
216
216
|
|
|
217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
|
|
218
218
|
import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
|
|
219
219
|
import { dirname as dirname2 } from "node:path";
|
|
220
220
|
var LOCK_WAIT_MS = 5e3;
|
|
@@ -281,7 +281,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
|
|
|
281
281
|
}
|
|
282
282
|
}, "lockTime");
|
|
283
283
|
|
|
284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
284
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
285
285
|
var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
|
|
286
286
|
var SendJournal = class {
|
|
287
287
|
static {
|
|
@@ -358,7 +358,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
|
|
|
358
358
|
return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
|
|
359
359
|
}, "withSendId");
|
|
360
360
|
|
|
361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/sends/recipients.js
|
|
362
362
|
import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
|
|
363
363
|
import { join as join3 } from "node:path";
|
|
364
364
|
var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
|
|
@@ -470,7 +470,7 @@ var RecipientList = class {
|
|
|
470
470
|
}
|
|
471
471
|
};
|
|
472
472
|
|
|
473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
474
474
|
var HOUR_MS = 60 * 60 * 1e3;
|
|
475
475
|
var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
|
|
476
476
|
"attachments.extract",
|
|
@@ -663,7 +663,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
|
|
|
663
663
|
}), "guardFor");
|
|
664
664
|
var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
|
|
665
665
|
|
|
666
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
666
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/sends/pace.js
|
|
667
667
|
import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
668
668
|
import { join as join4 } from "node:path";
|
|
669
669
|
var DEFAULT_PACE = { perMinute: 60, burst: 20 };
|
|
@@ -753,7 +753,7 @@ var waitForTurn = /* @__PURE__ */ __name(async (pacer, options) => {
|
|
|
753
753
|
await (options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms))))(waitMs);
|
|
754
754
|
}, "waitForTurn");
|
|
755
755
|
|
|
756
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
756
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
757
757
|
var pathOf = /* @__PURE__ */ __name((command) => {
|
|
758
758
|
const words = [];
|
|
759
759
|
for (let at = command; at?.parent; at = at.parent)
|
|
@@ -813,7 +813,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
813
813
|
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
814
814
|
}, "refuseUnknownPermissionKeys");
|
|
815
815
|
|
|
816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
817
817
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
818
818
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
819
819
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -910,7 +910,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
910
910
|
});
|
|
911
911
|
}, "flooded");
|
|
912
912
|
|
|
913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
914
914
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
915
915
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
916
916
|
const write = currentOperation();
|
|
@@ -1009,7 +1009,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
1009
1009
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
1010
1010
|
}, "byPart");
|
|
1011
1011
|
|
|
1012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1012
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
1013
1013
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
1014
1014
|
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" }) => {
|
|
1015
1015
|
let warned = false;
|
|
@@ -1585,7 +1585,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
1585
1585
|
}
|
|
1586
1586
|
}, "keep");
|
|
1587
1587
|
|
|
1588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
1589
1589
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
1590
1590
|
let opened;
|
|
1591
1591
|
return {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CQPMBTB6.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
10
|
} from "./chunk-4ZW6ZJ2V.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
|